Commit Graph

28716 Commits (438d86eaec5d2fa7e8f2d09ecafd8e47799c3dca)

Author SHA1 Message Date
Anna 9e53934498
Merge pull request #36118 from nextcloud/fix/caldav/invitation-outlook-compatibilty
Fix calendar emails to be outlook compatible
2023-05-10 12:10:42 +07:00
Joas Schilling c20fd9f91f
fix(workflowengine): Fix multiple UI issues in workflow engine admin settings
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-10 11:59:29 +07:00
Christoph Wurst 1fd8f41e33
Merge pull request #38048 from nextcloud/enh/add-x-nc-scope-property
feat(dav): store scopes for properties and filter locally scoped properties for federated address book sync
2023-05-10 11:05:41 +07:00
Louis 5993a4b3e3
Merge pull request #37954 from nextcloud/artonge/fix/do_not_allow_to_show_pwd_in_sharing
Do not allow to toggle between password and text in sharing
2023-05-10 10:23:52 +07:00
Julia Kirschenheuter 90345ddc7d
Merge pull request #38144 from nextcloud/fix/36922-9.1.3.1h/8.1_-_When_editing_a_user_in_the_table,_input_fields_appear_in_the_cells_that_can_be_used_to_edit_the_data
Add hidden labels for inputs while editing user row
2023-05-10 08:41:55 +07:00
Julius Härtl b935725b70
Merge pull request #38100 from tanganellilore/fix_delete_ChunkingV2Plugin 2023-05-10 08:34:25 +07:00
Nextcloud bot 46bb952ba5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-10 02:31:27 +07:00
Daniel Calviño Sánchez b677d3e27d Show loading spinner until share settings are fully loaded
The inputs of the sharing settings are generated in a template in the
server, but the listeners to react to changes in the elements and save
the values in the server are loaded in the client once the DOM finishes
loading. If the DOM takes long to load the user can start to interact
with the settings before the listeners were set up and, therefore, the
changes would not be saved in the server. However, as the inputs are
modified the user would think that the changes were already saved.

To address that now when the sharing settings are open a loading spinner
is shown instead of the contents of the sharing settings, and only once
the listeners to save the changes were set up the spinner is removed and
the contents shown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-10 03:00:37 +07:00
Arthur Schiwon dbfd2f936a
refactor: remove SystemTag logic from Folder into QuerySearchHelper
- adds OC\SystemTag\SystemTagsInFilesDetector where the search logic is
  moved to

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-09 23:51:52 +07:00
Arthur Schiwon 7f3725c962
chore: polish SystemTagsInUseCollection
- DI SystemTagManager
- add some comments and doc
- catch NoUserException
- add return type hints

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-09 23:51:52 +07:00
Arthur Schiwon b07c5dff72
fix: improve naming of new systemtags endpoint to systemtags-assigned
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-09 23:51:51 +07:00
Arthur Schiwon 2489a2d63a
feat: specify media type via url path: systemtags-current/$mediaType
- only the media part of the mime type can be search, but not the full
  mime type. It can be added, should it become necessary.
- thus fixes previously hardcoded selector for image/ types
- also fixes a return type hint
- adds a return type hint

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-09 23:51:51 +07:00
Arthur Schiwon 6bff6a5667
PoC: SystemTags endpoint to return tags used by a user with meta data
Target case is photos app: when visiting the tags category, all systemtags
of the whole cloud are retrieved. In subequent steps the next tag is
requested until the browser view is filled with tag tiles (i.e. previews
are requested just as well).

With this approach, we incorpoate the dav search and look for user related
tags that are used by them, and already returns the statistics (number of
files tagged with the respective tag) as well as a file id for the purpose
to load the preview. This defaults to the file with the highest id.

Call:
curl -s -u 'user:password' \
  'https://my.nc.srv/remote.php/dav/systemtags-current' \
  -X PROPFIND -H 'Accept: text/plain' \
  -H 'Accept-Language: en-US,en;q=0.5'  -H 'Depth: 1' \
  -H 'Content-Type: text/plain;charset=UTF-8' \
  --data @/home/doe/request-systemtag-props.xml

With request-systemtag-props.xml:
<?xml version="1.0" encoding="UTF-8"?>
<d:propfind xmlns:d="DAV:">
        <d:prop xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns">
                <oc:id/>
                <oc:display-name/>
                <oc:user-visible/>
                <oc:user-assignable/>
                <oc:can-assign/>
                <nc:files-assigned/>
                <nc:reference-fileid/>
        </d:prop>
</d:propfind>

Example output:
  …
  <d:response>
    <d:href>/master/remote.php/dav/systemtags/84</d:href>
    <d:propstat>
      <d:prop>
        <oc:id>84</oc:id>
        <oc:display-name>Computer</oc:display-name>
        <oc:user-visible>true</oc:user-visible>
        <oc:user-assignable>true</oc:user-assignable>
        <oc:can-assign>true</oc:can-assign>
        <nc:files-assigned>42</nc:files-assigned>
        <nc:reference-fileid>924022</nc:reference-fileid>
      </d:prop>
      <d:status>HTTP/1.1 200 OK</d:status>
    </d:propstat>
  </d:response>
  <d:response>
    <d:href>/remote.php/dav/systemtags/97</d:href>
    <d:propstat>
      <d:prop>
        <oc:id>97</oc:id>
        <oc:display-name>Bear</oc:display-name>
        <oc:user-visible>true</oc:user-visible>
        <oc:user-assignable>true</oc:user-assignable>
        <oc:can-assign>true</oc:can-assign>
        <nc:files-assigned>1</nc:files-assigned>
        <nc:reference-fileid>923422</nc:reference-fileid>
      </d:prop>
      <d:status>HTTP/1.1 200 OK</d:status>
    </d:propstat>
  </d:response>
  …

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-09 23:51:48 +07:00
Anna Larch bd80a1b2dd
feat(dav): store scopes for properties and filter locally scoped properties for federated address book sync
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-05-09 19:17:39 +07:00
Côme Chilliet fc076271c7
Merge pull request #37944 from nextcloud/enh/allow-filescan-to-continue-on-error
Do not stop at the first PHP error/warning in files:scan
2023-05-09 17:52:09 +07:00
Côme Chilliet 185fe5378b
Merge pull request #36893 from nextcloud/fix/avoid-file-events-on-null-path
Make sure to never trigger files hooks on a null path
2023-05-09 17:44:14 +07:00
Robin Appelman ddc53a9046
minor fixes for get/put
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-09 17:38:43 +07:00
Louis Chemineau 6faf8b85d6 Do not allow to toggle between password and text in sharing
This does not makes sense as we do not have the clear text value.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-05-09 17:33:53 +07:00
Pytal 972b2097d0
Merge pull request #38104 from nextcloud/feat/um-32-bit 2023-05-09 08:20:41 +07:00
John Molakvoæ 416f632280
Merge pull request #38125 from nextcloud/versionEntityCheck 2023-05-09 17:11:57 +07:00
julia.kirschenheuter da36d19580 Add hidden labels for inputs while editing user row
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-09 12:48:15 +07:00
Côme Chilliet 725403cb0d
Copy and move files to migrate them to the new key
We have to rewrite the header, so the whole file needs to be rewritten,
 so we just use the same strategy as DecryptAll.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-09 12:02:57 +07:00
John Molakvoæ 14a468f326
Merge pull request #38099 from nextcloud/fix/missing-clear-status-route 2023-05-09 08:24:01 +07:00
Nextcloud bot 158405127b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-09 02:19:48 +07:00
Git'Fellow 7cd5cbe6e9
Check if version entity is not null before delete
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-05-08 14:24:58 +07:00
jld3103 e6e2b873a3
Remove unreachable UserStatus#clearStatus route
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-08 14:16:54 +07:00
Nextcloud bot cfbb80a8c3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-08 02:28:13 +07:00
Daniel 55d7add92f
Rename `numericStorageId` to `numericExternalStorageId` in PersonalMount.php
so that it doesn't override `numericStorageId` in the `MountPoint` baseclass

fixes https://github.com/nextcloud/server/issues/37473
fixes https://github.com/nextcloud/server/issues/37414

Signed-off-by: Daniel <7558512+DerGenaue@users.noreply.github.com>
2023-05-07 04:47:44 +07:00
Nextcloud bot b3ab8859fb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-07 02:28:17 +07:00
Nextcloud bot 737e79854e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-06 02:27:44 +07:00
Christopher Ng 4e51f5224c feat(UserMigration)!: 32-bit support
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-05-05 17:59:57 +07:00
Andy Scherzinger 236f9a2dfe
Merge pull request #38068 from nextcloud/hubNumberBumper
Bump hub number
2023-05-05 17:09:04 +07:00
Lorenzo Tanganelli d920e65dc5 fix error on delete in ChunkingV2Plugin
Signed-off-by: Lorenzo Tanganelli <lorenzo.tanganelli@hotmail.it>
2023-05-05 13:07:58 +07:00
John Molakvoæ 263a6910c4
Merge pull request #38063 from nextcloud/fix/theming 2023-05-05 13:57:55 +07:00
Simon L a1ed1db01b
Merge pull request #31660 from dzatoah/pr/rename-sendEventRemindersToSharedGroupMembers-to-sendEventRemindersToSharedUsers
Rename setting 'sendEventRemindersToSharedGroupMembers' -> 'sendEventRemindersToSharedUsers'.
2023-05-05 08:12:04 +07:00
Nextcloud bot f997b8a2a3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-05 02:28:12 +07:00
Christoph Wurst e127375dd4
Merge pull request #38085 from nextcloud/chore/federation/address-book-sync-logging
fix(federation): Log address book sync exceptions
2023-05-05 03:18:48 +07:00
Côme Chilliet 6034cc6893 Make sure to never trigger files hooks on a null path
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-04 17:55:09 +07:00
Robin Appelman 36221a8865
add command to write a file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 18:21:58 +07:00
Robin Appelman f9fb102f0b
move get/delete commands to files namespace, make get take the output as argument instead of option
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 18:21:58 +07:00
Christoph Wurst 48b03b6c20
fix(federation): Log address book sync exceptions
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-04 18:21:39 +07:00
Côme Chilliet c9c49bfef8
Log failures to delete legacy file key
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-04 17:50:51 +07:00
Côme Chilliet 146284f170
Fix fopen mode
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-04 17:50:34 +07:00
Côme Chilliet 88405d320e
Add an error counter
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-04 17:06:46 +07:00
Côme Chilliet 5663f9b31e
Add an occ command to scan files for legacy file key in use and get rid of those
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-04 16:53:25 +07:00
Christoph Wurst 8c727f2285
feat(carddav): Map user's additional emails into the SAB card
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-04 15:03:01 +07:00
John Molakvoæ 4c71d8f8a4
fix(theming): replace elementColor dark value with better contrast `#8c8c8c`
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 14:41:19 +07:00
Andy Scherzinger bfa16fb3d7
bump hub number
Bump the hub number 4->5 for v27

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-04 13:36:03 +07:00
Arthur Schiwon badee49b4b
fix: sort tags by name
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-04 13:21:14 +07:00
Daniel Teichmann 56f36b94e5
Rename setting 'sendEventRemindersToSharedGroupMembers' to 'sendEventRemindersToSharedUsers'.
Signed-off-by: Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
2023-05-04 13:05:00 +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æ 4d3b49b09a
fix(theming): replace `color-primary-text-dark` with `color-primary-element-text-dark`
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 13:02:53 +07:00
John Molakvoæ 74461a9479
fix(theming): ensure image background is not defined if admin disabled it
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 13:02:49 +07:00
John Molakvoæ c6ebb0d786
fix(theming): calc primary element from current main background
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 13:02:49 +07:00
Ferdinand Thiessen 5938808229
Merge pull request #38028 from nextcloud/fix/36958
fix(settings): Increase "Edit your profile visibility button" contrast
2023-05-04 12:24:43 +07:00
Ferdinand Thiessen 5a524763fe
Merge pull request #38051 from nextcloud/fix/weather-menu-aria
fix(weather_status): Override the default `NcActions` aria-label
2023-05-04 10:55:12 +07:00
Joas Schilling b44de9ccb8
Merge pull request #38046 from nextcloud/bugfix/noid/abort-dav-requests-with-429
fix(dav): Also throw in basic auth requests
2023-05-04 09:06:57 +07:00
Nextcloud bot 4b806a00fa
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-04 02:28:08 +07:00
Joas Schilling b91957e3df
fix(dav): Abort requests with 429 instead of waiting
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-03 22:43:36 +07:00
Ferdinand Thiessen 1fa63ae431 fix(weather_status): Override the default `NcActions` aria-label
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-03 19:39:27 +07:00
Pytal 5a7c8b3751
Merge pull request #38012 from nextcloud/fix/a11y-share-input 2023-05-03 10:28:35 +07:00
Johannes ed48a471d4
Merge pull request #38025 from nextcloud/enh/37800/write-profile-prop-to-system-adressbook
enh(contacts): write profile prop and backend prop to system addressbook
2023-05-03 15:37:01 +07:00
Julius Härtl 2c60ad8df0
Merge pull request #37787 from nextcloud/fix/rollback-files-locked-by-apps
fix: catch ManuallyLockedException and use app context
2023-05-03 13:18:36 +07:00
Joas Schilling 8013bc91c8
Merge pull request #37385 from nextcloud/bugfix/noid/dont-allow-adding-the-same-email-multiple-times
fix(provisioning_api): Don't allow to configure the same additional e…
2023-05-03 11:06:41 +07:00
Marcel Klehr 545de25eec
Merge pull request #37802 from nextcloud/fix/37729 2023-05-03 10:57:41 +07:00
Arthur Schiwon d95ccfd3ae
Merge pull request #37958 from nextcloud/artonge/fix/better_handle_expireDate_for_share
Mutualize expireDate handling when creating and updating a share
2023-05-03 10:37:48 +07:00
Max 337fc110ec
fix: catch ManuallyLockedException and use app context
The files_lock app may throw ManuallyLockedExceptions
when attempting to revert a file that is currently opened.
This would prevent the user from rolling back a opened file.

Text and Richdocuments handle changes of the file while editing.
Allow reverting files even when they are locked by these apps
and let the apps handle the conflict.

Signed-off-by: Max <max@nextcloud.com>
2023-05-03 09:52:36 +07:00
Nextcloud bot 8873960bcf
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-03 02:28:00 +07:00
Ferdinand Thiessen 6f798b7dee fix(settings): Increase "Edit your profile visibility button" contrast
Before this the contrast of the button was too low in terms of accessibility.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-02 18:10:15 +07:00
Côme Chilliet c995428431
Merge pull request #37903 from nextcloud/fix/user_ldap-fix-multiple-ldap-support
Fix multiple LDAP configuration support by fixing AccessFactory
2023-05-02 17:11:01 +07:00
Côme Chilliet f7632f2fc4
Merge pull request #32866 from nextcloud/performance/searchInGroup-displayname-cache
Optimize retrieving display name when searching for users in a group
2023-05-02 16:42:09 +07:00
Johannes Merkel ab76b086aa
enh(contacts): write profile prop and backend prop to system addressbook
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-05-02 16:31:11 +07:00
Marcel Klehr af665378f8 fix(files_sharing): Don't show copy action when !canDownload and no update permissions
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-05-02 13:08:30 +07:00
John Molakvoæ a889c0f922
Merge pull request #37938 from nextcloud/feat/tags-files-inline 2023-05-02 12:07:43 +07:00
John Molakvoæ cab8a07b3c
feat(system-tags): show inline in files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-02 10:36:07 +07:00
Côme Chilliet 2ffa9fc797
Only show error stack trace on very verbose level
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-02 10:01:38 +07:00
Nextcloud bot 08e1bcd2c9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-02 02:27:47 +07:00
Christopher Ng 8960df2d6a Fix share input id
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-02 02:22:29 +07:00
Nextcloud bot 193e096813
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-01 02:29:22 +07:00
Nextcloud bot f8e57acab5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-30 02:29:19 +07:00
Nextcloud bot cd064017ca
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-29 02:28:29 +07:00
John Molakvoæ 20df0019f1
fix(psalm): systemtags
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-28 12:23:52 +07:00
Robin Appelman 74ced3d2eb
expose system tags as dav property for files
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-28 10:46:38 +07:00
Nextcloud bot a9798a359a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-28 02:28:37 +07:00
Louis Chemineau 6b53e4b13a Mutualize expireDate handling when creating and updating a share
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-27 16:26:24 +07:00
Simon L da274d18ff
Merge pull request #37948 from nextcloud/artonge/fix/dont_show_tags_action_when_systemtag_is_disabled
Do not show Tags action when systemtag is disabled
2023-04-27 15:28:54 +07:00
Louis Chemineau f9c427ce63 Do not show Tags action when systemtag is disabled
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-27 13:53:21 +07:00
Côme Chilliet b6c17c6ce7
Clear up return types
usersInGroup index by int for BC, searchInGroup index by uid (string).

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 12:00:45 +07:00
Côme Chilliet 6385a5af36
Let OC\Group\Group handle the fallback and remove default implementation from ABackend
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 12:00:43 +07:00
Carl Schwan 35dc223500
Optimize retrieving display name when searching for users in a group
This is recurrent scenario that we are searching for users and then for
each users we fetch the displayName. This is inefficient, so instead try
to do one query to fetch everything (e.g. Database backend) or use the
already existing DisplayNameCache helper.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-04-27 11:57:45 +07:00
Côme Chilliet 967955358c
Add comment about Manager instance not being shared
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 11:21:53 +07:00
Côme Chilliet 1f83979699
Do not stop at the first PHP error/warning in files:scan
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 10:46:37 +07:00
Côme Chilliet 802363f0f6
Adapt Sync job tests to the constructor change
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 09:08:57 +07:00
Christopher Ng 966bc06e8d Create new file/folder labels
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-27 03:20:12 +07:00
Nextcloud bot 63912cc5c5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-27 02:28:35 +07:00
Joas Schilling 58a4861390
fix(settings): Fix title of profile scope options
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26 12:23:51 +07:00
Christoph Wurst 48edc27d25
chore: Improve possibly null getters
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-26 11:54:28 +07:00
Christoph Wurst 8f0025ced3
fix(contactsinteraction): Read, update or insert in DB transaction
The transaction guarantees there are no two concurrent inserts for the
same interaction.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-26 11:41:47 +07:00
Christoph Wurst 5d29a96b1c
Merge pull request #35121 from nextcloud/feat/dav-wrap-app-calendars
Feature: Provide access to app generated calendars through CalDAV
2023-04-26 11:15:01 +07:00
Simon L 222d9edc59
Merge pull request #37904 from nextcloud/bugfix/noid/file-widget-click
fix: Use proper link for navigating to files on click handler
2023-04-26 11:03:17 +07:00
Joas Schilling 1c0aae9c54
fix(provisioning_api): Don't allow to configure the same additional email multiple times
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26 08:41:37 +07:00
Nextcloud bot 278f6413c9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-26 02:28:10 +07:00
Simon L 9b7c360346
Merge pull request #33161 from vincentdh/master
Fix: External storage - exception for the handler whenSelectAuthMechanism
2023-04-26 00:14:07 +07:00
Ferdinand Thiessen 62c4ae78df Feature: Provide access to app generated calendars through CalDAV
This adds CalDAV support for app generated calendars,
which are registered to the nextcloud core.
This is done by adding a dav plugin which wraps
all ICalendarProviders into a Sabre plugin (inspired by the deck app).

Add unit test for AppCalendar wrapper plugin and calendar object implementation.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-04-25 18:11:49 +07:00
Julius Härtl b7d574807c fix: Use proper link for navigating to files on click handler
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-25 09:08:01 +07:00
Joas Schilling af214b6c13
Merge pull request #36378 from nextcloud/fix/improve-taint-analysis
Add missing taint analysis docblock comments, and improve escaping in…
2023-04-25 08:51:54 +07:00
Nextcloud bot e9aefb5251
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-25 02:22:46 +07:00
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>
2023-04-24 17:17:53 +07:00
Daniel 2abefff289
Merge pull request #36784 from nextcloud/fix/user_ldap-update-groups-fail-get
Properly test and log when a group is not found
2023-04-24 16:26:30 +07:00
Côme Chilliet 429db14a00
Fix multiple LDAP configuration support by fixing AccessFactory
It must not reuse the same OCA\User_LDAP\User\Manager instance for
 several Access instances.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-24 16:03:40 +07:00
Côme Chilliet e8a48b51dc
Merge pull request #37856 from march42/bugfix/ldap_profiledata_removed
removed profile data from LDAP will get removed
2023-04-24 14:11:16 +07:00
Joas Schilling 95c098170d
Merge pull request #37763 from nextcloud/techdebt/36014/require-scour-0.38.2-for-svg-optimization
chore(assets): Require scour 0.38.2 (Ubuntu LTS 22.04+) for SVG optimization
2023-04-24 11:53:37 +07:00
Simon L 51aa9e6fb6
Merge pull request #37895 from nextcloud/fix-make-grid-toggle-sticky
fix: make grid view button sticky
2023-04-24 11:43:33 +07:00
Louis c0076d9cc0
Merge pull request #37717 from nextcloud/artonge/fix/dont_override_stored_credentials_with_saml
Do not override stored credentials when login in with SAML
2023-04-24 11:30:43 +07:00
Marc Hefter 621c6c3c56
code styling
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@march42.net>
2023-04-24 10:21:45 +07:00
Marc Hefter aa210365ec
Update apps/user_ldap/lib/User/User.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@march42.net>
2023-04-24 10:14:17 +07:00
Joas Schilling f82c3d73e5
fix(assets): Optimize JPGs with jpegoptim 1.4.7
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 09:03:42 +07:00
Joas Schilling db55d5ba58
fix(assets): Optimize PNGs with optipng 0.7.7
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 09:01:38 +07:00
Joas Schilling f2afccfd56
fix(assets): Optimize SVGs with scour 0.38.2
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 08:59:38 +07:00
Nextcloud bot 8eda51de15
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-24 02:29:12 +07:00
Daniel Kesselberg 9aaff3ab22
fix: make grid view button sticky
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-04-23 21:02:43 +07:00
Nextcloud bot f4f6431d4d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-23 02:28:42 +07:00
John Molakvoæ 02d0a0e01b
chore(deps): Bump query-string from 7.1.1 to 8.1.0
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-22 17:37:42 +07:00
John Molakvoæ 1b119e10d0
Merge pull request #37866 from nextcloud/fix/files-vue 2023-04-22 11:49:57 +07:00
Nextcloud bot edc13fe6fe
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-22 02:28:13 +07:00
John Molakvoæ 51f2f56b4b
fix(files): do not execute the default action on folders
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:58:40 +07:00
Joas Schilling cca3b9495c
chore(autoloader): Update autoloaders with composer 2.5.5
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-21 15:53:55 +07:00
John Molakvoæ 4c0d23885d
fix(files): favorite marker css
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +07:00
John Molakvoæ 425932c770
fix(files): fileid attribute
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +07:00
John Molakvoæ ea9099a72f
feat(files): allow navigation entry removal
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +07:00
John Molakvoæ cae00d2e96
fix(files): paths store reactivity
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +07:00
John Molakvoæ 1de3666e16
feat(files): add dir file action parameter
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +07:00
John Molakvoæ 6e29560475
feat(files): add sidebar action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +07:00
John Molakvoæ 2b726fa2dd
fix(files): always force menu
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:33:08 +07:00
John Molakvoæ dd3d689e04
Merge pull request #37858 from nextcloud/fix/lock
Fix lockfile and update cypress
2023-04-21 15:25:06 +07:00
Robin Appelman 1bff4e23bf
Merge pull request #37525 from nextcloud/file-debug-info
add command for getting fileinfo for debugging
2023-04-21 14:18:05 +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
Marc Hefter e83520617d
removed profile data from LDAP will get removed
If attribute mapping is configured and no value present in LDAP, the
according profile field is emptied. Removing an attribute e.g. phone
from LDAP will cause the phone number being removed from profile.

Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-21 10:35:44 +07:00
Nextcloud bot c08026a92a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-21 02:28:39 +07:00
Joas Schilling 590c202797
Merge pull request #37826 from nextcloud/bugfix/noid/no-error-for-guests
fix(files): Don't throw an error when guests access the controller
2023-04-20 13:55:26 +07:00
Côme Chilliet 60b7d2117e
Merge pull request #37428 from nextcloud/enh/ignore-non-numeric-versions
Ignore and log non integer versions
2023-04-20 13:33:58 +07:00
Simon L 93966e99c1
Merge pull request #36565 from march42/feature/ldap_update_profile
[user_ldap] Update profile from LDAP fields
2023-04-20 11:23:24 +07:00
John Molakvoæ 0a2a1b4b52
feat(files): expose Files router
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-20 09:14:44 +07:00
John Molakvoæ bb4d7969b9
feat(files): add default action support
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-20 09:06:57 +07:00
John Molakvoæ c85c04e4a8
Merge pull request #37807 from nextcloud/fix/37373 2023-04-20 08:37:49 +07:00
Nextcloud bot 8799098d1f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-20 02:29:13 +07:00
Christopher Ng 177849cd3c Remove legacy systemtags code
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-19 16:52:06 +07:00
Christopher Ng ee81e2cef8 Add accessible system tags select
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-19 16:52:06 +07:00
Ferdinand Thiessen c17bfb2923 fix(files_external): Background color of external devices with errors should respect color theme
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-04-20 00:04:04 +07:00
Pytal c18a41a658
Merge pull request #37809 from nextcloud/fix/last-used 2023-04-19 11:52:09 +07:00
Joas Schilling 8b31d8204f
fix(files): Don't throw an error when guests access the controller
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-19 16:39:57 +07:00
Andy Scherzinger f5c4f55576
Merge pull request #37451 from Fenn-CS/fix/36437/deprecate-php-8.0
Deprecate PHP8.0
2023-04-19 15:28:12 +07:00
Simon L 5d195268b0
Merge pull request #37817 from nextcloud/Jerome-Herbinet-theming-patch-1
Improvement of the theme selection UI
2023-04-19 14:57:35 +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æ 6527fec10c
fix(files): forward arguments to store creation
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-19 12:03:53 +07:00
John Molakvoæ fb0fe5c01c
fix(files): fix sorting mixin usage
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-19 11:57:44 +07:00
Louis Chemineau d5e7682b6b Test StorePasswordListener
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-19 11:53:34 +07:00
Nextcloud bot 9db33055b2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-19 02:28:19 +07:00
Christopher Ng ee13dca9ff Dedupe last used tags
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-18 18:27:51 +07:00
Simon L c0dbcb22dc
Merge pull request #33434 from Jerome-Herbinet/patch-2
Highlight selected file version (Nextcloud Office)
2023-04-18 23:47:29 +07:00
Joas Schilling a3e854b3c7
Merge pull request #36854 from nextcloud/feature/36852/allow-to-revert-automated-status
Allow to revert automated status
2023-04-18 22:51:32 +07:00
Simon L 885d7e2051
Merge pull request #37175 from nextcloud/rakekniven-patch-1
fix(l10n): Fixed grammar
2023-04-18 15:53:03 +07:00
Jérôme Herbinet 4ec183fa33 Highlight selected file version (Nextcloud Office)
After my PR #32492 fail, I create a new PR.

Signed-off-by: Jérôme Herbinet <jerome.herbinet@arawa.fr>

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-18 15:38:13 +07:00
Maksim Sukharev 7455df35e3
fix(status): Store locally status message when editing
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2023-04-18 15:06:29 +07:00
Maksim Sukharev e2b377f85c
fix(status): Fix infinite loading of predefined statuses
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2023-04-18 15:06:08 +07:00
Joas Schilling c90d414fdf
fix(status): Correctly set the message and predefined message using the store
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:58:12 +07:00
Joas Schilling 90a817cee5
feat(status): Add a capability for the restore
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:58:12 +07:00
Joas Schilling 64776ff042
feat(user_status): Allow to manually revert an automated status
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:57:44 +07:00
Simon L 1a255379e8
Merge pull request #37766 from nextcloud/enh/noid/add-db-file-locking-check
add an admin check for db file locking
2023-04-18 13:31:57 +07:00
Simon L f74840f5b8
Merge pull request #37046 from max65482/fix_event_moving
Fix event moving issues
2023-04-18 12:36:41 +07:00
rakekniven 4fafd861b2 fix(l10n):Aligned spelling of ScienceMesh 2023-04-18 12:08:38 +07:00
rakekniven f7c115146f fix(l10n): Fixed grammar
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-04-18 12:08:38 +07:00
rakekniven 86b17e2248 Update apps/files_sharing/lib/Controller/ShareAPIController.php
Co-authored-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-04-18 12:08:38 +07:00
rakekniven eaaeb32074 fix(l10n): Fixed grammar
Reported at Transifex.
  
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>


Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-04-18 12:08:38 +07:00
Simon L 8fe22ebf60
Merge pull request #36617 from nextcloud/update/psr-container
chore: Update PSR container to 2.0.2
2023-04-18 11:40:12 +07:00
Simon L 564463c439
Merge pull request #32632 from nextcloud/smb-353
update icewind/smb to 3.5.4
2023-04-18 11:37:51 +07:00
Simon L e2ab9bf4af address review and fix tests
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 11:33:53 +07:00
Joas Schilling c634d71197
Merge pull request #37241 from nextcloud/feature/allow-any-image-size
Allow images of any size as profile pictures
2023-04-18 10:20:21 +07:00
Maximilian Martin c8985944ec fix event move issue
Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
2023-04-18 09:45:30 +07:00
John Molakvoæ d7ab8da1ef
feat(files): add view config service to store user-config per view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-18 09:02:01 +07:00
Nextcloud bot ff58cd5227
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-18 02:37:16 +07:00
Simon L 855e7a2efb
Merge pull request #36774 from nextcloud/bugfix/noid/sabre-nodes
fix: always use proper path on node api when calling the view
2023-04-18 04:11:44 +07:00
Simon L 96e7eaf2c7
Merge pull request #37762 from nextcloud/Jerome-Herbinet-patch-1
Fix wording meaning (placeholder)
2023-04-18 02:19:12 +07:00
Simon L 66ab45b8a0
Merge pull request #36528 from nextcloud/dav-backend-transations
CalDAV/CardDAV: put every method from backends that does multiple DB calls in transactions
2023-04-18 00:55:29 +07:00
fenn-cs 60a710c91c Deprecate PHP8.0
PHP8.0 would stop receiving security support on 26 Nov 2023
 hence this deprecation. Next, is the eventual drop of PHP8.0 before its EOL.

This commit also updates the message type from INFO to WARNING if the php
 on file has reached its EOL.

See: https://www.php.net/supported-versions.php

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-04-17 23:45:59 +07:00
Simon L 6afda50590
Merge pull request #37645 from nextcloud/fix/improve-imip-emails
fix(dav): Parse sender PARTSTAT in REPLYs
2023-04-17 23:49:16 +07:00
Julius Härtl d9c81f56ad tests: Adapt node related unit tests mocks to required root view
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-17 23:46:52 +07:00
Julius Härtl 160bd75d0a fix: Use proper path when creating node instances
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-17 23:46:52 +07:00
Simon L 1ef23e7708 Allow images of any size as profile pictures
Signed-off-by: Marco <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-17 17:18:00 +07:00
Ferdinand Thiessen dc9d8c42bb fix: Adjust console formatter code to match with Symfony type hints
Symfony has added type hints on the `OutputFormatterInterface`,
so we must adjust our type hints to match with Symfony.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-04-17 18:35:10 +07:00
Thomas Citharel ff3b69b21d refactor(dav): Since we're in a transaction, use QB properly when incrementing synctoken
Now that we're in a transaction, we can reuse the sync token's previous value without trouble, and rewrite the increment UPDATE query without dirty direct SQL.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-04-17 16:08:44 +07:00
Thomas Citharel c9a3129cb4 fix(CalDAV/CardDAV): put every method from Cal/CardDAV backends that does multiple DB calls in transactions
In a lot of methods we're doing read-after-writes (for instance calling
updateProperties after touching calendar objects).
There's also a lot of deleting methods that do stuff sequentially which
could cause trouble.
This should avoid this kind of issues.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-04-17 16:08:44 +07:00
Robin Appelman 30b7147a31 update icewind/smb to 3.5.4
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-17 16:06:17 +07:00
Robin Appelman 85a879894f update icewind/smb to 3.5.3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-17 16:06:17 +07:00
Christoph Wurst b952066140
Merge pull request #37724 from nextcloud/fix/encryption-signature-check-logic
Cleanup signature checking logic in encryption
2023-04-17 17:39:34 +07:00
Robin Appelman 60cf0c8f5f
add command for getting fileinfo for debugging
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-17 16:23:52 +07:00
Vincent Handfield da83464459 Fix: External storage - exception thrown for the handler whenSelectAuthMechanism
Signed-off-by: Vincent Handfield <vincent@accestech.com>
2023-04-17 15:49:25 +07:00
Simon L e63720b714
Merge pull request #36217 from nextcloud/handle-push-notification-with-no-calendar-name
Handle reminders where calendar name is null
2023-04-17 15:43:21 +07:00
Louis ed2b28b60d
Merge pull request #37764 from nextcloud/artonge/fix/disable_versions_feature_s3_versioning
Really disable versions features when S3 versioning is enabled
2023-04-17 15:32:47 +07:00