Commit Graph

32 Commits

Author SHA1 Message Date
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
Julius Härtl e904da9d7a
Only setup filesystem if needed for dashboard background service
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-18 09:03:56 +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
Jan C. Borchardt 6e92c7212e
Dashboard: Finish image list and attribution
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-08-19 17:07:30 +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 a4ebef75e9
Fix const visibility
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 135ceb4a9d
Fix late night errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:28 +02:00
Julius Härtl d02a92e870
WIP: Start off with attribution for shipped backgrounds
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 8d22d02422
Remove old shipped background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +02:00
Julius Härtl 9a90351435
Add images
Signed-off-by: Julius Härtl <jus@bitgrid.net>

update images

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:27 +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 2535e0ec04
Fix loading as guest
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-19 17:07:26 +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