Commit Graph

74 Commits (769185ea55f0b654b31a6d66ecd3ccecd96a677c)

Author SHA1 Message Date
Aevann 83877ea931 stop translation of formkey 2024-03-01 19:03:28 +02:00
Aevann 3243c58985 change this https://watchpeopledie.tv/h/meta/post/61549/megathread-for-bugs-and-suggestions/2681468#context 2024-02-29 23:52:35 +02:00
Aevann 1f677d5207 fix this https://watchpeopledie.tv/h/meta/post/61549/megathread-for-bugs-and-suggestions/2639478#context 2024-02-12 15:36:50 +02:00
Aevann 9e00c94ecf restore warrant canary to /contact 2024-01-23 14:36:51 +02:00
Aevann e084cf0b54 remove \n 2023-12-01 17:44:12 +02:00
Aevann 491607b72c fix submit button in /contact 2023-10-17 21:42:29 +03:00
Aevann 20ef42b9e2 fix format buttons 2023-10-05 17:57:22 +03:00
Aevann 4274d1633f split macros.file_input into 3 in preparation for next commit 2023-10-05 13:57:32 +03:00
Aevann 416ecf3558 dedup some html code 2023-08-14 17:28:27 +03:00
Aevann 39098fe323 kitchen sink commit 2023-08-12 00:50:23 +03:00
Aevann 5e0bd47da0 do this https://rdrama.net/h/changelog/post/165657/changelog-megathread-marseynotes/4688748#context 2023-07-30 10:12:26 +03:00
Aevann f3a0080698 remove useless tabs 2023-05-06 00:47:07 +03:00
Aevann e1c534f058 remove unnecessary description 2023-03-07 02:54:34 +02:00
Aevann b2c7ca31da move disabling buttons to bottom.js 2023-03-07 02:21:08 +02:00
Aevann f319d8f1f1 use .fl-r instead of style="float:right" 2023-02-27 19:29:43 +02:00
Aevann 5b71b0a81a refactor file upload 2023-02-27 17:02:35 +02:00
Aevann 6ac9b32834 allow positioning of files 2023-02-26 14:08:37 +02:00
Aevann 57e72a7641 replace /send_admin with /contact 2023-01-29 11:30:30 +02:00
Aevann 5502715122 replace type="hidden" with hidden 2023-01-24 07:10:16 +02:00
Aevann 47dc6da582 allow pasting images in initial modmail and DMs 2023-01-23 14:00:04 +02:00
Aevann f0b20cad55 the worst fucking code you'll ever see 2022-12-30 14:14:18 +02:00
Aevann 96665bce86 minor padding change 2022-12-29 09:12:29 +02:00
Aevann 070a22d02e remove accessiblity shit 2022-12-25 04:10:56 +02:00
justcool393 ab41db22b7 [DO NOT MERGE] multiple sub banners (#59)
allows multiple sub banners

Snakes note: By request of Carp, especially for WPD.

Co-authored-by: justcool393 <justcool393@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: rDrama/rDrama#59
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-11 23:44:34 +00:00
justcool393 eafae40aca titles: fix all titles where needful 2022-11-19 16:20:52 -06:00
justcool393 e1634d0940 modals: move all modals to a modals dir 2022-11-15 17:15:53 -05: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 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 cfd4b6399f use mailgun again 2022-10-08 02:44:02 +02:00
Aevann1 a7acbe9831 show our email to loggedout visitors in /contact 2022-10-01 12:14:46 +02:00
Aevann1 00b71e0bc5 restore the original emoji icon 2022-09-10 01:52:52 +02:00
Aevann1 4791e7b14b revert icon change 2022-09-08 19:24:00 +02:00
Aevann1 f4e4ff3839 comsetic shit 2022-09-08 17:38:27 +02:00
Aevann1 0f11312d24 add house awards 2022-08-27 04:57:19 +02:00
Snakes c25ab027a0 Add link to new canary location. 2022-07-07 03:31:32 -04:00
Snakes 425e6860ac Remove vestigial email field from /contact. 2022-07-04 15:33:05 -04:00
Aevann1 ef3843f628 add timer to re-enable form buttons after 1 second 2022-06-24 04:53:31 +02:00
Aevann1 4d692bebe8 make all form-submitting buttons get disabled after clicking
so spergs like me with poor motor control don't click twice and get hit with 429
2022-06-23 22:49:23 +02:00
Aevann1 d9cdbd0015 return to only allowing images/videos/audio 2022-06-19 18:56:45 +02:00
Aevann1 ccdabcba29 allow uploading of all types of files (using lain.la)
+ allow multiple file upload in bios and messaging admins
2022-06-18 17:53:34 +02:00
Aevann1 0a74a98ec5 big ass commit 2022-05-23 00:15:29 +02:00
Aevann1 6b10d097a2 mn 2022-05-05 01:09:46 +02:00
Aevann1 3b513d0841 gfd 2022-04-10 01:41:36 +02:00
Aevann1 f207794418 sdf 2022-03-26 14:04:28 +02:00
Aevann1 a9f6f5a0e0 post 2022-03-19 18:19:02 +02:00
Aevann1 6e2ece2dc4 bcv 2022-02-04 06:41:34 +02:00
Aevann1 898ee7afb7 fddf 2022-02-01 04:20:25 +02:00
Aevann1 92a24b5b2f bbb 2022-01-14 08:40:30 +02:00
Aevann1 f7d8c7284d b 2022-01-14 01:39:39 +02:00