21 Commits

Author SHA1 Message Date
pigpig
c172590b92 Add registration
Can be enabled via the registration config flag. (disabled per default)

Fixes gotify/server#395

Co-authored-by: pigpig <pigpig@pig.pig>
Co-authored-by: Karmanyaah Malhotra <32671690+karmanyaahm@users.noreply.github.com>
Co-authored-by: Jannis Mattheis <contact@jmattheis.de>
2021-08-04 19:39:43 +02:00
Jannis Mattheis
3454dcd602 Use golangci-lint 2020-11-01 10:47:02 +01:00
Jannis Mattheis
de226ce0cf Make ws ping interval configurable 2020-09-10 16:22:04 +00:00
Jannis Mattheis
909eeff406 Make keepalive period configurable 2020-09-10 16:22:04 +00:00
Jannis Mattheis
7b90b8a8f5 Use v2 in package path 2020-05-08 10:43:17 +02:00
Stewart Thomson
3f04d50088 Allow multiple CORS origins 2020-04-26 11:27:24 +00:00
Jannis Mattheis
66ae74f830 Skip /etc/gotify/config.yml in tests
Our config test ensures that the correct values will be extracted from
the config file and environment variables.
A globally defined config may change settings which are expected to have
default values.

See
https://github.com/gotify/server-aur-git/pull/2#issuecomment-597598574
2020-03-14 09:46:03 +01:00
饺子w
d82a78b8aa Listen on custom address (#140)
Co-Authored-By: eternal-flame-AD <ef@eternalflame.info>
2019-03-08 09:40:26 +01:00
eternal-flame-AD
e5b24f4c92 Add plugin feature
Fixed database migration
Added a plugin system based on the go plugin package
2019-02-09 12:52:01 +01:00
Jannis Mattheis
68b160997d Format all go files 2019-01-01 23:34:42 +01:00
Eugene Gavrilov
b5b2f19dc2 [#23] Fix check same origin function 2018-12-12 21:30:59 +01:00
Jannis Mattheis
193dd67f2c Hide 'failed to find config..' 2018-12-09 11:31:05 +01:00
Eugene Gavrilov
b42beb0371 [#23] add headers to configuration 2018-12-04 19:58:01 +01:00
Jannis Mattheis
0eb4fe0bb0 Change default folder & db path to data/* 2018-05-10 12:34:35 +02:00
Jannis Mattheis
dfe242b0cd Add UploadedImagesDir config setting 2018-03-31 18:44:49 +02:00
Jannis Mattheis
0f2e7cf5e2 Use gofmt -s 2018-03-25 19:33:29 +02:00
Jannis Mattheis
cda4127551 Make password strength configurable 2018-02-23 19:39:34 +01:00
Jannis Mattheis
7bbe7d374a Adjust config for SSL support 2018-02-19 17:40:05 +01:00
Jannis Mattheis
1e7e1a71f7 Rename to gotify 2018-02-12 16:48:01 +01:00
Jannis Mattheis
752d190fbc Add main app 2018-02-12 16:33:03 +01:00
Jannis Mattheis
3bac1ddadc Add config 2018-02-12 16:33:03 +01:00