Compare commits

...

4119 Commits

Author SHA1 Message Date
Arthur Schiwon b9faaef35a Merge pull request #43059 from nextcloud/release/28.0.2_rc3
28.0.2 RC3
2024-01-23 20:03:38 +01:00
Arthur Schiwon bcea51d6bf Merge pull request #43055 from nextcloud/backport/42999/stable28
[stable28] fix(settings): Allow to connect to local address when checking for `.mjs` support
2024-01-23 19:54:05 +01:00
Arthur Schiwon ae1fa1828f Merge pull request #43058 from nextcloud/backport/43029/stable28
[stable28] Wrap versions list in virtual scroll
2024-01-23 19:06:35 +01:00
Arthur Schiwon 20e3f79806 28.0.2 RC3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-01-23 18:24:07 +01:00
Louis Chemineau 9cfa6ef77b Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-23 18:02:39 +01:00
Louis Chemineau a256b73cff Wrap versions list in virtual scroll
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-23 16:57:49 +00:00
Ferdinand Thiessen 71e9036e03 fix(settings): Allow to connect to local address when checking for .mjs support
Also reduce the severity in case of a failed check to warning.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-23 14:12:29 +00:00
Benjamin Gaussorgues 92a776d07b Merge pull request #43003 from nextcloud/release/28.0.2_rc2
28.0.2 RC2
2024-01-23 10:26:50 +01:00
Arthur Schiwon 667b0bc3ff Merge pull request #43032 from nextcloud/fix/stable28-capabilities
[stable28] fix(theming): Apply same logic on capabilities for primary color as done on themes
2024-01-23 10:12:09 +01:00
Nextcloud bot c6c9ec9c14 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-23 00:27:14 +00:00
Ferdinand Thiessen afa56bb8a4 fix(theming): Apply same logic on capabilities for primary color like on themes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-23 01:01:03 +01:00
Arthur Schiwon 52a6789423 Merge pull request #43030 from nextcloud/backport/42967/stable28
[stable28] fix(files): do not show `View in folder` in the Files view
2024-01-22 21:11:22 +01:00
nextcloud-command 14c1d3da4d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-22 20:42:41 +01:00
John Molakvoæ 3c5a09b9a4 fix(files): do not show View in folder in the Files view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-22 20:39:37 +01:00
Arthur Schiwon 9398e90828 Merge pull request #43012 from nextcloud/backport/42971/stable28
[stable28] fix(auth): Fix logging in with email and app password
2024-01-22 20:24:26 +01:00
Arthur Schiwon dad03dbc73 Merge pull request #43006 from nextcloud/backport/42996/stable28
[stable28] fix(weather_status): Fix location format for OpenAPI
2024-01-22 20:16:14 +01:00
Arthur Schiwon 9657dbcfae Merge pull request #43014 from nextcloud/backport/42963/stable28
[stable28] fix header inversion bug
2024-01-22 20:03:47 +01:00
Benjamin Gaussorgues 2be4fb7e7b Merge pull request #42820 from nextcloud/enh/noid/prep-appconfig-migration-for-29
[stable28] prepare migration to lazy config
2024-01-22 15:58:43 +01:00
Maxence Lange 7b6b3589f3 prepare migration to lazy config
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-22 11:32:23 -01:00
Ferdinand Thiessen b0679e2384 chore: Built CSS assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-22 11:19:59 +00:00
Simon L 99043c363d fix header inversion bug
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-22 10:15:43 +00:00
Christoph Wurst 0e3f68079e 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:59 +00:00
Joas Schilling 7026fa6fa2 Merge pull request #42960 from nextcloud/backport/42955/stable28
[stable28] fix(a11y): Fix avatar menu icon color in dark mode
2024-01-22 10:27:00 +01:00
provokateurin a7e9803461 fix(weather_status): Fix location format for OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-22 09:00:53 +00:00
Benjamin Gaussorgues 1f341feac8 28.0.2 RC2
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-01-22 09:30:41 +01:00
Joas Schilling 827baadbff chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-22 09:16:01 +01:00
Joas Schilling 2fec523604 fix(a11y): Fix avatar menu icon color in dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-22 09:15:44 +01:00
Nextcloud bot 0004ba890c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-22 00:20:18 +00:00
John Molakvoæ 753425f622 Merge pull request #42994 from nextcloud/fix/stable28-dialogs 2024-01-21 11:00:14 +01:00
Ferdinand Thiessen efaf1ceddc chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-21 10:04:21 +01:00
Ferdinand Thiessen 0fed5f3c8f chore(deps): Update @nextcloud/dialogs to 5.1.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-21 10:04:20 +01:00
John Molakvoæ c67ff102e4 Merge pull request #42983 from nextcloud/backport/42949/stable28 2024-01-21 10:01:31 +01:00
Nextcloud bot 0c89b042a5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-21 00:38:52 +00:00
nextcloud-command f64af7cb83 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-21 01:20:02 +01:00
Christopher Ng fad87c58a7 fix(files): Fix checkbox state semantics
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-21 01:13:56 +01:00
Ferdinand Thiessen 3c6fc68561 Merge pull request #42988 from nextcloud/backport/42889/stable28
[stable28] enh(files): Allow to copy files into same directory
2024-01-21 01:02:01 +01:00
Ferdinand Thiessen 79ef297fea Merge pull request #42986 from nextcloud/backport/stable28-profile-vue
[stable28] profile: Refactor code to use vue components and styles where possible
2024-01-21 00:58:47 +01:00
nextcloud-command 9818ba83fa chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-20 12:42:45 -06:00
Ferdinand Thiessen 84e2165aef fix(files): Allow to copy or move file to folder with similar name
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 12:42:45 -06:00
Ferdinand Thiessen 20331e4349 fix(files): Adjust getUniqueName for custom suffix and reuse for copy-move-action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 12:42:45 -06:00
Ferdinand Thiessen d2446762b5 enh(files): Allow to copy files into same directory
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 12:42:45 -06:00
Ferdinand Thiessen ea2ba8b27e Merge pull request #42982 from nextcloud/backport/42974/stable28
[stable28] fix(build): Fix OpenAPI diff on non-default specs
2024-01-20 17:41:35 +01:00
Ferdinand Thiessen 6e693e633c chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 17:37:32 +01:00
Ferdinand Thiessen e20a87bf7f enh(core): Refactor profile page to use vue components
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 17:36:03 +01:00
John Molakvoæ 74f3d0fd45 Merge pull request #42952 from nextcloud/backport/42888/stable28 2024-01-20 17:25:22 +01:00
John Molakvoæ d1ef76913c Merge pull request #42948 from nextcloud/backport/42940/stable28 2024-01-20 17:24:58 +01:00
John Molakvoæ 0285fbe430 Merge pull request #42984 from nextcloud/backport/42950/stable28 2024-01-20 16:10:37 +01:00
Eduardo Morales df15045541 fix(files): fixed home aria-label and desc logic
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-20 13:36:24 +01:00
provokateurin 54b9636e17 fix(build): Fix OpenAPI diff on non-default specs
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-20 11:10:37 +00:00
Nextcloud bot 1086d1e1b5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-20 00:19:33 +00:00
provokateurin 651caed6aa refactor: Configure OpenAPI scopes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-19 09:12:34 +01:00
provokateurin 98d64ea05d refactor: Migrate IgnoreOpenAPI attributes to OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-19 09:12:34 +01:00
provokateurin 4420923009 chore: Adjust codeowners
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-19 09:12:26 +01:00
provokateurin 846fb6f701 chore(deps): Update openapi-extractor
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-19 09:12:26 +01:00
provokateurin b8b15b725b chore(files): Remove unused type alias
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-19 09:12:26 +01:00
Nextcloud bot 2988f7f220 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-19 00:19:35 +00:00
Arthur Schiwon e93520a2c5 Merge pull request #42789 from nextcloud/release/28.0.2_rc1
28.0.2 RC1
2024-01-18 15:01:31 +01:00
Arthur Schiwon ddb95cef5b Merge pull request #42921 from nextcloud/backport/42891/stable28
[stable28] Improve path resolution in files_version hooks
2024-01-18 14:59:57 +01:00
John Molakvoæ 1fc89782c5 Merge pull request #42767 from nextcloud/backport/42598/stable28 2024-01-18 13:57:25 +01:00
Arthur Schiwon a3d525b46d Merge pull request #42779 from nextcloud/backport/42126/stable28
[stable28] Tooltip outside click, should abort share creation
2024-01-18 13:21:19 +01:00
Arthur Schiwon b692fbf061 Merge pull request #42918 from nextcloud/backport/setupchecks-2/stable28
[stable28] Setup check migrations to new API
2024-01-18 12:34:52 +01:00
John Molakvoæ 8147874698 Merge pull request #42882 from nextcloud/backport/42853/stable28 2024-01-18 12:27:35 +01:00
John Molakvoæ f9c770bbc3 fix(files): use backend error message if provided
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-18 12:25:16 +01:00
John Molakvoæ 9ff82cd326 Merge pull request #42895 from nextcloud/backport/42840/stable28 2024-01-18 12:22:55 +01:00
Joas Schilling ccd3a99f02 Merge pull request #42928 from nextcloud/backport/42923/stable28
[stable28] fix(build): Do not generated OpenAPI for non-shipped apps or apps without OpenAPI support
2024-01-18 12:17:54 +01:00
provokateurin 3e59696c1a fix(build): Do not generated OpenAPI for non-shipped apps or apps without OpenAPI support
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-18 11:54:49 +01:00
Louis Chemineau eaddf36012 Improve path resolution in files_version hooks
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-18 10:21:46 +00:00
Arthur Schiwon c16744c70f Merge pull request #42899 from nextcloud/backport/42860/stable28
[stable28] Update ContactsStore: Avoid exceptions on empties
2024-01-18 11:13:11 +01:00
Arthur Schiwon 0f3af00334 Merge pull request #42906 from nextcloud/fix/caldav/update-acls-deletedcalendarobjectscollection-stable28
[stable28] fix(CalDAV): set acls for DeletedCalendarObjectsCollection
2024-01-18 11:01:33 +01:00
Côme Chilliet f9eeb285c9 Remove obsolete check of curl SSL version
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 10:02:42 +01:00
Côme Chilliet 19aaaad8df Remove references to removed functions in tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 10:02:34 +01:00
Côme Chilliet d5c9d6037f Fix Cron setup check tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 10:02:28 +01:00
Côme Chilliet 27514adef4 Migrate Cron checks to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 10:02:23 +01:00
Côme Chilliet 86bfd7339c Fix CheckSetupControllerTest following overwrite.cli.url migration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 10:02:15 +01:00
Côme Chilliet 2bc1f78af5 Migrate overwrite.cli.url setup check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 10:02:10 +01:00
Côme Chilliet 956d7ae765 Fix tests because we added escaping to setupchecks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 09:54:59 +01:00
Côme Chilliet 6e86870b6e Fix tests in CheckSetupControllerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 09:54:55 +01:00
Côme Chilliet 7305fd7b48 Remove CSRF check from code integrity rescan
Did not find a way to get a valid token from SetupCheck

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 09:54:49 +01:00
Côme Chilliet a59dcd4bd5 Properly escape HTML and add support for highlight links in setupchecks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 09:54:38 +01:00
Côme Chilliet 985a91ca43 Improve validator output in case of invalid RichObject
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 09:54:33 +01:00
Côme Chilliet 44b8cf650c Use highlight rich objecttype to render links in CodeIntegrity setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 09:54:28 +01:00
Côme Chilliet e35fa737e4 Migrate code integrity to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 09:54:06 +01:00
John Molakvoæ 1f8e3724b8 fix(files): prevent dragging previews and appear as an external files DnD
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-18 08:09:34 +00:00
Johannes Merkel a509c85662 fix(CalDAV): set acls for DeletedCalendarObjectsCollection
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2024-01-18 08:39:24 +01:00
Ferdinand Thiessen 0b9e2fa4bc Merge pull request #42897 from nextcloud/backport/42887/stable28
[stable28] fix(theming): Make sure `color-border-maxcontrast` fulfills 3:1 contrast
2024-01-18 02:28:07 +01:00
Nextcloud bot b1515fff11 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-18 00:19:55 +00:00
Eduardo Morales 6bf94d35b1 Merge pull request #42898 from nextcloud/backport/42856/stable28
[stable28] enh(a11y): improved contrast on user menu
2024-01-17 14:43:46 -06:00
Arthur Schiwon 697d0de511 Merge pull request #42697 from nextcloud/fix/add-settings-section-type-attribute-stable28
[stable28] Fix/add settings section type attribute
2024-01-17 21:03:44 +01:00
Eduardo Morales 54bed640ca Merge pull request #42859 from nextcloud/backport/stable28/42744/fix/updatenotification/42637/move-title-and-aria-label-to-interactive-element
[stable28] fix(update-section): changed span to an interactive element
2024-01-17 13:49:45 -06:00
Arthur Schiwon a380014c12 Merge pull request #42868 from nextcloud/backport/42607/stable28
[stable28] fix(session): Avoid useless authtoken DB queries for anonymous requests
2024-01-17 20:40:35 +01:00
Arthur Schiwon c2bbe807a7 Merge pull request #42861 from nextcloud/backport/42834/stable28
[stable28] chore(theming): fix warning of incorrect `NcCheckboxRadioSwitch` usage
2024-01-17 20:37:51 +01:00
nextcloud-command a116ea98e9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-17 18:53:32 +00:00
Josh 2a386f8360 Update ContactsStore: Avoid exceptions on empties
Fixes #42858 and makes things more robust

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-01-17 18:48:08 +00:00
Eduardo Morales 057b8e060b enh(a11y): improved contrast on user menu
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-17 19:36:48 +01:00
Eduardo Morales 09015a1507 fix(update-section): changed span to an interactive element
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-17 11:43:25 -06:00
Ferdinand Thiessen 74c63997a3 fix(theming): Make sure color-border-maxcontrast fulfills 3:1 contrast
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-17 18:30:23 +01:00
Eduardo Morales 81d49265c6 Merge pull request #42430 from nextcloud/backport/42334/stable28
[stable28] enh(settings): Refactor UI for session and app token management
2024-01-17 10:27:37 -06:00
nextcloud-command 761d9dd7e4 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-17 08:37:09 -06:00
Grigorii K. Shartsev c5ed482a9d chore(theming): fix warning of incorrect NcCheckboxRadioSwitch usage
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>

[skip ci]
2024-01-17 08:37:09 -06:00
Ferdinand Thiessen eb8724c8a4 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-17 08:26:31 -06:00
Ferdinand Thiessen fe60c1e1fd enh(settings): Refactor frontend for session and app token management
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-17 08:19:06 -06:00
Arthur Schiwon 9b88869e0d Merge pull request #42874 from nextcloud/backport/42563/stable28
[stable28] Update crl after revoke integration_homeassistant.csr
2024-01-17 14:55:53 +01:00
Anna 286c131893 Merge pull request #42854 from nextcloud/backport/42805/stable28
[stable28] fix(userstatus): catch unique constraint violation
2024-01-17 14:26:21 +01:00
Joas Schilling 00d74d1e2c Merge pull request #42871 from nextcloud/backport/42658/stable28
[stable28] fix(systemreport): Mark more configs as sensitive
2024-01-17 12:52:04 +01:00
John Molakvoæ dd10697536 fix(dav): ajax request check on public remote endpoints
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-17 11:11:14 +01:00
Joas Schilling fc1bfee8a4 Merge pull request #42864 from nextcloud/backport/42862/stable28
[stable28] fix(manifest): Check if app exists instead of accessing null as an array
2024-01-17 10:50:41 +01:00
Matthieu Gallien f01fcd2db6 Update crl after revoke integration_homeassistant.csr
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-01-17 10:31:52 +01:00
Joas Schilling f7f94bf919 fix(systemreport): Mark more configs as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-17 10:30:43 +01:00
Git'Fellow 980b14f629 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:16:22 +00:00
Thomas Citharel 6862ed49ba fix(settings): check if activeSectionId and activeSectionType are defined before using them
Closes #41513

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-01-17 09:48:05 +01:00
Thomas Citharel 9034cc2e6f Add data-active-section-type attribute to app-content settings section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-01-17 09:48:05 +01:00
Arthur Schiwon ee0f4f067d Merge pull request #42824 from nextcloud/backport/42768/stable28
[stable28] (dashboard): Lower error to info log message
2024-01-17 09:47:13 +01:00
Joas Schilling 84a380a3b2 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:30:44 +01:00
Nextcloud bot c21df323b0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-17 00:20:25 +00:00
Simon L aba6e3c1ad Merge pull request #42851 from nextcloud/backport/42720/stable28
[stable28] use showError in TransferOwnershipDialogue
2024-01-16 21:59:51 +01:00
Anna Larch 46674e2889 fix(userstatus): catch unique constraint violation
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-01-16 18:21:36 +00:00
Arthur Schiwon f0a6c4429d Merge pull request #42827 from nextcloud/backport/41272/stable28
[stable28] fix: reduce memory consumption of scans
2024-01-16 19:17:23 +01:00
John Molakvoæ 14f2461aef Merge pull request #42735 from nextcloud/backport/41979/stable28 2024-01-16 17:57:26 +01:00
Ferdinand Thiessen 07540d5433 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-16 10:14:45 -06:00
Simon L b178229839 use showError in TransferOwnershipDialogue
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-16 10:14:45 -06:00
Eduardo Morales 76ef1a81ed chore(sharing): compiled assets
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-16 10:09:33 -06:00
John Molakvoæ c1b95ab025 fix(files_sharing): fix sharing status indicator side after component update
Seems like the components now have max-height/width set too

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-01-16 10:09:33 -06:00
Benjamin Gaussorgues b74a59b331 Merge pull request #42795 from nextcloud/backport/setupchecks/stable28
[stable28] Migrate setup checks to new SetupCheck API
2024-01-16 16:55:45 +01:00
Grigorii K. Shartsev 04a4078e61 Merge pull request #42848 from nextcloud/stable28-fix/41826-avoid_same_h1_and_h2_headings
[stable28] fix/41826 avoid same h1 and h2 headings
2024-01-16 20:53:50 +05:00
Joas Schilling 730f205878 Merge pull request #42832 from nextcloud/backport/42806/stable28
[stable28] fix(appstore): Only send subscription keys to valid appstores
2024-01-16 15:29:05 +01:00
julia.kirschenheuter acc78272a5 Complete <h1> settings heading
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>

(cherry picked from commit f6ec297df6)
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-01-16 14:50:02 +01:00
Ferdinand Thiessen 95baf48216 Merge pull request #42816 from nextcloud/backport/42436/stable28
[stable28] enh(settings): Add SetupCheck to ensure webserver correctly serves `.mjs` files
2024-01-16 11:54:52 +01:00
Arthur Schiwon 28473f70be Merge pull request #42772 from nextcloud/backport/42718/stable28
[stable28] Remove unneeded role="radiogroup" from "Predefined statuses"
2024-01-16 11:35:01 +01:00
John Molakvoæ f05252f7ca Merge pull request #42591 from nextcloud/backport/41346/stable28 2024-01-16 11:08:23 +01:00
John Molakvoæ e5f4eb487d fix(files): better upload error handling
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-16 10:27:38 +01:00
John Molakvoæ 6878313500 feat(files): disable upload button if quota is reached
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-16 10:25:04 +01:00
John Molakvoæ 129cd5e09c feat(files): show quota warning on page load or if storage becomes full
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-16 10:25:03 +01:00
Joas Schilling 1c38f8952f fix(appstore): Only send subscription keys to valid appstores
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-16 10:16:57 +01:00
Git'Fellow d2da9c8fbe 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:28:43 +01:00
Git'Fellow 27bf7c6f8c 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-16 09:24:27 +01:00
Git'Fellow a60bf6a00d Lower error to warning
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-01-16 09:24:26 +01:00
Nextcloud bot 21042c3e0f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-16 00:19:00 +00:00
Pytal 34783ca98b Merge pull request #42819 from nextcloud/backport/42727/stable28
[stable28] fix(l10n): Add context note for table footers
2024-01-15 15:11:28 -08:00
nextcloud-command 1cbf7e41d5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-15 22:26:59 +00:00
Christopher Ng 0008f6eb88 fix(l10n): Add context note for table footers
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-15 23:09:18 +01:00
Maxence Lange 662b069c99 Merge pull request #42810 from nextcloud/backports/42670/42670-stable28
[stable28] occ background-job:delete
2024-01-15 19:52:12 -01:00
Arthur Schiwon ab2f7707b2 Merge pull request #42786 from nextcloud/backport/42660/stable28
[stable28] fix(share): use user timezone to parse share expiration date
2024-01-15 21:42:47 +01:00
Arthur Schiwon 873357955e Merge pull request #42758 from nextcloud/automated/noid/stable28-fix-npm-audit
[stable28] Fix npm audit
2024-01-15 21:42:16 +01:00
Arthur Schiwon ac1b989388 Merge pull request #42815 from nextcloud/backport/42781/stable28
[stable28] Fix crash of login in case of duplicated group membership
2024-01-15 21:40:00 +01:00
Arthur Schiwon 82cd4f8f0d Merge pull request #42739 from nextcloud/fix/a11y/aria-hide-contacts-menu-images-stable28
[stable28] fix(a11y): Aria-hide contacts menu icon images
2024-01-15 21:37:11 +01:00
Pytal 6c55500dbb Merge pull request #42766 from nextcloud/backport/42723/stable28
[stable28] fix(settings): set default or unlimited user quota
2024-01-15 11:51:46 -08:00
Ferdinand Thiessen 5406ffb3ea Update apps/settings/lib/SetupChecks/JavaScriptModules.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-15 18:21:54 +01:00
Ferdinand Thiessen fcdc53a2ba enh(settings): Add SetupCheck to ensure webserver correctly serves .mjs files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-15 18:21:53 +01:00
Ferdinand Thiessen b8aa466b0e Merge pull request #42804 from nextcloud/backport/42585/stable28
[stable28] Add RichObject support for SetupCheck descriptions
2024-01-15 18:16:41 +01:00
Côme Chilliet b18aabcc79 Fix crash of login in case of duplicated group membership
If several LDAP configurations return the same group id for a user it
 should still only appear once in the return of getUserGroups

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 17:55:57 +01:00
Joas Schilling 278f770a17 Merge pull request #42771 from nextcloud/backport/42619/stable28
[stable28] fix(dav): Fix user status "Undefined array key 0 at StatusService.php…
2024-01-15 17:24:06 +01:00
Maxence Lange 861611322e occ background-job:delete
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-15 14:02:11 -01:00
Benjamin Gaussorgues 596f0c1a69 Merge branch 'stable28' into backport/42660/stable28 2024-01-15 15:56:12 +01:00
Côme Chilliet 23bab8a61d Use match statement in richToParsed implementation
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 15:11:58 +01:00
Côme Chilliet 5a8004e90b Document new throw possibility in SetupResult
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 15:11:58 +01:00
Côme Chilliet ba78b6cc1d Add TODO for richToParsed refactor
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 15:11:58 +01:00
Côme Chilliet 18533bba13 Fix UI for rich object in setupcheck results
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 15:11:58 +01:00
Côme Chilliet c335d369e1 Fix psalm issue in SetupChecks command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 15:11:58 +01:00
Côme Chilliet 0b58618712 Validate rich objects passed to SetupResult
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 15:11:57 +01:00
Côme Chilliet 25c91e6eea Add RichObject support for SetupChecks descriptions
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 15:11:56 +01:00
nextcloud-command 0f7c33c4b0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-15 12:39:23 +00:00
Côme Chilliet ed87e4b4ca Fix AppDirsWithDifferentOwnerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:31:35 +01:00
Côme Chilliet 17dd695e0e Migrate PHP imagick module check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:31:13 +01:00
Côme Chilliet cf8c7e9270 Migrate tests for AppDirsWithDifferentOwner setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:31:06 +01:00
Côme Chilliet 14d132a4e6 Migrate app dir owner check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:31:01 +01:00
Côme Chilliet 3de96ac17f Improve PHP opcache setup check and reduce level in some cases
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:30:00 +01:00
Côme Chilliet 4cfab5dc7c Fix small psalm issue
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:55 +01:00
Côme Chilliet 26d1d84e0c Remove unsupported <code> tag and use quotes instead
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:50 +01:00
Côme Chilliet e9ed7e7f9e Remove unused properties from CheckSetupControllerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:45 +01:00
Côme Chilliet 265f6dc136 Migrate opcache check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:40 +01:00
Côme Chilliet ca63726a89 Merge SQlite warning to existing SupportedDatabase setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:28 +01:00
Côme Chilliet 004d3c4bd0 Migrate away from deprecated doctrine/dbal getName function
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:18 +01:00
Côme Chilliet 4342cf4db8 Migrate database pending bigint conversions check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:13 +01:00
nextcloud-command 8b2a10796e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-15 10:00:41 +00:00
Louis 4eaf7e7bbd Merge pull request #42734 from nextcloud/backport/42716/stable28
[stable28] fix(files): use getSummaryFor for better files summary translations
2024-01-15 10:42:25 +01:00
Arthur Schiwon efe28fd479 28.0.2 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-01-15 10:23:45 +01:00
Benjamin Gaussorgues 57574d9d9a 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 09:22:09 +00:00
fenn-cs b5edb389bc 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-01-15 09:39:03 +01:00
fenn-cs 67e3367c48 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-01-15 09:39:03 +01:00
Côme Chilliet b768934478 Merge pull request #42726 from nextcloud/backport/42640/stable28
[stable28] Always catch OCP versions of authentication exceptions
2024-01-15 09:37:49 +01:00
julia.kirschenheuter 9314ecf98f Remove unneeded role="radiogroup" from "Predefined statuses"
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>

[skip ci]
2024-01-15 09:16:37 +01:00
Joas Schilling ac3f3a0629 fix(dav): Fix user status "Undefined array key 0 at StatusService.php#98"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-15 09:15:25 +01:00
Nextcloud bot 460d723140 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-15 00:18:52 +00:00
nextcloud-command a9be93e4bb chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-14 20:53:38 +00:00
John Molakvoæ 9dee49be4c fix(settings): set default or unlimited user quota
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-14 21:50:24 +01:00
nextcloud-command 31442c0acf chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-01-14 03:00:54 +00:00
Nextcloud bot bcfbedd799 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-14 00:19:38 +00:00
Maxence Lange bd8c472fb9 Merge pull request #42728 from nextcloud/backport/42667/stable28
[stable28] better users cycle
2024-01-13 00:56:34 -01:00
Nextcloud bot aa051fd0b9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-13 00:20:32 +00:00
Grigorii K. Shartsev 0b515f7708 Merge pull request #42745 from nextcloud/backport/42676/stable28
[stable28] enh(comments): Add visual labels for editor
2024-01-13 02:42:24 +05:00
nextcloud-command 3f4bc1f25b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-12 21:21:16 +00:00
Ferdinand Thiessen 14f690664d enh(comments): Add always visible labels for comment input
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-12 20:56:03 +00:00
Maxence Lange d1088e82b0 better users cycle
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-12 07:54:40 -06:00
Christoph Wurst a3f05bbda6 fix(a11y): Aria-hide contacts menu icon images
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-12 14:16:59 +01:00
Nextcloud bot b9540a8964 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-12 11:00:43 +00:00
Nextcloud bot b906e1eda0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-12 10:40:22 +00:00
John Molakvoæ 75ecdec8fa chore(assets): Recompile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-12 10:15:52 +01:00
John Molakvoæ aa6241067e fix(files): use getSummaryFor for better files summary translations
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-12 10:07:29 +01:00
John Molakvoæ 2606c99666 Merge pull request #42719 from nextcloud/feature/filelist_refresh_current_folder_on_update-stable28 2024-01-12 08:45:11 +01:00
Eduardo Morales d2133574e7 Merge pull request #42711 from nextcloud/backup/stable28/42636/fix/core/42596/fix-button-accessibility-in-view-profile-page
Backup/stable28/42690/fix/core/42593/replace-transfer-button-with-NcVue-Button
2024-01-11 22:16:53 -06:00
Simon L 28d0999c20 Merge pull request #42730 from nextcloud/backport/42712/stable28
[stable28] fix header-elements being not shown correctly
2024-01-12 02:04:33 +01:00
Eduardo Morales 3d5f1caec2 chore(core): compile assets
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-11 19:00:01 -06:00
Eduardo Morales 36a2406430 fix(files): switched native input to NcButton
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-11 18:57:25 -06:00
Nextcloud bot fd3d113fba Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-12 00:19:50 +00:00
nextcloud-command a5489c825d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-11 22:37:19 +00:00
Simon L 1152bfcecc fix header-elements being not shown correctly
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-11 22:20:57 +00:00
Eduardo Morales 83149237be Merge pull request #42724 from nextcloud/backport/42709/stable28
[stable28] `SharingEntrySimple` needs `ul` or `ol` around it
2024-01-11 16:02:15 -06:00
Simon L ab6d7d2f69 Merge pull request #42725 from nextcloud/backport/42700/stable28
[stable28] fix styling of development-notice
2024-01-11 22:53:39 +01:00
nextcloud-command b9fce06452 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-11 20:47:52 +00:00
nextcloud-command 9cd98b8c66 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-11 20:29:54 +00:00
Côme Chilliet 4acb4a5f4c Import OCP IToken as OCPIToken to avoid a name clash in lib/private
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 18:01:01 +00:00
Côme Chilliet 6893aa1f6b Use OCP version of IToken in AppPasswordCreatedEvent
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 18:01:00 +00:00
Côme Chilliet 9e75c75f86 Use IToken from OCP instead of OC
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 18:01:00 +00:00
Côme Chilliet 63fbf90570 Suppress or fix psalm errors related to InvalidTokenException
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 18:01:00 +00:00
Côme Chilliet 360e7ffcca Always catch OCP versions of authentication exceptions
And always throw OC versions for BC

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 18:00:59 +00:00
Simon L 5242c2c84c fix styling of development-notice
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-11 17:52:36 +00:00
Simon L c71d08cd4b sharing-entry__reshare needs ul or ol around it
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-11 17:52:20 +00:00
nextcloud-command 17651a37e9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-11 17:34:55 +00:00
Raul Ferreira cd4796c87c Refresh FileList on current folder update
Signed-off-by: Raul Ferreira <r.ferreira.fuentes@gmail.com>
2024-01-11 18:14:19 +01:00
Simon L 2b378f6ab2 Merge pull request #42715 from nextcloud/backport/42698/stable28
[stable28] update webauthn section to feature components
2024-01-11 18:03:45 +01:00
John Molakvoæ 286f2e00d9 Merge pull request #42703 from nextcloud/backport/42584/stable28 2024-01-11 16:19:43 +01:00
John Molakvoæ 99d3f1399b chore(assets): Recompile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-11 15:44:08 +01:00
nextcloud-command 5f9a490aa5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-11 14:43:31 +00:00
John Molakvoæ 8481393581 chore(deps): bump @nextcloud/files to 3.1.0
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-11 15:42:56 +01:00
John Molakvoæ e4fdd24d2f fix(files): group duplicate shares
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-11 15:42:56 +01:00
John Molakvoæ b77afb4ed1 fix(files): fix unshare action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-11 15:42:55 +01:00
Simon L 881523adb6 update webauthn section to feature components
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-11 14:36:36 +00:00
Simon L 7832559177 Merge pull request #42699 from nextcloud/backport/42402/stable28
[stable28] Remove display name ellipsis in user menu
2024-01-11 15:16:17 +01:00
nextcloud-command 690b945901 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-11 11:47:49 +00:00
John Molakvoæ afa59d6ef7 Merge pull request #42691 from nextcloud/backport/41972/stable28 2024-01-11 12:43:45 +01:00
Julius Härtl f297de9e6f Merge pull request #42651 from nextcloud/backport/41927/stable28
[stable28] perf: Use more performant way to obtain and check the email as a login name with token login
2024-01-11 11:53:09 +01:00
Julius Härtl 8e96ab96f0 Merge pull request #42693 from nextcloud/backport/42533/stable28
[stable28] fix(weather_status): Fix forecast format in OpenAPI
2024-01-11 11:10:18 +01:00
Jérôme Herbinet a1e30d23a0 Update UserMenu.vue
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Update UserMenu.vue

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

npm run build

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

Revert with a higher max-width value

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2024-01-11 09:44:23 +00:00
provokateurin 93fa6bb8b6 fix(weather_status): Fix forecast format in OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-11 08:23:23 +00:00
Nextcloud bot ab98a66c13 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-11 00:19:10 +00:00
Grigorii K. Shartsev bb198828f2 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-10 19:48:15 +01:00
Grigorii K. Shartsev 33f208d156 refactor(files): remove merged to @nextcloud/vue changes
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-10 19:46:40 +01:00
Grigorii K. Shartsev 41183b9089 fix(files): move header actions out from the table
Having actions in the table header is no valid for a11y and counts as a column name.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-10 18:43:06 +00:00
Kate 9aaead8bfb Merge pull request #42684 from nextcloud/backport/42527/stable28 2024-01-10 17:56:49 +01:00
provokateurin bb752fa304 feat(user_status): Add online status type for OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-10 15:56:34 +00:00
Marcel Klehr 511790dc80 Merge pull request #42677 from nextcloud/backport/stable28/42377
[stable28] Return providers as indexed array
2024-01-10 15:29:01 +01:00
Marcel Klehr a85ee2e0ce fix(psalm issues)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 14:37:24 +01:00
MB-Finski b83e53d1ba Update doc blocks
Signed-off-by: MB-Finski <sami.finnila@gmail.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 14:37:24 +01:00
Sami Finnilä 283952e857 Return providers as indexed array
Signed-off-by: MB-Finski <sami.finnila@gmail.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 14:37:24 +01:00
Joas Schilling 9280e023b1 Merge pull request #42358 from nextcloud/backport/42354/stable28
[stable28] Typo in move or copy
2024-01-10 09:18:53 +01:00
Kate c4172812b2 Merge pull request #42673 from nextcloud/backport/42666/stable28 2024-01-10 09:01:31 +01:00
Joas Schilling a15835d145 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-10 08:57:02 +01:00
Joas Schilling b4757495f5 Fix typo in move or copy dialog
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-10 08:55:27 +01:00
provokateurin 94ebed0681 chore(deps): Update openapi-extractor
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-10 06:21:40 +00:00
Nextcloud bot d2da55c0c5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-10 00:20:40 +00:00
Ferdinand Thiessen cbeee9c104 Merge pull request #42669 from nextcloud/backport/stable28/42636/fix/core/42596/fix-button-accessibility-in-view-profile-page
[stable28] enh(core): replaced previous native a element with NcButton
2024-01-09 21:47:43 +01:00
Eduardo Morales 9f8154ff09 enh(core): replaced previous native a element with NcButton
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-09 13:43:05 -06:00
Eduardo Morales 4d0d0ea2cd Merge pull request #42664 from nextcloud/backport/stable28/42643/fix/core/42565/focus-for-user-menu-is-not-accessible
[stable28] fix(core): enhanced contrast when UserMenuItem is focused
2024-01-09 13:11:16 -06:00
Eduardo Morales 47ccd75b4f fix(core): enhanced contrast when UserMenuItem is focused
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-09 10:15:35 -06:00
Julius Härtl bc0ab8df52 fix: Only apply cast if needed when searching users for value
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 15:02:38 +01:00
Julius Härtl 1712df7881 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 15:02:38 +01:00
Julia Kirschenheuter 2ef09404e0 Merge pull request #42646 from nextcloud/backport/42634/stable28
[stable28] Include grid view toggle in accessibility switch
2024-01-09 12:30:05 +01:00
Louis Chemineau cb5c29bd98 Include grid view toggle in accessibility switch
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-09 08:55:55 +00:00
Nextcloud bot a4ed172fdf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-09 00:20:17 +00:00
Eduardo Morales e005e6c958 Merge pull request #42632 from nextcloud/backport/stable28/42507/Fix/files/42460/breadcrumb-conditional-rendering
[stable28] fix(files): kept only first and last breadcrumb titles
2024-01-08 15:19:59 -06:00
Eduardo Morales 3ca94730aa fix(files): kept only first and last breadcrumb titles
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-08 15:03:45 -06:00
Pytal dba7369476 Merge pull request #42604 from nextcloud/backport/42566/stable28
[stable28] fix(files): Fix unresponsive file click to download
2024-01-08 12:08:26 -08:00
nextcloud-command 667c01831a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-08 19:57:30 +00:00
Christopher Ng 2142d469a0 fix(files): Fix unresponsive file click to download
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-08 11:43:31 -08:00
Grigorii K. Shartsev 131e82e199 Merge pull request #42623 from nextcloud/backport/41619/stable28
[stable28] fix(files): remove focus outline on file list item click and make the link focusable
2024-01-09 00:12:30 +05:00
Grigorii K. Shartsev 5d90175387 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-08 19:57:30 +01:00
Grigorii K. Shartsev 5522000067 refactor(files): replace deprecated is attr on <a> with dynamic component
- Special attribute `is` is deprecated and removed in Vue 3
- It is confusing, that `<a>` element is rendered as `span` sometimes

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-08 19:55:49 +01:00
Grigorii K. Shartsev 3ff2b25ea0 fix(files): make file list item link focusable
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-08 19:55:49 +01:00
Grigorii K. Shartsev 268744ee73 fix(files): remove focus outline on file list item click
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-08 19:55:49 +01:00
Grigorii K. Shartsev 6e5e4cc1d8 Merge pull request #42630 from nextcloud/backport/41916/stable28
[stable28] fix(files): add visible label to webdav URL in settings
2024-01-08 20:59:53 +05:00
Eduardo Morales 1e27c3f158 Merge pull request #42622 from nextcloud/stable28-enh/settings/42440/preview-card-settings-now-satisfy-contrast-ratio
[stable28] enh(settings): removed background-gradient to ensure contrast ratio a…
2024-01-08 09:12:08 -06:00
Eduardo Morales f9f4316f8c Merge pull request #42629 from nextcloud/backport/stable28/42602/bump-nc-calendar-to-2.0.1
[stable28] chore(package): bumped nc-calendar to 2.0.1
2024-01-08 08:53:46 -06:00
Eduardo Morales 94a676c378 enh(settings): removed background-gradient to ensure contrast ratio a11y requirements
Signed-off-by: Eduardo Morales <emoral435@gmail.com>

(cherry picked from commit e5767898c7)
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-01-08 08:17:25 -06:00
Grigorii K. Shartsev 15f0e1d058 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-08 15:16:47 +01:00
Eduardo Morales cddee08ec6 [backport] chore(package): bumped nc-calendar to 2.0.1
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-08 08:12:16 -06:00
Grigorii K. Shartsev 629e4f0a83 fix(files): add label for WebDAV URL in files settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-08 15:11:29 +01:00
Simon L 5382cb59d2 Merge pull request #42609 from nextcloud/backport/42428/stable28
[stable28] fix(files_external): add back js config files
2024-01-08 14:57:34 +01:00
Nextcloud bot a77af0e643 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-08 00:22:08 +00:00
Nextcloud bot 2c23a7cf99 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-07 00:20:29 +00:00
John Molakvoæ ffd71b65b4 fix(files_external): add back js config files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-06 09:51:42 +00:00
Nextcloud bot 2f4c5a2a39 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-06 00:20:18 +00:00
Eduardo Morales 82b68fc4e0 Merge pull request #42600 from nextcloud/backport/42559/stable28
[stable28] Remove unneeded styles: everything is handled by NcVue
2024-01-05 10:59:20 -06:00
julia.kirschenheuter 0e71e48e6b Remove unneeded styles: everything is handled by NcVue
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-01-05 16:32:34 +00:00
Julia Kirschenheuter 32f9d1655c Merge pull request #42594 from nextcloud/backport/42586/stable28
[stable28] Fix SVG's for social media links
2024-01-05 13:47:45 +01:00
julia.kirschenheuter e73d81641d Fix SVG's for social media links
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-01-05 12:14:42 +00:00
Nextcloud bot 36607881ce Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-05 00:22:19 +00:00
Côme Chilliet 80b5aed6ef Merge pull request #42583 from nextcloud/backport/42576/stable28
[stable28] Fix upgrade of user_ldap when oc_group_members contains duplicated uids
2024-01-04 15:37:43 +01:00
Côme Chilliet 63def6dc95 Fix upgrade of user_ldap when oc_group_members contains duplicated uids
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-04 13:28:36 +00:00
Nextcloud bot c61fabed18 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-04 00:20:07 +00:00
Eduardo Morales 6f8d89d5ad Merge pull request #42556 from nextcloud/backport/42500/stable28
[stable28] fix(files): open menu on right click position
2024-01-03 14:15:05 -06:00
John Molakvoæ 820b2beb6b fix(files): open menu on right click position
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-03 13:59:28 -06:00
Nextcloud bot c8104266f8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-03 00:20:17 +00:00
Grigorii K. Shartsev 0398f53b93 Merge pull request #42553 from nextcloud/backport/42443/stable28
[stable28] fix(files): focus file name on renaming also initially
2024-01-02 22:49:03 +05:00
Grigorii K. Shartsev 81eab73c03 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-02 18:05:45 +01:00
Grigorii K. Shartsev 0ea5aa4604 fix(files): focus file name on renaming also initially
When new folder is created, new file entry is initially in renaming mode.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-02 18:03:57 +01:00
Robin Appelman eb4dae7505 Merge pull request #42521 from nextcloud/backport/41914/stable28
[stable28] only do a multipart s3 copy when above the regular copy limit
2024-01-02 18:00:50 +01:00
Robin Appelman f516e9599b Merge pull request #42450 from nextcloud/backport/37469/stable28
[stable28] restore shared lock ttl to previous value when releasing
2024-01-02 14:50:14 +01:00
Julia Kirschenheuter 4443e5cf56 Merge pull request #42506 from nextcloud/bump-nv-vue-to_8.4.0
[stable28] Bump NcVue to v8.4.0
2024-01-02 14:11:11 +01:00
Richard Steinmetz 32dccaadf8 Merge pull request #42373 from nextcloud/backport/42339/stable28
[stable28] fix(dav): allow multiple organizers if possible
2024-01-02 13:47:50 +01:00
Louis f0c78b76bf Merge pull request #42446 from nextcloud/backport/42405/stable28
[stable28] fix(LDAP): ensure stored groups are formatted as simple list
2024-01-02 13:26:11 +01:00
julia.kirschenheuter 543c4add52 Bump NcVue to v8.4.0
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>

chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-02 12:53:03 +01:00
Arthur Schiwon 779df7ff9c 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>
2024-01-02 12:16:10 +01:00
Richard Steinmetz f38ce5c1d5 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:54:08 +01:00
Nextcloud bot 3b69ea11cb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-02 00:19:19 +00:00
Git'Fellow ca34f0c6f1 Merge pull request #42539 from nextcloud/backport/42538/stable28
[stable28] Fix log rotation notification level (warning->info)
2024-01-01 20:20:16 +01:00
Josh Richards a781412660 Fix log rotation notification level (warning->info)
Fixes #42537 

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-01-01 09:22:48 +00:00
Nextcloud bot 75c8a03784 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-01 00:20:11 +00:00
Nextcloud bot 6d1f66dc56 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-31 00:20:26 +00:00
Nextcloud bot b1d94d3d16 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-30 00:22:18 +00:00
max-nextcloud 61dedd7ff3 Merge pull request #42524 from nextcloud/backport/42427/stable28
[stable28] fix(ViewController): Properly handle non-existent fileIds (regression lead to 500 errors)
2023-12-29 18:54:12 +01:00
Josh Richards 1f6f5fdcc5 fix(ViewController): Regression lead to 500 on non-existent fileIds
Fixes #42418 

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-12-29 13:48:00 +00:00
Alexander Piskun 30f23a6da7 Merge pull request #42519 from nextcloud/backport/42479/stable28
[stable28] AppAPI: allow to bypass Two-Factor
2023-12-29 14:28:51 +03:00
Julius Härtl 238ea7a8b4 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:36:09 +00:00
Robin Appelman 58abe5e3f4 only do a multipart s3 copy when above the regular copy limit
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-29 10:36:09 +00:00
Alexander Piskun 1d0b10b12c AppAPI: allowed to bypass Two-Factor
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-12-29 08:44:13 +00:00
Nextcloud bot 525d087b52 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-29 00:20:08 +00:00
John Molakvoæ f212638228 Merge pull request #42495 from nextcloud/stable28-fix/a11y/personal-info-headings 2023-12-28 13:04:14 +01:00
John Molakvoæ 6a09055d3c Merge pull request #42491 from nextcloud/backport/42438/stable28 2023-12-28 12:54:53 +01:00
John Molakvoæ 9fcd5f67a5 Merge pull request #42487 from nextcloud/backport/42379/fix/ARIA-prop-for-NcBreadCrumbs-component 2023-12-28 12:46:50 +01:00
Eduardo Morales 40ee6ce449 enh(breadcrumbs): removed unnecessary aria label
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-28 11:21:29 +01:00
John Molakvoæ e279d45196 Merge pull request #42494 from nextcloud/backport/42457/stable28 2023-12-28 09:25:25 +01:00
Ferdinand Thiessen 309d46e993 fix(theming): Adjust high contrast theme to fulfill WCAG AAA text contrast
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-28 09:01:11 +01:00
nextcloud-command b1eb3534be chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-28 07:47:30 +00:00
Julius Härtl efeecc69ba fix(files): Allow Ctrl/Command click on file entries to open in a new tab
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-28 08:34:46 +01:00
Nextcloud bot a8e71da8ec Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-28 00:20:28 +00:00
Julia Kirschenheuter 4f66b3debc Merge pull request #42429 from nextcloud/backport/42329/stable28
[stable28] fix(theming): Adjust dark high contrast to fulfill WCAG 2.1 AAA contrast
2023-12-27 19:02:43 +01:00
Eduardo Morales d053210eaa Merge pull request #42435 from nextcloud/backport/stable28-e1940ba36846bd7010f77fae4e3a124d673b8e9b
[stable28] enh(files): added ability to escape out of all selection when focused
2023-12-27 10:35:37 -06:00
Ferdinand Thiessen 45d4cae756 fix(theming): Adjust color-error and color-success to work for input border colors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-27 10:22:19 -06:00
Ferdinand Thiessen 4147337fff fix(theming): Adjust dark high contrast to fulfill WCAG 2.1 AAA contrast
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-27 10:22:19 -06:00
Eduardo Morales 2127842425 enh(files): added ability to escape out of all selection when focused
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-27 09:51:16 -06:00
Eduardo Morales 3185b4ca26 Merge pull request #42490 from nextcloud/backport/42452/stable28
[stable28] fix(files): allow silent batch actions errors
2023-12-27 09:44:18 -06:00
Christopher Ng e1d1491ca0 fix(settings): Use heading for Profile and Profile picture sections
Signed-off-by: Christopher Ng <chrng8@gmail.com>

(cherry picked from commit ee11df8993)
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-12-27 11:39:06 +01:00
John Molakvoæ 04b0069cad fix(files): allow silent batch actions errors
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-27 09:28:43 +01:00
Nextcloud bot c6d19b2d7d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-27 00:20:24 +00:00
Ferdinand Thiessen af6f1cdde4 Merge pull request #42461 from nextcloud/backport/42442/stable28
[stable28] fix: Adjust focus-visible marker on appmenu
2023-12-26 20:26:35 +01:00
Eduardo Morales 2c8fa3efb5 Merge pull request #42432 from nextcloud/42167-manual-backport
[stable28] Backport unified search improvments
2023-12-26 11:33:11 -06:00
nextcloud-command 67a874a6f9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-26 11:19:25 -06:00
fenn-cs ada6e3565d Use display name instead of 'me' text.
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-26 11:19:25 -06:00
fenn-cs 8b286fbd0e Add authenicated user to person list for search filtering
As expected, a user does not see themselves in their contact list,
 however, when using the contact list for filtering search, a user,
 might want to limit the search to things that pertain to them.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-26 11:19:25 -06:00
fenn-cs 44c689ac1e Unified search: update people select with API calls
On change/input from user which has the effect of filtering,
 we want to send the query to the API to obtained fresh results,
 based on the databased on not just preloaded contacts.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-26 11:19:25 -06:00
fenn-cs 593a2349c1 Rephrase unified search helper text
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-26 11:19:25 -06:00
John Molakvoæ db3d81a06b Merge pull request #42409 from nextcloud/backport/42366/stable28 2023-12-26 08:26:18 +01:00
Nextcloud bot 72a5a20912 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-26 00:20:54 +00:00
Nextcloud bot ef8fc1485b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-25 00:20:34 +00:00
nextcloud-command 4f3eb7c37e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-24 01:23:56 +01:00
John Molakvoæ 56a7042731 fix(files): drag and drop events chain and cancel
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-24 01:21:49 +01:00
John Molakvoæ ded7d72171 fix(files): recursive drop path join
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-24 01:21:49 +01:00
Nextcloud bot 2ff9573343 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-24 00:20:46 +00:00
Nextcloud bot 10bbcfe341 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-23 00:20:19 +00:00
Ferdinand Thiessen b8695e5a28 fix: Adjust focus-visible marker on appmenu
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-22 17:36:33 +00:00
Eduardo Morales f7080c51f9 Merge pull request #42431 from nextcloud/42094-manual-backport
[stable28] Rename "global search" to "unified search"
2023-12-22 09:23:42 -06:00
fenn-cs 525c2b82f6 Rename "global search" to "unified search"
- Changes appearances of "Global search" to "Unified search" in UI
- Refactors code, to remove usage of term "GlobalSearch" in files and code
 structure
- Rename old unified search to `legacy-unified-search`

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-22 13:13:03 +00:00
Robin Appelman 2078ad79bd adjust redis compareSetTTL to use a lua script
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-22 09:54:13 +00:00
Robin Appelman 6ba6c95bab restore shared lock ttl when releasing
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-22 09:54:13 +00:00
Ferdinand Thiessen fecb3ea41c Merge pull request #42445 from nextcloud/backport/42439/stable28
[stable28] fix(theming): Invert filter should be based on primary-element
2023-12-22 10:02:17 +01:00
Ferdinand Thiessen 1300467f93 fix(theming): Invert filter should be based on primary-element
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-22 07:21:44 +00:00
Nextcloud bot 39993a6079 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-22 00:20:30 +00:00
Ferdinand Thiessen 5f7b82a7b4 Merge pull request #42367 from nextcloud/backport/42338/stable28
[stable28] fix(files): Use DAV functions from library to fix invalid source links
2023-12-21 22:11:35 +01:00
Grigorii K. Shartsev 344c053436 Merge pull request #42425 from nextcloud/backport/42419/stable28
[stable28] fix(files): Adjust ID for skip content buttons
2023-12-22 00:20:14 +05:00
nextcloud-command 2ff8bdc8de chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-21 17:49:45 +00:00
Ferdinand Thiessen 45a5b36795 Merge pull request #42426 from nextcloud/backport/42424/stable28
[stable28] fix(theming): Add adjusted color versions of default background
2023-12-21 18:23:56 +01:00
Ferdinand Thiessen a9b6c2db67 Merge pull request #42369 from nextcloud/backport/28-status-colors
[stable28] fix(theming): Adjust theming util to calculate primary element color based on WCAG color contrast
2023-12-21 18:18:17 +01:00
Ferdinand Thiessen c19445f42d fix(files): Use DAV functions from library to fix invalid source links
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-21 18:17:41 +01:00
Ferdinand Thiessen fc51c96676 Merge pull request #42355 from nextcloud/backport/42241/stable28
[stable28] feat(setupcheck): Add setup check for maintenance_window_start config
2023-12-21 18:16:28 +01:00
Ferdinand Thiessen d2a1dcb271 Merge pull request #42118 from nextcloud/stable28-backport-42030
[stable28] Replace input filed with password field and added password error message
2023-12-21 18:13:53 +01:00
Ferdinand Thiessen d917eac124 fix(theming): Add adjusted color versions of default background for better app-menu contrast
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-21 16:27:29 +00:00
Ferdinand Thiessen a6d775836f fix(files): Adjust ID for skip content buttons
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-21 17:16:28 +01:00
Ferdinand Thiessen e9328c0994 Merge pull request #42413 from nextcloud/backport/42381/stable28
[stable28] enh(dashboard): changed h1 to say Dashboard instead of Nextcloud
2023-12-21 17:15:57 +01:00
Kate cd596f00cd Merge pull request #42410 from nextcloud/backport/42406/stable28 2023-12-21 17:13:59 +01:00
Ferdinand Thiessen cbc812137b Merge pull request #42384 from nextcloud/backport/42298/stable28
[stable28] Don't write back .htaccess file on a RO filesystem
2023-12-21 17:13:13 +01:00
Ferdinand Thiessen 355c609de0 Merge pull request #42365 from nextcloud/backport/42361/stable28
[stable28] fix(manager): removed dead code
2023-12-21 17:10:42 +01:00
Ferdinand Thiessen 87c48b424c fix(theming): Make dark theme accessible and add unit test
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-21 17:07:02 +01:00
Ferdinand Thiessen 2f25f2feed fix(theming): Adjust status colors to be also accessible on blurry background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-21 17:07:02 +01:00
Ferdinand Thiessen 6a362f8993 Merge pull request #42315 from nextcloud/backport/42285/stable28
[stable28] fix(theming): Adjust theming util to calculate primary element color based on WCAG color contrast
2023-12-21 17:05:34 +01:00
Ferdinand Thiessen 92a11b08e5 Merge pull request #42403 from nextcloud/backport/42401/stable28
[stable28] fix: Ensure app menu entries and dashboard welcome message have enough contrast
2023-12-21 17:03:33 +01:00
John Molakvoæ 62d83123d1 Merge pull request #42417 from nextcloud/release/28.0.1 2023-12-21 16:26:24 +01:00
John Molakvoæ f1dd41eb9d 28.0.1
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-21 15:08:58 +01:00
John Molakvoæ fce1c1831c Merge pull request #42423 from nextcloud/backport/42422/stable28 2023-12-21 15:08:44 +01:00
John Molakvoæ 3b0fc10ccc fix(dav): undeclared $cache property
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-21 13:55:40 +00:00
Git'Fellow 4fb8403fb3 Read Only FS return false
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-12-21 12:41:49 +01:00
Nextcloud bot 26ef10a07f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-21 00:21:10 +00:00
Eduardo Morales cead9a4f45 enh(dashboard): changed h1 to say Dashboard instead of Nextcloud
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-20 22:37:06 +00:00
Eduardo Morales 4628000ca2 enh(dashboard): changed h1 to say Dashboard instead of Nextcloud
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-20 22:37:05 +00:00
jld3103 4da91f56e4 fix(dav): Hide less than minute diff in calendar notification title
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-12-20 21:22:55 +00:00
julia.kirschenheuter aeaf69f124 Replace input filed with password field and added password error message
Remove unneeded NcDateTimePicker

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>

(cherry picked from commit 696545b530)
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-12-20 11:22:48 -06:00
nextcloud-command baa8fb5f14 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-20 15:55:10 +00:00
Ferdinand Thiessen ba336f650b 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:16:35 +00:00
Joas Schilling 42dee2e29f Merge pull request #42400 from nextcloud/backport/42140/stable28
[stable28] Update crl after revoke rides.csr
2023-12-20 15:41:49 +01:00
Matthieu Gallien ed7eb579b0 Update crl after revoke rides.csr
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-12-20 11:26:47 +01:00
Nextcloud bot 063d811fab Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-20 00:19:28 +00:00
John Molakvoæ 1dda035324 Merge pull request #42380 from nextcloud/backport/42309/stable28 2023-12-19 19:11:57 +01:00
Anna Larch 5fd10dc398 fix(userstatus): set user status to 'In a meeting' if calendar is busy
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-19 15:47:29 +00:00
Louis 82e0f1f370 Merge pull request #42378 from nextcloud/backport/42349/stable28
[stable28] Use FileInfo's metadata for hidden prop
2023-12-19 16:27:58 +01:00
Louis 74be33f061 Merge pull request #42371 from nextcloud/artonge/backport/stable28/42353
[stable28] Add global accessibility switch
2023-12-19 16:15:46 +01:00
Louis Chemineau 7ba9a4bd5b Add global accessibility switch
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-19 14:39:53 +01:00
Louis Chemineau 8cb5d47341 Use FileInfo's metadata for hidden prop
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-19 13:31:46 +00:00
Ferdinand Thiessen bb5523097f fix(theming): Adjust primary text color calculation to also work with high contrast themes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-19 11:33:15 +01:00
Ferdinand Thiessen 8ff08d5a0a fix(theming): Adjust hover color to be accessible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-19 11:33:15 +01:00
Ferdinand Thiessen e28ebe86c0 enh(theming): Adjust color utils to work as specified by WCAG (color contrast and luma calculation)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-19 11:33:15 +01:00
Eduardo Morales 67d5cb3cb8 fix(manager): removed dead code
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-19 08:43:35 +00:00
Joas Schilling 1a45dd0b8c Merge pull request #42351 from nextcloud/backport/42304/stable28
[stable28] fix(ooo): add new ooo status with new emoji
2023-12-19 09:05:33 +01:00
Nextcloud bot 96c9e1b7d9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-19 00:19:37 +00:00
Louis 4cbf64b030 Merge pull request #42357 from nextcloud/backport/42350/stable28
[stable28] Don't query oc_properties for metadata props
2023-12-18 18:01:04 +01:00
Louis Chemineau 112063bb5e Don't query oc_properties for metadata props
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-18 15:20:49 +00:00
Joas Schilling 81ce0d1ac6 feat(setupcheck): Add setup check for maintenance_window_start config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-18 14:35:27 +00:00
Anna Larch deb4bef923 fix(ooo): add new ooo status with new emoji
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-18 12:06:57 +00:00
Joas Schilling 36f91063a1 Merge pull request #42316 from nextcloud/backport/42305/stable28
[stable28] fix(joblist): also reset last_run timestamp on updating an existing job
2023-12-18 12:00:16 +01:00
Anna Larch 7d90fb8209 fix(joblist): also reset last_run timestamp on updating an existing job
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-18 10:26:48 +01:00
Nextcloud bot 6146ddd06c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-18 00:19:30 +00:00
Nextcloud bot b2de759ac5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-17 00:19:08 +00:00
Nextcloud bot c905125614 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-16 00:19:31 +00:00
John Molakvoæ 01fad105be Merge pull request #42307 from nextcloud/release/28.0.1_rc1 2023-12-15 16:03:17 +01:00
Eduardo Morales 42793caefc Merge pull request #42294 from nextcloud/backport/42283/stable28
[stable28] fix: Ensure correct max contrast color is used when blurred background is used
2023-12-15 08:53:24 -06:00
John Molakvoæ cccac2ae5f Merge pull request #42311 from nextcloud/backport/42310/stable28 2023-12-15 15:50:03 +01:00
John Molakvoæ f2e156668c Merge pull request #42293 from nextcloud/backport/28-files-sizes 2023-12-15 15:27:11 +01:00
John Molakvoæ 94e60a3241 chore(deps): Bump @nextcloud/upload to 1.0.4
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-15 15:26:43 +01:00
Ferdinand Thiessen a510d5375b fix(files): Partly revert 32c1aeb and show correct quota again
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-15 15:23:36 +01:00
Joas Schilling 261de22ce9 Merge pull request #42152 from nextcloud/backport/42144/stable28
[stable28] fix(caldav): don't reuse query builder objects
2023-12-15 15:11:59 +01:00
John Molakvoæ 8942746705 Merge pull request #42302 from nextcloud/backport/42281/stable28 2023-12-15 14:41:21 +01:00
John Molakvoæ 6f68d36484 28.0.1 RC1
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-15 14:37:10 +01:00
Ferdinand Thiessen 8d1d5f3c50 fix(core): Make sure correct colors are used on blurred background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-15 12:49:28 +00:00
John Molakvoæ fe631fad08 fix(files): fix download file encoded source
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-15 12:34:19 +00:00
Andy Scherzinger 49bff0fbe7 Merge pull request #42296 from nextcloud/backport/42268/stable28
[stable28] fix(dashboard): changed h3 elements to h2
2023-12-15 11:50:47 +01:00
Eduardo Morales 558a3afb08 [stable28] fix(dashboard): changed h3 elements to h2
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-15 08:51:46 +00:00
Eduardo Morales 46f5ab893c Merge pull request #42295 from nextcloud/backport/42132/stable28
[stable28] enh(oauth2): allowed toggling of aria label
2023-12-15 02:36:36 -06:00
Andy Scherzinger ad1e400028 Merge pull request #42106 from nextcloud/backport/42053/stable28
[stable28] fix(Users/Quota setting): Prevent floating point value from getting truncated in locales other than english
2023-12-15 09:35:34 +01:00
Eduardo Morales c8f79702a3 enh(oauth2): allowed toggling of aria label
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-15 02:54:08 +00:00
Nextcloud bot 405fef98c5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-15 00:19:08 +00:00
nextcloud-command b4132ba594 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-14 18:44:40 +00:00
Marcel Klehr 30016e1118 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>
2023-12-14 19:40:57 +01:00
Andy Scherzinger d466cc07e0 Merge pull request #42131 from nextcloud/backport/42111/stable28
[stable28] fix(a11y): Unified search headings
2023-12-14 19:38:56 +01:00
Benjamin Gaussorgues 78b09f81cb Merge pull request #42201 from nextcloud/backport/42064/stable28 2023-12-14 19:05:21 +01:00
Christopher Ng 548e76a5f6 fix(a11y): Unified search headings
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-14 17:23:44 +00:00
Benjamin Gaussorgues 771db86c1c feat(settings): add occ commands to handle admin delegation
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-12-14 17:51:47 +01:00
Andy Scherzinger 073b8683e6 Merge pull request #42282 from nextcloud/backport/42095/stable28
[stable28] fix(files): navigation exact
2023-12-14 17:51:04 +01:00
John Molakvoæ a0692b6e44 fix(files): navigation exact
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-14 16:25:32 +00:00
Andy Scherzinger 7fa0c9d410 Merge pull request #42279 from nextcloud/backport/42124/stable28
[stable28] feat(files): add batch support to copy-move
2023-12-14 17:10:57 +01:00
nextcloud-command 38419e2766 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-14 15:38:26 +00:00
John Molakvoæ aa7098cc38 fix(files): templates logger usage
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-14 16:34:47 +01:00
John Molakvoæ bf850542a6 feat(files): add batch support to copy-move
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-14 16:34:16 +01:00
Andy Scherzinger 2e9fb54e57 Merge pull request #42278 from nextcloud/fix/backport-28-42183
[stable28] fix(UnifiedSearch): Drop title prop
2023-12-14 16:20:29 +01:00
Ferdinand Thiessen 02e6cf7e80 Merge pull request #42277 from nextcloud/fix/backport-files-drag-handler
[stable28] fix(files): Conditionally add drag handlers
2023-12-14 15:36:50 +01:00
Louis 056401beec Merge pull request #42263 from nextcloud/backport/42198/stable28
[stable28] Wrap metadata generation in try/catch
2023-12-14 13:41:35 +01:00
Ferdinand Thiessen e15034ecd6 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-14 12:55:24 +01:00
Ferdinand Thiessen 25512039da fix(UnifiedSearch): Remove title prop from modal
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-14 12:49:50 +01:00
Ferdinand Thiessen 040c767ba9 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-14 12:47:37 +01:00
Ferdinand Thiessen bb16a2be8b fix(files): Do not add drag and drop listeners when renaming a file
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-14 12:43:45 +01:00
Louis Chemineau 78de15ab45 Wrap metadata generation in try/catch
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-14 10:25:31 +00:00
Joas Schilling 892c0bf5a1 Merge pull request #42190 from nextcloud/automated/noid/stable28-update-ca-cert-bundle
[stable28] fix(security): Update CA certificate bundle
2023-12-14 06:52:38 +01:00
nextcloud-command 78174bca56 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2023-12-14 02:19:36 +00:00
Ferdinand Thiessen a54b9109e3 Merge pull request #42125 from nextcloud/backport/42112/stable28
[stable28] enh(settings): Set main page heading
2023-12-14 01:56:06 +01:00
Nextcloud bot e3590547c6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-14 00:19:32 +00:00
Andy Scherzinger fe63f6f079 Merge pull request #42166 from nextcloud/backport/42142/stable28
[stable28] fix(dav): Prevent out-of-office event time drifts
2023-12-13 22:42:56 +01:00
Christoph Wurst e622692802 fix(dav): Prevent out-of-office event time drifts
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-12-13 21:17:01 +01:00
Louis 1638a3ee41 Merge pull request #42108 from nextcloud/backport/42096/stable28
[stable28] Comment legacy file_metadata table migrations
2023-12-13 11:25:48 +01:00
Louis Chemineau ba44843213 Comment legacy file_metadata table migrations
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-13 10:43:54 +01:00
Nextcloud bot 0fcc88424d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-13 00:20:04 +00:00
Nextcloud bot 23177dae98 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-12 00:19:03 +00:00
Arthur Schiwon e15fcecaf0 Merge pull request #42146 from nextcloud/release/28.0.0
28.0.0
2023-12-11 21:21:42 +01:00
Arthur Schiwon 4489c21d85 Merge pull request #42164 from nextcloud/revert-42163-backport/42142/stable28
Revert "[stable28] fix(dav): Prevent out-of-office event time drifts"
2023-12-11 21:20:52 +01:00
Arthur Schiwon a33ffeb496 Revert "[stable28] fix(dav): Prevent out-of-office event time drifts" 2023-12-11 21:20:23 +01:00
Arthur Schiwon c471de211f Merge pull request #42163 from nextcloud/backport/42142/stable28
[stable28] fix(dav): Prevent out-of-office event time drifts
2023-12-11 21:20:10 +01:00
Arthur Schiwon 53275e6b3e Merge pull request #42159 from nextcloud/backport/42154/stable28
[stable28] fix rename on live photos
2023-12-11 21:12:47 +01:00
Christoph Wurst 4757d3ed7d fix(dav): Prevent out-of-office event time drifts
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-12-11 17:28:42 +00:00
Maxence Lange e80f85a847 fix rename
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-12-11 15:44:19 +00:00
Anna Larch 043a2528a4 fix(caldav): don't reuse query builder objects
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-11 12:50:21 +00:00
Arthur Schiwon 45ab3e1dfe 28.0.0
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-11 12:25:57 +01:00
Nextcloud bot 12bafe16d5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-11 00:24:29 +00:00
Nextcloud bot 9d7e1e0ba3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-10 00:19:21 +00:00
Nextcloud bot 6602b84f9a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-09 00:19:17 +00:00
nextcloud-command 433ef6b177 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-08 18:57:32 +00:00
Christopher Ng 8d82cff756 fix(settings): Expected string aria-label got boolean error
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-08 16:15:40 +00:00
Christopher Ng 291e56d272 enh(settings): Set main heading for Apps
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-08 16:15:40 +00:00
Christopher Ng fd20198464 enh(settings): Set main heading for User management
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-08 16:15:40 +00:00
Arthur Schiwon 478c8ca030 Merge pull request #42123 from nextcloud/release/28.0.0_rc4
28.0.0 RC4
2023-12-08 16:28:33 +01:00
Arthur Schiwon e76713ba74 Merge pull request #42119 from nextcloud/backport/42115/stable28
[stable28] chore(deps): Update openapi-extractor
2023-12-08 16:14:21 +01:00
Arthur Schiwon e989cc6867 28.0.0 RC4
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-08 16:09:29 +01:00
John Molakvoæ 25cda7cb5a Merge pull request #42113 from nextcloud/backport/42100/stable28 2023-12-08 15:44:33 +01:00
John Molakvoæ 46b6966f35 Merge pull request #42122 from nextcloud/backport/42093/stable28 2023-12-08 15:44:24 +01:00
John Molakvoæ 8b5a4449c8 fix(l10n): fix translations for init scripts
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-08 13:40:44 +00:00
jld3103 0f320e352f chore(deps): Update openapi-extractor
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-12-08 13:02:44 +01:00
Grigorii K. Shartsev 1adffd4284 fix(core): add translations on the login page
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-12-08 09:44:27 +00:00
Nextcloud bot cd428124ff Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-08 00:19:05 +00:00
Arthur Schiwon 3ac0dec6fb Merge pull request #41966 from nextcloud/release/28.0.0_rc3
28.0.0 RC3
2023-12-07 21:21:48 +01:00
Arthur Schiwon 4a77f2814f Merge pull request #42103 from nextcloud/fix/stable28-reference-picker
[stable28]  fix: Adjust reference picker code for the vue based FilePicker
2023-12-07 21:16:19 +01:00
Ferdinand Thiessen 6ea6048d51 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-07 11:08:46 -08:00
Ferdinand Thiessen c3907dce86 fix(files): Adjust reference picker for new vue file picker
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-07 11:08:46 -08:00
Arthur Schiwon ceb3975fd9 Merge pull request #42105 from nextcloud/42101-stable28-backport
[stable28] Change global search UI text to unified search
2023-12-07 19:30:37 +01:00
Louis 1675c79dce Merge pull request #41983 from nextcloud/automated/noid/stable28-fix-npm-audit
[stable28] Fix npm audit
2023-12-07 17:37:53 +01:00
nextcloud-command a90844ed66 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-07 15:57:32 +00:00
fenn-cs 050a0bf74d Change global search UI text to unified search
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-07 16:25:15 +01:00
Louis 0697900bf2 Merge pull request #42076 from nextcloud/backport/42067/stable28
[stable28] Fix some silent share bugs
2023-12-07 12:52:14 +01:00
Andy Scherzinger 17696ac3d8 Merge pull request #42089 from nextcloud/backport/42077/stable28
[stable28] enh(a11y): Add navigation labels
2023-12-07 12:49:43 +01:00
Andy Scherzinger d147641484 Merge pull request #42088 from nextcloud/backport/42055/stable28
[stable28] enh(NavigationManager): Use ID as fallback for `app` property of entries
2023-12-07 12:41:52 +01:00
Joas Schilling 95f82d79cb Merge pull request #42087 from nextcloud/backport/42001/stable28
[stable28] fix(dav): Improve handling and logging of bulk upload failures
2023-12-07 10:30:24 +01:00
Joas Schilling 24606a9d70 Merge pull request #42082 from nextcloud/backport/41937/stable28
[stable28] fix(bruteforce-protection): Don't throw a 500 when MaxDelayReached is…
2023-12-07 10:29:20 +01:00
Joas Schilling 475d2b2dc8 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-07 10:26:11 +01:00
Christopher Ng b4bc7f394e enh(settings): Add apps and user management navigation labels
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-07 09:19:23 +00:00
Christopher Ng 4ad7360348 enh(files): Add files navigation label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-07 09:19:23 +00:00
Ferdinand Thiessen b82a7d6102 enh(NavigationManager): Use ID as fallback for app property of entries
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-07 08:27:28 +00:00
Andy Scherzinger f4275c2629 28.0.0 RC3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-07 08:58:28 +01:00
Andy Scherzinger 13f0badf19 Merge pull request #42073 from nextcloud/backport/42062/stable28
[stable28] Correct semantics for link opening in global search
2023-12-07 08:57:31 +01:00
nextcloud-command 06eda7ab6c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-07 08:56:31 +01:00
fenn-cs 8a67fc44c9 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>
2023-12-07 08:56:31 +01:00
fenn-cs 9c67ae4ec1 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>
2023-12-07 08:56:31 +01:00
Joas Schilling e8492bc8e1 fix(dav): Improve handling and logging of bulk upload failures
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-07 08:56:14 +01:00
Joas Schilling 705f2365ac fix(bruteforce-protection): Don't throw a 500 when MaxDelayReached is thrown
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-07 08:55:54 +01:00
Simon L d9abfa002d Merge pull request #42058 from nextcloud/backport/42031/stable28 2023-12-07 08:53:44 +01:00
Julius Härtl 9894a22a8f Merge pull request #42074 from nextcloud/backport/41944/stable28 2023-12-07 08:39:02 +01:00
Simon L 26b927251e fix look of personal global credentials settings
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-07 08:30:43 +01:00
Nextcloud bot 252477fbd6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-07 00:19:48 +00:00
Ferdinand Thiessen 01db5d200d Merge pull request #42069 from nextcloud/backport/41948/stable28
[stable28] fix(theming): Adjust dark theme to be accessible adjust cypress tests
2023-12-06 23:19:58 +01:00
Julius Härtl b9e7ec4bb9 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 23:17:38 +01:00
Ferdinand Thiessen 465f2169c7 Merge pull request #42071 from nextcloud/fix/stable28/files-handle-drop-folders-correctly
[stable28] fix(files): Correctly handle dropping folders on file list
2023-12-06 22:17:16 +01:00
nextcloud-command 9ba949354d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-06 20:23:53 +00:00
fenn-cs a728bcde43 Correct semantics for link opening in global search
Following the update of `NcListItem` to allow control over
 where and how passed `hrefs` open, the search result component
 can now make use of these props.

See : https://github.com/nextcloud-libraries/nextcloud-vue/pull/4923

Resolves :  #41800

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-06 20:23:52 +00:00
Ferdinand Thiessen c7ea556bfb fix(theming): Adjust dark theme to be accessible adjust cypress tests
Also fix warning text color for bright / default theme on blurry background

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-06 20:34:36 +01:00
nextcloud-command 05df9ac57e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-06 20:25:58 +01:00
Ferdinand Thiessen 5700db2061 fix(files): Correctly handle dropping folders on file list
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-06 20:25:58 +01:00
Joas Schilling 0577c9a103 Update .drone.yml signature
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-06 20:13:11 +01:00
Ferdinand Thiessen dce63cef71 Merge pull request #42057 from nextcloud/backport/stable28-dialogs
[stable28] chore: Update `@nextcloud/dialogs` to version 5.0.3
2023-12-06 16:48:36 +01:00
Joas Schilling 330ab5f53a Merge pull request #42050 from nextcloud/backport/42044/stable28
[stable28] Fix AppSettingsController.php overwriting currentLanguage
2023-12-06 15:03:50 +01:00
Ferdinand Thiessen 9e0b231ee9 chore: Update @nextcloud/dialogs to version 5.0.3
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-06 14:55:50 +01:00
1 Man Projects 7c40700491 Fix AppSettingsController.php overwriting currentLanguage
Fix for CurrentLanguage being overwritten by currentVersion thus breaking App-View

Signed-off-by: 1 Man Projects <reed@1manprojects.de>
2023-12-06 11:34:57 +00:00
Andy Scherzinger b10f72fccc Merge pull request #41949 from nextcloud/backport/stable28/40169
[stable28] enh(settings): Load from disabled users endpoint
2023-12-06 10:44:51 +01:00
Joas Schilling 675d25e865 Merge pull request #42029 from nextcloud/backport/41962/stable28
[stable28] fix(dav): Make current ooo info time-dependent
2023-12-06 05:57:34 +01:00
Nextcloud bot 819d474a48 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-06 00:21:01 +00:00
Christoph Wurst df4a76a4e6 fix(dav): Make current ooo info time-dependent
* If there is an out of office absence info and it happens now -> return
  data
* Else: return no data

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-12-06 00:15:59 +01:00
Côme Chilliet a9d86c1f95 Invert parameter order in getDisabledUserList to be consistent
This matches what was done in the calls and so fixes getting disabled
 user list when there are several backends returning disabled users.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
(cherry picked from commit 85e7887e0764a9347bbbb10812459d95ccdfa6d4)
2023-12-06 00:08:29 +01:00
Christopher Ng e32d38375a chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-06 00:08:29 +01:00
Christopher Ng c7fc085849 enh(settings): Load from disabled users endpoint
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 7affbba6aecebf68b9c2e9ae6cb75fb251f94861)
2023-12-06 00:08:29 +01:00
Andy Scherzinger fa1c1ac19d Merge pull request #41969 from nextcloud/backport/41844/stable28
[stable28] fix(TextProcessing): Add task type template param to IManager and registerTPProvider
2023-12-06 00:06:41 +01:00
Andy Scherzinger 680c4ae155 Merge pull request #41976 from nextcloud/fix/stable28-fix-table-header
[stable28] fix(files): Adjust table header to look like on previous versions
2023-12-06 00:05:40 +01:00
Ferdinand Thiessen c1c8b928a6 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 22:35:54 +01:00
Ferdinand Thiessen 814ebcda22 fix(files): Adjust table header to look like on previous versions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 22:33:46 +01:00
Julius Härtl 178ce1f3ec Merge pull request #42023 from nextcloud/backport/42006/stable28 2023-12-05 20:49:59 +01:00
Ferdinand Thiessen 4ece2f27a3 Merge pull request #42032 from nextcloud/backport/unified-search-headings
[stable28] fix(UnifiedSearch): Move headings out of list element (invalid HTML)
2023-12-05 18:23:18 +01:00
Ferdinand Thiessen fd580e5067 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 17:55:20 +01:00
Ferdinand Thiessen acf619be23 fix: Adjust code to be Vue 2.7 compatible as key on <template> is Vue3 only
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 17:55:18 +01:00
Ferdinand Thiessen 6c49c3e936 fix(UnifiedSearch): Move headings out of list elements
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 17:54:44 +01:00
nextcloud-command 88e9925cf3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-05 16:06:32 +00:00
Julius Härtl 52b902831c fix: Also filter out undefined entries from the file list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-05 16:58:13 +01:00
Julius Härtl 6a938e1ae9 fix: Properly take show_hidden user setting into account for file listing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-05 16:58:13 +01:00
Benjamin Gaussorgues 52aadb5fd2 Merge pull request #42014 from nextcloud/backport/41985/stable28 2023-12-05 16:56:06 +01:00
Ferdinand Thiessen 3a09ddcb52 Merge pull request #41989 from nextcloud/backport/28-logic-files
[stable28] fix(files): Reverse logic to prevent copy to itself
2023-12-05 15:03:19 +01:00
Ferdinand Thiessen 3d32e748e6 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 14:40:13 +01:00
Ferdinand Thiessen 052db6200d enh(files): Add cypress tests for copy and move
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 14:04:16 +01:00
Ferdinand Thiessen f695df8506 fix(files): Correct condition for checking copy/move into same directory
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 14:04:16 +01:00
Ferdinand Thiessen 77970de9f3 Merge pull request #41990 from nextcloud/fix/backport-28-drag-n-drop
[stable28] fix(files): Allow to drag and drop new files also on empty directories
2023-12-05 14:03:39 +01:00
Arthur Schiwon 034241b29a Merge pull request #42017 from nextcloud/backport/41650/stable28
[stable28] feat(LDAP): implement IIsAdmin interface
2023-12-05 13:50:41 +01:00
Ferdinand Thiessen b1a6031a60 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 13:05:59 +01:00
Ferdinand Thiessen e210caf4cf fix(config): Adjust typescript config to allow .ts imports and Typescript in Vue files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 13:04:29 +01:00
Ferdinand Thiessen 96c477d86d fix(files): Show error message if drag-and-drop upload fails
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 13:04:29 +01:00
Ferdinand Thiessen 89e01eafee fix(files): Allow to drag and drop new files also on empty directories
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 13:04:29 +01:00
Andy Scherzinger 7ae780be6b Merge pull request #42026 from nextcloud/backport/42019/stable28
[stable28] +files_metadata_installed
2023-12-05 12:32:45 +01:00
Ferdinand Thiessen 4a14b6e2ea Merge pull request #41991 from nextcloud/fix/backport-table-labels
[stable28]  fix(files): Remove confusing table header labels
2023-12-05 11:53:48 +01:00
Ferdinand Thiessen 6f4dc60745 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 11:14:57 +01:00
Ferdinand Thiessen 9d6c2ae264 fix(files): Remove confusing table header labels
For screen readers the table header was very verbose and confusing,
as the SR reads out e.g. "sort list by name button FILENAME" for every row / file.
Instead reduce it to "name button FILENAME" and add information about sorting to caption, as recommended by WCAG [1]

[1]: https://www.w3.org/WAI/ARIA/apg/patterns/table/examples/sortable-table/

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 10:56:28 +01:00
Maxence Lange 4d89d9cd0f +files_metadata_installed
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-12-05 09:24:04 +00:00
Nextcloud bot 782160af76 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-05 00:21:26 +00:00
Andy Scherzinger 875b6516c8 Merge pull request #42013 from nextcloud/backport/41460/stable28
[stable28] Migrate database missing checks
2023-12-04 20:20:50 +01:00
Arthur Schiwon 26465f3c56 feat(LDAP): warn about demoting a group while promoting another
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-04 18:52:20 +00:00
Arthur Schiwon 668d2bc6d5 enh(LDAP): add occ command to promote an LDAP group to admin
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-04 18:52:20 +00:00
Arthur Schiwon d8215fbcee 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-04 18:52:19 +00:00
Varun Patil a7586ccf47 fix(files): allow any throwable in logException
If a TypeError is passed here, it in turn causes a TypeError which
kills the rendering of the error page.

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-12-04 16:26:37 +00:00
Côme Chilliet e57d31ffb0 Missing things in database should be warning, not info
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-04 16:23:25 +00:00
Côme Chilliet bd9a5df5d1 fix(tests) Fix CheckSetupControllerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-04 16:23:25 +00:00
Côme Chilliet b75affa793 Switch from deprecated hasPrimaryKey to getPrimaryKey function
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-04 16:23:25 +00:00
Côme Chilliet fc2467c18f Migrate missing primary key database check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-04 16:23:24 +00:00
Côme Chilliet e48e67b0a4 Migrate missing index database check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-04 16:23:23 +00:00
Côme Chilliet d0a72a103d Migrate missing column database check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-04 16:23:23 +00:00
Joas Schilling 9ab8020035 Merge pull request #42010 from nextcloud/backport/42008/stable28
[stable28] fix(metadata): Allow to load metadata of multiple files at once
2023-12-04 16:35:30 +01:00
Joas Schilling c6acd3f8ec fix(metadata): Fix copy-paste doc block throws
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-04 14:59:36 +01:00
Joas Schilling 4ce175b88f fix(metadata): Allow to load metadata of multiple files at once
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-04 13:58:40 +00:00
Joas Schilling a5eaa56314 Merge pull request #42005 from nextcloud/backport/41999/stable28
[stable28] fix(security): Handle idn_to_utf8 returning false
2023-12-04 13:59:00 +01:00
Julius Härtl b6dd719711 Merge pull request #42000 from nextcloud/backport/41995/stable28 2023-12-04 12:50:17 +01:00
Joas Schilling 704751f868 fix(security): Handle idn_to_utf8 returning false
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-04 11:18:51 +00:00
Marcel Klehr d95c3edd6b fix(TemplateManager): Bail early if templatedirectory is empty
fixes #39266

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-04 09:57:30 +00:00
Joas Schilling 0744821ebf Merge pull request #41955 from nextcloud/backport/41766/stable28
[stable28] fix(files_external): Fix "Could not find resource main.js to load"
2023-12-04 08:55:21 +01:00
Nextcloud bot 3ef484d1c3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-04 00:18:37 +00:00
Ferdinand Thiessen 41ece3b55c Merge pull request #41978 from nextcloud/backport/41953/stable28
[stable28] fix(files): Move aria-label for favorite icon from span to icon
2023-12-03 17:28:38 +01:00
nextcloud-command cd4d6809a2 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-03 14:22:28 +00:00
Ferdinand Thiessen 93017848f0 fix(files): Remove aria-label from span and move to favorite icon
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-03 15:18:35 +01:00
nextcloud-command 82e6627eea chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-12-03 02:49:32 +00:00
Nextcloud bot ca5da4f347 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-03 00:18:28 +00:00
Joas Schilling 6380a38de4 Merge pull request #41967 from nextcloud/fix/dav/single-day-ooo-stable28
[stable28] fix(dav): Allow single-day out of office
2023-12-02 08:10:51 +01:00
Nextcloud bot 1149706765 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-02 00:21:25 +00:00
Louis 917e271730 Merge pull request #41941 from nextcloud/backport/41924/stable28
[stable28] Add comment in SyncLivePhotosListener
2023-12-02 00:21:27 +01:00
Louis Chemineau 263f9e1e77 Add comment in SyncLivePhotosListener
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-01 22:54:57 +01:00
Joas Schilling dec04eccb0 fix(files_external): Fix "Could not find resource main.js to load"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 15:28:41 -06:00
Marcel Klehr 2d65838af1 fix(TextProcessing): Make task type template param covariant
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-01 12:36:42 +00:00
Christoph Wurst 3b30b2ff16 fix(dav): Allow single-day out of office
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-12-01 13:29:53 +01:00
Joas Schilling ed809fd0f6 Merge pull request #41960 from nextcloud/bugfix/noid/fix-video-verification-tests
fix(CI): Fix video verification tests
2023-12-01 11:40:47 +01:00
Joas Schilling 385495050b Merge pull request #41963 from nextcloud/backport/41957/stable28
[stable28] feat(out-of-office): Add OCS endpoint to set and clear absence
2023-12-01 11:39:12 +01:00
Joas Schilling bdf3b46daf fix(out-of-office)!: Remove non OCS endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 11:00:35 +01:00
Joas Schilling d5f3710917 feat(out-of-office): Migrate frontend to OCS endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 10:59:45 +01:00
Joas Schilling 7bfeeaedee feat(out-of-office): Add OCS endpoint to set and clear absence
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 10:57:40 +01:00
Joas Schilling ab788f5dfa fix(CI): Fix video verification tests
Searching for "master" doesn't work when the app switches to "main"

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 10:43:10 +01:00
Joas Schilling ffbc8c90bf Merge pull request #41956 from nextcloud/backport/41928/stable28
[stable28] fix(copyright): Fix copyright doc blocks
2023-12-01 10:14:51 +01:00
Joas Schilling f65eba52eb fix(copyright): Fix copyright doc blocks
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 07:20:23 +00:00
Nextcloud bot 8b3161efc9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-01 00:18:42 +00:00
Andy Scherzinger ba53734e15 Merge pull request #41945 from nextcloud/fix/stable28-cypress-global-search-modal
[stable28] fix(cypress): Adjust user columns tests
2023-11-30 21:55:29 +01:00
Arthur Schiwon 45e5715575 Merge pull request #41814 from nextcloud/release/28.0.0_rc2
28.0.0 RC2
2023-11-30 20:59:47 +01:00
Arthur Schiwon 9bcb7774a4 Merge pull request #41943 from nextcloud/fix/stable28-update-vue
[stable28] Update `@nextcloud/vue` to 8.3.0
2023-11-30 20:47:04 +01:00
Ferdinand Thiessen a9f6050144 fix(cypress): Adjust user columns tests to be more specific when selecting a modal
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-30 20:37:46 +01:00
Ferdinand Thiessen cc3e0f9e0b fix: Update dav snapshots
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-30 19:46:49 +01:00
Ferdinand Thiessen 048cf59275 chore: Update @nextcloud/vue to 8.3.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-30 19:46:48 +01:00
Ferdinand Thiessen 20de1ec38b Merge pull request #41932 from nextcloud/backport/41923/stable28
[stable28] fix(core): app icon alignment in app menu
2023-11-30 19:44:13 +01:00
Andy Scherzinger 2bc87ddc5b Merge pull request #41929 from nextcloud/41785-manual-backport
[stable28] Migrate openResult method to SearchResult component
2023-11-30 18:56:33 +01:00
fenn-cs 71d7a99a52 Migrate openResult method to SearchResult component
After moving the `SearchResult` to its own component and leaving
 out the openResult method, the search results do not lead anywhere but
 but error out.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-30 18:33:10 +01:00
Ferdinand Thiessen fdaa6e7c95 Merge pull request #41925 from nextcloud/41781-manual-backport
[stable28] UI updates for global search
2023-11-30 18:26:48 +01:00
fenn-cs 47cd940871 Fix date filter wording & improve search feedback
- Show loading when actually loading, instead of no content
- Change modified label to `Date` as it applies to a bunch of things.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-30 17:15:06 +01:00
fenn-cs 8ec0f24e6f Unbold user names in SearchableList
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-30 17:11:02 +01:00
fenn-cs 6fa617026d Improve accesibility for search tags/chips
- Use stand font of filter tags/chips
- No bold
- Use close icon and no close thick

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-30 17:11:02 +01:00
F. E Noel Nfebe eeaf2a086f Merge pull request #41930 from nextcloud/41792-manual-backport
[stable28]  Handle close GlobalSearchModal gracefully #41792
2023-11-30 17:09:34 +01:00
F. E Noel Nfebe 46fa012140 Merge pull request #41933 from nextcloud/41729-manual-backport
[stable28]  Enable new global search by default #41729
2023-11-30 16:54:05 +01:00
Andy Scherzinger 16190c7dbb Merge pull request #41934 from nextcloud/41885-manual-backport
[stable28]  Improve share logic for enforced password & expiry date
2023-11-30 16:39:35 +01:00
fenn-cs daafc733fa Handle close GlobalSearchModal gracefully
The current close infrastructure modifies a prop which has
 no real effect aside bugs.

In addition, calling the `NcModal.close()` as the primary way to
 close the search modal instead of using the states defined in `GlobalSearch` view
 causing re-open bugs (Modal cannot open, needs to click twice, and other weird stuff).

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-30 15:33:08 +00:00
Louis 996d94a0de Merge pull request #41921 from nextcloud/backport/41765/stable28
[stable28] Synchronize operation on live photo files
2023-11-30 15:42:18 +01:00
fenn-cs bd117d229f Enable new global search by default
The new global search would now be activated by default and users,
 have the option to revert to the old unified search by setting `unified_search.enabled`
to true in the NC `config.php` file.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-30 13:46:28 +00:00
Benjamin Gaussorgues 7ad8426824 Merge pull request #41926 from nextcloud/41771-manual-backport 2023-11-30 14:17:39 +01:00
fenn-cs efc385dc39 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>
2023-11-30 12:41:06 +01:00
Grigorii K. Shartsev 2c2a8559e0 chore(assets): recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-30 11:30:50 +00:00
Grigorii K. Shartsev 7c00a0853b fix(core): app icon alignment in app menu
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-30 11:30:49 +00:00
fenn-cs df7a1906e8 Always emit search event
For BOD, it's better to always emit the search event so
 apps (all of which we don't know) responding to this effect would receive notifications when
the search happens within these apps.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-30 11:37:25 +01:00
Simon L 0561b11a4e Merge pull request #41920 from nextcloud/backport/41855/stable28
[stable28] fix(theming): Fix color inverted icons based on theming and dark mode
2023-11-30 11:09:58 +01:00
Louis Chemineau 86d88f6b00 Synchronize operation on live photo files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-30 09:44:51 +00:00
Joas Schilling 32ec76e8d9 Fix more active entry icons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-30 09:15:44 +01:00
Joas Schilling 217753d5f3 fix(theming): Fix color inverted icons based on theming and dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-30 09:14:09 +01:00
Simon L a1434af01e Merge pull request #41912 from nextcloud/update/vue/stable28
[stable28] update @nextcloud/upload to 1.0.2
2023-11-30 09:03:47 +01:00
Nextcloud bot 6cdfa519a2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-30 00:22:41 +00:00
root 5f2b03c7f4 update @nextcloud/upload to 1.0.2
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-29 23:15:33 +00:00
Arthur Schiwon 7407afb469 Merge pull request #41811 from nextcloud/backport/41778/stable28
[stable28] fix(dav): don't schedule out-of-office jobs for dates in the past
2023-11-29 21:56:17 +01:00
Arthur Schiwon c967da3b56 Merge pull request #41873 from nextcloud/backport/41703/stable28
[stable28] fix(dav): Convert dates without tz drift
2023-11-29 21:52:58 +01:00
Christoph Wurst b11da9c004 fix(dav): Timezone drift of OOO event
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-29 19:49:42 +01:00
Christoph Wurst ac782a1619 fix(dav): Convert dates without tz drift
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-29 19:49:42 +01:00
Christoph Wurst 64c7221390 Merge pull request #41868 from nextcloud/mime-type-msg-eml-28
[stable28] fix: add mimetype for eml and msg
2023-11-29 17:51:48 +01:00
Christoph Wurst 1b8e30ddb2 Merge pull request #41886 from nextcloud/backport/41866/stable28
[stable28] fix(dav): Prioritize timezone from core/login
2023-11-29 17:49:17 +01:00
Andy Scherzinger ec962bb7c8 Merge pull request #41845 from nextcloud/backport/41818/stable28
[stable28] fix(OOO): Make the returned data more explicit
2023-11-29 15:20:31 +01:00
Christoph Wurst 00ba78fed0 fix(dav): Prioritize timezone from core/login
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-29 14:12:43 +00:00
Daniel Kesselberg 1081c4aaa3 fix: change mime type for msg file
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-29 12:39:07 +01:00
Daniel Kesselberg 6ab3b061d3 fix: add mimetype for eml and msg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-29 12:39:07 +01:00
Andy Scherzinger 8a4136dadf Merge pull request #41807 from nextcloud/backport/41753/stable28
[stable28] Spelling correction
2023-11-29 12:01:37 +01:00
Andy Scherzinger 81b4563039 Merge pull request #41837 from nextcloud/backport/41738/stable28
[stable28] feat(dav): hide search providers if their respective app is not activated
2023-11-29 11:50:43 +01:00
Joas Schilling 3c3b5d87a1 fix(OOO): Make the returned data more explicit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-29 10:10:53 +00:00
Andy Scherzinger d6a411b4b4 Merge pull request #41783 from nextcloud/backport/41749/stable28
[stable28] fix(files_versions): Check for user and owner before call getUserFolder
2023-11-29 10:55:57 +01:00
Andy Scherzinger d384ade402 Update test for changed string - openInFilesAction.spec.ts
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-29 10:36:43 +01:00
Valdnet 32761660cd Change to capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-29 10:36:43 +01:00
Valdnet 962dea6a62 Correct a typo
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-29 10:36:43 +01:00
Andy Scherzinger 56827fc676 Merge pull request #41815 from nextcloud/backport/41809/stable28
[stable28] fix: Hidden password confirmation dialog with new global search
2023-11-29 10:35:48 +01:00
Andy Scherzinger 529ac2f4d6 Merge pull request #41817 from nextcloud/backport/41759/stable28
[stable28] fix(dav): Make ooo settings a form and the message required
2023-11-29 10:30:45 +01:00
Benjamin Gaussorgues 761b042e84 feat(dav): hide search providers if their respective app is not activated
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-29 09:28:00 +00:00
Christoph Wurst 41379c0f0a fix(dav): Make ooo settings a form and the message required
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-29 08:07:53 +00:00
Nextcloud bot 2f1f35530b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-29 00:20:37 +00:00
Git'Fellow ba7c8e1df2 fix(files_versions): Explicitly check for user or owner before call getUserFolder
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Fix typo

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

Fix

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

Fix

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

Fix

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

Optimize DI

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

Switch to DI

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

userSession does not contain null

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

Restore phpdoc annots

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-29 00:33:13 +01:00
Christopher Ng 97f10e3c37 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-28 15:15:58 -08:00
Christopher Ng 51b54f9751 fix: Hidden password confirmation dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 5525edd805)
2023-11-28 15:11:15 -08:00
Christopher Ng 154fe8f102 fix(settings): Duplicate update user manager calls
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 919b5dbdf5)
2023-11-28 15:11:11 -08:00
Arthur Schiwon 2f3b949524 28.0.0 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-28 22:53:59 +01:00
Richard Steinmetz ba72471dd6 fix(dav): don't schedule out-of-office jobs for dates in the past
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-28 18:47:46 +00:00
Christoph Wurst 699ee7a1d8 Merge pull request #41798 from nextcloud/enh/stable28/add-ooo-and-remove-user-status
[stable28] enh(userstatus): add OOO automation and remove calendar automation
2023-11-28 18:20:18 +01:00
Andy Scherzinger f37e9da36a Merge pull request #41784 from nextcloud/backport/41782/stable28
[stable28] fix(files): Empty files list when uid contains special chars
2023-11-28 16:52:42 +01:00
Anna Larch e8481e428a [stable28] enh(userstatus): add OOO automation and remove calendar automation
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-11-28 15:44:23 +01:00
Arthur Schiwon e7b1d1f46c Merge pull request #41726 from nextcloud/backport/41722/stable28
[stable28] fix(dav): Avoid date diffing if PHP is buggy
2023-11-28 10:30:06 +01:00
Christopher Ng 918bd7607e chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-27 17:26:19 -08:00
Christopher Ng 96386083dd fix(files): Empty files list when uid contains special chars
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 52cf1b3178)
2023-11-27 17:23:38 -08:00
Nextcloud bot 47fb88479e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-28 00:26:29 +00:00
Andy Scherzinger 4342a48798 Merge pull request #41732 from nextcloud/backport/41632/stable28
[stable28] Fix adding x-requested-with header for relative URLs in some cases
2023-11-27 13:12:29 +01:00
Julien Veyssier d52641b8b8 compile assets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-11-27 12:16:24 +01:00
Julien Veyssier 7741d5cd8f fix adding x-requested-with header for relative URLs when the base NC URL is empty
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-11-27 12:16:24 +01:00
Joas Schilling 057daaee9d Merge pull request #41761 from nextcloud/backport/41678/stable28
fix(security): Update expiration date in security.txt
2023-11-27 12:03:47 +01:00
Joas Schilling c05b1e841a fix(security): Update expiration date in security.txt
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-27 10:45:28 +01:00
Joas Schilling e6106cfbc2 Merge pull request #41757 from nextcloud/backport/41640/stable28
[stable28] fix(setupcheck): Fix memory limit setup check
2023-11-27 09:32:48 +01:00
Joas Schilling c1c6372ef2 fix(setupcheck): Fix memory limit setup check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-27 05:49:43 +00:00
Nextcloud bot 25bc2e50c3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-27 00:23:08 +00:00
Nextcloud bot 5b2ae14e75 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-26 00:23:47 +00:00
Andy Scherzinger 38714a2a07 Merge pull request #41741 from nextcloud/backport/41705/stable28
[stable28] confirm content on dav-v2 test
2023-11-25 09:35:21 +01:00
Maxence Lange ec74c00d4c confirm content on dav-v2 test
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-25 08:26:25 +01:00
Nextcloud bot 700b6ea4a3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-25 00:26:04 +00:00
Andy Scherzinger 919b448bb6 Merge pull request #41742 from nextcloud/backport/41685/stable28
[stable28] Ensure share has download permissions in F2V
2023-11-24 21:15:32 +01:00
Louis 15e4c78014 Ensure share has download permissions in F2V
Signed-off-by: Louis <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-24 18:12:35 +00:00
Louis 5e8ee6e0d6 Ensure share has download permissions in F2V
Signed-off-by: Louis <louis@chmn.me>
2023-11-24 17:59:38 +00:00
Andy Scherzinger 9b752d977f Merge pull request #41715 from nextcloud/backport/41707/stable28
[stable28] fix(files): Use SVG as FilePicker buttons to bring back icons
2023-11-24 18:00:43 +01:00
Ferdinand Thiessen 0f3cc3beab chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-24 16:26:23 +01:00
Ferdinand Thiessen 3727a18deb fix(files): Use SVG as FilePicker icons instead of Vue components
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-24 16:26:23 +01:00
Andy Scherzinger 2f1dfc8bcc Merge pull request #41733 from nextcloud/backport/41719/stable28
[stable28] Fix action button labels
2023-11-24 16:25:30 +01:00
Marco Ambrosini c9b5369a99 Fix action button labels
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-24 14:08:25 +00:00
Christoph Wurst 777701e7d1 fix(dav): Avoid date diffing if PHP is buggy
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-24 10:30:39 +00:00
Ferdinand Thiessen a89e93dcec Merge pull request #41716 from nextcloud/backport/41683/stable28
[stable28] Remove unneeded links and add `focus-visible` state on a link
2023-11-24 11:30:07 +01:00
julia.kirschenheuter 1b19610704 Remove unneeded links and add focus-visible state on a link
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-24 09:45:41 +01:00
Andy Scherzinger 36109fd26f Merge pull request #41708 from nextcloud/backport/41687/stable28
[stable28] fix(core): Subscribe to navigation changes on mounted for Unified search
2023-11-24 09:38:49 +01:00
Nextcloud bot 0d478a0b9c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-24 00:27:21 +00:00
Ferdinand Thiessen 076abb661b fix(core): Subscribe to navigation changes on mounted for Unified search
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-23 23:39:32 +00:00
Arthur Schiwon b092daa0f6 Merge pull request #41621 from nextcloud/release/28.0.0_rc1
28.0.0 RC1
2023-11-23 21:53:31 +01:00
Arthur Schiwon 20be3a737d Merge pull request #41706 from nextcloud/backport/41652/stable28
[stable28] Focus global search input on open
2023-11-23 21:39:16 +01:00
fenn-cs ef73f18bff Focus global search input on open
For better accesibility, the search input in the global search
modal should be focused when the search modal is opened.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-23 19:55:40 +00:00
Arthur Schiwon a8a114ccbb Merge pull request #41701 from nextcloud/feat/dav/out-of-office-job-stable28
[stable28] feat(dav): dispatch out-of-office started and ended events
2023-11-23 19:52:59 +01:00
Andy Scherzinger 33515daa26 Merge pull request #41700 from nextcloud/backport/41669/stable28
[stable28] Add app-based filtering to global search
2023-11-23 19:51:20 +01:00
Richard Steinmetz d593206a30 feat(dav): dispatch out-of-office started and ended events
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-23 17:54:10 +01:00
fenn-cs 660e9639e3 Add app-based filtering to global search
Emit search queries from the global search modal that would trigger
list filtering in various apps that support it.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-23 16:07:40 +00:00
Andy Scherzinger 9f9abd1a57 Merge pull request #41691 from nextcloud/backport/41680/stable28
[stable28] Replace "Update" with "Edit" in advanced share settings
2023-11-23 16:53:00 +01:00
Andy Scherzinger 52c9427c26 Merge pull request #41692 from nextcloud/backport/41672/stable28
[stable28] Fix star stroke color on hover
2023-11-23 16:48:17 +01:00
Marco Ambrosini a1aec65792 Fix star stroke color on hover
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-23 13:23:46 +00:00
Jérôme Herbinet 819b4a4412 npm run build
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-23 13:13:25 +00:00
Jérôme Herbinet a13ef9324f Replace "Update" with "Edit"
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-11-23 13:13:24 +00:00
Arthur Schiwon 7fc7449714 Merge pull request #41679 from nextcloud/branchoff/welcome-stable28
Test against stable28 branches
2023-11-23 12:00:45 +01:00
Joas Schilling 3d814b0c36 Merge pull request #39271 from nextcloud/bump-coding-standards
Bump CS Fixer rules to follow latest Nextcloud standards
2023-11-23 11:40:02 +01:00
Joas Schilling aa5f037af7 chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +01:00
Joas Schilling 272719ed1c fix(CI): Also apply codestyle to apps/ folder even when it's VCS ignored itself
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +01:00
Benjamin Gaussorgues c196d37899 Bump CS Fixer rules to follow latest Nextcloud standards
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +01:00
Joas Schilling 7f3ebb4e73 Test against stable28 branches
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-23 10:06:38 +01:00
Maxence Lange 09879700aa Merge pull request #41668 from nextcloud/enh/noid/test-dav-favorite-search
test boolean favorite
2023-11-23 07:53:39 -01:00
Maxence Lange ee787cd1c6 Merge pull request #41459 from nextcloud/enh/noid/search-metadata-null
implements search on null/notnull metadata
2023-11-23 07:52:27 -01:00
Joas Schilling f1a7fcea81 Merge pull request #41676 from nextcloud/bugfix/noid/fix-reminder-version
fix(reminder): Fix app version and requirement for files_reminder app
2023-11-23 09:38:02 +01:00
Joas Schilling d9d3c02125 fix(reminder): Fix app version and requirement for files_reminder app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-23 09:24:19 +01:00
Kate cd25b3a0d1 Merge pull request #41662 from nextcloud/chore/settings/cleanup-manager-type-annotations 2023-11-23 09:21:01 +01:00
Andy Scherzinger 27f96722f3 Merge pull request #41673 from nextcloud/Valdnet-patch-1
Correct spelling
2023-11-23 09:18:28 +01:00
Simon L 72d5218c41 Merge pull request #41603 from nextcloud/automated/noid/master-fix-npm-audit
[master] Fix npm audit
2023-11-23 08:50:06 +01:00
Valdnet 318875a16e Add quotation marks
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-23 08:43:20 +01:00
Valdnet ea3865138f Correct spelling
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-23 08:39:17 +01:00
jld3103 ae360080f5 chore(settings): Cleanup IManager and Manager type annotations
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-23 08:29:37 +01:00
nextcloud-command efed41fe6a chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-11-23 08:00:31 +01:00
rakekniven 5c26bd3447 Merge pull request #41666 from nextcloud/Valdnet-patch-2
Add quotation marks
2023-11-23 07:13:23 +01:00
Maxence Lange fbe92d4a90 fixing test
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-23 00:43:26 -01:00
Nextcloud bot faa6ac3809 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-23 00:26:03 +00:00
Andy Scherzinger 42724c15c5 Merge pull request #40462 from nextcloud/refactor/lib-array_search-to-in_array
refactor: Replace array_search with in_array in lib/
2023-11-22 20:42:52 +01:00
Andy Scherzinger e490ac6e8b Merge pull request #41649 from nextcloud/bug/noid/lower-sync-threshold
fix: lower threshold for system address book sync
2023-11-22 20:36:11 +01:00
Andy Scherzinger 83c6db44c7 Merge pull request #41642 from nextcloud/Valdnet-patch-1
Correct spelling of Brute Force and other fixes
2023-11-22 19:27:46 +01:00
Pytal ca91eda240 Merge pull request #41638 from nextcloud/fix/41625-Replace_contacts-menu_search_and_unified-search_with_NcTextField
Replace input form with `NcTextField`
2023-11-22 09:39:16 -08:00
Andy Scherzinger 0309faa60b Merge pull request #41656 from nextcloud/enh/41620/shared-label-takes-a-lot-of-space-in-files-list
Show shared label only if the current user have shared the file.
2023-11-22 17:19:14 +01:00
Marco Ambrosini fc3636792a Show shared label only if the current user have shared the file.
The presence of the text "Sharing label" in all shared files caused
the view to be too loaded, so it's been decided to show it only when
the current user is the owner of the share.

Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-22 15:41:50 +00:00
Simon L 46b0e1bef1 Merge pull request #41481 from nextcloud/enh/beta-improvements
Enh/beta improvements
2023-11-22 16:29:53 +01:00
Arthur Schiwon 99f945622f Merge pull request #40071 from nextcloud/bugfix/noid/dont-block-admin-page-when-updater.nextcloud.com-is-down
fix(updatecheck): Don't wait 120s for a response of updater.nextcloud…
2023-11-22 15:18:18 +01:00
Maxence Lange fa17de290d test boolean favorite
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-22 13:17:49 -01:00
Daniel Kesselberg 7b74b07046 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 14:59:02 +01:00
Valdnet 54197bc2d0 Add quotation marks
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-22 14:55:23 +01:00
Arthur Schiwon 1cd4d4e018 Merge pull request #39739 from nextcloud/fix/db/print-migration-generation-error
fix(db): Print why the migration file could not be created
2023-11-22 14:52:39 +01:00
Louis Chemineau a93af13c12 Fix is-define operator
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-22 12:43:27 -01:00
Louis Chemineau 33ac1c0433 Fix param name after Sabre\CalDAV update
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-22 12:43:27 -01:00
Louis Chemineau b0109b47d6 Update 3rdparty
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-22 12:43:27 -01:00
Maxence Lange 7467422f57 implements search on null/notnull metadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-22 12:43:27 -01:00
Marco f476220f09 Add star indicator in file description
Signed-off-by: Marco <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-22 13:41:50 +00:00
Marco 0da90ecba5 Remove quotes from input
Signed-off-by: Marco <marcoambrosini@icloud.com>
2023-11-22 14:35:10 +01:00
Marco eefbf6d2de Verticaly align comment avatar
Signed-off-by: Marco <marcoambrosini@icloud.com>
2023-11-22 14:35:10 +01:00
Marco cd26b919e4 Move starring into actions menu
Signed-off-by: Marco <marcoambrosini@icloud.com>
2023-11-22 14:35:10 +01:00
Valdnet 0acd07c362 Change "brute force" to "brute-force"
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-22 14:22:47 +01:00
julia.kirschenheuter ab845405df Replace input form with NcTextField
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-22 14:14:56 +01:00
Ferdinand Thiessen 9c3321c524 Merge pull request #41565 from nextcloud/fix/object-storage-inconsitent-behavior
fix(ObjectStore): Make copying behavior consistent with local storage
2023-11-22 13:54:01 +01:00
Maxence Lange 8877f9bec9 Merge pull request #41653 from nextcloud/enh/noid/sync-token-on-retrievemetadata
get sync_token on retrieveMetadata()
2023-11-22 10:13:31 -01:00
Christoph Wurst 5f0ada879e fix(db): Print why the migration file could not be created
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-22 11:46:17 +01:00
Joas Schilling 053157b87e fix(updatecheck): Don't wait 120s for a response of updater.nextcloud.com
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-22 11:44:43 +01:00
Arthur Schiwon bc1da2fa54 Merge pull request #40114 from summersab/refactor/OC-Server-getAvatarManager
Refactor `OC\Server::getAvatarManager`
2023-11-22 11:43:51 +01:00
Christoph Wurst ea8f9a7e84 refactor: Repalce array_search with in_array in lib/
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-22 11:42:53 +01:00
Benjamin Gaussorgues ba1af2b22e Merge pull request #41646 from nextcloud/feat/hide-search-provider
feat(search): hide search provider from list
2023-11-22 09:49:46 +01:00
Julius Härtl f79398c55d Merge pull request #41655 from nextcloud/fix/41630/search-value-bool 2023-11-22 08:50:17 +01:00
Benjamin Gaussorgues 0d8aa6894a feat(search): hide user search if not on user list
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-22 08:47:53 +01:00
Benjamin Gaussorgues 75e5854458 feat(search): hide search provider
Some search providers can be hidden if they send `null` in `getOrder`

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-22 08:47:53 +01:00
Maksim Sukharev e1d3fb53bc Merge pull request #41641 from nextcloud/fix/41269/remove-emoji-status-border
fix(user_status): remove border from emoji picker
2023-11-22 08:35:32 +01:00
Louis 2310638231 Merge pull request #41648 from nextcloud/artonge/feat/restore_openfile
Trigger default action when open file initial state is set
2023-11-22 07:30:45 +01:00
Maxence Lange ff823cf926 accept boolean value
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-22 01:20:42 -01:00
Nextcloud bot 73ecc8f1db Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-22 00:24:44 +00:00
Maxence Lange e37ab38780 get sync_token on retrieveMetadata()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-21 21:11:13 -01:00
Louis Chemineau c7e2c340a8 Trigger default action when open file initial state is set
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-21 19:45:41 +00:00
Louis 7c6ee7e71a Merge pull request #41637 from nextcloud/artonge/fix/unit_test_sharing_settings
Fix sharing settings unit tests
2023-11-21 18:52:08 +01:00
Côme Chilliet 281cbbfa97 Fix tests for apps/settings new section
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-21 17:51:34 +01:00
Louis Chemineau 7984b80a76 Fix sharing settings unit tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-21 17:32:36 +01:00
Valdnet 94e05ea919 Correct a typo
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-21 15:45:33 +01:00
Julius Härtl d14d881080 Merge pull request #41623 from nextcloud/fix/orphan-share-no-user 2023-11-21 15:43:57 +01:00
Valdnet 519fad9206 Add quotation marks
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-21 15:40:01 +01:00
Louis b9bd73a92d Merge pull request #41540 from nextcloud/artonge/feat/add_metadata_generation_job
Add metadata generation job
2023-11-21 15:37:48 +01:00
Valdnet 6475f2f8be Add quotation marks
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-21 15:32:38 +01:00
F. E Noel Nfebe 163e8b616c Merge pull request #41507 from nextcloud/41381-global-search-follow-up-2
Enhancements: Fix and updates to most recent global search UI
2023-11-21 15:26:53 +01:00
Valdnet f5a40c2219 Correct spelling of Brute Force
Correcting the spelling of "Bruteforce" to "Brute Force"

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-21 15:19:16 +01:00
Louis a29495f166 Merge pull request #41634 from nextcloud/artonge/fix/listen_to_cache_events_for_metadata
Listen to cache event when deleting metadata
2023-11-21 15:07:42 +01:00
Maksim Sukharev c823076239 chore(user_status): compile assets
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2023-11-21 14:58:11 +01:00
Maksim Sukharev 17592f7eb7 fix(user_status): remove border from emoji picker
- clean styles
- lint component

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2023-11-21 14:56:23 +01:00
Ferdinand Thiessen 151ff38fc9 Merge pull request #41635 from nextcloud/fix/settings-apporder
fix(theming): Adjust config listener to validate `apporder` config also for closure navigation
2023-11-21 14:34:39 +01:00
fenn-cs 701e626d18 Move search result section to component & hide thumbnail if error
The section that handles the search result list item is big and complex enough
 to have it's own component. Inside this component, a new method is added to hide
the thumbnail preview if the image load errors out.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-21 13:29:03 +00:00
Louis Chemineau b63ddc73a2 Listen to cache event when deleting metadata
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-21 13:52:31 +01:00
Ferdinand Thiessen fa2c834aab fix(theming): Adjust config listener to validate apporder config
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-21 12:29:26 +01:00
fenn-cs 8dadb09e54 Round avatars when needed and show url-based mime icons
- Pass `results.rounded` property that comes with search result
 data to determine if avatar would be rounded or not.

- Icons loaded via url's now visible.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-21 11:26:22 +01:00
fenn-cs 4964cb838b Improve date-range logic for global search
- Allow future dates in custom date range
- Fix date ranges for example, before now, today range was roughly
 between `now()` to `now() + a few milli seconds`
- Update text in custom date range modal, right align "Search in range"
 button.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-21 11:26:22 +01:00
Julius Härtl f74084cd3d Merge pull request #40368 from nextcloud/feature/update-signup-link 2023-11-21 11:22:42 +01:00
Louis ff92a0a02d Merge pull request #41617 from nextcloud/artonge/fix/error_files_versions_previews
Handle error in previews for files versions
2023-11-21 10:55:49 +01:00
Luka Trovic b134e1cbc7 feat: update sign up link in share pages
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2023-11-21 10:10:37 +01:00
Côme Chilliet 24c2c09aea Merge pull request #41438 from nextcloud/feat/migrate-forwarded-for-headers-check
Migrate forwarded for headers check
2023-11-21 09:50:38 +01:00
Nextcloud bot 0e433501bb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-21 00:27:59 +00:00
Maxence Lange ae71ed1e37 Merge pull request #41601 from nextcloud/enh/noid/named-metadata-event
add named metadata event
2023-11-20 22:20:29 -01:00
Julius Härtl 4bc45a7f9c Merge pull request #41624 from nextcloud/chore/dependencies-nextcloud-upload 2023-11-20 22:28:11 +01:00
Julius Härtl bd9e1a6f6f chore: Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-20 21:45:15 +01:00
Louis Chemineau 6896724dd4 Handle error in previews for files versions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-20 18:12:25 +01:00
Côme Chilliet ad372869bc Fix tests for setupchecks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-20 18:03:15 +01:00
Julius Härtl d75ab0de10 chore: Bump @nextcloud/upload to 1.0.1
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-20 17:32:53 +01:00
Ferdinand Thiessen 02807a37b0 Merge pull request #41581 from nextcloud/fix/migrate-admin-settings-sharing-vue
enh(settings): Migrate admin settings for sharing to vue
2023-11-20 17:32:05 +01:00
Ferdinand Thiessen 543e2dbf0f chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-20 17:09:48 +01:00
Ferdinand Thiessen 8fc0395d61 fix(config): Adjust webpack config to provide appName and appVersion which are expected by @nextcloud/vue
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-20 17:07:55 +01:00
Ferdinand Thiessen 22163c60d4 enh(settings): Migrate admin settings for sharing to vue
This is required to get the fixes for a11y from `@nextcloud/vue`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-20 17:07:55 +01:00
Joas Schilling e5b996722a Merge pull request #41616 from nextcloud/bugfix/noid/fix-ocs-absolute-URLs-with-ignore-front-controller
fix: Fix linkToOCSRouteAbsolute() without index.php and with subfolder
2023-11-20 17:00:43 +01:00
Côme Chilliet 1f4e0927ba Improve success messages for ForwarderForHeaders setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-20 16:12:19 +01:00
Côme Chilliet f023216cf4 Make it an error if address is not known and we are not in CLI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-20 15:52:28 +01:00
Côme Chilliet f47a2bbcae Improve wrong configuration error message when we know it’s wrong.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-20 15:45:46 +01:00
Maxence Lange 22d6c8dcd4 add named metadata event
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-20 13:32:54 -01:00
Julius Härtl 9677ca062e fix: Also cleanup orphaned shares user cannot be found anymore
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-20 14:26:12 +01:00
Arthur Schiwon 26b2712eb5 28.0.0 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-20 12:04:02 +01:00
Côme Chilliet 0ebd44abb6 Migrate tests of forwarded for headers check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-20 11:36:42 +01:00
Côme Chilliet 0107c7ea24 Migrate Forwarded For Headers check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-20 11:36:42 +01:00
Côme Chilliet 0da05fc73b Merge pull request #41435 from nextcloud/feat/migrate-bruteforce-throttle-check
Migrate bruteforce throttle check
2023-11-20 11:32:06 +01:00
Joas Schilling 572ea18ac7 fix: Fix linkToOCSRouteAbsolute() without index.php and subfolder
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-20 11:18:47 +01:00
Simon L 753e7c2dff Merge pull request #41544 from nextcloud/enh/noid/updatehtaccess-disk-space-check 2023-11-20 08:14:57 +01:00
Julius Härtl da162190f4 Merge pull request #41475 from nextcloud/bugfix/noid/docxf-oform-mimetype 2023-11-20 07:11:10 +01:00
Nextcloud bot 2d2852bb78 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-20 00:27:45 +00:00
Julius Härtl cd6c192801 fix: Add docxf/oform to mimetypemapping
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-19 19:46:34 +01:00
Julius Härtl d019c9ad93 Merge pull request #41579 from nextcloud/bugfix/action-failed-error 2023-11-19 16:31:40 +01:00
nextcloud-command f4dbe8d9a6 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-19 15:02:01 +00:00
Julius Härtl 330d9e3d6e Merge pull request #41583 from nextcloud/fix/csp-on-old-ua 2023-11-19 15:59:41 +01:00
Julius Härtl dcca3f024f fix: Be less strict about action exec return value
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-19 15:56:30 +01:00
Nextcloud bot 653b18cb95 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-19 00:28:00 +00:00
Joas Schilling be69ea942b Merge pull request #41569 from nextcloud/bugfix/noid/dont-notify-disabled-users-again
fix(2fa-backupcodes): Don't remember disabled and deleted users over …
2023-11-18 19:20:10 +01:00
Andy Scherzinger e38ebeb2d4 Merge pull request #41594 from nextcloud/dependabot/github_actions/actions/github-script-7
chore(deps): Bump actions/github-script from 6 to 7
2023-11-18 17:11:56 +01:00
dependabot[bot] 56bda62bc1 chore(deps): Bump actions/github-script from 6 to 7
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-18 02:54:11 +00:00
Pytal 65248b0932 Merge pull request #41585 from nextcloud/deps/nextcloud/dialogs-5.0.2
chore: Bump @nextcloud/dialogs to v5.0.2
2023-11-17 18:40:12 -08:00
Christopher Ng a1fcc0341d chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-17 16:42:50 -08:00
Christopher Ng 572d0cbb3d chore: Bump @nextcloud/dialogs to v5.0.2
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-17 16:42:50 -08:00
Nextcloud bot 39db399043 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-18 00:27:58 +00:00
Grigorii K. Shartsev ee21204dd9 Merge pull request #41577 from nextcloud/fix/41568/files-list--valid-table-layout
fix(files): make files list valid table layout
2023-11-18 04:35:58 +05:00
Grigorii K. Shartsev 346c6173f2 fix(files): make table view a valid html table
<div> is not allowed as a <table> child

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-18 00:16:13 +01:00
Grigorii K. Shartsev c18c6c4362 fix(files): make caption a direct child of the files table
Otherwise it is not valid and does not ception the table.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-18 00:14:48 +01:00
Ferdinand Thiessen 688e635f3d Merge pull request #41584 from nextcloud/chore/update-vue
chore: Update `@nextcloud/vue` to 8.2.0
2023-11-17 23:56:28 +01:00
Ferdinand Thiessen 0b55db7f1d fix(cypress): Adjust user settings tests for changed actions component
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 23:16:23 +01:00
Ferdinand Thiessen 9b9133c0e9 chore: Update @nextcloud/vue to 8.2.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 22:41:05 +01:00
Ferdinand Thiessen 2a2c964863 Merge pull request #41573 from nextcloud/fix/avoid-sending-thumbnail-if-none-available
fix(files): avoid sending thumbnail URL for directory as none exists
2023-11-17 22:38:50 +01:00
Ferdinand Thiessen 84429003e1 Merge pull request #41399 from nextcloud/fix/cypress-flaky-new-users
fix(cypress): Make new-users test less flaky by using test isolation
2023-11-17 22:29:49 +01:00
Ferdinand Thiessen ecf9f0a872 fix(CSP): Only add strict-dynamic when using nonces
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 22:01:02 +01:00
Grigorii K. Shartsev 137e488592 Merge pull request #41575 from nextcloud/bugfix/41572
fix: Avoid invisible areas through keyboard navigation
2023-11-17 23:39:17 +05:00
Julius Härtl 018cf71820 fix: Avoid invisible areas through keyboard navigation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-17 17:48:32 +00:00
Ferdinand Thiessen 4fa2749fa8 Merge pull request #41571 from nextcloud/fix/allow-strict-dynamic-elem
Allow setting `strict-dynamic` on `strict-src-elem` and set it by default
2023-11-17 18:03:54 +01:00
Grigorii K. Shartsev 8e3a08d161 Merge pull request #41580 from nextcloud/fix/a11y-replace_action_link_with_action_button
Replace ActionLink with ActionButton on sharing tab
2023-11-17 21:55:30 +05:00
julia.kirschenheuter ff2ef8d0d6 Replace ActionLink with ActionButton on sharing tab
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
So-authored-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-17 16:55:05 +01:00
Benjamin Gaussorgues 01de485aca fix(files): avoid sending thumbnail URL for directory as none exists
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-17 16:22:48 +01:00
Simon L 3f6caa46f3 document error
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-17 15:22:53 +01:00
Simon L 4c522f0f65 do not write htaccess file if disk space is too low
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-17 15:22:53 +01:00
Ferdinand Thiessen e231abd9bf fix!(ContentSecurityPolicy): Make strict-dynamic enabled by default on script-src-elem
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 14:42:36 +01:00
Ferdinand Thiessen b06951ed3b fix(cypress): Make new-users test less flaky by using test isolation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 13:42:51 +01:00
Ferdinand Thiessen 5172baaf8b fix(ObjectStore): Make copying behavior consistent with local storage
Drop file permissions on copy like we do on local storage.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 12:54:37 +01:00
Ferdinand Thiessen 8c24a32fda Merge pull request #41560 from nextcloud/fix/a11y/advanced-sharing-focus
fix(a11y): Focus on sharing quick permission radio
2023-11-17 11:41:54 +01:00
Ferdinand Thiessen 7df9eb3351 feat(ContentSecurityPolicy): Allow to set strict-dynamic on script-src-elem only
This adds the possibility to set `strict-dynamic` on `script-src-elem` only while keep the default rules for `script-src`.
The idea is to allow loading module js which imports other files and thus does not allow nonces on import but on the initial script tag.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 11:12:57 +01:00
Joas Schilling b80dd1f6db fix(2fa-backupcodes): Don't remember disabled and deleted users over and over again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-17 10:19:36 +01:00
Marco 165178a6ad Merge pull request #41561 from nextcloud/fix/user-row-text-field
fix(settings): User row text field styles
2023-11-17 09:18:34 +00:00
Nextcloud bot 158aedb549 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-17 00:27:03 +00:00
Christopher Ng 95c889a65e chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-16 16:14:36 -08:00
Christopher Ng 722b78ea3f fix(settings): User row text field styles
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-16 16:14:36 -08:00
Christopher Ng 4c126f2906 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-16 16:05:00 -08:00
Christopher Ng 6329da9352 fix(a11y): Focus on sharing quick permission radio
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-16 16:05:00 -08:00
Eduardo Morales 9a3d45b0ef Merge pull request #41334 from nextcloud/fix/mtime-render
fix(component): utilized NcDateTime component
2023-11-16 15:35:18 -06:00
nextcloud-command 75796ba250 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-16 20:39:16 +00:00
Eduardo Morales b1ecd99dc6 fix(chore) - built and changed this.source -> source
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-11-16 14:33:10 -06:00
Eduardo Morales 59e75d73be fix(component): changed moment to date object for Nc Component using Node.mtime returned date object
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-11-16 14:33:10 -06:00
Eduardo Morales 3b48af2122 fix(component): utilized NcDateTime component
Resolves #41261
Replaces span element with custom Nc Vue Component
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-11-16 14:33:10 -06:00
Arthur Schiwon 179b7bb3cb Merge pull request #41477 from nextcloud/release/28.0.0_beta_4
28.0.0 beta 4
2023-11-16 21:32:14 +01:00
Marcel Müller db3c731b0e Merge pull request #41541 from nextcloud/fix/noid/serve-flac-files
Serve .flac audio files
2023-11-16 20:35:07 +01:00
Andy Scherzinger be62df5bb3 Merge pull request #41555 from nextcloud/chore/noid/bumpHub7
Bump Hub 6 -> Hub 7
2023-11-16 20:16:59 +01:00
Andy Scherzinger 1209dd954c Bump Hub 6 -> Hub 7
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-11-16 20:15:53 +01:00
Ferdinand Thiessen 82e08f1df3 Merge pull request #41519 from nextcloud/fix/files-sorting
fix(files): Ensure folders and favorites are sorted first regardless of sorting mode
2023-11-16 19:59:56 +01:00
Christoph Wurst c9dc377ebc Merge pull request #41395 from nextcloud/hello-emf
feat: add preview provider for emf files based on office
2023-11-16 19:48:06 +01:00
Benjamin Gaussorgues 23605d60dd Merge pull request #41057 from nextcloud/registermounts-opt
optimize UserMountCache::registerStorage
2023-11-16 18:30:01 +01:00
Ferdinand Thiessen 84004d0a5a Merge pull request #41491 from nextcloud/fix/merge-comments-activity-v2
feat(comments): Plug in comments into activity sidebar tab if available
2023-11-16 18:24:59 +01:00
Christoph Wurst 3dc902057e Merge pull request #41512 from nextcloud/fix/userstatus/no-message-no-message-timestamp
fix(userstatus): Only track message timestamp for values
2023-11-16 16:53:40 +01:00
Robin Appelman b942850af9 optimize UserMountCache::registerStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-16 16:21:59 +01:00
Louis 1b18b976b4 Merge pull request #41518 from nextcloud/nullGetUid
fix(files_versions): don't call getUid() on null
2023-11-16 15:57:20 +01:00
Joas Schilling 7b45939561 Merge pull request #41511 from nextcloud/enh/advanced_search_backend
Enhancements for advanced search API
2023-11-16 15:41:27 +01:00
nextcloud-command 7f462649da chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-16 14:03:17 +00:00
Louis Chemineau a0ff998c00 Add metadata generation job
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-16 15:02:38 +01:00
Ferdinand Thiessen 1be7eb1402 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-16 14:25:43 +01:00
Ferdinand Thiessen 205801adc6 fix(files): Add cypress e2e tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-16 14:25:43 +01:00
Ferdinand Thiessen e250a56170 fix(files): Ensure favorites and folders are sorted first regardless or sorting order
Also fixes `mtime` being wrong sorted, as high mtime means recently edited -> lower

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-16 14:25:40 +01:00
Marcel Müller eaf863dfdb Serve .flac audio files
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-11-16 14:24:56 +01:00
Joas Schilling 6eb182af9d Fix property name
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 14:16:28 +01:00
Ferdinand Thiessen 75284bcf69 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-16 14:16:16 +01:00
Ferdinand Thiessen 9244d53c4d fix(comments): Provide resourceType as property instead of mixin
Also fix typos where `ressource` instead of `resource` was used.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-16 13:22:02 +01:00
Christoph Wurst bdad290d31 fix(userstatus): Only track message timestamp for values
Do not track status messages that are empty, e.g. DND outside of
availability.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-16 12:45:22 +01:00
Ferdinand Thiessen db2fec1cec feat(comments): Use activity tab to mount comments sidebar section if available
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-16 11:54:52 +01:00
Louis 9c3350b313 Merge pull request #41465 from nextcloud/artonge/migrate_metadata
Migrate old metadata table to the new ones
2023-11-16 11:20:57 +01:00
Arthur Schiwon 6716b3fc00 Merge pull request #41526 from nextcloud/bugfix/noid/fix-detection-of-trusted-proxies
Reverse X-Forwarded-For list to read the correct proxy remote address
2023-11-16 10:41:14 +01:00
Joas Schilling 04c3fea7ac Merge pull request #41485 from nextcloud/bugfix/noid/sort-asc-by-default
fix(files): Sort list ASC by default
2023-11-16 10:35:15 +01:00
Arthur Schiwon 609932140e Merge pull request #41520 from nextcloud/bugfix/noid/finish-password-confirmation
Finish password confirmation
2023-11-16 09:40:40 +01:00
Louis Chemineau 95938d32d9 Add migration from the old to new metadata tables
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-16 09:21:55 +01:00
Joas Schilling 2fa78f6245 Reverse X-Forwarded-For list to read the correct proxy remote address
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 07:45:19 +01:00
Joas Schilling 9e1e6a8d93 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 06:31:41 +01:00
Joas Schilling d8ffbed2c2 fix(workflows): Finish password confirmation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 06:25:42 +01:00
Joas Schilling 9a9cdce79f chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 06:20:31 +01:00
Joas Schilling 16ff684073 fix(files): Sort list ASC by default
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 06:19:08 +01:00
Pytal 50f8d6c129 Merge pull request #41335 from nextcloud/enh/a11y/admin-collab-tags
enh(systemtags): Add accessible system tags form
2023-11-15 20:52:36 -08:00
Christopher Ng 470f825f8b test(systemtags): Admin system tags form
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-15 18:34:14 -08:00
Benjamin Gaussorgues ae31d03217 Merge pull request #41486 from nextcloud/fix/41470/invalid_user_group
Fix invalid users/groups handling in advanced search
2023-11-16 02:50:09 +01:00
Ferdinand Thiessen 0d4ece537a Merge pull request #41506 from nextcloud/Valdnet-patch-1
Correct spelling
2023-11-16 02:47:23 +01:00
Christopher Ng 3354b6ba7c chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-15 17:13:14 -08:00
Christopher Ng b1a3c4df07 enh(systemtags): Add accessible system tags form
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-15 17:13:14 -08:00
Christopher Ng c2780796c0 fix(systemtags): Cast tag display name to string
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-15 17:13:14 -08:00
Christopher Ng 0983ce19b1 chore(systemtags): Use files systemtags service
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-15 17:13:14 -08:00
Christopher Ng a267dc2cbb chore(systemtags): Export default base tag
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-15 17:13:14 -08:00
Christopher Ng b4b5612d7c chore(systemtags): Replace php markup with vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-15 17:13:14 -08:00
Christopher Ng e1a934d90c chore(systemtags): Add services for global tags and files-specific tags
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-15 17:13:14 -08:00
Git'Fellow 652317e3e2 Don't call getUid() on null
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-16 01:28:42 +01:00
Nextcloud bot f4d86818b2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-16 00:28:36 +00:00
Valdnet b9473b46ad Correct spelling
Unification of spelling in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-15 19:26:58 +00:00
Ferdinand Thiessen 8bda5e9460 Merge pull request #41489 from nextcloud/fix/41463-Move_delete_share_button_into_the_scrolling_container
Move delete share button into the scrolling container
2023-11-15 19:24:53 +01:00
Christoph Wurst 33e07121d2 Merge pull request #41501 from nextcloud/feat/dav/show-ooo-ui-by-default
feat(dav): Enable OOO UI and expose enabled via OCP
2023-11-15 18:26:27 +01:00
Benjamin Gaussorgues 72c191df11 Introduce constants for builtin search filters
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-15 17:24:37 +01:00
Christoph Wurst d06ee45b80 Merge pull request #41474 from nextcloud/refactor/carddav/earlier-return-sql-where-in
refactor(carddav): Use even earlier return and SQL's WHERE IN
2023-11-15 17:16:53 +01:00
julia.kirschenheuter 9d9fffb9d3 Move delete share button into the scrolling container
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-15 17:11:10 +01:00
Benjamin Gaussorgues d79d85ddd2 Undeprecate getTerm
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-15 17:00:18 +01:00
Simon L c2658bf913 Merge pull request #37959 from nextcloud/ob-proc 2023-11-15 16:47:59 +01:00
Louis 8ec90e16b3 Merge pull request #41497 from nextcloud/artonge/deps/bump/nextcloud_dialogs/v5.0.1
Bump @nextcloud/dialogs to v5.0.1
2023-11-15 16:35:43 +01:00
Benjamin Gaussorgues 82c164dabe Change person type separator
`/` isn't allowed in UID, it will avoid conflicts

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-15 16:34:56 +01:00
Christoph Wurst 45541eb685 feat(dav): Enable OOO UI and expose enabled via OCP
Makes the feature opt-out now that we have meaningful integrations based
on OOO data. Allows instances still to turn the feature off.

For apps like Mail that build on top of this feature we need to know if
the instance has the feature turned on or off. This is exposed as OCP
API, too.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-15 15:53:38 +01:00
Christoph Wurst ce6e3a3a01 Merge pull request #41495 from nextcloud/fix/ocp/register-availability-coordinator
fix(ocp): register IAvailabilityCoordinator service alias
2023-11-15 15:33:48 +01:00
Christoph Wurst 5cdbd10327 refactor(caldav): Use even earlier return and SQL's WHERE IN
* Early return can operate on the input array
* SQL can check be used to check for address book ID inclusion

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-15 14:48:55 +01:00
Louis Chemineau c249c56e70 Bump @nextcloud/dialogs to v5.0.1
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-15 14:11:19 +01:00
Benjamin Gaussorgues cb4e367a22 Merge pull request #40935 from nextcloud/local-case-insensitive
add some support for rename on case insensitive local filesystems
2023-11-15 13:58:44 +01:00
Richard Steinmetz 909b46bb53 fix(ocp): register IAvailabilityCoordinator service alias
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-15 13:32:36 +01:00
Grigorii K. Shartsev af0a876c27 Merge pull request #41439 from nextcloud/fix/41310-Create_possibility_to_open_an_app_details_via_keyboard
Add link for opening app details
2023-11-15 16:32:30 +05:00
julia.kirschenheuter 25d87033b1 Add link for opening app details
Add `alt` for `AppScore` image

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-15 10:50:10 +01:00
Ferdinand Thiessen bd483e7e89 Merge pull request #41473 from nextcloud/fix/41306-Sharing_tab_There_is_no_indicator_that_advanced_settings_are_open
Adapt "advanced settings" button for accordion button
2023-11-15 10:49:10 +01:00
Joas Schilling ff8d9d246b Merge pull request #40042 from joshtrichards/jr-occ-background-job-list-limit-100
(enh) Change `occ background-job:list` limit default 10->500
2023-11-15 10:28:19 +01:00
Benjamin Gaussorgues 33837e7d6f Fix invalid users/groups handling in advanced search
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-15 10:17:43 +01:00
julia.kirschenheuter 7c987f0577 Adapt "advanced settings" button for accordion button
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-15 09:08:55 +01:00
Julius Härtl 830d85bcf1 Merge pull request #41366 from ir0nhide/fix/multipart-copy-ssec 2023-11-15 08:24:06 +01:00
Nextcloud bot 04a4a777ad Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-15 00:31:47 +00:00
Git'Fellow e0cafc8fe8 Merge pull request #38622 from nextcloud/ifElseReturnMatch
Replace if/else with return match
2023-11-15 00:05:52 +01:00
Git'Fellow ef5f7d0a90 Us strpos() only
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-15 00:04:25 +01:00
Git'Fellow 53b84732a3 Check for open_basedir before reading /proc
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-15 00:04:25 +01:00
Arthur Schiwon db12c49c37 28.0.0 beta 4
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-14 23:55:51 +01:00
Arthur Schiwon 9e7fc23bd0 Merge pull request #41379 from nextcloud/release/28.0.0_beta_3
28.0.0 beta 3
2023-11-14 22:24:01 +01:00
F. E Noel Nfebe 230b1e3cf6 Merge pull request #41384 from nextcloud/41381-global-search-follow-up
Enhancements : improve most recent global search UI
2023-11-14 22:14:26 +01:00
Arthur Schiwon 7791b4885b Merge pull request #41341 from nextcloud/fix/apporder-on-closures
fix: Allow to set app order on navigation entries added by closures
2023-11-14 21:45:37 +01:00
Arthur Schiwon d6af8c8c6e Merge pull request #41453 from nextcloud/enh/41450/improve-shared-status-button
Improve shared status button
2023-11-14 21:40:29 +01:00
Andy Scherzinger 7b5aef7dbe Merge pull request #41398 from nextcloud/fix/cypress-admin-theming
fix(cypress): Adjust admin theming tests for new `@nextcloud/vue` release
2023-11-14 21:28:35 +01:00
Tobias Zimmerer cdf96fab92 fix(s3): support SSE-C headers for the MultipartCopy call
Signed-off-by: Tobias Zimmerer <3228193+ir0nhide@users.noreply.github.com>
2023-11-14 21:19:59 +01:00
fenn-cs 987ac1e9c3 Check in-app search availability
Only show in-app serach button if available for specific app
 in question.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-14 20:07:42 +00:00
Jonas af4287d8a3 Update core/Command/Background/ListCommand.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Jonas <jonas@freesources.org>
2023-11-14 21:04:27 +01:00
Jonas 490f5cc4ec fix(Background): Bump default limit for listing background jobs to 500
Signed-off-by: Jonas <jonas@freesources.org>
2023-11-14 21:04:27 +01:00
Jonas 9fbe68ab36 fix(Background): Show comment about limit at end and conditionally
* Only print the comment when job list is truncated
* Show the comment at the end so users actually see it
* Format the comment as comment

Signed-off-by: Jonas <jonas@freesources.org>
2023-11-14 21:04:27 +01:00
Jonas deb4bb8d4e Update core/Command/Background/ListCommand.php
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Jonas <jonas@freesources.org>
2023-11-14 21:04:27 +01:00
Josh Richards bb75dab93a (enh) Change occ background-job:list limit default 10->100
The default limit of 10 seems too conservative. Nearly all environments >100 and most <10. At the same time, this higher default limit still remains reasonable to avoid problems in really big environments.

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-11-14 21:04:27 +01:00
Marco c2c5994d70 Improve shared status button
Signed-off-by: Marco <marcoambrosini@icloud.com>
2023-11-14 20:51:53 +01:00
Arthur Schiwon 138ce5303a Merge pull request #41457 from nextcloud/feat/contacts/advanced-search
feat(search): allow contacts person search
2023-11-14 20:47:00 +01:00
fenn-cs 04f2a19375 Improve no content feedback
Show some feedback when there are no search results.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-14 20:26:58 +01:00
fenn-cs 5a4cc8c98a Global search : Fix basic functional issues
- Fixes remove person filter/chip when applied
- Close person searchable filter via workaround
- Person filter has no effect fixed, now uses user property instead of id
- Left align filters
- Reduce avatar size in user chip and make photo non-clickable

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-14 20:26:58 +01:00
Ferdinand Thiessen 927e7fcf67 fix(AppManager): Ensure that app manager can handle empty app keys on the navigation entries
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:04:48 +01:00
Côme Chilliet 54a3012a11 Fix apporder when an application has several menu items
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-14 20:04:48 +01:00
Ferdinand Thiessen aeffcec38e chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:04:46 +01:00
Ferdinand Thiessen 0254b68a1a fix(theming): Adjust app order settings for backend changes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:03:28 +01:00
Ferdinand Thiessen 8d0c7cc5fa fix: Allow to set custom app order on navigation entries added by closures to NavigationManager
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:03:28 +01:00
Ferdinand Thiessen 8bd9858345 fix(NavigationManager): Set default app in add function to allow entries added as closures
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:03:28 +01:00
Ferdinand Thiessen 84acc49932 fix(NavigationManager): Check for appManager before using it
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:03:28 +01:00
Ferdinand Thiessen 43a0016989 fix(INavigationManager): Add psalm typing for add parameter
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:03:28 +01:00
Ferdinand Thiessen 4303895565 fix(cypress): Adjust admin theming tests for new @nextcloud/vue release
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:01:32 +01:00
Arthur Schiwon 5c041122e8 Merge pull request #41472 from nextcloud/fix/update-vue-components
chore: Update `@nextcloud/vue`
2023-11-14 19:41:46 +01:00
Ferdinand Thiessen 0227678724 Merge pull request #41387 from nextcloud/fix/cypress-app-store
fix(cypress): Do not install calendar app from app store for testing
2023-11-14 19:33:23 +01:00
Ferdinand Thiessen d45ff35eb2 chore: Update @nextcloud/vue
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 18:34:31 +01:00
hamza221 26ee5a531b feat(search): allow contacts person search
Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-14 18:29:42 +01:00
Benjamin Gaussorgues e90df6421a Merge pull request #41432 from nextcloud/fix/white-user-icon-search
Fix search providers icons
2023-11-14 18:09:32 +01:00
Benjamin Gaussorgues 79d1e40894 Add missing icons for settings providers
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-14 17:51:22 +01:00
Benjamin Gaussorgues 86a44514bd Fix user search provider icon
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-14 17:51:21 +01:00
Andy Scherzinger 93ea634de6 Merge pull request #41390 from nextcloud/enh/noid/limit-proppatch-metadata
Metadata must be set a editable for PROPPATCH
2023-11-14 17:17:17 +01:00
Christoph Wurst 8b5d85a953 Merge pull request #41340 from nextcloud/feat/caldav/ooo-event
feat(caldav): Create personal event for out-of-office messages
2023-11-14 15:53:02 +01:00
Maxence Lange 847c687a06 metadata must be set as editable for PROPPATCH
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-14 14:38:53 +01:00
Arthur Schiwon 281ac50869 Merge pull request #41442 from nextcloud/fix/noid/no-join-before-migration
ignore metadata if migration to 28 is not done
2023-11-14 14:37:05 +01:00
Julius Härtl a2770e0f9d Merge pull request #41455 from nextcloud/fix/f2vue_folder_overlay_icon 2023-11-14 14:05:47 +01:00
Christoph Wurst 5b7a5474b9 feat(caldav): Create personal event for out-of-office messages
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-14 13:57:12 +01:00
nextcloud-command 3281955aa0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-14 12:45:04 +00:00
Jonas 28deb6cb45 fix(files): Use color-primary-element-text for files/folders overlay icons
Signed-off-by: Jonas <jonas@freesources.org>
2023-11-14 12:41:27 +01:00
Maxence Lange 761a688ec9 fix psalm
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-14 10:11:24 -01:00
Maxence Lange 3af12b2a50 ignore metadata if table is empty
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-14 09:28:58 -01:00
Arthur Schiwon f313b12d54 Merge pull request #41436 from nextcloud/feat/introduce-inAppSearch-method-for-advanced-search
Add `inAppSearch` for advanced search providers
2023-11-14 11:13:48 +01:00
Arthur Schiwon 5f69640006 Merge pull request #41446 from nextcloud/fix/noid/moving-metadataquery
moving IMetadataQuery
2023-11-14 11:11:06 +01:00
Côme Chilliet 70acf44a45 Merge pull request #41086 from nextcloud/feat/migrate-memory-limit-setup-check
Migrate memory_limit check to new SetupCheck API
2023-11-14 10:50:31 +01:00
Joas Schilling be76f0d088 Merge pull request #41447 from nextcloud/bugfix/noid/dont-spam-users-with-reminders
fix(backupcodes): Remove old notifications before creating a new remi…
2023-11-14 10:41:45 +01:00
Benjamin Gaussorgues 174b76fff3 Add new method inAppSearch for advanced search providers
Allows to indicates if a search provider also support in app search

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-14 09:58:20 +01:00
Benjamin Gaussorgues bb82119a63 Merge pull request #41413 from nextcloud/fix/setting-app-order
Fix apps search provider order
2023-11-14 09:47:37 +01:00
Tobias Kaminsky 0e406d9d8b Merge pull request #41443 from nextcloud/fix/f2vue_collectives_folder_icon
fix(files): Show Collectives icon in Collectives folders
2023-11-14 09:44:55 +01:00
nextcloud-command effea5338a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-14 08:15:19 +00:00
Joas Schilling d1f3ab030b fix(backupcodes): Remove old notifications before creating a new reminder
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-14 08:49:17 +01:00
Jonas ee5c444e9c fix(files): Show Collectives icon in Collectives folders
Signed-off-by: Jonas <jonas@freesources.org>
2023-11-14 08:40:44 +01:00
Nextcloud bot 6284009fa0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-14 00:25:51 +00:00
Maxence Lange 380b81315a moving metadataquery
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-13 22:25:37 -01:00
Julius Härtl 32a485cbef Merge pull request #41444 from nextcloud/bugfix/41421 2023-11-14 00:13:29 +01:00
nextcloud-command 1433f4533d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-13 22:45:33 +00:00
Julius Härtl d7ae387713 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-13 23:41:21 +01:00
Louis 311b8ffbdf Merge pull request #41426 from nextcloud/artonge/fix/live_photo_overlay
Use background to increase overlay contrast
2023-11-13 22:40:53 +01:00
Daniel Kesselberg 475dd60354 fix: use png as preview right away
The initial office preview implementation converted an office document with LibreOffice to PDF, used ImageMagick to extract the first page as JPEG, and passed it OC_Image.

https://github.com/nextcloud/server/pull/10198 changed the implementation to use PNG rather than PDF. OC_Image can use a PNG as a preview right away, so the ImageMagick step is unnecessary.

The registration code was updated to not ask ImageMagick if PDF is supported, as PDFs are no longer used to create office document previews.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-13 22:00:45 +01:00
Daniel Kesselberg b5241d5220 feat: allow multiple libreoffice invocations
LibreOffice only allows one invocation per user profile.[^1]

The office provider set the user profile to /tmp/owncloud-instanceid and therefore only one invocation per instance is allowed. This was introduced a while ago, yet it's unclear if this was intentionally or just a side effect.[^2]

The limitation on one invocation leads to the situation that the preview generation only works for a couple of files if you upload a whole folder of emf or word files.

This commit removes the limitation by using a new user profile for each preview. That's done by using instance id plus file id as postfix for getTemporaryFolder.

This has some drawbacks:

- Overload protection: If you upload 100 emf files, you may end up with 100 LibreOffice invocations. Though, you can use preview_concurrency_new to limit the number of previews that can be generated concurrently when php-sysvsem is available.
- New profile: I assume it takes a few bits to generate a fresh LibreOffice user profile. It appears that there is no way to ask LibreOffice to not create a profile and just work with the defaults. The profile will be cleaned after use by our temp manager.
- Remove the configuration option preview_office_cl_parameters:  This is not strictly necessary yet, but if you set the configuration option, the generated path for the user profile is also missing. The configuration option is not well documented (e.g., it's unclear that the last option needs to be --outdir) and actually, there should be no reason to change it after all.

[^1]: https://wiki.documentfoundation.org/UserProfile
[^2]: https://github.com/owncloud/core/pull/9784

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-13 21:46:31 +01:00
Louis Chemineau 835c6f8627 Use background to increase overlay contrast
And limit it to files

Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-13 19:10:42 +01:00
Julius Härtl 96eb00a861 Merge pull request #41416 from nextcloud/bugfix/preview-reset 2023-11-13 18:57:54 +01:00
Christoph Wurst 88fda7d1f4 Merge pull request #41401 from nextcloud/3rdparty-sabre-minor
chore: update sabre/vobject and sabre/event to latest minor
2023-11-13 18:29:40 +01:00
F. E Noel Nfebe 3e0f5eaa91 Merge pull request #41405 from nextcloud/bugfix/close-participants-filter-after-click
Close participants filter after click
2023-11-13 18:08:37 +01:00
nextcloud-command 7e94f782c1 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-13 16:00:37 +00:00
Benjamin Gaussorgues 8be988b645 Fix application search provider order
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-13 16:38:49 +01:00
Côme Chilliet fe8b5d47ae Migrate Bruteforce Throttle check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-13 16:26:59 +01:00
Côme Chilliet 7495236034 Migrate memory_limit check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-13 15:55:46 +01:00
Julius Härtl 0d2e9a1b0a fix: Only reset preview src if it used to fail before
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-13 15:55:46 +01:00
Joas Schilling eaaf954753 Merge pull request #41417 from nextcloud/fix/noid/use-andWhere-not-where
fix(workflowengine): use andWhere() not second where()
2023-11-13 14:56:24 +01:00
Arthur Schiwon 93505b2cdd 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:47:47 +01:00
Benjamin Gaussorgues 0f694bec82 Merge pull request #41412 from nextcloud/fix/default-icon-white
Fix default icon: should be white instead of black
2023-11-13 14:37:34 +01:00
Joas Schilling 073ec6d217 Merge pull request #41406 from nextcloud/bugfix/noid/log-exception-class-when-message-is-empty
fix(log): Log exception class when message is empty
2023-11-13 14:28:52 +01:00
Côme Chilliet 4882d40a0c Merge pull request #41415 from nextcloud/fix/fix-caldav-tests-8.3
Fix dynamic property in CalDav tests
2023-11-13 13:38:34 +01:00
Joas Schilling a5684ea3d2 fix(log): Log exception class when message is empty
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-13 12:45:35 +01:00
Daniel Kesselberg 170d3cf04b chore: update sabre/vobject and sabre/event to latest minor
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-13 12:44:22 +01:00
Côme Chilliet 546c024f6c Fix dynamic property in CalDav tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-13 12:40:44 +01:00
Daniel Kesselberg aa48a5f94f feat: add preview provider for emf files based on office
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-13 12:35:54 +01:00
Marco a8c1008c19 Merge branch 'master' into bugfix/close-participants-filter-after-click 2023-11-13 11:06:04 +00:00
Benjamin Gaussorgues 1e70f359bb Fix default icon: should be white instead of black
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-13 11:16:03 +01:00
Christoph Wurst c89016d5c3 Merge pull request #41407 from nextcloud/fix/userstatus/no-status-message-override-default-messages
fix(userstatus): Do not override message timestamp for default messages
2023-11-13 11:13:58 +01:00
Joas Schilling 476dcfdd6b Merge pull request #41404 from nextcloud/bugfix/noid/workflow-issue-on-appdata
fix(workflow): Fix "Call to a member function getUID() on null" with …
2023-11-13 11:02:24 +01:00
Joas Schilling 0feb55ee93 Merge pull request #41271 from nextcloud/enh/text-processing-iprovider2
enh(TextProcessing): Add two new provider interfaces
2023-11-13 10:49:14 +01:00
Marco 7799f6701a Close participants filter after click
Signed-off-by: Marco <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-13 09:20:20 +00:00
Christoph Wurst fc1dd985c8 fix(userstatus): Do not override message timestamp for default messages
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-13 09:53:28 +01:00
Joas Schilling 997a1c46fb fix(workflow): Fix "Call to a member function getUID() on null" with appdata
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-13 09:00:40 +01:00
Nextcloud bot 36d370b216 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-13 00:25:08 +00:00
Ferdinand Thiessen 694c7e0689 Merge pull request #41389 from nextcloud/dependabot/npm_and_yarn/vueuse/integrations-10.6.0
chore(deps): Bump @vueuse/integrations from 10.5.0 to 10.6.0
2023-11-12 15:12:52 +01:00
Ferdinand Thiessen e593c066a4 Merge pull request #41391 from nextcloud/dependabot/npm_and_yarn/regenerator-runtime-0.14.0
chore(deps): Bump regenerator-runtime from 0.13.11 to 0.14.0
2023-11-12 01:33:30 +01:00
Nextcloud bot d3776e0e00 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-12 00:24:19 +00:00
dependabot[bot] 96e0f0e5e0 chore(deps): Bump @vueuse/integrations from 10.5.0 to 10.6.0
Bumps [@vueuse/integrations](https://github.com/vueuse/vueuse/tree/HEAD/packages/integrations) from 10.5.0 to 10.6.0.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v10.6.0/packages/integrations)

---
updated-dependencies:
- dependency-name: "@vueuse/integrations"
  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-11-12 00:18:10 +00:00
dependabot[bot] 5cb9b3fe72 chore(deps): Bump regenerator-runtime from 0.13.11 to 0.14.0
Bumps [regenerator-runtime](https://github.com/facebook/regenerator) from 0.13.11 to 0.14.0.
- [Release notes](https://github.com/facebook/regenerator/releases)
- [Commits](https://github.com/facebook/regenerator/compare/regenerator-runtime@0.13.11...regenerator-runtime@0.14.0)

---
updated-dependencies:
- dependency-name: regenerator-runtime
  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-11-12 00:16:49 +00:00
Ferdinand Thiessen b2d999fd68 fix(cypress): Do not install calendar app from app store for testing but use locally provided test app
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-12 01:13:21 +01:00
Nextcloud bot 3ce31fc1bf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-11 00:22:14 +00:00
Christoph Wurst 7556021a91 Merge pull request #41374 from nextcloud/feat/search/search-event-attendees
feat(search): Seach for persons as event attendees and organizers
2023-11-10 20:33:00 +01:00
Christoph Wurst 9b8cb5c819 feat(search): Seach for persons as event attendees and organizers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-10 18:56:43 +01:00
Christoph Wurst 78d5ec463b Merge pull request #41318 from nextcloud/fix/session/empty-session-error-logging
fix(session): Do not log fresh/empty session as error
2023-11-10 18:55:39 +01:00
Andy Scherzinger 3261c728b4 Merge pull request #41385 from nextcloud/chore/update-twitter-to-x-in-personal-settings
Chore/update twitter to x in personal settings
2023-11-10 18:38:33 +01:00
nextcloud-command b523624d09 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-10 17:02:40 +00:00
George Calderon a047686282 Updated visible 'Twitter' name to 'X' in Personal info
Signed-off-by: George Calderon <gcald117@gmail.com>
2023-11-10 17:42:10 +01:00
George Calderon 4871f59c35 Updated visible 'Twitter' name to 'X' in Personal info
Signed-off-by: George Calderon <gcald117@gmail.com>
2023-11-10 17:42:10 +01:00
Andy Scherzinger 1d9c482e68 Merge pull request #41302 from zero0cool0/master
Lower log level about invalid session token
2023-11-10 16:41:01 +01:00
Arthur Schiwon 87e07bb762 28.0.0 beta 3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-10 14:06:28 +01:00
Arthur Schiwon 13b6e17180 Merge pull request #41314 from nextcloud/release/28.0.0_beta_2
28.0.0 beta 2
2023-11-10 13:22:28 +01:00
F. E Noel Nfebe 95e5642fa0 Merge pull request #40823 from nextcloud/39162-global-search-2.0
New UI for global search
2023-11-10 12:40:02 +01:00
nextcloud-command 4e7a0e9e03 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-10 11:00:52 +00:00
fenn-cs 360a372afc Use new SearchableList component for people filter
This commit migrates away from NcSelect which has a couple of
accesibility and display problems currently, hence a new component
`SearchableList` is now used.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-10 11:32:26 +01:00
Marco 8feacd0384 Create searchable list component
Signed-off-by: Marco <marcoambrosini@icloud.com>
2023-11-10 11:27:32 +01:00
fenn-cs 13d03f45a3 Add unified search toggle in config
The new global search UI is new and might be unstable, hence
we are giving users the option to use the old unified search UI, if
the encounter signficant bottlenecks.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-10 11:27:32 +01:00
fenn-cs 20b3338288 Feat: New UI global search
We are introducing a new search UI that providers a lot more space
for users via a large centralized modal and providers various filters
which can by applied by adding various chips on the UI.

For example, users can now filter their search or scope it by limiting the results
to specific apps, time period and people by apply the appropriate filters on the
new UI, previously filters where applied using text in the search box by prefixing
with `::`.

Resolves: #39162

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-10 11:27:32 +01:00
Marcel Klehr 2031fe17b4 fix: Make sure array starts at 0 after array filter
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-10 11:13:54 +01:00
Benjamin Gaussorgues fa761b51cc Merge pull request #40618 from nextcloud/feat/39162/advanced_search
Advanced search: backend allows multiples terms to search
2023-11-10 10:42:20 +01:00
Julius Härtl a66dbcdfc1 Merge pull request #41354 from nextcloud/bugfix/noid/chunking-v2-distributed-cache 2023-11-10 09:23:32 +01:00
Benjamin Gaussorgues ddb8b68b55 feat(carddav): Allow advanced search for contacts
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-10 09:21:16 +01:00
Benjamin Gaussorgues 3545a1c613 feat(caldav): Allow advanced search for events/tasks
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-10 09:21:16 +01:00
Benjamin Gaussorgues a75a93af8e feat(files): Allow advanced search for files
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-10 09:21:16 +01:00
Benjamin Gaussorgues f3181a3931 chore: update openapi.json
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-10 09:21:16 +01:00
Benjamin Gaussorgues c753eefb21 feat(search): Allow multiple search terms in UnifiedController
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-10 09:21:16 +01:00
Nextcloud bot 9de8e8e224 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-10 00:24:16 +00:00
Louis 1fe951f002 Merge pull request #41308 from nextcloud/artonge/feat/live_photos
Customize rendering for live photos
2023-11-09 23:53:40 +01:00
Louis Chemineau dc00904ca0 Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-09 22:46:25 +01:00
Louis Chemineau b180ca9d47 Display play icon over live photos' previews
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-09 22:39:52 +01:00
Louis Chemineau 1c84139fa6 Hide .mov for live photos
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-09 22:39:52 +01:00
Joas Schilling 397c96967a Merge pull request #41365 from nextcloud/bugfix/noid/fix-emitted-events
fix(events): Make sure all `\OCP\Files::…` events are emitted with th…
2023-11-09 22:27:24 +01:00
Arthur Schiwon 743066a3d3 Merge pull request #41333 from nextcloud/fix/41316/incomplete-displayname
fix(LDAP): prevent incomplete displaynames…
2023-11-09 20:41:52 +01:00
Christoph Wurst 7248d9b091 Merge pull request #40615 from nextcloud/enh/automate-calendar-event-user-status
feat(user status): automate user status for events
2023-11-09 19:56:39 +01:00
Christoph Wurst 5183ba2a5b Merge pull request #40653 from nextcloud/feat/ooo-api
feat: Add out-of-office message API
2023-11-09 18:35:20 +01:00
Anna Larch f14a4f8fd7 feat(user status): automate user status for events
and automatically set a user status to free or busy depending on their calendar
transparency, event status and availability settings

Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-11-09 16:20:19 +01:00
Joas Schilling 1aa24c024e Merge pull request #41355 from nextcloud/chore/dependencies-stable
chore: Update nextcloud dependencies to stable version
2023-11-09 16:02:42 +01:00
Joas Schilling 67958915da fix(events): Make sure all \OCP\Files::… events are emitted with the same data
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-09 15:57:22 +01:00
Marcel Klehr 017f136059 fix: Don't try to access undefined array key
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-09 15:38:59 +01:00
Marcel Klehr 5704281276 fix: Update autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-09 15:34:22 +01:00
Ferdinand Thiessen 2df4afa398 fix(dav): Adjust snapshots for vue components update
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-09 15:05:40 +01:00
Ferdinand Thiessen b470d33fc7 chore: Update nextcloud dependencies to stable version
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-09 15:04:00 +01:00
Benjamin Gaussorgues a08281cc5d Merge pull request #39582 from nextcloud/simplify-ip-normalizer
Simplify IP address normalizer with IP masks
2023-11-09 14:26:33 +01:00
Marcel Klehr b45007f38f Merge branch 'master' into enh/text-processing-iprovider2 2023-11-09 13:46:18 +01:00
Ferdinand Thiessen 2606a566b2 Merge pull request #41339 from nextcloud/fix/40699-Availability_timepicker_improvements
Add two more translations for `CalendarAvailability`
2023-11-09 13:46:11 +01:00
Joas Schilling dbe921452b Merge pull request #41295 from nextcloud/fix/has-reserved-job
fix(JobList#hasReservedJob): Break tie when multiple jobs are reserved
2023-11-09 13:26:27 +01:00
julia.kirschenheuter 58913b6d13 Add two more translations for CalendarAvailability
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-09 11:11:58 +01:00
Ferdinand Thiessen cc0f8c1b14 Merge pull request #41348 from nextcloud/deps/update-calendar-availability-vue-to-v2.0.0
Update `calendar-availability-vue` to `^2.0.0`
2023-11-09 11:08:16 +01:00
Julius Härtl 0033ae52b8 fix: Validate that we have a proper distributed cache configured
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-09 11:08:11 +01:00
Christoph Wurst ab1a1d688d feat: Add out-of-office message API
[skipci]

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-09 10:36:11 +01:00
julia.kirschenheuter a8fdb88e75 Update calendar-availability-vue to ^2.0.0
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-09 09:48:34 +01:00
Arthur Schiwon 55d68bb9d1 Merge pull request #41349 from nextcloud/fix/oca-settings-api-user-actions
fix(settings): Pass user object to user row actions
2023-11-09 09:44:22 +01:00
Joas Schilling a12ce24589 Merge pull request #41351 from nextcloud/bugfix/noid/fix-filesmetadata-migration
fix(migration): Fix files metadata migration
2023-11-09 08:08:50 +01:00
Joas Schilling 960b95bb8e fix(migration): Fix files metadata migration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-09 06:59:42 +01:00
Nextcloud bot a79dbf3a31 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-09 00:25:53 +00:00
Christoph Wurst 734b11dc86 Merge pull request #41266 from nextcloud/feat/contactsmenu/user-status-sorting
feat(contactsmenu): Sort by user status
2023-11-08 22:21:18 +01:00
Robin Appelman b29bc59e8b Merge pull request #41119 from nextcloud/optmize-storage-wrappers
optimize builtin storage wrappers
2023-11-08 22:14:19 +01:00
Ferdinand Thiessen 8038206a1f chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-08 21:55:40 +01:00
Christoph Wurst 71080a8d20 feat(contactsmenu): Sort by user status
If user_status is not enabled, fall back to sorting by contact name.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-08 21:53:35 +01:00
Ferdinand Thiessen a106b7b7be fix(settings): Pass user object to user row actions
This is required as otherwise the action has no information on which user it was called

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-08 21:49:26 +01:00
Robin Appelman 1acc7c0468 Merge pull request #41054 from nextcloud/systemtag-children
get children from dav node when preloading system tags
2023-11-08 18:00:41 +01:00
Louis 77c9550353 Merge pull request #40964 from nextcloud/artonge/feat/metadata/port_providers
Support dynamic metadata request on PROPFIND requests
2023-11-08 17:58:20 +01:00
Robin Appelman f4fa2fb93c optimize isShared and isMounted
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-08 17:34:58 +01:00
Marcel Klehr a29ed70c6c Update lib/public/TextProcessing/IProviderWithUserId.php
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 17:01:10 +01:00
Marcel Klehr 6fbf430fe3 Update lib/private/TextProcessing/Manager.php
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 17:01:02 +01:00
Marcel Klehr 12c558f20a Update lib/private/TextProcessing/Manager.php
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 17:00:48 +01:00
Marcel Klehr 1471849956 fix: Extend docblock of hasReservedJob
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 16:37:51 +01:00
Christoph Wurst d751baee36 Merge pull request #40799 from nextcloud/fix/login-csrf-check-error-message
fix: Show error message when CSRF check fails at login
2023-11-08 16:33:53 +01:00
Louis Chemineau d3a313f192 Support getting and setting metadata in DAV requests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-08 16:23:53 +01:00
Robin Appelman 79088ea15f Merge pull request #40996 from nextcloud/view-share-disable-reuse
reuse sharing disabled state when listing folder content
2023-11-08 15:52:35 +01:00
Robin Appelman 4a049c2094 get children from dav node when preloading system tags
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-08 15:33:32 +01:00
Robin Appelman dec880b285 optimize builtin storage wrappers
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-08 15:26:10 +01:00
Christoph Wurst a5422a3998 fix: Show error message when CSRF check fails at login
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-08 15:18:34 +01:00
Benjamin Gaussorgues f04035caa0 Simplify IP address normalizer with IP masks
Remove dead code

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-08 11:55:07 +01:00
Marcel Klehr 8c0c426538 Merge branch 'master' into enh/text-processing-iprovider2
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 11:52:47 +01:00
John Molakvoæ 9285fe04ff Merge pull request #41331 from nextcloud/fix/files/overwrite-header 2023-11-08 09:26:23 +01:00
John Molakvoæ f434483248 fix(files): add missing Overwrite: F header in renaming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 09:11:40 +01:00
John Molakvoæ 069eb070a9 Merge pull request #41010 from nextcloud/feat/nested-actins 2023-11-08 08:53:16 +01:00
John Molakvoæ 32c1aebaae fix(cypress): formatFileSize change revert from files library
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 08:40:27 +01:00
John Molakvoæ 50417bcee8 chore(jest): update snapshot after component update
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 08:39:14 +01:00
John Molakvoæ cf6c921376 chore(files_reminders): upgrade to 28 APIs
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 08:39:01 +01:00
John Molakvoæ 72ffd4999a feat(files): support nested actions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 08:39:01 +01:00
Christoph Wurst 1d568a89a4 Merge pull request #40767 from nextcloud/feat/dav/absence
feat(dav): implement personal absence settings
2023-11-08 05:51:29 +01:00
Ferdinand Thiessen e8cc216b69 Merge pull request #41328 from nextcloud/fix/41326-Contrast_between_focused_and_unfocused_state_on_different_types_of_input_fields_is_not_enough
Fix styles for input field and textarea on focus, hover and active state
2023-11-08 02:55:42 +01:00
Nextcloud bot ab7830972e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-08 00:32:32 +00:00
Christoph Wurst 2aa8e9d32a Merge pull request #38995 from fsamapoor/refactor_lib_private_systemtag
Refactors lib/private/SystemTag
2023-11-07 21:10:38 +01:00
Arthur Schiwon d978050666 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-07 21:02:31 +01:00
Christoph Wurst 2e24e70d94 Merge pull request #39109 from fsamapoor/refactor_lib_private_metadata_migration_net
Refactors /Metadata, /Migration, and /Net namespaces in /lib/private/
2023-11-07 20:47:39 +01:00
Pytal 2769b99bcf Merge pull request #41329 from nextcloud/fix/files-copy-file
fix(files): Do not encode the path twice (and do not use undefined method)
2023-11-07 10:00:31 -08:00
Ferdinand Thiessen a41a5cafef Merge pull request #41303 from nextcloud/chore/migrate-apps-cypress
chore(cypress): Migrate apps acceptance tests to Cypress
2023-11-07 18:21:57 +01:00
Maxence Lange d9c24f6c7b Merge pull request #40761 from nextcloud/enh/noid/files-metadata
IFilesMetadata
2023-11-07 15:55:24 -01:00
Richard Steinmetz 425e770c04 feat(dav): implement personal absence settings
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-07 17:27:10 +01:00
Côme Chilliet 3e6642ab0b Merge pull request #41311 from nextcloud/fix/improve-setup-checks-api
Improve setup checks API
2023-11-07 16:51:57 +01:00
Ferdinand Thiessen e79e0bdf4d fix(files): Do not encode the path twice (and do not use undefined method)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-07 16:49:10 +01:00
Marcel Klehr b8862bd14e fix coding style
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-07 16:29:15 +01:00
julia.kirschenheuter dea02d2c32 Fix styles for input field and textarea on focus, hover and active state
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-07 16:23:56 +01:00
Maxence Lange 3631536261 IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 13:06:13 -01:00
Maxence Lange f497d8b6e5 IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 12:43:08 -01:00
Simon L b49400cc18 Merge pull request #41298 from nextcloud/enh/noid/fix-sharing-description 2023-11-07 14:40:14 +01:00
Ferdinand Thiessen 84d2a9b3d0 Merge pull request #41134 from nextcloud/feat/migrate-more-setup-checks
Migrate checks to new SetupCheck API
2023-11-07 14:21:47 +01:00
Côme Chilliet 86290dd888 Add missing dots in PhpModules setup check descriptions
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 14:15:47 +01:00
Côme Chilliet 39d2970191 Add $name property in SetupResult and improve API
Keys for check results are not locale dependent anymore, the name of the
 setup check is instead stored in the setup result object.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 14:15:47 +01:00
nextcloud-command 14b5e56ca3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-07 11:53:59 +00:00
Simon L d4830051c5 Merge pull request #41294 from nextcloud/supVerIssTemp 2023-11-07 12:49:13 +01:00
Côme Chilliet 00d3856b92 Revert "Migrate code integrity to SetupCheck API"
This reverts commit aa2d315d95d37b48752d0e92d0ce79913be1d4f1.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:04 +01:00
Côme Chilliet 0fd5ed9854 Migrate 32bit check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +01:00
Côme Chilliet ac3da13b38 Migrate Freetype check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +01:00
Côme Chilliet 086d3ceecc Migrate code integrity to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +01:00
Côme Chilliet 147b29fca2 Migrate Randomness secure check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +01:00
Côme Chilliet ddd13a90d8 Migrate memcache check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:02 +01:00
Simon L 3a9d0324b3 display inline title always
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-07 12:17:42 +01:00
Simon L 9d0cefd71d fix description of sharing toggle
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-07 12:17:42 +01:00
Côme Chilliet 6911dc30e6 Migrated both file locking checks to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:03 +01:00
Côme Chilliet f9770b8ef2 Remove duplicate fileinfo PHP module check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:03 +01:00
Côme Chilliet 3c75075eba Migrate database transaction level check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:03 +01:00
Côme Chilliet 5957a2bf6b Migrate email test to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:02 +01:00
Côme Chilliet 506f3961ec Remove duplicated ReadOnlyConfig setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:02 +01:00
Côme Chilliet dec52f6979 Migrate getenv test to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:02 +01:00
Simon L 402ef78df7 Revert "display inline title always"
This reverts commit 9ea30dcab6.
2023-11-07 12:07:16 +01:00
Simon L 9ea30dcab6 display inline title always
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-07 12:07:03 +01:00
Marcel Klehr 17e7b6c711 fix: split IProvider2 into two more verbose interfaces
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-07 12:02:03 +01:00
Julia Kirschenheuter 71f1e419e2 Merge pull request #41270 from nextcloud/fix/41267-Contrast_of_focused_Search_and_Search_contacts_is_not_enough
Fix styles for input fields on focus state
2023-11-07 10:03:39 +01:00
Côme Chilliet 273f628c3d Merge pull request #41083 from nextcloud/feat/improve-setup-checks-wording
Improve setup checks naming and improve database version check
2023-11-07 10:02:30 +01:00
Christoph Wurst 63069b6492 fix(session): Do not log fresh/empty session as error
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-07 09:13:48 +01:00
Joas Schilling bcc4d7d042 Merge pull request #41214 from nextcloud/bugfix/noid/make-install-verbose
fix(install): Make installing more verbose
2023-11-07 08:39:42 +01:00
Joas Schilling a77af05a31 Merge pull request #41175 from nextcloud/feat/noid/openapi-scopes
Add OpenAPI attribute to allow multiple scopes
2023-11-07 08:39:04 +01:00
Faraz Samapoor cbc47a9890 Refactors Metadata, Migration, and Net.
In lib/private namespace to improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-11-07 09:43:40 +03:30
Faraz Samapoor a988754e3d Refactors lib/private/SystemTag.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-11-07 09:41:33 +03:30
Maxence Lange e62e9e3dbf IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 00:21:38 -01:00
Nextcloud bot d4393174fc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-07 00:32:15 +00:00
Ferdinand Thiessen d056bd5d32 Merge pull request #41301 from nextcloud/fix/files_sharing--translations
fix(files_sharing): fix sharing tab translations
2023-11-07 00:46:55 +01:00
Andy Scherzinger 4f48433a6f Merge pull request #40809 from SYK-08/patch-1
Update README.md
2023-11-06 22:17:17 +01:00
Andy Scherzinger 2005ebd4de Update README.md
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-11-06 22:16:24 +01:00
Anna 08d414bc6e Merge pull request #40876 from nextcloud/fix/dont-send-imip-emails-to-rooms-resources 2023-11-06 21:52:38 +01:00
Arthur Schiwon c2d4fbba9c 28.0.0 beta 2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-06 21:36:47 +01:00
Anna Larch a75173a9a2 fix(scheduling): don't send iMIP emails to rooms / resources
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-11-06 21:01:18 +01:00
Grigorii K. Shartsev eb9257bc17 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-06 18:42:22 +01:00
Grigorii K. Shartsev aee73c060b fix(files_sharing): permissions translation
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-06 18:40:21 +01:00
Pytal 045e1528bd Merge pull request #41251 from nextcloud/fix/profile-active
fix: Only highlight profile entry when viewing own profile
2023-11-06 09:25:16 -08:00
Julia Kirschenheuter 9d5d0cbb95 Merge branch 'master' into fix/41267-Contrast_of_focused_Search_and_Search_contacts_is_not_enough 2023-11-06 17:29:45 +01:00
Côme Chilliet f412c8d8c9 Merge pull request #41081 from nextcloud/feat/add-occ-command-for-setupchecks
Add a command to run the setup checks from CLI
2023-11-06 17:27:27 +01:00
julia.kirschenheuter 7f5f93268c Fix styles for input fields on focus state
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-06 17:24:54 +01:00
Ferdinand Thiessen 4154ba343b Merge pull request #41285 from nextcloud/fix/id-timezone
fix(dav): Add ID / label to timezone picker in availablility settings
2023-11-06 16:14:55 +01:00
Côme Chilliet 3cdb059dcf Use no style for info to make it different from warning
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:28:51 +01:00
Côme Chilliet 2aab6bd209 Fix icon for errors to be consistent with the others
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:26:16 +01:00
Côme Chilliet 802da2b801 Add an emoji for warnings as well
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:26:16 +01:00
Côme Chilliet a1a7774374 Use constants for SUCCESS/FAILURE and show errors even on quiet level
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:26:16 +01:00
Côme Chilliet b5eeaa90d7 Add a command to run the setup checks from CLI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:26:16 +01:00
Ferdinand Thiessen 3d63be2af4 fix(tests): Adjust test snapshots for changes dependencies
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-06 15:16:19 +01:00
Ferdinand Thiessen 7f0ff4092c chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-06 15:16:19 +01:00
Ferdinand Thiessen 755f18eeca fix(dav): Make timezone picker label a real label element
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-06 15:16:19 +01:00
Ferdinand Thiessen 5f7af3fbb5 chore(deps): Update @nextcloud/vue
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-06 15:16:19 +01:00
Ferdinand Thiessen 54c934b910 chore(cypress): Migrate apps acceptance tests to Cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-06 15:07:43 +01:00
Marcel Klehr fecf6425cf fix: psalm issues and coding style
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-06 14:53:20 +01:00
Marcel Klehr b01e0c31fb enh: update openapi.json
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-06 14:52:59 +01:00
Patrick Fischer b2103556b5 Lower log level about invalid session token 2023-11-06 14:51:13 +01:00
Marcel Klehr 1476a7216a fix(TextProcessing/ migration): add check whether new column exists already
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-06 12:57:57 +01:00
Marcel Klehr 26a659dc2c fix(TextProcessing/Manager): add canuseProvider check in getPreferredProviders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-06 12:54:58 +01:00
Ferdinand Thiessen 81a9e19ace Merge pull request #41190 from nextcloud/chore/migrate-header-cypress
chore(cypress): Migrate header contacts menu tests from Behat to Cypress
2023-11-06 12:51:12 +01:00
Marcel Klehr d11b9cbd79 fix(TextProcessing/Manager): Throw TaskFailureException upon failure
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-06 12:50:16 +01:00
Marcel Klehr cbd304c8f0 fix(JobList#hasReservedJob): Break tie when multiple jobs are reserved
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-06 10:47:40 +01:00
Git'Fellow 12c5c126e6 Update supported versions on issue template
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-06 10:34:16 +01:00
Julien Veyssier f12a881ba5 Merge pull request #41078 from nextcloud/update/openapi-extractor
Update openapi extractor
2023-11-06 10:15:16 +01:00
Julien Veyssier 5c0e4b701f Merge branch 'master' into update/openapi-extractor 2023-11-06 10:14:51 +01:00
Louis 40c8e587b2 Merge pull request #41173 from nextcloud/deleteGhostVersion
fix: Delete ghost versions of non-existing files
2023-11-06 09:50:14 +01:00
Kate 738faf4135 Merge pull request #41059 from nextcloud/fix/theming/capabilities
fix(theming): Correctly expose user and admin theming
2023-11-06 09:20:13 +01:00
Nextcloud bot 727baa225d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-06 00:29:16 +00:00
Ferdinand Thiessen 9cabaaee8e chore(cypress): Migrate header contacts menu tests from Behat to Cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-05 20:17:00 +01:00
Ferdinand Thiessen b989596726 Merge pull request #41276 from nextcloud/dependabot/npm_and_yarn/marked-9.1.5
chore(deps): Bump marked from 9.0.3 to 9.1.5
2023-11-05 05:19:59 +01:00
Ferdinand Thiessen bf8076d803 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-05 04:01:44 +01:00
dependabot[bot] d742aba9dd chore(deps): Bump marked from 9.0.3 to 9.1.5
Bumps [marked](https://github.com/markedjs/marked) from 9.0.3 to 9.1.5.
- [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/v9.0.3...v9.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-05 03:42:58 +01:00
dependabot[bot] c51214378f Merge pull request #41277 from nextcloud/dependabot/npm_and_yarn/nextcloud/moment-1.2.2 2023-11-05 00:52:35 +00:00
Nextcloud bot 5595650326 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-05 00:28:25 +00:00
Ferdinand Thiessen eac1179111 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-05 01:02:07 +01:00
dependabot[bot] 57fdf32a01 chore(deps): Bump @nextcloud/moment from 1.2.1 to 1.2.2
Bumps [@nextcloud/moment](https://github.com/nextcloud/nextcloud-moment) from 1.2.1 to 1.2.2.
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-moment/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-moment/compare/v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: "@nextcloud/moment"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-05 00:58:08 +01:00
Ferdinand Thiessen 6b65c814be Merge pull request #41279 from nextcloud/dependabot/npm_and_yarn/nextcloud/upload-1.0.0-beta.19
chore(deps): Bump @nextcloud/upload from 1.0.0-beta.18 to 1.0.0-beta.19
2023-11-05 00:10:27 +01:00
Ferdinand Thiessen d4727af11c chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-04 22:45:56 +01:00
dependabot[bot] 55c99e7df6 chore(deps): Bump @nextcloud/upload from 1.0.0-beta.18 to 1.0.0-beta.19
Bumps [@nextcloud/upload](https://github.com/skjnldsv/nextcloud-upload) from 1.0.0-beta.18 to 1.0.0-beta.19.
- [Release notes](https://github.com/skjnldsv/nextcloud-upload/releases)
- [Commits](https://github.com/skjnldsv/nextcloud-upload/compare/v1.0.0-beta.18...v1.0.0-beta.19)

---
updated-dependencies:
- dependency-name: "@nextcloud/upload"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-04 22:37:51 +01:00
dependabot[bot] 7068fe948c Merge pull request #41275 from nextcloud/dependabot/npm_and_yarn/focus-trap-7.5.4 2023-11-04 21:33:49 +00:00
Ferdinand Thiessen 36b76223d8 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-04 21:48:35 +01:00
dependabot[bot] 7b33e19a4c chore(deps): Bump focus-trap from 7.5.2 to 7.5.4
Bumps [focus-trap](https://github.com/focus-trap/focus-trap) from 7.5.2 to 7.5.4.
- [Release notes](https://github.com/focus-trap/focus-trap/releases)
- [Changelog](https://github.com/focus-trap/focus-trap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/focus-trap/focus-trap/compare/v7.5.2...v7.5.4)

---
updated-dependencies:
- dependency-name: focus-trap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-04 21:46:07 +01:00
Ferdinand Thiessen a7e9044a12 Merge pull request #41282 from nextcloud/dependabot/npm_and_yarn/pinia-2.1.7
chore(deps): Bump pinia from 2.1.6 to 2.1.7
2023-11-04 21:45:37 +01:00
Ferdinand Thiessen 7ffed69d82 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-04 20:46:37 +01:00
dependabot[bot] 5041cb9c9c chore(deps): Bump pinia from 2.1.6 to 2.1.7
Bumps [pinia](https://github.com/vuejs/pinia) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/pinia@2.1.6...pinia@2.1.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-04 20:43:34 +01:00
dependabot[bot] b2189b2265 Merge pull request #41281 from nextcloud/dependabot/npm_and_yarn/vue-and-vue-template-compiler-2.7.15 2023-11-04 19:42:29 +00:00
Ferdinand Thiessen e864b49a77 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-04 18:57:54 +01:00
dependabot[bot] 695e18f863 chore(deps): Bump vue and vue-template-compiler
Bumps [vue](https://github.com/vuejs/core) and [vue-template-compiler](https://github.com/vuejs/vue). These dependencies needed to be updated together.

Updates `vue` from 2.7.14 to 2.7.15
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/commits)

Updates `vue-template-compiler` from 2.7.14 to 2.7.15
- [Release notes](https://github.com/vuejs/vue/releases)
- [Changelog](https://github.com/vuejs/vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue/compare/v2.7.14...v2.7.15)

---
updated-dependencies:
- dependency-name: vue
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: vue-template-compiler
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-04 12:10:12 +01:00
Ferdinand Thiessen c081437dc9 Merge pull request #41283 from nextcloud/dependabot/github_actions/cypress-io/github-action-6.6.0
chore(deps): Bump cypress-io/github-action from 6.5.0 to 6.6.0
2023-11-04 12:09:45 +01:00
dependabot[bot] 7289aa89fb Merge pull request #41280 from nextcloud/dependabot/npm_and_yarn/cypress-13.4.0 2023-11-04 03:41:20 +00:00
dependabot[bot] f85b62f933 chore(deps): Bump cypress-io/github-action from 6.5.0 to 6.6.0
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 6.5.0 to 6.6.0.
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/github-action/compare/59810ebfa5a5ac6fcfdcfdf036d1cd4d083a88f2...ebe8b24c4428922d0f793a5c4c96853a633180e3)

---
updated-dependencies:
- dependency-name: cypress-io/github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-04 02:46:16 +00:00
dependabot[bot] e190d086c9 chore(deps-dev): Bump cypress from 13.3.0 to 13.4.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.3.0 to 13.4.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/v13.3.0...v13.4.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-11-04 02:17:35 +00:00
Nextcloud bot 33e1db616d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-04 00:29:23 +00:00
Arthur Schiwon 333ab4de68 Merge pull request #40995 from nextcloud/cache-jail-optimizations
optimize cache jail creation
2023-11-03 17:03:09 +01:00
Simon L 86e9fcab21 Merge pull request #41263 from nextcloud/enh/noid/fix-semaphore-guarding 2023-11-03 16:46:45 +01:00
Marcel Klehr 181f819e41 enh(TextProcessing): Add IProvider2
- allow providers to obtain current task's userId
- allow providers to expose average task runtime

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-03 16:22:54 +01:00
Simon L fbd8f76e42 Merge pull request #41256 from nextcloud/enh/40689/add-foto-description-2
add descriptions for background pictures
2023-11-03 16:06:33 +01:00
Joas Schilling 6f39d82031 fix(install): Make installing more verbose
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-03 15:44:46 +01:00
Simon L b681cf735a address review
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-03 15:27:17 +01:00
Simon L bb6c241760 add descriptions for background pictures
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-03 14:23:39 +00:00
Christoph Wurst 50de7553b5 Merge pull request #41211 from nextcloud/fix/text-to-image
fix(TextToImage): Consistently use the right method to get the preferred providers
2023-11-03 13:11:07 +01:00
Christoph Wurst b038dbe0ae Merge pull request #41265 from nextcloud/feat/dependencyinjection/optional-services
feat(dependencyinjection): Allow optional (nullable) services
2023-11-03 12:52:17 +01:00
Christoph Wurst 78842348b2 feat(dependencyinjection): Allow optional (nullable) services
Allows working with classes that might or might not be available.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-03 11:53:43 +01:00
Simon L 531f5d1e4f fix semaphore guarding
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-03 11:47:12 +01:00
jld3103 e69e201af8 fix(theming): Correctly expose user and admin theming
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-03 09:36:08 +01:00
Joas Schilling ffc1bb774b feat(openapi): Add OpenAPI attribute to allow multiple scopes and overwriting tags
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-03 09:25:11 +01:00
Ferdinand Thiessen ba93afbddd Merge pull request #41250 from nextcloud/chore/cypress-timeout
fix(cypress): Add timeout for waiting on Nextcloud server
2023-11-03 03:07:44 +01:00
Ferdinand Thiessen cdfa566304 fix(cypress): Add timeout for waiting on Nextcloud server
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-03 01:27:21 +01:00
Nextcloud bot 4e2b4b82d5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-03 00:26:36 +00:00
Christopher Ng 7f530d22e1 fix: Only highlight profile entry when viewing own profile
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-02 15:43:56 -07:00
Ferdinand Thiessen 321ac318c3 Merge pull request #40597 from nextcloud/fix/public-footer-empty-not-shown
fix(theming): Make sure the footer is hidden if no content is rendered
2023-11-02 17:49:57 +01:00
Ferdinand Thiessen 84421f4c7c Merge pull request #41137 from nextcloud/chore/migrate-access-level-cypress
chore(cypress): Migrate access-level tests from Behat to Cypress
2023-11-02 17:44:52 +01:00
Arthur Schiwon 81d2828e90 Merge pull request #41246 from nextcloud/fix/noid/rm_files_rightclick
fix(upgrade): files_rightclick is deprecated
2023-11-02 16:29:42 +01:00
Arthur Schiwon 60681fb824 fix(upgrade): files_rightclick is deprecated
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-02 16:04:18 +01:00
Arthur Schiwon 7da24e3f11 Merge pull request #41228 from nextcloud/automated/releases/28.0.0beta1
chore: 28.0.0 beta 1
2023-11-02 15:36:14 +01:00
Ferdinand Thiessen f62032e5c2 chore: Compile CSS assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-02 14:57:46 +01:00
Christoph Wurst 9e564088da Merge pull request #40665 from nextcloud/fix/dav/caldav-backend-memory-footprint
fix(dav): Reduce CalDAV backend memory footprint
2023-11-02 14:55:58 +01:00
Ferdinand Thiessen 32ac5e7af8 fix(theming): Make sure the footer is hidden if not content is rendered
Previously the footer was empty, but the backdrop was still shown.
This hides the footer if no text content was defined.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-02 14:55:34 +01:00
Joas Schilling c0c2362a3d Merge pull request #41218 from nextcloud/techdebt/noid/add-autocomplete-filter-event
feat(events): Add typed event for filtering autocompletion sugges…
2023-11-02 14:33:19 +01:00
Marcel Klehr ee76cc512c fix(TextToImage): Always set completionExpectedAt in run/schedule methods
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-02 12:07:10 +01:00
jld3103 0f43eeb953 chore: Regenerate openapi.json
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-02 11:37:15 +01:00
jld3103 755de1e0b5 refactor: Rename OpenAPI type aliases to their namespaces
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-02 11:37:15 +01:00
jld3103 99fa7f77ef fix: Remove routes with missing controller methods
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-02 11:37:15 +01:00
jld3103 5a74f4ac39 fix(build): Use --no-pager for OpenAPI diff
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-02 11:37:15 +01:00
jld3103 68abe17e76 fix(deps): Update openapi-extractor
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-02 11:37:15 +01:00
Christoph Wurst 91b31bfb15 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-02 11:12:34 +01:00
Christoph Wurst b2c0cd9e26 Merge pull request #40859 from nextcloud/fix/session/log-why-session-renewal-failed
fix(session): Log why session renewal failed
2023-11-02 11:09:00 +01:00
Joas Schilling 2b8114d59d feat(events): Add typed event for filtering autocompletion suggestions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-02 11:08:53 +01:00
Christoph Wurst d779092564 Merge pull request #38425 from nextcloud/feat/ocp/strict-igroup
feat(ocp): Add types and strict typing to \OCP\Group\IGroup
2023-11-02 11:07:12 +01:00
Christoph Wurst 7c661895c3 Merge pull request #40899 from nextcloud/refactor/unify-running-dev-server
refactor: Unify running a dev server (for automated testing)
2023-11-02 10:47:36 +01:00
Christoph Wurst 0da4c14cdf refactor: Unify running a dev server (for automated testing)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-02 09:59:06 +01:00
Git'Fellow 82f23fbfe1 Merge pull request #41230 from nextcloud/indexFix
fix: add index on migration only if needed
2023-11-02 02:02:27 +01:00
Nextcloud bot 58c9831229 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-02 00:24:42 +00:00
Git'Fellow b46879db4b Merge pull request #40819 from nextcloud/imaginaryGuzzleErrors
Catch Imaginary processing errors
2023-11-01 17:55:04 +01:00
Git'Fellow a075c85eef Return only if changed
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 17:17:44 +01:00
Git'Fellow 91c92f533e fix: add index on migration only if needed
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 17:12:45 +01:00
Git'Fellow d1169af129 Use \Throwable instead
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 16:55:19 +01:00
Git'Fellow 624986a6d5 Catch Imaginary processing errors
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 16:55:19 +01:00
Ferdinand Thiessen 489624bb3a Merge pull request #40733 from nextcloud/enh/noid/puppeteer-skip-download
ci: skip puppeteer chrome download
2023-11-01 15:11:31 +01:00
Daniel Kesselberg 67a761b7b2 ci: skip puppeteer chrome download
As per https://github.com/puppeteer/puppeteer#installation

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-01 14:11:21 +01:00
dependabot[bot] 12e3f740c9 Merge pull request #40911 from nextcloud/dependabot/npm_and_yarn/tar-6.2.0 2023-11-01 12:55:46 +00:00
dependabot[bot] 7c05dddf4c chore(deps-dev): Bump tar from 6.1.15 to 6.2.0
Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.15 to 6.2.0.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.1.15...v6.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 13:27:14 +01:00
Git'Fellow 3bedfdf6ff Replace if/else with return match
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 10:33:42 +01:00
John Molakvoæ 5d05da0f8d Merge pull request #40909 from nextcloud/dependabot/npm_and_yarn/babel/preset-typescript-7.23.2 2023-11-01 10:07:27 +01:00
Christoph Wurst adc9f64f8d Merge pull request #40852 from nextcloud/feat/contactsmenu/user-status
feat(contactsmenu): Show user status
2023-11-01 09:40:41 +01:00
John Molakvoæ 33cc3abba2 chore: 28.0.0 beta 1
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-01 09:28:45 +01:00
Nextcloud bot 0398d74ebd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-01 00:28:44 +00:00
Ferdinand Thiessen 16e97f05ce Merge pull request #41199 from nextcloud/fix/apporder-accessible-details
fix(theming): Add accessible information to app order settings
2023-10-31 22:11:03 +01:00
Ferdinand Thiessen 0219bfa6b5 fix(tests): Make app order Cypress tests more robust
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-31 21:56:13 +01:00
Ferdinand Thiessen f0ff184a38 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-31 21:56:13 +01:00
Ferdinand Thiessen 716164c285 fix(theming): Add accessible information for screen readers to the app order selector
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-31 21:56:13 +01:00
Christoph Wurst ac168cf9ff feat(contactsmenu): Show user status
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-31 11:52:46 -07:00
Pytal b4e707059d Merge pull request #41207 from nextcloud/fix/a11y/contacts-menu-actions
fix(a11y): Increase contrast of contacts menu actions
2023-10-31 10:53:48 -07:00
Benjamin Gaussorgues c52d5e418a Merge pull request #41053 from nextcloud/bug/smb/in-place-case-rename
fix(files_external): on case insensitive system, block case change
2023-10-31 16:07:29 +01:00
Joas Schilling 48bfbf84ee Merge pull request #41111 from nextcloud/dav/classification-index
add index for classification
2023-10-31 13:56:50 +01:00
John Molakvoæ 43270c64ed Merge pull request #40494 from nextcloud/setup-script 2023-10-31 11:03:25 +01:00
Akhil 439de119c7 add index for classification
Signed-off-by: Akhil <akhil@e.email>
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-10-31 10:41:32 +01:00
Marcel Klehr 9a494407ee fix(TextToImage): Consistently use the right method to get the preferred providers
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-31 10:27:29 +01:00
Robin Appelman 1fffa3eae0 load script and styles on setup page
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-31 10:03:09 +01:00
Nextcloud bot 16bfe0cc65 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-31 00:26:17 +00:00
Christopher Ng 4dbef5b214 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-30 17:10:28 -07:00
Christopher Ng 5dd61b54e6 fix(a11y): Increase contrast of contacts menu actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-30 17:10:28 -07:00
Ferdinand Thiessen 1215379e0f Merge pull request #41197 from nextcloud/fix/keep-focus-on-app-order
fix(theming): Ensure focus is kept on the button when reordering
2023-10-30 19:04:32 +01:00
Joas Schilling ee9cad79f6 Merge pull request #41200 from nextcloud/ci/noid/fix-video-verification
Talk now uses the "main" branch
2023-10-30 18:36:46 +01:00
Joas Schilling 75ba5480cb Talk now uses the "main" branch
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-30 17:15:27 +01:00
Ferdinand Thiessen 7bb2aec7a6 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-30 16:33:15 +01:00
Ferdinand Thiessen 3e31022840 fix(theming): App order selector should keep the focus on click
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-30 16:33:15 +01:00
Julius Härtl 51eb44dbfe Merge pull request #40898 from Murena-SAS/dev/custom-apps-assets 2023-10-30 16:18:30 +01:00
Ferdinand Thiessen 57569951df Merge pull request #41166 from nextcloud/dependabot/npm_and_yarn/p-queue-7.4.1
chore(deps): bump p-queue from 7.3.4 to 7.4.1
2023-10-30 14:52:53 +01:00
Joas Schilling 9f8912184d Merge pull request #41193 from nextcloud/ci/noid/reduce-ci-waste
ci: Turn off builds for pushes and merges to master/stable* and cancel parallel executions
2023-10-30 14:29:02 +01:00
Joas Schilling f72ec9e246 Merge pull request #41177 from nextcloud/fix/noid/reset-bfp-on-sudo-action
Reset BFP for sudo action
2023-10-30 14:27:36 +01:00
Joas Schilling 6cf88256f2 ci: Only run note-tests once per day on branches
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-30 12:49:32 +01:00
Christoph Wurst d0db4d6ecf Merge pull request #41051 from nextcloud/feat/dav/absence-db
feat(dav): implement personal absence settings backend
2023-10-30 12:27:25 +01:00
dependabot[bot] 0449fe8779 chore(deps): bump p-queue from 7.3.4 to 7.4.1
Bumps [p-queue](https://github.com/sindresorhus/p-queue) from 7.3.4 to 7.4.1.
- [Release notes](https://github.com/sindresorhus/p-queue/releases)
- [Commits](https://github.com/sindresorhus/p-queue/compare/v7.3.4...v7.4.1)

---
updated-dependencies:
- dependency-name: p-queue
  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-10-30 11:23:13 +00:00
Joas Schilling 27a4ad4b5a ci: Turn off builds for pushes and merges to master/stable*
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-30 12:12:59 +01:00
Joas Schilling 6def538154 ci: Specify concurrency to help with consecutive pushes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-30 11:47:47 +01:00
Ferdinand Thiessen 0299955074 Merge pull request #41163 from nextcloud/dependabot/npm_and_yarn/testing-library/jest-dom-6.1.4
chore(deps-dev): bump @testing-library/jest-dom from 5.17.0 to 6.1.4
2023-10-30 11:01:09 +01:00
Ferdinand Thiessen 623adbaef2 Merge pull request #41164 from nextcloud/dependabot/npm_and_yarn/puppeteer-21.4.1
chore(deps-dev): bump puppeteer from 21.0.3 to 21.4.1
2023-10-30 11:00:19 +01:00
Ferdinand Thiessen 80cbbe70e7 Merge pull request #41168 from nextcloud/dependabot/github_actions/actions/setup-node-4.0.0
chore(deps): bump actions/setup-node from 3.8.1 to 4.0.0
2023-10-30 10:57:32 +01:00
dependabot[bot] 17bbed485a chore(deps): bump actions/setup-node from 3.8.1 to 4.0.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.8.1 to 4.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d...8f152de45cc393bb48ce5d89d36b731f54556e65)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 10:57:03 +01:00
Ferdinand Thiessen ce3f213fcd Merge pull request #41169 from nextcloud/dependabot/github_actions/actions/checkout-4.1.1
chore(deps): bump actions/checkout from 3.6.0 to 4.1.1
2023-10-30 10:52:45 +01:00
Nextcloud bot 600351c4cf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-30 00:26:19 +00:00
Ferdinand Thiessen 8e2824ea24 chore(tests): Migrate duplicated menu settings tests (access levels) to Cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-30 01:05:25 +01:00
Ferdinand Thiessen a7c88519f7 chore(cypress): Move clearState from user utils to shared common utils
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-29 23:36:58 +01:00
Ferdinand Thiessen bfc8b0bc15 chore(cypress): Migrate access-level tests from Behat to Cypress as this are UI tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-29 23:36:58 +01:00
Nextcloud bot fe471da316 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-29 00:25:29 +00:00
Richard Steinmetz 45ed9b10d5 feat(dav): implement personal absence settings backend
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-10-29 00:08:44 +02:00
Marcel Müller c2393fb712 Reset BFP for sudo action
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-10-28 18:36:43 +02:00
Git'Fellow ffeef99abc fix: Delete ghost versions of non-existing files
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-10-28 14:47:19 +02:00
dependabot[bot] d56b1c28ba Merge pull request #41165 from nextcloud/dependabot/npm_and_yarn/jest-environment-jsdom-29.7.0 2023-10-28 04:31:13 +00:00
dependabot[bot] 15ecb1ae9d chore(deps): bump actions/checkout from 3.6.0 to 4.1.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.6.0...b4ffde65f46336ab88eb53be808477a3936bae11)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 02:20:16 +00:00
dependabot[bot] 261517cf4b chore(deps-dev): bump jest-environment-jsdom from 29.6.2 to 29.7.0
Bumps [jest-environment-jsdom](https://github.com/jestjs/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.6.2 to 29.7.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.7.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-10-28 01:33:24 +00:00
dependabot[bot] 6f5e2ccbf9 chore(deps-dev): bump puppeteer from 21.0.3 to 21.4.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 21.0.3 to 21.4.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v21.0.3...puppeteer-v21.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 01:32:56 +00:00
dependabot[bot] 24dbdbfe0f chore(deps-dev): bump @testing-library/jest-dom from 5.17.0 to 6.1.4
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.17.0 to 6.1.4.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.17.0...v6.1.4)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 01:32:23 +00:00
Nextcloud bot 0aa65d9714 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-28 00:28:21 +00:00
Ferdinand Thiessen 32eaf57e01 Merge pull request #40773 from nextcloud/fix/contrast-maxcontrast-vs-hover
fix(theming): Ensure all text colors have enough contrast for accessibility
2023-10-27 16:12:29 +02:00
Joas Schilling 66f7639690 Merge pull request #40986 from nextcloud/fix/only-run-ci-that-is-needed
fix(tests): Only run tests on CI that are needed
2023-10-27 13:52:24 +02:00
Ferdinand Thiessen cbefae7fd9 fix(tests): Only run tests on CI that are needed
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 13:50:04 +02:00
Ferdinand Thiessen 5665838ef4 Merge pull request #41101 from JL102/handlebars
#37978: Remove duplicate dependency
2023-10-27 13:42:38 +02:00
Julia Kirschenheuter 7727d12971 Merge pull request #41142 from nextcloud/fix/40869-Create_right_table_for_the_OAuth_2.0_clients
Create semantically right table for the "OAuth 2.0 clients"
2023-10-27 13:36:20 +02:00
Ferdinand Thiessen 3378a73e99 fix(theming): Make changes on primary color less invasiv
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:56:23 +02:00
Ferdinand Thiessen 3676295f7b fix(theming): Ensure all text colors have enough contrast for accessibility
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:56:23 +02:00
Ferdinand Thiessen be129a7d1f fix(theming): Make it clearer that color-text-light and -lighter are deprecated
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:56:23 +02:00
Ferdinand Thiessen ec1ae4505b tests: Add accessibility tests for CSS color variables
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:56:21 +02:00
Ferdinand Thiessen 1c4787af84 fix(theming): Ensure that maxcontrast text has always a contrast of 4.5:1 even on hover
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:54:14 +02:00
julia.kirschenheuter fbc970855f Create semantically right table for the "OAuth 2.0 clients"
Adapt styles

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-27 09:55:45 +02:00
John Molakvoæ ee1480cefc Merge pull request #41148 from nextcloud/dependabot/npm_and_yarn/browserify-sign-4.2.2 2023-10-27 09:22:13 +02:00
dependabot[bot] 745db03d9e chore(deps): bump browserify-sign from 4.2.1 to 4.2.2
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md)
- [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: browserify-sign
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 07:21:37 +00:00
Joas Schilling 5f269f091c Merge pull request #41135 from nextcloud/fix/cypress-ci
fix(cypress): Also clone 3rdparty submodule to keep in sync for cypress tests
2023-10-27 09:19:57 +02:00
Git'Fellow 60e0322365 Merge pull request #39743 from nextcloud/fixNullArray
fix: Don't try to access null array
2023-10-27 08:07:42 +02:00
Nextcloud bot 01bb3efe23 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-27 00:27:40 +00:00
Pytal f3bfa4de66 Merge pull request #41122 from nextcloud/enh/a11y/separate-profile-entry
enh(a11y): Separate profile and user status user menu entries
2023-10-26 16:57:28 -07:00
Joas Schilling 23e5fe9a51 Merge pull request #41140 from nextcloud/chore/codecov-ignore-project-state
chore(codecov): Do not run project status check
2023-10-26 19:44:26 +02:00
Christopher Ng fc43c28305 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Christopher Ng ce5e290d58 fix(tests): Test profile entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Christopher Ng 439a6fbbdc fix: Settings nav entries typing
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Christopher Ng 3b402559ac enh(a11y): Add separate profile entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Christopher Ng 4c8256c15b fix: Remove profile from UserStatus component
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Christopher Ng d899e676de fix: Set profile as active nav entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Christopher Ng 407b67989d enh: Register profile nav entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Côme Chilliet d0ed5ea2f3 Merge pull request #40889 from nextcloud/feat/check-for-more-php-modules
Check for more php modules
2023-10-26 19:13:28 +02:00
Ferdinand Thiessen 9c031c6ad5 chore(codecov): Do not run project status check
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-26 17:05:40 +02:00
Côme Chilliet 4249871817 Add links to documentation for PHP modules
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-26 16:16:39 +02:00
Ferdinand Thiessen f3470cf0af fix(cypress): Also clone 3rdparty submodule to keep in sync for cypress tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-26 16:09:21 +02:00
Ferdinand Thiessen 082fa64939 Merge pull request #41117 from callmemagnus/bugfix/grant__js-error
fix(login): Fix JS error on login grant page
2023-10-26 16:05:08 +02:00
Ferdinand Thiessen 7cc3291f07 Merge pull request #41115 from nextcloud/fix/cypress-admin-theming
fix(cypress): Fix linter errors on Cypress chains and refactor `wait-until` checker functions
2023-10-26 16:04:28 +02:00
Joas Schilling 2b7f78fc2e Merge pull request #40326 from nextcloud/enh/text-to-image-api
Implement TextToImage OCP API
2023-10-26 15:53:30 +02:00
Joas Schilling e98be0a147 Merge pull request #41133 from nextcloud/bugfix/noid/dont-duplicate-notification-warning
Don't duplicate notification warning
2023-10-26 13:55:04 +02:00
Marcel Klehr cef069e8f2 fix(TextToImage): Update autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 13:31:01 +02:00
Magnus Anderssen 57dae366ca fix(grant): remove JS error on Grant page
Closes #41098

Signed-off-by: Magnus Anderssen <magnus@magooweb.com>
2023-10-26 12:19:07 +02:00
Simon L 4c8232f04c Merge pull request #41120 from nextcloud/imaginaryInvalidStream 2023-10-26 11:59:37 +02:00
Marcel Klehr 1823a8ebf3 Update lib/public/TextToImage/IProvider.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:49:02 +02:00
Marcel Klehr 9658d9c126 Update lib/public/TextToImage/IManager.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:44:24 +02:00
Marcel Klehr b9985bfd66 fix(TextToImage): Add missing task status update
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:41:21 +02:00
Marcel Klehr 35bf7fc94e fix(TextToImage): Fix copypasta
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:39:40 +02:00
Marcel Klehr 154bb53538 Update core/Controller/TextToImageApiController.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:35:55 +02:00
Marcel Klehr 4e625f6635 fix(TextToImage): Update testing provider to new interface
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:31:17 +02:00
Marcel Klehr 14d1c18665 en(TextToImage): Add getId method to IProvider
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:26:47 +02:00
Marcel Klehr 47e13cd55b en(TextToImage): Use specific exception class instead of generic RuntimeException
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:16:15 +02:00
Joas Schilling db8e57a727 Don't duplicate notification warning
Ref https://github.com/nextcloud/notifications/pull/1699

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-26 09:46:28 +02:00
Joas Schilling 18be57cb35 Merge pull request #41123 from nextcloud/bugfix/noid/get-storage-before-updating
fix(external): Get storage before update it
2023-10-26 08:17:52 +02:00
Joas Schilling 4759e7a22d fix(external): Get storage before update it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-26 06:46:05 +02:00
Nextcloud bot 33c1aafc2e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-26 00:26:32 +00:00
Git'Fellow 974e86e618 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-25 21:58:46 +02:00
Julius Härtl 0753085e32 Merge pull request #41093 from nextcloud/fix-files-list-popper 2023-10-25 19:29:49 +02:00
nextcloud-command 43b12f877b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-25 15:48:46 +02:00
Varun Patil dbde3f6e5a fix(files): disable containment in header
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-25 15:48:46 +02:00
Ferdinand Thiessen 4e8c690dc7 fix(cypress): Fix linter errors on Cypress chains and refactor wait-until checker functions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-25 15:42:15 +02:00
Ferdinand Thiessen 107bafd864 Merge pull request #41108 from nextcloud/fix/40708-remove_tab_index_from_navigation_and_app_content
Remove unneeded `tabindex="0"` from sidebar and app content
2023-10-25 15:41:50 +02:00
JL102 cca218fc67 #37978: Remove duplicate dependency
I believe it's appropriate to include handlebars in dependencies rather than devDependencies,
because it's imported by multiple js files inside the core directory. However, handlebars-loader
is only referenced inside webpack.common.js, so I think it's ok to keep that one inside devDependencies.

Signed-off-by: JL102 <jordanlees@mailbox.org>
2023-10-25 14:25:29 +02:00
julia.kirschenheuter 62cfd195e4 Remove unneeded tabindex="0" from sidebar and app content
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-25 14:24:19 +02:00
Ferdinand Thiessen ed45e2600b Merge pull request #41110 from nextcloud/fix/login-cypress-test
fix(cypress): Fix selector for the user menu button
2023-10-25 14:23:49 +02:00
Ferdinand Thiessen e93ccca823 fix(cypress): Fix selector for the user menu button
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-25 12:15:18 +02:00
Ferdinand Thiessen 20b14ae7ac Merge pull request #41089 from nextcloud/fix/workflow-empty-content
fix(workflowengine): Add an empty content when no flows are installed or configured
2023-10-25 12:14:26 +02:00
Ferdinand Thiessen 421f60104c Merge pull request #41021 from nextcloud/fix/move-tests-from-drone-to-cypress
fix(tests): Move leftover acceptance tests for users from drone to Cypress
2023-10-25 12:12:12 +02:00
Ferdinand Thiessen 5b0c27b6da fix(settings): Stablize user list cypress tests
* Use common `data-testid` to identify elements rather than to depend on internal classes or properties
* Force clean the state for the user tests
* Move leftover acceptance tests for users from drone to cypress

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-25 11:36:24 +02:00
Julia Kirschenheuter 888473f5e2 Merge pull request #41080 from nextcloud/fix/40682-Add_more_visibility_on_background_buttons
Change styles on active, hover and focus state for background buttons
2023-10-25 10:14:35 +02:00
John Molakvoæ 4c7bd978e1 fix(build): phpDocumentor usage
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-25 08:33:38 +02:00
John Molakvoæ c1a7ee6e16 fix: use default php version
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-10-25 08:29:08 +02:00
Nextcloud bot bc7f0c3095 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-25 00:43:31 +00:00
Pytal 460954afd9 Merge pull request #41094 from nextcloud/fix/indirect-safe-dep
fix(dav): Remove usage of indirect thecodingmachine/safe dependency
2023-10-24 17:03:06 -07:00
Christoph Wurst 2e252476d8 Merge pull request #41046 from nextcloud/fix/recently-contacted-duplicates
Fix: duplicating contacts with the Recently contacted feature
2023-10-24 20:45:20 +02:00
Christopher Ng 5281623329 fix(dav): Remove usage of indirect thecodingmachine/safe dependency
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-24 11:25:42 -07:00
Louis c5d82409b4 Merge pull request #41062 from nextcloud/artonge/fix/return_fals_if_touch_fails
Return correct status if touch failed
2023-10-24 18:08:24 +02:00
Robin Appelman efe68d012c Merge pull request #39044 from nextcloud/more-empty-mount-checking
Fix root mounts not being setup in some cases
2023-10-24 16:54:05 +02:00
Ferdinand Thiessen 5b18099112 fix(workflowengine): Add an empty content when no flows are installed or configured
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-24 15:52:32 +02:00
Côme Chilliet d551a0d886 Adapt CheckSetupControllerTest to the migration to a setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-24 15:36:09 +02:00
Julia Kirschenheuter 970ac3d7eb Merge pull request #41068 from nextcloud/fix/37092/user-status--html-validation
fix(user_status): separate user menu and dashboard status layout for HTML validation
2023-10-24 15:35:33 +02:00
Ferdinand Thiessen 6753aaf33e Merge pull request #41035 from nextcloud/fix/37092/apps-list--html-validation
fix(settings): apps list html validation and loading icon
2023-10-24 14:06:03 +02:00
hamza221 6ab76917c9 Fix: duplicating contacts with the Recently contacted feature
Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
2023-10-24 13:03:59 +02:00
Joas Schilling 7a55ea7823 Merge pull request #41061 from nextcloud/bugfix/noid/dont-use-indirect-dependency
fix(3rdparty): Don't use indirect dependency "Safe/" for functions
2023-10-24 12:12:36 +02:00
Côme Chilliet 6b7d4b67d1 Improve setup checks naming and improve database version check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-24 11:40:03 +02:00
Grigorii K. Shartsev 7e94468662 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-24 11:10:39 +02:00
Grigorii K. Shartsev 230830b1e6 fix(settings): apps list loading classes
- fix setting loading classes
- also removes invalid HTML attributes, there is no such props in `NcContent`

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-24 11:07:04 +02:00
Grigorii K. Shartsev 668e35f155 fix(settings): apps list html validation
- Replace invalid `width="100%"` attribute
- Add empty required `alt`

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-24 11:07:04 +02:00
Grigorii K. Shartsev bec2d43fa7 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-24 11:00:22 +02:00
Grigorii K. Shartsev c834d98d34 fix(user_status): separate user menu and dashboard status layout
- Remove href="#" from a button for HTML validation
- Use @nextcloud/vue NcButton instead of custom button in Dashboard

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-24 10:57:17 +02:00
Simon L 122e799ff5 Merge pull request #41079 from nextcloud/bugfix/noid/allow-updating-from-27.1 2023-10-24 10:28:05 +02:00
julia.kirschenheuter 18751d0e52 Change styles on active, hover and focus state for background buttons
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-24 09:50:37 +02:00
Joas Schilling 7f9aec1e8c fix(update): Allow updating from 27.1 to 28
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-24 09:29:12 +02:00
Côme Chilliet 27995d1376 Add all required PHP extensions to the composer.json
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-24 09:17:25 +02:00
Ferdinand Thiessen 13a8a1793c Merge pull request #41033 from nextcloud/chore/migrate-login-feature
chore(tests): Migrate login acceptance tests from behat to Cypress
2023-10-24 04:18:33 +02:00
Pytal 450985fc74 Merge pull request #40938 from nextcloud/fix/a11y/change-scope-actions
fix(settings): Account property scope actions
2023-10-23 18:11:25 -07:00
Nextcloud bot d772537d90 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-24 00:25:42 +00:00
Christopher Ng 5a562a5b16 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:58:13 -07:00
Christopher Ng f0bb5e7e76 fix(settings): Styles for scope button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:53:30 -07:00
Christopher Ng a9fdc52f69 fix(settings): Name for scope button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:53:30 -07:00
Christopher Ng 18a2391cab fix(settings): Remove aria-label on scope actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:53:30 -07:00
Pytal 30cb1badb1 Merge pull request #41070 from nextcloud/deps/nextcloud/vue-8.0.0-beta.9
chore: Bump @nextcloud/vue to v8-beta.9
2023-10-23 15:47:37 -07:00
Christopher Ng 3b097f0658 fix(tests): Update dav snapshot
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:18:09 -07:00
Christopher Ng ac287269b7 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:18:07 -07:00
Christopher Ng 590daccca3 fix: Share select search globally icon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:14:49 -07:00
Christopher Ng 8c2a4e814a chore: Bump @nextcloud/vue to v8-beta.9
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:14:49 -07:00
Julius Härtl 45d7612423 Merge pull request #40482 from nextcloud/fix/workflowengine_fileaccess 2023-10-23 23:25:18 +02:00
Pytal 8a1546c703 Merge pull request #41064 from nextcloud/fix/40705-_increase_contrast_on_Device_and_Last_activity
Remove opacity on table header
2023-10-23 11:53:35 -07:00
Jonas 7441ce2b11 enh(IMountManager): Add method to get MountPoint from CachedMountInfo
Signed-off-by: Jonas <jonas@freesources.org>
2023-10-23 20:50:24 +02:00
Jonas 9193d8be40 fix(isLegitimatedForUserId): Setup mountpoints to check file access
This fixes workflows on groupfolders, as it will consider access to
files in groupfolders.

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

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

Fixes: nextcloud/flow_notifications#71

Signed-off-by: Jonas <jonas@freesources.org>
2023-10-23 20:47:16 +02:00
Julius Härtl f88c34b604 Merge pull request #40495 from nextcloud/fix/master-name-in-share-cache 2023-10-23 19:29:17 +02:00
Simon L 8bd1294550 Merge pull request #41063 from nextcloud/fix/37092/dashboard-html-validation 2023-10-23 18:43:01 +02:00
Simon L fe62fa76ff Merge pull request #40980 from nextcloud/fix/37092/remove-unnecessary-roles 2023-10-23 18:42:44 +02:00
Côme Chilliet 5245d2000a Merge pull request #41017 from nextcloud/fix/move-token-iprovider-to-ocp
Move IToken and IProvider::getToken to OCP
2023-10-23 18:01:52 +02:00
Ferdinand Thiessen d43c66e96a Merge pull request #41034 from nextcloud/fix/37092/users--html-validation
fix(settings): users page html validation
2023-10-23 17:16:43 +02:00
julia.kirschenheuter 521e66edc0 Remove opacity on table header
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-23 16:30:50 +02:00
Grigorii K. Shartsev 4ac06a8ccc chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-23 16:22:45 +02:00
Grigorii K. Shartsev 3b017ec3ff fix(dashboard): use span instead of div for icon to html
- div is not valid in h2
- div is not valid in label

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-23 16:20:47 +02:00
Ferdinand Thiessen 4c4e4ec991 chore(tests): Migrate login acceptance tests from behat to Cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-23 16:10:06 +02:00
Côme Chilliet d8b42c6131 Allow passing null to PublicKeyToken::setScope, fixes tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 15:52:07 +02:00
Louis Chemineau e66e8bad1a Return correct status if touch failed
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-10-23 15:26:43 +02:00
Joas Schilling 3a265cee30 fix(3rdparty): Don't use indirect dependency "Safe/" for functions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 15:25:14 +02:00
Côme Chilliet 33a24134a7 Improve docblock annotations for tokens and their exceptions
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 15:20:04 +02:00
Côme Chilliet 58a57a714e Use more precise typing for setScope method parameter
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 15:19:38 +02:00
Joas Schilling 834c9a209e Merge pull request #41055 from nextcloud/feat/noid/profile-manager-ocp
feat(profile): Add public interface for profile manager so apps can check config
2023-10-23 15:15:40 +02:00
Marcel Klehr 8339b5b128 fix: Minor copypasta
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 15:00:40 +02:00
Joas Schilling 06b35808a8 Merge pull request #41045 from nextcloud/fix/openapi/provisioning_api/quota-fields
fix(provisioning_api): Fix quota fields in OpenAPI
2023-10-23 13:54:11 +02:00
Marcel Klehr 0c1bd845a7 fix: appease linters and psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 13:23:28 +02:00
Marcel Klehr 4b8a58cc49 fix: appease linters and psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 13:16:37 +02:00
Joas Schilling fd9f7a7188 fix(profile): Directly migrate to OCP constants
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 12:56:31 +02:00
Joas Schilling 2353d3cd5c feat(profile): Add public interface for profile manager so apps can check config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 12:56:31 +02:00
Marcel Klehr 68bb4a066c fix(TextToImage\Migration): Fix typo
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 12:49:50 +02:00
Marcel Klehr 5f815bdcc6 fix(TextToImage\Db\Task): Inject ITimeFactory
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:50:03 +02:00
Côme Chilliet 7a6c4ecc25 Update autoloaders
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 11:47:48 +02:00
Marcel Klehr ded77292d5 Update lib/private/TextToImage/Db/TaskMapper.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:44:48 +02:00
Marcel Klehr f9d209cf15 Update lib/private/TextToImage/Db/TaskMapper.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:44:33 +02:00
Marcel Klehr 5d36c4c1d1 Update lib/private/TextToImage/Manager.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:43:35 +02:00
Marcel Klehr 91448888d1 Update lib/private/TextToImage/RemoveOldTasksBackgroundJob.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:43:09 +02:00
Marcel Klehr 1f090a3ad7 Update lib/public/TextToImage/Task.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:42:32 +02:00
Marcel Klehr 4624748937 Update lib/public/TextToImage/Task.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:42:03 +02:00
Côme Chilliet 1bdf952fde Make sure that OC interfaces returns OC interfaces for backward compatibility
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 11:08:23 +02:00
jld3103 d019392645 fix(provisioning_api): Fix quota fields in OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-10-23 10:33:37 +02:00
Benjamin Gaussorgues a45e12abc8 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-23 10:32:28 +02:00
Côme Chilliet b82e25ea7a Move Exceptions used in OCP to OCP
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 10:26:25 +02:00
Côme Chilliet 16b9373b82 Adapt baseline to filename change
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 10:18:13 +02:00
Côme Chilliet 356f0291a2 Align PublicKeyToken with interface changes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 09:41:32 +02:00
Côme Chilliet 61143644a4 Merge pull request #40933 from nextcloud/check-datemax-enforcement-pubshare
Check expiry enforcement for all share types
2023-10-23 09:32:27 +02:00
Joas Schilling 73a6061b53 Merge pull request #40966 from nextcloud/jr-security-policy-expansion
Add "no public GH Issues please" request, past advisories link, bounty mention, scope link to security.md
2023-10-23 07:19:15 +02:00
Nextcloud bot 1de151abd9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-23 00:26:23 +00:00
Ferdinand Thiessen 91e02fea0b Merge pull request #41039 from nextcloud/fix/run-cypress-always-parallel
feat(cypress): Always run cypress CI in parallel
2023-10-22 18:58:39 +02:00
fenn-cs 8dfcf2e02a Do not treat isDefaultExpireDateEnforced as fallback
`isDefaultExpireDateEnforced` and its corresponding `defaultExpirationDate`
is currently treated as the enforcement fallback when share type enforcements are not
set.

However, `isDefaultExpireDateEnforced` and `defaultExpirationDate` are actually more like
`isDefaultPublicExpireDateEnforced` and `defaultPublicExpirationDate` and therefore only applies
to public shares.

It might be ideal to rename this variables all the way from the backend config to the way we use
them in the frontend code.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-22 16:47:32 +00:00
fenn-cs 46308e96f3 Fix has expiration date logic
Current expiration date errorneously assumes that `defaultExpirationDate`
applies to all kinds of shares. But it only really applies to public shares despite
its name.

This commit, fixes that by paring expiration dates with the correct share types during
new share initialization and simplifying the `hasExpirationDate` (check) property.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-22 15:47:45 +01:00
fenn-cs 92417cd594 Check expiry enforcement for all share types
We should check that a maximum expiry date has been enforced for
all shares and NOT JUST FOR internal shares before enforcing a UI max date,
like in commit 9757e680e2

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-22 15:47:43 +01:00
Marcel Klehr 37419a9767 fix: Update openapi.json
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 13:11:40 +02:00
John Molakvoæ 4b70f19837 Merge pull request #41024 from nextcloud/fix/follow-up-app-order 2023-10-22 12:58:57 +02:00
Marcel Klehr 497559b246 fix(RemoveOldTasksBackgroundJob): Update after change to support multiple images in TextToImage
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:49:46 +02:00
Marcel Klehr 6007b1b760 fix(settings/AdminAI): Fix eslint
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:44:11 +02:00
Marcel Klehr bfc205fc73 fix(settings/AdminAI): Fix no-providers-installed view
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:39:24 +02:00
Marcel Klehr fa2fa47e6b fix(TextToImage/Manager): Appease psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:38:40 +02:00
Marcel Klehr 71a06b6bf8 fix(Folder): Allow filename to be '0'
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:22:30 +02:00
Marcel Klehr 6b6ac72fe6 fix(Text2Image): Fix FakeText2ImageProvider in testing app
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:21:48 +02:00
Marcel Klehr b1018597bc fix(Text2Image): Fix appdata folder creation
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:21:00 +02:00
Marcel Klehr 4055a90004 fix(Text2Image): Fix $completionExpectedAt default value
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:20:29 +02:00
Marcel Klehr 9787f9dba0 enh(Text2Image): Add AI settings section to text2image
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 11:10:24 +02:00
Ferdinand Thiessen 3c0b4173b1 Merge pull request #41032 from nextcloud/dependabot/npm_and_yarn/typescript-5.2.2
chore(deps-dev): Bump typescript from 5.1.6 to 5.2.2
2023-10-22 03:00:01 +02:00
Nextcloud bot b76ecf3781 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-22 00:28:37 +00:00
Ferdinand Thiessen 891097b42b Merge pull request #41019 from nextcloud/fix-files-vl-h
fix(files): correct item height
2023-10-22 01:19:17 +02:00
Varun Patil 4d578f37e6 fix(files): correct item height
1. grid: typo? The icon size is 160 - 44 + (44 / 2) = 138px
2. non-grid: border is already included in height because the tr
   is a border-box (made this explicit to be safe)

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-21 22:42:06 +00:00
Ferdinand Thiessen a65c08de7c Merge pull request #41029 from nextcloud/dependabot/npm_and_yarn/nextcloud/calendar-availability-vue-2.0.0-beta.3
chore(deps): Bump @nextcloud/calendar-availability-vue from 2.0.0-beta.2 to 2.0.0-beta.3
2023-10-22 00:30:28 +02:00
Ferdinand Thiessen 31b2b39186 Merge pull request #41028 from nextcloud/dependabot/npm_and_yarn/types/dockerode-3.3.21
chore(deps-dev): Bump @types/dockerode from 3.3.20 to 3.3.21
2023-10-22 00:28:45 +02:00
dependabot[bot] 5c07f4575c chore(deps): Bump @nextcloud/calendar-availability-vue
Bumps [@nextcloud/calendar-availability-vue](https://github.com/nextcloud/calendar-availability-vue) from 2.0.0-beta.2 to 2.0.0-beta.3.
- [Changelog](https://github.com/nextcloud/calendar-availability-vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/calendar-availability-vue/compare/v2.0.0-beta.2...v2.0.0-beta.3)

---
updated-dependencies:
- dependency-name: "@nextcloud/calendar-availability-vue"
  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-10-21 21:33:51 +00:00
Ferdinand Thiessen d2e7708b48 Merge pull request #41027 from nextcloud/dependabot/github_actions/actions/checkout-4.1.1
chore(deps): Bump actions/checkout from 4.1.0 to 4.1.1
2023-10-21 23:07:47 +02:00
Ferdinand Thiessen 114ee4c3a3 Merge pull request #41026 from nextcloud/dependabot/github_actions/peter-evans/create-or-update-comment-3.1.0
chore(deps): Bump peter-evans/create-or-update-comment from 3.0.2 to 3.1.0
2023-10-21 23:04:56 +02:00
Ferdinand Thiessen 6139c8caf3 Merge pull request #41030 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-cypress-2.15.1
chore(deps-dev): Bump eslint-plugin-cypress from 2.14.0 to 2.15.1
2023-10-21 23:03:10 +02:00
Ferdinand Thiessen 0b27fa94a6 Merge pull request #41036 from nextcloud/skjnldsv-patch-1
fix(l10n): invalid translation of a number
2023-10-21 22:59:45 +02:00
Ferdinand Thiessen 37d53d6b79 feat(cypress): Always run cypress CI in parallel (independent from cypress.io)
The server always exceeds the free Cypress.io time so there is no benefit using it
unless we go for the enterprise plan.
So this simply uses `cypress-split` to split the specs and run them in parallel CI workers (only e2e tests).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 18:42:08 +02:00
Grigorii K. Shartsev 8159cdb49f chore(assets): Re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 17:40:21 +02:00
Grigorii K. Shartsev befec8cb3c fix(core): remove unnecessary role=contentinfo from page footer on login
`<footer>` has this role initially then it is a page footer, not inside `section`/`article`, and etc.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 17:35:44 +02:00
Grigorii K. Shartsev 0e8abfd24c fix(core): remove unnecessary role=banner on top level header
By default, the HTML's `<header>` element has an identical meaning to the banner landmark,
unless it is a descendant of `<aside>`, `<article>`, `<main>`, `<nav>`, or `<section>`.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 17:35:44 +02:00
John Molakvoæ 3214324b72 fix(l10n): invalid translation of a number
fix https://github.com/nextcloud/server/issues/35252

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-10-21 11:48:46 +02:00
Grigorii K. Shartsev 1fbe58b0fb chore(assets): Re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 04:48:39 +02:00
Grigorii K. Shartsev d33ce8a8d5 fix(settings): label user quota progress with aria-labelledby
Labeling with `<label>` doesn't work in some screen readers.
`<label>` also doesn't work as a clickable link here.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 04:16:45 +02:00
Ferdinand Thiessen 18cb827d96 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 03:52:30 +02:00
Ferdinand Thiessen 615a6846da feat(theming): Allow to reset the user defined app order to the default value
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 03:52:25 +02:00
Ferdinand Thiessen 9697df1ea5 fix(theming): App order settings - ensure the focus is kept on button
When pressing a button for changing the app order that button should keep the focus after reordering the list.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 03:52:18 +02:00
Grigorii K. Shartsev 5249c3376e fix(settings): users page html validation
- Remove non-existing `button-class` from `NcAppNavigationNew`
- Type: use `input-id` instead of `id` on `NcSelect` to be labeled
- Encode uniqueId with user's ID, because user.id may contain space

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 03:49:01 +02:00
dependabot[bot] ed80b1351a chore(deps-dev): Bump typescript from 5.1.6 to 5.2.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.6 to 5.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.1.6...v5.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-21 01:21:33 +00:00
dependabot[bot] 1c1c119f97 chore(deps-dev): Bump eslint-plugin-cypress from 2.14.0 to 2.15.1
Bumps [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) from 2.14.0 to 2.15.1.
- [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases)
- [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v2.14.0...v2.15.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-21 01:20:31 +00:00
dependabot[bot] 3c284525b7 chore(deps-dev): Bump @types/dockerode from 3.3.20 to 3.3.21
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.20 to 3.3.21.
- [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-10-21 01:19:56 +00:00
dependabot[bot] 7e2bcef41c chore(deps): Bump actions/checkout from 4.1.0 to 4.1.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/8ade135a41bc03ea155e62e844d188df1ea18608...b4ffde65f46336ab88eb53be808477a3936bae11)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-21 01:10:17 +00:00
dependabot[bot] f4c4472f12 chore(deps): Bump peter-evans/create-or-update-comment
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/c6c9a1a66007646a28c153e2a8580a5bad27bcfa...23ff15729ef2fc348714a3bb66d2f655ca9066f2)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-21 01:10:13 +00:00
Nextcloud bot 5c2610af7d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-21 00:27:09 +00:00
Ferdinand Thiessen b0956b1a00 Merge pull request #40983 from nextcloud/fix/37092/personal-settings--html-validation
HTML Validation: Personal settings
2023-10-20 21:37:39 +02:00
Grigorii K. Shartsev 7c142c9aed chore(assets): Re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:34:41 +02:00
Grigorii K. Shartsev 641d52dae7 fix(settings): remove unused savePrimaryEmailScope on Personal Settings page
If was replaced with universal `savePrimaryAccountPropertyScope`.
`<HeaderBar>` has no `handle-scope-change` prop.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +02:00
Grigorii K. Shartsev d4c37d5c4c fix(settings): remove placeholder from select
There is no placeholder attribute on select element

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +02:00
Grigorii K. Shartsev 73e675d145 fix(settings): typo in avatar prop
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +02:00
Grigorii K. Shartsev f214a7e332 fix(settings): remove invalid avatar prop
There was a typo, it must have been disable-menu, not disableD-menu.
But it is not required, because the menu is disabled for the current user anyway.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +02:00
Grigorii K. Shartsev 9154367761 fix(settings): fix ids and aria-labels in personal emails
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:56 +02:00
Grigorii K. Shartsev 4a85113cac fix(settings): remove empty aria-describedby
Empty string `''` is still rendered and is not a valid ID.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:56 +02:00
Ferdinand Thiessen df74fb0123 Merge pull request #40993 from nextcloud/pulsejet/oc-cap-refactor
refactor: remove remaining usage of OC::getCapabilities
2023-10-20 20:29:57 +02:00
Ferdinand Thiessen 14bc7d3d00 Merge pull request #41018 from nextcloud/fix-files-list-header
fix(files): disable size containment on headers
2023-10-20 20:24:54 +02:00
nextcloud-command ba252e24a9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-20 18:05:04 +00:00
Varun Patil 08bd7848ea fix(files): disable size containment on headers
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-20 09:03:22 -07:00
Côme Chilliet f94fb33062 Move IToken and IProvider::getToken to OCP
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-20 17:51:33 +02:00
Ferdinand Thiessen 77cce714c9 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-20 16:23:27 +02:00
Varun Patil 9bd50a7296 refactor: remove remaining usage of OC::getCapabilities
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-20 16:19:43 +02:00
Ferdinand Thiessen 4828ac3521 Merge pull request #41008 from nextcloud/fix/36965-fix-trusted-server-input
Fix trusted server input field
2023-10-20 16:19:24 +02:00
Ferdinand Thiessen a6d137c9a7 Merge pull request #40994 from nextcloud/fix/37092/user-menu-validation
fix(user_menu): pass only actual prop to user menu entries
2023-10-20 16:17:30 +02:00
Josh Richards 0ded3ad2b2 Apply suggestions
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-10-20 09:03:59 -04:00
Robin Appelman 8418fcfedf add some support for rename on case insensitive local filesystems
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-20 15:03:11 +02:00
Marcel Klehr cee5aa84f0 fix(Text2Image): Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 14:56:24 +02:00
Marcel Klehr 9ee72633cf enh(Text2Image): Expose expected completion time
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:54:36 +02:00
Marcel Klehr 4c58edc1b7 fix(Text2Image): Fix psalm error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:53:32 +02:00
Marcel Klehr 73da7f20d3 fix(Text2Image): Add number_of_images to migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:53:06 +02:00
Marcel Klehr bc85acf7d0 fix(Text2Image): Fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:38:20 +02:00
Marcel Klehr 7b7f552a6e fix(Text2Image): Fix OpenAPI types
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:33:05 +02:00
Marcel Klehr 37c4ccc751 fix(Text2Image): Fix Task#lastUpdated initialization to use DateTime instead of time()
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:15:40 +02:00
Marcel Klehr 8ab47b64b5 enh(testing app): Add fake text2image provider
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:13:48 +02:00
Marcel Klehr b7fd5185b6 enh(TextToImage): Allow generating multiple images with one task
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:13:15 +02:00
julia.kirschenheuter 0af42db2c7 Fix trusted server input field
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-20 12:19:49 +02:00
Marcel Klehr 8968573d9f enh(TextToImage): Add getExpectedRuntime to IProvider and run tasks during request lifetime if possible
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 12:17:17 +02:00
John Molakvoæ e49353dee3 Merge pull request #40999 from nextcloud/files-list-will-change 2023-10-20 11:56:10 +02:00
Varun Patil 2db1eab7f9 fix(files): virtual list will-change value
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-20 10:49:11 +02:00
John Molakvoæ 93ee51b9a8 Merge pull request #41000 from nextcloud/fix/local-cypress-tests 2023-10-20 10:44:04 +02:00
Ferdinand Thiessen 8d907d8089 Merge pull request #40979 from nextcloud/fix/36965-fix-global-search
Fix placement of actions within unified search
2023-10-20 02:49:49 +02:00
Nextcloud bot 12dc49fbca Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-20 00:27:12 +00:00
Ferdinand Thiessen 8ac6fe8ba4 Merge pull request #40978 from nextcloud/fix/37092/replace-non-standard-autocorrect-with-spellcheck
HTML Validation: replace non standard `autocorrect` with `spellcheck`
2023-10-20 01:54:53 +02:00
Ferdinand Thiessen 06327be68e Merge pull request #40844 from nextcloud/feat/frontend-apporder-default-apps
feat: Allow to configure the app menu order in the frontend
2023-10-20 00:54:39 +02:00
Grigorii K. Shartsev 2d6cd78c32 fix: replace non-standard autocorrect with spellcheck attribute
`autocorrect` was actual for Safari long time ago when Safari didn't fully supported HTML 5 spellcheck.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 00:35:51 +02:00
Ferdinand Thiessen f3f3f4cd59 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-20 00:24:21 +02:00
Ferdinand Thiessen e9d4036389 feat(theming): Allow to configure default apps and app order in frontend settings
* Also add API for setting the value using ajax.
* Add cypress tests for app order and defaul apps

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-20 00:24:17 +02:00
Ferdinand Thiessen 363d9ebb13 feat(NavigationManager): Always sort the default app first
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 22:04:20 +02:00
Ferdinand Thiessen 08cff0777a feat(IAppManager): Allow to set the (user) default apps and get all global default apps
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 22:04:20 +02:00
Ferdinand Thiessen 5c48a504a7 fix(cypress): Also sync 3rdparty directory for local cypress tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 22:03:39 +02:00
Ferdinand Thiessen a6c450b481 Merge pull request #40961 from nextcloud/fix/cypress-tests
fix(cypress): Replace flaky password-confirmation hack
2023-10-19 22:02:28 +02:00
Ferdinand Thiessen 9ce5c983d0 Merge pull request #40992 from nextcloud/fix/37092/weather-status-html-validation
fix(weather_status): remove `li` wrapper
2023-10-19 21:58:19 +02:00
Robin Appelman 9bc44de95d reuse sharing disabled state when listing folder content
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-19 19:40:52 +02:00
Robin Appelman 460344336e optimize cache jail creation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-19 19:27:00 +02:00
Grigorii K. Shartsev ef4db759e5 chore(assets): Re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-19 18:59:38 +02:00
julia.kirschenheuter 311d5c6275 Fix placement of actions within unified search
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-19 18:49:37 +02:00
Grigorii K. Shartsev 776f5da831 fix(core): do not assign all navigation entry properties as html attributes
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-19 18:47:02 +02:00
Ferdinand Thiessen f4e3f09654 Merge pull request #40924 from AIlkiv/shortcut-ctrl-f-for-different-keyboard-layouts
Shortcut Ctrl+F for different keyboard layouts
2023-10-19 18:15:49 +02:00
Julia Kirschenheuter 694352e3ad Merge pull request #40963 from nextcloud/fix/36965-fix-width-of-sharing-entry
Reduce width of sharing entry
2023-10-19 17:08:28 +02:00
Grigorii K. Shartsev 869fdb4c85 chore(assets): Re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-19 17:06:42 +02:00
Joas Schilling 7ef3937278 Merge pull request #40977 from nextcloud/Rello-patch-version
Update version.php to owncloud 10.13
2023-10-19 16:41:58 +02:00
Ferdinand Thiessen 3f83ae145f fix(cypress): Test using data-test-id attributes rather than private classes
Makes the test more resilant to inner component changes of the `@nextcloud/vue` library.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 16:17:20 +02:00
Ferdinand Thiessen add1d922ba fix(cypress): Replace flaky password-confirmation hack with conditional testing for the password modal
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 16:17:19 +02:00
Côme Chilliet 0c346849f3 Migrate missing PHP modules check to new API and improve it
Test all modules listed as required in our documentation

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 15:58:45 +02:00
Côme Chilliet b6c35b3be0 Merge pull request #32550 from nextcloud/feat/api-cleanup-check
Add api to register setup checks
2023-10-19 15:41:23 +02:00
julia.kirschenheuter bfa7d33912 Reduce width of sharing entry
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-19 12:50:14 +00:00
Côme Chilliet 789ff3f414 Fix jsunit tests for SetupChecks
Tests could be simplified to test generic setup check directly with fake
 data instead of trying to mimic real steps results but for now this
 will do.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 14:46:46 +02:00
Rello 4218d6ee43 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:37:05 +02:00
John Molakvoæ 049804d02f Merge pull request #35728 from nextcloud/fix/cypress 2023-10-19 14:23:39 +02:00
John Molakvoæ 4f4074452d Fix background removal not applying to user default theming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-19 12:01:29 +02:00
Ferdinand Thiessen 51ff16eba3 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 12:00:43 +02:00
John Molakvoæ a024ee1cfe Fix background removal check
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-19 11:54:09 +02:00
John Molakvoæ d10c4c3f6d Add additional no-background and custom colour test
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-19 11:54:09 +02:00
Andrii Ilkiv 952760fd14 Shortcut Ctrl+F for different keyboard layouts
Signed-off-by: Andrii Ilkiv <a.ilkiv.ye@gmail.com>
2023-10-19 11:51:09 +02:00
Côme Chilliet a3cc3b188d Small code style fix in SetupCheckManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:03 +02:00
Côme Chilliet 2e4d1549a4 Change SetupResult API to named constructors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:03 +02:00
Côme Chilliet 11ebf469da Remove useless var in apps/settings/lib/SetupChecks/CheckUserCertificates.php
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-10-19 11:44:03 +02:00
Côme Chilliet 6aa6f26427 Move NeedsSystemAddressBookSync to dav application where it’s registered
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +02:00
Côme Chilliet be11ffd86a Add debug logging when running setup checks to help with debugging slow results
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +02:00
Côme Chilliet 968b82cacc Remove UI draft
For now we will keep the existing UI and only change the API behind it

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +02:00
Côme Chilliet 6bc3e008c7 Fix tests for setup checks
Had to remove tests for migrated checks, we should add tests for each
 SetupCheck class later on.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +02:00
Côme Chilliet efa2dfa641 Add OCP interface for SetupCheckManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +02:00
Côme Chilliet bd37067821 Migrate InternetConnectivity check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:01 +02:00
Côme Chilliet 5503c4c8e2 Add missing licences and copyright in SetupCheck
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:01 +02:00
Côme Chilliet 05cb1415e1 Merge setupchecks from new API into old UI
This will allow migrating checks to the new API without touching the UI
 for now.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:01 +02:00
Côme Chilliet fa3c0e4b1c Fix description for SetupChecks/NeedsSystemAddressBookSync
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-10-19 11:44:01 +02:00
Côme Chilliet bec6c0a441 Migrate ReadOnlyConfig and DefaultPhoneRegionSet to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +02:00
Côme Chilliet 8bfa0935b4 Migrate NeedsSystemAddressBookSync to new ISetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +02:00
Côme Chilliet 67e7a2635f Fix PHPDoc in OCP for new SetupResult class
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +02:00
Côme Chilliet a4618cfea0 Move existing setup checks to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +02:00
Côme Chilliet a56d40cf2d Fix lint problems in vue files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +02:00
Côme Chilliet b41b9cf4c0 Small cleanups in SetupCheck classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:43:59 +02:00
Côme Chilliet 1202171b32 Fix docblock and types for new public API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:43:59 +02:00
Côme Chilliet a3ec716c33 Fix UI and add PhpOutdated check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:43:59 +02:00
Côme Chilliet 0890012e72 Fix SetupChecks/LdapInvalidUuids.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:43:58 +02:00
Carl Schwan c71e47f5c3 Progress
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-10-19 11:43:58 +02:00
Carl Schwan eb1d612d96 Add api to register setup checks
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-10-19 11:43:58 +02:00
Akhil 5e20c3e7b9 Add custom apps translation scripts and image path for consistency
Signed-off-by: Akhil <akhil@e.email>
2023-10-19 14:39:29 +05:30
Marcel Klehr 92cc171a61 fix(TextToImage): Fix OpenAPI definitions
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-19 11:07:03 +02:00
Marcel Klehr 3d11ab7af8 fix(TextToImage): Add autoloader changes and registerAlias
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-19 10:54:18 +02:00
John Molakvoæ a572a547f9 Merge pull request #40969 from nextcloud/ishare-type 2023-10-19 09:29:26 +02:00
John Molakvoæ 4d5b794acc Merge pull request #40958 from nextcloud/pulsejet/files-list-perf 2023-10-19 09:27:43 +02:00
John Molakvoæ 4db03884a5 fix(files): drop visible and adjust drag-to-scroll feature
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-19 06:42:33 +00:00
Varun Patil c008464a2a Fix return type of IShare::getExpirationDate
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-18 23:23:41 -07:00
Varun Patil 4876eacf3f perf(files): performance optimizations
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-19 08:23:22 +02:00
Nextcloud bot 1c014f82c2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-19 00:28:10 +00:00
Joas Schilling 5de36b6941 Merge pull request #40965 from nextcloud/bugfix/noid/fix-type-and-docs-on-interface
fix(federation): Fix type and docs on ICloudFederationNotification in…
2023-10-18 18:48:40 +02:00
Josh Richards 59366eebb8 SECURITY: Add {links, headings, $, scope, public GH Issues notes}
* Add links to various relevant pages (scope, existing security advisories)
* Add request to not report vulnerabilities in public GH issues
* Mention bounty program
* Reorganized and added some new headings

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-10-18 11:42:44 -04:00
Joas Schilling 4f76c131a4 fix(federation): Fix type and docs on ICloudFederationNotification interface
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-18 17:16:22 +02:00
Ferdinand Thiessen a1d70ab78a Merge pull request #40923 from nextcloud/automated/noid/master-fix-npm-audit
[master] Fix npm audit
2023-10-18 15:08:59 +02:00
Marcel Klehr 6238aca6c5 fix(TextToImage): Fix bruteforce protection
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 14:46:40 +02:00
Ferdinand Thiessen e9d8095006 Merge pull request #40913 from nextcloud/dependabot/npm_and_yarn/dockerode-4.0.0
chore(deps-dev): Bump dockerode from 3.3.5 to 4.0.0
2023-10-18 14:37:57 +02:00
Ferdinand Thiessen d452b872c9 fix: Improve dockerNode logging
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-18 14:37:44 +02:00
dependabot[bot] da9d069721 chore(deps-dev): Bump dockerode from 3.3.5 to 4.0.0
Bumps [dockerode](https://github.com/apocas/dockerode) from 3.3.5 to 4.0.0.
- [Release notes](https://github.com/apocas/dockerode/releases)
- [Commits](https://github.com/apocas/dockerode/compare/v3.3.5...v4.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 14:37:44 +02:00
Julius Härtl f3ae617bde test(files_sharing): Test if recent files result use actual share target name
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-10-18 14:31:27 +02:00
Max be373fca3c fix(sharing): set name to target name in sharing cache
Fixes #39879.

Signed-off-by: Max <max@nextcloud.com>
2023-10-18 14:31:27 +02:00
Marcel Klehr e57e94e11a fix(TextToImage): Add bruteforce protection to API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 14:09:19 +02:00
Marcel Klehr ab856a5c78 fix(TextToImage): Fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 14:09:04 +02:00
Ferdinand Thiessen bb912ad47c Merge pull request #40914 from nextcloud/dependabot/npm_and_yarn/dompurify-3.0.6
chore(deps): Bump dompurify from 3.0.5 to 3.0.6
2023-10-18 13:44:52 +02:00
Marcel Klehr 9b7f63946f fix(TextToImage): Fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:44:21 +02:00
Marcel Klehr ca9a28ab51 fix(TextToImage): Fix notnull column to allow for empty strings on orcale
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:31:01 +02:00
Marcel Klehr d3da49de44 fix(TextToImage): Fix docblock of getImage route
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:31:00 +02:00
Marcel Klehr c5fbe5a7bc enh(TextToImage): Add bruteforce protection for anonymous API usage
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:31:00 +02:00
dependabot[bot] 477cfad8b3 chore(deps): Bump dompurify from 3.0.5 to 3.0.6
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.0.5...3.0.6)

---
updated-dependencies:
- dependency-name: dompurify
  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-10-18 13:25:49 +02:00
Marcel Klehr 5ddf3c3366 Update lib/public/TextToImage/Exception/TextToImageException.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 47372380b4 Update lib/public/TextToImage/Exception/TaskNotFoundException.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 1d07dcc346 Update lib/private/TextToImage/Db/Task.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr e8faaebb0f enh(TextToImage): Allow anonymous access to IManager#getUserTasksByApp
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr f52d763f50 enh(TextToImage): Add routes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr c59861a9fa enh(TextToImage): Implement removal of stale images and change Task#last_updated to DATETIME
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 207c95838f fix(TextToImage): Fix coding style
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 3e6a8b31c4 fix(TextToImage): Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr e5efbc88d8 enh(TextToImage): Address review comments
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 41847c951a Update lib/private/TextToImage/TaskBackgroundJob.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 53678a8534 Update lib/public/TextToImage/Events/TaskSuccessfulEvent.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr e199d1aae1 Update lib/public/TextToImage/IManager.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 1e36d74c3e Update core/Controller/TextToImageApiController.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr dc8cba6026 cs:Fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 666f7b33c9 Small fixes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 2d44c7c1ed Small fixes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr c8cab9d2fd Implement TextToImage OCP API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
nextcloud-command 149bb0b544 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-10-18 13:18:28 +02:00
Grigorii K. Shartsev 4312fa803e fix(weather_status): remove unnecessaries LI wrapper and inline mode
Weather Status is only used as a Dashboard Status and only in so-called inline mode.
- Remove LI wrapper (actual only for User Menu Entry)
- Remove `inline` prop, consider component as always inline

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-18 13:14:56 +02:00
Grigorii K. Shartsev f439505816 fix(weather_status): nextcloud/vue v8 migration - menu-title -> menu-name
Invalid prop name is inherited as an HTML attribute

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-18 12:19:33 +02:00
Joas Schilling 9bdf98f699 Merge pull request #40959 from nextcloud/bugfix/noid/fix-types-in-querybuilder
fix(dbal): Fix types in query builder methods for parameters
2023-10-18 11:41:29 +02:00
John Molakvoæ 80893480c1 Merge pull request #40478 from nextcloud/node-from-entry 2023-10-18 10:44:21 +02:00
Julia Kirschenheuter bd46abac00 Merge pull request #40873 from nextcloud/fix/36965-fix-search-contacts
Fix width of input on contacts menu
2023-10-18 10:05:01 +02:00
julia.kirschenheuter f7609276b5 Fix width of input on contacts menu
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-18 09:35:41 +02:00
John Molakvoæ 0c1c045942 Merge pull request #40956 from nextcloud/deps/nextcloud/dialogs-5.0.0-beta.6 2023-10-18 09:25:58 +02:00
Christopher Ng f8b1d7f4c5 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-18 08:54:45 +02:00
Christopher Ng b81c76adc7 chore: Remove unnecessary dialogs css imports
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-18 08:47:17 +02:00
Christopher Ng 3b202f2198 chore(deps): Bump @nextcloud/dialogs to v5-beta.6
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-18 08:47:16 +02:00
John Molakvoæ 1a425ab6f6 Merge pull request #40926 from nextcloud/config-sample-theme-names-fix 2023-10-18 08:46:08 +02:00
Joas Schilling 15a7aa51c5 fix(dbal): Fix types in query builder methods for parameters
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-18 07:09:08 +02:00
Ferdinand Thiessen 1f8c21a581 Merge pull request #40808 from c39cfbb3/patch-3
fix(L10N): Support "Accept-Language: zh-Hans-CN" and alike
2023-10-18 03:43:26 +02:00
Ferdinand Thiessen 1d9d3b6912 Merge pull request #40912 from nextcloud/dependabot/npm_and_yarn/mdi/svg-7.3.67
chore(deps): Bump @mdi/svg from 7.2.96 to 7.3.67
2023-10-18 03:36:29 +02:00
Ferdinand Thiessen 5932a01dd5 Merge pull request #40941 from nextcloud/dependabot/npm_and_yarn/babel/traverse-7.23.2
chore(deps): Bump @babel/traverse from 7.22.8 to 7.23.2
2023-10-18 03:32:14 +02:00
Ferdinand Thiessen 154a9989a7 Merge pull request #39852 from nextcloud/pragmaHeader
Stop sending deprecated Pragma header
2023-10-18 03:30:21 +02:00
Nextcloud bot e1d33096d3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-18 00:52:29 +00:00
dependabot[bot] 559ca56148 chore(deps): Bump @mdi/svg from 7.2.96 to 7.3.67
Bumps [@mdi/svg](https://github.com/Templarian/MaterialDesign-SVG) from 7.2.96 to 7.3.67.
- [Commits](https://github.com/Templarian/MaterialDesign-SVG/compare/v7.2.96...v7.3.67)

---
updated-dependencies:
- dependency-name: "@mdi/svg"
  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-10-18 00:41:53 +00:00
c39cfbb3 1bf15da863 Update lib/private/L10N/Factory.php
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: c39cfbb3 <145777845+c39cfbb3@users.noreply.github.com>
2023-10-18 02:33:54 +02:00
c39cfbb3 f7cd3d17b8 L10N/Factory: Support "Accept-Language: zh-Hans-CN" and alike
Signed-off-by: c39cfbb3 <145777845+c39cfbb3@users.noreply.github.com>
2023-10-18 02:33:54 +02:00
Ferdinand Thiessen 54d1ec58bf Merge pull request #40950 from nextcloud/fix/add-aria-pressed-to-buttons
fix(theming): Add `aria-pressed` attribute to active background
2023-10-18 02:16:41 +02:00
Ferdinand Thiessen 8d57cdcab5 fix(theming): Add aria-pressed attribute to active background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-18 01:35:54 +02:00
Pytal ff76e258c8 Merge pull request #40905 from nextcloud/fix/36965-apadt-margin-for-files_list_header 2023-10-17 15:02:52 -07:00
julia.kirschenheuter 0d53f54076 Reduce left margin of files list header
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-17 21:43:22 +02:00
Julius Härtl d261330251 Merge pull request #40951 from nextcloud/fix/xhr-request-regression 2023-10-17 20:56:19 +02:00
Simon L a21d6c5d8d Merge pull request #40932 from nextcloud/enh/36965/fix-account-settings
fix profile visibility settings being too wide
2023-10-17 19:05:20 +02:00
Julia Kirschenheuter 91118a542c Merge pull request #40872 from nextcloud/fix/36965-fix-status-message_dialog
Change width for input field
2023-10-17 18:09:38 +02:00
Simon L d4415ba6dd address review
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-17 16:07:04 +00:00
John Molakvoæ 592eac043a Merge pull request #40948 from nextcloud/fix/new-folder 2023-10-17 17:42:46 +02:00
Ferdinand Thiessen 0414ca35c0 fix(xhr-request): Make sure to also allow strings as url
Our utility to add `X-Requested-With` headers on API calls intercepts
calls to `window.fetch`, so we must ensure we allow all parameters that the default
browser provided `window.fetch` allows.
In this case make sure to allow all stringify-able objects.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-17 17:41:51 +02:00
John Molakvoæ 9f157d7f80 fix(files): fix new folder encoding
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 17:19:48 +02:00
julia.kirschenheuter 4af5d58130 Change flex-direction for input field
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-17 17:17:57 +02:00
Simon L d5f0ba9602 fix profile visibility settings being too wide
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-17 15:14:59 +00:00
Julia Kirschenheuter fbf8a463db Merge pull request #40643 from nextcloud/fix/37082-set_visible_label_for_input_in_modal
Set visible label for input field
2023-10-17 16:55:25 +02:00
Simon L 24db452085 Merge pull request #40907 from nextcloud/enh/36965/fix-personal-settings
fix several personal settings problems
2023-10-17 15:23:26 +02:00
julia.kirschenheuter 7d00c7fde4 Replace password dialog with dialog from library
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-17 14:09:43 +02:00
John Molakvoæ 106bf6cf87 Merge pull request #40917 from nextcloud/feat/gridview 2023-10-17 13:55:51 +02:00
Simon L 99eeee2036 fix several personal settings problems
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-17 11:50:25 +00:00
John Molakvoæ 1ba5bc08ab fix(files): hide grid view button on narrow screen
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 12:43:25 +02:00
John Molakvoæ 77fdef1081 perf(files): optimize virtual scroller computation
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 12:03:12 +02:00
dependabot[bot] b5eac93c3c chore(deps): Bump @babel/traverse from 7.22.8 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.8 to 7.23.2.
- [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.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-17 09:20:28 +00:00
John Molakvoæ 116c396f0e feat(files): add grid toggle button
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ c4b8abd343 perf(files): reuse keys for virtual scrolling
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ 16975ae457 feat(files): grid view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ 694fd51cba fix(files): split FileEntry Name
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ 64c32f7148 fix(files): split FileEntry Actions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ 0f1f73478a fix(files): split FileEntry Checkbox and fix range selection
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:01 +02:00
John Molakvoæ 60260bb58e chore(files): split FileEntry Preview
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:01 +02:00
John Molakvoæ 2887e6419d Merge pull request #40854 from nextcloud/fix/template-picker 2023-10-17 11:17:56 +02:00
John Molakvoæ 4b55594f55 feat(files): migrate template picker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:17:35 +02:00
Julia Kirschenheuter ad7d20e017 Merge pull request #40902 from nextcloud/fix/36965-fix-nc-select-on-users-table
Append to body all selects inside of user table
2023-10-17 10:56:57 +02:00
julia.kirschenheuter ba0fadd312 Append to body all selects inside of user table
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-17 09:25:31 +02:00
Nextcloud bot cd6b10f89b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-17 00:27:38 +00:00
Pytal e6a2985e4d Merge pull request #40168 from nextcloud/enh/a11y/user-menu 2023-10-16 11:45:49 -07:00
Christopher Ng 48e02becab chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:59:29 -07:00
Christopher Ng 0b8958fae7 fix(acceptance): Locate settings menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:54:41 -07:00
Christopher Ng a7de1137d7 enh(a11y): Add label to app menu nav
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:54:41 -07:00
Christopher Ng f2f1e9c8d6 enh(a11y): Add avatar description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:54:41 -07:00
Christopher Ng 6c5a10fea3 enh(a11y): Add accessible user menu semantics
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:54:41 -07:00
Christoph Wurst b914916bdb Merge pull request #40749 from nextcloud/refactor/contacts-menu-to-vue
refactor: Contacts menu to Vue
2023-10-16 18:12:39 +02:00
Joas Schilling 746506fccd Merge pull request #40934 from nextcloud/techdebt/noid/codeowner
chore: Add the talk team as codeowners for things Talk heavily relies on
2023-10-16 17:29:31 +02:00
Joas Schilling dfc0974022 chore: Add the talk team as codeowners for things Talk heavily relies on
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-16 16:50:42 +02:00
Christoph Wurst 6a375ca161 refactor: Contacts menu to Vue
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-16 14:12:20 +00:00
Christoph Wurst 0321bec791 Merge pull request #40890 from nextcloud/fix/search/close-unified-search-second-ctrl-f
fix(search): Close unified search at the second ctrl+f
2023-10-16 16:05:25 +02:00
Joas Schilling 90485aa39c Merge pull request #40931 from nextcloud/bugfix/noid/fix-unit-tests-on-8.3
Fix unit tests on PHP 8.3
2023-10-16 15:22:17 +02:00
F. E Noel Nfebe c932c94fdd Merge pull request #40927 from nextcloud/allow-expiry-dates-less-than-enforced-limit
Allow share expiry dates lower than enforced limits
2023-10-16 11:37:10 +01:00
Julien Veyssier 9bf824eb90 Merge pull request #40471 from nextcloud/enh/fix-x-requested-with
Only add x-requested-with header in requests to Nextcloud
2023-10-16 12:06:49 +02:00
Julien Veyssier b58c3dde3d compile assets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-16 10:28:48 +02:00
Julien Veyssier d2cc4c4798 only add x-requested-with header if requests point to NC
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-16 10:28:47 +02:00
Joas Schilling 500fa5431d Fix unit tests on PHP 8.3
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-16 10:17:22 +02:00
Côme Chilliet 8212feefb9 Merge pull request #40367 from nextcloud/fix/user_ldap-update-groups-on-login
Fire group membership events from LDAP at login
2023-10-16 10:01:55 +02:00
fenn-cs 9757e680e2 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-16 07:03:53 +01:00
Joas Schilling 356c2219bc Merge pull request #40865 from nextcloud/bugfix/noid/fix-version-comment
Fix version number in ITimeFactory after it was delayed
2023-10-16 08:01:09 +02:00
Joas Schilling a724fd4e9c Merge pull request #40900 from nextcloud/bugfix/noid/fix-parameter-types-in-docs
fix(docs): Fix parameter types in docs
2023-10-16 08:00:44 +02:00
Nextcloud bot 83c2729aae Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-16 00:28:25 +00:00
Ferdinand Thiessen ca946e7e27 Merge pull request #40068 from nextcloud/devcontainer-fix-git-config
[Devcontainer] move git setup to postStartCommand
2023-10-16 01:04:06 +02:00
Ferdinand Thiessen f07709cbb6 Merge pull request #40910 from nextcloud/dependabot/npm_and_yarn/ts-loader-9.5.0
chore(deps-dev): Bump ts-loader from 9.4.4 to 9.5.0
2023-10-16 00:32:48 +02:00
Christoph Wurst 7d13e9563b fix(search): Close unified search at the second ctrl+f
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-16 00:30:31 +02:00
Josh Richards 4a7f648d16 config.sample.php: fix incorrect theme name + add a missing one
Fixes #40908 

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-10-15 13:27:40 -04:00
John Molakvoæ 7e2c51204b Merge pull request #40893 from nextcloud/enh/a11y/files-header-sort 2023-10-15 13:52:14 +02:00
Nextcloud bot 562f19a49e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-15 00:27:31 +00:00
Christopher Ng 459e052237 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-14 21:29:48 +02:00
Christopher Ng 6a98d94e76 chore(files): Clean up unused components
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-14 21:29:48 +02:00
Christopher Ng 224ee07cd5 fix(files): Remove unnecessary sort direction from label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-14 21:29:48 +02:00
Christopher Ng cbb7085cfe enh(files): Add accessible sort direction
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-14 21:29:48 +02:00
dependabot[bot] 4d1e6cefc9 chore(deps-dev): Bump ts-loader from 9.4.4 to 9.5.0
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 9.4.4 to 9.5.0.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.4.4...v9.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-14 03:09:38 +00:00
dependabot[bot] c2feec9de1 chore(deps-dev): Bump @babel/preset-typescript from 7.22.11 to 7.23.2
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.22.11 to 7.23.2.
- [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.23.2/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-14 03:09:24 +00:00
Nextcloud bot 6f18732c35 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-14 00:28:03 +00:00
Simon L ba12ce8e1e Merge pull request #40887 from nextcloud/enh/36965/fix-admin-settings 2023-10-13 18:22:55 +02:00
Robin Windey 9dd158b70d Devcontainer: move git setup to postStartCommand
* postCreateCommand is executed too early
* If git config commands run in postCreate, a global .gitconfig will be created
* Copy of local .gitconfig will be skipped if .gitconfig already exists in container
* Move to later stage
* https://github.com/devcontainers/cli/issues/98
* https://github.com/microsoft/vscode-remote-release/issues/4855#issuecomment-831920085

Signed-off-by: GitHub <noreply@github.com>
2023-10-13 16:18:57 +00:00
Simon L 55c8481710 fix several admin settings problems
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-13 15:35:32 +00:00
Christoph Wurst cdc2f38a51 Merge pull request #40868 from nextcloud/feat/in-memory-cache-factory
feat: Add factory method for in-memory caches
2023-10-13 13:52:14 +02:00
Joas Schilling a8ae09c544 fix(docs): Fix parameter types in docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 11:02:42 +02:00
Joas Schilling 160a2b7120 Merge pull request #40885 from nextcloud/bugfix/noid/fix-OCM-provider
Fix OCM provider public API and handling to allow apps to register
2023-10-13 10:53:21 +02:00
Simon L 925df86466 Merge pull request #40894 from nextcloud/fix/cypress-groups 2023-10-13 10:37:18 +02:00
Joas Schilling 21e7a82e64 feat(OCM): Dispatch an event so apps can register resources
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:46:28 +02:00
Joas Schilling fc445a2eaa feat(OCM): Add a way for apps to create a new IOCMResource
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:38:19 +02:00
Joas Schilling b246d51cbc fix(OCM): Make the OCM provider stateful so apps can add resources
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:34:42 +02:00
Joas Schilling 4dbe0677ad fix(OCM): Make the public API only rely on OCP
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:34:39 +02:00
Ferdinand Thiessen f103979b9f Merge pull request #40874 from nextcloud/chore/deps/nextcloud-password-confirmation
chore(deps): Bump @nextcloud/password-confirmation from 4.0.1 to 5.0.0
2023-10-13 02:52:52 +02:00
Nextcloud bot d99847b0cc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-13 00:47:00 +00:00
Christopher Ng b3d426c510 fix(cypress): User groups test
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-12 15:39:42 -07:00
Grigorii K. Shartsev 50a7eba09c chore(assets): re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-12 20:02:07 +02:00
Grigorii K. Shartsev 26c3885bff chore(deps): Bump @nextcloud/password-confirmation from 4.0.1 to 5.0.0
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-12 18:16:54 +02:00
Simon L 01d5979ed2 Merge pull request #40871 from nextcloud/enh/36965/fix-my-apps-view 2023-10-12 14:25:11 +02:00
Joas Schilling dd0142ff47 Merge pull request #40864 from nextcloud/bugfix/noid/use-allowSelfSignedCertificates-for-all-OCM-requests
fix(federation): Use `sharing.federation.allowSelfSignedCertificates` config for all OCM requests
2023-10-12 12:37:15 +02:00
Joas Schilling cd659b7119 Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-12 11:36:35 +02:00
Simon L 8f66fbe454 Fix my-apps view on mobile
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-12 09:35:51 +00:00
Christoph Wurst 03c7ee4e41 Merge pull request #40879 from nextcloud/fix/session/log-lost-crypto-session
fix(session): Log when crypto session data is lost
2023-10-12 10:37:15 +02:00
Arthur Schiwon 37f21cf94d Merge pull request #40443 from nextcloud/fix/noid/store-lpap-user-groups
fix(ldap): store last known user groups
2023-10-12 10:32:29 +02:00
Joas Schilling 62eafdbd48 Merge pull request #40413 from nextcloud/feature/sorbaugh/in-user-search
Add in:users as a search filter to limit searches to users
2023-10-12 10:29:29 +02:00
Côme Chilliet 500374a8e7 Fix registerEventListener signature
It seems now psalm correctly supports this.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:43 +02:00
Côme Chilliet 05efbf11d9 Fix LDAP LoginListener by adding new group relationships to caches before firing the event
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:43 +02:00
Côme Chilliet 800b1b7031 Fire group events at login for LDAP groups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:43 +02:00
Côme Chilliet 6e38cb197a Add logging to be able to debug FirstLoginListener
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:42 +02:00
Côme Chilliet 4f2048851c Move event listener registration to register()
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:42 +02:00
Côme Chilliet 2e52e39aff Use a standard array for the stateful cache
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:42 +02:00
Côme Chilliet 474b5e1a05 Add FirstLoginListener to accept shares upon first ldap user login
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:41 +02:00
nextcloud-command d6e21c3714 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-12 07:14:37 +00:00
Arthur Schiwon bdf0fe6a03 fix(meta): copyright note 2023-10-12 08:57:41 +02:00
sorbaugh f66e4ee072 remove unused properties
Signed-off-by: sorbaugh <stephan.orbaugh@nextcloud.com>
2023-10-12 08:57:41 +02:00
sorbaugh a3a599855e recompiled assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-12 08:57:40 +02:00
sorbaugh c38bafba9e 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 08:57:04 +02:00
sorbaugh 65c70d7cc6 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 08:57:04 +02:00
sorbaugh ab81cd1e1e 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 08:56:48 +02:00
Nextcloud bot 6379c852c3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-12 00:25:29 +00:00
Pytal 228b21f3fa Merge pull request #40110 from nextcloud/enh/a11y/add-group 2023-10-11 11:54:15 -07:00
Christoph Wurst ca33d6b01c fix(session): Log when crypto session data is lost
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 19:59:18 +02:00
Christopher Ng 4386803ae8 test(settings): Create and delete groups
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-11 10:39:54 -07:00
Christopher Ng 58569eb24e chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-11 09:51:48 -07:00
Christopher Ng ef9f1e631d enh(settings): Move confirm group removal dialog to vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-11 09:51:48 -07:00
Christopher Ng 0fe1b402fa enh(settings): Add groups accessibly
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-11 09:51:48 -07:00
Pytal 827515d960 Merge pull request #40858 from nextcloud/fix/app-nav-caption 2023-10-11 09:46:36 -07:00
Arthur Schiwon cce8d0a7a5 fix(LDAP): solve race condition reading groups of disappeared LDAP user
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-11 15:35:10 +02:00
Arthur Schiwon d9cbe105a5 Merge pull request #40698 from nextcloud/Valdnet-patch-1
Correct typos and add quotation marks
2023-10-11 15:25:28 +02:00
Arthur Schiwon b848841e3d Merge pull request #40839 from nextcloud/fix/noid/ldap-group-config-di
Pass IConfig by constructor to Group_LDAP
2023-10-11 14:05:15 +02:00
Christoph Wurst ff672b11e2 feat: Add factory method for in-memory caches
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 13:37:22 +02:00
Joas Schilling 0a4fbaddc7 Fix version number in ITimeFactory after it was delayed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-11 12:14:41 +02:00
Joas Schilling 91ebbe8003 fix(federation): Use sharing.federation.allowSelfSignedCertificates config for all OCM requests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-11 11:52:10 +02:00
Christoph Wurst 04db454e9f Merge pull request #40861 from nextcloud/chore/unused-cache-factor-create-low-latency
chore: Drop unused \OC\Memcache\Factory::createLowLatency
2023-10-11 11:03:01 +02:00
Christoph Wurst fac05bce07 chore: Drop unused \OC\Memcache\Factory::createLowLatency
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 09:40:27 +02:00
Christoph Wurst 4f183bb604 fix(session): Log why session renewal failed
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 08:36:13 +02:00
Nextcloud bot bf1dbd33a7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-11 00:28:10 +00:00
Valdnet be6c889414 Correct typos and add quotation marks
Corrects typos and unifies spelling for "occ" commands.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-10-11 01:51:39 +02:00
Christopher Ng c50c583283 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-10 15:26:32 -07:00
Christopher Ng 1f6778c079 fix: Scope app nav caption styles
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-10 15:26:32 -07:00
Arthur Schiwon a149d4e6e3 Merge pull request #40843 from nextcloud/fix/noid/ocm-provider-on-subfolder
remove leading slash
2023-10-10 19:54:56 +02:00
dependabot[bot] 54a286f76d Merge pull request #40721 from nextcloud/dependabot/npm_and_yarn/jest/globals-29.7.0 2023-10-10 15:17:35 +00:00
dependabot[bot] 9d7807ffea Merge pull request #40595 from nextcloud/dependabot/github_actions/actions/checkout-4 2023-10-10 15:13:58 +00:00
John Molakvoæ 73f5d1d035 Merge pull request #40674 from nextcloud/feat/drop-folder 2023-10-10 16:57:32 +02:00
dependabot[bot] d3b658151d chore(deps-dev): Bump @jest/globals from 29.6.2 to 29.7.0
Bumps [@jest/globals](https://github.com/jestjs/jest/tree/HEAD/packages/jest-globals) from 29.6.2 to 29.7.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/jest-globals)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 13:56:26 +00:00
dependabot[bot] 130180c5cf chore(deps): Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...8ade135a41bc03ea155e62e844d188df1ea18608)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 15:53:07 +02:00
John Molakvoæ 35aed73ede feat: allow external drop and add dropzone
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-10 15:28:52 +02:00
dependabot[bot] 052a637cc9 Merge pull request #40724 from nextcloud/dependabot/npm_and_yarn/workbox-webpack-plugin-7.0.0 2023-10-10 12:38:29 +00:00
John Molakvoæ 9de246d74f Merge pull request #40782 from nextcloud/fix/auth-ext-strg 2023-10-10 13:50:59 +02:00
Côme Chilliet 43971f6a5c Merge pull request #39756 from nextcloud/enh/add-disabled-users-endpoint
Add endpoint for getting disabled user list
2023-10-10 13:33:49 +02:00
dependabot[bot] 165dab3fa6 chore(deps-dev): Bump workbox-webpack-plugin from 6.6.0 to 7.0.0
Bumps [workbox-webpack-plugin](https://github.com/googlechrome/workbox) from 6.6.0 to 7.0.0.
- [Release notes](https://github.com/googlechrome/workbox/releases)
- [Commits](https://github.com/googlechrome/workbox/compare/v6.6.0...v7.0.0)

---
updated-dependencies:
- dependency-name: workbox-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-10 11:14:30 +00:00
John Molakvoæ ae29608e46 fix(files_external): basic auth user storage trigger
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-10 12:07:48 +02:00
Ferdinand Thiessen 025cdb35cb Merge pull request #40722 from nextcloud/dependabot/npm_and_yarn/cypress-wait-until-2.0.1
chore(deps-dev): Bump cypress-wait-until from 1.7.2 to 2.0.1
2023-10-10 12:04:11 +02:00
dependabot[bot] 67f6eceb48 chore(deps-dev): Bump cypress-wait-until from 1.7.2 to 2.0.1
Bumps [cypress-wait-until](https://github.com/NoriSte/cypress-wait-until) from 1.7.2 to 2.0.1.
- [Release notes](https://github.com/NoriSte/cypress-wait-until/releases)
- [Changelog](https://github.com/NoriSte/cypress-wait-until/blob/master/release.config.js)
- [Commits](https://github.com/NoriSte/cypress-wait-until/commits/v2.0.1)

---
updated-dependencies:
- dependency-name: cypress-wait-until
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 09:32:22 +00:00
dependabot[bot] 20516a9a12 Merge pull request #40720 from nextcloud/dependabot/npm_and_yarn/cypress-and-nextcloud/cypress-13.3.0 2023-10-10 09:30:00 +00:00
Christoph Wurst 8c2b9b3036 Merge pull request #40785 from nextcloud/fix/user/log-logout-conditions
fix: Log critical session renewal and logout paths
2023-10-10 11:26:25 +02:00
Arthur Schiwon c1480aade4 refactor(LDAP): pass IConfig via constructor to Group_LDAP
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-10 11:18:57 +02:00
Côme Chilliet e51d20479e Check limit and offset parameters sent to controller
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-10 10:43:18 +02:00
Nextcloud bot e6d0105217 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-10 00:25:52 +00:00
Maxence Lange 9cd22dd949 remove leading slash
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-10-09 20:17:12 -01:00
Arthur Schiwon 039da6bd22 refactor(tests): simplify code, reduce duplication
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-09 21:58:32 +02:00
Arthur Schiwon 9e2d9d5df9 test(Group LDAP): add test for getting groups of OfflineUser
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-09 21:08:28 +02:00
Simon L c40ece338b Merge pull request #40804 from nextcloud/enh/40687/fix-button-text 2023-10-09 20:52:14 +02:00
F. E Noel Nfebe e1db6dc7c5 Merge pull request #40825 from nextcloud/40801-fix-mixed-translation-sharing
Fixed mixed translations in sharing details
2023-10-09 19:05:49 +01:00
Arthur Schiwon cb3faad5b5 fix(ldap): store last known user groups
- for LDAP user life cycle management

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-09 19:46:27 +02:00
Simon L 5acf6c68aa Merge pull request #40783 from nextcloud/enh/40710/adjust-focus-visible 2023-10-09 18:48:46 +02:00
fenn-cs 10675f7aac 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>
2023-10-09 17:39:48 +01:00
Simon L 8799c6863d fix text on default background image button
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-09 16:10:40 +00:00
Simon L 10c0c30ce2 adjust color of focus-visible to be better visible
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-09 15:42:18 +00:00
Joas Schilling ab15cffa56 Merge pull request #33105 from nextcloud/feature/noid/talk-federation-auth
Talk federation authentication
2023-10-09 17:06:29 +02:00
Simon L 4fd0408088 Merge pull request #40784 from nextcloud/enh/39414/move-docs 2023-10-09 16:40:08 +02:00
Joas Schilling 7998afe8b3 Talk federation authentication
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-09 15:44:56 +02:00
Daniel 14ed18c265 Merge pull request #40181 from nextcloud/bugfix/noid/copy-all-source-files-in-cypress 2023-10-09 15:10:14 +02:00
Côme Chilliet afcebd1e92 Fix api description for Users#getDisabledUsers
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 14:50:12 +02:00
Côme Chilliet 2b7d01a619 Merge pull request #40829 from nextcloud/fix/fix-dynamic-property-in-core-tests
Fix Dynamic property timeFactory in ClientFlowLoginControllerTest
2023-10-09 14:48:24 +02:00
Christoph Wurst f398d0b5a3 fix: Log critical session renewal and logout paths
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-09 13:21:10 +02:00
Alexander Piskun 4e8ec0bc36 Merge pull request #40737 from nextcloud/cors-app_api
added CORS skip if the session was created by AppAPI
2023-10-09 13:40:29 +03:00
max-nextcloud 9e3dbbdcb5 Merge pull request #40770 from nextcloud/fix/cypress-on-branches
fix(cypress): empty group, tag and ci-build-id when not using cypress cloud
2023-10-09 12:33:34 +02:00
Côme Chilliet 61da2b97d0 Generated openapi.json
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 12:04:35 +02:00
Côme Chilliet cac3d465f0 Remove psalm @var annotations which should not be needed
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 12:04:35 +02:00
Côme Chilliet a1255539b8 Add endpoint for getting disabled user list
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 12:04:35 +02:00
Daniel Hansson 06efe9f211 Merge pull request #40731 from nextcloud/imaginary-performance
Generate all preview sizes for Imaginary
2023-10-09 11:54:03 +02:00
Max a6d2b20579 fix(cypress): runs on integration branches
Empty `group`, `tag` and `ci-build-id` when `record` is false.
When not using cypress cloud these need to be empty.

Note that cypress expects strings for group and tag.
Therefore `false` will be interpreted as `"false"`.
Use an empty string instead.

Signed-off-by: Max <max@nextcloud.com>
2023-10-09 11:49:21 +02:00
Côme Chilliet ee39a47e84 Fix Dynamic property timeFactory in ClientFlowLoginControllerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 10:30:54 +02:00
Alexander Piskun 6ef3875e74 Merge branch 'master' into cors-app_api 2023-10-09 11:24:04 +03:00
Louis cad745b0d6 Merge pull request #40805 from nextcloud/dependabot/npm_and_yarn/types/dockerode-3.3.20
chore(deps-dev): Bump @types/dockerode from 3.3.19 to 3.3.20
2023-10-09 10:21:13 +02:00
Joas Schilling f84a93f435 Merge pull request #40472 from nextcloud/fix/aborted_pgsql_transaction_on_error
fix(twofactor): avoid DB error on Twofactor (en/dis)abled event
2023-10-09 09:04:24 +02:00
Joas Schilling ae54cc05aa fix(CI): Fix server setup in cypress by overwriting all files in shallow-server
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-09 08:40:12 +02:00
Daniel Hansson 6e171bbaf5 Merge branch 'master' into imaginary-performance 2023-10-09 07:29:58 +02:00
Nextcloud bot 6f722119f7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-09 00:28:34 +00:00
Nextcloud bot 3008f7cadc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-08 00:29:22 +00:00
Shreyash Kashyap 121d3d4c15 Update README.md
Signed-off-by: Shreyash Kashyap <76607993+SYK-08@users.noreply.github.com>
2023-10-07 13:12:53 +05:30
Grigorii K. Shartsev f2572ebece Merge pull request #40294 from nextcloud/fix/37087/new-comment-description
fix(comments): move new comment instructions placeholder to description
2023-10-07 12:01:33 +05:00
Grigorii K. Shartsev 0ce5a34afc chore(assets): Re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-07 08:45:53 +02:00
Grigorii K. Shartsev be8d9042b5 fix(comments): move new comment instructions placeholder to description
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-07 08:45:53 +02:00
dependabot[bot] 50a930fb17 chore(deps-dev): Bump @types/dockerode from 3.3.19 to 3.3.20
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.19 to 3.3.20.
- [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-10-07 01:25:09 +00:00
Pytal 597965145c Merge pull request #40692 from nextcloud/deps/nextcloud/vue-8.0.0-beta.7 2023-10-06 15:32:38 -07:00
Christopher Ng ca43254b93 fix(ci): Update dav snapshot
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-06 14:48:51 -07:00
Christopher Ng 4f1751f51c chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-06 14:43:01 -07:00
Christopher Ng 744a7e291a fix(acceptance): Locate contacts menu button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-06 14:40:33 -07:00
Christopher Ng 675feb9cf3 chore: Adapt to breaking DateTime rename
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-06 14:40:33 -07:00
Christopher Ng 44ddd918d1 chore: Bump @nextcloud/vue + @nextcloud/dialogs + @nextcloud/calendar-availability-vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-06 14:40:32 -07:00
Simon L 4ad5a18afb fix double heading
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-10-06 17:57:39 +02:00
Simon L e5b11ced4a address review
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-10-06 16:22:02 +02:00
Joas Schilling 71cd97c37f Merge pull request #38556 from nextcloud/techdebt/noid/doctrine/dbal-to-3.6.2
chore(deps): Bump doctrine/dbal to 3.7.x
2023-10-06 16:21:07 +02:00
Joas Schilling 570159e610 fix(DB): Update comment to state why we still use the max 4k limit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:27 +02:00
Joas Schilling ccb01b19a0 fix(sqlite): Remove some old SQLite cheats
- Doctrine correctly forces integer for autoincrement by now
- Doctrine correctly maintains integer types by now

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:27 +02:00
Joas Schilling f8ee6c4769 fix(oracle): Move away from internal and deprecated SchemaDiff API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:26 +02:00
Joas Schilling 919207873e fix(dbal): Move migrator away from deprecated calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:26 +02:00
Joas Schilling 160298c556 fix(mysql): Remove custom MySQL workaround from 2015
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:25 +02:00
Joas Schilling b202b139dd fix(postgres): Remove old Postgres 9.4 workaround
Postgres 10 is the minimum in the meantime
and doctrine/dbal fixed this in 2.6.0 already
ref https://github.com/doctrine/dbal/pull/2614

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:25 +02:00
Joas Schilling ad839dbb0a fix(sqlite): Remove no longer required autoincrement fix
- I installed current master and exported the schema as SQL
- Then I went to this branch, removed the content of the run() method (so made it no-op)
- I installed again and exported the schema as SQL
- The files are exactly the same, so whatever we tried to fix was fixed since 2015 in doctrine dbal

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:25 +02:00
Joas Schilling 00acf1bae1 feat(CI): Add a stub for SensitiveParameter, so Psalm is not failing on Doctrine/DBAL
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:24 +02:00
Joas Schilling c4ed7f9d21 fix(dbal): Doctrine\DBAL\Connection::PARAM_* types are deprecated
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:24 +02:00
Joas Schilling 18d672c38f chore(deps): Bump doctrine/dbal to supported 3.7.0
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:23 +02:00
Alexander Piskun 0b8a3b578d fixed Drone test
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-10-06 13:46:37 +03:00
Benjamin Gaussorgues 4361019f2f fix(twofactor): avoid error in pgsql for duplicate entry
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-10-06 11:23:23 +02:00
Matthieu Gallien d061e05b08 Merge pull request #40563 from nextcloud/updateCrl
Update crl after revoke mfazones.csr
2023-10-06 09:57:52 +02:00
Christoph Wurst 0e58d4a52f Merge pull request #40795 from nextcloud/fix/user/log-app-token-login-name-mismatch-user
fix(user): Log affected user of app token login name mismatch
2023-10-06 09:57:18 +02:00
Matthieu Gallien 74089f9d11 Update crl after revoke mfazones.csr
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-10-06 09:35:58 +02:00
Christoph Wurst 83a30dfbdf fix(user): Log affected user of app token login name mismatch
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-06 08:51:50 +02:00
Pytal 649990ee8b Merge pull request #40719 from nextcloud/enh/a11y/semantic-user-table 2023-10-05 17:31:08 -07:00
Nextcloud bot 4016c7a1be Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-06 00:26:17 +00:00
Christopher Ng 091b3e0586 fix(cypress): User table create/delete tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 -07:00
Christopher Ng 95a7925dc9 fix(cypress): User table disable/enable tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 -07:00
Christopher Ng 37fa4efdae fix(cypress): User table modify tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 -07:00
Christopher Ng 8a31efb644 fix(cypress): User table column tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 -07:00
Christopher Ng 14cb7b926c chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 -07:00
Christopher Ng d655f2a3b9 enh(settings): Semantic user table markup
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:49:24 -07:00
Simon L 6439fdf5b6 Move inline docs to online documentation
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-10-05 15:42:47 +02:00
Julien Veyssier b4fec29e8e Merge pull request #40766 from nextcloud/enh/noid/oauth2-code-expiration
Make OAuth2 authorization code expire
2023-10-05 15:16:02 +02:00
Julien Veyssier d56950a6c9 adjust phpdoc types in OauthApiController
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:03 +02:00
Julien Veyssier 98c8a465b0 update OpenAPI specs
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:03 +02:00
Julien Veyssier da63d3c27b update autoload files
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier d2bc483adf adjust oauth app
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier 32f984c520 adjust oauth tests
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier c6da99474e rename oauth2_access_token's created_at to code_created_at
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier e944980eb6 add db index on oauth2_access_tokens's (token_count, created_at)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier ddfc124767 add test for refusing to get an oauth token from a code when we're not in authorization state
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier 779e1d51ac delete oauth access token when receiving a code that has expired
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier 1ab45bad5d refuse oauth authorization code if a token has already been delivered (active token)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier 7bba410997 cleanup access tokens that are still in authorization state and that have expired
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier 2995b0948f add tests for oauth2 authorization code expiration
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier 807f173dec make oauth2 authorization code expire after 10 minutes
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Christoph Wurst f3f2d9b978 Merge pull request #40764 from nextcloud/chore/eslint-no-external-apps
chore: Do not lint external apps
2023-10-05 10:38:53 +02:00
Arthur Schiwon 6200c914a3 Merge pull request #40745 from nextcloud/fix/noid/ocm-provider-rewrite-rules
fix ocm-provider rewrite rules
2023-10-05 10:24:02 +02:00
Nextcloud bot a309d26687 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-05 00:40:35 +00:00
Pytal ce1c9730dd Merge pull request #40771 from nextcloud/fix/37098/migrate-to-nc-icon-svg-wrapper 2023-10-04 17:15:23 -07:00
Ferdinand Thiessen a3657edb19 Merge pull request #40768 from nextcloud/fix/37098/dashboard-duplicated-ids
fix(dashboard): remove duplicated IDs on the dashboard page
2023-10-04 23:52:57 +02:00
Grigorii K. Shartsev 5d33380178 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-04 20:24:55 +02:00
Grigorii K. Shartsev 8cc21f50c1 fix(files): migrate from CustomSvgIconrenderer to NcIconSvgWrapper
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-04 20:24:54 +02:00
Julia Kirschenheuter 7641af5a5b Merge pull request #40662 from nextcloud/fix-37080_correct_aria_label_text_on_action_inputs
Correct `aria-label` on action input and text field
2023-10-04 18:14:06 +02:00
nextcloud-command e1bda0ad8f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-04 15:29:21 +00:00
John Molakvoæ ff9be6b20a Merge pull request #40515 from nextcloud/fix/redirect-if-wrong-dir 2023-10-04 16:37:25 +02:00
Grigorii K. Shartsev 9ffd5a3402 chore: build assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-04 16:22:51 +02:00
Grigorii K. Shartsev c4684c8ec5 fix(dashboard): remove duplicated IDs
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-04 16:19:38 +02:00
julia.kirschenheuter 1431b0dd27 Correct aria-label on action input and text field
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-04 14:28:28 +02:00
Daniel Hansson 9cc0117c18 Merge branch 'master' into imaginary-performance 2023-10-04 13:25:40 +02:00
John Molakvoæ (skjnldsv) b05719c8e9 fix: redirect to proper directory if file not found
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-10-04 11:29:05 +02:00
John Molakvoæ 529bce24b4 Merge pull request #40585 from nextcloud/fix/illegal-characters 2023-10-04 11:27:35 +02:00
John Molakvoæ (skjnldsv) dbeb526bba fix(files): disallow illegal characters
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-10-04 11:12:44 +02:00
Daniel Hansson d8e8e73c02 Merge branch 'master' into imaginary-performance 2023-10-04 11:00:47 +02:00
Joas Schilling c88b02abff Merge pull request #40660 from nextcloud/bugfix/noid/fix-missing-user-status-on-autocomplete-api
fix(autocomplete): Fix missing user status on autocomplete endpoint
2023-10-04 10:12:14 +02:00
John Molakvoæ 4756807f2e Merge pull request #40439 from Koc/feature/clickable-logo 2023-10-04 08:49:25 +02:00
John Molakvoæ 3f725824b1 Merge pull request #40756 from nextcloud/fix/encoded-source 2023-10-04 08:48:48 +02:00
John Molakvoæ d591510253 fix(files): legacy humanFileSize tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-04 08:44:57 +02:00
Christoph Wurst 837b296288 chore: Do not lint external apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-04 07:30:30 +02:00
Nextcloud bot cf6e9a19c4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-04 00:26:58 +00:00
Konstantin Myakshin 41370350f2 Make logo in header clickable in the shared file view
Signed-off-by: Konstantin Myakshin <molodchick@gmail.com>
2023-10-04 00:36:10 +03:00
John Molakvoæ d79e26b25a fix(files): encoded source path on actions requests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-03 18:11:03 +02:00
Maxence Lange a250250985 Update .htaccess
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-10-03 14:19:44 -01:00
Julien Veyssier 8f30f97642 Merge pull request #40752 from nextcloud/enh/40654/share-creation-loading-feedback
Show loading icon in 'save share' button when creating a share
2023-10-03 15:31:45 +02:00
Julien Veyssier 217a2a114d compile assets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-03 12:32:28 +00:00
Julien Veyssier 03cb99aff3 show loading icon in 'save share' button when creating a share
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-03 13:55:02 +02:00
Christoph Wurst fdb7fe25bf Merge pull request #39114 from fsamapoor/refactor_lib_private_collaboration_part2
[2/2] Refactors lib/private/Collaboration
2023-10-03 13:47:18 +02:00
Louis cc1da88547 Merge pull request #40751 from nextcloud/dependabot/npm_and_yarn/core-js-3.33.0
chore(deps): Bump core-js from 3.32.0 to 3.33.0
2023-10-03 11:19:24 +02:00
dependabot[bot] 0316048271 chore(deps): Bump core-js from 3.32.0 to 3.33.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.32.0 to 3.33.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.33.0/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  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-10-03 08:55:09 +00:00
John Molakvoæ bdf1bfb954 Merge pull request #40748 from nextcloud/chore/remove-nextcloud-vue-dashboard 2023-10-03 10:23:30 +02:00
Faraz Samapoor a304ba5b5a Refactors lib/private/Collaboration.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-10-03 09:17:10 +03:30
Nextcloud bot 4d227c195f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-03 00:26:05 +00:00
F. E Noel Nfebe 8c2ff08fb7 Merge pull request #40629 from nextcloud/40438-sharing-cleanup
Updates to new sharing flow
2023-10-02 19:26:53 +01:00
Grigorii K. Shartsev d9c9b12d22 chore(deps): remove @nextcloud/vue-dashboard
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-02 19:04:42 +02:00
Maxence Lange 39c39a0f60 fix ocm-provider rewrite rules
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-10-02 14:38:10 -01:00
Christoph Wurst cd1d980fbd Merge pull request #40678 from nextcloud/chore/phpunit-vendor-bin
chore: Install phpunit via vendor bin
2023-10-02 15:30:54 +02:00
fenn-cs 0537bbd331 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-02 11:29:04 +00:00
fenn-cs a092bae720 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-02 11:59:10 +01:00
max-nextcloud 5ddffcb7b4 Merge pull request #40736 from nextcloud/test/cypress-record-in-prs-only
test(cypress): only use the cypress cloud on pull requests
2023-10-02 12:56:01 +02:00
Louis 09d0ae1308 Merge pull request #40738 from nextcloud/fix/remove-uneeded-class_app_navigation_caption
Remove unneeded class
2023-10-02 11:45:04 +02:00
Christoph Wurst 0e64ec6550 chore: Install phpunit via vendor bin
This means we can all run the same version. And when switching to
stableX it can pull the corresponding version too. Also local dev envs
and CI run the same phpunit.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-02 11:33:14 +02:00
Christoph Wurst 0cb489d6ca Merge pull request #40656 from nextcloud/feat/backgroundjob/schedule-job-after
feat(backgroundjob): Schedule job after <timestamp>
2023-10-02 11:30:21 +02:00
Max 716d1a2d76 test(cypress): only use the cypress cloud on pull requests
* Disable recording on integration branches.
* No parallelization on integration branches.

This will still run the cypress tests - but a bit slower and without recordings.

The matrix syntax to enable this is somewhat hard to parse.
In case of a PR the matrix will contain one entry for use-cypress-cloud
with the value `true`. Otherwise it will have one entry `false`.

This way we can exclude containers for the case without the cypress cloud.

Signed-off-by: Max <max@nextcloud.com>
2023-10-02 11:14:23 +02:00
Daniel Hansson 2792c9e4ce Merge branch 'master' into imaginary-performance 2023-10-02 10:55:09 +02:00
Daniel Hansson da2aad598e also remove function
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
2023-10-02 10:54:36 +02:00
julia.kirschenheuter 5d9abce58c Remove unneeded class
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-02 10:32:04 +02:00
Alexander Piskun f16c9f42c6 added CORS skip if session was created by AppAPI
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-10-02 11:08:21 +03:00
Côme Chilliet 9ebcd287ef Merge pull request #37201 from AaronDewes/fix/ldap-filter-generation
Fix: Escape group names for LDAP
2023-10-02 09:49:22 +02:00
Nextcloud bot 3622af9b43 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-02 00:25:52 +00:00
Daniel 676bee16eb Merge pull request #40734 from nextcloud/debt/noid/align-param-name 2023-10-01 12:16:33 +02:00
Nextcloud bot 645002a1be Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-01 00:26:09 +00:00
Daniel 83cbd9c307 Merge pull request #40630 from nextcloud/enh/enable-php-8.3 2023-10-01 00:20:16 +02:00
Daniel Kesselberg 7e0ed6b636 ci: clear disable_functions to enable pcntl_signal
When using ini-file development then disable_functions forbids pcntl_signal by default.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-30 22:52:57 +02:00
Côme Chilliet 5586f2d4c4 Use latest shivammathur/setup-php in phpunit-32bits.yml
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-30 22:52:57 +02:00
Côme Chilliet e20ba1cab1 Add 8.3 to lint CI and 32bits test suite
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-30 22:52:57 +02:00
Côme Chilliet 796bf329b6 Adding ini-file:development to 32bit CI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-30 22:52:57 +02:00
Côme Chilliet 1daa881b03 Allow PHP 8.3 in version check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-30 22:52:57 +02:00
Daniel Kesselberg 19ec0ee81b chore: rename serializedClosure to argument to align with parent class
To make psalm happy ;)

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-30 22:46:32 +02:00
Daniel ee590ab5a9 Merge pull request #40709 from nextcloud/fix/ldap-profile-pic-resolution-master 2023-09-30 22:43:11 +02:00
Daniel Hansson b2d105e7ec 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-09-30 20:08:35 +02:00
dependabot[bot] d4d48f7c1b chore(deps-dev): Bump cypress and @nextcloud/cypress
Bumps [cypress](https://github.com/cypress-io/cypress) and [@nextcloud/cypress](https://github.com/nextcloud/nextcloud-cypress). These dependencies needed to be updated together.

Updates `cypress` from 12.17.4 to 13.3.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.17.4...v13.3.0)

Updates `@nextcloud/cypress` from 1.0.0-beta.2 to 1.0.0-beta.6
- [Release notes](https://github.com/nextcloud/nextcloud-cypress/releases)
- [Commits](https://github.com/nextcloud/nextcloud-cypress/compare/v1.0.0-beta.2...v1.0.0-beta.6)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: "@nextcloud/cypress"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-30 01:22:51 +00:00
Nextcloud bot d215d80916 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-30 00:25:53 +00:00
Christoph Wurst 94430ed3de Merge pull request #40564 from nextcloud/fix/userstatus/message-timestamp
fix(userstatus): Track message timestamp too
2023-09-29 19:51:54 +02:00
Joas Schilling 3c0c1cbf6e Merge pull request #40714 from nextcloud/bugfix/noid/sensitive-onlyoffice
fix(systemreport): Mask onlyoffice secret as sensitive
2023-09-29 17:31:28 +02:00
Joas Schilling 6c0b862e75 fix(systemreport): Mask onlyoffice secret as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-29 16:36:19 +02:00
Marcel Klehr 7f5b61c66d 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-09-29 13:48:06 +02:00
Marcel Klehr 66f6e94d7d LDAP: Increase profile picture limit to 512
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-09-29 12:47:48 +02:00
Christoph Wurst 04ecc2a6a9 feat(backgroundjob): Schedule job after <timestamp>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-29 10:29:40 +02:00
Christoph Wurst fbdf733be0 fix(userstatus): Track message timestamp too
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-29 09:55:19 +02:00
Julia Kirschenheuter f8f437072a Merge pull request #40576 from nextcloud/fix/36915-_The_page_only_has_one_h1_heading
Split list to navigation for the left sidebar
2023-09-29 08:38:14 +02:00
Christoph Wurst cfda046260 Merge pull request #40644 from nextcloud/fix/noid/encode-uri-trashbin-restore-files-delete-favorite
fix: encode uri for delete, restore and favorite
2023-09-29 08:29:02 +02:00
F. E Noel Nfebe db6a53b0a1 Merge pull request #39224 from shdehnavi/null_coalescing_conversion_lib_private
Convert isset ternary to null coalescing operator
2023-09-29 02:20:12 +01:00
Nextcloud bot 703f20b5bc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-29 00:25:29 +00:00
Daniel Kesselberg 4f7032475e fix: encode uri for delete, restore and favorite
To encode # and other characters properly

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-28 20:36:22 +02:00
julia.kirschenheuter 5693092053 Split list to navigation for the left sidebar
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-28 18:18:40 +02:00
Christoph Wurst f174e4a057 Merge pull request #40675 from nextcloud/fix/unifiedsearch/search-0
fix(unifiedsearch): Allow searching for "0"
2023-09-28 17:18:37 +02:00
John Molakvoæ 2080d9d953 Merge pull request #40677 from nextcloud/fix/wcag-files 2023-09-28 17:05:17 +02:00
Hamid Dehnavi ea06cf2f39 Convert isset ternary to null coalescing operator
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-28 17:44:19 +03:30
John Molakvoæ 87ef6e47f2 fix(files): pass WCAG AA for hover rows
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-28 13:55:01 +00:00
Louis 45cac16432 Merge pull request #39131 from fsamapoor/refactor_lib_files_external_commands
Refactors files_external app commands
2023-09-28 14:39:49 +02:00
Joas Schilling a7018bc5e8 fix(autocomplete): Fix missing user status on autocomplete endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-28 14:02:18 +02:00
F. E Noel Nfebe c5293bb9db Merge pull request #40430 from nextcloud/enh/a11y/share-note-label
enh(a11y): Add label to share note textbox
2023-09-28 12:54:08 +01:00
Christoph Wurst 1a1514e296 Merge pull request #39225 from shdehnavi/null_coalescing_conversion_apps
Convert isset ternary to null coalescing operator
2023-09-28 11:39:23 +02:00
John Molakvoæ cdd07904de Merge pull request #40583 from nextcloud/feat/button-mtime 2023-09-28 10:56:51 +02:00
Côme Chilliet c9ed1e981b Merge pull request #40617 from nextcloud/enh/allow-user-to-set-apporder
Read apporder from configuration value
2023-09-28 10:55:52 +02:00
Christoph Wurst dbd666e82b fix(unifiedsearch): Allow searching for "0"
empty("0") evaluates to true

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-28 10:53:07 +02:00
Hamid Dehnavi d64bbc8bd3 Convert isset ternary to null coalescing operator
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-28 12:18:41 +03:30
Côme Chilliet 99e287b49a Merge pull request #39011 from fsamapoor/refactor_lib_private_security_part1
[1/3] Refactors lib/private/Security
2023-09-28 10:38:38 +02:00
John Molakvoæ 456aea8042 Merge pull request #39236 from shdehnavi/refactor_comments_app 2023-09-28 09:27:12 +02:00
Côme Chilliet 8049702413 Fix behavior when defaultapp is empty
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-28 09:22:54 +02:00
Hamid Dehnavi 92b75bc798 Make adjustments based on the review
Co-authored-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-28 09:16:03 +03:30
Hamid Dehnavi 878288004e Refactor comments app
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-28 09:16:03 +03:30
Faraz Samapoor eab7818f0e Adds parameter type hints.
Co-authored-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-09-28 09:02:10 +03:30
Faraz Samapoor 32838d8f0a Refactors files_external app commands.
To improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-09-28 09:02:10 +03:30
Christopher Ng 39adf3a4ab chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-27 17:39:38 -07:00
Christopher Ng eacde86693 enh(a11y): Add label to share note textbox
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-27 17:39:38 -07:00
Nextcloud bot c2e4a7be92 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-28 00:27:56 +00:00
Christoph Wurst bcda3314ed Merge pull request #39213 from shdehnavi/replace_strpos_and_substr_calls_in_federatedfilesharing_app
Refactor "strpos" and "substr" calls in federatedfilesharing app to improve code readability
2023-09-27 20:32:19 +02:00
Christoph Wurst dd3cd29224 Merge pull request #39175 from shdehnavi/settings_app_users_controller_square_bracket_syntax
use square bracket syntax to modify array
2023-09-27 20:31:11 +02:00
Hamid Dehnavi 11447334e5 Refactors "strpos" and "substr" calls to improve code readability
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-27 20:37:51 +03:30
Joas Schilling f934d23cf2 Merge pull request #40651 from nextcloud/refactor/dbal-connection-query-execute-query
refactor: Use DBAL's executeQuery instead of query (deprecated)
2023-09-27 14:40:15 +02:00
Kate 69a050991b Merge pull request #40649 from nextcloud/fix/openapi/ocs-apirequest-header
Fix OCS-APIRequest header for OpenAPI
2023-09-27 11:29:35 +02:00
Christoph Wurst 6b90ab1953 refactor: Use DBAL's executeQuery instead of query (deprecated)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-27 10:43:42 +02:00
John Molakvoæ (skjnldsv) 25e500bbf4 feat(files): properly format buttons, align mtime to the left and apply opacity based on file last modification
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-27 10:39:33 +02:00
jld3103 d7926807ea Fix OCS-APIRequest header for OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-27 10:22:20 +02:00
Kate f134244c90 Merge pull request #40502 from nextcloud/fix/openapi/single-status-descriptions
Add single status code descriptions for OpenAPI
2023-09-27 09:18:25 +02:00
John Molakvoæ 6fb5f97abc Merge pull request #40604 from nextcloud/fix/dnd/open-fileid 2023-09-27 08:53:04 +02:00
John Molakvoæ 5dcefad91f Merge pull request #40065 from nextcloud/bugfix/files/navigation-api 2023-09-27 08:33:34 +02:00
Christoph Wurst 0a20b5de74 Merge pull request #36742 from fsamapoor/patch-1
Refactors tests/app.php to improve code readability.
2023-09-27 08:32:29 +02:00
John Molakvoæ 8e9e222105 fix(files): open folder fileid while navigating without opening the sidebar
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-27 08:29:50 +02:00
jld3103 c2d45cb172 Add single status code descriptions for OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-27 08:05:21 +02:00
Faraz Samapoor c322224650 Refactors tests/app.php to improve readaibility.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-09-27 09:10:47 +03:30
Faraz Samapoor f313ca92e7 Refactors lib/private/Security.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-27 09:03:15 +03:30
Nextcloud bot 912b18b1fc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-27 00:26:53 +00:00
nextcloud-command 360ae111d8 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-26 19:47:57 +00:00
Max 27bcef72e0 fix(files): use OC.Files.getClient()
`OCA.Files.App.fileList` is not initiated anymore.

Signed-off-by: Max <max@nextcloud.com>
2023-09-26 21:37:45 +02:00
Max 7ba6409270 fix(files): do not include scripts for merge-index
Signed-off-by: Max <max@nextcloud.com>
2023-09-26 21:37:45 +02:00
John Molakvoæ d395fa862b Merge pull request #39998 from nextcloud/feat/f2v/dnd 2023-09-26 20:33:11 +02:00
John Molakvoæ (skjnldsv) e3b2af4d9c fix(files): preview loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-26 20:22:10 +02:00
John Molakvoæ f9d2e3af0c feat(files): add move or copy action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-26 20:15:59 +02:00
John Molakvoæ 16094c7db5 feat(files): add drag and drop support
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-26 20:15:59 +02:00
John Molakvoæ 4621198744 feat(files): add folder icon overlay
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-26 20:15:59 +02:00
Christoph Wurst 09a9c3ca3d Merge pull request #40639 from nextcloud/chore/drop-vendored-composer
chore: Drop vendored Composer v2.4.1
2023-09-26 19:41:59 +02:00
Côme Chilliet 740b38be2b Merge pull request #39108 from fsamapoor/refactor_lib_private_lock
Refactors lib/private/Lock
2023-09-26 16:58:37 +02:00
Côme Chilliet b11eb9e6d6 Fix and extend NavigationManagerTest.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-26 16:21:22 +02:00
Christoph Wurst 91959c99c1 Merge pull request #40614 from nextcloud/fix/userstatus/migration-version-number
fix(userstatus): Sync migration version number with app version
2023-09-26 15:46:48 +02:00
Arthur Schiwon 2397e835e6 Merge pull request #40584 from nextcloud/fix/correct-37082-replace_input_on_security_page
Correct value for device name input field
2023-09-26 15:16:04 +02:00
Côme Chilliet 2d28e8110f Fix and extend tests for AppManager::getDefaultAppForUser
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-26 14:59:05 +02:00
Côme Chilliet a4a3d94f05 Default to first application if no default app is set
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-26 14:40:14 +02:00
Côme Chilliet 6083d32a80 Revert "Support admin default order for applications"
This reverts commit a3a42591e2.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-26 14:22:57 +02:00
Louis e08fc29c44 Merge pull request #40619 from nextcloud/artonge/fix/l10n_id_in_files_versions
Use proper app id in Version.vue
2023-09-26 14:15:45 +02:00
Christoph Wurst be902d644d chore: Drop vendored Composer v2.4.1
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-26 13:18:38 +02:00
Christoph Wurst cf3fadc707 fix(userstatus): Sync migration version number with app version
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-26 13:11:32 +02:00
Côme Chilliet 3a56ecc8cb Merge pull request #40565 from nextcloud/fix/remove-writelog
Remove deprecated methods Util::writeLog and DIContainer::log
2023-09-26 12:09:21 +02:00
Julia Kirschenheuter f18e73137c Merge pull request #40613 from nextcloud/fix/36966-remove_unneeded_opacity_for_action_button
Remove unneeded opacity for action button
2023-09-26 10:20:39 +02:00
Côme Chilliet 7be31d4d68 Merge pull request #40541 from nextcloud/fix/dav/expand-recurrences-in-search
fix(dav): expand recurrences when searching
2023-09-26 09:47:53 +02:00
Faraz Samapoor 40d9349a2d Refactors lib/private/Lock.
To improve code readability.

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-26 10:48:17 +03:30
Joas Schilling d5a8a97c07 Merge pull request #40622 from nextcloud/bugfix/40410/ignore-default-source.svg-from-optimization
fix(build): Ignore `default-source.svg` from image optimization
2023-09-26 09:14:28 +02:00
F. E Noel Nfebe 09b1c85245 Merge pull request #40533 from nextcloud/40493-auto-suggest-password
Auto set password for new email shares
2023-09-26 08:05:17 +01:00
Joas Schilling 23a2e3424b Merge pull request #40620 from nextcloud/feat/noid/ocp-for-phonenumber-util
feat(phonenumber): Add OCP wrapper for PhoneNumber utils library
2023-09-26 08:59:43 +02:00
fenn-cs a3613350f6 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>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-26 06:06:27 +00:00
Nextcloud bot 2288e8e571 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-26 00:28:08 +00:00
dependabot[bot] c10b2ad631 Merge pull request #40496 from nextcloud/dependabot/npm_and_yarn/vue/vue2-jest-29.2.6 2023-09-25 16:21:07 +00:00
Joas Schilling 3b4c306860 fix(phonenumber): Improve docs by adding input details
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 17:32:47 +02:00
julia.kirschenheuter c401b048cc Correct value for device name input field
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-25 17:11:50 +02:00
dependabot[bot] 80ff909a30 chore(deps-dev): Bump @vue/vue2-jest from 29.2.4 to 29.2.6
Bumps [@vue/vue2-jest](https://github.com/vuejs/vue-jest) from 29.2.4 to 29.2.6.
- [Release notes](https://github.com/vuejs/vue-jest/releases)
- [Commits](https://github.com/vuejs/vue-jest/compare/v29.2.4...v29.2.6)

---
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-09-25 14:45:14 +00:00
Louis 5821f884e8 Merge pull request #39835 from nextcloud/dependabot/npm_and_yarn/vue/vue2-jest-29.2.5
chore(deps-dev): Bump @vue/vue2-jest from 29.2.4 to 29.2.5
2023-09-25 16:44:04 +02:00
julia.kirschenheuter 33c022b875 Remove unneeded opacity for action button
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-25 16:42:55 +02:00
Joas Schilling 625d9bd47c fix(build): Ignore default-source.svg from image optimization
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 16:40:03 +02:00
Côme Chilliet dc347b39c1 Merge pull request #40501 from nextcloud/fix/fix-int-size-in-files-scanner
Store size in int|float for 32bit support
2023-09-25 16:32:32 +02:00
Joas Schilling abeebd2f94 Merge pull request #40562 from nextcloud/style/config-php-space-indent
style: Fix editorconfig indent for config/*config.php
2023-09-25 16:26:40 +02:00
Joas Schilling 0956b493b6 fix(phonenumber): Use the newly introduced API to limit 3rdparty lib usage
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 15:54:21 +02:00
Côme Chilliet a3a42591e2 Support admin default order for applications
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-25 15:43:04 +02:00
Louis Chemineau 33d0adf96c Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-25 15:37:02 +02:00
Joas Schilling 5092278b0f feat(phonenumber): Add OCP wrapper for PhoneNumber utils library
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 15:33:09 +02:00
Louis Chemineau 58bb9820e5 Use proper app id in Version.vue
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-25 15:23:00 +02:00
dependabot[bot] da4d5c3a22 chore(deps-dev): Bump @vue/vue2-jest from 29.2.4 to 29.2.5
Bumps [@vue/vue2-jest](https://github.com/vuejs/vue-jest) from 29.2.4 to 29.2.5.
- [Release notes](https://github.com/vuejs/vue-jest/releases)
- [Commits](https://github.com/vuejs/vue-jest/compare/v29.2.4...v29.2.5)

---
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-09-25 15:19:34 +02:00
Côme Chilliet ac19ba9c66 Read apporder from configuration value
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-25 15:02:23 +02:00
Côme Chilliet bbfa9d1440 Merge pull request #40505 from nextcloud/chore/noid/remove-opis-closure
chore(3rdparty): remove opis/closure
2023-09-25 11:03:10 +02:00
Côme Chilliet f68d4f7300 Remove deprecated methods Util::writeLog and DIContainer::log
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-25 10:37:12 +02:00
Julia Kirschenheuter 8a65cf44cb Merge pull request #40552 from nextcloud/fix/37082-add_label_for_input_fields
Add labels for input fields
2023-09-25 09:34:48 +02:00
Nextcloud bot 4ed4ffa4c9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-25 00:29:47 +00:00
Ferdinand Thiessen 6fc656470e Merge pull request #40598 from nextcloud/dependabot/npm_and_yarn/marked-9.0.3
chore(deps): Bump marked from 7.0.3 to 9.0.3
2023-09-24 23:36:38 +02:00
Ferdinand Thiessen 17006cb56c chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-09-24 15:24:56 +02:00
dependabot[bot] a75efa7901 chore(deps): Bump marked from 7.0.3 to 9.0.3
Bumps [marked](https://github.com/markedjs/marked) from 7.0.3 to 9.0.3.
- [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/v7.0.3...v9.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-24 15:19:51 +02:00
dependabot[bot] 6cf9af19d1 Merge pull request #40452 from nextcloud/dependabot/npm_and_yarn/nextcloud/dialogs-5.0.0-beta.4 2023-09-24 13:11:28 +00:00
dependabot[bot] 02de7ffd78 chore(deps): Bump @nextcloud/dialogs from 5.0.0-beta.2 to 5.0.0-beta.4
Bumps [@nextcloud/dialogs](https://github.com/nextcloud-libraries/nextcloud-dialogs) from 5.0.0-beta.2 to 5.0.0-beta.4.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-dialogs/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-dialogs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-dialogs/compare/v5.0.0-beta.2...v5.0.0-beta.4)

---
updated-dependencies:
- dependency-name: "@nextcloud/dialogs"
  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-09-24 14:30:20 +02:00
dependabot[bot] 285378bee5 Merge pull request #40054 from nextcloud/dependabot/npm_and_yarn/jquery-3.7.0 2023-09-24 12:23:15 +00:00
Nextcloud bot c2b879e64e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-24 00:27:57 +00:00
dependabot[bot] 46ac0d523d chore(deps): Bump jquery from 3.6.4 to 3.7.0
Bumps [jquery](https://github.com/jquery/jquery) from 3.6.4 to 3.7.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.6.4...3.7.0)

---
updated-dependencies:
- dependency-name: jquery
  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-09-23 15:07:10 +00:00
Kate 3c5d8410fa Merge pull request #40575 from nextcloud/fix/openapi/core/ocm
core: Fix OCM OpenAPI
2023-09-23 13:28:24 +02:00
jld3103 c72ca72cde core: Fix OCM OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-23 13:00:58 +02:00
John Molakvoæ b6f13cb2d9 Merge pull request #40589 from nextcloud/ci/noid/skip-cypress-download 2023-09-23 11:46:21 +02:00
Nextcloud bot d1f3d84ed1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-23 00:27:56 +00:00
Daniel Kesselberg beb0b34eb9 ci: skip cypress install
Unecessary to download the cypress binary if we don't run cypress

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-22 17:41:57 +02:00
Daniel Kesselberg 97a024f035 chore(3rdparty): remove opis/closure
- We are using laravel/serializable-closure for a while now.
- The package was there for compatibility reasons but does not play nice with PHP 8.1.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-22 17:16:20 +02:00
Robin Appelman 7fecdf6129 Merge pull request #39113 from fsamapoor/refactor_lib_private_collaboration_part1
[1/2] Refactors lib/private/Collaboration
2023-09-22 11:18:29 +02:00
Robin Appelman 6b767e060a Merge pull request #39013 from fsamapoor/refactor_lib_private_security_part3
[3/3] Refactors lib/private/Security
2023-09-22 11:13:44 +02:00
Robin Appelman b6927d0fa3 Merge pull request #39075 from fsamapoor/refactor_lib_private_profile
Refactors lib/private/Profile.
2023-09-22 11:10:42 +02:00
julia.kirschenheuter ea881fee2f Add labels for input fields
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-22 10:46:46 +02:00
Joas Schilling 26ad0a1b9c Merge pull request #40574 from nextcloud/techdebt/noid/allow-phpunit10
feat(CI): Allow apps to test with PHPUnit10
2023-09-22 08:45:19 +02:00
Nextcloud bot c63ef4a2d5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-22 00:32:00 +00:00
Richard Steinmetz ace08819f9 fix(dav): expand recurrences when searching
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-09-21 23:28:35 +02:00
Joas Schilling 5e7b41086d feat(CI): Allow apps to test with PHPUnit10
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-21 21:32:15 +02:00
Joas Schilling 3b6a9cd236 Merge pull request #40288 from nextcloud/feat/appframework/rate-limiter
feat(appframework): Expose programmatic rate limiter
2023-09-21 18:49:44 +02:00
Robin Appelman b11ca34bbd Merge pull request #40499 from nextcloud/known-mtime-wrapper
add wrapper for external storage to ensure we don't get an mtime that is lower than we know it is
2023-09-21 18:33:15 +02:00
John Molakvoæ 472440b296 Merge pull request #40551 from nextcloud/fix/init-script 2023-09-21 17:33:44 +02:00
Christoph Wurst 64f5180d1b style: Fix editorconfig indent for config/*config.php
*config.php is created with var_export, which indents lines with two
spaces.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-21 16:41:11 +02:00
Robin Appelman ef87ff1848 Merge pull request #39216 from shdehnavi/replace_substr_calls_in_lib_private
Refactor "substr" calls in lib/private to improve code readability
2023-09-21 16:34:27 +02:00
Robin Appelman 667e9f783d Merge pull request #38633 from nextcloud/tests-for-cache-mount-provider
test: add test for cache mount provider
2023-09-21 16:06:11 +02:00
Robin Appelman 20b9a64ac1 Merge pull request #40531 from nextcloud/s3-multipart-copy
use multipart copy for s3
2023-09-21 16:02:13 +02:00
John Molakvoæ (skjnldsv) bf467ad7f7 fix(files): revert button maxcontrast
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-21 15:38:22 +02:00
Côme Chilliet 39d4c8759b Merge pull request #39695 from fsamapoor/refactor_files_version_app_commands
Refactors files version app commands.
2023-09-21 15:23:36 +02:00
John Molakvoæ (skjnldsv) 216804f83d fix(files): title and inline actions
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-21 15:20:17 +02:00
Côme Chilliet ff9de2efb6 Merge pull request #40508 from nextcloud/fix/migrate-apps-away-from-ilogger
Migrate applications away from deprecated ILogger
2023-09-21 15:12:31 +02:00
John Molakvoæ (skjnldsv) a5a8655beb fix: avoid side-effect imports
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-21 12:40:42 +02:00
Julia Kirschenheuter a1a1b990e6 Merge pull request #40548 from nextcloud/fix/37082-fix-visual-label-for-system-tag-on-settings-page
Add label for input field and select and adjust styles
2023-09-21 12:20:51 +02:00
Côme Chilliet 0a9371f99f Migrate applications away from deprecated ILogger
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-21 11:57:21 +02:00
julia.kirschenheuter b933e2e60d Add label for input field and select and adjust styles
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-21 10:55:27 +02:00
Faraz Samapoor 0273b96eef Apply suggestions from code review
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-09-21 11:40:18 +03:30
Faraz Samapoor 14ad1e9219 Adds type hint to the method parameter.
Co-authored-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-21 11:28:02 +03:30
Faraz Samapoor 6427863443 Refactors lib/private/Collaboration.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-21 11:28:02 +03:30
Faraz Samapoor 1c023e6666 Update lib/private/Security/Certificate.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-09-21 11:20:12 +03:30
Faraz Samapoor f9596edb00 Updates the typed properties.
Based on: https://github.com/nextcloud/server/pull/39013#discussion_r1242340826

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-21 11:20:12 +03:30
Faraz Samapoor 4f46656d39 Refactors lib/private/Security.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-21 11:20:12 +03:30
Arthur Schiwon d6445254ac Merge pull request #40500 from nextcloud/improve-expire-date-enforcement
Consider share type for enforced share expiry dates
2023-09-21 09:44:02 +02:00
Christoph Wurst a66fe6e0b1 Merge pull request #38989 from fsamapoor/refactor_lib_private_avatar
Refactors lib/private/Avatar.
2023-09-21 09:34:07 +02:00
Nextcloud bot 1c50cfa17f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-21 00:29:24 +00:00
Kate 716c5e0966 Merge pull request #40511 from nextcloud/fix/dashboard-widgets-api
Fix dashboard widgets api
2023-09-20 21:22:33 +02:00
Christoph Wurst 9a70c1e78a Merge pull request #39166 from fsamapoor/refactor_dav_app_commands
Refactors dav app commands.
2023-09-20 20:36:44 +02:00
Simon L f1aa6ba57e Merge pull request #40516 from privatemaker/fix/readme-remove-working-with
Remove 'Working with ... code' sections from README.md
2023-09-20 20:25:52 +02:00
Christoph Wurst e477bb7eaf feat(appframework): Expose programmatic rate limiter
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-20 20:25:27 +02:00
Arthur Schiwon 4954c9f4ba Merge pull request #39574 from nextcloud/fix/noid/ocm-controller
OCM Services
2023-09-20 20:16:10 +02:00
fenn-cs 56771b50c4 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 16:43:12 +00:00
Julien Veyssier dead43635e Merge pull request #39628 from nextcloud/fix/enable-litmus-largefile-tests
Enable litmus largefile tests
2023-09-20 18:33:54 +02:00
jld3103 6c840984f8 dashboard: Fix get widgets OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-20 17:41:37 +02:00
jld3103 80e3064817 Fix Dashboard IManager getWidgets return annotation
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-20 17:41:37 +02:00
Robin Appelman 0a8b7b2894 try to make kerberos test more reliable
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-20 17:31:49 +02:00
Robin Appelman 09794b6792 try to make kerberos test more reliable
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-20 17:29:48 +02:00
Robin Appelman eab8dd3ca0 use multipart copy for s3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-20 17:28:48 +02:00
Daniel Kesselberg 18af7cc86b test: add test for cache mount provider
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-20 15:42:23 +02:00
Aaron Dewes aefa366495 Merge branch 'master' into fix/ldap-filter-generation 2023-09-20 15:38:52 +02:00
John Molakvoæ 4ddbc55d5d Merge pull request #40517 from nextcloud/feat/sharing-status 2023-09-20 14:55:18 +02:00
Faraz Samapoor d13874fdf4 Refactors dav app commands.
To improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-20 15:43:15 +03:30
John Molakvoæ (skjnldsv) fac5197486 feat(files): add files_sharing indicator
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-20 13:58:31 +02:00
Private Maker 9f2d60b22e Merge branch 'master' into fix/readme-remove-working-with 2023-09-20 13:02:49 +02:00
Robin Appelman b40fa64a8b use multipart copy for s3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-20 12:29:50 +02:00
jld3103 aad2d02cf8 Enable litmus largefile tests
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-20 11:45:38 +02:00
Kate 6714e51b0c Merge pull request #39626 from nextcloud/fix/remove-litmus-locks-tests
Remove litmus locks tests
2023-09-20 11:32:21 +02:00
Maxence Lange b5dcd048ae small fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-20 08:23:45 -01:00
Maxence Lange c6c06d517c set authType to basic
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-20 08:23:45 -01:00
Maxence Lange 8b9e7e235d ocm controller
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-20 08:23:45 -01:00
Louis d5fc95b661 Merge pull request #40213 from nextcloud/dependabot/npm_and_yarn/nextcloud/browserslist-config-3.0.0
chore(deps): Bump @nextcloud/browserslist-config from 2.3.0 to 3.0.0
2023-09-20 10:38:17 +02:00
Côme Chilliet 0cfdf6f6ad Merge pull request #40504 from nextcloud/fix/remove-ilogger-uses-in-user_ldap
Remove deprectated ILogger uses from user_ldap application
2023-09-20 10:26:11 +02:00
Nextcloud bot fecae94229 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-20 00:27:30 +00:00
Richard Steinmetz 7cf8421360 Merge pull request #40481 from nextcloud/fix/guest-pages-contentinfo
fix: content info footer on guest pages
2023-09-19 23:54:03 +02:00
Private Maker c4dd3653e0 Remove 'Working with ... code' sections from README.md
Text moved to documentation/developer_manual/core/ and
updated with newer development flow.

Signed-off-by: Private Maker <privatemaker@posteo.net>
2023-09-19 20:29:22 +00:00
Richard Steinmetz 9a5a392bf9 fix: content info footer on guest pages
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-09-19 21:57:01 +02:00
nextcloud-command 6792724657 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-19 19:24:20 +00:00
Ferdinand Thiessen ec72121153 Merge pull request #39964 from nextcloud/dependabot/npm_and_yarn/camelcase-8.0.0
chore(deps): Bump camelcase from 6.3.0 to 8.0.0
2023-09-19 21:16:49 +02:00
Joas Schilling 2bd0f07e5a Merge pull request #40488 from nextcloud/bugfix/noid/message-expiration-breaks-pagination
fix(comments): Use provided offset in best effort when loading comments
2023-09-19 15:30:57 +02:00
Côme Chilliet 7a59d2ec07 Remove deprectated ILogger uses from user_ldap application
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-19 15:22:45 +02:00
Ferdinand Thiessen 4c49dda128 fix(systemtags): Add one unittest for to test tags parsing after the dependency was updated
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-09-19 14:59:13 +02:00
dependabot[bot] 1099946748 chore(deps): Bump camelcase from 6.3.0 to 8.0.0
Bumps [camelcase](https://github.com/sindresorhus/camelcase) from 6.3.0 to 8.0.0.
- [Release notes](https://github.com/sindresorhus/camelcase/releases)
- [Commits](https://github.com/sindresorhus/camelcase/compare/v6.3.0...v8.0.0)

---
updated-dependencies:
- dependency-name: camelcase
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 14:59:13 +02:00
Anna b6761fbc96 Merge pull request #40423 from nextcloud/enh/proved-db-as-string 2023-09-19 14:06:01 +02:00
Robin Appelman ccf8843d9f apply known mtime wrapper for external storages
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-19 13:58:35 +02:00
Robin Appelman 5bf34979fe 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-09-19 13:58:15 +02:00
Ferdinand Thiessen 1ce7dd4be1 Merge pull request #39720 from nextcloud/dependabot/composer/build/integration/symfony/event-dispatcher-5.4.26
chore(deps-dev): Bump symfony/event-dispatcher from 5.4.22 to 5.4.26 in /build/integration
2023-09-19 13:50:48 +02:00
Ferdinand Thiessen 78c814400e Merge pull request #40210 from nextcloud/dependabot/npm_and_yarn/cypress/webpack-preprocessor-6.0.0
chore(deps-dev): Bump @cypress/webpack-preprocessor from 5.17.1 to 6.0.0
2023-09-19 13:49:07 +02:00
dependabot[bot] 77721b237d chore(deps): Bump @nextcloud/browserslist-config from 2.3.0 to 3.0.0
Bumps [@nextcloud/browserslist-config](https://github.com/nextcloud/browserslist-config) from 2.3.0 to 3.0.0.
- [Release notes](https://github.com/nextcloud/browserslist-config/releases)
- [Commits](https://github.com/nextcloud/browserslist-config/compare/v2.3.0...v3.0.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/browserslist-config"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 11:46:11 +00:00
Ferdinand Thiessen 7f9faa544b Merge pull request #40355 from nextcloud/dependabot/github_actions/cypress-io/github-action-6.5.0
chore(deps): Bump cypress-io/github-action from 5.8.3 to 6.5.0
2023-09-19 13:46:09 +02:00
Côme Chilliet 5090848b25 Store size in int|float for 32bit support
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-19 13:43:01 +02:00
dependabot[bot] 5b620eb945 Merge pull request #40052 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.6.11 2023-09-19 11:41:48 +00:00
Anna Larch 56419d94f8 enh(db): provide database providers via API
To avoid leaking internals (OC), wrap the getDatabasePlatform and provide the
associated constants

fixes https://github.com/nextcloud/server/issues/30877

Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-19 11:56:44 +02:00
Robin Appelman 5e347553bc add method to create a node from cache entry + mountpoint
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-19 11:43:29 +02:00
dependabot[bot] 4caf4ca2fd chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.10 to 9.6.11.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.11/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.10...9.6.11)

---
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-09-19 09:39:52 +00:00
Ferdinand Thiessen 8157d97890 Merge pull request #39974 from nextcloud/dependabot/github_actions/actions/setup-node-3.8.1
chore(deps): Bump actions/setup-node from 3.6.0 to 3.8.1
2023-09-19 11:39:12 +02:00
Ferdinand Thiessen ad8811d392 Merge pull request #39972 from nextcloud/dependabot/github_actions/peter-evans/create-pull-request-5
chore(deps): Bump peter-evans/create-pull-request from 3 to 5
2023-09-19 11:38:24 +02:00
Ferdinand Thiessen 2a35dd39a1 Merge pull request #40455 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.6.12
chore(deps-dev): Bump phpunit/phpunit from 9.6.10 to 9.6.12 in /build/integration
2023-09-19 11:34:56 +02:00
dependabot[bot] ff6cc481ec chore(deps-dev): Bump symfony/event-dispatcher in /build/integration
Bumps [symfony/event-dispatcher](https://github.com/symfony/event-dispatcher) from 5.4.22 to 5.4.26.
- [Release notes](https://github.com/symfony/event-dispatcher/releases)
- [Changelog](https://github.com/symfony/event-dispatcher/blob/6.3/CHANGELOG.md)
- [Commits](https://github.com/symfony/event-dispatcher/compare/v5.4.22...v5.4.26)

---
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-09-19 09:30:20 +00:00
Côme Chilliet 40852efd2c Merge pull request #40470 from nextcloud/fix/bump-phpseclib/phpseclib-to-2.0.45-in-master
Bump phpseclib/phpseclib to 2.0.45 in master
2023-09-19 11:28:49 +02:00
John Molakvoæ 085568b75c Merge pull request #40475 from nextcloud/feat/f2v/systemtags 2023-09-19 11:09:43 +02:00
Robin Appelman cd7c3f0a6f Merge pull request #39531 from nextcloud/sso-kerberos-fix2
kerberos sso ci fix
2023-09-19 10:38:32 +02:00
Simon L f75891de5d Merge pull request #40485 from nextcloud/fix/report-test
fix(dav): fix report tests
2023-09-19 09:25:21 +02:00
Nextcloud bot 5b9cfedc66 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-19 00:23:57 +00:00
John Molakvoæ (skjnldsv) f8ed23a426 fix(dav): fix report tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-18 22:19:30 +02:00
Andy Scherzinger 6c9cf907cc Merge pull request #40357 from nextcloud/dependabot/github_actions/actions/checkout-4
chore(deps): Bump actions/checkout from 3 to 4
2023-09-18 21:35:01 +02:00
Joas Schilling 4d2217073a 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-18 20:09:32 +02:00
dependabot[bot] 81fe4a9fe3 chore(deps): Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...3df4ab11eba7bda6032a0b82a6bb43b11571feac)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 17:15:30 +00:00
Robin Appelman cf7344082d Merge pull request #40183 from nextcloud/sftp-fixes
SFTP improvements
2023-09-18 19:14:27 +02:00
Robin Appelman fc7adff48d use user_saml from git
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:25:39 +02:00
John Molakvoæ ee9010904d Merge pull request #40480 from privatemaker/fix/dashboard-icon-apps-dark 2023-09-18 17:24:41 +02:00
Côme Chilliet a0c9735f1a Update 3rdparty to master commit
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-18 17:12:48 +02:00
Côme Chilliet ab6ef3a8ce Bump phpseclib/phpseclib to 2.0.45 in master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-18 17:12:48 +02:00
John Molakvoæ (skjnldsv) ef1abd958c fix(systemtags): fix capabilities and sidebar + tag visibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-18 16:44:28 +02:00
Robin Appelman a185edd5d1 kerberos sso ci fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 16:43:41 +02:00
Robin Appelman d42d809170 sftp psalm fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 16:12:03 +02:00
John Molakvoæ (skjnldsv) fb30aa0902 fix(files): allow downloading folders within user root folders only
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-18 15:38:02 +02:00
John Molakvoæ (skjnldsv) 2845319187 feat(files): add systemtags view
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-18 15:33:21 +02:00
Private Maker 337854aaaa remove stroke= and style= attributes from dashboard.svg
Signed-off-by: Private Maker <privatemaker@posteo.net>
2023-09-18 13:30:21 +00:00
John Molakvoæ e0c778f769 Merge pull request #40465 from nextcloud/fix/customElementRendered 2023-09-18 15:05:12 +02:00
John Molakvoæ (skjnldsv) cdc2529c4d fix(files): CustomElementRender $el replacement bug
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-18 12:43:28 +00:00
John Molakvoæ 9ea9743011 Merge pull request #40474 from nextcloud/fix/report-dav 2023-09-18 14:07:10 +02:00
Robin Windey 7afcacdff7 Merge pull request #39818 from nextcloud/feature/trashbin-restore-improvements#39724
Let `occ trashbin:restore` restore also from groupfolders and add filters
2023-09-18 12:38:57 +02:00
John Molakvoæ 63da44bb0e fix(dav): report status
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-09-18 11:29:15 +02:00
Côme Chilliet 5d20baec01 Merge pull request #40420 from nextcloud/fix/remove-at-matcher-in-core
Remove last calls to deprecated at matcher in tests/Core
2023-09-18 10:56:09 +02:00
Christoph Wurst 7e23ea2026 Merge pull request #39039 from fsamapoor/refactor_lib_private_log
Refactors lib/private/Log
2023-09-18 10:54:20 +02:00
Côme Chilliet 0c421975bd Remove last calls to deprecated at matcher in tests/Core
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-18 10:21:21 +02:00
Côme Chilliet 8d43f1b31c Merge pull request #40424 from nextcloud/fix/remove-at-matcher-in-dav-2
Remove last at matcher call in dav application tests
2023-09-18 09:46:27 +02:00
Côme Chilliet b36fb96984 Merge pull request #40419 from nextcloud/fix/remove-at-matcher-in-installer-test
Remove deprecated at matcher in tests/lib/InstallerTest.php
2023-09-18 09:45:58 +02:00
Nextcloud bot eee5a3ddc9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-18 00:26:46 +00:00
Andy Scherzinger bf6bda5b7f Merge pull request #40358 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-09-17 10:52:11 +02:00
Julien Veyssier 039ac09208 Merge pull request #40426 from nextcloud/fix/openapi/provisioning_api/quota
provisioning_api: Fix quota constants in OpenAPI
2023-09-17 10:20:27 +02:00
Julien Veyssier b2e10841b5 Merge pull request #40421 from nextcloud/fix/openapi/core/reference-api
core: Fix OpenAPI for reference API
2023-09-17 10:19:57 +02:00
Christoph Wurst 9627176a23 Merge pull request #38610 from fsamapoor/replace_strpos_calls_in_dav_app
Refactors "strpos" calls in /apps/dav
2023-09-17 10:14:20 +02:00
nextcloud-command f5261454e2 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-09-17 02:15:44 +00:00
Nextcloud bot 16e584ce6c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-17 00:26:59 +00:00
Simon L 7bba5ec71e Merge pull request #40203 from lhsazevedo/fix/mimetype-40064 2023-09-16 21:17:24 +02:00
John Molakvoæ 006f5d096c Merge pull request #40409 from nextcloud/feat/f2v-unread-comments-action 2023-09-16 14:41:45 +02:00
Lucas Azevedo 03ece129bf refactor(f2v): Migrate unread comments action to the new FileAction API
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-16 14:08:47 +02:00
dependabot[bot] 5b651bc715 chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.10 to 9.6.12.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.12/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.10...9.6.12)

---
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-09-16 02:49:42 +00:00
Nextcloud bot f8ccaf8d58 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-16 00:27:27 +00:00
Daniel 1bb7523a59 Merge pull request #40418 from nextcloud/fix/noid/dont-join-dav-tags 2023-09-15 19:24:38 +02:00
F. E Noel Nfebe 4901fe6129 Merge pull request #40440 from nextcloud/40396-consider-link-shares-in-remove-share
Consider link shares in removeShare method in SharingTab
2023-09-15 18:04:20 +01:00
fenn-cs ef5bb420f2 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-15 16:30:59 +00:00
Daniel Kesselberg 4c5e79d53f 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:19:47 +02:00
Arthur Schiwon d32e03ddac Merge pull request #40434 from nextcloud/40431-correctly-switch-permissions-radios
Correctly switch/revert from custom to bundled perms
2023-09-15 15:12:23 +02:00
fenn-cs 386b08d139 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>
2023-09-15 12:14:38 +01:00
Louis bf46c5b73f Merge pull request #40428 from nextcloud/artonge/fix/users_list_bugs
Do not display userCount when it is equal to 0
2023-09-15 13:09:47 +02:00
Louis 801476295e Merge pull request #40411 from nextcloud/artonge/fix/translation
Use t and n for translation
2023-09-15 13:00:53 +02:00
Daniel 4a8bb597b4 Merge pull request #40416 from nextcloud/fix/noid/check-for-user-count 2023-09-15 11:50:37 +02:00
Nextcloud bot 48f5c7c1c2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-15 00:26:37 +00:00
Christopher Ng 58229ad325 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-14 17:03:41 -07:00
Christopher Ng 50ddc6820e fix(ux): Show initial loading state of managers
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-14 17:03:30 -07:00
F. E Noel Nfebe 62e4d162aa Merge pull request #40389 from nextcloud/40172-invite-guests-and-others
Fix invite guest for new sharing flow
2023-09-14 18:33:45 +01:00
fenn-cs 27559760d1 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-14 16:10:29 +00:00
Louis Chemineau 617a9e8a29 Do not display userCount when it is equal to 0
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-14 16:19:24 +02:00
Louis Chemineau c8fce63428 Reset loading state on UserRow mount
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-14 16:15:41 +02:00
Louis Chemineau 992c03d842 Do not preload potential manager list on UserRow mount
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-14 16:15:28 +02:00
Louis Chemineau bd787e8593 Do not manipulate userCount when it is equal to 0
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-14 16:14:32 +02:00
jld3103 79b8b5c0f2 core: Fix OpenAPI for reference API
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-14 15:49:13 +02:00
jld3103 3f16650e3b provisioning_api: Fix quota constants in OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-14 15:41:13 +02:00
Côme Chilliet 4b8ef84440 Remove last at matcher call in dav application tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-14 15:01:26 +02:00
fenn-cs 1f74c88bc7 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>
2023-09-14 12:00:32 +01:00
Côme Chilliet e24007b530 Remove deprecated at matcher in tests/lib/InstallerTest.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-14 12:52:05 +02:00
Daniel Kesselberg 108916cf5e 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-14 12:19:22 +02:00
Louis 30a7eabad3 Merge pull request #40365 from nextcloud/artonge/fix/do_not_show_related_ressources_when_share_details_is_open
Hide additional content when share details is open
2023-09-14 11:19:33 +02:00
F. E Noel Nfebe 16854f46bf Merge branch 'master' into artonge/fix/do_not_show_related_ressources_when_share_details_is_open 2023-09-14 08:42:18 +01:00
Louis Chemineau 79d1870aa7 Use t and n for translation
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-14 09:40:20 +02:00
Nextcloud bot b085803c0b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-14 00:26:52 +00:00
Pytal 1ad1a9df23 Merge pull request #40391 from nextcloud/fix/group-undefined-count 2023-09-13 16:26:36 -07:00
Christopher Ng 12289cb0be chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-13 16:01:33 -07:00
Christopher Ng e59ece9fdc fix(settings): Undefined user count error
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-13 16:01:33 -07:00
Louis Chemineau b3abfcb64c 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-13 22:27:20 +00:00
F. E Noel Nfebe 36a3050d4e Merge pull request #40404 from nextcloud/ellipsize-status-sharing-entry
Ellipsize user status in sharing entry
2023-09-13 22:43:11 +01:00
fenn-cs 2c22e1f86a 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-13 20:19:12 +00:00
Arthur Schiwon 80f3e46ce3 Merge pull request #40393 from nextcloud/fix-user-status-sharing-flow
Display user status by the side in sharing flow
2023-09-13 21:36:44 +02:00
Christoph Wurst a3e0a93295 Merge pull request #40301 from nextcloud/bug/noid/webroot-calendar-events-activity
fix(caldav): add webroot to objectid for activities
2023-09-13 21:20:09 +02:00
Daniel Kesselberg 457f4a530e 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 20:33:23 +02:00
fenn-cs 2b2622ddd1 Non sticky delete button
Removes button from footer and removes button background.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-09-13 15:42:16 +01:00
fenn-cs f596f76af3 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-13 15:14:56 +01:00
Julius Härtl 1137b7abf1 Merge pull request #40312 from nextcloud/bugfix/noid/non-existing-node-parent 2023-09-13 12:00:36 +02:00
John Molakvoæ 165c54d620 Merge pull request #40284 from lhsazevedo/inline-system-tags 2023-09-13 10:53:13 +02:00
Hamza 4f0a151eb4 Merge pull request #40103 from nextcloud/enh/enable-caldav-push-notifications-by-default
Enable caldav push notifications by default
2023-09-13 10:50:00 +02:00
Julius Härtl 7f958e81d3 fix: Pass parent to NonExistingFile instances
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-13 10:28:28 +02:00
Lucas Azevedo f5865216d6 Fix style
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-13 10:23:10 +02:00
Lucas Azevedo a2d7a70219 Hide inline system tags on mobile
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-13 10:23:10 +02:00
Lucas Azevedo 34775cb18b Move inline tag rendering to the systemtags app
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-13 10:23:10 +02:00
Lucas Azevedo 802d7e010d Add tests
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-13 10:23:10 +02:00
Lucas Azevedo 146e9eeb9f Render inline system tags using new DAV properties API
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-13 10:23:10 +02:00
Nextcloud bot c6e6ebb999 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-13 00:24:37 +00:00
F. E Noel Nfebe e94a83addb Merge pull request #40372 from nextcloud/40172-polish-sharing-flow-bugs
40172 polish sharing flow bugs
2023-09-12 22:53:18 +01:00
fenn-cs 3d071abcf8 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-12 21:11:28 +00:00
fenn-cs 766806c35d 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-12 20:50:49 +01:00
fenn-cs ef99640095 Refactor migrated addShare method
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-09-12 20:50:49 +01:00
Simon L 4b349b107a Merge pull request #40378 from nextcloud/enh/38362/add-new-user-button-icon
add plus icon to new user button
2023-09-12 21:12:09 +02:00
Daniel 8b90e2d7b7 Merge pull request #40376 from nextcloud/test/noid/dns-pin-middleware 2023-09-12 20:19:47 +02:00
nextcloud-command 8389140f2a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-12 16:17:30 +00:00
Robin Appelman 1eb3293e53 setup filesystem wrappers before we mark the root as setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-12 16:50:29 +02:00
Robin Appelman 5685d68bd3 add more checks to ensure mounts aren't empty
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-12 16:50:24 +02:00
Simon L 9dfe50e9fe add plus icon to new user button
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-09-12 14:43:29 +02:00
Daniel Kesselberg f8f985602b test: add tests for dns pin middleware
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-12 14:04:23 +02:00
hamza221 823908b017 Enable caldav push notifications by default
Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
2023-09-12 13:58:40 +02:00
Julius Härtl 7dfeaa6901 Merge pull request #39856 from nextcloud/testing/translate-text-processing-providers 2023-09-12 12:53:48 +02:00
Julius Härtl f894754372 feat(testing): Add fake providers for translations and text processing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-12 10:53:20 +02:00
Andy Scherzinger e8a69ac565 Merge pull request #40360 from nextcloud/automated/noid/master-fix-npm-audit
[master] Fix npm audit
2023-09-12 09:21:32 +02:00
Andy Scherzinger 27018fd279 Merge pull request #40356 from nextcloud/dependabot/github_actions/actions/upload-artifact-3.1.3
chore(deps): Bump actions/upload-artifact from 3.1.2 to 3.1.3
2023-09-12 09:20:48 +02:00
Nextcloud bot d6180c3151 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-12 00:27:43 +00:00
dependabot[bot] 4748626aa4 Merge pull request #40354 from nextcloud/dependabot/npm_and_yarn/vueuse/components-10.4.1 2023-09-11 19:06:01 +00:00
dependabot[bot] d573803d04 chore(deps): Bump @vueuse/components from 10.3.0 to 10.4.1
Bumps [@vueuse/components](https://github.com/vueuse/vueuse/tree/HEAD/packages/components) from 10.3.0 to 10.4.1.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v10.4.1/packages/components)

---
updated-dependencies:
- dependency-name: "@vueuse/components"
  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-09-11 18:16:09 +00:00
Julius Härtl 97dd09c434 Merge pull request #39128 from nextcloud/fix/35319/ldap-missing-avatar 2023-09-11 19:43:18 +02:00
Julius Härtl 9e2b248431 Merge pull request #40345 from nextcloud/bugfix/noid/update-headers 2023-09-11 17:00:40 +02:00
nextcloud-command 8b9b61c215 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-11 14:06:06 +00:00
Julius Härtl e0a7003f08 fix: Update file list headers on breadcrumb navigation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-11 15:14:24 +02:00
Arthur Schiwon 8c38beff9f Merge pull request #40328 from nextcloud/fix/admin-ai-settings
Fix Admin AI settings javascript error
2023-09-11 12:26:38 +02:00
Côme Chilliet 4f1e5bc8fd Merge pull request #32912 from nextcloud/group-backend-batch-method
Add batch methods in user backends
2023-09-11 11:11:00 +02:00
Nextcloud bot aa241df161 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-11 00:26:58 +00:00
nextcloud-command 3443dbc986 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-09-10 03:18:01 +00:00
Nextcloud bot 77d87f6cfe Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-10 00:25:18 +00:00
Julius Härtl 023d7966e6 Merge pull request #39211 from shdehnavi/refactor_themes_defaults 2023-09-09 09:53:47 +02:00
Julius Härtl 938a558078 Merge pull request #39226 from shdehnavi/null_coalescing_conversion_tests 2023-09-09 09:51:17 +02:00
dependabot[bot] 9323d1312e chore(deps): Bump actions/upload-artifact from 3.1.2 to 3.1.3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/0b7f8abb1508181956e8e162db84b466c27e18ce...a8a3f3ad30e3422c9c7b888a15615d19a852ae32)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-09 01:16:29 +00:00
dependabot[bot] 81b400c777 chore(deps): Bump cypress-io/github-action from 5.8.3 to 6.5.0
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 5.8.3 to 6.5.0.
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/github-action/compare/d69252d52b9a31bad4f418f05ba2bc83687a02eb...59810ebfa5a5ac6fcfdcfdf036d1cd4d083a88f2)

---
updated-dependencies:
- dependency-name: cypress-io/github-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-09 01:16:27 +00:00
Nextcloud bot c189622529 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-09 00:25:40 +00:00
Julius Härtl 20781097f5 Merge pull request #40349 from nextcloud/fix/noid/autoloader-no-apcu 2023-09-08 20:12:51 +02:00
Marcel Klehr 004ef98c14 Fix eslint error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-08 18:03:20 +00:00
Pytal e21f1a9b6d Merge pull request #40341 from nextcloud/fix/hide-set-reminder-public
fix: Hide set reminder action on public shares
2023-09-08 10:54:35 -07:00
Marcel Klehr 84fa05abdc 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-09-08 10:52:42 -07:00
Louis ebf2422508 Merge pull request #40340 from nextcloud/artonge/fix/fileInfo_access
Fix access to fileInfo in VersionTab.vue
2023-09-08 18:43:52 +02:00
Andy Scherzinger 6984599bd6 Merge pull request #40306 from nextcloud/Valdnet-patch-1
Remove quotation marks
2023-09-08 18:34:29 +02:00
Valdnet b34e00beee Remove quotation marks
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-08 15:53:23 +00:00
Arthur Schiwon 603a659a37 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 16:55:39 +02:00
John Molakvoæ 747d9ef511 Merge pull request #40323 from nextcloud/enh/init-scripts 2023-09-08 08:50:34 +02:00
Pytal ce59e55ffd Merge pull request #40314 from nextcloud/enh/a11y/search-labels
enh(a11y): Add search contacts label
2023-09-07 17:41:11 -07:00
Nextcloud bot 149e2a06b5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-08 00:31:24 +00:00
Christopher Ng 3695545b78 chore: Compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-07 16:23:01 -07:00
Christopher Ng 861183154b enh(a11y): Add search contacts label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-07 16:23:01 -07:00
Christopher Ng 8031ee862a fix: Hide set reminder action on public shares
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-07 16:11:14 -07:00
Louis Chemineau 687c5aef48 Fix access to fileInfo in VersionTab.vue
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-07 22:57:08 +02:00
Louis fdf752fac6 Merge pull request #40296 from nextcloud/artonge/feat/enable_files_versions_for_groupfolders
Enable new versions feature for groupfolders
2023-09-07 21:53:32 +02:00
Julius Härtl bd65f1ea28 feat: Add dedicated method to load init scripts
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Co-authored-by: John Molakvoæ <skjnldsv@protonmail.com>

Update lib/public/Util.php

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-07 21:42:06 +02:00
Côme Chilliet d18bb7e9bb Build query once instead of in-loop
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-07 17:07:47 +02:00
Kate eb5510188e Merge pull request #40329 from nextcloud/fix/theming-default-source-image
theming: Revert broken SVG optimization in default-source.svg
2023-09-07 16:52:06 +02:00
Côme Chilliet a41d51b1e9 Merge pull request #40285 from nextcloud/backport/40233/master
Detect aborted connection in OC\Files\View and stop writing data to t…
2023-09-07 15:56:54 +02:00
Louis Chemineau 52ceb40c05 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 15:47:59 +02:00
Louis Chemineau 8d84dc33df Enable new versions feature for groupfolders
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-07 15:47:59 +02:00
Louis Chemineau cec0b310a5 Move module versions management logic out of main logic
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-07 15:47:59 +02:00
jld3103 38791ae53f theming: Revert broken SVG optimization from f2afcc in default-source.svg
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-07 15:09:26 +02:00
Andy Scherzinger a0c4935e32 Merge pull request #40266 from nextcloud/40172-polish-new-sharing-flow
40172 Polish new sharing flow :  accesibility, expand bahavior, click outside behaviour
2023-09-07 12:57:24 +02:00
nextcloud-command cad1db854b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-07 10:19:47 +00:00
fenn-cs faa76b94b8 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 10:54:47 +01:00
fenn-cs f75684ec7e 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 10:54:47 +01:00
fenn-cs 2b1008f2ce 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 10:54:47 +01:00
Côme Chilliet 8549ea4025 Merge pull request #40216 from nextcloud/print-log-message-when-version-could-not-be-got-from-updater-server
Print log message when version could not be got from updater server
2023-09-07 09:33:06 +02:00
Benjamin Gaussorgues 003d0dec93 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-07 09:32:32 +02:00
Andy Scherzinger 80a4b369f8 Merge pull request #40295 from nextcloud/appecosystem-renaming
Rename AppEcosystemV2 to AppAPI
2023-09-07 07:15:56 +02:00
Nextcloud bot c08a8036e5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-07 00:29:00 +00:00
Pytal 527329978e Merge pull request #40198 from nextcloud/fix/40015-The_apps_view_represents_a_list_of_elements_and_should_be_implemented_as_such 2023-09-06 16:19:06 -07:00
Simon L 0c64e313b8 Merge pull request #40275 from nextcloud/enh/noid/change-keyboard-shortcuts-order 2023-09-06 21:17:55 +02:00
Julius Härtl 5cb2713ea4 Merge pull request #38808 from nextcloud/bugfix/noid/store-unencrypted-homefolder 2023-09-06 19:58:15 +02:00
Anna 387cf9e7ce Merge pull request #40292 from nextcloud/fix/birthday-calendar
fix(CalDAV): check birthday calendar owner
2023-09-06 18:54:25 +02:00
Simon L 3f319cc200 change order of keyboard shortcuts settings to be at the end
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-06 15:55:24 +00:00
Anna 165aeeb7f0 Merge pull request #40293 from nextcloud/bugfix/noid/only-use-memory-cache-backend-for-redis
fix(ratelimit): Only use memory cache backend for redis
2023-09-06 17:25:36 +02:00
Anna Larch 7eee1de65b fix(CalDAV): check birthday calendar owner
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-06 16:57:02 +02:00
Alexander Piskun 01a11641f4 new name of AppEcosystem is AppAPI
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-09-06 16:53:53 +03:00
Joas Schilling eb3e715ebd fix(ratelimit): Only use memory cache backend for redis
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-06 15:13:23 +02:00
max-nextcloud 8ac768c584 Merge pull request #40184 from nextcloud/enh/files_versions_events-vue
feat: Add events for version restore
2023-09-06 15:11:54 +02:00
nextcloud-command c1fcc3e0fc chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-06 11:57:43 +00:00
Julius Härtl bb419321e0 feat: Add events for version restore
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-06 13:29:22 +02:00
Christoph Wurst f254173a88 Merge pull request #40217 from nextcloud/rakekniven-patch-1
fix(10n): Fixed grammar
2023-09-06 12:47:29 +02:00
Christoph Wurst 312dd8ac6d feat(ocp): Add types and strict typing to \OCP\Group\IGroup
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-06 11:58:09 +02:00
Grigorii K. Shartsev 2235d3b78c chore: build assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-09-06 10:10:54 +02:00
julia.kirschenheuter 1793235b39 Create right list view for app store view
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-06 09:58:04 +02:00
Julius Härtl 13b9dd2267 fix: Only read unencrypted_size when file is actually encrypted
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-06 07:25:28 +02:00
Julius Härtl 88a96e4db7 fix: Only store unencrypted_size if path should be encrypted
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-09-06 07:25:28 +02:00
Daniel Calviño Sánchez 9a179c391e Print log message when version could not be got from updater server
This could help to diagnose why the updater server could not be reached,
as well as other subtler issues like requests taking too long if the
updater server was tried to be connected to as a "side effect" (for
example, when the "updatenotification" app boots).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-09-06 05:43:21 +02:00
dependabot[bot] 00c0813ce6 Merge pull request #40211 from nextcloud/dependabot/npm_and_yarn/webdav-5.3.0 2023-09-06 00:37:07 +00:00
Grigorii K. Shartsev 00200a25c1 Merge pull request #40014 from nextcloud/fix/37899-The_apps_table_represents_a_table_element_and_should_be_implemented_as_such._
Create right table view
2023-09-06 05:22:26 +05:00
dependabot[bot] 685146c417 chore(deps): Bump webdav from 5.2.3 to 5.3.0
Bumps [webdav](https://github.com/perry-mitchell/webdav-client) from 5.2.3 to 5.3.0.
- [Changelog](https://github.com/perry-mitchell/webdav-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/perry-mitchell/webdav-client/compare/v5.2.3...v5.3.0)

---
updated-dependencies:
- dependency-name: webdav
  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-09-06 00:20:37 +00:00
julia.kirschenheuter 8b6029564e Create right table view
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-05 16:46:46 -07:00
Pytal 9df4da86ff Merge pull request #40273 from nextcloud/fix/39434/sharing-select-breaking-focus-trap-with-viewer 2023-09-05 16:34:01 -07:00
Grigorii K. Shartsev cc7d155c6e chore: build assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-09-05 22:19:57 +02:00
Grigorii K. Shartsev 1f6101d8a9 fix(files_sharing): select sharing in sidebar breaks Viewer focus trap
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-09-05 22:15:29 +02:00
Hamid Dehnavi 0808e19540 Update lib/private/DateTimeFormatter.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-05 21:09:16 +03:30
Maxence Lange 0409ae0e68 Merge pull request #39693 from nextcloud/enh/noid/manage-download-settings-on-circles-share
re-enable download configuration on circles shares
2023-09-05 16:07:31 -01:00
Côme Chilliet 35069ad86a Fix psalm spotted type errors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-05 16:56:48 +02:00
Côme Chilliet 2c8b415c55 Move new methods to a new interface in OCP
This avoids breaking compatibility for group backends not based on
 ABackend abstract class.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-05 16:56:48 +02:00
Côme Chilliet a5fa1e7715 Fix psalm errors about groupExists return type
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-05 16:56:48 +02:00
Carl Schwan 3270b7f12e Add batch methods in user backends
This allows for faster group search with significantly less DB traffic

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-09-05 16:56:47 +02:00
Maxence Lange 4e2d6b5e42 renable download configuration on circles shares
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-05 12:12:15 -01:00
John Molakvoæ 2018c72eaa Merge pull request #39895 from nextcloud/fix/noid/revoke-admin-overwrite 2023-09-05 14:52:09 +02:00
Hamid Dehnavi 9b92c1abe4 Update lib/private/DateTimeFormatter.php
Co-authored-by: Louis <6653109+artonge@users.noreply.github.com>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-05 16:18:46 +03:30
John Molakvoæ f2787c067b Merge pull request #40209 from nextcloud/feat/overlayicon 2023-09-05 14:43:19 +02:00
John Molakvoæ b304c3766c feat(files): add folder icon overlay
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-05 11:40:06 +02:00
Kate eb1b09da67 Merge pull request #40257 from nextcloud/fix/openapi/comments/ignore
comments: Ignore endpoints in OpenAPI
2023-09-05 10:42:09 +02:00
Côme Chilliet f331d86ca8 Merge pull request #35539 from nextcloud/cleanup/carl/application-contactsmanager
Cleanup psalm issues in DB/ContactsManager and Console
2023-09-05 10:15:08 +02:00
Côme Chilliet 637cafcf35 Fix ContactsManagerTest adressbook mocks having a null key
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-05 09:20:26 +02:00
Côme Chilliet 5c78adb20d Fix Exception catching in OC\DB\Adapter
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-05 09:20:26 +02:00
Carl Schwan e966cfbc4b Cleanup plsam issues in DB/ContactsManager and Console
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-09-05 09:20:26 +02:00
John Molakvoæ 7ee34a3fac Merge pull request #38150 from nextcloud/lazy-folder-parent 2023-09-05 08:33:35 +02:00
Nextcloud bot 70e5d42aee Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-05 00:27:21 +00:00
John Molakvoæ fe692f2c7f Merge pull request #40192 from nextcloud/feat/sharing-icon-bread 2023-09-05 00:27:59 +02:00
jld3103 8f0a35e13f comments: Ignore endpoints in OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-04 20:23:24 +02:00
Robin Appelman 5ac0e9b63b reuse isValidPath from Filesystem
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 18:42:50 +02:00
Robin Appelman baf8d2e1d0 make LazyFolder::get not load the real folder if we know the path
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 18:42:49 +02:00
Robin Appelman 9055fef5ef add IFileInfo::getParentId
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 18:42:49 +02:00
Robin Appelman e718cbc661 make Node::getParent lazy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 18:42:48 +02:00
Robin Appelman 0232eec2cf allow passing more info to lazy folder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 18:42:47 +02:00
Benjamin Gaussorgues e547247281 Merge pull request #40182 from nextcloud/feat/share-by-mail/remove-ilogger-2 2023-09-04 16:52:55 +02:00
Daniel b92f5cdd3d Merge pull request #40234 from nextcloud/enh/noid/skip-processing-for-empty-response 2023-09-04 16:41:17 +02:00
Robin Appelman c264903cb9 psalm suppress
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:12 +02:00
Robin Appelman e3a39f5117 add sftp ci test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:11 +02:00
Robin Appelman aa2a3ae6c8 implement fseek for sftp read stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:11 +02:00
Robin Appelman b41c8e0ef5 more optimized getPermissions/getMetaData
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:10 +02:00
Robin Appelman 1dfef9fccf sftp optimize file_put_contents, writeStream and copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:10 +02:00
Robin Appelman 9cf732a90b fix error during sftp stream close
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:09 +02:00
Robin Appelman 19daa70947 clear sftp stat cache when opening a write stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:07 +02:00
Robin Appelman 9053eea4cb Merge pull request #39864 from nextcloud/dav-reuse-request
reuse l10n and request in dav folder listing
2023-09-04 15:57:10 +02:00
Daniel Kesselberg 03f1f1ed2e enh: skip processing for empty response
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-04 15:28:02 +02:00
Robin Appelman 8966f7fbf2 reuse l10n and request in dav folder listing
instead of having to query those once for every node

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 14:06:54 +02:00
Robin Appelman 90d05ae66a Merge pull request #40201 from nextcloud/ftp-ci-fix
change proftpd ci image
2023-09-04 14:05:53 +02:00
Robin Appelman 64f62f7cfd Merge pull request #39863 from nextcloud/sharing-mask-wrapper
move share permission logic to storage wrapper
2023-09-04 14:05:14 +02:00
Lucas Azevedo c587f684bd Wrap mimetype insert and getLastInsertId in a transaction
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-09-04 08:02:35 -03:00
Simon L 489a57e9a3 Merge pull request #39707 from nextcloud/bugfix/39706/local-ext-storage-unavailable-mode 2023-09-04 12:05:36 +02:00
Côme Chilliet 373f3f6d3e Merge pull request #40189 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-09-04 10:46:44 +02:00
John Molakvoæ db19b25abd Merge pull request #40195 from nextcloud/fix/defaultpermissions-rootfolder 2023-09-04 10:43:58 +02:00
rakekniven ebf4aa3312 fix(10n): Fixed grammar
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-04 08:19:16 +00:00
Nextcloud bot 67974c4647 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-04 00:32:23 +00:00
Andy Scherzinger cdea1d62ba Merge pull request #40224 from nextcloud/fix/profile-api-typo
ProfileApi: Fix typo
2023-09-03 12:30:01 +02:00
jld3103 8b9b637ec6 ProfileApi: Fix typo
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-03 11:45:48 +02:00
nextcloud-command 00368895c4 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-09-03 02:16:00 +00:00
Nextcloud bot d9c5f174b2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-03 00:25:32 +00:00
Joas Schilling 391bbbc14d Merge pull request #40075 from nextcloud/bugfix/noid/fix-parameter-name-change
fix(API): Fix parameter name to match interface
2023-09-02 17:38:17 +02:00
John Molakvoæ db5dbd1d56 Merge pull request #26716 from nextcloud/fix/sharing-do-no-get-after-create 2023-09-02 11:06:17 +02:00
John Molakvoæ (skjnldsv) f828dce597 Fix sharing creation insert and get
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-02 10:25:24 +02:00
John Molakvoæ 382d791644 Merge pull request #38032 from JanisPlayer/master 2023-09-02 10:05:03 +02:00
JanisPlayer 80abec668b feat: Imaginary WebP support
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-02 09:30:37 +02:00
dependabot[bot] 12f57ada7d Merge pull request #40214 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-7.8.0 2023-09-02 04:09:12 +00:00
dependabot[bot] 1358a18087 chore(deps-dev): Bump guzzlehttp/guzzle in /build/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.6.1 to 7.8.0.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/7.8/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.6.1...7.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-02 01:25:00 +00:00
dependabot[bot] c25458074a chore(deps-dev): Bump @cypress/webpack-preprocessor from 5.17.1 to 6.0.0
Bumps [@cypress/webpack-preprocessor](https://github.com/cypress-io/cypress) from 5.17.1 to 6.0.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/@cypress/webpack-preprocessor-v5.17.1...@cypress/webpack-preprocessor-v6.0.0)

---
updated-dependencies:
- dependency-name: "@cypress/webpack-preprocessor"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-02 01:19:02 +00:00
Nextcloud bot 6c63bc7ffe Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-02 00:26:44 +00:00
John Molakvoæ 2592568add fix(files): New folder case
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-02 01:16:41 +02:00
John Molakvoæ e040d939e5 feat(files): add sharing icon in header
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-02 01:16:41 +02:00
Andrew Summers 2258058fd6 Refactor `OC\Server::getAvatarManager
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2023-09-01 16:43:04 -05:00
Daniel e2303d0cc1 Merge pull request #40199 from nextcloud/fix/jsunit 2023-09-01 20:46:26 +02:00
Maxence Lange e55087b6b1 admin have no special rights on users' entries
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-01 20:14:52 +02:00
Robin Appelman 5d35f27f02 change proftpd ci image
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-01 19:25:27 +02:00
Lucas Azevedo 5de021cb9a 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-01 14:20:21 -03:00
John Molakvoæ 2a31bc7fd3 fix(files): fix flaky cypress files test
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-01 18:24:05 +02:00
John Molakvoæ e1112c93ec fix: remove old fileUploadSpec jsunit test
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-01 18:01:54 +02:00
John Molakvoæ b0fae951e3 Merge pull request #39925 from nextcloud/fix/carddav/disable-sab 2023-09-01 18:01:06 +02:00
Anna Larch 7051f1b577 fix(CardDAV): allow disabling of the system address book via config option
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-01 17:38:20 +02:00
John Molakvoæ e3c127f046 Merge pull request #39945 from nextcloud/feat/f2v/uploader 2023-09-01 14:54:27 +02:00
John Molakvoæ 52590a762f feat(files): add uploader
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-01 14:35:40 +02:00
John Molakvoæ 750a9f2c4a fix: prevent sharing permissions on user root folder
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-01 13:53:41 +02:00
Robin Appelman 4711c775b8 Merge pull request #36068 from nextcloud/gf-encryption-fix
extend fix-key-location to handle cases from broken cross-storage moves
2023-09-01 13:01:04 +02:00
Joas Schilling 2abb503e60 fix(API): Fix parameter name to match interface
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-01 11:17:06 +02:00
Benjamin Gaussorgues 730a789c09 test(sharebymail): Improve tests
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-09-01 08:36:23 +02:00
Nextcloud bot cf2e3bc0ee Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-01 00:29:36 +00:00
Thomas Citharel 065e1e82c3 Merge pull request #39017 from nextcloud/fix/s3/verify_bucket_exists
fix(s3): fix handling verify_bucket_exists parameter
2023-08-31 23:10:33 +02:00
Robin Appelman e704470c79 update tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-31 22:37:10 +02:00
Thomas Citharel 3f28fc58aa 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:36:03 +02:00
Robin Appelman e4f85226c5 extend fix-key-location to handle cases from broken cross-storage moves
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-31 19:46:47 +02:00
Pytal a3d37c531a Merge pull request #40100 from nextcloud/fix/37082-replace_input_on_security_page 2023-08-31 09:16:37 -07:00
Andy Scherzinger 339576ffb7 Merge pull request #40087 from nextcloud/fix/37082-fix-label_for_creating_new_group
Adjust input field for "rename group"
2023-08-31 17:12:33 +02:00
Benjamin Gaussorgues e9d6652705 Merge pull request #39897 from nextcloud/feat/share-by-mail/remove-ilogger
sharebymail: remove ILogger and upgrade to PHP 8 syntax
2023-08-31 15:20:27 +02:00
Julia Kirschenheuter cd7f235f08 Merge pull request #40102 from nextcloud/fix/37082-replace_input_on_settings_sharing
Replace custom input field with NcTextField
2023-08-31 13:56:45 +02:00
julia.kirschenheuter caf97891ef Replace custom input field with NcTextField
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-08-31 12:33:29 +02:00
Julia Kirschenheuter aba3f99e5e Merge pull request #40043 from nextcloud/fix/37083-input_field_is_not_available_to_visually_impaired
Replace custom input field with NcTextField
2023-08-31 12:26:50 +02:00
julia.kirschenheuter 6e6bf2a132 Adjust input field for "rename group"
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-08-31 11:39:22 +02:00
julia.kirschenheuter 381e3ed0b9 Replace custom input field with NcInputField
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-08-31 11:37:50 +02:00
julia.kirschenheuter 29807fc5e1 Replace custom input field with NcTextField
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-08-31 11:08:44 +02:00
Nextcloud bot 931ab2e7e3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-31 00:34:40 +00:00
F. E Noel Nfebe c24d6df926 Merge pull request #39472 from nextcloud/26691-improve-sharing-design-flow
Improve sharing flow
2023-08-30 22:18:37 +01:00
Benjamin Gaussorgues 303dadfaa9 sharebymail: remove ILogger and upgrade to PHP 8 syntax
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-08-30 18:36:29 +02:00
fenn-cs 79f62632ea 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 17:58:01 +02:00
Joas Schilling 23197a840c Merge pull request #40159 from nextcloud/bugfix/noid/update-drone-signature
fix(CI): Update .drone.yml signature
2023-08-30 16:28:05 +02:00
Daniel ec089cf3b2 Merge pull request #40108 from nextcloud/bug/noid/config-dns-pinning 2023-08-30 14:55:23 +02:00
Joas Schilling ab89092cf2 chore(Codeowner): Add myself as a codeowner
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-30 12:33:35 +02:00
Joas Schilling 4082f35e53 fix(CI): Update .drone.yml signature
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-30 12:31:36 +02:00
Nextcloud bot 9d1547f59d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-30 00:31:33 +00:00
Pytal 1c68bd2fc7 Merge pull request #40084 from nextcloud/deps/nextcloud/vue-8.0.0-beta.5 2023-08-29 15:16:49 -07:00
Arthur Schiwon 825b65e2ef Merge pull request #39978 from joshtrichards/jr-cfg-sample-trystack-remove
(config sample) Remove defunct trystack.org url
2023-08-29 21:13:30 +02:00
Christopher Ng 7b93438cf6 chore: Update dav snapshot
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-29 12:03:42 -07:00
Christopher Ng 5ed9536c93 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-29 11:05:52 -07:00
Christopher Ng 7b1f8390c3 enh(a11y): Always visible user management labels
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-29 11:05:52 -07:00
Christopher Ng e9fd37507f enh(a11y): Always visible file rename label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-29 11:05:52 -07:00
Christopher Ng ffe29518e8 chore: Migrate to new @nextcloud/vue API
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-29 11:05:51 -07:00
Christopher Ng b240cc12c2 chore(deps): Bump @nextcloud/vue to v8 beta 5
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-29 11:05:51 -07:00
Andy Scherzinger ad56458c06 Merge pull request #39243 from shdehnavi/refactor_contactsinteraction_app
Refactor contactsinteraction app
2023-08-29 19:05:35 +02:00
Daniel Kesselberg eab46bdfe6 feat: add switch to disable dns pinning
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-29 18:03:54 +02:00
Hamid Dehnavi e1b33e6cd0 Make adjustments based on the psalm messages
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-08-29 11:35:44 +02:00
Hamid Dehnavi e22742b910 Refactor contactsinteraction app
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-08-29 11:35:44 +02:00
Vincent Petry 8d1a3daa3f Allow ext storage Local to go unavailable
Whenever an external storage of type Local points at a non-existing
directory, process this as a StorageNotAvailable instead of returning
404.

This makes desktop clients ignore the folder instead of deleting it when
it becomes unavailable.

The code change was limited to external storages to avoid issues during
setup and with the default home storage.
Signed-off-by: Vincent Petry <pvince81@yahoo.fr>
2023-08-29 11:04:31 +02:00
Joas Schilling 6f520f2304 Merge pull request #40026 from lhsazevedo/auth-token-commands
feat: Add auth token list and delete commands
2023-08-29 08:57:07 +02:00
Nextcloud bot 22206209db Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-29 00:30:57 +00:00
Joas Schilling 943f4c246f Merge pull request #40079 from nextcloud/techdebt/noid/user-IThrottler-interface-for-DI
techdebt(DI): Use public IThrottler interface which exists since 25
2023-08-28 20:46:09 +02:00
Joas Schilling fec5ede099 Merge pull request #40077 from nextcloud/bugfix/noid/purge-displayname-cache-on-delete
fix(cache): Remove displayname cache entry on delete
2023-08-28 17:25:30 +02:00
Lucas Azevedo 79bc6ba06c Merge branch 'master' into auth-token-commands 2023-08-28 12:25:01 -03:00
Andy Scherzinger fc3eef9d2f Merge pull request #39083 from nextcloud/fix/check-vobject-existence
fix(CalDAV): Check if the vObject exists before attempting any operations
2023-08-28 16:33:31 +02:00
Joas Schilling 25309bcb45 techdebt(DI): Use public IThrottler interface which exists since Nextcloud 25
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-28 15:50:45 +02:00
Côme Chilliet ac3d7e3a7e Merge pull request #39699 from nextcloud/enh/hide-shares-from-disabled-users
Hide shares by disabled users
2023-08-28 15:33:45 +02:00
Anna 5805ccde1d Merge pull request #38298 from nextcloud/enh/occ-sync-account-data
feat: Add occ user:user:sync-account-data for updating oc_accounts information from user backends
2023-08-28 15:11:55 +02:00
Git'Fellow 066f6ef16c Stop sending deprecated Pragma header
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-08-28 15:11:22 +02:00
Joas Schilling daac5c9a95 fix(cache): Remove displayname cache entry on delete
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-28 14:59:54 +02:00
Anna Larch 14725d792f fix(CalDAV): Check if the vObject exists before attempting any operations
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-28 14:19:54 +02:00
Daniel c2d55ab5f6 Merge pull request #40067 from nextcloud/fix-cancel-files-scan 2023-08-28 14:19:05 +02:00
Robin Appelman d4e67afed7 Merge pull request #39944 from nextcloud/share-cache-share
pass the share to the cache instead of having to ask the storage
2023-08-28 13:44:03 +02:00
Côme Chilliet 24ad2e2dc4 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 09:40:12 +02:00
Côme Chilliet fd0de0a2d1 Fix tests, add test for the new feature
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-28 09:40:12 +02:00
Côme Chilliet 8c9aa9a919 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 09:40:12 +02:00
Lucas Azevedo cc912c3b51 Format lastActivity and type for plain output
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-27 23:14:27 -03:00
Nextcloud bot ce9e0aec7f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-28 00:26:24 +00:00
Daniel Kesselberg 84230059e9 fix: make cancelOperation public
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-27 17:55:20 +02:00
Daniel 8f4614be16 Merge pull request #39911 from nextcloud/fix/carddav/limit-upgrade-sync-to-1000-users 2023-08-27 15:54:45 +02:00
John Molakvoæ b570d76355 Merge pull request #39792 from nextcloud/feat/vue-filepicker-dialog 2023-08-27 11:41:06 +02:00
Nextcloud bot 0c8e577871 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-27 00:30:46 +00:00
Ferdinand Thiessen e7c03aa9c0 chore: Build assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 21:01:37 +02:00
John Molakvoæ 5831d4f536 fix(theming): user background picker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-26 20:58:24 +02:00
Ferdinand Thiessen 93acc47761 fix(dialogs): Use FilePickerBuilder to create the file picker
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 20:56:09 +02:00
Ferdinand Thiessen 7ed04128c4 chore: Remove now unneeded filepicker styles
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 20:56:09 +02:00
Ferdinand Thiessen 738c596977 fix(apps): Adjust apps for FilePicker API change
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 20:56:09 +02:00
Ferdinand Thiessen bd37607fc0 chore: Remove unused FilePickerContext from behat tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 20:56:09 +02:00
Ferdinand Thiessen 5e9a6c1a0b fix(cypress): Fix the user theming cypress test for the new filepicker
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 20:56:09 +02:00
Ferdinand Thiessen 3d74ed85ff 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.
Pin beta releases so we do not get version conflicts.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 20:55:51 +02:00
Anna Larch 7f11ee8c4a fix(CardDAV): only run upgrade sync if 1000 users or less
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-26 17:21:50 +02:00
Joas Schilling efeb517edd Merge pull request #40044 from nextcloud/add-altahrim-as-codeowner
Add Altahrïm as code owner for login routes and sharebymail app
2023-08-26 16:44:03 +02:00
dependabot[bot] d86e0094bb Merge pull request #40057 from nextcloud/dependabot/npm_and_yarn/babel-jest-29.6.4 2023-08-26 06:53:56 +00:00
dependabot[bot] e951da12e6 Merge pull request #40055 from nextcloud/dependabot/npm_and_yarn/babel/preset-typescript-7.22.11 2023-08-26 06:52:53 +00:00
dependabot[bot] 4cfd080df9 chore(deps-dev): Bump babel-jest from 29.6.2 to 29.6.4
Bumps [babel-jest](https://github.com/jestjs/jest/tree/HEAD/packages/babel-jest) from 29.6.2 to 29.6.4.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.6.4/packages/babel-jest)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-26 04:21:38 +00:00
dependabot[bot] a2e81757af chore(deps-dev): Bump @babel/preset-typescript from 7.22.5 to 7.22.11
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.22.5 to 7.22.11.
- [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.22.11/packages/babel-preset-typescript)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-26 04:20:58 +00:00
Nextcloud bot be22f34ac3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-26 00:32:32 +00:00
Benjamin Gaussorgues 627e2c0819 Add Altahrïm as code owner for login routes and sharebymail app
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-08-25 21:57:25 +02:00
Daniel 5d9b84dd58 Merge pull request #39842 from nextcloud/encode-filename-trashbin-restore 2023-08-25 17:08:04 +02:00
Lucas Azevedo 9c66bf6dc3 Use table output for list command
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-25 11:20:34 -03:00
Lucas Azevedo 2a36acfc2b Fix typo
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-25 11:20:34 -03:00
Lucas Azevedo c93b1634d3 Fixes from static analysis
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-25 10:41:46 -03:00
Daniel Kesselberg 7183e3db3d fix: encode basename in restore action
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-25 12:52:47 +02:00
Joas Schilling 85ff1449d3 Merge pull request #39511 from nextcloud/fix/reverse-getDateTime-deprecation
fix(utility): De- deprecate getDateTime and getTime as now() only returns DateTimeImmutable
2023-08-25 10:02:08 +02:00
Anna Larch 66c1aa4a3c 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-25 08:55:44 +02:00
Lucas Azevedo 771a7b92cc Add tests for occ user:auth-tokens:delete
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-25 02:27:41 -03:00
Lucas Azevedo fe9b9c1955 Add last-used-before option
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-25 02:07:57 -03:00
Nextcloud bot d498f9aa38 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-25 00:34:26 +00:00
Lucas Azevedo a49a220fca Update autoloaders
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-24 11:59:55 -03:00
Lucas Azevedo 5af683d2c4 Namespace user auth token commands
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-24 11:42:30 -03:00
Lucas Azevedo f7bf468e22 Use autowiring when registering commands
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-24 11:26:27 -03:00
Lucas Azevedo ca101b2dbe Filter out sensitive fields in user:auth-tokens
PublicKeyToken::jsonSerialize() already explicitly lists allowed fields,
we are adding a second guard here to be on the safe side.

Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-24 11:20:35 -03:00
Simon L c7bd5ba902 Merge pull request #39713 from nextcloud/Jerome-Herbinet-remove-padding-for-longer-wordings
Remove padding for longer wordings (like the future French one)
2023-08-24 12:55:01 +02:00
Joas Schilling dce0db8d69 Merge pull request #40013 from nextcloud/fix/remove-pw-from-logging
Do not log passwords in debug mode
2023-08-24 11:42:51 +02:00
Jérôme Herbinet 2a2cf05149 npm run build
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-24 11:11:36 +02:00
Jérôme Herbinet c35c78aaf6 Remove padding for longer wordings
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-24 11:11:36 +02:00
Anna Larch 5d5134e615 Do not log passwords in debug mode
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-24 10:39:27 +02:00
Lucas Azevedo 7d05d1f604 Add missing return types
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-24 00:11:59 -03:00
Nextcloud bot 313a06aeed Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-24 01:00:57 +00:00
Pytal 4e60b3c61e Merge pull request #39971 from nextcloud/fix/a11y-weather-visible-label 2023-08-23 17:26:02 -07:00
Lucas Azevedo 651044ce17 feat: Add user:delete-auth-token command
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-23 20:56:52 -03:00
Lucas Azevedo eed32112c5 feat: Add user:auth-tokens command
Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
2023-08-23 20:56:17 -03:00
Daniel ac47eb9b94 Merge pull request #40012 from nextcloud/techdebt/noid/prepare-doctrine-update 2023-08-23 21:25:51 +02:00
John Molakvoæ 590b1d9b2a Merge pull request #39955 from nextcloud/fix/files-lib 2023-08-23 14:21:07 +02:00
John Molakvoæ 7d46eb0273 chore(deps): remove unused is-svg
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-23 14:03:52 +02:00
John Molakvoæ 3e271d89f4 chore: upgrade to @nextcloud/files@3.0.0-beta.18
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-23 14:03:51 +02:00
John Molakvoæ 2c9acd5d5d feat: migrate FileAction from server
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-23 14:03:51 +02:00
John Molakvoæ b4e71ad0fb chore: use Navigation from @nextcloud/files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-23 14:03:50 +02:00
Joas Schilling 5a1fcdb272 fix(dbal): Migrate to Doctrine\DBAL\ParameterTypes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-23 09:08:08 +02:00
Joas Schilling 26c734abe4 fix(tests): Specify all positional parameters again to fix tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-23 09:08:08 +02:00
John Molakvoæ c9a197e6dd Merge pull request #39999 from nextcloud/chore/deps/ts-vue 2023-08-23 08:10:00 +02:00
John Molakvoæ 962388d653 Merge pull request #40005 from nextcloud/automated/noid/master-update-ca-cert-bundle 2023-08-23 08:09:41 +02:00
nextcloud-command 4b0837f957 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2023-08-23 02:09:58 +00:00
Nextcloud bot bc411a2cf3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-23 00:28:15 +00:00
Kate 020401b6c8 Merge pull request #40001 from nextcloud/fix/openapi/capabilities
Fix OpenAPI capabilities
2023-08-22 20:35:41 +02:00
jld3103 672966e4b3 files: Fix OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-22 20:07:26 +02:00
jld3103 8cfa6ac8c2 Update openapi-extractor
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-22 20:07:11 +02:00
John Molakvoæ 1c626693ab chore(deps): upgrade @nextcloud/webpack-vue-config and typescript
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-22 19:42:21 +02:00
John Molakvoæ b11532ce56 Merge pull request #39958 from nextcloud/dav-permissions-perf 2023-08-22 19:14:53 +02:00
John Molakvoæ 39d5f69e4d Merge pull request #39979 from nextcloud/automated/noid/master-fix-npm-audit 2023-08-22 19:13:54 +02:00
Kate 544c6e8ffb Merge pull request #39984 from nextcloud/feature/openapi/files_reminders
files_reminders: Add OpenAPI spec
2023-08-22 18:04:10 +02:00
Julius Härtl 2bb48a6dc7 Merge pull request #39950 from nextcloud/bugfix/uncaught-preview-promise 2023-08-22 17:35:45 +02:00
Joas Schilling 613cd16583 Merge pull request #39996 from nextcloud/bugfix/noid/fix-header-regression
fix(middleware): Fix header injection for bruteforce middleware
2023-08-22 16:32:10 +02:00
Joas Schilling 381c35080d 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-22 16:00:39 +02:00
Julia Kirschenheuter e42d82fe13 Merge pull request #39987 from nextcloud/fix/39926-fix_predefined_status-buttons
Fix predefined status buttons
2023-08-22 15:07:46 +02:00
julia.kirschenheuter 558f5f97fc Add logic for predefined status to be visible.
Add styles for radio buttons to be visible in checked, active and focus-visible state.

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-08-22 13:20:34 +02:00
Ferdinand Thiessen da3c94161b Merge pull request #39912 from nextcloud/fix/improved-upload-view
Improve upload progress visualization
2023-08-22 13:03:27 +02:00
Julius Härtl 79c240a17f fix: Avoid throwing on folder previews as there are none
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-22 08:49:17 +00:00
Joas Schilling 5234807c60 Merge pull request #39937 from nextcloud/feat/dashboard/item-api-v2
feat(dashboard): implement widget item api v2
2023-08-22 09:35:32 +02:00
Joas Schilling e1accaf0b1 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-22 08:41:04 +02:00
Richard Steinmetz 6982597b6a 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 08:36:53 +02:00
jld3103 a95bebde34 files_reminders: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-22 08:33:42 +02:00
Joas Schilling 82835eaa46 Merge pull request #39870 from nextcloud/perf/noid/memcache-bfp-backend
feat(security): Add a bruteforce protection backend base on memcache
2023-08-22 08:32:54 +02:00
Nextcloud bot f7e7034ca7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-22 00:51:53 +00:00
Pytal 4b7ec0a0c1 Merge pull request #39943 from nextcloud/fix/users-app-nav 2023-08-21 17:11:55 -07:00
Christopher Ng 9423be64ab chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-21 16:29:57 -07:00
Christopher Ng 32f5e0bd96 fix(settings): Keyboard focus outline for app nav button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-21 16:24:55 -07:00
Christopher Ng f1c2dfc094 fix(settings): Invert app nav icons when active
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-21 16:24:55 -07:00
Christopher Ng 266789a4f4 fix(settings): Remove margin on app nav button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-21 16:24:55 -07:00
Christopher Ng 2505961fe7 fix(settings): Remove add group hover border
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-21 16:24:55 -07:00
Ferdinand Thiessen 39e0a42ed2 fix: Upload progress shows number of files to upload and current index
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-21 23:18:45 +02:00
Ferdinand Thiessen c87ce4bafc fix: Make smooth bitrate and remaining upload time work when unset
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-21 23:18:45 +02:00
Phlogi 0609aeeb0a 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-21 23:18:45 +02:00
Pytal 1e6ed078e8 Merge pull request #39965 from nextcloud/dependabot/npm_and_yarn/cypress-12.17.4 2023-08-21 10:24:45 -07:00
Joas Schilling 919b055f33 Merge pull request #39989 from nextcloud/techdebt/noid/bump-coding-style
fix(CS): Ignore apps*/ directories which are gitignored
2023-08-21 17:09:20 +02:00
Joas Schilling bed3ffb312 feat(admin): Show an error when the admin is throttled
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 16:40:24 +02:00
Joas Schilling 124588d4a6 fix: Make bypass function public API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 16:40:24 +02:00
Joas Schilling b2fd283a30 feat(OCC): Add a command to get the bruteforce state of an IP
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 16:36:05 +02:00
Joas Schilling fd9b2d488e feat: Expose if the own IP is allowed to bypass bruteforce protection
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 16:36:04 +02:00
Joas Schilling 2f06f2355d feat: Add a header which signals that the request was throttled
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 16:36:04 +02:00
Joas Schilling abc98d343c feat(security): Add a "testing mode" for bruteforce protection that doesn't sleep
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 16:36:03 +02:00
Joas Schilling a95800c647 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-21 16:36:03 +02:00
Joas Schilling cc551acaaa fix(CS): Ignore apps*/ directories which are gitignored
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-21 16:14:46 +02:00
Joas Schilling 4c2c53e271 Merge pull request #39391 from nextcloud/fix/4324-fix-color-of-special-buttons
Change color of error and success
2023-08-21 15:37:42 +02:00
julia.kirschenheuter d6fb961a94 Change color of error and success
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-08-21 10:49:58 +02:00
Nextcloud bot a4f3088c6e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-21 00:27:37 +00:00
nextcloud-command 24ae3d9163 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-08-20 02:43:03 +00:00
Nextcloud bot c96844ea33 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-20 00:33:50 +00:00
Josh Richards 5c3bf436c8 (config sample) Remove defunct trystack.org url
Fixes nextcloud/documentation#10434 and nextcloud/documentation#9400

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-08-19 18:15:49 -04:00
Daniel 8814080af3 Merge pull request #39727 from nextcloud/automated/noid/master-update-psalm-baseline 2023-08-19 18:19:45 +02:00
nextcloud-command 4a671bc7d1 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-19 17:39:04 +02:00
dependabot[bot] 92eec42352 Merge pull request #39968 from nextcloud/dependabot/npm_and_yarn/nextcloud-vue-collections-0.11.1 2023-08-19 14:28:03 +00:00
dependabot[bot] 380e97ddb0 chore(deps): Bump nextcloud-vue-collections from 0.10.0 to 0.11.1
Bumps [nextcloud-vue-collections](https://github.com/juliushaertl/nextcloud-vue-collections) from 0.10.0 to 0.11.1.
- [Release notes](https://github.com/juliushaertl/nextcloud-vue-collections/releases)
- [Commits](https://github.com/juliushaertl/nextcloud-vue-collections/compare/v0.10.0...v0.11.1)

---
updated-dependencies:
- dependency-name: nextcloud-vue-collections
  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-08-19 13:11:29 +00:00
dependabot[bot] 85971ea035 Merge pull request #39976 from nextcloud/dependabot/github_actions/actions/stale-8 2023-08-19 12:58:56 +00:00
dependabot[bot] 22516ab7aa Merge pull request #39975 from nextcloud/dependabot/github_actions/actions/github-script-6 2023-08-19 12:54:25 +00:00
dependabot[bot] c3267a7e64 Merge pull request #39967 from nextcloud/dependabot/npm_and_yarn/sass-1.66.1 2023-08-19 04:17:02 +00:00
dependabot[bot] e946b3260d chore(deps): Bump actions/stale from 5 to 8
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v5...v8)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-19 02:44:38 +00:00
dependabot[bot] d8213f6598 chore(deps): Bump actions/github-script from 5 to 6
Bumps [actions/github-script](https://github.com/actions/github-script) from 5 to 6.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-19 02:44:37 +00:00
dependabot[bot] 61bc7f8045 chore(deps): Bump actions/setup-node from 3.6.0 to 3.8.1
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.6.0 to 3.8.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c...5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-19 02:44:31 +00:00
dependabot[bot] f6d22a1405 chore(deps): Bump peter-evans/create-pull-request from 3 to 5
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...153407881ec5c347639a548ade7d8ad1d6740e38)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-19 02:44:27 +00:00
Christopher Ng 1df1bc19d4 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-18 19:02:47 -07:00
Christopher Ng 266ad60cb7 fix(a11y): Add always visible label when setting weather address
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-18 18:56:56 -07:00
dependabot[bot] 0c9cd468bc chore(deps-dev): Bump sass from 1.64.2 to 1.66.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.64.2 to 1.66.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.64.2...1.66.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-19 01:24:10 +00:00
dependabot[bot] 8324fa0451 chore(deps-dev): Bump cypress from 12.17.3 to 12.17.4
Bumps [cypress](https://github.com/cypress-io/cypress) from 12.17.3 to 12.17.4.
- [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.17.3...v12.17.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-19 01:22:52 +00:00
Nextcloud bot 3bdcc36f03 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-19 00:33:57 +00:00
John Molakvoæ af87086d0d Merge pull request #39924 from nextcloud/bugfix/noid/x-requested-with 2023-08-18 23:45:15 +02:00
Daniel f1e448f3c3 Merge pull request #39754 from nextcloud/Jerome-Herbinet-download-and-enable-all 2023-08-18 23:26:35 +02:00
Jérôme Herbinet 2ace681a2a Download and enable all
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Download and enable all

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

npm run build

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-18 22:51:12 +02:00
Joas Schilling 49085aa179 Merge pull request #39961 from nextcloud/bugfix/noid/simplify-route-name
fix(CS): Use the naming pattern for the URL scheme
2023-08-18 22:00:21 +02:00
Julius Härtl 0904c84319 fix: Set X-Requested-With header on all requests to avoid browser auth dialogs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-18 18:22:14 +00:00
Joas Schilling f3a3ece9cc Merge pull request #39888 from nextcloud/less-container-queries
Reduce the number of container queries
2023-08-18 18:01:47 +02:00
Ferdinand Thiessen b82331ed3b Merge pull request #39922 from nextcloud/dependabot/npm_and_yarn/marked-7.0.3
chore(deps): Bump marked from 5.1.2 to 7.0.3
2023-08-18 16:12:32 +02:00
Ferdinand Thiessen f56e3e116c Merge pull request #39938 from nextcloud/dependabot/npm_and_yarn/libphonenumber-js-1.10.41
chore(deps): Bump libphonenumber-js from 1.10.38 to 1.10.41
2023-08-18 15:32:55 +02:00
Robin Appelman b6c3507aa0 only determine quota_include_external_storage once for quota wrapper
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 14:25:28 +02:00
dependabot[bot] 192e1347eb chore(deps): Bump marked from 5.1.2 to 7.0.3
Bumps [marked](https://github.com/markedjs/marked) from 5.1.2 to 7.0.3.
- [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/v5.1.2...v7.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-18 14:10:48 +02:00
Robin Appelman e98e8f10c9 improve performance of calculating dav permissions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 14:09:03 +02:00
Joas Schilling be41dc4fa7 Merge pull request #39867 from nextcloud/login-less
Add a separate event for login page rendering
2023-08-18 13:54:15 +02:00
Robin Appelman df71b4d734 pass the share to the cache instead of having to ask the storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 13:38:08 +02:00
Joas Schilling cb19c62a92 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-18 12:52:40 +02:00
Joas Schilling bf2a9aa46d fix(CS): Use the naming pattern for the URL scheme
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-18 12:52:16 +02:00
Robin Appelman f0b70e539b only get logger when needed in sabre/directory
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 11:14:52 +02:00
Robin Appelman 80b001f82e better caching in storage stats calculations
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 11:14:52 +02:00
Robin Appelman 36f9ebb677 only gather dependencies for trashbin wrapper once
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 11:14:52 +02:00
Robin Appelman 9ea03a9534 reuse dependencies from wrapped cache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 11:14:52 +02:00
Robin Appelman c7035eec05 Merge pull request #39903 from nextcloud/no-dav-acl-files
don't bother checking dav acl's in files
2023-08-18 09:52:42 +02:00
Robin Windey d7a73ffdf1 Rename since/until in verbose message
Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +02:00
Robin Windey acf0b4ce34 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-08-18 07:25:39 +02:00
Robin Windey 52d77eb9fe Make scope parsing more readable
Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +02:00
Robin Windey ee66518ca2 Decouple from groupfolders app & remove PSALM warnings
Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +02:00
Robin Windey 98dd02b467 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-08-18 07:25:39 +02:00
Nextcloud bot f5f3d68eb8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-18 00:35:47 +00:00
dependabot[bot] c1aa1549c0 chore(deps): Bump libphonenumber-js from 1.10.38 to 1.10.41
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.10.38 to 1.10.41.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.10.38...v1.10.41)

---
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-08-17 23:40:18 +02:00
max-nextcloud 4b7aa65192 Merge pull request #39770 from nextcloud/fix/always-use-displayname-from-correct-backend
fix: always use display name from correct backend
2023-08-17 23:10:38 +02:00
Joas Schilling a98748e519 Merge pull request #39910 from nextcloud/bugfix/noid/fix-memcache-class-handling
fix(memcache): Fix comparison of Memcache configs to classes
2023-08-17 22:53:55 +02:00
John Molakvoæ a8fc62f0b1 Merge pull request #39808 from nextcloud/feat/f2v/files 2023-08-17 20:00:15 +02:00
John Molakvoæ 74c2f61cbd chore: remove outdated acceptance tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 19:55:36 +02:00
John Molakvoæ 266fb31180 fix(tests): preview phpunit
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:58:21 +02:00
John Molakvoæ 1b67542e0b fix(files): trashbin redirect and default fileid Sidebar open
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:58:20 +02:00
John Molakvoæ 6da9813ced chore: update openapi
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:39 +02:00
John Molakvoæ fdf07fc759 fix(cypress): adjust selectors
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:39 +02:00
John Molakvoæ 9a5b26675c fix(files): window.caches check
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:39 +02:00
John Molakvoæ 2cdb074771 chore: compile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:39 +02:00
John Molakvoæ 5098a2d7db fix(tests): actions adjust and jest fetch mock
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ f6a6e0b991 fix(files): sidebar favorite event sync
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ 96d5971083 fix(files): navigation quota alignments
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ af44cc79fa fix(files): unnecessary navigation change detection
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ c08d5e6240 fix(files): dir contents variables
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ 52f2dddcc6 fix(files): router and fileid sidebar open
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ 6214fe7724 fix(files): active and open sidebar on mount
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ 267cea8153 fix: FileEntry boundariesElement and right click menu
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ 28725c46a8 feat: redirect to the mime icon if no preview available
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ 9df5212a40 perf(files): reuse vnode with unique key
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:38 +02:00
John Molakvoæ 0f68d08b14 feat: virtual scrolling update
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:37 +02:00
John Molakvoæ 3344f0f121 fix(files): service worker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:37 +02:00
John Molakvoæ 410f58e43e chore(files): add Headers, remove legacy methods and cleanup
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:37 +02:00
John Molakvoæ 998b3a2581 feat(f2v): migrate Files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:37 +02:00
Ferdinand Thiessen a820e3d036 Merge pull request #39599 from nextcloud/fix/l10n-password-header
fix(l10n): Password column header
2023-08-17 15:49:08 +02:00
Ferdinand Thiessen 59ba768821 Merge pull request #39927 from nextcloud/Jerome-Herbinet-better-design-for-update-channel-selector
A better design for update channel selector
2023-08-17 14:30:57 +02:00
Julius Härtl 45595a8417 Merge pull request #39481 from nextcloud/fix/transfer-ownersip 2023-08-17 13:23:04 +02:00
Christopher Ng ffc497849d fix(l10n): Password column header
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-17 13:05:10 +02:00
Ferdinand Thiessen 1406eecf6c Merge pull request #39906 from nextcloud/fix/prevent-warnings-if-attr-unset
Prevent PHP warning when CacheEntry extension keys are not set
2023-08-17 11:31:53 +02:00
Robin Appelman 1df33256be add core fileclient script before others
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-17 11:18:26 +02:00
Jérôme Herbinet bf35ef1ecb npm run build
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-17 11:18:02 +02:00
Jérôme Herbinet 86e1e82856 Remove extra tab
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-17 11:14:08 +02:00
Robin Appelman 37e3115cb4 don't always add core/common and core/main during "sorting"
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-17 10:57:56 +02:00
Robin Appelman ccf57e0715 add separate event for rendering login page template
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-17 10:57:56 +02:00
Robin Appelman 838929dc83 move "aways loaded" sharing script to event listener
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-17 10:57:56 +02:00
Robin Appelman 222ed1f849 move core script loading from static template to event listener
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-17 10:57:56 +02:00
Jérôme Herbinet 485f570e13 npm run build
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-17 10:53:11 +02:00
Jérôme Herbinet 4de250eede A better design for update channel selector
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-17 10:42:56 +02:00
Anna Larch 556f29bef5 fix: don't emit Hooks when hookpaths are empty
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-17 09:32:14 +02:00
Nextcloud bot daf3b29572 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-17 00:33:49 +00:00
dependabot[bot] 2693bdf4c1 Merge pull request #39095 from nextcloud/dependabot/github_actions/skjnldsv/read-package-engines-version-actions-2.2 2023-08-16 23:42:06 +00:00
Hamid Dehnavi 271e63e41c Convert isset ternary to null coalescing operator
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-08-17 01:36:50 +02:00
dependabot[bot] 00a3ab9599 Merge pull request #39833 from nextcloud/dependabot/npm_and_yarn/puppeteer-21.0.3 2023-08-16 23:29:51 +00:00
Pytal db3e60c448 Merge pull request #39909 from nextcloud/fix/a11y-users-list-select-focus-on-tag-delete 2023-08-16 15:22:14 -07:00
Ferdinand Thiessen 3ff9e72964 Merge pull request #39916 from nextcloud/enh/noid/fix-public-file-upload-button
try to fix regression with public file upload button
2023-08-16 23:38:25 +02:00
Kate f85e751688 Merge pull request #39125 from nextcloud/refactor/csrf-ocs-check
Rewrite OCS CSRF check to be readable
2023-08-16 19:29:57 +02:00
Simon L 372f9c9bad 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 16:54:38 +00:00
Julia Kirschenheuter 3c43ff67ea Merge pull request #39332 from nextcloud/fix/36981-fix-focus-style-on-status-radio-buttons
Set double outline on checked state for radio buttons
2023-08-16 17:44:26 +02:00
Robin Appelman 6f6e24431a Merge pull request #39860 from nextcloud/metadata-dont-preload-subfolders
don't preload metadata for the sub-childen
2023-08-16 17:14:07 +02:00
Simon L 12805eeaf3 Merge pull request #39884 from nextcloud/enh/37207/adjust-add-button
adjust add button
2023-08-16 17:11:17 +02:00
Joas Schilling 93f0399a92 fix(memcache): Fix comparison of Memcache configs to classes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-16 16:05:50 +02:00
jld3103 12f8543815 Rewrite OCS CSRF check to be readable
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-16 15:52:36 +02:00
Grigorii K. Shartsev d8d9567bdb chore(assets): build assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-08-16 15:48:32 +02:00
Grigorii K. Shartsev a428814c93 fix(settings): fix "Set user manager" label in users settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-08-16 15:48:32 +02:00
Grigorii K. Shartsev 4b39a27caf fix(settings): fix set manager loading indicator in users settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-08-16 15:48:32 +02:00
Grigorii K. Shartsev 233b2aaf74 fix(settings): do not disable select on loading in users settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-08-16 15:48:32 +02:00
Robin Appelman e73889a240 cleanup di for share permissions wrapper
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-16 15:25:05 +02:00
Ferdinand Thiessen 9c04c07622 fix: Prevent PHP warnings when optional CacheEntry attributes are unset
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-16 14:12:51 +02:00
Ferdinand Thiessen 5b37d6d9ff tests: Add test for CacheEntry getters
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-16 14:00:21 +02:00
julia.kirschenheuter 9545826fc4 Set double outline on checked state for radio buttons
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-08-16 13:22:13 +02:00
Simon L 7926b63d05 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 11:20:06 +00:00
Ferdinand Thiessen f3fa006484 Merge pull request #39686 from nextcloud/fix/modern-mimetype
fix(core): Modernize JS for mimetype handling
2023-08-16 13:16:08 +02:00
Robin Appelman 1a9dcc5725 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-16 12:13:04 +02:00
Thomas Citharel 6d0dabedd8 Merge pull request #39525 from nextcloud/fix/set-owner-principal-for-SAB
fix(CardDAV): set owner-principal, displayname properties for SAB
2023-08-16 10:17:19 +02:00
Ferdinand Thiessen 717276d1ab fix(core): Modernize the mimetype handling
No need for jQuery or lodash as standard ECMA is supported by all of our supported browsers

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-16 10:08:45 +02:00
Anna Larch 6bd78917d3 fix(CardDAV): set owner-principal, displayname properties for SAB
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-08-16 09:11:01 +02:00
Nextcloud bot 091c1edd21 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-16 00:25:37 +00:00
Pytal 3c13efdaf2 Merge pull request #39876 from nextcloud/fix/files-reminders 2023-08-15 08:40:46 -07:00
Andy Scherzinger 892f770330 Merge pull request #39885 from nextcloud/chore/noid/bumpHubNext
Bump Hub 5 -> Hub 6
2023-08-15 17:01:14 +02:00
Andy Scherzinger 84189b060c BUmp Hub 5 -> Hub 6
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-08-15 17:00:05 +02:00
Simon L cec498605f 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-15 14:38:54 +00:00
Daniel 89f66a5a4b Merge pull request #39866 from nextcloud/enh/fix-php-8.3-support-in-tests 2023-08-15 15:08:28 +02:00
Max 99a4a9cd09 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-15 14:55:03 +02:00
Christopher Ng be6c4c4058 fix(files_reminders): Delete reminders on node deleted
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-14 18:09:24 -07:00
Christopher Ng 6d2292fe1d fix(files_reminders): Always respect json output option
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-14 18:07:03 -07:00
Christopher Ng 0d3297db28 fix(files_reminders): Allow non-admin
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-14 18:05:14 -07:00
Nextcloud bot 240e8ab099 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-15 00:32:24 +00:00
Julius Härtl 2b7d03778f Merge pull request #39786 from nextcloud/bugfix/version-expire-cleanup 2023-08-14 22:49:43 +02:00
Robin Appelman aefc3f8759 Merge pull request #38714 from nextcloud/cache-imcomplete-id-first
select the fileid first when looking for incomplete files
2023-08-14 20:49:45 +02:00
Robin Appelman 054b5130ed Merge pull request #39868 from nextcloud/files-ext-builder-reuse
Remove query builder reuse in files_external
2023-08-14 19:42:36 +02:00
Julius Härtl bbb7172220 fix: Also cleanup version metadata if expiring
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-14 19:31:41 +02:00
Robin Appelman a031bc4788 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-08-14 18:17:27 +02:00
Côme Chilliet f57c12b14e Fix various deprecation warnings in tests on PHP 8.3
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-14 18:13:12 +02:00
Robin Appelman 658aed27ea 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:08:01 +02:00
Robin Appelman fb647e29b1 use fresh builders when deleting storages
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-14 18:03:20 +02:00
Git'Fellow c5c6f3eaf1 fix: don't try to access null array
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-08-14 17:57:17 +02:00
Côme Chilliet 8857599656 DateRangeError in PHP>=8.3 is not a ValueError anymore
Fixing 32bit CI on PHP>=8.3

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-14 16:28:28 +02:00
Côme Chilliet ee756579a7 Fix setting static property in tests on PHP 8.3
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-14 16:27:56 +02:00
Robin Appelman 76acc3ada7 only triger metadata preload logic when at least one metadata is requested
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-14 13:01:14 +02:00
Robin Appelman fce1a164a0 don't preload metadata for the sub-childen
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-14 12:58:46 +02:00
Daniel 2ea6c5364d Merge pull request #39644 from nextcloud/fix/noid/copy-delete-fallback-for-files
fix: copy-and-delete fallback should use unlink
2023-08-14 12:29:40 +02:00
Daniel 433cb70738 Merge pull request #39850 from nextcloud/nulCoalSimpl
Code simplification using null coalescing
2023-08-14 12:02:37 +02:00
Nextcloud bot 73977a0cb1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-14 09:05:49 +00:00
Robin Appelman 30e9f520f3 Merge pull request #39568 from nextcloud/caldav-share-preload
Calendar optimizations
2023-08-14 10:27:35 +02:00
Joas Schilling 2472d847db Merge pull request #39820 from nextcloud/l10n-files-reminders
Add l10n for files_reminders
2023-08-14 10:15:43 +02:00
Nextcloud bot dfbc0d8572 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-14 00:25:59 +00:00
F. E Noel Nfebe b7d0c6031f Merge pull request #39218 from nextcloud/32127-migrate-parts-of-files-from-ilogger
Migrate parts of files app away from depecrated Ilogger
2023-08-13 16:47:12 +01:00
Git'Fellow 6083fe3c9b Code simplification using null coalescing
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-08-13 16:26:24 +02:00
Aaron Dewes d79def553f Fix tests
Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>
2023-08-13 15:43:04 +02:00
Aaron Dewes 16908999ed Simplify escapeFilterPart
Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>
2023-08-13 15:43:04 +02:00
Aaron Dewes 13d9494af3 Escape some more values
Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>
2023-08-13 15:43:04 +02:00
AaronDewes c42d9d439a Fix: Escape group names for LDAP
Groups may contain special characters (Like "(" or ")") that should be escaped to ensure geenrted queries are correct.

Signed-off-by: AaronDewes <aaron.dewes@protonmail.com>
2023-08-13 15:43:04 +02:00
Daniel 51a73d8e80 Merge pull request #39846 from nextcloud/pgSQLCheckRemove
Remove check for very old PGsql version
2023-08-13 14:49:59 +02:00
Simon L 6fcd00a2b2 Merge pull request #39848 from nextcloud/39804-wrap-org-name-login-form
Wrap long productName on login form
2023-08-13 13:43:31 +02:00
fenn-cs 77aa4cf7f4 Wrap long productName on login form
Resolves : https://github.com/nextcloud/server/issues/39804

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-13 11:10:26 +00:00
fenn-cs dc8d25c274 Migrate parts of files app away from depecrated Ilogger
- Migrate some backgrounds jobs, `TransferOwnership` & `DeleteOrphanedItems`
- Migrate `DirectEditingController`

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-08-13 11:37:34 +01:00
Nextcloud bot 4a2fbf7280 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-13 00:24:58 +00:00
Git'Fellow 7306960f2c Fix lint
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-08-13 00:21:54 +02:00
Git'Fellow 9237fba27b Remove check for very old PGsql
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-08-13 00:15:18 +02:00
dependabot[bot] 50d1f530cb Merge pull request #39836 from nextcloud/dependabot/npm_and_yarn/babel/node-7.22.10 2023-08-12 04:44:11 +00:00
dependabot[bot] cadf9a8d7c Merge pull request #39834 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-cypress-2.14.0 2023-08-12 04:43:02 +00:00
dependabot[bot] e96fce5244 chore(deps-dev): Bump @babel/node from 7.22.6 to 7.22.10
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.22.6 to 7.22.10.
- [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.22.10/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>
2023-08-12 01:25:48 +00:00
dependabot[bot] b00aaea6b2 chore(deps-dev): Bump eslint-plugin-cypress from 2.13.3 to 2.14.0
Bumps [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) from 2.13.3 to 2.14.0.
- [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases)
- [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v2.13.3...v2.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-12 01:25:10 +00:00
dependabot[bot] c9efaf7e65 chore(deps-dev): Bump puppeteer from 20.9.0 to 21.0.3
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 20.9.0 to 21.0.3.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v20.9.0...puppeteer-v21.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-12 01:24:40 +00:00
Nextcloud bot 5dfef033b5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-12 00:27:39 +00:00
Joas Schilling 6cdad2d4ce Merge pull request #39806 from nextcloud/fix/update-check-no-internet
fix(updatenotification): Skip update check
2023-08-11 21:19:17 +02:00
Christopher Ng 2909f2c6df Add l10n for files_reminders
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-11 11:42:55 -07:00
Christopher Ng de4bc44f95 test(updatenotification): No internet
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-11 11:23:30 -07:00
Christopher Ng b63dbae68a fix(updatenotification): Skip update check
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-11 10:40:49 -07:00
Joas Schilling 03f5bb68a3 Merge pull request #39700 from nextcloud/debt/noid/invitation-response-close-cursor
fix: close cursor after reading the invitation
2023-08-11 18:00:11 +02:00
Ferdinand Thiessen 74dac12be6 Merge pull request #39575 from nextcloud/Jerome-Herbinet-better-untested-app-button-wording-1
"Allow untested app" wording
2023-08-11 15:59:18 +02:00
Joas Schilling 9fb08f506f Merge pull request #38082 from nextcloud/allow-wasm-unsafe-eval-in-csp
Allow "wasm-unsafe-eval" in CSP
2023-08-11 14:04:49 +02:00
Jérôme Herbinet c65407398a "Allow untested app" wording
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-11 13:58:15 +02:00
Julien Veyssier 833489d754 Merge pull request #39716 from nextcloud/feature/openapi/ci
Add OpenAPI CI
2023-08-11 13:48:33 +02:00
jld3103 8efdb75f4e Add OpenAPI CODEOWNERS
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-11 13:31:34 +02:00
jld3103 2b719c7a7b Add OpenAPI CI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-11 13:31:34 +02:00
jld3103 11fd1f0ac1 Add OpenAPI checker
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-11 13:31:34 +02:00
jld3103 17c63ff735 Install openapi-extractor
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-11 13:31:34 +02:00
Julien Veyssier 756cb045a6 Merge pull request #39809 from nextcloud/fix/openapi/core
Fix text processing OpenAPI
2023-08-11 13:30:23 +02:00
jld3103 902e0396e0 Fix text processing OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-11 11:37:56 +02:00
Nextcloud bot f0db3d0de1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-11 00:30:07 +00:00
Andy Scherzinger f2353a66ba Merge pull request #39798 from nextcloud/enh/reminder-options
enh(files_reminders): Adjust reminder options
2023-08-10 23:21:41 +02:00
Daniel Kesselberg 378a0f9837 fix: close cursor after reading the invitation
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-10 21:45:57 +02:00
Christopher Ng 23a581dbb3 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-10 11:27:46 -07:00
Christopher Ng acd338beba enh(files_reminders): Adjust reminder options
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-10 11:16:08 -07:00
Andy Scherzinger a38a86e5c4 Merge pull request #39655 from nextcloud/appecosystem-auth
AppEcosystem Authentification
2023-08-10 19:11:43 +02:00
Daniel 51833a50b8 Merge pull request #39723 from nextcloud/removed-apc-extension-version-check
chore: remove version check for apc extension
2023-08-10 18:17:31 +02:00
Côme Chilliet 7d01b964b5 Merge pull request #39446 from nextcloud/enh/user_ldap-refactor-group-membership-cache
Refactor user_ldap group membership cache and add check-group command
2023-08-10 17:22:54 +02:00
Andrey Borysenko f7b2dc8ccc Merge branch 'master' into appecosystem-auth 2023-08-10 17:21:35 +03:00
Andy Scherzinger 5408dbfd62 Merge pull request #39449 from nextcloud/cleanup-2fa-manager
docs: remove superfluous phpdocs
2023-08-10 15:23:19 +02:00
Daniel Kesselberg 7cab58237d chore: remove version check for apc extension
APC is gone since PHP 7.0.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-10 15:02:19 +02:00
Daniel Kesselberg 32303b6ed5 docs: remove superfluous phpdocs
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-10 15:01:56 +02:00
Simon L b53d54ce25 Merge pull request #39780 from nextcloud/enh/noid/imaginary
log imaginary errors as info to not spam the server logs
2023-08-10 14:31:56 +02:00
Julius Härtl 84366949d4 Merge pull request #39789 from nextcloud/bugfix/noid/version-subdirectory 2023-08-10 13:44:01 +02:00
nextcloud-command 7c89bdb3ed chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-10 10:51:09 +00:00
Julius Härtl 2c8753a939 fix: Pass proper viewer filename
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-10 12:43:34 +02:00
Joas Schilling 9533dcfe41 Merge pull request #38546 from nextcloud/techdebt/noid/upgrade-symfony/event-dispatcher
fix(deps)!: Upgrade symfony/event-dispatcher to supported version 5.4.26
2023-08-10 11:48:41 +02:00
Côme Chilliet a0808111b4 Add unique index for user_ldap group memberships
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:37 +02:00
Côme Chilliet b8a0954f55 Fix check-group --update for deleted groups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:37 +02:00
Côme Chilliet 5425f7d3bd Use BIGINT for new table id field
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:36 +02:00
Côme Chilliet 7732de75ee Removed GroupCreatedEvent/GroupDeletedEvent from UpdateGroupsService
This should be handled when mapping groups, not when registering their
 members. An empty group may still exist.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:36 +02:00
Côme Chilliet ad1e487f67 Dispatch UserRemovedEvents for removed groups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:35 +02:00
Côme Chilliet c33c40f677 [user_ldap] Small perf improvements suggestion from review
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:35 +02:00
Côme Chilliet 1026b2131c Fix check-group command for new groups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:34 +02:00
Côme Chilliet 42448c0d78 Fix getKnownGroups return value
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:34 +02:00
Côme Chilliet 7a14aa748e Add output to check-group --update command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:34 +02:00
Côme Chilliet ce5a4e5b66 Always empty cache before updating a group
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:34 +02:00
Côme Chilliet 1b102ca9b3 Fix errors in UpdateGroupsService.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:33 +02:00
Côme Chilliet ec13f22ae3 Add missing primary key for ldap_group_membership
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:33 +02:00
Côme Chilliet f9ed48eab9 Add check-group command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:33 +02:00
Côme Chilliet 2c19aac9e1 Move UpdateGroups methods to a service
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:33 +02:00
Côme Chilliet 34fa4138fb Add group events to UpdateGroups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:32 +02:00
Côme Chilliet d9b368062e Update autoloader mapping for user_ldap
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:32 +02:00
Côme Chilliet d8142b6a5a Refactor user_ldap group membership to use flat DB
Move away from serialized arrays. Also use a QBMapper class for the new table.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:25 +02:00
Joas Schilling 63b6fb7abf fix(deps)!: Upgrade symfony/event-dispatcher to supported version 5.4.26
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-10 09:36:25 +02:00
Simon L ca4c993ca3 Merge pull request #39778 from nextcloud/acceptance-test-files
test: remove broken steps from files acceptance test
2023-08-10 08:45:03 +02:00
Daniel Calviño Sánchez 41f2d912d2 Allow "wasm-unsafe-eval" in CSP
If a page has a Content Security Policy header and the `script-src` (or
`default-src`) directive does not contain neither `wasm-unsafe-eval` nor
`unsafe-eval` loading and executing WebAssembly is blocked in the page
(although it is still possible to load and execute WebAssembly in a
worker thread).

Although the Nextcloud classes to manage the CSP already supported
allowing `unsafe-eval` this affects not only WebAssembly, but also the
`eval` operation in JavaScript.

To make possible to allow WebAssembly execution without allowing
JavaScript `eval` this commit adds support for allowing
`wasm-unsafe-eval`.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-08-10 02:38:41 +02:00
Nextcloud bot 9fda40f92a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-10 00:26:45 +00:00
Pytal 7c7a3be566 Merge pull request #39685 from nextcloud/feat/integrate-files-reminders 2023-08-09 12:16:46 -07:00
Daniel Kesselberg d56e2aad74 test: remove broken steps from files acceptance test
The acceptance tests using the recent view fail since the vue migration.

`And I open the details view for "welcome.txt"`

Is looking for a row in the filelist with a span having the class nametext, matching the file name "welcome.txt" and button inside having the class action-menu.

The markup for the files list looks very different after the vue migration and therefor the test is failing.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-09 20:58:29 +02:00
Christopher Ng 1d2ec6bb0b chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:45:02 -07:00
Christopher Ng 9d43583b47 enh: set later today to 6pm
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 86db2d7f15 enh: pass params in subject
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 38e4ba211d chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng ffd68a80fc enh: move to 8am
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng ce3119ef07 enh: en dash
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 597abe0a1e feat: custom date & time
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng d086fe38cc enh: remove icons
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng dbe8ba2b1d refactor: format options
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 893da9c395 enh: use alarm icon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 0b15feec7f fix: remove non-existing reminder notification
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 89692cf8a1 fix: load script
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 683041cdb8 fix: eslint
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 18fb955a41 enh: add clean up buffer
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 7af30fcf87 feat(files_reminders): v1.0.0
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 7a4c200db3 fix: composer
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng d1367ec779 enh: use vue-material-design-icons
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 41856fb8ca fix: indent with tabs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 440959a014 enh: shorten date string if same day
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng c2dfc42899 enh: rename to saturday sunday
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 07c0f7e25b enh: later today 3 hours later
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 5e4881b90c feat(files_reminders): add set reminder actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 419bea67dd feat(files_reminders): add verbose date string util
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 10a921ea33 fix: prevent sidebar from opening
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 10b0d6737e feat(files_reminders): mount set reminder actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng fdfdb2ac3b feat(files_reminders): add types
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 2089fbaf82 feat(files_reminders): add webpack module
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng 5ca3770fb0 feat(files_reminders): add logger
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christopher Ng e6cbb38175 fix: action icon color
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christopher Ng 1acdb73a7d feat(files_reminders): emit action menu opened
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christopher Ng d6bf9e3c10 feat(files_reminders): register file action
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christopher Ng e97206bb06 feat(files_reminders): add datetime utils
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christopher Ng 00da82aa47 fix: frontend ocs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christopher Ng efed517976 fix: due date nullable
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christopher Ng 71943eb1a4 feat(files_reminders): add reminder service
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christopher Ng dec011180a feat(files_reminders): integrate load scripts
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christoph Wurst 42d1568b6b Merge pull request #39741 from jmcclelland/optimize-cal-query
optimize calendar search query
2023-08-09 18:17:04 +02:00
Christoph Wurst df304bdac8 Merge pull request #39753 from nextcloud/feat/caldav/linkify-location-in-email
feat(caldav): linkify location in scheduling mails
2023-08-09 18:11:35 +02:00
Simon L 46dfb84bca log imaginary errors as info to not spam the server logs
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-08-09 16:10:27 +02:00
Richard Steinmetz 2ac24d525c feat(caldav): linkify location in scheduling mails
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-08-09 10:50:35 +02:00
Pytal 5fcb19c398 Merge pull request #39682 from nextcloud/fix/cypress-users 2023-08-08 18:05:42 -07:00
Nextcloud bot 40af8c0f93 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-09 00:25:21 +00:00
Christopher Ng 0f90c94232 fix(cypress): Show and hide columns
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-08 17:20:34 -07:00
Christopher Ng cd38017724 fix(cypress): Can delete a user
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-08 17:20:25 -07:00
Julius Härtl 780ece032f Merge pull request #39171 from nextcloud/artonge/feat/allow_to_open_versions_in_viewer 2023-08-08 22:25:42 +02:00
nextcloud-command 7d82aeafd5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-08 19:42:21 +00:00
Louis Chemineau 5902325e23 feat: Use viewer to open and compare versions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-08-08 21:19:03 +02:00
Côme Chilliet e232cd8158 Merge pull request #39065 from nextcloud/fix/remove-ilogger-uses-in-encryption
Migrate away from ILogger in encryption
2023-08-08 16:52:32 +02:00
Robin Appelman bbd0deb80a Merge pull request #39694 from nextcloud/gps
expose gps data via webdav
2023-08-08 14:36:01 +02:00
Simon L f1010ecd66 Merge pull request #39715 from nextcloud/Jerome-Herbinet-blog-url-update
Update blog URL (formerly "/news")
2023-08-08 14:18:50 +02:00
Côme Chilliet b155f87a84 Merge pull request #39058 from nextcloud/fix/fix-ldap-filters-for-empty-search
Avoid adding (attribute=) part to filter which will confuse LDAP servers
2023-08-08 09:21:20 +02:00
Côme Chilliet 3e176f58af Improve typing as suggested by review
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-08 09:14:16 +02:00
Côme Chilliet 487f5963a1 Use Server::get instead of new to avoid troubles with encryption constructors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-08 09:14:16 +02:00
Côme Chilliet 1e06b61f59 Migrate away from ILogger in encryption
And modernize code a bit

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-08 09:14:16 +02:00
Nextcloud bot d7e2813eca Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-08 00:29:26 +00:00
Julius Härtl eb2f3bcb64 Merge pull request #39680 from nextcloud/enh/tp-list-tasks-by-app-and-identifier 2023-08-07 21:50:14 +02:00
Jamie McClelland 4a98bb9972 ensure outerquery ->where() function doesn't clobber earier ->andWhere()
Signed-off-by: Jamie McClelland <jm@mayfirst.org>
2023-08-07 14:43:23 -04:00
Jamie McClelland ece685d6f5 optimize calendar search query
see https://github.com/nextcloud/calendar/issues/4758

Signed-off-by: Jamie McClelland <jm@mayfirst.org>
2023-08-07 14:43:23 -04:00
Julien Veyssier f154fe7f8e fix psalm issue
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-07 18:28:58 +02:00
Robin Appelman 65c2d13f4c preload all requested metadata
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-07 13:40:01 +02:00
Julien Veyssier e9e7db997a bump server version to 28.0.0.2 to trigger new migration step
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-07 13:29:14 +02:00
Julius Härtl fca1c309a0 feat: Add delete task API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-07 13:27:53 +02:00
Julien Veyssier 05a6a799a7 change sql where order to match index order
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-07 13:27:53 +02:00
Julien Veyssier 41b19cf969 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>
2023-08-07 13:27:53 +02:00
Julien Veyssier 9986e02097 start implementing ocs endpoint to get task list from user+appId+identifier
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-07 13:27:53 +02:00
Julien Veyssier b4a3f8088a Merge pull request #39660 from nextcloud/fix/llm-migration-not-executed
bump oc_version to 28.0.0.1
2023-08-07 13:27:19 +02:00
Julien Veyssier f099aa2714 Merge branch 'master' into fix/llm-migration-not-executed 2023-08-07 13:26:39 +02:00
Julien Veyssier 787caefc9a Merge pull request #39717 from nextcloud/fix/openapi/files_external
files_external: Fix OpenAPI
2023-08-07 12:10:19 +02:00
Marcel Klehr f62711d2ae Fix TextProcessing test for 32bit
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-07 12:03:11 +02:00
Côme Chilliet bfe42de8f8 Merge pull request #38604 from fsamapoor/replace_strpos_calls_in_workflowengine_app
Refactors "strpos" calls in /apps/workflowengine
2023-08-07 09:10:43 +02:00
jld3103 a7808f0115 files_external: Fix OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-07 08:42:19 +02:00
Nextcloud bot 97ad1fbd96 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-07 00:30:25 +00:00
Nextcloud bot c5f72f0761 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-06 00:25:27 +00:00
John Molakvoæ b27a2e9ec5 Merge pull request #39698 from joshtrichards/invalid-source-storage-path-catch 2023-08-05 12:17:33 +02:00
John Molakvoæ 7b7d1e3c09 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 12:05:36 +02:00
Nextcloud bot 38278fc1e5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-05 00:29:37 +00:00
Joas Schilling 8606f162c5 Merge pull request #39708 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-08-04 11:53:15 +02:00
Jérôme Herbinet af7783b863 Update blog URL (formerly "/news")
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-04 10:47:29 +02:00
Joas Schilling 7d9a321c9b Merge pull request #39662 from nextcloud/3rdparty-bump-symfony-mailer
chore(3rdparty): update symfony/mailer to 5.4.22
2023-08-04 10:42:31 +02:00
Joas Schilling 3bd8f8c1db Merge pull request #39705 from nextcloud/fix/noid/adjust-integrity-test-for-updated-mime-mappings
fix: adjust test for font icon
2023-08-04 10:42:08 +02:00
Joas Schilling 44b4c16a09 Merge pull request #39605 from nextcloud/bugfix/noid/final-events-cleanup
fix!: Final round of moving to IEventDispatcher
2023-08-04 10:39:57 +02:00
tobiasKaminsky b8b4a0e6ce expose gps data via webdav 2023-08-04 10:32:08 +02:00
Joas Schilling f8bd676154 Merge pull request #39689 from nextcloud/bugfix/39135/remove-share-notifications-for-deleted-nodes
fix(notifications): Remove share notification when the node is deleted
2023-08-04 09:39:24 +02:00
nextcloud-command 988cdda806 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-08-04 02:21:49 +00:00
Nextcloud bot 149ddf43aa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-04 00:30:13 +00:00
Pytal 777f8c9870 Merge pull request #39651 from nextcloud/feat/files-reminders 2023-08-03 16:38:47 -07:00
Christopher Ng a806bd0d3c enh: handle user deleted
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:43:35 -07:00
Christopher Ng 5a11535c51 fix: set endpoint description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng af98c702e0 fix(ci): add to enabled apps
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 2c4b562cdc fix: ignore non-existing
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng e320166b15 enh: add json output to command
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 113d061919 enh: add codeowner
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng d61916621d fix: return null if table exists
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 7381c80caf fix: remove unnecessary parsed subject
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 7beef657e4 enh: highlight filename
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng c4b7056f58 fix: catch NodeNotFoundException in notifier
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 9e8354e0ac fix: exit on reminder not found
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng f865c3ad21 enh: handle node deleted
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 7617519502 fix: construct background jobs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 7daf11f8f6 fix: remove throwable handling
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 3ade06cd9c fix: return ocs data
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 9bd7ddd074 enh: does not exist return null
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng db7f5a29f3 enh: serialize path
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng b04d1a70e2 enh: comment interval
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng bdf07413d0 enh: return created status code
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng d31302e72c fix: create only if file exists
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 777a791e72 feat(files_reminders): add remove endpoint
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 05e454ee61 fix: update find due query
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 887058591c feat(files_reminders): create or update
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 5ff178a753 enh: add updated at
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 7637bf2ae0 fix: catch Throwable
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng fa77564152 enh: rename to due date
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng beb8a27d94 enh: add to shipped
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng cfbac9b73c fix: add composer autoload
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng a7892fb682 feat(files_reminders): add api controller
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 774e3e6d4b enh: implement JsonSerializable
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 4fabd77432 enh: add created at
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 163b059c11 enh: use datetime
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng c8a32a70cd feat(files_reminders): add list command
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng ea5e128fef feat(files_reminders): add service and notifier
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng a3ac1b82da feat(files_reminders): add background jobs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng b75fac31aa feat(files_reminders): add info xml
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:11 -07:00
Christopher Ng 59a2ef4ea1 feat(files_reminders): add Application
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:10 -07:00
Christopher Ng e16001b8eb feat: init files_reminders migration
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-03 15:30:10 -07:00
Daniel Kesselberg e0c8d58dd1 fix: adjust test for font icon
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-04 00:01:25 +02:00
Josh Richards deecb48e54 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-03 09:53:46 -04:00
Daniel Kesselberg 6c67554988 chore(3rdparty): update symfony/mailer to 5.4.22
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-03 15:34:56 +02:00
Ferdinand Thiessen 9a7e2b1558 Merge pull request #34419 from Dany1718/fix-icons
Changed mapping to font
2023-08-03 15:26:21 +02:00
Andy Scherzinger 87678605c9 Merge pull request #39696 from nextcloud/enh/noid/pr-feedback
chore: add pr-feedback workflow
2023-08-03 15:21:25 +02:00
Daniel Kesselberg 8c0e96c38e chore: add pr-feedback workflow
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-03 15:15:47 +02:00
Faraz Samapoor 90652fd30f Uses early returns.
To improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-08-03 16:42:56 +03:30
Faraz Samapoor ab79706253 Refactors files_version app commands.
To improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-08-03 16:35:09 +03:30
Julien Veyssier 9e096ef430 Merge pull request #39684 from nextcloud/fix/noid/missing-argument-for-text-processing-test
fix: missing argument for TextProcessing Manager
2023-08-03 13:03:41 +02:00
John Molakvoæ 2e030582b3 Merge pull request #39673 from nextcloud/feat/theming-admin-image-mime 2023-08-03 12:22:46 +02:00
Julien Veyssier 15e2ca20a9 Merge pull request #39641 from nextcloud/fix/openapi
Fix OpenAPI specs
2023-08-03 11:52:25 +02:00
John Molakvoæ 0a046844f6 feat(theming): add mime accept in Theming image file picker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-03 11:49:45 +02:00
John Molakvoæ c7c94a39f7 Merge pull request #39656 from nextcloud/fix/filename-files/master 2023-08-03 11:47:48 +02:00
Joas Schilling c3acd03a8e fix(notifications): Remove share notification when the node is deleted
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-03 11:25:26 +02:00
jld3103 89c941f65e Fix OpenAPI specs
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-03 10:58:16 +02:00
Côme Chilliet 90bb0a26f4 Merge pull request #39219 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-08-03 10:15:03 +02:00
Côme Chilliet 26049cb49c Merge pull request #39150 from fsamapoor/refactor_files_app_commands
Refactors files app commands
2023-08-03 10:14:23 +02:00
Ferdinand Thiessen 2068d78213 fix: Add icon for font files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-03 04:54:07 +02:00
Dany1718 4c7495fc2d Changed mapping to font
* Updated mimetypelist icon mapping

Signed-off-by: Dany1718 <daniel.dossantos@ufl.edu>
2023-08-03 04:53:47 +02:00
Nextcloud bot 3f86b84429 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-03 00:28:38 +00:00
Daniel Kesselberg 0098af3b98 fix: missing argument for TextProcessing Manager
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-03 00:33:00 +02:00
John Molakvoæ (skjnldsv) 77446325b2 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-08-02 17:18:48 +02:00
Andrey Borysenko d3583d3f30 Fix psalm ci (stub). Wrap server container with try-catch
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2023-08-02 17:40:58 +03:00
John Molakvoæ 8fa9607f0f Merge pull request #39540 from nextcloud/feat/migrate-nc-vue-8 2023-08-02 15:36:42 +02:00
Ferdinand Thiessen 650312580f fix(cypress): Really mock the initial state instead of trying to stub a module
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:21:34 +02:00
John Molakvoæ 9bf42fc3bf fix(jest): also mock initial-state
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-02 15:21:34 +02:00
Ferdinand Thiessen e457572f6b fix: Acceptance tests adjusted to find new style sidebar tabs
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:21:34 +02:00
Ferdinand Thiessen fab9f48efe chore: Build assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:21:30 +02:00
Ferdinand Thiessen 5eb2a5df7e fix(dav): Update jest snapshot for changed vue sidebar tab
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:32 +02:00
Ferdinand Thiessen ee18e43d97 fix(cypress): Make sure cypress can preprocess files corrently (this drops 78 dependencies)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:32 +02:00
Ferdinand Thiessen 4c306a3a55 fix: Resolve code linting issues
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:32 +02:00
Ferdinand Thiessen 663db2bb34 chore: Update nextcloud-vue to v8 beta2 and renamed changed properties
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:26 +02:00
Julien Veyssier 114cad3812 Merge pull request #39567 from nextcloud/enh/ai-admin-settings
AI admin settings
2023-08-02 14:55:00 +02:00
Arthur Schiwon 454c61fdd2 Merge pull request #39672 from nextcloud/fix/s3-chunk-upload-quota
fix(dav): use quota of destination in s3 chunk upload
2023-08-02 13:42:57 +02:00
Julien Veyssier b13ca8620f compile assets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-02 12:40:29 +02:00
Julien Veyssier 8d6a6e5242 fix composer autoload files
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-02 12:37:36 +02:00
Julien Veyssier a877865fba fix wrong NcSelect event in AI admin settings
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-02 12:37:36 +02:00
Julien Veyssier 0ace67c762 polish AI admin settings UI
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-02 12:37:36 +02:00
Julien Veyssier 601679bd25 use DB type constants
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-02 12:37:36 +02:00
Julien Veyssier 577640663b move long click handlers into methods
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-02 12:37:36 +02:00
Marcel Klehr 7adb2ce819 Admin AI settings: Use ContainerInterface instead of IServerContainer
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:36 +02:00
Marcel Klehr 830692cebd Admin AI settings: Improve a11y of machine translation precendence
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:36 +02:00
Marcel Klehr ff39466e4f Update apps/settings/src/components/AdminAI.vue
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:36 +02:00
Marcel Klehr 3ca44282d0 Update apps/settings/src/components/AdminAI.vue
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:36 +02:00
Marcel Klehr a0eaed0296 Fix typo
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:36 +02:00
Marcel Klehr ad3f353335 Migration: Drop llm_tasks table and add textprocessing_tasks
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:36 +02:00
Marcel Klehr be7487b559 AI admin settings: lint:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr a193458e38 AI admin settings: lint:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr 112268a48a AI admin settings: lint:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr 4ec150c9b6 AI admin settings: cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr f72f3f7df4 AI admin settings: strict_types
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr aa74d6fd31 AI admin settings: Update composer autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr 2d29413d5d AI admin settings: Add a draggable icon in UI for translation provider precedence
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr 2a3ef102f7 AI admin settings: Use config values in AI feature managers
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr a840e8c6e5 AI admin settings: Add save mechanism
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr 8ec1926aba fix(TextProcessing): Inject L10N\IFactory instead of IL10N
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr 4e33d04444 AI Admin settings: Implement mt settings, stt settings and tp settings
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
Marcel Klehr fc9780a41d First pass at ai admin settings
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +02:00
John Molakvoæ 78856f354f Merge pull request #39613 from nextcloud/feat/f2v/recent 2023-08-02 10:45:44 +02:00
Max 2124fb9ff2 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 10:09:13 +02:00
John Molakvoæ (skjnldsv) 87b1719c88 feat(files): migrate recent view
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-08-02 09:57:27 +02:00
Ferdinand Thiessen 6ec35e3799 Merge pull request #39609 from nextcloud/fix/focus-outline-favorites-view
fix(files): Remove duplicated outline on file name of vue file list
2023-08-02 03:28:42 +02:00
Ferdinand Thiessen 88bbf383dc fix(files): Remove duplicated outline on vue files entries
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 02:56:34 +02:00
Nextcloud bot 0ec6efdf3d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-02 00:53:28 +00:00
Ferdinand Thiessen f6fcaf7582 Merge pull request #39475 from nextcloud/rakekniven-patch-3
fix(i18n) Fixed grammar
2023-08-02 02:22:02 +02:00
rakekniven 9a9e04fe4f fix(i18n) Fixed grammar
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-01 23:38:37 +00:00
John Molakvoæ 26779128a7 Merge pull request #39577 from nextcloud/feat/f2v/files_external 2023-08-01 17:58:22 +02:00
hamza221 af113ddad4 bump oc_version to 28.0.0.1
Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
2023-08-01 17:08:16 +02:00
John Molakvoæ 38480fda3c feat(files_external): migrate to vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-01 16:38:06 +02:00
Joas Schilling 385f987a28 Merge pull request #39400 from nextcloud/rakekniven-patch-1
fix(i18n) Changed case of "Files"
2023-08-01 16:12:28 +02:00
Andy Scherzinger 4c9d589cac Merge pull request #39480 from nextcloud/fix/migrate-to-psr-logger-interface-files_external
Migrate files external to PSR LoggerInterface
2023-08-01 15:47:54 +02:00
Côme Chilliet beef22ba92 Merge pull request #39587 from nextcloud/fix/bump-deepdiver1975/tarstreamer-to-2.1.0-in-master
Bump deepdiver1975/tarstreamer to 2.1.0 in master
2023-08-01 15:45:37 +02:00
John Molakvoæ 961c03c77f Merge pull request #39652 from nextcloud/fix/fix-update-3rdparty-command 2023-08-01 15:41:45 +02:00
Joas Schilling 4c3aad8986 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-01 15:13:01 +02:00
rakekniven 0522da7001 fix(i18n) Changed case of "Files"
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-08-01 15:13:00 +02:00
Alexander Piskun ca76ab98bd added Application Ecosystem V2 login handler
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-08-01 14:50:59 +03:00
Faraz Samapoor b353b3f425 Merge branch 'master' into refactor_files_app_commands
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-08-01 12:39:10 +03:30
Côme Chilliet ebd992ade2 Fixes in update-3rdparty command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-01 10:34:50 +02:00
Côme Chilliet 41373b8bf1 Bump deepdiver1975/tarstreamer to 2.1.0 in master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-01 10:22:48 +02:00
Joas Schilling 9241a38fc2 Merge pull request #37481 from nextcloud/ci/checkers/require-autoloader-shipped-apps
ci(checkers): Require composer autoloaders for all shipped apps
2023-08-01 10:19:35 +02:00
Kate 30345f86dc Merge pull request #39330 from nextcloud/feature/openapi/files_sharing
files_sharing: Add OpenAPI spec
2023-08-01 10:04:13 +02:00
John Molakvoæ 662e73b901 Merge pull request #39649 from nextcloud/fix/sharing-l10n 2023-08-01 09:57:56 +02:00
Benjamin Gaussorgues 9b03dc52a4 Migrate files external to PSR LoggerInterface
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-08-01 09:44:57 +02:00
Nextcloud bot 2ea7719bfa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-01 00:29:41 +00:00
Christopher Ng 8a51d64b09 fix(files_sharing): String translations
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-31 23:17:23 +00:00
Pytal 8e287a4d92 Merge pull request #38581 from nextcloud/fix-hint-posix 2023-07-31 15:15:05 -07:00
Daniel Kesselberg cd0331320b fix: correct hint for missing posix extension
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-31 22:04:44 +02:00
Daniel Kesselberg f1d4f7c7e4 fix: copy-and-delete fallback should use unlink
because rmdir does not work for files.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-31 21:41:25 +02:00
Daniel 27916deb95 Merge pull request #38623 from nextcloud/fix/14743/rename-fallback-copy-unlink
fix(storage): fallback to copy and unlink when rename fails
2023-07-31 21:04:07 +02:00
Julius Härtl 48f0e44213 Merge pull request #39588 from nextcloud/fix/files-api-url 2023-07-31 20:25:47 +02:00
Daniel Kesselberg b4ff557b8c fix(storage): fallback to copy and unlink when rename fails
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-31 18:54:21 +02:00
Max db5e2f0065 fix(files): url used to retrive storage stats
Signed-off-by: Max <max@nextcloud.com>
2023-07-31 18:46:57 +02:00
Julius Härtl 286cceebc3 Merge pull request #39629 from ir0nhide/fix/sse-c 2023-07-31 18:05:48 +02:00
jld3103 c6806684d2 files_sharing: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-31 16:58:49 +02:00
Julien Veyssier 752299d063 Merge pull request #39313 from nextcloud/feature/openapi/user_ldap
user_ldap: Add OpenAPI spec
2023-07-31 15:37:25 +02:00
Kate 05f02fd5c5 Merge pull request #39634 from nextcloud/feature/openapi/core/text-processing-api
core: Document text processing API
2023-07-31 15:24:45 +02:00
jld3103 dca22c1d2c core: Document text processing API
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-31 14:09:12 +02:00
Andy Scherzinger 8c846ce103 Merge pull request #39586 from nextcloud/feat/supported-apps
feat(settings): Show supported apps on app settings if subscribed
2023-07-31 12:34:39 +02:00
jld3103 61a13bed4d user_ldap: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-31 12:17:42 +02:00
Ferdinand Thiessen c1975a634c 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-07-31 09:17:32 +00:00
Kate 79316e1169 Merge pull request #39223 from nextcloud/feature/openapi/provisioning_api
provisioning_api: Add OpenAPI spec
2023-07-31 11:05:07 +02:00
jld3103 38db3873a2 provisioning_api: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-31 10:29:08 +02:00
Nextcloud bot 0de805b2a7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-31 00:29:59 +00:00
Tobias Zimmerer 23f85b5ac2 fix(s3): add SSE-C parameters to headObject call
Signed-off-by: Tobias Zimmerer <3228193+ir0nhide@users.noreply.github.com>
2023-07-30 22:54:58 +02:00
jld3103 11372bf258 Remove litmus locks tests
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-30 17:56:26 +02:00
Nextcloud bot 4c10dc2794 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-30 00:25:19 +00:00
rakekniven 0c25cda745 Merge pull request #39474 from nextcloud/rakekniven-patch-2
fix(i18n) Fixed grammar
2023-07-29 11:55:23 +02:00
rakekniven 7c82c7a4b2 Merge branch 'master' into rakekniven-patch-2
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-07-29 10:26:56 +02:00
Nextcloud bot 2b13f50f4a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-29 00:32:08 +00:00
Robin Appelman 6a467ecd31 Merge pull request #38179 from nextcloud/dav-permissions-share-root-write
fix share roots always being marked as writable
2023-07-28 20:24:21 +02:00
Robin Appelman 8af60b915b fix share roots always being marked as writable
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-28 17:34:54 +02:00
Robin Appelman fda820a64d expose MovableMount in public interface
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-28 14:42:09 +02:00
Joas Schilling 3962cd0aa8 fix!: Move getEventDispatcher usage to IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:22 +02:00
Joas Schilling b9e2f494a1 chore!: Remove legacy SymfonyAdapter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:22 +02:00
Joas Schilling c5dcf3c849 fix!: Remove LegacyBeforeTemplateRenderedListener from files_sharing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:21 +02:00
Joas Schilling 0c5d0c2127 fix: Migrate collaboration listener and remove legacy adapter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:21 +02:00
Joas Schilling ead47610c1 fix!: Remove LegacyLoadAdditionalScriptsAdapter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:21 +02:00
Joas Schilling cebf93d4d2 fix: Remove legacy dispatcher from share manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:20 +02:00
Joas Schilling 22e033b628 feat!: Migrate Share accepted event to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:20 +02:00
Joas Schilling 8ad94cbfda feat!: Migrate unShare events to typed events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:20 +02:00
Joas Schilling 44b810bfbd feat!: Migrate Sharing events to typed events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:19 +02:00
Joas Schilling 68fc9b48c2 feat!: Migrate AccountManager event to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:19 +02:00
Joas Schilling 9bf812ac6c feat!: Migrate TagService events to typed events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 14:11:18 +02:00
Joas Schilling 53392861ff Merge pull request #39473 from nextcloud/fix/parallel-aware-job
fix(IParallelAwareJob): Check for other reserved jobs before setting new ones as reserved
2023-07-28 13:15:10 +02:00
Arthur Schiwon ff2b36ad52 Merge pull request #37624 from nextcloud/fix/logging-for-failed-fopen
fix: log fopen calls when stream isn't available
2023-07-28 12:59:52 +02:00
Marcel Klehr 7e790a3297 JobTest: Remove outdated tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-28 11:12:32 +02:00
Marcel Klehr 2b96760dc6 Remove allowParallelRuns check in OCP\BackgroundJob\Job
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-28 11:12:32 +02:00
Marcel Klehr 3d8fd2d99e cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-28 11:12:32 +02:00
Marcel Klehr 9f4b3de03c Fix ParallelAwareJob tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-28 11:12:32 +02:00
Marcel Klehr 449a731375 Add test for ParallelAwareJob
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-28 11:12:32 +02:00
Joas Schilling f3bdcfd427 Merge pull request #39595 from nextcloud/bugfix/noid/remove-symfony-event-from-user
fix!: Remove symfony EventDispatcherInterface from OC\User and OC\Group
2023-07-28 10:40:50 +02:00
Nextcloud bot 67e1f5d9f7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-28 00:30:43 +00:00
Ferdinand Thiessen 06e2029e39 Merge pull request #39409 from nextcloud/automated/noid/master-fix-npm-audit
[master] Fix npm audit
2023-07-28 00:26:42 +02:00
Joas Schilling 030e8d8916 fix: Align doc type with creation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 23:13:38 +02:00
Joas Schilling 80f79e170d fix!: Remove symfony EventDispatcherInterface from Group
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 23:13:37 +02:00
Joas Schilling ad12a740cb fix!: Remove symfony EventDispatcherInterface from User
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 23:13:37 +02:00
Alexander Piskun b93f101d62 Merge pull request #39537 from nextcloud/ocs-update-group
`/ocs/v1.php/cloud/groups` `UPDATE` method - correct status when group not found
2023-07-27 20:44:35 +03:00
Joas Schilling 6b7221756c Merge pull request #39571 from nextcloud/bugfix/noid/move-lib-to-IEventDispatcher
Move lib/ events to IEventDispatcher where possible
2023-07-27 18:59:42 +02:00
Joas Schilling 5fb5d85067 Merge pull request #38667 from nextcloud/fix/systemtagmanager-gettag-updatetag
fix(SystemTagManager): Use truncated tagName in getTag and updateTag
2023-07-27 18:50:31 +02:00
Andy Scherzinger 767c42f459 Merge pull request #39486 from nextcloud/3rdparty-bump-punic
chore(3rdparty): update punic to 3.8.1
2023-07-27 17:16:30 +02:00
Ferdinand Thiessen fbe5d06720 Merge pull request #39483 from nextcloud/fix/files-vue-favorite-icon
fix(files): Adjust files favorite marker for vue file list being cropped
2023-07-27 17:04:57 +02:00
Daniel Kesselberg 68eecca4d4 chore: update expected results for CLDR 42
Punic 3.8.0 / CLDR 42 added a narrow no-break space unicode character for the time formats and a new default pattern for datetime.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-27 13:57:02 +02:00
Daniel Kesselberg 06248cda0a chore: update expected timezone from GMT+0 to UTC
Punic 3.2.0 added support for timezone translations and returns UTC instead of GMT+0 now.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-27 13:57:02 +02:00
Daniel Kesselberg 22c7d3f6a3 chore(3rdparty): update punic to 3.8.1
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-27 13:57:02 +02:00
Marcel Klehr 424937fd39 fix(SystemTagManager): Use truncated tagName in getTag and updateTag
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-27 13:56:11 +02:00
Joas Schilling 35c313e280 fix!: Remove User events which have a typed event replacement
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:54 +02:00
Joas Schilling c67c067ee7 fix: Move Sharing events to IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:53 +02:00
Joas Schilling 44a0a62107 fix: Move Node HookConnecter events to IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:53 +02:00
Joas Schilling 6953e14580 fix: Move SystemTags events to IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:52 +02:00
Joas Schilling dac31ad101 fix!: Remove legacy event dispatching Symfony's GenericEvent from 2FA Manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:52 +02:00
Joas Schilling 1b387bb341 fix!: Remove legacy event dispatching Symfony's GenericEvent from AdditionalScripts
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:52 +02:00
Joas Schilling 5bb6a7804f fix: Move AppManager events to IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:51 +02:00
Joas Schilling 4f7de8ed60 fix!: Remove legacy event dispatching Symfony's GenericEvent
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-27 09:57:51 +02:00
Nextcloud bot 582e655c01 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-27 00:25:58 +00:00
Joas Schilling b76b0bbc1c Merge pull request #39485 from nextcloud/bugfix/noid/move-remaining-easy-usages-to-IEventDispatcher
fix(dispatcher): Move remaining simple cases in apps/ folder to IEven…
2023-07-26 17:29:22 +02:00
Robin Appelman 7c02eedabb cache calendar objects from calendarQuery
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-26 14:36:39 +02:00
Robin Appelman 31c483b759 preload shares for calendars when listing calendars
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-26 14:36:37 +02:00
nextcloud-command c42da02a92 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-07-26 02:31:14 +00:00
Nextcloud bot 19e7704c85 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-26 00:57:25 +00:00
Joas Schilling f824d87fc1 Merge pull request #39487 from nextcloud/feat/noid/typed-events-for-db_add-missing
Feat/noid/typed events for db add missing
2023-07-25 13:37:51 +02:00
John Molakvoæ 468fb5c8db Merge pull request #39317 from nextcloud/fix/4193-change-color-primary-hover
Change color for primary element on hover
2023-07-25 12:04:53 +02:00
Joas Schilling 77bc6c32d8 fix(dispatcher): Move remaining simple cases in apps/ folder to IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-25 11:19:26 +02:00
Nextcloud bot 43ab741f9c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-25 00:25:30 +00:00
julia.kirschenheuter ddb808e136 Change color for primary element on hover
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-07-24 15:56:30 +02:00
Joas Schilling ab70bbd3ff fix(db)!: Remove private legacy event because we can not keep it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:35 +02:00
Joas Schilling 86310a35b2 fix(db): Move missing core indices to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:34 +02:00
Joas Schilling 00d483585b fix: Add options to support all used features by core
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:34 +02:00
Joas Schilling f73f14207c fix(db): Move missing core columns to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:33 +02:00
Joas Schilling 77c2b169a5 fix(db): Move missing core primary keys to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:33 +02:00
Joas Schilling bd0a149a4f feat(dispatcher): Add typed event for "db:add-missing-primary-keys"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:32 +02:00
Joas Schilling 2eded24eff feat(dispatcher): Add typed event for "db:add-missing-columns"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-24 14:51:32 +02:00
Joas Schilling 7548e62181 Merge pull request #39506 from nextcloud/techdebt/39488/ensure-index-name-uniqueness
feat(db): Ensure that index names are unique across the database
2023-07-24 14:44:37 +02:00
Christoph Wurst 821ad805d2 ci(checkers): Require composer autoloaders for all shipped apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-24 13:58:37 +02:00
Daniel 0411cc64aa Merge pull request #38606 from fsamapoor/replace_strpos_calls_in_settings_app
Refactors "strpos" calls in /apps/settings
2023-07-24 12:52:21 +02:00
Nextcloud bot bef40531f0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-24 00:25:32 +00:00
nextcloud-command e2c82a2640 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-07-23 02:54:46 +00:00
Nextcloud bot e6a00f5a74 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-23 00:28:01 +00:00
rakekniven f4981413fa fix(i18n) Fixed grammar
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-22 23:38:23 +00:00
Alexander Piskun bd19cd6cf9 to return correct code when group not found
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-07-22 13:18:43 +03:00
Nextcloud bot bbb0827417 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-22 00:31:23 +00:00
Pytal 608ba174a3 Merge pull request #39402 from nextcloud/enh/a11y-users-settings 2023-07-21 11:18:56 -07:00
Julien Veyssier d255b89d77 Merge pull request #39527 from nextcloud/fix/39526/dashboard-hide-weather-credits
Only show weather credits if necessary
2023-07-21 18:29:34 +02:00
Julien Veyssier 1b9593b4ce Merge branch 'master' into fix/39526/dashboard-hide-weather-credits 2023-07-21 17:29:14 +02:00
Simon L d0957ffd97 Merge pull request #39008 from nextcloud/enh/noid/reorder-fonts
switch to bootstrap font-stack
2023-07-21 14:06:04 +02:00
Julien Veyssier 41af382d68 only show weather credits if the app is enabled and the weather status is enabled
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-07-21 13:39:18 +02:00
Joas Schilling b80692d323 fix(tests): Adjust unit tests to outline the schema is checked twice now
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-21 12:17:36 +02:00
Simon L d891a0a83a fix tests
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-21 11:25:16 +02:00
Marcel Klehr 7c80d66ee5 Merge pull request #38854 from nextcloud/enh/llm-api 2023-07-21 11:20:31 +02:00
Benjamin Gaussorgues e9b8a34cce Merge pull request #39264 from nextcloud/feat/add-instance-category
Add instance category while checking new updates
2023-07-21 11:04:32 +02:00
Julia Kirschenheuter fefc079bd6 Merge pull request #39476 from nextcloud/fix/36975-increase_contrast_on_action_buttons
Remove opacity on federation control action buttons
2023-07-21 10:47:42 +02:00
Julia Kirschenheuter ac745ab059 Merge pull request #39460 from nextcloud/fix/39413-add-more-space-belowitem-preview-explanation
Add more space below item preview explanation
2023-07-21 10:44:42 +02:00
Pytal 502f1c8fb4 Merge pull request #39382 from nextcloud/enh/a11y-aria-modal 2023-07-20 19:22:57 -07:00
Nextcloud bot 9bdb78f6cc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-21 00:24:21 +00:00
Christopher Ng b3e5269963 enh(a11y): Add aria-modal to dialogs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-20 17:13:55 -07:00
Anna af6bb98b14 Merge pull request #39504 from nextcloud/fix/caldav/access-typed-searchquery-property-without-init
fix(caldav): Assign initial value to typed CalendarQuery properties
2023-07-20 23:49:12 +02:00
Robin Appelman 31f1ff87d0 Merge pull request #39367 from nextcloud/s3-fopen-exception
handle more exceptions in AmazonS3::fopen
2023-07-20 19:32:03 +02:00
Robin Appelman 70a9d66aa8 Merge pull request #39275 from nextcloud/log-backtrace
Add optional to add backtrace to log items
2023-07-20 19:30:21 +02:00
Robin Appelman 6cf3e4b82c Merge pull request #38930 from nextcloud/chunk-clean-failed
clean failed upload chunks
2023-07-20 19:29:42 +02:00
Robin Appelman c912a3f0f6 Merge pull request #38860 from nextcloud/scanner-change-summary
add summary of detected changes to files:scan output
2023-07-20 18:37:07 +02:00
Anna 41323b0388 Merge branch 'master' into fix/caldav/access-typed-searchquery-property-without-init 2023-07-20 18:00:06 +02:00
Anna Larch 70a6eeed3e fix: log fopen calls when stream isn't available
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-07-20 17:28:25 +02:00
julia.kirschenheuter 913083d67b Add more space below item of preview explanation
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-07-20 16:21:44 +02:00
Matthieu Gallien ec4ae84f96 Merge pull request #39221 from nextcloud/bugfix/bulkUploadEmptyFiles
Bugfix/bulk upload empty files
2023-07-20 15:49:09 +02:00
Simon L 8ed35de5f4 add missing places and address review.
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-20 15:30:05 +02:00
Hamid Dehnavi 495683c358 Make adjustments based on the review
Co-authored-by: Faraz Samapoor <f.samapoor@gmail.com>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-07-20 16:22:10 +03:30
Joas Schilling 0bf738d8cb feat(db): Ensure that index names are unique across the database
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-20 14:27:26 +02:00
Matthieu Gallien 906a6612e4 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-20 13:41:47 +02:00
Christoph Wurst 2d3d396dd3 fix(caldav): Assign initial value to typed CalendarQuery properties
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-20 13:28:52 +02:00
Joas Schilling a4dd35e442 Merge pull request #39490 from nextcloud/bugfix/noid/fix-loading-infoxml
fix(apps): Fix loading info.xml file
2023-07-20 12:08:18 +02:00
Julius Härtl 77f249726d Merge pull request #38934 from nextcloud/bugfix/noid/ssec-multipart 2023-07-20 11:00:08 +02:00
Joas Schilling 2014e7b836 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:40:09 +02:00
Nextcloud bot 3da48c2adb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-20 00:26:12 +00:00
Daniel b1683256de Merge pull request #39477 from nextcloud/3rdparty-bump-symfony-http-routing-translation
chore(3rdparty): update symfony http-foundation, routing and translat…
2023-07-19 23:57:09 +02:00
Daniel Kesselberg cc2fae5bbd chore(3rdparty): update symfony http-foundation, routing and translation to 5.4.24
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-19 23:20:16 +02:00
Ferdinand Thiessen b54542ca88 fix(files): Adjust files favorite marker for vue file list to not overflow
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-19 21:47:16 +02:00
Joas Schilling 2e175fb7a2 Merge pull request #39222 from nextcloud/bugfix/noid/more-event-dispatchers
Migrate more apps to IEventDispatcher
2023-07-19 20:59:53 +02:00
Simon L c4893e9641 address review
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-19 20:09:14 +02:00
Simon L 9352869f52 switch to bootstrap font-stack
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-07-19 19:50:19 +02:00
Joas Schilling aa039c986a fix(workflowengine): Remove legacy event (deprecated since 17)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-19 17:37:34 +02:00
Joas Schilling 4877d0b62e fix(loopup_server_connector): Migrate to IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-19 17:37:33 +02:00
Joas Schilling a6bf93501d fix(files_trashbin): Migrate to IEventDispatcher and emit as typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-19 17:37:33 +02:00
Marcel Klehr 6d568b0d32 Fix tests: Adjust constructor signature
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-19 17:33:11 +02:00
Marcel Klehr fd0fd97a65 Fix tests: Adjust constructor signature
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-19 17:32:28 +02:00
Joas Schilling 489b4807db Merge pull request #39304 from nextcloud/bugfix/noid/typed-event-comments-entity
fix(comments): Emit CommentsEntityEvent as typed event
2023-07-19 17:25:57 +02:00
julia.kirschenheuter 8fca19325b Remove opacity on federation control action buttons
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-07-19 14:37:08 +02:00
Daniel 8b3b5ff8d8 Merge pull request #39455 from nextcloud/3rdparty-bump-symfony-console
chore(3rdparty): update symfony/console to 5.4.24
2023-07-19 14:20:07 +02:00
Marcel Klehr 7389567c7d Remove Task::factory method
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-19 13:15:14 +02:00
Christopher Ng 8695e7cdc6 test(settings): User management settings dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-18 20:28:15 -07:00
Christopher Ng 21ded94a85 chore: Compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-18 20:28:15 -07:00
Christopher Ng 26dbb12f40 enh(a11y): User management settings dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-18 20:28:10 -07:00
Pytal eaf19c4829 Merge pull request #39229 from nextcloud/fix/default-empty-content-files 2023-07-18 17:33:16 -07:00
Nextcloud bot 46d80b4f70 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-19 00:26:31 +00:00
John Molakvoæ bb9c7ee75c fix(files): default emptycontent message
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-18 23:53:04 +02:00
Daniel d3393af978 Merge pull request #39444 from nextcloud/fix/l10n-manager
fix(l10n): User manager
2023-07-18 18:40:44 +02:00
Ferdinand Thiessen 6e41ebcc12 Merge pull request #39456 from nextcloud/fix/script-tag-for-module-js-with-version
fix: Correctly add `module` content type to script tags with versions
2023-07-18 17:39:44 +02:00
Daniel Kesselberg 4f75aa270a chore(3rdparty): update symfony/console to 5.4.24
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-18 17:10:49 +02:00
Daniel aa5dcb0952 Merge pull request #38397 from nextcloud/enh/contacts/hide-adressbook-option
enh(contacts): show/hide addressbooks for all
2023-07-18 17:05:12 +02:00
Joas Schilling c3bc575d99 fix(comments): Emit CommentsEntityEvent as typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-18 16:19:01 +02:00
Joas Schilling 705ccd50c5 Merge pull request #39441 from nextcloud/3rdparty-bump-symfony-process
chore(3rdparty): update symfony/process to 5.4.24
2023-07-18 15:44:23 +02:00
Benjamin Gaussorgues 31f1354777 Add instance category while checking new updates
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-07-18 15:39:23 +02:00
Joas Schilling 8e90cc056b Merge pull request #39305 from nextcloud/bugfix/noid/sabre-plugin-events
feat(dav): Emit a typed event to deprecate OCA\DAV\Connector\Sabre::addPlugin
2023-07-18 15:30:30 +02:00
Ferdinand Thiessen 3b057600d0 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-18 13:10:37 +02:00
Daniel Kesselberg 4393a167fd chore(3rdparty): update symfony/process to 5.4.24
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-18 12:27:32 +02:00
Côme Chilliet 0e69a6a846 Merge pull request #39447 from nextcloud/fix/fix-encryption-share
Fix sharing of encrypted files
2023-07-18 11:49:32 +02:00
Johannes 6d150c0700 Merge pull request #38907 from nextcloud/mail/fix/8551/contact-manager-search
Fix: ContactManager search with fullmatch
2023-07-18 10:40:43 +02:00
Simon L 61f0d07822 Merge pull request #39442 from nextcloud/2fa-codeowners
chore: update codeowners for 2fa
2023-07-18 10:25:48 +02:00
Côme Chilliet bd08849866 Fix sharing of encrypted files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-07-18 09:42:57 +02:00
Julius Härtl 1addad98bf Merge pull request #39378 from nextcloud/bugfix/noid/sidebar-fullscreen 2023-07-18 08:56:53 +02:00
Nextcloud bot 19e39d0f57 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-18 00:24:05 +00:00
Christopher Ng af120f6b42 fix(l10n): Manager
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-17 16:35:40 -07:00
dependabot[bot] 609ff63ff1 Merge pull request #39403 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.6.10 2023-07-17 22:38:06 +00:00
Pytal dea8768d33 Merge pull request #39405 from nextcloud/dependabot/npm_and_yarn/dompurify-3.0.5 2023-07-17 15:19:07 -07:00
nextcloud-command 3b831f630f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-17 20:10:18 +00:00
Julius Härtl ac13226e1b fix: Always apply fullscreen styling to sidebar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-17 21:26:07 +02:00
dependabot[bot] 95aadc7be9 chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.8 to 9.6.10.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.10/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.8...9.6.10)

---
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-07-17 19:04:46 +00:00
Daniel Kesselberg 17d01749f3 chore: update codeowners for 2fa
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-17 20:44:49 +02:00
Julius Härtl 6f0086a783 Merge pull request #39432 from nextcloud/objectstore-without-multipart 2023-07-17 20:24:18 +02:00
Joas Schilling 72667a667d feat(dav): Emit a typed event to deprecate OCA\DAV\Connector\Sabre::addPlugin
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-17 16:06:15 +02:00
Arthur Schiwon f840c08dd6 docs(config): inform about log.backtrace
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-17 15:08:08 +02:00
Côme Chilliet de4c2196a1 Merge pull request #39309 from nextcloud/bug/35766/fix-get-uid-on-nullable
fix(profile): fix getUID on nullable user variable
2023-07-17 14:45:00 +02:00
Daniel Kesselberg 9e50f149a3 fix: check that object store backend supports multi part uploads
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-17 14:09:23 +02:00
Joas Schilling 911450b442 Merge pull request #39416 from nextcloud/bugfix/noid/add-password-confirmation-requirement-for-getapppassword
fix(core): Add password confirmation requirement for getapppassword
2023-07-17 13:55:07 +02:00
Marcel Klehr d63c122ec0 Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-17 13:30:20 +02:00
Hamid Dehnavi 1196b5c4c5 Add return types
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-07-17 13:28:58 +02:00
Joas Schilling 0d51d8fbcb fix(core): Add password confirmation requirement for getapppassword
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-17 12:07:22 +02:00
Marcel Klehr 2811932247 cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-17 11:34:16 +02:00
Marcel Klehr add5962b4c Update autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-17 11:20:58 +02:00
Marcel Klehr 590eefea70 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>
2023-07-17 11:11:16 +02:00
dependabot[bot] 0b927661f6 chore(deps): Bump dompurify from 2.4.5 to 3.0.5
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.4.5 to 3.0.5.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.4.5...3.0.5)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-17 10:39:02 +02:00
Nextcloud bot ab27e9508b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-17 00:25:33 +00:00
Nextcloud bot 687d7686c1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-16 00:25:05 +00:00
F. E Noel Nfebe 1797d9f400 Merge pull request #39401 from nextcloud/rakekniven-patch-2
fix(i18n) Changed grammar related to "login"
2023-07-15 15:34:32 +01:00
rakekniven 9646474e9a fix(i18n) Changed grammar related to "login"
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-07-15 15:51:53 +02:00
Nextcloud bot b5096b0eb6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-15 00:27:01 +00:00
Arthur Schiwon 27f76dc522 Merge pull request #39132 from nextcloud/fix/correct-exceptions-for-SAB
fix(CardDAV): catch right exception when checking for federated app classes
2023-07-14 19:30:42 +02:00
Marcel Klehr df1cf18f36 Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-14 16:27:06 +02:00
Marcel Klehr 95d2d3af5c Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-14 16:10:39 +02:00
Marcel Klehr ffe27ce14c Massive refactoring: Turn LanguageModel OCP API into TextProcessing API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-14 16:00:31 +02:00
Julius Härtl 2601db240f Merge pull request #39389 from nextcloud/enh/add-missing-indices-event 2023-07-14 14:21:39 +02:00
Anna 49b6541498 Merge branch 'master' into fix/correct-exceptions-for-SAB 2023-07-14 14:08:57 +02:00
Julius Härtl 925bcebcb6 feat: Add public event for missing indices
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-14 13:11:22 +02:00
Arthur Schiwon 623dbf899a Merge pull request #39380 from nextcloud/fix/39379/systag_by_tagid-not-created
fix(db): no hardcoded table prefix is expected
2023-07-14 13:05:11 +02:00
Nextcloud bot 99aefbd75a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-14 00:29:55 +00:00
Arthur Schiwon e5160e0c1c fix(db): no hardcoded table prefix is expected
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-13 23:34:39 +02:00
Joas Schilling d5ee076017 Merge pull request #39329 from nextcloud/feat/phpunit-for-css-generated-file
fix: also run phpunit on `apps/theming/css` modified files
2023-07-13 17:58:26 +02:00
Marcel Klehr 1d40f86d58 Merge pull request #39339 from nextcloud/fix/noid/d404-nosearch 2023-07-13 16:09:45 +02:00
Robin Appelman c3c58b66f2 Merge pull request #39321 from nextcloud/feature/openapi/files_external
files_external: Add OpenAPI spec
2023-07-13 16:01:58 +02:00
Robin Appelman b0e663fa28 fix SeekableHttpStream::stream_stat errors on failed open
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-13 15:38:58 +02:00
Robin Appelman 7c9edbff32 handle more exceptions in AmazonS3::fopen
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-13 15:37:42 +02:00
Robin Appelman c988d782eb Merge pull request #39331 from nextcloud/feature/openapi/core
core: Add OpenAPI spec
2023-07-13 15:36:51 +02:00
Simon L c5a6c7e0dd Merge pull request #39210 from nextcloud/chore/clean-core-main-entry
Remove jQuery from main entry point where not needed
2023-07-13 13:53:27 +02:00
Maxence Lange a82291f179 Merge pull request #39323 from nextcloud/fix/noid/getstorge-before-rm
files_external: getStorage before remove
2023-07-13 10:52:59 -01:00
Andy Scherzinger 7c9e5ee397 Merge pull request #39343 from nextcloud/ci/sign-drone-master
chore(CI): Sign .drone.yml file
2023-07-13 12:50:15 +02:00
Kate 686ad69133 Merge pull request #39341 from nextcloud/fix/openapi/cloud_federation_api
cloud_federation_api: Fix OpenAPI spec
2023-07-13 12:03:19 +02:00
Joas Schilling 13cd441fb2 chore(CI): Sign .drone.yml file
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-13 11:48:18 +02:00
jld3103 5b6c48f8c7 cloud_federation_api: Fix OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-13 10:38:14 +02:00
Kate f1fa15e423 Merge pull request #39316 from nextcloud/feature/openapi/oauth2
oauth2: Add OpenAPI spec
2023-07-13 10:33:20 +02:00
Kate 4991d2ee43 Merge pull request #39328 from nextcloud/feature/openapi/federatedfilesharing
federatedfilesharing: Add OpenAPI spec
2023-07-13 10:28:24 +02:00
Julien Veyssier 402338c0ab Merge pull request #39319 from nextcloud/feature/openapi/files_versions
files_versions: Add OpenAPI spec
2023-07-13 10:20:46 +02:00
jld3103 3dff41786d files_versions: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-13 10:20:09 +02:00
Ferdinand Thiessen 0fd567a8d3 fix: Remove jQuery from main entry point
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-13 10:18:11 +02:00
John Molakvoæ c35c42f802 Merge pull request #39106 from nextcloud/fix/update-notification--remove-deprecated-ncpopupmenu 2023-07-13 10:18:00 +02:00
Ferdinand Thiessen 8e58c34eae chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-13 10:06:23 +02:00
Ferdinand Thiessen c9670870a9 fix(updatenotification): Remove deprecated NcPopoverMenu and cleanup
* Replace `NcPopoverMenu` with `NcActions` and cleanup related code
* Move text under related heading for better content structure
* Fix some eslint warnings

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-13 10:05:01 +02:00
Ferdinand Thiessen 2d1b5c8e77 fix(updatenotification): Use @nextcloud/l10n to avoid deprecation warnings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-13 10:05:01 +02:00
Kate b6e73c82ba Merge pull request #39318 from nextcloud/feature/openapi/cloud_federation_api
cloud_federation_api: Add OpenAPI spec
2023-07-13 08:17:59 +02:00
Faraz Samapoor d1673ca3b8 Update lib/private/Profile/Actions/FediverseAction.php
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-07-13 09:17:57 +03:30
Pytal 41540ad4c3 Merge pull request #39050 from nextcloud/enh/a11y-users-table 2023-07-12 22:29:05 -07:00
jld3103 1be836273d core: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-13 07:24:15 +02:00
jld3103 6843bcd029 cloud_federation_api: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-13 07:20:55 +02:00
jld3103 3e757b5b81 cloud_federation_api: Fix bad request responses
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-13 07:20:40 +02:00
Kate 287a1d0562 Merge pull request #39320 from nextcloud/feature/openapi/files_trashbin
files_trashbin: Add OpenAPI spec
2023-07-13 07:17:33 +02:00
Christopher Ng faf2b2339d test(settings): Users table
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 21:35:55 -07:00
Christopher Ng 8faa1a4fe7 fix(acceptance): UsersSettingsContext
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 21:35:55 -07:00
jld3103 99dc010670 files_trashbin: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-13 06:26:58 +02:00
Christopher Ng ce99dd9eec fix(cypress): users
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 17:30:11 -07:00
Christopher Ng b65eb0c03d fix(cypress): users_modify
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 17:30:11 -07:00
Christopher Ng 957dbee1b0 fix(cypress): users_disable
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 17:30:11 -07:00
Christopher Ng 821fcc6d8e chore: Compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 17:30:11 -07:00
Christopher Ng cbfe0c67e9 enh(a11y): Users table
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 17:30:11 -07:00
Nextcloud bot 97a93c73ce Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-13 00:29:31 +00:00
Arthur Schiwon f2642fcceb 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 00:01:32 +02:00
Joas Schilling e9ac0287f2 Merge pull request #39297 from nextcloud/fix/dav/close-cursor
fix(dav): close cursor when fetching max id
2023-07-12 20:35:54 +02:00
Ferdinand Thiessen 4882e5c15a Merge pull request #39337 from nextcloud/fix/workflowengine-ncmultiselect
fix(workflowengine): Migrate from deprecated `NcMultiselect` to `NcSelect`
2023-07-12 20:11:54 +02:00
Arthur Schiwon 51829622ae Merge pull request #36830 from nextcloud/bugfix/noid/flow-mime-share
fix: Avoid failing with duplicate checks
2023-07-12 19:12:46 +02:00
Ferdinand Thiessen abb583a2ba Merge pull request #39336 from nextcloud/dependabot/npm_and_yarn/pinia/testing-0.1.2
chore(deps-dev): Bump @pinia/testing from 0.0.16 to 0.1.2
2023-07-12 18:04:02 +02:00
Ferdinand Thiessen 71c3be4fc6 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-12 17:58:46 +02:00
Ferdinand Thiessen 33a62681d9 fix(workflowengine): Migrate from deprecated NcMultiselect to NcSelect component
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-12 17:53:50 +02:00
Faraz Samapoor 270035ff44 Fixes Psalm's "InvalidArgument" error.
I just removed the return type from the "exceptionErrorHandler". There is in fact a hacky solution, that I didn't like:
https://github.com/vimeo/psalm/issues/3571

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-12 18:29:32 +03:30
Faraz Samapoor b8870658fb Fixes Psalm's "LessSpecificReturnStatement" error.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-12 18:29:32 +03:30
Faraz Samapoor 5d242aa2f8 Refactors files app commands.
To improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-12 18:29:32 +03:30
Ferdinand Thiessen 8a10f30e70 Merge pull request #38366 from nextcloud/file-command-copy-move
add commands to copy/move files
2023-07-12 16:58:50 +02:00
dependabot[bot] 5d5021ec07 chore(deps-dev): Bump @pinia/testing from 0.0.16 to 0.1.2
Bumps [@pinia/testing](https://github.com/vuejs/pinia) from 0.0.16 to 0.1.2.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/@pinia/testing@0.0.16...@pinia/testing@0.1.2)

---
updated-dependencies:
- dependency-name: "@pinia/testing"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 14:57:24 +00:00
Julius Härtl 06d80ba809 fix: Avoid failing with duplicate checks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-12 16:54:13 +02:00
Robin Appelman 38640bf816 add commands to copy/move files
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-12 15:01:29 +02:00
Kate 706c141fff Merge pull request #39327 from nextcloud/feature/openapi/files
files: Add OpenAPI spec
2023-07-12 10:50:59 +02:00
John Molakvoæ 48e47c6a46 fix: also run phpunit on apps/theming/css modified files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-12 09:25:39 +02:00
Simon L 329d14264f Merge pull request #39324 from nextcloud/ci/noid/fix-32bit-test
ci(32bit): fix failing test setup
2023-07-12 09:24:28 +02:00
jld3103 4ead6e64a4 federatedfilesharing: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-12 09:21:01 +02:00
jld3103 259264b966 files: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-12 09:06:10 +02:00
jld3103 1c19c567fe oauth2: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-12 07:32:30 +02:00
Joas Schilling 46284f1696 Merge pull request #39268 from nextcloud/bugfix/noid/request-time-flow
fix(flow): Revert invalid rename of check class for RequestTime
2023-07-12 07:10:21 +02:00
Nextcloud bot ac5b2d47ff Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-12 00:22:03 +00:00
Arthur Schiwon 55dbb86fc6 ci(32bit): fix failing test setup
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-11 23:32:34 +02:00
Andy Scherzinger f55c4f9601 Merge pull request #39104 from nextcloud/automated/noid/master-fix-npm-audit
[master] Fix npm audit
2023-07-11 23:27:55 +02:00
Maxence Lange b99020a6f7 getStorage before remove
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-07-11 17:36:17 -01:00
Kate 46247e670a Merge pull request #39315 from nextcloud/feature/openapi/dav
dav: Add OpenAPI spec
2023-07-11 20:13:52 +02:00
Kate ee1ba9af47 Merge pull request #39312 from nextcloud/feature/openapi/updatenotification
updatenotification: Add OpenAPI spec
2023-07-11 19:47:35 +02:00
nextcloud-command cca6cc0c32 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-07-11 16:07:49 +00:00
jld3103 bb1e73de97 files_external: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-11 17:22:35 +02:00
Julia Kirschenheuter a756600b91 Merge pull request #39277 from nextcloud/test/4193-Buttons_accessibility_improvements
Set double outline to buttons in focus state
2023-07-11 16:52:48 +02:00
jld3103 cbe3c578e1 dav: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-11 16:37:40 +02:00
jld3103 0c2bff63e4 updatenotification: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-11 16:28:01 +02:00
Marcel Klehr bd45c436eb Update core/Controller/LanguageModelApiController.php
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-11 15:28:37 +02:00
Marcel Klehr d430cbbfca Update core/Controller/LanguageModelApiController.php
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-11 15:28:22 +02:00
John Molakvoæ 2cf8d6d965 Merge pull request #39196 from nextcloud/feat/f2v/sharing 2023-07-11 15:06:03 +02:00
Thomas Citharel cd9dac1d20 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-11 14:41:58 +02:00
Marcel Klehr 48c8206538 Fix openapi docs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-11 14:37:14 +02:00
John Molakvoæ 74763e8757 feat(files_sharing): add openInFiles action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:55:10 +02:00
John Molakvoæ 8e1c693be5 fix(files_sharing): error and size/mtime for deleted shares
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:55:10 +02:00
John Molakvoæ b766589d6c fix(files): empty default action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:55:10 +02:00
John Molakvoæ 71cfc7ddba chore: compile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:55:08 +02:00
John Molakvoæ 1a46104d50 chore: add actions testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:52:28 +02:00
John Molakvoæ 2d6e50a8db fix: legacy files favorite event node type
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:52:28 +02:00
John Molakvoæ f5f142d31b fix: adjust testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:52:28 +02:00
John Molakvoæ b0418f730f fix: drop legacy sharing files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:52:28 +02:00
John Molakvoæ a9f7e66d3d fix(files): actions permissions requirements
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:52:28 +02:00
John Molakvoæ 6f54f72bb4 feat(sharing): add sharing overview view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-11 13:52:27 +02:00
Louis 5c6ed30369 Merge pull request #39296 from nextcloud/dependabot/npm_and_yarn/semver-5.7.2
chore(deps): Bump semver from 5.7.1 to 5.7.2
2023-07-11 12:55:53 +02:00
Marcel Klehr b7c3b50e41 Update core/Controller/LanguageModelApiController.php
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-11 12:41:31 +02:00
Kate 2ca7f39fd2 Merge pull request #39280 from nextcloud/feature/openapi/federation
federation: Add OpenAPI spec
2023-07-11 12:13:59 +02:00
Joas Schilling e285d72c10 Merge pull request #38561 from nextcloud/feat/noid/allow-to-match-client-versions-with-regex
feat(request): Allow to match the client version with the IRequest::U…
2023-07-11 11:36:54 +02:00
julia.kirschenheuter 34bbb4ed48 Set double outline to buttons in focus state
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-07-11 11:22:39 +02:00
Benjamin Gaussorgues 12ee2581aa Merge pull request #39169 from nextcloud/fix/migrate-to-psr-logger-interface-files_sharing
Migrate files sharing to PSR LoggerInterface
2023-07-11 11:15:26 +02:00
Benjamin Gaussorgues 65c26c2fe0 Merge pull request #39160 from nextcloud/fix/migrate-to-psr-logger-interface-federatedfilesharing
Migrate federated file sharing to PSR LoggerInterface
2023-07-11 11:12:50 +02:00
Kate 5661fe9719 Merge pull request #39286 from nextcloud/feature/openapi/dashboard
dashboard: Add OpenAPI spec
2023-07-11 10:57:14 +02:00
dependabot[bot] 233cefbbed chore(deps): Bump semver from 5.7.1 to 5.7.2
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-11 06:59:16 +00:00
John Molakvoæ 2dfd9ee3c9 Merge pull request #39190 from nextcloud/bugfix/noid/move-dav-app-to-non-deprecated-dispatcher 2023-07-11 08:27:30 +02:00
Richard Steinmetz 9206c0f473 fix(dav): close cursor when fetching max id
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-07-11 08:05:34 +02:00
Kate 428153c8ba Merge pull request #39272 from nextcloud/feature/openapi/sharebymail
sharebymail: Add OpenAPI spec
2023-07-11 07:43:52 +02:00
Joas Schilling 33913ebc34 fix(workflowengine): Fix tested user agents of Android and iOS to match real ones
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-11 07:40:22 +02:00
Joas Schilling 308fc8d8ed fix(dav): Use IRequest constant to match version
The pattern matches since a 10 year old client version

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-11 07:35:50 +02:00
Joas Schilling 2c6f32cb28 feat(request): Allow to match the client version with the IRequest::USER_AGENT_* regex
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-11 07:35:50 +02:00
Joas Schilling 7457431f16 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-11 07:30:59 +02:00
Julius Härtl cae07aeda2 fix(flow): Revert invalid rename of check class for RequestTime
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-11 07:28:10 +02:00
jld3103 f8bed12cfb dashboard: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-11 07:23:00 +02:00
Nextcloud bot de3b6a2219 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-11 00:32:22 +00:00
Kate 0f2509e60c Merge pull request #39287 from nextcloud/feature/openapi/theming
theming: Add OpenAPI spec
2023-07-11 00:13:03 +02:00
Kate ed27f04307 Merge pull request #39284 from nextcloud/feature/openapi/settings
settings: Add OpenAPI spec
2023-07-10 23:10:25 +02:00
Robin Appelman f152aefce7 Merge pull request #39248 from nextcloud/custom-properties-preload
preload custom properties when propfinding folders
2023-07-10 21:55:37 +02:00
Kate ed55c54f05 Merge pull request #39274 from nextcloud/feature/openapi/weather_status
weather_status: Add OpenAPI spec
2023-07-10 18:54:44 +02:00
jld3103 b58ef2c0b1 theming: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-10 17:25:58 +02:00
jld3103 da7062b939 settings: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-10 17:06:32 +02:00
Kate c0f3588098 Merge pull request #39263 from nextcloud/feature/ignore-api-attribute
Add IgnoreOpenAPI attribute
2023-07-10 16:54:13 +02:00
jld3103 d8ce744403 federation: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-10 15:29:07 +02:00
Robin Appelman 61167e3149 Add optional to add backtrace to log items
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-10 15:27:31 +02:00
jld3103 a353b78bda weather_status: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-10 15:17:59 +02:00
jld3103 9b822a5722 sharebymail: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-10 15:14:22 +02:00
jld3103 2d6a62ccee Add IgnoreOpenAPI attribute
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-10 14:25:22 +02:00
Johannes Merkel bb802956a2 enh(contacts): show/hide addressbooks for all
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-07-10 13:39:15 +02:00
Robin Appelman a84fa17c73 Merge pull request #39170 from nextcloud/orphan-share-command
add command do delete orphan shares
2023-07-10 13:17:17 +02:00
Kate 0d78334c7d Merge pull request #39257 from nextcloud/feature/openapi/comments
comments: Add OpenAPI spec
2023-07-10 10:48:30 +02:00
Richard Steinmetz ba2e243ed1 Merge pull request #39146 from nextcloud/fix/hide-circle-download-permission
fix(files_sharing): hide download permission for circle shares
2023-07-10 09:28:37 +02:00
jld3103 58746575dc comments: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-10 09:20:14 +02:00
Richard Steinmetz 270d3a4269 fix(files_sharing): hide download permission for circle shares
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-07-10 08:51:49 +02:00
Nextcloud bot 3fb8aad35b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-10 00:28:45 +00:00
Robin Appelman 95c3b8131a preload custom properties when propfinding folders
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-09 02:55:57 +02:00
Nextcloud bot 148c2a8da8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-09 00:35:19 +00:00
Nextcloud bot a62a8fab97 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-08 00:30:07 +00:00
Marcel Klehr 069962d04f Since 27.1.0
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:46:34 +02:00
Marcel Klehr 49ea56b306 LanguageModelApiController: Use jsonSerialize method to help psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr a4578cd995 cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr bf2dcd67f3 LLM OCP API: Change Tests to use EventDispatcher mock
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 9f405a19f7 LLM OCP API: Improve scheduleTask docblock
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr ea4dc4cba8 LLM OCP API: Fix OpenApi docs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr de1cfaae9c LLM OCP API: Fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 8f1a4f4255 LLM OCP API: Avoid using OC in OCP
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 3974953464 OCP\Common\NotFoundException: Add param type
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 9ccc65d68c LLM OCP API: Simplify TaskBackgroundJob#run catch block
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr e810a8b66b LLM OCP API: Explain TaskBackgroundJob#setAllowParallelRuns
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 05fcf31987 LLM OCP API: Don't lose trace of wrapped exceptions
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 945522768e LLM OCP API: Simplify LanguageModelManager#canHandleTask
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr d56286b8ac LLM OCP API: s/getAvailableTasks/getAvailableTaskClasses/
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr a28d8fac2f LLM OCP API: Add missing copyright and strict types
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 0909657ea0 LLM Migration: Return null if nothing changed
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr bad124c07b 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>
2023-07-07 13:39:10 +02:00
Marcel Klehr ba950f7e34 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>
2023-07-07 13:39:10 +02:00
Marcel Klehr 95d2bd50da 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>
2023-07-07 13:39:10 +02:00
Marcel Klehr 61b9b4f474 LLM OCS API: Add OpenAPI docs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr d33b7a8da4 LLM OCS API: s/tasks/tasktypes/
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 0a0e812453 LLM OCP API: Fix psam error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr d6d4e0ffe3 LLM OCP API: Fix psam errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr f7e1e79880 LLM OCP API: Fix security issue
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 62b19e0675 LLM OCP API: Fix psalm error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr f6f8cb4331 LLM OCP API: Add identifier param
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 5b772468ad Apply suggestions from code review
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr fb657bfff8 cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 1747068e51 Fix LanguageModelManager#runTask: Insert task into db if it doesn't exist
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr c568c4a464 Add test for task cleanup
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 66c0e6b9f7 Make tests pass
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 20cb9935ca Fix tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr ebc7631544 Add preliminary tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 27e1c86652 ILanguageModelTask: Use php type checking along with psalm parameterized types
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 0a94525042 ILanguageModelManager: Add docblock description
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 1623ad9eda TaskMapper#update: Use time factory
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr cb0f918d21 Add tasks::last_updated column and vacate tasks after a week
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 1d3661ded9 cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 94fcf88892 LLM OCP API: Fix copyright
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr b00a9a6eae LLM OCP API: Use OCP\Common\Exception\NotFoundException
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr a7cd6bf5b8 OCP: Introduce OCP\Common\Exception\NotFoundException
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 83db23ea48 LLM OCP API: strict types and copyright
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 906e9b7014 LLM OCP API: Type shenanigans for Visitor pattern
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 8e4aa92167 Apply suggestions from code review
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr fb55afc9ff Update lib/public/AppFramework/Bootstrap/IRegistrationContext.php
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 5bc6180b38 LLM OCP API: Commit autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr fb4de16c11 LLM OCP API: Add task definitions
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 249dd5cce4 Update lib/public/LanguageModel/ITopicsProvider.php
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 72ea76178a LLM OCP API: Fix coding style and psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 75d7af86ac LLM OCP API: cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr fac83ce4b6 LLM OCP API: Fix static analysis
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 9935034480 LLM OCP API: Add @since
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr b6a95e35b0 LLM OCP API: Fix type errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr b8a9f08d83 LLM OCP API: Make linters happy
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr b6941aa5c3 LLM OCP API: cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 795b097122 LLM OCP API: Implement ocs API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 9d5717d239 LLM OCP API: ADd topics and headline tasks
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 9e9fc1d99b Fix Copyright
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 82d3b00ab1 LLM OCP API: Add to RegistrationContext
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 6fc4cb63ef LLM OCP API: Add db migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 3413873653 LLM OCP API: Implement private backend code + add ILanguageModelTask
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 01dd1a894d LLM OCP API: Rework to use Task objects
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Marcel Klehr 70d5bf79e3 Initial work on lm OCP API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +02:00
Anna 42aabd2d8b Merge branch 'master' into fix/correct-exceptions-for-SAB 2023-07-07 12:45:31 +02:00
Joas Schilling e1d4b82111 fix(CI): Fix type confusion with Psalm
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-07 10:55:17 +02:00
Joas Schilling 2bf339e2a7 fix(dav): Remove listener for events that never existed anywhere
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-07 10:53:20 +02:00
Joas Schilling 80ee81faa1 fix(dav): Move listener to actually existing event
The legacy event was removed in 4bb31c021e

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-07 10:53:20 +02:00
Joas Schilling f59c74062a fix(dav): Move DAV app to non deprecated event dispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-07 10:53:19 +02:00
Arthur Schiwon 4054a7ddc8 fix(LDAP): add return type hint and description
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 10:46:00 +02:00
Arthur Schiwon 9bf6911559 Merge pull request #39133 from nextcloud/feature/openapi/user_status
user_status: Add OpenAPI spec
2023-07-07 10:43:06 +02:00
Benjamin Gaussorgues 45b3f6e2b3 Migrate federated file sharing to PSR LoggerInterface
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-07-07 09:00:35 +02:00
Hamid Dehnavi d0b20534b9 Refactor "substr" calls to improve code readability
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-07-07 04:54:20 +03:30
Nextcloud bot a9ba19d3d4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-07 00:27:34 +00:00
Daniel 5640246012 Merge pull request #39204 from nextcloud/docs/noid/rem-outdated-comment
docs(dav): remove outdated comment
2023-07-06 23:27:13 +02:00
John Molakvoæ 125b56f42b Merge pull request #39203 from nextcloud/fix/cypress-only-revert 2023-07-06 22:34:26 +02:00
Arthur Schiwon 5596af2b96 docs(dav): remove outdated comment
The method was added actually to PHP API in 28 and the mentioned check
is not in place anymore.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-06 21:57:08 +02:00
John Molakvoæ 93096a9a9b fix(cypress): revert only toggle
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-06 21:27:17 +02:00
Christoph Wurst ebd0fcc959 Merge pull request #39200 from nextcloud/fix/remove-already-removed-api-deprecation
fix: Remove deprecation warning for already removed API
2023-07-06 20:20:31 +02:00
Côme Chilliet d783728c8f Merge pull request #39189 from nextcloud/bugfix/noid/cleanup
fix: Cleanup unused imports and some type deprecations
2023-07-06 18:02:00 +02:00
Ferdinand Thiessen a5630abedc fix: Remove deprecation warning for already removed API
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-06 17:40:31 +02:00
Christoph Wurst fc0bcaa282 Merge pull request #38663 from nextcloud/chore/oc-server-query-to-ocp-server-get-lib
chore: Replace \OC::$server->query with \OCP\Server::get in /lib
2023-07-06 17:04:23 +02:00
Christoph Wurst 14719110b9 chore: Replace \OC::$server->query with \OCP\Server::get in /lib
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-06 15:21:22 +02:00
Benjamin Gaussorgues 29c1848eda Migrate files sharing to PSR LoggerInterface
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-07-06 14:08:42 +02:00
Louis 5538a40029 Merge pull request #39165 from nextcloud/artonge/feat/enable_versions_features_with_groupfolders_enabled
Enable all files_versions features when groupfolders is enabled
2023-07-06 13:11:42 +02:00
Anna Larch 558e386e46 fix(CardDAV): catch right exception when checking for federated app classes
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-07-06 13:07:14 +02:00
Louis 3a504916cf Merge pull request #39164 from nextcloud/artonge/feat/add_411_ocs_error
Add OCSPreconditionFailedException
2023-07-06 12:33:41 +02:00
Joas Schilling abc8ff38cb fix: Cleanup unused imports and some type deprecations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-06 10:37:40 +02:00
Nextcloud bot 6d84160ba7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-06 00:30:35 +00:00
Hamid Dehnavi 8850c66ab8 use square bracket syntax to modify array
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-07-05 21:36:45 +03:30
Louis Chemineau 407c361b91 Add OCSPreconditionFailedException
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-07-05 20:01:45 +02:00
Robin Appelman 50501f8515 add command do delete orphan shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-07-05 18:33:11 +02:00
John Molakvoæ 6862ff2800 Merge pull request #38950 from nextcloud/feat/f2v/favorites 2023-07-05 18:27:10 +02:00
Arthur Schiwon 92a082d823 fix(ldap): avatar is not being fetched
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-05 17:13:43 +02:00
John Molakvoæ 7f8a390b60 fix(files): show a border around the favorite icon for better contrast
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:49:44 +02:00
John Molakvoæ 19e2aaa5b4 fix: favorites colour, icon, unwanted eslint-disable, typing and preview
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:48:26 +02:00
John Molakvoæ 9b0e3a97cb fix(files): invalid default actions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:34 +02:00
John Molakvoæ 3e99d81574 chore: compile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:34 +02:00
John Molakvoæ e3bac437c2 chore: remove old favorites view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:34 +02:00
John Molakvoæ 7929ad4a93 feat: add caption prop
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:34 +02:00
John Molakvoæ 047218b5b0 feat: add favorites view testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:34 +02:00
John Molakvoæ 18f88a7042 chore: update webdav to 5.2.2
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ 28c2d9e906 fix(files): sanitize name and ext display
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ fb61e3a761 feat: add modified column
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ 7f76801220 fix(files): fix actions svg
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ 0c407d28af feat: add view in folder action with tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ 97d69c356f fix(files): hidden default actions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ fa50f6ce14 fix(files): restore action tslint
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ 96face57a7 feat(files): import all actions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ b9e6f4d259 feat(files): implement built-in renaming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ a0597da460 feat(files): sort favorites first
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ f029c8bd82 fix(files): fix favorites legacy to vue handling and sorting
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:33 +02:00
John Molakvoæ 0984970cd8 feat(files): favorites
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-07-05 16:20:32 +02:00
Arthur Schiwon 79d24bfb8e Merge pull request #38176 from danialRahimy/master
Admin audit app: optimization according to PHP 8
2023-07-05 15:53:00 +02:00
Arthur Schiwon 86e7af1d82 Merge pull request #38978 from fsamapoor/refactor_lib_private_accounts
Refactors lib/private/Accounts classes
2023-07-05 15:52:34 +02:00
Louis Chemineau eb71ee950d Enable all files versions features when groupfolders is enabled
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-07-05 15:52:13 +02:00
Arthur Schiwon fc7944fc73 Merge pull request #39062 from nextcloud/fix/tag-search-short-circuit-master
fix(TagSearchProvider): Short circuit if no tag matches the query
2023-07-05 15:15:00 +02:00
Joas Schilling 75a15dcfe4 Merge pull request #38955 from nextcloud/bugfix/noid/dont-use-or
fix(eventdispatcher): Don't use all evaluating "or"
2023-07-05 14:40:10 +02:00
Danial Rahimi 91d50c595f Admin audit app: optimization according to PHP 8
Signed-off-by: Danial Rahimi <daniel_rahimi@outlook.com>
2023-07-05 14:16:37 +02:00
Faraz Samapoor 0133515644 Renames the property to improve the code readbility/clarity.
Based on:
 https://github.com/nextcloud/server/pull/38978#pullrequestreview-1514202944

Co-authored-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-05 14:23:09 +03:30
Christoph Wurst 247193f912 Merge pull request #39043 from nextcloud/fix/ocp/dashboard-widgetitems-see-widget-getitems
fix(ocp): Fix reference of dashboard IAPIWidget::getItems from WidgetItem
2023-07-05 12:09:42 +02:00
Arthur Schiwon c5285d68b1 Merge pull request #39086 from nextcloud/bugfix/noid/migrate-admin_audit-to-IEventDispatcher
feat(admin_audit): Migrate to non-deprecated IEventDispatcher
2023-07-05 12:05:11 +02:00
Arthur Schiwon 74d78fb656 Merge pull request #39012 from fsamapoor/refactor_lib_private_security_part2
[2/3] Refactors lib/private/Security
2023-07-05 12:02:27 +02:00
Joas Schilling 21821d8303 Merge pull request #38910 from nextcloud/fix/nullish-trim-deprecation-warning
Cast string type for trim()
2023-07-05 07:53:25 +02:00
Nextcloud bot f78e415039 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-05 00:26:45 +00:00
Arthur Schiwon bacd14a790 Merge pull request #39115 from nextcloud/fix/unecrypted-size-part-files
fix(sse): don't update uncached files
2023-07-04 22:12:33 +02:00
Robin Appelman a8e2256114 Merge pull request #38975 from fsamapoor/constructor_property_promotion_in_remaining_core_classes
Uses PHP8's constructor property promotion in remaining /core classes
2023-07-04 17:44:43 +02:00
Robin Appelman dfefe7c2c8 Merge pull request #38974 from fsamapoor/constructor_property_promotion_in_core_migrations
Uses PHP8's constructor property promotion in core/Migrations
2023-07-04 17:33:30 +02:00
jld3103 6f9cf8817c user_status: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-04 15:47:22 +02:00
Richard Steinmetz c4eccbb304 fix(sse): don't update uncached files
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-07-04 12:42:29 +02:00
Joas Schilling eb09053897 feat(admin_audit): Migrate to non-deprecated IEventDispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-04 12:36:30 +02:00
Marcel Klehr 2c71a77f4b Merge pull request #39127 from nextcloud/fix/password-confirmation-master 2023-07-04 11:14:50 +02:00
Marcel Klehr 3036f467a8 Fix(OC/password-confirmation): Hide the correct button
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-04 09:55:46 +02:00
Kate 3117ec82f9 Merge pull request #39116 from nextcloud/feature/psalm-enable-more-less-specific
psalm: Enable more/less specific errors
2023-07-04 08:05:27 +02:00
Nextcloud bot c76fa68d39 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-04 00:29:17 +00:00
Johannes c3dcd70b91 Merge pull request #38969 from nextcloud/enh/38944/add-profile-url-to-sab
enh(sab): Add profileUrl to SAB
2023-07-03 19:11:25 +02:00
jld3103 cd91b77193 psalm: Enable more/less specific errors
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-03 18:09:27 +02:00
Johannes Merkel eda3824d91 enh(sab): Add profileUrl to SAB
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-07-03 17:55:18 +02:00
Daniel 646dfd2a40 Merge pull request #39070 from nextcloud/fix/bump-sabre/dav-to-4.4.0-in-master
Bump sabre/http to 5.1.7 in master
2023-07-03 16:35:34 +02:00
Joas Schilling 75d5fa4115 Merge pull request #39089 from nextcloud/bugfix/39087/fix-2fa-event-names
Fix event names of 2FA related typed events
2023-07-03 15:38:28 +02:00
Côme Chilliet 3719e7d2eb Bump sabre/dav to 4.4.0 in master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-07-03 15:23:49 +02:00
Joas Schilling 05aa39d777 Fix event names of 2FA related typed events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-03 14:25:01 +02:00
Kate fe8e2ff64b Merge pull request #39120 from nextcloud/fix/psalm-disable-cache
psalm: Disable cache
2023-07-03 14:20:12 +02:00
Faraz Samapoor 9d15e6e21d Fixes "PossiblyFalseArgument" notices.
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-03 13:13:11 +03:30
Faraz Samapoor 5db241b942 Refactors "strpos" calls in /apps/workflowengine to improve code readability.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-03 13:13:11 +03:30
Christoph Wurst 67709b390a Merge pull request #39057 from nextcloud/feat/ocp/type-icapabilities
feat(ocp): More specific type for ICapabilities::getCapabilities
2023-07-03 11:29:58 +02:00
jld3103 ab738a5b81 psalm: Disable cache
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-03 11:26:30 +02:00
John Molakvoæ 1d5beb3688 Merge pull request #39103 from nextcloud/fix/remove-orphaned-file 2023-07-03 11:18:29 +02:00
Côme Chilliet d86514ad48 Merge pull request #39096 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-07-03 10:34:32 +02:00
Côme Chilliet b2f01b72fe Merge pull request #34443 from nextcloud/feat/add-enabled-user-backend
Add IProvideEnabledStateBackend interface
2023-07-03 10:19:32 +02:00
Christoph Wurst 19499964d0 doc(ocp): Upgrade capability registration recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-03 10:03:45 +02:00
Christoph Wurst 95145ee0c9 feat(ocp): More specific type for ICapabilities::getCapabilities
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-07-03 10:03:45 +02:00
Nextcloud bot 5d9d37e2c5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-03 00:30:37 +00:00
John Molakvoæ ac80328648 Merge pull request #39102 from nextcloud/fix/migrate-deprecated-ncappnavigationcounter 2023-07-02 17:30:44 +02:00
Faraz Samapoor 8cb078b58c Fixes testcase errors.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-02 12:01:11 +03:30
Nextcloud bot 1c7c75c253 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-02 00:31:00 +00:00
Ferdinand Thiessen 0d2bcb3701 chore(files_sharing): Remove orphaned file with deprecated imports
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-01 23:40:14 +02:00
Ferdinand Thiessen 215b3bbc9d fix(settings): Migrate away from NcAppNavigationCounter
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-01 23:12:06 +02:00
Git'Fellow 914cb809b4 Merge pull request #39093 from nextcloud/imageCreateFromString
Silent `imagecreatefromstring()` errors
2023-07-01 16:34:01 +02:00
Faraz Samapoor a1acacf032 Fixes Psalm error.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-01 13:57:46 +03:30
Faraz Samapoor ed972439fc Refactors lib/private/Accounts.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-07-01 13:57:46 +03:30
nextcloud-command 372236ad63 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-07-01 03:44:28 +00:00
dependabot[bot] dbc0b75a5e chore(deps): Bump skjnldsv/read-package-engines-version-actions
Bumps [skjnldsv/read-package-engines-version-actions](https://github.com/skjnldsv/read-package-engines-version-actions) from 2.1 to 2.2.
- [Release notes](https://github.com/skjnldsv/read-package-engines-version-actions/releases)
- [Commits](https://github.com/skjnldsv/read-package-engines-version-actions/compare/v2.1...8205673bab74a63eb9b8093402fd9e0e018663a1)

---
updated-dependencies:
- dependency-name: skjnldsv/read-package-engines-version-actions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-01 02:16:34 +00:00
Nextcloud bot 2584786f31 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-01 00:25:13 +00:00
Pytal cb118d5bd6 Merge pull request #39073 from nextcloud/fix/setting_migrate-from-deprecated-ncpopovermenu 2023-06-30 15:51:15 -07:00
Git'Fellow 9d70fd3e64 Silent imagecreatefromstring() errors
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-06-30 21:58:44 +02:00
Ferdinand Thiessen e36fc974e0 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-30 11:38:11 -07:00
Ferdinand Thiessen 97683a5b66 fix(settings): Migrate away from deprecated NcPopoverMenu
* Replace popover menu with `NcActions`
* Deduplicate user actions code between `UserRow` and `UserRowSimple`
* Fix user action to cover whole row heigh to prevent dropdown from shining through the actions
* Fix user action popover to be overlayed by current edited row actions

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-30 11:38:11 -07:00
Louis d76f39889a Merge pull request #38905 from nextcloud/artonge/feat/improve_files_versions_preview_logic
Reduce load of files versions preview loading
2023-06-30 20:32:24 +02:00
Ferdinand Thiessen 83eb6c3205 Merge pull request #39049 from nextcloud/no-issue/accessibility/aria-labels-on-apps-slide-toggles
Update aria-expanded attribute for sidebar apps-slide-toggles
2023-06-30 14:31:50 +02:00
fenn-cs b83aaed283 Update aria-expanded attribute for sidebar apps-slide-toggles
Some apps which use the machanism provided in `core/src/OC/apps.js`
for toggle slide up/down in the side bar would equally rely on same for
`aria-expanded` state change.

For example : https://github.com/nextcloud/activity/pull/1230

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-30 11:47:21 +00:00
Marcel Klehr 29c0e078a1 Fix psalm error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-06-30 12:32:25 +02:00
Marcel Klehr 2951ae277d fix(TagSearchProvider): Short circuit if no tag matches the query
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-06-30 12:32:25 +02:00
Julius Härtl b179784278 Merge pull request #39025 from nextcloud/bugfix/noid/actions-empty-files 2023-06-30 10:12:41 +02:00
Kate 90a78d7caa Merge pull request #38802 from nextcloud/feature/type-responses
Add types to responses
2023-06-30 10:12:28 +02:00
jld3103 b0001c6010 Add template types to responses
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-30 09:33:29 +02:00
dependabot[bot] 794d511774 Merge pull request #38863 from nextcloud/dependabot/github_actions/cypress-io/github-action-5.8.3 2023-06-30 06:49:57 +00:00
dependabot[bot] b0c3f7aa96 chore(deps): Bump cypress-io/github-action from 5.8.1 to 5.8.3
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 5.8.1 to 5.8.3.
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Commits](https://github.com/cypress-io/github-action/compare/db1693016f23ccf9043f4b2428f9b04e5d502a73...d69252d52b9a31bad4f418f05ba2bc83687a02eb)

---
updated-dependencies:
- dependency-name: cypress-io/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-30 05:59:08 +00:00
John Molakvoæ 325e1bb035 Merge pull request #39076 from nextcloud/backport/39067/master 2023-06-30 07:58:06 +02:00
Nextcloud bot bb8b896254 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-30 00:29:43 +00:00
John Molakvoæ cfc88eac8c fix(cypress): branch definition and update from template
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-29 21:45:58 +02:00
Faraz Samapoor b4dd68f5b3 Refactors lib/private/Profile.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-29 22:51:54 +03:30
Julius Härtl 40b380bb99 fix(files): Only render the menu if there are actions to show
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-29 20:26:54 +02:00
John Molakvoæ 5b7f81b1b5 Merge pull request #38900 from tanganellilore/add_theming_doc_url 2023-06-29 16:58:10 +02:00
Johannes Merkel 846754ed1a fix(mail): ContactManager search with fullmatch
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-06-29 16:48:56 +02:00
Côme Chilliet 189ccc2d72 Add method to list disabled users to IProvideEnabledStateBackend
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-29 16:15:12 +02:00
Côme Chilliet c7ea6cec56 Merge pull request #39018 from nextcloud/fix/migrate-to-loggerinterface-federation
Migrate federation application to LoggerInterface
2023-06-29 15:45:02 +02:00
Arthur Schiwon 7b7148c206 Merge pull request #35915 from nextcloud/enh/noid/display-name-federated-shares
display displayname on federated shares
2023-06-29 14:40:26 +02:00
Louis Chemineau 05acd916b5 Base versions' has-preview on mimetype
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-29 12:08:59 +02:00
Côme Chilliet 4a0351878c Avoid adding (attribute=) part to filter which will confuse LDAP servers
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-29 10:42:59 +02:00
Côme Chilliet fc3ac4d974 Merge pull request #38605 from fsamapoor/replace_strpos_calls_in_comments_app
Refactors "strpos" calls in /apps/comments
2023-06-29 10:32:08 +02:00
Christoph Wurst f43c24b0b1 Merge pull request #31790 from nextcloud/fix-events-with-old-lastoccurence
Fix creating events with old (< unix time) lastoccurence
2023-06-29 09:42:55 +02:00
Pytal ba25c66f3d Merge pull request #38839 from nextcloud/fix/36976-_9.1.4.11/8.2_-_The_frames_of_the_input_fields_do_not_meet_the_contrast_requirements 2023-06-28 17:33:37 -07:00
Ferdinand Thiessen 5e81a9e53d fix: Add cypress test for changing password in the users list
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-29 00:08:21 +02:00
julia.kirschenheuter 3fba4c5529 Replace plain input fields with NcTextField fields and NcMultiSelect fields with NcSelect fields
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-06-28 21:53:12 +02:00
Christoph Wurst 6d81147dc4 Merge pull request #39042 from nextcloud/fix/ocp/timed-job-joblist-type
fix(ocp): TimedJob can't have a more specific argument than Job
2023-06-28 21:51:53 +02:00
Maksim Sukharev 8c73fedf95 Merge pull request #38832 from nextcloud/fix/38817/correct-user-status-save
Adjust saving of status messages
2023-06-28 19:35:28 +02:00
Louis Chemineau 505a11b3e7 Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-28 17:00:23 +02:00
Louis Chemineau 6eb93c652a Do not load preview if version tab is not active
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-28 17:00:23 +02:00
julia.kirschenheuter 04d4fb6286 Replace plain input fields with NcTextField fields and NcMultiSelect fields with NcSelect fields
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-06-28 16:55:16 +02:00
Louis Chemineau 36c3846475 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-06-28 16:46:48 +02:00
F. E Noel Nfebe 0d9abed754 Merge pull request #38498 from nextcloud/feat-replace-id3parser-with-mp3info
Replace id3parser with mp3info
2023-06-28 15:15:17 +01:00
Maksim Sukharev bcb074a90d wrap user status message input and buttons with native form
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2023-06-28 15:38:17 +02:00
Christoph Wurst c7c28a81d5 fix(ocp): Fix reference of dashboard IAPIWidget::getItems from WidgetItem
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-28 15:07:23 +02:00
Christoph Wurst cb78805282 fix(ocp): TimedJob can't have a more specific argument than Job
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-28 14:59:36 +02:00
Daniel Kesselberg 3757f390c3 feat: replace id3parser with mp3info
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-28 14:58:59 +02:00
Maxence Lange d2efd0e03c displayname on federated shares
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-06-28 09:28:03 -01:00
Joas Schilling fbc63fe57c Merge pull request #38613 from nextcloud/feat/35959/async-guzzle-requests
feat(HTTPClient): Provide wrapped access to Guzzle's asyncRequest()
2023-06-28 09:04:36 +02:00
John Molakvoæ 7f3c26a65a Merge pull request #39038 from nextcloud/fix/replace-deprecated-vue-code 2023-06-28 08:10:27 +02:00
Faraz Samapoor 9fa9975bc9 Refactors lib/private/Log.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-28 09:29:45 +03:30
Julius Härtl eddb64f8c3 Merge pull request #37969 from nextcloud/poc/noid/systemtags-perf-tag-endpoint 2023-06-28 07:53:35 +02:00
Nextcloud bot 918aacdf1a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-28 00:30:40 +00:00
Arthur Schiwon d9487103c9 fix: cannot apply limit+offset on multi-tag-search
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-27 23:06:39 +02:00
Ferdinand Thiessen b74f0dcfe0 fix(core): Migrate from deprecated excludeClickOutsideClasses to excludeClickOutsideSelectors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-27 21:38:06 +02:00
Faraz Samapoor 57ff06576a Fixes psalm errors: RedundantCondition and TypeDoesNotContainNull.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-27 21:21:21 +03:30
John Molakvoæ c3982b7994 Merge pull request #39029 from nextcloud/feat/eslint-ts 2023-06-27 19:36:26 +02:00
Pytal fa37574006 Merge pull request #39020 from fsamapoor/refactor_lib_private_mail 2023-06-27 10:18:03 -07:00
Faraz Samapoor bbfe2fb821 Merge branch 'master' into replace_strpos_calls_in_dav_app
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-27 19:07:09 +03:30
John Molakvoæ cd54f7c7f4 chore: upgrade typescript, eslint and fix lint
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-27 16:16:41 +02:00
Joas Schilling ec6728d710 feat(HTTPClient): Provide wrapped access to Guzzle's asyncRequest()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-27 15:53:57 +02:00
Christoph Wurst 266436b767 Merge pull request #38990 from fsamapoor/refactor_lib_private_calendar
Refactor lib/private/Calendar
2023-06-27 13:38:59 +02:00
Thomas Citharel 1e390e1982 style(caldav): improve getDenormalizedData method
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-06-27 11:16:47 +00:00
Thomas Citharel 3886b00a33 Fix creating events with old (< unix time) lastoccurence
Closes #20804

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-06-27 11:16:47 +00:00
Simon L 06c99e0256 Merge pull request #39005 from nextcloud/fix/dav/upgrade-catch-sab-sync-errors
fix(dav): Catch SAB sync errors during upgrade
2023-06-27 13:01:39 +02:00
Faraz Samapoor a449bd1a0c Adds same object return annotations.
Based on: https://github.com/nextcloud/server/pull/38987#discussion_r1241866676

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-27 10:45:39 +02:00
Nextcloud bot 4cfab4b838 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-27 00:32:05 +00:00
Simon L 55afc26c98 Merge pull request #39015 from nextcloud/Jerome-Herbinet-qr-code-generation-button
Add "button" class to the QR code link
2023-06-26 20:38:02 +02:00
Côme Chilliet 2d81c04514 Merge pull request #38881 from nextcloud/fix/logcondition-user
Fix user log.condition feature
2023-06-26 17:25:45 +02:00
Côme Chilliet d34662f1a3 Migrate federation application to LoggerInterface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-26 17:20:08 +02:00
Robin Appelman 39a0554c09 Merge pull request #38858 from nextcloud/scanner-performance3
file scanner performance improvements
2023-06-26 17:01:18 +02:00
Jérôme Herbinet e66271a0cd npm run build
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-06-26 14:54:59 +02:00
Jérôme Herbinet a07321f093 Add "button" class to the QR code link
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-06-26 14:48:42 +02:00
Daniel 9751303182 Merge pull request #38679 from nextcloud/feat/add-spec-to-preview-fetched-event
feat: add width, height, crop and mode to BeforePreviewFetchedEvent
2023-06-26 13:53:27 +02:00
Faraz Samapoor e73757b4a5 Refactors lib/private/Security.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-26 15:03:13 +03:30
Christoph Wurst 92c18b252c fix(dav): Catch SAB sync errors during upgrade
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-26 10:52:07 +02:00
Côme Chilliet 783f1b9a2a Merge pull request #38775 from fsamapoor/constructor_property_promotion_in_core_command_part9
Uses PHP8's constructor property promotion in core/Command and /
2023-06-26 10:38:06 +02:00
Simon L f7183c9dcf Merge pull request #38958 from nextcloud/enh/noid/use-getsystemvalue-mailer
use getsystemvalue-functions in Mailer.php
2023-06-26 10:23:29 +02:00
Côme Chilliet 8ed6086a82 Fix user log.condition feature
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-26 10:07:22 +02:00
Nextcloud bot 7d7df35c2e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-26 00:27:54 +00:00
F. E Noel Nfebe 2de859d6c7 Merge pull request #38987 from fsamapoor/refactor_lib_private_mail
Refactors lib/private/Mail.
2023-06-25 18:56:10 +01:00
Simon L 72156d79f9 Merge pull request #38988 from nextcloud/fix/data-apps-slide-toggle
fix: restore AppsSlideToggle feature
2023-06-25 16:16:13 +02:00
John Molakvoæ adff75d559 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-25 15:39:32 +02:00
Ferdinand Thiessen e5245da74a Merge pull request #38665 from nextcloud/fix/weather_status-osm-api
fix(weather_status): Pass address as param to OSM API
2023-06-25 14:14:11 +02:00
John Molakvoæ 31663ac56e Merge pull request #38986 from fsamapoor/refactor_lib_private_contacts 2023-06-25 12:42:18 +02:00
Faraz Samapoor c6ebdca488 Refactors lib/private/Calendar.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-25 13:58:30 +03:30
John Molakvoæ 6abb3ddb05 Merge pull request #38869 from nextcloud/automated/noid/master-fix-npm-audit 2023-06-25 12:20:54 +02:00
Faraz Samapoor dd67635560 Refactors lib/private/Avatar.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-25 13:36:36 +03:30
Faraz Samapoor ba4f998b53 Refactors lib/private/Mail.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-25 13:18:09 +03:30
Faraz Samapoor 9f2487d14b Refactors lib/private/Contacts.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-25 11:56:58 +03:30
nextcloud-command c9f8902b0c chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-06-25 03:30:40 +00:00
Nextcloud bot ec3289d1e3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-25 00:31:30 +00:00
Simon L 3f4b764911 Merge pull request #38844 from nextcloud/enh/add-detected-mime-type-to-exception
feat: add detected mime type to exception
2023-06-25 01:49:25 +02:00
Faraz Samapoor fd0e2f711a Fixes testcase error.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-24 23:14:23 +02:00
Faraz Samapoor faaa8cc4e1 Update core/Command/TwoFactorAuth/Cleanup.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-24 23:14:23 +02:00
Faraz Samapoor 6e33efa543 Update core/Command/TwoFactorAuth/Enable.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-24 23:14:23 +02:00
Faraz Samapoor 34e8887ddb Update core/Command/TwoFactorAuth/Disable.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-24 23:14:23 +02:00
Faraz Samapoor 9bd9c09aae Update core/Command/TwoFactorAuth/State.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-24 23:14:23 +02:00
Faraz Samapoor 116b8c68a6 Update core/Command/TwoFactorAuth/Enforce.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-24 23:14:23 +02:00
Faraz Samapoor cb8850dc8f Update core/Command/Check.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-24 23:14:23 +02:00
Faraz Samapoor 0db0572626 Adds constructor to the Based class.
Based on:
https://github.com/nextcloud/server/pull/38775#discussion_r1227641788

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-24 23:14:23 +02:00
Faraz Samapoor c01129947e Uses PHP8's constructor property promotion.
in core/Command and /TwoFactorAuth classes.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-24 23:14:23 +02:00
Daniel Kesselberg f21cbfff64 feat: add detected mime type to exception
The mimetype may not match the file extension.
Helps the user to find out why a provided image is not accepted.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-24 22:38:57 +02:00
John Molakvoæ 10d563a873 Merge pull request #38852 from nextcloud/enh/noid/move-deprecation-warnings 2023-06-24 17:16:44 +02:00
Simon L 95deec130a address review
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-24 15:00:15 +00:00
Simon L 908adb339b fix one more place
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-24 16:54:11 +02:00
Simon L 872483f279 only print deprecation logs if debug mode is enabled
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-24 16:54:11 +02:00
Simon L 1afc82327a Move deprecation warnings to debug
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-24 16:54:11 +02:00
Nextcloud bot 99cbf778f3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-24 00:26:10 +00:00
Arthur Schiwon 17515995fa Merge pull request #38625 from nextcloud/fix/noid/querysearchehelper-narrow-type
fix: expect interface, not a specific implementation
2023-06-24 00:13:43 +02:00
Faraz Samapoor e98cf3c374 Uses PHP8's constructor property promotion.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-23 23:03:56 +03:30
Faraz Samapoor 04b12d9d27 Uses PHP8's constructor property promotion.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-23 22:50:49 +03:30
Arthur Schiwon 877ddd2827 Merge pull request #38965 from nextcloud/dav-directory-clean-cache-path
dav: clean path before putting it in the statcache
2023-06-23 18:48:56 +02:00
Simon L 1cb81ae625 try to fix tests
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-23 17:12:45 +02:00
Daniel Kesselberg 440f882322 feat: add width, height, crop and mode to BeforePreviewFetchedEvent
user_usage_report keeps a counter for files read.

The app uses

- OC_Filesystem::read hook
- Event listener (the legacy one) for IPreview::EVENT

Request for previews do not trigger the hook, hence the additional event listener.
The thumbnails for a list or grid view should not count, so we need the width and height.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-23 16:27:35 +02:00
John Molakvoæ ff5ed3f298 Merge pull request #38948 from nextcloud/Jerome-Herbinet-collaborative-tags-alignment-change 2023-06-23 16:01:52 +02:00
Robin Appelman 493e151be0 dav: clean path before putting it in the statcache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-23 14:39:17 +02:00
Simon L 76bedb8843 use getsystemvalue-functions in Mailer.php
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-23 11:16:02 +02:00
Jérôme Herbinet d12fbc518d Align collaborative tags differently
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Align collaborative tags differently

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

npm run build

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

Following @skjnldsv suggestion

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-06-23 11:07:49 +02:00
Julius Härtl 05f360c5ec Merge pull request #38800 from nextcloud/bugfix/noid/version-update-or-insert 2023-06-23 10:40:32 +02:00
Joas Schilling 19a0425aeb fix(eventdispatcher): Don't use all evaluating "or"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-23 09:14:34 +02:00
dependabot[bot] 82bb7a8a2a Merge pull request #38951 from nextcloud/dependabot/npm_and_yarn/fast-xml-parser-and-webdav-4.2.5 2023-06-22 21:08:17 +00:00
dependabot[bot] f89a4fcaa8 chore(deps): Bump fast-xml-parser and webdav
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) to 4.2.5 and updates ancestor dependency [webdav](https://github.com/perry-mitchell/webdav-client). These dependencies need to be updated together.

Updates `fast-xml-parser` from 4.2.4 to 4.2.5
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.2.4...v4.2.5)

Updates `webdav` from 5.1.0 to 5.2.1
- [Changelog](https://github.com/perry-mitchell/webdav-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/perry-mitchell/webdav-client/compare/v5.1.0...v5.2.1)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-type: indirect
- dependency-name: webdav
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-22 20:26:31 +00:00
John Molakvoæ 6234b090cd Merge pull request #38939 from nextcloud/feat/f2v/more-actions 2023-06-22 22:08:31 +02:00
Arthur Schiwon 2e81a1d839 Merge pull request #38457 from nextcloud/fix/improve-ldap-offset-search-perf
Use default page size for jumping to desired offset
2023-06-22 21:46:03 +02:00
nextcloud-command cbc0f5e3b1 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-22 17:09:57 +00:00
John Molakvoæ 135929c38c feat: add rename action with tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-22 18:34:55 +02:00
John Molakvoæ 05bfab243a fix(files): action default is false if not set
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-22 18:34:55 +02:00
John Molakvoæ 723edb5654 feat: add favorite action with tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-22 18:34:55 +02:00
Robin Appelman 7fa941e76f Merge pull request #38945 from nextcloud/dav-meta-directory-content
implement optimized getDirectoryContent for DAV
2023-06-22 18:14:24 +02:00
Louis Chemineau 7fec07196d Do not create a new version if previousNode has the same mtime
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-22 17:49:49 +02:00
Robin Appelman 279822c217 implement optimized getDirectoryContent for DAV
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-22 16:34:32 +02:00
Louis cbebc50987 Merge pull request #38771 from fsamapoor/constructor_property_promotion_in_core_command_part7
Uses PHP8's constructor property promotion core/Command/Info, /Integrity, and /Preview
2023-06-22 14:09:06 +02:00
Johannes 199b9788e6 Merge pull request #38856 from nextcloud/fix/contacts/3404/put-location-in-proper-place
fix(sab): put location in proper address field
2023-06-22 11:51:33 +02:00
Marcel Klehr 618c3a4817 Merge pull request #38928 from nextcloud/fix/missing-systemtags-index 2023-06-22 11:21:06 +02:00
John Molakvoæ 1112963385 feat: add edit locally action with tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-22 10:47:08 +02:00
Marcel Klehr e774708482 fix(systemtags): Keep non-existing index
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-06-22 10:12:15 +02:00
Marcel Klehr ee9ad9c9de fix(systemtags): Move index creation from new migration to existing original migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-06-22 09:49:53 +02:00
Joas Schilling a3fe1adb03 Merge pull request #38917 from nextcloud/bugfix/talk-9558/plural-issue-with-some-language-locale-combinations
fix(l10n): Fix plural issue with different locale and language
2023-06-22 09:17:48 +02:00
Joas Schilling e9d8dbf53c Merge pull request #38747 from nextcloud/perf/early-exit-mkcol
perf: skip request without write permission
2023-06-22 09:02:55 +02:00
Nextcloud bot 44850c27a0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-22 00:30:16 +00:00
Pytal 956eece9d4 Merge pull request #38826 from nextcloud/enh/a11y-new-user 2023-06-21 16:13:25 -07:00
Arthur Schiwon 00b396a674 refactor: save unnecessary method_exists
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:35:41 +02:00
Arthur Schiwon a0b683477f fix: use array_unitersect against objects
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:28:02 +02:00
Arthur Schiwon 27f6f86d75 fix: obey offset and limit for results from favs and circles
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:28:01 +02:00
Arthur Schiwon a0f9556f7c 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-06-21 20:28:01 +02:00
Arthur Schiwon 49db546f78 fix: include invisible tags for admins
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:28:01 +02:00
Arthur Schiwon 29f59a54b4 fix: search with more than one search tags
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:28:00 +02:00
Christopher Ng 84ff000767 enh(a11y): New user modal
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-21 11:12:40 -07:00
F. E Noel Nfebe 3a557a88ce Merge pull request #38924 from nextcloud/automated/update-engines/default
chore: update node engines to next LTS
2023-06-21 17:57:12 +01:00
Julius Härtl ea575e342f fix(s3): Pass SSE-C parameters for multipart upload
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-21 18:32:24 +02:00
Arthur Schiwon 221562d45d feat: add searchBySystemTag as PHP API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:09 +02:00
Arthur Schiwon 30028bb9ac fix: no search when LazyFolder was provided
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:09 +02:00
Arthur Schiwon ddb65be58f chore: cleanup unused code
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:09 +02:00
Arthur Schiwon be50bd1b0f fix: ensure searchBySystemTag() is available
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:08 +02:00
Arthur Schiwon 783e32a64d fix: favorites view and universal search against tags
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:08 +02:00
Arthur Schiwon b0d1cf5730 fix: change if with conditionless else to switch; and a parameter value
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:08 +02:00
Arthur Schiwon 58f7fd2370 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-06-21 18:19:08 +02:00
Arthur Schiwon 088a0eea29 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-21 16:53:20 +02:00
Arthur Schiwon 71e41ffeeb refactor: declare getMount() and getMountsIn() at IRootFolder
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 16:53:20 +02:00
Arthur Schiwon f6ac874dbf chore: ugly type juggling
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 16:53:20 +02:00
Arthur Schiwon 167a5f394d fix: add typehine for IRootFolder
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 16:53:19 +02:00
Arthur Schiwon eb50b6c6aa 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-21 16:53:13 +02:00
John Molakvoæ a17d01951f Merge pull request #38927 from nextcloud/bugfix/noid/package.json-editorconfig 2023-06-21 16:41:05 +02:00
Robin Appelman 58a4a222d0 clean failed upload chunks
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-21 15:32:27 +02:00
Marcel Klehr fcf1c3033b fix(systemtags): Add missing systemtags index
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-06-21 15:20:30 +02:00
Joas Schilling 41267873b6 chore: Adjust editorconfig for package.json and package-lock.json
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-21 14:57:48 +02:00
John Molakvoæ f5120fb497 chore: update node engines to next LTS (node 20 / npm 9)
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 12:47:16 +02:00
John Molakvoæ 32bbe3db81 Merge pull request #38806 from nextcloud/feat/f2v/actions-1 2023-06-21 11:36:11 +02:00
Julius Härtl b94145f6bd fix: Add logging statement for cases when updating the version fails
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-21 10:35:12 +02:00
John Molakvoæ a70aa61dff chore: add __tests__ and __mocks__ to file checker and fix updated names
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 10:14:34 +02:00
Louis Chemineau ecdcc72e4d Handle previousNode size === 0 on version creation
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-21 09:56:20 +02:00
John Molakvoæ 89711482c5 chore: update old codecov config
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:27:56 +02:00
John Molakvoæ 45ecd55d89 feat: prepare jest coverage support
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:20:50 +02:00
John Molakvoæ 70ee8de0ab fix(jest): replace mock with jest.spyOn
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:20:50 +02:00
John Molakvoæ 809631539e feat: add open folder action testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:20:50 +02:00
John Molakvoæ 1b0848a7dd feat: add download action testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:20:50 +02:00
John Molakvoæ 9fbdc00274 feat: add delete action testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:08:04 +02:00
John Molakvoæ c31b2329dc feat: add sidebar action testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:08:04 +02:00
John Molakvoæ f8e697ce4d feat: prepare jest upgrade and ts testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:08:04 +02:00
John Molakvoæ 8b5ef98495 fix: delete action import
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:08:04 +02:00
Joas Schilling ab8205fd35 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-21 07:14:56 +02:00
Simon L 5fb7ea22be Merge pull request #38915 from nextcloud/enh/noid/increase-https-warning
adjust admin setup check to increase warning to configure https
2023-06-21 04:41:14 +02:00
Nextcloud bot 5474387209 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-21 00:37:42 +00:00
Simon L d25d5d34f7 adjust admin setup check to increase warning to set up https
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-20 22:54:48 +02:00
Louis 358ce60b10 Merge pull request #38762 from fsamapoor/constructor_property_promotion_in_core_command_part1
Uses PHP8's constructor property promotion in core/Command/Encryption
2023-06-20 18:56:39 +02:00
dartcafe 2211721c2b fixed quotes
Signed-off-by: dartcafe <github@dartcafe.de>
2023-06-20 18:35:10 +02:00
dartcafe ed294f6e43 add type #38909
Signed-off-by: dartcafe <github@dartcafe.de>
2023-06-20 18:35:10 +02:00
Côme Chilliet d1d2542c79 Throw if creation date is read before inserting into database
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: dartcafe <github@dartcafe.de>
2023-06-20 18:35:10 +02:00
Carl Schwan 854836c56a Improve typing in ICommentsManager
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: dartcafe <github@dartcafe.de>
2023-06-20 18:35:10 +02:00
Carl Schwan 8f94fd0102 Cleanup comments code
- Fix various psalm issues
- Add as much typing as possible while preserving stable API

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: dartcafe <github@dartcafe.de>
2023-06-20 18:35:09 +02:00
Louis 6d33356ede Merge pull request #38768 from fsamapoor/constructor_property_promotion_in_core_command_part5
Uses PHP8's constructor property promotion in core/Command/Config and Group
2023-06-20 17:49:32 +02:00
Simon L 56c16b306f Merge pull request #38639 from charno/bugfix/36644-pruneOutdatedSyncTokens-deletes-all-entries
Bugfix/36644 pruneOutdatedSyncTokens deletes all entries
2023-06-20 16:36:28 +02:00
Faraz Samapoor 90035e98c1 Update core/Command/Encryption/DecryptAll.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-20 16:24:46 +02:00
Faraz Samapoor 9c2abae59c Update core/Command/Encryption/EncryptAll.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-20 16:24:46 +02:00
Faraz Samapoor bcfbcbb91c Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-20 16:24:46 +02:00
Faraz Samapoor 2ace19fc54 Fixes php-cs error.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-20 16:24:46 +02:00
Faraz Samapoor f9a9ad50c3 Uses PHP8's constructor property promotion in core/Command/Encryption classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-20 16:24:46 +02:00
Johannes Merkel 3cb8968808 fix(sab): put location in proper address field
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-06-20 16:18:09 +02:00
Côme Chilliet b980722e89 Fix paged search when offset is not a multiple of default page size
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-20 16:13:59 +02:00
Côme Chilliet 14ac281acf Merge pull request #38638 from fsamapoor/constructor_property_promotion_part3
[3/3] Refactors /core controllers using constructor property promotion.
2023-06-20 15:33:53 +02:00
Côme Chilliet 1603cdc8d2 Fix since annotations and add boolean return type for setUserEnabled
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-20 15:10:39 +02:00
Côme Chilliet d9e9d4e123 Merge pull request #35424 from nextcloud/cleanup/comments
Cleanup comments code
2023-06-20 14:50:04 +02:00
Côme Chilliet 7aa97dcc23 Throw if creation date is read before inserting into database
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-20 12:14:57 +02:00
Carl Schwan 77355a8a79 Improve typing in ICommentsManager
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-06-20 10:55:26 +02:00
Carl Schwan 9725d00329 Cleanup comments code
- Fix various psalm issues
- Add as much typing as possible while preserving stable API

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-06-20 10:55:20 +02:00
Faraz Samapoor 4ce7173f7e Update core/Controller/SetupController.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-20 10:38:46 +02:00
Faraz Samapoor 2800436948 Applies agreed-upon indentation convention to the changed controllers.
Based on https://github.com/nextcloud/server/pull/38636#discussion_r1218167753

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-20 10:38:46 +02:00
Faraz Samapoor 9eedeb4012 Refactors controllers by using PHP8's constructor property promotion.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-20 10:38:46 +02:00
Côme Chilliet 5063bf37ed Merge pull request #38774 from fsamapoor/constructor_property_promotion_in_core_command_part8
Uses PHP8's constructor property promotion in core/Command/Log, /Security, and /SystemTag
2023-06-20 10:12:52 +02:00
Faraz Samapoor b590059c26 Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-20 09:30:21 +02:00
Faraz Samapoor c0a5bdea5e Uses PHP8's constructor property promotion.
in core/Command/Info, /Integrity, and /Preview classes.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-20 09:30:21 +02:00
Faraz Samapoor 51aae7866c Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-20 09:29:50 +02:00
Faraz Samapoor 3519689d50 Uses PHP8's constructor property promotion in core/Command/Config and core/Command/Group classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-20 09:29:50 +02:00
Nextcloud bot 64c19ce3aa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-20 00:22:52 +00:00
Simon L 892a837ecb Merge pull request #38888 from nextcloud/artonge/fix/dont_disable_action_during_save
Don't disable actions when saving share permissions
2023-06-20 00:32:54 +02:00
Julius Härtl bec4f76e6b Merge pull request #38890 from nextcloud/obj-store-copy-list-source-cache 2023-06-19 22:40:55 +02:00
Lorenzo Tanganelli cc239f5059 add getDocBaseUrl that exted default
Signed-off-by: Lorenzo Tanganelli <lorenzo.tanganelli@hotmail.it>
2023-06-19 20:18:10 +00:00
Louis d9bf410762 Merge pull request #38769 from fsamapoor/constructor_property_promotion_in_core_command_part6
Uses PHP8's constructor property promotion core/Command/App,/Background, and /Broadcast
2023-06-19 21:09:24 +02:00
Simon L f8cf61addf Merge pull request #38876 from Freiheitswolke/style/config/alphabetise-preview-providers
style(config): alphabetise preview providers
2023-06-19 20:24:02 +02:00
Faraz Samapoor f63c52a396 Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 17:44:48 +02:00
Faraz Samapoor d83944fd10 Uses PHP8's constructor property promotion.
in core/Command/Log, /Security, and /SystemTag classes.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 17:44:48 +02:00
Louis 81bb3362b2 Merge pull request #38767 from fsamapoor/constructor_property_promotion_in_core_command_part4
Uses PHP8's constructor property promotion in core/Command/Maintenance
2023-06-19 17:43:12 +02:00
Louis 98ea74bb40 Merge pull request #38764 from fsamapoor/constructor_property_promotion_in_core_command_part2
Uses PHP8's constructor property promotion in core/Command/Db classes.
2023-06-19 17:27:10 +02:00
Louis c24e05f9c0 Merge pull request #38766 from fsamapoor/constructor_property_promotion_in_core_command_part3
Uses PHP8's constructor property promotion in core/Command/User classes.
2023-06-19 17:09:08 +02:00
Robin Appelman de85610385 use source cache when listing folder during recursive copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-19 16:40:15 +02:00
Daniel Kesselberg debd03f30d perf: skip request without write permission
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-19 13:42:13 +00:00
Louis 4bfd7ee9eb Merge pull request #38865 from nextcloud/dependabot/npm_and_yarn/nextcloud/files-3.0.0-beta.10
bump @nextcloud/files from 3.0.0-beta.9 to 3.0.0-beta.10
2023-06-19 14:09:01 +02:00
Julien Veyssier 247c874b51 Merge pull request #38773 from nextcloud/fix/noid/protect-oauth2-api-controller
Add bruteforce protection in OauthApiController
2023-06-19 13:46:18 +02:00
Joda Stößer a4a7971f11 style(config): alphabetise preview providers
Signed-off-by: Joda Stößer <git@simjo.st>
2023-06-19 13:32:03 +02:00
Faraz Samapoor cda0f74e0b Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 12:55:27 +02:00
Faraz Samapoor ea844ca5fb Uses PHP8's constructor property promotion.
in core/Command/App, /Background, and /Broadcast classes.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 12:55:27 +02:00
Faraz Samapoor d60bedfeee Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 12:55:22 +02:00
Faraz Samapoor ec63264153 Uses PHP8's constructor property promotion in core/Command/Maintenance classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 12:55:22 +02:00
Faraz Samapoor 1e8ec53b8c Update core/Command/Db/ConvertType.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-19 12:55:15 +02:00
Faraz Samapoor 73d7c45ae1 Update core/Command/Db/ConvertFilecacheBigInt.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-19 12:55:15 +02:00
Faraz Samapoor d34cafc58c Update core/Command/Db/Migrations/MigrateCommand.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-19 12:55:15 +02:00
Faraz Samapoor f1a19a10fc Update core/Command/Db/Migrations/StatusCommand.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-19 12:55:15 +02:00
Faraz Samapoor b5cbba7fc1 Uses PHP8's constructor property promotion in core/Command/Db classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 12:55:15 +02:00
Faraz Samapoor 9dc4efc52a Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 12:55:10 +02:00
Faraz Samapoor 99f117146d Uses PHP8's constructor property promotion in core/Command/User classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-19 12:55:10 +02:00
Louis ceee417d2c Merge pull request #38637 from fsamapoor/constructor_property_promotion_part2
[2/3] Refactors /core controllers using constructor property promotion.
2023-06-19 12:22:07 +02:00
dependabot[bot] f3f9e76684 bump @nextcloud/files from 3.0.0-beta.9 to 3.0.0-beta.10
---
updated-dependencies:
- dependency-name: "@nextcloud/files"
  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-06-19 10:20:57 +00:00
Louis Chemineau fbde8f91b6 Don't disable actions when saving share permissions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-19 12:13:19 +02:00
Simon L b33cbecb47 Merge pull request #38868 from nextcloud/enh/noid/fix-mail-confusion
fix confusion around mail settings and improve layout a bit
2023-06-19 11:35:19 +02:00
Kate 885dc63737 Merge pull request #38878 from nextcloud/cleanup/controller-service-aliases
Cleanup controller service aliases
2023-06-19 11:20:02 +02:00
Julien Veyssier 629adc318f add bruteforce protection in OauthApiController
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-19 11:18:06 +02:00
Hephi2 59f63a72cb Merge pull request #38776 from nextcloud/fix/app-menu-do-not-invert-text
fix(core): Do not invert app menu text color
2023-06-19 11:09:06 +02:00
Jonas 0397e9de44 Compile JS assets
Signed-off-by: Jonas <jonas@freesources.org>
2023-06-19 09:52:14 +02:00
Ferdinand Thiessen 7f861980a3 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-19 09:49:36 +02:00
jld3103 efb7448cd2 workflowengine: Stop using a service alias for controller
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-19 09:43:44 +02:00
jld3103 4cd07d79a7 comments: Stop using a service alias for controller
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-19 08:12:25 +02:00
Nextcloud bot 7250b98791 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-19 00:18:02 +00:00
Nextcloud bot 79aca5520e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-18 00:17:49 +00:00
Simon L 7918bb14c8 fix confusion around mail settings
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-17 18:26:34 +02:00
Nextcloud bot bd3f3afcf7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-17 00:17:53 +00:00
Faraz Samapoor d64aa85b04 Applies agreed-upon indentation convention to the changed controllers.
Based on https://github.com/nextcloud/server/pull/38636#discussion_r1218167753

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-16 19:29:40 +02:00
Faraz Samapoor 73b7096850 Fixes psalm error.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-16 19:29:40 +02:00
Faraz Samapoor 468aefc649 Fixes php-cs-fixer error.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-16 19:29:40 +02:00
Faraz Samapoor 4bf610ebaf Refactors controllers by using PHP8's constructor property promotion.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-16 19:29:40 +02:00
Robin Appelman d820ab2ca8 Merge pull request #38843 from nextcloud/message-log-event-type
fix type in BeforeMessageLoggedEvent
2023-06-16 17:57:24 +02:00
Robin Appelman 292c0e53f8 add summary of detected changes to files:scan output
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-16 17:56:34 +02:00
Robin Appelman 561536fc58 file scanner performance improvements
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-16 16:31:48 +02:00
Simon L b288d27c51 Merge pull request #38823 from nextcloud/enh/noid/fix-icons
generate user themed favicon and touchicon
2023-06-16 13:05:45 +02:00
Louis 7afcc44827 Merge pull request #38793 from Jenandra/fix-subadminsgroups-css-name
align subadmins css class name
2023-06-16 10:09:05 +02:00
Nextcloud bot f815190afa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-16 00:18:00 +00:00
Simon L 734b8c26db generate user themed favicon and touchicon
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 00:24:27 +02:00
Andy Scherzinger b7ee7e745a Merge pull request #38841 from nextcloud/fix/code-ownders-vitor
fix: Removed invalid user from CODEOWNERS file
2023-06-16 00:06:54 +02:00
Robin Appelman 53443e836f fix type in BeforeMessageLoggedEvent
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-15 17:29:11 +02:00
Christoph Wurst 1cc45d4a00 fix: Removed invalid user from CODEOWNERS file
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-15 16:33:58 +02:00
Kate 6cb75e8bf5 Merge pull request #38830 from nextcloud/fix/files-api-route-names
Fix files API route names
2023-06-15 16:18:59 +02:00
Côme Chilliet 645d9a93f7 Merge pull request #38827 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-06-15 16:11:47 +02:00
Silke Suck 1442cfbfe9 duplicate css for subadmins to allow for both class names being used
Signed-off-by: Silke Suck <silke.suck@adacor.com>
2023-06-15 15:39:42 +02:00
Silke Suck 04b0f2450f align subadmins css class name with actually used class name subAdminsGroups to fix display issue when users are in many groups
Signed-off-by: Silke Suck <silke.suck@adacor.com>
2023-06-15 15:39:42 +02:00
jld3103 bf32430891 Fix files API route names
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-15 10:21:35 +02:00
nextcloud-command fe8d29236f Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-06-15 02:40:26 +00:00
Nextcloud bot b961171b60 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-15 00:18:00 +00:00
Julien Veyssier 8c7e2cd567 Merge pull request #38770 from nextcloud/fix/38398/oauth-encrypted-secret-length
Make oauth2 client secret column larger
2023-06-14 17:21:51 +02:00
Julien Veyssier 578bf8cc0b add extra migration that sets the secret column length in case the previous step has run when it was setting it to 256
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-14 17:21:38 +02:00
Julien Veyssier 24e517c5b3 make oauth2 client secret column larger
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-14 17:21:38 +02:00
Julien Veyssier 8086d7e41b add test that inserts a long oauth client secret
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-14 17:21:38 +02:00
Kate bfeb741bb3 Merge pull request #36214 from nextcloud/techdebt/noid/define-parameters-of-federated-file-sharing
Specify the parameters of FederatedFileSharing controllers
2023-06-14 16:00:55 +02:00
Simon L b8c3f6bd2d Merge pull request #38742 from nextcloud/automated/noid/master-fix-npm-audit
[master] Fix npm audit
2023-06-14 15:26:43 +02:00
Joas Schilling bf4c5bd556 Specify the parameters of FederatedFileSharing controllers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-14 14:54:44 +02:00
nextcloud-command 3ab1b05895 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-06-14 12:16:26 +00:00
Simon L e4927cd915 Merge pull request #38804 from nextcloud/fix/38798/show-button-only-one-time
make sure to show download button only one time
2023-06-14 13:40:01 +02:00
Robin Appelman e6959bd5ec Merge pull request #38490 from nextcloud/log-dispatch-event
emit an event when a message is logged
2023-06-14 13:17:42 +02:00
Simon L 7d851fb3e2 Merge pull request #38803 from nextcloud/deps/nc
Bump @nextcloud/auth @nextcloud/axios @nextcloud/calendar-availability-vue @nextcloud/dialogs @nextcloud/files and @nextcloud/router
2023-06-14 11:42:09 +02:00
Simon L 315c7d3646 make sure to show download button only one time
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-14 11:39:49 +02:00
John Molakvoæ eff14a2382 Bump @nextcloud/auth @nextcloud/axios @nextcloud/calendar-availability-vue @nextcloud/dialogs @nextcloud/files and @nextcloud/router
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-14 10:47:19 +02:00
Nextcloud bot c12a64fa52 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-14 00:17:56 +00:00
Julius Härtl e76c96be5c fix: Avoid failing to update the current version entry if there is none
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-13 22:10:13 +02:00
Louis 69f6585e36 Merge pull request #38794 from bensmrs/master
Enable version features again with S3 versioning
2023-06-13 21:45:23 +02:00
Robin Appelman d9fa7b1e28 emit an event when a message is logged
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-13 18:45:48 +02:00
Benjamin Somers 75e04614c1 Enable version features again with S3 versioning
Signed-off-by: Benjamin Somers <bsomers@resel.fr>
2023-06-13 15:06:36 +02:00
Daniel Kesselberg aedb4bef1e chore: don't copy additional configuration files to integration test container
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-13 14:25:43 +02:00
Kate 38d64f45be Merge pull request #38745 from nextcloud/feature/ocs-xml-stdclass
Allow stdClass in XML responses
2023-06-13 13:30:55 +02:00
Christoph Wurst 3f766e90af Merge pull request #38777 from nextcloud/fix/carddav/system-address-book-nullable-groupmanager
fix(carddav): Make SystemAddressBook::__construct $groupManager argument nullable
2023-06-13 12:40:06 +02:00
Simon L 4b3c552508 Merge pull request #38292 from dfuchss/feature/configurabe_timeout
Add config variable for curl timeout
2023-06-13 12:18:08 +02:00
jld3103 7f4651637a Allow stdClass in XML responses
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-13 11:44:47 +02:00
Dominik Fuchß e3f6a13e14 Fix deprecated method call
Signed-off-by: Dominik Fuchß <develop@fuchss.org>
2023-06-13 10:31:33 +02:00
Dominik Fuchß a4a57409db Changes after code review.
Signed-off-by: Dominik Fuchß <develop@fuchss.org>
2023-06-13 10:31:33 +02:00
Dominik Fuchß c3ba871f36 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-13 10:31:33 +02:00
John Molakvoæ 39b716cc78 Merge pull request #38781 from nextcloud/ci/noid/pin-setup-php 2023-06-13 09:29:56 +02:00
John Molakvoæ 46c1d97ccb Merge pull request #38787 from nextcloud/dependabot/github_actions/actions/setup-node-3 2023-06-13 09:18:05 +02:00
John Molakvoæ da7b4079ee Merge pull request #38786 from nextcloud/dependabot/github_actions/peter-evans/create-or-update-comment-3 2023-06-13 09:17:37 +02:00
John Molakvoæ 14ae779d62 Merge pull request #38788 from nextcloud/dependabot/github_actions/actions/upload-artifact-3 2023-06-13 09:17:27 +02:00
John Molakvoæ 042003ac3d Merge pull request #38785 from nextcloud/dependabot/github_actions/skjnldsv/read-package-engines-version-actions-2.2
chore(deps): Bump skjnldsv/read-package-engines-version-actions from 1.1 to 2.2
2023-06-13 09:16:22 +02:00
Nextcloud bot ee45b13327 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-13 00:18:06 +00:00
dependabot[bot] 89eecf93f7 chore(deps): Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...0b7f8abb1508181956e8e162db84b466c27e18ce)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 22:12:48 +00:00
dependabot[bot] 30639c9276 chore(deps): Bump actions/setup-node from 2 to 3
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 22:12:45 +00:00
dependabot[bot] acf0f16491 chore(deps): Bump peter-evans/create-or-update-comment from 2 to 3
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 2 to 3.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/v2...c6c9a1a66007646a28c153e2a8580a5bad27bcfa)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 22:12:42 +00:00
dependabot[bot] 874d7917db chore(deps): Bump skjnldsv/read-package-engines-version-actions
Bumps [skjnldsv/read-package-engines-version-actions](https://github.com/skjnldsv/read-package-engines-version-actions) from 1.1 to 2.2.
- [Release notes](https://github.com/skjnldsv/read-package-engines-version-actions/releases)
- [Commits](https://github.com/skjnldsv/read-package-engines-version-actions/compare/v1.1...8205673bab74a63eb9b8093402fd9e0e018663a1)

---
updated-dependencies:
- dependency-name: skjnldsv/read-package-engines-version-actions
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 22:12:36 +00:00
Simon L 7903b42d71 Merge pull request #38737 from kurtmckee/add-dependabot-for-actions
Add a Dependabot configuration to autoupdate GitHub action versions
2023-06-13 00:05:57 +02:00
Arthur Schiwon 8d8c8654cf ci: pin setup-php to avoid a regression
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-12 23:55:02 +02:00
Christoph Wurst 62c41967e8 fix(carddav): Make SystemAddressBook::__construct $groupManager argument nullable
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-12 18:44:25 +02:00
Faraz Samapoor 8778f2912f Merge branch 'master' into replace_strpos_calls_in_settings_app
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-12 16:52:06 +03:30
Simon L 63bf207ca7 Merge pull request #38642 from nextcloud/chore/appframework/drop-emptycontentsecuritypolicy-allowinlinescript
chore(appframework)!: Drop \OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowInlineScript
2023-06-12 14:20:11 +02:00
Simon L 83faba5e61 Merge pull request #38591 from nextcloud/fix/caching/avoid-haskey-get
fix(caching): Avoid checking existence before fetching
2023-06-12 13:53:37 +02:00
Simon L e390a3569e Merge pull request #38735 from nextcloud/enh/noid/update-disabled-updater-wording
allow to specify upgrade.cli-upgrade-link in order to link to the correct documentation
2023-06-12 12:58:59 +02:00
Simon L 0d18929b3d Merge pull request #38636 from fsamapoor/constructor_property_promotion_part1
[1/3] Refactors /core controllers using constructor property promotion.
2023-06-12 11:18:42 +02:00
Christof Arnosti 73fb2997f4 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-12 08:35:35 +00:00
Christoph Wurst 08a3f37695 chore(appframework)!: Drop \OCP\AppFramework\Http\EmptyContentSecurityPolicy::allowInlineScript
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-12 10:03:59 +02:00
Simon L 1001adc390 Merge pull request #38725 from nextcloud/dropMetaRobots
Drop meta robots header
2023-06-12 09:47:24 +02:00
Simon L ac57cf9f6b Merge pull request #38619 from fsamapoor/replace_strpos_calls_in_files_external_app
Refactors "strpos" calls in /apps/files_external
2023-06-12 09:46:43 +02:00
Faraz Samapoor 8c64ccae01 Fixes "PossiblyNullArgument" Psalm warnings.
Co-authored-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-12 09:46:07 +02:00
Faraz Samapoor 0bae21b1d1 Refactors "strpos" calls in /apps/dav to improve code readability.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-12 09:46:07 +02:00
Faraz Samapoor 7e33e59730 Refactors "strpos" calls in /apps/comments to improve code readability.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-12 09:45:12 +02:00
Christoph Wurst b8c61b3515 fix(caching): Avoid checking existence before fetching
The cache might expire between checking for key existence and fetching
the value. In this rare case the code continues with a null value when
it doesn't expect one.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-12 09:44:48 +02:00
Simon L c93be182dc Merge pull request #38543 from fsamapoor/use_null_coalescing_operator
Uses "Null Coalescing Operator" to improve code readability.
2023-06-12 09:42:43 +02:00
Nextcloud bot a85831a597 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-12 00:17:56 +00:00
Louis 38aaab3fbf Merge pull request #38734 from nextcloud/dependabot/npm_and_yarn/nextcloud/event-bus-3.1.0
chore(deps): Bump @nextcloud/event-bus from 3.0.2 to 3.1.0
2023-06-11 10:41:05 +02:00
dependabot[bot] d4bebc5d29 chore(deps): Bump @nextcloud/event-bus from 3.0.2 to 3.1.0
Bumps [@nextcloud/event-bus](https://github.com/nextcloud/nextcloud-event-bus) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/nextcloud/nextcloud-event-bus/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-event-bus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-event-bus/compare/v3.0.2...v3.1.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/event-bus"
  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-06-11 08:04:17 +00:00
Nextcloud bot 2259eedf76 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-11 00:34:31 +00:00
Kurt McKee 0164dd0269 Add a Dependabot configuration to autoupdate GitHub action versions
Signed-off-by: Kurt McKee <contactme@kurtmckee.org>
2023-06-10 15:03:58 -05:00
Simon L 918859cafd 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-10 10:05:36 +02:00
dependabot[bot] 99e1014ff1 Merge pull request #38733 from nextcloud/dependabot/composer/build/integration/dms/phpunit-arraysubset-asserts-0.5.0 2023-06-10 05:47:13 +00:00
dependabot[bot] e2c13eae76 chore(deps-dev): Bump dms/phpunit-arraysubset-asserts
Bumps [dms/phpunit-arraysubset-asserts](https://github.com/rdohms/phpunit-arraysubset-asserts) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/rdohms/phpunit-arraysubset-asserts/releases)
- [Commits](https://github.com/rdohms/phpunit-arraysubset-asserts/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: dms/phpunit-arraysubset-asserts
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-10 03:39:24 +00:00
Nextcloud bot 689936020d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-10 00:17:36 +00:00
Robin Appelman 3ef5090084 Merge pull request #38226 from nextcloud/file-object-utils
add utility command for object store objects
2023-06-09 20:53:29 +02:00
Robin Appelman ea88ec1350 add utility command for object store objects
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-09 18:08:18 +02:00
Git'Fellow 5b5895a130 Drop meta robots tag
Revert mistake

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-06-09 18:06:37 +02:00
Julius Härtl 095b43f396 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-06-09 17:30:24 +02:00
Julius Härtl 76d4487f63 Merge pull request #38645 from nextcloud/enh/noid/link-ref-provider-local-image-uri 2023-06-09 17:16:51 +02:00
Julien Veyssier 3621a6b4ec avoid requests to opengraph image if no host detected
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-09 10:37:58 +02:00
John Molakvoæ a719b433a1 Merge pull request #38703 from nextcloud/fix/trashbin-types-for-32bits 2023-06-09 08:33:53 +02:00
Pytal 02a671ffb0 Merge pull request #38715 from nextcloud/deps/nextcloud/vue-7.12.0 2023-06-08 17:20:16 -07:00
Christopher Ng 21382099d0 chore(deps): Bump @nextcloud/vue from 7.11.6 to 7.12.0
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-08 10:17:40 -07:00
Simon L ca9d6db652 Merge pull request #38710 from nextcloud/enh/noid/fix-issue-template
fix wrong link in issue template
2023-06-08 16:34:46 +02:00
Côme Chilliet c4281fe135 Correctly react to bad configuration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-08 14:52:30 +02:00
Simon L 8e34153145 fix false link in issue template
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-08 14:45:46 +02:00
Daniel faf0e634db Merge pull request #38701 from nextcloud/fix/noid/oauth2-tests
Fix oauth2 tests
2023-06-08 14:10:43 +02:00
John Molakvoæ 12be9c5aa2 Merge pull request #38700 from nextcloud/bugRepoFix 2023-06-08 13:38:46 +02:00
Côme Chilliet b234b9637e 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-08 13:07:57 +02:00
Julien Veyssier 808819a4d0 fix oauth2 tests
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-08 13:02:40 +02:00
Louis 9ebeb5e736 Merge pull request #38695 from nextcloud/dependabot/npm_and_yarn/css-loader-6.8.1
chore(deps-dev): Bump css-loader from 6.7.3 to 6.8.1
2023-06-08 12:09:04 +02:00
dependabot[bot] ab3fed84cc Merge pull request #38696 from nextcloud/dependabot/npm_and_yarn/tslib-2.5.3 2023-06-08 10:08:17 +00:00
Git'Fellow 0b8865071d Remove 32bit question
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-06-08 11:36:49 +02:00
Git'Fellow b12dc65392 v25 supports php7.4
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-06-08 11:34:44 +02:00
Git'Fellow 811f313aa3 Add links
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-06-08 11:33:59 +02:00
Git'Fellow afadf779b1 Update bug report issue template
- Remove v24 / add v27 (already at RC state, so `master` will be v28)
- Add PHP 8.2, remove 7.3/7.4
- Some minor adds/fixes

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-06-08 11:28:36 +02:00
Simon L d682d5752f Merge pull request #38694 from nextcloud/fix/cypress-context
fix(actions): cypress
2023-06-08 09:59:29 +02:00
dependabot[bot] d889c8629d chore(deps-dev): Bump tslib from 2.5.0 to 2.5.3
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.5.0 to 2.5.3.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.5.0...v2.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 07:52:24 +00:00
dependabot[bot] 889b0c357b chore(deps-dev): Bump css-loader from 6.7.3 to 6.8.1
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.7.3 to 6.8.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v6.7.3...v6.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 07:52:10 +00:00
John Molakvoæ 7cb6a3df33 fix(actions): cypress
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-08 08:45:09 +02:00
Nextcloud bot df2727ae44 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-08 00:18:55 +00:00
Ferdinand Thiessen e140d2b832 Merge pull request #38664 from nextcloud/fix/a11y-favorites-weather_status
fix(weather_status): Always show all favorite locations
2023-06-07 21:13:10 +02:00
Daniel 42a1e82680 Merge pull request #38688 from nextcloud/fix/serve-mjs-as-static-file
fix(apache): Serve `mjs` (module javascript) as static files
2023-06-07 18:41:03 +02:00
Ferdinand Thiessen bab7cc9853 fix(weather_status): Always show all favorite locations
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-07 17:47:49 +02:00
Ferdinand Thiessen e532419b15 fix(apache): Serve mjs (module javascript) as static files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-07 15:19:44 +02:00
Julien Veyssier 5bf1fc6535 Merge pull request #38398 from nextcloud/fix/noid/oauth2-encrypt-client-secret
Store encrypted OAuth2 client secrets
2023-06-07 12:40:15 +02:00
Julien Veyssier 18c742a901 encrypt oauth2 client secrets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-07 11:36:08 +02:00
Nextcloud bot 67f1533915 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-07 00:17:55 +00:00
Pytal 80a3507360 Merge pull request #38662 from nextcloud/Jerome-Herbinet-disable-bg-color-on-group-header-line-1 2023-06-06 15:52:55 -07:00
Pytal 5a6fb358db Merge pull request #38655 from nextcloud/fix/loading-system-tags 2023-06-06 12:22:14 -07:00
Christopher Ng 5acbe6fd80 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-06-06 11:01:46 -07:00
Christopher Ng bf10f3c9d1 Reset show tags on close
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-06 10:59:17 -07:00
Pytal 3ef53a2324 Merge pull request #38211 from nextcloud/enh/a11y-ryg-color 2023-06-06 10:30:00 -07:00
Christopher Ng 27f9154594 enh(theming): Info contrast
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-06 08:47:57 -07:00
Christopher Ng 187ff83584 enh(theming): Success contrast
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-06 08:47:57 -07:00
Christopher Ng fe098ff6fb enh(theming): Warning contrast
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-06 08:47:56 -07:00
Christopher Ng 27ebaea10c enh(theming): Error contrast
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-06 08:47:56 -07:00
Daniel fd7d0e2fd2 Merge pull request #38631 from nextcloud/theming-set-background-color-via-occ
feat: set background = backgroundColor via occ
2023-06-06 15:55:31 +02:00
Julien Veyssier b05c5e7262 Merge pull request #38577 from nextcloud/enh/noid/improve-oauth-migration-from-oc
Improve oauth2 database migration from ownCloud
2023-06-06 15:34:10 +02:00
Christoph Wurst 4d8c963972 Merge pull request #38648 from nextcloud/fix/caldav/reminder-index-int-id-cast
fix(caldav): Cast calendar objects id to int when building index
2023-06-06 15:33:16 +02:00
Julien Veyssier 633e9513e2 shorten oauth2 client names before resizing the column
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-06 15:27:46 +02:00
Julien Veyssier b2a75fcbfb drop the oauth2_clients trusted column, delete unsupported clients and their access tokens
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-06 15:27:46 +02:00
Christoph Wurst f96afcf85e Merge pull request #38590 from nextcloud/chore/sass-no-external-apps
chore: Do not sass-compile external apps
2023-06-06 14:56:28 +02:00
Ferdinand Thiessen 9ed4040d73 Merge pull request #38370 from nextcloud/fix/a11y-files-favorite
Adjust files favorite marker to fulfill A11Y contrast requirements
2023-06-06 14:19:27 +02:00
Christoph Wurst 8673d035f5 Merge pull request #38652 from nextcloud/chore/dead-private-methods
chore: Drop dead private methods in /lib
2023-06-06 14:17:20 +02:00
Ferdinand Thiessen 0519bc0726 fix(weather_status): Pass address as param
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-06 12:44:34 +02:00
Ferdinand Thiessen 35da64a51c fix(files): Add border around favorite marker to ensure contrast requirements are met
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-06 11:29:43 +02:00
Ferdinand Thiessen f57cf4706e fix: Adjust color of icon-starred-yellow to fulfill A11Y contrast requirements
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-06 11:29:43 +02:00
Christoph Wurst 872c181c74 chore: Drop dead private methods in /lib
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-06 11:01:58 +02:00
Ferdinand Thiessen d80277c340 Merge pull request #38519 from nextcloud/fix/36967-increase-contrast-of-inactive-elements
Fix contrast for inactive elements of the main navigation
2023-06-06 10:46:45 +02:00
Jérôme Herbinet fb945bc53c npm run sass
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-06-06 10:04:48 +02:00
Jérôme Herbinet 2264483e1c Disable background color on group-header line (on hover, focus, active)
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-06-06 10:00:57 +02:00
Christoph Wurst a213650b71 fix(caldav): Cast calendar objects id to int when building index
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-06 09:45:39 +02:00
Richard Steinmetz fec2cc69f4 Merge pull request #38649 from nextcloud/fix/caldav/close-reminder-index-job-cursor
fix(caldav): Close DB cursor in reminder index background job
2023-06-06 08:57:59 +02:00
Julius Härtl 3846ec2899 Merge pull request #38322 from nextcloud/bugfix/noid/throw-early-app-container 2023-06-06 08:41:08 +02:00
Andy Scherzinger 958096aed4 Merge pull request #38656 from nextcloud/fix/openapi-core-paths
Fix OpenAPI core paths
2023-06-06 06:44:54 +02:00
jld3103 1d32dc8f1a Fix OpenAPI core paths
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-06 06:28:48 +02:00
Nextcloud bot 8b2ec1ec55 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-06 00:17:40 +00:00
Simon L 702196dd86 Merge pull request #38478 from nextcloud/backport/38440/master
[master] fix: Catch Deadlock properly as execute throws Doctrine exceptions not our wrapped ones
2023-06-05 23:22:40 +02:00
Christof Arnosti 5ad24991d7 Issue #36644: Test cases
Signed-off-by: Christof Arnosti <charno@charno.ch>
2023-06-05 20:40:34 +02:00
Daniel a6a40f823c Merge pull request #38635 from nextcloud/remove-check-openssl-version
feat: remove check for OpenSSL 1.0.1d and 1.0.2b
2023-06-05 20:01:32 +02:00
Christoph Wurst 6f3f84e955 fix(caldav): Close DB cursor in reminder index background job
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-05 18:47:24 +02:00
Arthur Schiwon ffa30ce89b Merge pull request #38524 from nextcloud/chore/app/clear-unused-cache-key
chore(app): Do not clear unused cache key
2023-06-05 17:48:44 +02:00
Faraz Samapoor fc0e2a938f Applies agreed-upon indentation convention to the changed controllers.
Based on https://github.com/nextcloud/server/pull/38636#discussion_r1218167753

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-05 18:35:32 +03:30
Faraz Samapoor 25cdc35473 Update core/Controller/AppPasswordController.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-05 18:26:27 +03:30
Faraz Samapoor 05784c3244 Update core/Controller/CollaborationResourcesController.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-05 16:45:21 +03:30
Faraz Samapoor 2713ab023f Update core/Controller/AppPasswordController.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-05 16:45:01 +03:30
Faraz Samapoor 94f2f57519 Update apps/files_external/lib/Lib/Storage/SMB.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-05 16:21:14 +03:30
julia.kirschenheuter 1d6121be4d Fix contrast for inactive elements of the main navigation
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-06-05 14:46:48 +02:00
Côme Chilliet 2e111e862f Merge pull request #38611 from fsamapoor/replace_strpos_calls_in_theming_app
Refactors "strpos" calls in /apps/theming
2023-06-05 14:41:04 +02:00
Faraz Samapoor ff0b3feb2e Refactors "strpos" calls in /apps/settings to improve code readability.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-05 14:39:40 +02:00
Côme Chilliet 91686e014e Merge pull request #38260 from fsamapoor/replace_strpos_calls_in_lib_public
Refactors "strpos" calls in  lib/public to improve code readability.
2023-06-05 14:37:28 +02:00
Louis fbf9ac0cd5 Merge pull request #38627 from nextcloud/dependabot/npm_and_yarn/marked-5.0.4
bump marked from 4.3.0 to 5.0.4
2023-06-05 14:00:49 +02:00
dependabot[bot] ef4226a038 bump marked from 4.3.0 to 5.0.4
---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-05 12:08:38 +02:00
Côme Chilliet dea2f7dd42 Merge pull request #38620 from fsamapoor/replace_strpos_calls_in_files_sharing_app
Refactors "strpos" calls in /apps/files_sharing
2023-06-05 11:19:46 +02:00
Faraz Samapoor bf38c0a3d1 Refactors "strpos" calls in lib/public to improve code readability.
Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com>
2023-06-05 11:14:52 +02:00
Côme Chilliet 6a8c25f64e Merge pull request #38608 from fsamapoor/replace_strcalls_in_user_ldap_app
Refactors "strpos" calls in /apps/user_ldap
2023-06-05 11:01:03 +02:00
Andy Scherzinger e46444648a Merge pull request #38640 from nextcloud/fix/openapi-ocs-wrap
openapi: Fix wrapping OCS responses that are not DataResponse
2023-06-05 08:59:39 +02:00
jld3103 c435722236 openapi: Fix wrapping OCS responses that are not DataResponse
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-05 08:30:12 +02:00
Nextcloud bot 7fd9b62fe3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-05 00:17:29 +00:00
Faraz Samapoor 450bf5c99e Refactors controllers by using PHP8's constructor property promotion.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-04 23:20:35 +03:30
Daniel Kesselberg 5a23b429dd feat: remove check for OpenSSL 1.0.1d and 1.0.2b
OpenSSL 1.0.1d: 2013-02-05
OpenSSL 1.0.2b: 2015-06-11

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-04 18:44:47 +02:00
F. E Noel Nfebe cf75c2eaae Merge pull request #38602 from fsamapoor/replace_strpos_calls_in_core
Refactors "strpos" calls in /core to improve code readability.
2023-06-04 17:11:51 +01:00
Nextcloud bot 0357e58e3e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-04 00:17:36 +00:00
Robin Appelman f5932eb144 Merge pull request #38386 from nextcloud/dept-use-di-for-event-source
refactor: migrate OC_EventSource to dependency injection
2023-06-03 22:17:34 +02:00
Daniel Kesselberg a2afc7b6a9 refactor: migrate OC_EventSource to dependency injection
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-03 21:42:51 +02:00
Daniel Kesselberg 8759e307f2 feat: set background = backgroundColor via occ
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-03 16:07:36 +02:00
Simon L 2fd7febffd Merge pull request #38497 from nextcloud/automated/noid/master-fix-npm-audit
[master] Fix npm audit
2023-06-03 13:01:32 +02:00
Nextcloud bot d8f3387735 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-03 00:17:50 +00:00
Faraz Samapoor 12e3594299 Refactors "strpos" calls in /apps/files_sharing to improve code readability.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-02 20:08:40 +03:30
Faraz Samapoor cfb921b26c Refactors "strpos" calls in /apps/files_external to improve code readability.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-02 19:54:49 +03:30
Daniel 2188505837 Merge pull request #38595 from nextcloud/remove-suhosin-check
chore: remove check for suhosin.executor.func.blacklist
2023-06-02 18:00:44 +02:00
nextcloud-command 438d86eaec chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-06-02 15:25:04 +00:00
Daniel Kesselberg 3d3c49774f chore: remove check for suhosin.executor.func.blacklist
Suhosin is/was a PHP extension.
The last release was 2015-05-21.
Suhosin does not support PHP 8.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-02 15:47:26 +02:00
Faraz Samapoor 437631a334 Refactors "strpos" calls in /apps/theming to improve code readability.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-02 15:43:47 +03:30
Faraz Samapoor b0938b9083 Refactors "strpos" calls in /apps/user_ldap to improve code readability.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-02 15:26:55 +03:30
Faraz Samapoor a1ef0285f8 Refactors "strpos" calls in /core to improve code readability.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-02 13:13:19 +03:30
Christoph Wurst 09c5f997c6 Merge pull request #38593 from nextcloud/chore/ocp/drop-util-linktopublic
chore(ocp)!: Drop \OCP\Util::linkToPublic
2023-06-02 10:23:37 +02:00
Joas Schilling fa4f476f01 Merge pull request #38545 from nextcloud/bugfix/noid/symfony/event-dispatcher-upgrade-preparation
fix(dispatcher): Migrate to OCP event dispatcher before symfony/event…
2023-06-02 09:50:58 +02:00
Christoph Wurst c0263b91d4 Merge pull request #38585 from nextcloud/feature/ocp/send-message-with-subject-body
feat(ocp): Allow sending emails with subject and body
2023-06-02 09:14:46 +02:00
Joas Schilling 6793fe134a fix(CI): Add empty eslint and node when unrelated (PHP only)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-02 08:34:54 +02:00
Joas Schilling 6d076c1ee9 fix(dispatcher): Migrate to OCP event dispatcher before symfony/event-dispatcher upgrade
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-02 08:08:24 +02:00
Joas Schilling 5591da0b33 Merge pull request #38486 from nextcloud/automated/update-workflows
chore: update workflows from templates
2023-06-02 07:11:36 +02:00
Nextcloud bot c9fbfe2631 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-02 00:17:26 +00:00
Joas Schilling e786411da8 fix(CI): Update oracle image and config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-02 00:44:42 +02:00
John Molakvoæ 5f8fefcfc2 chore: update workflows from templates
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-02 00:26:03 +02:00
Joas Schilling 07dee9788a Merge pull request #38597 from nextcloud/techdebt/noid/run-psalm-ci-with-1-thread
fix(CI): Temporary workaround - Run Psalm CI with 1 thread only so it…
2023-06-02 00:25:19 +02:00
Joas Schilling d6ce50082e fix(psalm): Install apcu, ftp and ldap extension like in static-code-analysis-security
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-02 00:19:25 +02:00
Joas Schilling 373147ac02 fix(CI): Temporary workaround - Run Psalm CI with 1 thread only so it finishes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-01 23:47:21 +02:00
Robin Appelman 9f1d497a0b Merge pull request #38261 from fsamapoor/replace_strpos_calls_in_lib_private
Refactors "strpos" calls in  lib/private to improve code readability.
2023-06-01 23:10:00 +02:00
Robin Appelman e81fdfefab Merge pull request #38568 from rawtaz/fix-redis-empty-password
redis: Do not try to authenticate with non-string password/user
2023-06-01 22:11:55 +02:00
Christoph Wurst f04ff2c6d7 chore(ocp)!: Drop \OCP\Util::linkToPublic
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 20:32:59 +02:00
Christoph Wurst ff661045ed Merge pull request #38567 from nextcloud/chore/remove-deprecated-legacy-loader
Remove deprecated legacy loader from `OC`
2023-06-01 19:52:32 +02:00
Christoph Wurst 1ea2082dcf chore: Do not sass-compile external apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 19:43:11 +02:00
Andy Scherzinger 1d040f94af Merge pull request #38586 from nextcloud/fix/ocp/imessage-attachinline-since
fix(ocp): Mark IMessage::attachInline as @since 27
2023-06-01 18:34:57 +02:00
Christoph Wurst 0f534936b3 fix(ocp): Mark IMessage::attachInline as @since 27
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 18:15:19 +02:00
Christoph Wurst 7f8f792558 feat(ocp): Allow sending emails with subject and body
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 18:10:05 +02:00
Joas Schilling 1a3bb23a37 Merge pull request #38566 from nextcloud/chore/drop-oc-app-methods
Drop \OC_App methods deprecated in Nextcloud 14
2023-06-01 16:45:45 +02:00
Leo R. Lundgren c52aaa3647 redis: Do not try to authenticate with non-string password/user
Signed-off-by: Leo R. Lundgren <leo@finalresort.org>
2023-06-01 13:08:57 +02:00
Arthur Schiwon 63e7ac4f3a Merge pull request #38301 from nextcloud/fix/carddav/catch-invalid-event-reminder-service
fix(caldav): Ignore invalid events for reminder generation
2023-06-01 11:37:18 +02:00
Christoph Wurst 999aec366a chore: Drop \OC_App::getSettingsNavigation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 11:31:27 +02:00
Christoph Wurst 167763d312 chore: Drop \OC_App::getNavigation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 11:31:27 +02:00
Christoph Wurst e76d525a43 chore: Drop \OC_App::getAppInfo
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 11:31:27 +02:00
Christoph Wurst cf6e2fa1b7 chore: Drop \OC_App::getAppVersion
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-01 11:31:26 +02:00
Arthur Schiwon 2be74ee175 Merge pull request #38355 from nextcloud/fix/trashbin-long-filenames
fix(trashbin): Truncate long filenames
2023-06-01 11:30:41 +02:00
Christopher Ng 7c430a8afc fix(trashbin): Truncate long filenames
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-05-31 19:06:42 -07:00
Nextcloud bot aaa226df1c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-01 00:17:56 +00:00
Ferdinand Thiessen dd1f437ad0 chore(OC): Remove deprecated legacy loader from OC (OC.loadScript and OC.loadStyle)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-31 23:15:36 +02:00
Christoph Wurst 990775d5a2 Merge pull request #38550 from nextcloud/chore/app-checker-test-data
chore: Drop app code checker test data
2023-05-31 20:43:27 +02:00
Simon L 81463eadac Merge pull request #38549 from ZetaTom/master
Fix app menu flicker
2023-05-31 20:18:02 +02:00
Joas Schilling 90a628d23d Merge pull request #38514 from nextcloud/bump/giggsey/libphonenumber-for-php_to_lite-version
chore(libphonenumber): Bump giggsey/libphonenumber-for-php to giggsey…
2023-05-31 17:57:46 +02:00
Joas Schilling 56ece0c6f3 Merge pull request #38552 from nextcloud/chore/drop-oc-defaults-getlogoclaim
chore!: Drop \OC_Defaults::getLogoClaim
2023-05-31 17:33:56 +02:00
Joas Schilling f0238fa0a2 Merge pull request #38551 from nextcloud/chore/drop-oc-app-isenabled
chore!: Drop \OC_App::isEnabled
2023-05-31 16:50:50 +02:00
Robin Appelman 496a8d2b80 Merge pull request #38468 from nextcloud/log-cert-list-errors
log failures to read certificates during listing
2023-05-31 16:16:15 +02:00
ZetaTom d17fd1910c Fix app menu flicker
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-05-31 15:48:28 +02:00
Joas Schilling 4809e8d9a9 fix(CI): Satisfy psalm by removing a now obsolete type check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-31 15:42:15 +02:00
Joas Schilling 6f9ba4e60e chore(libphonenumber): Bump giggsey/libphonenumber-for-php to giggsey/libphonenumber-for-php-lite
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-31 15:42:12 +02:00
Christoph Wurst 9a89e9086f chore!: Drop \OC_Defaults::getLogoClaim
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-31 15:17:20 +02:00
Christoph Wurst dd2d50471e chore!: Drop \OC_App::isEnabled
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-31 15:06:25 +02:00
Christoph Wurst 315f7f286f chore: Drop app code checker test data
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-31 14:57:57 +02:00
Robin Appelman 223612b15a log failures to read certificates during listing
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-31 14:40:45 +02:00
Faraz Samapoor 716a659468 Uses "Null Coalescing Operator" to improve code readability.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-05-31 14:51:52 +03:30
Christoph Wurst 4033154302 fixup! fix(caldav): Ignore invalid events for reminder generation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-31 13:08:30 +02:00
Joas Schilling 2845a04827 Merge pull request #38516 from nextcloud/chore/deps/drop-swiftmailer
chore(deps): Drop swiftmailer/swiftmailer
2023-05-31 12:08:12 +02:00
Christoph Wurst b7e7d80173 fix(caldav): Ignore invalid events for reminder generation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-31 09:49:04 +02:00
Joas Schilling 4746ede28a Merge pull request #38513 from nextcloud/bugfix/noid/csp-doc-typos
fix(docs): Fix language and copy-paste class name in docs of CSP
2023-05-31 09:47:27 +02:00
Joas Schilling eb08dcbdf0 Merge pull request #38534 from nextcloud/automated/noid/master-update-ca-cert-bundle
[master] Update ca-cert bundle
2023-05-31 09:25:18 +02:00
Joas Schilling 581e5e3f05 Merge pull request #38537 from nextcloud/ci/cacert/conventional-commits
ci: Use conventional commits for CA bundle updates
2023-05-31 09:23:28 +02:00
Christoph Wurst ae69a907bc ci: Use conventional commits for CA bundle updates
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-31 08:21:14 +02:00
nextcloud-command 4f624b29f3 Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2023-05-31 02:33:48 +00:00
Nextcloud bot 6a3a040919 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-31 00:17:39 +00:00
Christoph Wurst 3d1acca1f3 chore(app): Do not clear unused cache key
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-30 17:48:20 +02:00
Simon L 41314d32ec Merge pull request #38520 from nextcloud/Jerome-Herbinet-improved-display-of-app-links
Improved display of app links
2023-05-30 17:44:17 +02:00
Jérôme Herbinet ec44d58bcd npm run build
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-05-30 16:39:02 +02:00
Jérôme Herbinet e25fb29975 Improved display of app links
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-05-30 16:35:45 +02:00
Christoph Wurst 7e7db1dbc9 chore(deps): Drop swiftmailer/swiftmailer
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-30 16:14:27 +02:00
Joas Schilling 5b2d5767e1 fix(docs): Fix language and copy-paste class name in docs of CSP
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-30 13:39:33 +02:00
Louis 3053df7b7c Merge pull request #38469 from nextcloud/artonge/fix/versions_init
Fix initialisation of versions in the DB
2023-05-30 13:38:51 +02:00
Simon L 1e1e2fec64 Merge pull request #38496 from nextcloud/preview-mp3-catch-errors
fix: catch errors in id3parser library
2023-05-30 10:51:33 +02:00
Nextcloud bot 45d7cee7f8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-30 00:17:33 +00:00
Daniel Kesselberg 0670ae607b 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-28 17:01:23 +02:00
Nextcloud bot fa23698c23 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-28 00:17:29 +00:00
John Molakvoæ b953fd7b0a Merge pull request #38492 from nextcloud/dependabot/npm_and_yarn/puppeteer-20.4.0 2023-05-27 09:53:18 +02:00
dependabot[bot] cfe923c575 chore(deps-dev): Bump puppeteer from 19.10.1 to 20.4.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 19.10.1 to 20.4.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.10.1...puppeteer-v20.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-27 03:34:31 +00:00
Nextcloud bot eaff926732 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-27 00:17:51 +00:00
Simon L a3baad1a7d Merge pull request #38333 from nextcloud/fix/weather-star-contrast
weather_status: Improve contrast of favorite icon
2023-05-26 15:25:58 +02:00
Ferdinand Thiessen b4ec3a3124 fix(weather_status): Improve contrast of favorite icon
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-26 14:15:00 +02:00
Joas Schilling 37f387b239 Merge pull request #38481 from nextcloud/bugfix/noid/avatar-size-in-sab
fix(dav): Fix avatar size in system address book
2023-05-26 11:04:14 +02:00
Louis 9fa42c0b4f Merge branch 'master' into artonge/fix/versions_init 2023-05-26 10:52:16 +02:00
Joas Schilling ef93bb926c fix(dav): Fix avatar size in system address book
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-26 10:03:58 +02:00
Julius Härtl 9453c2d40d fix: execute throws docrine exceptions not our wrapped ones
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-26 06:56:55 +00:00
Nextcloud bot 7d9d99d5e6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-26 00:18:10 +00:00
Louis fe146a9739 Merge pull request #38467 from nextcloud/artonge/fix/files_versions_preview
Add fallback when a there is no preview for a version
2023-05-26 01:14:56 +02:00
Simon L f29aa2997e Merge pull request #38429 from tanganellilore/fix_delete_user_syslink
Fix deletion of User when system link are used in him user folder
2023-05-26 01:12:34 +02:00
Simon L 477d6444b8 Merge pull request #38300 from nextcloud/fix/better-error-message
fix: better error message on missing user files dir
2023-05-26 01:10:31 +02:00
Louis Chemineau e8eb8a9f74 Add fallback when a there is no preview for a version
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-05-25 23:46:04 +02:00
Louis Chemineau c40de8b88f Improve handling of undefined version label
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-05-25 23:46:04 +02:00
Louis Chemineau c3475f4dbb 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-25 23:43:40 +02:00
Simon L cc525094b2 Merge pull request #38460 from nextcloud/enh/noid/adjust-sidebar-visiblity
adjust active element visibility in the sidebar
2023-05-25 23:19:55 +02:00
Simon L 3e293b7c7b Merge pull request #38459 from nextcloud/enh/noid/adjust-usermenu-visibility
adjust active element visibility in the usermenu
2023-05-25 22:40:45 +02:00
John Molakvoæ 7d06dc3474 fix: better error message on missing user files dir
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-25 20:31:14 +02:00
Simon L 56aa4c79e2 adjust active element visibility in the sidebar
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-25 18:19:24 +00:00
Simon L 0ad56e5752 Merge pull request #38206 from nextcloud/fix/increase-iterations-for-pbkdf2
Increase from 100000 to 600000 iterations for hash_pbkdf2
2023-05-25 20:18:22 +02:00
Simon L 8424b2a6eb adjust active element visibility in the usermenu
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-25 18:16:55 +00:00
Arthur Schiwon cd5bd11771 Merge pull request #38448 from nextcloud/fix/carddav/no-sab-guest-users
fix(carddav): Don't show system address book cards to guests
2023-05-25 17:26:46 +02:00
Côme Chilliet 99bdb15398 Adapt encryption test to change in generateHeader
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-25 16:31:27 +02:00
Christoph Wurst 9780472a02 Merge pull request #38454 from nextcloud/fix/capitalization-other-tel
fix(carddav): Make system contact phone number RFC compliant
2023-05-25 15:56:08 +02:00
Côme Chilliet 367b4fe9f2 Fix User_Proxy tests as well
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-25 15:55:04 +02:00
Julia Kirschenheuter 3d36420736 Merge pull request #38458 from nextcloud/revert/37870-Fix_table_view
Revert "Fix table view"
2023-05-25 15:26:55 +02:00
Christoph Wurst e524631ce3 fix(carddav): Don't show system address book cards to guests
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-25 12:26:26 +02:00
Côme Chilliet add59d2309 Use DI for DeletedUsersIndex and fix tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-25 12:18:28 +02:00
julia.kirschenheuter 94e1a429e5 Revert "Fix table view"
This reverts commit cb852ef6

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-25 11:49:24 +02:00
Côme Chilliet 47bb12b226 Fix autoloaders
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-25 11:40:40 +02:00
Côme Chilliet b186cffdbe Use default page size for jumping to desired offset
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-25 11:31:29 +02:00
greta 50b61c8b7b fix(carddav): Make system contact phone number RFC compliant
Signed-off-by: greta <gretadoci@gmail.com>
2023-05-25 11:10:25 +02:00
Christoph Wurst b6d7343754 Merge pull request #38423 from nextcloud/fix/carddav/check-system-address-book-enumeration
fix(carddav): Check enumeration settings for all SAB methods
2023-05-25 10:15:34 +02:00
Christoph Wurst 5cfbd4c535 fix(carddav): Check enumeration settings for all SAB methods
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-25 09:11:26 +02:00
Nextcloud bot 1f2a9de112 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-25 00:19:49 +00:00
Andy Scherzinger b8ae166eb2 Merge pull request #38441 from nextcloud/feat/make-open-folder-action
fix(files): make open folder a default action
2023-05-24 19:11:40 +02:00
Kate 115689f167 Merge pull request #38438 from nextcloud/feature/openapi/specs
Add OpenAPI specs
2023-05-24 17:45:12 +02:00
John Molakvoæ d9f9a7280e fix(files): make open folder a default action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-24 17:44:52 +02:00
jld3103 4218f719ea Add OpenAPI specs
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-24 16:51:38 +02:00
Varun Patil e6038268d8 Merge pull request #38374 from nextcloud/pulsejet/patch-ubr-nonce
webpack: add nonce to unsupported-browser-redirect chunk
2023-05-24 04:19:46 -07:00
Arthur Schiwon b2e34267cd Merge pull request #38415 from nextcloud/object-store-init-root
don't always check if we need to setup the object store root
2023-05-24 13:06:14 +02:00
Varun Patil 60a7610ca6 webpack: add nonce to unsupported-browser-redirect chunk
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-24 10:38:43 +00:00
F. E Noel Nfebe 4220442fa1 Merge pull request #37458 from Fenn-CS/fix/37424/better-501-error-logging
Avoid db connections when logging db connection errors
2023-05-24 08:46:03 +01:00
John Molakvoæ 4811a02740 Merge pull request #38329 from nextcloud/pulsejet/patch-webpack 2023-05-24 09:02:59 +02:00
Lorenzo Tanganelli 6b55e92e33 invert elseif on rmdir for local storage
Signed-off-by: Lorenzo Tanganelli <lorenzo.tanganelli@hotmail.it>
2023-05-24 08:22:50 +02:00
Nextcloud bot 294035f523 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-24 00:17:47 +00:00
Simon L 3a9abb256e Merge pull request #36316 from nextcloud/improve-fatal-logging
Log to `error_log` in fatal case
2023-05-23 23:02:18 +02:00
Côme Chilliet 2a6f347430 Increase from 100000 to 600000 iterations for hash_pbkdf2
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-23 20:53:33 +00:00
Daniel Kesselberg 7d02d98d9e chore: recompile
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-05-23 22:36:14 +02:00
Varun Patil ace6df86d8 Fix lint errors
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-23 22:34:15 +02:00
Varun Patil 48e1a58345 Optimize webpack chunks
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-23 22:34:14 +02:00
Varun Patil 66a8a9fba1 Use consistent imports for Vue components
This makes tree shaking possible

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-23 22:34:14 +02:00
Arthur Schiwon 0fca8238dd Merge pull request #37665 from fsamapoor/patch-2
Refactors Command/Encryption/Enable.php to improve code readability.
2023-05-23 20:56:18 +02:00
Robin Appelman cc0ad25c98 don't always check if we need to setup the object store root
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-23 17:44:40 +02:00
Côme Chilliet 285c42ab14 Fix user tests, avoid setting enabled state to the same value
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-23 17:18:19 +02:00
Robin Windey 1dcc8559cf Log to error_log in fatal case
Signed-off-by: Robin Windey <ro.windey@gmail.com>
2023-05-23 17:11:52 +02:00
Côme Chilliet 50ccfb4f5b [user_ldap] Add per-connection setting for marking remnants as disabled
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-23 16:03:17 +02:00
Johannes 7ec1ceb79a Merge pull request #38413 from nextcloud/fix/38412/save-avatar-SAB
fix(SAB): Save avatar to SAB
2023-05-23 15:55:26 +02:00
Julia Kirschenheuter ea46959ef8 Merge pull request #38075 from nextcloud/fix/36923-The_Default_quota_input_field_in_the_Settings_section_is_not_programmatically_linked_to_its_visual_label
Add label to "default quota" multiselect
2023-05-23 15:33:48 +02:00
Simon L 3894a86e74 Merge pull request #38308 from nextcloud/fix/check-for-php-auth-server-variables
fix(carddav): Check if SERVER variables are set before accessing them
2023-05-23 14:33:49 +02:00
julia.kirschenheuter 1c90d7faf1 Add label to "default quota" multiselect
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-23 14:12:45 +02:00
Côme Chilliet 684a81e4bd Use the new IProvideEnabledStateBackend interface in user_ldap
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-23 11:25:22 +02:00
Côme Chilliet 3af1ab2b2a Add user enabled state backend feature
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-05-23 11:25:03 +02:00
Johannes Merkel 5983ef001d fix(SAB): Save avatar to SAB
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-05-23 11:15:34 +02:00
Simon L 0713c1c4c6 Merge pull request #38393 from nextcloud/enh/noid/improve-issue-template
bug-report-template - move `Official All-in-One appliance` to the bottom
2023-05-23 11:01:15 +02:00
Anna Larch 3c93ce9c25 fix(carddav): Check if SERVER variables are set before accessing them
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-05-23 10:58:29 +02:00
John Molakvoæ 4e9e91a215 Merge pull request #38400 from nextcloud/cleanup/drop-oc-appsettings 2023-05-23 10:38:16 +02:00
Nextcloud bot 79334ebf90 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-23 00:17:26 +00:00
Louis c8e85a4ecf Merge pull request #38365 from JanisPlayer/patch-3
add imaginary_key
2023-05-22 23:39:26 +02:00
JanisPlayer c71a3065a7 Allow to specify an imaginary key
Signed-off-by: JanisPlayer <54918417+JanisPlayer@users.noreply.github.com>
2023-05-22 22:19:51 +02:00
Robin Appelman b253fe4a6b Merge pull request #38259 from nextcloud/webui-share-reload
reload filelist when adding or removing shares
2023-05-22 16:53:16 +02:00
Robin Appelman 5479eb3cc2 Merge pull request #38291 from nextcloud/fix-loading-themed-logo
fix loading custom logo image
2023-05-22 16:39:38 +02:00
fenn-cs d0fc159975 Avoid db connection when logging db connection errors
`\OC\Log\LogDetails::logDetails` depends on `\OC_App::getAppVersions()`
which makes a database connection causing the logger to break when the database
service is unavaiable.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-05-22 15:17:04 +01:00
fenn-cs bb2c2bb7f0 Replace ILogger method calls index.php
This commit replaces more ILogger method calls with
 `Psr\Log\LoggerInterface` as we gradually move away from the
 custom ILogger.

This commit aslo, sets the customPsrLogger to not depend on the
 database to `logfile` config value.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-05-22 15:17:04 +01:00
Robin Appelman 8de2984349 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-22 13:22:52 +00:00
Robin Appelman 51984dc273 fix loading custom logo image
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-22 15:10:54 +02:00
Côme Chilliet b313e2a507 Merge pull request #38162 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-05-22 14:30:10 +02:00
Joas Schilling f74143be4b Merge pull request #38164 from nextcloud/show-pending-popover-menu-when-password-is-enabled-by-default
Show pending popover menu when password is enabled by default
2023-05-22 14:17:27 +02:00
Joas Schilling fdf7fd45be Merge pull request #38227 from nextcloud/allow-enforcing-share-passwords-only-when-already-asking-for-a-password
Allow enforcing share passwords only when already asking for a password
2023-05-22 14:06:18 +02:00
Joas Schilling 9f8fa4802b chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-22 12:53:21 +02:00
Daniel Calviño Sánchez d4631921b4 Show pending popover menu when password is enabled by default
When "Enforce password protection" is enabled in the sharing settings a
popover menu is shown to set a password before the share is created. On
the other hand, when "Always ask for a password" was enabled in the
sharing settings and a new link share was created the share was
immediately created with a default password; the user was not able to
specify a password (nor create the share without password).

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

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

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

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

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

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

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

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

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:44:17 +02:00
Daniel Calviño Sánchez 74bddb7a1a Add missing end tag for "label"
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:44:16 +02:00
Simon L f7a6ed0389 bug-report-template - move archive to the top
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-22 11:21:33 +02:00
nextcloud-command 753cf1688c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-05-22 02:29:09 +00:00
Nextcloud bot 30e445773d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-22 00:17:43 +00:00
Nextcloud bot 96f0118312 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-21 00:17:10 +00:00
Ferdinand Thiessen a08b098476 chore: Remove deprecated OC.appSettings
Was deprecated since NC17 and scheduled for removal on NC18.
No apps use it and neither do core.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-20 15:28:23 +02:00
dependabot[bot] 428366cc7c Merge pull request #38372 from nextcloud/dependabot/npm_and_yarn/tar-6.1.15 2023-05-20 03:54:51 +00:00
dependabot[bot] bb7c7fd862 chore(deps-dev): Bump tar from 6.1.14 to 6.1.15
Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.14 to 6.1.15.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.1.14...v6.1.15)

---
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-20 03:05:38 +00:00
Nextcloud bot 1c1c9075c1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-20 00:17:12 +00:00
Simon L 6fc80a4c53 Merge pull request #38354 from nextcloud/pulsejet/patch-ubr
Make unsupported browser check asynchronous
2023-05-20 00:56:07 +02:00
Varun Patil 98ddb81e82 Make unsupported browser check asynchronous
This check is very expensive, and will pass almost 100% of the time.

Related #36728
Depends on #38329

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-19 22:00:10 +00:00
Simon L 3d2d1c171e Merge pull request #37758 from nextcloud/redis-atomic
redis: use atomic operations everywhere
2023-05-19 23:29:24 +02:00
Simon L 8cca865d80 Merge pull request #38332 from nextcloud/pulsejet/patch-dead1
Remove some dead code in files app
2023-05-19 23:27:12 +02:00
Marcel Klehr b3e8e0c55b Merge pull request #32775 from nextcloud/fix/23877/unread-comments 2023-05-19 14:39:52 +02:00
nextcloud-command dfa01c4fa5 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-19 10:22:21 +00:00
Christopher Ng 94af306c27 fix(comments): Mark comments as read
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-19 12:02:10 +02:00
Simon L 822c872c75 Merge pull request #38306 from nextcloud/enh/noid/migrate-to-ncselect
migrate a few components to NcSelect
2023-05-19 11:58:22 +02:00
Simon L ed5d8d5c4e address review
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-19 08:29:55 +00:00
Simon L 06d8a03315 migrate a few components to NcSelect
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-19 10:14:39 +02:00
Nextcloud bot 60baf8859f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-19 00:17:21 +00:00
Nextcloud bot 99f8a7ff71 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-18 18:46:31 +00:00
F. E Noel Nfebe 16f13311cd Merge pull request #38344 from nextcloud/38340-fix-add-group-broken
38340 fix add group broken
2023-05-18 10:26:11 +01:00
fenn-cs ec915474f0 Fix add new group event
1ee8fbaad1 broke the addgroup functionality
by not updating the event to reflect the one in
https://github.com/nextcloud/nextcloud-vue/blob/master/src/components/NcAppNavigationNewItem/NcAppNavigationNewItem.vue

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-18 07:49:27 +00:00
F. E Noel Nfebe c9aadb1d5b Merge pull request #38294 from nextcloud/fix/37137/add-aria-expanded-to-toggler-user-options
Use aria-expanded correctly on toggle user actions
2023-05-18 08:08:16 +01:00
dependabot[bot] 1f9331ef5d Merge pull request #38232 from nextcloud/dependabot/npm_and_yarn/cypress-12.12.0 2023-05-18 03:54:03 +00:00
dependabot[bot] 3f2a0ce798 Merge pull request #38234 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.6.8 2023-05-18 01:57:31 +00:00
Nextcloud bot b24bb42ef7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-18 00:17:49 +00:00
dependabot[bot] 55eb6be474 chore(deps-dev): Bump cypress from 12.11.0 to 12.12.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 12.11.0 to 12.12.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.11.0...v12.12.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-05-17 23:44:07 +00:00
Varun Patil 545b3b392f Merge pull request #38323 from nextcloud/pulsejet/focus-visible
Remove focus-visible polyfill
2023-05-17 16:42:53 -07:00
fenn-cs a39f0de237 Use aria-expanded correctly on toggle user actions
The aria-expanded attribute was added on the expandable item rather
Than the button that triggers the expand.

Resolves : #37137

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-17 23:15:15 +00:00
dependabot[bot] 28fea3f07b chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.7 to 9.6.8.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.8/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.7...9.6.8)

---
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-05-17 21:45:09 +00:00
dependabot[bot] 4979b1f1b4 Merge pull request #38346 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-7.6.1 2023-05-17 21:44:26 +00:00
Faraz Samapoor fa31c707c0 Update TemplateLayout.php
https://github.com/nextcloud/server/pull/38261#discussion_r1196711637

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-05-17 20:41:05 +03:30
Faraz Samapoor 9f6f4b105f Update Detection.php
The latter implies the former.

https://github.com/nextcloud/server/pull/38261#discussion_r1196708412

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-05-17 20:37:35 +03:30
Varun Patil 262c84adfa Remove some dead code in files app
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-17 09:57:23 -07:00
Varun Patil db8d0b538e Remove focus-visible polyfill
Supercedes and closes #35384

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-17 18:21:57 +02:00
Simon L fa3bbb2653 Merge pull request #38330 from nextcloud/fix/alt-login-box-design
Adjust style of passwordless login
2023-05-17 17:04:26 +02:00
dependabot[bot] ba7fa6e93c chore(deps-dev): Bump guzzlehttp/guzzle in /build/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.5.1 to 7.6.1.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/7.6/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.5.1...7.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-17 14:01:20 +00:00
Joas Schilling 3fc43bc91a Merge pull request #38336 from nextcloud/master-is-now-28
Master is now 28
2023-05-17 15:59:38 +02:00
Joas Schilling 7e45fdf867 chore(release): Bump requirements and versions in apps/
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 10:44:23 +02:00
Joas Schilling e82cd99d69 chore(release): Bump Major version in master branch to 28
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 10:36:15 +02:00
Joas Schilling 9a7870bce6 chore(CI): Update psalm baseline also on stable27
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 10:34:27 +02:00
Joas Schilling cf0a59eaf4 chore(CI): Backport the CA Cert update to stable27
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 10:33:16 +02:00
Joas Schilling e038560606 chore(security): Bump "Expires" of well-known/security.txt
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 10:32:16 +02:00
Joas Schilling 511fbb3f10 chore(CI): Add stable26 to dependabot config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-17 10:30:46 +02:00
Ferdinand Thiessen 5be82f2143 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-17 03:36:20 +02:00
Ferdinand Thiessen 687b95519f feat(login): Improve passwordless login box
* Remove wrong background of error message boxes
* Use `NcTextInput` for username or mail to align with login box
* Add a heading for better overview where you (as a user) are currently

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-17 03:33:48 +02:00
Ferdinand Thiessen 57e50e04bf feat(login): Use tertiary button for "back to login"
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-17 03:33:48 +02:00
Julius Härtl 6f43ab82fd fix: Throw early when a service cannot be found in the app container
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-16 20:32:39 +02:00
Faraz Samapoor e7cc7653b8 Refactors "strpos" calls in lib/private to improve code readability.
Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com>
2023-05-15 15:17:19 +03:30
Varun Patil c6cee282b3 redis: move lua scripts to class and add type hints
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-10 17:37:02 -07:00
Robin Appelman 0375c9866c add test to verify redis lua script hashes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-17 16:18:48 +02:00
Varun Patil 39e805fffa 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-04-16 14:38:56 -07:00
Faraz Samapoor 8f4b20aaa1 Refactors core/Command/Encryption/Enable.php to improve code readability.
Improves the readability of the "execute" method by using early returns and reducing the code indentation.

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-04-11 09:29:44 +03:30
5636 changed files with 226663 additions and 151271 deletions
-15
View File
@@ -1,15 +0,0 @@
codecov:
branch: master
ci:
- drone.nextcloud.com
- !scrutinizer-ci.com
coverage:
precision: 2
round: down
range: "70...100"
status:
project: off
patch: off
comment: off
+1
View File
@@ -3,6 +3,7 @@
"dockerComposeFile": "docker-compose.yml",
"service": "nextclouddev",
"postCreateCommand": ".devcontainer/setup.sh",
"postStartCommand": ".devcontainer/postStart.sh",
"forwardPorts": [
80,
8080,
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
# Set git safe.directory
git config --global --add safe.directory /var/www/html
git config --global --add safe.directory /var/www/html/3rdparty
-4
View File
@@ -3,10 +3,6 @@ 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
+5 -271
View File
@@ -1,3 +1,4 @@
---
kind: pipeline
name: checkers
@@ -1240,7 +1241,7 @@ steps:
commands:
# JavaScript files are not used in integration tests, so it is not needed to
# build them.
- git clone --depth 1 --branch master https://github.com/nextcloud/spreed apps/spreed
- git clone --depth 1 --branch stable28 https://github.com/nextcloud/spreed apps/spreed
- cd apps/spreed
- composer --version
- composer self-update --2
@@ -1560,276 +1561,6 @@ trigger:
- pull_request
- push
---
kind: pipeline
name: acceptance-access-levels
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: acceptance-access-levels
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-access-levels --selenium-server selenium:4444 allow-git-repository-modifications features/access-levels.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
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: acceptance-app-files
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 --selenium-server selenium:4444 allow-git-repository-modifications features/app-files.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
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
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: acceptance-app-files-tags
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-tags --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-tags.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-header
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: acceptance-header
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-header --selenium-server selenium:4444 allow-git-repository-modifications features/header.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-login
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: acceptance-login
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-login --selenium-server selenium:4444 allow-git-repository-modifications features/login.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-users
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: acceptance-users
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-users --selenium-server selenium:4444 allow-git-repository-modifications features/users.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-apps
steps:
- name: submodules
image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
commands:
- git submodule update --init
- name: acceptance-apps
image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
commands:
- tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-apps --selenium-server selenium:4444 allow-git-repository-modifications features/apps.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: nodb-codecov
@@ -1995,3 +1726,6 @@ trigger:
event:
- pull_request
- push
---
kind: signature
hmac: 8ffbbff9ef7aae684f6f1dc241390faf2fa336dac3b4773c42e9c04e17660e24
+8
View File
@@ -24,6 +24,14 @@ trim_trailing_whitespace = false
[*.svg]
insert_final_newline = false
[package*.json]
indent_size = 2
indent_style = space
[build/psalm-baseline.xml]
indent_size = 2
indent_style = space
[config/*config.php]
indent_size = 2
indent_style = space
+5 -8
View File
@@ -3,21 +3,18 @@ module.exports = {
__webpack_nonce__: true,
_: true,
$: true,
moment: true,
escapeHTML: true,
oc_userconfig: true,
dayNames: true,
escapeHTML: true,
firstDay: true,
'cypress/globals': true,
},
parserOptions: {
parser: '@typescript-eslint/parser',
moment: true,
oc_userconfig: true,
sinon: true,
},
plugins: [
'cypress',
],
extends: [
'@nextcloud',
'@nextcloud/eslint-config/typescript',
'plugin:cypress/recommended',
],
rules: {
+25 -4
View File
@@ -8,15 +8,17 @@
/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 @vitormattos @datenangebot
/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/sharebymail/appinfo/info.xml @Altahrim
/apps/systemtags/appinfo/info.xml @Antreesy @marcelklehr
/apps/theming/appinfo/info.xml @skjnldsv @juliushaertl
/apps/twofactor_backupcodes/appinfo/info.xml @st3iny @miaulalala @ChristophWurst
@@ -28,12 +30,31 @@
# Security team
/resources/config/ca-bundle.crt @ChristophWurst @miaulalala @nickvergessen
/.drone.yml @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
**/TwoFactorAuth @ChristophWurst @miaulalala @nickvergessen @st3iny
/apps/twofactor_backupcodes @ChristophWurst @miaulalala @nickvergessen @st3iny
/core/templates/twofactor* @ChristophWurst @miaulalala @nickvergessen @st3iny
# Limit login to IP
# Watch login routes for https://github.com/nextcloud/limit_login_to_ip
/core/routes.php @Altahrim
# OpenAPI
openapi*.json @provokateurin
ResponseDefinitions.php @provokateurin
# Talk team
/lib/private/Comments @nickvergessen
/lib/private/Federation @nickvergessen
/lib/private/Talk @nickvergessen
/lib/public/Comments @nickvergessen
/lib/public/Federation @nickvergessen
/lib/public/OCM @nickvergessen
/lib/public/Talk @nickvergessen
/lib/public/UserStatus @nickvergessen
# Personal interest
*/Activity/* @nickvergessen
+7 -12
View File
@@ -17,12 +17,10 @@ body:
options:
- label: This is a **bug**, not a question or a configuration/webserver/proxy issue.
required: true
- label: This issue is **not** already reported on Github _(I've searched it)_.
- label: This issue is **not** already reported on [Github](https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3Abug) OR [Nextcloud Community Forum](https://help.nextcloud.com/) _(I've searched it)_.
required: true
- label: Nextcloud Server **is** up to date. See [Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) for supported versions.
required: true
- label: Nextcloud Server **is** running on 64bit capable CPU, PHP and OS.
required: true
- label: I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
required: true
- type: textarea
@@ -62,7 +60,6 @@ body:
Select installation method you've used.
_Describe the method in the "Additional info" section if you chose "Other"._
options:
- "Official All-in-One appliance"
- "Community Web installer on a VPS or web space"
- "Community Manual installation with Archive"
- "Community Docker image"
@@ -70,6 +67,7 @@ body:
- "Community SNAP package"
- "Community VM appliance"
- "Other Community project"
- "Official All-in-One appliance"
- type: dropdown
id: nextcloud-version
attributes:
@@ -78,9 +76,9 @@ body:
Select Nextcloud Server version.
_Versions not listed here are not maintained and not supported anymore_
options:
- "24"
- "25"
- "26"
- "27"
- "28"
- "master"
validations:
required: true
@@ -103,10 +101,10 @@ body:
Select PHP engine version serving Nextcloud Server.
_Describe in the "Additional info" section if you chose "Other"._
options:
- "PHP 7.3"
- "PHP 7.4"
- "PHP 8.0"
- "PHP 8.1"
- "PHP 8.2"
- "Other"
- type: dropdown
id: webserver
@@ -118,7 +116,6 @@ body:
options:
- "Apache (supported)"
- "Nginx"
- "Lighttpd"
- "Other"
- type: dropdown
id: database
@@ -141,8 +138,8 @@ body:
description: |
Select if bug is present after an update or on a fresh install.
options:
- "Updated from a minor version (ex. 22.2.3 to 22.2.4)"
- "Updated to a major version (ex. 22.2.3 to 23.0.1)"
- "Updated from a MINOR version (ex. 22.1 to 22.2)"
- "Upgraded to a MAJOR version (ex. 22 to 23)"
- "Fresh Nextcloud Server install"
- type: dropdown
id: encryption
@@ -192,8 +189,6 @@ body:
```
> NOTE: This will be automatically formatted into code for better readability.
render: shell
validations:
required: true
- type: textarea
id: nextcloud-signingstatus
attributes:
+55 -22
View File
@@ -57,24 +57,6 @@ updates:
# Main stableXX npm
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable24
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"]
- package-ecosystem: npm
directory: "/"
schedule:
@@ -92,6 +74,8 @@ updates:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
- package-ecosystem: npm
directory: "/"
@@ -110,16 +94,17 @@ updates:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
# Testing StableXX composer
- package-ecosystem: composer
directory: "/build/integration"
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable24
target-branch: stable27
labels:
- "3. to review"
- "feature: dependencies"
@@ -129,7 +114,10 @@ updates:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
# Testing StableXX composer
- package-ecosystem: composer
directory: "/build/integration"
schedule:
@@ -147,3 +135,48 @@ updates:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
- package-ecosystem: composer
directory: "/build/integration"
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"]
- package-ecosystem: composer
directory: "/build/integration"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable27
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"]
# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
+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
+26 -17
View File
@@ -18,43 +18,49 @@ 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@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.1.0
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: Restore cached git repository
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
with:
path: .git
key: git-repo
- name: Checkout ${{ needs.init.outputs.head_ref }}
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
fetch-depth: 0
@@ -66,14 +72,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@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: package-engines-versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
fallbackNode: '^20'
fallbackNpm: '^9'
- name: Set up node ${{ steps.package-engines-versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: ${{ steps.package-engines-versions.outputs.nodeVersion }}
cache: npm
@@ -82,6 +88,9 @@ jobs:
run: npm i -g npm@"${{ steps.package-engines-versions.outputs.npmVersion }}"
- name: Install dependencies & build
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
run: |
npm ci
npm run build --if-present
@@ -90,7 +99,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 +117,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@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.1.0
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"
+11 -6
View File
@@ -18,18 +18,23 @@ jobs:
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # 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: Checkout the latest code
uses: actions/checkout@v3
- name: Init branch
uses: xt0rted/pull-request-comment-branch@d97294d304604fa98a2600a6e2f916a84b596dc7 # v1
id: comment-branch
- name: Checkout ${{ steps.comment-branch.outputs.head_ref }}
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
ref: ${{ steps.comment-branch.outputs.head_ref }}
- name: Setup git
run: |
@@ -46,10 +51,10 @@ jobs:
git push
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # 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"
+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@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # 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@b4ffde65f46336ab88eb53be808477a3936bae11 # 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@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3.0.1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
+71 -35
View File
@@ -1,53 +1,72 @@
name: Cypress
on:
pull_request:
push:
branches:
- master
- stable*
on: pull_request
concurrency:
group: cypress-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
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 }}
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
env:
PUPPETEER_SKIP_DOWNLOAD: true
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
# We need to checkout submodules for 3rdparty
submodules: true
- 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@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
with:
fallbackNode: "^12"
fallbackNpm: "^6"
fallbackNode: "^20"
fallbackNpm: "^9"
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v3
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.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: Show cypress version
run: npm run cypress:version
- 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
@@ -56,47 +75,64 @@ 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 (0 based index for e2e tests)
containers: ["component", 0, 1, 2]
# Hack as strategy.job-total includes the component and GitHub does not allow math expressions
# Always aling this number with the total of e2e runners (max. index + 1)
total-containers: [3]
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@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.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@ebe8b24c4428922d0f793a5c4c96853a633180e3 # v6.6.0
with:
record: true
parallel: true
# cypress run type
component: ${{ matrix.containers == 'component' }}
group: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }}
group: ${{ matrix.use-cypress-cloud && matrix.containers == 'component' && 'Run component' || matrix.use-cypress-cloud && 'Run E2E' || '' }}
# cypress env
ci-build-id: ${{ github.sha }}-${{ github.run_number }}
tag: ${{ github.event_name }}t
ci-build-id: ${{ matrix.use-cypress-cloud && format('{0}-{1}', github.sha, github.run_number) || '' }}
tag: ${{ matrix.use-cypress-cloud && 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
TESTING: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
SPLIT: ${{ matrix.total-containers }}
SPLIT_INDEX: ${{ matrix.containers == 'component' && 0 || matrix.containers }}
- name: Upload snapshots
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
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-server > nextcloud.log
run: docker logs nextcloud-cypress-tests-${{ env.APP_NAME }} > nextcloud.log
- name: Upload NC logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
if: failure() && matrix.containers != 'component'
with:
name: nc_logs_${{ matrix.containers }}
@@ -107,7 +143,7 @@ jobs:
run: docker exec nextcloud-cypress-tests-server tar -cvjf - data > data.tar
- name: Upload data dir archive
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
if: failure() && matrix.containers != 'component'
with:
name: nc_data_${{ matrix.containers }}
+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 }}
+19 -17
View File
@@ -1,15 +1,14 @@
name: FTP unit tests
on:
push:
branches:
- master
- stable*
paths:
- 'apps/files_external/**'
pull_request:
paths:
- '.github/**'
- 'apps/files_external/**'
concurrency:
group: ftp-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
APP_NAME: files_external
@@ -30,42 +29,45 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- 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
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: |
composer install
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: 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
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/FtpTest.php
echo "<?php return ['run' => true,'host' => 'localhost','user' => 'test','password' => 'test', 'root' => '${{ env.FTP_ROOT }}'];" > apps/${{ env.APP_NAME }}/tests/config.ftp.php
composer run test:files_external apps/files_external/tests/Storage/FtpTest.php
- name: ftpd logs
if: always()
run: |
+59 -9
View File
@@ -2,37 +2,69 @@
#
# 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
on:
pull_request:
permissions:
contents: read
concurrency:
concurrency:
group: lint-eslint-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '**/src/**'
- '**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '.eslintrc.*'
- '.eslintignore'
- '**.js'
- '**.ts'
- '**.vue'
lint:
runs-on: ubuntu-latest
name: eslint
needs: changes
if: needs.changes.outputs.src != 'false'
name: NPM lint
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- 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@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
fallbackNode: '^20'
fallbackNpm: '^9'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v3
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -40,7 +72,25 @@ jobs:
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
- name: Install dependencies
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
run: npm ci
- name: Lint
run: npm run lint
summary:
permissions:
contents: none
runs-on: ubuntu-latest
needs: [changes, lint]
if: always()
# This is the summary, we just avoid to rename it so that branch protection rules still match
name: eslint
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.lint.result != 'success' }}; then exit 1; fi
+45 -6
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
@@ -15,20 +15,44 @@ concurrency:
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
lint:
runs-on: ubuntu-latest
name: php-cs
name: PHP CS fixer lint
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up php
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
with:
php-version: "8.0"
php-version: 8.1
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -36,4 +60,19 @@ 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 )
summary:
permissions:
contents: none
runs-on: ubuntu-latest
needs: [changes, lint]
if: always()
# This is the summary, we just avoid to rename it so that branch protection rules still match
name: php-cs
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.lint.result != 'success' }}; then exit 1; fi
+35 -12
View File
@@ -3,15 +3,10 @@
# 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:
push:
branches:
- main
- master
- stable*
permissions:
contents: read
@@ -21,23 +16,51 @@ concurrency:
cancel-in-progress: true
jobs:
php-lint:
changes:
runs-on: ubuntu-latest
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
lint:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
matrix:
php-versions: [ "8.0", "8.1", "8.2" ]
php-versions: [ "8.0", "8.1", "8.2", "8.3" ]
name: php-lint
steps:
- name: Checkout
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@1a18b2267f80291a81ca1d33e7c851fe09e7dfc4 # v2
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
with:
php-version: ${{ matrix.php-versions }}
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -48,7 +71,7 @@ jobs:
permissions:
contents: none
runs-on: ubuntu-latest
needs: php-lint
needs: [changes, lint]
if: always()
@@ -56,4 +79,4 @@ jobs:
steps:
- name: Summary status
run: if ${{ needs.php-lint.result != 'success' && needs.php-lint.result != 'skipped' }}; then exit 1; fi
run: if ${{ needs.changes.outputs.src != 'false' && needs.lint.result != 'success' }}; then exit 1; fi
+95 -21
View File
@@ -2,16 +2,45 @@ name: Node tests
on:
pull_request:
push:
branches:
- master
- stable*
schedule:
- cron: "5 2 * * *"
concurrency:
group: node-tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
versions:
changes:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '**/__tests__/**'
- '**/__mocks__/**'
- '**/src/**'
- '**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
- '**.handlebars'
versions:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
outputs:
nodeVersion: ${{ steps.versions.outputs.nodeVersion }}
@@ -19,25 +48,31 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- 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@8205673bab74a63eb9b8093402fd9e0e018663a1
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
fallbackNode: '^20'
fallbackNpm: '^9'
test:
runs-on: ubuntu-latest
needs: versions
needs: [versions, changes]
if: ${{ needs.versions.result != 'failure' && needs.changes.outputs.src != 'false' }}
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
@@ -47,19 +82,32 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Test
run: npm run test
- name: Show cypress version
run: npm run cypress:version
- name: Test and process coverage
run: npm run test:coverage
- name: Collect coverage
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
files: ./coverage/lcov.info
jsunit:
runs-on: ubuntu-latest
needs: versions
needs: [versions, changes]
if: ${{ needs.versions.result != 'failure' && needs.changes.outputs.src != 'false' }}
env:
CYPRESS_INSTALL_BINARY: 0
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
@@ -69,19 +117,28 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Show cypress version
run: npm run cypress:version
- name: Test
run: npm run test:jsunit
handlebars:
runs-on: ubuntu-latest
needs: versions
needs: [versions, changes]
if: ${{ needs.versions.result != 'failure' && needs.changes.outputs.src != 'false' }}
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
@@ -91,5 +148,22 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Show cypress version
run: npm run cypress:version
- name: Run compile
run: ./build/compile-handlebars-templates.sh
summary:
permissions:
contents: none
runs-on: ubuntu-latest
needs: [changes, test, jsunit, handlebars]
if: always()
name: node-test-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.test.result != 'success' && needs.jsunit.result != 'success' && needs.handlebars.result != 'success' }}; then exit 1; fi
+53 -11
View File
@@ -7,33 +7,58 @@ name: Node
on:
pull_request:
push:
branches:
- main
- master
- stable*
permissions:
contents: read
concurrency:
group: node-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '**/src/**'
- '**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
build:
runs-on: ubuntu-latest
name: node
needs: changes
if: needs.changes.outputs.src != 'false'
name: NPM build
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0
- 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@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
fallbackNode: '^20'
fallbackNpm: '^9'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v3
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -41,6 +66,9 @@ jobs:
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
- name: Install dependencies & build
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
run: |
npm ci
npm run build --if-present
@@ -56,3 +84,17 @@ jobs:
git --no-pager diff
exit 1 # make it red to grab attention
summary:
permissions:
contents: none
runs-on: ubuntu-latest
needs: [changes, build]
if: always()
# This is the summary, we just avoid to rename it so that branch protection rules still match
name: node
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.build.result != 'success' }}; then exit 1; fi
+12 -9
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: npm audit fix and compile
name: Npm audit fix and compile
on:
workflow_dispatch:
@@ -18,25 +18,25 @@ jobs:
strategy:
fail-fast: false
matrix:
branches: ["main", "master", "stable26", "stable25", "stable24"]
branches: ["main", "master", "stable27", "stable26", "stable25", "stable24"]
name: npm-audit-fix-${{ matrix.branches }}
steps:
- name: Checkout
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0
with:
ref: ${{ matrix.branches }}
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@1bdcee71fa343c46b18dc6aceffb4cd1e35209c6 # v1.2
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
with:
fallbackNode: '^16'
fallbackNpm: '^7'
fallbackNode: '^20'
fallbackNpm: '^9'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -49,13 +49,16 @@ jobs:
- name: Run npm ci and npm run build
if: always()
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
run: |
npm ci
npm run build --if-present
- name: Create Pull Request
if: always()
uses: peter-evans/create-pull-request@18f7dc018cc2cd597073088f7c7591b9d1c02672 # v3
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: "chore(deps): fix npm audit"
-71
View File
@@ -1,71 +0,0 @@
name: PHPUnit oci
on: pull_request
permissions:
contents: read
concurrency:
group: phpunit-oci-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
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'
ports:
- 1521:1521/tcp
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 }}
extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, oci8, openssl, pdo_sqlite, posix, sqlite, xml, zip
tools: phpunit:9
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
mkdir data
./occ maintenance:install --verbose --database=oci --database-name=XE --database-host=127.0.0.1 --database-port=1521 --database-user=autotest --database-pass=owncloud --admin-user admin --admin-pass admin
php -f index.php
- name: PHPUnit
working-directory: tests
run: phpunit --configuration phpunit-autotest.xml --group DB,SLOWDB
- name: Run repair steps
run: |
./occ maintenance:repair --include-expensive
summary:
permissions:
contents: none
runs-on: ubuntu-latest
needs: phpunit-oci
if: always()
name: phpunit-oci-summary
steps:
- name: Summary status
run: if ${{ needs.phpunit-oci.result != 'success' }}; then exit 1; fi
+33
View File
@@ -0,0 +1,33 @@
name: OpenAPI
on:
pull_request:
concurrency:
group: openapi-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
openapi:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up php
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
extensions: xml
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Composer install
run: composer i
- name: OpenAPI checker
run: build/openapi-checker.sh
+10 -7
View File
@@ -2,6 +2,10 @@ name: Performance testing
on:
pull_request:
concurrency:
group: performance-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
performance-testing:
runs-on: ubuntu-latest
@@ -17,16 +21,15 @@ jobs:
steps:
- name: Checkout server before PR
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
ref: ${{ github.event.pull_request.base.ref }}
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
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 }}
@@ -52,7 +55,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: stable28
- name: Apply PR
run: |
@@ -74,19 +77,19 @@ 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: stable28
compare-with: before.json
- name: Upload profiles
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
with:
name: profiles
path: |
before.json
after.json
- uses: actions/github-script@v5
- uses: actions/github-script@v7
if: failure() && steps.compare.outcome == 'failure'
with:
github-token: ${{secrets.GITHUB_TOKEN}}
+7 -8
View File
@@ -26,11 +26,11 @@ jobs:
strategy:
matrix:
php-versions: ['8.0']
php-versions: ['8.0','8.3']
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
@@ -40,15 +40,14 @@ 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@72ae4ccbe57f82bbe08411e84e2130bd4ba1c10f #v2.25.5
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, openssl, pdo_sqlite, posix, sqlite, xml, zip, apcu
tools: phpunit:9
coverage: none
ini-file: development
ini-values:
apc.enabled=on,
apc.enable_cli=on
apc.enabled=on, apc.enable_cli=on, disable_functions= # https://github.com/shivammathur/setup-php/discussions/573
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -56,10 +55,10 @@ jobs:
env:
DB_PORT: 4444
run: |
composer install
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=autotest --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f index.php
- name: PHPUnit
working-directory: tests
run: phpunit --configuration phpunit-autotest.xml --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness
run: composer run test -- --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness
+109
View File
@@ -0,0 +1,109 @@
name: PHPUnit oci
on:
pull_request:
permissions:
contents: read
concurrency:
group: phpunit-oci-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
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: 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@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, oci8, openssl, pcntl, pdo_sqlite, posix, sqlite, xml, zip
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
composer install
mkdir data
./occ maintenance:install --verbose --database=oci --database-name=XE --database-host=127.0.0.1 --database-port=1521 --database-user=autotest --database-pass=owncloud --admin-user admin --admin-pass admin
php -f index.php
- name: PHPUnit
run: composer run test:db
- name: Run repair steps
run: |
./occ maintenance:repair --include-expensive
summary:
permissions:
contents: none
runs-on: ubuntu-latest
needs: [changes, phpunit-oci]
if: always()
name: phpunit-oci-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-oci.result != 'success' }}; then exit 1; fi
+29
View File
@@ -0,0 +1,29 @@
name: 'Ask for feedback on PRs'
on:
schedule:
- cron: '30 1 * * *'
jobs:
pr-feedback:
runs-on: ubuntu-22.04
steps:
- name: The get-github-handles-from-website action
uses: marcelklehr/get-github-handles-from-website-action@a739600f6b91da4957f51db0792697afbb2f143c # v1.0.0
id: scrape
with:
website: 'https://nextcloud.com/team/'
- uses: marcelklehr/pr-feedback-action@601109aa729eb4c8d6d0ece7567b9d4901db4aef
with:
feedback-message: |
Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.
We hope that the reviewing process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR reviewing process.
Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6
Thank you for contributing to Nextcloud and we hope to hear from you soon!
days-before-feedback: 14
start-date: "2023-07-10"
exempt-authors: "${{ steps.scrape.outputs.users }}"
exempt-bots: true
+14 -16
View File
@@ -1,15 +1,13 @@
name: S3 External storage
on:
push:
branches:
- master
- stable*
paths:
- 'apps/files_external/**'
pull_request:
paths:
- 'apps/files_external/**'
concurrency:
group: s3-external-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
APP_NAME: files_external
@@ -38,21 +36,21 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
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: |
composer install
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 }}
@@ -60,8 +58,8 @@ jobs:
- name: PHPUnit
run: |
echo "<?php return ['run' => true, 'secret' => 'actually-not-secret', 'passwordsalt' => 'actually-not-secret', 'hostname' => 'localhost','key' => 'minio','secret' => 'minio123', 'bucket' => 'bucket', 'port' => 9000, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/${{ env.APP_NAME }}/tests/config.amazons3.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/Amazons3Test.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/VersionedAmazonS3Test.php
composer run test:files_external apps/files_external/tests/Storage/Amazons3Test.php
composer run test:files_external apps/files_external/tests/Storage/VersionedAmazonS3Test.php
- name: S3 logs
if: always()
run: |
@@ -91,21 +89,21 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
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: |
composer install
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 }}
@@ -113,8 +111,8 @@ jobs:
- name: PHPUnit
run: |
echo "<?php return ['run' => true,'hostname' => 'localhost','key' => 'ignored','secret' => 'ignored', 'bucket' => 'bucket', 'port' => 4566, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/${{ env.APP_NAME }}/tests/config.amazons3.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/Amazons3Test.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/VersionedAmazonS3Test.php
composer run test:files_external apps/files_external/tests/Storage/Amazons3Test.php
composer run test:files_external apps/files_external/tests/Storage/VersionedAmazonS3Test.php
- name: S3 logs
if: always()
run: |
+16 -7
View File
@@ -1,10 +1,20 @@
name: S3 primary storage integration tests
on:
pull_request:
push:
branches:
- master
- stable*
paths:
- '.github/workflows/**'
- '3rdparty/**'
- '**/*.php'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
concurrency:
group: s3-external-integration-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
s3-primary-integration-tests-minio:
@@ -36,15 +46,14 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
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, redis
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+18 -9
View File
@@ -1,10 +1,20 @@
name: S3 primary storage
on:
pull_request:
push:
branches:
- master
- stable*
paths:
- '.github/workflows/**'
- '3rdparty/**'
- '**/*.php'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
concurrency:
group: s3-primary-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
s3-primary-tests-minio:
@@ -32,21 +42,21 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
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: |
composer install
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
./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
@@ -58,8 +68,7 @@ jobs:
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 10 http://localhost:9000/minio/health/ready
- name: PHPUnit
working-directory: tests
run: phpunit --configuration phpunit-autotest.xml --group DB,SLOWDB
run: composer run test:db
- name: S3 logs
if: always()
run: |
+73
View File
@@ -0,0 +1,73 @@
name: SFTP unit tests
on:
pull_request:
paths:
- 'apps/files_external/**'
env:
APP_NAME: files_external
concurrency:
group: sftp-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
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@b4ffde65f46336ab88eb53be808477a3936bae11
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 }}
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
composer install
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
composer run test:files_external 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
+22 -41
View File
@@ -1,17 +1,14 @@
name: Samba Kerberos SSO
on:
push:
branches:
- master
- stable*
paths:
- 'apps/files_external/**'
- '.github/workflows/smb-kerberos.yml'
pull_request:
paths:
- 'apps/files_external/**'
- '.github/workflows/smb-kerberos.yml'
concurrency:
group: smb-kerberos-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
smb-kerberos-tests:
runs-on: ubuntu-latest
@@ -22,53 +19,37 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Checkout user_saml
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
repository: nextcloud/user_saml
path: apps/user_saml
- 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)
sleep 1
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
+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
issues: write
steps:
- uses: actions/stale@v5
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.COMMAND_BOT_PAT }}
stale-issue-message: >
+11 -11
View File
@@ -2,10 +2,10 @@ name: Psalm static code analysis
on:
pull_request:
push:
branches:
- master
- stable*
concurrency:
group: static-code-analysis-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
static-code-analysis:
@@ -15,7 +15,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
@@ -23,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 }}
@@ -32,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()
@@ -49,7 +49,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
@@ -64,7 +64,7 @@ jobs:
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()
@@ -77,7 +77,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
@@ -94,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()
+5 -5
View File
@@ -12,12 +12,12 @@ jobs:
strategy:
fail-fast: false
matrix:
branches: ["master", "stable26", "stable25", "stable24", "stable23", "stable22"]
branches: ["master", "stable27", "stable26", "stable25", "stable24", "stable23", "stable22"]
name: update-ca-certificate-bundle-${{ matrix.branches }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
ref: ${{ matrix.branches }}
submodules: true
@@ -26,15 +26,15 @@ jobs:
run: curl --etag-compare build/ca-bundle-etag.txt --etag-save build/ca-bundle-etag.txt --output resources/config/ca-bundle.crt https://curl.se/ca/cacert.pem
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: Update CA certificate bundle
commit-message: "fix(security): Update CA certificate bundle"
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: automated/noid/${{ matrix.branches }}-update-ca-cert-bundle
title: "[${{ matrix.branches }}] Update ca-cert bundle"
title: "[${{ matrix.branches }}] fix(security): Update CA certificate bundle"
body: |
Auto-generated update of CA certificate bundle from [https://curl.se/docs/caextract.html](https://curl.se/docs/caextract.html)
labels: |
+3 -3
View File
@@ -14,12 +14,12 @@ jobs:
strategy:
fail-fast: false
matrix:
branches: ["master", "stable26", "stable25", "stable24", "stable23"]
branches: ["master", "stable27", "stable26", "stable25"]
name: update-psalm-baseline-${{ matrix.branches }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
ref: ${{ matrix.branches }}
submodules: true
@@ -50,7 +50,7 @@ jobs:
git checkout composer.json composer.lock lib/composer
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: Update psalm baseline
+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
@@ -154,6 +155,7 @@ Vagrantfile
/config/config-autotest-backup.php
/config/autoconfig.php
clover.xml
/coverage
# Tests - dependencies
tests/acceptance/vendor/
+2 -1
View File
@@ -40,7 +40,7 @@
</IfModule>
# Add cache control for static resources
<FilesMatch "\.(css|js|svg|gif|png|jpg|ico|wasm|tflite)$">
<FilesMatch "\.(css|js|mjs|svg|gif|png|jpg|ico|wasm|tflite)$">
<If "%{QUERY_STRING} =~ /(^|&)v=/">
Header set Cache-Control "max-age=15778463, immutable"
</If>
@@ -90,6 +90,7 @@
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>
+14
View File
@@ -20,5 +20,19 @@ $config
->notPath('composer')
->notPath('node_modules')
->notPath('vendor')
->in('apps')
->in(__DIR__);
// Ignore additional app directories
$rootDir = new \DirectoryIterator(__DIR__);
foreach ($rootDir as $node) {
if (str_starts_with($node->getFilename(), 'apps')) {
$return = shell_exec('git check-ignore ' . escapeshellarg($node->getFilename() . '/'));
if ($return !== null) {
$config->getFinder()->exclude($node->getFilename());
}
}
}
return $config;
+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
+7 -81
View File
@@ -1,6 +1,6 @@
# Nextcloud Server ☁
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nextcloud/server/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/nextcloud/server/?branch=master)
[![codecov](https://codecov.io/gh/nextcloud/server/branch/master/graph/badge.svg)](https://codecov.io/gh/nextcloud/server)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nextcloud/server/badges/quality-score.png?b=stable28)](https://scrutinizer-ci.com/g/nextcloud/server/?branch=master)
[![codecov](https://codecov.io/gh/nextcloud/server/branch/stable28/graph/badge.svg)](https://codecov.io/gh/nextcloud/server)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/209/badge)](https://bestpractices.coreinfrastructure.org/projects/209)
[![Design](https://contribute.design/api/shield/nextcloud/server)](https://contribute.design/nextcloud/server)
@@ -16,12 +16,12 @@
* 🚀 **Expandable with hundreds of Apps** ...like [Calendar](https://github.com/nextcloud/calendar), [Contacts](https://github.com/nextcloud/contacts), [Mail](https://github.com/nextcloud/mail), [Video Chat](https://github.com/nextcloud/spreed) and all those you can discover in our [App Store](https://apps.nextcloud.com)
* 🔒 **Security** with our encryption mechanisms, [HackerOne bounty program](https://hackerone.com/nextcloud) and two-factor authentication.
Do you want to learn more about how you can use Nextcloud to access, share and protect your files, calendars, contacts, communication & more at home and in your organization? [**Learn about all our Features**](https://nextcloud.com/athome/).
Do you want to learn more about how you can use Nextcloud to access, share, and protect your files, calendars, contacts, communication & more at home and in your organization? [**Learn about all our Features**](https://nextcloud.com/athome/).
## Get your Nextcloud 🚚
- ☑️ [**Simply sign up**](https://nextcloud.com/signup/) at one of our providers either through our website or through the apps directly.
- 🖥 [**Install** a server by yourself](https://nextcloud.com/install/#instructions-server) on your hardware or by using one of our ready to use **appliances**
- 🖥 [**Install** a server by yourself](https://nextcloud.com/install/#instructions-server) on your hardware or by using one of our ready-to-use **appliances**
- 📦 Buy one of the [awesome **devices** coming with a preinstalled Nextcloud](https://nextcloud.com/devices/)
- 🏢 Find a [service **provider**](https://nextcloud.com/providers/) who hosts Nextcloud for you or your company
@@ -57,80 +57,6 @@ Several apps that are included by default in regular releases such as [First run
Otherwise, git checkouts can be handled the same as release archives, by using the `stable*` branches. Note they should never be used on production systems.
### Working with front-end code 🏗
#### Building Vue components and scripts
We are moving more and more toward using Vue.js in the front-end, starting with Settings. For building the code on changes, use these terminal commands in the root folder:
```bash
# install dependencies
make dev-setup
# build for development
make build-js
# build for development and watch edits
make watch-js
# build for production with minification
make build-js-production
```
#### Building styles
Styles are written in SCSS and compiled to css.
```bash
# install dependencies
make dev-setup
# compile style sheets
npm run sass
# compile style sheets and watch edits
npm run sass:watch
```
#### Committing changes
**When making changes, also commit the compiled files!**
We still use Handlebars templates in some places in Files and Settings. We will replace these step-by-step with Vue.js, but in the meantime, you need to compile them separately.
If you dont have Handlebars installed yet, you can do it with this terminal command:
```bash
sudo npm install -g handlebars
```
Then inside the root folder of your local Nextcloud development installation, run this command in the terminal every time you changed a `.handlebars` file to compile it:
```bash
./build/compile-handlebars-templates.sh
```
Before checking in JS changes, make sure to also build for production:
```bash
make build-js-production
```
Then add the compiled files for committing.
To save some time, to only rebuild for a specific app, use the following and replace the module with the app name:
```bash
MODULE=user_status make build-js-production
```
Please note that if you used `make build-js` or `make watch-js` before, you'll notice that a lot of files were marked as changed, so might need to clear the workspace first.
### Working with back-end code 🏗
When changing back-end PHP code, in general, no additional steps are needed before checking in.
However, if new files were created, you will need to run the following command to update the autoloader files:
```bash
build/autoloaderchecker.sh
```
After that, please also include the autoloader file changes in your commits.
### Tools we use 🛠
@@ -138,7 +64,7 @@ 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:
#### 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.
@@ -156,8 +82,8 @@ changed it substantially:
@copyright Copyright (c) <year>, <your name> (<your email address>)
```
Please read the [Code of Conduct](https://nextcloud.com/community/code-of-conduct/). This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.
Please read the [Code of Conduct](https://nextcloud.com/community/code-of-conduct/). This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere and to explain how together we can strengthen and support each other.
Please review the [guidelines for contributing](.github/CONTRIBUTING.md) to this repository.
More information how to contribute: [https://nextcloud.com/contribute/](https://nextcloud.com/contribute/)
More information on how to contribute: [https://nextcloud.com/contribute/](https://nextcloud.com/contribute/)
+46 -10
View File
@@ -1,25 +1,61 @@
# Security Policy
## Supported Versions
[Security](https://nextcloud.com/security/) is very important to us.
If you believe you have found a security vulnerability that meets our definition of a security
vulnerability, please report is as described below.
## Context
Please review our [threat model and accepted risks](https://nextcloud.com/security/threat-model) to learn what
is currently considered a security vulnerability versus expected behavior. And review what is considered
[in scope or bounty eligible](https://hackerone.com/nextcloud/policy_scopes).
The latest three major release versions of Nextcloud are currently being supported with security updates.
Please visit https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule for further details.
## Reporting a Vulnerability
Security is very important to us. If you have discovered a security issue with Nextcloud,
please read our responsible disclosure guidelines and contact us at [hackerone.com/nextcloud](https://hackerone.com/nextcloud).
** **Please do _not_ report security vulnerabilities through public GitHub issues.** **
If you have discovered a security matter with Nextcloud, please read our
[responsible disclosure guidelines](https://nextcloud.com/security/) and contact us at
[hackerone.com/nextcloud](https://hackerone.com/nextcloud).
Your report should include:
- Product version
- A vulnerability description
- Reproduction steps
- Any other details you think are likely to be important
A member of the security team will confirm the vulnerability, determine its impact, and develop a fix.
The fix will be applied to the master branch, tested, and packaged in the next security release.
### What to Expect
You should receive an initial acknowledgement within 24 hours in most cases.
A member of the security team will confirm the vulnerability, determine its impact, follow-up with any questions,
and coordinate the fix and publication.
The fix will be applied to all applicable and still supported stable branches, tested, and packaged in the next security release.
The vulnerability will be publicly announced after the release. Finally, your name will be added
to the [hall of fame](https://hackerone.com/nextcloud/thanks) as a thank you from the entire Nextcloud community. Note our
[threat model](https://nextcloud.com/security/threat-model) to know what is expected behavior.
to the [hall of fame](https://hackerone.com/nextcloud/thanks) as a thank you from the entire Nextcloud
community.
### Bug Bounties
Please visit https://nextcloud.com/security/ for further information about security.
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Details
on past bounty ranges can be found at [hackerone.com/nextcloud](https://hackerone.com/nextcloud).
## Existing Security Advisories
Published security advisories for the Nextcloud Server, Clients and Apps can be viewed at
[https://github.com/nextcloud/security-advisories/security/advisories](https://github.com/nextcloud/security-advisories/security/advisories
).
## Supported Versions
Nextcloud Server major release versions are being supported with security updates for 1 year after their initial release.
Please visit https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule for further details.
## Additional Information
Please visit [https://nextcloud.com/security/](https://nextcloud.com/security/) for further information about Nextcloud security.
Please visit [https://nextcloud.com/security/threat-model](https://nextcloud.com/security/threat-model) for our threat model and accepted risks.
+34
View File
@@ -0,0 +1,34 @@
/**
* @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license AGPL-3.0-or-later
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
export const getCurrentUser = function() {
return {
uid: 'test',
displayName: 'Test',
isAdmin: false,
}
}
export const getRequestToken = function() {
return 'test-token-1234'
}
export const onRequestTokenUpdate = function() {}
+26
View File
@@ -0,0 +1,26 @@
/**
* @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license AGPL-3.0-or-later
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
export default {
get: async () => ({ status: 200, data: {} }),
delete: async () => ({ status: 200, data: {} }),
post: async () => ({ status: 200, data: {} }),
}
+30
View File
@@ -0,0 +1,30 @@
/**
* @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license AGPL-3.0-or-later
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import { jest } from '@jest/globals'
export const showMessage = jest.fn()
export const showSuccess = jest.fn()
export const showWarning = jest.fn()
export const showInfo = jest.fn()
export const showError = jest.fn()
export const showUndo = jest.fn()
@@ -1,8 +1,7 @@
/**
* @copyright Copyright (c) 2016 John Molakvoæ <skjnldsv@protonmail.com>
* @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
* @author Julius Härtl <jus@bitgrid.net>
*
* @license AGPL-3.0-or-later
*
@@ -21,5 +20,6 @@
*
*/
import '../js/app.js'
import '../js/sharedfilelist.js'
export const loadState = function(app: string, key: string, fallback?: any) {
return fallback
}
@@ -1,7 +1,7 @@
/**
* @copyright Copyright (c) 2020 Georg Ehrke
* @copyright Copyright (c) 2023 Lucas Azevedo <lhs_azevedo@hotmail.com>
*
* @author Georg Ehrke <oc.list@georgehrke.com>
* @author Lucas Azevedo <lhs_azevedo@hotmail.com>
*
* @license AGPL-3.0-or-later
*
@@ -19,3 +19,4 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
export default {}
@@ -1,8 +1,7 @@
/**
* @copyright Copyright (c) 2016 John Molakvoæ <skjnldsv@protonmail.com>
* @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
* @author Julius Härtl <jus@bitgrid.net>
*
* @license AGPL-3.0-or-later
*
@@ -20,3 +19,4 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
export default '<svg>SvgMock</svg>'
@@ -1,9 +1,7 @@
/**
* @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
* @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author Greta Doci <gretadoci@gmail.com>
* @author John Molakvoæ <skjnldsv@protonmail.com>
* @author Roeland Jago Douma <roeland@famdouma.nl>
*
* @license AGPL-3.0-or-later
*
@@ -21,3 +19,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
export const createClient = () => {}
export const getPatcher = () => {
return {
patch: () => {}
}
}
@@ -21,3 +21,9 @@
*/
import '@testing-library/jest-dom'
// Mock `window.location` with Jest spies and extend expect
import 'jest-location-mock'
// Mock `window.fetch` with Jest
import 'jest-fetch-mock'
+6
View File
@@ -0,0 +1,6 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"verbatimModuleSyntax": false
}
}
View File
+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.17.0</version>
<version>1.18.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="27" max-version="27"/>
<nextcloud min-version="28" max-version="28"/>
</dependencies>
<background-jobs>
<job>OCA\AdminAudit\BackgroundJobs\Rotate</job>
@@ -45,35 +45,34 @@ class ClassLoader
/** @var \Closure(string):void */
private static $includeFile;
/** @var ?string */
/** @var string|null */
private $vendorDir;
// PSR-4
/**
* @var array[]
* @psalm-var array<string, array<string, int>>
* @var array<string, array<string, int>>
*/
private $prefixLengthsPsr4 = array();
/**
* @var array[]
* @psalm-var array<string, array<int, string>>
* @var array<string, list<string>>
*/
private $prefixDirsPsr4 = array();
/**
* @var array[]
* @psalm-var array<string, string>
* @var list<string>
*/
private $fallbackDirsPsr4 = array();
// PSR-0
/**
* @var array[]
* @psalm-var array<string, array<string, string[]>>
* List of PSR-0 prefixes
*
* Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2')))
*
* @var array<string, array<string, list<string>>>
*/
private $prefixesPsr0 = array();
/**
* @var array[]
* @psalm-var array<string, string>
* @var list<string>
*/
private $fallbackDirsPsr0 = array();
@@ -81,8 +80,7 @@ class ClassLoader
private $useIncludePath = false;
/**
* @var string[]
* @psalm-var array<string, string>
* @var array<string, string>
*/
private $classMap = array();
@@ -90,21 +88,20 @@ class ClassLoader
private $classMapAuthoritative = false;
/**
* @var bool[]
* @psalm-var array<string, bool>
* @var array<string, bool>
*/
private $missingClasses = array();
/** @var ?string */
/** @var string|null */
private $apcuPrefix;
/**
* @var self[]
* @var array<string, self>
*/
private static $registeredLoaders = array();
/**
* @param ?string $vendorDir
* @param string|null $vendorDir
*/
public function __construct($vendorDir = null)
{
@@ -113,7 +110,7 @@ class ClassLoader
}
/**
* @return string[]
* @return array<string, list<string>>
*/
public function getPrefixes()
{
@@ -125,8 +122,7 @@ class ClassLoader
}
/**
* @return array[]
* @psalm-return array<string, array<int, string>>
* @return array<string, list<string>>
*/
public function getPrefixesPsr4()
{
@@ -134,8 +130,7 @@ class ClassLoader
}
/**
* @return array[]
* @psalm-return array<string, string>
* @return list<string>
*/
public function getFallbackDirs()
{
@@ -143,8 +138,7 @@ class ClassLoader
}
/**
* @return array[]
* @psalm-return array<string, string>
* @return list<string>
*/
public function getFallbackDirsPsr4()
{
@@ -152,8 +146,7 @@ class ClassLoader
}
/**
* @return string[] Array of classname => path
* @psalm-return array<string, string>
* @return array<string, string> Array of classname => path
*/
public function getClassMap()
{
@@ -161,8 +154,7 @@ class ClassLoader
}
/**
* @param string[] $classMap Class to filename map
* @psalm-param array<string, string> $classMap
* @param array<string, string> $classMap Class to filename map
*
* @return void
*/
@@ -179,24 +171,25 @@ class ClassLoader
* Registers a set of PSR-0 directories for a given prefix, either
* appending or prepending to the ones previously set for this prefix.
*
* @param string $prefix The prefix
* @param string[]|string $paths The PSR-0 root directories
* @param bool $prepend Whether to prepend the directories
* @param string $prefix The prefix
* @param list<string>|string $paths The PSR-0 root directories
* @param bool $prepend Whether to prepend the directories
*
* @return void
*/
public function add($prefix, $paths, $prepend = false)
{
$paths = (array) $paths;
if (!$prefix) {
if ($prepend) {
$this->fallbackDirsPsr0 = array_merge(
(array) $paths,
$paths,
$this->fallbackDirsPsr0
);
} else {
$this->fallbackDirsPsr0 = array_merge(
$this->fallbackDirsPsr0,
(array) $paths
$paths
);
}
@@ -205,19 +198,19 @@ class ClassLoader
$first = $prefix[0];
if (!isset($this->prefixesPsr0[$first][$prefix])) {
$this->prefixesPsr0[$first][$prefix] = (array) $paths;
$this->prefixesPsr0[$first][$prefix] = $paths;
return;
}
if ($prepend) {
$this->prefixesPsr0[$first][$prefix] = array_merge(
(array) $paths,
$paths,
$this->prefixesPsr0[$first][$prefix]
);
} else {
$this->prefixesPsr0[$first][$prefix] = array_merge(
$this->prefixesPsr0[$first][$prefix],
(array) $paths
$paths
);
}
}
@@ -226,9 +219,9 @@ class ClassLoader
* Registers a set of PSR-4 directories for a given namespace, either
* appending or prepending to the ones previously set for this namespace.
*
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param string[]|string $paths The PSR-4 base directories
* @param bool $prepend Whether to prepend the directories
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param list<string>|string $paths The PSR-4 base directories
* @param bool $prepend Whether to prepend the directories
*
* @throws \InvalidArgumentException
*
@@ -236,17 +229,18 @@ class ClassLoader
*/
public function addPsr4($prefix, $paths, $prepend = false)
{
$paths = (array) $paths;
if (!$prefix) {
// Register directories for the root namespace.
if ($prepend) {
$this->fallbackDirsPsr4 = array_merge(
(array) $paths,
$paths,
$this->fallbackDirsPsr4
);
} else {
$this->fallbackDirsPsr4 = array_merge(
$this->fallbackDirsPsr4,
(array) $paths
$paths
);
}
} elseif (!isset($this->prefixDirsPsr4[$prefix])) {
@@ -256,18 +250,18 @@ class ClassLoader
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
}
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
$this->prefixDirsPsr4[$prefix] = (array) $paths;
$this->prefixDirsPsr4[$prefix] = $paths;
} elseif ($prepend) {
// Prepend directories for an already registered namespace.
$this->prefixDirsPsr4[$prefix] = array_merge(
(array) $paths,
$paths,
$this->prefixDirsPsr4[$prefix]
);
} else {
// Append directories for an already registered namespace.
$this->prefixDirsPsr4[$prefix] = array_merge(
$this->prefixDirsPsr4[$prefix],
(array) $paths
$paths
);
}
}
@@ -276,8 +270,8 @@ class ClassLoader
* Registers a set of PSR-0 directories for a given prefix,
* replacing any others previously set for this prefix.
*
* @param string $prefix The prefix
* @param string[]|string $paths The PSR-0 base directories
* @param string $prefix The prefix
* @param list<string>|string $paths The PSR-0 base directories
*
* @return void
*/
@@ -294,8 +288,8 @@ class ClassLoader
* Registers a set of PSR-4 directories for a given namespace,
* replacing any others previously set for this namespace.
*
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param string[]|string $paths The PSR-4 base directories
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param list<string>|string $paths The PSR-4 base directories
*
* @throws \InvalidArgumentException
*
@@ -481,9 +475,9 @@ class ClassLoader
}
/**
* Returns the currently registered loaders indexed by their corresponding vendor directories.
* Returns the currently registered loaders keyed by their corresponding vendor directories.
*
* @return self[]
* @return array<string, self>
*/
public static function getRegisteredLoaders()
{
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'dd3d689e04a5e1d558da937ca72980e0e2c7c404',
'reference' => 'b1797842784b250fb01ed5e3bf130705eb94751b',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'dd3d689e04a5e1d558da937ca72980e0e2c7c404',
'reference' => 'b1797842784b250fb01ed5e3bf130705eb94751b',
'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" : "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" : "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 l'accès aux fichiers d'identifications ou 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 l'accès aux fichiers d'identifications ou 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);"
}
+1 -1
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;");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"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 כגון תיעוד גישה ליומן התיעוד או פעולות רגישות אחרות."
},"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;"
}
+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" : "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);"
}
+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;"
}
+6 -7
View File
@@ -31,11 +31,10 @@ namespace OCA\AdminAudit\Actions;
use OCA\AdminAudit\IAuditLogger;
class Action {
/** @var IAuditLogger */
private $logger;
public function __construct(IAuditLogger $logger) {
$this->logger = $logger;
public function __construct(
private IAuditLogger $logger,
) {
}
/**
@@ -47,9 +46,9 @@ class Action {
* @param bool $obfuscateParameters
*/
public function log(string $text,
array $params,
array $elements,
bool $obfuscateParameters = false): void {
array $params,
array $elements,
bool $obfuscateParameters = false): void {
foreach ($elements as $element) {
if (!isset($params[$element])) {
if ($obfuscateParameters) {
+15 -14
View File
@@ -26,6 +26,7 @@ declare(strict_types=1);
*/
namespace OCA\AdminAudit\Actions;
use OCP\Authentication\TwoFactorAuth\IProvider;
use OCP\IUser;
/**
@@ -35,14 +36,14 @@ use OCP\IUser;
*/
class Security extends Action {
/**
* Log twofactor auth enabled
*
* @param IUser $user
* @param array $params
* Logs failed twofactor challenge
*/
public function twofactorFailed(IUser $user, array $params): void {
$params['uid'] = $user->getUID();
$params['displayName'] = $user->getDisplayName();
public function twofactorFailed(IUser $user, IProvider $provider): void {
$params = [
'displayName' => $user->getDisplayName(),
'uid' => $user->getUID(),
'provider' => $provider->getDisplayName(),
];
$this->log(
'Failed two factor attempt by user %s (%s) with provider %s',
@@ -56,14 +57,14 @@ class Security extends Action {
}
/**
* Logs unsharing of data
*
* @param IUser $user
* @param array $params
* Logs successful twofactor challenge
*/
public function twofactorSuccess(IUser $user, array $params): void {
$params['uid'] = $user->getUID();
$params['displayName'] = $user->getDisplayName();
public function twofactorSuccess(IUser $user, IProvider $provider): void {
$params = [
'displayName' => $user->getDisplayName(),
'uid' => $user->getUID(),
'provider' => $provider->getDisplayName(),
];
$this->log(
'Successful two factor attempt by user %s (%s) with provider %s',
@@ -61,7 +61,7 @@ class UserManagement extends Action {
*/
public function assign(string $uid): void {
$this->log(
'UserID assigned: "%s"',
'UserID assigned: "%s"',
[ 'uid' => $uid ],
[ 'uid' ]
);
+27 -30
View File
@@ -33,9 +33,7 @@ declare(strict_types=1);
*/
namespace OCA\AdminAudit\AppInfo;
use Closure;
use OC\Files\Filesystem;
use OC\Files\Node\File;
use OC\Group\Manager as GroupManager;
use OC\User\Session as UserSession;
use OCA\AdminAudit\Actions\AppManagement;
@@ -56,21 +54,20 @@ use OCP\AppFramework\App;
use OCP\AppFramework\Bootstrap\IBootContext;
use OCP\AppFramework\Bootstrap\IBootstrap;
use OCP\AppFramework\Bootstrap\IRegistrationContext;
use OCP\Authentication\TwoFactorAuth\IProvider;
use OCP\Authentication\TwoFactorAuth\TwoFactorProviderChallengeFailed;
use OCP\Authentication\TwoFactorAuth\TwoFactorProviderChallengePassed;
use OCP\Console\ConsoleEvent;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\IConfig;
use OCP\IGroupManager;
use OCP\IPreview;
use OCP\IServerContainer;
use OCP\IUserSession;
use OCP\Log\Audit\CriticalActionPerformedEvent;
use OCP\Log\ILogFactory;
use OCP\Preview\BeforePreviewFetchedEvent;
use OCP\Share;
use OCP\Util;
use Psr\Container\ContainerInterface;
use Psr\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\GenericEvent;
class Application extends App implements IBootstrap {
@@ -83,7 +80,7 @@ class Application extends App implements IBootstrap {
public function register(IRegistrationContext $context): void {
$context->registerService(IAuditLogger::class, function (ContainerInterface $c) {
return new AuditLogger($c->get(ILogFactory::class), $c->get(Iconfig::class));
return new AuditLogger($c->get(ILogFactory::class), $c->get(IConfig::class));
});
$context->registerEventListener(CriticalActionPerformedEvent::class, CriticalActionPerformedEventListener::class);
@@ -104,13 +101,14 @@ class Application extends App implements IBootstrap {
* Register hooks in order to log them
*/
private function registerHooks(IAuditLogger $logger,
IServerContainer $serverContainer): void {
ContainerInterface $serverContainer): void {
$this->userManagementHooks($logger, $serverContainer->get(IUserSession::class));
$this->groupHooks($logger, $serverContainer->get(IGroupManager::class));
$this->authHooks($logger);
/** @var EventDispatcherInterface $eventDispatcher */
$eventDispatcher = $serverContainer->get(EventDispatcherInterface::class);
/** @var IEventDispatcher $eventDispatcher */
$eventDispatcher = $serverContainer->get(IEventDispatcher::class);
$this->consoleHooks($logger, $eventDispatcher);
$this->appHooks($logger, $eventDispatcher);
@@ -124,7 +122,7 @@ class Application extends App implements IBootstrap {
}
private function userManagementHooks(IAuditLogger $logger,
IUserSession $userSession): void {
IUserSession $userSession): void {
$userActions = new UserManagement($logger);
Util::connectHook('OC_User', 'post_createUser', $userActions, 'create');
@@ -138,7 +136,7 @@ class Application extends App implements IBootstrap {
}
private function groupHooks(IAuditLogger $logger,
IGroupManager $groupManager): void {
IGroupManager $groupManager): void {
$groupActions = new GroupManagement($logger);
assert($groupManager instanceof GroupManager);
@@ -169,7 +167,7 @@ class Application extends App implements IBootstrap {
}
private function appHooks(IAuditLogger $logger,
EventDispatcherInterface $eventDispatcher): void {
IEventDispatcher $eventDispatcher): void {
$eventDispatcher->addListener(ManagerEvent::EVENT_APP_ENABLE, function (ManagerEvent $event) use ($logger) {
$appActions = new AppManagement($logger);
$appActions->enableApp($event->getAppID());
@@ -185,27 +183,26 @@ class Application extends App implements IBootstrap {
}
private function consoleHooks(IAuditLogger $logger,
EventDispatcherInterface $eventDispatcher): void {
$eventDispatcher->addListener(ConsoleEvent::EVENT_RUN, function (ConsoleEvent $event) use ($logger) {
IEventDispatcher $eventDispatcher): void {
$eventDispatcher->addListener(ConsoleEvent::class, function (ConsoleEvent $event) use ($logger) {
$appActions = new Console($logger);
$appActions->runCommand($event->getArguments());
});
}
private function fileHooks(IAuditLogger $logger,
EventDispatcherInterface $eventDispatcher): void {
IEventDispatcher $eventDispatcher): void {
$fileActions = new Files($logger);
$eventDispatcher->addListener(
IPreview::EVENT,
function (GenericEvent $event) use ($fileActions) {
/** @var File $file */
$file = $event->getSubject();
BeforePreviewFetchedEvent::class,
function (BeforePreviewFetchedEvent $event) use ($fileActions) {
$file = $event->getNode();
$fileActions->preview([
'path' => mb_substr($file->getInternalPath(), 5),
'width' => $event->getArguments()['width'],
'height' => $event->getArguments()['height'],
'crop' => $event->getArguments()['crop'],
'mode' => $event->getArguments()['mode']
'width' => $event->getWidth(),
'height' => $event->getHeight(),
'crop' => $event->isCrop(),
'mode' => $event->getMode()
]);
}
);
@@ -267,14 +264,14 @@ class Application extends App implements IBootstrap {
}
private function securityHooks(IAuditLogger $logger,
EventDispatcherInterface $eventDispatcher): void {
$eventDispatcher->addListener(IProvider::EVENT_SUCCESS, function (GenericEvent $event) use ($logger) {
IEventDispatcher $eventDispatcher): void {
$eventDispatcher->addListener(TwoFactorProviderChallengePassed::class, function (TwoFactorProviderChallengePassed $event) use ($logger) {
$security = new Security($logger);
$security->twofactorSuccess($event->getSubject(), $event->getArguments());
$security->twofactorSuccess($event->getUser(), $event->getProvider());
});
$eventDispatcher->addListener(IProvider::EVENT_FAILED, function (GenericEvent $event) use ($logger) {
$eventDispatcher->addListener(TwoFactorProviderChallengeFailed::class, function (TwoFactorProviderChallengeFailed $event) use ($logger) {
$security = new Security($logger);
$security->twofactorFailed($event->getSubject(), $event->getArguments());
$security->twofactorFailed($event->getUser(), $event->getProvider());
});
}
}
+5 -8
View File
@@ -27,23 +27,20 @@ declare(strict_types=1);
*/
namespace OCA\AdminAudit\BackgroundJobs;
use OCP\BackgroundJob\TimedJob;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\BackgroundJob\TimedJob;
use OCP\IConfig;
use OCP\Log\RotationTrait;
class Rotate extends TimedJob {
use RotationTrait;
/** @var IConfig */
private $config;
public function __construct(ITimeFactory $time,
IConfig $config) {
public function __construct(
ITimeFactory $time,
private IConfig $config,
) {
parent::__construct($time);
$this->config = $config;
$this->setInterval(60 * 60 * 3);
}
@@ -27,8 +27,9 @@ declare(strict_types=1);
namespace OCA\AdminAudit\Tests\Actions;
use OCA\AdminAudit\Actions\Security;
use OCP\IUser;
use OCA\AdminAudit\AuditLogger;
use OCP\Authentication\TwoFactorAuth\IProvider;
use OCP\IUser;
use Test\TestCase;
class SecurityTest extends TestCase {
@@ -60,7 +61,11 @@ class SecurityTest extends TestCase {
['app' => 'admin_audit']
);
$this->security->twofactorFailed($this->user, ['provider' => 'myprovider']);
$provider = $this->createMock(IProvider::class);
$provider->method('getDisplayName')
->willReturn('myprovider');
$this->security->twofactorFailed($this->user, $provider);
}
public function testTwofactorSuccess() {
@@ -71,6 +76,10 @@ class SecurityTest extends TestCase {
['app' => 'admin_audit']
);
$this->security->twofactorSuccess($this->user, ['provider' => 'myprovider']);
$provider = $this->createMock(IProvider::class);
$provider->method('getDisplayName')
->willReturn('myprovider');
$this->security->twofactorSuccess($this->user, $provider);
}
}
+4 -4
View File
@@ -5,16 +5,16 @@
<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.10.0</version>
<version>1.11.0</version>
<licence>agpl</licence>
<author>Bjoern Schiessle</author>
<namespace>CloudFederationAPI</namespace>
<types>
<filesystem/>
</types>
<category>files</category>
<bugs>https://github.com/nextcloud/cloud_federation/issues</bugs>
<category>integration</category>
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="27" max-version="27"/>
<nextcloud min-version="28" max-version="28"/>
</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',
// ]
],
];
@@ -45,35 +45,34 @@ class ClassLoader
/** @var \Closure(string):void */
private static $includeFile;
/** @var ?string */
/** @var string|null */
private $vendorDir;
// PSR-4
/**
* @var array[]
* @psalm-var array<string, array<string, int>>
* @var array<string, array<string, int>>
*/
private $prefixLengthsPsr4 = array();
/**
* @var array[]
* @psalm-var array<string, array<int, string>>
* @var array<string, list<string>>
*/
private $prefixDirsPsr4 = array();
/**
* @var array[]
* @psalm-var array<string, string>
* @var list<string>
*/
private $fallbackDirsPsr4 = array();
// PSR-0
/**
* @var array[]
* @psalm-var array<string, array<string, string[]>>
* List of PSR-0 prefixes
*
* Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2')))
*
* @var array<string, array<string, list<string>>>
*/
private $prefixesPsr0 = array();
/**
* @var array[]
* @psalm-var array<string, string>
* @var list<string>
*/
private $fallbackDirsPsr0 = array();
@@ -81,8 +80,7 @@ class ClassLoader
private $useIncludePath = false;
/**
* @var string[]
* @psalm-var array<string, string>
* @var array<string, string>
*/
private $classMap = array();
@@ -90,21 +88,20 @@ class ClassLoader
private $classMapAuthoritative = false;
/**
* @var bool[]
* @psalm-var array<string, bool>
* @var array<string, bool>
*/
private $missingClasses = array();
/** @var ?string */
/** @var string|null */
private $apcuPrefix;
/**
* @var self[]
* @var array<string, self>
*/
private static $registeredLoaders = array();
/**
* @param ?string $vendorDir
* @param string|null $vendorDir
*/
public function __construct($vendorDir = null)
{
@@ -113,7 +110,7 @@ class ClassLoader
}
/**
* @return string[]
* @return array<string, list<string>>
*/
public function getPrefixes()
{
@@ -125,8 +122,7 @@ class ClassLoader
}
/**
* @return array[]
* @psalm-return array<string, array<int, string>>
* @return array<string, list<string>>
*/
public function getPrefixesPsr4()
{
@@ -134,8 +130,7 @@ class ClassLoader
}
/**
* @return array[]
* @psalm-return array<string, string>
* @return list<string>
*/
public function getFallbackDirs()
{
@@ -143,8 +138,7 @@ class ClassLoader
}
/**
* @return array[]
* @psalm-return array<string, string>
* @return list<string>
*/
public function getFallbackDirsPsr4()
{
@@ -152,8 +146,7 @@ class ClassLoader
}
/**
* @return string[] Array of classname => path
* @psalm-return array<string, string>
* @return array<string, string> Array of classname => path
*/
public function getClassMap()
{
@@ -161,8 +154,7 @@ class ClassLoader
}
/**
* @param string[] $classMap Class to filename map
* @psalm-param array<string, string> $classMap
* @param array<string, string> $classMap Class to filename map
*
* @return void
*/
@@ -179,24 +171,25 @@ class ClassLoader
* Registers a set of PSR-0 directories for a given prefix, either
* appending or prepending to the ones previously set for this prefix.
*
* @param string $prefix The prefix
* @param string[]|string $paths The PSR-0 root directories
* @param bool $prepend Whether to prepend the directories
* @param string $prefix The prefix
* @param list<string>|string $paths The PSR-0 root directories
* @param bool $prepend Whether to prepend the directories
*
* @return void
*/
public function add($prefix, $paths, $prepend = false)
{
$paths = (array) $paths;
if (!$prefix) {
if ($prepend) {
$this->fallbackDirsPsr0 = array_merge(
(array) $paths,
$paths,
$this->fallbackDirsPsr0
);
} else {
$this->fallbackDirsPsr0 = array_merge(
$this->fallbackDirsPsr0,
(array) $paths
$paths
);
}
@@ -205,19 +198,19 @@ class ClassLoader
$first = $prefix[0];
if (!isset($this->prefixesPsr0[$first][$prefix])) {
$this->prefixesPsr0[$first][$prefix] = (array) $paths;
$this->prefixesPsr0[$first][$prefix] = $paths;
return;
}
if ($prepend) {
$this->prefixesPsr0[$first][$prefix] = array_merge(
(array) $paths,
$paths,
$this->prefixesPsr0[$first][$prefix]
);
} else {
$this->prefixesPsr0[$first][$prefix] = array_merge(
$this->prefixesPsr0[$first][$prefix],
(array) $paths
$paths
);
}
}
@@ -226,9 +219,9 @@ class ClassLoader
* Registers a set of PSR-4 directories for a given namespace, either
* appending or prepending to the ones previously set for this namespace.
*
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param string[]|string $paths The PSR-4 base directories
* @param bool $prepend Whether to prepend the directories
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param list<string>|string $paths The PSR-4 base directories
* @param bool $prepend Whether to prepend the directories
*
* @throws \InvalidArgumentException
*
@@ -236,17 +229,18 @@ class ClassLoader
*/
public function addPsr4($prefix, $paths, $prepend = false)
{
$paths = (array) $paths;
if (!$prefix) {
// Register directories for the root namespace.
if ($prepend) {
$this->fallbackDirsPsr4 = array_merge(
(array) $paths,
$paths,
$this->fallbackDirsPsr4
);
} else {
$this->fallbackDirsPsr4 = array_merge(
$this->fallbackDirsPsr4,
(array) $paths
$paths
);
}
} elseif (!isset($this->prefixDirsPsr4[$prefix])) {
@@ -256,18 +250,18 @@ class ClassLoader
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
}
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
$this->prefixDirsPsr4[$prefix] = (array) $paths;
$this->prefixDirsPsr4[$prefix] = $paths;
} elseif ($prepend) {
// Prepend directories for an already registered namespace.
$this->prefixDirsPsr4[$prefix] = array_merge(
(array) $paths,
$paths,
$this->prefixDirsPsr4[$prefix]
);
} else {
// Append directories for an already registered namespace.
$this->prefixDirsPsr4[$prefix] = array_merge(
$this->prefixDirsPsr4[$prefix],
(array) $paths
$paths
);
}
}
@@ -276,8 +270,8 @@ class ClassLoader
* Registers a set of PSR-0 directories for a given prefix,
* replacing any others previously set for this prefix.
*
* @param string $prefix The prefix
* @param string[]|string $paths The PSR-0 base directories
* @param string $prefix The prefix
* @param list<string>|string $paths The PSR-0 base directories
*
* @return void
*/
@@ -294,8 +288,8 @@ class ClassLoader
* Registers a set of PSR-4 directories for a given namespace,
* replacing any others previously set for this namespace.
*
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param string[]|string $paths The PSR-4 base directories
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param list<string>|string $paths The PSR-4 base directories
*
* @throws \InvalidArgumentException
*
@@ -481,9 +475,9 @@ class ClassLoader
}
/**
* Returns the currently registered loaders indexed by their corresponding vendor directories.
* Returns the currently registered loaders keyed by their corresponding vendor directories.
*
* @return self[]
* @return array<string, self>
*/
public static function getRegisteredLoaders()
{
@@ -11,4 +11,5 @@ return array(
'OCA\\CloudFederationAPI\\Capabilities' => $baseDir . '/../lib/Capabilities.php',
'OCA\\CloudFederationAPI\\Config' => $baseDir . '/../lib/Config.php',
'OCA\\CloudFederationAPI\\Controller\\RequestHandlerController' => $baseDir . '/../lib/Controller/RequestHandlerController.php',
'OCA\\CloudFederationAPI\\ResponseDefinitions' => $baseDir . '/../lib/ResponseDefinitions.php',
);
@@ -26,6 +26,7 @@ class ComposerStaticInitCloudFederationAPI
'OCA\\CloudFederationAPI\\Capabilities' => __DIR__ . '/..' . '/../lib/Capabilities.php',
'OCA\\CloudFederationAPI\\Config' => __DIR__ . '/..' . '/../lib/Config.php',
'OCA\\CloudFederationAPI\\Controller\\RequestHandlerController' => __DIR__ . '/..' . '/../lib/Controller/RequestHandlerController.php',
'OCA\\CloudFederationAPI\\ResponseDefinitions' => __DIR__ . '/..' . '/../lib/ResponseDefinitions.php',
);
public static function getInitializer(ClassLoader $loader)
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'dd3d689e04a5e1d558da937ca72980e0e2c7c404',
'reference' => 'b1797842784b250fb01ed5e3bf130705eb94751b',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => 'dd3d689e04a5e1d558da937ca72980e0e2c7c404',
'reference' => 'b1797842784b250fb01ed5e3bf130705eb94751b',
'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);"
}

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