Commit Graph

183 Commits (ab41db22b77a211e89e2b88a63a342f285d79868)

Author SHA1 Message Date
Aevann1 ffa83ad3e7 disallow permabanned hole mods from pinning or unpinning 2022-09-26 10:58:43 +02:00
Snakes 0a05562f8c
Order sub exile/etc listings reverse chronological. 2022-09-24 14:11:48 -04:00
Aevann1 61c586d7cc make 3 routes auth_required instead of auth_desired 2022-09-20 02:54:10 +02:00
Aevann1 7d39cdb520 minor auth_desired refactor 2022-09-20 02:51:01 +02:00
Aevann1 0302270e16 more detailed pin/unpin messages 2022-09-13 11:01:30 +02:00
Aevann1 4abf75edc0 add error codes 2022-09-12 11:52:07 +02:00
Aevann1 2e31b52366 for consistency's sake, don't use {sub.name} inside strings anymore 2022-09-12 07:25:04 +02:00
Aevann1 fbe7089d2a more detailed success message description 2022-09-11 16:32:00 +02:00
Aevann1 ae90eb1cf2 simplify house checking logic 2022-09-11 03:53:16 +02:00
Aevann1 615d18c41b like last commit 2022-09-08 17:49:34 +02:00
Aevann1 a19d700c8d up ratelimit for adding mods 2022-09-06 04:40:46 +02:00
Aevann1 dcf8892465 make it so u cant add hole mods in WPD 2022-09-02 01:54:05 +02:00
Aevann1 8e74171d9d exclude authorized bots from hole restrictions 2022-09-01 22:01:03 +02:00
Aevann1 11d7f34ad0 allow hole jannies to change the hole marsey + cachebust all site assets 2022-08-25 00:22:44 +02:00
Aevann1 9dba3240c3 disallow adding ppl as mods to house holes if they're not members of that house 2022-08-21 18:02:01 +02:00
Aevann1 a36c0f9dd3 trying to fix exiling 2022-08-20 22:24:20 +02:00
Aevann1 8c99bebd87 disallow brocels from disabling stealth mode 2022-08-20 21:41:58 +02:00
Aevann1 b60f46d0bf disallow /h/smuggies mods from disabling stealth mode 2022-08-20 21:41:15 +02:00
Aevann1 9e5ddcbd92 large commit: stealth mode, SubJoin, chudtopia
dont read if u value ur sanity
2022-08-19 23:31:26 +02:00
Aevann1 687cd766b9 restore autoflush 2022-08-17 18:36:59 +02:00
Aevann1 53c495d25f do this https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2412894?context=8#context 2022-08-13 09:08:32 +02:00
Aevann1 cec08c9e55 increase charlimit for hole css 2022-08-13 01:07:49 +02:00
Aevann1 ad8cb16bee notify chadmins of new holes 2022-08-11 15:25:56 +02:00
Snakes 2845e0961b Turn login-gate of 1568ec0162 into admin toggle. 2022-08-05 16:42:22 -04:00
Snakes 8b241a765a
Check URI approved embed in all CSS contexts. 2022-08-05 13:09:41 -04:00
Aevann1 1568ec0162 sneed 2022-08-04 22:33:22 +02:00
Aevann1 034e8fa5eb increase max sidebar character count from 500 to 10k 2022-07-17 19:26:16 +02:00
Aevann1 2d21863e19 replace "request.host" with "SITE" 2022-07-13 20:14:37 +02:00
Aevann1 16fd7310c1 replace "sub" with "HOLE_NAME" 2022-07-13 11:13:42 +02:00
Aevann1 cfa6c13eaa move 2 cron functions from routes files to .cron 2022-07-08 18:21:39 +02:00
Aevann1 35e2e12e24 OPs can now rehole their posts 2022-07-04 04:19:43 +02:00
Aevann1 9607cb7a55 fix 500 error 2022-07-03 13:58:46 +02:00
Aevann1 1f0f0ef0be messing with joins 2022-07-03 08:12:53 +02:00
Aevann1 f56be06eb8 add hole pinning 2022-07-02 01:11:48 +02:00
Snakes 467eb4408a Fix hole_entered notif username.
Previously, the on_post_hole_entered notifs to hole followers would
contain the username of the admin who moved the post (due to
referencing the	`v` parameter of whomever performed the action which
placed the post in the hole). This has been corrected to use the post
author instead. Further, on_post_hole_entered only depends on a post
for behavior, though the optional `v` user is used if present.
2022-06-30 05:36:45 -04:00
Snakes f0c9a97fda Suppress notifs for posts from shadowed. 2022-06-29 16:38:59 -04:00
Aevann1 8f9d982104 fix posting 2022-06-29 02:45:51 +02:00
Aevann1 8d4f25de44 Revert "my OCD doesn't like unused code"
This reverts commit 7c80ea91c8.
2022-06-29 01:36:40 +02:00
Aevann1 cf42c9c501 do this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2209654?context=8#context 2022-06-29 01:34:57 +02:00
Aevann1 7c80ea91c8 my OCD doesn't like unused code 2022-06-29 01:33:31 +02:00
Aevann1 52e0f21c75 make /h/braincels jannies unable to exile ppl 2022-06-26 23:34:09 +02:00
Aevann1 e022b29ef6 rework custom css a little 2022-06-26 07:26:45 +02:00
Aevann1 74978bfbf7 Revert "put custom CSS into HTML templates"
This reverts commit 19c82b7ea1.
2022-06-26 07:07:28 +02:00
Aevann1 19c82b7ea1 put custom CSS into HTML templates 2022-06-26 06:33:41 +02:00
Aevann1 cff34fb3a4 reducing query volume, #2 2022-06-26 03:11:02 +02:00
Aevann1 9593dc58dd move regex from helpers.const into its own helper file 2022-06-24 16:30:59 +02:00
Aevann1 6f6d01c1c6 actually use the get functions 2022-06-24 15:19:53 +02:00
Snakes 36d24cf213 Refactor hole follow notifs to encapsulate.
Fixes bug where admins moving a post into a hole doesn't notify
followers of the destination hole.

Also, we now have a route endpoint for reholing that is potentially
usable for e.g. an actual post_actions button to rehole, rather than
the report command UI at present.
2022-06-22 17:21:12 -04:00
Snakes e2cd25db67 WPD: limit hole creation to JL2+. 2022-06-21 01:20:21 -04:00
Aevann1 eba4452d79 fix 500 error 2022-06-18 22:41:00 +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 62d5a0d8dc Revert "use notify_mod_actions in deletion msg"
This reverts commit d7a84a2188.
2022-06-17 21:28:37 +02:00
Aevann1 d7a84a2188 use notify_mod_actions in deletion msg 2022-06-17 21:27:32 +02:00
Aevann1 2c6b6cc371 notify chadmins of hole deletions 2022-06-17 20:30:05 +02:00
Snakes 642f5e7a1c Holes: remove JL3 on /create_hole 2022-06-10 12:59:25 -04:00
Aevann1 e53a286d49 notify mods of the deletion of their holes 2022-06-10 17:41:33 +02:00
Aevann1 2db414f12d Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-06-10 14:48:14 +02:00
Aevann1 2b82f95a98 Make hole cost constant instead of variable 2022-06-10 14:48:11 +02:00
Snakes 5f7b38b477 Refactor stat timers, award timers.
Prior to this comment, the every-1d cron.py command was broken due
to lack of proper stats import. However, while refactoring this, it
was convenient to move other recurring tasks that had been stuffed in
odd places--not least `stats(...)`--into the new cron system. This
entailed a number of refactorings of other things.

1. Move stats(...) from static.py to helpers/stats.py.
2. Move hole inactivity purge task from stats(...) to routes/subs.py.
3. Move bot award timer checks from stats(...) to helpers/awards.py.
4. Unify award timer logic formerly in routes/front.py into the new
   helpers/awards.py.
2022-06-10 05:47:41 -04:00
Aevann1 934b631730 rename /create_sub to /create_hole 2022-06-10 00:29:45 +02:00
Snakes dc7f13304e Add following holes for notifications. 2022-06-09 16:24:24 -04:00
Aevann1 f72015382a crgd is a king 2022-05-26 22:04:39 +02:00
Aevann1 c213451722 fdsfdsxc 2022-05-25 20:44:43 +02:00
Aevann1 386db76c10 crgd is a king 2022-05-25 20:29:22 +02:00
Aevann1 f0dec0d06d Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-23 00:21:13 +02:00
Aevann1 5fddfae64c sf 2022-05-09 11:08:26 +02:00
Aevann1 051b35a028 sf 2022-05-09 04:16:28 +02:00
Aevann1 f1458c091f sfd 2022-05-09 03:37:50 +02:00
Aevann1 028563ad7d bgd 2022-05-07 08:04:14 +02:00
Aevann1 53702d5f13 dup 2022-05-04 05:14:14 +02:00
Aevann1 095e5cb0af sanitize 2022-05-03 21:07:15 +02:00
Aevann1 47d01ed00b vb 2022-05-03 04:15:35 +02:00
Aevann1 a4b0565b5a sfd 2022-05-01 23:48:53 +02:00
Aevann1 e73fcbd56a sfd 2022-04-29 17:17:14 +02:00
Aevann1 ab83d60730 fds 2022-04-26 15:01:05 +02:00
Aevann1 f3743d717d fds 2022-04-18 23:11:30 +02:00
Aevann1 9c0441aef9 fsd 2022-04-17 23:46:29 +02:00
Aevann1 ae82ada424 fsd 2022-04-02 18:54:27 +02:00
Aevann1 b74c8711d7 fd 2022-03-26 00:30:15 +02:00
Aevann1 a9f6f5a0e0 post 2022-03-19 18:19:02 +02:00
Aevann1 de6cebe659 aw 2022-03-17 10:59:44 +02:00
Aevann1 94a4b91231 fds 2022-03-09 04:36:51 +02:00
Aevann1 b35bab0672 hole 2022-03-09 04:04:37 +02:00
Aevann1 514d6ec126 right 2022-03-09 03:44:53 +02:00
Aevann1 b0e62578cf fixed kicking 2022-03-06 21:13:11 +02:00
Aevann1 cf3dcf3aea fsd 2022-03-06 03:59:45 +02:00
Aevann1 d6e58d7f8a ye\ 2022-03-06 03:58:56 +02:00
Aevann1 2b0257cef0 /subs 2022-03-06 02:21:13 +02:00
Aevann1 fd5a0ae9ca subs toggle 2022-03-06 01:53:43 +02:00
Aevann1 7d44f8456f uk 2022-03-05 21:46:47 +02:00
Aevann1 c86ebe6f47 fantastic 2022-03-05 21:28:01 +02:00
Aevann1 680f900598 rage and impatience 2022-03-04 18:33:57 +02:00
Aevann1 b23bd5a0ef y 2022-03-02 17:03:52 +02:00
Aevann1 73aee677c3 sdf 2022-03-02 17:03:35 +02:00
Aevann1 4be5a3cda7 janny 2022-03-02 17:02:08 +02:00
Aevann1 cc869880f3 fart 2022-03-02 06:27:53 +02:00
Aevann1 e62523c2d6 fish 2022-03-02 06:24:36 +02:00
Aevann1 b6ad0da4b9 carp 2022-03-02 02:05:30 +02:00
Aevann1 8416252e38 arro 2022-03-01 23:19:51 +02:00
Aevann1 df702a4349 messy 2022-02-28 22:33:07 +02:00