Compare commits

...

2848 Commits

Author SHA1 Message Date
John Molakvoæ 7a6508b853 Merge pull request #43887 from nextcloud/release/27.1.7 2024-02-29 08:45:50 +01:00
John Molakvoæ 97abb99c84 Merge pull request #43868 from nextcloud/backport/43768/stable27 2024-02-29 08:33:10 +01:00
Nextcloud bot 45a20b6179 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-29 00:20:39 +00:00
skjnldsv 77f788d4ca 27.1.7
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-02-28 10:41:52 +01:00
Louis Chemineau fcc239667f fix(dav): Init ViewOnlyPlugin after auth
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-28 10:17:28 +01:00
Nextcloud bot def0b05c44 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-28 00:28:47 +00:00
Nextcloud bot f300f6b9e2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-27 00:20:01 +00:00
Nextcloud bot 259073f806 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-26 00:19:41 +00:00
Nextcloud bot 7514c058d4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-25 00:20:53 +00:00
Nextcloud bot 86507d04bc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-24 00:19:59 +00:00
Nextcloud bot d8f7422e54 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-23 00:19:50 +00:00
John Molakvoæ d466162fbf Merge pull request #43717 from nextcloud/release/27.1.7rc2 2024-02-22 20:36:48 +01:00
John Molakvoæ 9fc58081bb Merge pull request #43772 from nextcloud/chore/wait-for-copy-27 2024-02-22 20:36:19 +01:00
John Molakvoæ a891cbc21b Merge pull request #43580 from nextcloud/artonge/fix/metdata_column_migration 2024-02-22 20:33:42 +01:00
John Molakvoæ f9c66bcbf1 Merge pull request #43767 from nextcloud/chore/27-update-dialogs 2024-02-22 20:32:58 +01:00
Ferdinand Thiessen 300dfe1dd5 fix(cypress): Wait for copy before continue
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-22 19:58:55 +01:00
John Molakvoæ fc4b5fc1e9 Merge pull request #43556 from nextcloud/fix/42364/allow-multi-select-for-files-when-clicking-checkbox 2024-02-22 19:31:34 +01:00
John Molakvoæ 87fc74841e Merge pull request #41006 from nextcloud/backport/40879/stable27 2024-02-22 18:50:08 +01:00
Louis Chemineau 261efaafd3 Move oc_file_metadata.metadata migration to a background job
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-22 18:12:30 +01:00
Ferdinand Thiessen ba760fb66b chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-22 16:13:10 +00:00
Ferdinand Thiessen e5291e8a5d chore(deps): Update @nextcloud/dialogs to 4.2.6
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-22 16:54:43 +01:00
John Molakvoæ fb0a2d54fb Merge pull request #43752 from nextcloud/backport/43732/stable27 2024-02-22 16:45:05 +01:00
Eduardo Morales abcbea3eac fix: checkbox now allows shift-click and multi-select
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-02-22 09:25:22 -06:00
skjnldsv 6453bf74ce 27.1.7rc2
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-02-22 12:11:23 +01:00
Christoph Wurst 844a1b47f5 fix(dav): Rate limit calendar/subscription creation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-22 10:47:24 +01:00
John Molakvoæ 245a439d47 Merge pull request #43740 from nextcloud/backport/43727/stable27 2024-02-22 10:45:17 +01:00
John Molakvoæ 9d7abdd08c Merge pull request #43686 from nextcloud/backport/43661/stable27 2024-02-22 10:42:31 +01:00
John Molakvoæ 8d453cb1d5 Merge pull request #43725 from nextcloud/backport/43653/stable27 2024-02-22 10:42:18 +01:00
John Molakvoæ f093ab6402 Merge pull request #43670 from nextcloud/backport/43637/stable27 2024-02-22 10:41:36 +01:00
John Molakvoæ 0386641984 Merge pull request #43734 from nextcloud/backport/40474/stable27 2024-02-22 08:31:57 +01:00
Nextcloud bot 71442fba7f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-22 00:19:51 +00:00
Joas Schilling 91e80c0a5d Merge pull request #43715 from nextcloud/backport/43712/stable27
[stable27] fix: Add bruteforce protection to federation endpoint
2024-02-21 21:58:52 +01:00
Louis Chemineau 0820481e83 Hide some actions based on node permissions and share attributes
Signed-off-by: Louis Chemineau <louis@chmn.me>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-21 21:47:50 +01:00
Louis Chemineau 1c4cfa1ee0 Check permissions when labeling a version
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-21 21:47:50 +01:00
Louis Chemineau d8026de6b3 Check node permissions when restoring a version
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-21 21:47:50 +01:00
Louis Chemineau b48b153ac6 Check node permissions when deleting a version
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-21 21:47:50 +01:00
Louis Chemineau 5606cadae7 Check share attributes when downloading versions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-21 21:47:50 +01:00
Ferdinand Thiessen 5e8c5408ec fix(dav): Adjust tests as we no longer set a status on REPORT
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-21 20:45:28 +01:00
John Molakvoæ 6734dea780 Merge pull request #43707 from nextcloud/backport/43701/stable27 2024-02-21 18:16:22 +01:00
John Molakvoæ cb5020483e fix(dav): report status
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-02-21 17:08:36 +00:00
John Molakvoæ 709e785b53 Merge pull request #43724 from nextcloud/backport/43664/stable27 2024-02-21 17:27:04 +01:00
Josh e27ac4c9f3 fix(security): Describe occ security:bruteforce:attempts accurately
This command is used to list a summary of brute force protection attempts associated with a given IP address and, optionally, a specific action. It does not reset attempts (there's already another command for that).

Signed-off-by: Josh <josh.t.richards@gmail.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2024-02-21 14:31:42 +00:00
Richard Steinmetz 8e67575a71 perf: skip request without read permission
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-02-21 12:48:30 +00:00
Joas Schilling c932916a82 fix(federation): Add bruteforce protection to federation endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-21 11:07:12 +01:00
Julien Veyssier 9f40df789b compile assets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-21 09:38:07 +00:00
Julien Veyssier 687e9418d4 stop the auto-logout loop after redirecting to the logout
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-02-21 09:35:00 +00:00
nextcloud-command 8d386ed6a2 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-21 09:54:32 +01:00
fenn-cs 15e2b5cf3d Fix undefined share object during expirationDate update
In 04e8733721 a regression was introduced.

`this` means nothing inside arrow functions, hence this.share was referring to

an undefined object and so all attempted updates for expiration dates would fail.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-02-21 09:54:32 +01:00
Nextcloud bot dd291e1a16 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-21 00:19:25 +00:00
Git'Fellow ebcd8c0a47 Move away from deprecated utf_encode() on PHP 8.2+
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-02-20 08:37:05 +00:00
Nextcloud bot 6ffffc218a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-20 00:19:21 +00:00
Nextcloud bot 374427b91d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-19 00:19:17 +00:00
Nextcloud bot 8031c6919c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-18 00:20:08 +00:00
Nextcloud bot 1ca914b857 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-17 00:19:22 +00:00
Nextcloud bot 56db673841 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-16 00:19:35 +00:00
Julius Härtl 77e94a7ba5 Merge pull request #43594 from nextcloud/backport/43570/stable27
[stable27] chore: Remove old theming migration steps as they are only needed once
2024-02-15 22:11:03 +01:00
John Molakvoæ 47211e654f Merge pull request #43480 from nextcloud/release/27.1.7_rc1 2024-02-15 11:04:18 +01:00
Joas Schilling 064f16b38b Merge pull request #43597 from nextcloud/backport/43593/stable27
[stable27] fix: Add bruteforce protection to email endpoint
2024-02-15 09:30:29 +01:00
Joas Schilling 64733fb590 fix: Add bruteforce protection to email endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-15 08:15:22 +01:00
Julius Härtl b75acb2dd9 chore: Remove old theming migration steps as they are only needed once
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-15 07:55:19 +01:00
Nextcloud bot 2f40639707 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-15 00:20:19 +00:00
John Molakvoæ 79cf56b3e1 Merge pull request #43350 from nextcloud/backport/41617/stable27 2024-02-14 17:32:39 +01:00
Louis Chemineau 035b009843 Handle error in previews for files versions
Signed-off-by: Louis Chemineau <louis@chmn.me>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-14 17:23:09 +01:00
F. E Noel Nfebe e2e226d856 Merge pull request #42780 from nextcloud/backport/42126/stable27
[stable27] Tooltip outside click, should abort share creation
2024-02-14 06:36:33 +01:00
Nextcloud bot 1b2f3114ab Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-14 00:19:58 +00:00
nextcloud-command db6a04180e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-13 22:12:28 +00:00
fenn-cs 2806fc307b Allow user to finish typing date before formatting
Debounce `onExpirationChange` to avoid calling `formatDateToString`
on invalid on uncompletely inputed date strings.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-02-13 22:49:26 +01:00
fenn-cs 6dddd3e978 Tooltip outside click, should abort share creation
It's unexpected that click outside a tooltip would proceed with the
 action that could be carried out inside the tooltip.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-02-13 22:49:26 +01:00
Joas Schilling 2c6d11d2b9 Merge pull request #43545 from nextcloud/backport/43519/stable27
[stable27] fix(sharing): Move video verification option to password and hide without Talk
2024-02-13 15:29:06 +01:00
nextcloud-command 2c20cb9ff0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-13 11:15:16 +00:00
Joas Schilling e38e5b7e0e fix(sharing): Move video verification option to password and hide without Talk
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-13 10:05:48 +00:00
Benjamin Gaussorgues 1603a67fe2 Merge pull request #43522 from nextcloud/backport/43349/stable27 2024-02-13 09:31:15 +01:00
Nextcloud bot 0d3addc36d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-13 00:19:35 +00:00
Benjamin Gaussorgues a6c3f8dd49 fix(files_external): list root when using SMB case-insensitive option
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-02-12 15:14:11 +01:00
Git'Fellow 0e6714dab9 Merge pull request #43513 from nextcloud/backport/40067/stable27
[stable27] fix: make cancelOperation public
2024-02-12 12:58:27 +01:00
Nextcloud bot aa0ff0fdd6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-12 00:19:22 +00:00
Nextcloud bot 1907af6d50 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-11 00:19:50 +00:00
Daniel Kesselberg d91e15244e fix: make cancelOperation public
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-02-10 16:18:10 +00:00
Git'Fellow 7e1fc484fc Merge pull request #43510 from nextcloud/backport/42991/stable27
[stable27] Lower failed movie preview generation logs to level info
2024-02-10 16:53:54 +01:00
Git'Fellow 7f0a4e786c Lower failed movie preview to info
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-02-10 12:47:07 +00:00
Joas Schilling fb909f671e Merge pull request #43504 from nextcloud/automated/noid/stable27-update-code-signing-crl
[stable27] fix(security): Update code signing revocation list
2024-02-10 13:26:33 +01:00
nextcloud-command ebc13c2d9e fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2024-02-10 02:12:32 +00:00
Nextcloud bot 81e26506f9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-10 00:20:14 +00:00
Joas Schilling 75329bdf70 Merge pull request #43303 from nextcloud/backport/43296/stable27
[stable27] fix kerberos test successfull authentication detection
2024-02-09 15:14:53 +01:00
Benjamin Gaussorgues e0977d077e 27.1.7 RC1
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-02-09 13:30:12 +01:00
Benjamin Gaussorgues d3252caeed Merge pull request #43038 from nextcloud/fix/36463/preview-not-generated-stable27 2024-02-09 11:26:59 +01:00
Christoph Wurst bcd7d59a20 fix(session): Do not log fresh/empty session as error
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-09 11:10:28 +01:00
Christoph Wurst db8252e82c fix(session): Log when crypto session data is lost
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-09 11:10:28 +01:00
Joas Schilling 436759f317 Merge pull request #43455 from nextcloud/backport/43435/stable27
[stable27] do not break personal settings page is viewer is not there
2024-02-09 11:06:26 +01:00
Benjamin Gaussorgues 92df765457 Merge pull request #43246 from nextcloud/backport/41327/stable27 2024-02-09 10:31:11 +01:00
Git'Fellow ef786616ec Merge pull request #43390 from nextcloud/backport/43131/stable27
[stable27] fix(files): Don't attempt to format a partial cache entry
2024-02-09 10:25:03 +01:00
Pytal 59caee00d0 Merge pull request #43368 from nextcloud/fix/trashbin-parse-dav
[stable27] fix: Fix resolved nextcloud/files dep version
2024-02-08 17:13:16 -08:00
Nextcloud bot 7fffac77b1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-09 00:19:58 +00:00
Christopher Ng c30c219657 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-02-08 16:16:07 -08:00
Christopher Ng c020561a72 fix(settings): Fix incorrect user quota on page reload in non-English locales
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-02-08 16:16:06 -08:00
Christopher Ng 9b164540d5 fix: Fix resolved nextcloud/files dep version
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-02-08 15:46:06 -08:00
Simon L 86c8584cf0 fix psalm
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-02-08 13:39:48 +00:00
Simon L c5cb2e86e3 do not break personal settings page is viewer is not there
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-02-08 13:39:48 +00:00
Robin Appelman cd15c30619 Merge pull request #43420 from nextcloud/backport/41015/stable27
[stable27] continue background scanning different storages if one fails
2024-02-08 10:16:54 +01:00
Nextcloud bot 736c9d7b1e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-08 00:20:05 +00:00
Robin Appelman 00b9002785 continue background scanning different storages if one fails
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-07 09:07:40 +00:00
Matthieu Gallien 0620426726 Merge pull request #43374 from nextcloud/automated/noid/stable27-update-code-signing-crl
[stable27] fix(security): Update code signing revocation list
2024-02-07 09:13:44 +01:00
nextcloud-command d72e9faf6d fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2024-02-07 02:11:35 +00:00
Nextcloud bot 462e42645c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-07 00:19:27 +00:00
Christoph Wurst d4e01fb0a1 fix(files): Don't attempt to format a partial cache entry
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-06 12:52:45 +00:00
Nextcloud bot b84ee66baa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-06 00:19:27 +00:00
Côme Chilliet 3ad0dfb582 Merge pull request #43293 from nextcloud/backport/42811/stable27
[stable27] make failure to load app commands non-fatal
2024-02-05 13:55:57 +01:00
Joas Schilling bfe2cd314e fix(CI): Checkout correct app branch
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-05 09:39:32 +01:00
Nextcloud bot a71b6ae432 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-05 00:19:56 +00:00
Ferdinand Thiessen e536daea5d Merge pull request #43279 from nextcloud/backport/43024/stable27
[stable27] Consider admin defaults when creating shares
2024-02-04 18:45:39 +01:00
nextcloud-command 2fa7b6e068 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-04 11:01:32 +00:00
fenn-cs 080390976f Use @nextcloud/capabilities to obtain share api defaults
- Remove redundant initial state added

- Call `getCapabilities()` in share config file.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-02-04 11:44:15 +01:00
fenn-cs 73f0f7c198 Consider admin defaults when creating shares
The current share logic always uses the default `BUNDLED_PERMISSIONS.ALL`
which includes everything.

This commit updates share creation logic to use `defaultPermissions` if set
by admin for the creation of new shares.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-02-04 11:44:15 +01:00
Nextcloud bot 29e9529119 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-04 00:19:48 +00:00
Marcel Klehr b410c0fbf5 Merge pull request #43259 from nextcloud/fix/erroneous-nextcloud-files-update
[stable27] Roll back erroneous nextcloud/files update
2024-02-03 13:24:43 +01:00
nextcloud-command 9ab55c45b9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-03 11:25:36 +00:00
Marcel Klehr e79aded3d4 Merge branch 'stable27' into fix/erroneous-nextcloud-files-update 2024-02-03 12:04:25 +01:00
Nextcloud bot ba510eacbb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-03 00:19:33 +00:00
Robin Appelman 60c0233f62 fix successfull authentication detection
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-02 18:37:54 +00:00
Marcel Klehr 3c2ba5b9cd Update package-lock.json
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-02-02 16:14:59 +01:00
Marcel Klehr 31c5b47b04 Partially revert "fix(Users/Quota setting): Prevent floating point value from getting truncated in locales other than english"
This partially reverts commit fa2cf8d805.

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-02-02 16:14:59 +01:00
Marcel Klehr eac66df82d Revert "fix(trashbin) Switch parseWebdavPermissions->davParsePermissions"
This reverts commit b76f446679.

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-02-02 16:14:59 +01:00
Robin Appelman 226fa9b039 make failure to load app commands non-fatal
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-02 15:00:52 +00:00
Nextcloud bot 2072d73156 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-02 00:19:52 +00:00
Nextcloud bot db036ae84e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-01 00:19:21 +00:00
Robin Appelman 7c8d71d0a0 also updated parent etags when a changed etag is detected during scanning
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-31 18:28:05 +00:00
Robin Appelman 14678e6bca add test for updating etag with unchanged mtime in child folder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-31 18:28:05 +00:00
Robin Appelman 0b0efed67a add test for updating etag with unchanged mtime
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-31 18:28:05 +00:00
Robin Appelman 90c57a6700 dont reuse etag for folders marked explicitly unscanned
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-31 18:28:05 +00:00
Nextcloud bot 1c4162bddf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-31 00:19:41 +00:00
Pytal 7d81d066a8 Merge pull request #43216 from nextcloud/fix/missing-dialogs-translations
fix: Update `@nextcloud/dialogs` to 4.2.4 to include missing translations
2024-01-30 10:32:51 -08:00
Ferdinand Thiessen 9b3136c280 fix: Update @nextcloud/dialogs to 4.2.4 to include missing translations
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-30 17:12:37 +01:00
Arthur Schiwon 9ec107ad25 Merge pull request #43182 from nextcloud/backport/42930/stable27
[stable27] Fix: config param 'overwritecondaddr' not working
2024-01-30 16:33:37 +01:00
Joas Schilling 5147fcb497 Merge pull request #43193 from nextcloud/backport/42794/stable27
[stable27] fix(Request): Catch exceptions in `isTrustedProxy`
2024-01-30 11:33:04 +01:00
Nextcloud bot 4b35c5bfc6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-30 00:19:27 +00:00
Ferdinand Thiessen 36a658e987 fix(Request): Catch exceptions in isTrustedProxy
The function fails if the configured trusted proxies contain invalid characters and the underlying IpUtils will throw.
But as it is used by `getRemoteAddress` which is used by logging / templating, thrown errors are not reported but silently fail with error 500.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-29 15:24:21 +00:00
Arthur Schiwon 6490e50bb9 test(unit): fix RequestTest
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-01-29 09:59:35 +00:00
Pavel Kryl 6c9f968888 code style: ommited space, reverted [code review] 2024-01-29 09:59:35 +00:00
Pavel Kryl 55991f93c2 fixing bug #6914: Config Param 'overwritecondaddr' not working
- just ignoring/removing extra parameter 'protocol' as suggested by
  blizzz

Signed-off-by: Pavel Kryl <pavel@kryl.eu>
2024-01-29 09:59:35 +00:00
Louis 15d3515d6d Merge pull request #43128 from nextcloud/backport/43047/stable27
[stable27] Buffer chunked requests
2024-01-29 10:09:59 +01:00
Nextcloud bot 0fd7f5f554 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-29 00:19:44 +00:00
Nextcloud bot bc9b67a9bb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-28 00:19:24 +00:00
Nextcloud bot 9252789576 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-27 00:38:48 +00:00
Robin Appelman d0a7327337 Merge pull request #43125 from nextcloud/backport/43078/stable27
[stable27] handle storage not available when expiring versions
2024-01-26 15:39:15 +01:00
Ferdinand Thiessen c7cf447456 Merge pull request #43136 from nextcloud/jr/fix/trashbin-parse-files-api
[stable27 ONLY] fix(trashbin) Switch parseWebdavPermissions->davParsePermissions
2024-01-26 14:36:10 +01:00
Nextcloud bot af28d04187 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-26 00:19:31 +00:00
Josh b76f446679 fix(trashbin) Switch parseWebdavPermissions->davParsePermissions
Fixes #43134

Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-25 22:41:53 +00:00
Ferdinand Thiessen 075847d07d Merge pull request #43092 from nextcloud/fix/27-router
[stable27] chore: Update `@nextcloud/router` to 2.2.1
2024-01-25 19:12:01 +01:00
Louis Chemineau bf67fc7405 Buffer chunked requests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-25 16:33:36 +00:00
Robin Appelman 6d91e581f7 handle storage not available when expiring versions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-25 16:28:12 +00:00
Benjamin Gaussorgues 2543c49ea0 Merge pull request #43096 from nextcloud/release/27.1.6
27.1.6
2024-01-25 10:56:00 +01:00
Nextcloud bot b1a6a3f1ef Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-25 00:19:33 +00:00
Arthur Schiwon 6d7fc80efe 27.1.6
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-01-24 20:51:55 +01:00
Ferdinand Thiessen 9a92f9e7cc fix(tests): Adjust legacy tests for nextcloud-router update
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-24 19:28:52 +01:00
Ferdinand Thiessen fda0af4223 chore: Update @nextcloud/router to 2.2.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-24 18:42:27 +01:00
Matthieu Gallien a7e46e8344 Merge pull request #43068 from nextcloud/automated/noid/stable27-update-code-signing-crl
[stable27] fix(security): Update code signing revocation list
2024-01-24 08:55:24 +01:00
nextcloud-command 705ddc4dab fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2024-01-24 02:19:33 +00:00
Nextcloud bot 9894f7ba6a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-24 00:20:30 +00:00
Nextcloud bot cde21ff96b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-23 00:27:21 +00:00
Marcel Müller f0146b6f4a fix(preview): Check if node id is null before deleting the preview folder
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-01-22 20:55:15 +01:00
Arthur Schiwon 47d2560506 Merge pull request #43023 from nextcloud/release/27.1.6_rc2
27.1.6 RC2
2024-01-22 20:50:48 +01:00
Arthur Schiwon 6ff023babe Merge pull request #43020 from nextcloud/backport/40766/stable27
[stable27] Make OAuth2 authorization code expire
2024-01-22 20:29:13 +01:00
Arthur Schiwon 947514e037 Merge pull request #43011 from nextcloud/backport/42971/stable27
[stable27] fix(auth): Fix logging in with email and app password
2024-01-22 20:20:22 +01:00
Arthur Schiwon 1bf5a6949d 27.1.6 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-01-22 14:54:31 +01:00
Julien Veyssier 8dada6a334 generate oauth2 autoloaders
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-01-22 13:26:06 +01:00
Julien Veyssier 3f19bf7660 make OAuth2 authorization code expire
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-01-22 13:26:01 +01:00
Christoph Wurst fdfd620757 fix(auth): Fix logging in with email, password and login name mismatch
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-22 09:43:25 +00:00
Nextcloud bot 9282aa900d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-22 00:20:28 +00:00
Nextcloud bot b3e05f2b19 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-21 00:39:03 +00:00
Nextcloud bot c016b934d4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-20 00:19:44 +00:00
Nextcloud bot bd61be9c35 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-19 00:19:48 +00:00
Arthur Schiwon e480a4d237 Merge pull request #42788 from nextcloud/release/27.1.6_rc1
27.1.6 RC1
2024-01-18 14:12:47 +01:00
Louis 87b75fcc5d Merge pull request #42926 from nextcloud/backport/42891/stable27
[stable27] Improve path resolution in files_version hooks
2024-01-18 13:59:35 +01:00
Arthur Schiwon 82fce12071 Merge pull request #42172 from nextcloud/fix/quota-with-non-english-locale-stable27
[stable27] fix(Users/Quota setting): Prevent floating point value from getting truncated in locales other than english
2024-01-18 13:24:01 +01:00
Louis Chemineau 91c8e790ba Improve path resolution in files_version hooks
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-18 10:38:07 +00:00
Christoph Wurst 48ea4da227 Merge pull request #42907 from nextcloud/fix/caldav/update-acls-deletedcalendarobjectscollection-stable27
[stable27] fix(CalDAV): set acls for DeletedCalendarObjectsCollection
2024-01-18 11:03:50 +01:00
nextcloud-command 00c26fc085 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-18 09:57:59 +00:00
Marcel Klehr fa2cf8d805 fix(Users/Quota setting): Prevent floating point value from getting truncated in locales other than english
fixes #18468

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-18 09:11:21 +01:00
Johannes Merkel 823aa887e5 fix(CalDAV): set acls for DeletedCalendarObjectsCollection
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2024-01-18 08:40:09 +01:00
Nextcloud bot 08801969ea Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-18 00:20:05 +00:00
Git'Fellow 328d9c6619 Merge pull request #42778 from nextcloud/backport/42067/stable27
[stable27] Fix some silent share bugs
2024-01-17 21:33:26 +01:00
Arthur Schiwon 448dc1530f Merge pull request #42870 from nextcloud/backport/42607/stable27
[stable27] fix(session): Avoid useless authtoken DB queries for anonymous requests
2024-01-17 20:45:41 +01:00
nextcloud-command 47e715e1cb chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-17 18:33:06 +00:00
Arthur Schiwon 11ed33a4e0 Merge pull request #42875 from nextcloud/backport/42563/stable27
[stable27] Update crl after revoke integration_homeassistant.csr
2024-01-17 14:56:40 +01:00
Joas Schilling 1839d0ca87 Merge pull request #42873 from nextcloud/backport/42658/stable27
[stable27] fix(systemreport): Mark more configs as sensitive
2024-01-17 13:26:24 +01:00
Joas Schilling 831c144213 Merge pull request #42865 from nextcloud/backport/42862/stable27
[stable27] fix(manifest): Check if app exists instead of accessing null as an array
2024-01-17 13:15:27 +01:00
Git'Fellow 78a194c099 Merge pull request #42825 from nextcloud/backport/42768/stable27
[stable27] (dashboard): Lower error to info log message
2024-01-17 10:49:09 +01:00
Matthieu Gallien 23ee737470 Update crl after revoke integration_homeassistant.csr
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-01-17 10:32:12 +01:00
Joas Schilling fabb330a69 fix(systemreport): Mark more configs as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-17 10:31:29 +01:00
Git'Fellow 27af03c92d fix(session): Avoid two useless authtoken DB queries for every anonymous request
Co-Authored-By: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-17 09:27:17 +00:00
Joas Schilling 9c0d99f80b fix(manifest): Check if app exists instead of accessing null as an array
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-17 09:59:12 +01:00
Git'Fellow e958966288 Lower to info
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-01-17 09:41:33 +01:00
Git'Fellow 00b0a33e50 Lower error to warning
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-01-17 09:41:33 +01:00
Nextcloud bot e2056a1de9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-17 00:20:33 +00:00
Git'Fellow a7be838323 Merge pull request #42828 from nextcloud/backport/41272/stable27
[stable27] fix: reduce memory consumption of scans
2024-01-16 19:16:20 +01:00
Ferdinand Thiessen 51e3bff2fd Merge pull request #42437 from nextcloud/fix/s27-reference-picker
fix(files): Fix reference picker not working
2024-01-16 15:29:22 +01:00
nextcloud-command 8a870e4bd5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-16 11:43:34 +00:00
Joas Schilling 5aa42fa83c Merge pull request #42831 from nextcloud/backport/42806/stable27
[stable27] fix(appstore): Only send subscription keys to valid appstores
2024-01-16 12:31:18 +01:00
Ferdinand Thiessen 0da2ea61cc fix(files): Fix reference picker not working
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-16 11:28:05 +01:00
Joas Schilling 0148dab1e7 fix(appstore): Only send subscription keys to valid appstores
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-16 10:16:38 +01:00
Git'Fellow 6b496ab164 fix: reduce memory consumption of scans
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Fix lint

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-01-16 09:29:09 +01:00
Nextcloud bot 15b1437882 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-16 00:19:10 +00:00
Arthur Schiwon 631b39d65c Merge pull request #41663 from nextcloud/rakekniven-patch-3
[stable27] fix(i18n): Changed grammar
2024-01-15 21:32:41 +01:00
Richard Steinmetz 400524a7c9 Merge pull request #42774 from nextcloud/fix/exif-content-provider-stable27
[stable27] fix: handle exif metadata read errors gracefully
2024-01-15 20:20:03 +01:00
rakekniven 3871f466e5 fix(i18n): Changed grammar
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-01-15 17:22:06 +01:00
Benjamin Gaussorgues 591992de0f Merge pull request #42791 from nextcloud/backport/42660/stable27
[stable27] fix(share): use user timezone to parse share expiration date
2024-01-15 15:15:03 +01:00
Benjamin Gaussorgues ee6a10f8f5 fix(share): use user timezone to parse share expiration date
If an user in UTC+1 try to create a share at 00:00, it's day D for him, but

D-1 for the server (UTC).

This fix aims to apply the correct offset

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-01-15 11:55:03 +01:00
Richard Steinmetz 94d7e459bc fix: handle exif metadata read errors gracefully
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-01-15 11:21:22 +01:00
Arthur Schiwon 74b60048f5 27.1.6 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-01-15 10:22:47 +01:00
fenn-cs 82dde3139f Remove newPassword from share model, if disabled
It's important to delete the `newPassword` prop from the share
 model, if the user unchecks the isPasswordProtected checkbox.

This clearer and allows for the unchecking to actually work as
`this.$set()` fails with the falsy value `''`.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-01-15 09:36:06 +01:00
fenn-cs e5d8303dec Create element reference inside $nextTick()
Accessing `this.$refs.shareList` outside $nextTick()
 could lead to the holder (`listComponent`) being undefined
 as the ref is yet to exist.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-01-15 09:36:06 +01:00
Nextcloud bot baf49e3950 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-15 00:19:01 +00:00
Nextcloud bot 91be8568cc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-14 00:19:45 +00:00
Nextcloud bot bfb8a16370 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-13 00:20:41 +00:00
Nextcloud bot c55676bcd9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-12 11:00:52 +00:00
Nextcloud bot 525def9eca Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-12 10:40:35 +00:00
Nextcloud bot 7a23b23c95 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-12 00:20:00 +00:00
Julius Härtl e5040662ec Merge pull request #42655 from nextcloud/backport/39378/stable27 2024-01-11 17:32:54 +01:00
nextcloud-command fa21241930 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-11 14:07:44 +00:00
Julius Härtl ac3292c498 fix: Always apply fullscreen styling to sidebar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-11 14:52:04 +01:00
Julius Härtl 84df0c33a2 Merge pull request #42652 from nextcloud/backport/42651/stable27
[stable27] perf: Use more performant way to obtain and check the email as a login name with token login
2024-01-11 11:53:13 +01:00
Nextcloud bot 6200c281e3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-11 00:19:20 +00:00
Nextcloud bot 68b65a6ad3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-10 00:20:50 +00:00
Ferdinand Thiessen ffe1941d2b Merge pull request #42608 from nextcloud/backport27-fixServiceWorker
[stable27] fix(files): service worker
2024-01-09 21:48:27 +01:00
Julius Härtl 5fc6fb0d20 fix: Only apply cast if needed when searching users for value
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 11:56:46 +01:00
Julius Härtl 9112904206 perf: Use more performant way to obtain and check the email as a login name with token login
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 11:56:45 +01:00
Nextcloud bot 1397b7dff3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-09 00:20:27 +00:00
Nextcloud bot e7e9fc9c48 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-08 00:22:16 +00:00
Nextcloud bot 8df7a16084 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-07 00:20:38 +00:00
Git'Fellow 2c11f23e97 Fix preview service worker
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Update ViewControllerTest.php

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Update ViewController.php

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-01-06 09:44:31 +01:00
Nextcloud bot ff1f3a0a28 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-06 00:20:28 +00:00
Nextcloud bot a5da98e171 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-05 00:22:31 +00:00
Nextcloud bot 4b9d914d85 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-04 00:20:18 +00:00
Nextcloud bot 290d67778b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-03 00:20:27 +00:00
Robin Appelman 0e8367b100 Merge pull request #42522 from nextcloud/backport/41914/stable27
[stable27] only do a multipart s3 copy when above the regular copy limit
2024-01-02 18:00:31 +01:00
John Molakvoæ 2820f2bf4b Merge pull request #42549 from nextcloud/lock-restore-ttl-27 2024-01-02 16:57:57 +01:00
Robin Appelman 4b74d315b6 adjust redis compareSetTTL to use a lua script
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-02 15:40:34 +01:00
Robin Appelman 0e98f1eb8d restore shared lock ttl when releasing
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-02 15:40:32 +01:00
Richard Steinmetz fc0822d37d Merge pull request #42375 from nextcloud/backport/42339/stable27
[stable27] fix(dav): allow multiple organizers if possible
2024-01-02 13:48:09 +01:00
Louis 138a4714b3 Merge pull request #42447 from nextcloud/backport/42405/stable27
[stable27] fix(LDAP): ensure stored groups are formatted as simple list
2024-01-02 12:30:50 +01:00
Richard Steinmetz fe5b5a7fa3 fix(dav): allow multiple organizers if possible
This is very hacky! However, we want to allow saving events with multiple
organizers. Those events are not RFC compliant, but sometimes imported from major
external calendar services (e.g. Google). If the current user is not an organizer of
the event we ignore the exception as no scheduling messages will be sent anyway.

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-01-02 11:55:25 +01:00
Nextcloud bot 725585f53e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-02 00:19:26 +00:00
Nextcloud bot 5ce73893b3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-01 00:20:19 +00:00
Nextcloud bot 646c581de3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-31 00:20:36 +00:00
Nextcloud bot c2ec3b6cb0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-30 00:22:27 +00:00
Andrey Borysenko f342f69075 Merge pull request #42520 from nextcloud/backport/42479/stable27
[stable27] AppAPI: allow to bypass Two-Factor
2023-12-29 16:18:54 +03:00
Alexander Piskun 12257ac765 AppAPI: allowed to bypass Two-Factor
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>

fix php-cs

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2023-12-29 14:46:58 +02:00
Julius Härtl f5fe531665 fix(s3): Add config option to disable multipart copy for certain s3 providers
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-29 10:48:40 +00:00
Robin Appelman ad5be4f04b only do a multipart s3 copy when above the regular copy limit
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-29 10:48:40 +00:00
Julius Härtl 4f113290d5 Merge pull request #41479 from nextcloud/automated/noid/stable27-update-psalm-baseline
[stable27] Update psalm-baseline.xml
2023-12-29 11:26:14 +01:00
Nextcloud bot 7474b574ca Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-29 00:20:15 +00:00
nextcloud-command 3b1cd57c78 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-12-28 02:34:14 +00:00
Nextcloud bot 691375c4ec Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-28 00:20:40 +00:00
Nextcloud bot b4ca5160aa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-27 00:20:34 +00:00
Nextcloud bot 800cbffc39 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-26 00:21:04 +00:00
Nextcloud bot 4b2556bd7c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-25 00:20:44 +00:00
Nextcloud bot cbdcc3e247 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-24 00:20:57 +00:00
Nextcloud bot aea61bb3f8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-23 00:20:30 +00:00
Arthur Schiwon 68af059ebe fix(LDAP): ensure stored groups are formatted as simple list
With array_unique it is possible that the keys are not in sequential order
but have gaps. json_encode then would store them as associative array,
which later on json_decode would result in a stdClass by default. This is
unexpected and would also contradict the return type hint.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-22 08:47:12 +00:00
Nextcloud bot 430b095897 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-22 00:20:40 +00:00
Git'Fellow 3f54f174cc Merge pull request #42385 from nextcloud/backport/42298/stable27
[stable27] Don't write back .htaccess file on a RO filesystem
2023-12-21 16:49:08 +01:00
Ferdinand Thiessen e454bf49c3 Merge pull request #42404 from nextcloud/backport/42401/stable27
[stable27] fix: Ensure app menu entries and dashboard welcome message have enough contrast
2023-12-21 14:58:42 +01:00
Nextcloud bot c6a19f88f2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-21 00:21:20 +00:00
nextcloud-command b08805f0f0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-20 15:51:36 +00:00
Ferdinand Thiessen a46e34c56c fix: Adjust colors of app menu and dashboard
Those elements are shown directly on the background which has the `color-primary`,
so they need to use `color-primary-text` instead of `color-primary-element-text` for guranteed contrast.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-20 15:25:05 +00:00
Matthieu Gallien 8c062b046e Merge pull request #42399 from nextcloud/backport/42140/stable27
[stable27] Update crl after revoke rides.csr
2023-12-20 15:36:14 +01:00
Matthieu Gallien eb76ef98a3 Update crl after revoke rides.csr
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-12-20 11:22:41 +01:00
Nextcloud bot a850fab874 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-20 00:19:35 +00:00
Git'Fellow 26068baa4a Read Only FS return false
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-12-19 21:09:31 +00:00
Nextcloud bot 38224a844f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-19 00:19:47 +00:00
Nextcloud bot bfc8a35a3e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-18 00:19:39 +00:00
Nextcloud bot e61e3f0e22 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-17 00:19:15 +00:00
Git'Fellow aa8dc1374a Merge pull request #42153 from nextcloud/backport/42144/stable27
[stable27] fix(caldav): don't reuse query builder objects
2023-12-16 10:39:51 +01:00
Anna Larch 90cb0bcb8e fix(caldav): don't reuse query builder objects
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-16 10:05:34 +01:00
Nextcloud bot c3293f0f9b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-16 00:19:41 +00:00
Nextcloud bot 4e6e5e2117 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-15 00:19:18 +00:00
Arthur Schiwon 9b6551d4c8 Merge pull request #42147 from nextcloud/release/27.1.5
27.1.5
2023-12-14 10:33:48 +01:00
Joas Schilling 5ec35746fc Merge pull request #42188 from nextcloud/automated/noid/stable27-update-ca-cert-bundle
[stable27] fix(security): Update CA certificate bundle
2023-12-14 06:52:20 +01:00
nextcloud-command 02e19dcb54 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2023-12-14 02:19:33 +00:00
Nextcloud bot 91f23469c4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-14 00:19:42 +00:00
Nextcloud bot c416abbb7f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-13 00:20:13 +00:00
Nextcloud bot 87e8468d40 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-12 00:19:14 +00:00
Arthur Schiwon a693c6f1f7 27.1.5
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-11 12:27:25 +01:00
Nextcloud bot ba589be5a7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-11 00:24:39 +00:00
Nextcloud bot 249c1e47ff Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-10 00:19:31 +00:00
Nextcloud bot 6325dbf736 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-09 00:19:24 +00:00
Nextcloud bot 344a445c86 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-08 00:19:14 +00:00
Arthur Schiwon 35d05e3482 Merge pull request #42015 from nextcloud/release/27.1.5_rc1
27.1.5 RC1
2023-12-07 17:01:04 +01:00
Arthur Schiwon 1c52732441 Merge pull request #42091 from nextcloud/fix/noid/compile-the-assets
fix(dist): assets were not compiled
2023-12-07 15:49:56 +01:00
Arthur Schiwon b45a2b672c fix(dist): assets were not compiled
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-07 11:17:32 +01:00
Git'Fellow d42a96e1ef Merge pull request #42063 from nextcloud/s27bc
[stable27] Fix AppSettingsController.php overwriting currentLanguage
2023-12-07 10:05:27 +01:00
Arthur Schiwon d3127983bf Merge pull request #42085 from nextcloud/backport/41999/stable27
[stable27] fix(security): Handle idn_to_utf8 returning false
2023-12-07 10:03:13 +01:00
Arthur Schiwon 77cb70f466 Merge pull request #42083 from nextcloud/backport/41937/stable27
[stable27] fix(bruteforce-protection): Don't throw a 500 when MaxDelayReached is…
2023-12-07 10:02:54 +01:00
Arthur Schiwon 41f31f2e1c Merge pull request #42078 from nextcloud/backport/40071/stable27
[stable27] fix(updatecheck): Don't wait 120s for a response of updater.nextcloud…
2023-12-07 10:00:26 +01:00
Louis d5a95825d3 Merge pull request #42075 from nextcloud/backport/41944/stable27
[stable27] fix: Properly fetch version from shared files by accessing the owner storage version
2023-12-07 09:50:08 +01:00
Joas Schilling 85f46eea95 Merge pull request #42081 from nextcloud/backport/40714/stable27
[stable27] fix(systemreport): Mask onlyoffice secret as sensitive
2023-12-07 07:32:51 +01:00
Joas Schilling 6b895462ac fix(security): Handle idn_to_utf8 returning false
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-07 06:39:34 +01:00
Joas Schilling 2fd8cf4b15 fix(bruteforce-protection): Don't throw a 500 when MaxDelayReached is thrown
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-07 06:34:11 +01:00
Joas Schilling 58072190dd fix(systemreport): Mask onlyoffice secret as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-07 06:25:30 +01:00
Joas Schilling 838669242b fix(updatecheck): Don't wait 120s for a response of updater.nextcloud.com
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-07 06:19:05 +01:00
Nextcloud bot 84af629fa5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-07 00:19:57 +00:00
Julius Härtl f401b582d3 fix: Properly fetch version from shared files by accessing the owner storage version
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-06 20:43:24 +00:00
Joas Schilling 1021550843 Update .drone.yml signature
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-06 20:14:32 +01:00
Robin Appelman 72fca6ece3 Merge pull request #41090 from nextcloud/backport/39044/stable27
[stable27] Fix root mounts not being setup in some cases
2023-12-06 17:48:30 +01:00
Git'Fellow cf7b64b79d Update AppSettingsController.php
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-12-06 16:12:49 +01:00
Nextcloud bot 669dc0dd62 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-06 00:21:12 +00:00
Arthur Schiwon 7d507d24ff Merge pull request #41451 from nextcloud/backport/41447/stable27
[stable27] fix(backupcodes): Remove old notifications before creating a new remi…
2023-12-05 23:08:54 +01:00
Arthur Schiwon bb7a704593 Merge pull request #42034 from nextcloud/fix/stable27-dialogs-l10n
fix: Update `@nextcloud/dialogs` to 4.2.2 to fix translations of FilePicker
2023-12-05 23:06:50 +01:00
staticdev 572890defe Merge branch 'stable27' into backport/39044/stable27 2023-12-05 18:58:46 +01:00
Arthur Schiwon a4a120cb0c Merge pull request #41813 from nextcloud/backport/41650/stable27
[stable27] feat(LDAP): implement IIsAdmin interface
2023-12-05 18:22:06 +01:00
Ferdinand Thiessen 3ec1d93e43 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 14:00:44 +01:00
Ferdinand Thiessen 833a5cac1d fix: Update @nextcloud/dialogs to 4.2.2 to fix translations of FilePicker
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 13:58:15 +01:00
Arthur Schiwon cfe9a7e765 feat(LDAP): warn about demoting a group while promoting another
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-05 13:55:42 +01:00
Arthur Schiwon 16ed15a049 enh(LDAP): add occ command to promote an LDAP group to admin
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-05 13:55:42 +01:00
Arthur Schiwon 7236b04133 enh(LDAP): implement IIsAdmin interface
- add configuration to specify one LDAP group acting as admin group (CLI)
- implement `isAdmin()` method, basically relying on inGroup against the
  configured group

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-05 13:55:42 +01:00
John Molakvoæ 2e9f364aa6 Merge pull request #41970 from nextcloud/fix/login-csrf-check-error-message-stable27 2023-12-05 11:26:05 +01:00
Robin Appelman 15bed77a22 setup filesystem wrappers before we mark the root as setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-05 09:47:03 +01:00
Robin Appelman fbc0f65711 add more checks to ensure mounts aren't empty
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-05 09:47:03 +01:00
Git'Fellow 4e2e475bd3 Merge pull request #41296 from nextcloud/backport/41173/stable27
[stable27] fix: Delete ghost versions of non-existing files
2023-12-05 09:45:55 +01:00
Nextcloud bot 9fb88104a5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-05 00:21:35 +00:00
Arthur Schiwon 870f227428 Merge pull request #41626 from nextcloud/backport/41616/stable27
[stable27] fix: Fix linkToOCSRouteAbsolute() without index.php and with subfolder
2023-12-04 21:13:14 +01:00
Arthur Schiwon c4ede819f7 Merge pull request #41557 from nextcloud/backport/41541/stable27
[stable27] Serve .flac audio files
2023-12-04 21:05:22 +01:00
Joas Schilling c267f36955 fix(backupcodes): Remove old notifications before creating a new reminder
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-04 21:04:22 +01:00
Git'Fellow de7e4e1612 fix: Delete ghost versions of non-existing files
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-12-04 20:52:57 +01:00
Arthur Schiwon d1333757a5 Merge pull request #42004 from nextcloud/backport/41678/stable27
fix(security): Update expiration date in security.txt
2023-12-04 20:49:00 +01:00
Christoph Wurst 32a02b0ec7 fix: Show error message when CSRF check fails at login
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-04 19:09:01 +00:00
Arthur Schiwon d44898e1e9 27.1.5 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-04 19:49:22 +01:00
Marcel Klehr 268c5340b4 Merge pull request #41997 from nextcloud/fix/text-processing-types-covariant-stable27
[stable27] Fix/text processing types covariant stable27
2023-12-04 14:03:58 +01:00
Julius Härtl 913c7038ab Merge pull request #42002 from nextcloud/backport/41995/stable27 2023-12-04 12:50:32 +01:00
Joas Schilling 9349bd5085 fix(security): Update expiration date in security.txt
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-04 11:26:24 +01:00
Marcel Klehr 76265de3f1 fix(TemplateManager): Bail early if templatedirectory is empty
fixes #39266

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-04 10:12:53 +00:00
Marcel Klehr c7930a892a fix(TextProcessing): Make task type template param covariant
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-04 09:04:43 +01:00
Nextcloud bot d873dec117 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-04 00:18:46 +00:00
Nextcloud bot f49cff2f5a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-03 00:18:38 +00:00
Nextcloud bot 5353a018b7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-02 00:21:34 +00:00
Nextcloud bot 90529e5de1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-01 00:18:49 +00:00
F. E Noel Nfebe eb8907323e Merge pull request #41936 from nextcloud/41885-27-manual-backport
[stable27] Improve share logic for enforced password & expiry date
2023-11-30 21:46:24 +01:00
fenn-cs 8c5ea73404 Improve share logic for enforced password & expiry date
* It's possible for the admin to enforce and expiry date after, some
 shares have been created. This commit makes possible to update the
 share with the new admin constraints.

* This commit would users to modify enforced expiry to anything within
 range and less than the enforced limit in the pre-create dialog for public
 shares.

* This commit fixes, unable to update share without updating password.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-30 16:26:46 +00:00
Christopher Ng bedcbb8ecc fix(a11y): Focus on sharing quick permission radio
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-30 16:58:21 +01:00
Julius Härtl 07437d0c1d fix: Change scroll container for sharing details
In order to meet accessibility requirements we cannot use a sticky
footer that overlaps important interactable content. Therefore this
moves to a scroll container for the details which does not include the
action buttons at the bottom.

Larger indentation change in SharingDetailsTab was required to have a
wrapping container for the scroll area.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-30 16:58:15 +01:00
Nextcloud bot fe35710f1b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-30 00:22:50 +00:00
F. E Noel Nfebe ebf289c430 Merge pull request #41734 from nextcloud/Jerome-Herbinet-change-share-update-right-wording
Nextcloud 27 : Replace "Update" with "Edit" in share dialog
2023-11-29 17:55:32 +01:00
Jérôme Herbinet 21c157e349 Replace "Update" with "Edit"
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-11-29 12:24:15 +00:00
Christoph Wurst df4a7dd771 Merge pull request #41812 from nextcloud/fix/ui/right-click-close-menu
fix(ui): Do not close all menus on right click
2023-11-29 11:51:19 +01:00
Nextcloud bot ebe5cd3f17 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-29 00:20:46 +00:00
Git'Fellow 744b3c0813 Merge pull request #41786 from nextcloud/27checkForOwner
[stable27] fix(files_versions): Check for user and owner before call getUserFolder
2023-11-29 00:32:37 +01:00
Christoph Wurst 84fd8b16fc fix(ui): Do not close all menus on right click
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-28 19:00:40 +00:00
Simon L c78141cec9 Merge pull request #41608 from nextcloud/backport/41544/stable27
[stable27] do not write htaccess file if disk space is too low
2023-11-28 18:02:50 +01:00
Arthur Schiwon 52eddf8675 Merge pull request #41462 from nextcloud/backport/40996/stable27
[stable27] reuse sharing disabled state when listing folder content
2023-11-28 11:33:04 +01:00
Git'Fellow 61d7328cae Check for owner before call getUserFolder
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-28 10:14:12 +01:00
Nextcloud bot 9e67ab7fb8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-28 00:26:37 +00:00
F. E Noel Nfebe a6d0a4e6d4 Merge pull request #41736 from nextcloud/backport-41301-27
[stable27] fix(files_sharing): fix sharing tab translations
2023-11-27 12:28:01 +01:00
Anna 032e1fcfeb Merge pull request #41315 from nextcloud/backport/40876/stable27 2023-11-27 10:23:27 +01:00
Anna Larch becf192b6b fix(scheduling): don't send iMIP emails to rooms / resources
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-11-27 09:24:22 +01:00
Nextcloud bot 9f196a5d81 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-27 00:23:15 +00:00
Nextcloud bot ea1f2c9364 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-26 00:23:56 +00:00
Julius Härtl dc00ecc86a Merge pull request #41636 from nextcloud/bugfix/noid/only-trigger-sidebar-oce 2023-11-25 08:58:02 +01:00
fenn-cs 38ac4f8d92 Fix icons for bundled perms in sharing details
It appears `NcCheckboxRadioSwitch` does not take icons via
`<template #icon>` (at least not anymore) but two options in the bundled
 perms still used that and that has been fixed in this commit.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-25 08:24:46 +01:00
Grigorii K. Shartsev b43325fb43 fix(files_sharing): permissions translation
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-25 08:24:46 +01:00
Nextcloud bot 93b8e662ad Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-25 00:26:11 +00:00
Christoph Wurst fe4be9f83d Merge pull request #41730 from nextcloud/backport/41722/stable27
[stable27] fix(dav): Avoid date diffing if PHP is buggy
2023-11-24 16:58:46 +01:00
Julius Härtl 1f17daed78 Merge pull request #41643 from nextcloud/backport/41623/stable27 2023-11-24 13:25:13 +01:00
Andy Scherzinger b64de5e1b8 Merge pull request #41671 from nextcloud/backport/41649/stable27
[stable27] fix: lower threshold for system address book sync
2023-11-24 13:04:20 +01:00
Christoph Wurst 69b9a56bbb fix(dav): Avoid date diffing if PHP is buggy
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-24 10:43:48 +00:00
Julius Härtl 26b982daf3 fix: Avoid triggering a defered sidebar open if openFile is already handling that
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-24 09:41:14 +01:00
Nextcloud bot 0af2125a82 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-24 00:27:36 +00:00
Andy Scherzinger 2668bd0cd5 Merge pull request #41697 from nextcloud/fix/noid/compile-assets-27
[stable27] build(js): compile assets
2023-11-23 18:49:03 +01:00
Arthur Schiwon 391e6edfb0 build(js): compile assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-23 16:03:03 +01:00
Arthur Schiwon 7386d1dd89 Merge pull request #41610 from nextcloud/release/27.1.4
27.1.4
2023-11-23 15:48:47 +01:00
Nextcloud bot 84991c332b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-23 00:26:16 +00:00
Daniel Kesselberg e7c97ad72f fix: lower threshold for system address book sync
- Switch back to countUsers to have the actual value. countSeenUsers is bad if Nextcloud is connected to a larger directory, but only a part is using Nextcloud and therefore the seen count is much lower because the sync is done for all users.
- Lower the threshold to 100 for smaller installations.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-22 19:53:52 +00:00
Arthur Schiwon 81e5453b35 Merge pull request #41612 from nextcloud/revert-41553-backport/41518/stable27
Revert "[stable27] fix(files_versions): don't call getUid() on null"
2023-11-22 11:34:17 +01:00
Nextcloud bot 775703ec73 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-22 00:24:55 +00:00
Julius Härtl ce9e5e655f fix: Also cleanup orphaned shares user cannot be found anymore
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-21 15:22:03 +00:00
Nextcloud bot ef67f00bab Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-21 00:28:12 +00:00
Joas Schilling 5d12f12319 fix: Fix linkToOCSRouteAbsolute() without index.php and subfolder
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-20 16:15:39 +00:00
Arthur Schiwon 5103669ff8 Revert "[stable27] fix(files_versions): don't call getUid() on null" 2023-11-20 10:52:00 +01:00
Arthur Schiwon 432a9c8ecf 27.1.4
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-20 10:47:20 +01:00
Simon L f99baf1f86 document error
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-20 07:26:42 +00:00
Simon L 2d2c679931 do not write htaccess file if disk space is too low
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-20 07:26:42 +00:00
Nextcloud bot 5b16df8dd1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-20 00:27:55 +00:00
Nextcloud bot 6c3fa6e9de Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-19 00:28:15 +00:00
Nextcloud bot 04777cf814 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-18 00:28:12 +00:00
Nextcloud bot 6a00c55e2c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-17 00:27:18 +00:00
Git'Fellow ed8293f5a8 Merge pull request #41553 from nextcloud/backport/41518/stable27
[stable27] fix(files_versions): don't call getUid() on null
2023-11-17 00:00:51 +01:00
Marcel Müller 3656eb4b8a Serve .flac audio files
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-11-16 19:53:10 +00:00
Arthur Schiwon d9f88634f6 Merge pull request #41430 from nextcloud/release/27.1.4_rc1
27.1.4 RC1
2023-11-16 20:43:34 +01:00
Arthur Schiwon ec84b5c4ee Merge pull request #41539 from nextcloud/backport/37959/stable27
[stable27] Check for open_basedir before reading /proc
2023-11-16 20:29:57 +01:00
Arthur Schiwon 4fe9738857 Merge pull request #40916 from nextcloud/fix/admin-ai-settings-stable27
[stable27] Fix/admin ai settings
2023-11-16 20:24:58 +01:00
Andy Scherzinger c759b95f87 Merge pull request #41545 from nextcloud/backport/41057/stable27
[stable27] optimize UserMountCache::registerStorage
2023-11-16 19:33:32 +01:00
Git'Fellow 07c0223863 Don't call getUid() on null
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-16 17:27:06 +00:00
Robin Appelman 43ef6da11e optimize UserMountCache::registerStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-16 16:40:57 +01:00
Benjamin Gaussorgues 902ba76d30 Merge pull request #41502 from nextcloud/backport/40935/stable27
[stable27] add some support for rename on case insensitive local filesystems
2023-11-16 16:34:12 +01:00
Benjamin Gaussorgues 1af4301997 Merge pull request #41363 from nextcloud/optmize-storage-wrappers-27
[27] optimize builtin storage wrappers
2023-11-16 14:21:56 +01:00
Git'Fellow febc24db13 Us strpos() only
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-16 12:59:56 +00:00
Git'Fellow 4b97e1614b Check for open_basedir before reading /proc
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-16 12:59:55 +00:00
Marcel Klehr 6dd3fd56a5 fix: eslint
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-16 10:54:30 +01:00
nextcloud-command cbde47f23a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-16 10:54:30 +01:00
Marcel Klehr cdbbd648b1 Fix Admin AI settings javascript error
make sure all task types we want to display actually exist

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-16 10:54:30 +01:00
Arthur Schiwon 8a7a89f42c Merge pull request #41096 from nextcloud/backport/41046/stable27
[stable27] Fix: duplicating contacts with the Recently contacted feature
2023-11-16 10:53:07 +01:00
Arthur Schiwon 39bdceeb51 Merge pull request #41527 from nextcloud/backport/41526/stable27
[stable27] Reverse X-Forwarded-For list to read the correct proxy remote address
2023-11-16 10:42:00 +01:00
Arthur Schiwon d63853505d Merge pull request #41521 from nextcloud/backport/41520/stable27
[stable27] Finish password confirmation
2023-11-16 09:50:37 +01:00
Joas Schilling 335369f3f4 Reverse X-Forwarded-For list to read the correct proxy remote address
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 07:48:09 +01:00
Joas Schilling 69cf580746 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 06:50:02 +01:00
Joas Schilling 654484ad29 fix(workflows): Finish password confirmation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 06:45:21 +01:00
Nextcloud bot 85d5c86bf2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-16 00:28:46 +00:00
Git'Fellow 26e24dc909 Merge pull request #41482 from nextcloud/backport/41366/stable27
[stable27] fix(s3): support SSE-C headers for the MultipartCopy call
2023-11-16 00:20:32 +01:00
Christoph Wurst f3e95bf05a Merge pull request #41245 from nextcloud/backport/40665/stable27
[stable27] fix(dav): Reduce CalDAV backend memory footprint
2023-11-15 23:48:04 +01:00
Arthur Schiwon 20cf4fd8de Merge pull request #41356 from nextcloud/fix/stable27/header-sort-redirect
[stable27] fix(files): prevent redirect on heading column sort
2023-11-15 22:48:25 +01:00
Arthur Schiwon ef70f798b5 Merge pull request #41383 from nextcloud/backport/41302/stable27
[stable27] Lower log level about invalid session token
2023-11-15 22:41:09 +01:00
Arthur Schiwon 337445746d Merge pull request #41371 from nextcloud/backport/41354/stable27
[stable27] fix: Validate that we have a proper distributed cache configured
2023-11-15 22:40:40 +01:00
Arthur Schiwon a2c8a0b29c Merge pull request #41347 from nextcloud/backport/41054/stable27
[stable27] get children from dav node when preloading system tags
2023-11-15 22:39:38 +01:00
Arthur Schiwon 501858dd63 Merge pull request #41238 from nextcloud/backport/40859/stable27
[stable27] fix(session): Log why session renewal failed
2023-11-15 22:35:30 +01:00
Arthur Schiwon ddf34961a0 Merge pull request #41231 from nextcloud/backport/40819/stable27
[stable27] Catch Imaginary processing errors
2023-11-15 22:34:37 +01:00
Arthur Schiwon 97f925bb41 Merge pull request #41069 from nextcloud/backport/40495/stable27
[stable27] fix(sharing): set name to target name in sharing cache
2023-11-15 22:33:33 +01:00
Arthur Schiwon 1408509ee7 Merge pull request #40918 from nextcloud/backport/40709/stable27
[stable27] LDAP: Increase profile picture limit to 512
2023-11-15 22:32:07 +01:00
Robin Appelman 482deca354 add some support for rename on case insensitive local filesystems
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-15 15:21:14 +01:00
Benjamin Gaussorgues 11764ffec1 Merge pull request #41212 from nextcloud/backport/fix/aborted_pgsql_transaction_on_error/stable27
[stable27] fix(twofactor): avoid DB error on Twofactor (en/dis)abled event #40472
2023-11-15 09:03:02 +01:00
Tobias Zimmerer 8970f96e3b fix(s3): support SSE-C headers for the MultipartCopy call
Signed-off-by: Tobias Zimmerer <3228193+ir0nhide@users.noreply.github.com>
2023-11-15 07:37:09 +00:00
Nextcloud bot 5c91f2de24 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-15 00:31:59 +00:00
Andy Scherzinger 13ec839184 Merge pull request #41176 from nextcloud/encode-uri-trashbin-delete-3
fix: encode uri for trashbin delete (the second one)
2023-11-14 20:28:28 +01:00
Robin Appelman 0c88d5b303 reuse sharing disabled state when listing folder content
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-14 14:28:16 +00:00
Nextcloud bot 4b19cda748 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-14 00:26:00 +00:00
Arthur Schiwon 5d081f7dd8 Merge pull request #41418 from nextcloud/backport/41404/stable27
[stable27] fix(workflow): Fix "Call to a member function getUID() on null" with …
2023-11-13 22:27:30 +01:00
Arthur Schiwon 712a4c8e10 Merge pull request #41429 from nextcloud/backport/41417/stable27
[stable27] fix(workflowengine): use andWhere() not second where()
2023-11-13 20:15:42 +01:00
Joas Schilling 2bc499c04f Merge pull request #41427 from nextcloud/backport/41406/stable27
[stable27] fix(log): Log exception class when message is empty
2023-11-13 17:30:44 +01:00
Arthur Schiwon 04a525f706 27.1.4 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-13 15:14:17 +01:00
Arthur Schiwon bf301df539 fix(workflowengine): use andWhere() not second where()
- an unconditional where() condition is added right before
- fixes also wrongly named methods in the Exception message

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-13 14:13:01 +00:00
Joas Schilling 32ada27ed6 fix(log): Log exception class when message is empty
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-13 13:54:59 +00:00
Daniel Kesselberg b0f9113eba fix: encode uri for trashbin delete
Replace d280912 with a cleaner approach.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-13 14:49:32 +01:00
Joas Schilling 65047cbdd4 fix(workflow): Fix "Call to a member function getUID() on null" with appdata
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-13 12:23:41 +00:00
Nextcloud bot a61c609e92 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-13 00:25:20 +00:00
Nextcloud bot 63ed89ea5c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-12 00:24:29 +00:00
Nextcloud bot 9dfb7e28c4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-11 00:22:26 +00:00
Julius Härtl 195b434f7b Merge pull request #41367 from nextcloud/backport/41333/stable27 2023-11-11 00:29:43 +01:00
Patrick Fischer b79f58933b Lower log level about invalid session token 2023-11-10 15:59:14 +00:00
Marcel Klehr 8e29b026aa Merge pull request #41359 from nextcloud/backport/41295/stable27
[stable27] fix(JobList#hasReservedJob): Break tie when multiple jobs are reserved
2023-11-10 14:33:49 +01:00
Julius Härtl f81aa8041d fix: Validate that we have a proper distributed cache configured
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-10 08:32:23 +00:00
Nextcloud bot 4ffee4f92b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-10 00:24:25 +00:00
Arthur Schiwon 369d99f513 fix(LDAP): prevent incomplete displaynames…
… when reading users from primary groups or gidNumber-based groups

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-09 19:48:59 +00:00
Robin Appelman 81d625d44d optimize isShared and isMounted
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-09 15:42:41 +01:00
Robin Appelman bdba3f1e2f optimize builtin storage wrappers
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-09 15:41:01 +01:00
Robin Appelman 6250c7d3a9 Merge pull request #41324 from nextcloud/backport/40995/stable27
[stable27] optimize cache jail creation
2023-11-09 15:30:43 +01:00
Marcel Klehr 708c0a8249 fix: Extend docblock of hasReservedJob
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-09 12:47:36 +00:00
Marcel Klehr 4e15a25933 fix(JobList#hasReservedJob): Break tie when multiple jobs are reserved
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-09 12:47:35 +00:00
John Molakvoæ 89fb419c73 fix(files): prevent redirect on heading column sort
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-09 11:26:10 +01:00
Nextcloud bot 11ec6a72a0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-09 00:26:07 +00:00
Robin Appelman e46ef2b355 get children from dav node when preloading system tags
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-08 17:36:15 +00:00
Joas Schilling 3be53b236f Merge pull request #41215 from nextcloud/backport/41214/stable27
[stable27] fix(install): Make installing more verbose
2023-11-08 12:42:52 +01:00
Joas Schilling 6f079279d9 Adjust since version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-08 11:23:39 +01:00
Nextcloud bot 168560c0f2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-08 00:32:49 +00:00
Robin Appelman 204aedc606 optimize cache jail creation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-07 13:59:32 +00:00
Louis 8b6750ceac Merge pull request #41236 from nextcloud/backport/41062/stable27
[stable27] Return correct status if touch failed
2023-11-07 08:46:52 +01:00
Nextcloud bot fb3f63cc7f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-07 00:32:28 +00:00
Arthur Schiwon 17a813a3d7 Merge pull request #41106 from nextcloud/backport/40443/stable27
[stable27] fix(ldap): store last known user groups
2023-11-06 22:52:48 +01:00
Christoph Wurst d1e501a8d6 fix(dav): Reduce CalDAV backend memory footprint
fetchAll inflates memory. Fetching in a loop allows GC to run earlier
and more often.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-06 12:48:24 +01:00
Benjamin Gaussorgues 94b9a5d961 Merge pull request #41219 from nextcloud/backport/41053/stable27
[stable27] fix(files_external): on case insensitive system, block case change
2023-11-06 10:57:16 +01:00
Simon L 67035ba88c Merge pull request #41289 from nextcloud/backport/41263/stable27 2023-11-06 10:33:14 +01:00
Joas Schilling a9343edd57 Merge pull request #41150 from nextcloud/backport/40885/stable27
[stable27] fix(OCM): Make the public API only rely on OCP
2023-11-06 09:45:34 +01:00
Nextcloud bot 91d9fa0a8d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-06 00:29:29 +00:00
Simon L 0e768fadfc fix semaphore unguarding
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-05 18:38:04 +01:00
Nextcloud bot bdc520769c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-05 00:28:38 +00:00
Nextcloud bot 4610afcd57 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-04 00:29:37 +00:00
Joas Schilling b864f3909f fix(install): Make installing more verbose
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-03 15:46:06 +01:00
Nextcloud bot 0e44a73b13 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-03 00:26:48 +00:00
Christoph Wurst 3d58d18d1d fix(session): Log why session renewal failed
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-02 10:25:56 +00:00
Louis Chemineau 17ca96d205 Return correct status if touch failed
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-02 10:13:24 +00:00
Git'Fellow 34acba0ae7 Merge pull request #41232 from nextcloud/backport/41230/stable27
[stable27] fix: add index on migration only if needed
2023-11-02 10:23:56 +01:00
Git'Fellow 659d7e2313 Return only if changed
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-02 01:10:35 +00:00
Git'Fellow ad6ccdbd21 fix: add index on migration only if needed
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-02 01:10:35 +00:00
Nextcloud bot d4e423fe0b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-02 00:24:53 +00:00
Git'Fellow 09b9f5bd00 Use \Throwable instead
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 17:03:24 +00:00
Git'Fellow 5a94ced5f7 Catch Imaginary processing errors
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 17:03:23 +00:00
Nextcloud bot 9c107da21e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-01 00:28:55 +00:00
Benjamin Gaussorgues c713b9edba fix(files_external): on case insensitive system, block case change
When a file/directory is renamed to the same name with only case change,
the rename fail. We block this kind of rename.
The user will have to rename to another name first.

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-10-31 15:17:15 +00:00
Grigorii K. Shartsev e9189e0795 Merge pull request #41206 from nextcloud/fix/39565/race-condition-on-web-files-view
fix(files): race condition on web files view change
2023-10-31 18:59:38 +05:00
Benjamin Gaussorgues 234e8d21bd fix(twofactor): avoid error in pgsql for duplicate entry
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-10-31 14:43:49 +01:00
Nextcloud bot e85f616399 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-31 00:26:29 +00:00
Grigorii K. Shartsev d439417e17 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-31 01:17:27 +01:00
Grigorii K. Shartsev 38dd8b3d27 fix(files): remove resetting and reload curr dir on show
It is handled by new navigation with Vue

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-31 01:17:22 +01:00
Grigorii K. Shartsev ffda3db9e4 fix(files): add silent mode in legacy navigation
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-31 01:17:22 +01:00
dependabot[bot] 2aa15a1afe Merge pull request #41161 from nextcloud/dependabot/npm_and_yarn/stable27/davclient.js-0.2.2 2023-10-30 12:43:29 +00:00
dependabot[bot] 17a04a092d chore(deps): bump davclient.js from 0.2.1 to 0.2.2
Bumps [davclient.js](https://github.com/owncloud/davclient.js) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/owncloud/davclient.js/releases)
- [Commits](https://github.com/owncloud/davclient.js/compare/1ab200d099a3c2cd2ef919c3a56353ce26865994...de93b734bd7a656de0482437df8ef50dd68a10d3)

---
updated-dependencies:
- dependency-name: davclient.js
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-30 11:33:18 +00:00
Ferdinand Thiessen a8855315d1 Merge pull request #41147 from nextcloud/backport/39743/stable27
[stable27] fix: Don't try to access null array
2023-10-30 11:03:07 +01:00
Ferdinand Thiessen 19c4fca0cc Merge pull request #41186 from nextcloud/backport/41120/stable27
[stable27] Don't pass invalid streams to Imaginary
2023-10-30 10:50:42 +01:00
Arthur Schiwon 89a5fbff20 fix(LDAP): solve race condition reading groups of disappeared LDAP user
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-30 10:24:02 +01:00
Arthur Schiwon 27fc0a5dd1 refactor(LDAP): pass IConfig via constructor to Group_LDAP
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-30 10:24:02 +01:00
Arthur Schiwon b34ba631cc refactor(tests): simplify code, reduce duplication
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-30 10:24:02 +01:00
Arthur Schiwon 7879202309 test(Group LDAP): add test for getting groups of OfflineUser
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-30 10:24:02 +01:00
Arthur Schiwon e178815b83 fix(ldap): store last known user groups
- for LDAP user life cycle management

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-30 10:24:02 +01:00
Nextcloud bot 5e6280d757 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-30 00:26:30 +00:00
Git'Fellow 71725553f2 Don't pass invalid streams to Imaginary
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Update Imaginary.php

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Update Imaginary.php

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-10-29 14:15:58 +00:00
Nextcloud bot 406aeb81f9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-29 00:25:42 +00:00
F. E Noel Nfebe 1452773ed9 Merge pull request #40928 from nextcloud/backport/stable27/40927
[stable27] Allow share expiry dates lower than enforced limits
2023-10-28 10:31:26 +01:00
fenn-cs 2f0e9a80c5 Fix dupblicate sharing option
Allow download was duplicated via a rebase/merge action during
fe78157b77 this fixes that.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-28 09:53:42 +01:00
fenn-cs 170a83a77e 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-28 09:53:42 +01:00
fenn-cs a5a9564069 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-28 09:53:41 +01:00
fenn-cs 77b047cc62 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-28 09:53:41 +01:00
fenn-cs 281e9ac559 Allow share expiry dates lower than enforced limits
Previously, users could change the share expiry date up
to the enforced maximum.

The new share flow imposed the enforced share expiry
date maximum literally and did not allow even dates
lower than the maximum enforced.

That does not make much sense, if the enforced expiry date is 30
days from creation date, then it's logical to allow users set the
date to anything less than 30 days from the creation date.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-28 09:53:41 +01:00
Nextcloud bot 4f222b9fba Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-28 00:28:36 +00:00
Ferdinand Thiessen 443d15bac3 Merge pull request #41138 from nextcloud/backport/41117/stable27
[stable27] fix(login): Fix JS error on login grant page
2023-10-27 13:43:35 +02:00
Joas Schilling c25ed7cadc Merge pull request #40929 from nextcloud/backport/40865/stable27
[stable27] Fix version number in ITimeFactory after it was delayed
2023-10-27 10:40:19 +02:00
Joas Schilling 8dbc4e9eec fix(OCM): Make the public API only rely on OCP
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-27 10:34:48 +02:00
Git'Fellow f3e27791dd fix: don't try to access null array
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-10-27 06:54:25 +00:00
Nextcloud bot abbad7bc53 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-27 00:27:54 +00:00
Jonas c7403d433a Merge pull request #41082 from nextcloud/backport/40482/stable27
[stable27] fix(isLegitimatedForUserId): Setup mountpoints to check file access
2023-10-27 00:26:07 +02:00
Jonas 9ed1bbee5c enh(IMountManager): Add method to get MountPoint from CachedMountInfo
Signed-off-by: Jonas <jonas@freesources.org>
2023-10-26 22:21:08 +02:00
Jonas a8c31ad285 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-26 22:21:08 +02:00
John Molakvoæ 565dc36226 Merge pull request #41104 from nextcloud/release/27.1.3 2023-10-26 19:20:58 +02:00
Magnus Anderssen 61a0b93a67 fix(grant): remove JS error on Grant page
Closes #41098

Signed-off-by: Magnus Anderssen <magnus@magooweb.com>
2023-10-26 14:17:52 +00:00
Joas Schilling 4fe430ccf2 Merge pull request #41124 from nextcloud/backport/41123/stable27
[stable27] fix(external): Get storage before update it
2023-10-26 07:58:33 +02:00
Joas Schilling 7105380511 fix(external): Get storage before update it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-26 06:49:39 +02:00
Nextcloud bot 84c153e34c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-26 00:26:44 +00:00
John Molakvoæ 73219b4a9d 27.1.3
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-25 08:31:46 +02:00
Nextcloud bot 6295028913 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-25 00:43:42 +00:00
hamza221 fa72f8ee52 Fix: duplicating contacts with the Recently contacted feature
Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
2023-10-24 19:03:36 +00:00
Nextcloud bot eb83fcb63b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-24 00:25:55 +00:00
Julius Härtl efda675b36 test(files_sharing): Test if recent files result use actual share target name
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-10-23 17:38:02 +00:00
Max 31978f447a fix(sharing): set name to target name in sharing cache
Fixes #39879.

Signed-off-by: Max <max@nextcloud.com>
2023-10-23 17:38:00 +00:00
Nextcloud bot dc19882a7a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-23 00:26:37 +00:00
Nextcloud bot 1d6fd5532b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-22 00:28:48 +00:00
Nextcloud bot 423f4e6144 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-21 00:27:24 +00:00
Nextcloud bot fe46f23a72 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-20 00:27:27 +00:00
John Molakvoæ 232484f0da Merge pull request #40975 from nextcloud/release/27.1.3_rc2 2023-10-19 17:21:17 +02:00
John Molakvoæ 16e346a8cd Merge pull request #40408 from nextcloud/automated/noid/stable27-update-psalm-baseline 2023-10-19 17:03:04 +02:00
Andy Scherzinger 1d73d95665 Merge pull request #40987 from nextcloud/backport/40977/stable27
[stable27] Update version.php to owncloud 10.13
2023-10-19 16:55:32 +02:00
Rello c891071005 Update version.php to owncloud 10.13
ownCloud's current version is 10.13
migration was tested with a customer; 
documentation was adjusted
https://github.com/nextcloud/documentation/pull/11225

Signed-off-by: Rello <Rello@users.noreply.github.com>
2023-10-19 14:54:15 +00:00
John Molakvoæ 64324aac50 27.1.3 RC2
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-19 13:52:09 +02:00
nextcloud-command c97ee074a3 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-10-19 02:39:11 +00:00
Nextcloud bot f4a9d1ad69 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-19 00:28:22 +00:00
Nextcloud bot 02676462d0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-18 00:52:44 +00:00
Nextcloud bot 62fde219af Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-17 00:27:50 +00:00
Joas Schilling 96127d4997 Fix version number in ITimeFactory after it was delayed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-16 06:15:34 +00:00
Nextcloud bot 830b2c5c28 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-16 00:28:37 +00:00
Nextcloud bot c41d89b723 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-15 00:27:43 +00:00
Marcel Klehr c1283e134f Update apps/user_ldap/lib/User/User.php
Co-authored-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-14 14:43:57 +00:00
Marcel Klehr 90c6b883a2 LDAP: Increase profile picture limit to 512
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-14 14:43:57 +00:00
Nextcloud bot 5ae0f3a1fd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-14 00:28:17 +00:00
Nextcloud bot e21da82145 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-13 00:47:15 +00:00
Arthur Schiwon dcaab5f867 Merge pull request #40840 from nextcloud/release/27.1.3_rc1
27.1.3 RC1
2023-10-12 14:49:48 +02:00
Arthur Schiwon 237e880076 Merge pull request #40882 from nextcloud/backport/40413/stable27
[stable27] Add in:users as a search filter to limit searches to users
2023-10-12 14:34:26 +02:00
nextcloud-command a83ef1226e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-12 10:45:27 +00:00
Arthur Schiwon a27399b0ba fix(meta): copyright note 2023-10-12 12:32:19 +02:00
sorbaugh 9a2966e73e remove unused properties
Signed-off-by: sorbaugh <stephan.orbaugh@nextcloud.com>
2023-10-12 12:32:19 +02:00
sorbaugh 7709acb519 Remove unneeded includes.
Usage:
1. Type a string in the search bar
2. Add in:users filter to avoid unnecessary searches in other apps
2023-10-12 12:31:42 +02:00
sorbaugh d657ded9bf Keep Search Provider but remove actual search and display on the searchlist dialog. Will revisit in future search result list in future issue.
Usage:
1. Type a string in the search bar
2. Add in:users filter to avoid unnecessary searches in other apps
2023-10-12 12:31:42 +02:00
sorbaugh 157f2a7062 Add new user filter to search.
Add regex to prevent filter collision in user-list page

Usage:
1. Type a string in the search bar
2. Add in:users to display only users in the search result
2023-10-12 12:31:32 +02:00
Nextcloud bot 75796c2934 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-12 00:25:41 +00:00
Arthur Schiwon b75cb58aff Merge pull request #40856 from nextcloud/backport/40843/stable27
[stable27] remove leading slash
2023-10-11 10:07:03 +02:00
Arthur Schiwon a722274c60 Merge pull request #40569 from nextcloud/backport/40499/stable27
[stable27] add wrapper for external storage to ensure we don't get an mtime that is lower than we know it is
2023-10-11 10:06:29 +02:00
Nextcloud bot 2aa11173f8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-11 00:28:23 +00:00
Maxence Lange a04a915646 remove leading slash
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-10-10 19:36:53 +00:00
Arthur Schiwon 1b1a54403e Merge pull request #40849 from nextcloud/backport/40785/stable27
[stable27] fix: Log critical session renewal and logout paths
2023-10-10 19:28:49 +02:00
Julius Härtl 1f4fffc258 Merge pull request #40577 from nextcloud/s3-multipart-copy-27 2023-10-10 19:22:53 +02:00
Christoph Wurst d932622255 fix: Log critical session renewal and logout paths
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-10 09:47:07 +00:00
F. E Noel Nfebe b2c864d609 Merge pull request #40837 from nextcloud/manual/backport/stable27/40801
[stable27] Fixed mixed translations in sharing details
2023-10-10 09:28:25 +01:00
Arthur Schiwon 8567d54025 Merge pull request #39826 from nextcloud/backport/39806/stable27
[stable27] fix(updatenotification): Skip update check
2023-10-10 10:04:57 +02:00
Arthur Schiwon 0856cecb4f Merge pull request #40383 from nextcloud/backport/36830/stable27
[stable27] fix: Avoid failing with duplicate checks
2023-10-10 10:02:33 +02:00
Arthur Schiwon 7fc9b23f28 Merge pull request #40759 from nextcloud/backport/38298/stable27
[stable27] feat: Add occ user:user:sync-account-data for updating oc_accounts information from user backends
2023-10-10 09:59:13 +02:00
Christoph Wurst 52157637da Merge pull request #40683 from nextcloud/backport/40675/stable27
[stable27] fix(unifiedsearch): Allow searching for "0"
2023-10-10 09:52:01 +02:00
Robin Appelman 155fd0b86a apply known mtime wrapper for external storages
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-10 09:34:20 +02:00
Robin Appelman 36eef0be67 add wrapper to ensure we don't get an mtime that is lower than we know it is
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-10 09:34:20 +02:00
Christoph Wurst 825bb29287 fix(unifiedsearch): Allow searching for "0"
empty("0") evaluates to true

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-10 09:09:50 +02:00
nextcloud-command 90402f1dbe chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-10 01:03:11 +00:00
Nextcloud bot f14a01cc1e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-10 00:51:54 +00:00
fenn-cs fe78157b77 Fixed mixed translations in sharing details
Due to a typo in the app passed to the translation method, some
strings translations don't work.

This commit corrects the spelling `file_sharing` to `files_sharing` and
hence resolves : https://github.com/nextcloud/server/issues/40801

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-10 01:14:44 +01:00
F. E Noel Nfebe dfd0adff0e Merge pull request #40681 from nextcloud/manual/backport/stable27/40430
[stable27] enh(a11y): Add label to share note textbox
2023-10-10 01:03:39 +01:00
Daniel Calviño Sánchez feccf26928 Merge pull request #40572 from nextcloud/clear-progress-bar-text-when-hiding-it
[stable27] Clear progress bar text when hiding it
2023-10-10 01:26:39 +02:00
Christopher Ng 4516bb0587 enh(a11y): Add label to share note textbox
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-09 23:43:08 +01:00
F. E Noel Nfebe 4ae4ccc0c2 Merge pull request #40747 from nextcloud/manual/backport/stable27/40629
[stable27] Updates to new sharing flow
2023-10-09 23:35:11 +01:00
Arthur Schiwon a762275dd0 Merge pull request #40718 from nextcloud/backport/40428/stable27
[stable27] Multiple bug fix in users list
2023-10-09 22:51:37 +02:00
Arthur Schiwon 35d73517b5 Merge pull request #40695 from nextcloud/fix/dashboard-widgets-api-stable27
[stable27] Fix Dashboard IManager getWidgets return annotation
2023-10-09 22:51:08 +02:00
Arthur Schiwon 154b70292f Merge pull request #40757 from nextcloud/encode-uri-trashbin-delete-2
[stable27] fix: encode uri for trashbin delete
2023-10-09 22:50:36 +02:00
Arthur Schiwon d5e53f03f4 Merge pull request #40834 from nextcloud/manuabl/backport/stable27/40731
[stable27] Generate all preview sizes for Imaginary
2023-10-09 22:48:09 +02:00
Daniel Calviño Sánchez 39bd125a78 Clear progress bar text when hiding it
When files are uploaded the progress bar text is set accordingly.
However, other operations that show the progress bar, like deleting
files, do not explicitly set any text. Due to that, when the progress
bar was shown again after uploading files the text did not match the
operation. To solve that now the text is cleared when the progress bar
is hidden (it is not cleared when it is shown as in some cases the text
is set already before showing the progress bar).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-10-09 22:44:36 +02:00
Arthur Schiwon 9714f0368f Merge pull request #40830 from nextcloud/stable27-cors-app_api
[stable27] added CORS skip if session was created by AppAPI
2023-10-09 22:40:32 +02:00
Arthur Schiwon 7396412b04 Merge pull request #40739 from AaronDewes/stable27
[stable27] Fix: Escape group names for LDAP
2023-10-09 22:39:24 +02:00
Arthur Schiwon 93a331b009 27.1.3 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-09 22:36:03 +02:00
fenn-cs 5f4c56e97c Correct check for enabled expiration date
The default expiration date cannot be enforced if it is not enabled
in the first place. Hence, the check for whether a share has an expiration date
should not consider enforcements but only where the share expiry type is enabled.

For example : Using `this.config.isDefaultExpireDateEnabled` instead of
`this.config.isDefaultExpireDateEnforced` which can be verified by checking `isExpiryDateEnforced`.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-09 15:52:35 +00:00
fenn-cs fe9258a7c5 Updates to sharing flow
- Show enforced expiry date for new shares.
- Improve quick share dropdown visibility in dark mode.
- Prevent expiry date from showing expire for incoming shares.
by updating the check for `share.passwordExpirationTime` to equally
check for `undefined`.
- Move "Download permission/attribute" from custom setting (as it is just
another advanced setting and not an actual permission).
- Show correct text for upload/editing when "allow public uploads" is enabled
or disabled by admin.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-09 15:49:35 +01:00
Daniel Hansson c9e130ba27 also remove function
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
2023-10-09 15:41:49 +01:00
Daniel Hansson cf941ac30a Generate all preview sizes for Imaginary
A follow up on https://github.com/nextcloud/server/pull/40670

Based on discussions here: https://github.com/nextcloud/server/issues/38911#issuecomment-1741819188

This fixes the case were not all previews are generated, for example in the activity view: https://github.com/nextcloud/server/issues/38911#issuecomment-1738886106



Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
2023-10-09 15:41:36 +01:00
Alexander Piskun 4623fd12d3 fixed Drone test
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-10-09 14:44:34 +03:00
Alexander Piskun 2fb703dfda added CORS skip if session was created by AppAPI
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-10-09 14:42:30 +03:00
Nextcloud bot e6832ed932 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-09 00:28:47 +00:00
Nextcloud bot bc9ce9aaec Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-08 00:30:00 +00:00
John Molakvoæ c2d5a6006f Merge pull request #40787 from nextcloud/fix/stable27-wrong-quota-files-app 2023-10-06 16:36:48 +02:00
Ferdinand Thiessen acdc319d84 fix: Adjust cypress component test
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-06 14:29:59 +02:00
Ferdinand Thiessen 951ab7a999 fix(files): Show correct quota size (file size base 2)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-06 14:29:59 +02:00
Arthur Schiwon 8a162eeeb1 Merge pull request #40797 from nextcloud/backport/40795/stable27
[stable27] fix(user): Log affected user of app token login name mismatch
2023-10-06 13:33:55 +02:00
Christoph Wurst b07007dac4 fix(user): Log affected user of app token login name mismatch
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-06 08:15:06 +00:00
Nextcloud bot d950cff568 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-06 00:26:31 +00:00
Julius Härtl 0d6d088e4e feat: Add occ user:sync-account-data for updating oc_accounts information from user backends
This can be useful in cases where the state between user backend and
oc_accounts has become inconsistent.

Usually the account data is updated once the change on the user backend
is detected. Potential leftovers from older bugs
(https://github.com/nextcloud/user_saml/pull/582) might though never get
updated. This could lead to the contacts menu never showing the correct
display name. The contacts menu is read from the system address book,
which is only updated from oc_accounts.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-10-05 23:15:48 +02:00
Arthur Schiwon 11b2762d3c Merge pull request #40779 from nextcloud/release/27.1.2
27.1.2
2023-10-05 11:39:15 +02:00
Arthur Schiwon 14ffdff299 Merge pull request #40778 from nextcloud/backport/40745/stable27
[stable27] fix ocm-provider rewrite rules
2023-10-05 11:23:25 +02:00
jld3103 2550a0ec16 Fix Dashboard IManager getWidgets return annotation
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-10-05 10:41:05 +02:00
Arthur Schiwon 55a6628ebf 27.1.2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-05 10:38:12 +02:00
Maxence Lange 2459eeeb20 Update .htaccess
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-10-05 10:14:31 +02:00
Maxence Lange 5ab96af4ad fix ocm-provider rewrite rules
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-10-05 10:14:20 +02:00
Nextcloud bot 6f7b871c0d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-05 00:40:48 +00:00
Nextcloud bot e24b95837f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-04 00:27:10 +00:00
Daniel Kesselberg ce0cc84c21 fix: encode uri for trashbin delete
Replace d280912f31 with a cleaner approach.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-10-03 17:46:16 +02:00
Nextcloud bot ffe533d3fc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-03 00:26:17 +00:00
Côme Chilliet e2d3fef5b4 Merge pull request #37201 from AaronDewes/fix/ldap-filter-generation
Fix: Escape group names for LDAP
2023-10-02 11:06:28 +02:00
Nextcloud bot 95f74aff66 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-02 00:26:04 +00:00
Nextcloud bot 5fbfd1a3e8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-01 00:26:19 +00:00
Nextcloud bot 75778dfba9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-30 00:26:06 +00:00
Christopher Ng 617f5aef1d chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-29 12:14:28 -07:00
Christopher Ng 38fb8fdc87 fix(ux): Show initial loading state of managers
- NcMultiselect version of 50ddc6820e

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-29 12:14:28 -07:00
Christopher Ng 96d719fd46 Do not preload potential manager list on UserRow mount
- NcMultiselect version of 992c03d842

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-29 12:14:28 -07:00
Louis Chemineau 65927daf20 Do not manipulate userCount when it is equal to 0
Signed-off-by: Louis Chemineau <louis@chmn.me>
(cherry picked from commit bd787e8593)
2023-09-29 12:14:28 -07:00
Nextcloud bot 6bfbb475ff Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-29 00:25:40 +00:00
Arthur Schiwon fd996fb8e4 Merge pull request #40646 from nextcloud/release/27.1.2_rc1
27.1.2 RC1
2023-09-28 10:26:43 +02:00
Arthur Schiwon 29b96eb960 Merge pull request #40631 from nextcloud/backport/40541/stable27
[stable27] fix(dav): expand recurrences when searching
2023-09-28 10:24:43 +02:00
Daniel 4393db3380 Merge pull request #40642 from nextcloud/fix/noid/stable27-encode-uri-trashbin-restore 2023-09-28 10:22:16 +02:00
Louis a700b2b9ae Merge pull request #40640 from nextcloud/backport/40619/stable27
[stable27] Use proper app id in Version.vue
2023-09-28 09:12:20 +02:00
Nextcloud bot 534c1ad06a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-28 00:28:07 +00:00
Nextcloud bot d070d5e958 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-27 00:27:04 +00:00
Arthur Schiwon f620319e44 27.1.2 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-26 19:56:57 +02:00
Daniel Kesselberg d280912f31 fix: encode uri for trashbin delete
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-26 16:47:01 +02:00
nextcloud-command 4e2207bd52 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-26 14:12:35 +00:00
Ferdinand Thiessen 67d7986082 Merge pull request #40638 from nextcloud/fix/files-tests
[stable27] Fix jsunit tests
2023-09-26 15:58:19 +02:00
Louis Chemineau 2b856f7e50 Use proper app id in Version.vue
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-26 12:45:00 +00:00
Ferdinand Thiessen 13a2d694f4 fix(files): Adjust files list jsunit tests for file size bugfix
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-09-26 13:06:02 +02:00
Richard Steinmetz 28f58a8af9 fix(dav): expand recurrences when searching
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-09-26 08:04:33 +00:00
Côme Chilliet 2ebd5bb939 Merge pull request #40623 from nextcloud/backport/40501/stable27
[stable27] Store size in int|float for 32bit support
2023-09-26 09:39:10 +02:00
Nextcloud bot 9d0db222cf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-26 00:28:17 +00:00
Côme Chilliet e0eb9a8ce9 Store size in int|float for 32bit support
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-25 15:14:31 +00:00
Ferdinand Thiessen 049aa5dfde Merge pull request #40605 from nextcloud/fix/format-file-sizes
[stable27] Revert change that made `OC.Util.humanFileSize` return decimal sizes instead of binary
2023-09-25 15:27:22 +02:00
Louis 033e62a0d9 Merge pull request #40581 from nextcloud/backport/39818/stable27
[stable27] Let `occ trashbin:restore` restore also from groupfolders and add filters
2023-09-25 10:31:17 +02:00
Nextcloud bot ef765c4422 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-25 00:29:56 +00:00
Ferdinand Thiessen b7a939d091 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-09-24 17:13:04 +02:00
Ferdinand Thiessen eb73c0bafa fix: Revert change that made OC.Util.humanFileSize return base 10 instead of base 2
Previously the `OC.Util.humanFileSize` was returning file sizes base 2, meaning 1024 bytes = 1 KiB, but the `@nextcloud/files` library had a regression that set the default to base 10. Meaning 1000 bytes = 1 KB.

This is fixed for current `@nextcloud/libraries` but for stable27 we need to fix this manually by wrapping the function.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-09-24 17:13:00 +02:00
John Molakvoæ e0adcc587e Merge pull request #40557 from nextcloud/fix/dialogs-issues-stable27 2023-09-24 12:08:12 +02:00
Nextcloud bot cb307e0098 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-24 00:28:06 +00:00
Ferdinand Thiessen 9b4a42db52 chore: Update @nextcloud/dialogs to 4.2.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-09-23 17:27:49 +02:00
Maxence Lange b06bff7922 Merge pull request #40586 from nextcloud/backport/39574/39574-stable27
[stable27] ocm services
2023-09-23 14:08:05 -01:00
Nextcloud bot 6d8cbd5ede Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-23 00:28:10 +00:00
Maxence Lange 0fac750bcd ocm services
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-22 17:26:02 -01:00
Robin Windey f42481f893 Rename since/until in verbose message
Signed-off-by: GitHub <noreply@github.com>
2023-09-22 11:14:54 +00:00
Robin Windey 9630de5674 Code adjustments according to PR review
* Delete unnecessary function docs
* Rename parameters to 'since' and 'until'
* Style: use '&&' instead of 'and'
* Add types

Signed-off-by: GitHub <noreply@github.com>
2023-09-22 11:14:53 +00:00
Robin Windey 3354d61c8e Make scope parsing more readable
Signed-off-by: GitHub <noreply@github.com>
2023-09-22 11:14:53 +00:00
Robin Windey f5d0264296 Decouple from groupfolders app & remove PSALM warnings
Signed-off-by: GitHub <noreply@github.com>
2023-09-22 11:14:53 +00:00
Robin Windey fd6769beee Let occ trashbin:restore restore also from groupfolders and add additional filters
* Using the TrashManager allows access to all deleted files
* Add 'scope' parameter to choose where to restore from (user or groupfolders)
* Add 'restore-from' and 'restore-to' date parameters to filter files to be
  restored by their deletion date
* Add 'dry-run' flag to be able to see which files would be restored and being
  able to adjust the filter parameters accordingly

Signed-off-by: GitHub <noreply@github.com>
2023-09-22 11:14:53 +00:00
Robin Appelman 22556a67a8 use multipart copy for s3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-22 10:42:07 +02:00
Nextcloud bot 0acad69840 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-22 00:32:13 +00:00
Arthur Schiwon f08d781836 Merge pull request #40525 from nextcloud/release/27.1.1
27.1.1
2023-09-21 11:00:49 +02:00
Arthur Schiwon 21f8cc8847 Merge pull request #40379 from nextcloud/backport/38808/stable27
[stable27] Fix issues where unencrypted_size was being falsely used for non-encrypted home folders
2023-09-21 10:55:43 +02:00
Arthur Schiwon 01ddd29a6c Merge pull request #40535 from nextcloud/manual/backport/stable27/40533
[stable27] Auto set password for new email shares
2023-09-21 10:53:24 +02:00
fenn-cs 236ee6c578 Auto set password for new email shares
Suggest auto generated password for new public share (mail share).

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-09-21 08:16:48 +01:00
Nextcloud bot 9dd84be4e6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-21 00:29:35 +00:00
Arthur Schiwon 260b41c6b7 Merge pull request #40530 from nextcloud/manual/backport/stable27/40500
[stable27] Consider share type for enforced share expiry dates
2023-09-20 20:48:09 +02:00
fenn-cs cf2b9e8353 Consider share type for enforced share expiry dates
We have three kind of share expiry date enforcements.

- `isDefaultExpireDateEnforced`
- `isDefaultInternalExpireDateEnforced`
- `isDefaultRemoteExpireDateEnforced`

Before these commit, `isExpiryDateEnforced` that is used to
disable/enable the set expiry date checkbox does not take those into consideration
which is problematic as those have different applications.

In addition, this commit now uses `isExpiryDateEnforced` to disable/enable the input for
expiry date that shows up before the creation of link shares.

Here, `hasExpirationDate` is also removed from 'SharingEntryLink` component as it is
not used.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-20 15:18:44 +00:00
Richard Steinmetz c5377c572b Merge pull request #40520 from nextcloud/fix/guest-pages-contentinfo-stable27 2023-09-20 16:36:26 +02:00
F. E Noel Nfebe bee84a5733 Merge pull request #40429 from nextcloud/manual/backport/stable27/commit-in/40389
[stable27] Fix alignments for share different share entry types.
2023-09-20 15:14:42 +01:00
fenn-cs 4755a47f84 Properly align all sharing-entry types
SharingEntryLink and regular ShareEntry were not properly visually aligned
before this commit.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-20 10:19:55 +00:00
Arthur Schiwon 29ff8a5cfc 27.1.1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-20 11:52:54 +02:00
Joas Schilling fe4d002d1f Merge pull request #40506 from nextcloud/backport/40488/stable27
[stable27] fix(comments): Use provided offset in best effort when loading comments
2023-09-20 10:23:47 +02:00
Robin Appelman 2be08904ed Merge pull request #40487 from nextcloud/backport/40183/stable27
[stable27] SFTP improvements
2023-09-20 10:08:02 +02:00
Richard Steinmetz 664f2aa807 fix: content info footer on guest pages
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-09-20 09:27:53 +02:00
Nextcloud bot 1fe62e1862 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-20 00:27:42 +00:00
Robin Appelman e15d999911 use user_saml from git
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-19 16:21:42 +02:00
Robin Appelman bd1dadd690 kerberos sso ci fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-19 16:20:59 +02:00
Robin Appelman 0a5ebef425 improve s3 error handling
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-19 15:52:14 +02:00
Joas Schilling 9cf4e38c4b fix(comments): Use provided offset in best effort when loading comments
When we didn't find the "$lastKnownComment" the whole condition was ignored.
Now we still use the ID as an offset.
This is required as a fall-back for expired messages in Talk
and deleted comments in other apps.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-19 13:47:51 +00:00
Nextcloud bot 13c5dde076 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-19 00:24:07 +00:00
Robin Appelman 656fd512b5 sftp psalm fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:44 +00:00
Robin Appelman b48f118b65 psalm suppress
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:43 +00:00
Robin Appelman e9227c29a9 add sftp ci test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:43 +00:00
Robin Appelman 373bd09fbf implement fseek for sftp read stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:43 +00:00
Robin Appelman 02a50bd99c more optimized getPermissions/getMetaData
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:43 +00:00
Robin Appelman 6ab32b00ee sftp optimize file_put_contents, writeStream and copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:43 +00:00
Robin Appelman 0a219b1dc0 fix error during sftp stream close
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:42 +00:00
Robin Appelman 70658918d9 clear sftp stat cache when opening a write stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:33:42 +00:00
Daniel 42ed302c01 Merge pull request #40433 from nextcloud/backport/40416/stable27 2023-09-18 17:59:06 +02:00
Daniel Kesselberg efb01db387 fix: use faster method to fetch user count
countUsers: the actual user count reported by the backend.
countSeenUsers: count every user who was logged in once.

1: We should avoid expensive operations (like asking every backend for it's user count) in migrations.
2: The current check is wrong because countUsers returns an array. var_dump([] > 1000) => true ;)

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-18 14:09:01 +02:00
Daniel e2cfe1deb2 Merge pull request #40444 from nextcloud/backport/40418/stable27 2023-09-18 14:08:30 +02:00
Robin Appelman 2fad5233a2 Merge pull request #40473 from nextcloud/backport/39860/stable27
[stable27] don't preload metadata for the sub-childen
2023-09-18 13:53:18 +02:00
Louis 5a22eb7016 Merge pull request #40448 from nextcloud/manual/backport/stable27/40440
[stable27] Backport consider link shares in removeShare method in SharingTab #40440
2023-09-18 12:37:47 +02:00
Robin Appelman e14858007d only triger metadata preload logic when at least one metadata is requested
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 09:31:06 +00:00
Robin Appelman 9b3d8f334b don't preload metadata for the sub-childen
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 09:31:05 +00:00
fenn-cs 65ff60a69b Consider link shares in removeShare method in SharingTab
Currently, the `removeShare` method in the `SharingTab` view,
does not take into account `linkShares`.

Since link shares now shares thesame detail view with other share types,
it should therefore be considered hence this commit.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-18 08:35:30 +00:00
Nextcloud bot eaaa3521e5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-18 00:26:57 +00:00
Simon L 91a7538bec Merge pull request #40461 from nextcloud/backport/40203/stable27
[stable27] fix(mimetype): Fix aborted transaction on PostgreSQL when storing mimetype
2023-09-17 17:18:45 +02:00
Nextcloud bot 8045a6dd22 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-17 00:27:11 +00:00
Lucas Azevedo cfae699d6e Wrap mimetype insert and getLastInsertId in a transaction
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-16 19:31:27 +00:00
Lucas Azevedo f0a1716bb5 fix(mimetype): Remove unnecessary transaction when storing a mime type
Fixes #40064.

This could be fixed by adding a rollback and starting a new transaction
before the SELECT query, but in this case that would have the same
effect as not using one.
See https://dev.mysql.com/doc/refman/8.0/en/innodb-autocommit-commit-rollback.html
and https://www.postgresql.org/docs/7.1/sql-begin.html#R1-SQL-BEGIN-1

Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-16 19:31:26 +00:00
Nextcloud bot 5139643a63 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-16 00:27:38 +00:00
Daniel Kesselberg 562c47223a fix: don't use davtags for tag search
1. https://github.com/nextcloud/server/pull/26813 Initial implementation with support for systemtags and davtags (vcategory)
2. https://github.com/nextcloud/server/pull/39062 Additional check if the given tag exists, though ISystemTagManager.getAllTags only looks for systemtags

Therefore it's not possible anymore to search for davtags and unnecessary to join the other tables.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-15 17:36:38 +00:00
Arthur Schiwon 4ff639eb51 Merge pull request #40432 from nextcloud/release/27.1.0
27.1.0
2023-09-15 16:26:54 +02:00
Arthur Schiwon ed20a907a4 Merge pull request #40437 from nextcloud/backport/40434/stable27
[stable27] Correctly switch/revert from custom to bundled perms
2023-09-15 16:26:10 +02:00
fenn-cs 481f5bba81 Correctly switch/revert from custom to bundled perms
We have a set custom permissions checkbox, that when selected should set
the quick permissions settings to custom as well as show the custom permission settings.

When the checkbox is unchecked the quick permissions have to be reset to the default,
`bundledPermissions.ALL` but also users can switch from custom permissions to `bundled`
by just changing the radio select, hence we need a mechanism to set the permissions back
to the correct fallback depending on where the user has toggled the the custom permission from.

The mechanism is `revertSharingPermission` and this commit, makes sure revert values are correctly
set upon toggle.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-15 13:48:54 +00:00
Arthur Schiwon d5185f0d30 27.1.0
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-15 11:54:52 +02:00
Nextcloud bot 5a9df6c168 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-15 00:26:46 +00:00
Arthur Schiwon 0155f05987 Merge pull request #40399 from nextcloud/release/27.1.0_rc4
27.1.0 RC4
2023-09-14 19:04:37 +02:00
Arthur Schiwon df42e781df Merge pull request #40417 from nextcloud/artonge/bump/nextcloud_dialogs_4_2_0
[stable27] Bump @nc/dialogs to 4.2.0
2023-09-14 14:30:46 +02:00
Andy Scherzinger 1ac6c923b4 Merge pull request #40415 from nextcloud/artonge/backport/stable27/40389
[stable27] Fix invite guest for new sharing flow
2023-09-14 14:23:08 +02:00
Andy Scherzinger 87b7c91108 Merge pull request #40414 from nextcloud/artonge/backport/stable27/40365
[stable27] Hide additional content when share details is open
2023-09-14 14:14:52 +02:00
Arthur Schiwon 6c232c511c Merge pull request #40402 from nextcloud/backport/40301/stable27
[stable27] fix(caldav): add webroot to objectid for activities
2023-09-14 12:24:55 +02:00
Louis Chemineau 53bc5c9594 Bump @nc/dialogs to 4.2.0
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-14 12:14:21 +02:00
fenn-cs 15dd2e85e1 Fix invite guest for new sharing flow
Call external handlers such as the one in the guess app
https://github.com/nextcloud/guests/blob/master/src/main.js#L30
if present.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-14 12:04:16 +02:00
Louis Chemineau fb76e03345 Hide additional content when share details is open
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-14 12:01:18 +02:00
Andy Scherzinger 4bbf010aeb Merge pull request #40412 from nextcloud/manual/backport/stable27/40404
[stable27] Ellipsize user status in sharing entry
2023-09-14 11:57:39 +02:00
fenn-cs cd795e6422 Ellipsize user status in sharing entry
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-14 11:37:18 +02:00
Andy Scherzinger 80dbe54eaf Merge pull request #40405 from nextcloud/manual/backport/stable27/40393
[stable27] Display user status by the side in sharing flow
2023-09-14 11:25:06 +02:00
fenn-cs eb9ba2e8ce Display user status by the side in sharing flow
The quick share drop down now takes the place where the user status
would show in the past, so we have the option of removing it (as it's available
in the profile dropdown) or putting it at the side as such.

It's put on the side without the icon, as the status icon appears on the avatar
when set.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-09-14 08:47:46 +02:00
Nextcloud bot 582c34e605 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-14 00:27:03 +00:00
Daniel Kesselberg 0da5cb3b85 fix(caldav): add webroot to objectid for activities
A calendar uri includes the webroot: example.com/cloud/remote.php/dav/calendars/alice/personal/
The calendar app uses base64(calendar uri) as identifier for calendar objects.

Without this patch the links from activity app to calendar app don't work for installations in a subdirectory.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-13 19:34:03 +00:00
Arthur Schiwon 0e5bb30929 Merge pull request #40390 from nextcloud/manual/backport/stable27/40372
[stable27] Backport polish sharing flow bugs
2023-09-13 20:40:38 +02:00
Arthur Schiwon e5a043a8ca 27.1.0 RC4
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-13 19:50:06 +02:00
fenn-cs 2a54fc57eb Consistent delete button in share details
Delete button text should have same size as other buttons.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-13 10:18:08 +01:00
fenn-cs 51ad9cfcc8 Enfore allowPublicShares admin setting
Use the the modern intial-state library to pass data about
`allowPublicUploads` to the sharing frontend.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-09-13 10:18:08 +01:00
fenn-cs cec466ed3b Refactor migrated addShare method
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-09-13 10:18:07 +01:00
Nextcloud bot 9037509729 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-13 00:24:46 +00:00
Julius Härtl a521973c59 fix: Avoid failing with duplicate checks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-12 15:13:08 +02:00
Julius Härtl fd6990a33b fix: Only read unencrypted_size when file is actually encrypted
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-12 15:05:16 +02:00
Julius Härtl b14967cb2c fix: Only store unencrypted_size if path should be encrypted
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-12 15:05:13 +02:00
Arthur Schiwon 748720cff6 Merge pull request #40344 from nextcloud/release/27.1.0_rc3
27.1.0 RC3
2023-09-12 10:41:35 +02:00
Arthur Schiwon 8ffe77d036 Merge pull request #40343 from nextcloud/40289-stable27-fix-appearance
[stable27] 40289 fix appearance
2023-09-12 09:28:46 +02:00
Arthur Schiwon 96d72c8bdc Merge pull request #40369 from nextcloud/backport/39128/stable27
[stable27] fix(ldap): avatar is not being fetched
2023-09-12 09:23:27 +02:00
Nextcloud bot 26d6ac7366 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-12 00:27:55 +00:00
nextcloud-command 0abc80785a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-11 18:22:48 +00:00
Arthur Schiwon 00ac153ef7 fix(LDAP): add return type hint and description
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-11 17:53:16 +00:00
Arthur Schiwon 1f748ded7e fix(ldap): avatar is not being fetched
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-11 17:53:16 +00:00
fenn-cs 8113c027d8 Add icons for bundled permissions
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-11 13:26:25 +01:00
fenn-cs f2a9859117 Adjust share details view UI
- List custom permissions activated in sublime
- Align checkboxes in advanced settings

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-09-11 13:12:01 +01:00
Arthur Schiwon 7575e870ca Merge pull request #40350 from nextcloud/backport/40349/stable27
[stable27] fix(autoloader): no apcu no side effects
2023-09-11 12:44:46 +02:00
Nextcloud bot 67e82f17ef Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-11 00:27:08 +00:00
Nextcloud bot 058b6c36f9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-10 00:25:29 +00:00
Nextcloud bot 5125a3455f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-09 00:25:51 +00:00
Arthur Schiwon 3304b0371b fix(autoloader): no apcu no side effects
apcu lead to side effects especially with app management and (soft)
inter-dependencies, and lead also to 500 server errors. While we could
add management to clear apcu cache in many cases (may stil leave edge
cases) the performance benefit is marginally as also class maps are
already cached in opcache. Hence, the simple and effective way to go is
to not use apcu for autoloading.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-08 18:30:40 +00:00
Arthur Schiwon 07a9200538 Merge pull request #40333 from nextcloud/backport/40329/stable27
[stable27] theming: Revert broken SVG optimization in default-source.svg
2023-09-08 17:06:38 +02:00
Arthur Schiwon 7829019ca8 Merge pull request #40339 from nextcloud/artonge/backport/stable27/40296
[stable27] Enable new versions feature for groupfolders
2023-09-08 17:05:17 +02:00
Arthur Schiwon a1130be0e3 Merge pull request #40342 from nextcloud/backport/40341/stable27
[stable27] fix: Hide set reminder action on public shares
2023-09-08 17:02:22 +02:00
Andy Scherzinger 9cccc03d74 Merge pull request #39890 from nextcloud/less-container-queries-27
[stable27] Reduce the number of container queries
2023-09-08 09:56:50 +02:00
Arthur Schiwon 58fdbded2f 27.1.0 RC3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-08 09:38:29 +02:00
Nextcloud bot b75c0fe306 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-08 00:31:36 +00:00
Christopher Ng 9a4f2f1782 fix: Hide set reminder action on public shares
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 8031ee862a)
2023-09-07 16:15:29 -07:00
Louis Chemineau bab1a981c3 Fix lint error
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-07 22:52:32 +02:00
Louis Chemineau 34e73b3c60 Fix: allow to name the current version
We only need to change the filename
of the current version for the viewer

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-07 22:39:52 +02:00
Louis Chemineau eb4185590b Enable new versions feature for groupfolders
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-07 22:37:22 +02:00
Louis Chemineau 4d93b8f9bc Move module versions management logic out of main logic
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-07 22:35:04 +02:00
jld3103 021b97dcb8 theming: Revert broken SVG optimization from f2afcc in default-source.svg
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-07 15:11:50 +00:00
Robin Appelman ee8c1a5c60 only determine quota_include_external_storage once for quota wrapper
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-07 16:25:23 +02:00
Robin Appelman 9242e8939f only get logger when needed in sabre/directory
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-07 16:25:16 +02:00
Robin Appelman a23447c050 better caching in storage stats calculations
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-07 16:25:10 +02:00
Robin Appelman 4c604bf531 only gather dependencies for trashbin wrapper once
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-07 16:24:59 +02:00
Robin Appelman 5ebceaa54c reuse dependencies from wrapped cache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-07 16:22:00 +02:00
Arthur Schiwon 1e8a067b93 Merge pull request #40278 from nextcloud/release/27.1.0_rc2
27.1.0 RC2
2023-09-07 15:33:56 +02:00
Arthur Schiwon 865e32e431 Merge pull request #40327 from nextcloud/manual/backport/stable27/40266
[stable27] Backport Polish new sharing flow : accesibility, expand bahavior, click outside behaviour
2023-09-07 15:32:09 +02:00
nextcloud-command c0b97ea89a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-07 13:31:24 +00:00
fenn-cs 1539d5e262 Add accesibility features to quick share dropdown
- Adds appropriate aria attributes
- Uses button element for dropdown items as it's more semantically correct
- Uses trap-focus lib to trap focus when the drowpdown is active
- Adds custom handling for arrow up and down

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-09-07 15:17:50 +02:00
fenn-cs 8fab35475f Close quickshare dropdown on outside click
If a user clicks anywhere outside of the quickshare dropdown,
it should be closed.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-09-07 15:17:50 +02:00
fenn-cs c22c9c917b Do not toggle custom permissions
Currently, swithcing between permissions in the sharing permissions
details view would toggle the custom permissions view.

We think, it's better for the custom permission option to simple
expand the custom permissions view and never close it gain even if the
user is switching between bundled permissions.

The user can always collapse the view by using the "Advanced settings" toggle.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-09-07 15:17:49 +02:00
Arthur Schiwon a5f71a7502 Merge pull request #40298 from nextcloud/backport/39693/39693-stable27
[stable27] enable download configuration on circles shares
2023-09-07 15:06:58 +02:00
Arthur Schiwon 6548558267 Merge pull request #40271 from nextcloud/backport/39895/stable27
[stable27] admin have no special rights on users' entries
2023-09-07 12:58:40 +02:00
Arthur Schiwon ea48ef5905 Merge pull request #40309 from nextcloud/backport/40292/stable27
[stable27] fix(CalDAV): check birthday calendar owner
2023-09-07 12:55:57 +02:00
Maxence Lange d4bc489de1 admin have no special rights on users' entries
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-07 11:04:55 +02:00
Arthur Schiwon bb08cc15b0 Merge pull request #40286 from nextcloud/backport/40233/stable27
[stable27] Detect aborted connection in OC\Files\View and stop writing data to t…
2023-09-07 11:03:42 +02:00
Anna Larch 9459352f53 fix(CalDAV): check birthday calendar owner
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-07 09:25:08 +02:00
Andy Scherzinger aa8094a71b Merge pull request #40315 from nextcloud/backport/40295/stable27
[stable27] Rename AppEcosystemV2 to AppAPI
2023-09-07 09:21:57 +02:00
Alexander Piskun 89cca0cd7c new name of AppEcosystem is AppAPI
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-09-07 05:32:20 +00:00
Nextcloud bot bb74c5dfb0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-07 00:29:13 +00:00
Andy Scherzinger dd52ddf4f8 Merge pull request #40300 from nextcloud/backport/40293/stable27
[stable27] fix(ratelimit): Only use memory cache backend for redis
2023-09-06 19:33:19 +02:00
Julius Härtl 42e70cf639 Merge pull request #40297 from nextcloud/backport/40184/stable27 2023-09-06 18:55:36 +02:00
Andy Scherzinger 8d4b298ceb Merge pull request #40220 from nextcloud/automated/noid/stable27-fix-npm-audit
[stable27] Fix npm audit
2023-09-06 17:51:36 +02:00
Joas Schilling 52d68d3109 fix(ratelimit): Only use memory cache backend for redis
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-06 15:42:21 +00:00
nextcloud-command b29375f686 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-06 15:00:39 +00:00
Maxence Lange 15eb92f517 enable download configuration on circles shares
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-06 13:40:55 -01:00
Julius Härtl a518225a80 feat: Add events for version restore
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-06 13:59:34 +00:00
John Molakvoæ 325e42f2b3 Merge pull request #40281 from nextcloud/deps/nextcloud/dialogs-4.2.0-beta.5 2023-09-06 10:59:53 +02:00
Arthur Schiwon 801c5556f4 Merge pull request #40231 from nextcloud/sharing-mask-wrapper-27
[27] move share permission logic to storage wrapper
2023-09-06 10:27:55 +02:00
Arthur Schiwon b956f0ffd2 Merge pull request #40200 from nextcloud/backport/39925/stable27
[stable27] fix(CardDAV): allow disabling of the system address book
2023-09-06 10:27:14 +02:00
Benjamin Gaussorgues 8c7017679d Detect aborted connection in OC\Files\View and stop writing data to the output buffer
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-09-06 09:22:06 +02:00
Christopher Ng c140b385e5 chore: Compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-05 11:58:20 -07:00
Christopher Ng 80e3a86b85 chore: Bump @nextcloud/dialogs to v4.2.0 beta 5
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-05 11:53:53 -07:00
Christopher Ng 0607f21485 chore: Add patch-package dev dep for @nextcloud/dialogs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-05 11:52:29 -07:00
Arthur Schiwon 33b05ce7eb Merge pull request #40197 from nextcloud/update-sabre-http-for-stable27
[stable27] chore(3rdparty): update sabre/http to 5.1.10
2023-09-05 19:22:17 +02:00
Arthur Schiwon 36b8f46b2d Merge pull request #40269 from nextcloud/ftp-ci-fix-27
[27] change proftpd ci image
2023-09-05 19:21:31 +02:00
Arthur Schiwon 90a2802f95 Merge pull request #40258 from nextcloud/backport/40234/stable27
[stable27] enh: skip processing for empty response
2023-09-05 19:14:52 +02:00
Arthur Schiwon 278f79f932 Merge pull request #40227 from nextcloud/backport/40195/stable27
[stable27] fix: prevent sharing permissions on user root folder
2023-09-05 19:14:24 +02:00
Arthur Schiwon c7d6320fbf Merge pull request #40186 from nextcloud/backport/39017/stable27
[stable27] fix(s3): fix handling verify_bucket_exists parameter
2023-09-05 19:13:02 +02:00
Arthur Schiwon 7c7475c11d 27.1.0 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-05 17:42:21 +02:00
Robin Appelman b401580081 change proftpd ci image
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-05 14:48:46 +02:00
Anna Larch 6354dce7ea fix(CardDAV): allow disabling of the system address book via config option
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-05 10:22:52 +02:00
Nextcloud bot 9ddb07ca19 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-05 00:27:32 +00:00
Daniel Kesselberg b6c6475e18 enh: skip processing for empty response
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-04 18:51:27 +00:00
Robin Appelman fc21ecbd2a cleanup di for share permissions wrapper
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 14:13:57 +02:00
Robin Appelman 8511fb91ca more share permission logic to storage wrapper
this way we only have to determine the share permissions once

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 14:09:41 +02:00
Daniel Kesselberg 29be847370 chore(3rdparty): update sabre/http to 5.1.10
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-04 12:06:19 +02:00
John Molakvoæ d60f95833b fix: prevent sharing permissions on user root folder
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-04 09:05:11 +00:00
Nextcloud bot 09fd427df1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-04 00:32:39 +00:00
nextcloud-command a149b78ccb chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-09-03 02:53:57 +00:00
Nextcloud bot 1f2abf43e1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-03 00:25:42 +00:00
Nextcloud bot ebe2b370a0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-02 00:26:55 +00:00
Nextcloud bot 322bb03a58 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-01 00:29:48 +00:00
Thomas Citharel fe618feeb0 fix(s3): fix handling verify_bucket_exists parameter
If 'verify_bucket_exists' is set to false in the config.php s3 configuration, it's supposed to avoid
verifying that the bucket exists. However empty(falsy) will  always return true, so this condition
would not work.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-08-31 21:21:16 +00:00
Arthur Schiwon 3519f20add Merge pull request #40098 from nextcloud/release/27.1.0_rc1
27.1.0 RC1
2023-08-31 15:38:46 +02:00
Arthur Schiwon 1aea79689d Merge pull request #40179 from nextcloud/artonge/backport/stable27/39472_2
[stable27] Improve sharing flow
2023-08-31 15:37:06 +02:00
fenn-cs 1d74d62d2a Improve sharing flow
This commit introduces the following changes:

- Does not create new share once user is selected for internal shares
- Adds a `SharingDetails` view for share configurations
- Adds a quick share select to enable fast changes in share permisions.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-08-31 14:28:13 +02:00
Joas Schilling db1a7ba03a Merge pull request #40175 from nextcloud/rev/noid/direct-push
[stable27] revert accidental direct push of 8b42fb033f
2023-08-31 13:35:31 +02:00
Arthur Schiwon 7cdafeac36 Revert "Improve sharing flow"
This reverts commit 8b42fb033f.
2023-08-31 12:22:10 +02:00
Andy Scherzinger bfd7b49be7 Merge pull request #40074 from nextcloud/backport/39944/stable27
[stable27] pass the share to the cache instead of having to ask the storage
2023-08-31 11:47:23 +02:00
Nextcloud bot 3d13383e9b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-31 00:34:53 +00:00
Daniel 03da441629 Merge pull request #40162 from nextcloud/backport/40108/stable27 2023-08-30 20:38:38 +02:00
fenn-cs 8b42fb033f Improve sharing flow
This commit introduces the following changes:

- Does not create new share once user is selected for internal shares
- Adds a `SharingDetails` view for share configurations
- Adds a quick share select to enable fast changes in share permisions.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-08-30 18:12:49 +02:00
Daniel Kesselberg 4338d0747d feat: add switch to disable dns pinning
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-30 13:07:55 +00:00
Nextcloud bot 191e20d7f4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-30 00:31:48 +00:00
Arthur Schiwon daa2d69a1f Merge pull request #40032 from nextcloud/backport/40013/stable27
[stable27] Do not log passwords in debug mode
2023-08-29 21:22:09 +02:00
Joas Schilling 20969519f0 Merge pull request #40101 from nextcloud/backport/38545/stable27
[stable27] fix(CI): Add empty eslint and node when unrelated (PHP only)
2023-08-29 17:10:01 +02:00
Joas Schilling b9a493ed9b Merge pull request #40080 from nextcloud/backport/40077/stable27
[stable27] fix(cache): Remove displayname cache entry on delete
2023-08-29 15:49:23 +02:00
Joas Schilling 6e4976c9f1 fix(CI): Add empty eslint and node when unrelated (PHP only)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-29 15:47:38 +02:00
Joas Schilling ff0569abab Merge pull request #40039 from nextcloud/backport/39511/stable27
[stable27] fix(utility): De- deprecate getDateTime and getTime as now() only returns DateTimeImmutable
2023-08-29 14:41:40 +02:00
Arthur Schiwon a03054c9e1 27.1.0 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-08-29 14:39:23 +02:00
Andy Scherzinger 67ff5d50fd Merge pull request #40081 from nextcloud/fix/stable27/check-vobject-exists
[stable27] fix(CalDAV): check voject exists before attempting any operation
2023-08-29 09:57:30 +02:00
Nextcloud bot a48036560b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-29 00:31:10 +00:00
Anna Larch c3f92ac5d9 fix(CalDAV): check voject exists before attempting any operation
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-28 18:49:44 +02:00
Andy Scherzinger 887bc6fd6e Merge pull request #40078 from nextcloud/backport/39699/stable27
[stable27] Hide shares by disabled users
2023-08-28 18:33:20 +02:00
Joas Schilling 7ffc89e7ff fix(cache): Remove displayname cache entry on delete
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-28 16:18:59 +00:00
Côme Chilliet 6076e7b8ce Use nullsafe call syntax instead of additionnal check
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-08-28 13:50:27 +00:00
Côme Chilliet eb61f94807 Fix tests, add test for the new feature
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-28 13:50:26 +00:00
Côme Chilliet 98fa5fe627 Set files_sharing:hide_disabled_user_shares to 'yes' to hide shares from disabled users
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-28 13:50:26 +00:00
Robin Appelman 5df53bd0fd pass the share to the cache instead of having to ask the storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-28 12:02:17 +00:00
Ferdinand Thiessen 68ae8706d8 Merge pull request #40060 from nextcloud/backport/27-upload-progress
[stable27] Improve upload progress visualization
2023-08-28 12:53:20 +02:00
Anna Larch 513371152a fix(utility): De- deprecate getDateTime as now() only returns immutable objects
This will mean lots of code like
```$dateTime = (new DateTime())->setTimestamp(ITimeFactory::now()->getTimestamp()```
if a regular DateTime object is needed

Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-28 12:44:11 +02:00
Anna e8b3b774c2 Merge pull request #40066 from nextcloud/backport/39911/stable27
[stable27] fix(CardDAV): only run upgrade sync if 1000 users or less
2023-08-28 12:35:03 +02:00
Nextcloud bot cf59499274 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-28 00:26:39 +00:00
Anna Larch b3526ea81f fix(CardDAV): only run upgrade sync if 1000 users or less
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-27 14:04:44 +00:00
John Molakvoæ 897c4d4037 Merge pull request #40062 from nextcloud/fix/theming-async-chunks 2023-08-27 11:38:21 +02:00
Louis c5668cf79c Merge pull request #39728 from nextcloud/automated/noid/stable27-fix-npm-audit
[stable27] Fix npm audit
2023-08-27 05:33:20 +02:00
nextcloud-command 3ccd52340c chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-08-27 02:46:14 +00:00
Nextcloud bot c5a5864144 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-27 00:30:56 +00:00
Ferdinand Thiessen 4a558dbb36 fix(theming): Add __webpack_nounce__ to support async chunks like the filepicker
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 16:50:21 +02:00
Ferdinand Thiessen eee7cbf5f2 fix: Upload progress shows number of files to upload and current index
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 15:04:23 +02:00
Ferdinand Thiessen 60a5eb6059 fix: Make smooth bitrate and remaining upload time work when unset
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 15:03:38 +02:00
Phlogi ace7374613 Smooth time remaining, bitrate and stabilize user information
Besides the existing moving average, a smoothing factor is introduced for the time remaining display as well as the bitrate.
Furthermore, half of the buffer needs to be filled before the first prediction is displayed to the user. This reduces volatile and jumping durations towards the user and improves usability.

Signed-off-by: Cyrill H. <phlogi@posteo.de>
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
2023-08-26 15:03:38 +02:00
Nextcloud bot ea090a30ad Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-26 00:32:44 +00:00
John Molakvoæ 9577f97c7e Merge pull request #40045 from nextcloud/backport/27/encode-filename-trashbin-restore 2023-08-25 21:18:04 +02:00
Daniel Kesselberg 6b0fba15fa fix: encode basename in restore action
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-25 17:28:33 +02:00
Joas Schilling 8aad539918 Merge pull request #40034 from nextcloud/fix/stable27/log-condition-user
[stable27] Fix user log.condition feature
2023-08-25 09:57:30 +02:00
Côme Chilliet 8277d0a5aa Fix user log.condition feature
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-25 08:15:05 +02:00
John Molakvoæ 146cc6ad45 Merge pull request #39900 from nextcloud/fix/stable27/set-owner-principal-for-SAB 2023-08-25 08:11:42 +02:00
John Molakvoæ 9441fa568c Merge pull request #40028 from nextcloud/release/27.1.0_beta_3
27.1.0 beta 3
2023-08-25 07:51:43 +02:00
Nextcloud bot 8612cece7f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-25 00:34:36 +00:00
John Molakvoæ fcaee86280 Merge pull request #39939 from nextcloud/deps/stable27/tarstreamer-php8 2023-08-24 20:28:13 +02:00
Daniel Kesselberg 4526ee4958 chore: update tarstreamer to 2.1.0
To improve php8 support

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-24 17:42:50 +02:00
Anna Larch 504f396d33 fix(CardDAV): set owner-principal, displayname properties for SAB
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-24 15:07:24 +02:00
Anna Larch 1e6e722703 Do not log passwords in debug mode
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-24 13:03:37 +02:00
John Molakvoæ 480d2c2fd0 Merge pull request #40030 from nextcloud/fix/update-dialogs-to-4.2.0-beta.4 2023-08-24 13:00:41 +02:00
Ferdinand Thiessen 84493b1d55 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-24 12:12:46 +02:00
Ferdinand Thiessen 66fc35f8d4 chore: Update @nextcloud/dialogs to 4.2.0-beta.4 for FilePicker improvments
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-24 12:06:41 +02:00
John Molakvoæ 927374fef8 Merge pull request #39953 from nextcloud/backport/39903/stable27 2023-08-24 10:06:05 +02:00
John Molakvoæ d27830984c Merge pull request #39952 from nextcloud/szaimen-patch-1 2023-08-24 10:05:45 +02:00
John Molakvoæ ce604576f1 27.1.0 beta 3
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-24 09:24:28 +02:00
Nextcloud bot 31c4a93ef6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-24 01:01:19 +00:00
Joas Schilling d12b56bf63 Merge pull request #39997 from nextcloud/backport/39870/stable27
[stable27] feat(security): Add a bruteforce protection backend base on memcache
2023-08-23 08:43:01 +02:00
John Molakvoæ 7ef9721347 Merge pull request #40007 from nextcloud/automated/noid/stable27-update-ca-cert-bundle 2023-08-23 08:10:43 +02:00
Joas Schilling 26832ec5da fix(middleware): Fix header injection for bruteforce middleware
Calling setHeaders(getHeaders()) breaks the CSP nonce for unknown reasons
So shifting back to old standard practise for now

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-23 06:44:09 +02:00
Joas Schilling 866a8a2368 feat(admin): Show an error when the admin is throttled
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-23 06:44:08 +02:00
Joas Schilling 759fc11f39 fix: Make bypass function public API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-23 06:44:08 +02:00
Joas Schilling b5dbb4d9f2 feat(OCC): Add a command to get the bruteforce state of an IP
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-23 06:44:07 +02:00
Joas Schilling b55359b23c feat: Expose if the own IP is allowed to bypass bruteforce protection
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-23 06:44:07 +02:00
Joas Schilling 5c0789197f feat: Add a header which signals that the request was throttled
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-23 06:44:06 +02:00
Joas Schilling 97548e789f feat(security): Add a "testing mode" for bruteforce protection that doesn't sleep
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-23 06:44:06 +02:00
Joas Schilling befa2f6d51 feat(security): Add a bruteforce protection backend base on memcache
Similar to the ratelimit backend

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-23 06:44:05 +02:00
nextcloud-command 896cfa012c fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2023-08-23 02:09:59 +00:00
Nextcloud bot 130514267d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-23 00:28:29 +00:00
Joas Schilling 7d795d0203 Merge pull request #39993 from nextcloud/backport/39937/stable27
[stable27] feat(dashboard): implement widget item api v2
2023-08-22 14:21:15 +02:00
Joas Schilling 900439ea42 Fix(CI): Satisfy old psalm by being less specific
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-22 13:15:13 +02:00
Joas Schilling c166fa0161 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-22 10:44:41 +02:00
Richard Steinmetz 3fd18ce450 feat(dashboard): implement widget item api v2
This API enables the dashboard to render all widgets from the API data
alone without having apps to provide their own bundles. This saves a lot
of traffic and execution time as a lot less javascript has to be parsed
on the frontend.

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-08-22 10:38:46 +02:00
Julius Härtl 2a435e8bd2 Merge pull request #39934 from nextcloud/backport/39481/stable27 2023-08-22 08:58:16 +02:00
Julius Härtl c9978db8e6 Merge pull request #39949 from nextcloud/backport/39770/stable27 2023-08-22 08:57:02 +02:00
Nextcloud bot 80480279de Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-22 00:52:06 +00:00
Anna Larch 818ddb02c5 fix: don't emit Hooks when hookpaths are empty
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-21 09:58:21 +02:00
Nextcloud bot c735c6f67a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-21 00:27:51 +00:00
Nextcloud bot e17555b553 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-20 00:34:05 +00:00
Ferdinand Thiessen a922283055 Merge pull request #39919 from nextcloud/fix/legacy-files-list-sorting
[stable27] fix(files): Fix legacy files list sorting
2023-08-19 16:22:39 +02:00
Ferdinand Thiessen cb5c1725d1 fix(files): Fix legacy files list sorting
The sorting was not saved since files2vue changes in Nextcloud 27, as a new API endpoint
was introduced and the old one was dropped without adjusting the legacy file list to use it.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-19 15:08:39 +02:00
Joas Schilling cb894ebede Merge pull request #39962 from nextcloud/backport/39961/stable27
[stable27] fix(CS): Use the naming pattern for the URL scheme
2023-08-19 10:44:30 +02:00
Christopher Ng b0ca81aaa5 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-19 10:14:30 +02:00
Joas Schilling b483cab3c0 fix(CS): Use the naming pattern for the URL scheme
Signed-off-by: Joas Schilling <coding@schilljs.com>
(cherry picked from commit bf2a9aa46d)
2023-08-19 10:14:30 +02:00
Nextcloud bot 464881da02 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-19 00:34:11 +00:00
Joas Schilling 820d05dfa7 Merge pull request #39947 from nextcloud/backport/39910/stable27
[stable27] fix(memcache): Fix comparison of Memcache configs to classes
2023-08-18 13:21:01 +02:00
Robin Appelman dbc80b02b9 don't bother checking dav acl's in files
any permissions for files is handled in the filesystem layer anyway

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 08:08:34 +00:00
Simon L e9c15980fb [stable27] allow to upgrade from 26.0.x to 27.1.x directly
Signed-off-by: Simon L <szaimen@e.mail.de>

Signed-off-by: Simon L. <szaimen@e.mail.de>
2023-08-18 09:34:15 +02:00
Nextcloud bot 7901a7059f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-18 00:36:00 +00:00
Max f32dccd540 fix: always use display name from correct backend
Overwrite the display name after the account is initialized
when using an instacne of IGetDisplayNameBackend.

Before when using a variation of user_oidc and registering
a Backend.php implementing IGetDisplayNameBackend
the personal setting page shows 'uid'.

The UserManager/AccountManager seems not to use consistently
the correct backend.

The correct backend is used in this sequence:

server/lib/private/TemplateLayout.php

          $userDisplayName = \OC_User::getDisplayName();
          $this->assign(user_displayname, $userDisplayName);

In the settings page, it definitely not calls the registered backend,
but seems to fall back to default Backend and shows (usually) uid
or a value from the standard account property table.

Signed-off-by: Max <max@nextcloud.com>
2023-08-17 21:49:28 +00:00
Joas Schilling 30a9ba05d2 fix(memcache): Fix comparison of Memcache configs to classes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-17 21:08:09 +00:00
Ferdinand Thiessen 362acd93aa Merge pull request #39930 from nextcloud/backport/39906/stable27
[stable27] Prevent PHP warning when CacheEntry extension keys are not set
2023-08-17 15:59:41 +02:00
Ferdinand Thiessen 752523f874 fix: Prevent PHP warnings when optional CacheEntry attributes are unset
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-17 09:48:53 +00:00
Ferdinand Thiessen 258a85d5c7 tests: Add test for CacheEntry getters
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-17 09:48:53 +00:00
John Molakvoæ c3108e52fe Merge pull request #39908 from nextcloud/release/27.1.0_beta_2 2023-08-17 10:10:15 +02:00
John Molakvoæ 0c222eb6d1 Merge pull request #39921 from nextcloud/backport/39916/stable27 2023-08-17 08:07:24 +02:00
Nextcloud bot 0b2439aa7b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-17 00:33:58 +00:00
Simon L cfc4d2ec05 try to fix regression with public file upload button
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-16 22:51:34 +00:00
Julius Härtl 5c521da9e4 Merge pull request #39873 from nextcloud/backport/39786/stable27 2023-08-16 20:54:33 +02:00
Ferdinand Thiessen bddf9f417e Merge pull request #39913 from nextcloud/fix/stable27-filepicker-update
Update `@nextcloud/dialogs` to 4.2.0-beta.3 to fix FilePicker issues
2023-08-16 20:29:28 +02:00
Simon L 843598cf80 Merge pull request #39915 from nextcloud/backport/39884/stable27
[stable27] adjust add button
2023-08-16 18:37:43 +02:00
nextcloud-command abc64fb65c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-16 16:15:10 +00:00
Simon L cf335c93af address review
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-16 17:45:12 +02:00
Simon L cfd0f2c198 adjust add button
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-16 17:45:06 +02:00
Ferdinand Thiessen 3cf2252b91 fix: Update @nextcloud/dialogs to 4.2.0-beta.3 to fix FilePicker issues
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-16 17:05:47 +02:00
John Molakvoæ 8065a2f635 Merge pull request #39904 from nextcloud/backport/38397/stable27 2023-08-16 15:44:16 +02:00
Julius Härtl 6c05eb95ee fix: Also cleanup version metadata if expiring
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-16 15:44:06 +02:00
John Molakvoæ f95ed098c5 Merge pull request #39871 from nextcloud/backport/38714/stable27
[stable27] select the fileid first when looking for incomplete files
2023-08-16 15:43:43 +02:00
John Molakvoæ de7822477c Merge pull request #39858 from nextcloud/backport/39568/stable27 2023-08-16 15:43:10 +02:00
John Molakvoæ 29407c2764 Merge pull request #39817 from nextcloud/backport/39700/stable27 2023-08-16 15:42:43 +02:00
John Molakvoæ c42a3e95b3 27.1.0 beta 2
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-16 15:37:08 +02:00
Johannes Merkel 8dae579261 enh(contacts): show/hide addressbooks for all
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-08-16 10:47:40 +00:00
Andy Scherzinger 5af9b6cb99 Merge pull request #39893 from nextcloud/fix/stable27-filepicker-ref
[stable27] Fix smart picker integration of new Vue based file picker
2023-08-16 07:38:23 +02:00
Nextcloud bot 25baaefef7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-16 00:25:46 +00:00
Ferdinand Thiessen 33afa7130a fix(files): Files reference picker migrated to new file picker
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-15 22:41:08 +02:00
Pytal 493d164dfb Merge pull request #39887 from nextcloud/backport/39876/stable27 2023-08-15 09:55:04 -07:00
Andy Scherzinger c535210496 Merge pull request #39886 from nextcloud/backport/39885/stable27
[stable27] Bump Hub 5 -> Hub 6
2023-08-15 17:53:58 +02:00
Christopher Ng 95688ea412 fix(files_reminders): Delete reminders on node deleted
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-15 15:48:59 +00:00
Christopher Ng 6f879f24db fix(files_reminders): Always respect json output option
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-15 15:48:59 +00:00
Christopher Ng efd1e11f31 fix(files_reminders): Allow non-admin
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-15 15:48:59 +00:00
Andy Scherzinger b9d372c587 BUmp Hub 5 -> Hub 6
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-08-15 15:10:44 +00:00
Nextcloud bot 75d7dc78a0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-15 00:59:46 +00:00
Pytal 5df864b69b Merge pull request #39855 from nextcloud/backport/39820/stable27 2023-08-14 17:15:43 -07:00
F. E Noel Nfebe fe7d4ba784 Merge pull request #39853 from nextcloud/manual/backport/39804/wrap-org-name-login-form
[stable27] Wrap long productName on login form
2023-08-14 21:33:20 +01:00
fenn-cs 41819791f9 Wrap long productName on login form
Backport : #39848

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-14 20:18:08 +00:00
Robin Appelman a5cd892caa select the fileid first when looking for incomplete files
this seems to improve mariadbs index selection

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-14 18:58:47 +00:00
Christopher Ng b92988cc01 Add l10n for files_reminders
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-14 11:54:48 -07:00
Robin Appelman 526a1404c0 cache calendar objects from calendarQuery
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-14 09:10:19 +00:00
Robin Appelman 234ae93f18 preload shares for calendars when listing calendars
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-14 09:10:19 +00:00
Nextcloud bot 76efab3c7c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-14 09:06:01 +00:00
Nextcloud bot 6e68b866b9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-14 00:26:10 +00:00
Nextcloud bot 3e7ca2b916 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-13 00:25:10 +00:00
Nextcloud bot 06e3df8329 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-12 00:27:51 +00:00
Christopher Ng 6dc9438eee test(updatenotification): No internet
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit de4bc44f95)
2023-08-11 16:31:36 -07:00
Christopher Ng 0c3324f478 fix(updatenotification): Skip update check
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit b63dbae68a)
2023-08-11 16:31:36 -07:00
Daniel Kesselberg f10972e2fe fix: close cursor after reading the invitation
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-11 16:37:37 +00:00
Benjamin Gaussorgues acd4e5dc0f Merge pull request #39813 from nextcloud/fix/bump-nextcloud-vue/7.12.2-in-stable27
[stable27] chore: update `@nextcloud-vue` to `v7.12.2`
2023-08-11 16:15:11 +02:00
Benjamin Gaussorgues 8f1dbeff20 chore: update @nextcloud-vue to v7.12.2
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-11 11:48:31 +00:00
John Molakvoæ b871ef7935 Merge pull request #39757 from nextcloud/release/27.1.0 2023-08-11 09:06:57 +02:00
John Molakvoæ cc97d03b72 Merge branch 'stable27' into release/27.1.0
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-08-11 09:06:46 +02:00
John Molakvoæ cb17127451 Merge pull request #39785 from nextcloud/backport/39741/stable27 2023-08-11 09:05:54 +02:00
John Molakvoæ 0642cecaae Merge pull request #39746 from nextcloud/backport/39058/stable27 2023-08-11 09:05:36 +02:00
John Molakvoæ bb06aadda9 Merge pull request #39722 from nextcloud/backport/39698/stable27 2023-08-11 09:05:22 +02:00
John Molakvoæ 58f1fffde4 Merge pull request #39710 from nextcloud/backport/39689/stable27 2023-08-11 09:05:05 +02:00
John Molakvoæ 5ec25e9e9a Merge pull request #38526 from nextcloud/backport/38520/stable27 2023-08-11 09:03:37 +02:00
Jérôme Herbinet 26d1416d11 Improved display of app links
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-08-11 08:23:27 +02:00
John Molakvoæ e20d10ce19 Merge pull request #39637 from nextcloud/backport/8c846ce1035052d9450495da2a056e31e8560899 2023-08-11 08:21:02 +02:00
nextcloud-command 2a618531fd chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-11 08:00:48 +02:00
Ferdinand Thiessen 05c71eb6fc feat(settings): Show supported apps on app settings if subscribed
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-11 07:57:34 +02:00
John Molakvoæ c239d69bb7 Merge pull request #39799 from nextcloud/appecosystem-auth-stable27 2023-08-11 07:56:16 +02:00
Nextcloud bot 9df163c656 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-11 00:30:19 +00:00
Andrey Borysenko c2a8280743 Fix psalm ci (stub). Wrap server container with try-catch
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2023-08-11 01:37:01 +02:00
Alexander Piskun ebf21bed51 added Application Ecosystem V2 login handler
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-08-11 01:37:01 +02:00
Andy Scherzinger d46779711c Merge pull request #39803 from nextcloud/feat/stable27-update-dialogs
[stable27] Update `@nextcloud/dialogs` for FilePicker design fixes
2023-08-11 01:36:14 +02:00
Ferdinand Thiessen 856d800ba6 chore: Update @nextcloud/dialogs to 4.2.0-beta.2 for fixing FilePicker designs
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-11 01:19:03 +02:00
Ferdinand Thiessen aa73590338 Merge pull request #39793 from nextcloud/feat/vue-filepicker-27
[stable27] Vue based FilePicker
2023-08-11 01:07:51 +02:00
Ferdinand Thiessen 376f46e475 fix: Move broken filepicker selenium tests to cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-10 23:47:56 +02:00
Ferdinand Thiessen 631a1f917b fix(cypress): Fix the user theming cypress test for the new filepicker
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-10 23:47:41 +02:00
Ferdinand Thiessen b73586563d feat: Add new Vue FilePicker from @nextcloud/dialogs and use it by default.
Still providing the legacy one until the Vue FilePicker is out of beta.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-10 23:47:40 +02:00
Andy Scherzinger 1f0eb714aa Merge pull request #39800 from nextcloud/backport/39798/stable27
[stable27] enh(files_reminders): Adjust reminder options
2023-08-10 23:23:02 +02:00
Christopher Ng 556da6674c chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 17cc3b36028d2d50f43b92acc7b2d0f2397c2710)
2023-08-10 11:23:17 -07:00
Christopher Ng 70f7fe6e0d enh(files_reminders): Adjust reminder options
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 9d93588a5d757fb34cd851e0d140a8f8883120dc)
2023-08-10 11:17:08 -07:00
Julius Härtl edc0df32e1 Merge pull request #39794 from nextcloud/backport/39789/stable27 2023-08-10 19:55:53 +02:00
nextcloud-command 79e7ecf77d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-10 16:29:37 +00:00
Julius Härtl cff9a567d2 fix: Pass proper viewer filename
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-10 17:50:47 +02:00
Andy Scherzinger 77119282af Merge pull request #39783 from nextcloud/backport/39685/stable27
[stable27] feat: Set file reminders
2023-08-10 16:58:14 +02:00
Simon L 6d07a29f18 Merge pull request #39795 from nextcloud/backport/39780/stable27
[stable27] log imaginary errors as info to not spam the server logs
2023-08-10 15:35:39 +02:00
Simon L 3f51e2d58b log imaginary errors as info to not spam the server logs
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-08-10 12:45:43 +00:00
Jamie McClelland b025e67d8d ensure outerquery ->where() function doesn't clobber earier ->andWhere()
Signed-off-by: Jamie McClelland <jm@mayfirst.org>
2023-08-10 12:54:20 +02:00
Jamie McClelland 6de2eccb7b optimize calendar search query
see https://github.com/nextcloud/calendar/issues/4758

Signed-off-by: Jamie McClelland <jm@mayfirst.org>
2023-08-10 12:54:20 +02:00
Christopher Ng a3c333c69f chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 1d2ec6bb0b)
2023-08-10 12:28:19 +02:00
Christopher Ng 87f9700ff5 enh: set later today to 6pm
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 9d43583b47)
2023-08-10 12:28:19 +02:00
Christopher Ng 0c0ed382f8 enh: pass params in subject
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 86db2d7f15)
2023-08-10 12:28:19 +02:00
Christopher Ng 15ade72d18 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 38e4ba211d)
2023-08-10 12:28:19 +02:00
Christopher Ng 6c89550bc6 enh: move to 8am
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit ffd68a80fc)
2023-08-10 12:28:19 +02:00
Christopher Ng f6a84410ed enh: en dash
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit ce3119ef07)
2023-08-10 12:28:19 +02:00
Christopher Ng c71db8aada feat: custom date & time
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 597abe0a1e)
2023-08-10 12:28:19 +02:00
Christopher Ng 271122e05a enh: remove icons
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit d086fe38cc)
2023-08-10 12:28:19 +02:00
Christopher Ng fa4840976e refactor: format options
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit dbe8ba2b1d)
2023-08-10 12:28:19 +02:00
Christopher Ng e5e5c97668 enh: use alarm icon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 893da9c395)
2023-08-10 12:28:19 +02:00
Christopher Ng 72bcafbc0f fix: remove non-existing reminder notification
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 0b15feec7f)
2023-08-10 12:28:19 +02:00
Christopher Ng 0131005066 fix: load script
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 89692cf8a1)
2023-08-10 12:28:19 +02:00
Christopher Ng 3bba555891 fix: eslint
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 683041cdb8)
2023-08-10 12:28:19 +02:00
Christopher Ng 6335282d22 enh: add clean up buffer
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 18fb955a41)
2023-08-10 12:28:19 +02:00
Christopher Ng 68f4a134d7 feat(files_reminders): v1.0.0
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 7af30fcf87)
2023-08-10 12:28:19 +02:00
Christopher Ng 64cd84b897 fix: composer
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 7a4c200db3)
2023-08-10 12:28:19 +02:00
Christopher Ng d498414b39 enh: use vue-material-design-icons
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit d1367ec779)
2023-08-10 12:28:19 +02:00
Christopher Ng d13b8dd7b5 fix: indent with tabs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 41856fb8ca)
2023-08-10 12:28:19 +02:00
Christopher Ng effc2105c5 enh: shorten date string if same day
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 440959a014)
2023-08-10 12:28:19 +02:00
Christopher Ng 2139e33fb3 enh: rename to saturday sunday
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit c2dfc42899)
2023-08-10 12:28:19 +02:00
Christopher Ng 3248e3f961 enh: later today 3 hours later
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 07c0f7e25b)
2023-08-10 12:28:19 +02:00
Christopher Ng ec8f8ce2a0 feat(files_reminders): add set reminder actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 5e4881b90c)
2023-08-10 12:28:19 +02:00
Christopher Ng 33c48616a8 feat(files_reminders): add verbose date string util
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 419bea67dd)
2023-08-10 12:28:19 +02:00
Christopher Ng 103f2c6bc3 fix: prevent sidebar from opening
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 10a921ea33)
2023-08-10 12:28:19 +02:00
Christopher Ng 118ea83b41 feat(files_reminders): mount set reminder actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 10b0d6737e)
2023-08-10 12:28:19 +02:00
Christopher Ng dd36606de5 feat(files_reminders): add types
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit fdfdb2ac3b)
2023-08-10 12:28:19 +02:00
Christopher Ng b10a1a7212 feat(files_reminders): add webpack module
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 2089fbaf82)
2023-08-10 12:28:19 +02:00
Christopher Ng 1af7287490 feat(files_reminders): add logger
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 5ca3770fb0)
2023-08-10 12:28:19 +02:00
Christopher Ng c2be544c41 fix: action icon color
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit e6cbb38175)
2023-08-10 12:28:19 +02:00
Christopher Ng b57a884a20 feat(files_reminders): emit action menu opened
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 1acdb73a7d)
2023-08-10 12:28:19 +02:00
Christopher Ng 5c6925dd8e feat(files_reminders): register file action
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit d6bf9e3c10)
2023-08-10 12:28:19 +02:00
Christopher Ng 1d4663270e feat(files_reminders): add datetime utils
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit e97206bb06)
2023-08-10 12:28:19 +02:00
Christopher Ng ec4d660377 fix: frontend ocs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 00da82aa47)
2023-08-10 12:28:19 +02:00
Christopher Ng c25ed870d8 fix: due date nullable
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit efed517976)
2023-08-10 12:28:19 +02:00
Christopher Ng a3abb0b188 feat(files_reminders): add reminder service
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 71943eb1a4)
2023-08-10 12:28:19 +02:00
Christopher Ng 840ec3603c feat(files_reminders): integrate load scripts
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit dec011180a)
2023-08-10 12:28:19 +02:00
Christoph Wurst d97a58dde6 Merge pull request #39784 from nextcloud/feat/caldav/linkify-location-in-email-stable27
[stable27] feat(caldav): linkify location in scheduling mails
2023-08-10 09:32:30 +02:00
Richard Steinmetz e5a0d65af4 feat(caldav): linkify location in scheduling mails
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-08-10 08:20:39 +02:00
Nextcloud bot 231cec61ef Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-10 00:26:58 +00:00
Julius Härtl b86e0f685f Merge pull request #39763 from nextcloud/backport/39171/stable27 2023-08-09 18:18:37 +02:00
nextcloud-command 12bea04671 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-09 15:01:03 +00:00
Louis Chemineau bb791a895d feat: Use viewer to open and compare versions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-08-09 16:49:55 +02:00
Marcel Klehr b2589c8f90 Merge pull request #39776 from nextcloud/backport/39680/stable27 2023-08-09 15:47:55 +02:00
Julien Veyssier 71db3ffad9 compile assets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-09 14:58:48 +02:00
Julien Veyssier 240eb8829d bump last version digit
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-09 14:58:47 +02:00
Julien Veyssier 8a9ad050d0 fix psalm issues
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-09 14:58:02 +02:00
Julien Veyssier 79d43fadb5 fix eslint issue
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-09 14:58:02 +02:00
Julien Veyssier 993a559ec6 fix psalm issue
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit f154fe7f8e)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-09 14:58:02 +02:00
Julius Härtl 0564bd23f2 feat: Add delete task API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
(cherry picked from commit fca1c309a0)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-09 14:58:02 +02:00
Julien Veyssier f363f1153e change sql where order to match index order
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit 05a6a799a7)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-09 14:58:02 +02:00
Julien Veyssier 8e657a8945 allow anon text processing scheduling
add a textprocessing_tasks index
convert anotations to method attributes
refactor TP manager
add mapper methods

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>

(cherry picked from commit 41b19cf969)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-09 14:58:02 +02:00
Julien Veyssier 6eb18570c0 start implementing ocs endpoint to get task list from user+appId+identifier
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit 9986e02097)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-09 14:58:02 +02:00
Marcel Klehr 41918cc8b2 Fix TextProcessing test for 32bit
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-09 10:43:59 +02:00
Daniel Kesselberg 4bae251baf fix: missing argument for TextProcessing Manager
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-09 10:40:51 +02:00
Julien Veyssier 2d9a064a5e fix composer autoload files
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit 8d6a6e5242)
2023-08-09 10:28:02 +02:00
Julien Veyssier 0029171c6c fix wrong NcSelect event in AI admin settings
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit a877865fba)
2023-08-09 10:28:02 +02:00
Julien Veyssier 67fa798dc0 polish AI admin settings UI
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit 0ace67c762)
2023-08-09 10:28:01 +02:00
Julien Veyssier f95cf63895 use DB type constants
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit 601679bd25)
2023-08-09 10:28:01 +02:00
Julien Veyssier 52a1748a0b move long click handlers into methods
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit 577640663b)
2023-08-09 10:28:00 +02:00
Marcel Klehr 8dee7d082c Admin AI settings: Use ContainerInterface instead of IServerContainer
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 7adb2ce819)
2023-08-09 10:28:00 +02:00
Marcel Klehr 3d9a588c77 Admin AI settings: Improve a11y of machine translation precendence
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 830692cebd)
2023-08-09 10:27:59 +02:00
Marcel Klehr dbcfef1335 Update apps/settings/src/components/AdminAI.vue
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit ff39466e4f)
2023-08-09 10:27:59 +02:00
Marcel Klehr d13ceb3a41 Update apps/settings/src/components/AdminAI.vue
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 3ca44282d0)
2023-08-09 10:27:58 +02:00
Marcel Klehr f4160e0fef Fix typo
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit a0eaed0296)
2023-08-09 10:27:58 +02:00
Marcel Klehr 50adc8c9ab Migration: Drop llm_tasks table and add textprocessing_tasks
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit ad3f353335)
2023-08-09 10:27:58 +02:00
Marcel Klehr 4b97ec7c65 AI admin settings: lint:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit be7487b559)
2023-08-09 10:27:47 +02:00
Marcel Klehr 9e6a864dcc AI admin settings: lint:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit a193458e38)
2023-08-09 10:27:47 +02:00
Marcel Klehr 8507112f90 AI admin settings: lint:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>

(cherry picked from commit 112268a48a)
2023-08-09 10:27:46 +02:00
Marcel Klehr 832e0d392d AI admin settings: cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 4ec150c9b6)
2023-08-09 10:22:49 +02:00
Marcel Klehr 6c8c047b4d AI admin settings: strict_types
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit f72f3f7df4)
2023-08-09 10:22:49 +02:00
Marcel Klehr 40d4da1319 AI admin settings: Update composer autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit aa74d6fd31)
2023-08-09 10:22:34 +02:00
Marcel Klehr 850a92ec88 AI admin settings: Add a draggable icon in UI for translation provider precedence
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 2d29413d5d)
2023-08-09 10:22:33 +02:00
Marcel Klehr 7fd0b1b49d AI admin settings: Use config values in AI feature managers
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 2a3ef102f7)
2023-08-09 10:22:33 +02:00
Marcel Klehr 674fd354b5 AI admin settings: Add save mechanism
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit a840e8c6e5)
2023-08-09 10:22:32 +02:00
Marcel Klehr d4b2012b21 fix(TextProcessing): Inject L10N\IFactory instead of IL10N
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 8ec1926aba)
2023-08-09 10:22:32 +02:00
Marcel Klehr 43926a2c17 AI Admin settings: Implement mt settings, stt settings and tp settings
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 4e33d04444)
2023-08-09 10:22:31 +02:00
Marcel Klehr cc5818f8a9 First pass at ai admin settings
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit fc9780a41d)
2023-08-09 10:22:31 +02:00
Marcel Klehr ad645c96f3 Fix tests: Adjust constructor signature
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 6d568b0d32)
2023-08-09 10:05:24 +02:00
Marcel Klehr cac51714e2 Fix tests: Adjust constructor signature
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit fd0fd97a65)
2023-08-09 10:05:24 +02:00
Marcel Klehr 00e3fb143f Remove Task::factory method
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 7389567c7d)
2023-08-09 10:05:23 +02:00
Marcel Klehr 96ec6ff5ea Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit d63c122ec0)
2023-08-09 10:05:23 +02:00
Marcel Klehr 2d296ce698 cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 2811932247)
2023-08-09 10:05:21 +02:00
Marcel Klehr 4118baa412 Update autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit add5962b4c)
2023-08-09 10:05:21 +02:00
Marcel Klehr 322bb9763a Apply suggestions from code review
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 590eefea70)
2023-08-09 10:05:13 +02:00
Marcel Klehr 87ac99582b Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit df1cf18f36)
2023-08-09 10:05:11 +02:00
Marcel Klehr d8c44da4f4 Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 95d2d3af5c)
2023-08-09 10:05:09 +02:00
Marcel Klehr cf2c42ae36 Massive refactoring: Turn LanguageModel OCP API into TextProcessing API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>

(cherry picked from commit ffe27ce14c)
2023-08-09 10:05:05 +02:00
Marcel Klehr 696a45ddf1 Update core/Controller/LanguageModelApiController.php
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit bd45c436eb)
2023-08-09 10:02:34 +02:00
Marcel Klehr 5d975b96e7 Update core/Controller/LanguageModelApiController.php
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit d430cbbfca)
2023-08-09 10:02:32 +02:00
Marcel Klehr 6f5119c093 Fix openapi docs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 48c8206538)
2023-08-09 10:02:30 +02:00
Marcel Klehr fbd178ab8b Update core/Controller/LanguageModelApiController.php
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit b7c3b50e41)
2023-08-09 10:02:28 +02:00
Marcel Klehr 8acb1dc475 Since 27.1.0
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 069962d04f)
2023-08-09 10:02:26 +02:00
Marcel Klehr 1ad0a2960e LanguageModelApiController: Use jsonSerialize method to help psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 49ea56b306)
2023-08-09 10:02:25 +02:00
Marcel Klehr a39e3c90e9 cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit a4578cd995)
2023-08-09 10:02:22 +02:00
Marcel Klehr 6b2687eb11 LLM OCP API: Change Tests to use EventDispatcher mock
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit bf2dcd67f3)
2023-08-09 10:02:20 +02:00
Marcel Klehr 15f08a7487 LLM OCP API: Improve scheduleTask docblock
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 9f405a19f7)
2023-08-09 10:02:18 +02:00
Marcel Klehr 39d59a10b1 LLM OCP API: Fix OpenApi docs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit ea4dc4cba8)
2023-08-09 10:02:17 +02:00
Marcel Klehr 17351b64ec LLM OCP API: Fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit de1cfaae9c)
2023-08-09 10:02:16 +02:00
Marcel Klehr 5e86054858 LLM OCP API: Avoid using OC in OCP
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 8f1a4f4255)
2023-08-09 10:02:14 +02:00
Marcel Klehr 413a4f63ee OCP\Common\NotFoundException: Add param type
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 3974953464)
2023-08-09 10:02:11 +02:00
Marcel Klehr d578974b81 LLM OCP API: Simplify TaskBackgroundJob#run catch block
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 9ccc65d68c)
2023-08-09 10:02:09 +02:00
Marcel Klehr 4ce77b9d56 LLM OCP API: Explain TaskBackgroundJob#setAllowParallelRuns
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit e810a8b66b)
2023-08-09 10:02:07 +02:00
Marcel Klehr ddb2726140 LLM OCP API: Don't lose trace of wrapped exceptions
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 05fcf31987)
2023-08-09 10:02:05 +02:00
Marcel Klehr 39bc710d17 LLM OCP API: Simplify LanguageModelManager#canHandleTask
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 945522768e)
2023-08-09 10:02:04 +02:00
Marcel Klehr 70e65ff7a3 LLM OCP API: s/getAvailableTasks/getAvailableTaskClasses/
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit d56286b8ac)
2023-08-09 10:02:00 +02:00
Marcel Klehr 3350811ce3 LLM OCP API: Add missing copyright and strict types
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit a28d8fac2f)
2023-08-09 10:01:58 +02:00
Marcel Klehr b0cb5a43c7 LLM Migration: Return null if nothing changed
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 0909657ea0)
2023-08-09 10:01:57 +02:00
Marcel Klehr 9a36bb4f91 Update lib/public/LanguageModel/Events/TaskFailedEvent.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit bad124c07b)
2023-08-09 10:01:55 +02:00
Marcel Klehr 7a423e416f Update lib/public/LanguageModel/ILanguageModelProvider.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit ba950f7e34)
2023-08-09 10:01:53 +02:00
Marcel Klehr 22a93bfc3a Apply suggestions from code review
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 95d2bd50da)
2023-08-09 10:01:50 +02:00
Marcel Klehr e312b2bdd2 LLM OCS API: Add OpenAPI docs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 61b9b4f474)
2023-08-09 10:01:48 +02:00
Marcel Klehr 8567315c93 LLM OCS API: s/tasks/tasktypes/
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit d33b7a8da4)
2023-08-09 10:01:46 +02:00
Marcel Klehr d9f2aaf869 LLM OCP API: Fix psam error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 0a0e812453)
2023-08-09 10:01:43 +02:00
Marcel Klehr 7320011948 LLM OCP API: Fix psam errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit d6d4e0ffe3)
2023-08-09 10:01:40 +02:00
Marcel Klehr 445b72a93c LLM OCP API: Fix security issue
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit f7e1e79880)
2023-08-09 10:01:36 +02:00
Marcel Klehr 8f0618de9f LLM OCP API: Fix psalm error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 62b19e0675)
2023-08-09 10:01:33 +02:00
Marcel Klehr ffedcebc50 LLM OCP API: Add identifier param
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit f6f8cb4331)
2023-08-09 10:01:31 +02:00
Marcel Klehr 97a4a063f4 Apply suggestions from code review
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 5b772468ad)
2023-08-09 10:01:29 +02:00
Marcel Klehr 4447d59d17 cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit fb657bfff8)
2023-08-09 10:01:28 +02:00
Marcel Klehr 8197403de1 Fix LanguageModelManager#runTask: Insert task into db if it doesn't exist
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 1747068e51)
2023-08-09 10:01:25 +02:00
Marcel Klehr 09a8541d74 Add test for task cleanup
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit c568c4a464)
2023-08-09 10:01:23 +02:00
Marcel Klehr e7179598c7 Make tests pass
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 66c0e6b9f7)
2023-08-09 10:01:21 +02:00
Marcel Klehr d21f7bf1fb Fix tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 20cb9935ca)
2023-08-09 10:01:20 +02:00
Marcel Klehr a4627508e8 Add preliminary tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit ebc7631544)
2023-08-09 10:01:18 +02:00
Marcel Klehr c1085bf1d7 ILanguageModelTask: Use php type checking along with psalm parameterized types
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 27e1c86652)
2023-08-09 10:01:17 +02:00
Marcel Klehr 970d6886e6 ILanguageModelManager: Add docblock description
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 0a94525042)
2023-08-09 10:01:13 +02:00
Marcel Klehr 2234497c49 TaskMapper#update: Use time factory
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 1623ad9eda)
2023-08-09 10:01:12 +02:00
Marcel Klehr 91325efa78 Add tasks::last_updated column and vacate tasks after a week
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit cb0f918d21)
2023-08-09 10:01:10 +02:00
Marcel Klehr 44ce285469 cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 1d3661ded9)
2023-08-09 10:01:08 +02:00
Marcel Klehr e90dd4a000 LLM OCP API: Fix copyright
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 94fcf88892)
2023-08-09 10:01:05 +02:00
Marcel Klehr fb9262e864 LLM OCP API: Use OCP\Common\Exception\NotFoundException
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit b00a9a6eae)
2023-08-09 10:01:02 +02:00
Marcel Klehr d203e3ad8d OCP: Introduce OCP\Common\Exception\NotFoundException
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit a7cd6bf5b8)
2023-08-09 10:01:00 +02:00
Marcel Klehr ddeaaeace0 LLM OCP API: strict types and copyright
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 83db23ea48)
2023-08-09 10:00:58 +02:00
Marcel Klehr c8bbe8fc75 LLM OCP API: Type shenanigans for Visitor pattern
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 906e9b7014)
2023-08-09 10:00:56 +02:00
Marcel Klehr 4405027471 Apply suggestions from code review
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 8e4aa92167)
2023-08-09 10:00:52 +02:00
Marcel Klehr 4e3ca11fee Update lib/public/AppFramework/Bootstrap/IRegistrationContext.php
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit fb55afc9ff)
2023-08-09 10:00:43 +02:00
Marcel Klehr 1ac86d2c62 LLM OCP API: Commit autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 5bc6180b38)
2023-08-09 10:00:39 +02:00
Marcel Klehr ecda18b515 LLM OCP API: Add task definitions
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit fb4de16c11)
2023-08-09 10:00:33 +02:00
Marcel Klehr 6320c68c3b Update lib/public/LanguageModel/ITopicsProvider.php
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 249dd5cce4)
2023-08-09 10:00:30 +02:00
Marcel Klehr dd7eafaa48 LLM OCP API: Fix coding style and psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 72ea76178a)
2023-08-09 10:00:24 +02:00
Marcel Klehr 612af73d92 LLM OCP API: cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 75d7af86ac)
2023-08-09 10:00:22 +02:00
Marcel Klehr 02c78be790 LLM OCP API: Fix static analysis
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit fac83ce4b6)
2023-08-09 10:00:16 +02:00
Marcel Klehr 0024f0d1cb LLM OCP API: Add @since
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 9935034480)
2023-08-09 10:00:13 +02:00
Marcel Klehr dbd9420ebe LLM OCP API: Fix type errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit b6a95e35b0)
2023-08-09 10:00:07 +02:00
Marcel Klehr 01db2cff5a LLM OCP API: Make linters happy
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit b8a9f08d83)
2023-08-09 10:00:05 +02:00
Marcel Klehr 76a5db8867 LLM OCP API: cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit b6941aa5c3)
2023-08-09 10:00:03 +02:00
Marcel Klehr 236c32b13f LLM OCP API: Implement ocs API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>

(cherry picked from commit 795b097122)
2023-08-09 09:59:58 +02:00
Marcel Klehr 5807c431b8 LLM OCP API: ADd topics and headline tasks
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 9d5717d239)
2023-08-09 09:55:30 +02:00
Marcel Klehr 33f3379855 Fix Copyright
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 9e9fc1d99b)
2023-08-09 09:55:27 +02:00
Marcel Klehr ed3672a5c2 LLM OCP API: Add to RegistrationContext
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 82d3b00ab1)
2023-08-09 09:55:24 +02:00
Marcel Klehr 7031072717 LLM OCP API: Add db migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 6fc4cb63ef)
2023-08-09 09:55:21 +02:00
Marcel Klehr d20ee42580 LLM OCP API: Implement private backend code + add ILanguageModelTask
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 3413873653)
2023-08-09 09:55:18 +02:00
Marcel Klehr 457f1eb407 LLM OCP API: Rework to use Task objects
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 01dd1a894d)
2023-08-09 09:55:16 +02:00
Marcel Klehr 2e9dea2061 Initial work on lm OCP API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 70d5bf79e3)
2023-08-09 09:55:13 +02:00
John Molakvoæ 946305dc08 Merge pull request #39761 from nextcloud/bugfix/noid/fix-3rdparty 2023-08-09 09:28:14 +02:00
Nextcloud bot 2f1d247c3a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-09 00:50:53 +00:00
Pytal b697522db9 Merge pull request #39764 from nextcloud/backport/39651/stable27 2023-08-08 17:10:58 -07:00
Christopher Ng d3991ee4a8 enh: handle user deleted
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit a806bd0d3c)
2023-08-08 16:29:12 -07:00
Christopher Ng dfba8f4e59 fix: set endpoint description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 5a11535c51)
2023-08-08 16:29:12 -07:00
Christopher Ng 2e8906fc05 fix(ci): add to enabled apps
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit af98c702e0)
2023-08-08 16:29:12 -07:00
Christopher Ng 33f30f5ea2 fix: ignore non-existing
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 2c4b562cdc)
2023-08-08 16:29:12 -07:00
Christopher Ng a377862ed1 enh: add json output to command
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit e320166b15)
2023-08-08 16:29:12 -07:00
Christopher Ng 0ffb3672fe enh: add codeowner
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 113d061919)
2023-08-08 16:29:12 -07:00
Christopher Ng cdaee2b219 fix: return null if table exists
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit d61916621d)
2023-08-08 16:29:12 -07:00
Christopher Ng 05436ac58e fix: remove unnecessary parsed subject
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 7381c80caf)
2023-08-08 16:29:12 -07:00
Christopher Ng 3b81da97a5 enh: highlight filename
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 7beef657e4)
2023-08-08 16:29:12 -07:00
Christopher Ng fa7985d0fd fix: catch NodeNotFoundException in notifier
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit c4b7056f58)
2023-08-08 16:29:12 -07:00
Christopher Ng 6fc3530b4f fix: exit on reminder not found
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 9e8354e0ac)
2023-08-08 16:29:12 -07:00
Christopher Ng e12ae21745 enh: handle node deleted
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit f865c3ad21)
2023-08-08 16:29:12 -07:00
Christopher Ng 1c6114b21a fix: construct background jobs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 7617519502)
2023-08-08 16:29:12 -07:00
Christopher Ng 67df58135d fix: remove throwable handling
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 7daf11f8f6)
2023-08-08 16:29:12 -07:00
Christopher Ng ee7aff3342 fix: return ocs data
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 3ade06cd9c)
2023-08-08 16:29:12 -07:00
Christopher Ng 67abe99047 enh: does not exist return null
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 9bd7ddd074)
2023-08-08 16:29:12 -07:00
Christopher Ng 8f54e2c5f7 enh: serialize path
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit db7f5a29f3)
2023-08-08 16:29:12 -07:00
Christopher Ng b77a3757cd enh: comment interval
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit b04d1a70e2)
2023-08-08 16:29:12 -07:00
Christopher Ng 8a410f19b4 enh: return created status code
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit bdf07413d0)
2023-08-08 16:29:12 -07:00
Christopher Ng 332fd3d93b fix: create only if file exists
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit d31302e72c)
2023-08-08 16:29:12 -07:00
Christopher Ng ab357bfe20 feat(files_reminders): add remove endpoint
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 777a791e72)
2023-08-08 16:29:12 -07:00
Christopher Ng fb71f8cec5 fix: update find due query
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 05e454ee61)
2023-08-08 16:29:12 -07:00
Christopher Ng f4c7759257 feat(files_reminders): create or update
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 887058591c)
2023-08-08 16:29:12 -07:00
Christopher Ng e99f1b011a enh: add updated at
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 5ff178a753)
2023-08-08 16:29:12 -07:00
Christopher Ng 3f668f3944 fix: catch Throwable
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 7637bf2ae0)
2023-08-08 16:29:12 -07:00
Christopher Ng c0f327d650 enh: rename to due date
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit fa77564152)
2023-08-08 16:29:12 -07:00
Christopher Ng bb4134af81 enh: add to shipped
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit beb8a27d94)
2023-08-08 16:29:12 -07:00
Christopher Ng ca003e2967 fix: add composer autoload
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit cfbac9b73c)
2023-08-08 16:29:12 -07:00
Christopher Ng 143346b485 feat(files_reminders): add api controller
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit a7892fb682)
2023-08-08 16:29:12 -07:00
Christopher Ng f5036b5e01 enh: implement JsonSerializable
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 774e3e6d4b)
2023-08-08 16:29:12 -07:00
Christopher Ng 5e8668bc1d enh: add created at
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 4fabd77432)
2023-08-08 16:29:11 -07:00
Christopher Ng cbbd0c65e8 enh: use datetime
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 163b059c11)
2023-08-08 16:29:11 -07:00
Christopher Ng 5aca833f21 feat(files_reminders): add list command
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit c8a32a70cd)
2023-08-08 16:29:11 -07:00
Christopher Ng 782a462cad feat(files_reminders): add service and notifier
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit ea5e128fef)
2023-08-08 16:29:11 -07:00
Christopher Ng b195fe7313 feat(files_reminders): add background jobs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit a3ac1b82da)
2023-08-08 16:29:11 -07:00
Christopher Ng 6da4542391 feat(files_reminders): add info xml
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit b75fac31aa)
2023-08-08 16:29:11 -07:00
Christopher Ng 29a78fef17 feat(files_reminders): add Application
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 59a2ef4ea1)
2023-08-08 16:29:11 -07:00
Christopher Ng 43ac71adee feat: init files_reminders migration
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit e16001b8eb)
2023-08-08 16:29:11 -07:00
Joas Schilling 3852246c07 fix(3rdparty): Revert accidental 3rdparty bump
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-08 17:21:25 +02:00
Joas Schilling c5da296d3c Merge pull request #39740 from nextcloud/backport/38613/stable27
[stable27] feat(HTTPClient): Provide wrapped access to Guzzle's asyncRequest()
2023-08-08 16:42:46 +02:00
Andy Scherzinger 5ae0569849 Merge pull request #39755 from nextcloud/backport/39694/stable27
[stable27] expose gps data via webdav
2023-08-08 16:11:31 +02:00
John Molakvoæ a9c474ec54 27.1.0 beta 1
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-08 16:01:57 +02:00
Robin Appelman 2c4535d2fd preload all requested metadata
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-08 13:29:34 +00:00
tobiasKaminsky 963a783747 expose gps data via webdav 2023-08-08 13:29:34 +00:00
John Molakvoæ 9234ae4a0a Merge pull request #39745 from nextcloud/release/27.0.2 2023-08-08 10:20:49 +02:00
Côme Chilliet d47e122180 Avoid adding (attribute=) part to filter which will confuse LDAP servers
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-08 07:40:19 +00:00
John Molakvoæ 44df402f05 27.0.2
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-08 09:25:28 +02:00
Nextcloud bot 6136a8fed2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-08 00:29:41 +00:00
Joas Schilling 32bfd43d29 feat(HTTPClient): Provide wrapped access to Guzzle's asyncRequest()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-07 15:38:09 +02:00
Nextcloud bot cc66e3bcd1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-07 00:30:36 +00:00
Nextcloud bot 66a4c6c3d6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-06 00:25:36 +00:00
John Molakvoæ 0638f58632 fix: simplify sourceData check
Co-authored-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-08-05 10:34:12 +00:00
Josh Richards d6fe5acbec Catch more invalid cache source storage paths
OC\Files\Cache\Cache::get can return string|false|null, not just string|false.

- nextcloud/server#26270 added handling of false, but null is needed too.
- Well, or we change the default $resullt to false, but I'm not sure if that has other ramifications and the real need here is to simply catch situations where the cache source storage path is not valid for whatever reason

Related: nextcloud/server#19009

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-08-05 10:34:11 +00:00
Nextcloud bot 2b4be90b34 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-05 00:29:52 +00:00
Joas Schilling aaa620044c fix(notifications): Remove share notification when the node is deleted
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-04 07:52:46 +00:00
Nextcloud bot 72c285f471 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-04 00:30:25 +00:00
Arthur Schiwon 795863c89c Merge pull request #39677 from nextcloud/release/27.0.2_rc1
27.0.2 RC1
2023-08-03 12:55:34 +02:00
Arthur Schiwon 73072114ba Merge pull request #38563 from nextcloud/backport/38549/stable27
[stable27] Fix app menu flicker
2023-08-03 12:54:38 +02:00
Arthur Schiwon c8ceae540c Merge pull request #39059 from nextcloud/backport/31790/stable27
[stable27] Fix creating events with old (< unix time) lastoccurence
2023-08-03 12:22:26 +02:00
ZetaTom bd28a0abfc Fix app menu flicker
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Jonas <jonas@freesources.org>
2023-08-03 11:50:17 +02:00
Julius Härtl 6587cf4314 Merge pull request #39642 from nextcloud/backport/39629/stable27 2023-08-03 08:47:22 +02:00
Nextcloud bot b599e5808a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-03 00:28:51 +00:00
Thomas Citharel e08051dbbc style(caldav): improve getDenormalizedData method
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-08-02 21:12:09 +02:00
Thomas Citharel c47942d653 Fix creating events with old (< unix time) lastoccurence
Closes #20804

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-08-02 21:12:09 +02:00
Arthur Schiwon 200b018a2f Merge pull request #39596 from nextcloud/backport/38667/stable27
[stable27] fix(SystemTagManager): Use truncated tagName in getTag and updateTag
2023-08-02 20:59:16 +02:00
Arthur Schiwon 2a8498607a Merge pull request #39554 from nextcloud/backport/39221/stable27
[stable27] Bugfix/bulk upload empty files
2023-08-02 20:57:20 +02:00
Arthur Schiwon 0d96313256 Merge pull request #39499 from nextcloud/backport/38934/stable27
[stable27] fix(s3): Pass SSE-C parameters for multipart upload
2023-08-02 20:55:24 +02:00
Arthur Schiwon 83d114b091 Merge pull request #39448 from nextcloud/backport/38907/stable27
[stable27] Fix: ContactManager search with fullmatch
2023-08-02 20:54:48 +02:00
Arthur Schiwon a0750349fa Merge pull request #39435 from nextcloud/backport/39309/stable27
[stable27] fix(profile): fix getUID on nullable user variable
2023-08-02 20:54:09 +02:00
Arthur Schiwon 0c3fe91239 Merge pull request #39369 from nextcloud/backport/39339/stable27
[stable27] fix(node): non-existing folder is not searchable
2023-08-02 20:53:37 +02:00
Ferdinand Thiessen 500d4b8246 Merge pull request #39665 from nextcloud/backport/39649/stable27
[stable27] fix(files_sharing): String translations
2023-08-02 16:40:02 +02:00
Arthur Schiwon 5c6bc1e3d0 Merge pull request #39678 from nextcloud/backport/39672/stable27
[stable27] fix(dav): use quota of destination in s3 chunk upload
2023-08-02 16:19:36 +02:00
Max 4f2a538b7a fix(dav): use quota of destination in s3 chunk upload
Resolves: #39228.
Check the free space on the destination.

Before it was checking the free space on `$storage`
which is the upload storage of the user who triggered the upload.
This led to user quota being applied
even when uploading to a share with unlimited space.

Signed-off-by: Max <max@nextcloud.com>
2023-08-02 11:58:09 +00:00
Arthur Schiwon bfad626291 27.0.2 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-08-02 13:53:46 +02:00
Julien Veyssier e33ac4e6a8 Merge pull request #39663 from nextcloud/backport/39527/stable27
[stable27] only show weather credits if the app is enabled and the weather statu…
2023-08-02 10:15:23 +02:00
Nextcloud bot ad511185f7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-02 00:53:39 +00:00
Christopher Ng 6f30d86a96 fix(files_sharing): String translations
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
(cherry picked from commit 8a51d64b09)
2023-08-01 09:54:38 -07:00
Arthur Schiwon de0e8627e0 only show weather credits if the app is enabled and the weather status is enabled
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-08-01 18:00:30 +02:00
Andy Scherzinger 46da23f018 Merge pull request #39614 from nextcloud/dav-permissions-share-root-write-27
[27] fix share roots always being marked as writable
2023-08-01 16:53:18 +02:00
John Molakvoæ 59fe990632 Merge pull request #39643 from nextcloud/backport/39588/stable27 2023-08-01 14:53:20 +02:00
Max d2008f2d80 fix(files): url used to retrive storage stats
Signed-off-by: Max <max@nextcloud.com>
2023-08-01 09:26:28 +02:00
Nextcloud bot 7ed4493a92 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-01 00:29:52 +00:00
Tobias Zimmerer 46ba7ed60a fix(s3): add SSE-C parameters to headObject call
Signed-off-by: Tobias Zimmerer <3228193+ir0nhide@users.noreply.github.com>
2023-07-31 16:36:16 +00:00
Julien Veyssier 3b5489ae89 Merge pull request #39601 from nextcloud/backport/39537/stable27
[stable27] `/ocs/v1.php/cloud/groups` `UPDATE` method - correct status when group not found
2023-07-31 18:21:29 +02:00
Alexander Piskun d1260b833d to return correct code when group not found
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-07-31 15:36:06 +02:00
Nextcloud bot 8cb59d3457 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-31 00:30:10 +00:00
Nextcloud bot 68d72bf2db Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-30 00:25:31 +00:00
Nextcloud bot f1e9484ae7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-29 00:32:21 +00:00
Andy Scherzinger 850db06244 Merge pull request #39612 from nextcloud/backport/39473/stable27
[stable27] fix(IParallelAwareJob): Check for other reserved jobs before setting new ones as reserved
2023-07-28 18:44:59 +02:00
Robin Appelman 2fe6370923 fix share roots always being marked as writable
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-28 14:57:06 +02:00
Marcel Klehr 070533efa9 JobTest: Remove outdated tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-28 11:44:39 +00:00
Marcel Klehr c92baafc0f Remove allowParallelRuns check in OCP\BackgroundJob\Job
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-28 11:44:39 +00:00
Marcel Klehr 2b23be897b cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-28 11:44:39 +00:00
Marcel Klehr 2bc56fef1e Fix ParallelAwareJob tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-28 11:44:39 +00:00
Marcel Klehr ed84fce879 Add test for ParallelAwareJob
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-28 11:44:39 +00:00
Ferdinand Thiessen 6d9cf9e299 Merge pull request #39566 from nextcloud/fix/filename-files
[stable27] fix(files): fix extension with custom displayName
2023-07-28 12:32:56 +02:00
Nextcloud bot 56a6037cd6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-28 00:30:56 +00:00
Simon L 7504d28e6c Merge pull request #39543 from nextcloud/automated/noid/stable27-fix-npm-audit
[stable27] Fix npm audit
2023-07-28 00:30:39 +02:00
Marcel Klehr d44a12bb8b fix(SystemTagManager): Use truncated tagName in getTag and updateTag
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-27 17:03:02 +00:00
Andy Scherzinger 5fbb3bb7f0 Merge pull request #39522 from nextcloud/backport/39264/stable27
[stable27] Add instance category while checking new updates
2023-07-27 12:04:52 +02:00
Nextcloud bot d0ac2b4494 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-27 00:26:09 +00:00
Nextcloud bot 1ceaa3c0eb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-26 00:57:34 +00:00
John Molakvoæ (skjnldsv) b575404a94 fix(files): fix extension with custom displayName
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-25 09:47:57 +00:00
Matthieu Gallien 337b1b3886 when reading an empty file getting EOF is not an error
will allow uploading empty files via bulk upload

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-07-25 11:44:48 +02:00
Nextcloud bot 6278a12c94 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-25 00:25:40 +00:00
Julius Härtl 92ea19e618 Merge pull request #39458 from nextcloud/backport/27/objectstore-without-multipart 2023-07-24 08:28:29 +02:00
Nextcloud bot a0ba7c2c4e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-24 00:25:43 +00:00
Daniel Kesselberg 5d4a880437 fix: check that object store backend supports multi part uploads
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-23 16:07:21 +02:00
nextcloud-command 81501c0f31 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-07-23 02:55:32 +00:00
Nextcloud bot dea727f453 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-23 00:28:14 +00:00
Ferdinand Thiessen 97b994941f Merge pull request #39462 from nextcloud/backport/39456/stable27
[stable27] fix: Correctly add `module` content type to script tags with versions
2023-07-23 01:28:51 +02:00
Ferdinand Thiessen ad2727aef8 fix: Correctly add module content type to script tags when scripts with versions are used
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-23 00:38:53 +02:00
Nextcloud bot 446b2d283f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-22 00:31:34 +00:00
Benjamin Gaussorgues 46b462285d Add instance category while checking new updates
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-07-21 10:02:58 +00:00
Nextcloud bot 841c5c3527 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-21 00:24:33 +00:00
Arthur Schiwon e9174a4189 Merge pull request #39503 from nextcloud/release/27.0.1
27.0.1
2023-07-20 12:44:55 +02:00
Arthur Schiwon feca3449fa Merge pull request #39491 from nextcloud/backport/39490/stable27
[stable27] fix(apps): Fix loading info.xml file
2023-07-20 12:36:42 +02:00
Arthur Schiwon 642ae54d6f 27.0.1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-20 11:59:39 +02:00
Julius Härtl e25db0e294 fix(s3): Pass SSE-C parameters for multipart upload
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-20 09:13:41 +00:00
Joas Schilling 227497705e fix(apps): Fix loading info.xml file
Ref: https://bugs.php.net/bug.php?id=62577

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-20 10:45:58 +02:00
Nextcloud bot 04d19fb1d7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-20 00:26:24 +00:00
Nextcloud bot 6883c52e9d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-19 00:26:42 +00:00
Andy Scherzinger 281117a2fb Merge pull request #39454 from nextcloud/backport/39447/stable27
[stable27] Fix sharing of encrypted files
2023-07-18 13:59:48 +02:00
Côme Chilliet d7ef87cc95 Fix sharing of encrypted files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-07-18 10:00:00 +00:00
Johannes Merkel 7065a5e0e4 fix(mail): ContactManager search with fullmatch
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-07-18 08:52:40 +00:00
Nextcloud bot 855e766cae Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-18 00:24:15 +00:00
Arthur Schiwon 705a4d9f98 Merge pull request #39428 from nextcloud/release/27.0.1_rc2
27.0.1 RC2
2023-07-17 19:43:23 +02:00
Thomas Citharel 56899c1a83 fix(profile): fix getUID on nullable user variable
As per method signature, $visitingUser is nullable, so we can't be sure calling getUid() on it will
work.

Closes #35766

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-07-17 13:24:08 +00:00
Joas Schilling 9fbe979179 Merge pull request #39417 from nextcloud/backport/39416/stable27
[stable27] fix(core): Add password confirmation requirement for getapppassword
2023-07-17 13:55:51 +02:00
Arthur Schiwon 3a84f54ed8 Merge pull request #39374 from nextcloud/backport/39329/stable27
[stable27] fix: also run phpunit on `apps/theming/css` modified files
2023-07-17 12:46:45 +02:00
Arthur Schiwon 25ecdf9f17 27.0.1 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-17 12:41:08 +02:00
Joas Schilling 0ea23b6ef0 fix(core): Add password confirmation requirement for getapppassword
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-17 12:09:47 +02:00
Julius Härtl 83f7ea01cd Merge pull request #39396 from nextcloud/backport/39389/stable27 2023-07-17 11:26:00 +02:00
Nextcloud bot 31f07f3192 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-17 00:25:41 +00:00
Nextcloud bot e2cf51a8f7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-16 00:25:14 +00:00
Nextcloud bot 0ccbad04a9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-15 00:27:15 +00:00
Arthur Schiwon 1ab5cd1db9 Merge pull request #39392 from nextcloud/backport/39380/stable27
[stable27] fix(db): no hardcoded table prefix is expected
2023-07-14 19:29:21 +02:00
Julius Härtl 18db96c304 feat: Add public event for missing indices
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-14 16:29:37 +02:00
Arthur Schiwon 95c8e5c47b fix(db): no hardcoded table prefix is expected
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-14 11:29:17 +00:00
Nextcloud bot 2a18283b82 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-14 00:30:08 +00:00
John Molakvoæ fd1796624c fix: also run phpunit on apps/theming/css modified files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-13 16:04:32 +00:00
Arthur Schiwon bf00591278 fix(node): non-existing folder is not searchable
the previosuly introduced searchBySystemTag was not overwritten in
NonExistingFolder and could run the inherited method.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-13 14:26:26 +00:00
Arthur Schiwon 4e4a6cec5a Merge pull request #39282 from nextcloud/release/27.0.1_rc1
27.0.1 RC1
2023-07-13 14:56:17 +02:00
Andy Scherzinger 882225867d Merge pull request #39354 from nextcloud/backport/39323/39323-stable27
[stable27] getStorage before remove
2023-07-13 14:17:24 +02:00
Arthur Schiwon eae4a1ea51 Merge pull request #39326 from nextcloud/automated/noid/stable27-update-psalm-baseline
[stable27] Update psalm-baseline.xml
2023-07-13 13:37:11 +02:00
Maxence Lange 6c98f951d5 getStorage before remove
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-07-13 10:18:31 -01:00
Andy Scherzinger 1cb90e2cc1 Merge pull request #39344 from nextcloud/ci/sign-drone-stable27
[stable27] chore(CI): Sign .drone.yml file
2023-07-13 12:44:34 +02:00
Arthur Schiwon 00eaf789c6 Merge pull request #38395 from nextcloud/backport/38164/stable27
[stable27] Show pending popover menu when password is enabled by default
2023-07-13 12:11:19 +02:00
Joas Schilling 3f06018c23 chore(CI): Sign .drone.yml file
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-13 11:49:34 +02:00
nextcloud-command 8ccff9c88d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-13 06:44:14 +00:00
Daniel Calviño Sánchez 03095bb928 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-07-13 07:34:55 +02:00
Daniel Calviño Sánchez 024141db54 Rename "pendingPassword" to "pendingEnforcedPassword"
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-07-13 07:34:55 +02:00
Nextcloud bot 09ff81267c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-13 00:29:43 +00:00
Arthur Schiwon 2f75ab3a96 Merge pull request #38991 from nextcloud/backport/38665/stable27
[stable27] fix(weather_status): Pass address as param to OSM API
2023-07-12 23:43:16 +02:00
Arthur Schiwon 592aeec17e Merge pull request #38919 from nextcloud/backport/38639/stable27
[stable27] pruneOutdatedSyncTokens deletes all entries
2023-07-12 19:50:40 +02:00
Arthur Schiwon e9b582164e Merge pull request #39333 from nextcloud/backport/38950/stable27
[stable27] fix(files): sanitize name and ext display
2023-07-12 19:49:56 +02:00
Ferdinand Thiessen 61f70340ec fix(weather_status): Pass address as param
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-12 19:47:17 +02:00
Arthur Schiwon 0f19858a43 Merge pull request #38678 from nextcloud/backport/38655/stable27
[stable27] fix(systemtags): Incorrect tags shown temporarily
2023-07-12 19:35:56 +02:00
Arthur Schiwon 125285bf64 Merge pull request #39334 from nextcloud/backport/39324/stable27
[stable27] ci(32bit): fix failing test setup
2023-07-12 15:05:50 +02:00
John Molakvoæ ea37d1a2ee fix(files): sanitize name and ext display
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-12 12:05:42 +00:00
Arthur Schiwon b3b7b5d3fe ci(32bit): fix failing test setup
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-12 14:00:48 +02:00
Andy Scherzinger 789f027e2a Merge pull request #39283 from nextcloud/orphan-share-command-stable27
[27] add command do delete orphan shares
2023-07-12 13:12:07 +02:00
nextcloud-command 1c650177f0 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-07-12 02:39:06 +00:00
Christopher Ng 6662e140f3 Show loading icon when loading tags
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-11 18:34:18 -07:00
Christopher Ng 6cf0cac025 Reset show tags on close
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-11 18:29:30 -07:00
Ferdinand Thiessen 0a7feab3ce Merge pull request #39325 from nextcloud/automated/noid/stable27-fix-npm-audit
[stable27] Fix npm audit
2023-07-12 03:08:02 +02:00
Nextcloud bot 3d7f3d3b4a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-12 00:22:12 +00:00
Arthur Schiwon 0f359f385a Merge pull request #39292 from nextcloud/backport/39248/stable27
[stable27] preload custom properties when propfinding folders
2023-07-12 01:06:34 +02:00
Arthur Schiwon 8cfe927f93 Merge pull request #38971 from nextcloud/backport/38945/stable27
[stable27] implement optimized getDirectoryContent for DAV
2023-07-12 01:05:35 +02:00
Arthur Schiwon 21a8eb1a62 Merge pull request #38816 from nextcloud/backport/38490/stable27
[stable27] emit an event when a message is logged
2023-07-12 01:05:14 +02:00
Arthur Schiwon fe1a2277cb Merge pull request #38756 from nextcloud/backport/38468/stable27
[stable27] log failures to read certificates during listing
2023-07-12 01:03:05 +02:00
Arthur Schiwon 421fec8f5f Merge pull request #38572 from nextcloud/backport/38301/stable27
[stable27] fix(caldav): Ignore invalid events for reminder generation
2023-07-12 01:01:40 +02:00
Arthur Schiwon 8adad15e77 Merge pull request #38475 from nextcloud/backport/38454/stable27
[stable27] fix(carddav): Make system contact phone number RFC compliant
2023-07-12 01:00:12 +02:00
nextcloud-command 48642aaddc chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-07-11 21:50:39 +00:00
John Molakvoæ bb66a5eea4 Merge pull request #39301 from nextcloud/fix/legacy-navigate-param 2023-07-11 18:25:36 +02:00
Arthur Schiwon d18b65afe1 Merge pull request #38357 from nextcloud/automated/noid/stable27-update-psalm-baseline
[stable27] Update psalm-baseline.xml
2023-07-11 18:05:44 +02:00
Arthur Schiwon 7fd10d5bb7 Merge pull request #39269 from nextcloud/backport/35915/35915-stable27
[stable27] display displayname on federated shares
2023-07-11 17:56:58 +02:00
Arthur Schiwon 6cad7da1c2 Merge pull request #38671 from nextcloud/backport/38577/stable27
[stable27] Improve oauth2 database migration from ownCloud
2023-07-11 17:52:34 +02:00
John Molakvoæ af144f7bc3 fix(files): fix legacy router query change
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-11 12:01:51 +00:00
Maxence Lange 3b93a35108 display displayname on federated shares
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-07-11 09:25:09 -01:00
Richard Steinmetz f2e9044494 fix(dav): close cursor when fetching max id
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-07-11 08:02:45 +02:00
Joas Schilling b43e45d3c2 Merge pull request #38960 from nextcloud/fix/missing-systemtags-index-stable27
[stable27] fix(systemtags): Add missing systemtags index
2023-07-11 07:23:07 +02:00
Nextcloud bot e211096573 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-11 00:32:34 +00:00
Louis c2af1493e2 Merge pull request #39265 from nextcloud/artonge/backport/stable27/39165
[stable27] Enable all files_versions features when groupfolders is enabled
2023-07-10 22:34:37 +01:00
Robin Appelman eb44900d35 preload custom properties when propfinding folders
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-10 20:19:22 +00:00
Julien Veyssier 3a45af2e27 shorten oauth2 client names before resizing the column
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-07-10 21:13:20 +02:00
Julien Veyssier 47a19f2217 drop the oauth2_clients trusted column, delete unsupported clients and their access tokens
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-07-10 21:13:20 +02:00
Arthur Schiwon 70e2243f0f Merge pull request #39261 from nextcloud/backports/39146/stable27
[stable27] fix(files_sharing): hide download permission for circle shares
2023-07-10 18:42:54 +02:00
Arthur Schiwon 9c6cf06c6d Merge pull request #39142 from nextcloud/fix/password-confirmation-27
[stable27] Fix(OC/password-confirmation): Hide the correct button
2023-07-10 18:42:34 +02:00
Marcel Klehr 7226a9a560 fix(systemtags): Keep non-existing index
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-10 18:41:42 +02:00
Marcel Klehr dafe202c53 fix(systemtags): Move index creation from new migration to existing original migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-10 18:41:42 +02:00
Marcel Klehr a1ced608e4 fix(systemtags): Add missing systemtags index
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-10 18:41:42 +02:00
Arthur Schiwon 66506502fe Merge pull request #39267 from nextcloud/backport/39170/stable27
[stable27] add command do delete orphan shares
2023-07-10 18:39:33 +02:00
Arthur Schiwon f5a7d40621 Merge pull request #39099 from nextcloud/backport/39093/stable27
[stable27] Silent `imagecreatefromstring()` errors
2023-07-10 18:32:15 +02:00
Git'Fellow 61cd250935 Include PR #38965
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-07-10 18:31:45 +02:00
Robin Appelman 98ec2f023f implement optimized getDirectoryContent for DAV
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-10 18:31:45 +02:00
Arthur Schiwon ff86e8c411 Merge pull request #38968 from nextcloud/backport/38747/stable27
[stable27] perf: skip request without write permission
2023-07-10 18:30:41 +02:00
Arthur Schiwon d3f50f28e1 Merge pull request #38953 from nextcloud/backport/38917/stable27
[stable27] fix(l10n): Fix plural issue with different locale and language
2023-07-10 18:29:58 +02:00
Robin Appelman 7d17d2517f emit an event when a message is logged
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-10 18:29:09 +02:00
Arthur Schiwon 1b422df12a Merge pull request #38792 from nextcloud/backport/38777/stable27
[stable27] fix(carddav): Make SystemAddressBook::__construct $groupManager argument nullable
2023-07-10 18:28:02 +02:00
Robin Appelman 6d881c10e8 log failures to read certificates during listing
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-10 18:27:38 +02:00
Arthur Schiwon 7073c21e2d Merge pull request #38659 from nextcloud/backport/38649/stable27
[stable27] fix(caldav): Close DB cursor in reminder index background job
2023-07-10 18:25:24 +02:00
Christoph Wurst 1bbeffa4a5 fix(caldav): Ignore invalid events for reminder generation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-10 18:24:05 +02:00
greta e44cd0f080 fix(carddav): Make system contact phone number RFC compliant
Signed-off-by: greta <gretadoci@gmail.com>
2023-07-10 18:21:33 +02:00
Robin Appelman 7c7b1e6d82 add command do delete orphan shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-10 17:06:06 +02:00
Arthur Schiwon 4cfcb6b9fc 27.0.1 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-10 17:05:24 +02:00
Robin Appelman f0c60686da add command do delete orphan shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-10 11:26:32 +00:00
Louis Chemineau e7d5432782 Enable all files versions features when groupfolders is enabled
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-07-10 11:51:14 +02:00
Louis 0a876e3ac8 Merge pull request #39147 from nextcloud/backport/38794/stable27
[stable27] Enable version features again with S3 versioning
2023-07-10 10:37:38 +01:00
Richard Steinmetz 0387440a6c fix(files_sharing): hide download permission for circle shares
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-07-10 09:43:49 +02:00
Nextcloud bot 7e9bd4fcea Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-10 00:28:54 +00:00
Nextcloud bot 1d58eac451 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-09 00:35:33 +00:00
Nextcloud bot a0279e7a9b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-08 00:30:20 +00:00
Johannes 05de066ee7 Merge pull request #38947 from nextcloud/fix/contacts/3404/put-location-in-proper-place-stable27
[stable27] Manuel backport: fix(sab): put location in proper address field
2023-07-07 18:02:56 +02:00
Johannes Merkel db8da6a571 fix(sab): put location in proper address field
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-07 15:16:58 +00:00
Arthur Schiwon 8f20b0c0ff Merge pull request #39202 from nextcloud/backport/37969/stable27
[stable27] use more efficient tag retrieval on DAV report request
2023-07-07 16:49:36 +02:00
Arthur Schiwon a7b4f502aa refactor: adjust to unexposed searchBySystemTag
- in this backport we have to drop the breaking addition in
  \OCP\Files\Folder
- this requires adjustments in check for the existance of the method but
  also in testing
- another change in \OCP\SystemTag\ISystemTagManager can be applied as
  this interface is not implemented elsewhere

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 12:25:04 +02:00
John Molakvoæ bdd16dd0c0 Merge pull request #39205 from nextcloud/backport/39203/stable27 2023-07-07 09:21:31 +02:00
nextcloud-command ea851ce098 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-07-07 02:40:55 +00:00
Nextcloud bot 7ac99a60d1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-07 00:27:42 +00:00
Pytal 2263d03c59 Merge pull request #38716 from nextcloud/backport/38715/stable27 2023-07-06 16:44:16 -07:00
Christopher Ng 8360af1422 chore(deps): Bump @nextcloud/vue from 7.11.6 to 7.12.0
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 21382099d0)
2023-07-06 15:33:30 -07:00
John Molakvoæ c247e41006 fix(cypress): revert only toggle
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-06 20:40:44 +00:00
Arthur Schiwon 35de0b5504 fix: cannot apply limit+offset on multi-tag-search
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 21:52:53 +02:00
Arthur Schiwon d05d185862 refactor: save unnecessary method_exists
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 21:52:52 +02:00
Arthur Schiwon 653812d583 fix: use array_unitersect against objects
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 21:52:52 +02:00
Arthur Schiwon a5a134567b fix: obey offset and limit for results from favs and circles
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 21:52:52 +02:00
Arthur Schiwon b55be6fd8f fix: cominbation of small fixes
- possible null return
- parameter name mismatch in implementation
- incomplete unit test

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 21:52:52 +02:00
Arthur Schiwon 66a7064db3 fix: include invisible tags for admins
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 21:52:51 +02:00
Arthur Schiwon 4ac77f0f7a fix: search with more than one search tags
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 21:52:51 +02:00
Benjamin Somers f287866982 Enable version features again with S3 versioning
Signed-off-by: Benjamin Somers <bsomers@resel.fr>
2023-07-06 19:29:17 +02:00
Arthur Schiwon 4e5c3bd166 fix: no search when LazyFolder was provided
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 17:29:13 +00:00
Arthur Schiwon f87286754e chore: cleanup unused code
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 17:29:13 +00:00
Arthur Schiwon 36a0d1486e fix: ensure searchBySystemTag() is available
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 17:29:13 +00:00
Arthur Schiwon 99442b60d5 fix: favorites view and universal search against tags
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 17:29:12 +00:00
Arthur Schiwon 7d8d586983 fix: change if with conditionless else to switch; and a parameter value
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 17:29:12 +00:00
Arthur Schiwon 7bfe6f2cc0 use efficient tag retrieval on DAV report request
- uses DAV search approach against valid files joined by systemtag selector
- reduced table join for tag/systemtag search
- supports pagination
- no changes to the output formats or similar

Example request body:

<?xml version="1.0"?>
<oc:filter-files xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns" xmlns:ocs="http://open-collaboration-services.org/ns">
  <d:prop>
    <d:getcontentlength/>
    <d:getcontenttype/>
    <d:getetag/>
    <d:getlastmodified/>
    <d:resourcetype/>
    <nc:face-detections/>
    <nc:file-metadata-size/>
    <nc:has-preview/>
    <nc:realpath/>
    <oc:favorite/>
    <oc:fileid/>
    <oc:permissions/>
    <nc:nbItems/>
  </d:prop>
  <oc:filter-rules>
    <oc:systemtag>32</oc:systemtag>
  </oc:filter-rules>
  <d:limit>
    <d:nresults>50</d:nresults>
    <nc:firstresult>0</nc:firstresult>
  </d:limit>
</oc:filter-files>

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 17:29:11 +00:00
Arthur Schiwon d2be510ff1 Merge pull request #39151 from nextcloud/backport/39115/stable27
[stable27] fix(sse): don't update uncached files
2023-07-06 18:42:29 +02:00
Arthur Schiwon 1bdbb39ecc Merge pull request #39193 from nextcloud/fix/stable27/tag-search-short-circuit-master
[stable27] fix(TagSearchProvider): Short circuit if no tag matches the query
2023-07-06 18:09:12 +02:00
Marcel Klehr 789832698f Fix psalm error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-06 14:53:01 +02:00
Marcel Klehr 470f2ec937 fix(TagSearchProvider): Short circuit if no tag matches the query
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-06 14:52:49 +02:00
Nextcloud bot 0e0b468c10 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-06 00:30:47 +00:00
Christoph Wurst 82c5f41dde Merge pull request #39157 from nextcloud/backport/39043/stable27
[stable27] fix(ocp): Fix reference of dashboard IAPIWidget::getItems from WidgetItem
2023-07-05 20:00:46 +02:00
Christoph Wurst 6efaf84ceb fix(ocp): Fix reference of dashboard IAPIWidget::getItems from WidgetItem
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-05 10:23:38 +00:00
Louis d119cb132a Merge pull request #39119 from nextcloud/artonge/backport/stable27/38905
[stable27] Reduce load of files versions preview loading
2023-07-05 08:53:27 +02:00
Nextcloud bot 27e86ab470 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-05 00:26:55 +00:00
Richard Steinmetz aaa7b41a33 fix(sse): don't update uncached files
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-07-04 20:18:17 +00:00
Arthur Schiwon dd2dfc89fd Merge pull request #38976 from nextcloud/backport/38625/stable27
[stable27] fix: expect interface, not a specific implementation
2023-07-04 22:07:29 +02:00
Robin Appelman bab5a54aed Merge pull request #38731 from nextcloud/backport/38226/stable27
[stable27] add utility command for object store objects
2023-07-04 21:06:48 +02:00
Robin Appelman 0ff32cadf3 add utility command for object store objects
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-04 17:59:21 +02:00
Marcel Klehr 763453803d Fix(OC/password-confirmation): Hide the correct button
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-04 14:20:49 +02:00
Daniel Kesselberg 8e00afbb47 perf: skip request without write permission
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-04 10:32:26 +02:00
Nextcloud bot 61f8314f83 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-04 00:29:28 +00:00
Maksim Sukharev 8cad04dcd0 Merge pull request #39055 from nextcloud/backport/38832/stable27
[stable27] Adjust saving of status messages
2023-07-03 18:06:36 +02:00
Maksim Sukharev d8141c6ad7 wrap user status message input and buttons with native form
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>

(cherry picked from commit bcb074a90d)
2023-07-03 15:34:25 +02:00
Louis Chemineau 859552b887 Base versions' has-preview on mimetype
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-07-03 11:11:47 +02:00
Louis Chemineau 97a72b1d78 Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-07-03 11:08:52 +02:00
Louis Chemineau 2e7d7042a7 Do not load preview if version tab is not active
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-07-03 11:04:57 +02:00
Louis Chemineau b164af46c7 Provide hasPreview in files_versions DAV API
This allow to no request non existing previews
I also set some properties to the img element to reduce preview loading to what the browser think is necessary

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-07-03 11:04:57 +02:00
Nextcloud bot 5fd29c6f50 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-03 00:30:49 +00:00
Nextcloud bot 7b5375b671 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-02 00:31:11 +00:00
Git'Fellow ecbeacbdf5 Silent imagecreatefromstring() errors
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-07-01 14:38:30 +00:00
Nextcloud bot eb537ad664 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-01 00:25:24 +00:00
Julius Härtl 968622098f Merge pull request #39078 from nextcloud/backport/39025/stable27 2023-06-30 11:40:13 +02:00
Julius Härtl e37ca5694b fix(files): Only render the menu if there are actions to show
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-30 08:21:56 +00:00
Nextcloud bot 96348bf75d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-30 00:29:54 +00:00
John Molakvoæ de6d5b6d62 Merge pull request #39067 from nextcloud/fix/cypress-ref/stable27 2023-06-29 18:39:11 +02:00
John Molakvoæ 16c7c078d6 chore: update cypress workflow from templates
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-29 18:19:11 +02:00
John Molakvoæ 772aa81269 fix(cypress): branch definition
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-29 17:23:49 +02:00
Simon L 297cc0e512 Merge pull request #38994 from nextcloud/backport/38988/stable27
[stable27] fix: restore AppsSlideToggle feature
2023-06-28 19:14:11 +02:00
John Molakvoæ bbeed21430 fix: restore AppsSlideToggle feature
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-28 15:00:19 +00:00
Robin Appelman fdb62dbdf4 Merge pull request #39019 from nextcloud/backport/38858/stable27
[stable27] file scanner performance improvements
2023-06-28 14:23:10 +02:00
Nextcloud bot 5aa23c26cb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-28 00:30:52 +00:00
Simon L 50f1fc0b74 Merge pull request #39028 from nextcloud/backport/39005/stable27
[stable27] fix(dav): Catch SAB sync errors during upgrade
2023-06-27 14:34:17 +02:00
Joas Schilling 81f9d9a690 fix(l10n): Fix plural issue with different locale and language
We need to use the language code here instead of the locale,
because Symfony does not distinguish between the two and would
otherwise e.g. with locale "Czech" and language "German" try to
pick a non-existing plural rule, because Czech has 4 plural forms
and German only 2.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-27 14:13:00 +02:00
Christoph Wurst 0fd478b9e3 fix(dav): Catch SAB sync errors during upgrade
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-27 11:08:39 +00:00
Louis ff04de6fbc Merge pull request #38970 from nextcloud/backport/38800/stable27
[stable27] fix: Avoid failing to update the current version entry if there is none
2023-06-27 09:36:22 +02:00
Nextcloud bot cd1ec4aa17 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-27 00:32:18 +00:00
Louis Chemineau af0f1149ed Do not create a new version if previousNode has the same mtime
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-26 17:57:38 +02:00
Julius Härtl 9d348950c0 fix: Add logging statement for cases when updating the version fails
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-26 17:57:38 +02:00
Louis Chemineau e8a2847bad Handle previousNode size === 0 on version creation
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-26 17:57:38 +02:00
Julius Härtl ea30d1165b fix: Avoid failing to update the current version entry if there is none
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-26 17:57:38 +02:00
Robin Appelman b219a17cc6 file scanner performance improvements
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-26 15:44:16 +00:00
Arthur Schiwon 5ba5c2d88e docs: adjust @since version to backport
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-26 17:40:21 +02:00
Simon L 3190dfb5ae Merge pull request #39004 from nextcloud/backport/38958/stable27
[stable27] use getsystemvalue-functions in Mailer.php
2023-06-26 11:45:05 +02:00
Simon L 9c2bd71ad4 try to fix tests
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-26 08:32:52 +00:00
Simon L bb2da7ed5d use getsystemvalue-functions in Mailer.php
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-26 08:32:51 +00:00
Nextcloud bot a57741487c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-26 00:28:06 +00:00
John Molakvoæ 1ebea4f4b9 Merge pull request #38983 from nextcloud/automated/noid/stable27-fix-npm-audit 2023-06-25 12:56:21 +02:00
nextcloud-command 589a6e2e5e chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-06-25 03:02:52 +00:00
Nextcloud bot a1e9508f55 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-25 00:31:41 +00:00
Simon L 8880e387ad Merge pull request #38980 from nextcloud/backort/38852/stable27
[stable27] Move deprecation warnings to debug
2023-06-24 18:49:06 +02:00
Simon L ff40cd7563 Move deprecation warnings to debug
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-24 16:25:58 +00:00
Nextcloud bot 4f666927bd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-24 00:26:21 +00:00
Arthur Schiwon 29e11a4273 ci: pro forma check of existence of internal method
createNode() is protected and used by Folder, but being an internal-only
method it shall not be exposed in the Folder or IRootFolder interface.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-23 23:04:45 +00:00
Arthur Schiwon 09c4ba257c refactor: declare getMount() and getMountsIn() at IRootFolder
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-23 23:04:44 +00:00
Arthur Schiwon f724760f67 chore: ugly type juggling
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-23 23:04:44 +00:00
Arthur Schiwon faea2440ed fix: add typehine for IRootFolder
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-23 23:04:44 +00:00
Arthur Schiwon c04b1ed857 fix: expect interface, not a specific implementation
- fixes a regression when deleting folders while music app was enabled,
  for a LazyRoot was passed to this method.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-23 23:04:44 +00:00
Nextcloud bot 2ade1650d7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-22 00:30:33 +00:00
Simon L 41f5631b2c Merge pull request #38929 from nextcloud/backport/38915/stable27
[stable27] adjust admin setup check to increase warning to configure https
2023-06-21 16:57:25 +02:00
Simon L b638173825 adjust admin setup check to increase warning to set up https
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-21 13:28:38 +00:00
Julien Veyssier 44aa756c48 Merge pull request #38898 from nextcloud/backport/38773/stable27
[stable27] Add bruteforce protection in OauthApiController
2023-06-21 12:50:59 +02:00
Julien Veyssier bebf199511 add bruteforce protection in OauthApiController
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-21 11:35:43 +02:00
Christof Arnosti 011c19ce5d Issue #36644: Test cases
Signed-off-by: Christof Arnosti <charno@charno.ch>
2023-06-21 08:12:59 +02:00
Christof Arnosti 8457a227e3 Issue #36644: Fix pruneOutdatedSyncTokens for CalDAV
pruneOutdatedSyncTokens accidentally deletes all entries of the calendarchanges table
instead of leaving $limit elements in the table

Signed-off-by: Christof Arnosti <charno@charno.ch>
2023-06-21 08:12:52 +02:00
Nextcloud bot c7a2ff2baa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-21 00:37:51 +00:00
Jonas 870e59972d Merge pull request #38897 from nextcloud/fix/inverted-text-color-stable27
[stable27] fix(core): Do not invert app menu text color
2023-06-20 13:17:47 +02:00
Philipp Hempel 7fb287cc45 chore(assets): Recompile assets
Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>
2023-06-20 11:14:55 +02:00
Ferdinand Thiessen cdea2d0d01 fix(core): Do not invert app menu text color
* Also fixes other cypress test
* Build assets

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-20 11:10:31 +02:00
Nextcloud bot 0d961dc9a2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-20 00:23:02 +00:00
Julius Härtl fec43fc132 Merge pull request #38891 from nextcloud/obj-store-copy-list-source-cache-27 2023-06-19 22:39:57 +02:00
Simon L 02af883123 Merge pull request #38885 from nextcloud/backport/38868/stable27
[stable27] fix confusion around mail settings and improve layout a bit
2023-06-19 14:33:54 +02:00
Julien Veyssier d1aa03a81e Merge pull request #38707 from nextcloud/backport/38398/stable27
[stable27] Store encrypted OAuth2 client secrets
2023-06-19 13:12:48 +02:00
Julien Veyssier c18e42f63f add test that inserts a long oauth client secret
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-19 13:12:30 +02:00
Julien Veyssier 86fe33f664 encrypt oauth2 client secrets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-19 13:12:30 +02:00
Robin Appelman 782736ab54 use source cache when listing folder during recursive copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-19 12:32:04 +02:00
Simon L 43c66b0ecd Merge pull request #38851 from nextcloud/backport/38823/stable27
[stable27] generate user themed favicon and touchicon
2023-06-19 12:20:34 +02:00
Simon L f3d231aab9 fix confusion around mail settings
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-19 09:43:57 +00:00
Nextcloud bot 7b4084f43a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-19 00:18:11 +00:00
Simon L 97613e3cae Merge pull request #38740 from nextcloud/automated/noid/stable27-fix-npm-audit
[stable27] Fix npm audit
2023-06-18 05:54:45 +02:00
nextcloud-command a9ec4498c7 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-06-18 02:51:52 +00:00
Nextcloud bot ec0dbf123a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-18 00:17:59 +00:00
Simon L a87ecd1a4f Merge pull request #38420 from nextcloud/backport/38259/stable27
[stable27] reload filelist when adding or removing shares
2023-06-17 08:14:24 +02:00
Nextcloud bot 595412fb5e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-17 00:18:03 +00:00
Christoph Wurst 78c5a0094e Merge pull request #38474 from nextcloud/backport/38458/stable27
[stable27] Revert "Fix table view"
2023-06-16 17:20:48 +02:00
Simon L 53c0790e8f generate user themed favicon and touchicon
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 11:16:28 +00:00
Nextcloud bot a499cab938 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-16 00:18:07 +00:00
Andy Scherzinger a23743cf75 Merge pull request #38847 from nextcloud/backport/38841/stable27
[stable27] fix: Removed invalid user from CODEOWNERS file
2023-06-16 00:21:56 +02:00
Christoph Wurst 965360f468 fix: Removed invalid user from CODEOWNERS file
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-15 22:11:45 +00:00
Simon L 630e4835f0 Merge pull request #38825 from nextcloud/backport/38292/stable27
[stable27] Add config variable for curl timeout
2023-06-15 12:39:50 +02:00
Nextcloud bot 15a2bd1131 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-15 00:18:07 +00:00
Dominik Fuchß 681d2c0402 Fix deprecated method call
Signed-off-by: Dominik Fuchß <develop@fuchss.org>
2023-06-14 20:27:39 +00:00
Dominik Fuchß a6ca1546cc Changes after code review.
Signed-off-by: Dominik Fuchß <develop@fuchss.org>
2023-06-14 20:27:39 +00:00
Dominik Fuchß c64e9f6e93 Add config variable for curl timeout
Add the config variable for curl calls ("remote_curl_timeout"). E.g., needed for nextcloud federation.

Signed-off-by: Dominik Fuchß <develop@fuchss.org>
2023-06-14 20:27:38 +00:00
Ferdinand Thiessen f83d31d6e8 Merge pull request #38689 from nextcloud/backport/38688/stable27
[stable27] fix(apache): Serve `mjs` (module javascript) as static files
2023-06-14 18:56:28 +02:00
Simon L c615681ff3 Merge pull request #38811 from nextcloud/backport/38804/stable27
[stable27] make sure to show download button only one time
2023-06-14 16:56:55 +02:00
Ferdinand Thiessen 31d5f720fb fix(apache): Serve mjs (module javascript) as static files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-14 16:51:58 +02:00
Simon L 9f53338e85 make sure to show download button only one time
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-14 15:35:01 +02:00
Louis dfc2888276 Merge pull request #38510 from nextcloud/artonge/backport/stable27/38467
[stable27] Add fallback when a there is no preview for a version
2023-06-14 10:40:34 +02:00
Louis Chemineau 7337188aa0 Add fallback when a there is no preview for a version
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-14 09:56:23 +02:00
Louis Chemineau ea7e18716a Improve handling of undefined version label
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-14 09:56:23 +02:00
Julia Kirschenheuter d6d524e0bf Merge branch 'stable27' into backport/38458/stable27 2023-06-14 08:57:34 +02:00
Nextcloud bot 669836790e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-14 00:18:04 +00:00
Arthur Schiwon b7ae4b93f5 Merge pull request #38580 from nextcloud/backport/38206/stable27
[stable27] Increase from 100000 to 600000 iterations for hash_pbkdf2
2023-06-13 19:31:18 +02:00
julia.kirschenheuter 83f2cc2f05 Revert "Fix table view"
This reverts commit cb852ef6

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-06-13 15:21:09 +02:00
Simon L 34c98566df Merge pull request #38751 from nextcloud/backport/38735/stable27
[stable27] allow to specify upgrade.cli-upgrade-link in order to link to the correct documentation
2023-06-13 13:46:01 +02:00
Simon L 404eb86dbc Merge pull request #38361 from nextcloud/backport/38344/stable27
[stable27] 38340 fix add group broken
2023-06-13 13:05:47 +02:00
Christoph Wurst 270d661fda fix(carddav): Make SystemAddressBook::__construct $groupManager argument nullable
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-13 10:48:29 +00:00
Nextcloud bot bb23b9187d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-13 00:18:15 +00:00
Arthur Schiwon add4e4365a Merge pull request #38753 from nextcloud/release/27.0.0
27.0.0
2023-06-12 16:53:32 +02:00
Arthur Schiwon 4a4d5a7179 27.0.0
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-12 14:28:29 +02:00
Simon L c5b43a4302 allow to specify upgrade.cli-upgrade-link in order to link to the correct documentation
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-12 11:36:29 +00:00
Nextcloud bot 0ef69969bc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-12 00:18:04 +00:00
Nextcloud bot f5e4594e83 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-11 00:34:39 +00:00
Nextcloud bot e6f343432e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-10 00:17:44 +00:00
John Molakvoæ 0b8183e360 Merge pull request #38719 from nextcloud/skjnldsv-patch-1 2023-06-09 11:12:59 +02:00
John Molakvoæ c19eb782c7 Merge pull request #38693 from nextcloud/release/27.0.0_rc4 2023-06-09 10:50:57 +02:00
John Molakvoæ b1f13297bc Create lint-eslint-when-unrelated.yml
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-06-09 10:49:58 +02:00
John Molakvoæ adef6deb3d 27.0.0 RC4
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-09 09:43:39 +02:00
John Molakvoæ a0a5d5d063 Merge pull request #38717 from nextcloud/backport/38703/stable27 2023-06-09 09:42:49 +02:00
Côme Chilliet 9330739014 Correctly react to bad configuration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-09 08:40:54 +02:00
Côme Chilliet 71adc305dc Do not cast sizes to int in Trashbin class
This helps with 32bits support

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-09 08:40:53 +02:00
fenn-cs f2e58c6c11 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-06-08 17:15:30 +02:00
John Molakvoæ 09464c6453 Merge pull request #38702 from nextcloud/backport/38486/stable27 2023-06-08 16:19:59 +02:00
Joas Schilling 9c8e229ee9 fix(psalm): Install apcu, ftp and ldap extension like in static-code-analysis-security
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-08 14:06:02 +02:00
Joas Schilling 84af099e72 fix(CI): Temporary workaround - Run Psalm CI with 1 thread only so it finishes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-08 14:06:02 +02:00
Joas Schilling 55ef2a093b fix(CI): Update oracle image and config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-08 13:06:41 +02:00
John Molakvoæ 52d39183c5 chore: update workflows from templates
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-08 13:06:36 +02:00
Simon L fb20f258d5 Merge pull request #38697 from nextcloud/backport/38694/stable27
[stable27] fix(actions): cypress
2023-06-08 12:42:00 +02:00
John Molakvoæ 7a137fcaa5 fix(actions): cypress
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-08 08:19:18 +00:00
Nextcloud bot f68b801500 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-08 00:19:02 +00:00
Nextcloud bot 92d287b64c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-07 00:18:03 +00:00
Christoph Wurst 1196299b61 fix(caldav): Close DB cursor in reminder index background job
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-06 07:22:40 +00:00
Andy Scherzinger 2eaf70b92c Merge pull request #38657 from nextcloud/backport/38656/stable27
[stable27] Fix OpenAPI core paths
2023-06-06 07:01:59 +02:00
jld3103 5d5ed4f57a Fix OpenAPI core paths
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-06 04:49:31 +00:00
Nextcloud bot 32976c8fe5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-06 00:17:48 +00:00
Arthur Schiwon b72cd54ee0 Merge pull request #38571 from nextcloud/backport/38355/stable27
[stable27] fix(trashbin): Truncate long filenames
2023-06-05 17:38:08 +02:00
Andy Scherzinger dfd0be7be5 Merge pull request #38641 from nextcloud/backport/38640/stable27
[stable27] openapi: Fix wrapping OCS responses that are not DataResponse
2023-06-05 09:08:28 +02:00
jld3103 e312b5bf2b openapi: Fix wrapping OCS responses that are not DataResponse
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-05 07:05:02 +00:00
Nextcloud bot ddc8634695 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-05 00:17:37 +00:00
Nextcloud bot 114ab80d4a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-04 00:17:44 +00:00
Simon L 462940e423 Merge pull request #38617 from nextcloud/automated/noid/stable27-fix-npm-audit
[stable27] Fix npm audit
2023-06-03 13:03:39 +02:00
Nextcloud bot e5fdcde2aa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-03 00:17:58 +00:00
nextcloud-command 0f6e6dc208 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-06-02 15:25:44 +00:00
Nextcloud bot 889d76f3fd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-02 00:17:35 +00:00
Andy Scherzinger 3e72ad1152 Merge pull request #38588 from nextcloud/backport/38586/stable27
[stable27] fix(ocp): Mark IMessage::attachInline as @since 27
2023-06-01 18:46:32 +02:00
Christoph Wurst a7bade0e03 fix(ocp): Mark IMessage::attachInline as @since 27
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 16:40:32 +00:00
John Molakvoæ 8c2cb58542 Merge pull request #38559 from nextcloud/release/27.0.0_rc3 2023-06-01 17:37:13 +02:00
Arthur Schiwon a845fc7395 Merge pull request #38449 from nextcloud/backport/38415/stable27
[stable27] don't always check if we need to setup the object store root
2023-06-01 17:33:50 +02:00
Andy Scherzinger f5d5636272 Merge pull request #38538 from nextcloud/backport/37758/stable27
[stable27] redis: use atomic operations everywhere
2023-06-01 17:12:05 +02:00
Côme Chilliet 6bd0b88f33 Adapt encryption test to change in generateHeader
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-01 16:14:24 +02:00
Côme Chilliet 47de152d76 Increase from 100000 to 600000 iterations for hash_pbkdf2
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-01 16:14:10 +02:00
Christopher Ng 4d206376f3 fix(trashbin): Truncate long filenames
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-01 09:37:28 +00:00
John Molakvoæ ca1d9a167e Merge pull request #38522 from nextcloud/artonge/backport/stable27/38469 2023-06-01 10:15:01 +02:00
John Molakvoæ 962dc932d9 Merge pull request #38507 from nextcloud/backport/38496/stable27 2023-06-01 10:08:06 +02:00
John Molakvoæ 4baba4d7e9 Merge pull request #38360 from nextcloud/backport/38294/stable27 2023-06-01 10:06:26 +02:00
John Molakvoæ 1a76ea188d Merge pull request #38409 from nextcloud/backport/38291/stable27 2023-06-01 10:05:11 +02:00
Nextcloud bot a379bba6b8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-01 00:18:03 +00:00
John Molakvoæ 615e466017 27.0.0 RC3
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-31 16:37:30 +02:00
Joas Schilling 3f1236ce9e Merge pull request #38531 from nextcloud/automated/noid/stable27-update-ca-cert-bundle
[stable27] Update ca-cert bundle
2023-05-31 09:26:01 +02:00
Varun Patil 24875c02db redis: move lua scripts to class and add type hints
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-31 07:13:21 +00:00
Robin Appelman 5b137a2498 add test to verify redis lua script hashes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-31 07:13:20 +00:00
Varun Patil 8745f76bd0 redis: use atomic operations everywhere
This removes a lot of acrobatics in the code and does each operation
atomically using a lua script. This also reduces several round trips
to the server, and the scripts are compiled and cached server-side.

Notably, since all operations work only on a single key (except clear,
which is broken anyway and shouldn't be used), they will continue to
function and be atomic for Redis cluster.

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-31 07:13:20 +00:00
nextcloud-command ade5db1821 Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2023-05-31 02:33:27 +00:00
Nextcloud bot 9ef37aaa6e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-31 00:17:47 +00:00
Louis Chemineau e54bfc00bd Fix initialisation of versions in the DB
Broken after https://github.com/nextcloud/server/pull/36690

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-05-30 16:41:03 +02:00
Joas Schilling 297ba1cd3a Merge pull request #38416 from nextcloud/backport/38308/stable27
[stable27] fix(carddav): Check if SERVER variables are set before accessing them
2023-05-30 12:12:53 +02:00
Daniel Kesselberg 5630703061 fix: catch errors in id3parser library
We use a forked version of getID3 to read embedded images from mp3 files to use them as previews.

If the library is unable to extract a image or fails on something different we should handle it properly.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-05-30 09:06:35 +00:00
Nextcloud bot d9ff25230c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-30 00:17:41 +00:00
Nextcloud bot f5083aacc7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-28 00:17:37 +00:00
Nextcloud bot 0ad9cbf884 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-27 00:18:02 +00:00
Joas Schilling 281d0aa964 Merge pull request #38485 from nextcloud/backport/38481/stable27
[stable27] fix(dav): Fix avatar size in system address book
2023-05-26 14:14:25 +02:00
Joas Schilling bbb9437116 fix(dav): Fix avatar size in system address book
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-26 10:28:59 +00:00
Arthur Schiwon 3ad8007218 Merge pull request #38436 from nextcloud/release/27.0.0_rc2
27.0.0 RC2
2023-05-25 18:51:49 +02:00
Arthur Schiwon 7e7a113c66 Merge pull request #38471 from nextcloud/backport/38448/stable27
[stable27] fix(carddav): Don't show system address book cards to guests
2023-05-25 18:50:42 +02:00
Christoph Wurst 67d8c36537 fix(carddav): Don't show system address book cards to guests
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-25 18:21:06 +02:00
Arthur Schiwon ebb2f813a7 Merge pull request #38440 from nextcloud/bugfix/stable27/catch-doctrine-exception
[stable27] fix: Catch Deadlock properly as execute throws Doctrine exceptions not our wrapped ones
2023-05-25 12:27:27 +02:00
Andy Scherzinger f5dc8fdfba Merge pull request #38455 from nextcloud/backport/38423/stable27
[stable27] fix(carddav): Check enumeration settings for all SAB methods
2023-05-25 12:11:45 +02:00
John Molakvoæ 6e10a457d7 Merge pull request #38444 from nextcloud/backport/38441/stable27 2023-05-25 10:35:24 +02:00
Christoph Wurst 11d21994f9 fix(carddav): Check enumeration settings for all SAB methods
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-25 08:26:57 +00:00
John Molakvoæ adcd4efbcc fix(files): make open folder a default action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-25 06:32:34 +00:00
Robin Appelman 780a744e07 don't always check if we need to setup the object store root
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-24 21:55:56 +00:00
Julius Härtl ce8e21d2c5 fix: execute throws docrine exceptions not our wrapped ones
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-24 20:45:51 +02:00
Andy Scherzinger 0799ef8ec5 Merge pull request #38443 from nextcloud/backport/38438/stable27
[stable27] Add OpenAPI specs
2023-05-24 19:32:19 +02:00
jld3103 b683f77842 Add OpenAPI specs
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-24 16:25:28 +00:00
Robin Appelman bf6071608e reload filelist when adding or removing shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-24 14:14:36 +00:00
Arthur Schiwon 12d5152f62 27.0.0 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-24 15:17:54 +02:00
Johannes 16a1ec629f Merge pull request #38419 from nextcloud/backport/38413/stable27
[stable27] fix(SAB): Save avatar to SAB
2023-05-23 20:02:49 +02:00
Johannes Merkel d96200baed fix(SAB): Save avatar to SAB
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-05-23 14:08:35 +00:00
Anna Larch c1ac314ff1 fix(carddav): Check if SERVER variables are set before accessing them
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-05-23 12:41:15 +00:00
Robin Appelman 21d50794f0 fix loading custom logo image
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-23 07:41:40 +00:00
fenn-cs 241a513b7e 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-22 10:46:54 +00:00
Joas Schilling 713b9603a4 Merge pull request #38339 from nextcloud/welcome/stable27
chore(CI): Test against stable27 branches of needed apps
2023-05-22 11:09:55 +02:00
Arthur Schiwon 74b4fd28d8 Merge pull request #38341 from nextcloud/release/27.0.0_rc1
27.0.0 RC1
2023-05-17 15:25:05 +02:00
Arthur Schiwon 24b86cec64 27.0.0 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-17 12:47:46 +02:00
Joas Schilling 22e5741138 Merge pull request #38337 from nextcloud/enh/noid/disable-some-contactsmenu-tests
disable contacts menu features that regularly fail on drone
2023-05-17 12:01:39 +02:00
Andy Scherzinger c200fd4c85 Merge pull request #38328 from nextcloud/fix/codeowners
Fix codeowners named Χριστόφορος
2023-05-17 11:39:14 +02:00
Andy Scherzinger f27210922f Update CODEOWNERS
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-17 11:38:45 +02: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 +02:00
Joas Schilling a11db03693 chore(CI): Test against stable27 branches of needed apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 10:58:55 +02:00
Simon L 2cb7dd2d84 disable contacts menu features that regularly fail on drone
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-17 10:51:24 +02:00
Simon L 288742d55c Merge pull request #38295 from nextcloud/deps/webdav-5.0.0
chore(deps): Bump webdav from 5.0.0-r3 to 5.0.0
2023-05-17 04:29:11 +02:00
Christopher Ng cdf249173a chore(deps): Bump webdav from 5.0.0-r3 to 5.0.0
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-05-16 17:35:49 -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 +00:00
Christopher Ng 611b23f666 Fix codeowners named Χριστόφορος
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-05-16 16:55:48 -07:00
Pytal 8bcb01d72f Merge pull request #38316 from nextcloud/deps/nextcloud/vue-7.11.6 2023-05-16 16:41:59 -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 +02: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
Simon L 6608f84a46 Merge pull request #36692 from nextcloud/throw-exception-to-avoid-division-by-zero
fix(preview-generator): Throw exception before dividing by zero when generating previews
2023-05-17 00:14:42 +02:00
Simon L f01d30ad11 Merge pull request #38131 from nextcloud/fix/login-footer-design
fix(login): Make login form and footer look like a dashboard panel
2023-05-16 23:36:10 +02:00
Simon L 3f786781ef Merge pull request #31001 from takahiro-blab/master
Fixed 'overwritewebroot' not work with 'overwritecondaddr'.
2023-05-16 23:32:15 +02:00
Simon L 0b1444357b Merge pull request #38321 from nextcloud/pulsejet/patch-dbtableprefix
docs: add dbtableprefix to sample config
2023-05-16 22:50:37 +02:00
Ferdinand Thiessen 79239eaded chore: Build compiled assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-16 22:31:10 +02:00
Varun Patil 8102c88c2e Add dbtableprefix to sample config
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-16 11:20:13 -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 +02:00
Ferdinand Thiessen 8d0fd6fa9d fix(login): Make login form and footer look like a dashboard panel
Also adjust border radius to match new main content box.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-16 19:47:10 +02: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 +02: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 +02:00
Simon L e8cad555cf Merge pull request #38303 from nextcloud/fix/loadmore
fix(search): fix load more
2023-05-16 19:24:17 +02: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 +02: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 +02: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 +00:00
Joas Schilling 96a4274858 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-16 15:23:28 +02: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 +02: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 +02:00
Simon L 2bd08c8198 Merge pull request #38030 from nextcloud/enh/retry-transaction
Wrapper method to easily retry deadlock exceptions
2023-05-16 11:53:30 +02:00
John Molakvoæ 7e51305ae4 fix(search): fix load more
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-16 11:45:50 +02: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 +02:00
Simon L d293293cda Fixed bug which 'overwritewebroot' does not work with 'overwritecondaddr'.
Signed-off-by: Takahiro Nagai <78393959+takahiro-blab@users.noreply.github.com>
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-16 11:39:39 +02: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 +02:00
Simon L 48521d67e1 Merge pull request #38143 from nextcloud/fix/generated-avatars-cache
Fix generated avatars cache
2023-05-16 11:37:49 +02: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 +02: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 +00:00
Simon L ab848244fe Merge pull request #38065 from nextcloud/fix-result-mimetype-loader
fix(mimetype): Fix returning value when finding existing mimetype in MimeType Loader
2023-05-16 11:30:13 +02:00
Joas Schilling 5e02def3f4 Merge pull request #38274 from nextcloud/bugfix/noid/reach-max-delay-in-afterController
fix(middleware): Also abort the request when reaching max delay in af…
2023-05-16 11:07:04 +02: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 +02:00
Julius Härtl 050c6d53b3 enh: Provide atomicRetry method to retry transactions if possible
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-16 08:13:20 +02:00
Joas Schilling b56445b9ad Merge pull request #38267 from nextcloud/bugfix/noid/fix-missing-bruteforce-protection
fix(lostpassword): Also rate limit the setPassword endpoint
2023-05-16 06:35:15 +02:00
Nextcloud bot 816c33c391 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-16 02:28:27 +00:00
Simon L be7c9cee39 Merge pull request #38225 from nextcloud/enh/noid/disable-pull-to-refresh
disable pull-down-to-refresh for mobile
2023-05-16 02:50:38 +02:00
F. E Noel Nfebe e7ba25574b Merge pull request #38202 from nextcloud/fix/37135/addgroup-link-to-button
Convert Add group link to button
2023-05-16 01:23:37 +01:00
Ferdinand Thiessen 02853fdae6 fix(settings): Fix UserList styles set to css but scss is used
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-16 00:55:03 +02:00
Robin Appelman f1a1361e0d Merge pull request #38265 from nextcloud/session-auth-check-username
check the username when doing external storage session auth
2023-05-15 23:48:34 +02:00
Ferdinand Thiessen 864aa1b61a Merge pull request #38256 from nextcloud/fix/noid/file-smart-picker-padding
Adjust file custom picker component padding
2023-05-15 23:27:33 +02:00
Simon L 3974fece7a disable pull-down-to-refresh for mobile
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-15 20:09:52 +00:00
Maksim Sukharev 77efa2e0ec Merge pull request #38127 from nextcloud/fix/a11y-status-modal
[user_status] Improve user online status modal
2023-05-15 22:01:16 +02:00
jld3103 2a19753cf7 Clear generated avatar caches
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-15 18:18:21 +02:00
jld3103 e294045223 Properly clear cached avatars
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-15 18:18:21 +02:00
Côme Chilliet 8362eea14e Merge pull request #38196 from nextcloud/fix/fix-32bits-freespace-and-sizes
Get rid of more int casts in file size manipulations
2023-05-15 17:05:46 +02:00
Joas Schilling 3a6bc7aba2 fix(middleware): Also abort the request when reaching max delay in afterController
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-15 16:20:19 +02:00
Joas Schilling 33385d7ecb fix(tests): Adjust unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-15 16:12:14 +02:00
nextcloud-command 457a212219 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-15 13:39:52 +00:00
nextcloud-command c588c1daf5 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-15 14:36:32 +02:00
Ferdinand Thiessen 8506d9018a fix(user_status): Remove redundant styling, use global class instead
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-15 14:31:32 +02:00
Ferdinand Thiessen e93b20c656 fix(user_status): Use native radio buttons for online status selection
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-15 14:31:32 +02:00
Ferdinand Thiessen 349e12eb56 fix(user_status): Add missing radiogroup role to online status selector
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-15 14:31:32 +02:00
Ferdinand Thiessen a99265bfbe fix(user_status): Group custom message input elements and assign label to emoji selector
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-15 14:31:32 +02:00
Ferdinand Thiessen 2133b0ecdd fix(user_status): Use role=radio for predefined statuses in online status modal
* Instead of tabable DIVs properly assign the radio role
* Set role to radiogroup of list container to group the predefined statuses

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-15 14:31:32 +02:00
Christoph Wurst b9026acf3f Merge pull request #38247 from nextcloud/fix/read-only-system-addres-book-acls
fix(carddav): Mark system address book as read-only
2023-05-15 14:01:41 +02:00
Côme Chilliet ae525e1935 Fix return types in phpdoc
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-15 12:24:42 +02:00
Côme Chilliet 24690a3a48 Merge pull request #38231 from nextcloud/dependabot/npm_and_yarn/tar-6.1.14
bump tar from 6.1.13 to 6.1.14
2023-05-15 12:10:26 +02:00
Julien Veyssier 73f3c0aef7 adjust file custom picker component padding as the smart picker does not have padding anymore
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-05-15 12:08:26 +02:00
Simon L 778dd89160 Merge pull request #38242 from nextcloud/fix/35286/fix-scrolling
Fix incosistent scrolling in Firefox
2023-05-15 12:08:14 +02:00
Côme Chilliet 3bf19f76e6 Merge pull request #32961 from nextcloud/more-debug-lazyuserfolder
Make it easier to debug issue #32304
2023-05-15 11:42:06 +02:00
Louis 2f467d936c Merge pull request #38224 from nextcloud/versionEntityisSet
Check if version has entity before trying to access it
2023-05-15 11:26:27 +02:00
Christoph Wurst 5d038a2dc1 fix(carddav): Mark system address book as read-only
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-15 10:27:53 +02:00
Côme Chilliet 7fd453eb10 Merge pull request #38080 from nextcloud/enh/add-occ-command-for-legacy-filekey
Add an occ command to scan files for legacy file key in use and get rid of those
2023-05-15 10:20:34 +02:00
Joas Schilling 7ee81b6555 fix(lostpassword): Also rate limit the setPassword endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-15 09:21:07 +02:00
Julius Härtl 25f3678e24 Merge pull request #38237 from nextcloud/bugfix/noid/no-combine-l10n 2023-05-15 09:17:30 +02:00
Côme Chilliet 2a4af880c1 Merge pull request #38195 from nextcloud/fix/update-icewind-streams-in-files-external
Update icewind/streams to 0.7.7 in files_external
2023-05-15 09:12:04 +02:00
Julius Härtl 0ebb00d01d fix: Do not attempt to use l10n files as sources for combined js files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-15 08:29:05 +02:00
Nextcloud bot 8bdb50fd50 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-15 02:28:25 +00:00
Simon L 2730f48180 Fix incosistent scrolling in Firefox
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-14 18:37:01 +00:00
Nextcloud bot d454fe4b8c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-14 02:27:40 +00:00
fenn-cs 1ee8fbaad1 Convert Add group link to button
The "Add group" peforms an on-page action and does not route or link to
anywhere else hence, not semantically a link but a button.

This commit implements the ehancement described at the respository level.

A change would be required in [@nextcloud/nextcloud-vue](https://github.com/nextcloud/nextcloud-vue/issues/4108)
since the `NcAppNavigationNewItem` is an out-of-repo dependency.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-05-14 01:01:12 +01:00
Julius Härtl e18f97fc95 Merge pull request #37709 from nextcloud/bugfix/deadlock 2023-05-13 13:13:04 +02:00
Julius Härtl 8cab1d73ac Merge pull request #37621 from nextcloud/enh/lock-readable-path 2023-05-13 13:11:37 +02:00
Simon L 7ba6323db5 Merge pull request #38223 from nextcloud/enh/noid/use-primary-element-variables
Use the color-primary-element* variables
2023-05-13 13:10:28 +02:00
Simon L f5e8268ced Use the color-primary-element* variables
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-13 10:15:33 +00:00
dependabot[bot] 0ee7a51b9e Merge pull request #38235 from nextcloud/dependabot/npm_and_yarn/typescript-eslint/parser-5.59.5 2023-05-13 08:44:11 +00:00
dependabot[bot] ce8e749334 bump @typescript-eslint/parser from 5.59.2 to 5.59.5
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-13 03:00:46 +00:00
Nextcloud bot 701e409c4c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-13 02:27:57 +00:00
dependabot[bot] 21c247c8e1 bump tar from 6.1.13 to 6.1.14
---
updated-dependencies:
- dependency-name: tar
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-13 02:06:02 +00:00
Git'Fellow d6eb48c436 Check if version has entity before trying to access it
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-05-12 16:00:16 +02:00
Arthur Schiwon ba867b6257 Merge pull request #38222 from nextcloud/27b2-version
re-add version number
2023-05-12 15:45:18 +02:00
Robin Appelman 4efcddf20f re-add version number
turns out those are quite important

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-12 15:37:34 +02:00
Robin Appelman 1f4dd62b4e Merge pull request #36592 from nextcloud/groupmanager-search-typing
fix default values and type hints for GroupManager::search
2023-05-12 15:25:32 +02:00
Arthur Schiwon b83432f92f Merge pull request #38139 from nextcloud/release/27.0.0_beta_2
27.0.0 beta 2
2023-05-12 15:02:39 +02:00
Christoph Wurst 24403148a9 Merge pull request #38013 from nextcloud/feat/users/store-load-manager-uid
feat(users): Store and load a user's manager
2023-05-12 15:01:14 +02:00
Christoph Wurst 2cc672d26b fix(dav): Run system address book create-if-not-exists in transaction
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-12 14:15:02 +02:00
Christoph Wurst 7e3d5d6c70 Merge pull request #37933 from nextcloud/fix/contactsinteraction/transactional-read-update-insert
fix(contactsinteraction): Read, update or insert in DB transaction
2023-05-12 14:02:10 +02:00
Christoph Wurst 3aa3d7fa2f Merge pull request #38169 from nextcloud/doc/config/rearrange-sample-config
doc(config): Rearrange sample config into appropriate sections
2023-05-12 14:00:22 +02:00
Christoph Wurst 1381c4c157 feat(users): Store and load a user's manager
Co-Authored-By: hamza221 <hamzamahjoubi221@gmail.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-12 13:56:48 +02:00
Joas Schilling b520a1368a Merge pull request #38200 from nextcloud/codeowners-patch
Update CODEOWNERS
2023-05-12 13:36:18 +02:00
Andy Scherzinger ca139f7e7e Merge pull request #38218 from nextcloud/chore/nextcloud-27-authors-file
chore: Update AUTHORS for Nextcloud 27
2023-05-12 13:13:21 +02:00
Christoph Wurst ad9ee7435a chore: Update AUTHORS for Nextcloud 27
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-12 12:09:32 +02:00
Joas Schilling dc190f4fc4 Fix more Christoph(er) mixups
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2023-05-12 12:02:38 +02:00
Joas Schilling 1399c88ee1 Merge pull request #38214 from nextcloud/bugfix/noid/bump-vue
fix(deps): Bump @nextcloud/vue to 7.11.4
2023-05-12 11:35:40 +02:00
Joas Schilling 2ad2fdd953 Order owner groups
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-12 10:58:26 +02:00
Alexander Piskun fa4bd1628b Update CODEOWNERS
task from @DaphneMuller 

Signed-off-by: Alexander Piskun <13381981+bigcat88@users.noreply.github.com>
2023-05-12 10:58:25 +02:00
John Molakvoæ 174c226c28 Merge pull request #38207 from nextcloud/fix/jsresourcelocator-l10n-handling 2023-05-12 10:47:46 +02:00
Joas Schilling 8bdd31bf27 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-12 09:58:14 +02:00
Joas Schilling ebdb1c6eae fix(deps): Bump @nextcloud/vue to 7.11.4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-12 09:55:16 +02:00
Julia Kirschenheuter 0d3df2c795 Merge pull request #37870 from nextcloud/fix/36921-fix-table-for-users-app
Fix table view
2023-05-12 09:33:34 +02:00
Christoph Wurst d5c2e75db6 Merge pull request #37734 from nextcloud/enh/expose-system-address-book
feat(dav): expose system address book
2023-05-12 08:48:48 +02:00
Nextcloud bot b85c2dab27 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-12 02:28:13 +00:00
Simon L 83dcb2061d Merge pull request #38159 from nextcloud/enh/noid/fix-themed-icons
fix too dark or bright primary element color
2023-05-11 23:58:53 +02:00
Anna Larch 5c2eb732f1 fix(carddav): expose system address book
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-05-11 18:59:30 +02:00
Pytal d5588f366b Merge pull request #38147 from nextcloud/fix/36945-input_fields_do_not_convey_the_purpose_of_each_field_through_a_language 2023-05-11 09:34:43 -07:00
Ferdinand Thiessen 31c01fa3da fix(JSResourceLocator): Handle missing translations silently
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-11 18:22:24 +02:00
Côme Chilliet 49108880d2 Add fclose on opened resources
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-11 17:53:19 +02:00
Robin Appelman 2466724b01 check the username when doing external storage session auth
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-11 17:47:56 +02:00
John Molakvoæ 4a86487859 fix: getGroups limit check syntax
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-05-11 17:30:04 +02:00
Robin Appelman 13b06ba4e2 revert public interface back to the original types, just cast them before passing the nulls to the backends
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-11 17:30:03 +02:00
Robin Appelman 7ad3574d71 also update groupinterface and database backend
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-11 17:30:03 +02:00
Robin Appelman e4b9ecd8f2 fix default values and type hints for GroupManager::search
ints really are ints

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-11 17:30:01 +02:00
julia.kirschenheuter cb852ef63b Fix table view
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-11 16:36:37 +02:00
Côme Chilliet b0f072da60 Require icewind/streams to get the same version as 3rdparty
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-11 15:38:08 +02:00
Simon L 4a89b7ea22 adjust tests
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-11 14:15:47 +02:00
Robin Appelman 9d2d3d482b Merge pull request #38148 from nextcloud/file-info-etag
also show file etag in file info
2023-05-11 13:21:48 +02:00
Côme Chilliet a90581b405 Get rid of more int casts in file size manipulations
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-11 12:46:16 +02:00
Côme Chilliet 1a12f14a19 Update icewind/streams to 0.7.7, and remove it from explicit deps in files_external
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-11 12:05:12 +02:00
Côme Chilliet a92028f5cd Rename command to drop-legacy-filekey and remove comment about legacy mode.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-11 11:56:14 +02:00
Côme Chilliet 36fc5dc8ae Copy data back instead of renaming to avoid changing the fileid
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-11 11:24:16 +02:00
John Molakvoæ 979f4033ca Merge pull request #33381 from luzpaz/fix/lib-public-typos 2023-05-11 10:26:50 +02:00
julia.kirschenheuter b54afad28e Add autocomplete attrs to input fields
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-11 10:16:28 +02:00
Arthur Schiwon b6c034ac57 Merge pull request #37961 from nextcloud/poc/noid/systemtags-perf
SystemTags endpoint to return tags used by a user with meta data
2023-05-11 10:16:03 +02:00
John Molakvoæ e1768485db Merge pull request #38194 from nextcloud/fix/unsupported-redirect 2023-05-11 10:15:41 +02:00
Arthur Schiwon 2d41f0c064 Merge pull request #38067 from nextcloud/fix/noid/sortTags
fix: sort tags by name
2023-05-11 09:54:15 +02:00
John Molakvoæ 68abba8d73 fix: prevent malicious url in unsupported browser redirect
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-11 08:56:15 +02:00
John Molakvoæ db02684008 Merge pull request #37691 from nextcloud/object-store-background-scan 2023-05-11 08:15:41 +02:00
Pytal 83ed1fb004 Merge pull request #38163 from nextcloud/show-loading-spinner-until-share-settings-are-fully-loaded 2023-05-10 17:20:56 -07:00
Robin Appelman 2ea41dab93 repair -1 folder sizes for object store background scan
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-10 19:33:26 +02:00
Arthur Schiwon e20e18f45f fix: use interface instead of implementation as type hint
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-10 19:06:29 +02:00
Arthur Schiwon df662f50bd refactor: remove where specification from SELECT getter
- search constraints are now fully in control of
  SystemTagsInFilesDetector::detectAssignedSystemTagsIn(), avoids
  duplication of a WHERE statement

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-10 18:48:06 +02:00
Simon L 928b3b31b4 Merge pull request #38174 from nextcloud/enh/template-picker
feat: Enhance template picker size and layout depending on aspect ratio
2023-05-10 18:13:32 +02:00
Joas Schilling 1085598fd1 Merge pull request #38170 from nextcloud/bugfix/38165/workflow-engine-ui
fix(workflowengine): Fix multiple UI issues in workflow engine admin settings
2023-05-10 17:16:21 +02:00
Simon L eb8770584e use brighten and darken instead of grey
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-10 16:35:11 +02:00
Joas Schilling b70b1f66c9 fix(theming): Cut of the brightness into both directions if unknown
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-10 15:41:32 +02:00
Julius Härtl 032e3d3ad5 feat: Enhance template picker size and layout depending on aspect ratio
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-10 15:33:57 +02:00
Robin Appelman 4822f104f7 Merge pull request #37971 from nextcloud/info-file-get
Add commands for basic file actions
2023-05-10 13:40:06 +02:00
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 +02:00
Joas Schilling 0983572e65 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-10 12:03:15 +02: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 +02:00
Simon L d55a7c619d Fix typos in lib/public subdirectory
Found via `codespell -q 3 -S l10n -L jus ./lib/public`

Signed-off-by: luz paz <luzpaz@github.com>

Update lib/public/Accounts/IAccount.php

Signed-off-by: luz paz <luzpaz@github.com>

Signed-off-by: Simon L <szaimen@e.mail.de>
Co-Authored-By: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-05-10 11:56:34 +02:00
John Molakvoæ 14cb58c0e5 Merge pull request #31469 from nextcloud/feat/workflow-auto-update-lint-eslint.yml 2023-05-10 11:41:29 +02:00
Christoph Wurst f63c2db6a1 Merge pull request #38152 from nextcloud/chore/psalm-baseline-editorconfig
chore: Fine-tune editorconfig for build/psalm-baseline.xml
2023-05-10 11:08:59 +02: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 +02: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 +02:00
Christoph Wurst 00d6a6f514 doc(config): Rearrange sample config into appropriate sections
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-10 09:05:28 +02: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 +02:00
Julius Härtl b935725b70 Merge pull request #38100 from tanganellilore/fix_delete_ChunkingV2Plugin 2023-05-10 08:34:25 +02:00
Nextcloud bot 46bb952ba5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-10 02:31:27 +00: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 +02: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 +02: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 +02: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 +02: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 +02: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 +02: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 +02: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 +02: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 +02:00
Robin Appelman ddc53a9046 minor fixes for get/put
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-09 17:38:43 +02:00
Louis 20edd4b5ca Merge pull request #38140 from nextcloud/enh/noid/adjust-wording-update-hint
adjust wording for update hint when files of a specific app are not there
2023-05-09 17:35:03 +02: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 +02:00
John Molakvoæ 31302c4528 Merge pull request #38095 from nextcloud/artonge/fix/file_metadata_scan 2023-05-09 17:28:47 +02:00
Christoph Wurst cfe81050f5 chore: Fine-tune editorconfig for build/psalm-baseline.xml
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-09 17:26:35 +02:00
Pytal 972b2097d0 Merge pull request #38104 from nextcloud/feat/um-32-bit 2023-05-09 08:20:41 -07:00
John Molakvoæ 0048071438 Merge pull request #38069 from nextcloud/list-supported-db 2023-05-09 17:16:26 +02:00
Robin Appelman 904fdf3aa3 Merge pull request #37838 from nextcloud/event-logger-http
log performance events for http requests
2023-05-09 17:15:27 +02:00
John Molakvoæ 416f632280 Merge pull request #38125 from nextcloud/versionEntityCheck 2023-05-09 17:11:57 +02:00
Robin Appelman cdcd6f2872 also show file etag in file info
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-09 14:56:37 +02: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 +02:00
Côme Chilliet f734a76466 Merge pull request #38109 from nextcloud/dependabot/npm_and_yarn/jsdom-22.0.0
build(deps-dev): Bump jsdom from 21.1.1 to 22.0.0
2023-05-09 12:22:23 +02: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 +02:00
Arthur Schiwon d946256ff9 Merge pull request #38088 from nextcloud/fix/38053/change-display-name
fix(user): Can change display name
2023-05-09 11:48:10 +02:00
Louis Chemineau b67e34f78f Restrict EXIF extracting to a subset of formats
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-05-09 11:43:56 +02:00
Louis Chemineau 157be42a83 Prevent error on files scan if metadata exists
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-05-09 11:43:56 +02:00
Simon L 84b88c01c7 adjust wording
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-09 11:19:48 +02:00
Côme Chilliet 1cc1866ba3 Add back missing slash in LazyUserFolder path
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-05-09 10:59:31 +02:00
Simon L 6e5a307757 adjust wording for update hint when files of a specific app are not there
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-09 10:56:02 +02:00
John Molakvoæ ca88a1876b Merge pull request #38133 from nextcloud/feat/setupcheck-debug 2023-05-09 10:14:21 +02:00
John Molakvoæ 671c4cbbee 27.0.0 beta 2
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-09 10:13:35 +02:00
John Molakvoæ 14a468f326 Merge pull request #38099 from nextcloud/fix/missing-clear-status-route 2023-05-09 08:24:01 +02:00
Julius Härtl a6966c0b2d feat: Add setup check warning if instance is in debug mode
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-09 07:34:03 +02:00
Nextcloud bot 158405127b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-09 02:19:48 +00:00
Arthur Schiwon c7bb540d08 Merge pull request #36895 from apasov/patch-1
Fix json_decode expecting a string
2023-05-08 21:20:38 +02:00
Joas Schilling 53957cf35b Merge pull request #38124 from nextcloud/dependajulia/update-nc-vue-to-v7.11.3
Bump @nextcloud/vue to 7.11.3
2023-05-08 14:31:03 +02: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 +02:00
jld3103 e6e2b873a3 Remove unreachable UserStatus#clearStatus route
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-08 14:16:54 +02:00
julia.kirschenheuter 79fa17b438 Bump @nextcloud/vue to 7.11.3
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-08 13:01:44 +02:00
Joas Schilling 598859d969 Merge pull request #38097 from nextcloud/bugfix/38087/dont-translate-when-from-and-to-are-equal
fix(translation): Don't use translation providers when from and to ar…
2023-05-08 09:40:22 +02:00
Joas Schilling b1c6b940a6 Merge pull request #38102 from nextcloud/feature/noid/add-messageid-to-talk-richobject-definition
Add messageId to richObject definition of Talk
2023-05-08 09:26:04 +02:00
Nextcloud bot cfbb80a8c3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-08 02:28:13 +00: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 +02:00
Nextcloud bot b3ab8859fb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-07 02:28:17 +00:00
dependabot[bot] e785ae345e Merge pull request #38112 from nextcloud/dependabot/npm_and_yarn/types/dockerode-3.3.17 2023-05-06 08:01:18 +00:00
dependabot[bot] 44f9788d7c build(deps-dev): Bump @types/dockerode from 3.3.16 to 3.3.17
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.16 to 3.3.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dockerode)

---
updated-dependencies:
- dependency-name: "@types/dockerode"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-06 06:52:00 +00:00
dependabot[bot] e5b7ec61dc Merge pull request #38111 from nextcloud/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.59.2 2023-05-06 06:50:35 +00:00
dependabot[bot] 2dcd9776fd Merge pull request #38107 from nextcloud/dependabot/npm_and_yarn/webpack-cli-5.0.2 2023-05-06 05:38:48 +00:00
dependabot[bot] 228bb100d8 bump @typescript-eslint/eslint-plugin from 5.59.1 to 5.59.2
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-06 03:45:32 +00:00
Nextcloud bot 737e79854e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-06 02:27:44 +00:00
dependabot[bot] 2b42085fe0 build(deps-dev): Bump jsdom from 21.1.1 to 22.0.0
Bumps [jsdom](https://github.com/jsdom/jsdom) from 21.1.1 to 22.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/21.1.1...22.0.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-06 01:59:35 +00:00
dependabot[bot] e27309feab build(deps-dev): Bump webpack-cli from 5.0.1 to 5.0.2
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@5.0.1...webpack-cli@5.0.2)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-06 01:58:27 +00: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
Kate c40d1b7dbc Merge pull request #38077 from nextcloud/fix/libxml-version
Remove version check for ancient libxml version
2023-05-05 21:44:25 +02:00
jld3103 04d840211f Remove version check for ancient libxml version
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-05 19:07:55 +02:00
Marcel Müller 484f7a6641 Add messageId to richObject definition of Talk
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-05-05 17:51:53 +02:00
Andy Scherzinger 236f9a2dfe Merge pull request #38068 from nextcloud/hubNumberBumper
Bump hub number
2023-05-05 17:09:04 +02: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 +00:00
Joas Schilling 505e467cc4 fix(translation): Don't use translation providers when from and to are the same
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-05 14:03:14 +02:00
John Molakvoæ 263a6910c4 Merge pull request #38063 from nextcloud/fix/theming 2023-05-05 13:57:55 +02: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 +02:00
Nextcloud bot f997b8a2a3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-05 02:28:12 +00: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 +02:00
Christoph Wurst d2606a9b7d Merge pull request #38073 from nextcloud/feat/caldav/map-additional-emails-system-addres-book
feat(carddav): Map user's additional emails into the SAB card
2023-05-04 23:50:37 +02:00
John Molakvoæ 46459ae93f Merge pull request #35092 from Messj1/bugfix/type-error-cert-manager-cache-path 2023-05-04 21:53:49 +02:00
John Molakvoæ f4e5d3d4e7 Merge pull request #38038 from nextcloud/release/27.0.0_beta_1 2023-05-04 20:52:00 +02:00
Christopher Ng 4ecae83385 fix(user): Can change display name
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-05-04 11:14:49 -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 +00:00
Robin Appelman 36221a8865 add command to write a file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 18:21:58 +02: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 +02:00
Robin Appelman ad81a5f333 add command to delete a file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 18:21:57 +02:00
Robin Appelman b80e554464 add command to get a file from the filesystem
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 18:21:55 +02: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 +02:00
Robin Appelman f8b4e0025b Merge pull request #37865 from nextcloud/info-file-space
add command to summarize space usage
2023-05-04 18:21:11 +02: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 +02:00
Côme Chilliet 146284f170 Fix fopen mode
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-04 17:50:34 +02:00
Côme Chilliet 8ada0cec2c Merge pull request #38057 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-05-04 17:15:22 +02: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 +02: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 +02: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 +02:00
Robin Appelman cd3e7fd1b0 list supported databases when provided db isn't supported
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 14:43:48 +02:00
John Molakvoæ 20e5e37ab5 27.0.0 beta 1
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 14:41:44 +02: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 +02: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 +02:00
Arthur Schiwon badee49b4b fix: sort tags by name
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-04 13:21:14 +02:00
Carl Schwan 85770f3b9f Make it easier to debug issue #32304
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-05-04 11:11:52 +00:00
Robin Appelman 5c31c35d40 add option to list all files instead of limiting
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 13:10:26 +02:00
Robin Appelman 2b4bd02be9 add command to summarize space usage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 13:10:25 +02: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 +02: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 +02: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 +02: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 +02: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 +02: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 +02:00
Simon L 527de8ac9d Merge pull request #37148 from nextcloud/enh/noid/increase-imaginary-timeouts
increase imaginary timeouts as for big files the processing could take very long
2023-05-04 12:44:52 +02: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 +02:00
Thomas Citharel 375466819e fix(mimetype): Fix returning value when finding existing mimetype in MimeType Loader
Also, only return the ID from the transaction as the mimetype string is
already used from the function argument value

Fixes https://github.com/nextcloud/server/pull/35744/files#r1184644610

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-05-04 11:15:50 +02:00
Ferdinand Thiessen 1a00d99015 Merge pull request #38050 from nextcloud/fix/skip-content-buttons
Fix "skip content"-buttons on small screen sizes
2023-05-04 11:04:48 +02: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 +02: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 +02:00
dependabot[bot] d057588bdf Merge pull request #38056 from nextcloud/dependabot/npm_and_yarn/engine.io-6.4.2 2023-05-04 02:39:39 +00:00
Nextcloud bot 4b806a00fa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-04 02:28:08 +00:00
nextcloud-command 642536f04e Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-05-04 02:24:42 +00:00
dependabot[bot] 55f28280ce build(deps): Bump engine.io from 6.4.1 to 6.4.2
Bumps [engine.io](https://github.com/socketio/engine.io) from 6.4.1 to 6.4.2.
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.4.1...6.4.2)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-04 01:56:55 +00:00
Daniel 3b2e490e38 Merge pull request #38034 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-05-03 23:13:16 +02:00
Daniel db73534e09 Merge pull request #38016 from nextcloud/oracle-limit-workaround
fix: add workaround for oci and limit queries
2023-05-03 23:06:59 +02: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 +02:00
nextcloud-command d68afb6e49 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-03 18:42:06 +00:00
Ferdinand Thiessen 0a0740a5a9 chore: Build css assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-03 19:50:26 +02:00
Ferdinand Thiessen 5bf4b1d6b8 fix(core): Show skip content buttons on lowres displays correctly
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-03 19:49:01 +02:00
Julius Härtl e5ba7eb3d5 Merge pull request #38045 from nextcloud/fix/35760
Fix app overflow menu on bright color theme
2023-05-03 19:45:02 +02: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 +02:00
Pytal 5a7c8b3751 Merge pull request #38012 from nextcloud/fix/a11y-share-input 2023-05-03 10:28:35 -07:00
Ferdinand Thiessen 88f344339d fix(AppMenu): On bright color theme the app icons in the overflow menu must be inverted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-03 14:42:14 +00:00
Julia Kirschenheuter df5283ad05 Merge pull request #37967 from nextcloud/fix/36926-The_visually_hidden_elements_of_the_navigation_on_the_left_are_always_read_by_screen_readers
Add `aria-hidden` attr to the whole navigation depending on a sidebar state
2023-05-03 15:42:29 +02: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 +02: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 +02:00
Arthur Schiwon 7a7578cb86 Merge pull request #37937 from nextcloud/artonge/feat/remove_non_existing_jobs
Remove job from oc_jobs when the file is not findable
2023-05-03 12:51:11 +02:00
julia.kirschenheuter ad7264ee5a Add aria-hidden attr to the whole navigation depending on a sidebar state
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-03 11:56:48 +02:00
Joas Schilling 9ace8e561d Merge pull request #38003 from nextcloud/bugfix/noid/improve-translations-api
Improve translations api with detecting languages
2023-05-03 11:07:30 +02: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 +02:00
Marcel Klehr 545de25eec Merge pull request #37802 from nextcloud/fix/37729 2023-05-03 10:57:41 +02:00
Louis Chemineau 8ad2f34045 Remove job from oc_jobs when the file is not findable
When an application is disabled, or when a background jobs is removed by the app developer, then the job won't be found. In those cases, it makes sense to remove those jobs from oc_job.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-05-03 10:39:38 +02: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 +02:00
Arthur Schiwon 997efe44ff Merge pull request #37943 from nextcloud/fix/fix-getcontent-return-type
Fix file_get_content signatures to make it clear it can return false
2023-05-03 10:34:51 +02:00
Arthur Schiwon 7fcf42ad3f Merge pull request #38024 from nextcloud/fix/fix-32bits-ci
Fix 32bits ci
2023-05-03 10:34:04 +02:00
Arthur Schiwon ef87dfc478 Merge pull request #33106 from nextcloud/feature/update-expire-date
Update expire_date column of table comments
2023-05-03 10:26:28 +02: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 +02:00
Nextcloud bot 8873960bcf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-03 02:28:00 +00:00
nextcloud-command f94e013880 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-05-03 02:23:15 +00: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 +00:00
Julius Härtl 3bdd770129 fix: Check for wrapped retriable exceptions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-02 19:42:11 +02:00
Julius Härtl 11c5bc6a2a fix: Wrap filesystem LockedExceptions for holding the readable path
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-02 19:40:27 +02: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 +02: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 +02:00
Joas Schilling 9d6ec68b59 feat(translation): Return the detected language so clients can show more details
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-02 16:38:33 +02:00
Joas Schilling dc67b48c28 fix(translation): Detect the language first and then ask all providers for translations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-02 16:38:33 +02:00
Daniel ac56be10fb Merge pull request #37962 from JL102/scrollbars
Stopped scrollbar being hidden by rounded corners
2023-05-02 16:33:17 +02: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 +02:00
Simon L 4dfadcabb9 Merge pull request #38014 from nextcloud/norm-logic
Normalize logical operators
2023-05-02 16:27:58 +02:00
Côme Chilliet e252182d80 Put back file cleanups, and remove dead code in tests/lib/Template/JSResourceLocatorTest.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-02 16:24:28 +02:00
Côme Chilliet 95d98b57ec Run 32bit CI on workflow modifications and new releases
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-02 16:10:20 +02:00
Côme Chilliet adf743b141 Remove the array_pop failing tests on 32bit CI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-02 16:09:37 +02:00
nextcloud-command ff1e792ec2 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-02 14:03:57 +00:00
Robin Appelman 8f1e711858 Merge pull request #32877 from nextcloud/mount-cache-unique-mountpoint
allow storing multiple mounts for the same rootid in the mount cache
2023-05-02 15:40:47 +02: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 +00:00
Kate 436a08893b Merge pull request #37390 from nextcloud/update/psalm-5
Update to psalm 5
2023-05-02 14:55:43 +02:00
Daniel Kesselberg eecdb62e92 fix: add workaround for oci and limit queries
DBAL uses a helper column "doctrine_rownum" for top-n queries

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-05-02 14:26:28 +02:00
Simon L 40b6ce86f8 Merge pull request #38019 from nextcloud/enh/noid/disable-contactsmenu-tests
disable contacts menu features that regularly fail on drone
2023-05-02 13:42:10 +02:00
dependabot[bot] 3e2680b461 Merge pull request #37985 from nextcloud/dependabot/npm_and_yarn/vue/vue2-jest-29.2.4 2023-05-02 11:25:10 +00:00
jld3103 9fddbeaa54 Use psalm 5
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-02 13:24:30 +02:00
Simon L dcd723ee23 disable contacts menu features that regularly fail on drone
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-02 12:30:35 +02:00
dependabot[bot] d5bc83d8d2 bump @vue/vue2-jest from 29.2.3 to 29.2.4
---
updated-dependencies:
- dependency-name: "@vue/vue2-jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-02 10:09:50 +00:00
John Molakvoæ 31f0bf3efb Merge pull request #38008 from nextcloud/dependabot/npm_and_yarn/typescript-eslint/parser-5.59.2 2023-05-02 12:08:24 +02:00
John Molakvoæ a889c0f922 Merge pull request #37938 from nextcloud/feat/tags-files-inline 2023-05-02 12:07:43 +02:00
Côme Chilliet e8112eda76 Merge pull request #37980 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-05-02 11:44:19 +02:00
Côme Chilliet 10296ba7e5 Fix tests, and fix Group::searchUsers to avoid duplicates
Also went back to searchUsers indexing the array by uid as it was the
 previous behavior and the IGroup phpdoc does not say anything about the
 keys.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-02 11:35:41 +02: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 +02:00
Git'Fellow 951c5b973e Normalize logical operators
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-05-02 10:10:02 +02: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 +02:00
Nextcloud bot 08e1bcd2c9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-02 02:27:47 +00:00
nextcloud-command 1eb62b7786 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-05-02 02:25:04 +00: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 +00:00
dependabot[bot] ca815912ec chore(deps-dev): bump @typescript-eslint/parser from 5.59.0 to 5.59.2
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.0 to 5.59.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.59.2/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 17:25:38 +00:00
Nextcloud bot 193e096813 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-01 02:29:22 +00:00
Nextcloud bot f8e57acab5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-30 02:29:19 +00:00
dependabot[bot] 27a4deee2a Merge pull request #37979 from nextcloud/dependabot/npm_and_yarn/cypress-12.11.0 2023-04-29 09:00:09 +00:00
dependabot[bot] a6b8d77b61 chore(deps-dev): bump cypress from 12.10.0 to 12.11.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 12.10.0 to 12.11.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v12.10.0...v12.11.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-29 07:09:33 +00:00
dependabot[bot] 37dfc589e0 Merge pull request #37989 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-cypress-2.13.3 2023-04-29 07:08:34 +00:00
dependabot[bot] 0240c96274 Merge pull request #37988 from nextcloud/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.59.1 2023-04-29 07:08:29 +00:00
dependabot[bot] 62c07bd884 Merge pull request #37987 from nextcloud/dependabot/npm_and_yarn/sass-1.62.1 2023-04-29 07:06:22 +00:00
dependabot[bot] 90916914c2 Merge pull request #37981 from nextcloud/dependabot/npm_and_yarn/nextcloud/webpack-vue-config-5.5.1 2023-04-29 06:49:41 +00:00
dependabot[bot] 24174cc204 bump eslint-plugin-cypress from 2.13.2 to 2.13.3
---
updated-dependencies:
- dependency-name: eslint-plugin-cypress
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-29 03:56:00 +00:00
dependabot[bot] e1b06da094 bump @typescript-eslint/eslint-plugin from 5.59.0 to 5.59.1
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-29 03:55:59 +00:00
dependabot[bot] 9688cc9c93 chore(deps-dev): bump sass from 1.62.0 to 1.62.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.62.0 to 1.62.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.62.0...1.62.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-29 03:42:58 +00:00
dependabot[bot] 763a9951ce bump @nextcloud/webpack-vue-config from 5.5.0 to 5.5.1
---
updated-dependencies:
- dependency-name: "@nextcloud/webpack-vue-config"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-29 03:03:36 +00:00
Nextcloud bot cd064017ca Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-29 02:28:29 +00:00
JL102 f0716abf96 Update autogenerated files
Signed-off-by: JL102 <jordanlees@mailbox.org>
2023-04-28 14:02:18 -04:00
Simon L d6847a9757 Merge pull request #37975 from nextcloud/enh/noid/update-npm-audit-fix
update npm-audit-fix
2023-04-28 19:36:00 +02:00
Simon L d2a242de07 update npm-audit-fix
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-28 18:58:54 +02:00
John Molakvoæ 05573be4fc Merge pull request #37968 from nextcloud/enh/noid/add-npm-audit-fix 2023-04-28 18:40:10 +02:00
Simon L f4bef823eb add npm-audit-fix
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-28 16:01:46 +02:00
Robin Appelman e7ab30f5d8 log performance events for http requests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-28 15:37:57 +02:00
Robin Appelman db43d90387 add new index in repair step instead of on-migrate
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-28 15:08:08 +02:00
Robin Appelman f5e2b0b22f allow storing multiple mounts for the same rootid in the mount cache
currently `[$userId, $rootId]` is used as the unique key for storing mounts in the mount cache,
however there are cases where the same rootid is mounted in multiple places for a user which currently leads to not all of those mounts being added to the cache.

Previously this didn't matter as the mount cache was only used to list users with access to a specific file, so a user having access to the file multiple times didn' change anything.

With 24 the mount cache is used for more cases and multiple mounts for the same id becomes relevant.
While I think there isn't a real negative effect atm besides missing the optimized path we should ensure that the mounts are properly listed

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-28 15:08:08 +02:00
John Molakvoæ 74f31bac8c Merge pull request #37609 from nextcloud/showTags 2023-04-28 13:37:16 +02:00
John Molakvoæ 20df0019f1 fix(psalm): systemtags
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-28 12:23:52 +02: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 +02:00
JL102 8956328363 Stopped scrollbar being hidden by rounded corners
* I didn't include the compiled apps.css, server.css, etc. because I'm
not sure what the procedure for those autogenerated files are *

Signed-off-by: JL102 <jordanlees@mailbox.org>
2023-04-27 22:29:23 -04:00
Nextcloud bot a9798a359a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-28 02:28:37 +00:00
Pytal 0d60f44473 Merge pull request #37879 from nextcloud/enh/a11y-grid-modified 2023-04-27 16:47:50 -07:00
Pytal c4aabd4131 Merge pull request #37955 from nextcloud/bugfix/noid/action-label-default 2023-04-27 09:49:53 -07:00
Arthur Schiwon 05da4cb994 Merge pull request #37781 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-04-27 17:45:49 +02: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 +02:00
Julius Härtl a6fe9130b9 fix: Empty fallback for template creator action label
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-27 15:52:08 +02: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 +02:00
Côme Chilliet 876c162df8 Use the searchDisplayName recommended method in user:list
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 15:25:13 +02: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 +02:00
Côme Chilliet 346344c153 Update version number in since and deprecated annotations
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 12:04:32 +02: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 +02: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 +02:00
Côme Chilliet 3c2b126eba Make code clearer and bump @ deprecated annotations
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 12:00:07 +02:00
Carl Schwan a4c599c1c9 Split new method in a new group backend interface
Better for backward compatibility, also move new interfaces to nc 26

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-04-27 12:00:01 +02: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 +02: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 +02: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 +02:00
Côme Chilliet 546d94c3ec Fix file_get_content signatures to make it clear it can return false
In File::getContent, which must return a string, throw an Exception
 instead of returning false.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-27 09:56:05 +02:00
Joas Schilling 5e96228eb1 Merge pull request #37846 from nextcloud/bump/guzzle-psr7/master
[master] sec(deps): Update guzzlehttp/psr7
2023-04-27 09:39:04 +02: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 +02:00
Julius Härtl 2646fd5884 Merge pull request #37929 from nextcloud/enh/a11y-create-new-label
Create new file/folder labels
2023-04-27 09:06:05 +02: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 +00:00
Nextcloud bot 63912cc5c5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-27 02:28:35 +00:00
nextcloud-command de0348abce Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-04-27 02:25:39 +00:00
Vitor Mattos 5ed6722dd2 Cover expire_date with unit tests
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-04-26 13:21:08 -03:00
Simon L 4df145a6bc Merge pull request #37806 from nextcloud/fix/37410
Fix profile view edit button overlapping status text
2023-04-26 17:05:04 +02:00
Vitor Mattos 7ab50ab010 Update expire_date column of table comments
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-04-26 11:29:56 -03:00
Christoph Wurst defbd23cbf Merge pull request #37206 from nextcloud/fix-skip-recommended-apps-wrong-url
fix: wrong redirect when skipping recommended apps
2023-04-26 15:43:35 +02:00
Joas Schilling 2a9b69272d sec(deps): Update guzzlehttp/psr7
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26 15:42:56 +02:00
Joas Schilling 4c34be3d50 Merge pull request #37935 from nextcloud/bugfix/noid/fix-title-of-federation-options
Fix title of federation scope options
2023-04-26 15:39:03 +02:00
Marcel Klehr 32219ec880 Merge pull request #37932 from nextcloud/fix/404-page
chore(404): Extend 404 error message to mention possibly missing permissions
2023-04-26 14:19:48 +02:00
Daniel 81e4390e32 Merge pull request #37925 from nextcloud/feat-update-maintenance-mode-hint
fix: change maintenance mode info wording
2023-04-26 13:55:22 +02:00
nextcloud-command 6d95d7b85c Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-26 11:48:52 +00:00
Ferdinand Thiessen f79131aea3 fix(core): Fix profile view edit button overlapping status text
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-04-26 13:01:33 +02:00
Joas Schilling 56c86c0be6 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26 12:24:11 +02: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 +02:00
Christoph Wurst ea67129b64 Merge pull request #37480 from nextcloud/fix/ocp/ilogfactor-getcustomlogger-deprecation-version
fix(ocp): Add deprecation version to ILogFactory::getCustomLogger
2023-04-26 11:58:40 +02:00
Daniel Kesselberg 155ea6a54c fix: change maintenance mode info wording
In maintenance mode the database is accessible and it's possible to execute other commands then maintenance:mode

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-04-26 11:58:37 +02:00
Christoph Wurst 48edc27d25 chore: Improve possibly null getters
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-26 11:54:28 +02: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 +02:00
Marcel Klehr 73d21c6c47 chore(404): Extend 404 error message to mention possibly missing permissions
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-26 11:21:56 +02: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 +02: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 +02:00
Joas Schilling 41fc6787bc fix(tests): Fix new integration tests
The integration tests are not isolated, so we can not reuse previously used data

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26 10:05:04 +02: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 +02:00
Nextcloud bot 278f6413c9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-26 02:28:10 +00:00
Christopher Ng 7dd2c72dea Show modified in filepicker grid
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-25 17:21:12 -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 +02: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 +02:00
Joas Schilling 75f17b6094 Merge pull request #37905 from nextcloud/techdebt/noid/add-attributes-for-remaining-security-annotations
feat(security): Add PHP \Attribute for remaining security annotations
2023-04-25 17:13:53 +02:00
Joas Schilling ecb8b55c5c feat(security): Add PHP \Attribute for remaining security annotations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-25 14:50:32 +02:00
Robin Appelman d60172567f Merge pull request #37818 from nextcloud/dav-ext-storage-log
debug log requests made by dav external storage/shares
2023-04-25 14:12:57 +02:00
Côme Chilliet 7250f54ca3 Merge pull request #37835 from nextcloud/feat/background-allow-parallel-runs
feat(BackgroundJobs): Allow preventing parallel runs for a job class
2023-04-25 12:10:43 +02: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 +00:00
Joas Schilling 77bb867ad5 Merge pull request #37868 from nextcloud/bugfix/noid/fix-phpunit-version-check
fix(autotest): Fix PHPUNIT version check in autotest files
2023-04-25 11:06:10 +02:00
Arthur Schiwon 3aa17672a1 Merge pull request #37909 from nextcloud/updateCrl
Update crl after revoke shifts.csr
2023-04-25 10:25:31 +02: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 +02:00
Nextcloud bot e9aefb5251 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-25 02:22:46 +00:00
Pytal 721de348ec Merge pull request #37780 from nextcloud/enh/a11y-focus-dialog 2023-04-24 17:05:42 -07:00
Christopher Ng 79310bd545 Trap focus in dialogs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-24 15:45:40 -07:00
Christopher Ng 87ae9bbc12 Add focus-trap
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-24 15:40:05 -07:00
Vitor Mattos 95b7bf38f0 Update crl after revoke shifts.csr
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-04-24 22:21:36 +00:00
Marcel Klehr 06d6cf4ebc JobListTest: Fix JobList constructor call
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-24 19:07:13 +02: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 +02:00
Marcel Klehr 524d053eb2 JobList: add debug log when hasReservedJob query fails
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-24 17:16:32 +02:00
Robin Appelman 6d9f785afb Merge pull request #37622 from nextcloud/group-list-numeric-userid
fix output for group:list command with numeric user ids
2023-04-24 17:14:11 +02:00
Robin Appelman 05dc96f60d debug log requests made by dav external storage/shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-24 17:13:20 +02: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 +02: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 +02:00
Robin Appelman 4953296b9e Merge pull request #36857 from nextcloud/scan-repair-unencrypted-size
fix unencrypted_size for folders when scanning the filesystem with encryption enabled
2023-04-24 15:24:50 +02: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 +02:00
Joas Schilling 0f0be52be8 Merge pull request #37864 from nextcloud/feat/noid/ratelimit-with-attributes
feat(ratelimit): Add Attributes support to rate limit middleware
2023-04-24 13:55:52 +02:00
Marcel Klehr 6148c5e0a1 Update tests/lib/BackgroundJob/DummyJobList.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-24 12:35:52 +02:00
Joas Schilling 89c3c31402 feat(ratelimit): Add Attributes support to rate limit middleware
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 12:24:48 +02: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 +02: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 +02: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 +02:00
Christoph Wurst dcde970bd5 Merge pull request #37816 from nextcloud/fix/events/info-to-debug-log-legacy-events
fix(events): Log deprecated events as debug, not info
2023-04-24 11:14:41 +02: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 +02: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 +02:00
Joas Schilling 1917115301 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 10:04:01 +02: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 +02: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 +02: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 +02:00
Joas Schilling 6368032257 fix(assests): Ignore some more directories from optimization
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 08:59:38 +02:00
Joas Schilling 7391881abe chore(assets): Require scour 0.38.2 (Ubuntu LTS 22.04+) for SVG optimization
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 08:59:38 +02:00
Nextcloud bot 8eda51de15 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-24 02:29:12 +00:00
Daniel Kesselberg e025cf067f fix: wrong redirect when skipping recommended apps
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-04-23 22:15:51 +02:00
Daniel Kesselberg 9aaff3ab22 fix: make grid view button sticky
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-04-23 21:02:43 +02:00
Marcel Klehr d1e4a7a750 Update autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 13:36:47 +02:00
Marcel Klehr 5a7f023bfc JobList#hasReservedJobs: Close cursor
so Joas doesn't die

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr a0c722ad69 Run cs:Fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr 5608b50778 Fix BackgroundJob tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr 94038e0673 IParallelAwareJob: Add missing boilerplate
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr 281c8047b6 JobListTest: clearJobsList before testHasReservedJobs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr 0f3211c4e4 Add IParallelAwareJob interface
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr 6f9a3218d0 Update lib/private/BackgroundJob/JobList.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr 56cb5d1d13 fix(tests): Remove duplicated method
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr 1296f3612e test(BackgroundJobs): Add tests for allowParallelRuns and hasReservedJobs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr ef27bd6e55 fix(SpeechToText): Prevent parallel runs of TranscriptionJob
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Marcel Klehr c01c516323 feat(BackgroundJobs): Allow preventing parallel runs for a job class
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-23 12:36:12 +02:00
Nextcloud bot f4f6431d4d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-23 02:28:42 +00:00
John Molakvoæ 504e1871a6 Merge pull request #37032 from nextcloud/dependabot/npm_and_yarn/query-string-8.1.0
chore(deps): Bump query-string from 7.1.1 to 8.1.0
2023-04-22 17:53:01 +02: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 +02:00
dependabot[bot] 6ce3c54d5c Merge pull request #37884 from nextcloud/dependabot/npm_and_yarn/underscore-1.13.6 2023-04-22 11:27:55 +00:00
John Molakvoæ 4334539ec9 chore(npm): compile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-22 12:19:25 +02:00
dependabot[bot] dafda594ec chore(deps): bump browserslist-useragent-regexp from 3.0.2 to 4.0.0
Bumps [browserslist-useragent-regexp](https://github.com/browserslist/browserslist-useragent-regexp) from 3.0.2 to 4.0.0.
- [Release notes](https://github.com/browserslist/browserslist-useragent-regexp/releases)
- [Changelog](https://github.com/browserslist/browserslist-useragent-regexp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist-useragent-regexp/commits/v4.0.0)

---
updated-dependencies:
- dependency-name: browserslist-useragent-regexp
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 12:16:01 +02:00
dependabot[bot] a0630bd898 bump is-svg from 4.4.0 to 5.0.0
---
updated-dependencies:
- dependency-name: is-svg
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 11:50:15 +02:00
dependabot[bot] dc9c3d6b2b bump underscore from 1.13.4 to 1.13.6
---
updated-dependencies:
- dependency-name: underscore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 11:50:15 +02:00
John Molakvoæ 1b119e10d0 Merge pull request #37866 from nextcloud/fix/files-vue 2023-04-22 11:49:57 +02:00
John Molakvoæ 9e1703e76c Merge pull request #37885 from nextcloud/dependabot/composer/build/integration/behat/behat-3.13.0
chore(deps-dev): bump behat/behat from 3.12.0 to 3.13.0 in /build/integration
2023-04-22 10:59:34 +02:00
dependabot[bot] 1d650ea7d3 Merge pull request #37883 from nextcloud/dependabot/npm_and_yarn/puppeteer-19.10.1 2023-04-22 08:59:19 +00:00
dependabot[bot] 515aa57f52 chore(deps-dev): bump behat/behat in /build/integration
Bumps [behat/behat](https://github.com/Behat/Behat) from 3.12.0 to 3.13.0.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.12.0...v3.13.0)

---
updated-dependencies:
- dependency-name: behat/behat
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 08:58:12 +00:00
John Molakvoæ 5a06af8e30 Merge pull request #37891 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-7.5.1
chore(deps-dev): bump guzzlehttp/guzzle from 7.5.0 to 7.5.1 in /build/integration
2023-04-22 10:57:34 +02:00
dependabot[bot] a7d93f85e2 Merge pull request #37886 from nextcloud/dependabot/npm_and_yarn/wait-on-7.0.1 2023-04-22 08:57:09 +00:00
John Molakvoæ 35ef63995d Merge pull request #37890 from nextcloud/dependabot/npm_and_yarn/karma-6.4.2
bump karma from 6.4.1 to 6.4.2
2023-04-22 10:47:41 +02:00
dependabot[bot] 1259faba62 Merge pull request #37889 from nextcloud/dependabot/npm_and_yarn/pinia/testing-0.0.16 2023-04-22 07:00:51 +00:00
dependabot[bot] 8dd20baaeb bump karma from 6.4.1 to 6.4.2
---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 06:15:46 +00:00
dependabot[bot] 563c0e5bff Merge pull request #37881 from nextcloud/dependabot/npm_and_yarn/karma-spec-reporter-0.0.36 2023-04-22 06:14:18 +00:00
dependabot[bot] 0bb4577237 chore(deps-dev): bump guzzlehttp/guzzle in /build/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.5.0 to 7.5.1.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/7.5/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.5.0...7.5.1)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 03:39:58 +00:00
dependabot[bot] e7db199355 bump @pinia/testing from 0.0.15 to 0.0.16
---
updated-dependencies:
- dependency-name: "@pinia/testing"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 03:29:12 +00:00
dependabot[bot] 645cc10918 bump wait-on from 6.0.1 to 7.0.1
---
updated-dependencies:
- dependency-name: wait-on
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 03:14:03 +00:00
dependabot[bot] 4b4076e721 bump puppeteer from 15.5.0 to 19.10.1
---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 02:57:10 +00:00
Nextcloud bot edc13fe6fe Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-22 02:28:13 +00:00
dependabot[bot] bc071a541e chore(deps-dev): bump karma-spec-reporter from 0.0.35 to 0.0.36
Bumps [karma-spec-reporter](https://github.com/tmcgee123/karma-spec-reporter) from 0.0.35 to 0.0.36.
- [Release notes](https://github.com/tmcgee123/karma-spec-reporter/releases)
- [Commits](https://github.com/tmcgee123/karma-spec-reporter/compare/v0.0.35...v0.0.36)

---
updated-dependencies:
- dependency-name: karma-spec-reporter
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 01:59:15 +00:00
Arthur Schiwon d9af7c2f11 Merge pull request #37867 from nextcloud/techdebt/noid/require-min-composer-version-for-autoloader
chore(autoloader): Require a minimum composer version to make sure the autoloader
2023-04-21 19:26:57 +02:00
Robin Appelman 0ac7230b7f Merge pull request #37820 from nextcloud/parent-storage-mtime-ignore-error
ignore errors while trying to update parent storage_mtime
2023-04-21 19:11:27 +02:00
Arthur Schiwon 7db4938701 Merge pull request #37853 from nextcloud/fix/37610/composer-caches-to-apcu
add the server roots and version info hash to apcu prefix
2023-04-21 18:17:32 +02:00
Arthur Schiwon bb4b34ff69 Read mtime of version.php only once
- in most cases it would read again in \OC_Util::loadVersion anyway
- remove some unused use statements

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-04-21 14:10:47 +00:00
Arthur Schiwon 7519949f37 add the server roots and version info hash to apcu prefix
fixes collissions when more than one instance is running on the same
system

For the memcaches we use a more complex prefix, where version and
instance ID are incorporated. We do not have this data at hand at this
point of time. But we can get the mtime of the version.php file
relatively cheap.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-04-21 14:10:46 +00:00
John Molakvoæ 751bc139a1 chore(npm): compile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 16:00:30 +02:00
Joas Schilling 3294bbe3bb fix(autotest): Fix PHPUNIT version check in autotest files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-21 15:59:10 +02: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 +02: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 +02:00
John Molakvoæ a5a5c09f58 chore(npm): compile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:53:26 +02:00
Joas Schilling f194314aaf chore(CI): Require a minimum composer version to make sure the autoloader is okay
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-21 15:53:06 +02:00
John Molakvoæ 4c0d23885d fix(files): favorite marker css
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +02:00
John Molakvoæ 425932c770 fix(files): fileid attribute
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +02:00
John Molakvoæ ea9099a72f feat(files): allow navigation entry removal
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +02:00
John Molakvoæ cae00d2e96 fix(files): paths store reactivity
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +02: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 +02:00
John Molakvoæ 6e29560475 feat(files): add sidebar action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:49:54 +02:00
John Molakvoæ 2b726fa2dd fix(files): always force menu
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 15:33:08 +02:00
John Molakvoæ dd3d689e04 Merge pull request #37858 from nextcloud/fix/lock
Fix lockfile and update cypress
2023-04-21 15:25:06 +02: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 +02:00
John Molakvoæ ab431999c3 chore(npm): fix warning and build
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 14:01:41 +02:00
Robin Appelman 4cc5885615 Merge pull request #37062 from nextcloud/free-space
Check free space only if source exists and is dir
2023-04-21 13:55:42 +02:00
Robin Appelman ccab101df8 Merge pull request #37596 from nextcloud/enh/type-iconfig-getter-calls
Use typed version of IConfig::getSystemValue as much as possible
2023-04-21 13:48:12 +02:00
John Molakvoæ 497d195310 chore(deps): update cypress
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 11:40:25 +02:00
John Molakvoæ 971342911a fix(npm): lockfile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-21 11:03:38 +02: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 +02:00
Nextcloud bot c08026a92a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-21 02:28:39 +00:00
Arthur Schiwon 494ff0c142 Merge pull request #37834 from nextcloud/fix/profiler-fix-typeerror
Fix TypeError in Profiler
2023-04-20 17:54:28 +02:00
Robin Appelman 4b52dafbf9 ignore errors while trying to update parent storage_mtime
in the worst case this should only cause an extra rescan later

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-20 17:16:03 +02:00
Côme Chilliet b294edad80 Merge branch 'master' into enh/type-iconfig-getter-calls
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-04-20 16:52:38 +02: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 +02: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 +02:00
Louis c909e926b2 Merge pull request #37597 from Jerome-Herbinet/patch-20
Fix : Hides hidden files and folder in modal (beginning with a dot)
2023-04-20 13:06:44 +02:00
John Molakvoæ c0e3e7f722 fix(npm): lockfile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-20 12:22:42 +02: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 +02:00
John Molakvoæ 7a704b8198 Merge pull request #37824 from nextcloud/feat/groupfolders
feat(files): add default action support and expose router
2023-04-20 10:53:08 +02:00
Côme Chilliet e91e7bc60f Fix TypeError in Profiler
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-20 10:43:00 +02:00
Jérôme Herbinet dedbabb558 npm run build
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-20 10:22:35 +02:00
John Molakvoæ 0a2a1b4b52 feat(files): expose Files router
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-20 09:14:44 +02:00
John Molakvoæ bb4d7969b9 feat(files): add default action support
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-20 09:06:57 +02:00
Jérôme Herbinet 9bfa37f141 npm run sass
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-20 08:40:34 +02:00
Jérôme Herbinet ee4b6a7e80 Cancel initial changes
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-20 08:39:06 +02:00
John Molakvoæ c85c04e4a8 Merge pull request #37807 from nextcloud/fix/37373 2023-04-20 08:37:49 +02:00
Nextcloud bot 8799098d1f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-20 02:29:13 +00:00
Pytal 09cb9c78e7 Merge pull request #37065 from nextcloud/enh/a11y-system-tags
Add accessible system tags select
2023-04-19 18:19:58 -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
Christopher Ng c580b1a52c Fix Vue TypeScript build errors
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-19 16:52:06 -07:00
Pytal 174019568a Merge pull request #37804 from nextcloud/deps/nextcloud/vue-7.10.0 2023-04-19 16:31:52 -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 +02:00
Pytal c18a41a658 Merge pull request #37809 from nextcloud/fix/last-used 2023-04-19 11:52:09 -07:00
Christopher Ng 40167745ff Bump @nextcloud/vue from 7.9.0 to 7.10.0
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-19 10:35:08 -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 +02:00
Jérôme Herbinet 16361bed5e Merge branch 'master' into patch-20
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-19 16:32:01 +02:00
Joas Schilling fd473f89e8 Merge pull request #37674 from nextcloud/feature/speech-to-text
feat(SpeechToText): Add SpeechToText OCP provider API
2023-04-19 16:29:44 +02:00
Jérôme Herbinet 7016899cdb npm run build
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-19 16:28:53 +02:00
Jérôme Herbinet 461fa9a1da Following Artonge suggestion
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-19 16:15:17 +02: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 +02: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 +02:00
John Molakvoæ 5b8c2c9075 Merge pull request #37790 from nextcloud/fix/files-store-mixin
fix(files): fix sorting mixin usage
2023-04-19 14:26:18 +02:00
Joas Schilling ab7b63db84 fix(autoloader): Rebuild
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-19 13:45:44 +02:00
Jérôme Herbinet e9390791a9 npm run sass
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-19 13:34:35 +02: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 +02:00
Joas Schilling db9901a02e Fix(docs): Fix parameter type in doc block
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-19 12:42:23 +02:00
Marcel Klehr fbcd275acb Context params: Make userId nullable
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-19 12:39:39 +02:00
Marcel Klehr a2f5421fc3 SpeechToTextManager#scheduleFileTranscription: Take context params and expose them on the Transcription*Events
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-19 12:35:13 +02: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 +02: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 +02:00
Christoph Wurst ce71aa9acb fix(events): Log deprecated events as debug, not info
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-19 11:56:10 +02:00
Louis Chemineau d5e7682b6b Test StorePasswordListener
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-19 11:53:34 +02:00
Marcel Klehr a8b27c9126 TranscriptionJob: Add owner argument to simplify filesystem setup
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-19 11:26:04 +02:00
Nextcloud bot 9db33055b2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-19 02:28:19 +00: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 d6f51cf943 Merge pull request #37582 from Jerome-Herbinet/patch-16
To be consistent with the same field's title in the list of users
2023-04-18 23:48:18 +02: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 +02: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 +02:00
Joas Schilling b62c49f1e0 Merge pull request #37795 from nextcloud/techdebt/noid/improve-ci
fix(CI): Disable unstable test until someone can have a look at it
2023-04-18 21:07:38 +02:00
Joas Schilling bfaac51725 Merge pull request #36343 from nextcloud/feat/app-framework/middleware-argument-types
feat(app-framework): Add native argument types for middleware
2023-04-18 20:55:55 +02:00
Christoph Wurst 2c0cfd3772 feat(app-framework): Add native argument types for middleware
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-18 17:15:05 +02:00
Marcel Klehr eb996cbbb0 TranscriptionJob: Ensure filesystem is setup before trying to retrieve file
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-18 16:24:06 +02:00
Marcel Klehr ce651e53b9 Run cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-18 16:24:06 +02:00
Joas Schilling b6d9e1d1cc Merge pull request #37794 from nextcloud/update/psr-container
fix: Use current `3rdparty` master branch
2023-04-18 16:03:41 +02:00
Simon L 885d7e2051 Merge pull request #37175 from nextcloud/rakekniven-patch-1
fix(l10n): Fixed grammar
2023-04-18 15:53:03 +02:00
Jérôme Herbinet c343569b3f To be consistent with the list of users
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-18 15:47:26 +02: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 +02:00
Marcel Klehr 9649f91892 Update lib/private/SpeechToText/SpeechToTextManager.php
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-18 15:24:14 +02:00
Maksim Sukharev 63dc8cbe5e chore(assets): Recompile JS
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2023-04-18 15:06:46 +02: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 +02: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 +02:00
Joas Schilling 76c58a302a chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:58:23 +02: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 +02: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 +02:00
Joas Schilling 17a8de9e56 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:58:08 +02: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 +02:00
Joas Schilling 0e8e2c167b fix(CI): Move cron job times so it doesn't overlap with translations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 14:00:40 +02:00
Joas Schilling 6ac8052896 fix(CI): Disable unstable test until someone can have a look at it
Passes locally 100% and on CI 50% of the time

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 13:59:35 +02: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 +02:00
Ferdinand Thiessen a610b2994f fix: Use current 3rdparty master branch
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-04-18 13:04:20 +02:00
nextcloud-command 07f9546646 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-18 10:46:09 +00:00
Simon L f74840f5b8 Merge pull request #37046 from max65482/fix_event_moving
Fix event moving issues
2023-04-18 12:36:41 +02:00
Simon L 8508865eaf Merge pull request #37772 from nextcloud/enh/30986/follow-up
Prevent the OpenDocument preview generator from trying to open empty files
2023-04-18 12:18:14 +02:00
rakekniven 4fafd861b2 fix(l10n):Aligned spelling of ScienceMesh 2023-04-18 12:08:38 +02: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 +02: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 +02: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 +02:00
Simon L 1861aa56ea Merge pull request #37770 from nextcloud/enh/32032/follow-up
l10n: Change to a capital letter
2023-04-18 11:53:14 +02:00
Simon L 1d40be848c Merge pull request #37522 from nextcloud/fix/css-placeholder-color
Ungroup `placeholder` css rules to prevent browsers from removing all rules
2023-04-18 11:49:00 +02: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 +02:00
Simon L 5f879a705b Merge pull request #37316 from nextcloud/fix/security/strict-cookie-check-status-codes
fix(security)!: Use consistent HTTP status for strict cookie checks
2023-04-18 11:39:18 +02: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 +02:00
Simon L e2ab9bf4af address review and fix tests
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-18 11:33:53 +02: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 +02:00
Joas Schilling bef4cf0ad1 Fix missing import
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-18 10:01:00 +02:00
Maximilian Martin c8985944ec fix event move issue
Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
2023-04-18 09:45:30 +02:00
John Molakvoæ f7cca5c1a3 Merge pull request #37731 from nextcloud/feat/viewconfig-api
feat(files): add view config service to store user-config per view
2023-04-18 09:43:09 +02: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 +02:00
Nextcloud bot ff58cd5227 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-18 02:37:16 +00: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 +02:00
Simon L e10e509452 Merge pull request #37330 from Al2Klimov/http-enough
Omit "Accessing site insecurely via HTTP." warning if HTTP is secure enough
2023-04-18 03:18:54 +02:00
Simon L 96e7eaf2c7 Merge pull request #37762 from nextcloud/Jerome-Herbinet-patch-1
Fix wording meaning (placeholder)
2023-04-18 02:19:12 +02: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 +02: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 +01:00
Ferdinand Thiessen f8d558e24f fix(core): Ungroup placeholder css rules to prevent browsers from removing all rules
When rules are grouped using the comma operator and one selector is invalid / unknown then the whole group is invalidated[1].
In this case `::-ms-input-placeholder` is unknown to Firefox and Chrome, so the `::placeholder` rule is never applied.
[1]: https://www.w3.org/TR/selectors-3/#grouping

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-17 22:25:03 +00:00
Simon L 45a0fe490c Merge pull request #37534 from Rsplwe/master
Adjust the value of the "max-parts" parameter of the object storage 'ListPart' interface to 1000
2023-04-18 00:16:38 +02:00
Simon L 5952a027c3 Merge pull request #37324 from nextcloud/fix/mapper-exception
Allow to catch `IMapperException` by implementing `Throwable`
2023-04-18 00:10:44 +02: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 +02:00
Simon L 0a763820bc Merge pull request #37676 from nextcloud/fix/auth/atomic-password-db-statements
fix(auth): Run token bulk update statements in atomic transaction
2023-04-17 23:48:24 +02: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 +02: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 +02:00
Simon L 85c9e75f33 Merge pull request #32314 from nextcloud/object-mkdir-logging
additional logging when mkdir fails for object storage
2023-04-17 23:42:08 +02:00
Alexander A. Klimov ff02b072ae Drop broken unit test
Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
2023-04-17 23:38:29 +02:00
Alexander A. Klimov e3f1fae715 Omit "Accessing site insecurely via HTTP." warning if HTTP is secure enough
This is the case for localhost and Tor hidden services.

Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
2023-04-17 23:38:29 +02:00
Simon L 5cda8f0f45 Merge pull request #35129 from Glandos/previewperf2
[Performance] Reuse preview directory listing
2023-04-17 20:22:39 +02:00
Simon L d87cc208bb Merge pull request #31286 from rotdrop/bugfix/dont-start-session-when-session-is-already-open
Don't call session_start() when PHP session is still or already open.
2023-04-17 20:14:53 +02: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 +00: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 +02:00
Ferdinand Thiessen 698332e81d chore: Update PSR container to 2.0.2, matching 3rdparty nextcloud/3rdparty#1311
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-04-17 18:35:08 +02: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 +00: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 +00:00
Christoph Wurst a06898a2d0 fix(security)!: Use consistent HTTP status for strict cookie checks
Before: 503/412
Now: 412 + json body explaining the error

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-17 16:06:37 +00: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 +00: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 +00:00
Ferdinand Thiessen bdbff2181e fix: Allow to catch IMapperException by implementing Throwable
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-04-17 16:05:10 +00:00
Simon L c4ab4018cf l10n: Change to a capital letter
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-17 16:03:25 +00: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 +02:00
Simon L 800f40b71c fix php-lint
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-17 17:18:09 +02:00
Marcel Klehr 3f57725a7c SpeechToTextManager#transcribeFile: Try next provider if one fails
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 16:59:46 +02:00
Simon L 54b5703233 Merge pull request #35744 from nextcloud/mimeloader-transaction
Put Mimeloader insertion and read in the same transaction
2023-04-17 16:58:36 +02:00
Marcel Klehr 47cff5d651 Update lib/public/SpeechToText/ISpeechToTextManager.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 16:43:43 +02:00
Marcel Klehr b082657252 Update lib/public/SpeechToText/ISpeechToTextManager.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 16:43:28 +02:00
Marcel Klehr aac6a186c1 Update lib/public/SpeechToText/ISpeechToTextManager.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 16:43:19 +02:00
Glandos e542e60dbc try to make linters happy
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:14 +02:00
Glandos 3440387f0f gather code from small and max preview
use directory listing in both functions to gain 25% speed on run where
every preview already exist.

Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +02:00
Glandos 384a1d34a8 adapt test to new workflow
getDirectoryListing should return all files
getFile is not called anymore

Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +02:00
Glandos 24c121347a Revert 0e49b40
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +02:00
Glandos 06a7e90383 improve parameter doc
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +02:00
Glandos 4954bead1d Ensure max preview image is not null
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +02:00
Glandos b6c65fee2a php-cs-fix
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +02:00
Glandos 9b4d5146d5 List preview directory only once
getCachedPreview used to call `getFile`, and this calls `getDirectoryListing` (or underlying function that list directory) to find the file. This was done for every preview spec.
Now, this is done only once at the beginning of the loop, and the array is just iterated when needed to find the correct entry.

Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-04-17 16:29:13 +02:00
Robin Appelman c5dfa1cb79 validate that folder size sums to children
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-17 16:23:52 +02: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 +02:00
Claus-Justus Heine 45ec432492 Don't call session_start() when PHP session is still or already open.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-04-17 16:23:02 +02:00
Claus-Justus Heine 456679c6fb Update lib/private/Preview/Bundled.php
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
2023-04-17 16:19:02 +02:00
Claus-Justus Heine b3d8363327 Prevent the OpenDocument preview generator from trying to open empty files.
Rationale: does not make sense, and triggers a deprecation error in
\ZipArchive.

Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-04-17 16:19:02 +02:00
Marcel Klehr 6e9f260348 Update lib/private/SpeechToText/SpeechToTextManager.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 15:49:50 +02: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 +02: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 +02: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 +02:00
Thomas Citharel 036cd47bf4 Put Mimeloader insertion and read in the same transaction
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-04-17 13:32:02 +00:00
Simon L bdb09abd1a Merge pull request #36845 from Murena-SAS/reminder-iterator-exception
Fix max instances exception in get vevent call
2023-04-17 15:26:11 +02:00
Marcel Klehr 3779cc3d88 SpeechToTextManager: Deduplicate transcription jobs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 14:57:19 +02:00
Marcel Klehr ad1a0d88ef Transcription*Event: Add doc block
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 14:57:19 +02:00
Marcel Klehr 71523b9816 AbstractTranscriptionEvent: Add File param
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-17 14:57:19 +02:00
Simon L 80645a591a add an admin check for db file locking
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-04-17 12:51:33 +02:00
Jérôme Herbinet 9a3d88f1e9 Fix wording meaning (placeholder)
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>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-17 09:18:10 +00:00
Louis Chemineau cca46f18eb Really disable versions features when S3 versioning is enabled
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-17 11:16:20 +02:00
Joas Schilling b21c5c86e5 Merge pull request #37735 from nextcloud/techdebt/ref-37476/ignore-excluded-dirs-on-image-optimization
chore(assets): Ignore git-ignored directories on image optimization
2023-04-17 10:25:24 +02:00
Nextcloud bot a5348bc400 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-17 02:27:34 +00:00
Nextcloud bot 857961c9e7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-16 02:27:54 +00:00
John Molakvoæ 1078fa74c2 Merge pull request #37752 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-04-15 17:03:42 +02:00
dependabot[bot] 83c2105440 Merge pull request #37750 from nextcloud/dependabot/npm_and_yarn/webpack-5.79.0 2023-04-15 13:58:24 +00:00
dependabot[bot] 5aab2bb41d Bump @nextcloud/browser-storage from 0.1.1 to 0.2.0
Bumps [@nextcloud/browser-storage](https://github.com/nextcloud/nextcloud-browser-storage) from 0.1.1 to 0.2.0.
- [Release notes](https://github.com/nextcloud/nextcloud-browser-storage/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-browser-storage/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-browser-storage/compare/v0.1.1...v0.2.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/browser-storage"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-15 15:15:03 +02:00
dependabot[bot] 7b5fc87daf bump webpack from 5.78.0 to 5.79.0
---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-15 15:10:56 +02:00
John Molakvoæ f89ce6ac7c Merge pull request #37400 from nextcloud/dependabot/npm_and_yarn/nextcloud/calendar-availability-vue-0.6.0-alpha1 2023-04-15 14:53:51 +02:00
dependabot[bot] a8b26f0093 chore(deps): Bump @nextcloud/calendar-availability-vue
Bumps [@nextcloud/calendar-availability-vue](https://github.com/nextcloud/calendar-availability-vue) from 0.5.0-rc2 to 0.6.0-alpha1.
- [Release notes](https://github.com/nextcloud/calendar-availability-vue/releases)
- [Changelog](https://github.com/nextcloud/calendar-availability-vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/calendar-availability-vue/compare/v0.5.0-rc2...v0.6.0-alpha1)

---
updated-dependencies:
- dependency-name: "@nextcloud/calendar-availability-vue"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-15 08:35:22 +00:00
John Molakvoæ d405be2536 Merge pull request #37751 from nextcloud/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.58.0
bump @typescript-eslint/eslint-plugin from 5.45.0 to 5.58.0
2023-04-15 09:03:11 +02:00
John Molakvoæ 05edc2fc19 Merge pull request #37749 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.6.7
chore(deps-dev): Bump phpunit/phpunit from 9.6.6 to 9.6.7 in /build/integration
2023-04-15 09:02:43 +02:00
John Molakvoæ 606d90eecf Merge pull request #37747 from nextcloud/dependabot/npm_and_yarn/vue/vue2-jest-29.2.3
chore(deps-dev): Bump @vue/vue2-jest from 29.1.1 to 29.2.3
2023-04-15 09:02:20 +02:00
John Molakvoæ 68eac14ddb Merge pull request #37746 from nextcloud/dependabot/npm_and_yarn/sass-loader-13.2.2
chore(deps-dev): Bump sass-loader from 13.2.0 to 13.2.2
2023-04-15 09:02:01 +02:00
nextcloud-command 17834294e6 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-04-15 06:29:35 +00:00
dependabot[bot] 8e84c6af22 bump @typescript-eslint/eslint-plugin from 5.45.0 to 5.58.0
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-15 03:15:35 +00:00
dependabot[bot] 4229069494 chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.6 to 9.6.7.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.7/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.6...9.6.7)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-15 03:07:13 +00:00
Nextcloud bot 6746a7aebc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-15 02:27:32 +00:00
dependabot[bot] eb218e2a35 chore(deps-dev): Bump @vue/vue2-jest from 29.1.1 to 29.2.3
Bumps [@vue/vue2-jest](https://github.com/vuejs/vue-jest) from 29.1.1 to 29.2.3.
- [Release notes](https://github.com/vuejs/vue-jest/releases)
- [Commits](https://github.com/vuejs/vue-jest/compare/v29.1.1...v29.2.3)

---
updated-dependencies:
- dependency-name: "@vue/vue2-jest"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-15 01:58:46 +00:00
dependabot[bot] e564c19561 chore(deps-dev): Bump sass-loader from 13.2.0 to 13.2.2
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 13.2.0 to 13.2.2.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v13.2.0...v13.2.2)

---
updated-dependencies:
- dependency-name: sass-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-15 01:58:01 +00:00
Julius Härtl 2e1a560867 Merge pull request #36690 from nextcloud/bugfix/noid/rollback-hook 2023-04-14 17:09:17 +02:00
Julius Härtl 140c2541ed Merge pull request #37611 from ZE3kr/patch-1
Unquote S3 ETag stored in oc_filecache
2023-04-14 16:20:44 +02:00
Simon L d4341a278e Merge pull request #37603 from joshtrichards/jr-reset-pw-honest-msg
More honest reset password request response
2023-04-14 16:12:54 +02:00
Joas Schilling 0b88b513be Merge pull request #36351 from nextcloud/bugfix/noid/move-encryption-password-email-to-template
Move encrypt-all password email to EmailTemplate
2023-04-14 14:48:47 +02:00
Joas Schilling 64843c24ef chore(assets): Ignore git-ignored directories on image optimization
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-14 14:40:36 +02:00
Julius Härtl 8a79636bcb Merge pull request #37726 from nextcloud/feat/files-events
fix(files): standardize `files:node:event` event syntax
2023-04-14 11:30:49 +02:00
Arthur Schiwon a578a5ec9c Merge pull request #37476 from nextcloud/ci/checkers/fix-autoloader-generation-extraneous-apps
ci(checkers): Fix autoloader (re)generation for extraneous apps
2023-04-14 11:28:48 +02:00
Marc Hefter 64914593a0 optimized handling of user profile data change
Check profile data checksum before updating user profile, to ensure
data has changed. Write checksum to user settings and cache.

Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-14 11:08:46 +02:00
John Molakvoæ edbdfefcb8 fix(files): standardize files:node:event event syntax
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-14 09:26:32 +02:00
jld3103 2f653c8be8 Cleanup signature checking logic in encryption
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-14 09:07:20 +02:00
Nextcloud bot 0951398af8 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-14 02:19:43 +00:00
Josh Richards 330c9cffab Compile webpack assets - again
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-04-13 21:49:50 -04:00
Josh Richards fb25cd4b0a More honest reset password request response
Addresses request in additional comments of #37408

* Honest but still won't leak information
* Also reminds user to verify the provided user id email address/user

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>

Refine reset password response copy

Co-authored-by: Louis <6653109+artonge@users.noreply.github.com>
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>

Wrap honest password reset request response
2023-04-13 17:31:49 -04:00
Arthur Schiwon 79013bab0a Merge pull request #32499 from nextcloud/enh/noid/ldap-search-entryuuid-no-wildcard
Fix Ldap search for attributes with no substr matching rule
2023-04-13 22:37:39 +02:00
Julien Veyssier f3cd559c54 perform exact Ldap search as well to make sure it works for attributes without a substr matching rule
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2023-04-13 19:59:17 +00:00
Anna Larch fd85c86cde fix(dav): Parse sender PARTSTAT in REPLYs
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-04-13 18:55:08 +02:00
Julius Härtl eecd4601ac Merge pull request #37429 from nextcloud/object-store-rmdir
improve objectstore rmdir handling
2023-04-13 18:45:12 +02:00
Louis Chemineau fec8ad8441 Do not override stored credentials when login in with SAML
When login in with SAML, the password from `$event->getPassword()` is `null`.

This PR makes sure that this `null` value won't be used to override the stored password even though it is different.

This PR also allow for the password and user to be updated even though they were not set before.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-13 18:05:37 +02:00
Marcel Klehr ad66180c34 Update lib/private/SpeechToText/SpeechToTextManager.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-13 15:17:17 +02:00
Marcel Klehr 865ebfaf72 Add missing strict_types + author + copyright
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-13 12:15:18 +02:00
Marcel Klehr a8d3fff648 Split TranscriptionFinishedEvent into Successful and Failed events
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-13 12:12:07 +02:00
Marcel Klehr 176f1af26a ISpeechToTextManager: Take File as input, drop $context
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-13 11:57:23 +02:00
John Molakvoæ b3f59aa4c1 Merge pull request #37704 from nextcloud/bugfix/noid/fix-translations-api
fix(translation): Fix several issues with the translations api
2023-04-13 10:48:09 +02:00
Simon L bdf91ae602 Merge pull request #37692 from nextcloud/feat/resizeobserver-breakpoint-files
feat(files): better breakpoints and sidebar responsive design
2023-04-13 10:09:01 +02:00
Joas Schilling a1823be3ec Merge pull request #37697 from nextcloud/fix/button-text
Fix button text
2023-04-13 09:54:32 +02:00
Joas Schilling e5d0ff0c19 feat(translation): Allow guests to use translations as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-13 09:02:46 +02:00
Joas Schilling 032821d2b5 fix(translation): Use 400 as status code to be distinguishable from server errors
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-13 09:02:42 +02:00
Joas Schilling b7c1e61d0b fix(translation): Properly set the numbers as HTTP status code
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-13 09:02:38 +02:00
Joas Schilling 21b056ee2d fix(translation): Translate error messages on translations API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-13 08:53:15 +02:00
John Molakvoæ 225d6e2dcf feat(files): better breakpoints and sidebar responsive design
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-13 06:08:39 +00:00
Christopher Ng 3b94da9c1d Fix button text
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-12 21:21:15 -07:00
Nextcloud bot b1abc57c07 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-13 02:27:50 +00:00
John Molakvoæ f37b29eb2d Merge pull request #37642 from nextcloud/fix/reactivity-files 2023-04-12 17:53:38 +02:00
Marcel Klehr ef7ce88cee ISpeechToTextProvider#transcribeFile: Pass \OCP\Files\File instead of path
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-12 16:52:11 +02:00
Maxence Lange fe2e0a5cd7 Merge pull request #37680 from nextcloud/enh/noid/add-app-type-extended-authentication
app type extended_authentication
2023-04-12 13:21:59 -01:00
Christoph Wurst 5eb768ac5e fix(auth): Run token statements in atomic transaction
All or nothing

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-12 15:55:42 +02:00
Maxence Lange fc29b0d1b7 app type extended_authentication
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-04-12 09:34:49 -01:00
John Molakvoæ 306bc2a74b fix: wrong copyright
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-12 12:10:45 +02:00
John Molakvoæ 34d22f19d3 feat(files): responsive design for mobile and narrow screens
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-12 12:10:44 +02:00
John Molakvoæ 993a7fc8e6 fix(files): cleanup common table row styling
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-12 12:10:44 +02:00
Nextcloud bot 73000175d0 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-12 02:28:34 +00:00
Christoph Wurst 9edc3aa354 Merge pull request #37678 from nextcloud/doc/auth/no-token-password-no-client-logout
doc(auth): Warn about disabled token passwords and LDAP logout
2023-04-11 21:04:01 +02:00
Arthur Schiwon ec1acb92c7 Merge pull request #37617 from nextcloud/notify-self-test-error
handle not being able to write file for notify self-test
2023-04-11 19:43:41 +02:00
Arthur Schiwon 784b2bd703 Merge pull request #37626 from nextcloud/fix/compare-imip-email-values
fix(dav): add string comparison for diff
2023-04-11 19:36:13 +02:00
Christoph Wurst 20c65227d2 doc(auth): Warn about disabled token passwords and LDAP logout
Auth tokens store the user's login password by default. If the password
changes externally (on LDAP), all connected clients stop syncing after 5
minutes max when the password is verified the next time. A web login
revivess those app passwords.

If storing the password is disabled, the tokens continue to work after
password change. But that also means the clients are not logged out the
same way. This can be fine for some setups and problematic for others.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-11 18:14:09 +02:00
Marc Hefter eec5e702da error handling in update profile from LDAP
added error message on InvalidArgumentException

Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-11 16:40:00 +02:00
John Molakvoæ 920174222c Merge pull request #37669 from nextcloud/feat/files-right-click 2023-04-11 15:47:41 +02:00
Marcel Klehr 1833d932ef chore(coding style): Run cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-11 15:21:08 +02:00
Marcel Klehr a9b5d1f9da chore(coding style): Run cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-11 15:04:30 +02:00
Marcel Klehr f2eb2241bb feat(SpeechToText): Add autoload changes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-11 15:01:11 +02:00
Marcel Klehr 317521b607 feat(SpeechToText): Add SpeechToText provider API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-11 14:59:57 +02:00
John Molakvoæ b7df4196e2 feat(files): right click
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-11 14:38:53 +02:00
John Molakvoæ a05176a1f5 Merge pull request #37639 from nextcloud/feat/files/selection 2023-04-11 13:56:10 +02:00
John Molakvoæ 8bef77235f feat(files): implement shift-select
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-11 12:36:58 +02:00
John Molakvoæ c6645cbc46 Merge pull request #37633 from nextcloud/fix/trashbin
Trashbin followup fixes
2023-04-11 12:28:36 +02:00
John Molakvoæ 0b0dbb99d3 fix(files): use displayName in breadcrumbs if available
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-11 12:00:03 +02:00
John Molakvoæ 45f39d65fe fix(files): fix private variables and share loading marker between header and row
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-11 11:58:02 +02:00
John Molakvoæ 441aab68a4 fix(files_trashbin): set real filename on trashbin download
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-11 11:56:06 +02:00
John Molakvoæ e3f575ba7a fix(files): update @nextcloud/files and fix event store update
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-11 11:56:04 +02:00
John Molakvoæ a16703d181 Merge pull request #37646 from nextcloud/feat/trashbin-cleanup
chore(files_trashbin): cleanup old legacy files
2023-04-11 10:49:55 +02:00
Julius Härtl a60dc50a37 Merge pull request #37647 from nextcloud/bugfix/noid/filepicker 2023-04-11 10:00:37 +02:00
Julius Härtl cd44ee2053 Merge pull request #37625 from nextcloud/bugfix/noid/transfer-file-new-user
fix: Always create user directory when transfering files to new users
2023-04-11 07:57:17 +02:00
Nextcloud bot 30dd3993b3 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-11 02:28:24 +00:00
Simon L efe2fb66c7 Merge pull request #37521 from nextcloud/update-improve-devcontainer
Update improve devcontainer
2023-04-10 14:03:38 +02:00
John Molakvoæ 0d484c58f8 Merge pull request #37653 from nextcloud/dependabot/npm_and_yarn/marked-4.3.0
chore(deps): Bump marked from 4.0.14 to 4.3.0
2023-04-10 10:15:41 +02:00
Nextcloud bot 36faad8f47 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-10 02:30:53 +00:00
dependabot[bot] 7553b532bb chore(deps): Bump marked from 4.0.14 to 4.3.0
Bumps [marked](https://github.com/markedjs/marked) from 4.0.14 to 4.3.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.14...v4.3.0)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-09 10:09:02 +00:00
John Molakvoæ 649310151f Merge pull request #37528 from nextcloud/dependabot/npm_and_yarn/moment-timezone-0.5.43
bump moment-timezone from 0.5.38 to 0.5.43
2023-04-09 11:59:10 +02:00
dependabot[bot] ffe27207e8 bump moment-timezone from 0.5.38 to 0.5.43
---
updated-dependencies:
- dependency-name: moment-timezone
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-09 09:47:37 +00:00
John Molakvoæ 5bc4adebc6 Merge pull request #37650 from nextcloud/dependabot/npm_and_yarn/karma-6.4.1
chore(deps-dev): Bump karma from 6.4.0 to 6.4.1
2023-04-09 11:30:20 +02:00
Nextcloud bot a19589d5c2 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-09 02:27:38 +00:00
dependabot[bot] 8055be4f44 chore(deps-dev): Bump karma from 6.4.0 to 6.4.1
Bumps [karma](https://github.com/karma-runner/karma) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.4.0...v6.4.1)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-08 12:26:06 +00:00
John Molakvoæ 760952b508 Merge pull request #37651 from nextcloud/dependabot/npm_and_yarn/jest-environment-jsdom-29.5.0
chore(deps-dev): Bump jest-environment-jsdom from 29.2.1 to 29.5.0
2023-04-08 14:24:55 +02:00
John Molakvoæ 000ad21c62 Merge pull request #37623 from nextcloud/dependabot/npm_and_yarn/libphonenumber-js-1.10.26
chore(deps): Bump libphonenumber-js from 1.10.13 to 1.10.26
2023-04-08 14:24:31 +02:00
MichaIng 3e5699cfb1 Merge pull request #37529 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.6.6
chore(deps-dev): Bump phpunit/phpunit from 9.6.4 to 9.6.6 in /build/integration
2023-04-08 12:54:13 +02:00
dependabot[bot] 9c4e892a91 Merge pull request #37530 from nextcloud/dependabot/composer/build/integration/symfony/event-dispatcher-5.4.22 2023-04-08 10:05:55 +00:00
dependabot[bot] a641c3d99d chore(deps): Bump libphonenumber-js from 1.10.13 to 1.10.26
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.10.13 to 1.10.26.
- [Release notes](https://gitlab.com/catamphetamine/libphonenumber-js/tags)
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.10.13...v1.10.26)

---
updated-dependencies:
- dependency-name: libphonenumber-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-08 10:03:34 +00:00
dependabot[bot] 5b3794b32a chore(deps-dev): Bump jest-environment-jsdom from 29.2.1 to 29.5.0
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.2.1 to 29.5.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.5.0/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-08 08:36:35 +00:00
Nextcloud bot 29076a3e39 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-08 02:27:47 +00:00
Julius Härtl 389c6dc30b fix: Fix filepicker breadcrumbs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-07 16:04:50 +02:00
John Molakvoæ 4f24f68334 chore(files_trashbin): cleanup old legacy files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-07 15:23:41 +02:00
Kate c3b6b20862 Merge pull request #37511 from nextcloud/feature/type-mappers
Add type hints for mappers
2023-04-07 10:40:10 +02:00
jld3103 b153340b62 Add type hints for mappers
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-07 09:49:42 +02:00
John Molakvoæ 9140a36edc Merge pull request #37539 from nextcloud/automated/noid/master-update-psalm-baseline 2023-04-07 08:13:49 +02:00
nextcloud-command b9812fd91e Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-04-07 04:10:58 +00:00
Nextcloud bot 99be997dca Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-07 02:28:31 +00:00
Anna Larch 1811a0e8f9 fix(dav): add string comparison for diff
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-04-07 00:28:42 +02:00
Jan Messer 647c65a640 [BUGFIX] throw exception instead of error if unable to create file handler (only exceptions are catch)
Signed-off-by: Jan Messer <jan@mtec-studios.ch>
2023-04-06 23:03:49 +02:00
Jan Messer 7a443863fe [BUGFIX] check return value and improve error handling
With S3 primary storage there was a problem with getting the CA bundle from the storage without having the CA bundle for the connection which causes that the CertificateManager was throwing an Error.
This commit improves the handling in CertificateManager and log unexpected behaviors.

Signed-off-by: Jan Messer <jan@mtec-studios.ch>
2023-04-06 23:03:33 +02:00
Julius Härtl b62e29051e fix: Always create user directory when transfering files to new users
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-06 20:51:56 +02:00
dependabot[bot] 0126247439 Merge pull request #37398 from nextcloud/dependabot/npm_and_yarn/jsdoc-4.0.2 2023-04-06 17:44:31 +00:00
Vincent Petry 9f05eff3ef Merge pull request #34607 from nextcloud/encryption-size-not-found
fix encryption wrapper filesize for non existing files
2023-04-06 18:04:44 +02:00
Julius Härtl 30110134f1 Merge pull request #37584 from Jerome-Herbinet/patch-17
Fix icon size in contact search popup (way too big)
2023-04-06 17:25:10 +02:00
dependabot[bot] 486d43193a chore(deps-dev): Bump jsdoc from 4.0.0 to 4.0.2
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 4.0.0 to 4.0.2.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/4.0.2/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/4.0.0...4.0.2)

---
updated-dependencies:
- dependency-name: jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-06 15:09:13 +00:00
John Molakvoæ 2e6e154629 Merge pull request #36534 from nextcloud/feat/files2vue-trashbin
[F2V] migrate  files_trashbin to vue
2023-04-06 17:04:58 +02:00
Robin Windey 849b7de681 Move launch.json to .devcontainer and copy on start 2023-04-06 14:57:35 +00:00
Robin Appelman b89621e8da fix output for group:list command with numeric user ids
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-06 16:31:39 +02:00
John Molakvoæ 5b3900e849 fix(tests): acceptance
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 15:43:30 +02:00
John Molakvoæ ea3e77d6b9 fix(files): better wording and catch single action run
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 15:43:30 +02:00
John Molakvoæ 8298bb44fd fix:(files-checker): add cypress.d.ts and custom.d.ts
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 15:32:31 +02:00
John Molakvoæ d432e0c7b2 fix(cypress): component testing with pinia
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 15:31:51 +02:00
John Molakvoæ f060e5a72f fix(tests): update jsunit tests after dep and files update
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 15:31:37 +02:00
John Molakvoæ 1361182439 chore(eslint): clean and fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 15:31:37 +02:00
John Molakvoæ 904348b8c7 chore(npm): build assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 15:31:35 +02:00
John Molakvoæ bdbe477337 feat(files): add FileAction service
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ 014a57e541 fix: improved preview handling
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ a66cae02ef fix(deps): update webdav 5 usage
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ c7c9ee1ebd feat(files): move userconfig to dedicated store and fix crop previews
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ 044e824260 chore(deps): update lockfile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ 60b74e3d6d feat(files): batch actions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ 4942747ff8 fix(files): use inline NcActions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ 7215a9ae9c fix(files): breadcrumbs accessibility title
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ 2b251999a2 fix(files): accessibility tab into recycled invisible files rows
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ 6358e9752f fix(files): inline action styling
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ bda286c7f0 perf(files): less verbose
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +02:00
John Molakvoæ f28944e23f feat(files): propagate restore and delete events
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +02:00
John Molakvoæ e85eb4c593 fix(files): selection and render performance
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +02:00
John Molakvoæ 0f717d408f feat(accessibility): add files table caption and summary
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +02:00
John Molakvoæ 0e764f753a fix(files): fix custom render components reactivity
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +02:00
John Molakvoæ 3c3050c76f feat(files): implement sorting per view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +02:00
John Molakvoæ 0b4da6117f feat(files): actions api
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +02:00
John Molakvoæ 0db210a092 chore(deps): cleanup unused deps and audit
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +02:00
John Molakvoæ f330813ff0 feat(files): custom columns
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:31 +02:00
John Molakvoæ 10010fc532 feat(files): sorting
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:30 +02:00
John Molakvoæ b761039cf1 perf(files): fetch previews faster and cache properly
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:30 +02:00
John Molakvoæ 2ff1c00f55 fix(files_trashbin): previews crop support
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:30 +02:00
John Molakvoæ 638b3dffa3 perf(files): update files store by chunks
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:30 +02:00
John Molakvoæ 03c32774b0 feat(files): switch to pinia
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:29 +02:00
John Molakvoæ 29a7f7f6ef feat(files_trashbin): migrate to vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:29 +02:00
Julia Kirschenheuter 8eb9505294 Merge pull request #37583 from nextcloud/fix/37174-place-heading-inside_of_the_main_content
Move heading to the main content
2023-04-06 14:39:49 +02:00
Julia Kirschenheuter 5aa1a470fe Merge pull request #37335 from nextcloud/fix/36909-Decorative_icons_were_not_marked_as_such_with_aria-hidden=true
Add `aria-hidden='true'` to decorative icons inside of modal dialogs
2023-04-06 14:37:36 +02:00
julia.kirschenheuter 0df1361ddd Add aria-hidden='true' to decorative icons inside of modal dialogs
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-04-06 12:37:40 +02:00
Julien Veyssier f61bcd8b5f Merge pull request #37513 from nextcloud/fix/type-dav
Fix DAV types
2023-04-06 12:10:47 +02:00
Simon L 1c44f42227 Merge pull request #37604 from nextcloud/php7-drop
Remove PHP 7 rules from .htaccess
2023-04-06 12:02:00 +02:00
Robin Appelman 570b64aafc handle not being able to write file for notify self-test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-06 11:52:22 +02:00
Jérôme Herbinet a64c31148c Fix icons at 16px width and height
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Fix icon size

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>

npm run sass

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Rever + add exception

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

npm run sass

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

16px fixed dimentions instead of auto

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-06 11:44:08 +02:00
Arthur Schiwon 1ac7a3f107 Merge pull request #37595 from jtrees/add-some-tests-to-lost-controller
Add some tests for input trimming in LostController.php
2023-04-06 11:12:52 +02:00
John Molakvoæ 6b4abd0522 Merge pull request #37588 from nextcloud/bugfix/noid/filepicker-a11y
fix: Adjust filepicker breadcrumb structure to recent a11y changes
2023-04-06 11:06:34 +02:00
John Molakvoæ 6fa55de280 Merge pull request #37591 from Jerome-Herbinet/patch-19 2023-04-06 10:24:17 +02:00
James Guo bb173e092b Update AmazonS3.php
Signed-off-by: James Guo <i@ze3kr.com>
2023-04-06 14:34:08 +08:00
Marc Hefter ebb0c53f9e trying to make github-code-scanning bot happy
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:31 +02:00
Marc Hefter 72d0a3f26e added simple data conversion for LDAP attributes
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:31 +02:00
Marc Hefter 1e7bc93ec8 handling, formatting of postalAddress attribute syntax
replace '$' with ', ' delimiter for address property
reformatted some code to 80 column
early check and return, if wasRefreshed('profile')
removed FIXMEs after digging and double checking

Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:30 +02:00
Marc Hefter 5ea46d81bb nice up the code handling AccountManager
merging defaultScopes from DEFAULT_SCOPES and account_manager.default_property_scope
removing unneccessary profileScope setting (using config.php instead)
honoring admin choice 'profile.enabled'=>false in config.php
moved checking for empty array to updateProfile function
corrected some typos and cleaned some comments

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:30 +02:00
Marc Hefter 0c6d440643 undoing the additions to OC\IUser
removed changes from lib/public/IUser.php
removed changes from lib/private/User/LazyUser.php
removed changes from lib/private/User/User.php

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:29 +02:00
Marc Hefter dd2bd6a925 refined code, to be independend from OCP\IUser
rework updateProfile in user_ldap/lib/User/User.php
some cleanup at processAttributes in user_ldap/lib/User/User.php
rearranged Fediverse attribute, to match profile layout

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:29 +02:00
Marc Hefter c6408587ed fixing Psalm messages
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:28 +02:00
Marc Hefter f812b87576 handling updateProfile with array of values
using an array to buffer profile updates, like suggested by @come-nc
clean some code and remove unneccessary redundancy
added the Fediverse profile property

Co-Authored-By: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:28 +02:00
Marc Hefter 5c4a05cfd6 CleanUp: removed redundant storing profile attributes in user settings
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:27 +02:00
Marc Hefter 3020290751 CleanUp: removed redundant condition if block
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:27 +02:00
Marc Hefter 651273808f CleanUp: correct version to 27 and return value specification
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@march42.net>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:26 +02:00
Marc Hefter 2f76b7a3d5 CleanUp: tidy checking for empty profileScope
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:26 +02:00
Marc Hefter 44065c0fea Fix: Parameter $scope has no provided type
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@march42.net>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:25 +02:00
Marc Hefter 26aa1c3580 CleanUp: remove unneeded UNSET, to unclutter code
Signed-off-by: march42 <marchefter@gmail.com>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:25 +02:00
Marc Hefter 240c57b94b cleanup: removed unnecessary imports of IAccountManager, AccountManager, IDBConnection
Signed-off-by: Marc Hefter <marchefter@march42.net>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:24 +02:00
Marc Hefter b72fbd58f6 fixed error: Array to string conversion at user_ldap/lib/User/User.php#639
Signed-off-by: Marc Hefter <marchefter@march42.net>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:23 +02:00
Marc Hefter c7623c7869 bugfix: changed forgotten userName, to getUsername
Signed-off-by: Marc Hefter <marchefter@march42.net>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:22 +02:00
Marc Hefter eee0275dc5 added user profile scope setting
Signed-off-by: Marc Hefter <marchefter@march42.net>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:22 +02:00
Marc Hefter 2315c17726 feature addition: [user_ldap] update user profile from LDAP
Signed-off-by: Marc Hefter <marchefter@march42.net>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:21 +02:00
Marc Hefter 7fa3c674de feature addition: [user_ldap] update user profile from LDAP; WIP; fixing some uggly copy-and-paste errors; testing functionality; preparing and editing the documentation
Signed-off-by: Marc Hefter <marchefter@march42.net>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
2023-04-06 08:20:20 +02:00
Marc Hefter 404d26aa4a feature addition: [user_ldap] update user profile from LDAP; WIP work-in-progress; TODO update profile
Signed-off-by: Marc Hefter <marchefter@march42.net>
2023-04-06 08:19:39 +02:00
Nextcloud bot 2cfb9e9497 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-06 02:28:44 +00:00
Julius Härtl 52e66afed6 chore: Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-06 00:45:52 +00:00
Robin Appelman 03e965a513 Merge pull request #22943 from nextcloud/scanner-no-access-handling
improve handling of files we can't access in the scanner
2023-04-05 21:36:21 +02:00
Louis 72fce81c0c Merge pull request #37531 from nextcloud/dependabot/npm_and_yarn/webpack-5.77.0
bump webpack from 5.75.0 to 5.77.0
2023-04-05 20:14:30 +02:00
Git'Fellow 3009ae0d91 Remove PHP7 rules
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-04-05 19:45:45 +02:00
Côme Chilliet e63a6f5cdb Merge pull request #27538 from nextcloud/scanner-home-not-writable-better-errors
better error messages if the users home is not writable during scanning
2023-04-05 17:53:42 +02:00
Côme Chilliet a6b1d990a4 Check for non-numeric versions, not non-integer
All versions are string

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-05 17:50:45 +02:00
Côme Chilliet 8cc8765089 Ignore and log non integer versions
This avoids being stuck when there is one buggy file version with a
 non-integer version. It allows the expiration process to not crash and
 continue with the other ones.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-05 17:44:14 +02:00
Côme Chilliet 8d5165e8dc Adapt tests to config value typing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-05 17:42:14 +02:00
dependabot[bot] 0e27ebd1af bump webpack from 5.75.0 to 5.77.0
---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-05 15:00:38 +00:00
Julius Härtl 2dc96b3148 Merge pull request #37526 from nextcloud/use-correct-icon-for-calendar-user-settings-section
fix(dav): Use an icon with correct color for calendar user settings section
2023-04-05 16:11:26 +02:00
Robin Appelman 63fc83de26 Merge pull request #33292 from nextcloud/no-profiler
don't hard error when trying to load profiles with no profiler registered
2023-04-05 15:57:50 +02:00
Robin Appelman c6be96d04f additional logging when mkdir fails for object storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-05 14:52:19 +02:00
Robin Appelman b1f352c614 improve handling of files we can't access in the scanner
instead of erroring, remove the items from the cache.

this situation can be triggered if a user has access to a file but looses it afterwards

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-05 14:44:55 +02:00
Jérôme Herbinet 1f67183fe3 npm run sass
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-05 13:24:17 +02:00
Robin Appelman 54f61352f0 better error messages if the users home is not writable during scanning
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-05 13:21:30 +02:00
Jérôme Herbinet 338196ffb0 Fix : Hides hidden files and folder in modal
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-05 13:21:30 +02:00
Robin Appelman a1b7f132c8 Merge pull request #37430 from nextcloud/trash-cleanup-logging
add a bit more verbose option for trashbin cleanup
2023-04-05 13:15:29 +02:00
Julia Kirschenheuter e60ffea5a0 Merge pull request #37586 from nextcloud/dependajulia/bump-nextcloud-vue-tov.7.9.0
Bump @nextcloud/vue to version "^7.9.0"
2023-04-05 12:55:19 +02:00
Côme Chilliet 426c0341ff Use typed version of IConfig::getSystemValue as much as possible
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-05 12:50:08 +02:00
Joshua Trees a4032a3800 Add some tests for input trimming in LostController.php
Signed-off-by: Joshua Trees <me@jtrees.io>
2023-04-05 12:15:38 +02:00
Jérôme Herbinet e7044cdb21 npm run sass
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-05 12:02:23 +02:00
Jérôme Herbinet c46716b55c UI : Improved presentation of personal information
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-05 12:00:07 +02:00
Julius Härtl 837622cb87 fix: Adjust filepicker breadcrumb structure to recent a11y changes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-05 11:40:40 +02:00
Côme Chilliet 5063b76c8a Merge pull request #37495 from joshtrichards/jr-trim-pw-reset-username
Trim the user/email provided for password resets
2023-04-05 11:36:53 +02:00
julia.kirschenheuter c36c0731b2 Bump @nextcloud/vue to version "^7.9.0"
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-04-05 11:27:03 +02:00
Arthur Schiwon bd0f374cfd Merge pull request #37575 from nextcloud/fix/user_ldap-log-suffix-names
Log a warning when a user or group is mapped with a suffix
2023-04-05 10:28:23 +02:00
julia.kirschenheuter 541607349b Move heading to the main content
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-04-05 10:27:16 +02:00
Côme Chilliet 8f550398c4 Merge pull request #36836 from nextcloud/fix/view-type-cleanup
Tidy up typing in OC\Files\View
2023-04-05 10:14:55 +02:00
Kate 88ab6d452b Merge pull request #37507 from nextcloud/fix/config-values-types
Fix types for reading and writing config values
2023-04-05 10:01:46 +02:00
Côme Chilliet 6633b4ced6 Remove unecessary fully qualified namespaces from phpdoc
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-05 09:13:39 +02:00
jld3103 d9f8522003 Fix types for reading and writing config values
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-05 09:08:56 +02:00
Kate 54140dd6bf Merge pull request #37504 from nextcloud/fix/app-framework-tainter
Update AppFrameworkTainter to use non-deprecated interface
2023-04-05 09:02:31 +02:00
jld3103 e7926b9644 Refactor AppFrameworkTainter to make it more readable
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-05 07:07:53 +02:00
jld3103 14283001a5 Update AppFrameworkTainter to use non-deprecated interface
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-05 07:07:53 +02:00
jld3103 7e58aa1a05 Fix DAV types
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-05 07:06:50 +02:00
Nextcloud bot 746a1e9922 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-05 02:30:26 +00:00
Robin Windey 296c9beff6 Enbale apcu in devcontainer CLI 2023-04-04 16:37:39 +00:00
Robin Appelman 43b61d26e8 don't hard error when trying to load profiles with no profiler registered
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-04 17:24:29 +02:00
Robin Appelman 9d3c8b7e70 Merge pull request #36360 from nextcloud/new-share-existing-node
also set the node when re-using existing share on share create
2023-04-04 17:11:24 +02:00
Joas Schilling 9cae15d1ad Merge pull request #37278 from nextcloud/feature/document-talk-icon-url-definition
Document talk icon url definition
2023-04-04 17:08:28 +02:00
Robin Appelman 5267a74027 fix type hints
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-04 17:05:45 +02:00
Louis 93faf19ed9 Merge pull request #37573 from nextcloud/artonge/debt/remote_autotest-js.sh
Remove autotest-js.sh
2023-04-04 17:02:22 +02:00
Robin Appelman 8c9197d65e fix unencrypted folder size when no children with unencrypted size set are left
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-04 16:48:11 +02:00
Robin Appelman 649bed5154 fix unencrypted_size for files when scanning
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-04 16:48:11 +02:00
Robin Appelman 63fb33538c fix unencrypted_size for folders when scanning the filesystem with encryption enabled
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-04 16:48:10 +02:00
Robin Appelman 15a6920b07 fix encryption wrapper filesize for non existing files
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-04 16:21:17 +02:00
Robin Appelman 565ee0dc81 Merge pull request #37559 from nextcloud/preview-generate-cmd
add command to generate a preview for a file
2023-04-04 16:06:45 +02:00
Josh Richards 9899b12478 Trim user earlier
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-04-04 10:03:15 -04:00
Julia Kirschenheuter 45c27aa302 Merge pull request #37453 from nextcloud/fix/36918-The_breadcrumb_navigation_represents_a_list_and_should_best_be_implemented_as_such
the breadcrumb navigation represents a list and should best be implemented as such
2023-04-04 14:54:57 +02:00
Côme Chilliet 51705da7a4 Log a warning when a user or group is mapped with a suffix
Most of the time, this is the result of a misconfiguration by the admin
 and is not what is expected.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-04 14:08:24 +02:00
Joas Schilling 59d0e7711d Merge pull request #37572 from nextcloud/bugfix/noid/help-discovering-broken-initial-state-data
fix(initial-state): Log an error when initial-state can not be JSON e…
2023-04-04 14:00:24 +02:00
Joas Schilling 44cb46c0f2 Merge pull request #37345 from nextcloud/artonge/fix_files_version_cypress_tests
Fix cypress tests for files_versions
2023-04-04 13:42:53 +02:00
julia.kirschenheuter dc0a95cce0 Adjust breadcrumb navigation structure to the navigation list
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-04-04 12:16:45 +02:00
Côme Chilliet f78b077eaa Merge pull request #37444 from nextcloud/fix/bump-scssphp/scssphp-to-1.11-in-master
Bump scssphp/scssphp to 1.11 in master
2023-04-04 12:00:32 +02:00
Louis Chemineau aeebf13d5d Remove autotest-js.sh
It is just a proxy to npm run test:jsunit.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-04 11:57:16 +02:00
Joas Schilling 131f481a67 fix(initial-state): Log an error when initial-state can not be JSON encoded
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-04 10:54:12 +02:00
Louis Chemineau 67df0afaff Only upload logs and data on failure
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-04 10:48:36 +02:00
Côme Chilliet 7fdb23928f Merge pull request #37243 from nextcloud/enh/openssl-get-rid-of-rc4
Getting rid of openssl_seal and rc4 in server side encryption
2023-04-04 10:38:02 +02:00
Louis 7ab44b2d28 Merge pull request #37146 from nextcloud/artonge/feat/migrate_metadata_to_value
Migrate metadata JSON column to new value TEXT column
2023-04-04 10:23:54 +02:00
Thomas Citharel d87e55cf43 fix(dav): Use an icon with correct color for calendar user settings section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-04-04 10:07:37 +02:00
Côme Chilliet 81dcd52f57 Align 3rdparty submodule with master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-04 07:43:39 +00:00
Côme Chilliet ef56d1734c Bump scssphp/scssphp to 1.11 in master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-04 07:43:39 +00:00
Julia Kirschenheuter 135b0ded50 Merge pull request #37517 from nextcloud/fix/36919-create-semantic-list-for-comments-in_comments_tab
Create semantic list for comments in comments tab
2023-04-04 08:21:42 +02:00
Nextcloud bot 458abcc86d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-04 02:28:30 +00:00
Robin Appelman d6ff5d8ee5 Merge pull request #36905 from nextcloud/ftp-fix-filezilla
fix ftp external storage with filezilla server
2023-04-03 20:50:00 +02:00
Christoph Wurst b2c9a57274 ci(checkers): Fix autoloader regeneration for non-shipped apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-03 19:59:40 +02:00
Robin Appelman 9a731ad617 add a bit more verbose option for trashbin cleanup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-03 18:59:02 +02:00
Robin Appelman d63fa2d991 improve objectstore rmdir handling
remove folder entries as they are cleared instead of in one go afterwards

otherwise they stick around if some of the child entries can't be removed

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-03 18:28:29 +02:00
Robin Appelman 013eedabbd add command to generate a preview for a file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-03 17:30:57 +02:00
Robin Appelman 3473fa3187 also set the node when re-using existing share on share create
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-03 16:40:47 +02:00
Robin Appelman 5024f295dc Merge pull request #36097 from nextcloud/path-prefix-optimize
extend path-prefix optimizer to remove all cases of path_hash= when encountering a path prefix filter
2023-04-03 16:39:49 +02:00
Rsplwe 5c6f35832c Update lib/private/Files/ObjectStore/S3.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Rsplwe <i@rsplwe.com>
2023-04-03 21:59:59 +08:00
Côme Chilliet dbc0d6a1c2 Merge pull request #37543 from nextcloud/fix/inherited-parameter-names
Fix inherited parameter names
2023-04-03 15:08:45 +02:00
Joas Schilling c5339fa336 Merge pull request #37542 from nextcloud/bugfix/noid/allow-to-opt-out-of-ratelimit-for-testing
feat(security): Allow to opt-out of ratelimit protection, e.g. for te…
2023-04-03 14:19:41 +02:00
Louis Chemineau 1a6709cf43 Migrate metadata as JSON to value as STRING
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-03 14:06:28 +02:00
Robin Windey a995e27e97 Add .vscode to expected files list 2023-04-03 09:42:27 +00:00
Côme Chilliet 1000b463a1 Merge pull request #37320 from nextcloud/fix/workflow-unique-names
Avoid having the same name for several workflows
2023-04-03 11:38:20 +02:00
Arthur Schiwon 84c76a89ec Merge pull request #37520 from nextcloud/fix/noid/fix-dbal-exception-handling
fix DBAL exception handling in setValues
2023-04-03 11:30:14 +02:00
Côme Chilliet 8f26a5d766 Fix dav application tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:35 +02:00
Côme Chilliet 5ad045619c View needs to return an instance of OC\Files\FileInfo explicitely
Applications are calling methods from the class which are not from the
 public interface, and which cannot be added easily to public interface
 because Node interface extends FileInfo.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:35 +02:00
Côme Chilliet 0b3dad895f More type cleanup in View and FileInfo
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:35 +02:00
Côme Chilliet ea05544213 Fix return type of methods returning false on error
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:34 +02:00
Côme Chilliet f974281ac9 Improve typing for fopen/toTmpFile
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:34 +02:00
Côme Chilliet 4393b96542 Remove unused method getLocalFolder
It’s not used and not in any OCP interface/class.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:34 +02:00
Côme Chilliet 966a3e6963 Tidy up typing in OC\Files\View
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-03 10:52:33 +02:00
julia.kirschenheuter 8b945d8864 Create semantic list for comments in comments tab
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-04-03 10:43:57 +02:00
Julius Härtl 671d2726fa Merge pull request #36652 from nextcloud/perf/autoloading/theming-authoritative-autoloader
perf(autoloading): Add authoritative autoloader for theming
2023-04-03 10:38:00 +02:00
Joas Schilling 8e529df6ae Merge pull request #37505 from nextcloud/fix/recommended-psalm-options
Set recommended psalm options
2023-04-03 09:54:13 +02:00
Joas Schilling cac31061c7 Merge pull request #37503 from nextcloud/fix/composer-psalm-threads
Use all available threads for running psalm from composer
2023-04-03 09:52:25 +02:00
Joas Schilling 454281af03 feat(security): Allow to opt-out of ratelimit protection, e.g. for testing on CI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-03 09:06:45 +02:00
Julius Härtl b5da85df3a Merge pull request #37417 from nextcloud/bugfix/scroll-firefox
fix: Avoid scrolling the #content wrapper container
2023-04-03 08:55:27 +02:00
jld3103 dcf6ebebab Fix inherited parameter names
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-04-03 08:29:33 +02:00
Nextcloud bot 7ef9ef3cb4 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-02 02:27:06 +00:00
Simon L 57bd5e71b9 Merge pull request #35961 from nextcloud/move-from-encryption-remove-flag
clear encrypted flag when moving away from encrypted storage
2023-04-01 18:14:16 +02:00
Robin Appelman 808a80eb9c add test for unmarking encrypted file on cross storage move
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-01 15:36:38 +00:00
Robin Appelman c9e4e30523 clear encrypted flag when moving away from encrypted storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-01 15:36:37 +00:00
Rsplwe d85e623916 s3: get remaining truncation part
Signed-off-by: Rsplwe <i@rsplwe.com>
2023-04-01 22:56:15 +08:00
Rsplwe ccac296821 Adjust the value of 'maxparts' to 1000
Signed-off-by: Rsplwe <i@rsplwe.com>
2023-04-01 21:20:52 +08:00
MichaIng 06ab4f25eb Merge pull request #37344 from nextcloud/backport/35734/master
[master] [stable25] Quota value as float for 32-bit systems
2023-04-01 15:04:44 +02:00
Côme Chilliet 8104d9f5d8 Remove useless coalescing operator on non-null return value
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-01 14:20:26 +02:00
Côme Chilliet da618c457a Fix quota typing for 32bits after forward port from 25
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-04-01 14:20:25 +02:00
Côme Chilliet 3f84d41226 Silence a warning from psalm with explanation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-01 14:20:25 +02:00
Côme Chilliet 1740311283 Adapt types of subclasses
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-01 14:20:24 +02:00
Côme Chilliet ed863fb47c Make it clear that file sizes may be float on 32bits
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-01 14:20:24 +02:00
Vincent Petry c6b683342e Remove quota value type for 32-bit systems
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-04-01 14:20:20 +02:00
dependabot[bot] 860ef63b91 chore(deps-dev): Bump symfony/event-dispatcher in /build/integration
Bumps [symfony/event-dispatcher](https://github.com/symfony/event-dispatcher) from 5.4.19 to 5.4.22.
- [Release notes](https://github.com/symfony/event-dispatcher/releases)
- [Changelog](https://github.com/symfony/event-dispatcher/blob/6.2/CHANGELOG.md)
- [Commits](https://github.com/symfony/event-dispatcher/compare/v5.4.19...v5.4.22)

---
updated-dependencies:
- dependency-name: symfony/event-dispatcher
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-01 03:39:22 +00:00
dependabot[bot] fe27f49393 chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.4 to 9.6.6.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.4...9.6.6)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-01 03:35:46 +00:00
Nextcloud bot 701cc1eaba Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-01 02:27:26 +00:00
Arthur Schiwon b14ae5c59c Merge pull request #37497 from nextcloud/enh/profile-fields
Improve handling of profile fields
2023-03-31 17:09:52 +02:00
Arthur Schiwon 997c2a2a79 fix DBAL exception handling in setValues
This seems to be a left over after abstracting DBAL. Nowadays,
IQueryBuilder::executeStatement() only throws a \OCP\DB\Exception, where
previously original DBAL exceptions where thrown. These are now wrapped,
the orignal classes are now mapped to a reason.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-03-31 17:01:17 +02:00
Robin Windey 3f69e1232d Move git safe.directory to earlier stage
Signed-off-by: GitHub <noreply@github.com>
2023-03-31 13:53:06 +00:00
Robin Windey dfa8a8c946 Configure line ending to let shell scripts work in Windows ENV
Signed-off-by: GitHub <noreply@github.com>
2023-03-31 13:53:06 +00:00
Robin Windey dfbd1fbe79 Dedicated DevContainer user + NVM
* Use dedicated DevContainer user to run Apache (ensure file permissions)
* Install NVM for node

Signed-off-by: GitHub <noreply@github.com>
2023-03-31 13:53:05 +00:00
Robin Windey a32e8db703 Minor DevContainer adjustments
* Add gnupg2 to be able to sign commits
* Make sure /var/www/html always belongs to www-data
* Add Git-History plugin
* Introduce dedicated entrypoint script
* Store Postgres database data in volume to be persistent
* Cleaner check if NC is already installed in setup.sh
* Add composer to DevContainer

Signed-off-by: GitHub <noreply@github.com>
2023-03-31 13:53:04 +00:00
Robin Windey 79fb336d35 Use ubuntu jammy and cleanup Dockerfile
Signed-off-by: GitHub <noreply@github.com>
2023-03-31 13:53:04 +00:00
Robin Windey 16c14c059d Minor improvements for devcontainer
* Autostart apache2
* Apply occ installation on start
* Autostart Xdebug on request
* Add DevContainer Xdebug profile

Signed-off-by: GitHub <noreply@github.com>
2023-03-31 13:53:03 +00:00
Stephan 81df7d636e Proposed change to in-build docker-compose.yml and Dockerfile. The current implementation uses php 7.4, which is no longer compatible with the required PHP version of the server. I upped this to PHP 8.1
List of changes:
- Upped PHP Version to 8.1
- Added Apache Webserver so the Container works "out of the box" after docker-compose up -d
- Mounting whole project as volume to /var/www/html in docker-compose.yml (and set WORKDIR to /var/www/html)

Tested in a Docker for Windows environment.
2023-03-31 13:38:26 +00:00
Valdnet a1aa4491ac Merge pull request #37478 from silopolis/stringfix
String fix
2023-03-31 10:35:10 +02:00
jld3103 fa53c7c5a7 Set recommended psalm options
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-03-31 09:15:03 +02:00
Joas Schilling 5da480a9b8 Merge pull request #37486 from nextcloud/fix/noid/default_lang-doc
fix default_language doc
2023-03-31 08:51:52 +02:00
jld3103 a0e3b3b829 Use all available threads for running psalm from composer
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-03-31 08:39:46 +02:00
jld3103 f960d9aae4 Update baseline to allow running psalm with multiple threads
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-03-31 08:39:46 +02:00
jld3103 4d390b5f54 Add stubs for Psr\Container to allow running psalm with multiple threads
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-03-31 08:27:50 +02:00
Nextcloud bot 9f1eacd67e Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-31 02:28:06 +00:00
Pytal c53e052b6c Merge pull request #37459 from nextcloud/enh/a11y-update-notif-select 2023-03-30 17:30:40 -07:00
Christopher Ng 7bc8b543be Improve handling of profile fields
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-30 17:11:41 -07:00
Christopher Ng 928e7811c9 Port update notification select
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-30 10:20:48 -07:00
Josh Richards 203b9131ec Trim the user/email provided for password resets
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-03-30 11:59:13 -04:00
Robin Appelman fd0ef588b4 fix ftp external storage with filezilla server
- filezilla doesn't like "" as parameter for `mdtm` (all others seem fine)
- filezilla sends fractional modified date

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-03-30 17:44:47 +02:00
Louis Chemineau 5dc64ebee6 Prevent expiration from delete file in cypress tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 17:03:13 +02:00
Arthur Schiwon ddc423ab39 fix default_language doc
Since commit 0228bc6e66 the browser
language always is preferred.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-03-30 16:23:03 +02:00
Julien Veyssier 636c2415cc Merge pull request #37452 from nextcloud/fix/missing-interface-methods
Add missing interface methods
2023-03-30 14:55:51 +02:00
Simon L 2811532e83 Merge pull request #37378 from nextcloud/enh/noid/fix-avatar-generation
fix the avatar generation on Alpine Linux
2023-03-30 14:20:55 +02:00
Julius Härtl 5e7e3eb665 Merge pull request #37425 from nextcloud/fix/fix-since-version-number-for-app-loading 2023-03-30 13:20:11 +01:00
Christoph Wurst b9850fb926 fix(ocp): Add deprecation version to ILogFactory::getCustomLogger
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-03-30 14:11:37 +02:00
Côme Chilliet da4c5a0339 Merge pull request #37360 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-03-30 13:42:35 +02:00
Jérémie Tarot (@silopolis) 0cdf8baed8 fix(text): Fix small typo in app description
Signed-off-by: Jérémie Tarot (@silopolis) <silopolis@gmail.com>
2023-03-30 12:57:49 +02:00
jld3103 02f9c3a06f Use implementations instead of interfaces for accessing private methods
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-03-30 12:33:46 +02:00
Jérémie Tarot (@silopolis) 78e9e77b9a chore(git): Add VSCode *.code-workspace files to gitignore
Signed-off-by: Jérémie Tarot (@silopolis) <silopolis@gmail.com>
2023-03-30 12:32:33 +02:00
Arthur Schiwon 488dde12cd Merge pull request #37448 from nextcloud/fix/12281/hide-deleted-shared-groupfolder-files
hide shared files located in group folder's trash bin
2023-03-30 10:31:16 +02:00
Louis Chemineau 4bfdd715c8 Upload data dir archive in cypress tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +02:00
Louis Chemineau ea028a1b01 Use random names in files_version e2e tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +02:00
Louis Chemineau 186491113e Do not stop docker in cypress workflow
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +02:00
Louis Chemineau 8cc29dd3dc Fix condition to extrac NC logs in cypress workflow
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +02:00
Louis Chemineau c43220abd2 Increase wait time
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +02:00
Louis Chemineau b7afd644fa Extract logs only for e2e testing
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:14 +02:00
Louis Chemineau f882446f38 Try to chain cypress commands
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:13 +02:00
Louis Chemineau c0ff8789c3 Add comments about why we wait in files_versions' cypress tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:13 +02:00
Louis Chemineau c79f774dd6 Upload NC logs during cypress workflow
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:13 +02:00
Louis Chemineau 49134c6595 Increase wait to ensure versions are created
In files_versions cypress tests, we wait for 1000ms between each versions uploads to make sure that the server properly create a version. Under 1s the serve does not create a version.

This commit increases the wait time as it might help to ensure that the time span is enough between two uploads.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-30 10:09:13 +02:00
nextcloud-command fc82e75519 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-03-30 04:13:15 +00:00
Nextcloud bot 2eda49e28d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-30 02:27:36 +00:00
Pytal 63b90d49a7 Merge pull request #37435 from nextcloud/enh/a11y-logo-label 2023-03-29 17:22:33 -07:00
Christopher Ng 4f8e916585 Add label for logo link
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-29 13:36:45 -07:00
Kate fc371facd2 Merge pull request #36667 from nextcloud/fix/ocm-validation-errors
Fix OCM validation errors
2023-03-29 20:47:49 +02:00
Simon L 6a91d105b9 another approach to fixing the avatar generation
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-29 12:42:58 +02:00
Julia Kirschenheuter 31f4f4117e Merge pull request #37423 from nextcloud/fix/37422-Remove_custom_tooltips_from_entries_of_contacts_menu
Replace custom tooltips with native ones of entries in contacts menu.
2023-03-29 12:24:03 +02:00
julia.kirschenheuter ccf92975f3 Replace custom tooltips with native ones of entries in contacts menu.
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-29 10:41:53 +02:00
Nextcloud bot b129cea7da Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-29 02:27:48 +00:00
Arthur Schiwon 28e7235f87 hide shared files located in group folder's trash bin
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-03-28 14:13:12 +02:00
John Molakvoæ 8ee52d35b8 Merge pull request #37405 from nextcloud/clear-site-data
Send Clear-Site-Data header and let browsers ignore it if unsupported
2023-03-28 14:02:00 +02:00
Git'Fellow 346054f854 Fix tests
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-03-28 09:41:04 +02:00
Joas Schilling 7db8e22207 Merge pull request #37437 from nextcloud/bugfix/noid/fix-rst-parsing-sample-config
fix(docs): Fix RST parsing of the sample config
2023-03-28 09:04:18 +02:00
Joas Schilling ab1af9952f fix(docs): Fix RST parsing of the sample config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-28 07:49:01 +02:00
Julius Härtl 4724d1c030 fix: Avoid scrolling the #content wrapper container
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-28 06:23:26 +02:00
Nextcloud bot 3ad93182d6 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-28 02:19:25 +00:00
Côme Chilliet 2afe26726b Merge pull request #37309 from nextcloud/fix/bump-icewind/streams-to-0.7.7-in-master
Bump icewind/streams to 0.7.7 in master
2023-03-27 17:30:29 +02:00
Côme Chilliet adb885755a Update 3rdparty to merge commit
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-27 15:52:21 +02:00
Côme Chilliet 16f2987b43 Fix update-3rdparty command target branch computation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-27 15:51:04 +02:00
Arthur Schiwon 0be7548e22 Merge pull request #37346 from nextcloud/fix/34557/undefined-getExtStorageHome
fix undefined method getExtStorageHome()
2023-03-27 15:33:57 +02:00
Côme Chilliet e94a689bca Fix version number in phpdoc for app loading refactor
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-27 14:27:23 +02:00
Joas Schilling 6741b37356 Merge pull request #37198 from nextcloud/bugfix/noid/reference-image-log
fix(references): Do not log errors on 404 responses of opengraph image fetching
2023-03-27 13:56:39 +02:00
Julia Kirschenheuter 1e85cb135e Merge pull request #37421 from nextcloud/fix/36916-The_list_of_contacts_represents_a_list,_but_it_was_not_marked_as_such
Change contactsmenu structure to a list
2023-03-27 13:28:49 +02:00
Christoph Wurst 44dc839f7b Revert "Dark autoloader magic for ThemingDefaults"
This reverts commit 4e1d501696.
2023-03-27 12:56:52 +02:00
Christoph Wurst d5dcf7aa39 perf(autoloading): Add authoritative autoloader for theming
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-03-27 12:56:52 +02:00
Nextcloud bot 7803ba18b3 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-27 10:18:15 +00:00
Louis 779b242eb4 Merge pull request #37364 from nextcloud/nc-version
Ask for Nextcloud version on issue reporting
2023-03-27 11:53:31 +02:00
Louis 130440eedd Merge pull request #37380 from Jerome-Herbinet/patch-15
Fix 2FA  blocks' width on login screen
2023-03-27 11:45:31 +02:00
julia.kirschenheuter db0670f0cb Change contactsmenu structure to a list
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-27 10:48:59 +02:00
Simon L 985f7caa99 Merge pull request #37416 from nextcloud/fix/37415
Add back missing dashboard version
2023-03-27 09:57:23 +02:00
jld3103 5c514eac44 Add back missing dashboard version
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-03-27 08:13:29 +02:00
Git'Fellow cfd7a57184 Send header to all browsers under HTTPS
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Don't send Clear-Site-Data to Safari

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Fix lint

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-03-26 15:29:01 +02:00
John Molakvoæ e493e72ffb Merge pull request #37397 from nextcloud/check-exif 2023-03-25 11:01:04 +01:00
Varun Patil 35ea5025dd check-setup: recommend exif extension
JPEG previews are not correctly oriented when exif is not enabled
along with other issues. There's no easy way to discover this either.

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-03-24 18:30:37 -07:00
Robin Appelman 36835b7fec Merge pull request #36810 from nextcloud/setup-user-onetime-before-mounts
do onetime user setup before getting any mount from providers
2023-03-24 16:45:08 +01:00
Simon L fda9d4d0c1 Merge pull request #37340 from nextcloud/fix/undefined-index-mailer-settings
fix(mailer): remove value comparison for smtp_authtype as there is only one option
2023-03-24 15:34:39 +01:00
Christoph Wurst 30d6effe12 Merge pull request #37384 from nextcloud/ci/psalm/security-analysis-ldap
ci(psalm): Install ftp+ldap extension for security scans
2023-03-24 15:19:24 +01:00
Julius Härtl ca1f07b5bd Merge pull request #37211 from nextcloud/fix/36912-create-headings-instead-of-uneeded-labels
Create `<h3>` headings for profile page. Replace `<label>` which have…
2023-03-24 14:56:08 +01:00
Christoph Wurst 936babe17e ci(psalm): Install ftp extension for security scans
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-03-24 13:21:47 +01:00
Christoph Wurst 6c2d9ec73e ci(psalm): Install ldap extension for security scans
Otherwise Psalm runs into tons of `UndefinedConstant`

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-03-24 13:20:08 +01:00
Anna Larch 1368012d97 fix(mailer): check if authentication is neccessary
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-03-24 10:26:04 +00:00
Jérôme Herbinet da03a5e2e0 npm run sass
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-03-24 10:27:40 +01:00
Jérôme Herbinet 3ce5ef5808 Fix 2FA blocks' width
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-03-24 10:19:22 +01:00
julia.kirschenheuter 85feae6d82 Create <h3> headings for profile page. Replace <label> which have no conncted <input> with <h3> heading
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-24 08:49:19 +01:00
Nextcloud bot 97b8e6d2a3 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-24 02:27:05 +00:00
Joas Schilling 553b5a51f6 Merge pull request #37361 from nextcloud/fix/noid/display-name-users-controller-test
Adjust provisioning API tests after #36665
2023-03-23 21:15:10 +01:00
Julien Veyssier 69a1fe206f adjust tests after #36665
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-03-23 18:07:43 +01:00
Simon L 1d4ff2cf10 Merge pull request #37265 from nextcloud/enh/33892/new-attempt
l10n: Spelling unification
2023-03-23 17:22:12 +01:00
nextcloud-command 4afac3879d Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-23 14:51:30 +00:00
Simon L 6f9ee2277d improve dashboard description
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-23 15:01:45 +01:00
Valdnet 47a989e15f l10n: Change name of app to a capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-23 15:01:45 +01:00
Valdnet 9ff265f649 l10n: Delete unnecessary characters
Removal of unnecessary characters that appear in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-03-23 15:01:45 +01:00
Valdnet 300f76ebf7 l10n: Spelling unification
Change the abbreviation to full words.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-03-23 15:01:44 +01:00
Simon L 825f847ef1 Merge pull request #37234 from cob2p/bugfix/typo
Fix the typo in comments
2023-03-23 15:00:41 +01:00
Simon L 67614150b5 Merge pull request #36636 from nextcloud/fix/oc-image-getimagesize
fix OC_Image: Prevent E_WARNING from getimagesize*
2023-03-23 14:59:57 +01:00
Git'Fellow f87a77241b Ask for Nextcloud version on issue reporting
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-03-23 14:13:09 +01:00
Arthur Schiwon a5f05dd4a9 Merge pull request #37351 from nextcloud/del-unlink
Move from DEL to UNLINK
2023-03-23 12:27:51 +01:00
John Molakvoæ cd045ded82 Merge pull request #37268 from nextcloud/backport/37031/master
chore(deps-dev): Bump @nextcloud/webpack-vue-config to `5.5.0`
2023-03-23 08:36:48 +01:00
John Molakvoæ 55ba9601f2 Merge pull request #36532 from nextcloud/dependabot/npm_and_yarn/nextcloud/eslint-config-8.2.1
bump @nextcloud/eslint-config from 8.0.0 to 8.2.1
2023-03-23 08:34:21 +01:00
John Molakvoæ 91eb42076e chore(npm): update dist bundles
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +01:00
John Molakvoæ 40f18c6359 chore(eslint): replace node/no-unpublished-import by n/no-unpublished-import
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +01:00
John Molakvoæ ad6dcea779 chore(eslint): replace node/no-extraneous-import by n/no-extraneous-import
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +01:00
John Molakvoæ 8633f13e0a chore(eslint): fix missing import extensions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +01:00
John Molakvoæ 5adfec3dc6 chore(eslint): replace node/no-missing-import by n/no-missing-import
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 07:31:33 +01:00
dependabot[bot] 0b665b8169 bump @nextcloud/eslint-config from 8.0.0 to 8.2.1
---
updated-dependencies:
- dependency-name: "@nextcloud/eslint-config"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-23 07:27:45 +01:00
Nextcloud bot 4521c79169 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-23 02:27:06 +00:00
Git'Fellow c81ea3aa98 Fix RedisCluster
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-03-22 17:19:07 +01:00
Git'Fellow fab390f884 Move from DEL to UNLINK
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-03-22 17:10:05 +01:00
MichaIng 7fee4b7867 Merge pull request #35699 from nextcloud/dependabot/npm_and_yarn/vue-router-3.6.5
Bump vue-router from 3.5.3 to 3.6.5
2023-03-22 16:04:07 +01:00
Julien Veyssier c838bdb820 Merge pull request #36665 from nextcloud/fix/36539
Always set displayname and display-name for user data
2023-03-22 15:21:29 +01:00
Arthur Schiwon 17afaa488f fix undefined method getExtStorageHome()
- adds a type check
- defines missing method in OfflineUser

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-03-22 13:54:27 +01:00
dependabot[bot] a75cbb5f0b Bump vue-router from 3.5.3 to 3.6.5
Bumps [vue-router](https://github.com/vuejs/router) from 3.5.3 to 3.6.5.
- [Release notes](https://github.com/vuejs/router/releases)
- [Commits](https://github.com/vuejs/router/commits)

---
updated-dependencies:
- dependency-name: vue-router
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-22 12:50:56 +00:00
Joas Schilling 014a634635 Merge pull request #37334 from nextcloud/bugfix/noid/mark-recording-servers-as-sensitive-due-to-secret
fix(security): Mark recording_servers key appconfig as private as it …
2023-03-22 10:27:39 +01:00
Julius Härtl 8b4d49cf50 Merge pull request #36057 from nextcloud/feat/esm-js-scripts 2023-03-22 09:17:28 +01:00
Joas Schilling 381ab5f4cb fix(security): Mark recording_servers key appconfig as private as it contains a secret
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-22 09:14:37 +01:00
Nextcloud bot 9c7d7139b6 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-22 02:43:41 +00:00
Julius Härtl c3a39cbc75 Merge pull request #37305 from nextcloud/fix/security/log-failing-strict-cookie-check
fix(security): Log failing strict cookie check
2023-03-21 19:05:39 +01:00
Côme Chilliet c60182065f Merge pull request #34773 from nextcloud/artonge/feat/dispatch_entry_removed_event_for_all_entries
Dispatch event for all removed entries
2023-03-21 11:42:18 +01:00
Côme Chilliet 8a5374cb63 Avoid having the same name for several workflows
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-21 11:01:21 +01:00
Côme Chilliet 71cdd96d20 Merge pull request #37313 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-03-21 10:03:12 +01:00
Arthur Schiwon fb5c5fffff Merge pull request #37306 from nextcloud/bugfix/37277/caldav-sync
fix(session): Fix DAVx5 sync problems by partial reverting session changes
2023-03-21 09:55:37 +01:00
Julius Härtl 0d75a3096f Merge pull request #36701 from nextcloud/artonge/feat/fc_parent_index
Add parent index on filecache
2023-03-21 08:32:19 +01:00
nextcloud-command 12d830aa9a Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-03-21 04:17:48 +00:00
Nextcloud bot f305c65ec5 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-21 02:27:20 +00:00
Côme Chilliet d08da6238d Bump icewind/streams to 0.7.7 in master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 17:15:23 +01:00
Vitor Mattos a62521faae Fix the example URL
https://github.com/nextcloud/server/pull/37278/files#r1141955740

Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-03-20 12:48:02 -03:00
Joas Schilling 705165d3d1 fix(session): Fix DAVx5 sync problems by partial reverting session changes
Temporary disabled the short cut again to solve issues with CalDAV/CardDAV
clients like DAVx5 that use cookies and need a session. See
https://github.com/nextcloud/server/issues/37277#issuecomment-1476366147
and the other comments for further information.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-20 16:30:42 +01:00
Christoph Wurst 0e6fccf9e1 fix(security): Log failing strict cookie check
The error is silent otherwise and makes it very hard to debug on a
production system.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-03-20 16:26:41 +01:00
Arthur Schiwon 8f59ff880f Merge pull request #37006 from nextcloud/ldap-unmark-dh
also unmark deleted ldap user when checking the ldap entry
2023-03-20 16:15:03 +01:00
Louis Chemineau bda66f9fb6 Add parent index on filecache
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-20 15:02:23 +00:00
Côme Chilliet a3ca6be4d1 Merge pull request #36591 from nextcloud/enh/refactor-app-loading
Refactor app loading
2023-03-20 15:34:11 +01:00
Côme Chilliet 430009b8e2 Add a test for multiKeyEncrypt/Decrypt methods
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 14:19:13 +01:00
Julia Kirschenheuter 76adf9b541 Merge pull request #37271 from nextcloud/fix/36908-set_aria-hidden-for-default-shipped_widgets-icons
Fix description for icons in dashboard widgets
2023-03-20 13:05:12 +01:00
Julius Härtl 55d0d2d457 Merge pull request #37292 from nextcloud/dependabot/npm_and_yarn/jsdom-21.1.1
bump jsdom from 19.0.0 to 21.1.1
2023-03-20 10:46:36 +01:00
julia.kirschenheuter b111c180a5 Fix description for icons in dashboard widgets
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-20 10:23:57 +01:00
Côme Chilliet 13c71ed24a Small cleanups for AppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 10:21:45 +01:00
Côme Chilliet 78c1716818 Move loadApps to the AppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 10:21:45 +01:00
Côme Chilliet 8dc5f82189 Move isType to AppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 10:21:45 +01:00
Côme Chilliet 633ea018af Fix BackgroundCleanupJobTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 10:21:44 +01:00
Côme Chilliet a224551132 Avoid calling Server::get more times than necessary in loadApp
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 10:21:42 +01:00
Côme Chilliet f0bdf2a4cd Strong type private properties and methods in AppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 10:19:42 +01:00
Côme Chilliet 71ed968e34 Switch away from Server::get for AppManager and logger in loadApp
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 10:17:28 +01:00
Côme Chilliet a7c8090dc3 Move loadApp function to the AppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-20 10:01:17 +01:00
Nextcloud bot 07448168dc Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-20 02:27:19 +00:00
Nextcloud bot c0cddec224 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-19 02:27:27 +00:00
dependabot[bot] e728f6d404 bump jsdom from 19.0.0 to 21.1.1
---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-18 04:45:10 +00:00
Nextcloud bot a37519cf9a Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-18 02:27:24 +00:00
Simon L 0b4f4a1692 Merge pull request #37269 from nextcloud/fix/scss-add-important-to-hidden-file-class
fix: add important to css hidden files class
2023-03-17 14:41:25 +01:00
Anna Larch c9a18fc70d fix: add important to css hidden files class
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-03-17 12:40:59 +01:00
Côme Chilliet 24e762c59f Fix encryption file key management
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-17 11:08:59 +01:00
Côme Chilliet 0750481bb7 Adapt encryption recovery tests to new system
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-17 11:08:59 +01:00
Côme Chilliet 26d8fb0b65 Adapt encryption tests to the new system
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-17 11:08:59 +01:00
Côme Chilliet 8900d030d1 Adapt code to new encryption system
fileKey gets deleted upon save as it’s stored in shareKeys instead now.
We use presence of a fileKey to detect if a file is using the legacy
 system or the new one, because we do not always have access to header
 data.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-17 11:08:58 +01:00
Côme Chilliet fbe282caeb Getting rid of openssl_seal and rc4 in server side encryption
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-17 11:08:50 +01:00
Nextcloud bot acca2bdf20 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-17 02:27:13 +00:00
Joas Schilling bfc37afed3 Merge pull request #36928 from nextcloud/techdebt/noid/bruteforce-protection-attribute
feat(middleware): Migrate BruteForceProtection annotation to PHP Attribute and allow multiple
2023-03-16 19:33:13 +01:00
Vitor Mattos 8283b3124c Document talk icon url definition
https://github.com/nextcloud/spreed/pull/8333 introduced an optional `icon-url`
for the call objects in rich messages.

https://github.com/nextcloud/spreed/issues/8389

Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-03-16 13:49:21 -03:00
Joas Schilling 4d4a223b05 Merge pull request #36114 from nextcloud/perf/autoloader/drop-legacy-loader
perf(autoloader): Drop legacy class autoloader
2023-03-16 16:38:00 +01:00
Ferdinand Thiessen d461da3b04 Adjust .htaccess to serve .mjs files with javascript mime type
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-03-16 15:57:51 +01:00
Julia Kirschenheuter 1001769aed Merge pull request #37244 from nextcloud/fix/37179-replace-custom-tooltips-with-native-ones
Replace custom tooltips with native ones and add description to all e…
2023-03-16 15:16:44 +01:00
Joas Schilling 95048100ed Merge pull request #37252 from nextcloud/bugfix/noid/validate-tag
fix(workflow): Check tag attributes
2023-03-16 15:08:58 +01:00
Julia Kirschenheuter 961a1c80ff Merge pull request #37174 from nextcloud/fix/36911-create-h1-heading-for-files
Set `<h1>` headings for navigation through files app
2023-03-16 14:19:33 +01:00
Kate 78779a0f8b Merge pull request #37262 from nextcloud/fix/autocomplete-controller-class
Fix controller class import for autocomplete
2023-03-16 14:12:10 +01:00
Christoph Wurst 416c824c74 perf(autoloader): Drop legacy class autoloader
The documentation says apps should use PSR-4 to get their classes
loaded. The legacy PSR-0 is still in place and has a negative impact on
performance.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-03-16 12:02:09 +00:00
dependabot[bot] 977daf76cd chore(deps-dev): Bump @nextcloud/webpack-vue-config
Bumps [@nextcloud/webpack-vue-config](https://github.com/nextcloud/webpack-vue-config) from `53df7bb` to `516d77c`.
- [Release notes](https://github.com/nextcloud/webpack-vue-config/releases)
- [Commits](https://github.com/nextcloud/webpack-vue-config/compare/53df7bbe61e4a6d960c1d13e63597ce361f3795d...516d77c7012711a741baee53be745168c0456605)

---
updated-dependencies:
- dependency-name: "@nextcloud/webpack-vue-config"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-16 12:56:43 +01:00
Simon L 0e5fcb49d4 Merge pull request #36661 from onny/event-update-mail-subject
Invitation mail: Change subject if event got updated
2023-03-16 12:26:12 +01:00
julia.kirschenheuter b698cb2e8c Replace custom tooltips with native ones and add description to all elements which have title
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-16 12:10:45 +01:00
Marcel Klehr 4a2accaa27 fix OC_Image: Prevent E_WARNING from getimagesize*
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-03-16 11:10:36 +00:00
julia.kirschenheuter 058f7f426c Set <h1> headings for navigation through files app
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-16 11:51:43 +01:00
Louis ad2e242458 Merge pull request #37152 from nextcloud/artonge/fix/title_foar_version_date
Use native tooltip for version's date
2023-03-16 11:30:36 +01:00
jld3103 79507435fa Fix controller class import for autocomplete
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-03-16 09:50:43 +01:00
Joas Schilling 9ba091b348 fix(workflow): Check tag attribute
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-16 08:44:41 +01:00
Nextcloud bot 15b80b6c1a Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-16 02:28:08 +00:00
Joas Schilling 76e60c3da6 Merge pull request #37242 from nextcloud/bugfix/noid/extend-list
Reduce list
2023-03-15 22:39:51 +01:00
Côme Chilliet 8abad79bb8 Merge pull request #37229 from nextcloud/dependabot/composer/giggsey/libphonenumber-for-php-8.13.7
Bump giggsey/libphonenumber-for-php to 8.13.7 in master
2023-03-15 18:14:18 +01:00
Côme Chilliet 8e0828f096 Bump 3rdparty to latest master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-15 18:13:27 +01:00
Joas Schilling 3ecd85f817 Reduce list
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-15 17:33:17 +01:00
Joas Schilling d9bc922a1b Merge pull request #37239 from nextcloud/bugfix/noid/extend-list
Extend list
2023-03-15 17:10:15 +01:00
Joas Schilling 9821913e75 Extend list
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-15 17:08:15 +01:00
Julius Härtl c7c1133c15 Merge pull request #35561 from nextcloud/create-user-transaction 2023-03-15 15:13:50 +01:00
Arthur Schiwon a30d7c51d3 Merge pull request #37227 from nextcloud/h1-dav-brute-force-protection
chore: use local variable for remote address
2023-03-15 15:11:53 +01:00
Côme Chilliet 59036bd056 Fix update-3rdparty command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-15 15:07:27 +01:00
CRA Yoshihito Nakatani fb9c8e3790 Fix the typo in comments 2023-03-15 23:03:24 +09:00
Arthur Schiwon 95eefd38eb Merge pull request #37197 from nextcloud/fix/user_ldap-do-not-send-0-size-pagination-control
Do not send a pagination control with size = 0 if cookie is empty
2023-03-15 14:16:42 +01:00
Thomas Citharel f7e65b1751 Create the database user in a transaction
In OC\User\Manager::createUserFromBackend the newly created user is read
using getUserObject($uid, $backend) but that can cause causal read
issues (wrote in DB primary, not yet in secondary).

In OC\User\Database user backend the user cache is unset after the
insert, so it can't be used by getRealUID() (which is called by
getUserObject()).

To avoid that we make sure the user cache is repopulated in a
transaction.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-03-15 11:07:07 +00:00
Côme Chilliet 8568c11d24 Merge pull request #36033 from nextcloud/invalidateTokensWhenDeletingOAuthClientMaster
[master] invalidate existing tokens when deleting an oauth client
2023-03-15 11:09:51 +01:00
Côme Chilliet 0c3a5bec1e Bump giggsey/libphonenumber-for-php to 8.13.7 in master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-15 11:02:29 +01:00
Côme Chilliet 325c3100c7 Merge pull request #35610 from nextcloud/feat/add-update-3rdparty-command
Add a command to update the 3rdparty submodule to the same branch as …
2023-03-15 10:34:29 +01:00
Joas Schilling 502534d970 Merge pull request #37222 from nextcloud/bugfix/noid/update-psalm-baseline-on-stable26
chore(psalm): Update psalm baseline also on stable26
2023-03-15 09:09:38 +01:00
Joas Schilling ecd443c21b Merge pull request #37221 from nextcloud/save-some-ci-minutes
Save some CI time
2023-03-15 09:08:41 +01:00
Joas Schilling 3fea682907 chore(CI): Update psalm baseline on stable26
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-15 08:13:13 +01:00
Joas Schilling 766f38dc73 Save some CI time
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-15 08:08:18 +01:00
Nextcloud bot 01d58b6f12 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-15 02:26:39 +00:00
Max 9bb2c99b93 doc: /update-3rdparty github command
Signed-off-by: Max <max@nextcloud.com>
2023-03-15 00:03:06 +01:00
Côme Chilliet dc262e5ce2 Add a command to update the 3rdparty submodule to the same branch as the PR target
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-14 22:08:46 +00:00
Côme Chilliet 9c3e06c046 Merge pull request #33061 from ibpl/master-IB#1121253
Paths added to messages and message cleanup
2023-03-14 17:28:22 +01:00
Artur Neumann e97540b9c6 move mocks into private variables
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2023-03-14 17:18:56 +01:00
Artur Neumann e9f5e796f0 autoloaderchecker
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2023-03-14 17:18:56 +01:00
Artur Neumann 565fad8d8c added @since tag
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2023-03-14 17:13:30 +01:00
Artur Neumann 37cfccabc1 unit tests for Manager::invalidateTokensOfUser
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2023-03-14 17:13:30 +01:00
Artur Neumann 707e69b203 adjust SettingsController tests
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2023-03-14 17:13:29 +01:00
Artur Neumann f634badf12 public interface to invalidate tokens of user
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2023-03-14 17:13:29 +01:00
Artur Neumann 21be557e2a invalidate existing tokens when deleting an oauth client
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2023-03-14 17:13:23 +01:00
Côme Chilliet 54da84f296 Merge pull request #37166 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-03-14 17:01:51 +01:00
Simon L 5cba7f0062 Merge pull request #37192 from n0emis/empty-password
Don't try to hash a nonexisting password
2023-03-14 13:14:34 +01:00
Simon L 5918591874 Merge pull request #37168 from nextcloud/bugfix/noid/hide-download-actions
fix(files_sharing): Allow file actions other than download for hide download shares
2023-03-14 13:14:19 +01:00
Simon L 2b291e74d5 Merge pull request #37010 from Nico264/bugfix-cache-control-immutable
Fix Cache-Control header of non-versioned assets
2023-03-14 13:11:52 +01:00
nextcloud-command 4210bc234e Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-03-14 04:13:40 +00:00
Nextcloud bot 1bf68d8037 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-14 02:27:10 +00:00
Côme Chilliet 71328107da Merge pull request #37029 from nextcloud/fix/chunk-objectids-in-systemtagobjectmapper
Add chunking in SystemTagObjectMapper::getTagIdsForObjects
2023-03-13 22:10:47 +01:00
Simon L e4504820a4 Merge pull request #35677 from nextcloud/add-typed-app-management-events
Introduced app enable/disable/update typed events
2023-03-13 21:33:49 +01:00
Côme Chilliet 9b1d7794a8 Add chunking in SystemTagObjectMapper::getTagIdsForObjects
This avoids crashing on Oracle with more than 1000 objects

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-13 17:36:10 +00:00
Julius Härtl b6d1154260 fix(references): Do not log errors on 404 responses of opengraph image fetching
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-13 18:18:04 +01:00
Côme Chilliet d82d6df646 Do not send a pagination control with size = 0 if cookie is empty
It only makes sense to send a pagination control with size 0 with a
 cookie to abandon a paged search.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-13 16:05:41 +01:00
Joas Schilling 4b79e75072 Merge pull request #36852 from nextcloud/bugfix/noid/fix-user-status-automation-on-the-day-rules-are-adjusted
fix(user_status): Fix the user status automation on the day availablity rules are adjusted
2023-03-13 15:30:27 +01:00
Julius Härtl 9d74ea00d4 fix(files_sharing): Allow file actions other than download for hide download shares
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-13 12:51:48 +01:00
Thomas Citharel f1751c4428 Introduced app enable/disable/update typed events
OCP\App\ManagerEvent is depreciated since 22 without a replacement

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-03-13 11:52:57 +01:00
Anna ac90fa2f8e Merge pull request #36800 from rotdrop/feature/dav-macos-quirks
apps/dav: add some OSX specific quirks.
2023-03-13 11:46:19 +01:00
Joas Schilling c7400fa4d5 fix(CI): Add unit test for nextcloud/server#37167
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-13 11:41:36 +01:00
Joas Schilling c3c3dcbcd9 fix(user_status): Fix the user status automation on the day availability rules are adjusted
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-13 11:41:36 +01:00
Anna 44f452d5cb Merge pull request #37167 from nextcloud/dav/fix/availability
fix(dav): Handle no next potential toggle in availability detection
2023-03-13 11:36:38 +01:00
Julius Härtl f00f4244d4 fix: Check return type on rollback
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-13 10:59:33 +01:00
Robin Appelman 62e6a32899 don't re-get fileinfo for versioned file if it's not shared
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-03-13 10:52:37 +01:00
Julius Härtl c22d51c1ad tests(files_versions): Tear down fs to clear mount cache before testing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-13 10:52:37 +01:00
Julius Härtl cf46bd6915 fix: Make sure that rollback hook is triggered on all version backends
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-13 10:52:35 +01:00
Ember 'n0emis' Keske 6881d2f2f1 Don't try to hash a nonexisting password
Allows to log-in via a passwordless authentication provider, eg SSO

Signed-off-by: Ember 'n0emis' Keske <git@n0emis.eu>
2023-03-13 10:32:53 +01:00
Nextcloud bot ade49e0b15 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-13 02:28:47 +00:00
Nextcloud bot dda79b583d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-12 02:27:43 +00:00
Nicolas Guichard 7aae6c12e5 Fix Cache-Control header of non-versioned assets
Non-cache-busted assets such as /dist/core-main.js also matched the
regex meant for cache-busted assets (note the ? at the end of the
regex).
The FilesMatch directive for cache-busted assets coming after the
non-cache-busted version all assets actually got the immutable flag
in their Cache-Control header. This caused client-side errors on
updates.

Query strings are not actually passed to FilesMatch directives so we
need another way to tell cache-busted/versionned assets apart from
non-versioned assets, here using If/Else directives.

Signed-off-by: Nicolas Guichard <nicolas@guichard.eu>
2023-03-11 18:17:53 +01:00
dependabot[bot] 9137908b2c Merge pull request #37183 from nextcloud/dependabot/npm_and_yarn/babel-jest-29.5.0 2023-03-11 08:22:42 +00:00
dependabot[bot] c444a8f56a bump babel-jest from 29.0.3 to 29.5.0
---
updated-dependencies:
- dependency-name: babel-jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-11 04:51:33 +00:00
Nextcloud bot fd22f2be3d Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-11 02:27:58 +00:00
Daniel Kesselberg 39c1b6f49f chore(tests): add tests for handleLoginFailed
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-03-10 18:04:39 +01:00
Daniel Kesselberg f751d2d891 chore: use local variable for remote address
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-03-10 18:04:34 +01:00
Thomas Citharel 5c5de0bac1 fix(dav): Handle no next potential toggle in availability detection
Fixes:  min(): Array must contain at least one element at /var/www/nc/nextcloud/apps/dav/lib/BackgroundJob/UserStatusAutomation.php#142
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-03-10 12:18:13 +01:00
Nextcloud bot 16b68fdb34 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-10 02:27:15 +00:00
Simon L 11f46fc219 Merge pull request #37145 from nextcloud/enh/noid/add-link-to-app-tokens
add a direct link from files settings to app-token-settings
2023-03-09 19:19:04 +01:00
Louis Chemineau 97b56da75e Use native tooltip for versions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-09 17:38:51 +01:00
Louis Chemineau 45c8a829c0 Add underline decoration to links and use div element as target
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-09 15:17:18 +01:00
Arthur Schiwon 315510df84 Merge pull request #27034 from nextcloud/enh/s3-multipart-upload-api
Use MultipartUpload for uploading chunks to s3
2023-03-09 13:55:57 +01:00
Simon L 0ced170567 increase imaginary timeouts as for big files the processing could take very long
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-09 13:15:35 +01:00
Simon L e6a81a692a add a direct link from files settings to app-token-settings
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-09 11:26:09 +00:00
Simon L 691aa8d025 Merge pull request #37140 from nextcloud/enh/35643/fix-heic-previews
imaginary - fix autorotate for heic and improve the logic
2023-03-09 10:25:54 +01:00
Simon L 6b09bdbe7c Merge pull request #37126 from nextcloud/enh/37125/fix-white-scrollbar-corner
fix white scrollbar corner in dark mode
2023-03-09 10:25:29 +01:00
Simon L 694f743829 Merge pull request #37070 from nextcloud/enh/noid/add-free-disk-space-check
add a check for disk_free_space in Config.php
2023-03-09 10:24:20 +01:00
Simon L 3dbe108568 Merge pull request #37116 from nextcloud/enh/37114/add-quotes
postgresql installation - add quotes around user names
2023-03-09 10:22:35 +01:00
Arthur Schiwon 61aa0978ae Merge pull request #36609 from nextcloud/lazyuserfolder-mountpoint
optimize LazyUserFolder::getMountPoint
2023-03-09 09:46:34 +01:00
Nextcloud bot d7aa58eab5 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-09 02:29:13 +00:00
Simon L b39329c21c imaginary - fix autorotate and improve the logic
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-09 00:11:37 +01:00
Simon L 46a441a448 Merge pull request #37124 from ColmenaDev/master
Added .weba mime type mapping.
2023-03-08 22:09:21 +01:00
MichaIng 2cccba1676 Merge pull request #37117 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-03-08 21:14:16 +01:00
Joas Schilling f60e1f751d Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-08 20:47:46 +01:00
Julius Härtl d2a0571675 tests(integration): Fix catching error only on object store
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-08 20:23:29 +01:00
Julius Härtl 127af09c08 Merge pull request #37139 from nextcloud/share-type-sciencemesh 2023-03-08 18:30:16 +01:00
Louis Chemineau 517b2ebac5 Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-08 16:51:37 +01:00
Michiel de Jong c0e84cb512 Add SHARE_TYPE_SCIENCEMESH
Signed-off-by: Michiel de Jong <michiel@unhosted.org>
2023-03-08 16:46:55 +01:00
Simon L 945bbcb1a4 fix white scrollbar corner in dark mode
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-08 13:30:04 +00:00
Julius Härtl 237dcda8fd chore: Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-08 14:04:31 +01:00
Julius Härtl cb30c81010 chore(psalm): Make psalm aware of sabre/uri
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-08 14:00:04 +01:00
Julius Härtl e23aa8883e feat(s3): Use multipart upload for chunked uploading
This allows to stream file chunks directly to S3 during upload.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-08 14:00:04 +01:00
Rafael Diniz ffa7b37d50 Added .weba mime type mapping. 2023-03-08 15:13:15 +03:00
Joas Schilling 0f7146c652 Move encrypt-all password email to EmailTemplate
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-08 12:15:18 +01:00
Joas Schilling 2b49861679 Add a debug message when throttling without defining
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-08 12:09:22 +01:00
Joas Schilling e839eb9b5c feat(middleware): Migrate BruteForceProtection annotation to PHP Attribute and allow multiple
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-08 12:09:22 +01:00
Joas Schilling 80e12cf726 Merge pull request #37121 from nextcloud/bugfix/noid/fix-deprecation-url
fix(docs): Fix URL to docs of deprecated function humanFileSize
2023-03-08 11:44:22 +01:00
Joas Schilling d696687ed6 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-08 10:25:26 +01:00
Joas Schilling 188e486bc0 fix(docs): Fix URL to docs of deprecated function humanFileSize
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-08 10:23:22 +01:00
Louis 88b03d69ce Merge pull request #37060 from nextcloud/fix/versions-webroot-url
Fix download URL for versions
2023-03-08 10:20:43 +01:00
Joas Schilling 11a0cb7f22 Merge pull request #32038 from nextcloud/bugfix/noid/only-update-indexes-after-changing-all-mounts
Add transaction around mass mounts operations
2023-03-08 08:52:54 +01:00
Julia Kirschenheuter f1abecdf47 Merge pull request #36640 from nextcloud/fix/35626-No_heading_nor_tab_index_for_settings_pages
Create headings for apps, users, settings pages
2023-03-08 08:08:25 +01:00
nextcloud-command ec33647947 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-03-08 04:29:08 +00:00
Nextcloud bot 5ce7336a1b Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-08 02:28:45 +00:00
Simon L 40edac18f5 postgresql - add quotes around user names
fix https://github.com/nextcloud/server/issues/37114

Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-08 01:03:27 +01:00
dependabot[bot] 1f9a8225fd Merge pull request #36901 from nextcloud/dependabot/npm_and_yarn/babel/node-7.20.7 2023-03-07 21:42:55 +00:00
dependabot[bot] 75ba475a5c chore(deps-dev): Bump @babel/node from 7.20.0 to 7.20.7
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.20.0 to 7.20.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.20.7/packages/babel-node)

---
updated-dependencies:
- dependency-name: "@babel/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-07 21:07:33 +00:00
Joas Schilling 6b0cef6b9a Add transaction around mass mounts operations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-07 19:58:55 +00:00
julia.kirschenheuter 0cfbe54a5a Create headings for settings pages
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-07 17:51:19 +01:00
Git'Fellow 28231ae515 Add function_exists() check
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-03-07 17:09:24 +01:00
Claus-Justus Heine 64e9dcc9c3 apps/dav: add some OSX specific quirks.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2023-03-07 16:23:30 +01:00
Christopher Ng 72e2cabf40 Fix download URL for versions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-07 10:14:33 +00:00
Simon L e87d968c24 add a check for disk_free_space in Config.php
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-07 09:43:14 +00:00
Simon L 55db978090 Merge pull request #37069 from nextcloud/bugfix/noid/fix-acceptance-test-selector-after-vue-lib-update
fix(CI): Fix acceptance test password field selector after @nextcloud…
2023-03-07 10:24:18 +01:00
Joas Schilling 1e026a98af Merge pull request #37026 from nextcloud/fix/route-logs
fix: Avoid log spam on 404 routes not using GET
2023-03-07 10:24:03 +01:00
Maxence Lange e1b91fecf1 Merge pull request #36883 from nextcloud/fix/noid/gs-saml-pre-login-event
dispatch BeforeUserLoggedInEvent
2023-03-07 08:01:18 -01:00
Joas Schilling b4f51fe728 fix(CI): Fix acceptance test password field selector after @nextcloud/vue lib update
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-07 09:34:47 +01:00
Julius Härtl 9e73412e3f Merge pull request #34835 from nextcloud/tests/integration-s3 2023-03-07 07:20:38 +01:00
Nextcloud bot cddfb01d99 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-07 02:26:34 +00:00
Pytal 24d4fa9d2e Merge pull request #36772 from nextcloud/enh/a11y-ocdialog-close
Add label and switch ocdialog close button to button element
2023-03-06 16:37:39 -08:00
Git'Fellow 9ac065fb92 Fix free space problems
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-03-07 00:13:57 +01:00
Julius Härtl d515da502f fix: Use proper path for quota fetching
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-06 22:46:07 +00:00
Julius Härtl 3287eddbbc fix: Recalculate storage statistics on updating the quota
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-06 22:46:07 +00:00
Julius Härtl b59cf4c1d4 Run webdav related integration tests on github actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-06 22:46:07 +00:00
Christopher Ng 864fb3fe63 Add label and switch ocdialog close button to button element
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-06 12:56:12 -08:00
Joas Schilling 394ad988c7 Merge pull request #36904 from nextcloud/bugfix/noid/fix-controller-setup-for-guests
fix(files): Fix controller setup for guests
2023-03-06 14:20:25 +01:00
Joas Schilling eddc6f2103 Merge pull request #35872 from nextcloud/feature/noid/psr-clock-interface
feat(appframework):  Make ITimeFactory extend \PSR\Clock\ClockInterface
2023-03-06 09:49:18 +01:00
Nextcloud bot 7df188b200 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-06 02:27:01 +00:00
Joas Schilling e5ee2ec441 Merge pull request #37040 from nextcloud/techdebt/noid/remove-deprecated-classes
techdebt(workflowengine): Remove transition event classes
2023-03-05 16:54:47 +01:00
Nextcloud bot 9e58e7b677 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-05 02:27:50 +00:00
Simon L b8390db624 Merge pull request #37048 from nextcloud/enh/noid/improve-update-wording
update wording for disabled web updater
2023-03-04 18:48:25 +01:00
Simon L f8bb8dc3a0 update wording for disabled web updater
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-04 16:24:46 +01:00
Nextcloud bot a5370fc71e Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-04 02:27:21 +00:00
Pytal 6c79621745 Merge pull request #36740 from nextcloud/enh/a11y-contact-img-alt
Add avatar contact img description
2023-03-03 14:29:52 -08:00
Christopher Ng 9d904b144b Add avatar contact img description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-03 13:22:14 -08:00
Joas Schilling c297f8ee96 feat(appframework): Make ITimeFactory extend \PSR\Clock\ClockInterface
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 15:37:13 +01:00
Joas Schilling 5bc86dd6ac techdebt(workflowengine): Remove transition event classes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 15:33:17 +01:00
John Molakvoæ c5da4b8737 Merge pull request #36736 from Glandos/patch-2 2023-03-03 13:35:06 +01:00
John Molakvoæ d5a16d8d92 Merge pull request #37028 from nextcloud/design/distraction-free-backgrounds
Add distraction free backgrounds for Nextcloud 26
2023-03-03 13:18:39 +01:00
Joas Schilling de64c96a67 Merge pull request #36941 from nextcloud/bugfix/prevent-error-with-oracle-database
Split the comments ids by chunks
2023-03-03 12:37:15 +01:00
blizzz 26e3d5111f Merge pull request #37023 from nextcloud/master-is-now-27
Master is now 27
2023-03-03 11:17:39 +01:00
Jan C. Borchardt 8c9a9195b9 Add distraction free backgrounds for Nextcloud 26
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2023-03-03 17:55:19 +09:00
Julius Härtl bbc6eee803 fix: Avoid log spam on 404 routes not using GET
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-03 09:40:43 +01:00
Joas Schilling 7fdd238f9e chore(CI): Make it easier to find the right place in the future
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 06:55:50 +01:00
Joas Schilling ae915cff05 chore(CI): Backport the CA Cert update to stable26
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 06:55:16 +01:00
Joas Schilling d21db216f7 chore(release): Bump requirements and versions in apps/
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 06:44:27 +01:00
Joas Schilling 87f103dc6c chore(release): Bump Major version in master branch to 27
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 06:37:29 +01:00
Joas Schilling a4f0a531ca chore(security): Bump "Expires" of well-known/security.txt
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 06:36:41 +01:00
Joas Schilling 97e84f860b chore(CI): Add stable26 to dependabot config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03 06:36:02 +01:00
Robin Appelman 3a9597fd1b also unmark deleted ldap user when checking the ldap entry
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-03-02 16:22:17 +01:00
Maxence Lange 980e8e24f0 dispatch BeforeUserLoggedInEvent
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-03-01 15:31:31 -01:00
Vitor Mattos e9295f739e Split the comments ids by chunks
Split the comments ids by chunks to prevent error with Oracle database
that can't do a query with more than 1000 parameters.

https://github.com/nextcloud/spreed/issues/8287

Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-03-01 13:08:17 -03:00
Joas Schilling c02080fccb fix(files): Fix controller setup for guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-28 15:34:11 +01:00
Ilya Apasov 3a11f91dee Update Checker.php
Signed-off-by: Ilya Apasov <apasov@users.noreply.github.com>
2023-02-28 13:39:02 +02:00
Akhil e823718383 Remove reminder if max instances exceeded
Signed-off-by: Akhil <akhil@e.email>
2023-02-27 15:56:39 +05:30
Akhil Potukuchi e354e9266e Update apps/dav/lib/CalDAV/Reminder/ReminderService.php
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Akhil Potukuchi <akhil.potukuchi@gmail.com>
2023-02-27 12:55:48 +05:30
Akhil 9f9da964f6 Fix max instances exception for get vevent call
Signed-off-by: Akhil <akhil@e.email>
2023-02-26 21:27:37 +05:30
Ferdinand Thiessen a3595f73ac fix(OC/Template): Allow .mjs files within custom app paths
If apps are installed in non standard app paths, we need
to check `$app_path/$script` instead of only doing so for translations.
Without this it would fallback to `.js` extension even if a `.mjs` file exists.

Also tried make the code more selfe explaining.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-22 21:19:37 +01:00
Ferdinand Thiessen b642137c65 feat(OC/Template): Add type="module" for ES6 scripts
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-22 21:19:37 +01:00
Ferdinand Thiessen 00e041b907 feat(template): Allow JSResourceLocator to find ES6 scripts
Enable module js (ES6) support on the `JSResourceLocator`.
This changes `JSResourceLocator` to look for `.mjs` files first
to allow applications to provide a fallback `.js` for older Nextcloud versions.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-22 21:19:37 +01:00
Ferdinand Thiessen dbb1fa1273 fix(OC/Template): Remove usage of deprecated functions in JSResourceLocator
Move from `\OC_App::getAppPath` to `IAppManager::getAppPath`.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-22 21:19:37 +01:00
Robin Appelman fb1095f0f6 do onetime user setup before getting any mount from providers
this fixes a race condition where wrappers weren't properly applied if when a mount provider creates the storage instance one mountpoint creation instead of lazily

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-22 18:03:38 +01:00
Anna Larch ed70815076 Fix calendar emails to be outlook compatible
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-02-21 14:37:11 +01:00
Côme Chilliet 0186194ae9 Properly test and log when a group is not found
Avoid an error about passing null instead of IGroup to the event
 constructor, instead skip the failed group and log the problem.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-20 17:34:53 +01:00
Jonas Heinrich 944efa388a Invitation mail: Change subject if event got updated
Signed-off-by: Jonas Heinrich <heinrich@synyx.de>
2023-02-20 13:53:53 +01:00
Glandos 3bea7af7b7 fix indent 2
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-02-16 10:10:12 +01:00
Glandos 59e7ed1fad fix indent
Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-02-15 23:40:16 +01:00
Glandos 528e66859b Use proc_open to avoid spawning a shell
The use of `exec` will spawn a shell, using `/bin/sh` on POSIX platforms. But in restricted environment, such as AppArmor, this means giving execution to `/bin/sh`, which renders the execution restriction quite useless.
Using an array with `proc_open` reduces this, and paved the way for file streaming instead of temporary file.

Signed-off-by: Glandos <bugs-github@antipoul.fr>
2023-02-15 23:37:13 +01:00
Thomas Citharel e60888d988 fix(preview-generator): Throw exception before dividing by zero when generating previews
If the maximum preview generated gives some kind of invalid IImage, it's dimentions and filename can be set to zero.
And then later we do a division by zero to keep the aspect ratio of the previews.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-02-13 16:47:28 +01:00
Robin Appelman d6818ba894 optimize LazyUserFolder::getMountPoint
no need to do a full setup

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-13 15:13:50 +01:00
jld3103 b271096495 Fix OCM validation errors
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-02-10 22:56:32 +01:00
jld3103 77f7da9921 Always set displayname and display-name for user data
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-02-10 21:52:54 +01:00
Louis Chemineau 2830eeac7e Dispatch event for all remove entry
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-31 13:30:10 +00:00
Thomas Citharel 62739ecf6c Handle reminders where calendar name is null
This adds an interface change, but that's not a public API.

We're handling this in the providers and not in ReminderService because
the fallback is translated with the user's language.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-01-18 14:30:43 +01:00
Robin Appelman ac5cfd10e2 extend path-prefix optimizer to remove all cases of path_hash= when encountering a path prefix filter
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-01-11 16:38:41 +01:00
Pawel Boguslawski 4a46c747e9 Merge master 2022-11-04 13:34:21 +01:00
Nextcloud bot 9b8916457c Updating lint-eslint.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-10-15 13:39:15 +00:00
Paweł Bogusławski a850424b1b Update Folder.php
Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
2022-07-29 13:34:00 +02:00
Paweł Bogusławski 097b78594a Update Folder.php
Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
2022-07-29 13:34:00 +02:00
Paweł Bogusławski 04baf69fea Update lib/private/Files/Node/Folder.php
Co-authored-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
2022-07-29 13:34:00 +02:00
Pawel Boguslawski 9eb1a92fa4 Paths added to messages and message cleanup
This mod adds path to error messages. Without it it's difficult for example
to find what path causes permission problems.

Related: https://help.nextcloud.com/t/ocp-files-notpermittedexception-could-not-create-folder/133818
Related: https://help.nextcloud.com/t/could-not-create-folder-false-error/65962/
Author-Change-Id: IB#1121253
Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
2022-07-29 13:34:00 +02:00
4912 changed files with 211363 additions and 113551 deletions
+67 -28
View File
@@ -1,34 +1,56 @@
FROM ubuntu:focal
FROM ubuntu:jammy
ARG DEBIAN_FRONTEND=noninteractive
# PHP
RUN apt-get update -y
RUN apt-get update -y && \
apt install -y apache2 vim software-properties-common sudo nano gnupg2
RUN apt-get install --no-install-recommends -y \
php7.4 \
php7.4-gd \
php7.4-zip \
php7.4-curl \
php7.4-xml \
php7.4-mbstring \
php7.4-sqlite \
php7.4-xdebug \
php7.4-pgsql \
php7.4-intl \
php7.4-imagick \
php7.4-gmp \
php7.4-apcu \
php7.4-bcmath \
php8.1 \
php8.1-common \
php8.1-gd \
php8.1-zip \
php8.1-curl \
php8.1-xml \
php8.1-xmlrpc \
php8.1-mbstring \
php8.1-sqlite \
php8.1-xdebug \
php8.1-pgsql \
php8.1-intl \
php8.1-imagick \
php8.1-gmp \
php8.1-apcu \
php8.1-bcmath \
php8.1-redis \
php8.1-soap \
php8.1-imap \
php8.1-opcache \
php8.1-cli \
php8.1-dev \
libmagickcore-6.q16-3-extra \
curl \
vim \
lsof \
make \
nodejs \
npm
unzip
RUN echo "xdebug.remote_enable = 1" >> /etc/php/7.4/cli/conf.d/20-xdebug.ini
RUN echo "xdebug.remote_autostart = 1" >> /etc/php/7.4/cli/conf.d/20-xdebug.ini
# Composer
RUN curl -sS https://getcomposer.org/installer -o /tmp/composer-setup.php && \
curl -sS https://composer.github.io/installer.sig -o /tmp/composer-setup.sig && \
php -r "if (hash_file('sha384', '/tmp/composer-setup.php') !== trim(file_get_contents('/tmp/composer-setup.sig'))) { echo 'Composer installation failed, invalid hash'; exit(1); }" && \
php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer && \
rm /tmp/composer-setup.php /tmp/composer-setup.sig
RUN echo "xdebug.remote_enable = 1" >> /etc/php/8.1/cli/conf.d/20-xdebug.ini && \
echo "xdebug.remote_autostart = 1" >> /etc/php/8.1/cli/conf.d/20-xdebug.ini && \
echo "apc.enable_cli=1" >> /etc/php/8.1/cli/conf.d/20-apcu.ini
# Autostart XDebug for apache
RUN { \
echo "xdebug.mode=debug"; \
echo "xdebug.start_with_request=yes"; \
} >> /etc/php/8.1/apache2/conf.d/20-xdebug.ini
# Docker
RUN apt-get -y install \
@@ -36,12 +58,29 @@ RUN apt-get -y install \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
RUN add-apt-repository \
software-properties-common && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && \
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
RUN apt-get update -y
RUN apt-get install -y docker-ce docker-ce-cli containerd.io
RUN ln -s /var/run/docker-host.sock /var/run/docker.sock
stable" && \
apt-get update -y && \
apt-get install -y docker-ce docker-ce-cli containerd.io && \
ln -s /var/run/docker-host.sock /var/run/docker.sock
# Dedicated DevContainer user runs Apache
ENV APACHE_RUN_USER=devcontainer
ENV APACHE_RUN_GROUP=devcontainer
RUN useradd -ms /bin/bash ${APACHE_RUN_USER} && \
adduser ${APACHE_RUN_USER} sudo && \
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers && \
sed -ri "s/^export APACHE_RUN_USER=.*$/export APACHE_RUN_USER=${APACHE_RUN_USER}/" "/etc/apache2/envvars" && \
sed -ri "s/^export APACHE_RUN_GROUP=.*$/export APACHE_RUN_GROUP=${APACHE_RUN_GROUP}/" "/etc/apache2/envvars"
USER devcontainer
# NVM
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
RUN bash --login -i -c 'source /home/devcontainer/.bashrc && nvm install 16'
WORKDIR /var/www/html
+72
View File
@@ -0,0 +1,72 @@
# Nextcloud DevContainer
## Usage
Make sure you have the [VSCode DevContainer](https://code.visualstudio.com/docs/devcontainers/containers) extensions installed. If you open the project, VSCode will ask you if you want to open it inside of the DevContainer. If that's not the case, use <kbd>F1</kbd>&rarr;*Dev Containers: Open Folder in Container*.
Alternatively open the project directly in [GitHub Codespaces](https://github.com/features/codespaces).
That's already it. Everything else will be configured automatically by the Containers startup routine.
## Credentials
On first start the Container installs and configures Nextcloud with the following credentials:
**Nextcloud Admin Login**
Username: `admin` <br>
Password: `admin`
**Postgres credentials**
Username: `postgres` <br>
Password: `postgres` <br>
Database: `postgres`
## Services
The following services will be started:
| Service | Local port | Description |
|---------|------------|-------------|
| Nextcloud (served via Apache) | `80` | The main application |
| Mailhog | `8025` | SMTP email delivery for testing |
| Adminer | `8080` | Database viewer. Use credentials from above and connect to `localhost` to get access to the NC database |
## Permissions
The container runs with the user `devcontainer` who is also running the Apache2 process. All mounted source files have
proper permissions so that this user can access everything which is inside the current workspace. If you need to
get root permissions for whatever reason, use `sudo su` or `sudo <command>` (for example `sudo service apache2 restart`).
Everything else (like building the application, adjusting files, ...) should be done as `devcontainer` user.
## NodeJs and NVM
The container comes with [`nvm`](https://github.com/nvm-sh/nvm) and Node 16 installed. This should be sufficient to
build Nextcloud Core sources via `make`. If you need a different Node Version (for example for
app development), you can easily switch between different versions by running:
```bash
# Install and use Node 14
nvm install 14
nvm use 14
# Check version
node -v
# Switch back to Node 16
nvm use 16
# Check version
node -v
```
Note that `nvm` is only installed for the user `devcontainer` and won't work out of the box for
any other user.
## Debugging
The Apache webserver is already configured to automatically try to connect to a debugger process
listening on port `9003`. To start the VSCode debugger process, use the delivered debug profile `Listen for XDebug`.
After you started the VSCode debugger, just navigate to the appropriate Nextcloud URL to get your
debug hits.
+4 -1
View File
@@ -14,6 +14,9 @@ $CONFIG = [
];
if(is_string($codespaceName) && !empty($codespaceName) && is_string($codespaceDomain) && !empty($codespaceDomain)) {
$CONFIG['overwritehost'] = $codespaceName . '-80.' . $codespaceDomain;
$host = $codespaceName . '-80.' . $codespaceDomain;
$CONFIG['overwritehost'] = $host;
$CONFIG['overwrite.cli.url'] = 'https://' . $host;
$CONFIG['overwriteprotocol'] = 'https';
$CONFIG['trusted_domains'] = [ $host ];
}
+16 -11
View File
@@ -8,15 +8,20 @@
8080,
8025
],
"runArgs": [
"--privileged"
],
"extensions": [
"felixfbecker.php-debug",
"felixfbecker.php-intellisense",
"ms-azuretools.vscode-docker"
],
"settings": {
"php.suggest.basic": false,
}
"customizations": {
"vscode": {
"extensions": [
"felixfbecker.php-debug",
"felixfbecker.php-intellisense",
"ms-azuretools.vscode-docker",
"xdebug.php-debug",
"donjayamanne.githistory"
],
"settings": {
"php.suggest.basic": false
}
}
},
"workspaceFolder": "/var/www/html",
"remoteUser": "devcontainer"
}
+8 -1
View File
@@ -5,7 +5,8 @@ services:
volumes:
- .:/workspace:cached
- /var/run/docker.sock:/var/run/docker-host.sock
command: /bin/sh -c "while sleep 1000; do :; done"
- ..:/var/www/html
command: /var/www/html/.devcontainer/entrypoint.sh
ports:
- 80:80
- 8080:8080
@@ -16,6 +17,9 @@ services:
restart: always
environment:
POSTGRES_PASSWORD: postgres
PGDATA: /data/postgres
volumes:
- db:/data/postgres
network_mode: service:nextclouddev
adminer:
@@ -27,3 +31,6 @@ services:
image: mailhog/mailhog
restart: always
network_mode: service:nextclouddev
volumes:
db:
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
sudo service apache2 start
while sleep 1000; do :; done
+14
View File
@@ -0,0 +1,14 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"port": 9003
}
]
}
+25
View File
@@ -2,7 +2,32 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" >/dev/null 2>&1 && pwd )"
cd $DIR/
# Set git safe.directory
git config --global --add safe.directory /var/www/html
git config --global --add safe.directory /var/www/html/3rdparty
git submodule update --init
# Codespace config
cp .devcontainer/codespace.config.php config/codespace.config.php
# VSCode debugger profile
mkdir -p .vscode && cp .devcontainer/launch.json .vscode/launch.json
# Onetime installation setup
if [[ ! $(sudo -u ${APACHE_RUN_USER} php occ status) =~ installed:[[:space:]]*true ]]; then
echo "Running NC installation"
sudo -u ${APACHE_RUN_USER} php occ maintenance:install \
--verbose \
--database=pgsql \
--database-name=postgres \
--database-host=127.0.0.1 \
--database-port=5432 \
--database-user=postgres \
--database-pass=postgres \
--admin-user admin \
--admin-pass admin
fi
sudo service apache2 restart
+6 -62
View File
@@ -1,3 +1,4 @@
---
kind: pipeline
name: checkers
@@ -1238,9 +1239,9 @@ steps:
- name: install-talk
image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
commands:
# JavaScript files are not used in integration tests so it is not needed to
# JavaScript files are not used in integration tests, so it is not needed to
# build them.
- git clone --depth 1 https://github.com/nextcloud/spreed apps/spreed
- git clone --depth 1 --branch stable27 https://github.com/nextcloud/spreed apps/spreed
- cd apps/spreed
- composer --version
- composer self-update --2
@@ -1620,66 +1621,6 @@ trigger:
- pull_request
- push
---
kind: pipeline
name: acceptance-app-files-sharing
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: acceptance-app-files-sharing
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-sharing --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-sharing.feature
services:
- name: selenium
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
environment:
# Reduce default log level for Selenium server (INFO) as it is too
# verbose.
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: acceptance-app-files-sharing-link
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: acceptance-app-files-sharing-link
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-sharing-link --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-sharing-link.feature
services:
- name: selenium
image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
environment:
# Reduce default log level for Selenium server (INFO) as it is too
# verbose.
JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
trigger:
branch:
- master
- stable*
event:
- pull_request
- push
---
kind: pipeline
name: acceptance-app-files-tags
@@ -1995,3 +1936,6 @@ trigger:
event:
- pull_request
- push
---
kind: signature
hmac: 2d0d62a101c8298e620654f77baeaa4bb2eed398c571d3a32f64d140a59e71f0
+4
View File
@@ -23,3 +23,7 @@ trim_trailing_whitespace = false
[*.svg]
insert_final_newline = false
[build/psalm-baseline.xml]
indent_size = 2
indent_style = space
+3
View File
@@ -10,6 +10,9 @@ module.exports = {
firstDay: true,
'cypress/globals': true,
},
parserOptions: {
parser: '@typescript-eslint/parser',
},
plugins: [
'cypress',
],
+1
View File
@@ -1,3 +1,4 @@
/dist/* binary
/package-lock.json merge=binary
/core/css/*.css* binary
/.devcontainer/*.sh text eol=lf
+39 -12
View File
@@ -1,16 +1,43 @@
*/Activity/* @nickvergessen
*/Notifications/* @nickvergessen
/apps/dav/lib/CalDAV @ChristophWurst @miaulalala @tcitworld
/apps/dav/lib/CardDAV @ChristophWurst @miaulalala @tcitworld
# App maintainers
/apps/admin_audit/appinfo/info.xml @luka-nextcloud @blizzz
/apps/cloud_federation_api/appinfo/info.xml @mejo-
/apps/comments/appinfo/info.xml @marcelklehr @Pytal
/apps/contactsinteraction/appinfo/info.xml @kesselb @miaulalala @ChristophWurst @GretaD @hamza221 @st3iny
/apps/dashboard/appinfo/info.xml @julien-nc @juliushaertl
/apps/dav/lib/CalDAV @ChristophWurst @miaulalala @tcitworld
/apps/dav/lib/CardDAV @ChristophWurst @miaulalala @tcitworld
/apps/encryption/appinfo/info.xml @come-nc @icewind1991
/apps/federatedfilesharing/appinfo/info.xml @icewind1991 @danxuliu
/apps/federation/appinfo/info.xml @datenangebot
/apps/files/appinfo/info.xml @skjnldsv @Pytal @ArtificialOwl @come-nc @artonge @icewind1991 @szaimen @susnux @Fenn-CS
/apps/files_external/appinfo/info.xml @icewind1991 @artonge
/apps/files_reminders/appinfo/info.xml @Pytal
/apps/files_sharing/appinfo/info.xml @skjnldsv @come-nc
/apps/files_trashbin/appinfo/info.xml @Pytal @icewind1991
/apps/files_versions/appinfo/info.xml @artonge @icewind1991
/apps/oauth2/appinfo/info.xml @julien-nc @ChristophWurst
/apps/provisioning_api/appinfo/info.xml @provokateurin @nickvergessen
/apps/settings/appinfo/info.xml @Pytal @JuliaKirschenheuter
/apps/systemtags/appinfo/info.xml @Antreesy @marcelklehr
/apps/theming/appinfo/info.xml @skjnldsv @juliushaertl
/apps/twofactor_backupcodes/appinfo/info.xml @st3iny @miaulalala @ChristophWurst
/apps/updatenotification/appinfo/info.xml @Pytal @JuliaKirschenheuter
/apps/user_ldap/appinfo/info.xml @come-nc @blizzz
/apps/user_status/appinfo/info.xml @Antreesy @nickvergessen
/apps/weather_status/appinfo/info.xml @julien-nc @juliushaertl
/apps/workflowengine/appinfo/info.xml @blizzz @juliushaertl
# Security team
/resources/config/ca-bundle.crt @ChristophWurst @miaulalala @nickvergessen
# Two-Factor Authentication
# https://github.com/nextcloud/wg-two-factor-authentication#members
/apps/twofactor_backupcodes @ChristophWurst @miaulalala @nickvergessen
*/TwoFactorAuth/* @ChristophWurst @miaulalala @nickvergessen
/core/templates/twofactor* @ChristophWurst @miaulalala @nickvergessen
/apps/twofactor_backupcodes @ChristophWurst @miaulalala @nickvergessen
*/TwoFactorAuth/* @ChristophWurst @miaulalala @nickvergessen
/core/templates/twofactor* @ChristophWurst @miaulalala @nickvergessen
/lib/private/Profiler @CarlSchwan
/lib/public/Profiler @CarlSchwan
# Security team
resources/config/ca-bundle.crt @ChristophWurst @julien-nc @miaulalala @nickvergessen
# Personal interest
*/Activity/* @nickvergessen
*/Notifications/* @nickvergessen
/lib/private/Profiler @CarlSchwan
/lib/public/Profiler @CarlSchwan
+14
View File
@@ -70,6 +70,20 @@ body:
- "Community SNAP package"
- "Community VM appliance"
- "Other Community project"
- type: dropdown
id: nextcloud-version
attributes:
label: Nextcloud Server version
description: |
Select Nextcloud Server version.
_Versions not listed here are not maintained and not supported anymore_
options:
- "24"
- "25"
- "26"
- "master"
validations:
required: true
- type: dropdown
id: system
attributes:
+18
View File
@@ -93,6 +93,24 @@ updates:
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable26
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
# Testing StableXX composer
- package-ecosystem: composer
directory: "/build/integration"
+10 -3
View File
@@ -3,10 +3,17 @@
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Pull request checks
name: Block merges for EOL
on: pull_request
permissions:
contents: read
concurrency:
group: block-merge-eol-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
block-merges-eol:
name: Block merges for EOL branches
@@ -24,7 +31,7 @@ jobs:
# retrieve version number from branch reference
server_major=$(echo "${{ github.base_ref }}" | sed -En 's/stable//p')
echo "server_major=$server_major" >> $GITHUB_ENV
- name: Checking if ${{ env.server_major }} is EOL
run: |
php -r 'echo json_encode(require_once "config.php");' | jq --arg version "${{ env.server_major }}" '.stable[$version]["100"].eol' | grep --silent -i 'false'
php -r 'echo json_encode(require_once "config.php");' | jq --arg version "${{ env.server_major }}" '.stable[$version]["100"].eol // .beta[$version]["100"].eol' | grep --silent -i 'false'
+14 -3
View File
@@ -3,13 +3,24 @@
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Pull request checks
name: Block merges during freezes
on: pull_request
on:
pull_request:
types: [opened, ready_for_review, reopened, synchronize]
permissions:
contents: read
concurrency:
group: block-merge-freeze-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
block-merges-during-freeze:
name: Block merges during feature freezes
name: Block merges during freezes
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
+17 -17
View File
@@ -18,43 +18,43 @@ jobs:
steps:
- name: Check actor permission
uses: skjnldsv/check-actor-permission@v2
uses: skjnldsv/check-actor-permission@e591dbfe838300c007028e1219ca82cc26e8d7c5 # v2
with:
require: write
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@ca08ebd5dc95aa0cd97021e9708fcd6b87138c9b # v3.0.1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "+1"
reactions: "+1"
- name: Parse command
uses: skjnldsv/parse-command-comment@master
uses: skjnldsv/parse-command-comment@7cef1df370a99dfd5bf896d50121390c96785db8 # v2
id: command
# Init path depending on which command is run
- name: Init path
id: git-path
run: |
run: |
if ${{ startsWith(steps.command.outputs.arg1, '/') }}; then
echo "::set-output name=path::${{ github.workspace }}${{steps.command.outputs.arg1}}"
echo "path=${{ github.workspace }}${{steps.command.outputs.arg1}}" >> $GITHUB_OUTPUT
else
echo "::set-output name=path::${{ github.workspace }}${{steps.command.outputs.arg2}}"
echo "path=${{ github.workspace }}${{steps.command.outputs.arg2}}" >> $GITHUB_OUTPUT
fi
- name: Init branch
uses: xt0rted/pull-request-comment-branch@v1
uses: xt0rted/pull-request-comment-branch@d97294d304604fa98a2600a6e2f916a84b596dc7 # v1
id: comment-branch
process:
runs-on: ubuntu-latest
needs: init
steps:
- name: Checkout ${{ needs.init.outputs.head_ref }}
uses: actions/checkout@v3
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
fetch-depth: 0
@@ -66,14 +66,14 @@ jobs:
git config --local user.name "nextcloud-command"
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@v1
uses: skjnldsv/read-package-engines-version-actions@0ce2ed60f6df073a62a77c0a4958dd0fc68e32e7 # v2.1
id: package-engines-versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
fallbackNode: '^16'
fallbackNpm: '^7'
- name: Set up node ${{ steps.package-engines-versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
node-version: ${{ steps.package-engines-versions.outputs.nodeVersion }}
cache: npm
@@ -90,7 +90,7 @@ jobs:
if: ${{ needs.init.outputs.arg1 != 'fixup' && needs.init.outputs.arg1 != 'amend' }}
run: |
git add ${{ needs.init.outputs.git_path }}
git commit --signoff -m 'Compile assets'
git commit --signoff -m 'chore(assets): Recompile assets'
git push origin ${{ needs.init.outputs.head_ref }}
- name: Commit and push fixup
@@ -108,10 +108,10 @@ jobs:
git push --force origin ${{ needs.init.outputs.head_ref }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@v1
uses: peter-evans/create-or-update-comment@ca08ebd5dc95aa0cd97021e9708fcd6b87138c9b # v3.0.1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "-1"
reactions: "-1"
@@ -0,0 +1,55 @@
name: Update 3rdparty command
on:
issue_comment:
types: created
permissions:
contents: read
jobs:
rebase:
runs-on: ubuntu-latest
permissions:
contents: none
# On pull requests and if the comment starts with `/update-3rdparty`
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/update-3rdparty')
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@v2
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "+1"
- name: Checkout the latest code
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
- name: Setup git
run: |
git config --local user.email "nextcloud-command@users.noreply.github.com"
git config --local user.name "nextcloud-command"
- name: Pull 3rdparty
run: git submodule foreach 'if [ "$sm_path" == "3rdparty" ]; then git pull origin ${{ github.event.issue.pull_request.base.ref }}; fi'
- name: Commit and push changes
run: |
git add 3rdparty
git commit -s -m "Update submodule 3rdparty to latest ${{ github.event.issue.pull_request.base.ref }}"
git push
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@v2
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "-1"
+6 -6
View File
@@ -9,8 +9,8 @@ on:
issue_comment:
types: created
permissions:
contents: read
permissions:
contents: read
jobs:
rebase:
@@ -23,7 +23,7 @@ jobs:
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@ca08ebd5dc95aa0cd97021e9708fcd6b87138c9b # v3.0.1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
@@ -31,18 +31,18 @@ jobs:
reaction-type: "+1"
- name: Checkout the latest code
uses: actions/checkout@v3
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
- name: Automatic Rebase
uses: cirrus-actions/rebase@1.7
uses: cirrus-actions/rebase@b87d48154a87a85666003575337e27b8cd65f691 # 1.8
env:
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@ca08ebd5dc95aa0cd97021e9708fcd6b87138c9b # v3.0.1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
+72 -21
View File
@@ -4,48 +4,62 @@ on:
pull_request:
push:
branches:
- main
- master
- stable*
env:
APP_NAME: viewer
BRANCH: ${{ github.ref }}
TESTING: true
# Adjust APP_NAME if your repository name is different
APP_NAME: ${{ github.event.repository.name }}
# Server requires head_ref instead of base_ref, as we want to test the PR branch
BRANCH: ${{ github.head_ref || github.ref_name }}
jobs:
init:
runs-on: ubuntu-latest
outputs:
nodeVersion: ${{ steps.versions.outputs.nodeVersion }}
npmVersion: ${{ steps.versions.outputs.npmVersion }}
steps:
- name: Checkout server
uses: actions/checkout@v3
- name: Checkout app
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Check composer.json
id: check_composer
uses: andstor/file-existence-action@20b4d2e596410855db8f9ca21e96fbe18e12930b # v2
with:
files: "composer.json"
- name: Install composer dependencies
if: steps.check_composer.outputs.files_exists == 'true'
run: composer install --no-dev
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@v1.2
uses: skjnldsv/read-package-engines-version-actions@0ce2ed60f6df073a62a77c0a4958dd0fc68e32e7 # v2.1
id: versions
with:
fallbackNode: "^12"
fallbackNpm: "^6"
fallbackNode: "^14"
fallbackNpm: "^7"
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
cache: "npm"
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
- name: Install dependencies & build app
- name: Install node dependencies & build app
run: |
npm ci
TESTING=true npm run build --if-present
- name: Save context
uses: actions/cache@v3
uses: buildjet/cache/save@e376f15c6ec6dc595375c78633174c7e5f92dc0e # v3
with:
key: cypress-context-${{ github.run_id }}
path: /home/runner/work/server
path: ./
cypress:
runs-on: ubuntu-latest
@@ -54,21 +68,30 @@ jobs:
strategy:
fail-fast: false
matrix:
# run multiple copies of the current job in parallel
containers: ['component', 1, 2]
# Run multiple copies of the current job in parallel
# Please increase the number or runners as your tests suite grows
containers: ["component", 1, 2]
name: runner ${{ matrix.containers }}
steps:
- name: Restore context
uses: actions/cache@v3
uses: buildjet/cache/restore@e376f15c6ec6dc595375c78633174c7e5f92dc0e # v3
with:
fail-on-cache-miss: true
key: cypress-context-${{ github.run_id }}
path: /home/runner/work/server
path: ./
- name: Set up node ${{ needs.init.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: ${{ needs.init.outputs.nodeVersion }}
- name: Set up npm ${{ needs.init.outputs.npmVersion }}
run: npm i -g npm@"${{ needs.init.outputs.npmVersion }}"
- name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests
uses: cypress-io/github-action@v5
uses: cypress-io/github-action@db1693016f23ccf9043f4b2428f9b04e5d502a73 # v5.8.1
with:
record: true
parallel: true
@@ -77,11 +100,10 @@ jobs:
group: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }}
# cypress env
ci-build-id: ${{ github.sha }}-${{ github.run_number }}
tag: ${{ github.event_name }}t
tag: ${{ github.event_name }}
env:
# Needs to be prefixed with CYPRESS_
CYPRESS_BRANCH: ${{ env.BRANCH }}
CYPRESS_GH: true
# https://github.com/cypress-io/github-action/issues/124
COMMIT_INFO_MESSAGE: ${{ github.event.pull_request.title }}
# Needed for some specific code workarounds
@@ -89,6 +111,35 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
- name: Upload snapshots
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
if: always()
with:
name: snapshots_${{ matrix.containers }}
path: cypress/snapshots
- name: Extract NC logs
if: failure() && matrix.containers != 'component'
run: docker logs nextcloud-cypress-tests-${{ env.APP_NAME }} > nextcloud.log
- name: Upload NC logs
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
if: failure() && matrix.containers != 'component'
with:
name: nc_logs_${{ matrix.containers }}
path: nextcloud.log
- name: Create data dir archive
if: failure() && matrix.containers != 'component'
run: docker exec nextcloud-cypress-tests-server tar -cvjf - data > data.tar
- name: Upload data dir archive
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
if: failure() && matrix.containers != 'component'
with:
name: nc_data_${{ matrix.containers }}
path: data.tar
summary:
runs-on: ubuntu-latest
needs: [init, cypress]
+13 -2
View File
@@ -8,22 +8,33 @@ name: Dependabot
on:
pull_request_target:
branches:
- main
- master
- stable*
permissions:
contents: read
concurrency:
group: dependabot-approve-merge-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
auto-approve-merge:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
permissions:
# for hmarr/auto-approve-action to approve PRs
pull-requests: write
steps:
# Github actions bot approve
- uses: hmarr/auto-approve-action@v2
- uses: hmarr/auto-approve-action@b40d6c9ed2fa10c9a2749eca7eb004418a705501 # v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Nextcloud bot approve and merge request
- uses: ahmadnassri/action-dependabot-auto-merge@v2
- uses: ahmadnassri/action-dependabot-auto-merge@45fc124d949b19b6b8bf6645b6c9d55f4f9ac61a # v2
with:
target: minor
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}
+16 -3
View File
@@ -3,18 +3,31 @@
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Pull request checks
name: Block fixup and squash commits
on: pull_request
on:
pull_request:
types: [opened, ready_for_review, reopened, synchronize]
permissions:
contents: read
concurrency:
group: fixup-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
commit-message-check:
if: github.event.pull_request.draft == false
permissions:
pull-requests: write
name: Block fixup and squash commits
runs-on: ubuntu-latest
steps:
- name: Run check
uses: xt0rted/block-autosquash-commits-action@v2
uses: skjnldsv/block-fixup-merge-action@42d26e1b536ce61e5cf467d65fb76caf4aa85acf # v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
+15 -8
View File
@@ -1,13 +1,15 @@
name: FTP
name: FTP unit tests
on:
push:
branches:
- master
- stable*
paths:
- '.github/**'
- 'apps/files_external/**'
pull_request:
paths:
- '.github/**'
- 'apps/files_external/**'
env:
@@ -17,6 +19,8 @@ jobs:
ftp-tests:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
# do not stop on another job's failure
fail-fast: false
@@ -35,10 +39,12 @@ jobs:
- name: Set up ftpd
run: |
sudo mkdir /tmp/ftp
sudo chown -R 0777 /tmp/ftp
if [[ "${{ matrix.ftpd }}" == 'proftpd' ]]; then docker run --name ftp -d --net host -e FTP_USERNAME=test -e FTP_PASSWORD=test -v /tmp/ftp:/home/test hauptmedia/proftpd; fi
sudo chmod -R 0777 /tmp/ftp
if [[ "${{ matrix.ftpd }}" == 'proftpd' ]]; then echo '$6$Q7V2n3q2GRVv5YeQ$/AhLu07H76Asojy7bxGXMY1caKLAbp5Vt82LOZYMkD/8uDzyMAEXwk0c1Bdz1DkBsk2Vh/9SF130mOPavRGMo.' > /tmp/secret.txt; fi
if [[ "${{ matrix.ftpd }}" == 'proftpd' ]]; then echo 'FTP_ROOT=/home/test' > $GITHUB_ENV; fi
if [[ "${{ matrix.ftpd }}" == 'proftpd' ]]; then docker run --name ftp -d --net host -e PASV_ADDRESS=127.0.0.1 -e FTPUSER_NAME=test -v /tmp/secret.txt:/run/secrets/ftp-user-password-secret -v /tmp/ftp:/home/test instantlinux/proftpd; fi
if [[ "${{ matrix.ftpd }}" == 'vsftpd' ]]; then docker run --name ftp -d --net host -e FTP_USER=test -e FTP_PASS=test -e PASV_ADDRESS=127.0.0.1 -v /tmp/ftp:/home/vsftpd/test fauria/vsftpd; fi
if [[ "${{ matrix.ftpd }}" == 'pure-ftpd' ]]; then docker run --name ftp -d --net host -e "PUBLICHOST=localhost" -e FTP_USER_NAME=test -e FTP_USER_PASS=test -e FTP_USER_HOME=/home/test -v /tmp/ftp2:/home/test -v /tmp/ftp2:/etc/pure-ftpd/passwd stilliard/pure-ftpd; fi
if [[ "${{ matrix.ftpd }}" == 'pure-ftpd' ]]; then docker run --name ftp -d --net host -e "PUBLICHOST=localhost" -e FTP_USER_NAME=test -e FTP_USER_PASS=test -e FTP_USER_HOME=/home/test -v /tmp/ftp:/home/test -v /tmp/ftp:/etc/pure-ftpd/passwd stilliard/pure-ftpd; fi
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
with:
@@ -56,13 +62,14 @@ jobs:
php -S localhost:8080 &
- name: smoketest ftp
run: |
php -r 'var_dump(file_put_contents("ftp://test:test@localhost/ftp.txt", "asd"));'
php -r 'var_dump(file_get_contents("ftp://test:test@localhost/ftp.txt"));'
php -r 'var_dump(mkdir("ftp://test:test@localhost/asdads"));'
php -r 'var_dump(file_put_contents("ftp://test:test@localhost${{ env.FTP_ROOT }}/ftp.txt", "asd"));'
php -r 'var_dump(file_get_contents("ftp://test:test@localhost${{ env.FTP_ROOT }}/ftp.txt"));'
php -r 'var_dump(mkdir("ftp://test:test@localhost${{ env.FTP_ROOT }}/asdads"));'
ls -l /tmp/ftp
[ -f /tmp/ftp/ftp.txt ]
- name: PHPUnit
run: |
echo "<?php return ['run' => true,'host' => 'localhost','user' => 'test','password' => 'test', 'root' => ''];" > apps/${{ env.APP_NAME }}/tests/config.ftp.php
echo "<?php return ['run' => true,'host' => 'localhost','user' => 'test','password' => 'test', 'root' => '${{ env.FTP_ROOT }}'];" > apps/${{ env.APP_NAME }}/tests/config.ftp.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/FtpTest.php
- name: ftpd logs
if: always()
@@ -0,0 +1,39 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# Use lint-eslint together with lint-eslint-when-unrelated to make eslint a required check for GitHub actions
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
name: Lint eslint
on:
pull_request:
paths-ignore:
- '.github/workflows/**'
- 'src/**'
- 'apps/**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '.eslintrc.*'
- '.eslintignore'
- '**.js'
- '**.ts'
- '**.vue'
permissions:
contents: read
jobs:
lint:
permissions:
contents: none
runs-on: ubuntu-latest
name: eslint
steps:
- run: 'echo "No eslint required"'
+28 -10
View File
@@ -2,15 +2,33 @@
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# Use lint-eslint together with lint-eslint-when-unrelated to make eslint a required check for GitHub actions
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
name: Lint
name: Lint eslint
on:
pull_request:
push:
branches:
- master
- stable*
paths:
- '.github/workflows/**'
- 'src/**'
- 'apps/**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '.eslintrc.*'
- '.eslintignore'
- '**.js'
- '**.ts'
- '**.vue'
permissions:
contents: read
concurrency:
group: lint-eslint-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
@@ -20,17 +38,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@v1.1
uses: skjnldsv/read-package-engines-version-actions@0ce2ed60f6df073a62a77c0a4958dd0fc68e32e7 # v2.1
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
fallbackNode: '^16'
fallbackNpm: '^7'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
+6 -5
View File
@@ -3,7 +3,7 @@
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Lint
name: Lint php-cs
on: pull_request
@@ -22,13 +22,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Set up php
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2
with:
php-version: "8.0"
php-version: 8.1
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -36,4 +37,4 @@ jobs:
run: composer i
- name: Lint
run: composer run cs:check || ( echo "Please run `composer run cs:fix` to format your code" && exit 1 )
run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
+4 -3
View File
@@ -3,7 +3,7 @@
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Lint
name: Lint php
on:
pull_request:
@@ -31,13 +31,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@1a18b2267f80291a81ca1d33e7c851fe09e7dfc4 # v2
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2
with:
php-version: ${{ matrix.php-versions }}
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+5 -2
View File
@@ -1,4 +1,4 @@
name: Node
name: Node tests
on:
pull_request:
@@ -10,6 +10,9 @@ on:
jobs:
versions:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
outputs:
nodeVersion: ${{ steps.versions.outputs.nodeVersion }}
npmVersion: ${{ steps.versions.outputs.npmVersion }}
@@ -67,7 +70,7 @@ jobs:
run: npm ci
- name: Test
run: ./autotest-js.sh
run: npm run test:jsunit
handlebars:
runs-on: ubuntu-latest
+43
View File
@@ -0,0 +1,43 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# Use node together with node-when-unrelated to make eslint a required check for GitHub actions
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
name: Node
on:
pull_request:
paths-ignore:
- '.github/workflows/**'
- 'src/**'
- 'apps/**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
push:
branches:
- main
- master
- stable*
concurrency:
group: node-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
permissions:
contents: none
runs-on: ubuntu-latest
name: node
steps:
- name: Skip
run: 'echo "No JS/TS files changed, skipped Node"'
+19 -6
View File
@@ -7,6 +7,16 @@ name: Node
on:
pull_request:
paths:
- '.github/workflows/**'
- 'src/**'
- 'apps/**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
push:
branches:
- main
@@ -16,6 +26,10 @@ on:
permissions:
contents: read
concurrency:
group: node-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
@@ -23,17 +37,17 @@ jobs:
name: node
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@v1.2
uses: skjnldsv/read-package-engines-version-actions@0ce2ed60f6df073a62a77c0a4958dd0fc68e32e7 # v2.1
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
fallbackNode: '^16'
fallbackNpm: '^7'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -55,4 +69,3 @@ jobs:
git status
git --no-pager diff
exit 1 # make it red to grab attention
+71
View File
@@ -0,0 +1,71 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Npm audit fix and compile
on:
workflow_dispatch:
schedule:
# At 2:30 on Sundays
- cron: '30 2 * * 0'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
branches: ["main", "master", "stable27", "stable26", "stable25", "stable24"]
name: npm-audit-fix-${{ matrix.branches }}
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
ref: ${{ matrix.branches }}
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@0ce2ed60f6df073a62a77c0a4958dd0fc68e32e7 # v2.1
id: versions
with:
fallbackNode: '^16'
fallbackNpm: '^7'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
- name: Fix npm audit
run: |
npm audit fix
- name: Run npm ci and npm run build
if: always()
run: |
npm ci
npm run build --if-present
- name: Create Pull Request
if: always()
uses: peter-evans/create-pull-request@284f54f989303d2699d373481a0cfa13ad5a6666 # v5
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: "chore(deps): fix npm audit"
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: automated/noid/${{ matrix.branches }}-fix-npm-audit
title: "[${{ matrix.branches }}] Fix npm audit"
body: |
Auto-generated fix of npm audit
labels: |
dependencies
3. to review
+20 -3
View File
@@ -1,4 +1,4 @@
name: PHPUnit
name: PHPUnit oci
on: pull_request
@@ -13,16 +13,33 @@ jobs:
phpunit-oci:
runs-on: ubuntu-20.04
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2']
services:
oracle:
image: deepdiver/docker-oracle-xe-11g # 'wnameless/oracle-xe-11g-r2'
image: ghcr.io/gvenzl/oracle-xe:11
# Provide passwords and other environment variables to container
env:
ORACLE_RANDOM_PASSWORD: true
APP_USER: autotest
APP_USER_PASSWORD: owncloud
# Forward Oracle port
ports:
- 1521:1521/tcp
# Provide healthcheck script options for startup
options: >-
--health-cmd healthcheck.sh
--health-interval 10s
--health-timeout 5s
--health-retries 10
steps:
- name: Checkout server
uses: actions/checkout@v3
@@ -33,7 +50,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, oci8, openssl, pdo_sqlite, posix, sqlite, xml, zip
extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, oci8, openssl, pcntl, pdo_sqlite, posix, sqlite, xml, zip
tools: phpunit:9
coverage: none
ini-file: development
+4 -2
View File
@@ -6,6 +6,8 @@ jobs:
performance-testing:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
fail-fast: false
matrix:
@@ -50,7 +52,7 @@ jobs:
curl -s -u test:test -T README.md http://localhost:8080/remote.php/dav/files/test/new_file.txt
curl -s -u test:test -X DELETE http://localhost:8080/remote.php/dav/files/test/new_file.txt
output: before.json
profiler-branch: master
profiler-branch: stable27
- name: Apply PR
run: |
@@ -72,7 +74,7 @@ jobs:
curl -s -u test:test -T README.md http://localhost:8080/remote.php/dav/files/test/new_file.txt
curl -s -u test:test -X DELETE http://localhost:8080/remote.php/dav/files/test/new_file.txt
output: after.json
profiler-branch: master
profiler-branch: stable27
compare-with: before.json
- name: Upload profiles
+9 -2
View File
@@ -1,6 +1,10 @@
name: PHPUnit
name: PHPUnit 32bits
on:
pull_request:
paths:
- 'version.php'
- '.github/workflows/phpunit-32bits.yml'
workflow_dispatch:
schedule:
- cron: "15 1 * * 1-6"
@@ -15,6 +19,9 @@ concurrency:
jobs:
phpunit-32bits:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
container: shivammathur/node:latest-i386
strategy:
@@ -33,7 +40,7 @@ jobs:
sudo apt-get install -y ffmpeg imagemagick libmagickcore-6.q16-3-extra
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@9c77701ae57b0c47f6732beebfbdec76e4e5c90a #debian bookworm fix
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, openssl, pdo_sqlite, posix, sqlite, xml, zip, apcu
+4
View File
@@ -17,6 +17,8 @@ jobs:
s3-external-tests-minio:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
# do not stop on another job's failure
fail-fast: false
@@ -68,6 +70,8 @@ jobs:
s3-external-tests-localstack:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
# do not stop on another job's failure
fail-fast: false
@@ -0,0 +1,86 @@
name: S3 primary storage integration tests
on:
pull_request:
push:
branches:
- master
- stable*
jobs:
s3-primary-integration-tests-minio:
runs-on: ubuntu-20.04
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.0']
key: ['objectstore', 'objectstore_multibucket']
name: php${{ matrix.php-versions }}-${{ matrix.key }}-minio
services:
redis:
image: redis
ports:
- "6379:6379"
minio:
env:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
image: bitnami/minio:2021.12.29
ports:
- "9000:9000"
steps:
- name: Checkout server
uses: actions/checkout@v3
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd, redis
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Wait for S3
run: |
sleep 10
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 10 http://localhost:9000/minio/health/ready
- name: Set up Nextcloud
run: |
mkdir data
echo '<?php $CONFIG=["${{ matrix.key }}" => ["class" => "OC\Files\ObjectStore\S3", "arguments" => ["bucket" => "nextcloud", "autocreate" => true, "key" => "minio", "secret" => "minio123", "hostname" => "localhost", "port" => 9000, "use_ssl" => false, "use_path_style" => true, "uploadPartSize" => 52428800]]];' > config/config.php
echo '<?php $CONFIG=["redis" => ["host" => "localhost", "port" => 6379], "memcache.local" => "\OC\Memcache\Redis", "memcache.distributed" => "\OC\Memcache\Redis"];' > config/redis.config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f index.php
- name: Integration
run: |
cd build/integration
bash run.sh --tags "~@failure-s3" features/webdav-related.feature
- name: S3 logs
if: always()
run: |
cat data/nextcloud.log
docker ps -a
docker ps -aq | while read container ; do IMAGE=$(docker inspect --format='{{.Config.Image}}' $container); echo $IMAGE; docker logs $container; echo "\n\n" ; done
s3-primary-integration-summary:
runs-on: ubuntu-latest
needs: [s3-primary-integration-tests-minio]
if: always()
steps:
- name: Summary status
run: if ${{ needs.s3-primary-integration-tests-minio.result != 'success' }}; then exit 1; fi
+2
View File
@@ -10,6 +10,8 @@ jobs:
s3-primary-tests-minio:
runs-on: ubuntu-20.04
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
# do not stop on another job's failure
fail-fast: false
+75
View File
@@ -0,0 +1,75 @@
name: SFTP unit tests
on:
push:
branches:
- master
- stable*
paths:
- 'apps/files_external/**'
pull_request:
paths:
- 'apps/files_external/**'
env:
APP_NAME: files_external
jobs:
sftp-tests:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.0']
sftpd: ['openssh']
name: php${{ matrix.php-versions }}-${{ matrix.sftpd }}
steps:
- name: Checkout server
uses: actions/checkout@v3
with:
submodules: true
- name: Set up sftpd
run: |
sudo mkdir /tmp/sftp
sudo chown -R 0777 /tmp/sftp
if [[ "${{ matrix.sftpd }}" == 'openssh' ]]; then docker run -p 2222:22 --name sftp -d -v /tmp/sftp:/home/test atmoz/sftp "test:test:::data"; fi
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ app:enable --force ${{ env.APP_NAME }}
php -S localhost:8080 &
- name: PHPUnit
run: |
echo "<?php return ['run' => true, 'host' => 'localhost:2222','user' => 'test','password' => 'test', 'root' => 'data'];" > apps/${{ env.APP_NAME }}/tests/config.sftp.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/SftpTest.php
- name: sftpd logs
if: always()
run: |
ls -l /tmp/sftp
docker logs sftp
sftp-summary:
runs-on: ubuntu-latest
needs: sftp-tests
if: always()
steps:
- name: Summary status
run: if ${{ needs.sftp-tests.result != 'success' }}; then exit 1; fi
+19 -33
View File
@@ -16,6 +16,8 @@ jobs:
smb-kerberos-tests:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
name: smb-kerberos-sso
steps:
@@ -23,50 +25,34 @@ jobs:
uses: actions/checkout@v3
with:
submodules: true
- name: Checkout user_saml
uses: actions/checkout@v3
with:
repository: nextcloud/user_saml
path: apps/user_saml
ref: stable-5.2
- name: Pull images
run: |
docker pull icewind1991/samba-krb-test-dc
docker pull icewind1991/samba-krb-test-apache
docker pull icewind1991/samba-krb-test-client
docker pull ghcr.io/icewind1991/samba-krb-test-dc
docker pull ghcr.io/icewind1991/samba-krb-test-apache
docker pull ghcr.io/icewind1991/samba-krb-test-client
docker tag ghcr.io/icewind1991/samba-krb-test-dc icewind1991/samba-krb-test-dc
docker tag ghcr.io/icewind1991/samba-krb-test-apache icewind1991/samba-krb-test-apache
docker tag ghcr.io/icewind1991/samba-krb-test-client icewind1991/samba-krb-test-client
- name: Setup AD-DC
run: |
cp apps/files_external/tests/*.sh .
mkdir data
sudo chown -R 33 data apps config
DC_IP=$(./start-dc.sh)
./start-apache.sh $DC_IP $PWD
DC_IP=$(apps/files_external/tests/sso-setup/start-dc.sh)
apps/files_external/tests/sso-setup/start-apache.sh $DC_IP $PWD
echo "DC_IP=$DC_IP" >> $GITHUB_ENV
- name: Set up Nextcloud
run: |
docker exec --user 33 apache ./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
docker exec --user 33 apache ./occ config:system:set trusted_domains 1 --value 'httpd.domain.test'
# setup user_saml
docker exec --user 33 apache ./occ app:enable user_saml --force
docker exec --user 33 apache ./occ config:app:set user_saml type --value 'environment-variable'
docker exec --user 33 apache ./occ saml:config:create
docker exec --user 33 apache ./occ saml:config:set 1 --general-uid_mapping=REMOTE_USER
# setup external storage
docker exec --user 33 apache ./occ app:enable files_external --force
docker exec --user 33 apache ./occ files_external:create smb smb smb::kerberosapache
docker exec --user 33 apache ./occ files_external:config 1 host krb.domain.test
docker exec --user 33 apache ./occ files_external:config 1 share netlogon
docker exec --user 33 apache ./occ files_external:list
apps/files_external/tests/sso-setup/setup-sso-nc.sh
- name: Test SSO
run: |
mkdir /tmp/shared/cookies
chmod 0777 /tmp/shared/cookies
echo "SAML login"
./client-cmd.sh ${{ env.DC_IP }} curl -c /shared/cookies/jar -s --negotiate -u testuser@DOMAIN.TEST: --delegation always http://httpd.domain.test/index.php/apps/user_saml/saml/login
echo "Check we are logged in"
CONTENT=$(./client-cmd.sh ${{ env.DC_IP }} curl -b /shared/cookies/jar -s --negotiate -u testuser@DOMAIN.TEST: --delegation always http://httpd.domain.test/remote.php/webdav/smb/test.txt)
CONTENT=$(echo $CONTENT | head -n 1 | tr -d '[:space:]')
[[ $CONTENT == "testfile" ]]
apps/files_external/tests/sso-setup/test-sso-smb.sh ${{ env.DC_IP }}
- name: Show logs
if: failure()
run: |
docker exec --user 33 apache ./occ log:file
FILEPATH=$(docker exec --user 33 apache ./occ log:file | grep "Log file:" | cut -d' ' -f3)
echo "$FILEPATH:"
docker exec --user 33 apache cat $FILEPATH
+5 -4
View File
@@ -7,12 +7,13 @@ on:
jobs:
stale:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
permissions:
issues: write
steps:
- uses: actions/stale@v5
with:
@@ -29,4 +30,4 @@ jobs:
days-before-stale: 30
days-before-close: 14
# debug-only: true
+7 -5
View File
@@ -11,6 +11,8 @@ jobs:
static-code-analysis:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
steps:
- name: Checkout
uses: actions/checkout@v3
@@ -21,7 +23,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
extensions: apcu,ctype,curl,dom,fileinfo,ftp,gd,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -30,7 +32,7 @@ jobs:
run: composer i
- name: Psalm
run: composer run psalm -- --monochrome --no-progress --output-format=github --update-baseline --report=results.sarif
run: composer run psalm:ci -- --monochrome --no-progress --output-format=github --update-baseline --report=results.sarif
- name: Show potential changes in Psalm baseline
if: always()
@@ -55,14 +57,14 @@ jobs:
uses: shivammathur/setup-php@master
with:
php-version: '8.0'
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
extensions: ctype,curl,dom,fileinfo,ftp,gd,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
- name: Composer install
run: composer i
- name: Psalm taint analysis
run: composer run psalm -- --monochrome --no-progress --output-format=github --report=results.sarif --taint-analysis
run: composer run psalm:ci -- --monochrome --no-progress --output-format=github --report=results.sarif --taint-analysis
- name: Upload Security Analysis results to GitHub
if: always()
@@ -92,7 +94,7 @@ jobs:
run: composer i
- name: Psalm
run: composer run psalm -- -c psalm-ocp.xml --monochrome --no-progress --output-format=github --update-baseline
run: composer run psalm:ci -- -c psalm-ocp.xml --monochrome --no-progress --output-format=github --update-baseline
- name: Show potential changes in Psalm baseline
if: always()
+2 -2
View File
@@ -3,7 +3,7 @@ name: Update CA certificate bundle
on:
workflow_dispatch:
schedule:
- cron: "5 4 * * *"
- cron: "5 2 * * *"
jobs:
update-ca-certificate-bundle:
@@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
branches: ["master", "stable25", "stable24", "stable23", "stable22"]
branches: ["master", "stable26", "stable25", "stable24", "stable23", "stable22"]
name: update-ca-certificate-bundle-${{ matrix.branches }}
+4 -2
View File
@@ -3,16 +3,18 @@ name: Update Psalm baseline
on:
workflow_dispatch:
schedule:
- cron: "5 4 * * *"
- cron: "5 2 * * *"
jobs:
update-psalm-baseline:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
fail-fast: false
matrix:
branches: ["master", "stable25", "stable24", "stable23"]
branches: ["master", "stable26", "stable25", "stable24", "stable23"]
name: update-psalm-baseline-${{ matrix.branches }}
+2
View File
@@ -24,6 +24,7 @@
!/apps/sharebymail
!/apps/encryption
!/apps/files_external
!/apps/files_reminders
!/apps/files_sharing
!/apps/files_trashbin
!/apps/files_versions
@@ -96,6 +97,7 @@ nbproject
# vscode
.vscode
*.code-workspace
# geany
*.geany
+24 -17
View File
@@ -40,12 +40,13 @@
</IfModule>
# Add cache control for static resources
<FilesMatch "\.(css|js|svg|gif|png|jpg|ico|wasm|tflite)$">
Header set Cache-Control "max-age=15778463"
</FilesMatch>
<FilesMatch "\.(css|js|svg|gif|png|jpg|ico|wasm|tflite)(\?v=.*)?$">
Header set Cache-Control "max-age=15778463, immutable"
<FilesMatch "\.(css|js|mjs|svg|gif|png|jpg|ico|wasm|tflite)$">
<If "%{QUERY_STRING} =~ /(^|&)v=/">
Header set Cache-Control "max-age=15778463, immutable"
</If>
<Else>
Header set Cache-Control "max-age=15778463"
</Else>
</FilesMatch>
# Let browsers cache WOFF files for a week
@@ -54,17 +55,6 @@
</FilesMatch>
</IfModule>
# PHP 7.x
<IfModule mod_php7.c>
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'
php_value output_buffering 0
<IfModule mod_env.c>
SetEnv htaccessWorking true
</IfModule>
</IfModule>
# PHP 8+
<IfModule mod_php.c>
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'
@@ -78,6 +68,8 @@
AddType image/svg+xml svg svgz
AddType application/wasm wasm
AddEncoding gzip svgz
# Serve ESM javascript files (.mjs) with correct mime type
AddType text/javascript js mjs
</IfModule>
<IfModule mod_dir.c>
@@ -98,8 +90,23 @@
RewriteRule ^remote/(.*) remote.php [QSA,L]
RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
RewriteRule ^\.well-known/(?!acme-challenge|pki-validation) /index.php [QSA,L]
RewriteRule ^ocm-provider/?$ index.php [QSA,L]
RewriteRule ^(?:\.(?!well-known)|autotest|occ|issue|indie|db_|console).* - [R=404,L]
</IfModule>
# Clients like xDavv5 on Android, or Cyberduck, use chunked requests.
# When FastCGI or FPM is used with apache, requests arrive to Nextcloud without any content.
# This leads to the creation of empty files.
# The following directive will force the problematic requests to be buffered before being forwarded to Nextcloud.
# This way, the "Transfer-Encoding" header is removed, the "Content-Length" header is set, and the request content is proxied to Nextcloud.
# Here are more information about the issue:
# - https://docs.cyberduck.io/mountainduck/issues/fastcgi/
# - https://docs.nextcloud.com/server/latest/admin_manual/issues/general_troubleshooting.html#troubleshooting-webdav
<IfModule setenvif.c>
<Location "/remote.php">
SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1
</Location>
</IfModule>
AddDefaultCharset utf-8
Options -Indexes
+6 -1
View File
@@ -74,6 +74,12 @@ source_file = translationfiles/templates/files_external.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:files_reminders]
file_filter = translationfiles/<lang>/files_reminders.po
source_file = translationfiles/templates/files_reminders.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:files_sharing]
file_filter = translationfiles/<lang>/files_sharing.po
source_file = translationfiles/templates/files_sharing.pot
@@ -175,4 +181,3 @@ file_filter = translationfiles/<lang>/workflowengine.po
source_file = translationfiles/templates/workflowengine.pot
source_lang = en
type = PO
+130 -28
View File
@@ -1,33 +1,40 @@
Nextcloud is written by:
- AW-UC <git@a-wesemann.de>
- Aaron Ball <nullspoon@oper.io>
- Aaron Wood <aaronjwood@gmail.com>
- Abijeet <abijeetpatro@gmail.com>
- Achim Königs <garfonso@tratschtante.de>
- Adam Williamson <awilliam@redhat.com>
- Administrator "Administrator@WINDOWS-2012"
- Adrian Brzezinski <adrian.brzezinski@eo.pl>
- Akhil <akhil.potukuchi@gmail.com>
- Akhil <akhil@e.email>
- Akhil Potukuchi <akhil.potukuchi@gmail.com>
- Alan Meeson <alan@carefullycalculated.co.uk>
- Aldo "xoen" Giambelluca <xoen@xoen.org>
- Alecks Gates <alecks.g@gmail.com>
- Alejandro Varela <epma01@gmail.com>
- Alex Harpin <development@landsofshadow.co.uk>
- Alex Weirig <alex.weirig@technolink.lu>
- Alexander A. Klimov <grandmaster@al2klimov.de>
- Alexander Bergolth <leo@strike.wu.ac.at>
- Alexey Pyltsyn <lex61rus@gmail.com>
- Alexander F <32201363+alx-tuilmenau@users.noreply.github.com>
- Allan Nordhøy <epost@anotheragency.no>
- Anderson Luiz Alves <alacn1@gmail.com>
- Andreas Fischer <bantu@owncloud.com>
- Andreas Pflug <dev@admin4.org>
- Andrew Brown <andrew@casabrown.com>
- André Gaul <gaul@web-yard.de>
- Andy Xheli <axheli@axtsolutions.com>
- Anna Larch <anna@nextcloud.com>
- ArcticFall <23174635+ArcticFall@users.noreply.github.com>
- Ardinis <Ardinis@users.noreply.github.com>
- Ari Selseng <ari@selseng.net>
- Arne Hamann <kontakt+github@arne.email>
- Artem Kochnev <MrJeos@gmail.com>
- Artem Sidorenko <artem@posteo.de>
- Arthur Schiwon <blizzz@arthur-schiwon.de>
- Artur Neumann <artur@jankaritech.com>
- Artur Neumann <info@individual-it.net>
- Ashod Nakashian <ashod.nakashian@collabora.co.uk>
- Avior <florian.bouillon@delta-wings.net>
- Asier Iturralde Sarasola <asier.iturralde@gmail.com>
- Axel Helmert <axel.helmert@luka.de>
- Azul <azul@riseup.net>
- Bart Visscher <bartv@thisnet.nl>
@@ -36,13 +43,19 @@ Nextcloud is written by:
- Bastien Ho <bastienho@urbancube.fr>
- Benjamin Diele <benjamin@diele.be>
- Benjamin Liles <benliles@arch.tamu.edu>
- Bennet Becker <bbecker@pks.mpg.de>
- Bennet Becker <dev@bennet.cc>
- Bernard Spil <Sp1l@users.noreply.github.com>
- Bernd Rederlechner <Bernd.Rederlechner@t-systems.com>
- Bernd Stellwag <burned@zerties.org>
- Bernhard Ostertag <bernieo.code@gmx.de>
- Bernhard Posselt <dev@bernhard-posselt.com>
- Bernhard Reiter <ockham@raz.or.at>
- Bill McGonigle <bill-github.com@bfccomputing.com>
- Birk Borkason <daniel.niccoli@gmail.com>
- Bjoern Schiessle <bjoern@schiessle.org>
- Björn Schießle <bjoern@schiessle.org>
- Bjørn Forsman <bjorn.forsman@gmail.com>
- Blaok <i@blaok.me>
- Boris Rybalkin <ribalkin@gmail.com>
- Borjan Tchakaloff <borjan@tchakaloff.fr>
@@ -50,7 +63,9 @@ Nextcloud is written by:
- Brandon Kirsch <brandonkirsch@github.com>
- Branko Kokanovic <branko@kokanovic.org>
- Brice Maron <brice@bmaron.net>
- Byron Marohn <combustible@live.com>
- CRA Yoshihito Nakatani <yoshihito.nakatani@craftsman-software.com>
- Carl Csaposs <carl@csaposs.com>
- Carl Schwan <carl@carlschwan.eu>
- Carla Schroder <carla@owncloud.com>
- Carlos Cerrillo <ccerrillo@gmail.com>
- Carlos Ferreira <carlos@reendex.com>
@@ -60,37 +75,47 @@ Nextcloud is written by:
- Christian Berendt <berendt@b1-systems.de>
- Christian Jürges <christian@eqipe.ch>
- Christian Kampka <christian@kampka.net>
- Christian Oliff <christianoliff@yahoo.com>
- Christian Weiske <cweiske@cweiske.de>
- Christoph Schaefer "christophł@wolkesicher.de"
- Christoph Seitz <christoph.seitz@posteo.de>
- Christoph Wickert <cwickert@suse.de>
- Christoph Wurst <christoph@winzerhof-wurst.at>
- Christopher Bartz <bartz@dkrz.de>
- Christopher Ng <chrng8@gmail.com>
- Christopher Schäpers <kondou@ts.unde.re>
- Christopher T. Johnson <ctjctj@gmail.com>
- Claas Augner <github@caugner.de>
- Clark Tomlinson <fallen013@gmail.com>
- Claus-Justus Heine <himself@claus-justus-heine.de>
- Clement Wong <git@clement.hk>
- Cornelius Kölbel <cornelius.koelbel@netknights.it>
- Cthulhux <git@tuxproject.de>
- Cyrille Bollu <cyrpub@bollu.be>
- Cédric Neukom <github@webguy.ch>
- Côme Chilliet <91878298+come-nc@users.noreply.github.com>
- Côme Chilliet <come.chilliet@nextcloud.com>
- Damjan Georgievski <gdamjan@gmail.com>
- Dan Callahan <dan.callahan@gmail.com>
- Daniel <mail@danielkesselberg.de>
- Daniel Calviño Sánchez <danxuliu@gmail.com>
- Daniel Hansson <daniel@techandme.se>
- Daniel Jagszent <daniel@jagszent.de>
- Daniel Kesselberg <mail@danielkesselberg.de>
- Daniel Rudolf <github.com@daniel-rudolf.de>
- Daniel Schneider <daniel@schneidoa.de>
- Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
- Dariusz Olszewski <starypatyk@users.noreply.github.com>
- David <37280718+yeyulantu@users.noreply.github.com>
- David Prévot <taffit@debian.org>
- David Toledo <dtoledo@solidgear.es>
- Denis Mosolov <denismosolov@gmail.com>
- Derek <derek.kelly27@gmail.com>
- Dominik Schmidt <dev@dominik-schmidt.de>
- Donquixote <marjunebatac@gmail.com>
- Dries Mys <dries.mys@my-dreams.be>
- EWouters <6179932+EWouters@users.noreply.github.com>
- Elijah Martin-Merrill <elijah@nyp-itsours.com>
- Ember 'n0emis' Keske <git@n0emis.eu>
- Eric Masseran <rico.masseran@gmail.com>
- Erik van Velzen <erik@evanv.nl>
- Evgeny Golyshev <eugulixes@gmail.com>
- Fabrizio Steiner <fabrizio.steiner@gmail.com>
- Felix Epp <work@felixepp.de>
@@ -99,29 +124,38 @@ Nextcloud is written by:
- Felix Nieuwenhuizen <felix@tdlrali.com>
- Felix Nüsse <Felix.nuesse@t-online.de>
- Felix Rupp <github@felixrupp.com>
- Ferdinand Thiessen <opensource@fthiessen.de>
- Ferdinand Thiessen <rpm@fthiessen.de>
- Filis Futsarov <filisko@users.noreply.github.com>
- Florent <florent@coppint.com>
- Florian Schunk <florian.schunk@rwth-aachen.de>
- Florin Peter <github@florin-peter.de>
- Flávio Gomes da Silva Lisboa <flavio.lisboa@serpro.gov.br>
- Frank Isemann <frank@isemann.name>
- Frank Karlitschek <frank@karlitschek.de>
- François Freitag <mail@franek.fr>
- François Kubler <francois@kubler.org>
- François Ménabé <francois.menabe@gmail.com>
- Frederic Werner <frederic-github@werner-net.work>
- Frédéric Fortier <frederic.fortier@oronospolytechnique.com>
- Gary Kim <gary@garykim.dev>
- Georg Ehrke <oc.list@georgehrke.com>
- Git'Fellow <12234510+solracsf@users.noreply.github.com>
- Git'Fellow <carlos@reendex.com>
- Glandos <bugs-github@antipoul.fr>
- GrayFix <grayfix@gmail.com>
- Greta Doci <gretadoci@gmail.com>
- GretaD <gretadoci@gmail.com>
- Guillaume COMPAGNON <gcompagnon@outlook.com>
- Guillaume Colson <guillaume.colson@univ-lorraine.fr>
- Guillaume Virlet <github@virlet.org>
- Hasso Tepper <hasso@zone.ee>
- Hemanth Kumar Veeranki <hems.india1997@gmail.com>
- Hendrik Leppelsack <hendrik@leppelsack.de>
- Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com>
- Holger Hees <holger.hees@gmail.com>
- HouraisanNEET <HouraisanNEET@users.noreply.github.com>
- Ilja Neumann <ineumann@owncloud.com>
- Ilya Apasov <apasov@users.noreply.github.com>
- Immanuel Pasanec <immanuel.pasanec@compaso.de>
- Individual IT Services <info@individual-it.net>
- Iscle <albertiscle9@gmail.com>
- J0WI <J0WI@users.noreply.github.com>
@@ -129,13 +163,15 @@ Nextcloud is written by:
- Jacob Neplokh <me@jacobneplokh.com>
- Jakob Sack <mail@jakobsack.de>
- Jakub Onderka <ahoj@jakubonderka.cz>
- James Letendre <James.Letendre@gmail.com>
- James Guo <i@ze3kr.com>
- Jan C. Borchardt <hey@jancborchardt.net>
- Jan Messer <jan@mtec-studios.ch>
- Jan-Christoph Borchardt <hey@jancborchardt.net>
- Jan-Philipp Litza <jpl@plutex.de>
- Jan-Philipp Litza <jplitza@users.noreply.github.com>
- Janis Köhr <janis.koehr@novatec-gmbh.de>
- Jared Boone <jared.boone@gmail.com>
- JanBartels <j.bartels@arcor.de>
- Jarkko Lehtoranta <devel@jlranta.com>
- Jasper Weyne <jasperweyne@gmail.com>
- Jean-Louis Dupond <jean-louis@dupond.be>
- Jens-Christian Fischer <jens-christian.fischer@switch.ch>
- Jesús Macias <jmacias@solidgear.es>
@@ -150,25 +186,31 @@ Nextcloud is written by:
- Johannes Schlichenmaier <johannes@schlichenmaier.info>
- Johannes Willnecker <johannes@willnecker.com>
- John Molakvoæ <skjnldsv@protonmail.com>
- Jonas <jonas@freesources.org>
- Jonas Heinrich <heinrich@synyx.de>
- Jonas Meurer <jonas@freesources.org>
- Jonas Rittershofer <jotoeri@users.noreply.github.com>
- Jonas Sulzer <jonas@violoncello.ch>
- Jonny007-MKD <1-23-4-5@web.de>
- Jos Poortvliet <jos@opensuse.org>
- Jose Quinteiro <github@quinteiro.org>
- Josh Richards <josh.t.richards@gmail.com>
- Juan Pablo Villafañez <jvillafanez@solidgear.es>
- Juan Pablo Villafáñez <jvillafanez@solidgear.es>
- Julien Lutran <julien.lutran@corp.ovh.com>
- Julien Veyssier <eneiluj@posteo.net>
- Julien Veyssier <julien-nc@posteo.net>
- Julius Haertl <jus@bitgrid.net>
- Julius Härtl <jus@bitgrid.net>
- Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
- Jörn Friedrich Dreyer <jfd@butonic.de>
- KB7777 <k.burkowski@gmail.com>
- Kamil Domanski <kdomanski@kdemail.net>
- Karel Hink <info@karelhink.cz>
- Kawohl <john@owncloud.com>
- Kenneth Newwood <kenneth@newwood.name>
- Kevin Lanni <therealklanni@gmail.com>
- Kevin Ndung'u <kevgathuku@gmail.com>
- Kim Brose <kim.brose@rwth-aachen.de>
- Kevin Niehage <k.niehage@syseleven.de>
- Kirill Popov <kirill.s.popov@gmail.com>
- Klaas Freitag <freitag@owncloud.com>
- Knut Ahlers <knut@ahlers.me>
- Ko- <k.stoffelen@cs.ru.nl>
@@ -179,7 +221,7 @@ Nextcloud is written by:
- Lars Knickrehm <mail@lars-sh.de>
- Laurens Post <Crote@users.noreply.github.com>
- Laurens Post <lkpost@scept.re>
- Lauris Binde <laurisb@users.noreply.github.com>
- Lee Garrett <lgarrett@rocketjump.eu>
- Lennart Rosam <hello@takuto.de>
- Lennart Rosam <lennart.rosam@medien-systempartner.de>
- Leon Klingele <git@leonklingele.de>
@@ -189,13 +231,22 @@ Nextcloud is written by:
- Lionel Elie Mamane <lionel@mamane.lu>
- Loki3000 <github@labcms.ru>
- Lorenzo M. Catucci <lorenzo@sancho.ccd.uniroma2.it>
- Lorenzo Tanganelli <35271287+tanganellilore@users.noreply.github.com>
- Louis <6653109+artonge@users.noreply.github.com>
- Louis Chemineau <louis@chmn.me>
- Loïc Hermann <loic.hermann@sciam.fr>
- Luka Trovic <luka@nextcloud.com>
- Lukas Reschke <lukas@statuscode.ch>
- Lukas Stabe <lukas@stabe.de>
- Luke Policinski <lpolicinski@gmail.com>
- Magnus Walbeck <mw@mwalbeck.org>
- Maksim Sukharev <antreesy.web@gmail.com>
- Marc Hefter <marchefter@gmail.com>
- Marc Hefter <marchefter@march42.net>
- Marcel Klehr <mklehr@gmx.net>
- Marcel Müller <marcel-mueller@gmx.de>
- Marcel Waldvogel <marcel.waldvogel@uni-konstanz.de>
- Marco Ambrosini <marcoambrosini@pm.me>
- Marco Ziech <marco@ziech.net>
- Marin Treselj <marin@pixelipo.com>
- Mario Danic <mario@lovelyhq.com>
@@ -204,19 +255,25 @@ Nextcloud is written by:
- Marius David Wieschollek <git.public@mdns.eu>
- Markus Goetz <markus@woboq.com>
- Markus Staab <markus.staab@redaxo.de>
- Markus Zeller <git@markuszeller.com>
- MartB <mart.b@outlook.de>
- Martin <github@diemattels.at>
- Martin Brugnara <martin@0x6d62.eu>
- Martin Konrad <info@martin-konrad.net>
- Martin Konrad <konrad@frib.msu.edu>
- Martin Mattel <martin.mattel@diemattels.at>
- Marvin Thomas Rabe <mrabe@marvinrabe.de>
- Masaki Kawabata Neto <masaki.kawabata@gmail.com>
- MasterOfDeath <rinat.gumirov@mail.ru>
- Matthew Setter <matthew@matthewsetter.com>
- Matthieu Gallien <matthieu.gallien@nextcloud.com>
- Mattia Narducci <mattianarducci1@gmail.com>
- Max <max@nextcloud.com>
- Max Kovalenko <mxss1998@yandex.ru>
- Max Kunzelmann <maxdev@posteo.de>
- Maxence Lange <maxence@artificial-owl.com>
- Maxence Lange <maxence@nextcloud.com>
- Maxence Lange <maxence@pontapreta.net>
- Maxime Besson <maxime.besson@worteks.com>
- Maximilian Martin <maximilian_martin@gmx.de>
- Maxopoly <max@dermax.org>
- MichaIng <28480705+MichaIng@users.noreply.github.com>
- MichaIng <micha@dietpi.com>
@@ -224,40 +281,51 @@ Nextcloud is written by:
- Michael Göhler <somebody.here@gmx.de>
- Michael Jobst <mjobst+github@tecratech.de>
- Michael Jobst <mjobst@necls.com>
- Michael Kuhn <github@ikkoku.de>
- Michael Kuhn <michael@ikkoku.de>
- Michael Letzgus <www@chronos.michael-letzgus.de>
- Michael Roitzsch <reactorcontrol@icloud.com>
- Michael Weimann <mail@michael-weimann.eu>
- Michael Zamot <michael@zamot.io>
- Michał Węgrzynek <michal.wegrzynek@malloc.com.pl>
- Michiel de Jong <michiel@unhosted.org>
- Micke Nordin <kano@sunet.se>
- Mickey Knox <mickey@netfreaks.org>
- Miguel Prokop <miguel.prokop@vtu.com>
- Mikael Hammarin <mikael@try2.se>
- Mikael Nordin <mickenordin@users.noreply.github.com>
- Mikael Saarinen <mikaels@iki.fi>
- Mikhail Sazanov <m@sazanof.ru>
- Mitar <mitar.git@tnode.com>
- Mohammed Abdellatif <m.latief@gmail.com>
- Morris Jobke <hey@morrisjobke.de>
- Mátyás Jani <jzombi@gmail.com>
- Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
- Nazar Mokrynskyi <nazar@mokrynskyi.com>
- Nick Sweeting <git@sweeting.me>
- Nicolai Ehemann <en@enlightened.de>
- Nicolas Grekas <nicolas.grekas@gmail.com>
- Nicolas SIMIDE <2083596+dems54@users.noreply.github.com>
- Nils <git@to.nilsschnabel.de>
- Nils Wittenbrink <nilswittenbrink@web.de>
- Nina Pypchenko <22447785+nina-py@users.noreply.github.com>
- Nmz <nemesiz@nmz.lt>
- NoSleep82 <52562874+NoSleep82@users.noreply.github.com>
- Noveen Sachdeva <noveen.sachdeva@research.iiit.ac.in>
- Ole Ostergaard <ole.c.ostergaard@gmail.com>
- Ole Ostergaard <ole.ostergaard@knime.com>
- Oliver Kohl D.Sc. <oliver@kohl.bz>
- Oliver Wegner <void1976@gmail.com>
- Olivier Paroz <github@oparoz.com>
- Orzu Ionut <orzu.ionut@gmail.com>
- Owen Winkler <a_github@midnightcircus.com>
- Pascal de Bruijn <pmjdebruijn@pcode.nl>
- Patrick Paysant <patrick.paysant@linagora.com>
- Patrik Kernstock <info@pkern.at>
- Pauli Järvinen <pauli.jarvinen@gmail.com>
- Pavel Krasikov <klonishe@gmail.com>
- Pawel Boguslawski <pawel.boguslawski@ib.pl>
- Pellaeon Lin <nfsmwlin@gmail.com>
- Peter Kubica <peter@kubica.ch>
- Petre T <petre.tudor@dorkfarm.com>
- Phil Davis <phil.davis@inf.org>
- Philipp Kapfer <philipp.kapfer@gmx.at>
- Philipp Schaffrath <github@philipp.schaffrath.email>
@@ -269,6 +337,7 @@ Nextcloud is written by:
- Piotr M <mrow4a@yahoo.com>
- Piotr Mrowczynski <mrow4a@yahoo.com>
- Piotr Mrówczyński <mrow4a@yahoo.com>
- Pytal <24800714+Pytal@users.noreply.github.com>
- Qingping Hou <dave2008713@gmail.com>
- Raghu Nayyar <hey@raghunayyar.com>
- Ralph Krimmel <rkrimme1@gwdg.de>
@@ -279,7 +348,10 @@ Nextcloud is written by:
- RealRancor <fisch.666@gmx.de>
- Rello <Rello@users.noreply.github.com>
- Remco Brenninkmeijer <requist1@starmail.nl>
- Retidurc Silvernight <retidurc@silvernight.social>
- Richard Steinmetz <richard@steinmetz.cloud>
- Richard de Boer <github@tubul.net>
- Rid <rid@cylo.io>
- Rinat Gumirov <rinat.gumirov@mail.ru>
- Robert Dailey <rcdailey@gmail.com>
- Robin Appelman <robin@icewind.nl>
@@ -291,6 +363,7 @@ Nextcloud is written by:
- Romain Rivière <lecoyote@lecoyote.org>
- Roman Kreisel <mail@romankreisel.de>
- Ross Nicoll <jrn@jrn.me.uk>
- Rsplwe <i@rsplwe.com>
- Ruben Homs <ruben@homs.codes>
- RussellAult <RussellAult@users.noreply.github.com>
- Rémy Jacquin <remy@remyj.fr>
@@ -303,11 +376,10 @@ Nextcloud is written by:
- Sander Ruitenbeek <s.ruitenbeek@getgoing.nl>
- Sander Ruitenbeek <sander@grids.be>
- Sandro Lutz <sandro.lutz@temparus.ch>
- Sascha Sambale <mastixmc@gmail.com>
- Sanpi <sanpi@homecomputing.fr>
- Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
- Scott Dutton <exussum12@users.noreply.github.com>
- Scott Dutton <scott@exussum.co.uk>
- Scott Shambarger <devel@shambarger.net>
- Sean Comeau <sean@ftlnetworks.ca>
- Sean Molenaar <sean@seanmolenaar.eu>
- Sebastian Döll <sebastian.doell@libasys.de>
@@ -322,10 +394,16 @@ Nextcloud is written by:
- Sergey Shliakhov <husband.sergey@gmail.com>
- Sergio Bertolin <sbertolin@solidgear.es>
- Sergio Bertolín <sbertolin@solidgear.es>
- Sijmen Schoon <me@sijmenschoon.nl>
- Simon Könnecke <simonkoennecke@gmail.com>
- Simon L <szaimen@e.mail.de>
- Simon Leiner <simon@leiner.me>
- Simon Spannagel <simonspa@kth.se>
- Simounet <contact@simounet.net>
- Sjors van der Pluijm <sjors@desjors.nl>
- Stanimir Bozhilov <stanimir.bozhilov.1998@gmail.com>
- Stanimir Bozhilov <stanimir@audriga.com>
- Stefan <Stefan.Schilling@EXXETA.com>
- Stefan Rado <owncloud@sradonia.net>
- Stefan Schneider <stefan.schneider@squareweave.com.au>
- Stefan Weiberg <sweiberg@suse.com>
@@ -339,6 +417,7 @@ Nextcloud is written by:
- Sujith Haridasan <Sujith_Haridasan@mentor.com>
- Sujith Haridasan <sujith.h@gmail.com>
- Sven Strickroth <email@cs-ware.de>
- Sylvain <git@sylvain.dev>
- Sylvia van Os <sylvia@hackerchick.me>
- Tekhnee <info@tekhnee.org>
- Temtaime <temtaime@gmail.com>
@@ -357,6 +436,7 @@ Nextcloud is written by:
- Timo Förster <tfoerster@webfoersterei.de>
- Tobia De Koninck <LEDfan@users.noreply.github.com>
- Tobia De Koninck <tobia@ledfan.be>
- Tobias Assmann <tobias.assmann@ecsec.de>
- Tobias Kaminsky <tobias@kaminsky.me>
- Tobias Perschon <tobias@perschon.at>
- Tom Grant <TomG736@users.noreply.github.com>
@@ -364,30 +444,42 @@ Nextcloud is written by:
- Tomasz Grobelny <tomasz@grobelny.net>
- Tomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com>
- Tor Lillqvist <tml@collabora.com>
- UmbrellaCodr <umbrella@biohazard.cc>
- Unknown <anpz.asutp@gmail.com>
- Unpublished <unpublished@gmx.net>
- Valdnet <47037905+Valdnet@users.noreply.github.com>
- Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
- Varun Patil <radialapps@gmail.com>
- Varun Patil <varunpatil@ucla.edu>
- Victor Dubiniuk <dubiniuk@owncloud.com>
- Viktor Szépe <viktor@szepe.net>
- Vincent Chan <plus.vincchan@gmail.com>
- Vincent Petry <vincent@nextcloud.com>
- Vincent Van Houtte <vvh@aplusv.be>
- Vinicius Cubas Brand <vinicius@eita.org.br>
- Vitor Mattos <vitor@php.rio>
- Vlastimil Pecinka <pecinka@email.cz>
- Volkan Gezer <volkangezer@gmail.com>
- Volker <skydiablo@gmx.net>
- William <william.hak57@gmail.com>
- William Pain <pain.william@gmail.com>
- Xheni Myrtaj <myrtajxheni@gmail.com>
- Xuanwo <xuanwo@yunify.com>
- ZitronePlus <tobiasscharf92@gmail.com>
- acsfer <12234510+acsfer@users.noreply.github.com>
- acsfer <carlos@reendex.com>
- adrien <adrien.waksberg@believedigital.com>
- alanmeeson <alan@carefullycalculated.co.uk>
- aler9 <46489434+aler9@users.noreply.github.com>
- alexweirig <alex.weirig@technolink.lu>
- b108@volgograd "b108@volgograd"
- bbx-github <53237674+bbx-github@users.noreply.github.com>
- bladewing <lukas@ifflaender-family.de>
- bline <scottbeck@gmail.com>
- blizzz <blizzz@arthur-schiwon.de>
- brad2014 <brad2014@users.noreply.github.com>
- brumsel <brumsel@losecatcher.de>
- cahogan <caitlin.hogan@swiftsolar.com>
- call-me-matt <nextcloud@matthiasheinisch.de>
- castillo92 <37965565+castillo92@users.noreply.github.com>
- cetra3 <peter@parashift.com.au>
@@ -400,27 +492,32 @@ Nextcloud is written by:
- duritong <peter.meier+github@immerda.ch>
- eduardo <eduardo@vnexu.net>
- eleith <online+github@eleith.com>
- enoch <lanxenet@hotmail.com>
- essys <essys@users.noreply.github.com>
- exner104 <59639860+exner104@users.noreply.github.com>
- fabian <fabian@web2.0-apps.de>
- felixboehm <felix@webhippie.de>
- fenn-cs <fenn25.fn@gmail.com>
- fnuesse <felix.nuesse@t-online.de>
- fnuesse <fnuesse@techfak.uni-bielefeld.de>
- helix84 <helix84@centrum.sk>
- greta <gretadoci@gmail.com>
- hkjolhede <hkjolhede@gmail.com>
- hoellen <dev@hoellen.eu>
- howardZa <33491519+howardZa@users.noreply.github.com>
- ideaship <ideaship@users.noreply.github.com>
- j-ed <juergen@eisfair.org>
- j3l11234 <297259024@qq.com>
- jaltek <jaltek@mailbox.org>
- jknockaert <jasper@knockaert.nl>
- jld3103 <jld3103yt@gmail.com>
- josh4trunks <joshruehlig@gmail.com>
- julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
- karakayasemi <karakayasemi@itu.edu.tr>
- kevin147147 <kevintamool@gmail.com>
- korelstar <korelstar@users.noreply.github.com>
- leith abdulla <online-nextcloud@eleith.com>
- lui87kw <lukas.ifflaender@uni-wuerzburg.de>
- luz paz <luzpaz@github.com>
- luz paz <luzpaz@pm.me>
- lynn-stephenson <lynn.stephenson@protonmail.com>
- macjohnny <estebanmarin@gmx.ch>
- marco44 <cousinmarc@gmail.com>
@@ -431,7 +528,6 @@ Nextcloud is written by:
- michaelletzgus <michaelletzgus@users.noreply.github.com>
- michag86 <micha_g@arcor.de>
- mmccarn <mmccarn-github@mmsionline.us>
- nacho <nacho@ownyourbits.com>
- nhirokinet <nhirokinet@nhiroki.net>
- nik gaffney <nik@fo.am>
- nishiki <nishiki@yaegashi.fr>
@@ -439,9 +535,12 @@ Nextcloud is written by:
- noveens <noveen.sachdeva@research.iiit.ac.in>
- npmbuildbot[bot] "npmbuildbot[bot]@users.noreply.github.com"
- onehappycat <one.happy.cat@gmx.com>
- oparoz <owncloud@interfasys.ch>
- phisch <git@philippschaffrath.de>
- pjft <pjft@users.noreply.github.com>
- plumbeo <plumbeo@users.noreply.github.com>
- rakekniven <2069590+rakekniven@users.noreply.github.com>
- rakekniven <mark.ziegler@rakekniven.de>
- raul <raul@nextcloud.com>
- robottod <83244577+robottod@users.noreply.github.com>
- root "root@oc.(none)"
- root <root@localhost.localdomain>
@@ -451,6 +550,8 @@ Nextcloud is written by:
- scolebrook <scolebrook@mac.com>
- shkdee <louis.traynard@m4x.org>
- simonspa <1677436+simonspa@users.noreply.github.com>
- smichel17 <git@smichel.me>
- sodimel <corentin@244466666.xyz>
- ste101 <stephan_bauer@gmx.de>
- sualko <klaus@jsxc.org>
- szaimen <szaimen@e.mail.de>
@@ -462,6 +563,7 @@ Nextcloud is written by:
- v1r0x <vinzenz.rosenkranz@gmail.com>
- voxsim "Simon Vocella"
- waleczny <michal@walczak.xyz>
- zorn-v <zorn7@yandex.ru>
- zulan <git@zulan.net>
- Łukasz Buśko <busko.lukasz@pm.me>
+3
View File
@@ -138,6 +138,9 @@ After that, please also include the autoloader file changes in your commits.
- [🌊 WAVE](https://wave.webaim.org/extension/) for accessibility testing
- [🚨 Lighthouse](https://developers.google.com/web/tools/lighthouse/) for testing performance, accessibility, and more
#### Helpful bots at github :robot:
- Comment on a pull request with `/update-3rdparty` to update the 3rd party submodule. It will update to the last commit of the 3rd party branch named like the PR target.
## Contribution guidelines 📜
+2 -2
View File
@@ -5,7 +5,7 @@
<name>Auditing / Logging</name>
<summary>Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions.</summary>
<description>Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions.</description>
<version>1.16.0</version>
<version>1.17.0</version>
<licence>agpl</licence>
<author>Nextcloud</author>
<namespace>AdminAudit</namespace>
@@ -15,7 +15,7 @@
<category>monitoring</category>
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="26" max-version="26"/>
<nextcloud min-version="27" max-version="27"/>
</dependencies>
<background-jobs>
<job>OCA\AdminAudit\BackgroundJobs\Rotate</job>
@@ -429,7 +429,8 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
(self::$includeFile)($file);
$includeFile = self::$includeFile;
$includeFile($file);
return true;
}
@@ -560,7 +561,10 @@ class ClassLoader
return false;
}
private static function initializeIncludeClosure(): void
/**
* @return void
*/
private static function initializeIncludeClosure()
{
if (self::$includeFile !== null) {
return;
@@ -574,8 +578,8 @@ class ClassLoader
* @param string $file
* @return void
*/
self::$includeFile = static function($file) {
self::$includeFile = \Closure::bind(static function($file) {
include $file;
};
}, null, null);
}
}
@@ -98,7 +98,7 @@ class InstalledVersions
{
foreach (self::getInstalled() as $installed) {
if (isset($installed['versions'][$packageName])) {
return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false;
}
}
@@ -119,7 +119,7 @@ class InstalledVersions
*/
public static function satisfies(VersionParser $parser, $packageName, $constraint)
{
$constraint = $parser->parseConstraints($constraint);
$constraint = $parser->parseConstraints((string) $constraint);
$provided = $parser->parseConstraints(self::getVersionRanges($packageName));
return $provided->matches($constraint);
@@ -328,7 +328,9 @@ class InstalledVersions
if (isset(self::$installedByVendor[$vendorDir])) {
$installed[] = self::$installedByVendor[$vendorDir];
} elseif (is_file($vendorDir.'/composer/installed.php')) {
$installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
/** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
$required = require $vendorDir.'/composer/installed.php';
$installed[] = self::$installedByVendor[$vendorDir] = $required;
if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
self::$installed = $installed[count($installed) - 1];
}
@@ -340,12 +342,17 @@ class InstalledVersions
// only require the installed.php file if this file is loaded from its dumped location,
// and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
if (substr(__DIR__, -8, 1) !== 'C') {
self::$installed = require __DIR__ . '/installed.php';
/** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
$required = require __DIR__ . '/installed.php';
self::$installed = $required;
} else {
self::$installed = array();
}
}
$installed[] = self::$installed;
if (self::$installed !== array()) {
$installed[] = self::$installed;
}
return $installed;
}
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'd51429a47232bbf46a2be832ecfa711f102da802',
'reference' => 'dd3d689e04a5e1d558da937ca72980e0e2c7c404',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'd51429a47232bbf46a2be832ecfa711f102da802',
'reference' => 'dd3d689e04a5e1d558da937ca72980e0e2c7c404',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
+2 -2
View File
@@ -1,7 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "التدقيق / السجلات",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "خاصية سجلات المراقبة لـ نكست كلاود مثل الوصول إلى سجلات الملفات أو المعلومات الحساسة الاخرى."
"Auditing / Logging" : "المراجعة / السجلات",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "تُوفِّر إمكانيات تسجيل و مراجعة سجل الحركات على نكست كلاود."
},
"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;");
+2 -2
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "التدقيق / السجلات",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "خاصية سجلات المراقبة لـ نكست كلاود مثل الوصول إلى سجلات الملفات أو المعلومات الحساسة الاخرى."
"Auditing / Logging" : "المراجعة / السجلات",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "تُوفِّر إمكانيات تسجيل و مراجعة سجل الحركات على نكست كلاود."
},"pluralForm" :"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditoría / Rexistru",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Forne la capacidá de rexistrar, por exemplu, l'accesu a los ficheros o a otres aiciones sensibles de Nextcloud"
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoría / Rexistru",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Forne la capacidá de rexistrar, por exemplu, l'accesu a los ficheros o a otres aiciones sensibles de Nextcloud"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Audit / Giriş",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Nextcloud üçün fayl girişləri və ya başqa həssas hərəkətlər kimi giriş imkanlarını təmin edir."
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Audit / Giriş",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Nextcloud üçün fayl girişləri və ya başqa həssas hərəkətlər kimi giriş imkanlarını təmin edir."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Archwilio / Cofnodi",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Yn darparu galluoedd cofnodi ar gyfer Nextcloud megis cofnodi mynediadau ffeiliau neu gamau gweithredu sensitif."
},
"nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Archwilio / Cofnodi",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Yn darparu galluoedd cofnodi ar gyfer Nextcloud megis cofnodi mynediadau ffeiliau neu gamau gweithredu sensitif."
},"pluralForm" :"nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;"
}
+1 -1
View File
@@ -1,7 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditieren / Protokollieren",
"Auditing / Logging" : "Auditieren/Protokollieren",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Stellt Protokollierungsfunktionen für Nextcloud zur Verfügung wie Dateizugriffe oder andere vertrauliche Aktionen."
},
"nplurals=2; plural=(n != 1);");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditieren / Protokollieren",
"Auditing / Logging" : "Auditieren/Protokollieren",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Stellt Protokollierungsfunktionen für Nextcloud zur Verfügung wie Dateizugriffe oder andere vertrauliche Aktionen."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Ekzamenado / Protokolado",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Provizi protokolado-kapablojn por Nextcloud, kiel ekzemple protokolado de aliroj al dosieroj aŭ aliaj delikataj agoj."
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Ekzamenado / Protokolado",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Provizi protokolado-kapablojn por Nextcloud, kiel ekzemple protokolado de aliroj al dosieroj aŭ aliaj delikataj agoj."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditoría / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona capacidades de registro para Nextcloud, como el registro de accesos a archivos o acciones confidenciales."
},
"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoría / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona capacidades de registro para Nextcloud, como el registro de accesos a archivos o acciones confidenciales."
},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditoría / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona capacidades de registro para Nextcloud, como el registro de accesos a archivos o acciones confidenciales."
},
"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoría / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona capacidades de registro para Nextcloud, como el registro de accesos a archivos o acciones confidenciales."
},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
}
+1 -1
View File
@@ -2,6 +2,6 @@ OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Audit / Journalisation",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fournit des capacités de traçage à NextCloud telles que les accès aux fichiers ou d'autres actions sensibles."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fournit des capacités de journalisation pour Nextcloud, telles que la journalisation des accès aux fichiers ou d'autres actions sensibles."
},
"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Audit / Journalisation",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fournit des capacités de traçage à NextCloud telles que les accès aux fichiers ou d'autres actions sensibles."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fournit des capacités de journalisation pour Nextcloud, telles que la journalisation des accès aux fichiers ou d'autres actions sensibles."
},"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
}
+1 -1
View File
@@ -2,6 +2,6 @@ OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditoría / Rexistro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece recursos de rexistro para o Nextcloud como rexistros de acceso a ficheiros ou calquera outra acción sensíbel."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece recursos de rexistro para Nextcloud como rexistros de acceso a ficheiros ou calquera outra acción sensíbel."
},
"nplurals=2; plural=(n != 1);");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoría / Rexistro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece recursos de rexistro para o Nextcloud como rexistros de acceso a ficheiros ou calquera outra acción sensíbel."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece recursos de rexistro para Nextcloud como rexistros de acceso a ficheiros ou calquera outra acción sensíbel."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+2 -2
View File
@@ -2,6 +2,6 @@ OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "פיקוח / תיעוד",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "מספר יכולות תיעוד ל־Nextcloud כגון תיעוד גישה ליומן התיעוד או פעולות רגישות אחרות."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "מספק יכולות תיעוד ל־Nextcloud כגון תיעוד גישה ליומן התיעוד או פעולות רגישות אחרות."
},
"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;");
"nplurals=3; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: 2;");
+2 -2
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "פיקוח / תיעוד",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "מספר יכולות תיעוד ל־Nextcloud כגון תיעוד גישה ליומן התיעוד או פעולות רגישות אחרות."
},"pluralForm" :"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;"
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "מספק יכולות תיעוד ל־Nextcloud כגון תיעוד גישה ליומן התיעוד או פעולות רגישות אחרות."
},"pluralForm" :"nplurals=3; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: 2;"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "ऑडिटिंग/लॉगिंग",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "नेक्स्टक्लाउड के लिए लॉगिंग क्षमताएं प्रदान करता है जैसे फ़ाइल एक्सेस या अन्यथा संवेदनशील कार्यों को लॉग करना।"
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "ऑडिटिंग/लॉगिंग",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "नेक्स्टक्लाउड के लिए लॉगिंग क्षमताएं प्रदान करता है जैसे फ़ाइल एक्सेस या अन्यथा संवेदनशील कार्यों को लॉग करना।"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Աուդիտ / Տեղեկագրում",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Nextcloud ֊ի համար տրամադրում է տեղեկագրման հնարավորություն՝ նիշքերի հասանելիության և զգայուն գործողություինների պահպանումը տեղեկամատյանում։"
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Աուդիտ / Տեղեկագրում",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Nextcloud ֊ի համար տրամադրում է տեղեկագրման հնարավորություն՝ նիշքերի հասանելիության և զգայուն գործողություինների պահպանումը տեղեկամատյանում։"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Eftirlit / Atvikaskráning",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Býður upp á atvikaskráningu fyrir Nextcloud, eins og að skrá aðgang að skrám og fleiri viðkvæmar aðgerðir."
},
"nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Eftirlit / Atvikaskráning",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Býður upp á atvikaskráningu fyrir Nextcloud, eins og að skrá aðgang að skrám og fleiri viðkvæmar aðgerðir."
},"pluralForm" :"nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);"
}
+2 -1
View File
@@ -1,6 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Ревизија / Евиденција"
"Auditing / Logging" : "Ревизија / Евиденција",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Обезбедува можности за евидентирање на Nextcloud, како што се евидентирање пристапи до датотеки или на друг начин чувствителни дејства."
},
"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;");
+2 -1
View File
@@ -1,4 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Ревизија / Евиденција"
"Auditing / Logging" : "Ревизија / Евиденција",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Обезбедува можности за евидентирање на Nextcloud, како што се евидентирање пристапи до датотеки или на друг начин чувствителни дејства."
},"pluralForm" :"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;"
}
+1 -1
View File
@@ -2,6 +2,6 @@ OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditoria / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece recursos de registro para Nextcloud, como registros de acesso a arquivos ou outras ações confidenciais."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece habilidades de registro para o NextCloud, como acessos de arquivo de log ou ações sensíveis."
},
"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoria / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece recursos de registro para Nextcloud, como registros de acesso a arquivos ou outras ações confidenciais."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece habilidades de registro para o NextCloud, como acessos de arquivo de log ou ações sensíveis."
},"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "การตรวจสอบ / บันทึก",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "ให้ความสามารถในการบันทึก (logging) สำหรับ Nextcloud เช่น การบันทึกการเข้าถึงไฟล์ หรือการดำเนินการที่ละเอียดอ่อน"
},
"nplurals=1; plural=0;");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "การตรวจสอบ / บันทึก",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "ให้ความสามารถในการบันทึก (logging) สำหรับ Nextcloud เช่น การบันทึกการเข้าถึงไฟล์ หรือการดำเนินการที่ละเอียดอ่อน"
},"pluralForm" :"nplurals=1; plural=0;"
}
+25
View File
@@ -160,6 +160,19 @@ class Sharing extends Action {
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_SCIENCEMESH) {
$this->log(
'The %s "%s" with ID "%s" has been shared to the ScienceMesh user "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'shareWith',
'permissions',
'id',
]
);
}
}
@@ -276,6 +289,18 @@ class Sharing extends Action {
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_SCIENCEMESH) {
$this->log(
'The %s "%s" with ID "%s" has been unshared from the ScienceMesh user "%s" (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'shareWith',
'id',
]
);
}
}
+2 -2
View File
@@ -5,7 +5,7 @@
<name>Cloud Federation API</name>
<summary>Enable clouds to communicate with each other and exchange data</summary>
<description>The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data.</description>
<version>1.9.0</version>
<version>1.10.0</version>
<licence>agpl</licence>
<author>Bjoern Schiessle</author>
<namespace>CloudFederationAPI</namespace>
@@ -15,6 +15,6 @@
<category>files</category>
<bugs>https://github.com/nextcloud/cloud_federation/issues</bugs>
<dependencies>
<nextcloud min-version="26" max-version="26"/>
<nextcloud min-version="27" max-version="27"/>
</dependencies>
</info>
+11 -4
View File
@@ -6,6 +6,7 @@ declare(strict_types=1);
* @copyright Copyright (c) 2020 Joas Schilling <coding@schilljs.com>
*
* @author Joas Schilling <coding@schilljs.com>
* @author Maxence Lange <maxence@artificial-owl.com>
*
* @license GNU AGPL version 3 or any later version
*
@@ -27,15 +28,21 @@ return [
'routes' => [
[
'name' => 'RequestHandler#addShare',
'url' => '/ocm/shares',
'url' => '/shares',
'verb' => 'POST',
'root' => '',
'root' => '/ocm',
],
[
'name' => 'RequestHandler#receiveNotification',
'url' => '/ocm/notifications',
'url' => '/notifications',
'verb' => 'POST',
'root' => '',
'root' => '/ocm',
],
// [
// 'name' => 'RequestHandler#inviteAccepted',
// 'url' => '/invite-accepted',
// 'verb' => 'POST',
// 'root' => '/ocm',
// ]
],
];
@@ -429,7 +429,8 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
(self::$includeFile)($file);
$includeFile = self::$includeFile;
$includeFile($file);
return true;
}
@@ -560,7 +561,10 @@ class ClassLoader
return false;
}
private static function initializeIncludeClosure(): void
/**
* @return void
*/
private static function initializeIncludeClosure()
{
if (self::$includeFile !== null) {
return;
@@ -574,8 +578,8 @@ class ClassLoader
* @param string $file
* @return void
*/
self::$includeFile = static function($file) {
self::$includeFile = \Closure::bind(static function($file) {
include $file;
};
}, null, null);
}
}
@@ -98,7 +98,7 @@ class InstalledVersions
{
foreach (self::getInstalled() as $installed) {
if (isset($installed['versions'][$packageName])) {
return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false;
}
}
@@ -119,7 +119,7 @@ class InstalledVersions
*/
public static function satisfies(VersionParser $parser, $packageName, $constraint)
{
$constraint = $parser->parseConstraints($constraint);
$constraint = $parser->parseConstraints((string) $constraint);
$provided = $parser->parseConstraints(self::getVersionRanges($packageName));
return $provided->matches($constraint);
@@ -328,7 +328,9 @@ class InstalledVersions
if (isset(self::$installedByVendor[$vendorDir])) {
$installed[] = self::$installedByVendor[$vendorDir];
} elseif (is_file($vendorDir.'/composer/installed.php')) {
$installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
/** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
$required = require $vendorDir.'/composer/installed.php';
$installed[] = self::$installedByVendor[$vendorDir] = $required;
if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
self::$installed = $installed[count($installed) - 1];
}
@@ -340,12 +342,17 @@ class InstalledVersions
// only require the installed.php file if this file is loaded from its dumped location,
// and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
if (substr(__DIR__, -8, 1) !== 'C') {
self::$installed = require __DIR__ . '/installed.php';
/** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
$required = require __DIR__ . '/installed.php';
self::$installed = $required;
} else {
self::$installed = array();
}
}
$installed[] = self::$installed;
if (self::$installed !== array()) {
$installed[] = self::$installed;
}
return $installed;
}
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'd51429a47232bbf46a2be832ecfa711f102da802',
'reference' => 'dd3d689e04a5e1d558da937ca72980e0e2c7c404',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'd51429a47232bbf46a2be832ecfa711f102da802',
'reference' => 'dd3d689e04a5e1d558da937ca72980e0e2c7c404',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
+8
View File
@@ -0,0 +1,8 @@
OC.L10N.register(
"cloud_federation_api",
{
"Cloud Federation API" : "واجهة برمجة التطبيقات API للاتحاد السحابي Cloud Federation",
"Enable clouds to communicate with each other and exchange data" : "يسمح للسحابات أن تتراسل فيما بينها و تتبادل البيانات",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "واجهة برمجة التطبيقات API للاتحاد السحابي Cloud Federation تسمح لخوادم نكست كلاود بالاتصال ببعضها البعض و تبادل البيانات."
},
"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;");
+6
View File
@@ -0,0 +1,6 @@
{ "translations": {
"Cloud Federation API" : "واجهة برمجة التطبيقات API للاتحاد السحابي Cloud Federation",
"Enable clouds to communicate with each other and exchange data" : "يسمح للسحابات أن تتراسل فيما بينها و تتبادل البيانات",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "واجهة برمجة التطبيقات API للاتحاد السحابي Cloud Federation تسمح لخوادم نكست كلاود بالاتصال ببعضها البعض و تبادل البيانات."
},"pluralForm" :"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;"
}
+8
View File
@@ -0,0 +1,8 @@
OC.L10N.register(
"cloud_federation_api",
{
"Cloud Federation API" : "API de la federación na nube",
"Enable clouds to communicate with each other and exchange data" : "Permite que les nubes se comuniquen ente elles ya intercambien datos",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "L'API de la federación na nube permite que delles instancies de Nextcloud se comuniquen ente elles ya intercambien datos."
},
"nplurals=2; plural=(n != 1);");
+6
View File
@@ -0,0 +1,6 @@
{ "translations": {
"Cloud Federation API" : "API de la federación na nube",
"Enable clouds to communicate with each other and exchange data" : "Permite que les nubes se comuniquen ente elles ya intercambien datos",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "L'API de la federación na nube permite que delles instancies de Nextcloud se comuniquen ente elles ya intercambien datos."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+1 -1
View File
@@ -2,7 +2,7 @@ OC.L10N.register(
"cloud_federation_api",
{
"Cloud Federation API" : "API pro federovaný cloud",
"Enable clouds to communicate with each other and exchange data" : "Umožňuje cloudům navzájem komunikovat a vyměňovat si data",
"Enable clouds to communicate with each other and exchange data" : "Umožňuje cloudům vzájem komunikovat a vyměňovat si data",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "API pro federovaný cloud umožňuje různým instancím Nextcloud vzájemně komunikovat a vyměňovat si data."
},
"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;");
+1 -1
View File
@@ -1,6 +1,6 @@
{ "translations": {
"Cloud Federation API" : "API pro federovaný cloud",
"Enable clouds to communicate with each other and exchange data" : "Umožňuje cloudům navzájem komunikovat a vyměňovat si data",
"Enable clouds to communicate with each other and exchange data" : "Umožňuje cloudům vzájem komunikovat a vyměňovat si data",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "API pro federovaný cloud umožňuje různým instancím Nextcloud vzájemně komunikovat a vyměňovat si data."
},"pluralForm" :"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;"
}

Some files were not shown because too many files have changed in this diff Show More