Commit Graph

58 Commits (4a05910161062504f6ce14cfd360732d1c351459)

Author SHA1 Message Date
Snakes 4aedbc9b2e
Fix imports for sub move frontlist invalidation. 2022-11-14 04:14:41 -05:00
Aevann1 e83be235ba delete frontpage cache when moving posts 2022-11-14 07:49:23 +02:00
justcool393 f4f03f6582
all seeing eye: rework reddit notifs a bit (#445)
* all seeing eye: rework reddit notifs a bit
this should be more reliable and catch more of these when they're sent

* fix reddit notifs to properly use fewer queries
2022-11-13 06:00:05 -05:00
Snakes 38c3ba3889 Fix hole inactivity deletion to include subactions. 2022-11-06 01:08:24 -04:00
Aevann1 086643bf79 give_monthly_marseybux_task fixes 2022-11-02 08:19:25 +02:00
Aevann1 a2eaece906 verify patron level before giving monthly marsybux 2022-11-02 07:54:38 +02:00
justcool393 6caebac946 actions: move user-only actions to useractions, which gets rid of a circular dependency 2022-11-01 18:46:56 -05:00
Snakes 7ea61f423d
PCM: disable gambling; extend FEATURES['GAMBLING']. 2022-10-07 20:31:46 -04:00
justcool393 57b08043a4 notification settings and admin setting 2022-10-05 21:40:02 -07:00
Aevann1 337e5d59c5 Revert "make house holes immune from deletion"
This reverts commit 7defcd07cf.
2022-10-04 15:48:08 +02:00
justcool393 7defcd07cf
make house holes immune from deletion 2022-10-03 20:22:16 -07:00
Snakes 4a54c6219a
Add trailing final newlines to source files.
Touched a ton of files to finally standardize on having trailing
final newlines, as best practice recommends and so our devs stop
accidentally fighting each other over it.

This was performed automatically with the following:
git ls-files -z '*.py' | while IFS= read -rd '' f; \
    do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
git ls-files -z '*.css' | while IFS= read -rd '' f; \
    do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
2022-09-29 01:43:29 -04:00
Aevann1 37e1f25624 make using proxies only happen in 3 circumstances again 2022-09-26 06:01:25 +02:00
Aevann1 4212cfa0b2 testing on pcm 2022-09-25 06:11:06 +02:00
Aevann1 dd0f8fbed7 proxy all requests we make 2022-09-25 05:23:50 +02:00
Aevann1 f4b41f0049 make addition and removal of channels happen instantly (testing in devrama) 2022-09-25 05:08:44 +02:00
Aevann1 a63d4940ae fix PCM /live list 2022-09-23 22:58:10 +02:00
Snakes 1cf5ec9e0d Revert "PCM: update live list in background."
This reverts commit 3acdb44a98.
2022-09-23 15:41:04 -04:00
Snakes 3acdb44a98
PCM: update live list in background. 2022-09-22 19:39:26 -04:00
Aevann1 55ca68e6fb same as last commit 2022-09-22 07:17:16 +02:00
Aevann1 40485e9ab6 fix cron (im stoopid) 2022-09-22 07:15:55 +02:00
Aevann1 c02e1bd76f fix cron 2022-09-22 07:11:50 +02:00
Aevann1 9220424324 fix cron 2022-09-22 07:08:58 +02:00
Aevann1 77fa9de79a fix cronjob 2022-09-22 07:02:10 +02:00
Aevann1 553218aaa5 make /live a cached cron job 2022-09-22 04:33:45 +02:00
Aevann1 6e3e05c6e1 tweak last commit 2022-09-20 04:55:38 +02:00
Aevann1 1a8439b461 add cron task to give monthly marseybux in WPD 2022-09-20 04:49:46 +02:00
Aevann1 f54791cc4c remove categories 2022-09-19 20:04:30 +02:00
Aevann1 da5db208f6 sneed 2022-09-13 02:00:02 +00:00
outruncolors 7d8cfe5576
Add Roulette (#351)
* Add roulette file

* Rename variable to avoid name collission

* Add basic route and create new template for game

* More work on the roulette template

* Initial connection of front-end roulette to back-end roulette

* Add to cron job

* Pass bets to the front end

* Update front-end looks

* Add stackable poker chips for bets

* Minor last changes

* Handle minimum bets

* Add bet table
2022-09-12 20:07:39 -05:00
Snakes e1c44d99d5
cron.py: hole inactivity criteria, stealth fix.
Two bugs:
  1) Drafts, deleted posts, and removed posts counted toward hole
     aliveness. This has been fixed.
  2) Foreign key constraints in sub_joins weren't getting deleted,
     so stealth holes couldn't be deleted.

Both of these conspired to keep /h/smuggies alive, so they must be
fixed.
2022-09-07 18:29:40 -04:00
Aevann1 6201a79df0 fix gumroad for humbdolt 2022-09-02 02:48:15 +02:00
Aevann1 6a21dd347b Revert "Revert "Revert "restore autoflush"""
This reverts commit d84b26fc77.
2022-08-25 17:04:33 +02:00
Snakes f0becbd26e
Fix hole neglecter logic & missing imports.
Amends 69903bb94b and c3109601f4 after local testing.
2022-08-24 16:38:44 -04:00
Aevann1 c3109601f4 fix previous commit (thx sneks) 2022-08-24 22:30:31 +02:00
Aevann1 69903bb94b grant "Hole Neglector" badge automatically 2022-08-24 22:26:41 +02:00
Aevann1 d84b26fc77 Revert "Revert "restore autoflush""
This reverts commit 5aa03d87bb.
2022-08-24 16:36:44 +02:00
Aevann1 5aa03d87bb Revert "restore autoflush"
This reverts commit 687cd766b9.
2022-08-23 17:17:37 +02:00
Aevann1 687cd766b9 restore autoflush 2022-08-17 18:36:59 +02:00
Aevann1 db8a3013a1 better approach for last commit 2022-08-14 08:12:34 +02:00
Aevann1 64594b48eb fix what sneks said about hole deletion crash when one of the mods is a site janny 2022-08-14 08:05:24 +02:00
Snakes 390acb66e0
cron.py: fix missing import, preserve /h/changelog.
Multiple closely related issues:
  - When sub_inactive_purge_task was moved to cron.py, a number of
    imports were not added. Notably, missing helpers/alerts.py.
    This led to hole inactivity deletions not taking place.
  - However, this proved useful: the hole it's been trying to delete
    the past few days was /h/changelog. This has now been excluded
    from deletion.
  - Finally, the missing import would've meant the monthly procoins
    disbursement would fail when it runs in a couple days. This has
    likewise been fixed.
2022-07-29 15:12:56 -04:00
Snakes be1023f734
cron.py bugs: missing import; lottery edge case 2022-07-21 14:28:52 -04:00
Snakes 0fe1e57ecd
Fix cfa6c13ea: cron.py missing import. 2022-07-21 14:11:04 -04:00
Aevann1 a8fe49f232 kitchen sink commit, all over the place 2022-07-08 21:03:04 +02:00
Aevann1 cfa6c13eaa move 2 cron functions from routes files to .cron 2022-07-08 18:21:39 +02:00
Aevann1 b6ca73a0c5 testing 2022-07-02 11:30:17 +02:00
Aevann1 bc41bb5584 testing, pls ignore 2022-07-02 11:29:01 +02:00
Aevann1 a0cb5874cc refactor push notifs 2022-06-27 21:02:24 +02:00
Snakes d68f2a604a Check bot award timers more frequently.
Also: change to docker-compose.yml is to see if it'll fix the Github
tests failing. Lumped in here because it's too dumb to make a commit
for by itself.
2022-06-27 02:15:35 -04:00