summaryrefslogtreecommitdiffstats
path: root/lib/private/NavigationManager.php
Commit message (Collapse)AuthorAgeFilesLines
* Update license headersChristoph Wurst2019-12-051-2/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix help route in navigationJulius Härtl2019-10-221-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Generate id for navigation itemDaniel Kesselberg2019-02-251-2/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Parse multiple navigation itemsDaniel Kesselberg2019-02-221-2/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Upgraded navigation submenu management and api + created sharing submenuJohn Molakvoæ (skjnldsv)2018-07-131-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Allow empty route for navigation entriesJulius Härtl2018-05-241-1/+1
| | | | | | | | Navigation entries might be handled by javascript, as the about section from https://github.com/nextcloud/firstrunwizard/pull/64 so we don't need a route for that. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fixed settings menu entry and group deletionJohn Molakvoæ (skjnldsv)2018-05-161-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update phpDoc comments and add more type hintingJulius Härtl2018-02-151-6/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add getAll to public INavigationManagerJulius Härtl2018-02-121-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move navigation processing to the NavigationManagerJulius Härtl2018-02-121-4/+38
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update license headersMorris Jobke2017-11-061-0/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Avoid error undefined index classes in logJohn Molakvoæ (skjnldsv)2017-09-211-0/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Inject \OCP\IURLGenerator to make tests workLukas Reschke2017-08-181-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Properly allow \OCP\Authentication\IApacheBackend to specify logout URLLukas Reschke2017-08-181-12/+12
| | | | | | | | | | | | | | | | | | | | Any `\OCP\Authentication\IApacheBackend` previously had to implement `getLogoutAttribute` which returns a string. This string is directly injected into the logout `<a>` tag, so returning something like `href="foo"` would result in `<a href="foo">`. This is rather error prone and also in Nextcloud 12 broken as the logout entry has been moved with 054e161eb5f4a5c5c13ee322ae8e93ce66f01b13 inside the navigation manager where one cannot simply inject attributes. Thus this feature is broken in Nextcloud 12 which effectively leads to the bug described at nextcloud/user_saml#112, people cannot logout anymore when using SAML using SLO. Basically in case of SAML you have a SLO url which redirects you to the IdP and properly logs you out there as well. Instead of monkey patching the Navigation manager I decided to instead change `\OCP\Authentication\IApacheBackend` to use `\OCP\Authentication\IApacheBackend::getLogoutUrl` instead where it can return a string with the appropriate logout URL. Since this functionality is only prominently used in the SAML plugin. Any custom app would need a small change but I'm not aware of any and there's simply no way to fix this properly otherwise. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Don't load navigation entries of restricted appsJoas Schilling2017-07-051-1/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* add storage info, fix URL generationArthur Schiwon2017-06-231-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* one settings link, common template, stylingArthur Schiwon2017-06-231-16/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Allow to specify the idJoas Schilling2017-03-261-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure help is always after usersJoas Schilling2017-03-261-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix order as @jancborchardt requestedMorris Jobke2017-03-261-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow multiple navigation links from info.xmlJoas Schilling2017-03-261-48/+38
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow apps to register a setting via info.xmlJoas Schilling2017-03-261-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move app management to the settings menuJoas Schilling2017-03-261-4/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Manage the right side menu via the navigation manager as wellJoas Schilling2017-03-261-21/+120
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Register the app management in the normal wayJoas Schilling2017-03-261-0/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Force to specify the nameJoas Schilling2017-01-271-4/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add navigation via info.xml (#26785)Thomas Müller2016-12-221-6/+98
| | | | | | | | | | * Read navigation information from info.xml * Load files navigation elements from info.xml * Add comment about ignoring the exception Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix othersJoas Schilling2016-07-211-2/+3
|
* Move more of \OC to PSR-4Roeland Jago Douma2016-04-291-0/+95
* \OC\DateTimeFormatter * \OC\DateTimeZone * \OC\ForbiddenException * \OC\HTTPHelper * \OC\HintException * \OC\LargeFileHelper * \OC\Log * \OC\NaturalSort * \OC\NavigationManager * \OC\NeedsUpdateException * \OC\NotSquareException