Commit graph

31446 commits

Author SHA1 Message Date
Côme Chilliet
672923f0a6
fix: Fix newly spotted psalm issues, add exhaustive typed magic properties for LDAP classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:23:58 +02:00
Nextcloud bot
fce8f97779
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-30 00:20:32 +00:00
SebastianKrupinski
9859a44908 fix(caldav): Do not load IMipPlugin before user auth and session is created
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-04-29 14:29:17 -04:00
Ferdinand Thiessen
c6f3aecef1
fix(files): Use string array instead of string for forbidden characters
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-29 17:15:00 +02:00
Ferdinand Thiessen
6a281f019c fix(files): Use OCP\Util::getForbiddenFileNameChars instead of direct access to system config
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-29 17:01:32 +02:00
Nextcloud bot
26cd6a3a4a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-29 00:20:36 +00:00
Nextcloud bot
b93724a515
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-28 00:20:16 +00:00
Nextcloud bot
6e94aba264
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-27 00:20:09 +00:00
Anna
10af08736e
Merge pull request #44938 from nextcloud/fix/remove-unknown-from-imip-service
fix(CalDAV): remove UNKNOWN from room / resource consideration
2024-04-26 13:16:29 +02:00
Nextcloud bot
94282863cb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-26 00:21:00 +00:00
Nextcloud bot
1f2ad209b3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-25 00:20:44 +00:00
Julius Härtl
153705d17c
Merge pull request #45001 from nextcloud/bugfix/noid/convert-exceptions-to-sabre-exceptions
fix(DAV): Migrate known exceptions to Sabre exceptions when copying
2024-04-24 18:29:14 +02:00
Joas Schilling
d2c9cf4b5f
fix(DAV): Migrate known exceptions to Sabre exceptions when copying
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-24 07:18:47 +02:00
Joas Schilling
5640fb977b
fix(migration): Bump files_trashbin version to trigger migration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-24 07:10:06 +02:00
Nextcloud bot
878538ca54
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-24 00:20:17 +00:00
Christopher Ng
583517eb38 feat(trashbin): Add deleted by properties
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-23 16:20:41 -07:00
Christopher Ng
caed644c03 chore(trashbin): Add method to get deleted by from trash item
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-23 16:20:41 -07:00
Christopher Ng
b41834fb8d chore(trashbin): Store deleted by user
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-23 15:15:02 -07:00
Christopher Ng
e2145b1377 chore(trashbin): Add deleted_by column to files_trash
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-23 15:15:02 -07:00
Ferdinand Thiessen
c75aac688b
Merge pull request #44982 from nextcloud/fix/account-list
fix(provisioning_api): Show warning but do not fail when listing accounts in case of users removed from backend but still in database
2024-04-23 12:38:01 +02:00
Pytal
aa4e0bbcc9
Merge pull request #44973 from nextcloud/feat/legal-privacy-links
feat: Add legal notice and privacy policy links to help page
2024-04-23 01:32:31 -07:00
Ferdinand Thiessen
d566e1222d
fix(provisioning_api): Show warning but do not fail when listing accounts in case of users removed from backend but still in database
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Louis <louis@chmn.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-23 10:28:17 +02:00
Nextcloud bot
8b8463e126
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-23 00:20:44 +00:00
Christopher Ng
3082bdc788 feat: Update help entry name
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-22 15:19:59 -07:00
Christopher Ng
2b04a80f90 feat: Add legal notice and privacy policy links to help page
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-22 15:19:59 -07:00
Louis
097f04c8b7
Merge pull request #44858 from nextcloud/artonge/feat/support_multiple_scope_in_dav_search
Support multiple scopes in DAV search
2024-04-22 17:24:55 +02:00
Côme Chilliet
733a818139
fix: Migrate a few more classes away from OC_App::getAppPath
Also fixed AppTest

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 12:19:01 +02:00
Côme Chilliet
7f0d2ada50
Merge pull request #44860 from nextcloud/fix/remove-unicode-logs-user-ldap
fix(user_ldap): Remove unicode character from log lines
2024-04-22 11:06:39 +02:00
Nextcloud bot
aff3e65806
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-22 00:20:58 +00:00
Nextcloud bot
864e4e7ea2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-21 00:20:29 +00:00
Nextcloud bot
2be7b12fd5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-20 00:20:02 +00:00
Anna Larch
a28f264783 fix(CalDAV): remove UNKNOWN from room / resource consideration
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-04-19 21:22:17 +02:00
Nextcloud bot
fc560d8ec9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-19 00:20:24 +00:00
Ferdinand Thiessen
92fc15e75f
Merge pull request #44904 from nextcloud/fix/transfer-ownership
fix(files): Also restore shares after ownership transfer for object storage
2024-04-18 15:59:36 +02:00
Joas Schilling
2223e0959f
Merge pull request #44916 from nextcloud/followup/44910/share-date-time
fix(sharing): Don't change the type of the controller argument
2024-04-18 15:51:49 +02:00
Ferdinand Thiessen
a540f54359
Merge pull request #44839 from nextcloud/improve-share-with-details
fix(sharingDetails): Show correct share target
2024-04-18 15:01:27 +02:00
Joas Schilling
490f545006
fix(sharing): Don't change the type of the controller argument
[EA] New value type (\DateTime) is not matching the resolved parameter type and might introduce types-related false-positives.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-18 14:31:45 +02:00
Ferdinand Thiessen
38f4451a23
fix(files): Also restore shares after ownership transfer for object storage
When a file is moved between different storages then the file id is not (always) preserved.
This means the file id has to be adjusted for all shares.

So in case the file id does not exist anymore we try to find the new file id based on the
target path of the transfer and the path suffix of the share.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-18 13:51:47 +02:00
Ferdinand Thiessen
78cef3b0e0
Merge pull request #44859 from nextcloud/feat/add-ldap-connection-setup-check
feat(user_ldap): Add setup check to verify connection configuration
2024-04-18 13:36:10 +02:00
fenn-cs
8ec15c44b0 fix(sharingDetails): Show correct share target
The share details page should show the target email or user/server to which
the user is creating the share.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-04-18 11:12:14 +01:00
fenn-cs
ec8a0a6267 fix(shareApiController): avoid duplicated expiryDate operations
`expireDate` can be set once and used anywhere needed, the current implementation,
duplicates this behavior which leads to `parseDate` receiving an a date object it
parsed and returend earlier in the createShare method.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-04-18 02:01:13 +01:00
fenn-cs
9a0913afdc refactor(shareApiController): use contrusctor property promotion & DI logger
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-04-18 02:01:08 +01:00
Nextcloud bot
5447dd3483
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-18 00:20:32 +00:00
Pytal
8fb6d15142
Merge pull request #44805 from nextcloud/fix/selected-files-count
fix(files): Display selected files count
2024-04-17 16:23:06 -07:00
Ferdinand Thiessen
6c9ca8b025
fix(comments): Fix issues thrown by comments sidebar tab code
When the comments tab is used instead of the merged activity+comments, then some issues are throws due to prop altering and duplicated names (resourceId as prop and data).

This is fixed as well as some other vue related errors in the sidebar

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 20:09:14 +02:00
Christopher Ng
a999544ff2 fix(files): Display selected files count
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-17 10:32:03 -07:00
Ferdinand Thiessen
f865f44767
Merge pull request #44882 from nextcloud/fix/files-search-clearing
fix(files): Clear search filter when changing directory or view
2024-04-17 16:13:21 +02:00
Joas Schilling
f325e404d6
Merge pull request #44878 from nextcloud/bugfix/44877/keep-manually-restored-status
fix(status): Update status time when reverting to it manually
2024-04-17 15:18:35 +02:00
Ferdinand Thiessen
16eebd3743
fix(files): Ensure search query is cleared when changing view or directory
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 14:06:29 +02:00
Ferdinand Thiessen
a86c1131d7
Merge pull request #44869 from nextcloud/fix/systemtags-input-label
fix(systemtags): Use built-in input label to satisfy a11y check of NcSelect
2024-04-17 12:47:09 +02:00
Louis Chemineau
ac0acfbbd5
feat(dav): Support multiple scopes in DAV search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-04-17 12:33:49 +02:00
Joas Schilling
587a056db3
fix(status): Update status time when reverting to it manually
This prevents the DAV meeting status from overwriting it again

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-17 11:32:16 +02:00
Nextcloud bot
4c1d4aeccb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-17 00:20:38 +00:00
Ferdinand Thiessen
5173838724
fix(systemtags): Use built-in input label to satisfy a11y check of NcSelect
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 00:40:42 +02:00
Ferdinand Thiessen
e545eee210
fix(files): Do not show files from hidden folders in "Recent"-view if hidden files are disabled by user
Needed to adjust the store creation to be able to inject pinia before the vue app is initialized.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-16 23:52:09 +02:00
Ferdinand Thiessen
25fa8c42a0
Merge pull request #44849 from nextcloud/fix/drop-old-dependencies
fix: Drop unmaintained and unused dependencies
2024-04-16 19:52:38 +02:00
Côme Chilliet
3ad4bbb096
Merge pull request #44658 from nextcloud/fix/migrate-away-from-resource-type
fix: Remove obsolete resource typing
2024-04-16 17:13:07 +02:00
Côme Chilliet
9bf3d5a73a
fix(user_ldap): Remove unicode character from log lines
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-16 17:02:10 +02:00
Côme Chilliet
d546b9ffb9
feat(user_ldap): Add setup check to verify connection configuration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-16 16:57:21 +02:00
Ferdinand Thiessen
33c4ddd640
Merge pull request #44847 from nextcloud/fix/files-focus-new-node-dialog
fix(files): Focus filename input in new-node dialog when opened
2024-04-16 13:57:32 +02:00
Ferdinand Thiessen
e883e3c73a
fix: Drop unmaintained and unused dependencies
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-16 13:46:25 +02:00
Ferdinand Thiessen
7eec3b5a72
Merge pull request #44761 from nextcloud/fix/deps-webauthn-lib
fix(deps): Bump web-auth/webauthn-lib from 3.3.9 to 4.8.5
2024-04-16 12:57:34 +02:00
Ferdinand Thiessen
dec0d91468
fix(files): Focus filename input in new-node dialog when opened
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-16 12:55:50 +02:00
Pytal
90281375a3
Merge pull request #44806 from nextcloud/chore/widget-primary-color
chore(files): Switch widget to primary color
2024-04-16 03:19:13 -07:00
Ferdinand Thiessen
3880e4c8d7
fix: Use @simplewebauthn for frontend logic
This simplifies the code a lot and fixes errors with the exisiting custom code,
where slightly different base64 values were emitted which are not valid according to the standard.

ref: https://github.com/web-auth/webauthn-framework/issues/510

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-16 11:51:03 +02:00
Ferdinand Thiessen
bbe3f4a880
fix(files): Inherit some node attributes when creating new nodes to preserve shared state
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-16 11:24:57 +02:00
Ferdinand Thiessen
c821f28014
fix(files): Sanitize share-types attribute in download action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-16 11:24:57 +02:00
Nextcloud bot
fea0278947
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-16 00:31:24 +00:00
Robin Appelman
1d34f0a824 feat: cleanup filecache_extended items by default
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-04-15 20:30:57 +02:00
Daniel Kesselberg
2f6cc92491 feat: remove orphaned entries from filecache_extended
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-04-15 20:30:57 +02:00
Christopher Ng
ccede9b2ad chore: Switch widget to primary color
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-15 10:58:51 -07:00
provokateurin
015f582532
chore(deps): Update openapi-extractor
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-04-15 09:10:59 +02:00
Nextcloud bot
1ce3ae8a30
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-15 00:19:41 +00:00
Nextcloud bot
42c36c152b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-14 00:19:56 +00:00
Nextcloud bot
299e668502
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-13 00:20:50 +00:00
Nextcloud bot
715077ea70
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-12 00:20:11 +00:00
Joas Schilling
6041c7f485
Merge pull request #44771 from nextcloud/fix/39941/fed-trusted-race-condition
fix(federation): give some time to prepare both servers
2024-04-11 11:32:17 +02:00
Arthur Schiwon
faf6a65e07
fix(federation): give some time to prepare both servers
- when this background job runs, while the current server was not being
  added as trusted_server in the other instance, yet, the secret sharing
  would not be attempted again, without visual feedback.
- the change allows 5 attempts, which gives more than 20minutes to
  complete. More do not really help as the endpoint is brute force
  protected.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-04-11 10:49:46 +02:00
Nextcloud bot
8f517325f5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-11 00:20:46 +00:00
Arthur Schiwon
e70cf9c14b
Merge pull request #44350 from nextcloud/fix/noid/ldap-check-user-escape
fix(LDAP): escape DN on check-user
2024-04-10 12:02:13 +02:00
Nextcloud bot
4fb4d2b936
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-10 00:19:46 +00:00
Eduardo Morales
0213fb6b5d
fix(Cypress): Adjust tests for new breadcrumbs
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-04-10 01:17:53 +02:00
Ferdinand Thiessen
f6b1fd41c9
fix(files): Hide full view name on small mobile to prevent overflow
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-04-10 01:17:53 +02:00
Eduardo Morales
de47a9ef11
fix(breadcrumbs): Improved breadcrumb progress bar mobile rendering
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-04-10 01:17:53 +02:00
Côme Chilliet
2c0718b912
fix(user_ldap): Fix LDAP tests with new typing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-09 11:24:38 +02:00
Côme Chilliet
6d7ff2e85a
fix: Fix typing issues related to resource migration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-09 10:48:27 +02:00
Julius Härtl
4910e7e231
fix: Pass the mountpoint target user to storages without owner
Storages that do not have a dedicated owner (e.g. groupfolders, external
storages) currently always assume the current session user as the owner.
This leads to several issues when there is no user session but a node is
obtained through a user folder.

In order to have the correct user available we need to pass the user
that is used to setup a mountpoint along to the storage layer as we
generally assume that an owner is available for those.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-04-09 09:04:24 +01:00
Côme Chilliet
d6a94c60ce fix: Add missing psalm-assert to isResource
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-09 10:01:47 +02:00
Côme Chilliet
72a0da6d4e fix: Fix small psalm errors in FTP and LDAP connections
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-09 10:01:47 +02:00
Côme Chilliet
d4229f9f59 fix(user_ldap): Fix tests using wrong types
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-09 10:01:47 +02:00
Côme Chilliet
0f348516d2 fix: Remove obsolete resource typing
In PHP>=8.1, LDAP and FTP resources are always typed objects

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-09 10:01:47 +02:00
Nextcloud bot
10779fcabe
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-09 00:20:02 +00:00
Louis
659307ea02
Merge pull request #44714 from nextcloud/artonge/fix/call_davGetFavoritesReport_after_init
Call davGetFavoritesReport after the registration of propfind properties
2024-04-08 23:43:50 +02:00
provokateurin
f8ab422d81
chore(deps): Update openapi-extractor
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-04-08 20:09:24 +02:00
Louis Chemineau
c4534e8963
fix(files): Call davGetFavoritesReport after the registration of propfind properties
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-04-08 13:38:15 +02:00
Côme Chilliet
ab6afe0111 fix: Fix new psalm errors from update
Not sure about the SimpleContainer modification, let’s see what CI says
 about that.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-08 11:29:09 +02:00
Richard Steinmetz
9ef70f0c4e feat: drop support for php 8.0
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-04-08 11:28:54 +02:00
Nextcloud bot
1fb5486059
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-08 00:20:04 +00:00
Nextcloud bot
1001d41197
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-07 00:20:11 +00:00
Nextcloud bot
b39630f45c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-06 00:20:41 +00:00