aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dashboard/lib/Controller/DashboardController.php
Commit message (Collapse)AuthorAgeFilesLines
* refactor(dashboard): Replace security annotations with respective attributesprovokateurin2024-07-271-2/+4
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(dashboard): Use the widget icon URL when it was providedJoas Schilling2024-07-111-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-271-24/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* refactor(dashboard): Use attributes for routingprovokateurin2024-05-101-0/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat(dashboard): Add endpoints to get the layout and statusesprovokateurin2024-05-101-15/+5
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor(dashboard): Let the statuses and layout endpoints use a saner formatprovokateurin2024-05-101-5/+10
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor(dashboard): Migrate saving layout and statuses to OCSprovokateurin2024-05-101-21/+0
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(dashboard): do not suggest to install new widgets if appstore is disabledThomas Citharel2024-03-281-0/+1
| | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Merge branch 'master' into refactor_dashboard_appJohn Molakvoæ2024-02-281-13/+8
|\ | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * fix!: Remove deprecated `RegisterWidgetEvent`Ferdinand Thiessen2024-02-091-3/+0
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * perf(dashboard): Stop loading the viewer on the dashboardFerdinand Thiessen2024-02-071-7/+0
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * refactor: Migrate IgnoreOpenAPI attributes to OpenAPIprovokateurin2024-01-181-2/+2
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
| * enh(dashboard): changed h1 to say Dashboard instead of NextcloudEduardo Morales2023-12-201-1/+1
| | | | | | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com>
| * enh(dashboard): changed h1 to say Dashboard instead of NextcloudEduardo Morales2023-12-201-0/+7
| | | | | | | | Signed-off-by: Eduardo Morales <emoral435@gmail.com>
| * dashboard: Add OpenAPI specjld31032023-07-111-0/+3
| | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | Make adjustments based on the reviewHamid Dehnavi2023-07-141-1/+1
| | | | | | | | | | Co-authored-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* | Refactor dashboard appHamid Dehnavi2023-07-081-20/+5
|/ | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* Fix initial state typo in dashboard controllerChristopher Ng2022-09-151-6/+6
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Move background settings from dashboard app to Appearance and accessibility ↵greta2022-09-141-72/+0
| | | | | | | settings Signed-off-by: greta <gretadoci@gmail.com> Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Allow to override #app-content and #app-navigation hrefs for content skippingJulius Härtl2022-07-161-1/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Load scripts of theming app before the dashboardLouis Chemineau2022-02-171-1/+1
| | | | | | This allows dashboard to access OCA.Theming Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix dynamic loadingJohn Molakvoæ (skjnldsv)2022-01-081-0/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Some psalm fixes for the DashboardControllerRoeland Jago Douma2021-02-101-14/+14
| | | | | | | * Use the AppFramework IInitialState * Set return type Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add config to specify a default dashboard layoutJulius Härtl2021-01-251-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* override default dashboard background with theming oneJulien Veyssier2020-11-131-0/+10
| | | | | | | | fix getAppValue default value in theming app fix cacheBuster value injection Signed-off-by: Julien Veyssier <eneiluj@posteo.net> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* refs #22468 fix empty php array becoming an array instead of an object in UIJulien Veyssier2020-09-041-1/+5
| | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* now able to toggle statusesJulien Veyssier2020-08-211-0/+13
| | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Small fixes to cleanup codeJulius Härtl2020-08-201-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow using geolocation in the dashboardRoeland Jago Douma2020-08-201-1/+8
| | | | | | Else the weather geolocation is kind of useless. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix psalm warningsMorris Jobke2020-08-191-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix php csJulius Härtl2020-08-191-3/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Make it possible to define theme header styling per backgroundJulius Härtl2020-08-191-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow to set a primary color backgroundJulius Härtl2020-08-191-11/+29
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Do not reset background on every saveJulius Härtl2020-08-191-8/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Implement background reset and proper shipped settingJulius Härtl2020-08-191-4/+15
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow to set a custom backgroundJulius Härtl2020-08-191-0/+36
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix php cs checkJulius Härtl2020-08-051-1/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Load sidebar on dashboardJulius Härtl2020-08-051-4/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Refactor API to match the widget wordingJulius Härtl2020-08-051-10/+10
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix default order of widgetsJulius Härtl2020-08-051-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Expose firstRun parameter to frontendJulius Härtl2020-08-051-0/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow userdefined order and start with drag and drop resortingJulius Härtl2020-08-051-3/+25
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Dashboard strict typingJulius Härtl2020-07-151-1/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Cleanup public api methodsJulius Härtl2020-07-151-3/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Initialize panels early to make sure that scripts can be loadedJulius Härtl2020-07-151-10/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add dashboard appJulius Härtl2020-07-151-0/+79
Signed-off-by: Julius Härtl <jus@bitgrid.net>