Commit graph

50 commits

Author SHA1 Message Date
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
Daniel Kesselberg
4df99d5ef4
feat(dashboard): wish happy birthday
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-12-10 22:33:38 +01:00
Côme Chilliet
1580c8612b
chore(apps): Apply new rector configuration to autouse classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:40:25 +02: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
Joas Schilling
5368b93539
fix(dashboard): Use the widget icon URL when it was provided
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-11 14:18:22 +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
Thomas Citharel
79476682af fix(dashboard): do not suggest to install new widgets if appstore is disabled
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-03-28 15:49:34 +00: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
Ferdinand Thiessen
a37b6c7e5f
fix!: Remove deprecated RegisterWidgetEvent
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-09 01:34:03 +01:00
Ferdinand Thiessen
0773b8744f
perf(dashboard): Stop loading the viewer on the dashboard
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-07 12:10:13 +01:00
provokateurin
b64ab5fba8
refactor: Migrate IgnoreOpenAPI attributes to OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-18 16:14:17 +01:00
Eduardo Morales
be54715436 enh(dashboard): changed h1 to say Dashboard instead of Nextcloud
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-20 15:25:35 -06:00
Eduardo Morales
94d122deab enh(dashboard): changed h1 to say Dashboard instead of Nextcloud
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-20 15:25:35 -06:00
Hamid Dehnavi
3aaab5b92b 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-14 17:46:48 +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
Christopher Ng
b1856d0fc9 Fix initial state typo in dashboard controller
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-15 19:02:23 +00:00
greta
02cc42d40a Move background settings from dashboard app to Appearance and accessibility settings
Signed-off-by: greta <gretadoci@gmail.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-14 20:17:01 +00:00
Julius Härtl
ca0435382d
Allow to override #app-content and #app-navigation hrefs for content skipping
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-07-16 10:00:53 +02:00
Louis Chemineau
b50fd97db4 Load scripts of theming app before the dashboard
This allows dashboard to access OCA.Theming

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-17 11:57:34 +01:00
John Molakvoæ (skjnldsv)
dd7bf0f902
Fix dynamic loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:53 +01: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
a6cd238517 Some psalm fixes for the DashboardController
* Use the AppFramework IInitialState
* Set return type

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-10 20:00:04 +01:00
Julius Härtl
c5bc01f27f
Add config to specify a default dashboard layout
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-25 07:29:41 +01:00
Julien Veyssier
f5ef2d7d58 override default dashboard background with theming one
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>
2020-11-13 06:51:26 +00:00
Julien Veyssier
e8f37dd2b2
refs #22468 fix empty php array becoming an array instead of an object in UI
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-09-04 18:19:46 +02:00
Julien Veyssier
006157b12f
now able to toggle statuses
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-08-21 14:58:12 +02:00
Julius Härtl
8a3016565f
Small fixes to cleanup code
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-20 12:27:57 +02:00
Roeland Jago Douma
f6578b74f4
Allow using geolocation in the dashboard
Else the weather geolocation is kind of useless.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-20 09:00:03 +02:00
Morris Jobke
72df65c810
Fix psalm warnings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-19 21:55:13 +02:00
Julius Härtl
9a7f7ea5e7
Fix php cs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:29 +02:00
Julius Härtl
551d435f89
Make it possible to define theme header styling per background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Julius Härtl
5661775568
Allow to set a primary color background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Julius Härtl
4118cb0be6
Do not reset background on every save
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl
b49f814faa
Implement background reset and proper shipped setting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl
4ec0afd0e7
Allow to set a custom background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:26 +02:00
Julius Härtl
61cc356e0b
Fix php cs check
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:39 +02:00
Julius Härtl
d9dcd59ae1
Load sidebar on dashboard
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:38 +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
7e2ded5a79
Fix default order of widgets
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:03:38 +02:00
Julius Härtl
ae6be0c110
Expose firstRun parameter to frontend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:01:30 +02:00
Julius Härtl
429049c809
Allow userdefined order and start with drag and drop resorting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-05 17:01:27 +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
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
66ce9ede91
Initialize panels early to make sure that scripts can be loaded
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:28:11 +02:00
Julius Härtl
5a1874910b
Add dashboard app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-15 09:24:51 +02:00