Commit Graph

17146 Commits (e44bd135506573ede14aca68340c7d32dc981f65)

Author SHA1 Message Date
justcool393 e44bd13550
make antispam a bit less :marseyshook: 2022-11-26 20:39:01 -08:00
geese_suck 4631c72c2c
bro 2022-11-24 21:18:44 -08:00
geese_suck f75958144a
add that back in idk how it got deleted 2022-11-24 21:16:35 -08:00
geese_suck 218a571b2c
make ricardo less retardo 2022-11-24 21:12:59 -08:00
gooseman 187251eb01 oops forgot lol 2022-11-23 10:53:41 -08:00
gooseman b131e51278 rework awards 2022-11-23 10:33:27 -08: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