Commit Graph

29894 Commits (bec2d43fa7aedbc1f4a82effdcc8f665f98096d1)

Author SHA1 Message Date
Grigorii K. Shartsev c834d98d34 fix(user_status): separate user menu and dashboard status layout
- Remove href="#" from a button for HTML validation
- Use @nextcloud/vue NcButton instead of custom button in Dashboard

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-24 10:57:17 +07:00
Pytal 450985fc74
Merge pull request #40938 from nextcloud/fix/a11y/change-scope-actions
fix(settings): Account property scope actions
2023-10-23 18:11:25 +07:00
Nextcloud bot d772537d90
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-24 00:25:42 +07:00
Christopher Ng f0bb5e7e76 fix(settings): Styles for scope button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:53:30 +07:00
Christopher Ng a9fdc52f69 fix(settings): Name for scope button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:53:30 +07:00
Christopher Ng 18a2391cab fix(settings): Remove aria-label on scope actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:53:30 +07:00
Christopher Ng 3b097f0658 fix(tests): Update dav snapshot
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:18:09 +07:00
Christopher Ng 590daccca3 fix: Share select search globally icon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:14:49 +07:00
Julius Härtl 45d7612423
Merge pull request #40482 from nextcloud/fix/workflowengine_fileaccess 2023-10-23 23:25:18 +07:00
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
Jonas 7441ce2b11
enh(IMountManager): Add method to get MountPoint from CachedMountInfo
Signed-off-by: Jonas <jonas@freesources.org>
2023-10-23 20:50:24 +07:00
Jonas 9193d8be40
fix(isLegitimatedForUserId): Setup mountpoints to check file access
This fixes workflows on groupfolders, as it will consider access to
files in groupfolders.

It also fixes false positives where access to files was limited by other
means not taken into account before, e.g. access control.

For postDelete events, check for permissions of the parent folder
instead, as the file itself no longer exists.

Fixes: nextcloud/flow_notifications#71

Signed-off-by: Jonas <jonas@freesources.org>
2023-10-23 20:47:16 +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