Commit Graph

422 Commits (d4210c2710cb544fb3d15c0edc2c800d948ca1c1)

Author SHA1 Message Date
Aevann1 27b1ed83cc refactor json a little bit and fix https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2278188?context=8#context 2022-07-11 15:14:34 +02:00
Aevann1 4c2cb82f48 change deux' assets 2022-07-10 22:27:56 +02:00
Aevann1 ec3b4357cf refactor sorting and time filter 2022-07-09 12:32:49 +02:00
Aevann1 b617321529 move all env-getting to .const 2022-07-08 18:21:13 +02:00
Aevann1 3245656787 show timestamps in the user timezone 2022-07-03 09:41:25 +02:00
Aevann1 d0d15c319a Poll rework (#312)
* poll rework

* forgot to do joinedload on comments

* Fix logic errors with voting, SQL syntax.

Kitchen sink commit from review of poll-rework changes:
  1. Fix seed-db.sql syntax error.
  2. Fix SQL patch file duplication of *submissions* tables rather
     than one set of submissions and one for comments.
  3. Start makeshift SQL patch folder, since this is a large change
     that contributors may wish to apply to their local instances.
  4. Fix checkbox (non-`exclusive`) polls being unable to be
     unchecked. For consistency with `exclusive` polls, they should.
  5. Fix changing the option of an `exclusive` poll when both
     exclusive and non-exclusive options are present in one comment/
     post causing the non-exclusive options to become unchecked.
     (which, by my reading of SQLAlchemy `Query.one_or_none()`
     really could break quite badly in some cases).

* link relationships with their counterparts

* small modification to poll unchecking

Co-authored-by: TLSM <duolsm@outlook.com>
2022-07-02 08:48:04 +02:00
Aevann1 f56be06eb8 add hole pinning 2022-07-02 01:11:48 +02:00
Aevann1 070945d98a cut down on the number of queries 2022-06-29 09:22:18 +02:00
Aevann1 5661cdb271 Revert "try to cut down on number of db queries"
This reverts commit c674c6a056.
2022-06-29 08:43:20 +02:00
Aevann1 c674c6a056 try to cut down on number of db queries 2022-06-29 08:14:25 +02:00
Aevann1 4fae28a2a2 fix child comment highlighting 2022-06-28 02:41:25 +02:00
Aevann1 52a8a219ae make poorcel-mode device-specific 2022-06-27 05:46:32 +02:00
Aevann1 b1ef8e4c62 add poorcel mode 2022-06-27 04:14:53 +02:00
Aevann1 8b8f99695b make ppl with 200 coins able to bet 2022-06-26 23:40:02 +02:00
Aevann1 e7ce39bd80 fix poll-voting 2022-06-26 22:53:12 +02:00
Aevann1 81243b48dd fix sorting by top/bottom for posts 2022-06-26 08:15:06 +02:00
Aevann1 5aad7e09a6 dont query polls on frontpage 2022-06-26 08:10:02 +02:00
Aevann1 4d7e7b629b fix 0ef33b396a 2022-06-26 07:51:02 +02:00
Aevann1 0ef33b396a make checking if a post is subscribed to less retarded 2022-06-26 07:45:49 +02:00
Aevann1 ecc22cfc06 fix 2b1e7f6570 2022-06-26 06:57:31 +02:00
Aevann1 2b1e7f6570 make checking if a post/comment is saved less retarded 2022-06-26 06:54:41 +02:00
Aevann1 e34cbeca31 fix 3b8188fd67 2022-06-26 03:25:17 +02:00
Aevann1 3b8188fd67 fixed version of d83d47e280 2022-06-26 03:22:05 +02:00
Aevann1 a1b137447e Revert "reduce query volume #1"
This reverts commit d83d47e280.
2022-06-26 03:12:31 +02:00
Aevann1 cff34fb3a4 reducing query volume, #2 2022-06-26 03:11:02 +02:00
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
Aevann1 9593dc58dd move regex from helpers.const into its own helper file 2022-06-24 16:30:59 +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 152d39ce6c fix controversial sorting, give priority to new posts 2022-06-22 22:30:45 +02:00
Aevann1 062542c5af fix posts refactor (again 2022-06-22 22:03:57 +02:00
Aevann1 10a47ca837 refactor sorting posts 2022-06-22 21:57:57 +02:00
Snakes acde2c856b Enable JL2 viewing shadowbanned comments. 2022-06-12 05:48:27 -04:00
Aevann1 995e6e9edb add thumbnail for posts linking to same site 2022-06-10 21:21:25 +02:00
Snakes 04a878a8c4 Make betting polls respect can_gamble. 2022-05-30 08:13:11 -04:00
Aevann1 386db76c10 crgd is a king 2022-05-25 20:29:22 +02:00
Aevann1 061c4936ce fds 2022-05-25 04:58:26 +02:00
Aevann1 02e98b46b0 is_audio 2022-05-24 18:28:12 +02:00
Aevann1 649f8d5323 vdffsd 2022-05-23 00:45:04 +02:00
Aevann1 e0c1e6b4cd sfd 2022-05-16 22:57:47 +02:00
Aevann1 f2039d7713 sfd 2022-05-07 06:13:19 +02:00
Aevann1 43751ccde2 vdx 2022-04-26 16:18:57 +02:00
Aevann1 5afa0c0d2a fsd 2022-04-26 16:15:06 +02:00
Aevann1 f9ea51611f fds 2022-04-26 02:36:03 +02:00
Aevann1 43366f4a28 fds 2022-04-26 02:26:27 +02:00
Aevann1 ad47e9524a dfs 2022-04-25 21:52:30 +02:00
Aevann1 017dde4e51 fds 2022-04-20 21:39:56 +02:00
Aevann1 aa498d89c7 gfd 2022-04-19 21:13:36 +02:00
Aevann1 e49889e944 fds 2022-04-19 19:46:51 +02:00
Aevann1 d7fa942d85 fds 2022-04-18 18:01:03 +02:00
Aevann1 69d285b0f3 fds 2022-04-18 01:00:17 +02:00
Aevann1 8214e2c6f9 fds 2022-04-18 00:13:37 +02:00
Aevann1 9c0441aef9 fsd 2022-04-17 23:46:29 +02:00
Aevann1 78ea56837f fds 2022-04-17 22:20:40 +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 d495b961d8 fg 2022-04-06 23:01:32 +02:00
Aevann1 7713fd891d fsd 2022-04-02 19:11:35 +02:00
Aevann1 b538d2a24c gdfg 2022-03-31 18:28:53 +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 b35bab0672 hole 2022-03-09 04:04:37 +02:00
Aevann1 39254f19eb sounding 2022-03-06 03:18:10 +02:00
Aevann1 1425aa0db6 bump sortign 2022-03-06 00:46:56 +02:00
Aevann1 e0d602bd1b deviants 2022-03-04 23:26:35 +02:00
Aevann1 b4fb188a79 coned 2022-03-04 23:23:33 +02:00
Aevann1 1576fcd57d farts on u 2022-02-28 04:06:15 +02:00
Aevann1 2f35bce111 new 2022-02-28 00:49:34 +02:00
Aevann1 ddbb610142 regex 2022-02-27 23:57:44 +02:00
Aevann1 2af4351cfd rand 2022-02-27 00:44:42 +02:00
Aevann1 555a410b6a fd 2022-02-27 00:13:02 +02:00
Aevann1 fd8a331922 klen 2022-02-25 20:19:45 +02:00
Aevann1 5e1f59f654 g.v. 2022-02-25 20:16:11 +02:00
Aevann1 4b2dc9f337 fds 2022-02-25 20:12:04 +02:00
Aevann1 9b109251dc domain 2022-02-25 20:11:06 +02:00
Aevann1 76b4863433 kos 2022-02-25 20:09:53 +02:00
Aevann1 5aa2c0e8c0 grate 2022-02-25 20:08:58 +02:00
Aevann1 4f7d207260 fds 2022-02-24 15:20:48 +02:00
Aevann1 14c7148eed fd 2022-02-24 10:28:13 +02:00
Aevann1 34e29a6ab3 gf 2022-02-21 08:13:05 +02:00
Aevann1 fb8ec7a343 fg 2022-02-21 07:55:37 +02:00
Aevann1 ed907f87dc mn 2022-02-17 09:12:38 +02:00
Aevann1 fb9c0a23dc exiles 2022-02-16 06:33:13 +02:00
Aevann1 729e4a4c62 g 2022-02-16 03:16:01 +02:00
Aevann1 ec9797ff18 f 2022-02-16 00:54:17 +02:00
Aevann1 6e7bcb5694 gfd 2022-02-14 23:07:31 +02:00
Aevann1 315dcef46a hfg 2022-02-14 21:02:05 +02:00
Aevann1 83552eb1db df 2022-02-14 04:47:28 +02:00
Aevann1 8db4b363f8 nb 2022-02-14 00:35:55 +02:00
Aevann1 0e9a765358 dfg 2022-02-13 04:45:09 +02:00
Aevann1 bf3e14bba3 big big chungus big chungus big chungus 2022-02-13 03:08:12 +02:00
Aevann1 ac2e06b10f fgd 2022-02-13 00:23:41 +02:00
Aevann1 dec1f0d8ab fgd 2022-02-12 23:02:34 +02:00
Aevann1 03f1a106b4 dude subdramas lmao 2022-02-10 22:35:16 +02:00
Aevann1 c8893fc27b xcv 2022-02-10 18:11:14 +02:00
Aevann1 3b51b37535 vxc 2022-02-07 17:24:37 +02:00
Aevann1 0491bd3c5d dfs 2022-02-07 14:55:37 +02:00
Aevann1 486023e7cb cxv 2022-02-07 14:38:45 +02:00
Aevann1 be13ba1810 cvx 2022-02-07 14:26:11 +02:00
Aevann1 820d8387f9 xv 2022-02-07 13:39:26 +02:00
Aevann1 1eeebf9400 crisis 2022-02-05 23:09:17 +02:00
Aevann1 6101e01688 fd 2022-02-05 19:51:42 +02:00
Aevann1 50e9e3061a dfs 2022-02-05 16:36:10 +02:00
Aevann1 a666a2d12a fds 2022-02-05 13:10:16 +02:00
Aevann1 d301d733c5 fsd 2022-02-04 20:35:39 +02:00
Aevann1 7fadf2d7ba xvc 2022-02-04 16:49:27 +02:00
Aevann1 04a1b875ef sfd 2022-02-04 11:15:59 +02:00
Aevann1 35f7813d3d dfs 2022-02-04 06:24:12 +02:00
Aevann1 7379d777e6 dgf 2022-02-04 05:06:49 +02:00
Aevann1 7d5fc1b090 sdf 2022-01-30 15:40:11 +02:00
Aevann1 e79fb81819 gdfdfg 2022-01-29 15:43:29 +02:00
Aevann1 c7bab4ec6c fsd 2022-01-28 23:42:09 +02:00
Aevann1 716b4ee2ea czx 2022-01-28 22:02:35 +02:00
Aevann1 cfb33e90d8 vvvvvvvvvvvvvvv 2022-01-27 19:04:02 +02:00
Aevann1 8b381284c6 yolo 2022-01-24 01:06:34 +02:00
Aevann1 594fbfd41c vcxxcv 2022-01-23 18:54:57 +02:00
Aevann1 67f524ecaa dfsfs 2022-01-22 18:41:48 +02:00
Aevann1 71f3cf4a65 fdssfd 2022-01-22 18:22:31 +02:00
Aevann1 9c1c225ed9 cxzxzc 2022-01-22 12:14:15 +02:00
Aevann1 0233c58a2e cxvxcv 2022-01-21 22:56:56 +02:00
Aevann1 30bd0902fa czxczx 2022-01-21 16:40:01 +02:00
Aevann1 3afab45df5 fsd 2022-01-19 11:21:20 +02:00
Aevann1 81078c5877 fds 2022-01-19 11:07:16 +02:00
Aevann1 0f58d70cce 100000000k 2022-01-19 08:20:05 +02:00
Aevann1 7a9a78c027 bbb 2022-01-17 13:47:30 +02:00
Aevann1 e59bcfc467 bb 2022-01-14 06:38:27 +02:00
Aevann1 7aede92a46 bbb 2022-01-14 06:15:41 +02:00
Aevann1 9ae0a6ef24 bbb 2022-01-14 04:33:27 +02:00
Aevann1 6ecf15476a g 2022-01-14 01:29:15 +02:00
Aevann1 3e44777483 bfg 2022-01-12 05:41:23 +02:00
Aevann1 b5762b2e86 fv 2022-01-12 03:19:13 +02:00
Aevann1 84ad798f37 bb 2022-01-11 00:53:48 +02:00
Aevann1 101aa43006 fds 2022-01-06 22:30:08 +02:00
Aevann1 ea8ed285de fds 2022-01-06 21:09:37 +02:00
Aevann1 4f314382ac sfd 2022-01-06 21:05:13 +02:00
Aevann1 3533dbb17b fds 2022-01-06 03:25:04 +02:00
Aevann1 d2a6691c24 fd 2022-01-06 03:24:03 +02:00
Aevann1 89798803af dfs 2021-12-30 07:27:22 +02:00
Aevann1 89150935b6 fsd 2021-12-28 16:52:57 +02:00
Aevann1 dfb9aa2cfd fsd 2021-12-28 16:46:07 +02:00
Aevann1 bb182a0807 fds 2021-12-27 04:09:06 +02:00
Aevann1 19bacd8357 pins logic rework 2021-12-26 03:03:21 +02:00
Aevann1 39e0ad5cf9 sdf 2021-12-25 01:00:09 +02:00
Aevann1 177c280668 fsdfsd 2021-12-19 00:17:00 +02:00
Aevann1 6594777e0f fsdfsd 2021-12-18 05:13:46 +02:00
Aevann1 daf790e150 fsdsfd 2021-12-17 19:55:11 +02:00
Aevann1 fbbae48405 fsddfs 2021-12-17 08:20:22 +02:00
Aevann1 b3b193c45f fdsfds 2021-12-17 08:13:40 +02:00