Commit Graph

869 Commits (9fcdd65d3862aae4c43341d9f0c1824b25d4751f)

Author SHA1 Message Date
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
Aevann1 f7cce1469c Revert "use redis for site settings instead of a json file"
This reverts commit a7b67db555.
2022-06-10 23:52:32 +02:00
Aevann1 a7b67db555 use redis for site settings instead of a json file 2022-06-10 23:22:09 +02:00
Aevann1 d84a4c7ce9 convert monthly marseybux into a cron task 2022-06-10 22:23:01 +02:00
Aevann1 760aa397c8 refactor monthly marseybux logic a little bit 2022-06-10 22:13:20 +02:00
Aevann1 b4b4ab1e9a when granting monthly awards, add 5 days to the date
so when I grant awards on 29/5 for example,
it says in the notification "for the month of July" instead of "for the month of May"
extremely minor but I have autism
2022-06-10 22:09:59 +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 4db48a6ec9 Separate modaction notifs from inbox. 2022-06-10 08:28:46 -04:00
Aevann1 4aeb438c6b extend removal notifs from only me to all Lvl3 jannies 2022-06-06 07:50:38 +02:00
Snakes 7556fe8988 Add lottershe badge logic, badge helper. 2022-06-06 00:07:38 -04:00
Snakes 0e0a8d391b Amend 20b136909: string comparison bug.
Fixes logic which failed because user_id was a string which I
improperly treated as an integer for comparisons.
2022-06-04 23:58:03 -04:00
Snakes c2266985b7 Make CARP_ID's flair uneditable by others.
This is a kludge solution that sticks special case logic in places
it shouldn't be. However, community management demands necessitate it
quickly. Of the three ways to change a flair (customtitle), this
prevents using flairlocks and admin flair editing on the user with
CARP_ID. Only the user himself may change his flair through settings.
2022-06-04 23:34:44 -04:00
Snakes 379ae664a3 Make PIN_LIMIT a per-site constant. 2022-06-02 19:45:33 -04:00
float-trip 58c4b62163 Some fixes (#300)
* Narrow emoji_regex

* Fix mirrored pat emojis

* Fix ban icon on posts/comments
2022-06-02 19:18:10 -04:00
Aevann1 de539ab7e5 fixed a bug that caused 500 errors when jannies left the input area for days empty when they chudded someone
also removed some useless code for checking admin status on alts (why did I add this)
2022-05-30 05:30:32 +02:00
Aevann1 b2c011a7ba Give me a notification whenever one of the other jannies removes a post or comment 2022-05-30 05:01:03 +02:00
Aevann1 aff30db1fe make sure the post/comment for which someone was banned is linked everywhere (for convenience) 2022-05-30 04:55:51 +02:00
Aevann1 3e472c74e0 Removed "make admin" on rdrama.net 2022-05-29 20:36:51 +02:00
Aevann1 851eff0f18 sdf 2022-05-28 19:50:48 +02:00
Aevann1 66b3efab36 award refactor 2022-05-27 01:08:23 +02:00
Aevann1 02e9d2f2b5 fsd 2022-05-26 23:08:31 +02:00
Aevann1 13fcc1881a dfsfds 2022-05-26 23:07:06 +02:00
Aevann1 d4f7f5497b fds 2022-05-26 22:49:36 +02:00
Aevann1 630996faee gfd 2022-05-26 22:31:08 +02:00
Aevann1 8ba5f07bb6 sdf 2022-05-26 22:17:09 +02:00
Aevann1 0ac85b3192 fsd 2022-05-26 22:14:47 +02:00
Aevann1 f72015382a crgd is a king 2022-05-26 22:04:39 +02:00
Aevann1 c8c6ec6eea dsf 2022-05-26 00:08:16 +02:00
Aevann1 8d1c9d710d fsd 2022-05-25 23:25:23 +02:00
Snakes 6784ccdd27 loggedin: Order by JL, TS desc. 2022-05-25 16:37:02 -04:00
Aevann1 50b995d3a0 fds 2022-05-25 22:16:26 +02:00
Aevann1 386db76c10 crgd is a king 2022-05-25 20:29:22 +02:00
Aevann1 162bf9dad7 no more g.timestamp y'all couldn't behave 2022-05-25 17:42:04 +02:00
Aevann1 649f8d5323 vdffsd 2022-05-23 00:45:04 +02:00
Aevann1 969d1898b5 vid refactor 2022-05-22 18:13:19 +02:00
Aevann1 3e2af45a59 fds 2022-05-19 19:58:18 +02:00
Aevann1 9bd8fcbd1c sf 2022-05-10 09:20:49 +02:00
Aevann1 db2a8236db af 2022-05-09 16:07:29 +02:00
Aevann1 b71ae6cc74 sf 2022-05-09 13:21:49 +02:00
TLSM a0cfc7bf1c Add admin status git revision. (#244)
Adds a line in admin_home which displays the currently active git
revision. Current methodology is via manually parsing files in .git.
Consider revising if the application ever has access to `git` shell,
which would obviate some minor security concerns around directory
traversal attacks.
2022-05-05 10:46:20 +02:00
Aevann1 6b10d097a2 mn 2022-05-05 01:09:46 +02:00
Aevann1 5e2da5673c fsd 2022-05-03 06:28:42 +02:00
Aevann1 bc2a20cd4b sfd 2022-05-01 23:44:38 +02:00
Aevann1 9353f6507c fds 2022-04-29 16:41:35 +02:00
Aevann1 5c21180705 Revert "vxc"
This reverts commit 4d0c7ba456.
2022-04-25 23:59:12 +02:00
Aevann1 4d0c7ba456 vxc 2022-04-25 18:38:06 +02:00
Aevann1 6b97488355 fds 2022-04-22 17:08:42 +02:00
Aevann1 088d510da6 fsd 2022-04-22 16:51:40 +02:00
Aevann1 3e0348833e fds 2022-04-20 19:34:27 +02:00
Aevann1 aa498d89c7 gfd 2022-04-19 21:13:36 +02:00
Aevann1 c60adf958a sfd 2022-04-19 19:50:13 +02:00
Aevann1 78ea56837f fds 2022-04-17 22:20:40 +02:00
Aevann1 1f5fa278d0 fsd 2022-04-17 11:23:42 +02:00
Aevann1 a1d7849798 fds 2022-04-15 17:35:11 +02:00
Aevann1 579e81de2a site settings 2022-04-12 21:05:50 +02:00
Aevann1 8098f4c4f7 fsd 2022-04-12 19:32:53 +02:00
Aevann1 17852d30e6 fart mode 2022-04-12 19:29:52 +02:00
Aevann1 ec661f4115 gfd 2022-04-12 18:52:18 +02:00
Aevann1 26736b1324 fds 2022-04-08 04:56:10 +02:00
Aevann1 889a8948c4 fsd 2022-04-04 03:41:20 +02:00
Aevann1 7713fd891d fsd 2022-04-02 19:11:35 +02:00
Aevann1 ae82ada424 fsd 2022-04-02 18:54:27 +02:00
Aevann1 b02b27ce4f fds 2022-03-31 17:00:57 +02:00
Aevann1 f65ff6a353 fsd 2022-03-22 17:45:52 +02:00
Aevann1 231546f4a2 fds 2022-03-21 23:36:57 +02:00
Aevann1 1c10677236 fsd 2022-03-21 23:35:38 +02:00
Aevann1 a6fbcddad2 bu 2022-03-20 00:16:13 +02:00
Aevann1 24178a691a mart 2022-03-19 23:20:27 +02:00
Aevann1 29c4bec4d4 vc 2022-03-19 17:33:02 +02:00
Aevann1 86e8c97728 gdf 2022-03-19 17:11:03 +02:00
Aevann1 7a61b5022f fsd 2022-03-19 16:41:03 +02:00
Aevann1 dbde28e7b0 fsd 2022-03-19 16:35:05 +02:00
Aevann1 50fe0c6243 fds 2022-03-19 16:34:47 +02:00
Aevann1 97065799b4 fds 2022-03-19 16:34:24 +02:00
Aevann1 3586aa1219 d 2022-03-19 16:30:14 +02:00
Aevann1 2d8f18d9fb u do it for free 2022-03-19 16:27:36 +02:00
Aevann1 591498ef40 fds 2022-03-19 16:26:50 +02:00
Aevann1 ece4727f4d sfd 2022-03-19 16:26:36 +02:00
Aevann1 4d691ca958 v 2022-03-19 16:19:46 +02:00
Aevann1 ea030b4888 fd 2022-03-19 16:13:29 +02:00
Aevann1 14e6f04e1a dfs 2022-03-19 16:11:41 +02:00
Aevann1 59dee3e51c fds 2022-03-19 16:10:23 +02:00
Aevann1 7b581b2528 f 2022-03-19 16:06:21 +02:00
Aevann1 ec6b596348 f 2022-03-19 15:50:33 +02:00
Aevann1 e580b6fe52 fds 2022-03-19 15:46:54 +02:00
Aevann1 febbf49dc6 fds 2022-03-19 15:44:27 +02:00
Aevann1 ca93bcd11f fds 2022-03-19 15:39:28 +02:00
Aevann1 fdcdb3b652 fsd 2022-03-19 15:37:21 +02:00
Aevann1 22d4991eea fds 2022-03-19 15:37:03 +02:00
Aevann1 8e68ce92eb g.db.commit() 2022-03-19 14:52:36 +02:00
Aevann1 db4a1a39d1 yolo i guess 2022-03-17 18:45:54 +02:00
Aevann1 83c88a9834 sfd 2022-03-17 18:30:13 +02:00
Aevann1 8ed5af569d fds 2022-03-14 00:58:07 +02:00
Aevann1 d0f0e2bad2 dfs 2022-03-05 02:47:04 +02:00
Aevann1 fae009165c automating marsey badges 2022-03-05 00:59:33 +02:00
Aevann1 70caa241da gf 2022-03-01 02:20:11 +02:00
Aevann1 fa641a50c1 regex 2022-03-01 01:01:57 +02:00
Aevann1 ca72158525 badge remove 2022-02-28 21:54:33 +02:00
Aevann1 149e8e2636 carpet 2022-02-26 21:34:10 +02:00
Aevann1 f051ef00ee verified 2022-02-26 20:29:00 +02:00
Aevann1 576023837b user 2022-02-26 20:23:04 +02:00
Aevann1 42091c427a flush 2022-02-26 18:00:49 +02:00
Aevann1 dd001fa33c fd 2022-02-26 17:56:44 +02:00
Aevann1 cb59aed6e9 badge 2022-02-26 17:54:39 +02:00
Aevann1 9a2a972277 verify 2022-02-26 17:46:23 +02:00
Aevann1 e0d95cf749 verify 2022-02-26 17:46:11 +02:00
Aevann1 3b0f14327a verify 2022-02-26 17:36:06 +02:00
Aevann1 eb5192fb9c exile 2022-02-26 17:13:01 +02:00
Aevann1 e8b5e4b5a3 fdsdf 2022-02-26 16:53:42 +02:00
Aevann1 e139f8d9ad fartin 2022-02-26 16:39:47 +02:00
Aevann1 6cc9cddef0 fug 2022-02-26 16:21:07 +02:00
Aevann1 18fb196922 permenantly 2022-02-25 19:25:31 +02:00
Aevann1 3636b9d69b bbb 2022-02-24 19:48:14 +02:00
Aevann1 4f7d207260 fds 2022-02-24 15:20:48 +02:00
Aevann1 6681ca4236 fds' 2022-02-23 07:17:03 +02:00
Aevann1 5871c6106e vc 2022-02-22 13:43:38 +02:00
Aevann1 833009bd14 gdf 2022-02-21 03:58:12 +02:00
Aevann1 b48cc5314f bv 2022-02-21 03:35:01 +02:00
Aevann1 13e575a6b5 fgh 2022-02-19 23:42:55 +02:00
Aevann1 90756ac07a nvb 2022-02-18 22:38:07 +02:00
Aevann1 92f1420e0f xvc 2022-02-17 09:02:44 +02:00
Aevann1 fb9c0a23dc exiles 2022-02-16 06:33:13 +02:00
Aevann1 a706b3105c fd 2022-02-16 01:38:33 +02:00
Aevann1 7775f41081 fd 2022-02-14 18:38:24 +02:00
Aevann1 dc696bf473 cvx 2022-02-14 03:22:26 +02:00
Aevann1 02911c5d8d vc 2022-02-14 01:52:44 +02:00
Aevann1 de4e019abc sfd 2022-02-13 23:25:09 +02:00
Aevann1 35aeb816d7 mn 2022-02-13 13:02:44 +02:00
Aevann1 bf3e14bba3 big big chungus big chungus big chungus 2022-02-13 03:08:12 +02:00
Aevann1 22eaa9e7f8 xvc 2022-02-13 01:10:29 +02:00
Aevann1 03f1a106b4 dude subdramas lmao 2022-02-10 22:35:16 +02:00
Aevann1 c810421821 bv 2022-02-10 01:08:55 +02:00
Aevann1 6bf3b528da bcv 2022-02-09 23:19:02 +02:00
Aevann1 67ee1d54f0 xcv 2022-02-09 00:40:28 +02:00
Aevann1 bb3e3d456f xvc 2022-02-09 00:36:34 +02:00
Aevann1 b7fd1db1f7 bv 2022-02-08 16:49:49 +02:00
Aevann1 4c3ac26ab3 bv 2022-02-07 17:07:44 +02:00
Aevann1 022e300d2f SDF 2022-02-06 12:54:05 +02:00
Aevann1 742368fcf1 dsf 2022-02-05 23:17:47 +02:00
Aevann1 1eeebf9400 crisis 2022-02-05 23:09:17 +02:00
Aevann1 5117ad13f7 sfd 2022-02-04 18:02:05 +02:00
Aevann1 70af0a7e60 sfd 2022-02-04 15:11:11 +02:00
Aevann1 ed518e7936 gd 2022-02-01 06:44:05 +02:00
Aevann1 59027a7276 fds 2022-02-01 02:03:39 +02:00
Aevann1 eeaa824b27 gf4 2022-02-01 01:55:11 +02:00
Aevann1 26bfdd4f33 sfd 2022-02-01 01:10:24 +02:00
Aevann1 1a362d29a3 c 2022-01-30 23:37:46 +02:00
Aevann1 72a0dcc64e gfs 2022-01-30 23:00:48 +02:00
Aevann1 e2148337f0 sdf 2022-01-29 05:27:51 +02:00
Aevann1 951f873a91 fds 2022-01-29 04:48:34 +02:00
Aevann1 70813c686a dfs 2022-01-29 03:20:02 +02:00
Aevann1 361526679c fd 2022-01-28 22:32:05 +02:00
Aevann1 880757527e fds 2022-01-28 22:30:07 +02:00
Aevann1 9c0e14c642 fd 2022-01-28 06:37:40 +02:00
Aevann1 9db8b47ddb cv 2022-01-28 05:57:20 +02:00
Aevann1 aff7781a6c df 2022-01-28 05:30:20 +02:00
Aevann1 cb5c37cc77 vcxvcx 2022-01-28 05:22:31 +02:00
Aevann1 3c8f269e21 fdfd 2022-01-27 22:50:34 +02:00
Aevann1 a0f11bbd7a dsds 2022-01-25 21:01:39 +02:00
Aevann1 2f48dc53e3 cx 2022-01-25 01:49:00 +02:00
Aevann1 e493592a23 vc 2022-01-24 22:26:15 +02:00
Aevann1 dedb9bbaa0 vc 2022-01-24 22:04:23 +02:00
Aevann1 d808a5c0a5 xvc 2022-01-24 21:06:41 +02:00
Aevann1 b094e976dc cvvc 2022-01-24 18:49:23 +02:00
Aevann1 8d730298d9 fd 2022-01-24 17:42:19 +02:00
Aevann1 ad1d3c46b5 cxcx 2022-01-24 17:42:03 +02:00
Aevann1 8b381284c6 yolo 2022-01-24 01:06:34 +02:00
Aevann1 c8e3be1c39 fdsfsd 2022-01-23 21:51:56 +02:00
Aevann1 65daa0d82c cvxcvx 2022-01-22 21:49:12 +02:00
Aevann1 5213add93d fs 2022-01-22 21:28:49 +02:00
Aevann1 0b93902c2b cxzzcx 2022-01-22 21:21:16 +02:00
Aevann1 3e4e93d522 vcxxcv 2022-01-22 12:43:06 +02:00
Aevann1 4b6176989e cxvxvc 2022-01-21 16:22:44 +02:00
Aevann1 0b3b4b4a15 vcxvcx 2022-01-21 14:16:41 +02:00
Aevann1 005ddae172 cvxvxc 2022-01-21 14:13:52 +02:00
Aevann1 e9f3ee5d59 vc 2022-01-21 14:10:28 +02:00
Aevann1 7ba68a10ae fdvcx 2022-01-21 14:06:50 +02:00
Aevann1 9040cdc173 fdsfs 2022-01-21 14:06:26 +02:00
Aevann1 18a9903086 vxc 2022-01-21 13:55:53 +02:00
Aevann1 9ca4b8f067 fsd 2022-01-21 10:44:19 +02:00
Aevann1 81078c5877 fds 2022-01-19 11:07:16 +02:00
Aevann1 3b25c9f6f5 fsdfds 2022-01-18 02:09:40 +02:00
Aevann1 4dfb0610de xvc 2022-01-18 00:24:04 +02:00
Aevann1 6a92d877f5 fffff 2022-01-17 18:46:35 +02:00
Aevann1 dcdafd305b fgfg\ 2022-01-17 14:07:50 +02:00
Aevann1 7a9a78c027 bbb 2022-01-17 13:47:30 +02:00
Aevann1 b617163a1c vvv 2022-01-17 13:06:12 +02:00
Aevann1 11c20c9b11 bbb 2022-01-16 08:20:11 +02:00
Aevann1 8c0ddf3c96 bbbbbbbbbbbbbb 2022-01-16 02:10:33 +02:00
Aevann1 2b6418a132 testing 2022-01-15 08:31:17 +02:00
Aevann1 3ab53cad82 b 2022-01-14 14:04:35 +02:00
Aevann1 05cb5a73fd bbb 2022-01-14 13:26:25 +02:00
Aevann1 4d4a54fcba bbb 2022-01-14 13:19:25 +02:00
Aevann1 03f5fff40a fd 2022-01-14 13:18:07 +02:00
Aevann1 7c985df2a7 bbb 2022-01-14 08:59:17 +02:00
Aevann1 b3b3f0542d bbb 2022-01-14 08:47:14 +02:00
Aevann1 f02032cbdc bb 2022-01-14 04:46:27 +02:00
Aevann1 1b7bfd667c bbb 2022-01-14 04:44:44 +02:00
Aevann1 5529694067 bbb 2022-01-14 04:41:19 +02:00
Aevann1 88cf11cf20 bbb 2022-01-14 04:39:21 +02:00
Aevann1 dd6751fe66 bb 2022-01-14 04:36:34 +02:00
Aevann1 54ab187e8c bb 2022-01-14 04:36:22 +02:00
Aevann1 9ae0a6ef24 bbb 2022-01-14 04:33:27 +02:00
Aevann1 6ecf15476a g 2022-01-14 01:29:15 +02:00
Aevann1 bbdb8e7d24 bb 2022-01-13 06:59:16 +02:00
Aevann1 de353a43eb bb 2022-01-13 06:58:06 +02:00
Aevann1 c7bb92535a bb 2022-01-13 02:06:24 +02:00
Aevann1 9ef1b2df2f bb 2022-01-12 07:04:24 +02:00
Aevann1 7ac6b49a75 vv 2022-01-12 06:50:06 +02:00
Aevann1 d19fcf85eb bb 2022-01-12 06:24:05 +02:00
Aevann1 b5762b2e86 fv 2022-01-12 03:19:13 +02:00
Aevann1 458238b958 bb 2022-01-12 00:40:16 +02:00
Aevann1 d16bb99ab3 bb 2022-01-12 00:37:37 +02:00
Aevann1 0e5218b2dc bbbb 2022-01-11 21:46:50 +02:00
Aevann1 4a7373f7bf bb 2022-01-11 05:28:35 +02:00
Aevann1 1325381958 under attack 2022-01-09 17:24:09 +02:00