Commit Graph

76 Commits (4a05910161062504f6ce14cfd360732d1c351459)

Author SHA1 Message Date
justcool393 84d9ed6655 antispam: sanity check 2022-11-13 21:48:52 -06:00
Snakes b5b8b2927c
Expand blackjack handling pipeline. 2022-11-13 21:43:26 -05:00
justcool393 7c0763d81f blackjack fixes 2022-11-13 20:07:13 -06:00
Aevann1 3ff9cd448f adjust babe97e6d8 2022-11-12 11:29:08 +02:00
official-techsupport babe97e6d8
Add Carp's quote to Snappy on CC posts (#443) 2022-11-11 03:45:28 -05:00
Aevann1 c066227d2b remove pizza autovote 2022-11-09 23:27:16 +02:00
justcool393 26549a6e66
remove logged out routes (#433)
* remove /logged_out/ routes

* update sitemap, remove users route, and update header

* cloudflare cookie

* only mess with the cookie whenever we desire auth

* sitemap: (small) improvements
sitemap: fix little bug i introduced
sitemap: fix login redirects for /id/ routes

* sitemap: remove duplicate entry

* contact is auth desired

* imports: don't import what we don't need and bind late to the db

* praying to god this works

* keep yourself safe

* oh i actually need to commit and push lol

* import Sub

* t

* refix cache purger
2022-11-09 00:35:24 -05:00
justcool393 0fffa7efc0 rename truecoins to truescore 2022-11-06 23:04:34 -08:00
Aevann1 fbddf3e59c fix snappy gambling 2022-11-07 02:08:50 +02:00
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