Commit Graph

12946 Commits (294fddcba34220f400f5d86cb56b58d546265a77)

Author SHA1 Message Date
Aevann1 5ce276854d remove the 1wk edit limit for posts, but keep it for comments 2022-06-25 00:21:37 +02:00
Aevann1 ab1f6fac65 fix 500 error 2022-06-24 22:54:45 +02:00
Aevann1 25a95dfb3e Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-06-24 22:52:43 +02:00
Aevann1 cbdf3f0a18 fix snappy 2022-06-24 22:52:38 +02:00
Snakes 47159f338d Fix exception when serializing comments JSON.
The JSON API endpoints that return comments, most notably `/comments`
returned 500s and created a stack trace with:

  TypeError: Object of type method is not JSON serializable

Further debugging revealed this was because json.encoder was being
given a <bound method lazy.<locals>.wrapper of <Comment(id=123)>> to
serialize.

The introduction of the bug was traced to 8ecb4582d0 where it was
discovered that the (seemingly inadvertent) removal of the @property
decorator on classes/comment.py:parent_fullname was the root cause.

In light of the fact that parent_fullname was unrelated to the changes
intended in 8ecb4582d0 and that no other refactoring around
parent_fullname was done, it was restored to being a @property rather
than its callers modified to invoke it as a method.
2022-06-24 15:26:18 -04:00
Aevann1 a2a9c2666d make sure snappy's comment body doesnt get above 10k characters 2022-06-24 20:10:28 +02:00
Aevann1 6b1560a9d2 add hunter biden's fart 2022-06-24 19:56:28 +02:00
Aevann1 43751dc4ec Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-06-24 19:32:34 +02:00
Aevann1 c5c21da76f validate colors 2022-06-24 19:32:31 +02:00
Snakes e896a965ad Fix crab award media path. 2022-06-24 13:22:23 -04:00
Aevann1 a64dd729e8 escape asterick when quoting 2022-06-24 18:25:21 +02:00
Aevann1 743ac90f08 fix 500 error 2022-06-24 18:15:37 +02:00
Aevann1 13143a72ab disable animations for ppl with lower than 3GB RAM 2022-06-24 18:12:58 +02:00
Aevann1 17c81ea9ef reduce margin above "toggle preview" 2022-06-24 17:40:05 +02:00
Aevann1 41cebb7f80 fix accidential greentext in chat 2022-06-24 17:37:31 +02:00
Aevann1 de8981b5e5 fixing 500 errors 2022-06-24 17:35:55 +02:00
Aevann1 f34c4e1196 stop using app.config for our own stuff 2022-06-24 17:08:57 +02:00
Aevann1 fcf600cb35 fix this https://chapotraphouse.club/post/79771/workaholics-are-worse-for-society-than/2183396?context=8#context 2022-06-24 16:45:19 +02:00
Aevann1 9593dc58dd move regex from helpers.const into its own helper file 2022-06-24 16:30:59 +02:00
Aevann1 68dc17ca4e fix ea37966aff 2022-06-24 16:18:48 +02:00
Aevann1 ea37966aff disable all cosmetic awards on devices with less than 3GB ram 2022-06-24 16:17:45 +02:00
Aevann1 1d29aaa00f make the disable function do 2 seconds instead of 1 second 2022-06-24 16:12:04 +02:00
Aevann1 6a6f52f4ee increase "view more" threshold 2022-06-24 16:11:00 +02:00
Aevann1 f7c3cfbf5b fix 66eb63dcee 2022-06-24 16:10:05 +02:00
Aevann1 5d98f1095d actually use the get functions, v2 2022-06-24 15:21:05 +02:00
Aevann1 6f6d01c1c6 actually use the get functions 2022-06-24 15:19:53 +02:00
Aevann1 66eb63dcee reload pages on back button for me 2022-06-24 15:07:12 +02:00
Aevann1 53fe1ffc60 fix modal behavior 2022-06-24 07:22:04 +02:00
Aevann1 69d247c433 revert autoupvoting posts 2022-06-24 07:12:17 +02:00
Aevann1 4e067579d5 fix disable() function not working 2022-06-24 05:00:35 +02:00
Aevann1 895f08e34e put disable() in a more general js file 2022-06-24 04:56:14 +02:00
Aevann1 ef3843f628 add timer to re-enable form buttons after 1 second 2022-06-24 04:53:31 +02:00
Aevann1 4d90b626d4 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-06-24 04:48:09 +02:00
Aevann1 ff49bf52ac better modal behavior 2022-06-24 04:48:07 +02:00
Snakes ce79b1d84b PCM: lottery duration back to 1wk. 2022-06-23 22:40:51 -04:00
Aevann1 222367cea8 fix 500 errors 2022-06-24 03:28:34 +02:00
Aevann1 9dbe67bf90 respect user's chosen themecolor 2022-06-24 03:27:49 +02:00
Aevann1 96e14111e3 do this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2021584?context=8#context 2022-06-24 03:25:12 +02:00
Aevann1 a1a28a172d don't create a modal instance if one exists 2022-06-24 03:06:13 +02:00
Aevann1 6eabd99067 hide modals on back button (instead of going back 1 page) 2022-06-24 03:05:49 +02:00
Aevann1 b3980660c1 fix leaderboard bug for badges 2022-06-24 02:29:13 +02:00
Aevann1 4c6bc3cdfd make emoji_modal neater on mobile 2022-06-24 01:57:02 +02:00
Aevann1 e909f4e6fc forgot to cache-bust header.js 2022-06-24 01:11:00 +02:00
Aevann1 4fc8520e24 remove post_toast2() and post_toast3() and incorporate them into post_toast() 2022-06-24 01:07:47 +02:00
Aevann1 b17333b2a0 fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2046517?context=8#context 2022-06-24 00:46:07 +02:00
Aevann1 6463cbd1f4 "kike" slur filter modification 2022-06-24 00:33:39 +02:00
Aevann1 6803d83af4 fix wrong template being shown on error when changing colors 2022-06-24 00:22:41 +02:00
Aevann1 39a5971db7 add minlength to hexcodes in settings 2022-06-24 00:19:54 +02:00
Aevann1 b965666c2d fix catalog view not working while logged-out 2022-06-23 23:46:31 +02:00
Aevann1 80db653d3f fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2130416?context=8#context 2022-06-23 23:25:07 +02:00