Commit graph

37 commits

Author SHA1 Message Date
Henry Jameson
917fc1def0 reduce spam 2025-06-25 15:58:19 +03:00
tusooa
0cb47652b8
Make asset caching work with vite 2025-03-04 19:31:46 -05:00
tusooa
652781fcc8
Do not preload emoji annotations and i18n files 2025-03-04 19:31:46 -05:00
tusooa
8b8f6cbca2
Cache assets when cache is missing 2025-03-04 19:31:46 -05:00
tusooa
bbeafab1ef
Verify response is not html when pre-caching in install event 2025-03-04 19:31:46 -05:00
tusooa
e21bac3d70
Implement clearing caches in settings 2025-03-04 19:31:45 -05:00
tusooa
67724ad2a4
Fix useless try-catch 2025-03-04 19:31:45 -05:00
tusooa
cc4d4ccbeb
Treat html file as failure in emoji cache 2025-03-04 19:31:45 -05:00
tusooa
ed04c2ac71
Exclude local media requests 2025-03-04 19:31:45 -05:00
Tusooa Zhu
6ab98db7ad
Clean up debug code 2025-03-04 19:31:45 -05:00
Tusooa Zhu
f1f7f5de51
Fix the bug where remote media fail to load without media proxy 2025-03-04 19:31:45 -05:00
Tusooa Zhu
63490ad2da
Cache emojis in service worker 2025-03-04 19:31:45 -05:00
Tusooa Zhu
2b16dd55c4
Cache compiled assets in service worker 2025-03-04 19:31:45 -05:00
Tusooa Zhu
a959104333
Create service worker in app 2025-03-04 19:31:30 -05:00
tusooa
eb6d9cdd4b
Bundle service worker conditionally 2025-02-28 13:31:28 -05:00
tusooa
25de264abb
Use vite to replace webpack 2025-02-28 10:52:04 -05:00
Henry Jameson
d1ea589531 manual lint --fix 2025-02-04 15:23:21 +02:00
tusooa
087a7c6434
Fix storage in service worker 2024-08-22 20:27:38 -04:00
tusooa
b6f1178ea3
Save drafts permanently in local storage 2024-08-22 20:02:52 -04:00
marcin mikołajczak
5c48ea2f1a Support status notification type
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-25 08:42:32 +02:00
Henry Jameson
5ee8fc0aea add setting to always show push notifications 2023-12-13 23:54:12 +02:00
Henry Jameson
bcdf336242 try to fix the "website updated in background" notification 2023-12-13 18:36:16 +02:00
Henry Jameson
072a06fc89 reports visibility setting + actual filtering for desktop notifs 2023-11-19 16:40:30 +02:00
Henry Jameson
fffa7a4f4a fix sw thing 2023-11-13 17:40:55 +02:00
Henry Jameson
ec2937ec1f add options for marking single notification as read 2023-11-13 17:29:25 +02:00
Henry Jameson
f449bfe2f1 SW-to-window communication 2023-11-09 01:52:39 +02:00
Henry Jameson
0628aac664 fallback to old notification method, don't spam if old way of creating
notification fails, try to use favicon
2023-10-26 15:42:21 +03:00
Henry Jameson
1b7e930b2e oops 2023-10-25 19:35:44 +03:00
Henry Jameson
73fbe89a4b initial work on showing notifications through serviceworkers 2023-10-25 18:58:33 +03:00
Henry Jameson
fddb531ed2 --fix 2022-07-31 12:35:48 +03:00
Henry Jameson
26bfbdc2ad fix sw compilation 2022-03-18 11:02:00 +02:00
lain
aa725010c5 ServiceWorker: Use clearer variable names 2020-06-19 15:24:06 +02:00
lain
14540e2a07 Service Worker: Extract messages to own module. 2020-06-16 13:27:58 +02:00
lain
9bfb3754c1 ServiceWorker: Use loader to only notification messages.
This keeps the translation size very small and makes it easy to
integrate all the languages, as dynamically loading them isn't
easy in the service worker.
2020-06-13 11:48:02 +02:00
lain
e2ca107e01 ServiceWorker: Don't show message via sw if a client is active. 2020-06-11 15:26:52 +02:00
lain
5b0190bef5 ServiceWorker: Grab the notification and display it with i18n. 2020-06-11 15:22:58 +02:00
Egor Kislitsyn
02c0e15781 add checkbox to disable web push 2018-12-13 00:03:50 +07:00
Renamed from static/sw.js (Browse further)