Snakes
3225a2a3d4
LGB: disable awards, badges.
2022-07-19 19:59:39 -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
3f0d1ac2a7
make nuking message clearer
2022-07-14 15:28:07 +02:00
Aevann1
093c83d7c9
tweaking bannedfor column
2022-07-12 22:00:19 +02:00
Aevann1
bc927ef238
remove editing sidebar from PCM
2022-07-12 21:32:34 +02:00
Aevann1
bf1fec7918
remove ban_reason when unbanning users
2022-07-11 14:35:28 +02:00
Aevann1
9ea0f46250
tweaking offsite mentions a little
2022-07-10 15:02:24 +02:00
Aevann1
f3fbb5c743
sneed
2022-07-09 13:07:43 +02:00
Snakes
0fbb102929
Propagate shadows to new alts on signup.
2022-07-09 05:25:15 -04:00
Aevann1
cfa6c13eaa
move 2 cron functions from routes files to .cron
2022-07-08 18:21:39 +02:00
Aevann1
7cd1e4bf8f
give chadmins marseybux
2022-07-07 07:14:39 +02:00
Aevann1
470b046702
compile regext outside of routes
2022-07-06 13:49:13 +02:00
Aevann1
1f0f0ef0be
messing with joins
2022-07-03 08:12:53 +02:00
Aevann1
7cb95ee2ca
delete migration cod
2022-07-02 11:58:16 +02:00
Aevann1
667a195270
migrating
2022-07-02 11:52:18 +02:00
Aevann1
855fc20a2a
testing
2022-07-02 11:46:51 +02:00
Aevann1
24484df55c
testing
2022-07-02 11:38:09 +02:00
Aevann1
29b91a3b8a
fds
2022-07-02 11:33:53 +02:00
Aevann1
b6ca73a0c5
testing
2022-07-02 11:30:17 +02:00
Aevann1
bc41bb5584
testing, pls ignore
2022-07-02 11:29:01 +02:00
Aevann1
bc12edb5b9
add exception for chadmins
2022-07-01 22:22:10 +02:00
Aevann1
f10a858ea8
fix cron
2022-07-01 22:16:45 +02:00
Aevann1
7a682d95c6
fix 500 error
2022-07-01 20:19:21 +02:00
Aevann1
ae837e50a3
try fixing insane inbound bandwidth
2022-07-01 13:27:37 +02:00
Aevann1
070945d98a
cut down on the number of queries
2022-06-29 09:22:18 +02:00
Aevann1
5661cdb271
Revert "try to cut down on number of db queries"
...
This reverts commit c674c6a056
.
2022-06-29 08:43:20 +02:00
Aevann1
c674c6a056
try to cut down on number of db queries
2022-06-29 08:14:25 +02:00
Snakes
08c2ec7223
Make pin disabling site-specific.
2022-06-28 02:27:25 -04:00
Aevann1
aac17a6daa
show the username of the janny who banned
2022-06-28 02:59:08 +02:00
Aevann1
d10a1c8693
disable pinning for 3 days
2022-06-28 02:24:16 +02:00
Aevann1
cff34fb3a4
reducing query volume, #2
2022-06-26 03:11:02 +02:00
Aevann1
ffd0d9ed31
show duration on ban icon tooltip
2022-06-25 02:11:00 +02:00
Aevann1
6f6d01c1c6
actually use the get functions
2022-06-24 15:19:53 +02:00
Snakes
dedbc02968
Allow admin approval of others' TLM-less chudposts.
2022-06-21 21:13:25 -04:00
Snakes
f6b6997f61
Persist activity timestamp to users.
2022-06-20 16:25:03 -04:00
Aevann1
c91f09b83f
put author username in mod action notifs
2022-06-20 01:08:21 +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
Aevann1
c42cb538aa
add a button for PCM to print marseybux
2022-06-18 02:35:27 +02:00
Aevann1
80852cc395
specify encoding when reading text files
2022-06-18 00:19:18 +02:00
Aevann1
f4a6e76ab5
add nuke and un-nuke notifications
2022-06-15 21:36:02 +02: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
dd09eff539
fix oversight in ba883a5340
2022-06-13 18:50:30 +02:00
Aevann1
ba883a5340
give chadmins notifications for unbans and unremovals
2022-06-13 16:40:16 +02:00
Aevann1
f7cce1469c
Revert "use redis for site settings instead of a json file"
...
This reverts commit a7b67db555
.
2022-06-10 23:52:32 +02:00
Aevann1
a7b67db555
use redis for site settings instead of a json file
2022-06-10 23:22:09 +02:00
Aevann1
d84a4c7ce9
convert monthly marseybux into a cron task
2022-06-10 22:23:01 +02:00
Aevann1
760aa397c8
refactor monthly marseybux logic a little bit
2022-06-10 22:13:20 +02:00
Aevann1
b4b4ab1e9a
when granting monthly awards, add 5 days to the date
...
so when I grant awards on 29/5 for example,
it says in the notification "for the month of July" instead of "for the month of May"
extremely minor but I have autism
2022-06-10 22:09:59 +02:00
Aevann1
2db414f12d
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-10 14:48:14 +02:00
Aevann1
2b82f95a98
Make hole cost constant instead of variable
2022-06-10 14:48:11 +02:00