Commit Graph

19879 Commits (7a6b4406ef017bcb447c70758c5ccd0e4c8f1552)

Author SHA1 Message Date
Aevann1 7a6b4406ef remove redundant shadoban filters 2022-10-13 12:47:55 +02:00
justcool393 fb150dab8e use constant instead of literal 5 2022-10-13 00:58:33 -07:00
justcool393 0f56b8de5e i need a d 🤭 2022-10-13 00:55:15 -07:00
justcool393 c56e45aa57 create cloudflare helper 2022-10-13 00:55:15 -07:00
Snakes e7da195645
Revert "Disable Cloudflare API call timing out admin_home."
This reverts commit ed27225d10.

The proximal cause of the request timeout issues was the /comments
performance issues, which seem to have been resolved by 2edeb4875.
Probably still need to refactor this, but for now it's likely fine.
2022-10-13 02:12:35 -04:00
Snakes 2edeb48751
Refactor /comments to use single query. 2022-10-13 01:52:54 -04:00
Snakes ed27225d10
Disable Cloudflare API call timing out admin_home. 2022-10-13 00:47:37 -04:00
Snakes e5af46c4ae
Fix shadow visibility logic. 2022-10-13 00:10:34 -04:00
Aevann1 106160aea6 sneed 2022-10-13 04:00:03 +00:00
Aevann1 fb1527f8c2 sneed 2022-10-13 03:48:39 +00:00
Aevann1 cdff11424f use charge_account everywhere 2022-10-12 18:33:00 +02:00
justcool393 d04c170466 partially revert this for main 2022-10-12 09:01:43 -07:00
justcool393 ee85b5577a use error handlers in cases where we can 2022-10-12 08:55:42 -07:00
justcool393 fe9064a9b7
update get.py redux 2022-10-12 08:40:43 -07:00
justcool393 5c03e5a7a4
Update get.py 2022-10-12 08:33:49 -07:00
Aevann1 7316d8e827 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-12 15:23:49 +00:00
Aevann1 f765ac650a Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-12 17:23:22 +02:00
Aevann1 31a3b987d6 fix 500 error 2022-10-12 17:23:15 +02:00
Aevann1 944eab9985 sneed 2022-10-12 12:00:04 +00:00
justcool393 c67406b84b use site specific patron name 2022-10-12 03:45:45 -07:00
justcool393 7b3361cfb7 temporary (maybe) sidebar and banner processing fn
* also make existing badge return 409 instead of 403
2022-10-12 03:04:34 -07:00
justcool393 b92535c286 pings bypass permission 2022-10-12 02:36:29 -07:00
justcool393 db9b37de40 type hints for get functions :) 2022-10-12 02:22:13 -07:00
Aevann1 32bede574b Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-12 11:04:35 +02:00
Aevann1 5849def6c1 dont show vote creation times if they're under 1599343262 2022-10-12 11:04:26 +02:00
justcool393 96879894af remove 417 (use 409) and reword 418 msg 2022-10-12 02:00:18 -07:00
justcool393 5377472146 show correct max video size 2022-10-12 01:53:23 -07:00
justcool393 ca7fa50419 remove 414 and change 413 msgs
* use 413 for videos and put explanatory text there
* add style text for 413 as well
2022-10-12 01:52:08 -07:00
Snakes 3482f97bfb
Remove accidentally sneeded debug code.
We were experiencing errors on prod where is_repost would not have
either g or g.db available on request teardown, which would eventually
culminate in errors.py:error_500. These haven't reoccurred for nearly
16hrs now, and the test code got caught in a 'sneed' commit. Best to
have it gone.
2022-10-12 04:32:18 -04:00
justcool393 ad52c49782 put details EVERYWHERE
why are there 25 of these...
2022-10-12 01:25:32 -07:00
justcool393 eaf361ad91 API: set the status code on errors 2022-10-12 01:17:48 -07:00
Aevann1 db0fd8a0e9 sneed 2022-10-12 08:09:03 +00:00
Snakes 166e33dc38
Clarify architecture of sort_objects. 2022-10-12 04:05:26 -04:00
Aevann1 d18e247513 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-12 09:03:30 +02:00
Aevann1 2aa281e8c8 refactor sorting again (untested) 2022-10-12 09:03:28 +02:00
justcool393 bb1658e0a0 WPD: remove vestigial social and music filer code 2022-10-12 00:03:08 -07:00
Aevann1 925ec12141 more shadowban refactor 2022-10-12 08:53:32 +02:00
justcool393 941b5fa82d vote realness is in user model 2022-10-11 23:47:47 -07:00
Aevann1 81b2e04ff7 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-12 08:40:04 +02:00
justcool393 dcd875c40c max image and video size are constants now
* the error pages still need to be fixed
2022-10-11 23:27:17 -07:00
Aevann1 e1ee9a69e4 refactor seeing shadowbanned shit (untested) 2022-10-12 08:24:30 +02:00
Aevann1 318a20250c Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-12 08:10:15 +02:00
Aevann1 b1abd33835 refactor sorting 2022-10-12 08:10:11 +02:00
Snakes baf0386d8c
PCM: re-enable gambling. 2022-10-12 02:08:20 -04:00
Aevann1 07043873b9 WPD: banner sneed. 2022-10-12 05:57:58 +00:00
justcool393 7ee3c78b2e ree 2022-10-11 22:51:04 -07:00
Aevann1 ab6aaf5787 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-12 07:41:02 +02:00
Aevann1 87578283d2 show the time a hole was created on 2022-10-12 07:40:59 +02:00
justcool393 501fbbf5d3 move antispam code to actions 2022-10-11 22:34:55 -07:00
justcool393 5591d7d574 fix real votes 2022-10-11 22:27:27 -07:00