51 Commits

Author SHA1 Message Date
Jannis Mattheis
bbbd6e6638 Update dependencies v2.2.3 2023-05-08 16:03:32 +02:00
Jannis Mattheis
e0ffa69c89 Merge pull request #60 from tessus/feature/token-env-var
allow to pass the token via env var GOTIFY_TOKEN
2023-05-08 16:01:12 +02:00
Helmut K. C. Tessarek
1ddc49a1e5 allow to pass the token via env var GOTIFY_TOKEN
Passing the token as an argument has the implication that the token will
show up in the process list.
To solve this issue an environment variable `GOTIFY_TOKEN` can be used
to pass the token to gotify.

Example:

```
GOTIFY_TOKEN=app_token_here
MSG="Test message"

gotify push $MSG
```
2023-05-08 16:00:38 +02:00
Jannis Mattheis
4f1219962e Merge pull request #61 from tessus/fix/panic
fix panic when no config and no priority argument
2023-05-08 15:57:28 +02:00
Helmut K. C. Tessarek
47a6c24697 fix panic when no config and no priority argument 2023-05-08 15:57:05 +02:00
Jannis Mattheis
8714a52b4d Update deps v2.2.2 2022-07-26 16:26:59 +02:00
Jannis Mattheis
958fc65fb2 Merge pull request #52 from chenrui333/go-1.18
deps: upgrade to use go1.18 and alpine3.16
2022-07-09 09:42:27 +02:00
Rui Chen
0cae1bbe07 deps: upgrade to use go1.18
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-07-08 19:45:09 -04:00
Jannis Mattheis
70c965aa11 Add note to archlinux / brew 2021-12-11 20:14:32 +01:00
Yannic Haupenthal
88aca49f05 add installation instructions for macOS and Arch Linux 2021-12-11 20:13:04 +01:00
Rui Chen
9c0883d9e1 build: add darwin-arm64 support
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-11 19:43:01 +01:00
Jannis Mattheis
7018ad6a6c Remove darwin 386 2021-12-11 19:23:45 +01:00
Rui Chen
5714fb3d00 docs: update travis links (travis.org was shutdown)
Signed-off-by: Rui Chen <rui@chenrui.dev>
v2.2.1
2021-12-11 19:00:05 +01:00
Rui Chen
e0df6ec515 ci: upgrade ci to go1.17 2021-12-11 19:00:05 +01:00
Rui Chen
aa59a3d414 upgrade golang base image, and tag alpine image 2021-12-11 19:00:05 +01:00
Rui Chen
fa4656a8f3 update go.mod
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-11 19:00:05 +01:00
Rui Chen
9fb75815c8 refresh go.sum
Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-11 19:00:05 +01:00
z-nexx
c8bb424d49 Add --clickUrl support 2021-10-28 18:05:14 +00:00
DreamsVoid
3c2ba2592b Update README.md (#40) 2021-06-30 17:37:49 +00:00
Scott Wallace
95cc125e39 Update Dockerfile with a compatible version of golang v2.2.0 2020-07-11 15:50:59 +02:00
Avner Cohen
a38bf37dcd Add ability to set a default priority for cli client, fix #2 2020-05-21 12:45:25 +02:00
Jannis Mattheis
facfb9b517 Update Go in travis 2020-05-21 10:15:43 +02:00
Avner Cohen
55aac8cd0f Add environment variable and docs to allow skip TLS verification - Fix #27 2020-05-21 10:15:43 +02:00
Stewart Thomson
0c81489742 Add support for xdg specification config file (#32) 2020-05-11 16:14:47 +00:00
Jannis Mattheis
13b13412aa Add darwin binaries v2.1.1 2019-05-08 18:10:07 +02:00
Sinkerine
61a3e6c290 fix(config): User config should be looked for when the user exists v2.1.0 2019-04-23 19:20:20 +02:00
饺子w
170fbabb1b add watch command output (#20) 2019-04-23 17:45:51 +08:00
Jannis Mattheis
80aad2110f Run tests on travis build 2019-04-19 11:49:23 +02:00
Jannis Mattheis
64946911f7 Evaluate backslash n in message content 2019-04-19 11:49:23 +02:00
Jannis Mattheis
a26c35e235 Update go version 1.12.3 v2.0.0 2019-04-14 16:08:25 +02:00
Jannis Mattheis
901bd4e29f Add contentType property 2019-04-14 16:08:25 +02:00
Jannis Mattheis
a9d5ea9422 Version v2 2019-04-14 16:08:25 +02:00
Jannis Mattheis
f1f35a8b22 Use client v2.0.4 2019-04-14 16:08:25 +02:00
饺子w
4319a0aea4 don't exit when current user is unknown (#14) 2019-03-29 09:36:22 +08:00
eternal-flame-AD
439f43e91a add i386 build target v1.2.2 2019-03-17 11:03:59 +01:00
Jannis Mattheis
234c58534c Fix folder/file permissions v1.2.1 2019-03-10 09:37:40 +01:00
Jannis Mattheis
6bacce3980 [#9] Fix wget command 2019-03-10 08:07:22 +01:00
Robbie Page
5e7afe5f59 Add a build and run Dockerfile (#6) 2019-02-21 20:14:50 +01:00
Jannis Mattheis
c6a1c3f0cd Add LICENSE 2018-11-25 12:30:49 +01:00
Jannis Mattheis
598cbbc232 Add readme 2018-11-25 12:30:04 +01:00
Jannis Mattheis
ec4a598f12 Add travis script v1.2.0 2018-11-24 20:16:19 +01:00
Jannis Mattheis
3ac80a0ffc Ignore cli.json 2018-11-24 20:16:19 +01:00
Jannis Mattheis
57433bdd36 Add cli.go 2018-11-24 20:16:19 +01:00
Jannis Mattheis
cc2b233ef3 Add push command 2018-11-24 20:16:18 +01:00
Jannis Mattheis
6ee67cf0a3 Add init command 2018-11-24 20:16:18 +01:00
Jannis Mattheis
5de8f79e75 Add config command 2018-11-24 20:16:18 +01:00
Jannis Mattheis
a32d4ef36c Add version command 2018-11-24 20:16:18 +01:00
Jannis Mattheis
dc859bf01b Add config stuff 2018-11-24 20:16:18 +01:00
Jannis Mattheis
e3be2ac8fc Add Makefile 2018-11-24 17:06:01 +01:00
Jannis Mattheis
d97b65c3f5 Add gitignore 2018-11-24 15:08:49 +01:00