Commit Graph

17530 Commits (ac26c2581dd5d35c3a418da67ae907a176e6a779)

Author SHA1 Message Date
Snakes d03f3092fa
Adjust badge black/whitelists more. 2022-11-30 16:55:48 -05:00
Aevann1 87ae34966b badge perm shit 2022-11-30 23:15:10 +02:00
Snakes 5b7572af64
Revert "blizzard submodule"
This reverts commit eae0715c10.

Sorry @geese_suck, looks like more of a pain to deploy than I thought
it'd be. Was a good idea though.
2022-11-30 16:10:20 -05:00
geese_suck eae0715c10
blizzard submodule 2022-11-30 13:00:28 -08:00
Snakes 312abcbed7
offsitementions: use proper cache key in setter. 2022-11-30 15:44:01 -05:00
justcool393 34f10321fa antispam: adjust siege threshold 2022-11-30 13:25:32 -06:00
justcool393 e36bd8611a remove unclosed {{brackets}} 2022-11-30 13:15:06 -06:00
justcool393 d55455d51c settings: make filename an env var 2022-11-30 13:13:52 -06:00
justcool393 b7a24f6fa1 errors: don't do anything with the user
this is an evil context to have a user in do not change this
or i will find you whatever country you're from
2022-11-30 13:07:29 -06:00
justcool393 46f2b805ef config: fix _SETTINGS dict and stray signups 2022-11-30 13:03:46 -06:00
justcool393 497c9bcff1 logging: don't use \n in f-string 2022-11-30 12:49:22 -06:00
justcool393 d783bc8901 logging: make logging an env var 2022-11-30 12:38:55 -06:00
justcool393 69a44baea7 settings: convert all to snek_case 2022-11-30 12:26:07 -06:00
justcool393 d395bcab69 logging: create somewhat sane logging 2022-11-30 12:09:31 -06:00
justcool393 0106a4e340 antispam: under siege mode 2022-11-30 11:37:35 -06:00
justcool393 b59e4cadaa login: don't allow logged in users to attempt to login 2022-11-30 10:49:15 -06:00
justcool393 fe9252d42f settings: potentially fix autofocus on iOS
i think autocomplete might be causing this for some reason???
2022-11-30 09:23:40 -06:00
Aevann1 836d3bfd98 include v in errors if possible 2022-11-30 15:21:12 +02:00
Aevann1 01b92fd63a dont show begging tooltip for apk users 2022-11-30 15:03:15 +02:00
Aevann1 9798d2714d add blizzard forums and bungie forums to BOOSTED_SITES 2022-11-30 13:51:01 +02:00
Aevann1 8ba44d16cb switch location of "holes" and "pins" 2022-11-30 13:40:52 +02:00
Aevann1 abe07e7754 this is retarded 2022-11-30 13:35:57 +02:00
Aevann1 93dc0e2cc8 limit smol-fp to only when the HOLES button is present 2022-11-30 13:29:45 +02:00
Aevann1 2561fc4c4e fix prev commit 2022-11-30 13:24:51 +02:00
Aevann1 4f1c016fc3 fix long hole names in header 2022-11-30 13:24:03 +02:00
Aevann1 8db7c089b3 transparent css shit 2022-11-30 12:28:04 +02:00
Aevann1 59b3b351e1 remove theme_color from rdrama manifest 2022-11-30 12:08:59 +02:00
Aevann1 d3fec8e27c transparent theme - make reports transparent 2022-11-30 11:48:25 +02:00
justcool393 c0f1b875d0 chat: ratelimit chat lol
apparently we haven't done that xdd
2022-11-29 19:36:09 -06:00
justcool393 c315a2a259 amend previous 2022-11-29 19:31:28 -06:00
justcool393 883be4019c kofi: fix kofi 500 2022-11-29 19:30:33 -06:00
justcool393 db31fc17de ratelimits: turn off autocheck so we can init
required app context globals
2022-11-29 19:29:06 -06:00
justcool393 f2411415dd fix missing required context variables on 429 and remove flex tape 2022-11-29 19:12:43 -06:00
Aevann1 b6eea4191c make me able to see reddit mentions again 2022-11-30 02:40:38 +02:00
justcool393 20459a59dd flex tape patch 2022-11-29 18:06:16 -06:00
Aevann1 de8a45412b fix /icon.webp 2022-11-30 01:56:11 +02:00
Aevann1 0af31dd658 fix settings2 for transparent theme 2022-11-30 01:54:23 +02:00
Aevann1 880b0e36ab add subtle border for modals on midnight theme 2022-11-30 01:54:23 +02:00
Aevann1 2004d78226 make userpage on mobile transparent too 2022-11-30 01:54:23 +02:00
Aevann1 82db4ffde5 fix https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3157115?context=8#context 2022-11-30 01:54:22 +02:00
justcool393 11059d1665 move calc users to context processor (#31)
jinja more like i can't think of anything witty

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #31
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-11-29 23:50:32 +00:00
Aevann1 955ec104f2 use the new /icon.webp link everywhere 2022-11-30 01:25:11 +02:00
Aevann 9893ede920 fix browserconfig.xml (#30)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: #30
2022-11-29 23:19:03 +00:00
Aevann1 cb1842f37b restore the png icons in manifest (i was bamboozled by MDN) 2022-11-30 01:14:51 +02:00
Aevann1 1137fa2386 update manifests 2022-11-30 01:00:03 +02:00
Aevann1 b6efc27551 use "i" instead of "assets/images" 2022-11-30 00:52:19 +02:00
Aevann1 61f9a0ce3c use tabs in manifest 2022-11-30 00:47:39 +02:00
Aevann1 cf8ffac192 grammar ocd 2022-11-30 00:42:01 +02:00
Snakes 9fcdd65d38
PCM: improve Kippy's inflationary ergonomics. 2022-11-29 17:18:33 -05:00
justcool393 65236df78a don't read multiple times etc 2022-11-29 16:11:07 -06:00
justcool393 80466f3150 chat: fix cache commit and stuff idk 2022-11-29 16:02:43 -06:00
geese_suck d79ad8c1f0
event asset caching 2022-11-29 14:01:25 -08:00
justcool393 5056f09380 chat: fix 500 on some... weird... state... i think?
cache: get out of jinja templates
chat: threshold is now a const
2022-11-29 15:49:23 -06:00
Snakes 0dd7809b49
Sort banned_domains deterministically. 2022-11-29 16:24:13 -05:00
justcool393 e9887059d1 use `self.__class__.__name__` for `__repr__` 2022-11-29 15:02:38 -06:00
justcool393 87c4d2cb6b events: fix dumb mistake i made 2022-11-29 14:56:08 -06:00
justcool393 d6694226ec events: remove lazy, fix __repr__, and rename table 2022-11-29 14:48:10 -06:00
justcool393 03e7b4c6a2 events: initialize event_v properly 2022-11-29 14:35:28 -06:00
justcool393 67bfe5a5bd remove unnecessary `str()` 2022-11-29 14:29:27 -06:00
geese_suck a3fa96242c holiday event manager (actually works now edition) (#22)
Co-authored-by: Snakes <duolsm@outlook.com>
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #22
Co-authored-by: geese_suck <deandre.williams@geese-suck.us>
Co-committed-by: geese_suck <deandre.williams@geese-suck.us>
2022-11-29 20:20:26 +00:00
Snakes 4fcbf574bf
Fix scrolling on posts with "chat" in title. 2022-11-29 14:12:59 -05:00
SneedBot a7614a5dd2 sneed 2022-11-29 14:11:34 +00:00
Aevann1 ed5b3dc4bb remove ruckus.webp 2022-11-29 07:25:17 +02:00
Aevann1 d00e27d178 same as last commit 2022-11-29 07:07:29 +02:00
Aevann1 c185831ddc same as last commit 2022-11-29 07:06:26 +02:00
Aevann1 03c3238331 fix /chat on transparent theme 2022-11-29 07:00:49 +02:00
justcool393 c47dae86ec remove unused g attribute 2022-11-28 21:51:36 -06:00
Snakes c762c84bde
worldcup2022: retain backwards compat on URL. 2022-11-28 22:39:51 -05:00
Aevann1 3e42918afb minor background dedup 2022-11-29 05:37:56 +02:00
Aevann1 52e0972ddc transparent fix 2022-11-29 05:37:55 +02:00
Snakes d6680a29a3
Rename events.py and related to 'special'.
For @geese-suck's namespace conflict.
2022-11-28 22:36:20 -05:00
Aevann1 bf1da34dae Revert "marseys table is way way too large to use javascript for sorting, you would've known that if u had tested"
This reverts commit fe0da05415.
2022-11-29 05:22:59 +02:00
Snakes 2304876348
Fix emoji search after Marsey caching revert. 2022-11-28 22:18:16 -05:00
Aevann1 261abe3161 archives - add additional route for ease of use 2022-11-29 05:08:26 +02:00
Aevann1 53d5f40037 sneed 2022-11-29 04:59:41 +02:00
Aevann1 c68cb400b9 Revert "fix /h/femaledatingstrategy being too big in the header"
This reverts commit 3c3cd8f873.
2022-11-29 04:05:58 +02:00
Aevann1 b32f4a1f67 transparent fix 2022-11-29 03:56:50 +02:00
Aevann1 ef8622e402 /marseys - make "Usage" tab link too 2022-11-29 03:55:47 +02:00
Aevann1 8182be4730 minor syntax change for no reason 2022-11-29 03:53:30 +02:00
Aevann1 ff2503ce4b fix 500 error 2022-11-29 03:47:54 +02:00
Aevann1 9530bd50e3 transparent theme - change color 2022-11-29 03:47:31 +02:00
Aevann1 60d6246a38 add "homo" to slur filter 2022-11-29 03:46:35 +02:00
Snakes e370a52ecc
PCM: raise upload limit for patrons (by request). 2022-11-28 20:13:22 -05:00
Aevann1 8bf73a10c8 make it slightly darker actually 2022-11-29 03:00:56 +02:00
Aevann1 7d765c74ae cachebust midnight.css inside transparent.css 2022-11-29 02:57:37 +02:00
Aevann1 a6aaa9fae3 same ast last commit 2022-11-29 02:56:51 +02:00
Aevann1 b79f183f72 replace better color with brighter version to stand out from the background 2022-11-29 02:56:08 +02:00
Aevann1 46f4a8b387 make sorting buttons on frontpage smaller on small screens 2022-11-29 02:41:16 +02:00
Aevann1 56b350ac6d same as last commit 2022-11-29 02:33:23 +02:00
Aevann1 80b8a5b786 use percents in worldcup loserboard 2022-11-29 02:31:55 +02:00
Aevann1 be8be13a01 move pinned comment ordering to SQLAlchemy 2022-11-29 02:04:06 +02:00
Aevann1 666b146daf css change 2022-11-29 01:50:23 +02:00
Aevann1 c0d91c9e71 fix last commit (i cant do this without coffee help me) 2022-11-29 01:48:16 +02:00
Aevann1 b6c45c4208 make going to the reddit version of archived posts easier 2022-11-29 01:45:52 +02:00
Aevann1 3d1c16044a use abort instead of sending raw text lol 2022-11-29 01:38:41 +02:00
Aevann1 7cca8274f0 use midnight as baseline for transparent theme 2022-11-29 01:38:41 +02:00
justcool393 6b3fa2f918 table sorting: mitigate chrome bug 2022-11-28 17:11:29 -06:00
Aevann1 e329746bec use midnight color palette in transparent theme 2022-11-29 01:00:10 +02:00
justcool393 8506c46306 wpd: remove special front page logic 2022-11-28 16:55:16 -06:00
Aevann1 add8c27182 replace bad color with better color 2022-11-29 00:48:39 +02:00
justcool393 3d20cdf71e reintroduce behavior from 55b9f7286d
i can't repro the fix but... if it's fixed :marseyshrug:
2022-11-28 16:48:15 -06:00
justcool393 4a2f4b5a5d fix bg 2022-11-28 16:26:39 -06:00
Aevann1 3acc525e0c truncate odds of lottery winning 2022-11-29 00:21:48 +02:00
Aevann1 5994ec7729 same ast last commit 2022-11-29 00:20:18 +02:00
Aevann1 3c3cd8f873 fix /h/femaledatingstrategy being too big in the header 2022-11-29 00:15:39 +02:00
SneedBot 0c21532068 sneed 2022-11-28 22:13:36 +00:00
Aevann1 f15350b2a8 fix subreddit links in archives 2022-11-29 00:12:39 +02:00
justcool393 fbcd089852 fix rare 401-302-401-302-429 loop 2022-11-28 13:41:08 -06:00
justcool393 112235794c use pagetype instead of body attributes since we don't need any custom logic 2022-11-28 11:25:01 -06:00
justcool393 a2477864a3 move style out of root to minimize html redrawing and improve maintainability 2022-11-28 10:55:16 -06:00
justcool393 fc7069ca57 fix bugs introduced by reversion
please test on localhost! thx <3
https://i.imgur.com/Kb3V1Yb.png
2022-11-28 10:34:52 -06:00
Snakes a6d933333a
worldcup2022: don't double count wager on win. 2022-11-28 08:20:32 -05:00
Aevann1 55b9f7286d fix wallpaper flashing and dedup background css 2022-11-28 08:12:10 +02:00
Aevann1 3183e0a28e dont allow ppl to use transparent theme without background 2022-11-28 08:11:07 +02:00
Aevann1 6fa0290827 Revert "make winrate a percent"
This reverts commit c35d69ba06.
2022-11-28 08:10:03 +02:00
SneedBot c494f006f2 sneed 2022-11-28 06:05:21 +00:00
geese_suck 030710e5db
add fallback award so I dont get fucked by aevann asking me to change something for a site that has 3 active users 2022-11-27 21:24:05 -08:00
geese_suck c35c852b90
pcm awards 2022-11-27 21:11:21 -08:00
Aevann1 c35d69ba06 make winrate a percent 2022-11-28 07:09:19 +02:00
Aevann1 fe0da05415 marseys table is way way too large to use javascript for sorting, you would've known that if u had tested 2022-11-28 06:59:35 +02:00
Aevann1 2cdfb42c2f revert jc change that broke sorting tables 2022-11-28 06:50:24 +02:00
Aevann1 323061bc86 add missing space 2022-11-28 06:43:15 +02:00
Aevann1 c9f44b5777 rename data-click to data-click2 2022-11-28 06:35:33 +02:00
Aevann1 48e45332c7 get rid of 'unsafe-eval' 2022-11-28 06:32:03 +02:00
Aevann1 c951325d0e Revert "update pusher.js"
This reverts commit 9e0f3a5a4b.
2022-11-28 06:16:02 +02:00
Aevann1 9e0f3a5a4b update pusher.js 2022-11-28 06:13:15 +02:00
Aevann1 94f788ffe9 use exiv2 to remove metadata instead of imagemagick, much much much faster 2022-11-28 05:49:17 +02:00
Aevann1 d5bdc60eea rename ratio to win rate 2022-11-28 04:30:11 +02:00
Aevann1 c10a7ef5d8 fix ratio 2022-11-28 04:29:36 +02:00
Aevann1 1911e97b83 truncate ratio 2022-11-28 04:26:03 +02:00
Aevann1 0fd8157fa6 move CSP to nginx-level 2022-11-28 04:19:59 +02:00
Aevann1 3e80476b86 add ratio to world cup leaderboard 2022-11-28 04:07:16 +02:00
Aevann1 4656fa0b8d pin posts by pizza/impassionata/TGTW automatically for 1 hour 2022-11-28 04:07:06 +02:00
Aevann1 d506788d94 fix mobile navbar and popover on transparent theme 2022-11-28 04:00:46 +02:00
Aevann1 e8b4ef24ea restore loop.index in voters.html 2022-11-28 03:52:58 +02:00
Aevann1 1475383549 fix stray piece of code i used in testing 2022-11-28 03:50:00 +02:00
Aevann1 89816775aa fix 500 error ???? 2022-11-28 03:48:53 +02:00
Aevann1 73a78f0e97 add pagination to simps/haters/simps for/hates lists and remove loop.index 2022-11-28 03:45:20 +02:00
Aevann1 d0047dcc5a include users who have more than 30 days to be unbanned/unchhuded in /banned and /chuds for accountability 2022-11-28 03:32:01 +02:00
geese_suck 8dcd385218 rework awards (#26)
dude cherrypicking lmao

Co-authored-by: geese_suck <deandre.williams@geese-suck.us>
Reviewed-on: #26
Co-authored-by: geese_suck <geese_suck@noreply.fsdfsd.net>
Co-committed-by: geese_suck <geese_suck@noreply.fsdfsd.net>
2022-11-28 00:37:52 +00:00
Aevann a5bb060991 delete the apks 2022-11-28 01:26:35 +02:00
Aevann ca8c8297c5 sort pinned top-level comments by most recent first 2022-11-28 01:16:49 +02:00
Aevann 4b8387a01c dont count votes as real if made by alt 2022-11-28 01:16:49 +02:00
Aevann 053ef9fd66 fix error on votes on localhost 2022-11-28 01:16:49 +02:00
Aevann e2cc1f9c80 unblock user -> unblock @username 2022-11-28 01:16:49 +02:00
SneedBot 7b17fb8c39 sneed 2022-11-27 23:05:27 +00:00
Snakes 8eb50d8bf9
worldcup2022: add winnings column to leaderboard.
There is probably a more compact way to write this SQL. I don't know
what it is. But it works and should be reasonably efficient.
2022-11-27 18:05:08 -05:00
Aevann 5d49821e7a use https whenever u can 2022-11-28 00:53:37 +02:00
Aevann a84987a215 add rel="nofollow noopener" to the new links in the sidebar 2022-11-28 00:50:29 +02:00
Aevann a0240f2ca6 hide chat icon on rdrama unless 10 ppl or more are in chat 2022-11-28 00:48:54 +02:00