Commit Graph

104 Commits (909e3f5f29f842cfda92b5cd4af88db247c3179f)

Author SHA1 Message Date
Snakes 6ad935e12a Permission flags UI visibility; start PERMS dict.
Original work started for WPD and LGB, who wish to restrict flags
visibility in the UI based on admin_level. To support this change and
upcoming changes, `const.PERMS: string -> int` was created.
Potentially targetting a future design where Permissions is a proper
business object integrated with the User model; however, for now just
looking toward getting admin_level magic numbers centralized.

This commit applies PERMS to: create_hole, flags visibility in UI,
flag removal in UI & backend. Flag visibility in Comment & Submission
json_raw methods is unaffected to avoid needing a user object to
build the JSON.
2022-07-06 23:45:33 -04:00
Aevann1 ed02d7572a rename "frontpage" to "main feed" in move_hole mod action 2022-07-04 04:54:03 +02:00
Aevann1 35e2e12e24 OPs can now rehole their posts 2022-07-04 04:19:43 +02:00
Aevann1 cff34fb3a4 reducing query volume, #2 2022-06-26 03:11:02 +02:00
Snakes 36d24cf213 Refactor hole follow notifs to encapsulate.
Fixes bug where admins moving a post into a hole doesn't notify
followers of the destination hole.

Also, we now have a route endpoint for reholing that is potentially
usable for e.g. an actual post_actions button to rehole, rather than
the report command UI at present.
2022-06-22 17:21:12 -04:00
Snakes b94e71450f Add un-holing to hole report command. 2022-06-09 02:42:52 -04:00
Aevann1 1bce1c273f no more 500 error 2022-06-07 12:32:48 +02:00
Aevann1 f7dea74b37 fds 2022-05-26 21:19:33 +02:00
Aevann1 bfc50ee469 sf 2022-05-09 17:29:44 +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 d026174472 fds 2022-04-23 00:48:01 +02:00
Aevann1 f3743d717d fds 2022-04-18 23:11:30 +02:00
Aevann1 99cb01d9fc fdsfds 2022-04-15 18:28:08 +02:00
Aevann1 4c2f7d5667 fsd 2022-04-04 23:15:25 +02:00
Aevann1 0293f60453 fart 2022-03-19 21:15:13 +02:00
Aevann1 e8044f48e3 bcv 2022-02-18 14:01:24 +02:00
Aevann1 2ac0ae76a5 vbn 2022-02-18 11:39:12 +02:00
Aevann1 729e4a4c62 g 2022-02-16 03:16:01 +02:00
Aevann1 e3fcfbf690 gdf 2022-02-04 15:11:14 +02:00
Aevann1 70af0a7e60 sfd 2022-02-04 15:11:11 +02:00
Aevann1 2b6418a132 testing 2022-01-15 08:31:17 +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 00e5e1c048 fsd 2022-01-02 02:06:46 +02:00
Aevann1 edca73723a sfdsfd 2021-12-09 23:21:52 +02:00
Aevann1 3634fed841 fsfs 2021-12-08 01:18:06 +02:00
Aevann1 6bdbd8117e fdsdsf 2021-12-05 22:22:57 +02:00
Aevann1 76ead80d6d fsdfsd 2021-12-05 21:45:08 +02:00
Aevann1 5f6eb77768 fdsfddfs 2021-11-22 16:16:58 +02:00
Aevann1 b139ed44df dfsfds 2021-11-16 17:24:20 +02:00
Aevann1 9e449dd8b0 redundant 2021-11-06 17:52:48 +02:00
Aevann1 0ed1212131 dfsf 2021-11-06 02:33:32 +02:00
Aevann1 83dcd2b198 fds 2021-11-02 13:33:36 -07:00
Aevann1 9c7878d7c9 fds 2021-10-20 01:43:11 +02:00
Aevann1 efa408ab2c fd 2021-10-15 16:08:27 +02:00
Aevann1 28c5502d94 fdsfds 2021-10-08 03:41:25 +02:00
Aevann1 82ff6c45a9 dfsfds 2021-10-08 03:40:47 +02:00
Aevann1 fd2d6def63 fdsfsd 2021-10-08 03:40:09 +02:00
Aevann1 3233424c83 dsffds 2021-10-08 03:38:32 +02:00
Aevann1 f09d25fd04 fdsfsd 2021-10-07 08:04:29 +02:00
Aevann1 a5ce637b50 fgg 2021-10-05 21:15:48 +02:00
Aevann1 a728578adc sdfdfs 2021-10-01 22:06:56 +02:00
Aevann1 1e5a59c4be dsf 2021-09-29 17:42:28 +02:00
Aevann1 dcaefaa2c9 emoji update 2021-09-29 17:38:19 +02:00
Aevann1 adcac95850 gf 2021-09-26 11:04:49 +02:00
Aevann1 5e716cac7c fsfs 2021-09-19 20:38:24 +02:00
Aevann1 731351e5a2 fsddsf 2021-09-19 15:11:34 +02:00
atrc445 67d8bd4324 fix emoji tags 2021-09-19 13:07:13 +02:00
Aevann1 1aa81273d5 sfd 2021-09-17 10:29:05 +02:00
Aevann1 9fe06dc7fc fd 2021-09-16 19:15:07 +02:00
Aevann1 88ca2d6206 fd 2021-09-16 19:02:58 +02:00
Aevann1 4e18f2ead3 re 2021-09-13 17:58:52 +02:00
Aevann1 aa917df15b fd 2021-09-12 08:41:19 +02:00