Commit Graph

1255 Commits (08d6a9c901cca9f5543aa8e6c0fe933ffcb82685)

Author SHA1 Message Date
Snakes 247318d67b
Sanitize /casino/<game> parameter input. 2022-10-03 16:40:33 -04:00
Aevann1 dda49fdd70 the @Wieoaka question 2022-10-02 13:22:18 +02:00
Snakes d28281bf8f
Fix ORM trying to INSERT/UPDATE into body_ts. 2022-10-02 05:12:04 -04:00
Snakes 701f64c91b
Change comment search to use tsvector. 2022-10-02 04:55:39 -04:00
Aevann1 186616728b allow tempbanned nibbas to mod holes 2022-10-01 19:23:09 +02:00
Aevann1 2a316301e2 fix prev commit (im retarded) 2022-09-29 14:43:14 +02:00
Aevann1 f073e2e167 fix this https://rdrama.org/h/changelog/post/108741/added-hole-mod-logs-marseyjanny2/2809340?context=8#context 2022-09-29 14:41:39 +02:00
Aevann1 51d7cd6d7e fix shit with hole logs 2022-09-29 12:18:27 +02:00
Aevann1 2f5ae40574 delete legacy modactions 2022-09-29 12:05:14 +02:00
Aevann1 09cc43060d
add hole mod logs (#380) 2022-09-29 11:39:37 +02:00
Aevann1 7201d55f69 Revert "prem version"
This reverts commit 858715b496.
2022-09-29 07:58:11 +02:00
Aevann1 858715b496 prem version 2022-09-29 07:53:37 +02:00
Aevann1 b9d3336a9e nitter shit 2022-09-29 07:53:37 +02:00
Snakes 4a54c6219a
Add trailing final newlines to source files.
Touched a ton of files to finally standardize on having trailing
final newlines, as best practice recommends and so our devs stop
accidentally fighting each other over it.

This was performed automatically with the following:
git ls-files -z '*.py' | while IFS= read -rd '' f; \
    do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
git ls-files -z '*.css' | while IFS= read -rd '' f; \
    do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
2022-09-29 01:43:29 -04:00
Snakes f05ec93b95
Add gambling wager badge logic.
This commit touches more files than it ought to because this change
required untangling some circular imports, notably a lingering import
of files.helpers.slots in helpers.actions (presumably from old Snappy
gambling logic) and the User.active_blackjack_game accessor. Otherwise,
the logic is fairly straightforward.
2022-09-29 00:26:50 -04:00
Aevann1 4212cfa0b2 testing on pcm 2022-09-25 06:11:06 +02:00
Aevann1 9eeb77073f fix prev commit 2022-09-25 05:10:32 +02:00
Aevann1 ba19830075 fix last commit 2022-09-25 04:47:05 +02:00
Aevann1 c0c45d9e9a same as last commit 2022-09-25 04:45:22 +02:00
Aevann1 08f9045818 remove linefeed at the end 2022-09-23 17:02:09 +02:00
Aevann1 5740ed3f00 fix capitalization 2022-09-23 16:56:01 +02:00
Aevann1 340f9e31fe limit asset perms and generate modlog for updating 2022-09-23 14:51:57 +02:00
Aevann1 d1bc2f3468 integrate check_ban_evade into check_for_alts 2022-09-23 14:33:58 +02:00
Snakes 3efaedbbec
Temporarily fix permas propagating as shadows. 2022-09-22 20:45:59 -04:00
Aevann1 2ef91698f4
allow PCM chadmins to add or remove channels (#365)
* testing on devrama

* fix for devrama

* fix

* fix

* fix

* fix

* fix

* fix

* test

* fix

* test

* test

* commit
2022-09-22 23:40:32 +02:00
Aevann1 618572e413 reload on declaring winner 2022-09-22 22:24:22 +02:00
Aevann1 d80a2f2331 add "are you sure?" to "declare winner" 2022-09-22 22:11:56 +02:00
Aevann1 6eea792b00 if ur reading this, fuck you 2022-09-22 21:54:42 +02:00
Aevann1 8a8a67a059 remove ban_evade logic 2022-09-22 21:40:14 +02:00
Aevann1 a775a03035 add "granted_by" column to awards instead of "granted" 2022-09-20 23:30:04 +02:00
Aevann1 272e39ebf2 add spider award 2022-09-20 19:52:52 +02:00
Aevann1 b980c63d1b Revert "created_utc refactor"
This reverts commit 791aececbb.
2022-09-19 22:40:33 +02:00
Aevann1 b6df126012 stop me from getting modaction notifs 2022-09-19 22:13:23 +02:00
Aevann1 483a2f2241 fix 500 error 2022-09-19 21:39:00 +02:00
Aevann1 be9dc81455 remove bite award pfp 2022-09-19 21:29:29 +02:00
Aevann1 791aececbb created_utc refactor 2022-09-19 21:24:16 +02:00
Aevann1 14ae9600cf fix 500 error (whoops) 2022-09-19 20:57:03 +02:00
Aevann1 45ba326222 add forced hats 2022-09-19 20:52:50 +02:00
Aevann1 f54791cc4c remove categories 2022-09-19 20:04:30 +02:00
Aevann1 f7727f1029 refactor sigs 2022-09-19 19:51:40 +02:00
Aevann1 4519db0e57 make me get notifs for modmail again 2022-09-19 19:10:37 +02:00
Aevann1 c42ff2788e fix awards receieved for house awards 2022-09-19 01:10:00 +02:00
Aevann1 3b8d025f57 fix kofi 2022-09-18 02:28:09 +02:00
Aevann1 dc6f4f8e10 do this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2723089?context=8#context 2022-09-17 23:45:17 +02:00
Aevann1 a186064465 fix 2022-09-17 14:15:22 +02:00
Snakes fdc8a78472
Fix leaderboard for winnings change. 2022-09-16 15:28:24 -04:00
outruncolors 7dbbb27228
Remove winnings column from user and replace with a calculated value (#356)
* Remove winnings column from user and replace with a calculated value

* Handle case for no games played

* Idiomatic
2022-09-16 14:10:45 -05:00
outruncolors a0c75ab677
Introduce user payment methods (#355)
* Add pay and charge methods into user class

* Replace casino charges/payments with new user methods

* Also refund wager on winning slots bets

* Unblock casino routes
2022-09-15 17:16:35 -05:00
Aevann1 42f0ce8844 make jl3 mod holes again 2022-09-14 16:11:55 +02:00
Aevann1 73ae8f6e65 give a badge to permenantly marsified users 2022-09-13 20:02:08 +02:00