Commit Graph

731 Commits

Author SHA1 Message Date
renovate[bot] 9216661dda chore(deps): update golangci/golangci-lint-action action to v9 2025-11-16 11:49:28 +01:00
Jannis Mattheis 2a6f9fbc7c
Merge pull request #873 from LaurenceJJones/fix-default-image-delete
fix: hide delete overlay for default app images
2025-11-16 11:41:52 +01:00
Laurence 883cc15bae fix: hide delete overlay for default app images 2025-11-16 11:27:28 +01:00
Jannis Mattheis 2b67bc33cb
fix(ui): throttle audio notification (#869) 2025-11-06 20:15:12 +01:00
Jannis Mattheis 2ab9fb5968 fix(ui): throttle audio notification 2025-11-05 22:20:32 +01:00
Laurence Jones 71e38b9824
Add file type restriction to image upload input using accept attribute (#872)
* Add file type restriction to image upload input using accept attribute

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

---------

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
Co-authored-by: eternal-flame-AD <yume@yumechi.jp>
2025-11-05 21:03:06 +00:00
renovate[bot] f263221133
chore(deps): update dependency node to v24 (#868)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-01 05:12:43 +00:00
renovate[bot] 6d5abae582
chore(deps): update module github.com/gin-contrib/gzip to v1.2.5 (#867)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-01 05:03:10 +00:00
饺子w (Yumechi) 496c166981
chore: Migrate github.com/jinzhu/gorm to gorm.io/gorm (#863)
* chore: Migrate github.com/jinzhu/gorm to gorm.io/gorm

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

* chore: drop singleton connection limit on sqlite3 backend

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

* enhance: database logging

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

* Revert "chore: drop singleton connection limit on sqlite3 backend"

This reverts commit b494a3bd1f2e18dc9b5e57bbb87e755a6247452f.

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

* typo

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

* rename unique_index -> uniqueIndex

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

* drop uniqueIndex on primary key

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

* migrate fully to new gorm tag format

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

* specify unique index name

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

* remove pluginConf duplicate index

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

* disable auto migrate FK

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

---------

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-10-29 22:23:10 +00:00
renovate[bot] 6de77209a6
chore(deps): update bump go dependencies (#854)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-20 04:44:52 +00:00
renovate[bot] 4849e1e40f
chore(deps): update actions/setup-node action to v6 (#860)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-14 07:18:17 +00:00
ggqshr 9879280a2c
fix: fix markdown embed image issue (#857)
* fix: fix markdown embed image issue

* fix urlTransform filter condition

* fix code format

* add image/gif filter

* Format code

---------

Co-authored-by: 饺子w (Yumechi) <35571479+eternal-flame-AD@users.noreply.github.com>
2025-10-13 02:19:33 +00:00
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