aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dashboard/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix(OpenAPI): Adjust array syntax to avoid ambiguitiesfix/openapi/array-syntaxprovokateurin2024-11-052-7/+7
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-151-4/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* refactor(dashboard): Replace security annotations with respective attributesprovokateurin2024-07-272-15/+16
| | | | 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>
* fix(dashboard): Correctly redirect guests to login page when opening dashboardJoas Schilling2024-06-201-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-274-84/+8
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* refactor(dashboard): Use attributes for routingprovokateurin2024-05-102-0/+10
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat(dashboard): Add endpoints to get the layout and statusesprovokateurin2024-05-103-15/+93
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor(dashboard): Let the statuses and layout endpoints use a saner formatprovokateurin2024-05-102-13/+18
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor(dashboard): Migrate saving layout and statuses to OCSprovokateurin2024-05-102-21/+28
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore(dashboard): Delete unused LayoutApiControllerprovokateurin2024-05-101-56/+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-283-35/+161
|\ | | | | 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>
| * chore(dashboard): Add limit range to items v1 APIjld31032023-12-061-0/+1
| | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
| * enh(noid): reasonabley limit amount of possible dashboard widget itemsArthur Schiwon2023-11-241-1/+2
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-232-7/+7
| | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
| * Add single status code descriptions for OpenAPIjld31032023-09-271-0/+6
| | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
| * dashboard: Fix get widgets OpenAPIjld31032023-09-201-1/+1
| | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
| * feat(dashboard): implement widget item api v2Richard Steinmetz2023-08-222-10/+72
| | | | | | | | | | | | | | | | | | This API enables the dashboard to render all widgets from the API data alone without having apps to provide their own bundles. This saves a lot of traffic and execution time as a lot less javascript has to be parsed on the frontend. Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
| * dashboard: Add OpenAPI specjld31032023-07-113-8/+72
| | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | Make adjustments based on the reviewHamid Dehnavi2023-07-162-2/+2
| | | | | | | | | | Co-authored-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Hamid Dehnavi <hamid.dev.pro@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-083-42/+10
|/ | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
* Add missing taint analysis docblock comments, and improve escaping in some ↵Carl Schwan2023-04-241-1/+1
| | | | | | | methods Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* 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>