aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Dashboard
Commit message (Collapse)AuthorAgeFilesLines
* 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 Dashboard IManager getWidgets return annotationjld31032023-09-201-1/+1
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* feat(dashboard): implement widget item api v2Richard Steinmetz2023-08-224-3/+206
| | | | | | | | | 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>
* fix(ocp): Fix reference of dashboard IAPIWidget::getItems from WidgetItemChristoph Wurst2023-06-281-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* ci: migrate ocp since checker to psalmDaniel Kesselberg2023-01-241-0/+4
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* composer run cs:fixCôme Chilliet2023-01-204-4/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(OCP): Remove deprecated dashboard interfaces and classesJulius Härtl2023-01-0310-1571/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow to conditionally enable dashboard widgetsJoas Schilling2022-10-271-0/+44
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add since tagsJoas Schilling2022-09-163-0/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* move widget options into a Option classRobin Appelman2022-09-153-8/+69
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add IItemOptionWidget to define some item-related parameters, only ↵Julien Veyssier2022-09-151-0/+37
| | | | | | getItemIconsRound() for now Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* change widget button api to support multiple button typesRobin Appelman2022-09-152-17/+82
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* allow adding button to dashboard api outputRobin Appelman2022-09-151-0/+51
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add dashboard api to list widgetsRobin Appelman2022-09-151-0/+37
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* load widgets only of enabled appsArthur Schiwon2022-06-221-1/+1
| | | | | | | | | | | | | - per design, all enabled apps have their registration run - limitations, e.g. enabled by group, are not considered in that state, because we do not have a session (and might need apps?) - before instantiation of widget it has to be checked whether the providing app is actually enabled for the logged in user. - a public interface is being changed, but it is not meant to be implemented or used outside of the core handling. Therefore save to backport. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix ArrayAccess and JsonSerializable return typesCôme Chilliet2021-11-233-9/+3
| | | | | | First round of modifications for PHP 8.1 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* implement dashboard API for clients, new WidgetItem class, new IAPIWidget ↵Julien Veyssier2021-06-152-0/+190
| | | | | | interface Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0413-26/+13
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #22432 from nextcloud/enh/phpdocRoeland Jago Douma2020-08-2613-13/+0
|\ | | | | Add php docs build script
| * Remove @package annotations from public namespaceJulius Härtl2020-08-2613-13/+0
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Update the license headers for Nextcloud 20Christoph Wurst2020-08-2412-3/+12
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Refactor API to match the widget wordingJulius Härtl2020-08-053-14/+14
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Dashboard strict typingJulius Härtl2020-07-153-0/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add load method for apps to bootstrap their panelsJulius Härtl2020-07-151-6/+12
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Cleanup public api methodsJulius Härtl2020-07-153-17/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Deprecate panel register event right away but keep it for not breaking ↵Julius Härtl2020-07-151-0/+6
| | | | | | backward compatible apps Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move to lazy panel registration during registration contextJulius Härtl2020-07-151-0/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Deprecate old dashboard APIJulius Härtl2020-07-159-0/+79
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add new dashboard public APIJulius Härtl2020-07-153-0/+165
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update license headers for 19Christoph Wurst2020-04-292-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all constantsChristoph Wurst2020-04-102-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-109-16/+0
| | | | | | | | | | | | | | | 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 exactly one empty line after the namespace declarationChristoph Wurst2020-04-099-9/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-0510-70/+41
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-2210-20/+2
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* include dashboard into coreMaxence Lange2018-10-1510-0/+1579
Signed-off-by: Maxence Lange <maxence@artificial-owl.com> Merge remote-tracking branch 'origin/interface-dashboard' into interface-dashboard Signed-off-by: Maxence Lange <maxence@artificial-owl.com> moving data object to OCP Signed-off-by: Maxence Lange <maxence@artificial-owl.com> update autoload files Signed-off-by: Maxence Lange <maxence@artificial-owl.com> +@since Signed-off-by: Maxence Lange <maxence@artificial-owl.com>