Commit Graph

264 Commits (0796a17422f9f1d890c2e34cfce8f3054be965fd)

Author SHA1 Message Date
Aevann1 3cd0878d0a fix redirect bug 2022-07-10 14:09:03 +02:00
Snakes fde2d5ca11 LGB: Use static default pfp. 2022-07-09 07:11:05 -04:00
Snakes 0fbb102929 Propagate shadows to new alts on signup. 2022-07-09 05:25:15 -04:00
Aevann1 a8fe49f232 kitchen sink commit, all over the place 2022-07-08 21:03:04 +02:00
Aevann1 b617321529 move all env-getting to .const 2022-07-08 18:21:13 +02:00
Aevann1 05b70969e5 trying to fix WPD's issue 2022-07-06 12:56:39 +02:00
Aevann1 bce4c13043 kitchen sink commit, all over the place 2022-07-02 12:44:05 +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 8ba9aab351 fix WPD's bug 2022-06-28 06:51:34 +02:00
Aevann1 785cea9c4c fix 500 eror on signup 2022-06-27 02:49:30 +02:00
Aevann1 49e39b94bc fix signups 2022-06-26 07:03:30 +02:00
Aevann1 cff34fb3a4 reducing query volume, #2 2022-06-26 03:11:02 +02:00
Aevann1 f34c4e1196 stop using app.config for our own stuff 2022-06-24 17:08:57 +02:00
Aevann1 9593dc58dd move regex from helpers.const into its own helper file 2022-06-24 16:30:59 +02:00
Aevann1 6f6d01c1c6 actually use the get functions 2022-06-24 15:19:53 +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 7e54f858d3 Amend f8ae2a3d17c6: revert >= logic, fail loudly.
First, the apparent errors with >= 9 and 99 in the Marseys and
referrals code after the refactor are not actually bugs: they were
bug fixes mixed in with the refactor to fix an off-by-one.

Next, instead of failing silently on the `not user` branch in
badge_grant, we throw a ValueError. This retains the current
behavior where users get 500s to report while also enforcing the
assertion near the edge of the function.
2022-06-15 16:32:25 -04:00
Snakes f8ae2a3d17 Amend 3bc98f0a6b84: minor logic, style. 2022-06-15 16:08:26 -04:00
Aevann1 3bc98f0a6b extend TLSM's badge_grant() to almost all instanes where badges are granted 2022-06-15 21:33:21 +02:00
Aevann1 c8e0d8b1c3 catch email exception 2022-06-13 18:28:37 +02:00
Aevann1 758a30e166 fsd 2022-05-26 22:53:24 +02:00
Aevann1 d4f7f5497b fds 2022-05-26 22:49:36 +02:00
Aevann1 1e8c00f6fe fsd 2022-05-26 21:15:24 +02:00
Aevann1 32bc1b3c2a afsfds 2022-05-26 01:46:38 +02:00
Aevann1 b254fd77cb fsd 2022-05-26 01:25:51 +02:00
Aevann1 1c6ca7c9e0 fds 2022-05-26 00:02:54 +02:00
Aevann1 60058c5130 fsd 2022-05-26 00:02:18 +02:00
Aevann1 50b995d3a0 fds 2022-05-25 22:16:26 +02:00
Aevann1 386db76c10 crgd is a king 2022-05-25 20:29:22 +02:00
Aevann1 162bf9dad7 no more g.timestamp y'all couldn't behave 2022-05-25 17:42:04 +02:00
Aevann1 2cfd7c74a0 fds 2022-05-20 21:00:13 +02:00
Aevann1 ed0d225554 sfd 2022-05-14 15:11:11 +02:00
Aevann1 b71ae6cc74 sf 2022-05-09 13:21:49 +02:00
Aevann1 6b10d097a2 mn 2022-05-05 01:09:46 +02:00
Aevann1 47d01ed00b vb 2022-05-03 04:15:35 +02:00
Aevann1 cb847ecd4f hg 2022-04-20 19:13:27 +02:00
Aevann1 9c0441aef9 fsd 2022-04-17 23:46:29 +02:00
Aevann1 348d698239 fds 2022-04-14 18:26:41 +02:00
Aevann1 579e81de2a site settings 2022-04-12 21:05:50 +02:00
Aevann1 15a02cf3cd fds 2022-04-10 01:07:03 +02:00
Aevann1 b5fbc876a5 gfd 2022-04-02 20:35:16 +02:00
Aevann1 7713fd891d fsd 2022-04-02 19:11:35 +02:00
Aevann1 56f5d44c90 vxc 2022-04-02 18:47:11 +02:00
Aevann1 b1341f9e47 sfd 2022-03-27 15:41:19 +02:00
Aevann1 5327fe5992 fd 2022-03-26 00:38:05 +02:00
Aevann1 0c5435e04f sfd 2022-03-18 20:31:24 +02:00
Aevann1 514d6ec126 right 2022-03-09 03:44:53 +02:00
Aevann1 8ffad628ae None 2022-03-05 01:49:38 +02:00
Aevann1 11cb694b7e fds 2022-03-05 01:12:33 +02:00
Aevann1 35ec2a7712 fart 2022-03-05 00:46:20 +02:00
Aevann1 e62523c2d6 fish 2022-03-02 06:24:36 +02:00
Aevann1 0995f70eb3 fd 2022-02-28 02:13:07 +02:00
Aevann1 b6c341eba6 h 2022-02-28 01:58:46 +02:00
Aevann1 eb72792b44 flags 2022-02-26 22:13:34 +02:00
Aevann1 4b9f3992f6 farting 2022-02-26 21:56:58 +02:00
Aevann1 e0dfe332c2 cope 2022-02-26 20:53:17 +02:00
Aevann1 b1feaf9c30 verif 2022-02-26 20:30:11 +02:00
Aevann1 f051ef00ee verified 2022-02-26 20:29:00 +02:00
Aevann1 bde9531ff3 cyrillic 2022-02-26 17:22:18 +02:00
Aevann1 ca6eb51e6e mention 2022-02-26 11:23:53 +02:00
Aevann1 14c7148eed fd 2022-02-24 10:28:13 +02:00
Aevann1 833009bd14 gdf 2022-02-21 03:58:12 +02:00
Aevann1 0dcd415c31 xvc 2022-02-21 03:44:37 +02:00
Aevann1 969b58cf42 xcv 2022-02-18 11:05:00 +02:00
Aevann1 9f446a2163 dfg 2022-02-15 22:22:48 +02:00
Aevann1 6e7bcb5694 gfd 2022-02-14 23:07:31 +02:00
Aevann1 9a887863bd fg 2022-02-14 04:33:27 +02:00
Aevann1 02911c5d8d vc 2022-02-14 01:52:44 +02:00
Aevann1 b0d6490d1f vc 2022-02-14 01:07:13 +02:00
Aevann1 de4e019abc sfd 2022-02-13 23:25:09 +02:00
Aevann1 3832aa33e2 fds 2022-02-13 04:20:04 +02:00
Aevann1 1c32789139 cbv 2022-02-12 21:42:15 +02:00
Aevann1 b7fd1db1f7 bv 2022-02-08 16:49:49 +02:00
Aevann1 820d8387f9 xv 2022-02-07 13:39:26 +02:00
Aevann1 9a35c55dcd sdf 2022-02-06 15:07:35 +02:00
Aevann1 27766290a9 vxc 2022-02-03 08:39:02 +02:00
Aevann1 267227831e vxc 2022-01-31 23:49:05 +02:00
Aevann1 38e853250e fsd 2022-01-29 04:01:16 +02:00
Aevann1 ecc7f1e622 sfd 2022-01-28 22:02:21 +02:00
Aevann1 cb5c37cc77 vcxvcx 2022-01-28 05:22:31 +02:00
Aevann1 e493592a23 vc 2022-01-24 22:26:15 +02:00
Aevann1 25d9419388 vcvc 2022-01-24 19:37:37 +02:00
Aevann1 a822aa69d9 fds 2022-01-22 11:58:22 +02:00
Aevann1 7275a0b8c4 fds 2022-01-21 12:44:12 +02:00
Aevann1 c1ab1964e9 1 2022-01-19 10:42:38 +02:00
Aevann1 0f58d70cce 100000000k 2022-01-19 08:20:05 +02:00
Aevann1 f20c8ae2a4 bbb 2022-01-17 13:50:03 +02:00
Aevann1 b617163a1c vvv 2022-01-17 13:06:12 +02:00
Aevann1 2b6418a132 testing 2022-01-15 08:31:17 +02:00
Aevann1 3ab53cad82 b 2022-01-14 14:04:35 +02:00
Aevann1 b5762b2e86 fv 2022-01-12 03:19:13 +02:00
Aevann1 38d224e2a2 bb 2022-01-12 00:03:01 +02:00
Aevann1 5255ead466 closing2 2022-01-11 23:54:41 +02:00
Aevann1 b69199054c under attack 2022-01-09 17:15:02 +02:00
Aevann1 d0f3ae65e5 sfd 2022-01-07 23:03:14 +02:00
Aevann1 932a69c1c9 fds 2022-01-03 13:00:11 +02:00
Aevann1 889fe19b48 fds 2022-01-03 12:57:43 +02:00
Aevann1 dbfc25b5f7 fsdfs 2022-01-03 12:39:41 +02:00
Aevann1 1c8f30ec1e fds 2022-01-03 12:32:31 +02:00
Aevann1 00e5e1c048 fsd 2022-01-02 02:06:46 +02:00