summaryrefslogtreecommitdiffstats
path: root/apps/dashboard/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #33658 from nextcloud/dashboard-api-widgetsVincent Petry2022-09-161-9/+59
|\ | | | | Extend dashboard api to allow listing of widgets
| * adjust empty array checkJulien Veyssier2022-09-151-1/+1
| | | | | | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
| * move widget options into a Option classRobin Appelman2022-09-151-3/+5
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * add IItemOptionWidget to define some item-related parameters, only ↵Julien Veyssier2022-09-151-0/+2
| | | | | | | | | | | | getItemIconsRound() for now Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
| * change widget button api to support multiple button typesRobin Appelman2022-09-151-5/+8
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * allow adding button to dashboard api outputRobin Appelman2022-09-151-8/+21
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * allow filtering dashboard items api by widgetsRobin Appelman2022-09-151-4/+8
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * add dashboard api to list widgetsRobin Appelman2022-09-151-0/+26
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | 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-142-268/+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>
* Validate custom dashboard background imageChristopher Ng2022-06-021-0/+4
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Dashboard fixesJohn Molakvoæ2022-04-271-0/+1
| | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* 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>
* implement dashboard API for clients, new WidgetItem class, new IAPIWidget ↵Julien Veyssier2021-06-151-0/+86
| | | | | | interface Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-043-9/+10
| | | | 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>
* Only setup filesystem if needed for dashboard background serviceJulius Härtl2020-11-181-20/+38
| | | | 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-192-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Dashboard: Finish image list and attributionJan C. Borchardt2020-08-191-22/+45
| | | | Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
* Fix php csJulius Härtl2020-08-192-13/+29
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix const visibilityJulius Härtl2020-08-191-3/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Make it possible to define theme header styling per backgroundJulius Härtl2020-08-192-0/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix late night errorsJulius Härtl2020-08-191-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* WIP: Start off with attribution for shipped backgroundsJulius Härtl2020-08-191-10/+43
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow to set a primary color backgroundJulius Härtl2020-08-192-20/+36
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove old shipped backgroundJulius Härtl2020-08-191-2/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add imagesJulius Härtl2020-08-191-24/+10
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> update images 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-192-10/+38
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix loading as guestJulius Härtl2020-08-191-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow to set a custom backgroundJulius Härtl2020-08-193-0/+198
| | | | 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>