Commit Graph

89 Commits (8ee8a44256df2cd173c9afc6015138a8a6a100f1)

Author SHA1 Message Date
Aevann1 8ee8a44256 add approved image hosts to /formatting 2022-08-26 17:20:20 +02:00
Aevann1 734844291c fix bug I introduced 2022-08-20 14:38:46 +02:00
Aevann1 6b72433ed2 change patron terminology for not rdrama-sites 2022-08-14 14:59:56 +02:00
Aevann1 9557553508 add chat users-online counter to chat icon on desktop header 2022-08-13 09:42:06 +02:00
Snakes 4fddb88c1a Hide Android app menu on sites without app. 2022-08-07 02:57:30 -04:00
Snakes 8f7d05d62d
Refactor feature flags to dict.
In anticipation of adding about a dozen more features flags to support
work for LGB, PIN_ENABLED and PROCOINS_ENABLED have been moved to the
FEATURES dict in const.py. More generally looking to create a unified
interface for logically-related constants, perhaps to support e.g.
later moving these settings from hardcoded constants to data.
2022-07-18 01:10:01 -04:00
Aevann1 f7c2befeed allow deux jannies to add badges 2022-07-13 14:56:30 +02:00
Aevann1 382df30e1f show ALL timestamps in user's timezone + move scripts to the bottom of HTML templates to mimic rocketloader's behavior on localhost (for testing) 2022-07-09 10:35:47 +02:00
Aevann1 a8fe49f232 kitchen sink commit, all over the place 2022-07-08 21:03:04 +02:00
Aevann1 c380848d47 remove leftover code from ill-fated joinedload attempt 2022-07-08 20:28:56 +02:00
Aevann1 ad1273995d notifications rework 2022-07-08 20:06:54 +02:00
Aevann1 b617321529 move all env-getting to .const 2022-07-08 18:21:13 +02:00
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