Because #BotsInSpace is shutting down () I'm looking for a new home for my bots.
-
@cwilcox808 please raise it as an issue on GitLab so I can keep track of it.
Thanks. -
-
@danbri yup! There's 1st class support for labeling accounts as bots, and excellent API support.
Some of the more vocal commentators have found some other shiny rock to complain about. -
Roufnichan LeGauf 🌈replied to Terence Eden last edited by
@Edent Some bizarre code in there.
in_array( $inbox_message["actor"], $followers_ids ) ? $from_follower = true: $from_follower = false;
Removing the duplicated code, this is just
$from_follower = in_array( $inbox_message["actor"], $followers_ids ) ? true : false;
And
... ? true : false
is redundant, leaving:$from_follower = in_array( $inbox_message["actor"], $followers_ids );
-
Terence Edenreplied to Roufnichan LeGauf 🌈 last edited by
@barubary your pull request is very welcome.
-
Roufnichan LeGauf 🌈replied to Terence Eden last edited by
@Edent But then I'd have to create a gitlab account and, worse, write PHP.
-
Terence Edenreplied to Roufnichan LeGauf 🌈 last edited by
@barubary I'm happy to hold your hand while you do so.
-
Cogito Ergo Disputoreplied to Terence Eden last edited by
-
Terence Edenreplied to Cogito Ergo Disputo last edited by
@Disputatore messages are stored in several places.
1) The user who sends the message usually retains a copy.
2) The recipient's server receives a copy (and can choose to save it or not).
3) Anyone following the sender will usually receive a copy of all their messages.I could save a copy of mentions. But that comes with increased disk space, having to handle deletions, and risk that someone will store abusive content on your server.
-
Cogito Ergo Disputoreplied to Terence Eden last edited by
@Edent thank you for taking the time to walk me through it. I have some suggestions that I will eventually post as issues in your gitlab repository. Hopefully that's adequate. I would fork it, but that would force me to recover my rusted-to-pieces programming skills, not to mention actually learning PHP and probably having to learn a whole bunch of stuff required for this particular domain.
-
@Edent neat, would be cool to have this on PikaPods so that folks could set it up without knowing how to run a server as well.
PikaPods - Instant Open Source App Hosting
Run the finest Open Source web apps from $1/month, fully managed, no tracking, no ads, full privacy. Self-hosting was never this convenient.
(www.pikapods.com)
Need to figure out an idea for a bot
-
@ted you'll need to speak to them about that.
But, personally, I don't think it is suitable for anyone other than tinkerers. -
-
-
Cogito Ergo Disputoreplied to Cogito Ergo Disputo last edited by
@Edent well, apparently I hadn't used my Gitlab account for too long, it got wiped out, and I can't be bothered to create a new one. My suggestion is to add the saving of replies with the following configuration options:
- roll over recording based on either number of messages or max memory
- discard any messages over a max number of messages or memory
- no limits -
Terence Edenreplied to Cogito Ergo Disputo last edited by
@Disputatore did you read the FAQ?
https://gitlab.com/edent/activity-bot/#why-doesnt-this-store-replies -
Cogito Ergo Disputoreplied to Terence Eden last edited by
@Edent is it mandatory to expose replies?
-
Terence Edenreplied to Cogito Ergo Disputo last edited by
@Disputatore no. But the data is still on your server whether you like it or not.
If you're happy with that risk, feel free to fork it.
-
Update!
You can now move followers from your old bot accounts to your new self-hosted ones.
So now @[email protected] points at @[email protected] - and all the followers have moved!
Source code at https://gitlab.com/edent/activity-bot/
-