Commit Graph

249 Commits

Author SHA1 Message Date
wtf911 d4a5aa0dcb
Merge e1e97a3cc9 into 30301c8a7f 2025-06-07 14:10:15 +02:00
binwiederhier 7a33e16945 Cleanup, examples 2025-05-31 23:07:40 -04:00
binwiederhier 849884c947 Change to "proxy-forwarded-header" and add "proxy-trusted-addrs" 2025-05-31 22:39:18 -04:00
binwiederhier 2cb4d089ab Merge client ip header 2025-05-31 15:33:21 -04:00
wtf911 e1e97a3cc9
Merge branch 'main' into main 2025-05-27 10:42:44 -04:00
Philipp C. Heckel 0ad9716241
Merge pull request #1212 from KuroSetsuna29/config-webpush-expiry
feat: allow configurable web push expiry duration
2025-05-24 14:57:50 -04:00
Philipp C. Heckel 3b627b27b3
Merge pull request #1340 from Tom-Hubrecht/hashed-pwd
user: Allow changing the hashed password directly
2025-05-24 09:10:02 -04:00
binwiederhier 69cf773834 Fix webpush command 2025-05-22 21:56:28 -04:00
binwiederhier 6d15b9face Fix up APNs PR 2025-05-22 20:48:24 -04:00
binwiederhier 7067d8aa77 Release notes 2025-05-21 20:55:54 -04:00
Philipp C. Heckel 9ce6b03450
Merge branch 'main' into webpush-key-file 2025-05-21 20:39:12 -04:00
binwiederhier d1ac8d03e0 Security updates 2025-05-21 18:49:19 -04:00
Tom Hubrecht 44b7c2f198
user: Allow changing the hashed password directly
This adds the detection of `NTFY_PASSWORD_HASH` when creating a user or
changing its passsword so that scripts don't have to manipulate the bare
password.
2025-05-21 16:34:14 +02:00
wtf911 feb6647f23 Adds the ability to run ntfy as a Windows service.
Example service creation command:

sc.exe create ntfy start= auto binPath= "YOURPATH\ntfy.exe serve"

To use a server.yml file you would create the service like this:

sc.exe create ntfy start= auto binPath= "YOURPATH\ntfy.exe serve --config YOURPATH\server.yml"
2025-05-07 00:38:29 -04:00
Kyle Duren 0aee6252bb fixing auto-format change 2025-01-06 01:09:40 +00:00
Kyle Duren 0e6a483b2f fixing auto-format change 2025-01-06 01:06:28 +00:00
Kyle Duren 926967b6e7 adding logic to specifcy client-ip header from proxy 2025-01-05 20:29:08 +00:00
KuroSetsuna29 136b656ccb fix descriptions 2024-11-02 08:50:57 -04:00
KuroSetsuna29 c844c24a16 allow configurable web push expiry duration 2024-11-02 00:46:31 -04:00
Nogweii 49a548252c teach `ntfy webpush` to write the keys to a file 2024-06-25 22:58:36 -07:00
binwiederhier ef302d22a9 Avoid panic if user.Current() fails; add logging to "ntfy subscribe" to help figure out what's wrong 2024-03-07 15:56:20 -05:00
binwiederhier 8931f25ac5 Ahh 2024-03-07 13:00:39 -05:00
binwiederhier f2cd1edc57 Add some helper for base-url 2024-03-07 12:44:31 -05:00
binwiederhier 243123fd7e Convert duration flags, add docs 2024-03-07 12:22:35 -05:00
binwiederhier 36b33030f3 Add message-{size|delay}-limit 2024-03-07 11:53:12 -05:00
binwiederhier 17709f2fb7 Merge branch 'main' into zhzy0077-patch-1 2024-03-07 10:38:19 -05:00
binwiederhier 1c3ed3ea40 Do not allow empty passwords when creating users 2023-11-19 05:47:41 -05:00
binwiederhier b65044712b Fix linter 2023-11-16 21:04:49 -05:00
binwiederhier 22f48c5ad3 Change mod path 2023-11-16 20:54:58 -05:00
zhzy0077 6a10bac017 Update template server.yml 2023-09-08 13:21:55 +08:00
zhzy0077 6a3f169a47 fix typo. 2023-08-21 11:55:20 +08:00
zhzy0077 6bd8875375 fix typo and update docs 2023-08-21 11:51:48 +08:00
Zhiyuan Zheng 3691e59af1
Expose MessageLimit as a configuration 2023-08-11 13:16:53 +08:00
Hunter Kehoe b80aec90d0 fixes #829 2023-08-06 22:44:55 -06:00
binwiederhier 2d1f2f319f Changelog, CLI fix 2023-07-09 07:50:00 -04:00
binwiederhier 2b5a1a7a1c Documentation 2023-07-08 21:45:03 -04:00
binwiederhier 142a297552 typo 2023-06-24 14:10:33 -04: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 341e84f643 Limit number of webpush subscriptions per subscriber IP 2023-06-16 21:59:07 -04:00
binwiederhier 790fd43369 Tiny changes 2023-06-14 08:04:16 -04:00
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 0f0074cbab Implement push subscription expiry 2023-06-07 21:09:13 +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 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 3b3e6ac2cd Rename twilio-from-number to twilio-phone-number 2023-05-18 13:32:27 -04:00