Commit Graph

15858 Commits (5b1e3b7afff2e4aee367cc98125effc936d1628e)

Author SHA1 Message Date
Aevann1 5b1e3b7aff Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-15 08:55:56 +02:00
Aevann1 b1efa072e6 rename /agendaposters to /chuds 2022-10-15 08:55:54 +02:00
Snakes 683d562058
Fix pruning of {SITE}_loggedin/out dicts.
For the past week, we noticed a gradual increase in CPU usage and
request times. Use of a sampling profiler revealed the time waas spent
in serializing/deserializing data stored in Redis. In particular, the
user counter dicts were filtered for calculation of the loggedin/out
counters, but the filtered versions were never stored.

To make concurrency safe, we still filter on every request, but at
least the resting data will eventually be appropriately filtered,
and this data is non-critical regardless.
2022-10-14 17:41:26 -04:00
Snakes b6703595da
Revert "make 819.webp the only sidebar image for a couple of days to hopefully piss off someone"
This reverts commit d244124d47.

It's been a few days, reverted upon Carp request.
2022-10-14 15:34:20 -04:00
justcool393 419ed61dd3 discord ids as constants 2022-10-14 11:46:39 -07:00
Aevann1 0753d73f32 fix wrong js func name 2022-10-14 20:43:01 +02:00
Aevann1 c49ae42205 fix for joan 2022-10-14 20:41:03 +02:00
Aevann1 f59263c42d Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-14 20:35:15 +02:00
Aevann1 afdec9a5a9 minor tweak to avoid double-notifying ppl 2022-10-14 20:35:13 +02:00
justcool393 85d2994cce pin_post -> pinPost 2022-10-14 11:34:31 -07:00
Aevann1 423ad25d2a fix typo 2022-10-14 20:28:46 +02:00
Aevann1 2411053d55 add tiered pins 2022-10-14 20:28:20 +02:00
justcool393 df1eedc8d9
button1 button2 2022-10-14 11:20:23 -07:00
justcool393 3b86227872 refactor asset submissions a bit 2022-10-14 11:03:47 -07:00
Aevann1 afd11e376f fix 500 error 2022-10-14 19:15:29 +02:00
Aevann1 f2a5c8f5d4 add whitelist of badge_granting on WPD, and disallow removing award badges 2022-10-14 19:11:39 +02:00
Aevann1 77312317f3 get rid of Boolean columns for permenant awards 2022-10-14 18:59:49 +02:00
Aevann1 f9840d5c71 sneed 2022-10-14 16:00:08 +00:00
justcool393 09027e51d7 reply to edit 2022-10-14 08:43:58 -07:00
Aevann1 661bf3af67 remove unnecessary margin in /transfers 2022-10-14 17:31:35 +02:00
Aevann1 4cbe5c41eb even higher margins 2022-10-14 17:31:02 +02:00
Aevann1 6a11de21e0 fix 500 error 2022-10-14 17:29:26 +02:00
Aevann1 efe0ff091a increase margins in log 2022-10-14 17:28:07 +02:00
justcool393 36b370dd14 use comment length for snappy, not post 2022-10-14 06:19:47 -07:00
justcool393 6efb9b41b4 use createXhrWithFormKey in the lottery 2022-10-14 06:07:47 -07:00
justcool393 bb9ab04a90 spaces -> tabs 2022-10-14 06:07:47 -07:00
justcool393 0eaed637be use createXhrWithFormKey in more places 2022-10-14 06:07:47 -07:00
justcool393 f22ef3a7e5 refactor post_toast_callback a bit and create createXhrWithFormKey function 2022-10-14 06:07:47 -07:00
justcool393 6884774906 showToast adjusments so we can use toast 2 and adjust them for ALMOST all of them 2022-10-14 06:07:47 -07:00
justcool393 c12f5ae43a use showToast in most places that we can 2022-10-14 06:07:47 -07:00
Aevann1 5e55ff7f90 make the modlog note for updating assets link to te updated asset 2022-10-14 14:38:06 +02:00
Aevann1 89a0ff4a4b remove username reservation system 2022-10-14 14:01:06 +02:00
Aevann1 6c2f2c5404 fix expanded images 2022-10-14 13:44:03 +02:00
justcool393 2dd74d3acd don't constantly check for reposts when it's obvious there can't be one
we currently spam the /is_repost api on every single character change in the URL box even though there is no way these URLs would ever be submitted to the site

introducing a frankly conservative limit to where we start actually pinging both the api and (on the backend) the database for reposts may help in some cases

the current constant was chosen by taking the length of "http://" and adding 2 to it
2022-10-14 03:27:45 -07:00
justcool393 e4cbe4178a tabify 2022-10-14 02:50:39 -07:00
justcool393 29af9dbbf4 move fn 2022-10-14 02:50:39 -07:00
justcool393 7620d8d8cd show the error toast on errors, not the success toast 2022-10-14 02:50:39 -07:00
justcool393 3a11cfd603 rename classname to className 2022-10-14 02:50:39 -07:00
justcool393 b06ee9ac9b refactor of post_toast 2022-10-14 02:50:39 -07:00
justcool393 2559794135 Move stuff we put in bootstrap.js to a new core.js file 2022-10-14 02:50:39 -07:00
Aevann1 caf5034608 same last commit 2022-10-13 21:43:48 +02:00
Aevann1 de6de0acae fix security policy in chat.html 2022-10-13 20:42:46 +02:00
Aevann1 3888b29983 potential solution to the chat docker problem 2022-10-13 20:21:02 +02:00
Aevann1 e0559301d5 restore horizontal margin for expanded images 2022-10-13 19:34:31 +02:00
Aevann1 948bd21f9b Revert "minor change in sorting_and_time"
This reverts commit 3a3cb0da4d.
2022-10-13 18:21:26 +02:00
Aevann1 6cf3ac2cc5 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-13 18:21:02 +02:00
Aevann1 3a3cb0da4d minor change in sorting_and_time 2022-10-13 18:21:00 +02:00
justcool393 e511fec4aa i don't know why this committed 2022-10-13 08:15:33 -07:00
justcool393 f7ca9aa248 fix the weird text scrolling bug (hopefully)
* this seemed like an odd floating point bug with scrollTo(), maybe? i think this should fix it
2022-10-13 08:11:47 -07:00
Aevann1 73bd39835b fix cursor on comment and post scores 2022-10-13 16:44:05 +02:00