Commit Graph

607 Commits (aaca1269842cfbdea1161c1b0ea10a0de0c6ed6b)

Author SHA1 Message Date
Snakes b4fdf248ef LGB: disable profile bio, banner, song. 2022-07-19 21:20:52 -04:00
Snakes d06ea7d349 LGB: disable markup commands. 2022-07-19 21:20:52 -04:00
Snakes 3225a2a3d4
LGB: disable awards, badges. 2022-07-19 19:59:39 -04:00
Snakes be983504b7
LGB: disable gambling. 2022-07-18 03:47:17 -04:00
Snakes eef6c25b0b
LGB: Permission block, follow, voters visibility. 2022-07-18 03:17:45 -04:00
Snakes 0c43deeee6
FEATURES: pronouns, kys, chat, house, /vote perm. 2022-07-18 02:43:20 -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
Snakes c4e8755a8d
LGB: const settings, welcome message. 2022-07-17 23:59:20 -04:00
Aevann1 8af9b8a339 wipe cringetopia 2022-07-18 04:46:03 +02:00
Aevann1 4058e2adce revert what I did with the slur regex 2022-07-17 21:17:46 +02:00
Aevann1 1998536e4e fix previous commit 2022-07-17 19:19:48 +02:00
Aevann1 565b5c842a fix fag slur filter 2022-07-17 19:18:52 +02:00
Aevann1 5703425418 improve slur regex 2022-07-17 07:24:53 +02:00
Aevann1 0b77e3f039 sneed 2022-07-16 20:37:07 +02:00
Snakes a98f5e5706 PCM: raise pin limit to 10 for Kippy. 2022-07-14 21:21:20 -04:00
Snakes a217f76bad Deux: sidebar, sidebar thread; restrict holes. 2022-07-14 02:19:59 -04:00
Snakes 88108594ad Implement Deux login with rDrama challenge. 2022-07-13 20:36:04 -04:00
Aevann1 a7c5ad6045 change carp's id on lgbdropthet from 17 to 18 2022-07-13 23:37:15 +02:00
Aevann1 86717e37b2 refactor changelog 2022-07-13 23:03:11 +02:00
Aevann1 b2de11cb1a add "pins" toggle to the frontpage 2022-07-13 19:31:35 +02:00
Aevann1 aa4ab5b217 sneed 2022-07-13 17:16:53 +02:00
Aevann1 f7c2befeed allow deux jannies to add badges 2022-07-13 14:56:30 +02:00
Aevann1 f585597401 make deuxrama use rdrama's snappy quotes 2022-07-13 14:55:28 +02:00
Aevann1 3a97dac234 fix PCM reddit notifs 2022-07-12 21:26:07 +02:00
Aevann1 2a95c25675 allow @bbbb to vote 2022-07-12 21:23:37 +02:00
Aevann1 7a80ceef59 fix PCM reddit mentions 2022-07-12 02:47:46 +02:00
Aevann1 802952a555 relax slur filter on non-rdrama sites 2022-07-11 22:18:22 +02:00
Aevann1 70ea10eaf6 rename chudrama to deuxrama 2022-07-11 14:25:27 +02:00
Aevann1 b5d9db86d1 refactor comment commands 2022-07-11 14:14:18 +02:00
Aevann1 bd323d2bb9 add 2 more trusted domains 2022-07-11 13:55:19 +02:00
Aevann1 e3ca369392 fix the id of the first user 2022-07-11 12:19:43 +02:00
Aevann1 a9e355c804 sneed 2022-07-11 11:52:59 +02:00
Aevann1 9c3976a622 make new users follow carp automatically v2 2022-07-10 18:23:32 +02:00
Aevann1 2ddbcaa254 change agendaposter phrase for chudrama 2022-07-10 16:37:05 +02:00
Aevann1 bb59cd0476 minor logic tweaks 2022-07-10 16:21:16 +02:00
Aevann1 9ea0f46250 tweaking offsite mentions a little 2022-07-10 15:02:24 +02:00
Aevann1 74a39109e9 fix WPD bugs 2022-07-10 14:05:12 +02:00
Aevann1 59844e8232 fix chudrama bugs 2022-07-10 13:57:18 +02:00
Snakes 095b0229a2 LGB: Rename holes; make hole sidebar Drama-like. 2022-07-09 08:01:44 -04:00
Snakes b47e9c7e18 Fix bot ID constants for CT, WPD, LGB.
seed-db.sql in a8fe49f232 was changed to no longer have a System
user to support the notifications rework. The default IDs in const.py
were updated to reflect this. However, CT/WPD/LGB had user IDs from
the pre-rework SQL yet were using default IDs. The constants were
updated to reflect the state on prod.

Strangely, LGB has no user id #2. I have no idea why, but the
constants accurately reflect this fact.
2022-07-09 07:11:05 -04:00
Snakes 16125b419b LGB: Disable Snappy Marseys; Snappy empty behavior. 2022-07-09 07:11:05 -04:00
Snakes fde2d5ca11 LGB: Use static default pfp. 2022-07-09 07:11:05 -04:00
Snakes 02e096e5af LGB: add custom emoji list. 2022-07-09 00:32:48 -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
Snakes 894011335b PCM: hole price- Kippy indecisive. 2022-07-07 23:43:48 -04:00
Snakes c7467419b9 PCM: change hole cost. 2022-07-07 23:37:37 -04: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 faa4f993f2 increase the price of progressivestack from 1000 to 1500 2022-07-04 04:06:28 +02:00
Aevann1 587b864e0a re-enable pins 2022-07-03 04:00:29 +02:00