Ferdinand Thiessen
a37b6c7e5f
fix!: Remove deprecated `RegisterWidgetEvent`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
4 ay önce
Ferdinand Thiessen
0773b8744f
perf(dashboard): Stop loading the viewer on the dashboard
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
4 ay önce
provokateurin
b64ab5fba8
refactor: Migrate IgnoreOpenAPI attributes to OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
5 ay önce
Eduardo Morales
be54715436
enh(dashboard): changed h1 to say Dashboard instead of Nextcloud
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
6 ay önce
Eduardo Morales
94d122deab
enh(dashboard): changed h1 to say Dashboard instead of Nextcloud
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
6 ay önce
jld3103
310832ade9
chore(dashboard): Add limit range to items v1 API
Signed-off-by: jld3103 <jld3103yt@gmail.com>
7 ay önce
Arthur Schiwon
89094c76cf
enh(noid): reasonabley limit amount of possible dashboard widget items
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
7 ay önce
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>
7 ay önce
jld3103
c2d45cb172
Add single status code descriptions for OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
9 ay önce
jld3103
6c840984f8
dashboard: Fix get widgets OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
9 ay önce
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>
10 ay önce
jld3103
f8bed12cfb
dashboard: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
1 yıl önce
Carl Schwan
b1ec7ff51f
Add missing taint analysis docblock comments, and improve escaping in some methods
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 yıl önce
Christopher Ng
b1856d0fc9
Fix initial state typo in dashboard controller
Signed-off-by: Christopher Ng <chrng8@gmail.com>
1 yıl önce
Julien Veyssier
da74da8a9c
adjust empty array check
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
1 yıl önce
Robin Appelman
d9e75f00b1
move widget options into a Option class
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 yıl önce
Julien Veyssier
845149bb7c
add IItemOptionWidget to define some item-related parameters, only getItemIconsRound() for now
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
1 yıl önce
Robin Appelman
a3912e264a
change widget button api to support multiple button types
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 yıl önce
Robin Appelman
79adca6b8b
allow adding button to dashboard api output
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 yıl önce
Robin Appelman
7f52a99ffb
allow filtering dashboard items api by widgets
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 yıl önce
Robin Appelman
0e5944748d
add dashboard api to list widgets
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 yıl önce
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>
1 yıl önce
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>
1 yıl önce
Christopher Ng
00135986ab
Validate custom dashboard background image
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 yıl önce
John Molakvoæ
fe47cf40da
Dashboard fixes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 yıl önce
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>
2 yıl önce
John Molakvoæ (skjnldsv)
dd7bf0f902
Fix dynamic loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2 yıl önce
Julien Veyssier
e15270cbb9
implement dashboard API for clients, new WidgetItem class, new IAPIWidget interface
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
3 yıl önce
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 yıl önce
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>
3 yıl önce
Julius Härtl
c5bc01f27f
Add config to specify a default dashboard layout
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 yıl önce
Julius Härtl
e904da9d7a
Only setup filesystem if needed for dashboard background service
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 yıl önce
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>
3 yıl önce
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>
3 yıl önce
Julien Veyssier
006157b12f
now able to toggle statuses
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
3 yıl önce
Julius Härtl
8a3016565f
Small fixes to cleanup code
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 yıl önce
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>
3 yıl önce
Morris Jobke
72df65c810
Fix psalm warnings
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 yıl önce
Jan C. Borchardt
6e92c7212e
Dashboard: Finish image list and attribution
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
3 yıl önce
Julius Härtl
9a7f7ea5e7
Fix php cs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 yıl önce
Julius Härtl
a4ebef75e9
Fix const visibility
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 yıl önce
Julius Härtl
551d435f89
Make it possible to define theme header styling per background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 yıl önce
Julius Härtl
135ceb4a9d
Fix late night errors
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 yıl önce
Julius Härtl
d02a92e870
WIP: Start off with attribution for shipped backgrounds
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 yıl önce
Julius Härtl
5661775568
Allow to set a primary color background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 yıl önce
Julius Härtl
8d22d02422
Remove old shipped background
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 yıl önce
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>
3 yıl önce
Julius Härtl
4118cb0be6
Do not reset background on every save
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 yıl önce
Julius Härtl
b49f814faa
Implement background reset and proper shipped setting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 yıl önce
Julius Härtl
2535e0ec04
Fix loading as guest
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 yıl önce