Compare commits

..

38 commits

Author SHA1 Message Date
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
f49b30b20e Merge pull request 'bugfix/intl-segmenter-polyfill' (#479) from bugfix/intl-segmenter-polyfill into develop
Reviewed-on: deblan/side_menu#479
2026-03-08 19:06:18 +01:00
0067b4e1c8
doc: update changelog 2026-03-08 19:05:56 +01:00
77cf610c8b
Merge branch 'develop' into bugfix/intl-segmenter-polyfill 2026-03-08 19:05:14 +01:00
5cd106640c Merge pull request 'bugfix/issue475-orm' (#476) from bugfix/issue475-orm into develop
Reviewed-on: deblan/side_menu#476
2026-03-01 13:18:24 +01:00
d057cd7665
doc: update changelog 2026-03-01 13:11:26 +01:00
520225603b
fix(admin/*SaveButton): cast settings to string 2026-03-01 13:09:02 +01:00
c2ecc5bf98
fix(LangRepository): check orm capabilities to query entities 2026-03-01 13:08:26 +01:00
8cca320a43
chore: set side_menu as package name 2026-03-01 13:07:07 +01:00
19aaf0759b Merge pull request 'chore: app version' (#473) from feature/nc33 into develop
Reviewed-on: deblan/side_menu#473
2026-02-27 09:18:16 +01:00
47a83f10cc
chore: app version 2026-02-27 09:17:46 +01:00
e1a191121d Merge pull request 'chore: add compatibility with NC33' (#471) from feature/nc33 into develop
Reviewed-on: deblan/side_menu#471
2026-02-27 09:16:32 +01:00
54f4dce09b
chore: add compatibility with NC33 2026-02-27 09:16:02 +01:00
c0aaa206ed Merge pull request 'bugfix/issue468-logo' (#469) from bugfix/issue468-logo into develop
Reviewed-on: deblan/side_menu#469
2026-02-16 11:52:40 +01:00
0124336558
doc: update changelog 2026-02-16 10:12:09 +01:00
5ccb56309a
fix #468: force nextcloud logo display css rule (opener-only) 2026-02-16 10:09:31 +01:00
7d26be253a
doc: update changelog 2026-01-10 15:51:26 +01:00
0437019bb0
fix #464: add Intl.Segmenter polyfill 2026-01-10 15:49:16 +01:00
be68f2ef55
fix(doc): fix curl cmd 2025-10-29 17:48:09 +01:00
1bf9cee8d6 Merge pull request 'bugfix/build' (#446) from bugfix/build into develop
Reviewed-on: deblan/side_menu#446
2025-09-29 00:19:56 +02:00
403a7a72fb
update changelog 2025-09-29 00:18:55 +02:00
81ae76cdb7
build: add package-lock.json 2025-09-29 00:17:57 +02:00
32e5ecda8f
ci: rollback node to v20 2025-09-29 00:12:56 +02:00
de98967da5
ci: upgrade node to v22 2025-09-28 23:50:10 +02:00
f39f3b3aef
Merge branch 'translations' into develop 2025-09-28 19:49:28 +02:00
0db732b921
fix(trans/fr): remove typo 2025-09-28 19:48:27 +02:00
ce39df6c2d
update changelog 2025-09-28 19:47:42 +02:00
bc94b61c12
Merge branch 'translations' into develop 2025-09-28 19:46:14 +02:00
c54c969824
release v5.1.2 2025-09-28 19:43:27 +02:00
e828a914cf Merge pull request '"Refactor Side Menu JsController to Use IAvatarManager via Dependency Injection for Nextcloud 32 Com' (#442) from AndyXheli/side_menu:develop into develop
Reviewed-on: deblan/side_menu#442
2025-09-28 19:40:50 +02:00
mbouzada
177f88b9aa
Translated using Weblate (Galician)
Currently translated at 100.0% (111 of 111 strings)

Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/gl/
2025-09-28 01:36:08 +00:00
p-bo
66a6fda385
Translated using Weblate (Czech)
Currently translated at 100.0% (111 of 111 strings)

Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/cs/
2025-09-28 01:36:08 +00:00
s0undy
a00fcb1423
Translated using Weblate (Swedish)
Currently translated at 100.0% (111 of 111 strings)

Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/sv/
2025-06-08 19:58:24 +00:00
s0undy
f335c086b6
Translated using Weblate (Swedish)
Currently translated at 15.3% (17 of 111 strings)

Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/sv/
2025-06-01 23:58:24 +00:00
yurtpage
7bc8cd857c
Translated using Weblate (Russian)
Currently translated at 100.0% (111 of 111 strings)

Translation: Custom menu/Application
Translate-URL: https://translate.codeberg.org/projects/custom-menu/application/ru/
2025-06-01 23:58:24 +00:00
20 changed files with 8510 additions and 285 deletions

4
.gitignore vendored
View file

@ -2,8 +2,4 @@
/node_modules /node_modules
/l10n/* /l10n/*
/releases /releases
/package-lock.json
!/l10n/.gitkeep !/l10n/.gitkeep
/yarn*.log
/src/admin.js.bk
/templates/settings/admin-form.php.bk

View file

@ -1,5 +1,34 @@
## [Unreleased] ## [Unreleased]
## 5.2.2
### Fixed
* fix #464: add Intl.Segmenter polyfill
### Added
* add new translations
## 5.2.1
### Added
* chore: set side_menu as package name
### Fixed
* fix(LangRepository): check orm capabilities to query entities
* fix(admin/\*SaveButton): cast settings to string
## 5.2.0
### Added
* add compatibility with NC33
### Fixed
* fix #468: force nextcloud logo display css rule (opener-only)
## 5.1.3
### Fixed
* fix #445: fix build by adding package-lock.json
## 5.1.2
### Added
* add new translations
### Fixed
* fix #441: Side bar not working with Nextcloud 32 (thanks to AndyXheli)
## 5.1.1 ## 5.1.1
### Fixed ### Fixed
* fix(build): define appName to fix this error: "The `@nextcloud/vue` library was used without setting / replacing the `appName`" * fix(build): define appName to fix this error: "The `@nextcloud/vue` library was used without setting / replacing the `appName`"
@ -197,7 +226,7 @@
## 3.5.1 ## 3.5.1
### Added ### Added
* add translations (thanks to p-bo adn gallegonovato) * add translations (thanks to p-bo and gallegonovato)
### Fixed ### Fixed
* fix #189: sorting not applied on mobile * fix #189: sorting not applied on mobile
@ -326,323 +355,323 @@
## 2.3.2 ## 2.3.2
### Fixed ### Fixed
- fix hidden menu * fix hidden menu
## 2.3.1 ## 2.3.1
### Fixed ### Fixed
- fix #88: does not work with default menu * fix #88: does not work with default menu
## 2.3.0 ## 2.3.0
### Added ### Added
- fix #82: add an option to keep visible an app in both menus * fix #82: add an option to keep visible an app in both menus
- fix #83: add custom categories * fix #83: add custom categories
- add auto-reload when settings are saved * add auto-reload when settings are saved
## 2.2.0 ## 2.2.0
### Added ### Added
- fix #84: update icons * fix #84: update icons
- fix #85: use Nextcloud colors by default * fix #85: use Nextcloud colors by default
### Fixed ### Fixed
- fix categories order in large menu * fix categories order in large menu
## 2.1.0 ## 2.1.0
### Added ### Added
- add compatibility with Nextcloud 23 * add compatibility with Nextcloud 23
## 2.0.1 ## 2.0.1
### Fixed ### Fixed
- fix #78: Top menu is broken - invisible apps are shown * fix #78: Top menu is broken - invisible apps are shown
- fix #77: Update personal settings - HTTP error 412 (Precondition Failed) * fix #77: Update personal settings - HTTP error 412 (Precondition Failed)
- fix js error on the personal settings page (undefined sortable) * fix js error on the personal settings page (undefined sortable)
## 2.0.0 ## 2.0.0
### Fixed ### Fixed
- fix #66: removing usage of setInterval * fix #66: removing usage of setInterval
- fix #73: icon background * fix #73: icon background
### Changed ### Changed
- fix #67: replace jQuery with Vanilla JS * fix #67: replace jQuery with Vanilla JS
### Removed ### Removed
- Nextcloud 18 is not supported anymore * Nextcloud 18 is not supported anymore
## 1.28.0 ## 1.28.0
### Added ### Added
- fix #63: add a new side menu with categories * fix #63: add a new side menu with categories
## 1.27.2 ## 1.27.2
### Fixed ### Fixed
- fix #62: hide app notification icon * fix #62: hide app notification icon
## 1.27.1 ## 1.27.1
### Fixed ### Fixed
- fix German translation render * fix German translation render
## 1.27.0 ## 1.27.0
### Added ### Added
- hide personal settings access when settings are forced by the administrator * hide personal settings access when settings are forced by the administrator
### Fixed ### Fixed
- improve German translations * improve German translations
## 1.26.0 ## 1.26.0
### Added ### Added
- add Czech translation * add Czech translation
## 1.25.2 ## 1.25.2
### Fixed ### Fixed
- fix CHANGELOG * fix CHANGELOG
## 1.25.1 ## 1.25.1
### Added ### Added
- add PHP version as dependency * add PHP version as dependency
- add chinese translation * add chinese translation
### Fixed ### Fixed
- fix CHANGELOG * fix CHANGELOG
## 1.25.0 ## 1.25.0
### Added ### Added
- add compatibility with Nextcloud 22 * add compatibility with Nextcloud 22
- add CHANGELOG.md (fix #59) * add CHANGELOG.md (fix #59)
- update app icon * update app icon
## 1.24.0 ## 1.24.0
### Added ### Added
- add option to define the background opacity (fix #53) * add option to define the background opacity (fix #53)
- add missing translations * add missing translations
## 1.23.1 ## 1.23.1
### Fixed ### Fixed
- fix but wih dark mode opener option * fix but wih dark mode opener option
## 1.23.0 ## 1.23.0
### Added ### Added
- add support of dark Theme and Breeze Dark * add support of dark Theme and Breeze Dark
- add support of Nextcloud 21 * add support of Nextcloud 21
## 1.22.2 ## 1.22.2
### Fixed ### Fixed
- fix regression: apps does not open in new tab (fix #55) * fix regression: apps does not open in new tab (fix #55)
## 1.22.1 ## 1.22.1
### Fixed ### Fixed
- fix regression: apps does not open in new tab * fix regression: apps does not open in new tab
## 1.22.0 ## 1.22.0
### Added ### Added
- Add option to sort categories (fix #53) * Add option to sort categories (fix #53)
- Update admin UI * Update admin UI
## 1.21.0 ## 1.21.0
### Added ### Added
- [FEATURE] Logo in the menu links to main page of installation (#51) * [FEATURE] Logo in the menu links to main page of installation (#51)
## 1.20.1 ## 1.20.1
### Fixed ### Fixed
- Fix translations * Fix translations
## 1.20.0 ## 1.20.0
### Added ### Added
- [FEATURE] Ability to remove apps from the Big Menu (#49) * [FEATURE] Ability to remove apps from the Big Menu (#49)
## 1.19.1 ## 1.19.1
### Fixed ### Fixed
- fix #47: setting for list/grid view in files app flashes and dissapears * fix #47: setting for list/grid view in files app flashes and dissapears
## 1.19.0 ## 1.19.0
### Added ### Added
- add option: the menu is enabled by default for users (fix #46) * add option: the menu is enabled by default for users (fix #46)
## 1.18.0 ## 1.18.0
### Added ### Added
- add option to show link to settings (fix #44) * add option to show link to settings (fix #44)
- refactor menus using several components * refactor menus using several components
## 1.17.0 ## 1.17.0
### Added ### Added
- compliance with the app checker * compliance with the app checker
- add an action to export the configuration * add an action to export the configuration
- add an action to purge the cache * add an action to purge the cache
## 1.16.3 ## 1.16.3
### Fixed ### Fixed
- fix links that must be opened in new window (https://help.nextcloud.com/t/external-petit-probleme-concernant-lapplication-external-sites-ou-sites-externes/94884/11) * fix links that must be opened in new window (https://help.nextcloud.com/t/external-petit-probleme-concernant-lapplication-external-sites-ou-sites-externes/94884/11)
## 1.16.2 ## 1.16.2
### Fixed ### Fixed
- fix issue with personal settings when global settings are forced * fix issue with personal settings when global settings are forced
## 1.16.1 ## 1.16.1
### Fixed ### Fixed
- fix #42: add cache to manage failures to access apps.nextcloud.com * fix #42: add cache to manage failures to access apps.nextcloud.com
- fix #41: side menu was hover apps list * fix #41: side menu was hover apps list
## 1.16.0 ## 1.16.0
### Added ### Added
- add an option to force settings to users (fix #38) * add an option to force settings to users (fix #38)
## 1.15.0 ## 1.15.0
### Changed ### Changed
- New name * New name
### Fixed ### Fixed
- Fix #36: always displayed is not expanding * Fix #36: always displayed is not expanding
## 1.14.0 ## 1.14.0
### Added ### Added
- add an api accessed by components * add an api accessed by components
- add a config proxy in controllers * add a config proxy in controllers
### Fixed ### Fixed
- fix translations * fix translations
## 1.13.0 ## 1.13.0
### Added ### Added
- add an option to display the avatar instead of the logo (fix #34) * add an option to display the avatar instead of the logo (fix #34)
## 1.12.3 ## 1.12.3
### Added ### Added
- add a delay before moving elements (fix #33) * add a delay before moving elements (fix #33)
## 1.12.2 ## 1.12.2
### Fixed ### Fixed
- fix #30: `Always displayed` menu can not be close using touchscreens * fix #30: `Always displayed` menu can not be close using touchscreens
## 1.12.1 ## 1.12.1
### Fixed ### Fixed
- fix typo * fix typo
- fix translations * fix translations
## 1.12.0 ## 1.12.0
### Fixed ### Fixed
- fix #30: administrators and users can select what apps must be opened in new tab * fix #30: administrators and users can select what apps must be opened in new tab
- fix typo * fix typo
## 1.11.0 ## 1.11.0
### Added ### Added
- add the option for opening apps in new tab (fix #29) * add the option for opening apps in new tab (fix #29)
### Fixed ### Fixed
- fix issue with the header of the always displayed menu * fix issue with the header of the always displayed menu
## 1.10.0 ## 1.10.0
### Added ### Added
- add images to select the display of the menu * add images to select the display of the menu
- add live preview * add live preview
- update translations * update translations
- update app info * update app info
## 1.9.3 ## 1.9.3
### Fixed ### Fixed
- fix regression with logo display * fix regression with logo display
## 1.9.2 ## 1.9.2
### Added ### Added
- add the option “always displayed” which fixes the position of the menu to the left and always displays the application icons (fix #21, fix #2) * add the option “always displayed” which fixes the position of the menu to the left and always displays the application icons (fix #21, fix #2)
## 1.8.6 ## 1.8.6
### Added ### Added
- add translations: `fr` and `de` * add translations: `fr` and `de`
- improve and publish the `Makefile` * improve and publish the `Makefile`
- update documentation * update documentation
## 1.8.5 ## 1.8.5
### Fixed ### Fixed
- fix #28: menu items invisible after 1.8.4 * fix #28: menu items invisible after 1.8.4
## 1.8.4 ## 1.8.4
### Fixed ### Fixed
- fix #27: disable side menu on public pages - broken in 1.8.3 * fix #27: disable side menu on public pages - broken in 1.8.3
## 1.8.3 ## 1.8.3
### Fixed ### Fixed
- fix alphabetic order of apps (#26) * fix alphabetic order of apps (#26)
## 1.8.2 ## 1.8.2
### Added ### Added
- add icon for closing the big menu (fix #25) * add icon for closing the big menu (fix #25)
### Fixed ### Fixed
- fix hidden icons in the top menu (fix #23) * fix hidden icons in the top menu (fix #23)
- fix missing apps (fix #24) * fix missing apps (fix #24)
## 1.8.1 ## 1.8.1
### Fixed ### Fixed
- fix issue with links * fix issue with links
- fix missing l10n files * fix missing l10n files
## 1.8.0 ## 1.8.0
### Added ### Added
- add a `big menu` display (fix #22) * add a `big menu` display (fix #22)
- add the possibility to choose what apps are displayed in the top menu (fix #22) * add the possibility to choose what apps are displayed in the top menu (fix #22)
- add icon color filter * add icon color filter
- add icon opacity filter * add icon opacity filter
## 1.8.0-rc2 ## 1.8.0-rc2
## 1.7.0 ## 1.7.0
### Added ### Added
- add a loader when the page is unloading * add a loader when the page is unloading
- add compatibility with Nextcloud 19 * add compatibility with Nextcloud 19
## 1.6.3 ## 1.6.3
### Fixed ### Fixed
- fix #20: add a shortcut to open and to hide the menu * fix #20: add a shortcut to open and to hide the menu
## 1.6.2 ## 1.6.2
### Fixed ### Fixed
- fix #19: add a cache to limit flashes * fix #19: add a cache to limit flashes
## 1.6.1 ## 1.6.1
### Fixed ### Fixed
- fix #19: add a hack to show external sites in the top menu with navigation * fix #19: add a hack to show external sites in the top menu with navigation
## 1.6.0 ## 1.6.0
### Added ### Added
- Add a page of personal settings * Add a page of personal settings
- Add an option to disable the side menu as user * Add an option to disable the side menu as user
- Refactoring of javascripts * Refactoring of javascripts
## 1.5.0 ## 1.5.0
### Added ### Added
- add option to force light icons instead of dark icons * add option to force light icons instead of dark icons
### Fixed ### Fixed
- fix #19: add option to keep external sites in the top menu * fix #19: add option to keep external sites in the top menu
- fix #16 #17: add dark icons and handle the svg filters * fix #16 #17: add dark icons and handle the svg filters
## 1.4.1 ## 1.4.1
### Added ### Added
- Rendering harmonization with browsers * Rendering harmonization with browsers
### Fixed ### Fixed
- FIX #15: make menu start after icon * FIX #15: make menu start after icon
## 1.4.0 ## 1.4.0
### Fixed ### Fixed
- Fix #12: add an option to hide the opener and the panel when there is no application * Fix #12: add an option to hide the opener and the panel when there is no application
## 1.3.4 ## 1.3.4
### Fixed ### Fixed
- FIX #14: add option to show only the opener * FIX #14: add option to show only the opener
- FIX #13: add alternate hamburger icon * FIX #13: add alternate hamburger icon
- FIX #11: remove error in the console * FIX #11: remove error in the console
## 1.3.3 ## 1.3.3
### Added ### Added
- Add a second background color to create a background gradiant * Add a second background color to create a background gradiant
- Update documentation * Update documentation
### Fixed ### Fixed
- FIX #10: add options to select the size of the icons and the text, or hide them * FIX #10: add options to select the size of the icons and the text, or hide them
## 1.3.2 ## 1.3.2
### Fixed ### Fixed
- FIX #9: opener icon not visible with multiple apps_paths * FIX #9: opener icon not visible with multiple apps_paths
## 1.3.1 ## 1.3.1
### Fixed ### Fixed
- FIX #3: Add an opition the choose the position of the opener (after or before the logo) * FIX #3: Add an opition the choose the position of the opener (after or before the logo)
- FIX #8: Remove extension of dynamic asset's routes (js, css) * FIX #8: Remove extension of dynamic asset's routes (js, css)
## 1.3.0 ## 1.3.0
### Added ### Added
- `main.js` is replaced by a controller and a template * `main.js` is replaced by a controller and a template
### Fixed ### Fixed
- FIX #2: add option to open the menu by hovering over opener * FIX #2: add option to open the menu by hovering over opener
## 1.2.4 ## 1.2.4
### Fixed ### Fixed
- FIX #7: Opener icon not visible in Safari * FIX #7: Opener icon not visible in Safari

View file

@ -40,7 +40,7 @@ If you want to install it from source, go to https://gitnet.fr/deblan/side_menu/
``` ```
$ cd /path/to/nextcloud/apps $ cd /path/to/nextcloud/apps
$ VERSION=x.y.z; curl -sS https://gitnet.fr/deblan/side_menu/releases/download/v${VERSION}/side_menu_v${VERSION}.tar.gz | tar xvfz - $ VERSION=x.y.z; curl -sS "https://gitnet.fr/deblan/side_menu/releases/download/${VERSION}/side_menu_v${VERSION}.tar.gz" | tar xvfz -
``` ```
Administrators can edit many settings using the administration page. Administrators can edit many settings using the administration page.

View file

@ -30,7 +30,7 @@ Notice
Because I believe in a free and decentralized Internet, [Gitnet](https://gitnet.fr) is **self-hosted at home**. Because I believe in a free and decentralized Internet, [Gitnet](https://gitnet.fr) is **self-hosted at home**.
In case of downtime, you can download **Custom Menu** from [here](https://kim.deblan.fr/~side_menu/). In case of downtime, you can download **Custom Menu** from [here](https://kim.deblan.fr/~side_menu/).
]]></description> ]]></description>
<version>5.1.1</version> <version>5.2.2</version>
<licence>agpl</licence> <licence>agpl</licence>
<author mail="contact@deblan.fr" homepage="https://www.deblan.fr/">Simon Vieille</author> <author mail="contact@deblan.fr" homepage="https://www.deblan.fr/">Simon Vieille</author>
<namespace>SideMenu</namespace> <namespace>SideMenu</namespace>
@ -53,7 +53,7 @@ In case of downtime, you can download **Custom Menu** from [here](https://kim.de
<screenshot><![CDATA[https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_default_menu.png]]></screenshot> <screenshot><![CDATA[https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_default_menu.png]]></screenshot>
<dependencies> <dependencies>
<php min-version="8.1" max-version="8.4" /> <php min-version="8.1" max-version="8.4" />
<nextcloud min-version="31" max-version="32"/> <nextcloud min-version="31" max-version="33"/>
</dependencies> </dependencies>
<settings> <settings>
<admin>OCA\SideMenu\Settings\Admin</admin> <admin>OCA\SideMenu\Settings\Admin</admin>

View file

@ -30,7 +30,12 @@ class LangRepository
->from('preferences') ->from('preferences')
; ;
$stmt = $qb->execute(); // Nextcloud >=33+
if (method_exists($qb, 'executeQuery')) {
$stmt = $qb->executeQuery();
} else {
$stmt = $qb->execute();
}
$langs = ['en']; $langs = ['en'];

8188
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -11,6 +11,7 @@
}, },
"dependencies": { "dependencies": {
"@babel/core": ">=7.12.0 <8.0.0", "@babel/core": ">=7.12.0 <8.0.0",
"@formatjs/intl-segmenter": "^12.0.8",
"@nextcloud/router": "^3.0.1", "@nextcloud/router": "^3.0.1",
"@nextcloud/vue": "^9.0.0-alpha.8", "@nextcloud/vue": "^9.0.0-alpha.8",
"node-polyfill-webpack-plugin": "^4.1.0", "node-polyfill-webpack-plugin": "^4.1.0",

View file

@ -17,6 +17,8 @@
import './scss/admin.scss' import './scss/admin.scss'
import '@formatjs/intl-segmenter/polyfill.js'
import { createApp } from 'vue' import { createApp } from 'vue'
import { createPinia } from 'pinia' import { createPinia } from 'pinia'
import { waitContainer } from './lib/dom.js' import { waitContainer } from './lib/dom.js'

View file

@ -73,10 +73,10 @@ const save = async () => {
if (Array.isArray(value) || typeof value === 'object') { if (Array.isArray(value) || typeof value === 'object') {
value = JSON.stringify(value) value = JSON.stringify(value)
} else if (typeof value === 'boolean') { } else if (typeof value === 'boolean') {
value = value ? 1 : 0 value = value ? '1' : '0'
} }
OCP.AppConfig.setValue('side_menu', key, value, { OCP.AppConfig.setValue('side_menu', key, value.toString(), {
success() { success() {
update() update()
}, },

View file

@ -69,11 +69,11 @@ const save = async () => {
if (Array.isArray(value) || typeof value === 'object') { if (Array.isArray(value) || typeof value === 'object') {
value = JSON.stringify(value) value = JSON.stringify(value)
} else if (typeof value === 'boolean') { } else if (typeof value === 'boolean') {
value = value ? 1 : 0 value = value ? '1' : '0'
} }
formData.push('name=' + encodeURIComponent(key)) formData.push('name=' + encodeURIComponent(key))
formData.push('value=' + encodeURIComponent(value)) formData.push('value=' + encodeURIComponent(value.toString()))
fetch(url, { fetch(url, {
method: 'POST', method: 'POST',

View file

@ -94,18 +94,18 @@
'Search': 'Hledat' 'Search': 'Hledat'
'Toggle the menu': 'Vyp/zap nabídku' 'Toggle the menu': 'Vyp/zap nabídku'
'Open the documentation': 'Open the documentation' 'Open the documentation': 'Open the documentation'
'Ask the developer': 'Ask the developer' 'Ask the developer': 'Zeptejte se vývojáře'
'New request': 'New request' 'New request': 'Nový požadavek'
'Report a bug': 'Report a bug' 'Report a bug': 'Nahlásit chybu'
'Show the configuration': 'Show the configuration' 'Show the configuration': 'Zobrazit nastavení'
'Configuration:': 'Configuration:' 'Configuration:': 'Configuration:'
'Done!': 'Done!' 'Done!': 'Hotovo!'
'Copy': 'Copy' 'Copy': 'Zkopírovat'
'Need help': 'Need help' 'Need help': 'Potřebuji pomoc'
'I would like a new feature': 'I would like a new feature' 'I would like a new feature': 'Rád bych novou funkci v aplikaci'
'Something went wrong': 'Something went wrong' 'Something went wrong': 'Něco se pokazilo'
'Select apps': 'Select apps' 'Select apps': 'Vyberte aplikace'
'Sort': 'Sort' 'Sort': 'Seřadit'
'Customize': 'Customize' 'Customize': 'Přizpůsobit'
'Custom': 'Custom' 'Custom': 'Custom'
'Close': 'Close' 'Close': 'Zavřít'

View file

@ -94,18 +94,18 @@
'Search': 'Buscar' 'Search': 'Buscar'
'Toggle the menu': 'Alternar el menú' 'Toggle the menu': 'Alternar el menú'
'Open the documentation': 'Open the documentation' 'Open the documentation': 'Open the documentation'
'Ask the developer': 'Ask the developer' 'Ask the developer': 'Pregúntale al desarrollador'
'New request': 'New request' 'New request': 'Nueva solicitud'
'Report a bug': 'Report a bug' 'Report a bug': 'Informar de un fallo'
'Show the configuration': 'Show the configuration' 'Show the configuration': 'Mostrar los ajustes'
'Configuration:': 'Configuration:' 'Configuration:': 'Configuration:'
'Done!': 'Done!' 'Done!': '¡Realizado!'
'Copy': 'Copy' 'Copy': 'Copiar'
'Need help': 'Need help' 'Need help': 'Ayudame'
'I would like a new feature': 'I would like a new feature' 'I would like a new feature': 'Me gustaría una nueva función'
'Something went wrong': 'Something went wrong' 'Something went wrong': 'Algo salió mal'
'Select apps': 'Select apps' 'Select apps': 'Selecciona las aplicaciones'
'Sort': 'Sort' 'Sort': 'Ordenar'
'Customize': 'Customize' 'Customize': 'Personalizar'
'Custom': 'Custom' 'Custom': 'Custom'
'Close': 'Close' 'Close': 'Cerrar'

View file

@ -1,4 +1,4 @@
'Custom menu': '­­­Menu personnalisé' 'Custom menu': 'Menu personnalisé'
'Enable the custom menu': 'Activer le menu personnalisé' 'Enable the custom menu': 'Activer le menu personnalisé'
'No': 'Non' 'No': 'Non'
'Yes': 'Oui' 'Yes': 'Oui'

View file

@ -3,7 +3,7 @@
'No': 'Non' 'No': 'Non'
'Yes': 'Si' 'Yes': 'Si'
'Menu': 'Menú' 'Menu': 'Menú'
'Use the shortcut Ctrl+o to open and to hide the side menu. Use tab key to navigate.': 'Use the shortcut Ctrl+o to open and to hide the side menu. Use tab key to navigate.' 'Use the shortcut Ctrl+o to open and to hide the side menu. Use tab key to navigate.': 'Use o atallo Ctrl+o para abrir e agochar o menú lateral. Use a tecla Tab para navegar.'
'Top menu': 'Top menu' 'Top menu': 'Top menu'
'Apps that not must be moved in the side menu': 'As aplicacións que non deben moverse no menú lateral' 'Apps that not must be moved in the side menu': 'As aplicacións que non deben moverse no menú lateral'
'If there is no selection then the global configuration is applied.': 'Se non hai selección, aplícase a configuración global.' 'If there is no selection then the global configuration is applied.': 'Se non hai selección, aplícase a configuración global.'
@ -94,18 +94,18 @@
'Search': 'Buscar' 'Search': 'Buscar'
'Toggle the menu': 'Alternar o menú' 'Toggle the menu': 'Alternar o menú'
'Open the documentation': 'Open the documentation' 'Open the documentation': 'Open the documentation'
'Ask the developer': 'Ask the developer' 'Ask the developer': 'Preguntar ao desenvolvedor'
'New request': 'New request' 'New request': 'Nova solicitude'
'Report a bug': 'Report a bug' 'Report a bug': 'Informar dun fallo'
'Show the configuration': 'Show the configuration' 'Show the configuration': 'Amosar a configuración'
'Configuration:': 'Configuration:' 'Configuration:': 'Configuración:'
'Done!': 'Done!' 'Done!': 'Feito!'
'Copy': 'Copy' 'Copy': 'Copiar'
'Need help': 'Need help' 'Need help': 'Necesito axuda'
'I would like a new feature': 'I would like a new feature' 'I would like a new feature': 'Gustaríame unha nova característica'
'Something went wrong': 'Something went wrong' 'Something went wrong': 'Algo foi mal'
'Select apps': 'Select apps' 'Select apps': 'Seleccionar as aplicacións'
'Sort': 'Sort' 'Sort': 'Ordenar'
'Customize': 'Customize' 'Customize': 'Personalizar'
'Custom': 'Custom' 'Custom': 'Personalizado'
'Close': 'Close' 'Close': 'Pechar'

View file

@ -1,4 +1,4 @@
'Custom menu': 'Custom menu' 'Custom menu': 'Пользовательское меню'
'Enable the custom menu': 'Включить пользовательское меню' 'Enable the custom menu': 'Включить пользовательское меню'
'No': 'Нет' 'No': 'Нет'
'Yes': 'Да' 'Yes': 'Да'
@ -77,7 +77,7 @@
'Customize sorting': 'Настроить сортировку' 'Customize sorting': 'Настроить сортировку'
'Order by': 'В порядке' 'Order by': 'В порядке'
'Name': 'Название' 'Name': 'Название'
'Customed': риспособлено' 'Customed': ользовательское'
'Show and hide the list of categories': 'Показать или скрыть список категорий' 'Show and hide the list of categories': 'Показать или скрыть список категорий'
'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': 'Эти настройки используются темами Тёмная и Тёмная Breeze.' 'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': 'Эти настройки используются темами Тёмная и Тёмная Breeze.'
'Dark mode colors': 'Цвета тёмной темы' 'Dark mode colors': 'Цвета тёмной темы'

View file

@ -1,111 +1,111 @@
'Custom menu': '' 'Custom menu': 'Anpassad meny'
'Enable the custom menu': '' 'Enable the custom menu': 'Aktivera den anpassade menyn'
'No': '' 'No': 'Nej'
'Yes': '' 'Yes': 'Ja'
'Menu': '' 'Menu': 'Meny'
'Use the shortcut Ctrl+o to open and to hide the side menu. Use tab key to navigate.': '' 'Use the shortcut Ctrl+o to open and to hide the side menu. Use tab key to navigate.': 'Använd genvägen Ctrl+o för att visa eller dölja sidomenyn. Använd tabb-tangenten för att navigera.'
'Top menu': '' 'Top menu': 'Toppmeny'
'Apps that not must be moved in the side menu': '' 'Apps that not must be moved in the side menu': 'Appar som inte får flyttas i sidomenyn'
'If there is no selection then the global configuration is applied.': '' 'If there is no selection then the global configuration is applied.': 'Om inget val har gjorts tillämpas den globala konfigurationen.'
'Experimental': '' 'Experimental': 'Experimentell'
'Save': '' 'Save': 'Spara'
'You like this app and you want to support me?': '' 'You like this app and you want to support me?': 'Gillar du den här appen och vill stödja mig?'
'Buy me a coffee ☕': '' 'Buy me a coffee ☕': 'Bjud mig på en kaffe ☕'
'Hidden': '' 'Hidden': 'Dold'
'Small': '' 'Small': 'Liten'
'Normal': '' 'Normal': 'Normal'
'Big': '' 'Big': 'Stor'
'Hidden icon': '' 'Hidden icon': 'Dold ikon'
'Small icon': '' 'Small icon': 'Liten ikon'
'Normal icon': '' 'Normal icon': 'Normal ikon'
'Big icon': '' 'Big icon': 'Stor ikon'
'Hidden text': '' 'Hidden text': 'Dold text'
'Small text': '' 'Small text': 'Liten text'
'Normal text': '' 'Normal text': 'Normal text'
'Big text': '' 'Big text': 'Stor text'
'Colors': '' 'Colors': 'Färger'
'Background color': '' 'Background color': 'Bakgrundsfärg'
'Background color of current app': '' 'Background color of current app': 'Bakgrundsfärg för aktuell app'
'Text color': '' 'Text color': 'Textfärg'
'Loader': '' 'Loader': 'Laddare'
'Icon': '' 'Icon': 'Ikon'
'Same color': '' 'Same color': 'Samma färg'
'Opposite color': '' 'Opposite color': 'Motsatt färg'
'Transparent': '' 'Transparent': 'Transparent'
'Opaque': '' 'Opaque': 'Ogenomskinlig'
'Opener': '' 'Opener': 'Öppnare'
'Default': '' 'Default': 'Standard'
'Default (dark)': '' 'Default (dark)': 'Standard(mörk)'
'Hamburger': '' 'Hamburger': 'Hamburgermeny'
'Hamburger (dark)': '' 'Hamburger (dark)': 'Hamburgermeny(mörk)'
'Hamburger 2': '' 'Hamburger 2': 'Hamburgermeny 2'
'Hamburger 2 (dark)': '' 'Hamburger 2 (dark)': 'Hamburgermeny 2 (mörk)'
'Before the logo': '' 'Before the logo': 'Före logotypen'
'After the logo': '' 'After the logo': 'Efter logotypen'
'Position': '' 'Position': 'Position'
'Show only the opener (hidden logo)': '' 'Show only the opener (hidden logo)': 'Visa endast öppnaren (gömd logotyp)'
'Do not display the side menu and the opener if there is no application (eg: public pages).': '' 'Do not display the side menu and the opener if there is no application (eg: public pages).': 'Visa inte sidomenyn eller öppnaren om det inte finns någon applikation (t.ex. publika sidor).'
'Panel': '' 'Panel': 'Panel'
'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': '' 'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': 'Öppna menyn när muspekaren hovrar över öppnaren (automatiskt avaktiverat på pekskärmar)'
'Display the big menu': '' 'Display the big menu': 'Visa den stora menyn'
'Display the logo': '' 'Display the logo': 'Visa logotypen'
'Icons and texts': '' 'Icons and texts': 'Ikoner och texter'
'Loader enabled': '' 'Loader enabled': 'Laddare aktiverad'
'Tips': '' 'Tips': 'Tips'
'Always displayed': '' 'Always displayed': 'Alltid visad'
'This is the automatic behavior when the menu is always displayed.': '' 'This is the automatic behavior when the menu is always displayed.': 'Detta är det automatiska beteendet när menyn alltid är visad.'
'Not compatible with touch screens.': '' 'Not compatible with touch screens.': 'Inte kompatibel med pekskärmar.'
'Big menu': '' 'Big menu': 'Stor meny'
'Live preview': '' 'Live preview': 'Förhandsgranskning i realtid'
'Open apps in new tab': '' 'Open apps in new tab': 'Öppna appar i ny flik'
'Use the global setting': '' 'Use the global setting': 'Använd den globala inställningen'
'Use my selection': '' 'Use my selection': 'Använd mitt val'
'Show and hide the list of applications': '' 'Show and hide the list of applications': 'Visa och dölj listan över applikationer'
'Use the avatar instead of the logo': '' 'Use the avatar instead of the logo': 'Använd avataren istället för logotypen'
'You do not have permission to change the settings.': '' 'You do not have permission to change the settings.': 'Du har inte behörighet att ändra inställningarna.'
'Force this configuration to users': '' 'Force this configuration to users': 'Tvinga denna konfiguration för användare'
'Export the configuration': '' 'Export the configuration': 'Exportera konfigurationen'
'Purge the cache': '' 'Purge the cache': 'Rensa cachen'
'Show the link to settings': '' 'Show the link to settings': 'Visa länken till inställningarna'
'The menu is enabled by default for users': '' 'The menu is enabled by default for users': 'Menyn är aktiverad som standard för användare'
'Except when the configuration is forced.': '' 'Except when the configuration is forced.': 'Förutom när konfigurationen är tvingad.'
'Apps that should not be displayed in the menu': '' 'Apps that should not be displayed in the menu': 'Appar som inte ska visas i menyn'
'This feature is only compatible with the <code>big menu</code> display.': '' 'This feature is only compatible with the <code>big menu</code> display.': 'Denna funktion är endast kompatibel med <code>stor meny</code>.'
'The logo is a link to the default app': '' 'The logo is a link to the default app': 'Logotypen är en länk till standardappen'
'Others': '' 'Others': 'Övriga'
'Categories': '' 'Categories': 'Kategorier'
'Customize sorting': '' 'Customize sorting': 'Anpassa sortering'
'Order by': '' 'Order by': 'Sortera efter'
'Name': '' 'Name': 'Namn'
'Customed': '' 'Customed': 'Anpassad'
'Show and hide the list of categories': '' 'Show and hide the list of categories': 'Visa och dölj listan över kategorier'
'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': '' 'This parameters are used when Dark theme or Breeze Dark Theme are enabled.': 'Dessa parametrar används när mörkt tema eller Breeze Dark Theme är aktiverade.'
'Dark mode colors': '' 'Dark mode colors': 'Färger för mörkt läge'
'With categories': '' 'With categories': 'Med kategorier'
'Custom categories': '' 'Custom categories': 'Anpassade kategorier'
'Customize application categories': '' 'Customize application categories': 'Anpassa app kategorier'
'Reset to default': '' 'Reset to default': 'Återställ till standardvärden'
'Applications': '' 'Applications': 'Applikationer'
'Applications kept in the top menu': '' 'Applications kept in the top menu': 'Applikationer som hålls i toppmenyn'
'Applications kept in the top menu but also shown in side menu': '' 'Applications kept in the top menu but also shown in side menu': 'Applikationer som visas både i toppmenyn och i sidomenyn'
'These applications must be selected in the previous option.': '' 'These applications must be selected in the previous option.': 'Dessa applikationer måste väljas i föregående alternativ.'
'Hide labels on mouse over': '' 'Hide labels on mouse over': 'Dölj etiketter när muspekaren är över'
'Except the hovered app': '' 'Except the hovered app': 'Förutom den app som muspekaren är över'
'Search': '' 'Search': 'Sök'
'Toggle the menu': '' 'Toggle the menu': 'Växla menyn'
'Open the documentation': '' 'Open the documentation': 'Öppna dokumentationen'
'Ask the developer': '' 'Ask the developer': 'Fråga utvecklaren'
'New request': '' 'New request': 'Ny förfrågan'
'Report a bug': '' 'Report a bug': 'Rapportera ett fel'
'Show the configuration': '' 'Show the configuration': 'Visa konfigurationen'
'Configuration:': '' 'Configuration:': 'Konfiguration:'
'Done!': '' 'Done!': 'Klar!'
'Copy': '' 'Copy': 'Kopiera'
'Need help': '' 'Need help': 'Behöver hjälp'
'I would like a new feature': '' 'I would like a new feature': 'Jag skulle vilja ha en ny funktion'
'Something went wrong': '' 'Something went wrong': 'Något gick fel'
'Select apps': '' 'Select apps': 'Välj appar'
'Sort': '' 'Sort': 'Sortera'
'Customize': '' 'Customize': 'Anpassa'
'Custom': '' 'Custom': 'Anpassad'
'Close': '' 'Close': 'Stäng'

View file

@ -38,7 +38,7 @@
'Show only the opener (hidden logo)': '仅显示触发器(隐藏徽标)' 'Show only the opener (hidden logo)': '仅显示触发器(隐藏徽标)'
'Do not display the side menu and the opener if there is no application (eg: public pages).': '如果没有应用程序(例如:公共页面),则不要显示侧边栏菜单和触发器。' 'Do not display the side menu and the opener if there is no application (eg: public pages).': '如果没有应用程序(例如:公共页面),则不要显示侧边栏菜单和触发器。'
'Panel': '面板' 'Panel': '面板'
'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': '当鼠标悬停在触发器上时打开菜单(在触摸屏上自动禁用)' 'Open the menu when the mouse is hover the opener (automatically disabled on touch screens)': '当鼠标悬停在触发器上时打开菜单(在触摸屏上自动禁用)'
'Display the big menu': '显示大型菜单' 'Display the big menu': '显示大型菜单'
'Display the logo': '显示徽标' 'Display the logo': '显示徽标'
'Icons and texts': '图标和文本' 'Icons and texts': '图标和文本'

View file

@ -17,6 +17,8 @@
import './scss/menu.scss' import './scss/menu.scss'
import '@formatjs/intl-segmenter/polyfill.js'
import { createApp } from 'vue' import { createApp } from 'vue'
import { createPinia } from 'pinia' import { createPinia } from 'pinia'
import { createElement, waitContainer } from './lib/dom.js' import { createElement, waitContainer } from './lib/dom.js'

View file

@ -17,6 +17,8 @@
import './scss/admin.scss' import './scss/admin.scss'
import '@formatjs/intl-segmenter/polyfill.js'
import { createApp } from 'vue' import { createApp } from 'vue'
import { createPinia } from 'pinia' import { createPinia } from 'pinia'
import { waitContainer } from './lib/dom.js' import { waitContainer } from './lib/dom.js'

View file

@ -38,7 +38,7 @@ body[data-theme-light], body[data-theme-light-highcontrast] {
<?php if ($_['opener-only']) { ?> <?php if ($_['opener-only']) { ?>
#nextcloud { #nextcloud {
display: none; display: none !important;
} }
<?php } ?> <?php } ?>