Commit Graph

305 Commits

Author SHA1 Message Date
Jannis Mattheis 5c2a972221 fix: serving gotify on a subpath
https://vite.dev/guide/build.html#relative-base
2025-09-13 13:56:00 +02:00
Jannis Mattheis b394578a18 fix: preserve url path when refreshing the page
Don't redirect to /#/login when the tryAuthenticate hasn't completed.
This caused the url path to be changed to /#/login regardaless if the
user was already logged in.
2025-09-13 10:34:07 +02:00
Jannis Mattheis cd2b416694 fix: less whitespace in message & add app name 2025-08-09 18:00:10 +02:00
BerserkeR 364cd71e45 fix: background to code blocks 2025-08-08 14:20:13 +02:00
饺子w (Yumechi) ba3bd1ba2d
switch to mobx-react-lite (#822)
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-08-08 11:54:16 +00:00
饺子w (Yumechi) ea1cc38f6c
change telemetry to opt-in (#823)
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-08-08 11:32:43 +00:00
Jannis Mattheis d99b42324e fix: refetch data on reconnect 2025-08-08 10:26:43 +02:00
Jannis Mattheis 271f555102 fix: always set loading 2025-08-08 10:26:37 +02:00
eternal-flame-AD 3d8bee8b11
Change vite listen port name to GOTIFY_SERVER_PORT
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-08-05 19:26:29 -05:00
eternal-flame-AD 8741d1e50d
suggestions
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-08-05 15:31:34 -05:00
eternal-flame-AD d929e66aa2
fix message layout
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-08-04 16:07:39 -05:00
Jannis Mattheis f04cb2ddd7 fix: preserve expanded state
Previously, expanded messages where collapsed again when scrolling some
messages further. The saved height in the virtual list wasn't changed.
This caused the list to flicker when scrolling to the previously
expanded message again.
2025-08-04 17:19:59 +02:00
Jannis Mattheis fd9e6874ea fix: compile before build 2025-08-04 12:03:30 +02:00
Jannis Mattheis 6ad4477f4b fix: lazy load plugin detail view
reduces main js size by 400kb
2025-08-04 12:03:30 +02:00
Jannis Mattheis 01c4566ee5 fix: remove @uiw/codemirror-extensions-langs
Adds 2mb artifact size for syntax highlighting
2025-08-04 12:03:30 +02:00
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
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
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
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
饺子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
饺子w (Yumechi) a58b0be362
bug: fixed a race condition in database test (#690)
* bug: fixed a race condition in database test and plugin integration test

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

---------

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-09-20 05:00:17 -05:00