Nick Farrell
b218e62ffc
Actually apply the pre-commit fixers to the codebase.
...
This can be redone manually with
`pre-commit run --all`
While the pre-commit hook could be merged to run locally,
it is much cleaner to align all the files to best-practice
syntax in a single commit. It is also required for server-side
validation.
2022-12-23 08:15:51 +11:00
Philipp Heckel
bddde5c637
Bump Go version, Generics whoooo
2022-10-01 15:50:48 -04:00
Philipp Heckel
30c8d6b02b
Fix auth_file not working for ntfy user command
2022-06-24 19:13:10 -04:00
Philipp Heckel
a7d8e69dfd
Refine NTFY_PASSWORD logic
2022-06-20 16:03:39 -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
Kenix
3dec7efadb
Add user now supports reading password from an env var.
2022-06-15 11:42:22 -04:00
Philipp Heckel
ab955d4d1c
Logging
2022-06-01 16:57:35 -04:00
Philipp Heckel
dc0e699fb5
WIP: Logging
2022-05-29 22:14:14 -04:00
Philipp Heckel
c33065151e
Switch to build tags "noserver" instead of using _linux suffix
2022-05-21 09:46:49 -04:00
Philipp Heckel
7d473488de
Working Windows build
2022-05-09 11:03:40 -04:00
Philipp Heckel
f4e8ebc053
Remove urfave/cli workaround
2022-03-16 14:50:00 -04:00
Philipp Heckel
4972407145
More polishing, more docs; the only thing left are tests for access.go
2022-02-03 20:20:50 -05:00
Philipp Heckel
d714af43c9
More docs, more tests, more docs
2022-02-03 20:07:23 -05:00
Philipp Heckel
29c2fc5472
CLI tests for 'ntfy user'
2022-02-03 16:10:15 -05:00
Philipp Heckel
1552d8103e
More docs docs docs
2022-02-01 23:39:57 -05:00
Philipp Heckel
460162737a
More auth
2022-01-24 00:54:28 -05:00
Philipp Heckel
393f95aeac
Auth CLI, continued
2022-01-23 23:02:39 -05:00
Philipp Heckel
03a4e3e8e9
More CLI for access control
2022-01-23 15:30:30 -05:00
Philipp Heckel
243d549975
Command help
2022-01-23 01:00:38 -05:00
Philipp Heckel
e309775ac1
More auth CLi
2022-01-23 00:54:18 -05:00