Commit Graph

29 Commits

Author SHA1 Message Date
Côme Chilliet 1ab09ec753 chore: Apply new coding standard to all files
The diff can be checked using: git diff --ignore-all-space --ignore-blank-lines
To see only the changes not related to blank lines.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-01 13:46:39 +02:00
mykh-hailo 5a8292fe43 fix: duplicate dashboard widget
Signed-off-by: mykh-hailo <kristianderonta0205@gmail.com>
2026-04-02 20:20:19 +02:00
Carl Schwan 6111ecefbc refactor(dashboard): Fix all psalm issues
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-12-17 14:58:47 +01:00
Carl Schwan 76736cf9d7 refactor: Port dashboard app to IAppConfig
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-09-29 10:22:46 +02:00
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
provokateurin df5a8485af refactor(dashboard): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 21:32:18 +02:00
Andy Scherzinger 9d4b944098 chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-27 20:11:22 +02:00
provokateurin 395bf7c70d refactor(dashboard): Use attributes for routing
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-05-10 09:44:01 +02:00
provokateurin fdd905ba42 feat(dashboard): Add endpoints to get the layout and statuses
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-05-10 09:44:01 +02:00
provokateurin 5f53e446da refactor(dashboard): Let the statuses and layout endpoints use a saner format
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-05-10 09:44:01 +02:00
provokateurin d82fe6c7b4 refactor(dashboard): Migrate saving layout and statuses to OCS
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-05-10 09:44:01 +02:00
John Molakvoæ 1a9cab31dc Merge branch 'master' into refactor_dashboard_app
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-02-28 19:15:01 +01:00
jld3103 310832ade9 chore(dashboard): Add limit range to items v1 API
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-12-06 14:52:17 +01:00
Arthur Schiwon 89094c76cf enh(noid): reasonabley limit amount of possible dashboard widget items
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-24 12:46:38 +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 c2d45cb172 Add single status code descriptions for OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-27 08:05:21 +02:00
jld3103 6c840984f8 dashboard: Fix get widgets OpenAPI
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
Hamid Dehnavi 1f6a121ab0 Make adjustments based on the review
Co-authored-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-07-16 15:52:51 +03:30
jld3103 f8bed12cfb dashboard: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-11 07:23:00 +02:00
Hamid Dehnavi 4d5b8d2767 Refactor dashboard app
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-07-08 20:32:43 +03:30
Julien Veyssier da74da8a9c adjust empty array check
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-15 18:24:43 +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 7f52a99ffb allow filtering dashboard items api by widgets
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
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