xavier-GitHub76
970302106b
feat: delete/reset application image via ui
...
Co-authored-by: Jannis Mattheis <contact@jmattheis.de>
2025-10-08 10:27:18 +00:00
昨夜雨疏风骤
4bc42d2c1d
Optimize uniq function for better performance ( #852 )
...
Improve the performance of the unique function by:
1. Pre-allocating map capacity with len(s) to avoid frequent map resizing
2. Pre-allocating result slice capacity with len(s) to reduce append overhead
3. Reducing the number of traversals performs well under the condition of a large number of elements
These changes maintain the original behavior (preserving element order)
while reducing memory allocation operations, especially effective for
large slices (100k+ elements) with benchmark showing ~25% speedup.
No breaking changes, the function signature and output order remain unchanged.
2025-10-03 01:17:47 +00:00
Jannis Mattheis
f77d404bba
Merge pull request #848 from gotify/fix-read-more
...
Fix read more
2025-09-21 09:59:28 +02:00
renovate[bot]
632ccc9282
chore(deps): update module github.com/gin-gonic/gin to v1.11.0 ( #849 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-20 09:36:05 -05:00
Jannis Mattheis
9ff713c537
fix: message overflow state preservation from previous messages
...
Using index is bad practice: https://react.dev/learn/rendering-lists#rules-of-keys
We don't recalculate the overflow state once the message is overflown.
When using the index as key, then when a new message is added at the top
of the array at index 0. The overflow state from the previous message at
index 0 is kept. The overflow state shouldn't be reused.
2025-09-20 13:29:58 +02:00
Jannis Mattheis
f1bf24c10f
fix: recalculate message overflow when image loads
...
The detection if the read-more button is necessary happened once at
render and wasn't recalculated after images loaded. This caused hidden
message overflow without a read more button.
2025-09-20 13:29:58 +02:00
renovate[bot]
4329e571ad
chore(deps): update bump go dependencies ( #830 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-19 12:29:04 -05:00
饺子w (Yumechi)
9262a24abc
feat: refine AutoCert logic ( #843 )
...
* feat: refine AutoCert logic
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
* add a configurable name to the roundtripper
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-09-19 04:43:09 -05:00
Jannis Mattheis
9e1455ff7d
Merge pull request #840 from gotify/fix-subpath
...
fix: serving gotify on a subpath
2025-09-13 14:04:36 +02:00
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
0239db0a6e
Merge pull request #838 from gotify/fix-ci
2025-09-13 10:44:29 +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
9532447271
ci: don't use GOTOOLCHAIN for getting gotify/build image
...
The setup-go action, sets GOTOOLCHAIN=local and breaks the release
build.
2025-09-13 10:29:04 +02:00
Jannis Mattheis
93ffad9abe
Merge pull request #837 from gotify/renovate/docker.io-gotify-build-1.x
...
chore(deps): update docker.io/gotify/build docker tag to v1.25.1
2025-09-13 10:04:40 +02:00
Jannis Mattheis
4dc8d03196
fix: update go-swagger
...
There is currently no released version supporting go1.25.
2025-09-13 09:45:59 +02:00
Jannis Mattheis
e1a1b60d05
fix: update go 1.25.x
2025-09-13 09:37:23 +02:00
Jannis Mattheis
1eec3c3540
ci: golangci-lint-action 2.4.0
2025-09-13 09:29:21 +02:00
renovate[bot]
e0b504478a
chore(deps): update docker.io/gotify/build docker tag to v1.25.1
2025-09-12 19:20:22 +00:00
renovate[bot]
9ab62b657d
chore(deps): update actions/setup-go action to v6
2025-09-12 16:13:04 +02:00
renovate[bot]
e6f019fce0
chore(deps): update actions/checkout action to v5
2025-09-12 15:54:18 +02:00
Jannis Mattheis
7f64026eed
Merge pull request #834 from gotify/renovate/actions-setup-node-5.x
...
chore(deps): update actions/setup-node action to v5
2025-09-12 15:53:10 +02:00
renovate[bot]
5a48202f7b
chore(deps): update actions/setup-node action to v5
2025-09-06 19:28:02 +00:00
Jannis Mattheis
751dff4b45
Merge pull request #821 from gotify/renovate/bump-dependencies-go
...
chore(deps): update module golang.org/x/crypto to v0.41.0
2025-08-09 18:37:39 +02:00
renovate[bot]
218ed16eb7
chore(deps): update module golang.org/x/crypto to v0.41.0
2025-08-09 16:09:23 +00:00
Jannis Mattheis
7b9e8d9f83
Merge pull request #824 from gotify/message-style
...
fix: less whitespace in message & add app name
2025-08-09 18:08:55 +02:00
Jannis Mattheis
cd2b416694
fix: less whitespace in message & add app name
2025-08-09 18:00:10 +02:00
Jannis Mattheis
7fb08bbf13
docs: smaller logo
2025-08-09 14:18:40 +02:00
Jannis Mattheis
8d9e478145
docs: update build badge
2025-08-09 14:18:14 +02:00
Jannis Mattheis
deb383aba8
Merge pull request #817 from BerserkeR-Git/BerserkeR-Git-styling-codeblocks
...
Add styling for code blocks in notifications
2025-08-08 14:33:50 +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
ebf6a6423d
Merge pull request #818 from gotify/upgrade-ui
...
Upgrade UI
2025-08-08 10:58:23 +02: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
Jannis Mattheis
43574a075c
Merge pull request #819 from gotify/upgrade-ui-fix-message-layout
...
fix message layout
2025-08-06 17:03:08 +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
eternal-flame-AD
73d42c5857
allow building on non docker environment
...
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-08-04 16:07:31 -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
6215a2c69a
fix: remove NODE_OPTIONS openssl workaround
2025-08-04 12:03:30 +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