Commit graph

46 commits

Author SHA1 Message Date
nimbleghost ff5c854192 Add PWA, service worker and Web Push
- Use new notification request/opt-in flow for push
- Implement unsubscribing
- Implement muting
- Implement emojis in title
- Add iOS specific PWA warning
- Don’t use websockets when web push is enabled
- Fix duplicate notifications
- Implement default web push setting
- Implement changing subscription type
- Implement web push subscription refresh
- Implement web push notification click
2023-06-07 20:38:20 +02:00
nimbleghost 8319f1cf26 Run eslint autofixes 2023-05-24 12:51:53 +02:00
binwiederhier c87549e71a Width, again 2023-05-23 20:16:29 -04:00
binwiederhier ca5d736a71 Line width 2023-05-23 19:29:47 -04:00
nimbleghost 6f6a2d1f69 Run prettier 2023-05-23 21:13:17 +02:00
binwiederhier ed0c1abd2f Tiny web app fixes 2023-05-15 13:37:30 -04:00
binwiederhier 0885951a67 JS error handling 2023-02-02 15:19:37 -05:00
binwiederhier fdee54f921 Account sync in action 2023-01-11 21:38:10 -05:00
binwiederhier 95a8e64fbb Figure out user manager for account user 2022-12-26 21:27:07 -05:00
binwiederhier 276301dc87 Split out AccountApi 2022-12-25 11:59:44 -05:00
binwiederhier d4c7ad4beb Rename auth package to user; add extendToken feature 2022-12-25 11:41:38 -05:00
binwiederhier 3aac1b2715 Redirect UI if unauthorized API response 2022-12-24 15:51:22 -05:00
binwiederhier fb470eec79 Sign up rate limit 2022-12-24 12:10:51 -05:00
binwiederhier 7bd1c6e115 Check username taken 2022-12-24 08:15:39 -05:00
binwiederhier b5e2c83fba stuff 2022-12-21 21:55:39 -05:00
binwiederhier d982ce13f5 UI work, config.js stuff 2022-12-21 13:19:07 -05:00
binwiederhier ac56fa36ba Plan stuff WIPWIPWIP 2022-12-17 15:17:52 -05:00
binwiederhier 81a8efcca3 Change password, delete account, etc. 2022-12-15 22:07:04 -05:00
binwiederhier c2f16f740b Stuff 2022-12-14 23:11:22 -05:00
Philipp Heckel 92bf7ebc52 blerp 2022-12-08 20:50:48 -05:00
Philipp Heckel c5b6971447 OMG all the things are horrible 2022-12-07 21:26:18 -05:00
Philipp Heckel 8dcb4be8a8 Token login 2022-12-07 20:44:20 -05:00
Philipp Heckel d499d20a9c Token stuff 2022-12-03 15:20:59 -05:00
Philipp Heckel 2772a38dae WIPWIPWIP 2022-12-02 15:37:48 -05:00
Philipp Heckel 4d6c147f24 WIP: DIsplay name for the web app 2022-06-29 15:57:56 -04:00
Philipp Heckel 78a681f277 Fix UTF-8 issues in publish message dialog 2022-04-06 20:04:27 -04:00
Philipp Heckel 83bb9951b0 Split baseUrl and topic 2022-04-05 23:33:07 -04:00
Philipp Heckel 4a5f34801a Do not hide notification behind message bar 2022-04-05 22:57:57 -04:00
Philipp Heckel 2cd7839da3 Docblock 2022-04-05 19:55:43 -04:00
Philipp Heckel 73349cd423 Add test 2022-04-03 20:19:43 -04:00
Philipp Heckel 6791c7395b Almost there 2022-04-03 19:51:32 -04:00
Philipp Heckel aba7e86cbc Attachment behavior fix for Firefox 2022-04-03 12:39:52 -04:00
Philipp Heckel f98743dd9b Continued work on send dialog and drag and drop 2022-04-02 17:06:26 -04:00
Philipp Heckel aabae53e5d File upload 2022-04-01 08:41:45 -04:00
Philipp Heckel 187c19f3b2 Continued work on publishing from the web app 2022-03-27 09:10:47 -04:00
Philipp Heckel 3f978bc45f Better test messages 2022-03-10 22:58:24 -05:00
Philipp Heckel 08846e4cc2 Refactor the db; move to *Manager classes 2022-03-03 16:52:07 -05:00
Philipp Heckel 23d275acec Add Dexie for persistence; user management with dexie; this is the way 2022-03-01 21:23:12 -05:00
Philipp Heckel 0909354a6c Switch to since=ID 2022-02-27 19:29:17 -05:00
Philipp Heckel e422c2c479 Poll on page refresh; validate subscribe dialog properly; avoid save-races 2022-02-26 11:45:39 -05:00
Philipp Heckel 530f55c234 Fully support auth in Web UI; persist users in localStorage (for now); add ugly ?auth=... param 2022-02-25 23:25:04 -05:00
Philipp Heckel 6d343c0f1a Login page of "subscribe dialog", still WIP, but looking nice 2022-02-25 16:07:25 -05:00
Philipp Heckel 1599793de2 WIP: Auth 2022-02-25 13:40:03 -05:00
Philipp Heckel fef46823eb Dedup without keeping deleted array 2022-02-24 14:53:45 -05:00
Philipp Heckel 3fac1c3432 Refactor to make it more like the Android app 2022-02-23 20:30:12 -05:00
Philipp Heckel 415ab57749 Poll on subscribe; test message 2022-02-22 23:22:30 -05:00