forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

4295 Commits (554c53633c84e6371245322718e08a5556b9912b)

Author SHA1 Message Date
Aevann1 eec0a6a436 casino shit 2022-09-04 23:35:18 +02:00
Outrun Colors cfa4231f7d
Fix issue with slots not reducing value / center casino games / update user currency without refresh 2022-09-04 16:17:44 -05:00
outruncolors 5e1d98a3bf
WIP: Add Casino (Do Not Merge) (#341)
* Add new /casino route and template

* Consolidate lottery into casino and add initial template for slots

* Change /lottery route to /casino and replace icon with usd symbol and change sitewide const to reflect change

* Hook up new slots method to casino

* Enable Marseybux spending in casino slots

* Add UI for playing blackjack in casino

* First connection of blackjack UI to backend

* Add protective clause thanks to help from carpathianflorist.

* Create new Casino_Game relation and persist inside of blackjack

* Connect new slots behavior to Casino_Game table

* Create UI action management logic

* Add blackjack game status checker which adds persistence for blackjack

* Gonna handle this better, hold on

* Reorganize blackjack helper methods

* Reorganize casino.js to account for new changes

* Connect up to frontend

* Little changes ya know

* Display a message when winning in Blackjack

* Fix some issues with double down and insure

* Revert "remove owoify-py from requirements"

This reverts commit 4454648ea2.

* A little casino styling change

* Reorganize into a casino block

* Smallenize the card'

* Remove references to old game data on comments

* Add sql migration file

* Remove logic to drop old columns

* Fix two forgotten conflicts
2022-09-04 22:53:34 +02:00
Aevann1 88e96988a9 more marsify/owoify shit 2022-09-04 21:43:02 +02:00
Aevann1 38036cf9ec fix incorrect calculated cut in hat notifs 2022-09-04 00:33:25 +02:00
Aevann1 038452f9a6 display total hat sales in /hats 2022-09-04 00:32:46 +02:00
Aevann1 90d32b1381 fix marseybux gift reasons not appearing in /transfers 2022-09-03 23:45:32 +02:00
Aevann1 91d8c709cb increase hat artist cut by 10% 2022-09-03 21:53:38 +02:00
Aevann1 865723470b show owners of hats 2022-09-03 21:36:50 +02:00
Aevann1 5d704a2cb2 make /hats more intuitive 2022-09-03 21:11:02 +02:00
Aevann1 256b384e69 add 2 leaderboard tables for hats 2022-09-03 20:50:20 +02:00
Aevann1 82282cc8a4 check if user owns the hat alrdy or not 2022-09-03 05:58:43 +02:00
Aevann1 91d7e4fcd3 fix hats being lowecase in admiggers thread 2022-09-03 04:15:03 +02:00
Aevann1 01dc4db96b %5 -> 5% 2022-09-03 03:44:04 +02:00
Aevann1 8975f0e4f2 fix bug 2022-09-03 03:27:46 +02:00
Aevann1 6022129f99 fix whoopsie lol 2022-09-03 03:19:47 +02:00
Aevann1 29f09634fd more hat shit 2022-09-03 03:13:23 +02:00
Aevann1 db9a995032 more hats 2022-09-03 03:11:10 +02:00
Aevann1 697a722c6e fix stupidity 2022-09-03 02:54:17 +02:00
Aevann1 bfdb7a87d7 fix missing import 2022-09-03 02:52:59 +02:00
Aevann1 09d1e4d887 more hats 2022-09-03 02:48:01 +02:00
Aevann1 f92a33fb04 sort hats by price then alphabetically 2022-09-03 02:29:54 +02:00
Aevann1 de9f9ab11c display owned hats at the top 2022-09-03 02:27:19 +02:00
Aevann1 28bbdccdeb add hat badges 2022-09-03 02:18:10 +02:00
Aevann1 88a2c69659
Hats (#348)
* hat

* hats

* hats 2

* hats

* hats 4

* hats 5

* hats
2022-09-03 01:58:55 +02:00
Aevann1 2201745c93 add owoify and marsify to offsites 2022-09-02 20:10:35 +02:00
Aevann1 9a32337a22 add flush=true to a print statement 2022-09-02 19:43:59 +02:00
Aevann1 62fd93ee7d fix wrongly-named route 2022-09-02 19:36:49 +02:00
Aevann1 8ed450e980 fix edge case with pinning child comments 2022-09-02 06:13:40 +02:00
Aevann1 5032a9aec2 fix pinned child comments 2022-09-02 02:46:17 +02:00
Aevann1 d9d017844a keep chat count when purging cache 2022-09-02 01:59:56 +02:00
Aevann1 dcf8892465 make it so u cant add hole mods in WPD 2022-09-02 01:54:05 +02:00
Snakes 7e5378405f Remove redundant `if not user: abort()` checks. 2022-09-01 18:41:47 -04:00
Aevann1 57d7e2c125 fix owoify and marsify getting wasted when awarded on a post 2022-09-02 00:11:30 +02:00
Snakes c506ff0c40 Add admin mute for user reports and modmail. 2022-09-01 17:30:15 -04:00
Snakes ba05430a80 Prevent permabanned users from replying to DMs.
Permabanning already prevents users from initiating new DMs, and we
complete this by preventing replying to existing DM chains.
New modmails may still be initiated, and existing modmails may still
be replied to.
2022-09-01 17:30:15 -04:00
Aevann1 083371f20f keep_blank_values 2022-09-01 22:46:57 +02:00
Aevann1 17fd089870 refactor pinning child comments 2022-09-01 22:31:08 +02:00
Aevann1 e4c0f1b4b3 restore pizza autoupvotes on posts 2022-09-01 22:07:08 +02:00
Aevann1 8e74171d9d exclude authorized bots from hole restrictions 2022-09-01 22:01:03 +02:00
Aevann1 c2e4b99d39 replace '/logged_out' from redir value 2022-09-01 21:24:06 +02:00
Aevann1 e5b2675f0d try to fix db 500 errors on wpd 2022-09-01 21:05:37 +02:00
Aevann1 4ef9a7b58c fix occasional 500 errors on WPD 2022-09-01 21:00:08 +02:00
Aevann1 04e47017c1 fix chudrama for paypigs 2022-08-31 18:49:31 +02:00
Aevann1 60709a7253 add error handling for incorrect time format in search 2022-08-31 03:48:20 +02:00
Snakes 09d95e3e63
Revert unblockable users being unable to block.
Related commits:
26b2f55e68
356d1ca8a0
2022-08-30 21:31:48 -04:00
Snakes 0e70879598
Fix /h/<sub>/submit header icon.
sub.marsey_url was returning false because the submit.html template,
which then includes header.html, was passed an SQLAlchemy Row instance,
not a files.classes.sub.Sub instance. This worked alright because both
the header and the submit page only accessed the name field; however,
accessing the marsey_url property (rather than the marseyurl column
field) failed because of it.
2022-08-30 19:20:27 -04:00
Aevann1 11afc5cff1 fix redirection on signup 2022-08-30 21:03:49 +02:00
Aevann1 1706b15ce6 fix deflector not working for house awards 2022-08-30 20:35:03 +02:00
Aevann1 bcec360f30 sort posts with "megathread" in title by new cuz ppl forget to tick the "new" checkbox 2022-08-30 20:22:15 +02:00