Commit Graph

67 Commits (d616086dbd82209cba199e1aa82ae6e1b31499a4)

Author SHA1 Message Date
justcool393 927e5a7cee snappy: fix weird missing line 2022-11-05 02:19:57 -05:00
Aevann1 299dbceeeb only add reason if there's a reason 2022-11-05 04:48:04 +02:00
Aevann1 f37707805e fix lawlz flair 2022-11-05 04:24:33 +02:00
justcool393 6caebac946 actions: move user-only actions to useractions, which gets rid of a circular dependency 2022-11-01 18:46:56 -05:00
justcool393 cd33fa9046 slots: fix numerous bugs with slots
slots: fix missing imports (x2)
slots: fix other user errors being returned to a potentially completely unrelated user

for example if Snappy was under the rehab effect and it pulled the slot, it'd abort and potentially cause other bugs down the chain, which makes no sense to a user or could leave a post in a wonky state
2022-11-01 18:03:53 -05:00
Aevann1 da5cc4093f make snappy gamble again 2022-11-02 00:40:22 +02:00
Aevann1 df559c6af5 run archival through proxy 2022-10-31 02:05:53 +02:00
Aevann1 c80e92f434 archive ghostarchive.org automatically 2022-10-31 00:39:37 +02:00
justcool393 d61eda8427 merge i think 2022-10-30 15:08:20 -05:00
Aevann1 915967ddd0 constantify BAN_EVASION_DOMAIN 2022-10-30 20:01:01 +02:00
justcool393 b9f2a7123e actions: move pizzashill autovotes to actions 2022-10-30 01:03:23 -05:00
justcool393 0f8ecd48dc antispam: add antispam bypass 2022-10-24 12:27:25 -05:00
justcool393 0a9e7b3ef4 lawlzposts: don't allow unpin awards
lawlzposts: disable if pins feature flag is off
2022-10-23 12:14:27 -05:00
justcool393 ec1affcf85 posts: add MasterLawlz specific actions 2022-10-23 12:01:00 -05:00
justcool393 37af363a47 remove duplicate message 2022-10-20 19:31:03 -05:00
justcool393 790a569072 don't check if body is empty 2022-10-20 19:29:20 -05:00
justcool393 8fe73cb68e refactor blackjack a bit 2022-10-20 19:28:05 -05:00
justcool393 32a4693da9 fix a couple of potentially rare 500s 2022-10-15 14:35:24 -07:00
justcool393 36b370dd14 use comment length for snappy, not post 2022-10-14 06:19:47 -07:00
justcool393 501fbbf5d3 move antispam code to actions 2022-10-11 22:34:55 -07:00
justcool393 1111932b8c remove weird random check if it's an issue we can readd it 2022-10-09 13:13:55 -07:00
justcool393 6d5dcaec9a fix long post bot lol 2022-10-09 09:40:20 -07:00
justcool393 a9064e7828 newline at eof 2022-10-09 06:52:41 -07:00
justcool393 56e800fd9d move basedbot to actions as well 2022-10-09 06:49:08 -07:00
justcool393 64cd774390 ree 2022-10-09 06:29:58 -07:00
justcool393 63c7fe0c29 move zozbot and longpostbot into the actions helpers 2022-10-09 06:28:18 -07:00
justcool393 d58351637c use constants 2022-10-05 16:35:44 -07:00
Aevann1 fbaa3984a0 small adjustment to prev commit, making it an "elif" 2022-10-01 19:37:59 +02:00
Aevann1 15e0447826 ban ppl for 14 minutes if snappy comments ":marseyban:" on their post 2022-10-01 19:37:25 +02:00
Aevann1 b9d3336a9e nitter shit 2022-09-29 07:53:37 +02: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 37e1f25624 make using proxies only happen in 3 circumstances again 2022-09-26 06:01:25 +02:00
Aevann1 dd0f8fbed7 proxy all requests we make 2022-09-25 05:23:50 +02:00
Aevann1 08e4d04c92 minor change to silence warnings 2022-09-23 14:01:42 +02:00
Aevann1 cd5d0c7c92 dont archive rdrama.org 2022-09-22 22:45:26 +02:00
Aevann1 61739b765e made spider award not give any notifs 2022-09-21 22:27:12 +02:00
Aevann1 6e1b454d1c fix last commit 2022-09-08 19:57:20 +02:00
Aevann1 40b4aff0e8 same as last commit 2022-09-08 19:51:03 +02:00
Aevann1 e382334c53 add description to new badge messages 2022-09-08 19:48:56 +02:00
Aevann1 57dcd0ddef remove snappy gambling 2022-09-05 00:13:23 +02: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 3e4216c78e fix my whoopsie 2022-09-03 21:37:20 +02:00
Aevann1 5fa854afd6 dont archive site urls 2022-09-03 20:05:00 +02:00
Aevann1 284dfbc30e ignore archiveorg errors 2022-09-03 16:24:16 +02:00
Aevann1 2398cf45f7 refactor archive.org 2022-09-03 05:10:14 +02:00
Aevann1 79b4e2c7dc
Hats (#349)
* hat

* hats

* hats 2

* hats

* hats 4

* hats 5

* hats

* replace weird iOS apostrophe ’

* print archiveorg response codes
2022-09-03 02:10:15 +02:00
Aevann1 03f37e4972 print archive.org exceptions 2022-09-02 19:43:16 +02:00
Aevann1 4bb6eecb17 new rare carp snappy reply (idea by tax) 2022-08-26 01:40:57 +02:00
Aevann1 05689c87f6 fix previous commit 2022-08-17 19:57:32 +02:00
Aevann1 687cd766b9 restore autoflush 2022-08-17 18:36:59 +02:00