justcool393
19b73f8e7e
api: fix some missing imports
2022-11-26 14:46:49 -06:00
justcool393
e1f785c370
Merge branch 'docs' into 'master'
2022-11-26 14:40:32 -06:00
justcool393
3fb647dd13
const: use dict.update instead of... what I did initially
2022-11-26 14:31:20 -06:00
justcool393
ae50cc2772
const: rename constants from LIMIT to MINIMUM
...
the new name is much much clearer
2022-11-26 14:20:44 -06:00
geese_suck
d2c407d860
fix publish button alignment
2022-11-26 12:20:22 -08:00
Marco
af74c7c1fc
Update chud award to include forced trans/pride flag hats ( #10 )
...
Disclaimer: I made these changes in Notepad and didn't bother to test this change locally.
Co-authored-by: Marco <bussylmao@gmail.com>
Reviewed-on: #10
Co-authored-by: Marco <marco@noreply.fsdfsd.net>
Co-committed-by: Marco <marco@noreply.fsdfsd.net>
2022-11-26 20:14:31 +00:00
Aevann1
b93bf4daae
dont convert username to lowercase for !YOU!
2022-11-26 22:11:07 +02:00
Aevann1
39bb04bdb8
remove TS limit for !YOU!
2022-11-26 22:10:40 +02:00
Aevann1
bb153e541d
Revert "you posts: constantify truescore requirement"
...
This reverts commit 1b721126a2
.
2022-11-26 22:09:07 +02:00
Aevann1
98a0f37e59
Revert "user and"
...
This reverts commit 0b146d0b7b
.
2022-11-26 22:08:54 +02:00
justcool393
b6c9af7f13
settings2: remove unused blocks
2022-11-26 13:42:40 -06:00
justcool393
0b146d0b7b
user and
2022-11-26 13:40:34 -06:00
justcool393
1b721126a2
you posts: constantify truescore requirement
2022-11-26 13:39:31 -06:00
justcool393
684dd0c1c1
log: fix word wrap bug
...
log: remove network bloat by abt 10x
2022-11-26 13:08:38 -06:00
float trip
df4eb02c0e
Allow API clients to view !YOU! submissions.
2022-11-26 18:06:04 +00:00
Aevann1
d624dbe2de
fix this https://rdrama.net/post/125682
2022-11-26 08:11:00 +02:00
Aevann1
8a80616f84
insanely ghetto solution to long back-and-forth chains in notifs
2022-11-26 07:52:37 +02:00
Aevann1
4eb66e5802
fix login redir bug
2022-11-26 07:38:59 +02:00
Aevann1
a8c6daa431
fix console error
2022-11-26 07:34:50 +02:00
Aevann1
86b352d301
"my brother in christ" becomes "my brother in Allah"
2022-11-26 07:06:52 +02:00
Aevann1
7cb4740426
snned
2022-11-26 07:02:34 +02:00
Aevann1
9c773b02a5
sneed
2022-11-26 06:59:07 +02:00
Aevann1
a641acaf8f
use sets instead of lists in some statements
2022-11-26 06:52:47 +02:00
Aevann1
6dd4f2492d
fix api app link
2022-11-26 06:41:56 +02:00
Aevann1
243f3da00c
fix "Posts" tab in /app
2022-11-26 06:36:14 +02:00
Aevann1
08d0fd605e
tweak API App button
2022-11-26 06:34:04 +02:00
Nekobit
f59f641331
Merge branch 'docs' of fsdfsd.net:nekobit/rDrama into docs
2022-11-25 23:31:49 -05:00
Nekobit
dea8c3f7e3
docs: Remove unneccesary imports; @auth_desired
2022-11-25 23:30:49 -05:00
Aevann1
b3c47f5598
tell ppl how much Truescore they need to see /h/chudrama
2022-11-26 06:22:09 +02:00
Aevann1
0f3d3ce8a1
fix offline.html
2022-11-26 06:16:22 +02:00
Aevann1
d8bf2cf702
minor css fix
2022-11-26 06:12:36 +02:00
geese_suck
cdbb98f8f3
fix offline page scaling ( #16 )
...
Co-authored-by: geese_suck <16601315+geese-suck@users.noreply.github.com>
Reviewed-on: #16
Co-authored-by: geese_suck <geese_suck@noreply.fsdfsd.net>
Co-committed-by: geese_suck <geese_suck@noreply.fsdfsd.net>
2022-11-26 04:10:59 +00:00
Aevann1
bcbf524fbe
make sure stickied child comments are always at the top place they can be
2022-11-26 06:01:20 +02:00
Aevann1
0134302440
remove kf
2022-11-26 05:29:09 +02:00
SneedBot
5e73efcf46
sneed
2022-11-26 03:14:13 +00:00
Aevann1
925c38a5bc
include AHS and restore miners rule
2022-11-26 05:14:00 +02:00
Aevann1
fc7b21679a
restore classic /r/drama sidebar
2022-11-26 04:59:17 +02:00
justcool393
cfffbc61a0
the request is prolly boned anyway, let's help friends help me :)
2022-11-25 20:57:24 -06:00
SneedBot
1b9bb2960d
sneed
2022-11-26 02:29:58 +00:00
SneedBot
c3388bcc08
sneed
2022-11-26 02:29:58 +00:00
Aevann1
bade9508e0
do this https://rdrama.life/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3137192?context=8#context
2022-11-26 04:29:49 +02:00
Aevann1
c22890dc99
make offline.html use tabs instead of spaces
2022-11-26 04:29:49 +02:00
justcool393
992e4a0d1c
don't want to crash on our precious logging code
2022-11-25 20:22:55 -06:00
justcool393
ba6e4721d3
calc users: log so we can find the root of this problem
2022-11-25 20:21:38 -06:00
justcool393
46204ea223
ranking: be site specific when boosting users or excluding users from boosts
...
otherwise we may unintentionally rank for the wrong users (since we're using literal IDs)
2022-11-25 20:04:09 -06:00
Aevann1
5523747c3a
fix 500 error
2022-11-26 04:02:41 +02:00
Aevann1
6a94ac3aa9
since lawlz got demopped, make his automatic mod actions be executed by autojanny instead
2022-11-26 03:56:04 +02:00
Aevann1
40b8d1c8d7
stop centering media in submission_listing.html and make it consistent with submission.html
2022-11-26 03:50:21 +02:00
Aevann1
bf72234873
remove SITE url from badge urls to make them relative in the event of a future domain change
2022-11-26 03:45:20 +02:00
Aevann1
9fe0bcfc58
compliment aeb1916b01
2022-11-26 03:39:53 +02:00
Aevann1
e96274308a
sneed
2022-11-26 03:31:17 +02:00
Aevann1
0f984b121a
add "negroid" to slur filter
2022-11-26 03:19:22 +02:00
justcool393
35b1532bb4
admin: remove meme admin vestige
2022-11-25 19:15:39 -06:00
Aevann1
5e2f449df7
fix prev commit lol
2022-11-26 01:52:39 +02:00
Aevann1
c470cb7516
make shit award not give DC
2022-11-26 01:50:25 +02:00
Aevann1
0bd96112d1
add joan to BOOSTED_USERS
2022-11-26 01:49:21 +02:00
Aevann1
88ed437c9b
add quad to BOOSTED_USERS
2022-11-26 01:43:23 +02:00
Aevann1
68060ee56e
add dailystormer.in to BOOSTED_SITES
2022-11-26 01:39:37 +02:00
Aevann1
642d19b861
move ratelimit_user after auth
2022-11-26 01:37:04 +02:00
Aevann1
faf8e4ed2f
dude consistency lmao
2022-11-26 01:25:15 +02:00
Aevann1
bf4031c832
remove annoying excalmation sign in notifs
2022-11-26 01:18:24 +02:00
Nekobit
2e1d2cb774
Merge branch 'master' into docs
2022-11-25 22:27:15 +00:00
justcool393
7e403469cd
polls: constantify max poll options
2022-11-25 16:12:25 -06:00
justcool393
f86d351ac4
fix saved subscribers stuff
2022-11-25 16:06:18 -06:00
Aevann1
e4b521a63f
limit polls to 10 options to prevent spam
2022-11-25 23:33:38 +02:00
Aevann1
c5446b3a39
do this https://rdrama.life/post/125878/colorado-shooter-proves-his-idpol-credentials/3129042?context=8#context
2022-11-25 23:01:35 +02:00
Aevann1
2938f930fd
make me not see modmail, if its important the other jannies will tell me
2022-11-25 22:56:11 +02:00
Nekobit
af4411b0d7
Documentation page
2022-11-25 15:36:29 -05:00
justcool393
0356c589a4
api: don't hit calc_users if this is the API
...
sometimes we render HTML where we probably... shouldn't. in most cases
this is fine, but if API clients hit it it can errenously set
2022-11-25 14:31:07 -06:00
Aevann1
3dee4afa6f
make "snekchad" ping sneks
2022-11-25 21:36:37 +02:00
Aevann1
f672037021
remove lmbo profanity filter
2022-11-25 21:36:09 +02:00
Aevann1
feb7fc2cf4
fix 61a4ab4f39
2022-11-25 21:35:13 +02:00
Aevann1
887f2e62a1
remove sitemap.xml
2022-11-25 21:34:12 +02:00
justcool393
37c8d77f3f
submit: don't disable submit button by default
...
this doesn't create an issue because HTML form validation does work here
2022-11-25 13:18:43 -06:00
justcool393
23505c68b3
errors: use abort for sign up errors
2022-11-25 12:27:18 -06:00
justcool393
61a4ab4f39
css: fix alignment on ghost posts
2022-11-25 11:49:37 -06:00
justcool393
816389cf28
security: fix DoS on title getter
...
the `timeout` parameter only applies to seconds per *byte* received (and time to first
byte), not the entire request
this means an attacker could theoretically send a very... slow...
stream... of... bytes... and... crash... the... worker... when... the...
timeout... is... reached...
2022-11-25 07:10:05 -06:00
SneedBot
6b052b05cf
sneed
2022-11-24 01:32:24 +00:00
Snakes
0254ff6567
Restrict New User hat to rDrama.
2022-11-23 20:28:39 -05:00
AverageBen10Enjoyer
c37c8be209
Removing references to old repo
2022-11-23 21:19:39 +00:00
justcool393
042edf15bd
make antispam a bit less :marseyshook:
2022-11-23 14:45:09 -06:00
Snakes
654da03435
De-Githubify repo.
...
- Remove Github-specific tooling.
- Add fsdfsd.net to approved embed hosts.
- Switch link in navigation menu.
2022-11-23 12:24:13 -05:00
Snakes
a8af755d7a
PCM: add banner.
2022-11-23 12:11:22 -05:00
justcool393
2383608718
Revert "fsdfsd"
...
This reverts commit b0c0c76eef
.
2022-11-23 10:29:20 -06:00
justcool393
b0c0c76eef
fsdfsd
2022-11-23 10:28:17 -06:00
SneedBot
1c044a1f96
sneed
2022-11-23 02:00:33 +00:00
Snakes
c4df942846
Fix roulette '0' bet placement & display.
2022-11-22 21:00:03 -05:00
Snakes
00880ccadc
zoz
...
zle
zozzle
2022-11-22 19:09:42 -05:00
Snakes
a45965a190
Disable flair setting UI when flairlocked.
2022-11-22 18:47:32 -05:00
Snakes
af7df7f62d
Ensure all entry points get sessions.
...
Somewhat speculative, but the change in f62a9769fd
, while fixing
certain errors where logged-out users sometimes didn't have sessions
come calc_users, also opened the possibility of certain request
sequences that wouldn't give a user a session.
In the interest of conservatism, we create a session if not exists
in both the new location in calc_users and the previous spot in
before_request.
2022-11-22 18:37:55 -05:00
SneedBot
2d513e862e
sneed
2022-11-22 23:13:44 +00:00
Snakes
31f705e600
Hide mobile navbar covering bottom of /submit.
2022-11-22 18:13:23 -05:00
Aevann1
9c3f520aa7
use snek's formatDate everywhere
2022-11-23 00:36:33 +02:00
Aevann1
755cfbf335
temp fix to shitting up console
2022-11-23 00:23:04 +02:00
Aevann1
4ab178ea07
fix prev commit
2022-11-23 00:12:32 +02:00
Aevann1
3ddeba7e8d
disable user.newtab for PWA users
2022-11-23 00:05:31 +02:00
Aevann1
8b57b5dc9d
fix wrong variable (good thing i didnt pull to prod lol)
2022-11-22 23:58:57 +02:00
Aevann1
8776cbca53
do this https://rdrama.net/post/125190/gamingcirclejerk-marseygamer-plays-themselves/3115522?context=8#context
2022-11-22 23:45:50 +02:00
Aevann1
3ecb79d1d3
Revert "stop spamming the console"
...
This reverts commit 3cd1734390
.
2022-11-22 23:42:52 +02:00
Aevann1
1e4e0c5391
add a space after one profanity filter
2022-11-22 23:37:37 +02:00
SneedBot
e2dd5e3dad
sneed
2022-11-22 21:34:51 +00:00
Aevann1
9e89166e2f
restore reload icon for legacy app users
2022-11-22 23:34:33 +02:00
Aevann1
6a6b4c46b8
fix typo
2022-11-22 23:28:51 +02:00
Aevann1
e198102383
repurpose "upvoted" to "voted"
2022-11-22 23:28:30 +02:00
Aevann1
ff9e0956ef
sneed
2022-11-22 23:24:14 +02:00
Aevann1
d9dd562814
sneed
2022-11-22 23:23:31 +02:00
Aevann1
3336e267df
sneed
2022-11-22 23:23:23 +02:00
Aevann1
1ab3835a09
add .host and .art
2022-11-22 23:20:24 +02:00
Aevann1
4640abed4b
remove hole nerf
2022-11-22 22:25:48 +02:00
justcool393
6acd896967
sbs: since propagation isn't optional anyway, let's propagate on a ban to get their alts
2022-11-22 09:51:44 -06:00
Aevann1
5f628d7c41
move purge_files_in_cache to the bottom
2022-11-22 17:49:15 +02:00
Aevann1
0b1f166211
remove "alts" checkbox for shadowbanning since shadowbans propagate anway via check_for_alts()
2022-11-22 17:44:16 +02:00
justcool393
b0ff8916a5
win loss stats to casino games ( #475 )
...
* casino: add stats to casino
* casino: stats should target the right thing
casino: properly style
* pluralize properly
* refactor casino leaderboards :marseytroublemarker:
* fsfsdsd
* fsdsdsdsd
* i'm r-slurred
* -
2022-11-22 07:11:01 -08:00
justcool393
007e41e7d0
security: validate YouTube link IDs
2022-11-22 06:13:44 -06:00
SneedBot
31b134d93f
sneed
2022-11-22 06:16:05 +00:00
Snakes
0288ce04ba
Convert GIF emoji to actual WEBPs.
2022-11-22 01:15:31 -05:00
SneedBot
8c603e181d
sneed
2022-11-22 04:09:26 +00:00
Snakes
9eab252e5b
Fix reply/mention notifications from muted users.
...
Consider the case of the current /notifications filter condition:
WHERE ... NOT ((comments.sentto = 2) AND (users.is_muted))
SELECT 1 WHERE NOT ((null = 2) AND (true)); ⇒ 0 rows
SELECT 1 WHERE NOT ((1 = 2) AND (true)); ⇒ 1 row
SELECT 1 WHERE NOT ((2 = 2) AND (true)); ⇒ 0 rows
We want the first expression, where comments.sentto = null, to evaluate
to false, not to null, so it negates to true. Behavior as written is:
SELECT 1 WHERE NOT ((null = 2) AND (true)); →
SELECT 1 WHERE NOT (null AND true); →
SELECT 1 WHERE NOT null; →
SELECT 1 WHERE null;
Which guarantees a null return set. If we check first for non-nullity:
SELECT 1 WHERE NOT ((null IS NOT null) AND (null = 2) AND (true)); ⇒ 1
SELECT 1 WHERE NOT ((1 IS NOT null) AND (1 = 2) AND (true)); ⇒ 1
SELECT 1 WHERE NOT ((2 IS NOT null) AND (2 = 2) AND (true)); ⇒ 0
2022-11-21 23:08:31 -05:00
Snakes
6e1f03f480
Make comment removal UI consistent desktop/mobile.
2022-11-21 20:22:18 -05:00
Snakes
b8a3c8ea96
assetcache: include js/vendor dir.
2022-11-21 19:02:39 -05:00
Snakes
bef9ae8d0c
Fix Twitter embeds (caught in find-replace).
2022-11-21 19:02:23 -05:00
Snakes
adeb7acb38
archive_url: suppress errors on remote failure.
...
ghostarchive has been giving us 500 backs lately. They are making
an absolute mess of the log for a non-central, opportunistic feature,
and we already eat exceptions for archive.org. We merely extend that
to ghostarchive.
2022-11-21 18:52:21 -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
Snakes
9e4c89ad1b
home.html: use sub.name explicitly.
...
Currently relies on Sub.__repr__ in many cases, which was causing
errors when concatenated. Switched to concatenation using `~` also,
just in anticipation of future errors.
2022-11-21 17:52:38 -05:00
justcool393
9cf1c026b3
remove checks that are needful
2022-11-21 15:51:47 -06:00
justcool393
6ea052b98a
roulette: only check greenness where needful
2022-11-21 15:36:38 -06:00
Snakes
94e0e2fb5d
Extend ghost award prohibition to HOUSE_AWARDS.
2022-11-21 16:25:47 -05:00
justcool393
ad55593257
fix prev commit
2022-11-21 15:23:35 -06:00
justcool393
ecb491a83c
convert if else to ternary in home.html
2022-11-21 15:22:56 -06:00
justcool393
63c3c9f678
fix prev commit
2022-11-21 15:13:22 -06:00
justcool393
a30dcfb3c3
add missing page title (for meta tag)
...
@geese-suck are you happy now
2022-11-21 15:13:00 -06:00
justcool393
af8d4b3d41
remove unnecessary set
2022-11-21 14:54:42 -06:00
SneedBot
12e13c240f
sneed
2022-11-21 20:21:47 +00:00
justcool393
d7e4754a3c
head: fix head with no sub
2022-11-21 14:02:50 -06:00
Aevann1
596cf967a2
go back to CRGD's cervix worker
2022-11-21 21:22:02 +02:00
Aevann1
93f189c03b
revert prev commit
2022-11-21 21:13:45 +02:00
SneedBot
b09d3538a6
sneed
2022-11-21 19:04:04 +00:00
Aevann1
533a4c6086
try smth real quick, sry sneks and jc, couldnt get deux to work
2022-11-21 21:03:50 +02:00
Aevann1
71a5b763dc
make number clearer
2022-11-21 21:02:21 +02:00
Aevann1
e27bebcb06
dont go to /app if ppl click on the X
2022-11-21 20:52:08 +02:00
Aevann1
29452e2e6e
dont show annoying popup to PWA users
2022-11-21 20:45:27 +02:00
Aevann1
9668c6729f
cachebust manifest
2022-11-21 20:41:38 +02:00
Aevann1
1771f34069
make service-worker work for logged-out-cels and update it
2022-11-21 20:35:12 +02:00
Aevann1
6b00482180
remove leftover pwa js code
2022-11-21 20:31:53 +02:00
Aevann1
087ba467db
switch PWAs to minimal-ui and delete and the target _blank js code
2022-11-21 20:30:11 +02:00
Aevann1
3f0966bf03
remove target="_blank" for PWA users
2022-11-21 19:41:40 +02:00
Aevann1
f272989735
Revert "stop adding target="_blank" in the backend and move it to the frontend (to accomodate PWA users) - THANK YOU GEESE I LOVE YOU SO MUCH ( #473 )"
...
This reverts commit 88f3cd519d
.
2022-11-21 19:37:38 +02:00
Aevann1
a252f94e32
fix frontpage toggles on small screens
2022-11-21 19:31:03 +02:00
Aevann1
0d6b26d404
sneed
2022-11-21 19:09:04 +02:00
Aevann1
2f31fdfdd7
Revert "remove User.newtab and see if anyone complains"
...
This reverts commit 787c89961f
.
2022-11-21 18:55:13 +02:00
justcool393
79b2b5cff8
cookies: set SameSite Lax to get rid of annoying console warning
2022-11-21 09:36:34 -06:00
Aevann1
423418e488
remove stray console.log
2022-11-21 17:32:32 +02:00
justcool393
427d8f643d
ratelimiting: use ratelimit_user everywhere
2022-11-21 09:30:27 -06:00
Aevann1
88f3cd519d
stop adding target="_blank" in the backend and move it to the frontend (to accomodate PWA users) - THANK YOU GEESE I LOVE YOU SO MUCH ( #473 )
...
* test
* bleg
* remove User.newtab and see if anyone complains (#471 )
* fddf
2022-11-21 07:14:26 -08:00
justcool393
f52aec0477
fix betting on 0
2022-11-21 09:13:14 -06:00
justcool393
4d096a5bb6
make roulette cute and valid python syntax
2022-11-21 09:10:41 -06:00
justcool393
9f51259ee6
[DO NOT MERGE] roulette 0 and 00 bets redux ( #470 )
...
* backend support for roulette betting on 0 and 00
* casino: roulette: add 0 and 00 frontend
* add spacer
* roulette: fix the thing
* don't payout where needful not to
* sanity check
* roulette: validate requests properly
* roulette actions from API make more sane
2022-11-21 06:44:16 -08:00
Aevann1
787c89961f
remove User.newtab and see if anyone complains
2022-11-21 16:36:17 +02:00
Aevann1
9488d3309f
small twitter js fix
2022-11-21 16:21:45 +02:00
Aevann1
1de69518be
stop forcing posts in /h/chudrama
2022-11-21 16:13:21 +02:00
justcool393
153fb4e2a2
[DO NOT MERGE] titlesssssssssss ( #468 )
...
* titles
* testing
* self
* Revert "self"
This reverts commit d6c12d5a5ba125feb44673f55e1fdac75f151cb5.
* Revert "testing"
This reverts commit 86d800f9fd552196b31f0e0b3891d4fc072a9bc0.
* testing on devrama
* rewrite the html head
* reference error or smth idk
* tempalte debug
* template debug redux
* default2
* rename default2 -> root, page title
* fix settings2
* include the set_variables block
* root scope variables 2
* test 3
* remove unnecessary set
* add pagetitles to all settings2 pages
* add pagetitle to casino
* remove bloat
* remove duplicate site name thingy
* page titles 2
* page titles 3
* remove duplicate imports and add page titles everywhere iirc
* ok but actually this time
* remove unnecessary newlines
* fix title lol
* >
* fsdfsfsfsfsfs
* fsfs
* template configurations
* fix 500
* reduce login template bloat
* move files and add status codes where needful
* move authfroms to login
* remove 2fa bloat
* verification code
* sign up fixes
* readability
* fssfsfsfs
* move forgot password to login/
* readability
* don't emit comments
* add page titles where needful
* gsgsgs
* modals: move to respective pages
* testing on devrama
* get home garbage out of title
* remove insane amount of icon duplication
* sign up text
* add votes pagetitle
* fix blank lines
* Revert "fix blank lines"
This reverts commit b2c54339970725d00b6fc82bb458c1757909952c.
* Fix blank lines on sign_up.html.
* title: votes.html more meaningful identifier.
* titles: Lottery, Directory, Notifications
* head final in submission.html
* fix missing comma
* >
* test
* title: /comments
* fsfsfsfsf
* titles: user_cards
* head: only load video and audio meta attributes if they actually exist
* titlessssss: /admin/lottery/participants
* titlessssssss: extra quote in search.html
* titlessssss: userpage voters.
* titties: /h/<sub>/{followers,blockers,exilees[sic]}
* test banner
* Revert "test banner"
This reverts commit c3d875d03f3e60d72a60dab7d28bf108554a5826.
* make submit.html inherit from default.html
Co-authored-by: TLSM <duolsm@outlook.com>
2022-11-21 02:52:22 -06:00
Snakes
3724edbd47
PCM: disable sidebar image (by request).
2022-11-21 01:00:40 -05:00
Snakes
0095012e02
Fix offsitementions erroring on AEVANN_ID.
...
Also re-wrap the string literals for soft ruler 80, hard ruler 100.
Who are you people who read code with word wrap enabled.
2022-11-21 00:58:17 -05:00
gooseman
4c770c0b87
fix whitespace removal
2022-11-20 20:57:20 -08:00
geese-suck
63fd0bd6ba
make login/signup work on local
2022-11-20 18:28:05 -08:00
Aevann1
cb2fd8e43f
increase approve hat ratelimit per minute from 30 to 120
2022-11-21 03:18:02 +02:00
Aevann1
e82d92d844
default response code is 200, dont need to specify it
2022-11-21 03:13:31 +02:00
Aevann1
0c9ed95c55
allow me and sneks to award carp and pizzashill
2022-11-21 03:12:01 +02:00
Snakes
220409c8fb
Fix 62ffe2d628: returning document, must send 200.
2022-11-20 20:11:17 -05:00
Aevann1
62ffe2d628
use postToast in betting so the js deducting coins only execute if responde code is < 300
2022-11-21 03:00:16 +02:00
Snakes
1f234ef67d
Actually call total_bet_voted in betting poll.
...
Currently always truthy because it's a non-None first-class function.
2022-11-20 19:56:28 -05:00
gooseman
81682c7a28
mdns chads cant stop winning
2022-11-20 16:41:45 -08:00
Snakes
44ef4bc551
search: fix tsquery when quoted unstripped space.
2022-11-20 19:31:27 -05:00
Aevann1
d1078fb977
increase settings icons padding on mobile
2022-11-21 02:28:22 +02:00
Aevann1
15e978eecc
fix padding again
2022-11-21 02:25:33 +02:00
SneedBot
4bbbf97f07
sneed
2022-11-21 00:18:59 +00:00
SneedBot
7f50819fbe
sneed
2022-11-21 00:04:59 +00:00
Aevann1
2df67c810b
fix "toggle anthem" padding
2022-11-21 02:04:50 +02:00
Aevann1
6fbe5405e7
remove useless btn
2022-11-21 01:53:53 +02:00
Aevann1
bc6ff43cf7
fix missing 2 spaces
2022-11-21 01:51:52 +02:00
Aevann1
d9695a3bf0
restore offline.html
2022-11-21 01:50:48 +02:00
Aevann1
7498588c1d
remove missing script
2022-11-21 01:45:21 +02:00
Aevann1
3b56712dd8
try offline cervix worker again (YOLO)
2022-11-21 01:40:48 +02:00
Aevann1
0c9d19c7eb
add safari and firefox screenshots to /app
2022-11-21 01:31:26 +02:00
Aevann1
ccfc71290d
fix 500 error
2022-11-21 01:20:57 +02:00
Aevann1
3b84624eb9
reword PWA begging tooltip
2022-11-21 00:53:14 +02:00
Aevann1
49d0db4411
css fix
2022-11-21 00:44:20 +02:00
Aevann1
6c4a8c44dc
give WPD and PCM their own PWA icons
2022-11-21 00:43:06 +02:00
Aevann1
fcdb358a8f
css fix
2022-11-21 00:29:10 +02:00
Aevann1
f5f40689a1
remove unnecessary line
2022-11-21 00:22:14 +02:00
Aevann1
caabaf0c6f
expand IS_LOCALHOST
2022-11-21 00:16:49 +02:00
Aevann1
35f6b39d27
build imagemagick from source again
2022-11-20 23:35:09 +02:00
Aevann1
da34a099a3
fix 500 errors
2022-11-20 21:05:32 +02:00
Aevann1
6b7b2ff59a
show only permachudded users in /chuds
2022-11-20 19:37:45 +02:00
Aevann1
36a0d48fe6
sneed
2022-11-20 19:21:19 +02:00
Aevann1
d354a86cbb
fix 500 errors
2022-11-20 19:00:05 +02:00
Aevann1
0baa32e6eb
fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3107571?context=8#context
2022-11-20 18:55:26 +02:00
Aevann1
f62a9769fd
fix annoying 500 errors
2022-11-20 18:46:15 +02:00
Aevann1
71807f7a27
fix toggle anthem bottom padding on own profile
2022-11-20 18:43:16 +02:00
Aevann1
bb8877a5d3
dont send me offsitemention notifs
2022-11-20 18:33:16 +02:00
justcool393
a2c4bca2da
polls: don't allow bets on closed polls
2022-11-20 10:11:47 -06:00
Snakes
23ff5450d6
Rename ranking constant by Capy request.
2022-11-20 06:31:16 -05:00
Snakes
db329f487f
User.pay_account everywhere, fix lottery payout.
2022-11-20 05:50:02 -05:00
Snakes
858ccab4ec
Fix userpage profilecss precedence, load order.
2022-11-19 21:19:06 -05:00
Snakes
f5563900ae
Un-nerf schizohole in rankings.
2022-11-19 21:19:06 -05:00
SneedBot
01ce9b267d
sneed
2022-11-20 01:45:02 +00:00
Snakes
6688311ac0
Fix submission report toggle with post_meta.
2022-11-19 19:10:35 -05:00
Aevann1
ddf2a3cf51
make new-user hat be 7 days
2022-11-20 00:48:24 +02:00
Aevann1
b40bc5ae79
add 's
2022-11-20 00:47:25 +02:00
Aevann1
eb83389530
fix mobile app icon
2022-11-20 00:46:19 +02:00
Aevann1
e0badfef00
fix "toggle anthem" button on ur own profile
2022-11-20 00:44:10 +02:00
Aevann1
aa205652fe
shorter title in app.html
2022-11-20 00:25:00 +02:00
Aevann1
68d42fc6a7
make the app page use WPD and PCM screenshots
2022-11-20 00:22:05 +02:00
justcool393
eafae40aca
titles: fix all titles where needful
2022-11-19 16:20:52 -06:00
gooseman
c9064fbedc
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-11-19 14:18:22 -08:00
gooseman
dcbacc6d04
newfriend hat :))
2022-11-19 14:18:13 -08:00
Aevann1
aaf8fd8d19
fix WPD and PCM manifests
2022-11-20 00:15:59 +02:00
gooseman
35cd14cf08
keep aevann from pissing and shitting and cumming his pants
2022-11-19 14:15:55 -08:00
gooseman
b2fefa2700
Update macros.html
2022-11-19 14:05:56 -08: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
37104be217
add exclusive android app posts
2022-11-19 23:22:03 +02:00
Aevann1
d2ac8348dc
update app to v2.8
2022-11-19 23:18:25 +02:00
Aevann1
6b5a71c62e
use imagemagick 7.1.0-52 instead of 6.9.11-60 (seems to have fixed the issues of images doubling in size) + don't recompress images that are already webp -- WARNING I HAVE NO IDEA WHAT IM DOING
2022-11-19 21:55:07 +02:00
gooseman
8719c057ee
de-doooplicate post meta
...
luv u aevann
2022-11-19 11:54:07 -08:00
gooseman
7c880e1582
fix hats getting cut off on posts
2022-11-19 10:59:47 -08:00
Aevann1
9e457165fa
make me and sneks mod all holes
2022-11-19 20:24:02 +02:00
Aevann1
4cb8508dea
make turnstile dark by default
2022-11-19 20:22:50 +02:00
Aevann1
5fa548e792
5rem -> 3.5rem
2022-11-19 20:13:30 +02:00
Aevann1
4eccfeb705
sneed
2022-11-19 18:23:53 +02:00
Aevann1
caff8815ee
restore pinning to how it was before JC raped it
2022-11-19 17:36:37 +02:00
justcool393
750a87713f
pins: fix removal behavior
2022-11-19 08:24:32 -06:00
justcool393
33878fcd02
remove unnecessary check
2022-11-19 07:46:23 -06:00
Aevann1
2b81c4b03c
Revert "Revert "sneed" (this is supposed to be like this)"
...
This reverts commit 5e773f9e75
.
2022-11-19 14:49:10 +02:00
justcool393
3fe1d196f1
newline at end of file
2022-11-19 06:48:42 -06:00
justcool393
5e773f9e75
Revert "sneed" (this is supposed to be like this)
...
This reverts commit b5aefda124
.
2022-11-19 06:45:54 -06:00
Aevann1
2362afa622
make the youtube code in sanitize be like the youtube code in posts.py
2022-11-19 06:44:07 -06:00
Aevann1
0be653e632
remove unecessary request when making a post linking to a yt video
2022-11-19 06:44:07 -06:00
Aevann1
b5aefda124
sneed
2022-11-19 06:44:07 -06:00
Aevann1
20a5f9f835
change container padding
2022-11-19 06:44:07 -06:00
justcool393
e54e31052a
add tildes.net to boosted sites
2022-11-19 06:44:07 -06:00
Aevann1
2df059f7c5
fix overflow on pin symbol
2022-11-19 14:42:23 +02:00
Snakes
38ac92b4aa
search: escape apostrophes.
2022-11-18 16:55:15 -05:00
Aevann1
7fe499ce41
remove unnecessary script attribute
2022-11-18 23:38:13 +02:00
Aevann1
599729f54a
use postToast in delete_post_modal
2022-11-18 23:35:38 +02:00
Aevann1
82579cdb71
use postToast in report_comment_modal
2022-11-18 23:32:48 +02:00
Aevann1
0e10dd6b32
use postToast in delete_comment_modal
2022-11-18 23:27:53 +02:00
Aevann1
2fd63d7474
I hate you and I hope you die a violent death
2022-11-18 23:11:03 +02:00
Aevann1
3cd1734390
stop spamming the console
2022-11-18 23:08:12 +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
justcool393
aaa6d6696e
lowercase it too
2022-11-18 14:39:52 -06:00
Aevann1
da49ac14b0
I will
2022-11-18 22:39:36 +02:00
Aevann1
6c6ea21fd8
im genuinely gonna kill some people, this is not a threat, this is a promise
2022-11-18 22:37:33 +02:00
justcool393
fc5d78a4a1
don't do it for the POST either
2022-11-18 14:34:23 -06:00
Snakes
2c81db79ef
Fix API for /comment/<cid>, /search/comments.
2022-11-18 15:33:07 -05:00
justcool393
6f1b9014b4
fix 400: improve 4e57369e68
...
a couple of other places shouldn't redirect either
2022-11-18 14:32:00 -06:00
Aevann1
4e57369e68
dont actually redirect to /reset_2fa
2022-11-18 22:16:28 +02:00
Aevann1
fe154554c6
make sure all /login and /signup link have redirect
2022-11-18 22:13:06 +02:00
Aevann1
785fb28bb2
fix bug when 2fa toggle looked like it didnt apply
2022-11-18 22:07:07 +02:00
Aevann1
bcfe98c295
remove hole pins when post moved
2022-11-18 21:58:12 +02:00
Aevann1
9c5091fd71
fix marseylong and marseyllama
2022-11-18 21:54:41 +02:00
Snakes
b808cf2917
html_head: fix SITE_NAME titles, improve settings2.
2022-11-18 14:44:05 -05:00
Aevann1
d73ffaa2eb
use a window event listener instead of a loop
2022-11-18 21:41:03 +02:00
Aevann1
ee82ab2072
theres only 1 nav element, why a loop?
2022-11-18 21:40:46 +02:00
Aevann1
78deb9d6f0
make an event listener be on window instead of an element
2022-11-18 21:34:56 +02:00
Aevann1
b4448ae926
remove unnecessary arrow functions
2022-11-18 21:34:38 +02:00
Aevann1
446ef58c2c
sneed
2022-11-18 21:20:17 +02:00
Aevann1
ce24c24e1d
put js files not made by us in a folder
2022-11-18 21:16:44 +02:00
Snakes
2075311901
html_head: fix page title on signup, login, others.
2022-11-18 14:10:48 -05:00
Snakes
ce84861a44
admin_home: add git HEAD to server status.
2022-11-18 14:05:47 -05:00
SneedBot
3e8712cd1d
sneed
2022-11-18 18:39:58 +00:00
Aevann1
bd3b0047b8
remove unnecessary <span>
2022-11-18 08:56:33 -08:00
Aevann1
b7cf10d7f6
increase container bottom padding from 50px to 100px
2022-11-18 08:37:47 -08:00
justcool393
2218cb55f1
mbux printer: unify with API requirement
2022-11-18 09:31:59 -06:00
justcool393
b60febf6e0
awards: award printing cleanup
2022-11-18 09:30:17 -06:00
Aevann1
4ec307a209
fix random ":"
2022-11-18 07:25:58 -08:00
Aevann1
f6fd64af08
css change
2022-11-18 07:19:51 -08:00
justcool393
255d5b2453
security: fix mute bypass
...
modmail: constantify user ID
2022-11-17 16:50:06 -06:00
justcool393
12881388d6
notifications: ignore notifications
2022-11-17 16:35:08 -06:00
justcool393
2c27b75b7a
remove unnecessary imports
2022-11-17 15:44:29 -06:00
justcool393
49e2e73b9a
fix 500 with subs
2022-11-17 15:25:10 -06:00
justcool393
2bfb2c04a4
fix error in error handler
2022-11-17 15:20:36 -06:00
Snakes
0597347c76
html_head: fix syntax error.
2022-11-17 16:18:43 -05:00
geese-suck
47658f2897
clean up html head ( #461 )
...
* init (not done)
* asdf
* :marseymop:
* unnecesary
* remove
* Update html_head.html
2022-11-17 16:08:39 -05:00
SneedBot
4c68647373
sneed
2022-11-17 21:02:40 +00: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
justcool393
d80fa23409
kofi: decide whether to load in __init__
...
this unifies some of the logic with how we load classes
2022-11-17 14:00:19 -06:00
justcool393
5b03c2535a
kofi: fix rare 500. don't attempt to activate via kofi on sites where it's not enabled
...
this can cause a weird 500
2022-11-17 13:55:07 -06:00
justcool393
8414cec5d5
kofi: don't let "blahblahblah" be considered a valid token
2022-11-17 11:12:32 -06:00
justcool393
caf3a81748
remove unnecessary fstrings
...
(or actually use the feature)
2022-11-17 10:01:03 -06:00
gooseman
fa9290a794
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-11-16 23:19:17 -08:00
gooseman
a345f7c128
restore non-nuked banners
2022-11-16 23:19:14 -08:00
SneedBot
c6144afc9b
sneed
2022-11-17 02:10:28 +00:00
justcool393
be58d2f849
emojis: add opperblink
2022-11-16 13:36:02 -06:00
Aevann1
62ef32c9c5
Update votes.py
2022-11-16 21:00:18 +02:00
Snakes
0c0cad0723
banners: use a class, only style correct elements.
...
Selecting on the alt attribute is unstable and creates a non-obvious
coupling to maintain. Also it inadvertently affected the shop banners
and some elements in settings.
2022-11-16 12:07:23 -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
Snakes
d7d8220a3f
Ensure PCM BANNER_THREAD works.
2022-11-16 12:07:23 -05:00
gooseman
2b4634f857
fix link opening lol
2022-11-16 12:07:23 -05:00
gooseman
16e23e6f54
make banners not retarded + increase future scalability
2022-11-16 12:07:20 -05:00
justcool393
eba6625b81
casino: procoins -> mbux
2022-11-16 10:14:46 -06:00
justcool393
86459cdf24
chat: show mop tools to those with proper perms
2022-11-16 08:38:20 -06:00
justcool393
d1197bac82
chat: sanitize raw body
2022-11-16 08:00:04 -06:00
justcool393
f1bfb87243
chat: permission for mute bypass
2022-11-16 07:00:03 -06:00
justcool393
5b313dd13d
hats: only load routes if feature flag enabled
2022-11-16 06:52:16 -06:00
justcool393
ee8df1e3f1
chat: mops are unmutable
2022-11-16 06:38:24 -06:00
Aevann1
b8ceccd78f
fix weird tabs
2022-11-16 12:52:11 +02:00
Aevann1
07a76e0ffd
exclude me from offsitementions
2022-11-16 10:34:48 +02:00
SneedBot
93fdc3212e
sneed
2022-11-16 06:20:48 +00:00
justcool393
1559de125c
add error handler
2022-11-15 23:36:56 -06:00
justcool393
1565d9ca26
use abort(410) instead of the old message.html template
2022-11-15 23:32:57 -06:00
SneedBot
219029f8a3
sneed
2022-11-16 00:29:13 +00:00
Snakes
a9eb7bcd57
Fix submission repost link escaping.
2022-11-15 19:28:21 -05:00
justcool393
57b4d586ad
don't explicitly set cookies for localhost
2022-11-15 16:22:50 -06:00
justcool393
e1634d0940
modals: move all modals to a modals dir
2022-11-15 17:15:53 -05:00
justcool393
5dedde4691
admin: move admin pages to admin dir
2022-11-15 17:15:53 -05:00
justcool393
ee8ad10fac
fix 500 on IntegrityError
2022-11-15 15:12:36 -06:00
justcool393
519a9f91f8
signup: don't accidentally leak *what* validation error it was
2022-11-15 12:59:38 -06:00
justcool393
711518d942
don't redirect to /signup page if registrations are closed
2022-11-15 12:56:57 -06:00
justcool393
01e18dc28b
remove unnecessary checks
...
* in post_reset even if get_account could return a None, it'd 500 anyway
* lmao even in get reset (why is this done twice anyway?)
2022-11-15 11:11:22 -06:00
justcool393
b2f5cf92d0
change msg to be more clear
2022-11-15 10:56:40 -06:00
justcool393
b95ee0864e
fix 2fa bug
2022-11-15 10:56:04 -06:00
justcool393
3d7737387c
use default config vlaue const everywhere
2022-11-15 10:55:00 -06:00
justcool393
adf22b494a
sub relationship class ( #456 )
...
* sub relationships
* abstract = True
* fix
* fix spelling mistake
2022-11-15 11:05:42 -05:00
Aevann1
532ebd3ac8
standardize g.db behavior
2022-11-15 17:39:00 +02:00
Aevann1
f1288ba991
fix https://rdrama.life/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3080531?context=8#context
2022-11-15 17:29:45 +02:00
justcool393
3df53c63c9
alts: don't count deleted alts
2022-11-15 09:21:12 -06:00
Aevann1
7ace77b2a7
minor css change
2022-11-15 17:17:58 +02:00
Aevann1
b130139f3d
sneed
2022-11-15 16:55:21 +02:00
Aevann1
4dbc4096d3
remove weird variable
2022-11-15 16:45:18 +02:00
Aevann1
aeb10e1ec6
exclude /r/SubSimGPT2Interactive
2022-11-15 16:44:08 +02:00
Aevann1
6d607a6f59
give ppl a message when they change their settings sucessfully
2022-11-15 16:33:21 +02:00
Aevann1
8c849bef65
add 2 more boosted sites
2022-11-15 16:33:20 +02:00
justcool393
9b734a8e3a
fix ghost
2022-11-15 08:21:37 -06:00
Aevann1
1f16140367
use cloudflare icon
2022-11-15 15:54:24 +02:00
justcool393
a9ebe37e61
sddsdsd
2022-11-15 06:52:17 -06:00
justcool393
3fba55b4ae
fix unread 500
2022-11-15 06:51:48 -06:00
justcool393
08b88ef89b
we don't need requests
2022-11-15 05:38:37 -06:00
justcool393
022a81a4b9
remove unnecessary feature_required flags, moving them to the routes import
2022-11-15 05:37:53 -06:00
Snakes
1e931b4d05
Fix clear_cloudflare_cache modlog icon.
2022-11-15 06:30:20 -05:00
justcool393
b2d0671734
merge fix: remove a couple of unnecessary from flask import *s
2022-11-15 05:28:45 -06:00
Snakes
b50a815eb0
Fix DB session for webm_to_mp4.
2022-11-15 06:24:17 -05:00
justcool393
781daeed2f
fix thumbnail thread redux i think
2022-11-15 04:57:49 -06:00
justcool393
60748e4135
add TODO for migration of old comments
2022-11-15 04:43:19 -06:00
Snakes
604321512e
Fix userpage listing sort order (merge error?).
2022-11-15 05:40:16 -05:00
justcool393
168e5d04b9
give the thumbnail thread their own db_session
2022-11-15 04:34:35 -06: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
4b9c702877
fix listing bugs
2022-11-15 03:28:39 -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