From 47bb612d8a99478292a5a182f08e0de9e59c6a22 Mon Sep 17 00:00:00 2001 From: Jakob Cornell Date: Sun, 6 Nov 2022 10:30:34 -0600 Subject: [PATCH] Update roadmap for live-autojoin --- joinbot/README.md | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/joinbot/README.md b/joinbot/README.md index 3af2e1d..ba16273 100644 --- a/joinbot/README.md +++ b/joinbot/README.md @@ -25,25 +25,22 @@ flow: # Roadmap/wishlist - allowed events: load more than 1 page of search results - allowed events: search linkpost self text and "thread directory" wiki page for links, not just linkpost links -- when accepting admin invite, update reddit\_liveupdate\_event\_contributor table like when inviting users -- don't mention users in announcements +- configurable (wiki page) allow/deny list for events + +- ? when accepting admin invite, update reddit\_liveupdate\_event\_contributor table like when inviting users +- ? don't mention users in announcements - respect sr bans + - check whether we will succeed (have permission, have scope, not too many outstanding invites) before adding ticket -- configurable (wiki page) allow/deny list for events -- invite sr moderators with extra permissions - handle LIVEUPDATE\_TOO\_MANY\_INVITES (or whatever) -- actually report status/errors on /ticket - handle no admin permission in `invite\_contributor` + +- invite sr moderators with extra permissions +- actually report status/errors on /ticket - ticket processing rate limit (max 3 tickets in 60 seconds) - and if waiting on ratelimit, say so in status.html -- read modmail (and PMs?) and create tickets for messages with "inviteme" commands - sync /live/mine (or allowed threads by\_id) to reddit\_liveupdate\_event table (background.py) - include event title in error page's /message/compose link template - after accepting admin invite, send PM to event creator (we don't know who created a thread, but we could find out who posted it in /r/livecounting and check if they have `settings` permission) with instructions for adding join link - remove everyone's "close" permission? -- should be open-sourced, but needs deployment documentation and database schema script and pg\_reddit open-sourced first -- find and fix DoS opportunities (something invalid submitted through web.py crashes service.py): better now. -- send "/u/username has joined this thread" updates: done. -- sync event contributor _invites_, not just contributors: done -- decide how to handle LIVEUPDATE\_ALREADY\_CONTRIBUTOR when `invite\_contributor`ing: done -- speculatively update invite table after `invite\_contributor`, speculatively update contributor table after `accept\_contributor\_invite`: done +- ? find and fix DoS opportunities (something invalid submitted through web.py crashes service.py): better now. -- 2.30.2