forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

16237 Commits (28fa03669dd2a1636deea6748031e2d9cff7f423)

Author SHA1 Message Date
Snakes 642f5e7a1c Holes: remove JL3 on /create_hole 2022-06-10 12:59:25 -04:00
Aevann1 558726228e fix floating awards being too large 2022-06-10 17:47:17 +02:00
Aevann1 f082dcffa2 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-06-10 17:41:36 +02:00
Aevann1 e53a286d49 notify mods of the deletion of their holes 2022-06-10 17:41:33 +02:00
Snakes 39746fddff Purging meme sidebars for idio3. 2022-06-10 11:34:10 -04:00
Aevann1 6a18c31ced exclude localhost from reddit notifs 2022-06-10 17:30:30 +02:00
Aevann1 774e079942 extend reddit notifs to ALL SITES 2022-06-10 17:25:03 +02:00
Aevann1 2ea3b33743 sneed 2022-06-10 15:15:35 +00:00
Snakes 78d784533c Fix syntax & imports in offsitementions.py 2022-06-10 11:13:32 -04:00
Aevann1 05d6a24535 Tell ppl who won the lottery in loss messages 2022-06-10 16:53:29 +02:00
Aevann1 e483accffb fixed this https://files.catbox.moe/qdcbvd.png 2022-06-10 16:47:34 +02:00
Aevann1 abae90fbfd fixed bug with snappy gambling 2022-06-10 16:44:30 +02:00
Aevann1 5db4bd1023 made CARP_ID to be 0 on new sites 2022-06-10 16:44:05 +02:00
Aevann1 131e3b8603 increase chance of snappy gambling 2022-06-10 16:40:43 +02:00
Aevann1 6800d33019 replace streamable links with full-size version 2022-06-10 16:35:09 +02:00
Aevann1 b542a4743e discordcel in-jokes dont belong on the sidebar IMO + they make me look bad :( 2022-06-10 16:26:24 +02:00
Aevann1 1adf12cf71 add forgotten </i> 2022-06-10 16:10:04 +02:00
Aevann1 22f3749df3 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-06-10 16:04:52 +02:00
Aevann1 dcf5207e83 all 'app' tld (for discussions.app) 2022-06-10 16:04:49 +02:00
Aevann1 239c6f0404 sneed 2022-06-10 14:00:02 +00:00
Snakes 2f1761330c Lottery: remove manager, make cronjob friendly. 2022-06-10 09:50:03 -04:00
Aevann1 aa0f878737 make the new format for the env file work with ubuntu_setup 2022-06-10 15:44:52 +02:00
Aevann1 3e365484fd refactor lottery a little bit + expand it to all of marsey's empire 2022-06-10 15:30:25 +02:00
Aevann1 38686e8e1e remove useless fontawesome css rules 2022-06-10 15:28:50 +02:00
Aevann1 a6f80d8104 Changed the icon for "unfollow hole" 2022-06-10 15:24:10 +02:00
Aevann1 f09e6bf67c add icon for "block hole" 2022-06-10 15:21:03 +02:00
Aevann1 039a27100d add small margin to the icon of "Follow hole" 2022-06-10 15:13:25 +02:00
Aevann1 76174edb89 Fixed bug with unfound template
(oversight when I renamed /create_sub to /create_hole)
2022-06-10 14:50:11 +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
Snakes 4db48a6ec9 Separate modaction notifs from inbox. 2022-06-10 08:28:46 -04:00
Snakes 8709ca816d Add Y'all Seein' Eye award v2 for offsitementions.
Reusing the assets and design for the ill-fated YSE in a0f441a67d.
This time, the award provides access to our offsite mentions (reddit
notifs).
2022-06-10 07:12:19 -04:00
Aevann1 933f2a9a40 sneed 2022-06-10 10:36:10 +00:00
Snakes bea6d82b61 Lottery: fix granted value, zero royalty.
grant_lottery_tickets_to_user incorrectly deposited the full ticket
value into manager account, not just the net value.

Additionally, royalty rate has been set to zero because Chapose won
the first lottery and grifting 8% that could instead go into the
prize pool seems unwarranted given that.
2022-06-10 06:15:37 -04:00
Snakes b0554ce303 Add follower count to /holes table. 2022-06-10 06:06:56 -04:00
Aevann1 ef2da2498b sneed 2022-06-10 10:00:02 +00:00
Snakes 5f7b38b477 Refactor stat timers, award timers.
Prior to this comment, the every-1d cron.py command was broken due
to lack of proper stats import. However, while refactoring this, it
was convenient to move other recurring tasks that had been stuffed in
odd places--not least `stats(...)`--into the new cron system. This
entailed a number of refactorings of other things.

1. Move stats(...) from static.py to helpers/stats.py.
2. Move hole inactivity purge task from stats(...) to routes/subs.py.
3. Move bot award timer checks from stats(...) to helpers/awards.py.
4. Unify award timer logic formerly in routes/front.py into the new
   helpers/awards.py.
2022-06-10 05:47:41 -04:00
Aevann1 934b631730 rename /create_sub to /create_hole 2022-06-10 00:29:45 +02:00
Aevann1 3a9f3c329f fix hole deletion 2022-06-10 00:13:33 +02:00
Aevann1 10f3d4035d delete inactive holes 2022-06-10 00:07:17 +02:00
Aevann1 bec3ddb2a9 support newer version of docker-compose 2022-06-09 23:48:29 +02:00
Aevann1 874082c16d sneed 2022-06-09 20:27:34 +00:00
Aevann1 f9ea80c124 sneed 2022-06-09 20:27:08 +00:00
Aevann1 fdc90fec77 sneed 2022-06-09 20:26:43 +00:00
Snakes dc7f13304e Add following holes for notifications. 2022-06-09 16:24:24 -04:00
Aevann1 39e0e6d017 make cron also calculate stats (based and cronpilled) 2022-06-09 20:09:49 +02:00
Aevann1 c100ed415c increase edit_post ratelimit so it doesnt fuck with drafts 2022-06-09 20:09:18 +02:00
Aevann1 63c16a867a make the ratelimit for editing much lower to cut
down on mass overwriting
2022-06-09 18:10:25 +02:00
Aevann1 cea253a52c don't notify me anymore of carp posts 2022-06-09 15:29:13 +02:00
Aevann1 900edaa92e made it so you can click "CTRL+Enter" anywhere in
/submit in order to make a post
2022-06-09 13:12:25 +02:00