Commit Graph

77 Commits (6ad935e12a6a2d0dcf1a19dc35183b4e239ee3b1)

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 e8f5827c5e more testing 2022-07-01 15:34:11 +02:00
Snakes 1b9237ceaf Add assetcache.asset_siteimg, has_logo.
Commit began by changing the duplicated SITE_NAME conditional in the
header to use a `has_logo` param, much like the recent `has_sidebar`.
From there, a need to include site-specific assets in assetcache was
revealed, adding the `asset_siteimg(...)` macro. This was applied
quite broadly, though not comprehensively.
2022-07-01 01:55:53 -04:00
Aevann1 42a6b5731a sneed 2022-06-28 08:17:21 +02:00
Snakes 1d500917ad Improve header currency display style. 2022-06-27 00:09:32 -04:00
Snakes e0c3c79902 WPD: Require flairs on all posts. 2022-06-26 03:42:56 -04:00
Snakes 268c23e2f8 WPD: make holes more flair-like in UI. 2022-06-26 03:42:15 -04:00
Snakes cd556b6d8e Refactor UI name of hole/sub to constant. 2022-06-26 03:41:28 -04:00
Aevann1 f34c4e1196 stop using app.config for our own stuff 2022-06-24 17:08:57 +02:00
Aevann1 f4aa70cc74 Revert "Add user title coin cost parameter."
This reverts commit dece3fd460.
2022-06-13 20:10:53 +02:00
Snakes dece3fd460 Add user title coin cost parameter. 2022-06-06 19:02:23 -04:00
Outrun Colors, LLC b9dc28e6d1 Don't show lotteries on the sister sites 2022-05-29 20:43:16 -05:00
Aevann1 162bf9dad7 no more g.timestamp y'all couldn't behave 2022-05-25 17:42:04 +02:00
Aevann1 666870e0a3 fsd 2022-05-08 07:14:24 +02:00
Aevann1 858c53e8e4 fd 2022-04-07 00:54:09 +02:00
Aevann1 20c32d4ec6 gf 2022-03-19 13:52:31 +02:00
Aevann1 514d6ec126 right 2022-03-09 03:44:53 +02:00
Aevann1 e8044f48e3 bcv 2022-02-18 14:01:24 +02:00
Aevann1 55b056711a bcv 2022-02-10 23:45:45 +02:00
Aevann1 03f1a106b4 dude subdramas lmao 2022-02-10 22:35:16 +02:00
Aevann1 bcb66c6f72 vb 2022-02-07 17:07:46 +02:00
Aevann1 4c7f194067 fsd 2022-02-06 12:45:17 +02:00
Aevann1 1eeebf9400 crisis 2022-02-05 23:09:17 +02:00
Aevann1 c2748736fe fsd 2022-02-05 20:47:21 +02:00
Aevann1 dbdcb5d56b fds\ 2022-02-05 13:31:05 +02:00
Aevann1 202a8f80eb fds 2022-01-28 23:06:31 +02:00
Aevann1 0b3ddaf921 vcx 2022-01-28 22:55:59 +02:00
Aevann1 9bc39e74bc fds 2022-01-28 21:27:16 +02:00
Aevann1 763a0a1f99 vcx 2022-01-28 20:28:18 +02:00
Aevann1 4fcc5a8d7c cvxvxc 2022-01-21 22:32:23 +02:00
Aevann1 4106c26f06 retarded lives matter 2022-01-21 21:55:42 +02:00
Aevann1 81b4d603a5 fds 2022-01-19 12:07:11 +02:00
Aevann1 81078c5877 fds 2022-01-19 11:07:16 +02:00
Aevann1 9c7b981c2e big one 2022-01-18 13:19:32 +02:00
Aevann1 43e2aedbd2 bbbb 2022-01-15 08:01:39 +02:00
Aevann1 3ab53cad82 b 2022-01-14 14:04:35 +02:00
Aevann1 4a4efee50d bv 2022-01-12 05:16:49 +02:00
Aevann1 88f1b02ecf bbbb 2022-01-12 01:37:04 +02:00
Aevann1 482dbc40e6 bb 2022-01-12 00:22:27 +02:00
Aevann1 aa6985279f bb 2022-01-11 22:42:35 +02:00
Aevann1 efff0400ef fsfs 2021-12-20 02:27:25 +02:00
Aevann1 68bc992da1 sfdsdf 2021-12-19 15:01:28 +02:00
Aevann1 fe89c82198 sffsd 2021-12-17 05:25:05 +02:00
kek7198 f03291f6ab fix 2021-12-06 11:44:41 -06:00
kek7198 656fbf5759 fix 2021-12-06 11:43:13 -06:00
kek7198 b957befcdc fix 2021-12-06 11:35:50 -06:00
Aevann1 d9d17411b7 fdfsd 2021-11-30 13:02:17 +02:00
Aevann1 83dcd2b198 fds 2021-11-02 13:33:36 -07:00
Aevann1 70c76a8cea 2nd 2021-10-26 23:11:14 +02:00
Aevann1 efa408ab2c fd 2021-10-15 16:08:27 +02:00