Commit Graph

1752 Commits (04c08699003e060daf0fea6a3d753871e4f395fe)

Author SHA1 Message Date
Aevann 712c30fe84 use an existing css class instead of making a new one 2023-03-25 19:27:03 +02:00
Aevann 5f8e1b0df8 same as last commit 2023-03-25 19:15:51 +02:00
Aevann 4ecb552169 comments overhaul 2023-03-24 18:30:27 +02:00
Aevann 019253e6db use css for chud images instead 2023-03-24 14:29:19 +02:00
Aevann 401b2f92e7 fix #2 here https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3853278#context
----
a lot of crawlers apparently request this page which causes a "too many requests" error for all logged-out ppl who try to visit it
2023-03-24 13:56:27 +02:00
Aevann 4f060629ed fix 500 error 2023-03-22 22:40:03 +02:00
Aevann dce8a25b0a add margin to /search/messages 2023-03-22 22:23:23 +02:00
Aevann 5059b71873 fix last commit 2023-03-22 21:57:16 +02:00
Aevann 1971dc1b73 improve /@<user>/comments 2023-03-22 21:53:59 +02:00
Aevann 71395bc3c2 fix extra bracket 2023-03-21 19:35:36 +02:00
Aevann 4c47cc5d63 stop implementing BAN_EVASION_DOMAIN since nobody actually uses it https://camas.unddit.com/#{%22searchFor%22:1,%22resultSize%22:100,%22query%22:%22stupidpol.site%22} 2023-03-21 17:39:26 +02:00
Aevann a5d7cc63ed cachebust all assets 2023-03-21 15:58:14 +02:00
Aevann df1ebf7cad use SITE_FULL_IMAGES in more places 2023-03-19 18:30:22 +02:00
Aevann 6da776390a dont disable "give award" button for me 2023-03-18 18:14:58 +02:00
Aevann 95a0edf070 disable "GIVE AWARD" button on carp and pizzashill 2023-03-18 18:10:14 +02:00
Aevann 2cf2d869de refactor banning and chudding on posts/comments 2023-03-17 16:37:13 +02:00
Aevann d3919b0d0e fix missing options for hole mods and post authors in ghost threads 2023-03-17 10:17:53 +02:00
Aevann 084d76b001 break flairs to stop overflowing 2023-03-17 09:31:06 +02:00
Aevann 3cc91b60f8 move gets 2023-03-16 08:58:48 +02:00
Aevann bb67ab8526 add gets 2023-03-16 08:36:24 +02:00
Aevann 5764d3ed32 restore the collapse icons 2023-03-11 14:15:22 +02:00
Aevann fb53f8e048 restore collapse lines on mobile 2023-03-11 13:27:57 +02:00
Aevann b00a9e8e85 fix 2023-03-11 10:55:43 +02:00
Aevann 69649cb503 minor improvement to notifs 2023-03-11 10:51:19 +02:00
Aevann 2f043d8b0d fix undeleting highlighted comment 2023-03-11 07:13:45 +02:00
Aevann ba22df33df fix showmore 2023-03-11 01:30:42 +02:00
Aevann c810a84811 exclude replies that have replies from getting collapsed in notifs 2023-03-07 17:56:42 +02:00
Aevann 1d992892d9 remove jc insanity 2023-03-07 17:56:38 +02:00
Aevann e1d9ab3848 make notif collapsing work better with actual replies 2023-03-07 13:54:12 +02:00
Aevann 4ba8433175 collapse modmail in the main notif page too 2023-03-06 22:33:29 +02:00
Aevann d2a888a82f stop ghoted reports on ghosted comments 2023-03-06 21:52:41 +02:00
Aevann 5be3a0fe8d fix CTRL+Enter on reports 2023-03-06 21:21:51 +02:00
Aevann b6b3f8652b Revert "minor padding fix"
This reverts commit 5e80667809.
2023-03-06 19:38:59 +02:00
Aevann 5e80667809 minor padding fix 2023-03-05 21:47:23 +02:00
Aevann e39c13850f remove unnecessary spaces 2023-03-03 09:17:54 +02:00
Aevann b3f75b9beb always use author_name even if its not needed for consistency 2023-03-01 21:28:10 +02:00
Aevann 71ce22b026 fix shadow leak 2023-02-27 21:10:53 +02:00
Aevann c6dcb2e93d add progress bar to comments 2023-02-27 19:25:38 +02:00
Aevann 5b71b0a81a refactor file upload 2023-02-27 17:02:35 +02:00
Aevann 27b2adf989 fix tilt award 2023-02-27 15:26:55 +02:00
Aevann 8fa3e7f7cf use fullname in "view source" 2023-02-27 03:37:53 +02:00
Aevann 6ac9b32834 allow positioning of files 2023-02-26 14:08:37 +02:00
Aevann 686f88e9cf css solution to the height spam question 2023-02-26 13:08:52 +02:00
Aevann 7ebb94fba9 make reply link unbreakable 2023-02-25 18:12:18 +02:00
Aevann 0825c3776e remove report with js 2023-02-21 20:30:55 +02:00
Aevann ecaa080a46 moe 2 files 2023-02-21 20:24:21 +02:00
Aevann 472bed996f add button to remove progstack 2023-02-19 16:02:30 +02:00
Aevann b819fa51d0 make it possible for jannies to stack chuds and bans 2023-02-19 15:23:08 +02:00
mummified-corroding-granny cc6ad3ded4 comments: changed display to inline block in more meta elements (#118)
Kindly,

This is follow-up work to #110 where I target post comments.

This fixes element spliting for "Edited X ago", reply arrow + name and lottery icon + lottery message

Thanks,
granny

Reviewed-on: #118
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-13 18:58:07 +00:00
Aevann 72b6ad67f4 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3540666#context 2023-02-07 03:36:41 +02:00
Aevann 882c065ca6 reduce reply icon margin 2023-02-07 03:07:28 +02:00
Aevann b896efcf82 reposition formatting help 2023-02-06 06:57:09 +02:00
Aevann 8133b219a4 refactor popovers 2023-02-02 22:07:14 +02:00
Aevann 59fe09d0af disable NSFW marking in WPD 2023-02-01 20:52:34 +02:00
Aevann 68cff67af6 do this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3516763#context 2023-02-01 16:52:46 +02:00
Aevann 0b30067876 tweak admin perms 2023-01-29 10:28:29 +02:00
Aevann 2a6ef1b1bc dont use data-href unless its actually needed 2023-01-28 12:03:01 +02:00
Aevann a2d8bcf6ab add top margin to "reply" and "mute" buttons in notifs 2023-01-28 10:46:48 +02:00
Aevann 94d7042512 add progstack btn to comments 2023-01-25 13:35:37 +02:00
Aevann 5502715122 replace type="hidden" with hidden 2023-01-24 07:10:16 +02:00
Aevann dd8e3255a0 allow pasting images in DM replies 2023-01-23 13:04:07 +02:00
Aevann 8396126606 add dm images 2023-01-23 11:58:38 +02:00
Aevann 4cc1635bac make pin icon look better 2023-01-22 10:50:03 +02:00
Aevann 24edb49f3b add jl5 (for me) 2023-01-22 10:04:49 +02:00
Aevann 9c6c894ebd dont highlight comments voted on 2023-01-21 06:12:02 +02:00
Aevann 9717646755 remove all role attributes 2023-01-20 09:14:59 +02:00
Aevann 44aceee28c fix pinned timestamps 2023-01-03 13:00:06 +02:00
Aevann 445371c4cd fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3342093#context 2023-01-01 17:49:43 +02:00
Aevann 7370e47735 actually fix viewmore 2023-01-01 17:35:59 +02:00
Aevann 361f5a6549 fix popovers 2023-01-01 14:16:27 +02:00
Aevann 9289c4a2a3 same as last commit 2023-01-01 14:00:59 +02:00
Aevann 044664a25e get rid of useless tabs and spaces 2023-01-01 13:36:20 +02:00
Aevann 8a1343e739 Revert "remove all accessibility attributes"
This reverts commit e3a8fe85e3.
2023-01-01 13:12:35 +02:00
Aevann e3a8fe85e3 remove all accessibility attributes 2023-01-01 13:05:39 +02:00
Aevann 46023a4c08 pass element instead of its generated id 2023-01-01 05:05:09 +02:00
Aevann 7c78ec0adb remove unnecessary form elements 2022-12-30 18:56:16 +02:00
Aevann 5c13700080 hide ghost identity leak in dev console 2022-12-30 18:22:57 +02:00
Aevann 71f4797027 fix highlighting comments 2022-12-30 16:20:09 +02:00
Aevann f0b20cad55 the worst fucking code you'll ever see 2022-12-30 14:14:18 +02:00
Aevann 1bfa5f5747 style change for format buttons 2022-12-30 10:20:09 +02:00
Aevann 93e9a42fa3 stop using inline style/script elements 2022-12-29 16:20:27 +02:00
Aevann 6114111654 tighten CSP 2022-12-27 03:22:39 +02:00
Aevann 2b6698e2dd make xmas badge graphic site-specific 2022-12-26 21:36:19 +02:00
Aevann 070a22d02e remove accessiblity shit 2022-12-25 04:10:56 +02:00
Aevann e6803f93e9 rework gif modal 2022-12-25 03:45:24 +02:00
Aevann ee8635ef63 add padding to the "more comments" button on mobile 2022-12-25 01:17:52 +02:00
Aevann ecfcbaf3df make hat_active return a tuple 2022-12-25 00:21:49 +02:00
justcool393 1fd100d28c watermark: disable temporarily (#74)
it's borked on most of the themes we need to do some proper checking
will be reenabled and fixed by #46

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #74
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-15 21:39:43 +00:00
justcool393 34ce953884 Fix DM and modmail replies 404ing (#65)
messages got borked completely by this commit

this reverts commit b649a16b46.

---

Snakes note: DM and modmail replies 404'd because dispatched
to the wrong endpoint. The fix to that affected cancel buttons
in some contexts, so this PR also fixes those. Cancel button
presence and behavior should be same as it was a ~week ago
(i.e. correct), and all reply everywhere seem to work right.

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #65
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-14 04:16:43 +00:00
Aevann1 36fca9caab minor bugfix 2022-12-13 20:50:38 +02:00
Aevann1 b649a16b46 fix cancel button 2022-12-13 20:26:25 +02:00
Aevann1 fa30af6e5c fix "undelete" button on comments not removing the yellow 2022-12-13 20:17:04 +02:00
Aevann1 2258b18566 show the votes button to logged-out niggas 2022-12-11 21:32:30 +02:00
Aevann1 59e0beebb2 minor change 2022-12-11 21:19:10 +02:00
Aevann1 06e1195189 restore "cancel" button JC removed 2022-12-10 18:55:39 +02:00
Aevann1 cfb49da217 fix prev commit 2022-12-09 14:07:37 +02:00
Aevann1 1f99bb0aa6 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3211375?context=8#context 2022-12-09 14:03:11 +02:00
Aevann1 ca4e0f5e66 do this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3210978?context=8#context 2022-12-09 12:54:29 +02:00
Aevann a0a8535ec3 fix standard urls for w3.org (#57)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: #57
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-09 05:41:53 +00:00
justcool393 f848f68799 walls: remove duplication among routes/templates (#52)
removes a bunch of duplicated code in commenting and userpages

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #52
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-09 03:35:28 +00:00
Aevann1 cff9249572 watermark 2022-12-07 21:05:52 +02:00
Aevann1 93063516ce tie transparent theme to backgrounds 2022-12-07 19:53:29 +02:00
Aevann 81267ef1c6 do this https://stupidpol.site/h/countryclub/post/79285/tired-of-some-cute-twink-jannies/3194721?context=8#context (#53)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: #53
2022-12-07 16:51:51 +00:00
Aevann1 ede58dd886 fix margins 2022-12-05 17:23:41 +02:00
Aevann1 c0169d0dab fix voting on profile wall 2022-12-05 08:18:37 +02:00
Aevann1 1fead79a86 fix 2022-12-05 08:15:13 +02:00
Aevann1 af3b028ca5 add links to individuals comments in walls + fix awards for wall comments 2022-12-05 05:01:50 +02:00
Aevann1 6cfe0fceb4 hide another broken button 2022-12-05 04:33:42 +02:00
Aevann1 29d1d08eb8 hide 2 broken buttons 2022-12-05 04:27:30 +02:00
Aevann1 e9f4f88f24 fix notifs for profile wall replies 2022-12-05 04:19:51 +02:00
Aevann1 111832a7d2 fix 500 error 2022-12-05 04:04:14 +02:00
Aevann1 bfb8eba832 dont do relationship query when not necessary 2022-12-05 03:59:31 +02:00
Aevann1 492c377e8e show "profile wall" above wall notifs 2022-12-05 03:37:44 +02:00
Aevann1 cb4d941fd0
add profile wall 2022-12-04 20:05:45 -05:00
Aevann e105035272 remove country club system and replace it with a 3 tier thing: (#41)
- /h/masterbaiters: 1 TS - for gayops

- /h/countryclub: 1000 TS - for anything requiring secrecy and doesnt need critical mass - have to make it a rule that u cant post gayops in /h/countryclub

- /h/chudrama: 5000 TS - for chad+stud posts

EDIT: i removed the /h/masterbaiters gate, but u can bring it back if u want
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: #41
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-04 18:39:06 +00:00
Aevann1 c0676e198c convert "var" to "let" and "const" 2022-12-04 17:40:32 +02:00
Aevann1 323061bc86 add missing space 2022-11-28 06:43:15 +02:00
Aevann1 c9f44b5777 rename data-click to data-click2 2022-11-28 06:35:33 +02:00
Aevann 5d49821e7a use https whenever u can 2022-11-28 00:53:37 +02:00
Aevann 7fe42fc104 fix ids in transparent theme 2022-11-27 22:36:36 +02:00
Aevann1 36f6b89a1a make "unmark +18" green 2022-11-27 03:28:20 +02:00
Aevann1 08d0fd605e tweak API App button 2022-11-26 06:34:04 +02:00
Aevann1 3ddeba7e8d disable user.newtab for PWA users 2022-11-23 00:05:31 +02:00
Snakes 6e1f03f480
Make comment removal UI consistent desktop/mobile. 2022-11-21 20:22:18 -05:00
justcool393 272e2ee936
sneed (rename procoins to marseybux) (#472)
* sneed (rename procoins to marseybux)

* literally unusable

Co-authored-by: TLSM <duolsm@outlook.com>
2022-11-21 18:08:29 -05:00
Aevann1 2f31fdfdd7 Revert "remove User.newtab and see if anyone complains"
This reverts commit 787c89961f.
2022-11-21 18:55:13 +02:00
Aevann1 787c89961f remove User.newtab and see if anyone complains 2022-11-21 16:36:17 +02:00
Aevann1 5288d7a7dc remove android app and replace with instructions on how to install PWA 2022-11-20 00:04:08 +02:00
Aevann1 44aa666a4d fix improper redirect URLs 2022-11-19 23:33:59 +02:00
Aevann1 0e10dd6b32 use postToast in delete_comment_modal 2022-11-18 23:27:53 +02:00
Aevann1 4d2a2937e9 fix this https://rdrama.life/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3072105?context=8#context 2022-11-18 22:53:54 +02:00
Aevann1 fe154554c6 make sure all /login and /signup link have redirect 2022-11-18 22:13:06 +02:00
Aevann1 ce24c24e1d put js files not made by us in a folder 2022-11-18 21:16:44 +02:00
justcool393 255d5b2453 security: fix mute bypass
modmail: constantify user ID
2022-11-17 16:50:06 -06:00
justcool393 83963470e8
user can_view functions (#460)
* user: move can_see_to user class

* stub out can_see in comments and posts

* make can_see a classmethod so it's usable for loggedoutfriends

* test

* kill me now

* threelargeclassesmating

* dfdfdfdfdfdfd

* sdsdsdsd

* classmethod should be above i think

* Revert "classmethod should be above i think"

This reverts commit df1772eb9e7e71bf7b89123f6277b648de2b1af3.

* Revert "Revert "classmethod should be above i think""

This reverts commit 32883406c2e2916fc6c436611376a1817c16cb84.

* test rewritnig thing

* go home python

* what the fuck python

* fix AttributeError

* sdsdsdsdsdsd

* lazy and user and stuff

* test

* Revert "test"

This reverts commit 45af5bb3d45f3ec17126ab117d494ec978062a38.

* merge

* newline

* test

* test 2

* Revert "test"

This reverts commit 196dae677e2ee8cd29261c93dcb747087cb399b6.

* revert test

* fix merge error

* fix import error ciruclation i think

* sdsd

* add type annotations back

* deleted_utc

* isinstance

* user_can_see in jinja and remove unnecessary things

* a bunch of stuff
remove can_see from comment and post
expand can_see to messages

* antiannoyingamountsofwhitespace

* fix for chudrama

* improve prev
2022-11-17 16:02:08 -05:00
Snakes 7feddc42f0 Unify template helpers and macros, fix header.
The need for sidebars to have access to macros.random_image means
all templates that include header.html (most templates) need to have
access to `macros`, because header.html includes sidebar_{SITE_NAME}.

Because of how sparse helpers was, we instead unify the two and
replace it since I know we had helpers in every top-level template.
2022-11-16 12:07:23 -05:00
justcool393 e1634d0940 modals: move all modals to a modals dir 2022-11-15 17:15:53 -05:00
Snakes e896aaa1f7
Fix comment rendering when pin.level > 1. 2022-11-15 05:29:47 -05:00
justcool393 26c725b2cd fix comment bug 2022-11-15 03:31:37 -06:00
justcool393 8f2f48d6d1
[DO NOT MERGE] import detanglation (#442)
* move Base definition to files.classes.__init__.py

* fix ImportError

* move userpage listing to users.py

* don't import the app from classes

* consts: set default values to avoid crashes
consts: warn if the secret key is the default config value

* card view: sneed (user db schema)

* cloudflare: use DEFAULT_CONFIG_VALUE

* const: set default values

* decouple media.py from __main__

* pass database to avoid imports

* import cleanup and import request not in const, but in the requests mega import

* move asset_submissions site check to __init__

* asset submissions feature flag

* flag

* g.is_tor

* don't import request where it's not needed

* i think this is fine

* mail: move to own routes and helper

* wrappers

* required wrappers move

* unfuck wrappers a bit

* move snappy quotes and marseys to stateful consts

* marsify

* :pepodrool:

* fix missing import

* import cache

* ...and settings.py

* and static.py

* static needs cache

* route

* lmao all of the jinja shit was in feeds.py amazing

* classes should only import what they need from flask

* import Response

* hdjbjdhbhjf

* ...

* dfdfdfdf

* make get a non-required import

* isort imports (mostly)

* but actually

* configs

* reload config on import

* fgfgfgfg

* config

* config

* initialize snappy and test

* cookie of doom debug

* edfjnkf

* xikscdfd

* debug config

* set session cookie domain, i think this fixes the can't login bug

* sdfbgnhvfdsghbnjfbdvvfghnn

* hrsfxgf

* dump the entire config on a request

* kyskyskyskyskyskyskyskyskys

* duifhdskfjdfd

* dfdfdfdfdfdfdfdfdfdfdfdf

* dfdfdfdf

* imoprt all of the consts beacuse fuck it

* 😭

* dfdfdfdfdfdfsdasdf

* print the entire session

* rffdfdfjkfksj

* fgbhffh

* not the secret keys

* minor bug fixes

* be helpful in the warning

* gfgfgfg

* move warning lower

* isort main imports (i hope this doesn't fuck something up)

* test

* session cookie domain redux

* dfdfdfd

* try only importing Flask

* formkeys fix

* y

* :pepodrool:

* route helper

* remove before flight

* dfdfdfdfdf

* isort classes

* isort helpers

* move check_for_alts to routehelpers and also sort imports and get rid of unused ones

* that previous commit but actkally

* readd the cache in a dozen places they were implicitly imported

* use g.is_tor instead of request.headers. bla bla bla

* upgrade streamers to their own route file

* get rid of unused imports in __main__

* fgfgf

* don't pull in the entire ORM where we don't need it

* features

* explicit imports for the get helper

* explicit imports for the get helper redux

* testing allroutes

* remove unused import

* decouple flask from classes

* syntax fix also remember these have side fx for some reason (why?)

* move side effects out of the class

* posts

* testing on devrama

* settings

* reloading

* settingssdsdsds

* streamer features

* site settings

* testing settings on devrama

* import

* fix modlog

* remove debug stuff

* revert commit 67275b21ab6e2f2520819e84d10bfc1c746a15b6

* archiveorg to _archiveorg

* skhudkfkjfd

* fix cron for PCM

* fix bugs that snekky wants me to

* Fix call to realbody passing db, standardize kwarg

* test

* import check_for_alts from the right place

* cloudflare

* testing on devrama

* fix cron i think

* shadow properly

* tasks

* Remove print which will surely be annoying in prod.

* v and create new session

* use files.classes

* make errors import little and fix rare 500 in /allow_nsfw

* Revert "use files.classes"

This reverts commit 98c10b876cf86ce058b7fb955cf1ec0bfb9996c6.

* pass v to media functions rather than using g

* fix

* dfdfdfdfd

* cleanup, py type checking is dumb so don't use it where it causes issues

* Fix some merge bugs, add DEFAULT_RATELIMIT to main.

* Fix imports on sqlalchemy expressions.

* `from random import random` is an error.

* Fix replies db param.

* errors: fix missing import

* fix rare 500: only send to GIFT_NOTIF_ID if it exists, and send them the right text

* Fix signup formkey.

* fix 2 500s

* propagate db to submissions

* fix replies

* dfdfdfdf

* Fix verifiedcolor.

* is_manual

* can't use getters outside of an app context

* don't attempt to do gumroad on sites where it's not enabled

* don't attempt to do gumraod on sites's where it's unnecessary

* Revert "don't attempt to do gumroad on sites where it's not enabled"

This reverts commit 6f8a6331878655492dfaf1907b27f8be513c14d3.

* fix 500

* validate media type

Co-authored-by: TLSM <duolsm@outlook.com>
2022-11-15 03:19:08 -06:00
Aevann1 2ab126ef33 adjust "mute" and "unmute" margins to accomodate switching 2022-11-14 19:06:59 +02:00
justcool393 24678ab7af reorder buttons per pool 2022-11-13 06:18:09 -06:00
Aevann1 cf40574b7d remove double spaces 2022-11-12 20:02:02 +02:00
justcool393 3c8559d741 contact: make mute button red like on userpage 2022-11-12 05:03:01 -06:00
Aevann1 42e40c1691 split off muting and unmuting 2022-11-12 11:11:34 +02:00
Aevann1 bac4745164 remove repeated ":not" from the css 2022-11-11 16:06:28 +02:00
Aevann1 05b7e79b76 remove the code i added for rdrama.com 2022-11-11 15:52:18 +02:00
Aevann1 dda1c88f4f fix margins 2022-11-08 12:05:07 +02:00
Aevann1 87d5a0de46 improve ban modal and add chud modal 2022-11-05 04:12:22 +02:00
Aevann1 a733056124 remove a bunch of double spaces 2022-11-05 04:12:22 +02:00
Aevann1 d4a99c05e9 rename postToast -> postToastSwitch and postToastCallback -> postToast for clarity 2022-11-03 21:08:22 +02:00
Aevann1 07a12380de accomodate alt domain 2022-11-03 17:29:14 +02:00
Aevann1 f73c6d46df accomodate rdrama.com users 2022-11-02 08:31:04 +02:00
Aevann1 30144c46a4 cosmetic fix to !slots 2022-11-01 20:57:29 +02:00
justcool393 f326b9d5d7 port self removal from spooky-22 2022-11-01 04:01:51 -05:00
Aevann1 915967ddd0 constantify BAN_EVASION_DOMAIN 2022-10-30 20:01:01 +02:00
Aevann1 2ba1a1e86e remove postToast compatability function 2022-10-30 17:10:07 +02:00
Aevann1 d52216beda restore historical blackjack games 2022-10-30 02:40:35 +02:00
Aevann1 f09ec0ca17 restore slot gambling in comments 2022-10-30 02:36:23 +02:00
Aevann1 06314f92b1 remove referrer from html tags 2022-10-29 23:42:30 +02:00
Aevann1 6451572139 remove refererrs from profile images 2022-10-29 23:16:43 +02:00
Aevann1 1b56fc22bb hide reply buttons on deleted comments and posts for consistency 2022-10-29 19:24:22 +02:00
Aevann1 aec78a3b05 get rid of all header classes 2022-10-29 02:55:49 +02:00
Aevann1 de8be8dd0e get rid of <pre> being used as vertical spacing 2022-10-29 02:47:48 +02:00
Aevann1 fdd608532b add type="button" to all <button> tags 2022-10-29 01:35:14 +02:00
Aevann1 5eb2eb5035 remove role="button" from all <a> tags 2022-10-29 01:32:31 +02:00
Aevann1 2019f68217 same as last commit 2022-10-29 01:31:39 +02:00
Aevann1 582a29232b convert all <a> tags without a href, except 2 in award_modal.html 2022-10-29 01:27:38 +02:00
Aevann1 6c32916f1a convert more <a> tags to <button> tags 2022-10-29 00:51:10 +02:00
Aevann1 062e2523b5 change some <a> tags to <button> 2022-10-28 22:08:37 +02:00
Aevann1 aadd054bc3 remove role="button" from button HTML tags 2022-10-28 21:30:08 +02:00
Aevann1 4a43bc239d remove formatting buttons (useless bloat) 2022-10-28 21:09:56 +02:00
Aevann1 6271588056 small cosmetic change 2022-10-28 19:59:56 +02:00
Aevann1 5d9ddcc0f4 fix quoting on selection 2022-10-28 01:19:44 +02:00
Aevann1 a25169cbea remove makeQuote() from reply buttons 2022-10-25 23:16:34 +02:00
justcool393 f9343d3db1 full_name -> fullname 2022-10-25 15:05:37 -05:00
justcool393 56c1b64ec2 via @Aevann1: add selection quoting feature to mobile 2022-10-25 14:57:43 -05:00
Aevann1 03cd4246ff switch the position of "reply" and "mute" 2022-10-24 22:39:48 +02:00
Aevann1 2d0879ec3e allow admins to unmute users from modmail 2022-10-24 22:38:54 +02:00
Aevann1 b563b7af30 stop using "d-none d-md-block" 2022-10-23 19:57:38 +02:00
Aevann1 25e50be552 same as last commit 2022-10-23 18:24:22 +02:00
Aevann1 eafbebbdf1 same as last commit 2022-10-23 18:24:22 +02:00
Aevann1 e99aa6fd0e same as last commit 2022-10-23 18:24:22 +02:00
Aevann1 a040b6779b same as last commit 2022-10-23 18:24:21 +02:00
Aevann1 9b47ad166b small refactor to approving psots and comments 2022-10-23 17:51:49 +02:00
Aevann1 3e45e9da67 add a bigger margin between "reply" and "mute" 2022-10-18 15:57:56 +02:00
Aevann1 661bf3af67 remove unnecessary margin in /transfers 2022-10-14 17:31:35 +02:00
Aevann1 4cbe5c41eb even higher margins 2022-10-14 17:31:02 +02:00
Aevann1 efe0ff091a increase margins in log 2022-10-14 17:28:07 +02:00
Aevann1 73bd39835b fix cursor on comment and post scores 2022-10-13 16:44:05 +02:00
Aevann1 86d5da7de6 fix this https://rdrama.net/post/112582/chudded-award-now-destroys-hours-of 2022-10-13 13:55:29 +02:00
Aevann1 2aa281e8c8 refactor sorting again (untested) 2022-10-12 09:03:28 +02:00
Aevann1 e1ee9a69e4 refactor seeing shadowbanned shit (untested) 2022-10-12 08:24:30 +02:00
Aevann1 83aa914865 more consistency in templates 2022-10-10 07:23:02 +02:00
Aevann1 acbfbb07ce rework "are you sure?" and make it work on subscribing to posts and reverting admin actions 2022-10-08 08:06:46 +02:00
Aevann1 137fa7c6d6 remove unused blocks + allow banners to be expandable everywhere 2022-10-08 04:04:46 +02:00
Aevann1 b608a514e4 Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-10-07 05:25:37 +02:00
Aevann1 2d2a35d7ca make giving awards not refresh the page 2022-10-07 05:25:34 +02:00
justcool393 931cee2393 fix syntax error 2022-10-06 02:41:03 -07:00
justcool393 eeca9617bd post comment moderation tools visible permission 2022-10-06 02:33:46 -07:00
justcool393 397cf68abd view vote buttons on user page 2022-10-06 01:14:32 -07:00
justcool393 02d0e2043e rename APPS_MODERATE to APPS_MODERATION 2022-10-06 00:40:36 -07:00
justcool393 767093d060 add perms for things we don't really know what they are 2022-10-06 00:32:05 -07:00
justcool393 f5be49c336 some template end stuff
i feel like this one is ehhhh and might have to be fixed at some point
i'm not sure where some of these things are used, the templates really need to be refactored
2022-10-06 00:17:12 -07:00
justcool393 9b8a3f21ab templateend hats, marseys, apps, notifications, etc 2022-10-05 23:56:37 -07:00
justcool393 9bb7b3758f distinguish stuff 2022-10-05 21:19:11 -07:00
justcool393 2fc3044d5b shadowban perms and stuff 2022-10-05 19:24:37 -07:00
justcool393 d5a48871f8 user ban and also fix global hole mod a bit i hope i didn't screw up the templates 2022-10-05 18:58:43 -07:00
justcool393 04f24cd8fd content moderation permission level
holy crap there's a lot
2022-10-05 17:57:08 -07:00
Aevann1 fabbc7a1a3 allow hole jannies to mark posts and comments in their holes as +18 2022-10-04 22:10:59 +02:00
Aevann1 03e925fb3c use ban_reason column as a reason for shadowbanning too 2022-09-29 08:36:59 +02:00
Aevann1 6c1237eaa6 remove hand pointer from exile symbol 2022-09-29 07:53:36 +02:00
Aevann1 a3a7ec6296 improve JC's previous cc PR 2022-09-25 04:32:51 +02:00
Snakes a3664e252c
assetcache: change asset_siteimg macro to filter. 2022-09-24 03:14:20 -04:00
Snakes 98936efe60
assetcache: apply to all CSS and JS assets. 2022-09-24 03:04:06 -04:00
justcool393 a51bfa3d4c
country club leak fix (#370) 2022-09-24 02:37:32 +02:00
Snakes 7b9ac8e13b
Fix Thin badge popover sizing; expand assetcache. 2022-09-23 18:38:53 -04:00
Aevann1 ea34a00571 fix collapsing happening in main notif page 2022-09-23 15:12:20 +02:00
Aevann1 97dc727e22 cachebust 2022-09-20 23:22:58 +02:00
Aevann1 6f28acf4ae fix last commit 2022-09-20 20:58:20 +02:00
Aevann1 c10342e835 fix error in console 2022-09-20 20:54:52 +02:00
Aevann1 f54791cc4c remove categories 2022-09-19 20:04:30 +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 94ed6a2d38 blocking adjustments 2022-09-13 12:27:28 +02:00
Aevann1 7e811b47fb reporting improvement 2022-09-12 11:48:01 +02:00
Aevann1 0c1ea35137 make highlights consistent 2022-09-11 11:16:45 +02:00
Aevann1 3b515e0e33 fix notifs margins 2022-09-11 06:10:29 +02:00
Aevann1 bd7c0e71bf forgot to cachebust 2022-09-10 11:34:48 +02:00
Aevann1 b99cc4a8aa remove surgical tools I forgot in the patient's body 2022-09-10 10:42:17 +02:00
Aevann1 30bdee98b2 fix comment level 10 bug, thanks @everyone 2022-09-10 02:47:48 +02:00
Aevann1 00b71e0bc5 restore the original emoji icon 2022-09-10 01:52:52 +02:00
Aevann1 23338e8172 try to fix the wrong method error on giving awards 2022-09-08 21:21:41 +02:00
Aevann1 4791e7b14b revert icon change 2022-09-08 19:24:00 +02:00
Aevann1 e9445efc22 make bootstrap work on localhost 2022-09-08 19:12:46 +02:00
Aevann1 f4e4ff3839 comsetic shit 2022-09-08 17:38:27 +02:00
Aevann1 05bacd1efc change reporting flow 2022-09-07 03:22:40 +02:00
Aevann1 b2d134fa6c update glowing hat 2022-09-06 23:15:35 +02:00
Aevann1 d0cfd8a8c1 change house femboy award 2022-09-06 06:16:41 +02:00
Aevann1 73dbb2dd7e change t2_ and t3_ to p_ and c_ 2022-09-06 00:52:22 +02:00
Aevann1 b3a56ca168 more hat shit 2022-09-05 06:33:08 +02:00
Aevann1 34c6842018 make the tooltip be "hat - description" 2022-09-05 05:55:41 +02:00
Aevann1 970cf6dccd update Sparkles and Emo Hair II 2022-09-05 03:58:05 +02:00
Aevann1 71b5367874 cachebust all css and js 2022-09-05 01:50:43 +02:00
Aevann1 0c32d56cd6 casino + style shit 2022-09-05 01:15:37 +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 7a3a1a883c update nervous sweating hat 2022-09-04 20:59:50 +02:00
Aevann1 027bad8aeb dudup popover 2022-09-04 01:42:59 +02:00
Aevann1 8f4236a294 fix samsung browser 2022-09-03 21:19:18 +02:00
Aevann1 5feb479cd2 apply slur filter to hat descriptions 2022-09-03 20:55:03 +02:00
Aevann1 0839077838 fix pup mask 2022-09-03 04:48:27 +02:00