Commit Graph

2309 Commits (77cc52e4acef722d920c01e4341f27961298c58f)

Author SHA1 Message Date
nimbleghost d51ca20992 Use dvh for main height
This takes into account browser UI for the viewport calculation
2023-06-26 23:36:04 +02:00
nimbleghost 4a1adaeab2 Make login and sign up form responsive 2023-06-26 23:34:22 +02:00
nimbleghost fd5bfd161d Web app UI: make preferences responsive 2023-06-26 23:19:58 +02:00
nimbleghost 0c496ca223 Fix iOS prompt 2023-06-26 21:49:53 +02:00
nimbleghost 175ab5ea76 Fix: refresh web push pref on standalone change 2023-06-26 08:56:07 +02:00
binwiederhier 5627097a6c Remove WebPush.js, move to hooks.js; add docblocks 2023-06-25 21:46:26 -04:00
binwiederhier 94fb23ba17 Style changes 2023-06-25 21:10:25 -04:00
binwiederhier dbd8ed14bf Merge branch 'main' into refresh-pwa-state 2023-06-25 19:24:51 -04:00
binwiederhier 789078e916 Deps 2023-06-25 19:24:22 -04:00
nimbleghost 833293ad77 Set PWA web push enabled on launch instead 2023-06-25 22:00:45 +02:00
nimbleghost a8d3297c4e Correctly handle standalone (PWA) mode changes
- Also handle notification permission changes
- Remove web push schedule worker since this complicates
  things and doesn’t do _that_ much. We have the reminder
  notification if the user truly doesn’t reload ntfy in
  more than a week.
2023-06-25 21:25:52 +02:00
binwiederhier 532fd3c560 Merge branch 'main' of github.com:binwiederhier/ntfy 2023-06-25 12:58:30 -04:00
binwiederhier 0c937d02df Bump deps 2023-06-25 12:58:18 -04:00
Philipp C. Heckel 8a800a4cb2
Merge pull request #780 from nimbleghost/docs-fix
Update PWA docs
2023-06-25 12:23:59 -04:00
nimbleghost 8f6f97b8e4 Update PWA docs
Clarify that macOS PWA support is limited to Safari on
macOS 14 (releasing Q4 2023).
2023-06-25 17:51:52 +02:00
binwiederhier 79df1c9040 Words 2023-06-25 09:48:12 -04:00
binwiederhier 9a71c3d8dc Shrink images 2023-06-25 09:47:09 -04:00
binwiederhier 74788893e9 Add Safari images 2023-06-25 09:43:51 -04:00
binwiederhier 5c0ecc0250 Cont'd docs 2023-06-24 22:40:40 -04:00
binwiederhier c0ac2c95ca Cont'd docs 2023-06-24 22:08:57 -04:00
nimbleghost be4c80e201 Improve web push docs 2023-06-24 20:35:59 +02:00
Philipp C. Heckel 32a110b601
Merge pull request #778 from nimbleghost/pwa-defaults
Default installed PWA to web push enabled
2023-06-24 14:25:22 -04:00
nimbleghost 48d1f7887d Default web push to enabled on PWAs 2023-06-24 20:22:34 +02:00
nimbleghost dd02267f9b Disable PWA (manifest) when web push is disabled 2023-06-24 20:11:10 +02:00
binwiederhier 142a297552 typo 2023-06-24 14:10:33 -04:00
binwiederhier 9aeea4d9fa Fix text 2023-06-24 13:45:29 -04:00
binwiederhier e8ecd6b006 Merge branch 'main' of https://hosted.weblate.org/git/ntfy/web 2023-06-24 13:34:21 -04:00
ayuyydev 71b961d3f3
Translated using Weblate (Chinese (Traditional))
Currently translated at 57.0% (218 of 382 strings)

Translation: ntfy/Web app
Translate-URL: https://hosted.weblate.org/projects/ntfy/web/zh_Hant/
2023-06-24 16:51:13 +02:00
binwiederhier 271056a4aa The last commit 2023-06-20 21:46:09 -04:00
binwiederhier 141565d9d2 Merge branch 'main' into pwa 2023-06-20 21:23:42 -04:00
binwiederhier c400c5571f Merge branch 'main' of https://hosted.weblate.org/git/ntfy/web 2023-06-20 21:23:34 -04:00
binwiederhier d266579be1 Merge branch 'main' of https://hosted.weblate.org/git/ntfy/web into pwa 2023-06-20 21:22:35 -04:00
Oğuz Ersen f61c67e6be
Translated using Weblate (Turkish)
Currently translated at 100.0% (382 of 382 strings)

Translation: ntfy/Web app
Translate-URL: https://hosted.weblate.org/projects/ntfy/web/tr/
2023-06-20 19:49:30 +02:00
nimbleghost 5f6d753cb7 Remove navigation fallback for all except app root 2023-06-19 21:45:55 +02:00
nimbleghost 8211b4cc24 Fix: add v1 to navigation fallback denylist
This is required for the Stripe redirection flow
2023-06-19 21:28:40 +02:00
nimbleghost 000a3e005c Improve dynamic webmanifest setup 2023-06-19 20:41:41 +02:00
nimbleghost d7aacb8b24 Fix PWA for non-root web roots 2023-06-19 10:58:15 +02:00
binwiederhier 6615aea5dc Fix grant button in language files 2023-06-18 20:29:08 -04:00
binwiederhier 27a4e58fb1 Merge branch 'main' into pwa 2023-06-18 20:24:47 -04:00
binwiederhier 4c7dc4c1ba Merge branch 'main' of https://hosted.weblate.org/git/ntfy/web 2023-06-18 20:24:20 -04:00
nimbleghost 5ce78660cf Doc fixes (2) 2023-06-18 22:42:19 +02:00
nimbleghost 89f5cc577e Doc fixes 2023-06-18 21:17:49 +02:00
binwiederhier dc7dd836c6 web-push-startup-queries 2023-06-18 14:20:22 -04:00
binwiederhier 88c6b4adae Rename web-push-subscriptions-file to web-push-file 2023-06-17 21:57:47 -04:00
binwiederhier 020996ea04 Minor changes 2023-06-17 21:51:04 -04:00
nimbleghost 30a8f66db2 Reorder start/stopWorkers 2023-06-17 22:32:24 +02:00
nimbleghost 9ba733d4e0 Add a reload button to error boundary
There are sometimes edge cases on iOS which cause the app to crash,
it’s good to have a reload button as there’s no browser chrome (reload,
back, forward) in an iOS standalone PWA.
2023-06-17 22:15:02 +02:00
nimbleghost fafe478e5c Sync localStorage to indexedDB on startup 2023-06-17 22:08:25 +02:00
nimbleghost b7bb4459f9 Check for image mimetype first
URL heuristic is the second check if there is no mime
2023-06-17 21:53:45 +02:00
nimbleghost 3cd61d8278 Add web push delete test 2023-06-17 21:44:21 +02:00