Commit graph

32575 commits

Author SHA1 Message Date
Joas Schilling
cc9c61d580
Merge pull request #47947 from nextcloud/feat/make-setup-check-trait-public
feat: Make `CheckServerResponseTrait` public and provide as `OCP\SetupCheck\CheckServerResponseTrait`
2024-09-16 15:33:48 +02:00
Joas Schilling
cfed24cb02
Merge pull request #47924 from ldidry/catch-MaxInstancesExceededException
🥅 — Catch MaxInstancesExceededException on calendar events
2024-09-16 15:04:49 +02:00
Ferdinand Thiessen
7fbd518452
feat: Make CheckServerResponseTrait public and provide as OCP\SetupCheck\CheckServerResponseTrait
This trait is used by other apps for creating setup checks,
so we should provide it instead apps using private API.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-16 14:58:21 +02:00
rakekniven
9f6463c375
chore(1i8n): Fixed grammar and improved wording
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-09-16 13:11:53 +02:00
Luc Didry
615f0b2c0e
fix(dav): catch MaxInstancesExceededException on calendar events
Signed-off-by: Luc Didry <luc@didry.org>
2024-09-16 12:57:22 +02:00
John Molakvoæ
52f4b88f8d
Merge pull request #48050 from nextcloud/fix/weather_status/search-address-offline-errors 2024-09-16 11:31:13 +02:00
Joas Schilling
c228c62088
Merge pull request #48063 from nextcloud/bugfix/noid/fix-otf-loading
fix(a11y): Add OTF font loading check
2024-09-16 11:25:47 +02:00
John Molakvoæ
f5512ca062
Merge pull request #47792 from nextcloud/chore/use-public-api-helper 2024-09-16 11:20:58 +02:00
John Molakvoæ
816ffa469a
Merge pull request #48044 from nextcloud/fix/cast-node-names-to-string 2024-09-16 11:08:50 +02:00
Anna
1a972d0f47
Merge pull request #48029 from nextcloud/fix/dav-cast-content-lenght-to-int
fix(dav): cast content length to interger
2024-09-16 11:07:40 +02:00
John Molakvoæ
388618bd44
Merge pull request #48030 from nextcloud/fix/dav-cast-params-to-string 2024-09-16 11:07:31 +02:00
Anna
04997dfc53
Merge pull request #48031 from nextcloud/fix/filesreport-cast-fileId-to-int
fix(filesreport): cast fileId to integer
2024-09-16 11:07:22 +02:00
Christoph Wurst
0a7b4b597e
Merge pull request #48042 from nextcloud/refactor/elvis
refactor: Use the elvis operator + fix: Handle null checks with the ?? operator
2024-09-16 10:04:37 +02:00
Joas Schilling
c7c031dbd2
fix(a11y): Add OTF font loading check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-16 09:59:21 +02:00
Andy Scherzinger
a6bd34e0bd
Merge pull request #48028 from nextcloud/fix/fix-ldap-setupcheck-crash
fix(user_ldap): Use %n in plural translation to avoid a crash in L10N
2024-09-16 08:32:24 +02:00
Nextcloud bot
d6a59be1c0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-16 00:20:11 +00:00
Anna
d46f271b1f
Merge pull request #48049 from nextcloud/refactor/void-tests
refactor: Add void return type to PHPUnit test methods
2024-09-16 00:11:41 +02:00
Anna
bdb2fdbe90
Merge pull request #48043 from nextcloud/fix/imip-test-expects-integer
test(dav): imip service test expects integers for last occurence
2024-09-16 00:09:28 +02:00
Anna Larch
eb8cec2b96 test: cast node name and data to string
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 23:05:59 +02:00
Anna
6892500405
Merge pull request #48046 from nextcloud/refactor/self-class-reference
refactor: Replace __CLASS__ with ::class references
2024-09-15 23:01:22 +02:00
Anna Larch
92d1bdb965 fix(dav): cast content length to interger
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 22:46:46 +02:00
Kate
876631435e
Merge pull request #48045 from nextcloud/fix/add-function-type-for-mimetype-sanitizer 2024-09-15 22:42:01 +02:00
provokateurin
51d523a6a3
fix(weather_status): Fix search address errors when offline
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 22:40:02 +02:00
Christoph Wurst
49dd79eabb
refactor: Add void return type to PHPUnit test methods
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 22:32:31 +02:00
Anna Larch
d5177c8e8f test(dav): imip service test expects integers for last occurence
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 22:28:37 +02:00
Christoph Wurst
c57e684e7b
fix: Handle null checks with the ?? operator
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 21:50:11 +02:00
Christoph Wurst
1ee833efab
refactor: Replace __CLASS__ with ::class references
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 21:40:55 +02:00
Anna Larch
160866c52d fix(dav): set string type for sanitizeMtime
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 21:32:55 +02:00
Christoph Wurst
614f9ec0a2
refactor: Use the elvis operator
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 21:01:34 +02:00
Christoph Wurst
903484a884
refactor: migrate dirname to __DIR__ constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 20:55:23 +02:00
Anna Larch
35969bfaaa fix(filesreport): cast fileId to integer
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 19:19:41 +02:00
Anna Larch
1f00cef13a feat(caldav): create subscriptions via occ
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 19:11:26 +02:00
Anna Larch
9479ac8376 fix(dav): cast parameters to string
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 18:47:59 +02:00
Côme Chilliet
317c4ba50a
fix(user_ldap): Use %n in plural translation to avoid a crash in L10N
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-15 18:38:12 +02:00
Louis Chemineau
699ce26e42
fix: Restore missing dot in FilesListVirtual.vue
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-15 11:09:37 +02:00
Nextcloud bot
353cb1f866
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-15 00:26:39 +00:00
Louis
3c9111e4f8
Merge pull request #47920 from nextcloud/artonge/feat/reset_route_when_sidebar_and_viewer_are_close
feat: Reset route if neither the Viewer of the Sidebar is open
2024-09-14 23:49:47 +02:00
Louis Chemineau
2da1c5717e
feat: Reset route if neither the Viewer of the Sidebar is open
When the viewer or the sidebar is opened, we add the fileid to the route.
When both of them are closed, we do not remove the fileid from the route.
This means that, upon reload, the sidebar will be opened even though it was closed previously.

This PR ensure that the fileid is removed from the route when both the Sidebar and the Viewer are closed.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-14 21:50:23 +02:00
John Molakvoæ
6a6910f7d4
Merge pull request #47928 from nextcloud/bugfix/noid/update-opendyslexic 2024-09-14 21:19:19 +02:00
Git'Fellow
07a6fd11d0
fix(files_external): Check key exists before accessing it
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-14 11:21:17 +02:00
Nextcloud bot
26aa322e44
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-14 00:21:21 +00:00
Côme Chilliet
bcb4e781a4
Merge pull request #47927 from nextcloud/fix/migrate-away-from-oc_app
Migrate away from OC_App to IAppManager
2024-09-13 17:44:38 +02:00
John Molakvoæ (skjnldsv)
0f519f4856 fix(files_external): broken credentials dialog
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-09-13 14:32:07 +00:00
Côme Chilliet
dfa994ef28
Merge pull request #47865 from nextcloud/admin_audit/enh/move-to-event-listeners-v2
Move admin_audit to proper event listeners v2
2024-09-13 16:21:44 +02:00
Ferdinand Thiessen
be1cd7a308
refactor(settings): CheckServerResponseTrait always expect absolute path
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-13 13:09:40 +02:00
Ferdinand Thiessen
9e979d42b4
fix(setup-checks): Ensure URL with webroot works
We basically mock the way `URLGenerator::getAbsoluteURL` works,
so we must make sure that the URL might already contain the webroot.
Because `baseURL` and `cliURL` also contain the webroot we need to remove
the webroot from the URL first.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-13 13:06:24 +02:00
Côme Chilliet
7ed583cb8e
chore: Migrate cleanAppId and getAppPath calls to IAppManager from OC_App
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-13 10:08:43 +02:00
Nextcloud bot
c9e4598360
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-13 00:20:46 +00:00
Joas Schilling
0c224393f5
fix(tests): Test OTF font file
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-12 23:04:16 +02:00
Joas Schilling
599a94fc9a
fix(a11y): Update OpenDyslexic from 0.920 to 2.001
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-12 16:53:13 +02:00