Commit graph

688 commits

Author SHA1 Message Date
wanshuangcheng
74fbdf421d
Merge e24441422e into 31d0c812ce 2024-04-26 10:58:35 +00: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
wanshuangcheng
e24441422e chore: fix function name in comment
Signed-off-by: wanshuangcheng <wanshuangcheng@outlook.com>
2024-04-08 15:40:20 +08: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
binwiederhier
de65d07518 Simplify(?) templating cases 2024-03-20 21:33:54 -04:00
wunter8
83356f565e
remove debug print statement 2024-03-20 10:54:41 -06:00
Hunter Kehoe
7fd5f0b29d allow large HTTP body so long as resulting message is small 2024-03-19 21:56:55 -06:00
Hunter Kehoe
867cf28080 refactor gjson parsing code 2024-03-19 20:30:24 -06:00
Hunter Kehoe
b2eb5b94bd use existing message and title fields for templates 2024-03-18 20:04:40 -06:00
Hunter Kehoe
df7d6baec5 add templating for title and message fields 2024-03-17 21:55:50 -06: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
aecf0a5f25 Remove Rate-Topics 2024-03-07 10:07:42 -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
binwiederhier
859a4e4f79 Added another test 2023-11-16 09:58:32 -05:00
binwiederhier
7f1855ad4d It's better than nothing 2023-11-16 09:49:35 -05:00
binwiederhier
b42958de9f Merge branch 'main' of github.com:binwiederhier/ntfy into html-emails 2023-11-16 06:11:00 -05:00
binwiederhier
c332c132fa Fix CI 2023-10-29 20:04:37 -04:00
binwiederhier
d9387dac99 Refine logic 2023-09-24 17:59:23 -04:00
zhzy0077
6a10bac017 Update template server.yml 2023-09-08 13:21:55 +08:00
Gustavo de León
85740d810b
Fix cloudflarePriorityIgnore
- Now, only if the header being processed is the "priority" header, the cloudflarePriorityIgnore function is called, solving problems with that header injected by CF
- we make the check with regex now.
2023-09-03 18:55:57 -06:00
Gustavo de León
30a913c05c
Ignore Cloudflare Priority header
With these changes, If the web request contains the new Priority header (RFC 9218), The server will ignore it and continue searching for other headers or query parameters.
2023-08-28 23:20:04 -06:00
nisbet-hubbard
4e9eeb1fa1
Add missing note on log file permissions 2023-07-12 20:24:57 +08:00
binwiederhier
68f82b9182 Fix wording in tests 2023-07-09 07:36:36 -04:00
binwiederhier
499b2fb0d6 Docs, tests 2023-07-08 15:48:08 -04:00
binwiederhier
b7679c7826 Remove setting, add persistence 2023-07-08 15:14:35 -04:00
binwiederhier
43981bb675 Merge branch 'main' into markdown 2023-07-04 21:15:08 -04:00
nimbleghost
dd02267f9b Disable PWA (manifest) when web push is disabled 2023-06-24 20:11:10 +02:00
binwiederhier
9aeea4d9fa Fix text 2023-06-24 13:45:29 -04:00
binwiederhier
271056a4aa The last commit 2023-06-20 21:46:09 -04: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
d7aacb8b24 Fix PWA for non-root web roots 2023-06-19 10:58:15 +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
3cd61d8278 Add web push delete test 2023-06-17 21:44:21 +02:00
nimbleghost
2d45e397a7 Add disabled web push test 2023-06-17 21:40:08 +02:00
binwiederhier
ff7e894e4c Add more tests, change endpoint 2023-06-17 14:44:55 -04:00
binwiederhier
341e84f643 Limit number of webpush subscriptions per subscriber IP 2023-06-16 21:59:07 -04:00