Commit Graph

659 Commits

Author SHA1 Message Date
Jannis Mattheis 9abe803cf8 Push all tags 2021-04-16 20:39:40 +02:00
Jannis Mattheis 11aac90be4 Remove serviceWorker 2021-04-16 17:42:45 +00:00
Jannis Mattheis 93b421fdcf Update lib/pq 2021-04-16 17:42:45 +00:00
Jannis Mattheis dc24471fe8 Update sqlite 2021-04-16 17:42:45 +00:00
Jannis Mattheis 1183313f14 Update stretchr/testify 2021-04-16 17:42:45 +00:00
Jannis Mattheis 6c50f8287c Update other deps 2021-04-16 17:42:45 +00:00
Jannis Mattheis 977e481b78 Update puppeteer 2021-04-16 17:42:45 +00:00
Jannis Mattheis fd691e47c0 Update axios 2021-04-16 17:42:45 +00:00
Jannis Mattheis 36c0c467ec Update prettier 2021-04-16 17:42:45 +00:00
Jannis Mattheis 43c4eba0fa Update react-scripts & fix eslint 2021-04-16 17:42:45 +00:00
Jannis Mattheis 14d15abd94 Update @material-ui/* 2021-04-16 17:42:45 +00:00
random-dwi e46d3e4fde
Push arm64 docker image 2021-04-16 16:11:14 +00:00
Kassim 346396fa83
Fix message overflow with big images 2021-03-27 13:01:28 +00:00
Jannis Mattheis 4c58f4a742 Use go install for go-swagger 2021-02-26 19:34:42 +01:00
Jannis Mattheis f4d2c6b3f5 Update to go 1.16 2021-02-26 19:34:42 +01:00
Stewart Thomson 1cbd273974
Fix sidebar height & hide ScrollUpButton until scrolled (#384) 2021-01-24 19:58:50 +00:00
Jannis Mattheis d0f47c738b Add timeout to golang ci lint 2021-01-06 14:27:55 +00:00
Jannis Mattheis 48e55d5765 Use debian as base image for amd64 2021-01-06 14:27:55 +00:00
Jannis Mattheis 1eecb53c4b Migrate to github actions 2021-01-06 14:27:55 +00:00
Jannis Mattheis 5016adcc42 Add ci check task 2021-01-06 14:27:55 +00:00
Jannis Mattheis af2417b8c6 Remove verbose test output 2021-01-06 14:27:55 +00:00
Dirk Wilden 8a31fd1248 Add arm64 docker build 2020-12-28 13:44:16 +00:00
Jannis Mattheis 3454dcd602 Use golangci-lint 2020-11-01 10:47:02 +01:00
Jannis Mattheis 44e441a8c5
Create FUNDING.yml 2020-10-31 12:56:33 +00:00
Jannis Mattheis 1a3ad1d706 Downgrade packr because of build errors 2020-10-05 22:01:06 +02:00
Jannis Mattheis 4b12b58846 Go Version 1.15.2 2020-09-12 17:01:11 +02:00
Jannis Mattheis 0d65ca6d3f TSLint -> ESLint 2020-09-12 14:19:43 +00:00
Jannis Mattheis 33c0e01dae Update ui deps 2020-09-12 14:19:43 +00:00
Jannis Mattheis dd86646234 Update go deps 2020-09-12 14:19:43 +00: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
D. Domig 7993d0eef8 Change pass to password 2020-09-02 16:33:24 +00:00
D. Domig aecd3d8081 Change token 2020-09-02 16:28:37 +00:00
Richard Szolár 923030cf44 Update "github.com/go-yaml/yaml" import path to "gopkg.in/yaml.v2" as recommended per the project's documentation 2020-08-20 20:25:37 +02:00
Jannis Mattheis 307e61474b Update gotify/configor
gotify/configor@4681376e
2020-07-18 20:49:49 +02:00
Jannis Mattheis d45e0da6a8 Allow delete for > uint32 ids
For ids uint is used, this is platform specific and either uint32
or uint64. The parsing for parameters in the api expected the ids to
have 32bit size.

I thought about changing all our ids to int64 but we sadly have one uint
usage in the plugin api:
b0e2eca8e3/plugin.go (L13-L14)
2020-07-01 19:44:06 +02:00
Jannis Mattheis 757fa17d26 Use int64 as input 2020-06-24 18:32:35 +02:00
Jannis Mattheis 348f96b891 Use int64 instead of uint64
uint64 isn't a valid swagger format.
https://swagger.io/specification/v2/#dataTypeFormat
2020-06-24 18:21:04 +02:00
Jannis Mattheis a9249bbd28 Don't use id provided from POST /message api 2020-06-23 18:39:43 +02:00
Jannis Mattheis 92a468bf74 Fix packets.go:36: unexpected EOF
Mysql has a setting called wait_timeout, which defines the duration
after which a connection may not be used anymore. Gotify doesn't
apply this, and expects the connection to work without timeout.

The fix is to set SetConnMaxLifetime, this however, isn't the
exact counterpart for wait_timeout on mysql. wait_timeout is
relative to the last use of the connection. The go setting
uses the creation of the connection as base.

Example error output:
```
[mysql] 2020/05/31 17:53:02 packets.go:36: unexpected EOF
[GIN] 2020/05/31 - 17:53:02 | 500 |     247.062µs |        10.2.2.1 | GET      "/application"
Error #01: an error occured while authenticating user

(/proj/database/client.go:24)
[2020-05-31 17:53:02]  invalid connection
```
2020-06-01 19:16:12 +02:00
Jannis Mattheis 52efbbcceb Ignore packrd formatting 2020-05-29 19:05:11 +02:00
eikendev 894b1c5559 Support custom ports in Docker healthcheck 2020-05-29 19:05:11 +02:00
Stewart Thomson 93b30c5c44
Allows browser extensions in cors (#317) 2020-05-10 06:32:27 +00:00
Jannis Mattheis 7523ad0d2e Use response header if cors config is empty
The cors middleware of gin denies the request with 403 forbidden if
the origin differs.
2020-05-09 16:41:53 +02:00
Jannis Mattheis e1a6847c84 Format 2020-05-08 15:16:43 +02:00
Jannis Mattheis 1ee817dc2b yarn upgrade --latest 2020-05-08 15:16:43 +02:00
Jannis Mattheis f80c9d2270 Update puppeteer 2020-05-08 15:16:43 +02:00
Jannis Mattheis 97876c5a2b Update go 1.14.2 2020-05-08 15:16:43 +02:00
Jannis Mattheis a8b7a5fde0 Update mattn/go-sqlite3 2020-05-08 15:16:43 +02:00
Jannis Mattheis 41c28e9385 Remove apache thrift replace directive 2020-05-08 15:16:43 +02:00