forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

10120 Commits (da900ede447bba5817e56c6bfe32ab014e09e37e)

Author SHA1 Message Date
Aevann1 cff9249572 watermark 2022-12-07 21:05:52 +02:00
Aevann1 bd3f0fcc84 fix 500 error 2022-12-07 19:57:56 +02:00
Aevann1 93063516ce tie transparent theme to backgrounds 2022-12-07 19:53:29 +02:00
Aevann 81267ef1c6 do this https://stupidpol.site/h/countryclub/post/79285/tired-of-some-cute-twink-jannies/3194721?context=8#context (#53)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#53
2022-12-07 16:51:51 +00:00
Aevann1 e8f9d39bcf discussion -> wall 2022-12-07 11:04:22 +02:00
Aevann1 fee6e7150b same as last commit 2022-12-07 11:03:02 +02:00
Aevann1 e4b102873d in jinja, convert some + instances to ~ 2022-12-07 10:59:40 +02:00
Aevann1 d01b5dfd9f add "view entire discussion" to profile walls 2022-12-07 10:55:47 +02:00
Aevann1 d781c853f8 force transparent theme on userprofiles with a profile background 2022-12-07 10:23:03 +02:00
Aevann1 55125cf217 remove padding 2022-12-07 08:21:13 +02:00
justcool393 6dbad04f08 band-aid fix for frozen session issue on signup (#50)
through some reason or another, people are somehow getting cookies that aren't prepended with a dot.

this is a problem because both sessions at, as best as I can tell, mix so it tries to read from a different cookie than we write to. this essentially "freezes" the session in place. users are unable to login, logout, signup, toggle poor mode, toggle NSFW, etc.

~~this attempts to delete bad session cookies (i.e. cookies with a domain that don't start with a dot).~~

~~we don't do this on "dotless" domains (and by extension localhost) because browser support for setting cookies on FQDNs that only have one dot has tenuous support among browsers anyway).~~

~~this *may* log some people out, but... their days of being able to do stuff on the site were numbered anyway.~~

**edit: as amazing as this thought was, browsers just wipe the entire cookies completely and there's no way to specifically target dotless cookies. for an issue that affects a few users, better to just tell them to clear their cookies. if *this* doesn't work, delete service-worker.js and be done with the whole service worker crap. forever. permanently. this PR also includes some QOL improvements.**

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#50
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-06 22:07:12 +00:00
Aevann1 ede58dd886 fix margins 2022-12-05 17:23:41 +02:00
Aevann1 15088e5eef add button to remove current profile background 2022-12-05 17:14:53 +02:00
SneedBot 4ddbd0117f sneed 2022-12-05 14:38:36 +00:00
Aevann1 99c12a74ad only show "upload profile background" if user on desktop or uses transparent theme to prevent confusion 2022-12-05 16:30:55 +02:00
Aevann1 ab7144d94a Revert "only show "upload profile background" if user on desktop or uses transparent theme"
This reverts commit 7b0de3e79d.
2022-12-05 16:25:39 +02:00
Aevann1 7b0de3e79d only show "upload profile background" if user on desktop or uses transparent theme 2022-12-05 16:22:19 +02:00
Aevann1 4583c3d4eb cosmetic changes 2022-12-05 08:46:04 +02:00
Aevann1 67136ec707 minor style change 2022-12-05 08:23:42 +02:00
Aevann1 c0169d0dab fix voting on profile wall 2022-12-05 08:18:37 +02:00
Aevann1 1fead79a86 fix 2022-12-05 08:15:13 +02:00
Aevann1 f5ef9f431a fix wall margins 2022-12-05 08:12:46 +02:00
Aevann1 77058d31dc move pcm sidebar image to top 2022-12-05 07:35:05 +02:00
Aevann1 39ad0bd5f8 fix margins 2022-12-05 07:33:32 +02:00
Aevann1 4e4a0e734a margin change 2022-12-05 07:29:44 +02:00
Aevann1 bbc33b9331 edit PCM rules 2022-12-05 07:28:15 +02:00
Aevann 18df70caab allow JL3 to edit rules (#39)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#39
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-05 05:22:08 +00:00
Aevann1 77c37b0fd2 same as last commit 2022-12-05 07:01:20 +02:00
Aevann1 e7fbf5f5b9 site background shit 2022-12-05 07:00:44 +02:00
Aevann1 ea934e17b9 fix 500 error 2022-12-05 06:57:27 +02:00
Aevann1 57ffc26fc6 grammar + consistency 2022-12-05 06:56:05 +02:00
Aevann1 868fb1024f update carp's badge 2022-12-05 06:37:03 +02:00
Aevann f8aa67fb9a add button on profile to upload profile background (#48)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#48
Co-authored-by: Aevann <aevann@noreply.fsdfsd.net>
Co-committed-by: Aevann <aevann@noreply.fsdfsd.net>
2022-12-05 04:16:45 +00:00
Aevann1 87573936e7 disable site background in profiles 2022-12-05 06:05:20 +02:00
Aevann1 aeeeabbfd7 fix margins 2022-12-05 05:43:24 +02:00
Aevann1 13a208ee88 remove stray tabs and spaces 2022-12-05 05:03:10 +02:00
Aevann1 af3b028ca5 add links to individuals comments in walls + fix awards for wall comments 2022-12-05 05:01:50 +02:00
Aevann1 6cfe0fceb4 hide another broken button 2022-12-05 04:33:42 +02:00
Aevann1 29d1d08eb8 hide 2 broken buttons 2022-12-05 04:27:30 +02:00
Aevann1 e9f4f88f24 fix notifs for profile wall replies 2022-12-05 04:19:51 +02:00
Aevann1 111832a7d2 fix 500 error 2022-12-05 04:04:14 +02:00
Aevann1 bfb8eba832 dont do relationship query when not necessary 2022-12-05 03:59:31 +02:00
Aevann1 492c377e8e show "profile wall" above wall notifs 2022-12-05 03:37:44 +02:00
Aevann1 cb4d941fd0
add profile wall 2022-12-04 20:05:45 -05:00
Aevann 5850bb26fa add custom backgrounds paypig feature to compensate for profile views (#44)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: rDrama/rDrama#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: rDrama/rDrama#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
Snakes 61dc9c47fd
Restore showing linkpost URLs in submission body. 2022-12-04 15:50:09 -05: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: rDrama/rDrama#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: rDrama/rDrama#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 c0676e198c convert "var" to "let" and "const" 2022-12-04 17:40:32 +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
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
Aevann1 e4e67a4424 stop using background css property and use its parts instead 2022-12-04 00:11:02 +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 39558a2812
PCM: christmas banners rotation, pt2. 2022-12-02 18:49:03 -05:00
Snakes 64de53e9a9
Fix signup overflowing on mobile, and related. 2022-12-02 18:33:11 -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
Aevann 5c2dab73c7 stop using pusher (#37)
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: rDrama/rDrama#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
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: rDrama/rDrama#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
Aevann1 ecc32382b2 Revert "https://www.youtube.com/watch?v=_904EvOUQ_M"
This reverts commit 6d0277adc8.
2022-12-02 00:37:50 +02: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: rDrama/rDrama#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 6d0277adc8 https://www.youtube.com/watch?v=_904EvOUQ_M 2022-12-01 19:07:14 +02:00
justcool393 fe55c2383c fix 500 on 500 2022-12-01 10:10:05 -06:00
Aevann1 12325aaf20 remove signup login-required messages until someone fixes scrolling 2022-12-01 15:12:23 +02:00
Aevann1 48ba0bfa98 fix hole names in header 2022-12-01 14:28:35 +02:00
Snakes 1bc086ad1b
PCM: adjust perms, add christmas banner. 2022-11-30 23:38:25 -05:00
Aevann1 f5f660efa9 add logged-out chromium instructions for installing PWA 2022-12-01 01:14:29 +02:00
Aevann1 46e0dfb752 make app tooltip easier to dismiss 2022-12-01 00:55:53 +02:00
justcool393 e36bd8611a remove unclosed {{brackets}} 2022-11-30 13:15:06 -06:00
justcool393 69a44baea7 settings: convert all to snek_case 2022-11-30 12:26:07 -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 8ba44d16cb switch location of "holes" and "pins" 2022-11-30 13:40:52 +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 59b3b351e1 remove theme_color from rdrama manifest 2022-11-30 12:08:59 +02:00
Aevann1 0af31dd658 fix settings2 for transparent theme 2022-11-30 01:54:23 +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: rDrama/rDrama#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
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 cf8ffac192 grammar ocd 2022-11-30 00:42:01 +02: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
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: rDrama/rDrama#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
Aevann1 ed5b3dc4bb remove ruckus.webp 2022-11-29 07:25:17 +02:00
Aevann1 3e42918afb minor background dedup 2022-11-29 05:37:56 +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
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 ef8622e402 /marseys - make "Usage" tab link too 2022-11-29 03:55:47 +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
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 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
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
Aevann1 55b9f7286d fix wallpaper flashing and dedup background css 2022-11-28 08:12:10 +02:00
Aevann1 6fa0290827 Revert "make winrate a percent"
This reverts commit c35d69ba06.
2022-11-28 08:10:03 +02: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 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 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 e8b4ef24ea restore loop.index in voters.html 2022-11-28 03:52:58 +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: rDrama/rDrama#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 e2cc1f9c80 unblock user -> unblock @username 2022-11-28 01:16:49 +02: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
Aevann 7959580af4 glitter for loggedout-cels 2022-11-28 00:17:23 +02:00
Aevann 7fe42fc104 fix ids in transparent theme 2022-11-27 22:36:36 +02:00
justcool393 c930c08516 fix duplicating post titles lol 2022-11-27 14:30:35 -06:00
justcool393 c564cad5f9 fix bug with embeds i think 2022-11-27 14:24:40 -06:00
justcool393 9ed10a85b6 ok actually give it rows lmao 2022-11-27 14:07:50 -06:00
justcool393 92a284f72c just remove it because lb is being retarded 2022-11-27 14:06:18 -06:00
justcool393 27a8303056 fix page title 2022-11-27 14:04:51 -06:00
justcool393 6ba586362d fix format i think 2022-11-27 14:04:17 -06:00
justcool393 0c9d0d1bcd world cup leaderboard 2022 (#23)
insert witty PR message here

a temporary lb for worldcup stuff

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#23
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-11-27 19:59:53 +00:00
justcool393 5a1224ddc7 fix shadowbanned and nonexistent users in marseys table 2022-11-27 11:13:23 -06:00
justcool393 767cc467bb marseys: cache marseys and emojis and fun stuff (#15)
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: rDrama/rDrama#15
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-11-27 16:59:36 +00:00
justcool393 77bdb6e87f themes: add glitter bg category per joan request 2022-11-27 10:15:15 -06:00
Aevann 6f10140b21 Revert "make awards significantly less retarded (#12)"
This reverts commit 04dbda7f03.
2022-11-27 04:07:45 +02:00
geese_suck 04dbda7f03 make awards significantly less retarded (#12)
Co-authored-by: gooseman <16601315+geese-suck@users.noreply.github.com>
Co-authored-by: geese_suck <16601315+geese-suck@users.noreply.github.com>
Reviewed-on: rDrama/rDrama#12
Co-authored-by: geese_suck <geese_suck@noreply.fsdfsd.net>
Co-committed-by: geese_suck <geese_suck@noreply.fsdfsd.net>
2022-11-27 02:05:12 +00:00
Aevann f1ea26797c remove loop.index on stuff thats ordered by most recent (cuz confusing) 2022-11-27 03:42:28 +02:00