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: rDrama/rDrama#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: rDrama/rDrama#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: rDrama/rDrama#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: 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
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: 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
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: 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
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: 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
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
Aevann1
3eddb8f391
more hat shit
2022-09-05 06:36:31 +02:00
Aevann1
b3a56ca168
more hat shit
2022-09-05 06:33:08 +02:00
Aevann1
15732114d9
try making hats work in popover
2022-09-05 06:21:06 +02:00
Aevann1
82237ca585
fix prev commit
2022-09-05 05:17:40 +02:00
Aevann1
2636ae62c2
add hats to chat (Part II)
2022-09-05 05:14:03 +02:00
Aevann1
71b5367874
cachebust all css and js
2022-09-05 01:50:43 +02:00
Aevann1
0c32d56cd6
casino + style shit
2022-09-05 01:15:37 +02:00
Outrun Colors
1a8c811faa
Re-enable wager after finishing up
2022-09-04 17:04:46 -05:00
Aevann1
4995a69ace
convert to tabs
2022-09-04 23:58:01 +02:00
Outrun Colors
cfa4231f7d
Fix issue with slots not reducing value / center casino games / update user currency without refresh
2022-09-04 16:17:44 -05:00
outruncolors
5e1d98a3bf
WIP: Add Casino (Do Not Merge) ( #341 )
...
* Add new /casino route and template
* Consolidate lottery into casino and add initial template for slots
* Change /lottery route to /casino and replace icon with usd symbol and change sitewide const to reflect change
* Hook up new slots method to casino
* Enable Marseybux spending in casino slots
* Add UI for playing blackjack in casino
* First connection of blackjack UI to backend
* Add protective clause thanks to help from carpathianflorist.
* Create new Casino_Game relation and persist inside of blackjack
* Connect new slots behavior to Casino_Game table
* Create UI action management logic
* Add blackjack game status checker which adds persistence for blackjack
* Gonna handle this better, hold on
* Reorganize blackjack helper methods
* Reorganize casino.js to account for new changes
* Connect up to frontend
* Little changes ya know
* Display a message when winning in Blackjack
* Fix some issues with double down and insure
* Revert "remove owoify-py from requirements"
This reverts commit 4454648ea2
.
* A little casino styling change
* Reorganize into a casino block
* Smallenize the card'
* Remove references to old game data on comments
* Add sql migration file
* Remove logic to drop old columns
* Fix two forgotten conflicts
2022-09-04 22:53:34 +02:00
Aevann1
d9a9d6bd0e
/hats never reloads now, don't read code if u value ur sanity
2022-09-03 22:45:06 +02:00
Aevann1
3e75309821
rewrite sort_table.js, credit to htbz
2022-09-03 20:24:26 +02:00
Snakes
c506ff0c40
Add admin mute for user reports and modmail.
2022-09-01 17:30:15 -04:00
Aevann1
dbd11ad061
tweak "view source" boxes
2022-08-30 07:37:11 +02:00
Aevann1
67289ffc28
fix chat scrolling on mobile
2022-08-27 02:48:28 +02:00
Aevann1
57c62fad7b
do this https://watchpeopledie.co/h/meta/post/6451/changelog-chat-is-now-ioscompatible/117359?context=8#context
2022-08-27 02:15:53 +02:00
Aevann1
45d5f52388
restore betting
2022-08-26 23:53:17 +02:00
Aevann1
0435081198
don't do more than 1 quote (chat)
2022-08-26 22:44:24 +02:00
Aevann1
edf9911123
don't force websockets
2022-08-26 22:25:17 +02:00
Aevann1
bc743fc169
try now
2022-08-26 21:47:40 +02:00
Aevann1
c7359d90b7
try now
2022-08-26 21:39:50 +02:00
Aevann1
4442f6df93
despair
2022-08-26 21:36:34 +02:00
Aevann1
c19eb23a67
despair
2022-08-26 21:35:58 +02:00
Aevann1
7e491208a3
chat shit
2022-08-26 21:31:46 +02:00
Aevann1
71828e6528
fix Enter on iOS (chat)
2022-08-26 21:28:29 +02:00
Aevann1
58879a49a4
testing on prod
2022-08-26 21:24:24 +02:00
Aevann1
a10739af77
go back to polling for iOScels
2022-08-26 20:41:38 +02:00
Aevann1
750f045776
scroll chat when textarea is clicked
2022-08-26 20:32:25 +02:00
Aevann1
f1f71520bf
dude testing on prod lmao
2022-08-26 20:31:53 +02:00
Aevann1
84777d1b29
dude testing on prod lmao
2022-08-26 20:31:28 +02:00
Aevann1
21fc6fe19c
dude testing on prod lmao
2022-08-26 20:30:52 +02:00
Aevann1
9f55ff5458
chat depression
2022-08-26 20:30:15 +02:00
Aevann1
2211e81d80
chat
2022-08-26 20:29:05 +02:00
Aevann1
43ac6e96fb
scroll chat when textarea is clicked
2022-08-26 19:57:31 +02:00
Aevann1
25a62abc13
use minified version of socket.io
2022-08-26 18:34:38 +02:00
Aevann1
e7b997fd01
testing on prod
2022-08-26 18:11:01 +02:00
Aevann1
fdf8d0511f
fix issues with chat
2022-08-26 16:53:56 +02:00
Aevann1
432f90b8d8
try to fix
2022-08-26 01:34:20 +02:00
Aevann1
54a5357136
why did i write this garbage code
2022-08-26 01:31:31 +02:00
Aevann1
027a4a854a
fix prev commit
2022-08-26 01:30:05 +02:00
Aevann1
0aa631fa13
fix prev commit
2022-08-26 01:24:29 +02:00
Aevann1
11d7f34ad0
allow hole jannies to change the hole marsey + cachebust all site assets
2022-08-25 00:22:44 +02:00
Aevann1
9be2897eac
remove the voting javascript logic I added for myself
2022-08-24 16:30:30 +02:00
booosy
50c39755fd
Add trailing newlines
2022-08-24 04:18:07 -04:00
booosy
52d0ab537f
add search help dropdown
2022-08-24 04:18:07 -04:00
Aevann1
94b0045371
remove "view original"
2022-08-19 16:11:42 +02:00
Aevann1
26bbc8b69a
perserve the first 4 checkboxes in /submit too
2022-08-15 08:42:59 +02:00
Aevann1
01cc1726cc
fix chat flash
2022-08-15 07:19:41 +02:00
Aevann1
fca0f5434b
pretty up chat
2022-08-14 15:38:08 +02:00
Aevann1
fefe9f1bde
partially revert 835ee3e577
2022-08-14 14:43:50 +02:00
Aevann1
a817fc35c0
show online on chat in dropdown menu
2022-08-14 05:51:25 +02:00
Aevann1
e73fa11696
fix submit.js
2022-08-14 05:20:43 +02:00
Aevann1
47b6139f7c
fix submit.js
2022-08-14 05:18:52 +02:00
Aevann1
c6c5c6b45b
chat cosmetic changes
2022-08-13 13:07:57 +02:00
Aevann1
13a6243496
revert prev commit
2022-08-13 11:15:36 +02:00
Aevann1
7b2d7bb884
cosmetic changes to chat
2022-08-13 11:15:02 +02:00
Aevann1
5c0dd43688
cosmetic changes to chat
2022-08-13 11:14:21 +02:00
Aevann1
dbbcd77e9a
cosmetic changes to chat
2022-08-13 11:13:15 +02:00
Aevann1
7bc856d393
cosmetic changes to chat
2022-08-13 11:12:18 +02:00
Aevann1
0a1927e4f2
cosmetic changes to chat
2022-08-13 11:11:56 +02:00
Aevann1
eb684a90b7
cosmetic changes to chat
2022-08-13 11:10:57 +02:00
Aevann1
b3c52b0660
fix prev commit
2022-08-13 09:26:00 +02:00
Aevann1
64e3ceb40f
add more details to chat tooltip
2022-08-13 09:23:23 +02:00
Aevann1
835ee3e577
replace data-bs-original-title with title
2022-08-13 09:20:41 +02:00
Aevann1
f6729aab33
fix https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2487028?context=8#context
2022-08-11 19:18:53 +02:00
Aevann1
abd3b0244f
fix this https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2486746?context=8#context
2022-08-11 19:11:24 +02:00
Aevann1
cb91ccc046
fix this https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2329888?context=8#context
2022-08-11 19:10:54 +02:00
Aevann1
3daab0586b
fix typo
2022-08-11 19:01:44 +02:00
Aevann1
f563d6b932
fix https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2402363?context=8#context
2022-08-11 13:39:38 +02:00
Aevann1
a6f1fb17c9
improve expanding images
2022-08-11 09:24:01 +02:00
Aevann1
1000f9c45e
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-08-11 06:05:26 +02:00
Aevann1
cfa17aaf68
rename some retarded ruqqus terminology
2022-08-11 06:04:41 +02:00
Snakes
f2030077f0
Fix /shop purchase confirmation buttons.
2022-08-10 17:28:45 -04:00
Snakes
1411018f8d
Add post categories.
...
Implemented for LGB but can likely be used for WPD and other future
sites. Similar to a reddit post flair. Provides:
- Admin panel for Category management.
- Category selection on post submission.
- 'Recategorize' post action.
2022-08-07 02:57:30 -04:00
Aevann1
d1cb115ada
fix comment editting bug
2022-08-06 16:04:34 +02:00
Aevann1
d99c77cba9
add confirmation dialog to buying awards
2022-08-06 04:03:10 +02:00
Aevann1
c8ea663833
remove filename when commenting
2022-08-05 22:00:16 +02:00
Aevann1
db10272e1b
delete contents of preview when submitting comments
2022-07-23 11:19:47 +02:00
Aevann1
f543abaaab
fix 46786e117b
2022-07-23 11:08:02 +02:00
Aevann1
a4444c9402
make form a const
2022-07-23 10:57:53 +02:00
Aevann1
29a2bc0123
allow ppl to click on the reply icon again to hide the reply box
2022-07-23 10:53:43 +02:00
Aevann1
46786e117b
allow ppl to make multiple comments to the same parents without reloading the page
2022-07-23 10:53:17 +02:00
Snakes
b4fdf248ef
LGB: disable profile bio, banner, song.
2022-07-19 21:20:52 -04:00
Snakes
3225a2a3d4
LGB: disable awards, badges.
2022-07-19 19:59:39 -04:00
Aevann1
d011055421
fix ghostdiv
2022-07-17 19:35:29 +02:00
DrTransmisia
e9d57ba68a
typo ( #320 )
...
le typo has gone
2022-07-17 19:05:24 +02:00
Nekobit
aaabd0cc79
Fix ( #319 )
...
* Sneed
* Bust cache
* Fix widescreens emoji picker
2022-07-17 19:05:11 +02:00
Nekobit
bde47271d7
Allow Inline Emoji modal in more areas ( #318 )
...
* Sneed
* Bust cache
2022-07-17 07:42:03 +02:00
Nekobit
4b47faa1ed
Inline Emojo Picker ( #317 )
...
* Inline emoji picker
* Inline text editor
2022-07-17 07:02:22 +02:00
Aevann1
664029a9fb
sneed
2022-07-16 21:00:02 +00:00