binwiederhier
af17661053
Typos, server.yml additions
2025-05-25 20:13:13 -04:00
Philipp C. Heckel
905f048ab4
Merge pull request #1123 from stendler/json-firebase-cache
...
feat(server): add Cache and Firebase as keys to JSON publishing
2025-05-25 15:24:51 -04:00
binwiederhier
f40023aa23
APNs fix
2025-05-25 12:09:57 -04:00
binwiederhier
df7dd9c498
Fix weebpush test
2025-05-24 15:55:02 -04:00
binwiederhier
6fe3913aee
Increase Web Push expiration to 55/60 days, update configs
2025-05-24 15:26:25 -04:00
binwiederhier
4dc3b38c95
Allow adding/changing user with password hash via v1/users API
2025-05-24 09:31:57 -04:00
binwiederhier
9edab24d4c
Merge branch 'main' of github.com:binwiederhier/ntfy
2025-05-24 09:10:07 -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
80462f7ee5
Refine user API change
2025-05-24 08:58:44 -04:00
Hunter Kehoe
0fb60ae72d
test change user password and tier in single request
2025-05-22 20:01:50 -06:00
Hunter Kehoe
e36e4856c9
allow changing password or tier with user PUT
2025-05-22 19:57:57 -06:00
Hunter Kehoe
fa48639517
make POST create user and PUT update user
2025-05-22 19:57:02 -06:00
Hunter Kehoe
2b40ad9a12
make staticcheck happy
2025-05-22 19:57:02 -06:00
Hunter Kehoe
ad7ab18fb7
prevent changing admin passwords
2025-05-22 19:57:02 -06:00
Hunter Kehoe
8f9dafce20
change user password via accounts API
2025-05-22 19:57:00 -06:00
binwiederhier
0514ea4ac0
Merge branch 'main' of github.com:binwiederhier/ntfy
2025-05-22 20:59:29 -04:00
binwiederhier
1598087e1f
Fix tests
2025-05-22 20:58:28 -04:00
Philipp C. Heckel
f4aba12546
Merge branch 'main' into since-latest-param
2025-05-22 20:57:52 -04:00
binwiederhier
6d15b9face
Fix up APNs PR
2025-05-22 20:48:24 -04:00
Philipp C. Heckel
faa4dcbcee
Merge pull request #1287 from barart/fix-anonymous-read-restriction
...
Handle anonymous read restrictions by sending a poll_request event
2025-05-22 20:22:58 -04:00
Philipp C. Heckel
7e916516e0
Merge pull request #1338 from wunter8/websockets-401
...
Websocket http error codes
2025-05-21 20:26:32 -04:00
Philipp C. Heckel
bd4b5e9e1b
Merge pull request #1312 from vkrause/work/vkrause/detect-encrypted-messages-as-unified-push
...
Consider aes128gcm content encoding as an indicator for UnifiedPush
2025-05-21 19:16:17 -04:00
Philipp C. Heckel
f563b671c8
Merge pull request #1266 from mmatuska/fix/extractIPAddress
...
server/util.go: fix logic in extractIPAddress()
2025-05-21 19:11:13 -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
Hunter Kehoe
cdae5493e2
write http errors to websocket connection instead of always 200
2025-05-14 11:39:18 -06:00
Hunter Kehoe
f110472204
fix typo
2025-05-14 11:20:30 -06:00
Volker Krause
bd08a120cd
Consider aes128gcm content encoding as an indicator for UnifiedPush
...
Without this a UnifiedPush/Web Push message with encryption would be
turned into an attachment. That in itself isn't pretty but can still
work, but it requires attachments to be enabled in the first place.
2025-04-07 17:19:44 +02:00
barart
6b2cfb1d1d
Handle anonymous read restrictions by sending a poll_request event
...
If a topic does not allow anonymous reads, this change ensures that we send a "poll_request" event instead of relaying the message via Firebase. Additionally, we include generic text in the title and body/message. This way, if the client cannot retrieve the actual message, the user will still receive a notification, prompting them to update the client manually.
2025-03-05 13:04:21 -06:00
Martin Matuska
bd39cf4b54
server/util.go: fix logic in extractIPAddress()
2025-01-26 00:00:06 +01:00
Hunter Kehoe
9241b0550c
feat: add subscribe param
2024-11-04 21:33:35 -07:00
binwiederhier
d243c22510
Docs, fix lint
2024-09-29 13:20:36 -04:00
binwiederhier
d38c149263
Docs
2024-09-29 13:12:51 -04:00
Philipp C. Heckel
fc3624cd50
Merge pull request #1141 from pcouy/smtp-sender-date-header
...
Add Date header to sent e-mails
2024-09-29 12:41:29 -04:00
Bishtawi
112efaae90
Support SMTP Auth Plain
2024-08-07 17:29:54 -07:00
Pierre Couy
003fec5f83
Add Date header to sent e-mails
2024-06-29 15:31:25 +02:00
stendler
5211d06f2c
feat(server): add Cache and Firebase as keys to JSON publishing
...
https://github.com/binwiederhier/ntfy/issues/1119
2024-05-29 21:23:06 +02:00
Philipp C. Heckel
043738a475
Merge pull request #1098 from wunter8/patch-6
...
don't cache config.js
2024-05-07 21:21:39 -04:00
binwiederhier
030f7266f7
Do not set rate visitor for non-eligible topics
2024-05-07 21:17:51 -04:00
wunter8
499b0dd839
don't cache config.js
2024-04-25 16:09:27 -06:00
Philipp C. Heckel
31d0c812ce
Merge pull request #1082 from wunter8/fix-username-regex
...
Fix username regex
2024-04-24 16:03:25 -04:00
binwiederhier
33b603def5
Re-add idx_topic to messages table
2024-04-24 14:38:05 -04:00
Hunter Kehoe
e4c2b938d3
clean up invalid username code
2024-04-05 08:43:56 -06:00
Hunter Kehoe
fc7cf5933f
fix error message for invalid username/password
2024-04-03 21:58:43 -06:00
binwiederhier
21c6776269
Fix linter
2024-03-25 09:34:44 -04:00
binwiederhier
7fed392e0c
Disallow certain templates
2024-03-24 23:19:16 -04:00
binwiederhier
af16542d02
Removed unused vars
2024-03-24 14:28:10 -04:00
binwiederhier
b9c176ddba
Tests
2024-03-22 22:01:41 -04:00
binwiederhier
a04f2f9c9a
Bla
2024-03-22 20:45:16 -04:00
binwiederhier
9247dac50d
Move things, revert naming
2024-03-20 21:39:17 -04:00