Commit Graph

1528 Commits (9e9caee639ac92450f462dd05af0b5b389bbd835)

Author SHA1 Message Date
Philipp Heckel 113900d3eb Cache startup queries 2022-06-23 11:02:45 -04:00
Philipp Heckel b4a824aa38 Format actions PR, changelog 2022-06-22 20:23:15 -04:00
Philipp C. Heckel e8569c6008
Merge pull request #341 from wunter8/custom-intent-broadcast-action
allow custom intent in broadcast action without JSON
2022-06-22 20:21:11 -04:00
Philipp Heckel b74defef14 Enable WAL mode, add changelog 2022-06-22 20:17:47 -04:00
Hunter Kehoe ee38d76bc2 allow custom intent in broadcast action without JSON 2022-06-22 15:29:16 -06:00
Philipp Heckel 3334d84861 Fix another race, add test 2022-06-22 15:11:50 -04:00
Philipp Heckel b1089e21f9 Changelog 2022-06-22 14:56:26 -04:00
Philipp C. Heckel 07b5d9a9df
Merge pull request #340 from binwiederhier/shorter-lock
WIP: Shorter lock, for #338
2022-06-22 14:48:07 -04:00
Philipp Heckel 9cee8ab888 Call subscriber funtions in individual goroutines 2022-06-22 13:52:49 -04:00
Philipp Heckel ed9d99fd57 "Fix" data race 2022-06-22 13:47:54 -04:00
Philipp Heckel edfc1b78a1 Delayed message lock shorter 2022-06-21 20:07:08 -04:00
Philipp Heckel c1f7bed8d1 Fix tests, lock topic as short as possible 2022-06-21 19:45:23 -04:00
Philipp Heckel 85f2252a77 WIP: Shorter lock, for #338 2022-06-21 19:07:27 -04:00
Philipp C. Heckel 4e29216b5f
Merge pull request #335 from binwiederhier/done
WIP: ntfy publish --pid $PID ...
2022-06-21 13:20:34 -04:00
Philipp Heckel 26fda847ca Docs 2022-06-21 11:43:26 -04:00
Philipp Heckel a160da3ad9 Tests 2022-06-21 11:18:35 -04:00
Philipp Heckel 0080ea5a20 All --wait-cmd 2022-06-20 23:03:16 -04:00
Philipp Heckel fec4864771 done command 2022-06-20 21:57:54 -04:00
Philipp Heckel c40338c146 Merge branch 'main' into done 2022-06-20 20:34:00 -04:00
Philipp Heckel a7d8e69dfd Refine NTFY_PASSWORD logic 2022-06-20 16:03:39 -04:00
Philipp C. Heckel 5b68915fff
Merge pull request #327 from Kenix3/add_user_supports_envvar
Add user now supports reading password from an env var.
2022-06-20 15:40:23 -04:00
Kenix3 f3e5961892
Fixes envvar fetch in ntfy user add for password 2022-06-20 14:21:30 -04:00
Kenix 7de7e0de12 Adds missing colon assignment for username variable in ntfy user add command. 2022-06-20 13:26:13 -04:00
Kenix 727c6268b9 Updating order of variables ntfy user add command. 2022-06-20 13:25:31 -04:00
Kenix 50cd50cfdf Moves password stdin down to the original location. 2022-06-20 13:24:42 -04:00
Kenix 1265e69eee Changes user add to use a NTFY_PASSWORD env var rather than NTFY_USER. 2022-06-20 13:19:54 -04:00
Philipp Heckel d05211648d Fix `since=<id>` implementation for multiple topics, closes #336 2022-06-20 12:11:52 -04:00
Philipp Heckel 1226a7b70c ntfy publish --pid $PID ... 2022-06-20 10:56:45 -04:00
Philipp Heckel 30c2a67869 Disallow setting `upstream-base-url` to the same value as `base-url` 2022-06-19 21:33:17 -04:00
Philipp Heckel 25a4b29ffc Return HTTP 500 on Matrix discovery GET if base-url not configured; log entire HTTP request when TRACE enabled 2022-06-19 21:25:35 -04:00
Philipp Heckel e578f01e5b Changelog 2022-06-18 21:04:48 -04:00
Philipp Heckel 16047ede61 Changelog 2022-06-18 20:10:28 -04:00
Philipp Heckel affc79eab0 Changelog 2022-06-17 21:07:43 -04:00
Philipp Heckel 64590343f5 Docs for #329 2022-06-17 21:05:31 -04:00
Philipp C. Heckel 87cf765dcc
Merge pull request #330 from wunter8/329-attachment-url-broadcast-intent
update docs to explain attachment name and URL in broadcast intent
2022-06-17 20:59:37 -04:00
Hunter Kehoe b332e1aaea update docs to explain attachment name and URL in broadcast intent 2022-06-17 07:19:35 -06:00
Philipp Heckel eef55c35a8 Fix example images 2022-06-16 15:53:15 -04:00
Philipp Heckel a2c661cbf6 Version bump 2022-06-16 15:38:21 -04:00
Philipp Heckel 9918f4965d Only use last X-Forwarded-For address as visitor address, closes #328 2022-06-16 15:31:09 -04:00
Philipp C. Heckel 1fae61e78f
Merge pull request #326 from binwiederhier/matrix
Matrix gateway
2022-06-16 12:55:41 -04:00
Philipp Heckel df2362e1a7 Update deps 2022-06-16 12:48:43 -04:00
Philipp Heckel 8a56b82813 500-test 2022-06-16 12:42:19 -04:00
Philipp Heckel 6122cf20aa More tests 2022-06-16 12:37:02 -04:00
Philipp Heckel 18bd3c0e55 Docs and Matrix tests 2022-06-16 11:40:56 -04:00
Philipp Heckel 0ff8e968ca Docs 2022-06-15 20:51:42 -04:00
Philipp Heckel ebbc2838ba Move error handling to main error handling; move matrix logic to its own file 2022-06-15 20:36:49 -04:00
Philipp Heckel 91375b2e8e Minor refactor, added GET 2022-06-15 16:03:12 -04:00
Philipp Heckel f1d134dfc2 Merge branch 'main' into matrix 2022-06-15 15:19:53 -04:00
Philipp Heckel cd536e6018 Merge branch 'main' of https://hosted.weblate.org/git/ntfy/web into main 2022-06-15 14:45:09 -04:00
Kenix 3dec7efadb Add user now supports reading password from an env var. 2022-06-15 11:42:22 -04:00