Commit Graph

21597 Commits (ef5c24cae5b74d1e04e7f7f1eeaa496954935d99)

Author SHA1 Message Date
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
justcool393 9b2122823b tests: make executable to fix permissions failure on run
this probably fixes the permission denied failure that happens when they're ran
2022-11-22 05:45:32 -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
Snyk bot 190490a734
fix: upgrade react-window from 1.8.7 to 1.8.8 (#474)
Snyk has created this PR to upgrade react-window from 1.8.7 to 1.8.8.

See this package in npm:


See this project in Snyk:
https://app.snyk.io/org/m.neumann0003/project/4be92c68-8bfb-4ce3-a0e9-53fb63d428c2?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-11-21 20:29:22 -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 c758548b52
Docker dev workaround for ImageMagick. 2022-11-21 18:59:06 -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