provokateurin
77114fb327
fix(OpenAPI): Adjust array syntax to avoid ambiguities
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-05 09:58:11 +01:00
Joas Schilling
37d331233c
fix(dashboard): Document expected icon behaviour
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-11 13:14:03 +00:00
Andy Scherzinger
dae7c159f7
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-24 13:11:22 +02:00
Joas Schilling
42be7a5d74
fix(OCP): Add since tag for all constants
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-14 20:50:08 +01:00
Ferdinand Thiessen
a37b6c7e5f
fix!: Remove deprecated RegisterWidgetEvent
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-09 01:34:03 +01:00
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +01:00
jld3103
80e3064817
Fix Dashboard IManager getWidgets return annotation
...
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-20 17:41:37 +02:00
Richard Steinmetz
6982597b6a
feat(dashboard): implement widget item api v2
...
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>
2023-08-22 08:36:53 +02:00
Christoph Wurst
c7c28a81d5
fix(ocp): Fix reference of dashboard IAPIWidget::getItems from WidgetItem
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-28 15:07:23 +02:00
Daniel Kesselberg
258c919b3c
ci: migrate ocp since checker to psalm
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-01-24 10:02:41 +01:00
Côme Chilliet
f5c361cf44
composer run cs:fix
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:45:08 +01:00
Julius Härtl
5b67b92f73
chore(OCP): Remove deprecated dashboard interfaces and classes
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-03 20:18:23 +01:00
Joas Schilling
23171206b4
Allow to conditionally enable dashboard widgets
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-27 07:25:25 +02:00
Joas Schilling
9c402eb745
Add since tags
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-16 08:23:04 +02:00
Robin Appelman
d9e75f00b1
move widget options into a Option class
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:06:21 +02:00
Julien Veyssier
845149bb7c
add IItemOptionWidget to define some item-related parameters, only getItemIconsRound() for now
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-15 18:06:21 +02:00
Robin Appelman
a3912e264a
change widget button api to support multiple button types
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +02:00
Robin Appelman
79adca6b8b
allow adding button to dashboard api output
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +02:00
Robin Appelman
0e5944748d
add dashboard api to list widgets
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +02:00
Arthur Schiwon
523572fcea
load widgets only of enabled apps
...
- 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>
2022-06-22 21:58:13 +02:00
Côme Chilliet
113756db30
Fix ArrayAccess and JsonSerializable return types
...
First round of modifications for PHP 8.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:56 +01:00
Julien Veyssier
e15270cbb9
implement dashboard API for clients, new WidgetItem class, new IAPIWidget interface
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-06-15 21:34:00 +02:00
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +02:00
Roeland Jago Douma
b5e9f7e846
Merge pull request #22432 from nextcloud/enh/phpdoc
...
Add php docs build script
2020-08-26 21:18:11 +02:00
Julius Härtl
45a474071e
Remove @package annotations from public namespace
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-26 16:59:40 +02:00
Christoph Wurst
2a054e6c04
Update the license headers for Nextcloud 20
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-24 14:54:25 +02:00
Julius Härtl
018be662f4
Refactor API to match the widget wording
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:38 +02:00
Julius Härtl
35bdb998ef
Dashboard strict typing
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:12 +02:00
Julius Härtl
31a1494529
Add load method for apps to bootstrap their panels
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:11 +02:00
Julius Härtl
b71de68f43
Cleanup public api methods
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:11 +02:00
Julius Härtl
f7c04b0415
Deprecate panel register event right away but keep it for not breaking backward compatible apps
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:11 +02:00
Julius Härtl
81e5593133
Move to lazy panel registration during registration context
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:27:57 +02:00
Julius Härtl
544fcdb549
Deprecate old dashboard API
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:24:51 +02:00
Julius Härtl
673d70dfc5
Add new dashboard public API
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:24:50 +02:00
Christoph Wurst
cb057829f7
Update license headers for 19
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-29 11:57:22 +02:00
Christoph Wurst
28f8eb5dba
Add visibility to all constants
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10 16:54:27 +02:00
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
...
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>
2020-04-10 14:19:56 +02:00
Christoph Wurst
41b5e5923a
Use exactly one empty line after the namespace declaration
...
For PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09 11:48:10 +02:00
Christoph Wurst
5bf3d1bb38
Update license headers
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-05 15:38:45 +01:00
Roeland Jago Douma
68748d4f85
Some php-cs fixes
...
* 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>
2019-11-22 20:52:10 +01:00
Maxence Lange
dfd4782dfc
include dashboard into core
...
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>
2018-10-15 19:59:27 +02:00