Commit Graph

641 Commits (d66e404e006ab6f90ccb098717ec6533a8006c56)

Author SHA1 Message Date
Aevann 2b3dd62a86 minor fix to ban button on profile pages 2023-01-21 07:46:21 +02:00
Aevann c560d1d9fe improve the "show more" button 2023-01-21 01:47:27 +02:00
Aevann 5235d0f31f remove all aria attributes 2023-01-20 09:10:54 +02:00
Aevann 5a1bc77ed5 fix pagetitle for chat 2023-01-20 06:54:27 +02:00
Aevann cc44dcce2f convert compiled chat shit to tabs 2023-01-20 06:45:30 +02:00
Aevann c4d1e49567 Revert "remove chat.js"
This reverts commit e044ddde90.
2023-01-20 06:27:38 +02:00
Aevann e044ddde90 remove chat.js 2023-01-20 06:24:49 +02:00
Aevann acc71d4cae add /admin/chat and dont store profile_url in chat dict 2023-01-20 06:10:25 +02:00
Aevann cec4cc8530 fix buying in award modal 2023-01-04 21:06:00 +02:00
Aevann cb42953853 fix gif search 2023-01-03 13:25:28 +02:00
Aevann 9caddc9c07 fix favorite emojis, thx DrT 2023-01-03 12:46:54 +02:00
Aevann 7370e47735 actually fix viewmore 2023-01-01 17:35:59 +02:00
Aevann e83f36eca4 fix viewmore 2023-01-01 17:31:40 +02:00
Aevann 096ec92350 fix view more comments 2023-01-01 17:26:38 +02:00
Aevann 2e6d7e61dd fix a bunch of settings 2023-01-01 16:19:25 +02:00
Aevann d831e7ed2c get rid of useless shit 2023-01-01 16:13:56 +02:00
Aevann 5b26941c5c same as last commit 2023-01-01 14:31:40 +02:00
Aevann f7874b2c4e fix show more button 2023-01-01 14:26:25 +02:00
Aevann 361f5a6549 fix popovers 2023-01-01 14:16:27 +02:00
Aevann 044664a25e get rid of useless tabs and spaces 2023-01-01 13:36:20 +02:00
Aevann b0b70d2f0f better 200w behavior 2023-01-01 13:30:33 +02:00
Aevann 91b8602714 Revert "stop using 200w"
This reverts commit cabc0d3603.
2023-01-01 13:18:24 +02:00
Aevann f68372a3f2 fix old comment images 2023-01-01 13:17:29 +02:00
Aevann 8a1343e739 Revert "remove all accessibility attributes"
This reverts commit e3a8fe85e3.
2023-01-01 13:12:35 +02:00
Aevann e3a8fe85e3 remove all accessibility attributes 2023-01-01 13:05:39 +02:00
Aevann 82dd09c651 fix console error 2023-01-01 12:55:30 +02:00
Aevann b18e43487c fix picking background 2023-01-01 11:58:37 +02:00
Aevann 4480e454f8 fix gif modal buttons 2023-01-01 11:47:59 +02:00
Aevann 424b643678 same as last commit 2023-01-01 11:45:46 +02:00
Aevann 3bf072079c fix casino 2023-01-01 11:08:55 +02:00
Aevann 662ab8a209 trim all arguments 2023-01-01 10:56:11 +02:00
Aevann f0971f3a98 fix markdown preview 2023-01-01 10:43:54 +02:00
Aevann cabc0d3603 stop using 200w 2023-01-01 10:10:06 +02:00
Aevann e032596c77 various js fixes 2023-01-01 09:55:25 +02:00
Aevann 8e04c0c9e2 lazy load bg images in settings 2023-01-01 07:48:04 +02:00
Aevann 661646f134 fix IMAGE_FORMATS 2023-01-01 05:38:37 +02:00
Aevann 46023a4c08 pass element instead of its generated id 2023-01-01 05:05:09 +02:00
Aevann f65f714b94 fix reload_page btn 2023-01-01 04:53:35 +02:00
Aevann 21c88c7d9e fix settings 2023-01-01 04:50:06 +02:00
Aevann b7dbe998f9 I need coffee 2023-01-01 04:35:08 +02:00
Aevann 68a7053114 fix buying awards in modal 2023-01-01 04:34:12 +02:00
Aevann 43a2f828d0 debug 2023-01-01 04:32:37 +02:00
Aevann 40d8fb252c fix fp.js 2023-01-01 04:22:47 +02:00
Aevann f999e30159 remove leftover regex 2023-01-01 04:20:02 +02:00
Aevann 0c6866ed84 fix undisabling elements 2023-01-01 04:17:46 +02:00
Aevann 1f4de84b2c fix offline.html 2022-12-31 09:26:36 +02:00
Aevann 8362a4c497 js fixes 2022-12-30 21:35:23 +02:00
Aevann f5211c19f9 fix chat annoyance 2022-12-30 20:09:55 +02:00
Aevann b61df41cef js fixes 2022-12-30 19:06:02 +02:00
Aevann 8c044d45ad improve emoji modal 2022-12-30 18:47:50 +02:00
Aevann 5c13700080 hide ghost identity leak in dev console 2022-12-30 18:22:57 +02:00
Aevann 7141eafdf5 fix award modal 2022-12-30 17:16:49 +02:00
Aevann 71f4797027 fix highlighting comments 2022-12-30 16:20:09 +02:00
Aevann 560a02b25e same as last commit 2022-12-30 15:17:04 +02:00
Aevann 7ee7933773 same as last commit 2022-12-30 14:52:59 +02:00
Aevann f0b20cad55 the worst fucking code you'll ever see 2022-12-30 14:14:18 +02:00
Aevann 49ab7ab36a remove fav emoji welcome message 2022-12-30 10:24:14 +02:00
Aevann c7e93578a9 fix bug with url change after posting 2022-12-30 09:35:52 +02:00
Aevann 6927009b3a delete /comments 2022-12-30 09:35:32 +02:00
Aevann 93e9a42fa3 stop using inline style/script elements 2022-12-29 16:20:27 +02:00
Aevann ed323817f5 fix casino js 2022-12-29 12:58:51 +02:00
Aevann c326c999f2 fix csp violation 2022-12-28 12:25:52 +02:00
Aevann fdd5069887 do this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3313444#context 2022-12-28 11:03:58 +02:00
Aevann 95843440f6 add event listeners to document instead of window 2022-12-27 04:19:19 +02:00
Aevann 264ed60cc4 replace "DOMContentLoaded" with "load" 2022-12-27 03:45:30 +02:00
Aevann 6114111654 tighten CSP 2022-12-27 03:22:39 +02:00
Aevann 35d9d7c3bc fix gif modal 2022-12-27 03:01:27 +02:00
Aevann caa28817aa cachebust badges 2022-12-27 00:10:49 +02:00
Aevann 1c02223586 rework gif modal and award modal 2022-12-26 03:57:09 +02:00
Aevann a122986111 fix giphy framerate 2022-12-25 06:10:54 +02:00
Aevann c279eeb9d2 rename expandDesktopImage to expandImage 2022-12-25 03:56:19 +02:00
Aevann 5901f5a53f minor fix for url for expanded image modal 2022-12-25 03:56:10 +02:00
Aevann e6803f93e9 rework gif modal 2022-12-25 03:45:24 +02:00
Aevann 108e7781ea reset text-area size after commenting 2022-12-25 01:21:52 +02:00
Aevann1 020913f50c add more timeouts 2022-12-20 00:18:32 +02:00
Aevann1 32bc631648 autofocus gif search too 2022-12-20 00:16:06 +02:00
Aevann1 a613a190c2 put focusing on emojisearchbar in a timeout 2022-12-20 00:10:49 +02:00
Aevann1 1f110e471e try to prevent the need to click "toggle anthem" twice 2022-12-19 21:17:23 +02:00
Aevann1 29fa5bcf4d add lootboxes 2022-12-19 19:12:07 +02:00
Aevann1 98afe7d2c3 don't use linux symlinks so the site works in windows 2022-12-19 19:12:05 +02:00
Aevann1 ce93e4f3bc dont play profile songs during event 2022-12-19 04:18:48 +02:00
Aevann1 c861e6e389 minor js fix 2022-12-16 22:17:23 +02:00
Aevann1 760c4f7ae0 add error exception to postToastSwitch 2022-12-16 22:00:45 +02:00
Aevann1 da4c15d0af improve speed_emoji_modal 2022-12-16 21:14:24 +02:00
Aevann1 38d8fe2647 Revert "try to serve turnstile script"
This reverts commit fc18ce9c8e.
2022-12-14 20:18:13 +02:00
Aevann1 fc18ce9c8e try to serve turnstile script 2022-12-14 20:14:39 +02:00
justcool393 34ce953884 Fix DM and modmail replies 404ing (#65)
messages got borked completely by this commit

this reverts commit b649a16b46.

---

Snakes note: DM and modmail replies 404'd because dispatched
to the wrong endpoint. The fix to that affected cancel buttons
in some contexts, so this PR also fixes those. Cancel button
presence and behavior should be same as it was a ~week ago
(i.e. correct), and all reply everywhere seem to work right.

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #65
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-14 04:16:43 +00:00
Aevann1 b649a16b46 fix cancel button 2022-12-13 20:26:25 +02:00
Aevann1 59e0beebb2 minor change 2022-12-11 21:19:10 +02:00
Aevann1 e1d5b8eb88 minor fix to sorting tables 2022-12-10 13:57:23 +02:00
Aevann1 1886dd986e move sort_table.js to core.js 2022-12-10 12:40:34 +02:00
Aevann1 a3c51202d1 improvement to sorting table + get rid of scope="col" 2022-12-10 10:47:15 +02:00
Aevann1 a01cde55ad minor js fix 2022-12-09 08:50:28 +02:00
justcool393 f848f68799 walls: remove duplication among routes/templates (#52)
removes a bunch of duplicated code in commenting and userpages

Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #52
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-09 03:35:28 +00:00
Aevann1 ecda2536ec use insertAdjacentHTML 2022-12-07 22:27:25 +02:00
Aevann1 3c2880fd11 fix edge case 2022-12-07 21:59:02 +02:00
Aevann1 124a86643d fix markdown preview for polls 2022-12-07 19:12:56 +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: #53
2022-12-07 16:51:51 +00:00
Aevann1 868fb1024f update carp's badge 2022-12-05 06:37:03 +02:00
Aevann1 cb4d941fd0
add profile wall 2022-12-04 20:05:45 -05: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 f28ae7cca1 refresh comment textarea on edit - fixes edge case 2022-12-03 07:27:47 +02:00
Aevann1 d8292b7601 try different approach to opening push notification 2022-12-03 01:47:35 +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 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
Aevann1 fe07301993 fix service worker 2022-12-02 22:28:49 +02: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
justcool393 6b3fa2f918 table sorting: mitigate chrome bug 2022-11-28 17:11:29 -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 2cdfb42c2f revert jc change that broke sorting tables 2022-11-28 06:50:24 +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
Aevann 4b66e40ca8 same as last commit 2022-11-27 20:50:34 +02:00
justcool393 767cc467bb marseys: cache marseys and emojis and fun stuff (#15)
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #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: #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
Aevann1 cdac98ae05 fix logout bug 2022-11-26 23:45:39 +02:00
Aevann1 a8c6daa431 fix console error 2022-11-26 07:34:50 +02:00
Aevann1 faf8e4ed2f dude consistency lmao 2022-11-26 01:25:15 +02:00
Aevann1 9c3f520aa7 use snek's formatDate everywhere 2022-11-23 00:36:33 +02:00
Snakes bef9ae8d0c
Fix Twitter embeds (caught in find-replace). 2022-11-21 19:02:23 -05:00
Aevann1 596cf967a2 go back to CRGD's cervix worker 2022-11-21 21:22:02 +02:00
Aevann1 1771f34069 make service-worker work for logged-out-cels and update it 2022-11-21 20:35:12 +02:00
Aevann1 6b00482180 remove leftover pwa js code 2022-11-21 20:31:53 +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 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
Aevann1 9488d3309f small twitter js fix 2022-11-21 16:21:45 +02:00
Snakes 220409c8fb
Fix 62ffe2d628: returning document, must send 200. 2022-11-20 20:11:17 -05:00
Aevann1 62ffe2d628 use postToast in betting so the js deducting coins only execute if responde code is < 300 2022-11-21 03:00:16 +02:00
Aevann1 3b56712dd8 try offline cervix worker again (YOLO) 2022-11-21 01:40:48 +02:00
Aevann1 0baa32e6eb fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3107571?context=8#context 2022-11-20 18:55:26 +02:00
Aevann1 caff8815ee restore pinning to how it was before JC raped it 2022-11-19 17:36:37 +02:00
Aevann1 599729f54a use postToast in delete_post_modal 2022-11-18 23:35:38 +02:00
Aevann1 82579cdb71 use postToast in report_comment_modal 2022-11-18 23:32:48 +02:00
Aevann1 0e10dd6b32 use postToast in delete_comment_modal 2022-11-18 23:27:53 +02:00
Aevann1 4d2a2937e9 fix this https://rdrama.life/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3072105?context=8#context 2022-11-18 22:53:54 +02:00
Aevann1 d73ffaa2eb use a window event listener instead of a loop 2022-11-18 21:41:03 +02:00
Aevann1 ee82ab2072 theres only 1 nav element, why a loop? 2022-11-18 21:40:46 +02:00
Aevann1 78deb9d6f0 make an event listener be on window instead of an element 2022-11-18 21:34:56 +02:00
Aevann1 b4448ae926 remove unnecessary arrow functions 2022-11-18 21:34:38 +02:00
Aevann1 ce24c24e1d put js files not made by us in a folder 2022-11-18 21:16:44 +02:00
Snakes a9eb7bcd57
Fix submission repost link escaping. 2022-11-15 19:28:21 -05:00
justcool393 994ca902ca uploads: fix paste to upload on firefox 2022-11-13 08:16:42 -06:00
Aevann1 5cd354ceb3 fix prev commit 2022-11-12 12:44:13 +02:00
Aevann1 cadc1f507a fix sizing of thin badge in popover 2022-11-12 12:42:11 +02:00
Aevann1 42e40c1691 split off muting and unmuting 2022-11-12 11:11:34 +02:00
Aevann1 239d2e0c27 minor cosmetic fix 2022-11-12 10:16:52 +02:00
justcool393 9be721dcf4 send xhr header so errors don't give back HTML pages 2022-11-11 23:46:21 -06:00
Aevann1 f81205a427 hide poll scores until the user votes 2022-11-11 21:02:57 +02:00
Aevann1 0796a17422 switch from hcaptcha to turnstile 2022-11-11 20:34:06 +02:00
Aevann1 4202187a83 fix console error 2022-11-11 20:32:06 +02:00
Aevann1 80d240a45b show join date on popover 2022-11-11 17:22:10 +02:00
Aevann1 5b274c95c9 expand post-title field when editing 2022-11-11 16:47:51 +02:00
Aevann1 8a8c55ed09 Revert "remove badges from popovers"
This reverts commit 39297b7c22.
2022-11-11 16:25:28 +02:00
Snakes 803ce06712
Sanitize more intermediate values.
Frankly, this is almost entirely speculative. I don't see any viable
exploits through either of these codepaths. But automated tooling
doesn't see the implicit constraints on these values, so might as well
do more sanitization.
2022-11-10 23:17:25 -05:00
Aevann1 170959c071 untick "notify followers" checkbox when "ghost thread" checkbox is ticked 2022-11-09 21:26:38 +02:00
Aevann1 a95d378cf6 perserve status of ALL checkboxes in /submit 2022-11-09 21:25:52 +02:00
Aevann1 380e91e9c4 remove chat stuff not used anymore 2022-11-09 21:06:43 +02:00
Aevann1 4bced848ee same as last commit 2022-11-09 19:31:53 +02:00
Aevann1 78712da50b better quoting behavior 2022-11-09 19:28:50 +02:00
Aevann1 f32e598a64 when u toggle textarea, make it fit the size of text in it 2022-11-09 19:23:21 +02:00
Aevann1 39297b7c22 remove badges from popovers 2022-11-08 15:58:34 +02:00
Aevann1 e773e40a0d style change in settings_css 2022-11-08 06:09:55 +02:00
Aevann1 efe168e2c2 increase max filename from 20 chars to 22 chars 2022-11-08 00:25:39 +02:00
Aevann1 8e3cf6774b Revert "stop removing the last 2 characters of filenames (no clue why this is a thing)"
This reverts commit 530233796c.
2022-11-08 00:21:03 +02:00
Aevann1 530233796c stop removing the last 2 characters of filenames (no clue why this is a thing) 2022-11-08 00:17:11 +02:00
Aevann1 c8a613389b remove/modify js return statements 2022-11-07 12:49:49 +02:00
Aevann1 4b3b52013a remove unnecessary parameter 2022-11-07 08:30:41 +02:00
Aevann1 ce6998bd6e make shadowbanned, banning, chudding from the userpage work without refreshing the page 2022-11-07 08:08:53 +02:00
Aevann1 72e76681b5 remove useless blurp 2022-11-07 08:08:53 +02:00
Aevann1 5be668a049 fix "give award" button not getting grayed-out correctly 2022-11-07 07:41:57 +02:00
justcool393 ddd748b98b fix js and html 2022-11-06 20:06:37 -08:00
justcool393 83fe77c039 settings: implement backend logic for permanent filters 2022-11-06 20:06:37 -08:00
Aevann1 d76fe63c7f constantify image extensions and fix imgur .gif bug 2022-11-05 23:01:23 +02:00
Aevann1 87d5a0de46 improve ban modal and add chud modal 2022-11-05 04:12:22 +02:00
Aevann1 c5c6db70e4 rename "submitFormAjax()" to "sendMessage()" 2022-11-05 04:12:22 +02:00
Aevann1 1b34ef4244 rename "callback" to "extraActionsOnSuccess" 2022-11-04 23:56:08 +02:00
Aevann1 995d3cbc98 add postToastReload 2022-11-04 23:44:44 +02:00
Aevann1 204415c4f8 bug fix 2022-11-04 20:45:52 +02:00
Aevann1 d4a99c05e9 rename postToast -> postToastSwitch and postToastCallback -> postToast for clarity 2022-11-03 21:08:22 +02:00
Aevann1 20fc3e29b2 use postToastCallback in postToast 2022-11-03 21:07:08 +02:00
Aevann1 c2c5e61e60 camelCase 2022-11-03 18:11:11 +02:00
Aevann1 24529678ce same as last commit but for comments 2022-11-03 17:43:00 +02:00
Aevann1 32f079ed20 make post approval and removal effects only happen when response code is between 200 and 300 2022-11-03 17:38:46 +02:00
Snakes fa43317ee2
Revert "Merge pull request #396 from nekobbbbbbit/debooterstrap"
This reverts commit ae1e6b01a4, reversing
changes made to 7e5c1b0ad8.
2022-10-31 18:35:47 -04:00
Aevann1 e3a8f5eda6 disable "give award" button when number of owned selected awards goes to 0 2022-10-31 23:10:04 +02:00
Aevann1 8b95a02ae4 when u unpin a post that's temporarily pinned, both the unpin and pin buttons are hidden, this fixes that 2022-10-30 17:20:11 +02:00
Aevann1 2ba1a1e86e remove postToast compatability function 2022-10-30 17:10:07 +02:00
justcool393 74d3c325d4
Merge branch 'frost' into debooterstrap 2022-10-29 20:07:18 -07:00
justcool393 617d237adc
re-add special character check 2022-10-29 21:57:47 -05:00
Aevann1 227d074da7 remove redundant "noreferrer" 2022-10-29 23:46:35 +02:00
Aevann1 06314f92b1 remove referrer from html tags 2022-10-29 23:42:30 +02:00
Aevann1 907a0cc0d1 don't send referrer to twitter 2022-10-29 23:24:17 +02:00
Aevann1 9d31b8daa4 remove 2 spaces from lite-youtube.js 2022-10-29 23:24:11 +02:00
Nekobit 7e1681e34e
Bump, Responsive login page, use new stylesheet helpers 2022-10-29 14:30:20 -04:00
Aevann1 89b0807b2d don't send referrer to youtube 2022-10-29 20:23:48 +02:00
Aevann1 4a43bc239d remove formatting buttons (useless bloat) 2022-10-28 21:09:56 +02:00
justcool393 548f2613c7 pinprovements 2022-10-25 17:48:10 -05:00
Aevann1 887bb64483 remove forgotten console.log(e) 2022-10-25 15:58:38 +02:00
Aevann1 8e257d2376 fix removing posts 2022-10-25 15:41:49 +02:00
Aevann1 a390f3d917 refactor my prev commit 2022-10-25 00:36:54 +02:00
Aevann1 ae3831efb5 another small js fix 2022-10-25 00:02:44 +02:00
Aevann1 9dd9329c32 small js fix 2022-10-25 00:00:19 +02:00
Aevann1 b2317a4563 pause background music when a video or audio is played 2022-10-24 23:16:41 +02:00
Aevann1 2d0879ec3e allow admins to unmute users from modmail 2022-10-24 22:38:54 +02:00
Aevann1 80eedbd58d more approval/removal refactors 2022-10-23 18:24:23 +02:00
Aevann1 5d846e64c7 same as last commit 2022-10-23 18:24:22 +02:00
Aevann1 25e50be552 same as last commit 2022-10-23 18:24:22 +02:00
Aevann1 9b47ad166b small refactor to approving psots and comments 2022-10-23 17:51:49 +02:00
Aevann1 b83f9bcfb1 fix prev commit 2022-10-23 00:12:46 +02:00
Aevann1 78e1bf9784 clear message field after submitting it 2022-10-23 00:10:36 +02:00
Snakes 333c36f6b7
Update homoween badges, cachebust badges. 2022-10-21 19:57:59 -04:00
Aevann1 25c5c8fb7d better js for follower pages 2022-10-21 00:14:28 +02:00
justcool393 5f16356d7a use showToast in some areas where we weren't before 2022-10-20 15:45:56 -05:00
justcool393 2386a2e04b fix ban and delete modals 2022-10-19 13:00:33 -05:00
Aevann1 457acd43cb decrease the number of owned awards when u give one 2022-10-19 19:54:18 +02:00
Snakes 340ffdff76
Fix error toast on award modal success. 2022-10-16 18:22:00 -04:00
Snakes 1114590cc7
Suppress log on first award modal selection. 2022-10-16 18:14:50 -04:00
Aevann1 c49ae42205 fix for joan 2022-10-14 20:41:03 +02:00
justcool393 85d2994cce pin_post -> pinPost 2022-10-14 11:34:31 -07:00
Aevann1 2411053d55 add tiered pins 2022-10-14 20:28:20 +02:00
justcool393 df1eedc8d9
button1 button2 2022-10-14 11:20:23 -07:00
justcool393 09027e51d7 reply to edit 2022-10-14 08:43:58 -07:00
justcool393 6efb9b41b4 use createXhrWithFormKey in the lottery 2022-10-14 06:07:47 -07:00
justcool393 bb9ab04a90 spaces -> tabs 2022-10-14 06:07:47 -07:00
justcool393 0eaed637be use createXhrWithFormKey in more places 2022-10-14 06:07:47 -07:00
justcool393 f22ef3a7e5 refactor post_toast_callback a bit and create createXhrWithFormKey function 2022-10-14 06:07:47 -07:00
justcool393 6884774906 showToast adjusments so we can use toast 2 and adjust them for ALMOST all of them 2022-10-14 06:07:47 -07:00
justcool393 c12f5ae43a use showToast in most places that we can 2022-10-14 06:07:47 -07:00
justcool393 2dd74d3acd don't constantly check for reposts when it's obvious there can't be one
we currently spam the /is_repost api on every single character change in the URL box even though there is no way these URLs would ever be submitted to the site

introducing a frankly conservative limit to where we start actually pinging both the api and (on the backend) the database for reposts may help in some cases

the current constant was chosen by taking the length of "http://" and adding 2 to it
2022-10-14 03:27:45 -07:00
justcool393 e4cbe4178a tabify 2022-10-14 02:50:39 -07:00
justcool393 29af9dbbf4 move fn 2022-10-14 02:50:39 -07:00
justcool393 7620d8d8cd show the error toast on errors, not the success toast 2022-10-14 02:50:39 -07:00
justcool393 3a11cfd603 rename classname to className 2022-10-14 02:50:39 -07:00
justcool393 b06ee9ac9b refactor of post_toast 2022-10-14 02:50:39 -07:00
justcool393 2559794135 Move stuff we put in bootstrap.js to a new core.js file 2022-10-14 02:50:39 -07:00
justcool393 e511fec4aa i don't know why this committed 2022-10-13 08:15:33 -07:00
justcool393 f7ca9aa248 fix the weird text scrolling bug (hopefully)
* this seemed like an odd floating point bug with scrollTo(), maybe? i think this should fix it
2022-10-13 08:11:47 -07:00
justcool393 ad52c49782 put details EVERYWHERE
why are there 25 of these...
2022-10-12 01:25:32 -07:00
Aevann1 dac9fabccd dont disable the button in the shop (to make buying en masse either) 2022-10-11 20:22:14 +02:00
Aevann1 55eabc0871 give user an error in the UI if they try to submit more than 4 files 2022-10-11 19:13:50 +02:00
justcool393 c0acb1722b abort a bunch of stuff where we manually returned JSON 2022-10-11 08:40:19 -07:00
Aevann1 a20f5723bf make sure all external urls have rel="nofollow noopener noreferrer" 2022-10-10 07:22:18 +02:00
Aevann1 db929c7615 simplify 3 js functions 2022-10-10 06:56:39 +02:00
Aevann1 1236d7bcd5 fix "remove" button in /live 2022-10-08 08:13:35 +02:00
Aevann1 acbfbb07ce rework "are you sure?" and make it work on subscribing to posts and reverting admin actions 2022-10-08 08:06:46 +02:00
Aevann1 2d2a35d7ca make giving awards not refresh the page 2022-10-07 05:25:34 +02:00
Outrun Colors c0d8567013
Add to draft when selecting an emoji 2022-09-26 21:19:48 -05:00
Snakes 1e6908417e
More compact datetime format in table timestamps. 2022-09-25 17:53:42 -04:00
Outrun Colors 695159052b
Add typing debounce/enable quoting 2022-09-24 17:05:50 -05:00
Aevann1 ee204817ae sneed 2022-09-24 21:00:05 +00:00
Snakes aa4cbc173f
Remove yarn build artefacts from index. 2022-09-24 00:45:10 -04:00
Outrun Colors 2282412327
Fix issue for iphone 2022-09-23 23:43:36 -05:00
Outrun Colors 29034785f8
Minor styling changes 2022-09-23 23:34:56 -05:00
Outrun Colors 9242269bac
Tick version 2022-09-23 23:15:30 -05:00
Outrun Colors 6dae286e19 Minor chat styling issue 2022-09-23 23:08:35 -05:00
outruncolors 484de39566
[DO NOT MERGE] Chat restructure (#360)
* Create new subdirectory for chat-related stuff

* Gitignore

* Have new code show up on chat

* Have new code show up on chat

* Fix config issue

* More script stuff

* Create UserInput components

* More chat changes

* More updates to chat

* Add chat:watch script

* Move up state and pass down

* Match up existing functionality entirely

* Match up existing functionality entirely

* Send a message when hitting Enter

* feature based directories

* First crack at emoji drawer

* Leave everything in a fucked up state ugh

* Leave it in a better state

* Stop for the night

* Decouple by abstract chat functionality to provider

* Wait a minute...

* Small chat restructure

* Prepare for notifications

* Add root context

* Flash number of messages

* Read this and u die

* Add quote functionality

* Couple tweaks

* Shallowenize the features dir/

* Add activity list

* Ch-ch-ch-ch-ch-changes

* Enable moving drawer

* Hover style on activities

* UserList changes

* Add emoji processing logic

* Duhhhh

* Scroll to top when changing query

* Put the emoji in the drawer

* Improve emoji drawer

* Add emoji genres

* Do not show activities

* Add feature flag technology

* Fix issue where own messages were triggering notifications

* Adjust startup scripts

* Responsive part 1

* Styling changes for emoji genres

* More emoji drawer styling

* Add QuickEmojis

* Re-add classnames

* Set version

* Modify build script

* Modify build script

* Mild renaming

* Lots of styling changes

* Leggo.
2022-09-23 22:49:40 -05:00
Snakes 7b9ac8e13b
Fix Thin badge popover sizing; expand assetcache. 2022-09-23 18:38:53 -04:00
Aevann1 97dc727e22 cachebust 2022-09-20 23:22:58 +02:00
Aevann1 03ae77f26b testing on devrama 2022-09-20 23:21:17 +02:00
Aevann1 56d1d7ccfe testing on devrama 2022-09-20 23:19:39 +02:00
Aevann1 25c6673f5c allow ppl to reply to DMs multiple times without refreshing 2022-09-20 21:06:26 +02:00
Aevann1 272e39ebf2 add spider award 2022-09-20 19:52:52 +02:00
Aevann1 aa5752530a make max num of fireflies same max num of bugs 2022-09-20 19:27:41 +02:00
Aevann1 f54791cc4c remove categories 2022-09-19 20:04:30 +02:00
Aevann1 b62f9ac30d fix pusher 2022-09-17 22:39:52 +02:00
Aevann1 56a7347fc1 add confirmation for chat msg deletion 2022-09-14 13:25:00 +02:00
Aevann1 af66453f2b fix NaN on gifting on mobile 2022-09-13 19:45:00 +02:00
Aevann1 9f6ec11cd4 remove unnecessaryu block from bootstrap.js 2022-09-13 13:05:13 +02:00
Aevann1 0e198ffcdb remove unused var 2022-09-13 12:52:32 +02:00
Aevann1 7e811b47fb reporting improvement 2022-09-12 11:48:01 +02:00
Aevann1 3dc755e5a0 fix https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2705957?context=8#context 2022-09-12 09:53:01 +02:00
Aevann1 56c4f8ccf0 fix https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2705881?context=8#context 2022-09-12 09:34:12 +02:00
Aevann1 73ff78d0f5 fix 1st part of this https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2705204?context=8#context 2022-09-12 06:38:04 +02:00
outruncolors d57a569125
[DO NOT MERGE] Casino changes (#350)
* Merge up

* Create composable template for casino games

* Big changerinos

* Only allow double down sometimes

* Add drawing capability

* Make everything pretty

* Add leaderboard

* Update files/routes/casino.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

* Update files/helpers/casino.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

* Update files/helpers/twentyone.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

* Update files/helpers/twentyone.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

* Update files/helpers/twentyone.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

* Add some stuff

* Rehab screen

* Default sets for no games

* Stupid revert

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
2022-09-10 16:01:34 -05:00
Aevann1 bd7c0e71bf forgot to cachebust 2022-09-10 11:34:48 +02:00
Aevann1 8f0b2ea9c3 test on devrama 2022-09-10 11:31:51 +02:00
Aevann1 8b5b6a2429 fix sorting 2022-09-10 10:45:37 +02:00
Aevann1 b99cc4a8aa remove surgical tools I forgot in the patient's body 2022-09-10 10:42:17 +02:00
Aevann1 47890d771d add Marsey Submission UI 2022-09-09 11:13:50 +02:00
Aevann1 23338e8172 try to fix the wrong method error on giving awards 2022-09-08 21:21:41 +02:00
Aevann1 e9445efc22 make bootstrap work on localhost 2022-09-08 19:12:46 +02:00
Aevann1 d22240160c testing on devrama 2022-09-08 18:46:45 +02:00
Aevann1 05bacd1efc change reporting flow 2022-09-07 03:22:40 +02:00
Aevann1 b2d134fa6c update glowing hat 2022-09-06 23:15:35 +02:00
Aevann1 f8cd1bea03 make the poll code much worse 2022-09-06 01:33:58 +02:00
Aevann1 62d077576f change poll- and choice- and -bet to -option 2022-09-06 00:54:05 +02:00
Aevann1 28e9064e28 agony 2022-09-05 23:33:57 +02:00
Aevann1 26e28efbec Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost 2022-09-05 21:46:06 +02:00
Aevann1 4dc7e73499 strip emoji search input 2022-09-05 21:46:04 +02:00
Outrun Colors b1674355c0
Restructure blackjack to only use a single endpoint and better handle "game end" logic 2022-09-05 13:27:00 -05:00
Aevann1 9bf2d75bce fix chat hats 2022-09-05 10:57:11 +02:00
Aevann1 e6d5839e4d fix chat 2022-09-05 06:38:01 +02:00