Commit Graph

17642 Commits (6210a33f6bb1cd4024926110719b223ee6c05aa9)

Author SHA1 Message Date
Aevann1 bfb8eba832 dont do relationship query when not necessary 2022-12-05 03:59:31 +02:00
Aevann1 66aeb82823 add pings for MIMW 2022-12-05 03:57:24 +02:00
Aevann1 dbc64dc487 fix profile wall for logged-outcels 2022-12-05 03:53:09 +02:00
Aevann1 468fd5f5f4 add (((heymoon))) notifs 2022-12-05 03:40:51 +02:00
Aevann1 492c377e8e show "profile wall" above wall notifs 2022-12-05 03:37:44 +02:00
Aevann1 8d64804724 fix wrong username direct 2022-12-05 03:33:43 +02:00
Aevann1 5070cb4fc0 fix spam check 2022-12-05 03:31:21 +02:00
Snakes 2057c48ebd
Fix userpage walls for logged-out viewers. 2022-12-04 20:23:48 -05:00
Aevann1 14d343dcb3 dont change titles for chudded ppl posting on /h/chudrama 2022-12-05 03:21:47 +02:00
Snakes d976dcef7e
Update wall_comment for sanitize_poll_options. 2022-12-04 20:05:45 -05:00
Aevann1 cb4d941fd0
add profile wall 2022-12-04 20:05:45 -05:00
Aevann1 814552cdfe small fix for ppl with progstack=1 2022-12-05 02:45:02 +02:00
Aevann 5850bb26fa add custom backgrounds paypig feature to compensate for profile views (#44)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: #44
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-05 00:02:29 +00:00
Aevann1 bae24fe92e add reload button to ioscels 2022-12-05 01:22:22 +02:00
Snakes be2b210df4
Remove superfluous #disablepoll command.
Already resolved by 29070c78a9.
2022-12-04 17:15:52 -05:00
justcool393 ed0981cbdb add functionality to disable poll formatting (#35)
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #35
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-04 21:46:27 +00:00
Aevann1 892e35b1c3 splash mountain for PCM 2022-12-04 23:28:39 +02:00
Snakes 61dc9c47fd
Restore showing linkpost URLs in submission body. 2022-12-04 15:50:09 -05:00
justcool393 6e1509f2df admins: let mops who can mop posts see posts regardless of browser (#45)
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #45
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-04 20:26:39 +00:00
Aevann1 c56ceaf668 allow me and sneks to see apple posts 2022-12-04 22:11:16 +02:00
Aevann1 e66234eb6a fix offsitementions 2022-12-04 21:48:28 +02:00
Aevann1 da643ea88b sneed 2022-12-04 21:30:33 +02:00
Aevann1 e0fd83c010 fix app.html if condition 2022-12-04 21:22:53 +02:00
Aevann 3eecec0a51 downloadable videos on apple devices (#42)
![image](/attachments/bd1b3e1e-c0a9-4eee-9b1c-a03e1e8a8cbd)

Co-authored-by: Aevann1 <randomname42029@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Co-authored-by: Snakes <snakes@noreply.fsdfsd.net>
Reviewed-on: #42
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-04 19:02:22 +00:00
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