Commit Graph

553 Commits (eb98740f972fe3e87e1b7d6757a0afa6792031a6)

Author SHA1 Message Date
Snakes eef6c25b0b
LGB: Permission block, follow, voters visibility. 2022-07-18 03:17:45 -04:00
Aevann1 de66243ea0 show marsey authors in deux 2022-07-15 03:25:04 +02:00
Aevann1 612ea7354b show marsey author in deux 2022-07-15 03:13:03 +02:00
Aevann1 2d21863e19 replace "request.host" with "SITE" 2022-07-13 20:14:37 +02:00
Aevann1 f6bf7400c3 do this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2298056?context=8#context 2022-07-13 17:20:10 +02:00
Snakes 02e096e5af LGB: add custom emoji list. 2022-07-09 00:32:48 -04:00
Aevann1 1f0f0ef0be messing with joins 2022-07-03 08:12:53 +02:00
Aevann1 cff34fb3a4 reducing query volume, #2 2022-06-26 03:11:02 +02:00
Aevann1 0b2d0a981d fix broken images 2022-06-22 17:54:25 +02:00
Aevann1 20585ca543 add a shortened endpoint for static images and rename loading.webp to l.webp (to save bytes) 2022-06-22 17:51:19 +02:00
Aevann1 5520447d55 make modmail messages use the files refactor 2022-06-18 19:41:24 +02:00
Aevann1 b34dd88560 remove legacy code in video upload (thx @everyone) 2022-06-18 18:23:10 +02:00
Aevann1 ccdabcba29 allow uploading of all types of files (using lain.la)
+ allow multiple file upload in bios and messaging admins
2022-06-18 17:53:34 +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 8c137fef2b verify cloudflare 2022-06-18 01:22:56 +02:00
Aevann1 96d7df327f Revert "CF verification"
This reverts commit 62644f452f.
2022-06-18 01:19:42 +02:00
Aevann1 62644f452f CF verification 2022-06-18 01:18:06 +02:00
Aevann1 80852cc395 specify encoding when reading text files 2022-06-18 00:19:18 +02:00
Snakes c46f785229 Loosen auth requirement on /directory. 2022-06-17 16:38:30 -04:00
Snakes f04dffe1a7 Create directory page for sidebar megathreads.
The sidebar previously did not prioritize information as well as
desired, and the proliferation of megathreads led to a number of
icons occupying frontpage visual space despite not often being
useful to frontpage use cases. Therefore, they have been moved to
a new page.

The /directory page is predominantly created with template logic,
and it should be within the ability of our semi-technical jannie
staff to maintain.
2022-06-15 03:27:04 -04:00
Aevann1 d09634bf20 make log show 0 actions when u filter by a kind that doesn't exist
(instead of showing all actions)
2022-06-13 18:41:46 +02:00
Aevann1 cf827bdf38 unhide some mod actions from non-jannies 2022-06-13 15:37:46 +02:00
Snakes 3ebba0465a Close more shadowbanned user info leaks.
1. Missed the notif for unfollowing a non-fish'd user in fb52003404.
2. "Get Them Help" button showed username.
3. Gift coins/mbux showed username and allowed a message.
4. Global block list showed username.
5. User profile appeared to logged-out and non-jannies.
2022-06-12 23:03:36 -04:00
Aevann1 964318fe5d fix push notifications 2022-06-11 00:14:03 +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 3a9f3c329f fix hole deletion 2022-06-10 00:13:33 +02:00
Aevann1 10f3d4035d delete inactive holes 2022-06-10 00:07:17 +02:00
Snakes 152315f73e cron: Move charts from static to helper. 2022-06-07 08:31:24 -04:00
Snakes 70b96162a7 Fix banned domain info leak in modlog. 2022-06-06 22:18:56 -04:00
Snakes df3127785a Rename 'shit emojis.json' for sanity. 2022-06-02 05:15:41 -04:00
Aevann1 27d81f6506 for rdrama.net, made it so the weekly chart always start before the site got made, and added variable chart width to accomodate that 2022-05-30 05:16:48 +02:00
Aevann1 ecb4a56047 fixed global variable bug in /stats 2022-05-30 01:01:40 +02:00
Aevann1 6584919d41 sdf 2022-05-28 22:25:28 +02:00
Aevann1 cd2380fb33 fds 2022-05-28 04:20:31 +02:00
HappyDOGE d6b4c3b166 Added offline service worker (serves a static webpage when no internet connection is present) (#285)
based
2022-05-27 21:23:01 +02:00
Aevann1 50b995d3a0 fds 2022-05-25 22:16:26 +02:00
Aevann1 bbd851210e fds 2022-05-24 17:32:49 +02:00
Aevann1 0bd15d3914 burgers? 2022-05-23 21:00:14 +02:00
Aevann1 0a74a98ec5 big ass commit 2022-05-23 00:15:29 +02:00
Aevann1 9bc310a6a4 sfd 2022-05-22 19:23:52 +02:00
Aevann1 ee9b5f2bcd g 2022-05-22 18:15:40 +02:00
Aevann1 236ce22c52 fsd 2022-05-22 18:14:32 +02:00
Aevann1 969d1898b5 vid refactor 2022-05-22 18:13:19 +02:00
Aevann1 db3ed7961f idk 2022-05-19 20:36:26 +02:00
Aevann1 ef0046f091 fsd 2022-05-18 21:29:07 +02:00
Aevann1 0e8a2ad1c8 sdf 2022-05-17 18:03:59 +02:00
Snakes 32416e71fa Fix /stats distinct user count fields.
The COUNT(*) performance optimization in b71ae6cc74 was a bit
overzealous and wound up breaking four fields in /stats intended to
count distinct users who performed certain activities. These fields
were returned to their original implementation.
2022-05-14 17:24:55 -04:00
DrTransmisia 04aefc2462 worst asymptotic behavior (#259)
* ditched the log search in favor of the polynomial search otherwise poor carp can't search for xis boyfriend marseysamhyde querying "hyde" and instead of properly tag it ["sam", "hyde"] I had to ditch the search alg made in the image of G-d

* le new line

* anton-d on all dramaverse
2022-05-11 19:49:27 +02:00
DrTransmisia 99eeb3ee4b Bussysussy (#256)
* improved static emojis descriptions and file readability

* perf improv. 2

* some minor tweaks

* final tweaks to js and mobile css

* very final
2022-05-10 02:58:57 +02:00
Aevann1 b71ae6cc74 sf 2022-05-09 13:21:49 +02:00
Aevann1 71890a2dd1 sfd 2022-05-09 10:47:35 +02:00
Aevann1 028563ad7d bgd 2022-05-07 08:04:14 +02:00
Aevann1 f2039d7713 sfd 2022-05-07 06:13:19 +02:00
Aevann1 ca61569b44 nv 2022-05-06 06:55:15 +02:00
Aevann1 79f3412aae Merge branch 'bussy_refactor' of https://github.com/DrTransmisia/rDrama into frost 2022-05-05 23:12:07 +02:00
Doctor Steven Transmisia e526a4fd1c re-factoring emoji system\n\nnow should be less CPU intesive although most of the load seems to come from the img loading itself and it is not address in this commit 2022-05-05 15:47:47 +02:00
Aevann1 6b10d097a2 mn 2022-05-05 01:09:46 +02:00
Aevann1 46e391b5a7 fsd 2022-05-04 23:32:30 +02:00
Aevann1 2132703204 fds 2022-05-03 21:59:54 +02:00
Aevann1 a31d0598cc fix 2022-05-03 06:59:47 +02:00
Aevann1 47d01ed00b vb 2022-05-03 04:15:35 +02:00
Aevann1 a6f6e64246 fhg 2022-05-02 21:32:15 +02:00
Aevann1 df90e71f20 fsd 2022-05-02 21:30:12 +02:00
Aevann1 8b24faf9fd sdf 2022-05-02 20:56:10 +02:00
Aevann1 f9a142a889 sfd 2022-05-02 20:54:53 +02:00
Aevann1 dbe0bf076e tre 2022-05-02 20:50:43 +02:00
TLSM 63d344c2d0 Add badge quantity and rarity to /badges. (#238)
Implements feature request to know how many of each badge exists and
to have a 'rarity', a la Steam or PSN badges, relative to number of
non-lurker users.

Because Postgres `COUNT()`s are notoriously costly, /badges has been
memoized for 1hr to avoid a DOS target.
2022-05-02 20:14:06 +02:00
Aevann1 4d7e79bef3 6yutg 2022-05-02 04:11:01 +02:00
Aevann1 c636f08732 sdgf 2022-05-02 04:00:14 +02:00
Aevann1 5a7d019cdd sfd 2022-05-02 03:54:07 +02:00
Aevann1 bc2a20cd4b sfd 2022-05-01 23:44:38 +02:00
Aevann1 394402c0c1 fsd 2022-05-01 02:53:24 +02:00
Aevann1 e5014b4cf4 fsd 2022-04-29 02:02:00 +02:00
Aevann1 a11c37f7be fd 2022-04-26 14:59:28 +02:00
Aevann1 f306d76373 sfd 2022-04-25 23:16:32 +02:00
Aevann1 09e15a1961 fds 2022-04-25 23:15:02 +02:00
Aevann1 3b3c0927f3 fsd 2022-04-25 23:10:55 +02:00
Aevann1 1b849c57c1 fds 2022-04-25 23:04:50 +02:00
Aevann1 1bdfb1afdf fsd 2022-04-25 22:31:30 +02:00
Aevann1 0ed35ce69f vxc 2022-04-25 21:42:35 +02:00
Aevann1 0cbd70a8d6 fad 2022-04-24 22:39:37 +02:00
Aevann1 b554065c49 vcx 2022-04-24 19:30:05 +02:00
Aevann1 457a717075 fds 2022-04-24 00:09:25 +02:00
Aevann1 80346a6377 fds 2022-04-22 17:45:26 +02:00
Aevann1 031d9c52e0 fds 2022-04-21 18:10:15 +02:00
Aevann1 bd6349d448 Revert "RESTORE CACHE"
This reverts commit 3d193357ef.
2022-04-19 22:22:24 +02:00
Aevann1 3d193357ef RESTORE CACHE 2022-04-19 22:21:47 +02:00
Aevann1 c2815804c9 gf 2022-04-19 20:19:12 +02:00
Aevann1 78ea56837f fds 2022-04-17 22:20:40 +02:00
Aevann1 62bfc5e629 fsd 2022-04-16 17:05:33 +02:00
reality500 5d6885e5bf Add logged_out redirect (#227) 2022-04-14 00:54:32 +02:00
Aevann1 ce7ae3dbd3 fds 2022-04-11 13:25:58 +02:00
Aevann1 49c1db511d gfd 2022-04-10 16:56:38 +02:00
Aevann1 2dc99c8d18 fds 2022-04-07 03:18:46 +02:00
Aevann1 bec149c6ec fds 2022-04-04 22:00:06 +02:00
Aevann1 889a8948c4 fsd 2022-04-04 03:41:20 +02:00
Aevann1 c9b3e8528d fsd 2022-04-02 21:42:21 +02:00
Aevann1 7b28b810d0 gfd 2022-04-02 21:35:27 +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 4851bb896c fds 2022-03-31 19:16:13 +02:00
Aevann1 b538d2a24c gdfg 2022-03-31 18:28:53 +02:00
Aevann1 1042072ad8 fsd 2022-03-31 16:25:49 +02:00
Aevann1 3a3157def3 df 2022-03-29 19:32:36 +02:00
Aevann1 4e3e54ef22 fds 2022-03-26 20:13:49 +02:00
Aevann1 b74c8711d7 fd 2022-03-26 00:30:15 +02:00
Aevann1 cb9087a0d9 fds 2022-03-22 05:45:30 +02:00
Aevann1 ffe1964981 fds 2022-03-21 23:31:16 +02:00
Aevann1 0293f60453 fart 2022-03-19 21:15:13 +02:00
Aevann1 28e9053499 fds 2022-03-19 20:15:12 +02:00
Aevann1 549c9ba394 arrr 2022-03-19 20:12:14 +02:00
Aevann1 e3a8d03549 cmon 2022-03-19 16:59:56 +02:00
Aevann1 8abfbd5cdf sfd 2022-03-06 02:31:19 +02:00
Aevann1 7e1311195d fart 2022-03-06 00:09:46 +02:00
Aevann1 c897c73fbf done queen 2022-03-06 00:09:06 +02:00
Aevann1 b7ab468ae0 jesus christ im an idiot 2022-03-03 22:22:23 +02:00
Aevann1 519c7414f3 gfd 2022-02-25 15:33:32 +02:00
Aevann1 db61d95e1c emoji 2022-02-25 14:43:25 +02:00
Aevann1 d38f5e3c63 e 2022-02-24 20:31:28 +02:00
Aevann1 3636b9d69b bbb 2022-02-24 19:48:14 +02:00
Aevann1 14c7148eed fd 2022-02-24 10:28:13 +02:00
Aevann1 15aa2bfc0a vc 2022-02-22 11:15:45 +02:00
Aevann1 587961af82 jh 2022-02-22 06:48:21 +02:00
Aevann1 98722e65e0 fd 2022-02-22 06:47:48 +02:00
Aevann1 dbbcf7b5e0 fd 2022-02-22 06:47:35 +02:00
Aevann1 ec8472a00d fd 2022-02-22 06:47:19 +02:00
Aevann1 4e7a3ab659 dfg 2022-02-22 06:46:44 +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 90f1a42835 cbv 2022-02-18 12:24:10 +02:00
Aevann1 9c4dcb1144 gf 2022-02-16 03:42:11 +02:00
Aevann1 729e4a4c62 g 2022-02-16 03:16:01 +02:00
Aevann1 e8057ca010 gfd 2022-02-15 01:14:59 +02:00
Aevann1 bfaeff72b4 sdf 2022-02-14 23:00:59 +02:00
Aevann1 8d77d0e982 gdf 2022-02-11 20:44:12 +02:00
Aevann1 3bc88b8c06 gf 2022-02-11 17:02:27 +02:00
Aevann1 bcb66c6f72 vb 2022-02-07 17:07:46 +02:00
Aevann1 022e300d2f SDF 2022-02-06 12:54:05 +02:00
Aevann1 5ade054494 sd 2022-02-04 10:59:12 +02:00
Aevann1 27766290a9 vxc 2022-02-03 08:39:02 +02:00
Aevann1 50a7cfc0c1 xvc 2022-02-01 02:07:15 +02:00
Aevann1 59027a7276 fds 2022-02-01 02:03:39 +02:00
Aevann1 26bfdd4f33 sfd 2022-02-01 01:10:24 +02:00
Aevann1 52b7fe533e vcxcvx 2022-01-28 04:54:50 +02:00
Aevann1 f6a11422c8 cxcx 2022-01-28 03:49:32 +02:00
Aevann1 7ed6c6e470 dssd 2022-01-28 03:49:09 +02:00
Aevann1 eb5bfcddee cx 2022-01-25 01:40:34 +02:00
Aevann1 c26b0cc2d8 xc 2022-01-24 23:49:12 +02:00
Aevann1 0d5b819b33 cvcv 2022-01-24 23:41:13 +02:00
Aevann1 1c85d271cb fd 2022-01-24 23:04:35 +02:00
Aevann1 eb90985c48 xc 2022-01-24 23:04:16 +02:00
Aevann1 e493592a23 vc 2022-01-24 22:26:15 +02:00
Aevann1 15cc5c612e vc 2022-01-24 21:40:58 +02:00
Aevann1 d808a5c0a5 xvc 2022-01-24 21:06:41 +02:00
Aevann1 091b6fad7d vc 2022-01-24 18:21:54 +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 527c9da071 fdssfd 2022-01-23 17:29:13 +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 06afa3021e vxcxvc 2022-01-22 17:21:54 +02:00
Aevann1 5602905f7a cvxvxc 2022-01-22 16:32:02 +02:00
Aevann1 a58c48342b vxcxvc 2022-01-22 16:18:11 +02:00
Aevann1 5cc18bef1e chaos unfolds 2022-01-22 16:08:14 +02:00
Aevann1 247caf8683 marsey marsey marsey 2022-01-22 13:54:48 +02:00
Aevann1 3e4e93d522 vcxxcv 2022-01-22 12:43:06 +02:00
Aevann1 508a8f2e85 devrama 2022-01-22 12:41:37 +02:00
Aevann1 ebc416b39d dffssd 2022-01-22 01:37:56 +02:00
Aevann1 4106c26f06 retarded lives matter 2022-01-21 21:55:42 +02:00
Aevann1 4b6176989e cxvxvc 2022-01-21 16:22:44 +02:00
Aevann1 18a9903086 vxc 2022-01-21 13:55:53 +02:00
Aevann1 1e22d766f9 testing 2022-01-21 13:14:24 +02:00
Aevann1 81078c5877 fds 2022-01-19 11:07:16 +02:00
Aevann1 2b6418a132 testing 2022-01-15 08:31:17 +02:00
Aevann1 c9098526ed b 2022-01-14 14:04:34 +02:00
Aevann1 e472af987b freedom 2022-01-14 13:57:01 +02:00
Aevann1 92a24b5b2f bbb 2022-01-14 08:40:30 +02:00
Aevann1 7aede92a46 bbb 2022-01-14 06:15:41 +02:00
Aevann1 66372d8a95 bb 2022-01-14 02:14:55 +02:00
Aevann1 6ecf15476a g 2022-01-14 01:29:15 +02:00
Aevann1 b6163c58a1 vvv 2022-01-12 06:22:00 +02:00
Aevann1 4a4efee50d bv 2022-01-12 05:16:49 +02:00
Aevann1 6cd3b6d0bf ff 2022-01-12 04:42:26 +02:00
Aevann1 e34bb3027d bb 2022-01-12 04:21:04 +02:00
Aevann1 af32c302ed bbbb 2022-01-12 04:20:43 +02:00
Aevann1 2cbee62e13 bb 2022-01-12 04:07:11 +02:00
Aevann1 1ed3410bee bb 2022-01-12 03:46:16 +02:00
Aevann1 b5762b2e86 fv 2022-01-12 03:19:13 +02:00
Aevann1 543198a1ca bb 2022-01-12 01:00:10 +02:00
Aevann1 5255ead466 closing2 2022-01-11 23:54:41 +02:00
Aevann1 24f71966be closing 2022-01-11 23:53:49 +02:00
Aevann1 b69199054c under attack 2022-01-09 17:15:02 +02:00
Aevann1 94232d5d90 bvcbc 2022-01-08 08:41:40 +02:00
Aevann1 d0f3ae65e5 sfd 2022-01-07 23:03:14 +02:00
Aevann1 8a0d51c4e0 cvxx 2022-01-07 21:13:01 +02:00
Aevann1 00bdd2d1c2 fds 2022-01-07 20:20:51 +02:00
Aevann1 2c0b81297d sfd 2022-01-06 23:38:54 +02:00
Aevann1 b5ada859ff fsd 2022-01-03 13:26:30 +02:00
Aevann1 c7d26608c4 vxc 2022-01-03 13:05:25 +02:00