Commit Graph

4647 Commits (7c1eb4c6e39685f7c9ed101dbd041c7a42fb5f38)

Author SHA1 Message Date
Aevann1 0c0a612f53 fix 500 error 2022-09-17 14:12:30 +02:00
Aevann1 1f3f735502 fix hat badges 2022-09-16 23:57:56 +02:00
Aevann1 2c33b09bbc add vaporizing 2022-09-16 22:39:19 +02:00
Aevann1 4ee3b8e5f9 fix prev commit 2022-09-16 22:12:59 +02:00
Aevann1 dad0018698 make leaderboard not take forever to load by removing the winnings tables 2022-09-16 22:05:28 +02:00
Snakes fdc8a78472
Fix leaderboard for winnings change. 2022-09-16 15:28:24 -04:00
Aevann1 2fb4ebdcb0 minor sanitize refactor 2022-09-16 18:30:34 +02:00
Aevann1 0618134eac fix hat badges 2022-09-16 16:06:18 +02:00
Aevann1 e19b2caf7d make marsify award get deflected 2022-09-16 15:18:19 +02:00
Aevann1 41de3c8fab disallow permabanned from seeing chat 2022-09-16 15:06:02 +02:00
Snakes 7780d6c190
Amend f1153031cc53: typo'd an identifier. 2022-09-16 04:59:15 -04:00
Snakes f1153031cc
Apply double-spend fix to hats. 2022-09-16 04:58:12 -04:00
Snakes 54cae4b570
Fix shop double-spend exploit. 2022-09-16 04:43:55 -04:00
Aevann1 bb1852709b Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-16 10:41:32 +02:00
Aevann1 9f231e096f award printing change in WPD 2022-09-16 10:41:30 +02: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 43aeb6e1f9 sneed 2022-09-15 09:00:02 +00:00
Aevann1 8236514115 sneed 2022-09-15 08:00:03 +00:00
Aevann1 3a6c3d29a8 sneed 2022-09-15 03:00:02 +00:00
Aevann1 7ef876635b fix marsey count 2022-09-14 14:47:16 +02:00
Aevann1 566c5b19e3 fuck sake 2022-09-14 13:02:46 +02:00
Aevann1 a6ce6135d8 fix 2022-09-14 13:00:46 +02:00
Aevann1 c2f397df40 show the original file in /marseys 2022-09-14 12:55:35 +02:00
Aevann1 804c2b4e23 allow hole jannies to move posts in their hole to /h/chudrama 2022-09-14 12:45:28 +02:00
Aevann1 135bd2c60c remove unnecessary gay shit 2022-09-14 11:20:59 +02:00
Aevann1 4de53229d0 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-14 10:01:28 +02:00
Aevann1 5587b415dc fix kofi webhook 2022-09-14 10:01:25 +02:00
outruncolors 3ebccf35d1
Add order page (#353)
* Add order page route

* Initial backend post route

* Move to static and prevent logged in users

* Update files/routes/static.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

* Make requested changes

* Last snake changes

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
2022-09-13 21:21:25 -05:00
Aevann1 c13a1524fa dramacoin -> coin 2022-09-13 22:46:08 +02:00
Aevann1 a7236cd807 fix typo 2022-09-13 20:06:57 +02:00
Aevann1 73ae8f6e65 give a badge to permenantly marsified users 2022-09-13 20:02:08 +02:00
Aevann1 e4e42c6b2c give 250 DC to marsey creators 2022-09-13 20:00:11 +02:00
Aevann1 2fa71a252b kofi integration 2022-09-13 18:53:19 +02:00
Aevann1 e69827e6e0 kofi integration (testing on devrama) 2022-09-13 17:22:18 +02:00
Aevann1 d3e8a7f86c perserve asset_submission fields on error 2022-09-13 13:00:47 +02:00
Aevann1 f11dcf031b give notif on bagde removal 2022-09-13 12:27:09 +02:00
Aevann1 0c3cf0128a "That" -> "This" 2022-09-13 11:59:29 +02:00
Aevann1 0302270e16 more detailed pin/unpin messages 2022-09-13 11:01:30 +02:00
outruncolors 7d8cfe5576
Add Roulette (#351)
* Add roulette file

* Rename variable to avoid name collission

* Add basic route and create new template for game

* More work on the roulette template

* Initial connection of front-end roulette to back-end roulette

* Add to cron job

* Pass bets to the front end

* Update front-end looks

* Add stackable poker chips for bets

* Minor last changes

* Handle minimum bets

* Add bet table
2022-09-12 20:07:39 -05:00
Aevann1 e0d32c7105 dont send me a notif 2022-09-12 19:52:07 +02:00
Aevann1 b7013698c2 change resize for marseys from 300px to 250px 2022-09-12 13:05:16 +02:00
Aevann1 4abf75edc0 add error codes 2022-09-12 11:52:07 +02:00
Aevann1 7e811b47fb reporting improvement 2022-09-12 11:48:01 +02:00
Aevann1 6601d0d6be sort alphabetically 2022-09-12 09:22:35 +02:00
Aevann1 ee756bf4b6 minor submission changes 2022-09-12 09:17:57 +02:00
Aevann1 5b0b0f6ebb refactor original hats and marseys 2022-09-12 09:06:50 +02:00
Aevann1 2e31b52366 for consistency's sake, don't use {sub.name} inside strings anymore 2022-09-12 07:25:04 +02:00
Aevann1 cc0f2059c3 more descriptive success messages 2022-09-12 07:23:08 +02:00
Aevann1 1e49bb9e2c make submitted hats prices 1000 when animated 2022-09-11 16:35:34 +02:00
Aevann1 fbe7089d2a more detailed success message description 2022-09-11 16:32:00 +02:00
Aevann1 ce0b141325 specify the type of color code we want 2022-09-11 12:04:21 +02:00
Aevann1 09422ebf29 highlight unread DMs in /notifications/messages 2022-09-11 11:06:09 +02:00
Aevann1 9c8bc0fdd6 allow ppl blocked by someone to visit that someone's profile 2022-09-11 10:57:06 +02:00
Aevann1 14961d856f trim non-animated marseys and increase width to 300px 2022-09-11 10:49:46 +02:00
Aevann1 b0057483c8 link the admigger upload threads in the admin panel for easier access 2022-09-11 09:11:10 +02:00
Aevann1 fda1f1e562 allow asset submitters to remove their pending shit 2022-09-11 09:03:34 +02:00
Aevann1 5546bf56f3 same as last commit 2022-09-11 08:41:48 +02:00
Aevann1 3e6a3ef52d expose the pngs 2022-09-11 08:41:28 +02:00
Aevann1 0bc816328c nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger nigger 2022-09-11 04:29:22 +02:00
Aevann1 ea17fa53c9 stop the error spam 2022-09-11 04:27:27 +02:00
Aevann1 b2b73b2658 sneed 2022-09-11 04:11:06 +02:00
Aevann1 20c5ad015b relax ratelimits in casino 2022-09-11 04:05:50 +02:00
Aevann1 cefd68755d stop the print spam 2022-09-11 03:56:47 +02:00
Aevann1 ae90eb1cf2 simplify house checking logic 2022-09-11 03:53:16 +02:00
Aevann1 55c20a67f5 remove hq images that dont fit requirements 2022-09-11 03:28:26 +02:00
outruncolors d57a569125
[DO NOT MERGE] Casino changes (#350)
* Merge up

* Create composable template for casino games

* Big changerinos

* Only allow double down sometimes

* Add drawing capability

* Make everything pretty

* Add leaderboard

* Update files/routes/casino.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

* Update files/helpers/casino.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

* Update files/helpers/twentyone.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

* Update files/helpers/twentyone.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

* Update files/helpers/twentyone.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

* Add some stuff

* Rehab screen

* Default sets for no games

* Stupid revert

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
2022-09-10 16:01:34 -05:00
Aevann1 89ab532425
Update asset_submissions.py 2022-09-10 15:46:56 +02:00
Aevann1 48e1c653db 2 folders instead of prefixes 2022-09-10 13:07:58 +02:00
Aevann1 18a530a330 wtf 2022-09-10 11:41:59 +02:00
Aevann1 ee630e55c9 testing 2022-09-10 11:40:57 +02:00
Aevann1 332ab2cbdf fix is_available 2022-09-10 11:37:43 +02:00
Aevann1 8f0b2ea9c3 test on devrama 2022-09-10 11:31:51 +02:00
Aevann1 327176d31b show most recent replies in /notifications at the top 2022-09-10 11:06:34 +02:00
Snakes 7586dfdbc8
asset_submissions: respect hat case-sensitivity.
Unlike Marsey names and tags, we display hat names & descriptions
with respect for capitalization. The filesystem and database treat
hat names as case-sensitive too, so there's no risk of conflict.
2022-09-10 03:56:37 -04:00
Snakes 0950dc81b8
Move asset submission routes out of static.py. 2022-09-10 03:56:37 -04:00
Aevann1 c1aae95d16 restore "notify followers" checkbox 2022-09-10 09:00:45 +02:00
Aevann1 0ddacad599 add prefixes for asset_submissions 2022-09-10 07:49:39 +02:00
Aevann1 166060cb01 forgot to filter submitter_id=None 2022-09-10 07:42:24 +02:00
Aevann1 1a64ba3db8 hat submission UI 2022-09-10 07:37:11 +02:00
Aevann1 faac45b425 allow carp to change marsey name 2022-09-10 06:36:24 +02:00
Aevann1 34f95d155c fix 500 error 2022-09-10 05:13:12 +02:00
Aevann1 89f4a88f04 .strip() 2022-09-10 05:04:58 +02:00
Aevann1 efc0ea205b fix missing import 2022-09-10 03:09:33 +02:00
Aevann1 10ce1fe122 keep OG images 2022-09-10 02:52:52 +02:00
Aevann1 30bdee98b2 fix comment level 10 bug, thanks @everyone 2022-09-10 02:47:48 +02:00
Aevann1 24c29bda04 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-10 02:31:47 +02:00
Aevann1 021c74aaa5 nerf vamp award again 2022-09-10 02:31:45 +02:00
Snakes ad31fe854b
DMs: add unread indicator, sort by recent reply. 2022-09-09 20:30:56 -04:00
Aevann1 216b0c33f6 fix retarded /transfers logic for API users 2022-09-10 02:30:25 +02:00
Aevann1 8943024e17 cosmetic change 2022-09-10 02:18:52 +02:00
Aevann1 c638c8be80 restore error codes 2022-09-10 02:17:31 +02:00
Aevann1 7a8395fefb better feedback in /submit/marseys 2022-09-10 02:07:17 +02:00
Aevann1 6d0d3c07d0 make new casino respect rehab award 2022-09-10 01:55:13 +02:00
Aevann1 fbbb2c2ceb marsey submission stuff 2022-09-10 01:41:54 +02:00
Aevann1 e0d4a03934 trying to fix 500 error 2022-09-10 01:35:04 +02:00
Aevann1 9419032201 useless commit 2022-09-09 11:41:08 +02:00
Aevann1 500c1ba3c1 check filetype (thx drT) 2022-09-09 11:31:11 +02:00
Aevann1 91f3069001 more marsey shit 2022-09-09 11:21:17 +02:00
Aevann1 b8cde6ca60 restrict approving and rejecting marseys to the fish 2022-09-09 11:15:16 +02:00
Aevann1 47890d771d add Marsey Submission UI 2022-09-09 11:13:50 +02:00
Aevann1 77128f54f8 adjust bite award logic 2022-09-09 08:49:05 +02:00
Aevann1 485c30ec3c relax ratelimit on buying awards 2022-09-08 21:14:02 +02:00
Aevann1 1ce1410268 show total number of hats in /hats 2022-09-08 20:36:43 +02:00
Aevann1 6077f09ca9 make bets better 2022-09-08 20:25:45 +02:00
Aevann1 6e1b454d1c fix last commit 2022-09-08 19:57:20 +02:00
Aevann1 e382334c53 add description to new badge messages 2022-09-08 19:48:56 +02:00
Aevann1 615d18c41b like last commit 2022-09-08 17:49:34 +02:00
Aevann1 4d3a76f686 vamp award adjust 2022-09-08 17:46:01 +02:00
Aevann1 f23912bc5b cosmetic shit 2022-09-08 17:45:10 +02:00
Aevann1 f4e4ff3839 comsetic shit 2022-09-08 17:38:27 +02:00
Aevann1 057dfc7d80 upgrade to ubuntu 22.04 2022-09-07 07:51:05 +02:00
Aevann1 9475aa27e4 award badges shit 2022-09-07 05:31:55 +02:00
Aevann1 043a235082 buff vamp house award again 2022-09-07 00:35:05 +02:00
Aevann1 71f3a2c24c buff vamp house award 2022-09-07 00:25:29 +02:00
Aevann1 d930141dc5 same as last commit 2022-09-06 06:54:59 +02:00
Aevann1 1d419640a3 make deflector unaffect me 2022-09-06 06:53:49 +02:00
Aevann1 d0cfd8a8c1 change house femboy award 2022-09-06 06:16:41 +02:00
Aevann1 2005eb1bce leaderboard 2022-09-06 05:06:41 +02:00
Aevann1 0eb0e4ed5c experimenting w/ leaderboard 2022-09-06 04:58:04 +02:00
Aevann1 2717b93555 leaderboard cancer 2022-09-06 04:52:03 +02:00
Aevann1 d68ffeadb6 Revert "leaderboard cancer, don't read if u value ur sanity"
This reverts commit b1933def96.
2022-09-06 04:43:28 +02:00
Aevann1 a19d700c8d up ratelimit for adding mods 2022-09-06 04:40:46 +02:00
Aevann1 b1933def96 leaderboard cancer, don't read if u value ur sanity 2022-09-06 04:40:11 +02:00
Aevann1 5c854adc20 show urself in blocker users table 2022-09-06 04:13:43 +02:00
Aevann1 73dbb2dd7e change t2_ and t3_ to p_ and c_ 2022-09-06 00:52:22 +02:00
Aevann1 8085de14e4 make only house members able to vote on polls in their house hole 2022-09-06 00:30:44 +02:00
Aevann1 ae0dd18192 fix 500 error 2022-09-05 23:58:46 +02:00
Aevann1 c15e0f6fad show follow time 2022-09-05 23:52:56 +02:00
Outrun Colors 90507fc8e5 Merge branch 'frost' of github.com:Aevann1/rDrama into frost 2022-09-05 15:59:48 -05:00
Outrun Colors 3509d6a8b1 Implement a function to fix bad blackjack games 2022-09-05 15:59:42 -05:00
Aevann1 7404d94610 fix issues for new instances 2022-09-05 22:37:38 +02:00
Aevann1 e793a1ab3a show a list of blockers 2022-09-05 22:23:35 +02:00
Aevann1 0f232b264c refactor torture_ap 2022-09-05 22:05:04 +02:00
Outrun Colors b1674355c0
Restructure blackjack to only use a single endpoint and better handle "game end" logic 2022-09-05 13:27:00 -05:00
Aevann1 959e08bb83 make marsify not count towards /marseys 2022-09-05 10:49:34 +02:00
Aevann1 e2c7e2939f fix leaderboard 2022-09-05 10:42:04 +02:00
Aevann1 93d7c91ce7 add the ability to order hats by author username 2022-09-05 10:27:37 +02:00
Aevann1 b166fdcaf3 make hat designers gets their own hat for free 2022-09-05 09:59:24 +02:00
Aevann1 64f95f1fca sneed 2022-09-05 09:48:54 +02:00
Aevann1 e9f9756f16 leaderboard shit 2022-09-05 09:26:12 +02:00
Aevann1 6f9265a711 Revert "testing on prod"
This reverts commit e1a71486f7.
2022-09-05 09:01:04 +02:00
Aevann1 e1a71486f7 testing on prod 2022-09-05 08:57:56 +02:00
Aevann1 225e64b91e add marsify toggle in settings 2022-09-05 06:50:27 +02:00
Aevann1 b3a56ca168 more hat shit 2022-09-05 06:33:08 +02:00
Aevann1 15732114d9 try making hats work in popover 2022-09-05 06:21:06 +02:00
Aevann1 1816ce09f7 make it possible to equip multiple hats 2022-09-05 05:44:24 +02:00
Aevann1 49bcd0543d add hats to chat, part I 2022-09-05 05:04:48 +02:00
Aevann1 11b391c437 fix blackjack when hitting blackjack 2022-09-05 04:34:30 +02:00
Aevann1 6727d4005c better stripping syntax 2022-09-05 03:44:38 +02:00
Aevann1 fb4f43d2fb increase gambling ratelimit 2022-09-05 02:01:16 +02:00
Aevann1 842300ac6e remove code irrelevant now (not broken this time I hope) 2022-09-05 01:21:48 +02:00
Aevann1 0c32d56cd6 casino + style shit 2022-09-05 01:15:37 +02:00
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
Snakes 8c50047f20
Remove new sort on 'thread' in Submission.title.
Requested by multiple jannies. Rough timeline, as I understand it:
  - Circa 7mo ago, this logic was originally added for threads with
    'megathread' in the title.
  - Some time later, a checkbox on submission which sets the flag
    Submission.new does the same thing.
  - In af680d8a94, change the check from 'megathread' to 'thread'.

There must've been some reason for the change of substring checked.
However, it routinely causes issues for the admins and confuses
users. Solution has been to retroactively update posts that currently
rely on the 'megathread' in title behavior to use the `new` flag and
to remove the logic going forward.
2022-08-30 12:14:19 -04:00
Aevann1 7fbcec3b82 turns out we didnt need a dedicated ajax variable 2022-08-30 07:26:13 +02:00
Aevann1 b036e24005 make sure comments a person makes that have level 10 aren't hidden 2022-08-30 07:17:33 +02:00
Aevann1 2806634199 show the real base price for house awards when ur founder 2022-08-30 07:08:04 +02:00
Aevann1 8229425598 fix dict oopsie I did when adding house awards 2022-08-30 07:06:59 +02:00
Aevann1 356d1ca8a0 "people" -> "others" 2022-08-30 06:03:53 +02:00
Aevann1 26b2f55e68 make it so ppl with unblockable award cant block others 2022-08-30 05:58:25 +02:00
Aevann1 2aaed858d2 add a #changelog channel in jannycord 2022-08-30 04:03:48 +02:00
Aevann1 7a8eef2b99 in /submit, don't get title for url if it ends with extension 2022-08-30 03:51:09 +02:00
Aevann1 5345558a43 support unix time in search time filtering too 2022-08-30 03:15:54 +02:00
Snakes 9c03ab2d5e
Fix owoify award affecting links, emoji, markup. 2022-08-27 00:48:44 -04:00
Aevann1 c497c589c9 make deflector work on house awards 2022-08-27 05:29:07 +02:00
Aevann1 df022bd003 make marsify and owoify user-level 2022-08-27 05:22:57 +02:00
Aevann1 0f11312d24 add house awards 2022-08-27 04:57:19 +02:00
Aevann1 f9b56bd046 fix 500 error on posting 2022-08-27 00:05:40 +02:00
Aevann1 1a47d9a916 fix 500 error that's been happening for like a year (thank you snakes and spidey) 2022-08-27 00:03:15 +02:00
Aevann1 e0255a0fa4 fix 500 error caused by shit code 2022-08-27 00:01:36 +02:00
Aevann1 45d5f52388 restore betting 2022-08-26 23:53:17 +02:00
Aevann1 ac98f54902 remove .can_gamble 2022-08-26 23:00:17 +02:00
Aevann1 f1d70567e4 remove chat logging 2022-08-26 18:17:12 +02:00
Aevann1 e7b997fd01 testing on prod 2022-08-26 18:11:01 +02:00
Aevann1 bdc0727ac2 testing on prod 2022-08-26 17:53:40 +02:00
Aevann1 bcaa74786e testing on prod 2022-08-26 17:51:13 +02:00
Aevann1 4538f5642f log chat 2022-08-26 17:37:06 +02:00
Aevann1 f92a83724b try to fix 500 error in WPD 2022-08-26 16:57:14 +02:00
Aevann1 d15b416397 add "just now" to chat messages delievered by sockets 2022-08-26 01:20:17 +02:00
Aevann1 6cbae35a63 make sidebar images higher quality 2022-08-26 00:57:08 +02:00
Aevann1 1292fcbf36 write code for WPD social holes 2022-08-26 00:23:53 +02:00
Aevann1 3bff9489da exclude paypig badges from badge_grant 2022-08-25 19:57:15 +02:00
Aevann1 84dc2b3973 don't notify me of smth I did 2022-08-25 17:56:51 +02:00
Aevann1 5a106b9f90 Revert "make thumbnail code simpler"
This reverts commit 94e7457965.
2022-08-25 17:26:27 +02:00
Aevann1 94e7457965 make thumbnail code simpler 2022-08-25 17:24:32 +02:00
Aevann1 6a21dd347b Revert "Revert "Revert "restore autoflush"""
This reverts commit d84b26fc77.
2022-08-25 17:04:33 +02:00
Aevann1 929517dd7d remove wpd discord from /discord 2022-08-25 15:34:00 +02:00
Aevann1 2099e31b6a redirect to /login if the person has logged into the site before 2022-08-25 00:43:44 +02:00
Aevann1 11d7f34ad0 allow hole jannies to change the hole marsey + cachebust all site assets 2022-08-25 00:22:44 +02:00
Aevann1 d84b26fc77 Revert "Revert "restore autoflush""
This reverts commit 5aa03d87bb.
2022-08-24 16:36:44 +02:00
booosy d2556bc718
Make sure the user has actually input some token to search with when doing exact searching (#337) 2022-08-24 04:59:51 -04:00
booosy be38c1e980
Add title and exact boolean operators to search (#333) 2022-08-23 22:54:27 -04:00
Aevann1 e5046c9f20 remove /h/slackernews from the boost 2022-08-24 00:00:15 +02:00
Aevann1 3a50784239 remove all artificial votes 2022-08-23 21:35:28 +02:00
Aevann1 120fe920d7 give a pemanent progstack effect to posts linking to '.win' domains 2022-08-23 17:29:24 +02:00
Aevann1 83e8d7b015 give a permenant progstack effect to ('slackernews','space','istory','dinos') 2022-08-23 17:28:00 +02:00
Aevann1 f6e6d07504 make me autoupvote dad's posts 2022-08-23 17:27:52 +02:00
Aevann1 8864748b6b increase block ratelimit from 10/day to 20/day 2022-08-23 17:24:54 +02:00
Aevann1 268216a537 Revert "make chat count 0 in localhost"
This reverts commit 4a111df278.
2022-08-23 17:18:59 +02:00
Aevann1 5aa03d87bb Revert "restore autoflush"
This reverts commit 687cd766b9.
2022-08-23 17:17:37 +02:00
Aevann1 53e7717dc9 fix @blackjackbtz 2022-08-22 23:05:01 +02:00