Commit Graph

29883 Commits (8a1546c703aafd2783ae2cf334738e4451de2e84)

Author SHA1 Message Date
Pytal 8a1546c703
Merge pull request #41064 from nextcloud/fix/40705-_increase_contrast_on_Device_and_Last_activity
Remove opacity on table header
2023-10-23 11:53:35 +07:00
Julius Härtl f88c34b604
Merge pull request #40495 from nextcloud/fix/master-name-in-share-cache 2023-10-23 19:29:17 +07:00
Simon L 8bd1294550
Merge pull request #41063 from nextcloud/fix/37092/dashboard-html-validation 2023-10-23 18:43:01 +07:00
Côme Chilliet 5245d2000a
Merge pull request #41017 from nextcloud/fix/move-token-iprovider-to-ocp
Move IToken and IProvider::getToken to OCP
2023-10-23 18:01:52 +07:00
Ferdinand Thiessen d43c66e96a
Merge pull request #41034 from nextcloud/fix/37092/users--html-validation
fix(settings): users page html validation
2023-10-23 17:16:43 +07:00
julia.kirschenheuter 521e66edc0 Remove opacity on table header
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-23 16:30:50 +07:00
Grigorii K. Shartsev 3b017ec3ff fix(dashboard): use span instead of div for icon to html
- div is not valid in h2
- div is not valid in label

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-23 16:20:47 +07:00
Côme Chilliet 1bdf952fde
Make sure that OC interfaces returns OC interfaces for backward compatibility
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 11:08:23 +07:00
jld3103 d019392645
fix(provisioning_api): Fix quota fields in OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-10-23 10:33:37 +07:00
Côme Chilliet 61143644a4
Merge pull request #40933 from nextcloud/check-datemax-enforcement-pubshare
Check expiry enforcement for all share types
2023-10-23 09:32:27 +07:00
Nextcloud bot 1de151abd9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-23 00:26:23 +07:00
fenn-cs 8dfcf2e02a Do not treat `isDefaultExpireDateEnforced` as fallback
`isDefaultExpireDateEnforced` and its corresponding `defaultExpirationDate`
is currently treated as the enforcement fallback when share type enforcements are not
set.

However, `isDefaultExpireDateEnforced` and `defaultExpirationDate` are actually more like
`isDefaultPublicExpireDateEnforced` and `defaultPublicExpirationDate` and therefore only applies
to public shares.

It might be ideal to rename this variables all the way from the backend config to the way we use
them in the frontend code.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-22 16:47:32 +07:00
fenn-cs 46308e96f3 Fix has expiration date logic
Current expiration date errorneously assumes that `defaultExpirationDate`
applies to all kinds of shares. But it only really applies to public shares despite
its name.

This commit, fixes that by paring expiration dates with the correct share types during
new share initialization and simplifying the `hasExpirationDate` (check) property.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-22 15:47:45 +07:00
fenn-cs 92417cd594 Check expiry enforcement for all share types
We should check that a maximum expiry date has been enforced for
all shares and NOT JUST FOR internal shares before enforcing a UI max date,
like in commit 9757e680e2

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-22 15:47:43 +07:00
John Molakvoæ 4b70f19837
Merge pull request #41024 from nextcloud/fix/follow-up-app-order 2023-10-22 12:58:57 +07:00
Nextcloud bot b76ecf3781
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-22 00:28:37 +07:00
Varun Patil 4d578f37e6 fix(files): correct item height
1. grid: typo? The icon size is 160 - 44 + (44 / 2) = 138px
2. non-grid: border is already included in height because the tr
   is a border-box (made this explicit to be safe)

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-21 22:42:06 +07:00
Grigorii K. Shartsev d33ce8a8d5 fix(settings): label user quota progress with aria-labelledby
Labeling with `<label>` doesn't work in some screen readers.
`<label>` also doesn't work as a clickable link here.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 04:16:45 +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
Grigorii K. Shartsev 5249c3376e fix(settings): users page html validation
- Remove non-existing `button-class` from `NcAppNavigationNew`
- Type: use `input-id` instead of `id` on `NcSelect` to be labeled
- Encode uniqueId with user's ID, because user.id may contain space

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 03:49:01 +07:00
Nextcloud bot 5c2610af7d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-21 00:27:09 +07:00
Grigorii K. Shartsev 641d52dae7
fix(settings): remove unused savePrimaryEmailScope on Personal Settings page
If was replaced with universal `savePrimaryAccountPropertyScope`.
`<HeaderBar>` has no `handle-scope-change` prop.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +07:00
Grigorii K. Shartsev d4c37d5c4c
fix(settings): remove placeholder from select
There is no placeholder attribute on select element

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +07:00
Grigorii K. Shartsev 73e675d145
fix(settings): typo in avatar prop
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +07:00
Grigorii K. Shartsev f214a7e332
fix(settings): remove invalid avatar prop
There was a typo, it must have been disable-menu, not disableD-menu.
But it is not required, because the menu is disabled for the current user anyway.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +07:00
Grigorii K. Shartsev 9154367761
fix(settings): fix ids and aria-labels in personal emails
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:56 +07:00
Grigorii K. Shartsev 4a85113cac
fix(settings): remove empty aria-describedby
Empty string `''` is still rendered and is not a valid ID.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:56 +07:00
Ferdinand Thiessen df74fb0123
Merge pull request #40993 from nextcloud/pulsejet/oc-cap-refactor
refactor: remove remaining usage of OC::getCapabilities
2023-10-20 20:29:57 +07:00
Varun Patil 08bd7848ea fix(files): disable size containment on headers
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-20 09:03:22 +07:00
Varun Patil 9bd50a7296
refactor: remove remaining usage of OC::getCapabilities
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-20 16:19:43 +07:00
Ferdinand Thiessen 4828ac3521
Merge pull request #41008 from nextcloud/fix/36965-fix-trusted-server-input
Fix trusted server input field
2023-10-20 16:19:24 +07:00
julia.kirschenheuter 0af42db2c7 Fix trusted server input field
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-20 12:19:49 +07:00
Varun Patil 2db1eab7f9
fix(files): virtual list will-change value
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-20 10:49:11 +07:00
Nextcloud bot 12dc49fbca
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-20 00:27:12 +07:00
Ferdinand Thiessen 8ac6fe8ba4
Merge pull request #40978 from nextcloud/fix/37092/replace-non-standard-autocorrect-with-spellcheck
HTML Validation: replace non standard `autocorrect` with `spellcheck`
2023-10-20 01:54:53 +07:00
Grigorii K. Shartsev 2d6cd78c32
fix: replace non-standard autocorrect with spellcheck attribute
`autocorrect` was actual for Safari long time ago when Safari didn't fully supported HTML 5 spellcheck.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 00:35:51 +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
Ferdinand Thiessen a6c450b481
Merge pull request #40961 from nextcloud/fix/cypress-tests
fix(cypress): Replace flaky password-confirmation hack
2023-10-19 22:02:28 +07:00
Ferdinand Thiessen 9ce5c983d0
Merge pull request #40992 from nextcloud/fix/37092/weather-status-html-validation
fix(weather_status): remove `li` wrapper
2023-10-19 21:58:19 +07:00
Julia Kirschenheuter 694352e3ad
Merge pull request #40963 from nextcloud/fix/36965-fix-width-of-sharing-entry
Reduce width of sharing entry
2023-10-19 17:08:28 +07:00
Ferdinand Thiessen 3f83ae145f
fix(cypress): Test using `data-test-id` attributes rather than private classes
Makes the test more resilant to inner component changes of the `@nextcloud/vue` library.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 16:17:20 +07:00
Côme Chilliet b6c35b3be0
Merge pull request #32550 from nextcloud/feat/api-cleanup-check
Add api to register setup checks
2023-10-19 15:41:23 +07:00
julia.kirschenheuter bfa7d33912 Reduce width of sharing entry
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-19 12:50:14 +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
John Molakvoæ a024ee1cfe
Fix background removal check
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-19 11:54:09 +07:00
Côme Chilliet 2e4d1549a4
Change SetupResult API to named constructors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:03 +07:00
Côme Chilliet 11ebf469da
Remove useless var in apps/settings/lib/SetupChecks/CheckUserCertificates.php
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-10-19 11:44:03 +07:00
Côme Chilliet 6aa6f26427
Move NeedsSystemAddressBookSync to dav application where it’s registered
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +07:00
Côme Chilliet 968b82cacc
Remove UI draft
For now we will keep the existing UI and only change the API behind it

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +07:00