Commit Graph

78 Commits (00a84d28d8fc2ffe612f445a26b3c4ca56ba43f7)

Author SHA1 Message Date
Ferdinand Thiessen ab39152951 fix(theming): Ensure to only send valid URLs to backend
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 17:58:56 +07:00
Christopher Ng b96c78308b fix(theming): Fix layout of themes
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-03 11:09:58 +07:00
Ferdinand Thiessen ea021df9fa
chore(deps): Update `@nextcloud/auth` to v2.4.0 and use `getCSPNonce` where possible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-13 17:54:47 +07:00
skjnldsv 1d00f48d26 fix(theming): enforce theme should still provide dark as fallback
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-13 10:07:49 +07:00
Ferdinand Thiessen a96b5940dd
chore: Make active apps initial state consistent with OCS API
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 01:35:24 +07:00
Ferdinand Thiessen 691f570237
chore: Enable ESLint for apps and fix all errors
Nevertheless this causes a huge amount of new warnings.
Previously the shell script for directories to lint was wrong it was generating all app names to lint,
but was missing the `apps/` prefix. Causing only `core` to be linted.

Co-authored-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-09 17:13:30 +07:00
Ferdinand Thiessen 2d827d0ed4
feat(theming): Add checkbox for force enable / disable blurry background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-02 17:31:43 +07:00
Ferdinand Thiessen 81ad28f910
chore(deps): Update `debounce` to 2.1.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-23 16:53:10 +07:00
Andy Scherzinger cc1686dba9
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-31 10:38:47 +07:00
Ferdinand Thiessen 752e3b9000
fix(settings): Make background selector be responsive to user changes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:21 +07:00
Ferdinand Thiessen 4d865fd33f
feat(theming): Allow users to configure their primary color
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:21 +07:00
Ferdinand Thiessen 705335e6a5
feat(theming): Allow to configure primary color separate from background in admin settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:21 +07:00
skjnldsv fc371b2a4b fix(theming): better background and UI color change description
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-05-02 16:46:20 +07:00
Ferdinand Thiessen b758e0496e
fix: Correctly import types in Typescript files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-13 18:04:45 +07:00
Grigorii K. Shartsev 544357d002 fix(theming): change color button contrast on admin settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-24 14:35:31 +07:00
Grigorii K. Shartsev 1112b9e9a5 fix(theming): change color button contrast on user settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-24 14:35:31 +07:00
Grigorii K. Shartsev 9310dbab7a chore(theming): fix warning of incorrect NcCheckboxRadioSwitch usage
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-16 10:17:03 +07:00
julia.kirschenheuter f6ec297df6 Complete `<h1>` settings heading
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-01-16 09:24:22 +07:00
Ferdinand Thiessen 0254b68a1a
fix(theming): Adjust app order settings for backend changes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:03:28 +07:00
Simon L bb6c241760 add descriptions for background pictures
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-03 14:23:39 +07:00
Ferdinand Thiessen 716164c285 fix(theming): Add accessible information for screen readers to the app order selector
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-31 21:56:13 +07:00
Ferdinand Thiessen 3e31022840 fix(theming): App order selector should keep the focus on click
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-30 16:33:15 +07:00
julia.kirschenheuter 18751d0e52 Change styles on active, hover and focus state for background buttons
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-24 09:50:37 +07:00
Ferdinand Thiessen 615a6846da
feat(theming): Allow to reset the user defined app order to the default value
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 03:52:25 +07:00
Ferdinand Thiessen 9697df1ea5
fix(theming): App order settings - ensure the focus is kept on button
When pressing a button for changing the app order that button should keep the focus after reordering the list.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 03:52:18 +07:00
Ferdinand Thiessen e9d4036389
feat(theming): Allow to configure default apps and app order in frontend settings
* Also add API for setting the value using ajax.
* Add cypress tests for app order and defaul apps

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-20 00:24:17 +07:00
John Molakvoæ 4f4074452d
Fix background removal not applying to user default theming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-19 12:01:29 +07:00
Ferdinand Thiessen 8d57cdcab5
fix(theming): Add `aria-pressed` attribute to active background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-18 01:35:54 +07:00
Simon L 8799c6863d fix text on default background image button
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-09 16:10:40 +07:00
Simon L 3f319cc200 change order of keyboard shortcuts settings to be at the end
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-06 15:55:24 +07:00
rakekniven ebf4aa3312 fix(10n): Fixed grammar
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-04 08:19:16 +07:00
Christopher Ng ffe29518e8 chore: Migrate to new @nextcloud/vue API
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-29 11:05:51 +07:00
John Molakvoæ 5831d4f536 fix(theming): user background picker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-26 20:58:24 +07:00
Ferdinand Thiessen 738c596977 fix(apps): Adjust apps for FilePicker API change
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 20:56:09 +07:00
John Molakvoæ 0a046844f6
feat(theming): add mime accept in Theming image file picker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-03 11:49:45 +07:00
Ferdinand Thiessen 663db2bb34 chore: Update nextcloud-vue to v8 beta2 and renamed changed properties
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:26 +07:00
julia.kirschenheuter 913083d67b Add more space below item of preview explanation
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-07-20 16:21:44 +07:00
John Molakvoæ cd54f7c7f4
chore: upgrade typescript, eslint and fix lint
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-27 16:16:41 +07:00
Varun Patil 66a8a9fba1
Use consistent imports for Vue components
This makes tree shaking possible

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-23 22:34:14 +07:00
Simon L f5e8268ced Use the color-primary-element* variables
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-13 10:15:33 +07:00
John Molakvoæ b603a3eac7
fix(theming): do not show the image default background on user theming if disabled
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 13:04:15 +07:00
John Molakvoæ 9ab7a19b09
fix(theming): remove unnecessary `color-primary-element-default-hover` variable
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 13:04:15 +07:00
John Molakvoæ ab431999c3
chore(npm): fix warning and build
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 14:01:41 +07:00
Jérôme Herbinet 996a0e6d17
Improvement of the theme selection UI
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-19 13:27:45 +07:00
John Molakvoæ 8633f13e0a
chore(eslint): fix missing import extensions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +07:00
John Molakvoæ 162cc3c8ea
fix(theming): select "no-background" option and fix layout order
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-02 07:22:27 +07:00
julia.kirschenheuter 087f445499 Replace custom tooltips with native tooltips
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-01-11 14:22:47 +07:00
John Molakvoæ f26ee9c69d
Faster theming tests, better colours comparison and properly follow admin theming changes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-30 18:39:57 +07:00
John Molakvoæ a869259e41
More theming cypress tests and some fixes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 11:26:27 +07:00
John Molakvoæ 064fa10ecf
Extract colour from custom background
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 11:23:05 +07:00