aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/NavigationManager.php
Commit message (Collapse)AuthorAgeFilesLines
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-191-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(NavigationManager): Skip invalid default navigation entriesprovokateurin2024-09-091-12/+25
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat(NavigationManager): Add default entries handlingprovokateurin2024-09-091-10/+87
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(NavigationManager): Make entry order always an integerprovokateurin2024-05-301-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-28/+4
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* chore: Rename "Users" menu entry to "Accounts"Christopher Ng2024-05-171-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat: Update help entry nameChristopher Ng2024-04-221-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(Navigation): ensure NavManager is inited when adding an entryArthur Schiwon2024-03-131-4/+1
| | | | | | otherwise custom order cannot be applied Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* feat(AppManager): Provide `getAppIcon` functionFerdinand Thiessen2024-03-071-5/+7
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* enh(NavigationManager): Use ID as fallback for `app` property of entriesFerdinand Thiessen2023-12-061-2/+8
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-5/+5
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix: Allow to set custom app order on navigation entries added by closures ↵Ferdinand Thiessen2023-11-141-5/+11
| | | | | | to NavigationManager Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(NavigationManager): Set default app in `add` function to allow entries ↵Ferdinand Thiessen2023-11-141-7/+8
| | | | | | added as closures Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(NavigationManager): Check for `appManager` before using itFerdinand Thiessen2023-11-141-4/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* enh: Register profile nav entryChristopher Ng2023-10-261-0/+13
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(NavigationManager): Always sort the default app firstFerdinand Thiessen2023-10-191-6/+40
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Convert isset ternary to null coalescing operatorHamid Dehnavi2023-09-281-3/+3
| | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* Revert "Support admin default order for applications"Côme Chilliet2023-09-261-8/+2
| | | | | | This reverts commit a3a42591e2e85e5903217052b246e46dbbf4c1c7. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Support admin default order for applicationsCôme Chilliet2023-09-251-2/+8
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Read apporder from configuration valueCôme Chilliet2023-09-251-2/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(API): Fix parameter name to match interfaceJoas Schilling2023-09-011-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use typed version of IConfig::getSystemValue as much as possibleCôme Chilliet2023-04-051-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Use implementations instead of interfaces for accessing private methodsjld31032023-03-301-1/+1
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* fix(appinfo): navigation type is optionalJoas Schilling2023-02-031-5/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow settings navigation items with no route entryChristopher Ng2023-02-021-3/+7
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Fix navigation orderJohn Molakvoæ2022-11-221-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Add accessibility entry in user menuVincent Petry2022-09-141-5/+16
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* l10n: Spelling unificationValdnet2022-09-021-1/+1
| | | | | | | | | | | | | | | | | Spelling unification in Transifex. Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com> l10n: Change to administration Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com> l10n: Spelling unification Spelling unification in Transifex. Match the menu name to the header name of the settings page. Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* add a better icon for personal settingsszaimen2022-08-311-1/+1
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* add a way to open the admin settings overview directlyszaimen2022-08-301-10/+30
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Let apps toggle an unread counter on app iconsJulius Härtl2021-06-161-1/+11
| | | | | Co-authored-by: Louis Chemineau <louis@chmn.me> Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Show mime icon, bump bundles, make the SearchResultEntry class ↵John Molakvoæ (skjnldsv)2020-08-041-17/+4
| | | | | | non-abstract, Fix header search icon, various fixes Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add user-status appGeorg Ehrke2020-07-311-4/+4
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-4/+4
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use elseif instead of else ifChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>