Commit Graph

17618 Commits (b8eb4384d60f93f0a1c9524b96c6e1cdecb100f6)

Author SHA1 Message Date
Aevann e105035272 remove country club system and replace it with a 3 tier thing: (#41)
- /h/masterbaiters: 1 TS - for gayops

- /h/countryclub: 1000 TS - for anything requiring secrecy and doesnt need critical mass - have to make it a rule that u cant post gayops in /h/countryclub

- /h/chudrama: 5000 TS - for chad+stud posts

EDIT: i removed the /h/masterbaiters gate, but u can bring it back if u want
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: #41
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-04 18:39:06 +00:00
Aevann1 29070c78a9 fix this and related stuff https://stupidpol.site/h/programming/post/128394/advent-of-code-day-3-i/3182179?context=8#context 2022-12-04 17:53:41 +02:00
Aevann1 c0676e198c convert "var" to "let" and "const" 2022-12-04 17:40:32 +02:00
Aevann1 30405e1841 slur fix 2022-12-04 16:44:59 +02:00
Aevann1 15b5dfcb3a fix last commit 2022-12-04 03:39:39 +02:00
Aevann1 1bb80046f4 fix last commit 2022-12-04 03:39:09 +02:00
Aevann1 ed834225ae temp sidebar image 2022-12-04 03:38:04 +02:00
SneedBot 5d1599bc77 sneed 2022-12-04 01:36:15 +00:00
Aevann1 a565c36bff rename marseybye to marseywave3 2022-12-04 01:27:37 +02:00
Aevann1 36c69cca0a kofi - only change patron tier when its a supscription 2022-12-04 00:51:52 +02:00
Aevann1 1f675c61e5 minor regex fix for emojis 2022-12-04 00:26:05 +02:00
Aevann1 49263fdd86 Revert "stop using background css property and use its parts instead"
This reverts commit e4e67a4424.
2022-12-04 00:17:35 +02:00
SneedBot 5665bd9a96 sneed 2022-12-03 22:16:04 +00:00
Aevann1 e4e67a4424 stop using background css property and use its parts instead 2022-12-04 00:11:02 +02:00
Aevann1 a92737b85c re-add kylie slur filter 2022-12-04 00:01:24 +02:00
Aevann1 2deba4d623 "megathread" new sort 2022-12-04 00:01:08 +02:00
Aevann1 8d218c28e2 fix this https://stupidpol.site/h/programming/post/128511/nostalgia-post-heres-a-shitty-tictactoe/3179456?context=8#context 2022-12-03 22:09:12 +02:00
Aevann1 045cb629ae fix this https://stupidpol.site/h/programming/post/128513/its-another-shoah-soycry 2022-12-03 22:00:10 +02:00
Aevann1 0046e63bc7 boost /h/programming temporarily - revert at will 2022-12-03 21:56:27 +02:00
SneedBot 0659198745 sneed 2022-12-03 19:32:40 +00:00
Aevann1 a13311d72e sneed 2022-12-03 21:10:59 +02:00
Aevann1 5d3413377d sneed 2022-12-03 20:57:44 +02:00
Aevann1 a193952c5e fix this https://stupidpol.site/h/slackernews/post/128394/advent-of-code-day-3-i/3177263?context=8#context 2022-12-03 10:02:26 +02:00
Aevann1 407dcb1282 same as last commit 2022-12-03 07:39:58 +02:00
Aevann1 f28ae7cca1 refresh comment textarea on edit - fixes edge case 2022-12-03 07:27:47 +02:00
Aevann1 fa0bb57253 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3175605?context=8#context 2022-12-03 04:14:01 +02:00
Aevann1 7a14d66944 make "remove background" btn more obvious 2022-12-03 03:58:23 +02:00
Aevann1 8f065a2428 fix award modal on mobile 2022-12-03 02:14:11 +02:00
Snakes f892b3f821
PCM: add unlisted emoji `:kippy2:` 2022-12-02 19:11:28 -05:00
Aevann1 aad1d72f43 add code so i can make a post that only legacy android app users can see 2022-12-03 01:58:16 +02:00
Snakes 39558a2812
PCM: christmas banners rotation, pt2. 2022-12-02 18:49:03 -05:00
Aevann1 d8292b7601 try different approach to opening push notification 2022-12-03 01:47:35 +02:00
Snakes 64de53e9a9
Fix signup overflowing on mobile, and related. 2022-12-02 18:33:11 -05:00
Aevann1 3907a2f25f make the gevent sequential 2022-12-03 01:25:48 +02:00
Snakes 9b09181e28
Dispatch push notifications using greenlets. 2022-12-02 18:15:58 -05:00
Aevann1 7a37f9f865 fix sort new buttons on mobile 2022-12-03 01:09:23 +02:00
Aevann1 04e4bea994 fix margin for new sort button on mobile 2022-12-03 01:07:19 +02:00
Snakes 76071397eb
WPD: update sidebar with repost rule. 2022-12-02 17:51:09 -05:00
Snakes d79465517d
Rename siege log filename. 2022-12-02 17:50:48 -05:00
Aevann1 c01d757dc7 delete legacy route 2022-12-03 00:37:31 +02:00
Aevann1 9947e635ab make supportjews.webp an image instead 2022-12-03 00:32:51 +02:00
Aevann1 6248042e46 add supportjews emoji and use it in chud message 2022-12-03 00:22:18 +02:00
Aevann 5c2dab73c7 stop using pusher (#37)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: #37
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-02 22:21:18 +00:00
Aevann1 3542703ced Revert "make it so only the post author can declare winner and not all admins"
This reverts commit 9e1425d93e.
2022-12-03 00:08:46 +02:00
Aevann1 9e1425d93e make it so only the post author can declare winner and not all admins 2022-12-03 00:06:57 +02:00
Aevann1 25be392e3b add soyjak.party to BOOSTED SITES 2022-12-03 00:02:04 +02:00
justcool393 dd80b05553 add cool banner for error pages (#36)
Hiiiii it's carp! I think this error means that there's a timeout error. And I think that means something took too long to load so it decided not to work at all. If you keep seeing this on the same page <I>but not other pages</I>, then something is probably wrong with that specific function. It may not be called a function, but that sounds right to me. Anyway, <s>ping me and I'll whine to someone smarter to fix it. Don't bother them.</s> <B>After a year and a half of infuriating pings, the new instructions are to quit whining and just wait until it works again oh my god shut UP.</B><BR><BR> Thanks ily <3

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #36
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-02 21:31:21 +00:00
Snakes 15dc9c4cf7
Ensure eg log created if not exists. 2022-12-02 15:35:15 -05:00
Aevann1 9209cf6036 cachebust service-worker.js 2022-12-02 22:33:47 +02:00
Aevann1 0bc09fe9aa same as last commit 2022-12-02 22:33:08 +02:00
SneedBot de4d428051 sneed 2022-12-02 20:29:21 +00:00
Aevann1 fe07301993 fix service worker 2022-12-02 22:28:49 +02:00
Aevann1 064b5878f9 add "media" tld 2022-12-02 12:38:07 +02:00
Aevann1 ecc32382b2 Revert "https://www.youtube.com/watch?v=_904EvOUQ_M"
This reverts commit 6d0277adc8.
2022-12-02 00:37:50 +02:00
Snakes 27506b36c2
Fix unbound ORM object erroring during 500 handler.
The 500 fixed in 71738b05fc revealed that attempting to access g.v at
all during an error handler can potentially cause its own error.
In particular, html_head L111 accessing v.themecolor errored because
we roll back the database session during 500 handling. There's no good
solution other than specifically not passing v to 500 error pages.

However, in the interest of failing fast and ensuring error handlers
always complete, we instead go back to the previous behavior of not
treating users as logged in for error pages.
2022-12-01 17:24:41 -05:00
Snakes 71738b05fc
Fix 500 on all non-holed post submissions. 2022-12-01 17:12:57 -05:00
justcool393 0f2f72f2c3 sort by new button (#34)
also get rid of megathread logic

do the needful and do
```sql
UPDATE submissions SET new=true WHERE title LIKE 'Thread' OR title ILIKE 'megathread';
```
or whatever the proper equivalent is

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #34
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-01 22:04:10 +00:00
Aevann1 68563ec8ff make collapse icon bigger 2022-12-01 20:31:34 +02:00
Aevann1 e125443d50 make Thread (upper case) sort comments by new, around 20% false positive rate but worth it 2022-12-01 19:49:26 +02:00
Aevann1 6d0277adc8 https://www.youtube.com/watch?v=_904EvOUQ_M 2022-12-01 19:07:14 +02:00
Aevann1 3308734dc7 dont auto-pin if post sub is stealthed 2022-12-01 18:22:33 +02:00
Aevann1 acd4a61232 add dramarama to boosted users 2022-12-01 18:22:00 +02:00
justcool393 fe55c2383c fix 500 on 500 2022-12-01 10:10:05 -06:00
justcool393 c05a9f335b Revert "Revert "errors: don't do anything with the user""
This reverts commit 3e2ca53f2a.
2022-12-01 10:07:59 -06:00
Snakes b04b7e9269
Fix /votes/ downvote listing display. 2022-12-01 10:15:52 -05:00
SneedBot 4847227639 sneed 2022-12-01 15:06:41 +00:00
Snakes ebc3e9a3f2
Exclude sb'd from vote counts, retain in tables.
Addressing the downvote spamming on WPD. Correctly shows jannies which
users are SB'd, shows all voters (sans SB icons) to SB'd users, and
only shows real voters to normies. SB'd users votes are still tracked
so the icons look to them like they're doing something.
2022-12-01 10:06:16 -05:00
Aevann1 4ab8825d35 fix 500 error 2022-12-01 15:19:09 +02:00
SneedBot e6fc667de1 sneed 2022-12-01 13:12:42 +00:00
Aevann1 12325aaf20 remove signup login-required messages until someone fixes scrolling 2022-12-01 15:12:23 +02:00
Aevann1 12eb23aa6b midnight - make modal border more subtle 2022-12-01 15:06:54 +02:00
Aevann1 3e2ca53f2a Revert "errors: don't do anything with the user"
This reverts commit b7a24f6fa1.
2022-12-01 14:58:32 +02:00
Aevann1 8bbc107137 dont give me reddit notifs again 2022-12-01 14:46:58 +02:00
Aevann1 48ba0bfa98 fix hole names in header 2022-12-01 14:28:35 +02:00
Aevann1 238c92b703 make PAGE_SIZES ordered 2022-12-01 14:28:00 +02:00
Aevann1 845e13b4ae minor bug fix 2022-12-01 14:27:15 +02:00
Snakes 1bc086ad1b
PCM: adjust perms, add christmas banner. 2022-11-30 23:38:25 -05:00
Snakes 4585323275
Fix monthly jannie patron badge granting. 2022-11-30 23:38:25 -05:00
Aevann1 45a36ed726 kofi - order_by not needed anymore 2022-12-01 03:26:47 +02:00
Aevann1 6e6bd81872 better kofi claiming 2022-12-01 03:24:41 +02:00
Snakes 885601e0ab
Fix offsitementions on localhost testing. 2022-11-30 19:24:45 -05:00
Aevann1 f5f660efa9 add logged-out chromium instructions for installing PWA 2022-12-01 01:14:29 +02:00
Aevann1 e0bcc71727 fix notifs 2022-12-01 00:59:56 +02:00
Aevann1 46e0dfb752 make app tooltip easier to dismiss 2022-12-01 00:55:53 +02:00
Aevann1 cbd04b3c38 remove my special case so i can test 2022-12-01 00:44:16 +02:00
Aevann1 7f4691c79d fix prev commit 2022-12-01 00:33:41 +02:00
Aevann1 e1ed46fa36 rework reddit notifs - testing on pcm lol 2022-12-01 00:29:13 +02:00
Aevann1 d160a1686f transparent fix 2022-11-30 23:56:33 +02:00
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