forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

10056 Commits (eaf0faeaaf73d1746e4a3fd75e3ea102be893ccb)

Author SHA1 Message Date
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
Aevann1 36f6b89a1a make "unmark +18" green 2022-11-27 03:28:20 +02:00
Aevann1 a46b62db0b add pages to /followers /following /blockers and order them all by most recent first 2022-11-27 02:59:20 +02:00
Aevann1 575a5080bd unpaywall profile views 2022-11-27 02:20:54 +02:00
Aevann1 fde9e0f7ab increase margni 2022-11-27 02:09:25 +02:00
Aevann1 5f8255d8a6 add r/theElon 2022-11-27 01:00:13 +02:00
Aevann1 fb86555f78 add margin to sidebar disclaimer 2022-11-27 00:59:50 +02:00
Aevann1 6bbd3cac63 make hole pinning button use primary color on mobile 2022-11-27 00:13:24 +02:00
Aevann1 3a4499e672 increase dismiss-beg padding-right 2022-11-27 00:08:08 +02:00
justcool393 a56633c3b1 api: manual revert of e1f785c370 (by @Aevann1's request) 2022-11-26 15:25:00 -06:00
Aevann1 155a5b40c9 excise niggabit's solution for now 2022-11-26 23:04:42 +02:00
Aevann1 adecacf9c7 remove deadnaming 2022-11-26 22:54:23 +02:00
justcool393 e1f785c370 Merge branch 'docs' into 'master' 2022-11-26 14:40:32 -06:00
justcool393 ae50cc2772 const: rename constants from LIMIT to MINIMUM
the new name is much much clearer
2022-11-26 14:20:44 -06:00
geese_suck d2c407d860
fix publish button alignment 2022-11-26 12:20:22 -08:00
justcool393 b6c9af7f13 settings2: remove unused blocks 2022-11-26 13:42:40 -06:00
justcool393 684dd0c1c1 log: fix word wrap bug
log: remove network bloat by abt 10x
2022-11-26 13:08:38 -06:00
Aevann1 6dd4f2492d fix api app link 2022-11-26 06:41:56 +02:00
Aevann1 243f3da00c fix "Posts" tab in /app 2022-11-26 06:36:14 +02:00
Aevann1 08d0fd605e tweak API App button 2022-11-26 06:34:04 +02:00
Aevann1 b3c47f5598 tell ppl how much Truescore they need to see /h/chudrama 2022-11-26 06:22:09 +02:00
Aevann1 0134302440 remove kf 2022-11-26 05:29:09 +02:00
Aevann1 925c38a5bc include AHS and restore miners rule 2022-11-26 05:14:00 +02:00
Aevann1 fc7b21679a restore classic /r/drama sidebar 2022-11-26 04:59:17 +02:00
Aevann1 bade9508e0 do this https://rdrama.life/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3137192?context=8#context 2022-11-26 04:29:49 +02:00
Aevann1 40b8d1c8d7 stop centering media in submission_listing.html and make it consistent with submission.html 2022-11-26 03:50:21 +02:00
Nekobit 2e1d2cb774 Merge branch 'master' into docs 2022-11-25 22:27:15 +00:00
Nekobit af4411b0d7
Documentation page 2022-11-25 15:36:29 -05:00
Aevann1 feb7fc2cf4 fix 61a4ab4f39 2022-11-25 21:35:13 +02:00
justcool393 37c8d77f3f submit: don't disable submit button by default
this doesn't create an issue because HTML form validation does work here
2022-11-25 13:18:43 -06:00
justcool393 61a4ab4f39 css: fix alignment on ghost posts 2022-11-25 11:49:37 -06:00
Snakes 654da03435
De-Githubify repo.
- Remove Github-specific tooling.
 - Add fsdfsd.net to approved embed hosts.
 - Switch link in navigation menu.
2022-11-23 12:24:13 -05:00
Snakes c4df942846
Fix roulette '0' bet placement & display. 2022-11-22 21:00:03 -05:00
Snakes a45965a190
Disable flair setting UI when flairlocked. 2022-11-22 18:47:32 -05:00
Snakes 31f705e600
Hide mobile navbar covering bottom of /submit. 2022-11-22 18:13:23 -05:00
Aevann1 9c3f520aa7 use snek's formatDate everywhere 2022-11-23 00:36:33 +02:00
Aevann1 4ab178ea07 fix prev commit 2022-11-23 00:12:32 +02:00
Aevann1 3ddeba7e8d disable user.newtab for PWA users 2022-11-23 00:05:31 +02:00
Aevann1 9e89166e2f restore reload icon for legacy app users 2022-11-22 23:34:33 +02:00
Aevann1 6a6b4c46b8 fix typo 2022-11-22 23:28:51 +02:00
Aevann1 e198102383 repurpose "upvoted" to "voted" 2022-11-22 23:28:30 +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
Snakes 6e1f03f480
Make comment removal UI consistent desktop/mobile. 2022-11-21 20:22:18 -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 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
justcool393 d7e4754a3c head: fix head with no sub 2022-11-21 14:02:50 -06:00
Aevann1 93f189c03b revert prev commit 2022-11-21 21:13:45 +02: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 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 2f31fdfdd7 Revert "remove User.newtab and see if anyone complains"
This reverts commit 787c89961f.
2022-11-21 18:55:13 +02:00
Aevann1 423418e488 remove stray console.log 2022-11-21 17:32:32 +02:00
Aevann1 88f3cd519d
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)
* test

* bleg

* remove User.newtab and see if anyone complains (#471)

* fddf
2022-11-21 07:14:26 -08:00
justcool393 9f51259ee6
[DO NOT MERGE] roulette 0 and 00 bets redux (#470)
* backend support for roulette betting on 0 and 00

* casino: roulette: add 0 and 00 frontend

* add spacer

* roulette: fix the thing

* don't payout where needful not to

* sanity check

* roulette: validate requests properly

* roulette actions from API make more sane
2022-11-21 06:44:16 -08:00