dillard
80f6dcf73a
fix(config): refresh a category cache stored with another type
...
If cache-categories was stored with a type other than mixed or array,
for example set by hand with occ, the typed read throws. Treat that as
a missing cache so it is refreshed instead of breaking the menu and the
settings page.
2026-09-30 13:30:01 +02:00
dillard
73dea84d89
fix(config): keep the category cache in the memory cache when available
...
A cache belongs in Nextcloud's memory cache rather than in the app
config. Use the distributed cache (e.g. Redis) with a one-week TTL when
one is available; Nextcloud falls back to the local cache (APCu) when
only that is configured. Without any memory cache the lazy app config
value stays as the fallback. A leftover app config value is removed
when the categories are stored in the memory cache, and saving the
settings clears both.
2026-09-30 13:26:45 +02:00
dillard
22e87e12ad
fix(config): only cache category names in the languages in use
...
The cache held the category names in all 96 app store languages
(about 49 KB), while an instance typically uses one or two. Keep only
English, the default language and the languages users have set, as the
two-letter codes the lookup uses; on a Dutch instance this is about
1.3 KB.
A user who switches to a language that is not cached yet sees English
names until the cache is refreshed after a week, or right away when an
admin saves the settings. The README mentions this.
2026-09-30 13:17:37 +02:00
dillard
ccefefa6f7
fix(config): keep the category cache small and save settings at once
...
The app store category cache (cache-categories) held the name and
description of every category in every language, about 170 KB, stored
as a regular app config value. Nextcloud loads all regular values of
all apps on every request, so this one value was read on every page
load. It was only refreshed with the "remove cache" button.
- Keep only the category ids and names, store the cache as a lazy
value so it is only loaded when categories are needed, and refresh
it after a week.
- Only load the categories where they are used: the menus with
categories, and the app list when custom categories are set.
- Save all settings in one request to a new admin endpoint, which
accepts only known settings, then clears the category cache and
changes the stylesheet cache key. The settings page sent one request
per setting and reloaded right after; with Nextcloud's short-lived
local config cache, the reloaded page could show a half-saved
configuration, so a change sometimes had to be made twice.
2026-09-30 12:01:50 +02:00
Simon Vieille
d666cac5be
Merge pull request 'fix #510 #520 #417 ' ( #521 ) from feature/nc35 into develop
...
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/521
2026-09-18 18:33:50 +02:00
Simon Vieille
9a71429182
doc: update changelog
2026-09-18 18:30:48 +02:00
Simon Vieille
f1b495809f
fix #510 : [Bug] Styling of the icon labels and overflow icon is not correct
2026-09-18 18:28:08 +02:00
Simon Vieille
e44b2c70a7
feat(app): add compatibility with Nextcloud 35
2026-09-18 18:06:54 +02:00
Simon Vieille
52de7326ec
Merge pull request 'feat: release v6.1.0' ( #518 ) from feature/release into develop
...
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/518
2026-09-07 18:07:26 +02:00
Simon Vieille
4975743441
feat: release v6.1.0
2026-09-07 18:06:55 +02:00
Simon Vieille
be6e9eaced
Merge pull request 'fix(admin): add toggle menu button for admin navigation ( #462 )' ( #517 ) from bugfix/issue462-adminmenu into develop
...
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/517
2026-09-05 16:46:37 +02:00
Simon Vieille
627b9e8bf4
fix(admin): add toggle menu button for admin navigation ( #462 )
2026-09-05 16:44:52 +02:00
Simon Vieille
7bc64003a5
Merge pull request 'bugfix/issue510-styling' ( #516 ) from bugfix/issue510-styling into develop
...
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/516
2026-09-05 15:56:05 +02:00
Simon Vieille
d078cc68e7
fix(StandardMenu): move 'more apps' buttons down ( #510 )
2026-09-05 15:54:26 +02:00
Simon Vieille
55a2b21ed1
fix(StandardMenu): move app labels down ( #510 )
2026-09-05 15:43:35 +02:00
Simon Vieille
f7a8a41f6e
merge develop
2026-09-05 13:16:38 +02:00
Simon Vieille
c2c6399106
Merge pull request 'feat: add search toggle option ( fix #509 )' ( #515 ) from feature/issue509-search-toggle into develop
...
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/515
2026-09-05 13:09:52 +02:00
Simon Vieille
f4833d1956
feat: add search toggle option ( fix #509 )
2026-09-05 13:06:24 +02:00
Simon Vieille
9eab478c36
chore(info): set version
2026-07-18 16:28:51 +02:00
Simon Vieille
c1588dfc2e
Merge pull request 'feat(standard-menu): add unified-search-input size handling' ( #507 ) from bugfix/top-menu-popover into develop
...
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/507
2026-07-18 16:26:18 +02:00
Simon Vieille
c24bb6f8c8
feat(standard-menu): add unified-search-input size handling
2026-07-18 16:26:06 +02:00
Simon Vieille
ca689d8b6f
Merge pull request 'bugfix/top-menu-popover' ( #506 ) from bugfix/top-menu-popover into develop
...
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/506
2026-07-18 15:52:52 +02:00
Simon Vieille
e81f0e4b76
doc: update changelog
2026-07-18 15:52:34 +02:00
Simon Vieille
7033569bed
feat(standard-menu): add unified-search-input size handling
2026-07-18 15:52:21 +02:00
Simon Vieille
a9788f0ab8
Merge pull request 'bugfix/always-displays-no-apps' ( #505 ) from bugfix/always-displays-no-apps into develop
...
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/505
2026-07-18 13:03:22 +02:00
Simon Vieille
1a8063bd94
doc: update changelog
2026-07-18 13:00:51 +02:00
Simon Vieille
cc841570ec
fix(ui): only apply always-displayed display css rules when the menu is displayed
2026-07-18 13:00:35 +02:00
Simon Vieille
d6a2da402c
fix(webpack): set global appVersion
2026-07-18 12:44:22 +02:00
Simon Vieille
fef11cd0cf
Merge pull request 'feature/nc34' ( #503 ) from feature/nc34 into develop
...
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/503
2026-07-17 18:59:17 +02:00
Simon Vieille
12b35470c7
doc: update changelog
2026-07-17 18:58:42 +02:00
Simon Vieille
23cb8fcfc1
chore(app): remove compatibility with Nextcloud < 34
2026-07-17 18:58:24 +02:00
Simon Vieille
2b4da9cfce
Merge pull request 'chore(info): set version' ( #502 ) from feature/nc34 into develop
...
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/502
2026-07-17 18:45:08 +02:00
Simon Vieille
f2af45711d
chore(info): set version
2026-07-17 18:44:57 +02:00
Simon Vieille
35afa38f73
Merge pull request 'feature/nc34' ( #500 ) from feature/nc34 into develop
...
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/500
2026-07-17 18:43:53 +02:00
Simon Vieille
ad162f5821
doc: update changelog
2026-07-17 18:34:53 +02:00
Simon Vieille
d3f87adcca
feat(app): add compatibility with Nextcloud 34
2026-07-17 18:34:53 +02:00
Simon Vieille
b32e4ded42
fix(app): add compatibility with Nextcloud 34
2026-07-17 18:31:25 +02:00
Simon Vieille
88e54e01b6
chore(dep): update @nextcloud/vue
2026-07-17 18:29:11 +02:00
Simon Vieille
ce01983f1c
Merge pull request 'fix: #489 : allow PHP 8.5 compatibility' ( #490 ) from feature/php85 into develop
...
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/490
2026-04-05 09:23:27 +02:00
Simon Vieille
6ee79a3110
chore: app version
2026-04-05 09:23:09 +02:00
Simon Vieille
a32bf417a7
fix : #489 : allow PHP 8.5 compatibility
2026-04-05 09:12:58 +02:00
Simon Vieille
337e1a07e3
doc: update changelog
2026-03-08 19:10:29 +01:00
gallegonovato
fccfe1341a
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (111 of 111 strings)
Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/es/
2026-03-08 19:09:32 +01:00
Outbreak2096
242569316f
Translated using Weblate (Chinese (Simplified Han script))
...
Currently translated at 100.0% (111 of 111 strings)
Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/zh_Hans/
2026-03-08 19:09:31 +01:00
gallegonovato
78888460fc
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (111 of 111 strings)
Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/es/
2026-03-08 19:09:31 +01:00
Simon Vieille
4d453676dc
Merge branch 'develop' into translations
2026-03-08 19:08:08 +01:00
Simon Vieille
f49b30b20e
Merge pull request 'bugfix/intl-segmenter-polyfill' ( #479 ) from bugfix/intl-segmenter-polyfill into develop
...
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/479
2026-03-08 19:06:18 +01:00
Simon Vieille
0067b4e1c8
doc: update changelog
2026-03-08 19:05:56 +01:00
Simon Vieille
77cf610c8b
Merge branch 'develop' into bugfix/intl-segmenter-polyfill
2026-03-08 19:05:14 +01:00
Simon Vieille
5cd106640c
Merge pull request 'bugfix/issue475-orm' ( #476 ) from bugfix/issue475-orm into develop
...
Reviewed-on: https://gitnet.fr/deblan/side_menu/pulls/476
2026-03-01 13:18:24 +01:00