forked from deblan/side_menu
Compare commits
8 commits
translatio
...
develop
| Author | SHA1 | Date | |
|---|---|---|---|
| e159aff3e7 | |||
| b8998d356d | |||
| 20946bcb06 | |||
| 2bdea0d828 | |||
| b2fc5340be | |||
| ba737434e5 | |||
| 788affe386 | |||
| 45c7bd361f |
5 changed files with 22 additions and 3 deletions
14
CHANGELOG.md
14
CHANGELOG.md
|
|
@ -1,5 +1,19 @@
|
|||
## [Unreleased]
|
||||
|
||||
## 4.1.1
|
||||
### Fixed
|
||||
* fix(CssController): add missing NoCSRFRequired import (#397)
|
||||
* fix(SideMenu): ncApps must be an array (#369)
|
||||
|
||||
## 4.1.0
|
||||
### Added
|
||||
* add compatibility with NC31
|
||||
### Fixed
|
||||
* fix(service): add service constructor arguments
|
||||
* fix(settings): remove non-existing and unused ILogger service
|
||||
### Changed
|
||||
* refactor(controller): usage of attributes instead of annotations
|
||||
|
||||
## 4.0.1
|
||||
### Fixed
|
||||
* fix top menu labels (fix #368)
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ Notice
|
|||
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/).
|
||||
]]></description>
|
||||
<version>4.1.0</version>
|
||||
<version>4.1.1</version>
|
||||
<licence>agpl</licence>
|
||||
<author mail="contact@deblan.fr" homepage="https://www.deblan.fr/">Simon Vieille</author>
|
||||
<namespace>SideMenu</namespace>
|
||||
|
|
|
|||
|
|
@ -144,7 +144,11 @@ class Application extends App implements IBootstrap
|
|||
$cache = $this->config->getAppValue(self::APP_ID, 'cache', '0');
|
||||
|
||||
foreach ($assets as $value) {
|
||||
$route = \OC::$server->getURLGenerator()->linkToRoute($value['route'], ['v' => $cache]);
|
||||
$route = \OC::$server->getURLGenerator()->linkToRoute(
|
||||
$value['route'],
|
||||
['v' => $cache]
|
||||
);
|
||||
|
||||
$value['attr'][$value['route_attr']] = $route;
|
||||
|
||||
Util::addHeader($value['type'], $value['attr'], '');
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ use OCA\SideMenu\Service\ConfigProxy;
|
|||
use OCA\Theming\ThemingDefaults;
|
||||
use OCP\AppFramework\Controller;
|
||||
use OCP\AppFramework\Http\Attribute\FrontpageRoute;
|
||||
use OCP\AppFramework\Http\Attribute\NoCSRFRequired;
|
||||
use OCP\AppFramework\Http\Attribute\PublicPage;
|
||||
use OCP\AppFramework\Http\TemplateResponse;
|
||||
use OCP\IRequest;
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
retrieveApps() {
|
||||
const ncApps = loadState('core', 'apps', {})
|
||||
const ncApps = loadState('core', 'apps', [])
|
||||
let orders = {}
|
||||
let finalApps = []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue