Commit Graph

316 Commits (d83d47e280586ed3a8d49bc122ab009753895569)

Author SHA1 Message Date
Aevann1 d83d47e280 reduce query volume #1 2022-06-26 02:50:47 +02:00
Aevann1 bc7185b5af order awards by the time they were awarded 2022-06-25 22:33:51 +02:00
Aevann1 ffd0d9ed31 show duration on ban icon tooltip 2022-06-25 02:11:00 +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 de8981b5e5 fixing 500 errors 2022-06-24 17:35:55 +02:00
Aevann1 9593dc58dd move regex from helpers.const into its own helper file 2022-06-24 16:30:59 +02:00
Aevann1 4723640b89 fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2175391?context=8#context 2022-06-23 22:02:40 +02:00
Aevann1 ceb72a470c add more @lazy to functions 2022-06-23 18:36:39 +02:00
Aevann1 39cf7fc48b refactor normalizing urls at runtime (I put the function in comment.py cuz there were weird import errors that i didnt wanna fix) 2022-06-23 17:47:57 +02:00
Aevann1 a50544d86a fixing "more comments" button appearing when there's no more comments 2022-06-23 00:25:10 +02:00
Aevann1 0f0a07204c fix 500 errors 2022-06-22 22:42:19 +02:00
Aevann1 152d39ce6c fix controversial sorting, give priority to new posts 2022-06-22 22:30:45 +02:00
Aevann1 f149198c9f fix comments refactor 2022-06-22 22:06:25 +02:00
Aevann1 8ecb4582d0 refactor sorting comments 2022-06-22 21:50:20 +02:00
Aevann1 9ecca715fd don't collapse the comment the user is viewing 2022-06-22 18:25:11 +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
Snakes acde2c856b Enable JL2 viewing shadowbanned comments. 2022-06-12 05:48:27 -04:00
Aevann1 a082105ab8 remove weird trailing tabs 2022-06-11 11:56:16 +02:00
Aevann1 358ce08544 don't collapse gambling comments when viewing a comment 2022-06-11 11:30:46 +02:00
Aevann1 66b3efab36 award refactor 2022-05-27 01:08:23 +02:00
Aevann1 6febbc4858 scratch that 2022-05-25 19:09:26 +02:00
Aevann1 5b1477acfc certified good commit 2022-05-25 19:01:29 +02:00
Aevann1 649f8d5323 vdffsd 2022-05-23 00:45:04 +02:00
Aevann1 44cd7f4a92 fds 2022-05-19 09:49:15 +02:00
Aevann1 37bd922126 sfd 2022-05-04 05:33:00 +02:00
outruncolors 0ff7bdc28a Added doubledown and insurance functionality (#235)
* Added doubledown functionality

* Add insurance
2022-05-01 20:24:01 +02:00
Aevann1 6156c78df6 fds 2022-04-16 18:44:32 +02:00
Aevann1 3ff98226fa fds 2022-04-16 18:42:28 +02:00
Aevann1 a20aba178a fsd 2022-04-16 18:42:18 +02:00
Aevann1 690e1ba280 fds 2022-04-16 18:41:38 +02:00
Aevann1 99cb01d9fc fdsfds 2022-04-15 18:28:08 +02:00
Aevann1 51ebba5bca gf 2022-04-10 20:42:58 +02:00
Aevann1 bc092b8011 sfd 2022-04-10 18:43:39 +02:00
Aevann1 889a8948c4 fsd 2022-04-04 03:41:20 +02:00
Aevann1 f84eff3055 pain 2022-04-04 01:44:54 +02:00
Aevann1 375bf45909 fds 2022-03-29 20:23:40 +02:00
Aevann1 397dca9a83 publish fix 2022-03-18 21:05:54 +02:00
Aevann1 5af904d2a4 fds' 2022-03-17 21:15:45 +02:00
Aevann1 a404d4f53d fg 2022-03-06 20:15:13 +02:00
Aevann1 5404413a01 chri 2022-03-06 06:23:12 +02:00
Aevann1 193c2d3b11 wager 2022-03-06 05:55:02 +02:00
Aevann1 2e542c3fa6 dfs 2022-03-06 05:44:09 +02:00
Aevann1 ae55735919 fds 2022-03-06 05:40:23 +02:00
Aevann1 b70ea883e8 made wordle and blackjack ajax 2022-03-06 05:25:23 +02:00
Aevann1 8ffad628ae None 2022-03-05 01:49:38 +02:00
Aevann1 b4fb188a79 coned 2022-03-04 23:23:33 +02:00
Aevann1 407710f138 notif_utc 2022-03-04 19:33:58 +02:00
Aevann1 6d6b199a3b transfers fix 2022-03-04 18:53:28 +02:00
Aevann1 8065c7fd33 LumberFanatic I 2022-03-04 00:10:50 +02:00
Aevann1 39c10f0913 wtf 2022-03-03 23:01:37 +02:00