Commit Graph

658 Commits

Author SHA1 Message Date
Jannis Mattheis 54f6de1768 fix: upgrade mui 2025-08-04 12:03:29 +02:00
Jannis Mattheis 7cfa31475f fix: remove proptypes 2025-08-04 12:03:29 +02:00
Jannis Mattheis ca2d087569 fix: upgrade typescript 2025-08-04 12:03:29 +02:00
Jannis Mattheis 7a5b699b30 fix: upgrade to vite & vitest 2025-08-04 12:03:29 +02:00
Jannis Mattheis a9ecbdc94e
Merge pull request #815 from martinfrancois/master
Consistency and Accessibility Improvements of the user-related UIs
2025-07-26 10:28:53 +02:00
François Martin 629271fdce Add autocomplete fields to registration
This ensures password managers can properly save the form field's values.
2025-07-23 23:47:19 +02:00
François Martin 9f3bbd888b Improve accessibility of form fields in Login
See https://mui.com/material-ui/api/text-field/
2025-07-23 23:47:10 +02:00
François Martin 97ea32e507 Make wording of form fields in Users consistent with the login
The login form says username and password and should be consistently used throughout.
2025-07-23 23:47:10 +02:00
François Martin eb811e3f74 Make wording of form fields in Register consistent with the login
The login form says username and password and should be consistently used throughout.
2025-07-23 23:46:59 +02:00
François Martin d5ab795e4c
Remove `type="email"` from username field in Register
As the username doesn't have to be an email, having email as the type is incorrect.
This change also makes it more consistent with the way it is defined in the login form.
2025-07-23 23:04:39 +02:00
François Martin 956d9025b4
Improve accessibility of form fields in Register
See https://mui.com/material-ui/api/text-field/
2025-07-23 23:03:05 +02:00
François Martin fc84fb3c8b
Make wording of form fields in AddEditUserDialog consistent with the login
The login form says username and password and should be consistently used throughout.
2025-07-23 22:57:27 +02:00
François Martin e3f2696f31
Remove `type="email"` from username field in AddEditUserDialog
As the username doesn't have to be an email, having email as the type is incorrect.
This change also makes it more consistent with the way it is defined in the login form.
2025-07-23 22:54:29 +02:00
François Martin db9183d2cf
Improve accessibility of form fields in AddEditUserDialog
See https://mui.com/material-ui/api/text-field/
2025-07-23 22:51:21 +02:00
renovate[bot] f17710659b
chore(deps): update golangci/golangci-lint-action action to v8 (#795)
* chore(deps): update golangci/golangci-lint-action action to v8

* Bump golangci-lint to v2.2.1

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

---------

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: eternal-flame-AD <yume@yumechi.jp>
2025-07-11 04:47:00 +00:00
renovate[bot] a96db710b4
chore(deps): update bump go dependencies (#803)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-11 01:23:04 +00:00
饺子w (Yumechi) bfcd1cb037
fix: skip dotfiles and directories in plugin loading (#811) (#812)
* fix: skip dotfiles and directories in plugin loading (#811)

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* fixup! fix: skip dotfiles and directories in plugin loading (#811)

---------

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-07-09 19:05:40 +00:00
Jeremy Gooch c1cb2e855a
feat: collapse big messages (#810)
* Updating Message component to add ability to collapse long running messages. Height is broadcast out to parent on height toggle.

See: https://github.com/gotify/server/issues/790

* Cleanup of the Message component including simplifying the read-more expand/collapse functionality.

* fix: cleanup & properly updating the height

---------

Co-authored-by: Jannis Mattheis <contact@jmattheis.de>
2025-07-06 11:07:57 +00:00
renovate[bot] 2498e6e19f
chore(deps): update module github.com/gin-gonic/gin to v1.10.1 (#799)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-29 21:35:16 +00:00
Luc Didry afe2a730dc
fix: consistent app ordering (#802)
See #358
2025-05-29 19:17:08 +00:00
renovate[bot] 307b2aaada
chore(deps): update bump go dependencies (#784)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-05 18:20:31 -05:00
Jannis Mattheis f11755d706 ci: fix make build error
We only want to use the GOTOOLCHAIN if it's set otherwise fallback to
the go.mod toolchain version.

Error message:

    docker: invalid reference format.
    See 'docker run --help'.
    make: *** [Makefile:128: build-linux-arm-7] Error 125

See https://github.com/gotify/server/actions/runs/14690165536/job/41224267750
2025-04-27 10:54:37 +02:00
renovate[bot] aa025a5be2
chore(deps): update golangci/golangci-lint-action action to v7 (#787)
* chore(deps): update golangci/golangci-lint-action action to v7

* bump golangci-lint version

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

---------

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: eternal-flame-AD <yume@yumechi.jp>
2025-03-31 22:26:40 +00:00
renovate[bot] af97704011
chore(deps): update docker.io/gotify/build docker tag to v1.24.1 (#781)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-13 18:17:19 -05:00
renovate[bot] cc20acb186
chore(deps): update bump go dependencies (#770)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-13 18:11:04 -05:00
饺子w (Yumechi) c44c4ef980
Cleaner chain of authority for golang update (gotify/build -> go.mod -> GO_VERSION) (#780)
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-03-12 23:37:23 +00:00
renovate[bot] fbf0f6cfc9
chore(deps): update dependency node to v22 (#778)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-12 02:24:49 +00:00
renovate[bot] 30003571c8
chore(deps): update dependency go to 1.24.x (#777)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-11 17:52:44 -05:00
renovate[bot] 0cd03980ce
chore(deps): Update Go to 1.24 and bump dependencies (#758)
* chore(deps): update bump go dependencies

* Update golangci-lint for Go1.24

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* Update build target tot Go 1.24

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* Restore previous behavior of coverage reporting

See 50455385b0

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

---------

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: eternal-flame-AD <yume@yumechi.jp>
2025-02-13 18:54:02 +00:00
renovate[bot] a0bad7bd5a
chore(deps): update bump go dependencies (#751)
* chore(deps): update bump go dependencies

* Update golangci-lint

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* Update golangci config to reflect new format

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* remove deprecated ioutil package

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

---------

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: eternal-flame-AD <yume@yumechi.jp>
2025-01-17 05:51:08 +00:00
renovate[bot] 63cfc1f045
chore(deps): update bump go dependencies (#736)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-24 15:07:44 +00:00
饺子w (Yumechi) c81a9a2c88
Set umask=0 when creating unix sockets (#743)
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-22 18:03:58 +00:00
Jannis Mattheis cc7da2ace3
Merge pull request #734 from gotify/panic-bool
fix: panic when setting bool via envvar
2024-11-16 09:31:15 +01:00
Jannis Mattheis 6b3ff77651 fix: panic when setting bool via envvar
$ docker run -e GOTIFY_SERVER_SSL_ENABLED=true --rm gotify/server:2.6.0
    Starting Gotify version 2.6.0@2024-11-15-19:19:19
    panic: reflect.Set: value of type bool is not assignable to type *bool

    goroutine 1 [running]:
    reflect.Value.assignTo({0xf5e000?, 0x1c375a8?, 0x19?}, {0x108809b, 0xb}, 0xf42960, 0x0)
            /usr/local/go/src/reflect/value.go:3358 +0x299
    reflect.Value.Set({0xf42960?, 0xc0000cd200?, 0x4?}, {0xf5e000?, 0x1c375a8?, 0xf42960?})
            /usr/local/go/src/reflect/value.go:2313 +0xe6
    github.com/jinzhu/configor.(*Configor).processTags(0xc0002f0270, {0xc0002eecc0?, 0xc0000cd200?}, {0xc0002ef0c0, 0x3, 0x4})
            /go/pkg/mod/github.com/jinzhu/configor@v1.2.2/utils.go:307 +0xc11
    github.com/jinzhu/configor.(*Configor).processTags(0xc0002f0270, {0xc0002eec80?, 0xc0000cd1e0?}, {0xc0002ad880, 0x2, 0x2})
            /go/pkg/mod/github.com/jinzhu/configor@v1.2.2/utils.go:330 +0xe79
    github.com/jinzhu/configor.(*Configor).processTags(0xc0002f0270, {0xf41420?, 0xc0000cd1e0?}, {0xc0002f0610, 0x1, 0x1})
            /go/pkg/mod/github.com/jinzhu/configor@v1.2.2/utils.go:330 +0xe79
    github.com/jinzhu/configor.(*Configor).load(0xc0002f0270, {0xf41420, 0xc0000cd1e0}, 0x0, {0xc0002ad7a0?, 0x1c7c000?, 0xc0002ad7a0?})
            /go/pkg/mod/github.com/jinzhu/configor@v1.2.2/utils.go:415 +0x3f8
    github.com/jinzhu/configor.(*Configor).Load(0xc0002f0270, {0xf41420, 0xc0000cd1e0}, {0xc0002ad7a0, 0x2, 0x2})
            /go/pkg/mod/github.com/jinzhu/configor@v1.2.2/configor.go:92 +0x13c
    github.com/gotify/server/v2/config.Get()
            /src/gotify/config/config.go:69 +0xf3
    main.main()
            /src/gotify/app.go:34 +0x1e5
2024-11-15 22:53:41 +01:00
Jannis Mattheis 8639316ead
Merge pull request #733 from gotify/silent
fix: enable silent mode
2024-11-15 19:16:17 +01:00
Jannis Mattheis 5395112667 fix: enable silent mode
Hides this log output

    Failed to find configuration /etc/gotify/config.yml
    Failed to find configuration config.yml, using example file config.example.yml
2024-11-15 18:35:50 +01:00
renovate[bot] 2eee8009f3
chore(deps): update codecov/codecov-action action to v5 (#732)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-14 14:10:08 -06:00
renovate[bot] bf177f2487
chore(deps): update module golang.org/x/crypto to v0.29.0 (#728)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-09 02:36:23 -06:00
饺子w (Yumechi) bb2403989e
run go mod tidy after renovate update (#729)
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-08 09:31:35 -06:00
renovate[bot] a894427947
chore(deps): update docker.io/gotify/build docker tag to v1.23.3 (#726)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-07 17:42:28 -06:00
renovate[bot] 60bafd2b98
chore(deps): update module gopkg.in/yaml.v2 to v3 (#719)
* chore(deps): update module gopkg.in/yaml.v2 to v3

* fixup! chore(deps): update module gopkg.in/yaml.v2 to v3

---------

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-07 17:34:22 -06:00
饺子w (Yumechi) 2d6601747b
Switch to upstream jinzhu/configor (#727)
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-07 14:36:11 -06:00
Jannis Mattheis 7c9d7706eb
Merge pull request #723 from david-kalmakoff/issue-721
bug: fixed router navigating to homepage on page loads
2024-11-06 18:27:10 +01:00
Jannis Mattheis ad6fc49515 fix: loading plugin detail view by url 2024-11-06 18:13:15 +01:00
David Kalmakoff 13d59eb04d bug: fixed router navigating to homepage on page loads 2024-11-06 18:13:15 +01:00
David Kalmakoff b08b5ae82c
fix: table overflow and word wrapping (#720)
- applications (table)
- clients (table)
- plugins (table, info card word wrapping, and card padding)

Co-authored-by: David Kalmakoff <david@localhost.localdomain>
2024-11-05 11:06:33 +00:00
renovate[bot] 3f29dedd24
chore(deps): update docker.io/gotify/build docker tag to v1.23.2 (#713)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-04 16:12:08 -06:00
饺子w (Yumechi) 81564025b4
test: Wait for some time for the client list to update (#722)
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-03 04:22:54 -06:00
renovate[bot] 7db86af41a
chore(deps): update docker/setup-qemu-action action to v3 (#717)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-02 20:08:17 -05:00
renovate[bot] 443d4b43ec
chore(deps): update bump go dependencies (#712)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-02 07:50:03 -05:00