Commit Graph

685 Commits (1411018f8d15723c798a0e93fbe72d650c8fada4)

Author SHA1 Message Date
Snakes 1411018f8d Add post categories.
Implemented for LGB but can likely be used for WPD and other future
sites. Similar to a reddit post flair. Provides:
  - Admin panel for Category management.
  - Category selection on post submission.
  - 'Recategorize' post action.
2022-08-07 02:57:30 -04:00
Aevann1 0429da4493 mod action notifs rework 2022-08-05 23:50:30 +02:00
Aevann1 ad3ca4eb12 increase max duration for chudding from 1 month to 1 year 2022-08-05 20:49:44 +02:00
Aevann1 9a2b80e374 spam carp inbox 2022-08-04 23:20:29 +02:00
Aevann1 f0816853da make ban_reason logic a little better 2022-07-30 00:43:25 +02:00
Aevann1 68c07b77bb move site_settings.json out of the repo 2022-07-30 00:14:25 +02:00
Aevann1 07be18cd1b fix 500 errors 2022-07-28 16:23:38 +02:00
Snakes 3225a2a3d4
LGB: disable awards, badges. 2022-07-19 19:59:39 -04:00
Snakes 8f7d05d62d
Refactor feature flags to dict.
In anticipation of adding about a dozen more features flags to support
work for LGB, PIN_ENABLED and PROCOINS_ENABLED have been moved to the
FEATURES dict in const.py. More generally looking to create a unified
interface for logically-related constants, perhaps to support e.g.
later moving these settings from hardcoded constants to data.
2022-07-18 01:10:01 -04:00
Aevann1 3f0d1ac2a7 make nuking message clearer 2022-07-14 15:28:07 +02:00
Aevann1 093c83d7c9 tweaking bannedfor column 2022-07-12 22:00:19 +02:00
Aevann1 bc927ef238 remove editing sidebar from PCM 2022-07-12 21:32:34 +02:00
Aevann1 bf1fec7918 remove ban_reason when unbanning users 2022-07-11 14:35:28 +02:00
Aevann1 9ea0f46250 tweaking offsite mentions a little 2022-07-10 15:02:24 +02:00
Aevann1 f3fbb5c743 sneed 2022-07-09 13:07:43 +02:00
Snakes 0fbb102929 Propagate shadows to new alts on signup. 2022-07-09 05:25:15 -04:00
Aevann1 cfa6c13eaa move 2 cron functions from routes files to .cron 2022-07-08 18:21:39 +02:00
Aevann1 7cd1e4bf8f give chadmins marseybux 2022-07-07 07:14:39 +02:00
Aevann1 470b046702 compile regext outside of routes 2022-07-06 13:49:13 +02:00
Aevann1 1f0f0ef0be messing with joins 2022-07-03 08:12:53 +02:00
Aevann1 7cb95ee2ca delete migration cod 2022-07-02 11:58:16 +02:00
Aevann1 667a195270 migrating 2022-07-02 11:52:18 +02:00
Aevann1 855fc20a2a testing 2022-07-02 11:46:51 +02:00
Aevann1 24484df55c testing 2022-07-02 11:38:09 +02:00
Aevann1 29b91a3b8a fds 2022-07-02 11:33:53 +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 bc12edb5b9 add exception for chadmins 2022-07-01 22:22:10 +02:00
Aevann1 f10a858ea8 fix cron 2022-07-01 22:16:45 +02:00
Aevann1 7a682d95c6 fix 500 error 2022-07-01 20:19:21 +02:00
Aevann1 ae837e50a3 try fixing insane inbound bandwidth 2022-07-01 13:27:37 +02:00
Aevann1 070945d98a cut down on the number of queries 2022-06-29 09:22:18 +02:00
Aevann1 5661cdb271 Revert "try to cut down on number of db queries"
This reverts commit c674c6a056.
2022-06-29 08:43:20 +02:00
Aevann1 c674c6a056 try to cut down on number of db queries 2022-06-29 08:14:25 +02:00
Snakes 08c2ec7223 Make pin disabling site-specific. 2022-06-28 02:27:25 -04:00
Aevann1 aac17a6daa show the username of the janny who banned 2022-06-28 02:59:08 +02:00
Aevann1 d10a1c8693 disable pinning for 3 days 2022-06-28 02:24:16 +02:00
Aevann1 cff34fb3a4 reducing query volume, #2 2022-06-26 03:11:02 +02:00
Aevann1 ffd0d9ed31 show duration on ban icon tooltip 2022-06-25 02:11:00 +02:00
Aevann1 6f6d01c1c6 actually use the get functions 2022-06-24 15:19:53 +02:00
Snakes dedbc02968 Allow admin approval of others' TLM-less chudposts. 2022-06-21 21:13:25 -04:00
Snakes f6b6997f61 Persist activity timestamp to users. 2022-06-20 16:25:03 -04:00
Aevann1 c91f09b83f put author username in mod action notifs 2022-06-20 01:08:21 +02:00
Aevann1 f60db1598d replace "g.db.query" on pkeys with the much more efficient "g.db.get" 2022-06-18 02:57:23 +02:00
Aevann1 c42cb538aa add a button for PCM to print marseybux 2022-06-18 02:35:27 +02:00
Aevann1 80852cc395 specify encoding when reading text files 2022-06-18 00:19:18 +02:00
Aevann1 f4a6e76ab5 add nuke and un-nuke notifications 2022-06-15 21:36:02 +02:00
Aevann1 3bc98f0a6b extend TLSM's badge_grant() to almost all instanes where badges are granted 2022-06-15 21:33:21 +02:00
Aevann1 dd09eff539 fix oversight in ba883a5340 2022-06-13 18:50:30 +02:00
Aevann1 ba883a5340 give chadmins notifications for unbans and unremovals 2022-06-13 16:40:16 +02:00