Commit Graph

674 Commits

Author SHA1 Message Date
Jannis Mattheis cd385fbaff fix: upgrade prettier 2025-08-04 12:03:30 +02:00
Jannis Mattheis 9352aab3e2 fix: remove unnecessary @types 2025-08-04 12:03:30 +02:00
Jannis Mattheis 86285f4316 fix: upgrade mobx 2025-08-04 12:03:29 +02:00
Jannis Mattheis f4ca0cc266 fix: update puppeteer & fix flaky tests 2025-08-04 12:03:29 +02:00
Jannis Mattheis edee7c4de8 fix: upgrade axios 2025-08-04 12:03:29 +02:00
Jannis Mattheis da6a1ec9f6 fix: upgrade markdown and other stuff 2025-08-04 12:03:29 +02:00
Jannis Mattheis 2e3328c4c4 fix: upgrade react-{dom,router,router-dom} 2025-08-04 12:03:29 +02:00
Jannis Mattheis de34fab55c fix: react SFC & children 2025-08-04 12:03:29 +02:00
Jannis Mattheis 918f705c5c fix: remove inject 2025-08-04 12:03:29 +02:00
Jannis Mattheis 031461f998 fix: upgrade codemirror
Co-authored-by: Matthias Fechner <matthias@fechner.net>
2025-08-04 12:03:29 +02:00
Jannis Mattheis 6ced902d93 fix: later scroll button 2025-08-04 12:03:29 +02:00
Jannis Mattheis 85d10bfa40 fix: migrate to react virtuoso & FC
Co-authored-by: Matthias Fechner <matthias@fechner.net>
2025-08-04 12:03:29 +02:00
Jannis Mattheis a7733b4f0a fix: use notistack 2025-08-04 12:03:29 +02:00
Jannis Mattheis 0ca5156fed fix: migrate most components to functional components
Co-authored-by: Matthias Fechner <matthias@fechner.net>
2025-08-04 12:03:29 +02:00
Jannis Mattheis 734113d187 fix: upgrade eslint 2025-08-04 12:03:29 +02:00
Jannis Mattheis edddfc9d9c fix: remove js-base64 2025-08-04 12:03:29 +02:00
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