Commit Graph

28671 Commits (1603cdc8d2798ddc2799a75deaf42b58515f84cd)

Author SHA1 Message Date
Côme Chilliet 1603cdc8d2
Fix since annotations and add boolean return type for setUserEnabled
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-20 15:10:39 +07:00
Côme Chilliet 367b4fe9f2
Fix User_Proxy tests as well
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-25 15:55:04 +07:00
Côme Chilliet add59d2309
Use DI for DeletedUsersIndex and fix tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-25 12:18:28 +07:00
Côme Chilliet 50ccfb4f5b
[user_ldap] Add per-connection setting for marking remnants as disabled
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-23 16:03:17 +07:00
Côme Chilliet 684a81e4bd
Use the new IProvideEnabledStateBackend interface in user_ldap
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-23 11:25:22 +07:00
Joas Schilling f74143be4b
Merge pull request #38164 from nextcloud/show-pending-popover-menu-when-password-is-enabled-by-default
Show pending popover menu when password is enabled by default
2023-05-22 14:17:27 +07:00
Daniel Calviño Sánchez d4631921b4
Show pending popover menu when password is enabled by default
When "Enforce password protection" is enabled in the sharing settings a
popover menu is shown to set a password before the share is created. On
the other hand, when "Always ask for a password" was enabled in the
sharing settings and a new link share was created the share was
immediately created with a default password; the user was not able to
specify a password (nor create the share without password).

The component template already provided the needed elements to also ask
for the password without enforcing it, but the popover menu was not
shown due to "enableLinkPasswordByDefault" being missing in "if"
conditions.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:49:23 +07:00
Daniel Calviño Sánchez d80f8fc84f
Rename "pendingPassword" to "pendingEnforcedPassword"
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:49:15 +07:00
Daniel Calviño Sánchez 2c1a1b1779
Disable "Enforce password protection" if not asking for a password
"Enforce password protection" is a subcase of "Always ask for a
password", so it should be disabled if its parent option is unchecked.
Although other dependant options in the sharing settings are fully
hidden instead of just disabled this option is disabled but shown to
avoid confusion when updating from a previous Nextcloud version where
"Always ask for a password" was unchecked and "Enforce password
protection" was checked.

Besides that, due to their dependency the enforced password protection
is now automatically unchecked too if its parent option is unchecked.

Finally, the groups excluded from password requirements are also
disabled when "Always ask for a password" is unchecked, as they might be
still shown if "Enforce password protection" was checked due to an
update from a previous version.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:44:34 +07:00
Daniel Calviño Sánchez 6daf962b4c
Split long line
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:44:18 +07:00
Daniel Calviño Sánchez 2c97bca5d0
Indent "Enforce password protection"
"Enforce password protection" is a subcase of "Always ask for a
password", so it should be indented to visually show the dependency.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:44:17 +07:00
Daniel Calviño Sánchez f9039b4fbd
Replace "div" with "span" inside "p"
The permitted contents of a paragraph are only phrasing contents, so
"div" elements can not be used, although "span" can. Besides being
invalid HTML it seems that the browser ends the paragraph at the div, so
the label/input that appears after it is treated as being in a new
paragraph, which is not indented by default, and thus is not aligned
with the rest of its sibling inputs.

Note that an additional div is nevertheless added once the page is
loaded to be able to select the groups, but this one does not break its
parent paragraph (maybe due to being added after the page load, but I do
not really know). Nevertheless, it needs to be explicitly indented, and
the second indentend wrapper needs to be removed, as it affects only the
label but not the div/input, and therefore the label had an extra
indentation over the input.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:44:17 +07:00
Daniel Calviño Sánchez 8fa09bec09
Move "br" immediately after "label" for consistency with other elements
The rest of "<br/>" elements in the file appear immediately after their
previous "</label>" rather than in a new line.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:44:17 +07:00
Daniel Calviño Sánchez 74bddb7a1a
Add missing end tag for "label"
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:44:16 +07:00
Nextcloud bot 30e445773d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-22 00:17:43 +07:00
Nextcloud bot 96f0118312
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-21 00:17:10 +07:00
Nextcloud bot 1c1c9075c1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-20 00:17:12 +07:00
Simon L 8cca865d80
Merge pull request #38332 from nextcloud/pulsejet/patch-dead1
Remove some dead code in files app
2023-05-19 23:27:12 +07:00
Christopher Ng 94af306c27 fix(comments): Mark comments as read
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-19 12:02:10 +07:00
Simon L ed5d8d5c4e address review
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-19 08:29:55 +07:00
Simon L 06d8a03315 migrate a few components to NcSelect
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-19 10:14:39 +07:00
Nextcloud bot 60baf8859f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-19 00:17:21 +07:00
Nextcloud bot 99f8a7ff71
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-18 18:46:31 +07:00
fenn-cs ec915474f0 Fix add new group event
1ee8fbaad1 broke the addgroup functionality
by not updating the event to reflect the one in
https://github.com/nextcloud/nextcloud-vue/blob/master/src/components/NcAppNavigationNewItem/NcAppNavigationNewItem.vue

Resolves : https://github.com/nextcloud/server/issues/38340

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-18 07:49:27 +07:00
F. E Noel Nfebe c9aadb1d5b
Merge pull request #38294 from nextcloud/fix/37137/add-aria-expanded-to-toggler-user-options
Use aria-expanded correctly on toggle user actions
2023-05-18 08:08:16 +07:00
Nextcloud bot b24bb42ef7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-18 00:17:49 +07:00
fenn-cs a39f0de237 Use aria-expanded correctly on toggle user actions
The aria-expanded attribute was added on the expandable item rather
Than the button that triggers the expand.

Resolves : #37137

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-17 23:15:15 +07:00
Varun Patil 262c84adfa Remove some dead code in files app
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-17 09:57:23 +07:00
Joas Schilling 3fc43bc91a
Merge pull request #38336 from nextcloud/master-is-now-28
Master is now 28
2023-05-17 15:59:38 +07:00
Simon L 3b38b12a0f
Merge pull request #38327 from nextcloud/fix/dashboard-adjust-border
dashboard: Adjust border radius of panels to match main content container
2023-05-17 11:07:38 +07:00
Joas Schilling 7e45fdf867
chore(release): Bump requirements and versions in apps/
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 10:44:23 +07:00
Joas Schilling e038560606
chore(security): Bump "Expires" of well-known/security.txt
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 10:32:16 +07:00
Nextcloud bot 85df0f67b7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-17 00:17:37 +07:00
Ferdinand Thiessen 902d00d980 fix(dashboard): Adjust border radius of panels to match main content container
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-17 00:57:50 +07:00
Christopher Ng b4caff393c chore(deps): Bump @nextcloud/vue from 7.11.4 to 7.11.6
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-05-16 15:49:11 +07:00
Ferdinand Thiessen b30bfb57f3 feat(theming): Add border radius rounded css variable so `body-container-radius` can be used on mobile devices
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-16 19:47:10 +07:00
Joas Schilling 1ce8fc6b31
Merge pull request #38310 from nextcloud/followup/38170/remove-former-track-by-property
fix(workflowengine): Remove unused property track-by
2023-05-16 19:40:05 +07:00
Simon L 10ceae3020
Merge pull request #38101 from nextcloud/Jerome-Herbinet-share-expire-after-n-days-width-patch-1
Fix : Share Expire After N Days width
2023-05-16 19:29:29 +07:00
Simon L e8cad555cf
Merge pull request #38303 from nextcloud/fix/loadmore
fix(search): fix load more
2023-05-16 19:24:17 +07:00
Simon L fa4d153610
Merge pull request #38115 from DerGenaue/patch-1
Rename `numericStorageId` to `numericExternalStorageId` in PersonalMount.php
2023-05-16 19:08:39 +07:00
Simon L dc1b68c59d
Merge pull request #37326 from nextcloud/add-IMoveTarget-support-to-addressbooks
feat(CardDAV): Add Sabre\DAV\IMoveTarget support to OCA\DAV\CardDAV\AddressBook
2023-05-16 19:01:50 +07:00
Jérôme Herbinet 8620640abc Finally no with seams better to be relevant with other fields
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-16 14:21:54 +07:00
Joas Schilling ae586e25f8
fix(workflowengine): Remove unused property track-by
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-16 15:22:55 +07:00
Simon L 75b7c13cae
Merge pull request #38205 from nextcloud/feat/css-add-info-color
Add css variables for info colors (`--color-info`)
2023-05-16 15:13:22 +07:00
John Molakvoæ 7e51305ae4
fix(search): fix load more
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-16 11:45:50 +07:00
Jérôme Herbinet ebe14b1d97 Fix : Share Expire After N Days width
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-05-16 11:45:36 +07:00
Thomas Citharel 13a3ebd4cc
feat(CardDAV): Add Sabre\DAV\IMoveTarget support to OCA\DAV\CardDAV\AddressBook
This allows to just UPDATE the card row instead of deleting it and reinsert it. It's very similar to https://github.com/nextcloud/server/pull/30120 for calendars.

As we need the addressbookid exposed, this introduces OCA\DAV\CardDAV\Card that extends Sabre's.

I chose specifically NOT to auto-inject LoggerInterface in Addressbook like in #30120 because the chain of DI is huge just for ONE simple call and it would break an existing dirty call (OCA\Contacts calling OCA\DAV) of ContactsManager in Contacts: https://github.com/nextcloud/contacts/pull/1722 (in SocialApiService), but this is debatable.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-05-16 11:38:57 +07:00
Simon L 25dd264965
Merge pull request #37965 from nextcloud/fix/transactional-system-addressbook-sync
fix(dav): Run system address book create-if-not-exists in transaction
2023-05-16 11:33:09 +07:00
Ferdinand Thiessen 4f9472a323 feat(css): Add css variables for info colors (`--color-info`)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-16 09:31:33 +07:00
Louis 128cd7030e
Merge pull request #38293 from nextcloud/fix/users-table-alignment
fix(settings): Fix `UserList` styles set to css but scss is used
2023-05-16 09:30:38 +07:00