forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

82 Commits (a7b94f91c6ef572797b621ce329a67878ccf9b70)

Author SHA1 Message Date
Aevann 0f1a949996 fix wrong syntax 2023-07-25 21:45:59 +03:00
Aevann 74e9f21261 much more intuitive upload flow 2023-07-22 19:29:19 +03:00
Aevann e8253b1240 hide app icon inside the PWA 2023-07-01 04:05:28 +03:00
Aevann 21cd802ccb fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4302260#context 2023-07-01 03:13:57 +03:00
Aevann d9cac3a843 fix wrong property 2023-06-30 18:58:43 +03:00
Aevann 7851b66962 stop the generic disabling function from re-enabling "post" button 2023-06-30 18:54:39 +03:00
Aevann a98bf5b691 const 2023-06-29 22:14:34 +03:00
Aevann 895b07b4ee fix last commit 2023-06-29 22:14:09 +03:00
Aevann 7137381132 fix last commit 2023-06-29 22:12:29 +03:00
Aevann 82bc32d8aa fix last commit 2023-06-29 22:09:33 +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 97188519a7 add confirmation for changing houses 2023-06-28 00:56:23 +03:00
Aevann 241c45409e replace spaces with tabs 2023-05-06 00:47:09 +03:00
Aevann f3a0080698 remove useless tabs 2023-05-06 00:47:07 +03:00
Aevann 2647019dc9 bottom.js gets executed again when u make a new comment 2023-04-29 17:52:50 +02:00
Aevann 433c05ee34 add 2 useless spaces 2023-04-29 15:27:24 +02:00
Aevann 0b887043fa fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4064078#context 2023-04-29 15:02:01 +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 0afbe21946 same as last commit 2023-03-18 11:26:55 +02:00
Aevann 4a6fcac48f fix toggleelement logic 2023-03-18 11:26:28 +02:00
Aevann 8ed58c1d15 hide older toggled elements when user toggle a new one 2023-03-18 08:36:56 +02:00
Aevann 5e35b9e2c7 remove leftover console.log 2023-03-17 15:37:20 +02:00
Aevann cee74418ad move popover shit to register_new_elements 2023-03-14 10:39:56 +02:00
Aevann 8eebf115a1 fix popover 2023-03-13 16:15:19 +02:00
Aevann e5b21825aa add js code to enforce the max attribute for number inputs 2023-03-12 16:45:52 +02:00
Aevann 965a484595 autoexpand generated textareas too 2023-03-12 16:09:43 +02:00
Aevann 835c5f810d use .img class 2023-03-12 15:13:28 +02:00
Aevann 49146f79a1 minor change to bottom.js 2023-03-12 14:49:20 +02:00
Aevann fedc723a7c retvrn to document-wide event listener to fix the barrage of bugs that won't stop 2023-03-12 01:40:08 +02:00
Aevann 2f043d8b0d fix undeleting highlighted comment 2023-03-11 07:13:45 +02:00
Aevann 170e1ed9d3 fix registered class to work as intended 2023-03-11 07:12:02 +02:00
Aevann 50fe438065 better register_new_elements 2023-03-11 01:47:50 +02:00
Aevann f456077659 try to fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3759332#context 2023-03-10 23:19:08 +02:00
Aevann 52372b156d actually fix cancel button 2023-03-10 03:31:54 +02:00
Aevann 3f6c81407b fix cancel button not working sometimes 2023-03-10 00:44:31 +02:00
Aevann fde1b676b7 i have no idea wtf im doing 2023-03-09 22:34:36 +02:00
Aevann 3415120eb2 am i retarded x2 2023-03-09 22:32:12 +02:00
Aevann 693e882eec am i retarded? 2023-03-09 22:31:13 +02:00
Aevann 75ee789b98 fix i think 2023-03-09 22:30:01 +02:00
Aevann ceef37472e make the logic for disabling buttons consistent 2023-03-09 21:41:08 +02:00
Aevann 27b6d23e13 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3740898#context 2023-03-09 07:59:44 +02:00
Aevann ec4b32caee make disable_btn work for 1 seconds instead of 2 2023-03-07 07:31:20 +02:00
Aevann 7b0d829cbf reduce timeout for disable_btn 2023-03-07 06:43:54 +02:00
Aevann 68e481b15d fix disabling buttons 2023-03-07 02:58:02 +02:00
Aevann 590728b1c4 fix wrong syntax :marseybrainlet: 2023-03-07 02:40:39 +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 3d40cab998 fix bug affecting main picture in /submit 2023-02-27 19:28:20 +02:00