binwiederhier
9d38aeb863
Docs in server.yml, schemaVersion table, refactoring
2023-06-08 21:45:52 -04:00
binwiederhier
d3ac976d05
Remove web-push-(enabled|duration*), change endpoint, other cosmetic changes
2023-06-08 14:30:19 -04:00
nimbleghost
4ce6fdcc5a
Implement http actions in service worker
...
These are only supported in Chrome-based browsers via the service worker
and not for regular desktop notifications.
2023-06-08 20:12:41 +02:00
binwiederhier
75a4b5bd88
Small refactor
2023-06-08 12:20:12 -04:00
nimbleghost
2f5acee798
Call pushManager.subscribe only if enabled
2023-06-08 10:55:11 +02:00
nimbleghost
46798ac322
Make web push toggle global
2023-06-08 10:46:51 +02:00
nimbleghost
a8db08c7d4
Use attachment URL for image & add timestamp
2023-06-07 21:57:23 +02:00
nimbleghost
f3db0e083e
Add release notes
2023-06-07 21:57:22 +02:00
nimbleghost
18edff9afe
Add TODO comment about Safari 17 PWA
2023-06-07 21:09:13 +02:00
nimbleghost
03aa67ed68
Remove webPushDefaultEnabled
2023-06-07 21:09:13 +02:00
nimbleghost
46f34ca1e3
Add push service allowlist and topic limit
2023-06-07 21:09:13 +02:00
nimbleghost
0f0074cbab
Implement push subscription expiry
2023-06-07 21:09:13 +02:00
nimbleghost
47ad024ec7
Simplify web push UX and updates
...
- Use a single endpoint
- Use a declarative web push sync hook. This thus handles all edge cases
that had to be manually handled before: logout, login, account sync,
etc.
- Simplify UX: browser notifications are always enabled (unless denied),
web push toggle only shows up if permissions are already granted.
2023-06-07 20:38:21 +02:00
nimbleghost
4944e3ae4b
Remove webPushEndpoint from indexeddb
...
Rely directly on getting it from the browser
2023-06-07 20:38:21 +02:00
nimbleghost
7aa3d8f59b
Hide web push toggles if disabled on server
2023-06-07 20:38:21 +02:00
nimbleghost
0c25425346
Use readJSONWithLimit for web push sub/unsub
2023-06-07 20:38:21 +02:00
nimbleghost
4648f83669
Format emojis in the service worker directly
2023-06-07 20:38:21 +02:00
nimbleghost
44913c1668
Replace if err-nil-Fatal check with require.Nil
2023-06-07 20:38:21 +02:00
binwiederhier
20c7650e51
server.yml update
2023-06-07 20:38:21 +02:00
binwiederhier
e8139ad655
Move web-push-config endpoint to config.js
2023-06-07 20:38:21 +02:00
binwiederhier
9e0687e142
Random tiny changes
2023-06-07 20:38:21 +02:00
binwiederhier
7f3e4b5f47
Move stuff to server_web_push.go
2023-06-07 20:38:21 +02:00
binwiederhier
7b23158e0a
Cosmetic changes
2023-06-07 20:38:21 +02:00
nimbleghost
f94bb1aa30
Improve web push docs
2023-06-07 20:38:21 +02:00
nimbleghost
a9fef387fa
Add web push tests
2023-06-07 20:38:21 +02:00
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
binwiederhier
733ef4664b
Deps
2023-06-07 13:24:41 -04:00
binwiederhier
e89c62174d
Merge branch 'main' of github.com:binwiederhier/ntfy
2023-06-07 13:24:26 -04:00
binwiederhier
78e437057c
Update deps
2023-06-07 13:24:15 -04:00
binwiederhier
7cdd86c99f
Merge branch 'main' of https://hosted.weblate.org/git/ntfy/web
2023-06-07 13:22:19 -04:00
binwiederhier
c045f4d21f
Integrations
2023-06-07 13:22:12 -04:00
Philipp C. Heckel
c65b83a6f5
Merge pull request #767 from binwiederhier/dependabot/npm_and_yarn/web/vite-4.3.9
...
Bump vite from 4.3.8 to 4.3.9 in /web
2023-06-06 09:10:05 -04:00
Shoshin Akamine
2b2753be21
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (382 of 382 strings)
Translation: ntfy/Web app
Translate-URL: https://hosted.weblate.org/projects/ntfy/web/ja/
2023-06-06 09:51:44 +02:00
dependabot[bot]
fe3db1375a
Bump vite from 4.3.8 to 4.3.9 in /web
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.3.8 to 4.3.9.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.3.9/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-06 02:43:04 +00:00
JULIANE LEITE
2e9eff69d7
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 50.2% (192 of 382 strings)
Translation: ntfy/Web app
Translate-URL: https://hosted.weblate.org/projects/ntfy/web/pt_BR/
2023-06-04 03:51:46 +02:00
binwiederhier
f58c1e4c84
Fix previous fix
2023-06-01 16:01:39 -04:00
binwiederhier
dc8932cd95
Fix segault in ntfy pub
2023-06-01 14:08:51 -04:00
binwiederhier
04cc71af90
.gitignore
2023-06-01 13:56:32 -04:00
binwiederhier
44d189179d
Merge branch 'main' of github.com:binwiederhier/ntfy
2023-05-31 15:36:21 -04:00
binwiederhier
d084a415f3
Do not forward UP messages to upstream
2023-05-31 15:36:02 -04:00
Philipp C. Heckel
953efbee47
Merge pull request #759 from nimbleghost/fix-race-condition
...
Fix account sync race condition
2023-05-31 14:21:14 -04:00
binwiederhier
807f24723d
Merge branch 'main' of https://hosted.weblate.org/git/ntfy/web
2023-05-31 13:57:10 -04:00
nimbleghost
453bf435b0
Fix account sync race condition
2023-05-31 19:37:29 +02:00
arjan-s
ca25b80bfb
Translated using Weblate (Dutch)
...
Currently translated at 100.0% (382 of 382 strings)
Translation: ntfy/Web app
Translate-URL: https://hosted.weblate.org/projects/ntfy/web/nl/
2023-05-31 09:52:20 +02:00
Shjosan
afb585e6fd
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (382 of 382 strings)
Translation: ntfy/Web app
Translate-URL: https://hosted.weblate.org/projects/ntfy/web/sv/
2023-05-29 00:51:22 +02:00
Andrew
2e7f474775
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (382 of 382 strings)
Translation: ntfy/Web app
Translate-URL: https://hosted.weblate.org/projects/ntfy/web/uk/
2023-05-29 00:51:21 +02:00
gallegonovato
bd39072596
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (382 of 382 strings)
Translation: ntfy/Web app
Translate-URL: https://hosted.weblate.org/projects/ntfy/web/es/
2023-05-29 00:51:20 +02:00
binwiederhier
b222541ea8
Merge branch 'main' of github.com:binwiederhier/ntfy
2023-05-26 21:06:14 -04:00
Philipp C. Heckel
1368dae849
Merge pull request #754 from nimbleghost/docker-local-build
...
Add a way to use Docker for building everything
2023-05-26 19:14:35 -04:00
iTentalce
578ccf1643
Translated using Weblate (Czech)
...
Currently translated at 96.0% (367 of 382 strings)
Translation: ntfy/Web app
Translate-URL: https://hosted.weblate.org/projects/ntfy/web/cs/
2023-05-27 00:51:08 +02:00