forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

154 Commits (f705a1c205bf9f5fe7feb5e4055fc0600de6e82f)

Author SHA1 Message Date
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: rDrama/rDrama#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
Aevann 9a5488d8cb prevent forms from double-submitting 2023-03-21 20:57:42 +02:00
Aevann 3d11c58b33 use DrT's code for files 2023-03-18 16:27:12 +02:00
Aevann f66fcdc6ce make chudding and banning in profiles more seamless 2023-03-17 16:23:42 +02:00
Aevann 146eb45122 make inserting files much more user-friendly 2023-03-17 15:20:11 +02:00
Aevann 59ce111b79 fix multifile issue 2023-03-15 06:34:47 +02:00
Aevann d2ccce4dba allow making bets in comments 2023-03-12 19:36:35 +02:00
Aevann 965a484595 autoexpand generated textareas too 2023-03-12 16:09:43 +02:00
Aevann 5c8791fdd8 minor dedup 2023-03-12 10:35:44 +02:00
Aevann 2953a918bd limiting the #modal shit to mobile only 2023-03-12 10:34:33 +02:00
Aevann 305fa9e052 minor improvement to file js code 2023-03-12 01:36:38 +02:00
Aevann e73b584bb5 try to fix jumpiness of zooming out 2023-03-12 01:01:03 +02:00
Aevann 6ed2a36620 fix cursor file logic 2023-03-11 13:16:17 +02:00
Aevann 739efee3fe Revert "super ugly hack to make pasting files with selection smoother"
This reverts commit 12a5ffab0d.
2023-03-11 13:06:57 +02:00
Aevann f36336ea94 limit #modal to expanded images 2023-03-11 06:59:47 +02:00
Aevann ba22df33df fix showmore 2023-03-11 01:30:42 +02:00
Aevann a64e986a6e restore the old behavior for modals 2023-03-10 23:54:58 +02:00
Aevann be292043a0 fix this ? https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3759628#context 2023-03-10 23:41:43 +02:00
Aevann 37dcee3b5b fix this ? https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3759601#context 2023-03-10 23:38:52 +02:00
Aevann 978c50a0ce fix this ? https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3759575#context 2023-03-10 23:33:41 +02:00
Aevann db6f0bf3a6 fix showmore in profile bios 2023-03-10 23:10:46 +02:00
Aevann 573d6a6fc6 Revert "use () => instead of function() for consistency"
This reverts commit b9aad1503c.
2023-03-10 05:21:02 +02:00
Aevann a42ecd67bf on mobile - zoom out when closing expanded image (testing on devrama) 2023-03-10 03:51:45 +02:00
Aevann b9aad1503c use () => instead of function() for consistency 2023-03-10 03:33:05 +02:00
Aevann ceef37472e make the logic for disabling buttons consistent 2023-03-09 21:41:08 +02:00
Aevann e5fb424bd3 minor fix to handle_files() 2023-03-09 07:28:22 +02:00
Aevann f202188d66 same as last commit 2023-03-07 07:38:55 +02:00
Aevann bdde66f020 parse sortKey as int too 2023-03-07 07:37:14 +02:00
Aevann b2c7ca31da move disabling buttons to bottom.js 2023-03-07 02:21:08 +02:00
Aevann b83aa1d82c better media code 2023-03-06 20:02:12 +02:00
Aevann 5e84b0d5ec increase max filename from 20 chars to 50 2023-03-06 19:51:54 +02:00
Aevann 3a67c1647d fix bug with pasting in /submit + dedup 2023-03-04 21:54:06 +02:00
Aevann b84d24ffa1 expand all textareas on load 2023-03-04 20:09:15 +02:00
Aevann 12a5ffab0d super ugly hack to make pasting files with selection smoother 2023-03-02 00:11:17 +02:00
Aevann eb7631d70e insert filename at cursor 2023-03-01 23:20:54 +02:00