Commit Graph

17403 Commits (ef5c24cae5b74d1e04e7f7f1eeaa496954935d99)

Author SHA1 Message Date
Aevann1 4e4e649dc9 remove carp exception in /followers since we have pages now 2022-11-27 03:27:06 +02:00
Aevann1 c42a0e6a20 Revert "Revert "Revert "fix session bug" - pls for the love of god visit localhost after making a commit""
This reverts commit e6a328fc3a.
2022-11-27 03:01:02 +02:00
Aevann1 84b6f43cf6 Revert "fix missing loggedin_counter and loggedout_counter"
This reverts commit 14828bd9f4.
2022-11-27 03:00:32 +02:00
Aevann1 a46b62db0b add pages to /followers /following /blockers and order them all by most recent first 2022-11-27 02:59:20 +02:00
justcool393 14828bd9f4 fix missing loggedin_counter and loggedout_counter 2022-11-26 18:55:26 -06:00
justcool393 e6a328fc3a Revert "Revert "fix session bug" - pls for the love of god visit localhost after making a commit"
This reverts commit b7efa6ddd3.
2022-11-26 18:45:12 -06:00
Aevann1 b7efa6ddd3 Revert "fix session bug" - pls for the love of god visit localhost after making a commit
This reverts commit fcdad601fb.
2022-11-27 02:43:10 +02:00
Aevann1 395e136cd4 order user blocks by most recent first 2022-11-27 02:36:09 +02:00
justcool393 ffb79a1bb2 literally one line lmao 2022-11-26 18:33:55 -06:00
justcool393 fcdad601fb fix session bug 2022-11-26 18:33:04 -06:00
Aevann1 a44bc53f3a limited designed hats loserboard to rdrama.net 2022-11-27 02:27:33 +02:00
Aevann1 575a5080bd unpaywall profile views 2022-11-27 02:20:54 +02:00
Aevann1 61612e7be3 fix missing "+ 1" 2022-11-27 02:19:50 +02:00
Aevann1 641926b425 restore diff messages to debug an issue 2022-11-27 02:16:08 +02:00
Aevann1 c79456c86b remove accidentially-committed shit 2022-11-27 02:09:26 +02:00
Aevann1 fde9e0f7ab increase margni 2022-11-27 02:09:25 +02:00
Aevann1 daa9d9c80b Revert "calc users: log so we can find the root of this problem"
This reverts commit ba6e4721d3.
2022-11-27 01:10:38 +02:00
Aevann1 14b2b9328a Revert "don't want to crash on our precious logging code"
This reverts commit 992e4a0d1c.
2022-11-27 01:08:44 +02:00
Aevann1 27bb38c0d5 Revert "the request is prolly boned anyway, let's help friends help me :)"
This reverts commit cfffbc61a0.
2022-11-27 01:08:27 +02:00
Aevann1 5f8255d8a6 add r/theElon 2022-11-27 01:00:13 +02:00
Aevann1 fb86555f78 add margin to sidebar disclaimer 2022-11-27 00:59:50 +02:00
Aevann1 214535d5c7 remove stray dot in brookscringe.webp 2022-11-27 00:23:51 +02:00
Aevann1 6bbd3cac63 make hole pinning button use primary color on mobile 2022-11-27 00:13:24 +02:00
Aevann1 3a4499e672 increase dismiss-beg padding-right 2022-11-27 00:08:08 +02:00
Aevann1 8f4a6ba511 reduce tooltip border radius 2022-11-27 00:07:03 +02:00
Aevann1 cdac98ae05 fix logout bug 2022-11-26 23:45:39 +02:00
justcool393 a56633c3b1 api: manual revert of e1f785c370 (by @Aevann1's request) 2022-11-26 15:25:00 -06:00
justcool393 6c5070f24d fix 155a5b40c9 2022-11-26 15:19:10 -06:00
Aevann1 155a5b40c9 excise niggabit's solution for now 2022-11-26 23:04:42 +02:00
justcool393 0ff034b01b add typing to a bunch of routes 2022-11-26 15:00:16 -06:00
Aevann1 adecacf9c7 remove deadnaming 2022-11-26 22:54:23 +02:00
Aevann1 15c7add942 fix bug 2022-11-26 22:54:17 +02:00
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