Commit Graph

63 Commits (87be8d1743742bf01112bff04d44eed394399478)

Author SHA1 Message Date
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
Aevann1 2c0b81297d sfd 2022-01-06 23:38:54 +02:00
Aevann1 2c7a98e433 big one 2022-01-06 18:46:09 +02:00
Aevann1 1f3050c673 fds 2022-01-01 21:16:37 +02:00
Aevann1 89798803af dfs 2021-12-30 07:27:22 +02:00
Aevann1 c6a1514b32 fds 2021-12-29 18:01:01 +02:00
Aevann1 6d3831e689 fsd 2021-12-29 10:29:22 +02:00
Aevann1 ea4ce40b2f fds 2021-12-28 16:11:50 +02:00
Aevann1 d5be93399c fsd 2021-12-28 14:41:26 +02:00
Aevann1 271a8cdc41 dfsfds 2021-12-27 07:07:19 +02:00
Aevann1 1c9567b240 i pray 2021-12-15 00:48:37 +02:00
kek7198 49b564ab88 fix 2021-12-11 21:28:31 -06:00