Aevann
776d9fc091
revert the modal change
2023-10-02 09:04:05 +03:00
Aevann
2f3699a706
move to bottom again so it doesnt interfere with the #context thing
2023-10-02 06:14:35 +03:00
Aevann
19b8e18db2
desktop-expanded-image > expanded-image
2023-10-02 06:12:06 +03:00
Aevann
28117b5159
better solution to the modal scrollbar question
2023-10-02 05:20:13 +03:00
Aevann
a9f9bd9bb1
fixes to modal commit
2023-10-01 15:57:41 +03:00
Aevann
92a5174466
use my own modal system instead of bootstrap in preparation for potentially not using bootstrap.js anymore (also I like it more and wanna see if anybody notices any changes at all)
2023-10-01 15:03:52 +03:00
Aevann
7a39560f21
dont use replacestate, it fucks shit up
2023-09-30 15:03:17 +03:00
Aevann
0bcaef2e7f
use history objection instead of location object to stop page from jumping unnecessarily
2023-09-30 00:13:40 +03:00
Aevann
ed435cf86b
remove some "window." instances
2023-09-29 09:11:18 +03:00
Aevann
99fcbebff5
replace hash to prevent unnecessary jumping when the user alrdy has a hash
2023-09-29 07:50:42 +03:00
Aevann
ab9172ed06
Revert ""window." -> """
...
This reverts commit 854693124a
.
2023-09-29 04:10:05 +03:00
Aevann
854693124a
"window." -> ""
2023-09-29 03:37:03 +03:00
Aevann
f8c177172d
shorter time code that achieves same results and respects locale's AM-PM preference
2023-09-26 13:20:49 +03:00
Aevann
d089d18e2d
merge /chat and /orgy again
2023-09-25 01:12:42 +03:00
Aevann
cace8266d9
fix this https://media.discordapp.net/attachments/1100416711095758861/1154930281631977533/IMG_7335.png?width=282&height=611
2023-09-23 20:52:38 +03:00
Aevann
856d0e5023
fix button switching on 3 buttons
2023-09-20 17:57:34 +03:00
Aevann
802892a2e1
fix files in /submit
2023-09-17 22:14:07 +03:00
Aevann
8f4f0b8cb3
disable "submit" buttons unless theres a value in textbox to prevent annoying misclicks
2023-09-15 16:55:27 +03:00
Aevann
7a57781013
minor reformat
2023-09-15 03:25:54 +03:00
Aevann
9c30395438
fix this https://rdrama.net/h/toomanyxchromosomes/post/203894/coomer-foid-marseyfans-running-for-a/4981351#context
2023-09-13 02:20:39 +03:00
Aevann
4838784a98
fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4949321#context
2023-09-13 01:57:46 +03:00
Aevann
9ee45b4a24
remove unnecessary spaces and tabs
2023-09-07 18:26:31 +03:00
Aevann
8d84748c42
add spaces for consistency
2023-08-24 00:57:39 +03:00
Aevann
2d0b5a2867
syntax consistency
2023-08-23 03:31:20 +03:00
Aevann
e8a6a01fb3
fix console error
2023-08-23 02:48:27 +03:00
Aevann
ab989611e3
fix console error
2023-08-23 02:47:46 +03:00
Aevann
ed0b3c37a9
remove unnecessary if condition
2023-08-23 02:21:49 +03:00
Aevann
0cbe0b5d3b
update markdown preview when inserting file
2023-08-23 02:21:08 +03:00
Aevann
ed8713e34e
fix first image not uploading
2023-08-18 05:11:21 +03:00
Aevann
60eaa5d282
remove /old_chat (needless bloat)
2023-08-16 23:12:37 +03:00
Aevann
a2215787db
add CTRL+ENTER support in /admin/orgy
2023-08-16 22:18:05 +03:00
Aevann
40d7fc4b71
replace innerText with less performance-heavy textContent
2023-08-14 17:29:06 +03:00
Aevann
f0e40534b0
fix lottery breaking bc of 1882653da6
2023-08-13 17:06:32 +03:00
Aevann
e35803e702
do this https://rdrama.net/h/countryclub/post/79285/-/4788305#context
2023-08-12 23:00:11 +03:00
Aevann
6acb3a159a
dedup function
2023-08-12 21:57:59 +03:00
Aevann
e6f0898b54
dedup if condition
2023-08-12 21:55:55 +03:00
Aevann
1ed722c3b2
check file size via javascript to prevent unneedful upload of files that would get rejected by server for being too large
2023-08-12 21:28:21 +03:00
Aevann
1aac460298
restore accidentially removed lines
2023-08-12 15:48:40 +03:00
Aevann
07ba5a65b2
fix the issue #189 is attempting to solve
2023-08-12 13:54:10 +03:00
Aevann
0dc5761cda
remove unnecessary variable
2023-08-12 13:49:37 +03:00
Aevann
149095d91e
remove jc bloat
2023-08-12 13:35:59 +03:00
Aevann
39098fe323
kitchen sink commit
2023-08-12 00:50:23 +03:00
Aevann
c9144e8bf6
add "X" button to clear attachment in /submit
2023-08-11 19:19:09 +03:00
Aevann
4a4f709c63
remove isShopConfirm exception
2023-08-10 18:59:40 +03:00
Aevann
bcbb9de669
fix "enable push notifications" button not working in chat
2023-08-09 18:33:58 +03:00
Aevann
8b1f7baa74
make logout refresh the current page instead of going to the frontpage
2023-08-08 21:04:39 +03:00
Aevann
144132cbb5
fix accidentially removed line that broke pasting images
2023-08-08 17:33:29 +03:00
Aevann
30fa694cbd
fix bug in safari and firefox caused by saving attachment on restore
2023-08-08 17:20:42 +03:00
Aevann
8cabb85079
fix bug
2023-08-08 15:26:32 +03:00
Aevann
681c987f51
use indexedDB instead of localstorage for saving files since:
...
-it has no size limit (localstorage has 5MB)
-it can store files directly (dont have to convert to base64 like localstorage)
2023-08-08 13:55:14 +03:00
Aevann
4f2cba6af7
make oldfiles contain DataTransfer objects instead of lists
2023-08-08 13:52:07 +03:00
Aevann
74f55162e5
save images only + improvements
2023-08-07 16:27:07 +03:00
Aevann
67a2693409
save images in /submit too
2023-08-07 16:09:46 +03:00
Aevann
f43d9901a9
margin improvement
2023-08-07 15:49:57 +03:00
Aevann
a29191c517
use onload
2023-08-07 14:58:06 +03:00
Aevann
d72df0cd6e
if( -> if (
2023-08-06 06:33:34 +03:00
Aevann
ecf9cd9538
dont undisable button until form is submitted successfully
2023-08-05 18:19:19 +03:00
Aevann
7007daae9b
same as last commit
2023-08-04 19:34:31 +03:00
Aevann
3165489f58
try smth to fix edge case jumps
2023-08-04 19:29:07 +03:00
Aevann
14b1285479
test on devrama with my fish
2023-08-03 23:59:50 +03:00
Aevann
d93efa8650
fix carp issue
2023-08-03 16:49:28 +03:00
Aevann
5ef8da709e
same as last commit
2023-08-03 13:55:26 +03:00
Aevann
2da15d64e4
same as last commit
2023-08-03 13:54:20 +03:00
Aevann
eff82be3dc
same as last commit
2023-08-03 13:53:53 +03:00
Aevann
34ac1dec27
same as last commit
2023-08-03 13:52:20 +03:00
Aevann
7051699ffb
same as last commit
2023-08-03 13:50:12 +03:00
Aevann
0fe9fe31f6
same as last commit
2023-08-03 13:49:21 +03:00
Aevann
30ec96be0d
same as last commit
2023-08-03 13:46:00 +03:00
Aevann
6022699118
same as last commit
2023-08-03 13:42:15 +03:00
Aevann
fef1f9b52a
make code prettier
2023-08-03 13:40:33 +03:00
Aevann
7589238f6a
try to fix "give award"
2023-08-03 13:40:03 +03:00
Aevann
08f42ed354
extend backbutton behavior to all modals
2023-08-03 09:35:33 +03:00
Aevann
9d1de6ee5a
fix reporting and giving awards on mobile
2023-07-30 13:15:07 +03:00
Aevann
9e24ea9c6f
restore #modal
2023-07-30 10:22:33 +03:00
Aevann
9bfad4d200
accomodate older PWAs
2023-07-25 21:47:20 +03:00
Aevann
707b2363b9
remove space
2023-07-23 03:00:36 +03:00
Aevann
5b7187f619
fix console errors
2023-07-23 03:00:36 +03:00
Aevann
da5701ec7c
use console.error
2023-07-23 02:44:00 +03:00
Aevann
c83e214320
add CTRL+enter in award modal
2023-07-22 20:43:32 +03:00
Aevann
74e9f21261
much more intuitive upload flow
2023-07-22 19:29:19 +03:00
Aevann
988a14f187
use SITE_FULL_IMAGES whenever u possibly can
2023-07-22 19:24:16 +03:00
Aevann
59efc521ff
fix filename overflowing page
2023-07-22 14:18:29 +03:00
Aevann
a139197371
persist ppl's edit text on failure
2023-07-14 20:07:58 +03:00
Aevann
527f977695
like last commit
2023-07-14 14:24:53 +03:00
Aevann
5014cce503
fix up /old_chat
2023-07-03 03:36:25 +03:00
Aevann
f3f01bad96
make the "Enable push notifications" button link to /app on non-pwa iphone
2023-06-29 22:05:24 +03:00
Aevann
ab554c163c
Add a button for enabling push notifications ( #158 )
...
Safari requires some user interaction to subscribe to push notifications ([see this](https://developer.apple.com/documentation/usernotifications/sending_web_push_notifications_in_web_apps_safari_and_other_browsers )), so this PR adds a button to the navigation menu that requests notification permissions and does the subscription stuff. It also hides the "Mobile App" button from PWA
Side effect of this PR is that push permissions aren't gonna be requested automatically on other platforms anymore like they used to. Also it's probably a good idea to add this button somewhere else too because it's not very accessible on desktop
![image](/attachments/f2f78028-9e5f-484f-aa98-59eb60e3ccd5)
Co-authored-by: borntolurk <borntolurk@rdrama.net>
Reviewed-on: #158
Co-authored-by: borntolurk <borntolurk@noreply.fsdfsd.net>
Co-committed-by: borntolurk <borntolurk@noreply.fsdfsd.net>
2023-06-29 21:09:27 +03:00
Aevann
66d806c5f7
better popovers
2023-06-27 17:14:33 +03:00
Aevann
24d93f7ab9
reduced the number of bugs and fireflies on mobile
2023-06-26 14:40:36 +03:00
Aevann
b78f6b22b7
remove #modal
2023-06-07 09:53:41 +03:00
Aevann
3ff8f5a687
increase modal timeout to prevent weird page jumping
2023-06-07 07:44:22 +03:00
Aevann
e3149c2a7d
accomodate 8488e98780
2023-06-07 04:19:16 +03:00
Aevann
9984fea7aa
do this https://rdrama.net/h/changelog/post/165657/changelog-megathread-marseynotes/4161153#context
2023-05-16 05:05:19 +03:00
Aevann
f3a0080698
remove useless tabs
2023-05-06 00:47:07 +03:00
Aevann
998df31700
fix console error in settings
2023-05-05 05:13:18 +03:00
Aevann
e051cdcaf2
increase the modal saving time from 200 to 400
2023-05-01 19:05:45 +03:00
Aevann
3fb0de1cd7
dont show the old image in expanded image modal
2023-04-25 09:10:28 +02:00
Aevann
a37fca393d
combined buy button for awards and hats
2023-04-24 17:08:40 +02:00
Aevann
d36a930328
revert "Are you sure?" when something else is clicked
2023-03-21 21:11:02 +02:00
Aevann
532af09a93
fix prev commit
2023-03-21 21:03:28 +02:00