Marcel Klehr
996e5074ca
feat: Remove stale files in AppData as well
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:40 +07:00
Marcel Klehr
9a2cd6b914
fix: Expose task type on CoreTaskProcessingTask json
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:40 +07:00
Marcel Klehr
3593d9b631
fix: psalm issue
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:40 +07:00
Marcel Klehr
bd5dfd0b5f
test: Add more tests for legacy pass-through
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:40 +07:00
Marcel Klehr
eebeb82416
fix: Small fixes
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:40 +07:00
Marcel Klehr
4b954d2227
fix: Wire-up the new classes
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:40 +07:00
Marcel Klehr
b150d779f3
refactor: rename getTaskType to getTaskTypeId
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:40 +07:00
Marcel Klehr
c9ea5375d8
fix: Fix psalm issues
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:40 +07:00
Marcel Klehr
843bb62d6d
fix: LazyRoot missing method
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:39 +07:00
Marcel Klehr
5031a2ec4a
fix: Typo
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:39 +07:00
Marcel Klehr
7a947980db
fix: Fix psalm issues
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:39 +07:00
Marcel Klehr
1c033ae70a
fix(IRootFolder): Add getAppDataDirectoryName method
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:39 +07:00
Marcel Klehr
29cbb3cf71
chore: Run cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:39 +07:00
Marcel Klehr
86317bbf4d
refactor: Move validation to EShapeType
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:39 +07:00
Marcel Klehr
ee7592ffdd
fix: Run cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:39 +07:00
Marcel Klehr
17486ad15b
fix: Add RemoveOldTasksBackgroundJob to repair step that instantiates it
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:39 +07:00
Marcel Klehr
4b2acee64b
test: Add OldTasksShouldBeCleanedUp test
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:39 +07:00
Marcel Klehr
8352b27c11
fix: weed out some psalm errors and run cs:fix
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:39 +07:00
Marcel Klehr
00894e2420
feat: first pass at TaskProcessing API
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:39 +07:00
Robin Appelman
d76de94c5b
Merge pull request #44791 from nextcloud/reshare-permission-logic
...
fix: consider all paths the user has for a share source when considering max permissions
2024-05-13 16:00:10 +07:00
Julius Härtl
c4e32d33e0
Merge pull request #44953 from nextcloud/perf/44951/lock-provider
...
perf(ILockManager): Allow registering a lock provider lazy
2024-05-13 14:21:28 +07:00
Côme Chilliet
2d40dae4af
Merge pull request #45233 from nextcloud/fix/touch-propagate-size
...
fix: Avoid updating size when calling touch on a file
2024-05-13 11:48:06 +07:00
Côme Chilliet
e68544d9f4
Merge pull request #43794 from nextcloud/fix/files/scanner-metadata-diff
...
fix(files): handle multidimensional arrays in scanner
2024-05-13 11:05:40 +07:00
derschiw
28807b2a12
fix(SystemConfig.php): Add 'updater.server.url' to Private Variables
...
Add "updater.server.url" to the privacy redacted values, as it may contain the enterprise key.
Signed-off-by: derschiw <37687705+derschiw@users.noreply.github.com>
2024-05-13 10:37:17 +07:00
provokateurin
aff7798fc1
refactor(provisioning_api): Add types for user details scopes
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-05-11 09:22:19 +07:00
provokateurin
4c5e05f37e
fix(Router): Stop loading routes of disabled apps
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-05-10 07:22:25 +07:00
Josh
3c3e45f0ad
fix(Files): Change how scanner diffs for changed metadata
...
Fixes #43408
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-05-08 08:36:42 +07:00
Julius Härtl
24e0d5023c
fix: Avoid updating size when calling touch on a file
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-05-08 11:50:20 +07:00
Joas Schilling
02ebbfb4ea
fix(userstatus): Fix docs of user status manager
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-05-07 14:31:28 +07:00
Christoph Wurst
6258823aba
Merge pull request #45058 from nextcloud/perf/db/sort-before-chunking
...
perf(db): Sort data for IN before chunking
2024-05-07 12:11:32 +07:00
Josh
4509a17cdd
fix(User\Manager): Avoid future collisions with updater/audit logs
...
Avoid future collisions for not yet created updater and audit log files (at least using default names).
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-05-06 09:20:38 +07:00
provokateurin
ce53a7ad81
fix(OC_Image): Set correct return type for exif_imagetype stub
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-05-06 13:34:27 +07:00
Marcel Klehr
d1ed8bd5e9
Merge pull request #30359 from nextcloud/enh/background-job-class
...
Allow calling cron jobs background job class with occ
2024-05-06 10:23:25 +07:00
Joas Schilling
2c2c3738f8
Merge pull request #45093 from nextcloud/bugfix/noid/avoid-getKey-race-condition
...
fix(session): Avoid race condition for cache::get() vs. cache::hasKey()
2024-05-06 08:13:27 +07:00
Robin Appelman
4c085ef129
fix: cleanup logic for getting the max reshare permissions
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-03 14:53:18 +07:00
Daniel
dbd2bc7a66
Merge pull request #45140 from nextcloud/fix-fileaccess-single
...
fix: fix FileAccess::getByFileId(InStorage)
2024-05-02 19:10:14 +07:00
Julien Veyssier
d967151f52
fix(bg-jobs): review adjustments
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-05-02 16:43:42 +07:00
Julien Veyssier
1acc57b5c0
feat(bg-jobs): allow setting a job class list instead of a single class in cron.php and the job worker occ command
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-05-02 16:43:41 +07:00
Marcel Klehr
352d79deee
fix(bg-jobs): fix psalm issues
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-02 16:43:41 +07:00
Marcel Klehr
a3d8632fbe
fix(bg-jobs): fix minor issues
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-02 16:43:41 +07:00
Julius Härtl
8400bfee01
feat(bg-jobs): Add background worker occ command
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-05-02 16:43:41 +07:00
Julius Härtl
52eb6d8726
feat(bg-jobs): Allow calling cron.php with a background job class
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-05-02 16:43:40 +07:00
John Molakvoæ
d4a6a700da
Merge pull request #39247 from nextcloud/query-log-backtrace
2024-05-02 12:03:34 +07:00
Joas Schilling
e5f5f06b1b
Merge pull request #45122 from nextcloud/techdebt/noid/remove-temporary-executeUpdate
...
fix(querybuilder): Remove temporary internal method executeUpdate()
2024-05-02 11:06:50 +07:00
Robin Appelman
d6be80ceaf
feat: add option to add backtrace to the query logger
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-01 18:12:16 +07:00
Robin Appelman
8d870a32c2
fix: fix FileAccess::getByFileId(InStorage)
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-01 18:00:20 +07:00
Robin Appelman
ccd56672e8
refactor: remove non-shallow getSharesInFolder
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-01 16:46:06 +07:00
Nextcloud bot
a8d077f0ce
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-01 00:20:27 +07:00
Julius Härtl
ff3fc85d10
perf(ILockManager): Allow registering a lock provider lazy
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-04-30 22:28:06 +07:00
Joas Schilling
90ba7db0fb
fix(querybuilder): Remove temporary internal method executeUpdate()
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-30 15:13:12 +07:00
Daniel Kesselberg
fedc80d4ea
chore: remove unnecessary ini_set
...
Changing gc_maxlifetime cannot have any effect because this configuration option does not exist. There is a configuration option named session.gc_maxlifetime.
I removed the ini_set call because autoconfiguring is error-prone, and the current code could never have worked as intended.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-04-30 12:45:25 +07:00
Côme Chilliet
eb25e10f55
fix: Avoid reference use in AppConfig
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:38:47 +07:00
Côme Chilliet
ed4603c5aa
fix: Fix small psalm errors in legacy
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:38:47 +07:00
Côme Chilliet
af728c5ff6
fix: Fix tiny phpdoc errors related to Share
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:24:01 +07:00
Côme Chilliet
0df6048693
fix: Fix phpdoc typing in DirectEditing\Manager
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:24:01 +07:00
Côme Chilliet
2333657fb6
fix: Improve typing in Archive/TAR.php
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:24:00 +07:00
Côme Chilliet
ece3588252
fix: Improve typing of mimetype aliases
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:24:00 +07:00
Côme Chilliet
b7acecd006
fix: Fix default values for ini var in lib/base.php
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:23:59 +07:00
Côme Chilliet
26c4ca264f
fix: Remove bogus code from query builder and fix parameter name
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:23:58 +07:00
Côme Chilliet
672923f0a6
fix: Fix newly spotted psalm issues, add exhaustive typed magic properties for LDAP classes
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:23:58 +07:00
Nextcloud bot
fce8f97779
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-30 00:20:32 +07:00
Côme Chilliet
147426c3ca
Merge pull request #44968 from nextcloud/fix/drop-workaround-for-obsolete-php
...
fix: Drop workarounds for unsupported obsolete PHP versions
2024-04-29 15:31:04 +07:00
Julius Härtl
04780ae30a
fix: Always set last activity if we update the row of an authtoken anyways
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-04-29 15:20:17 +07:00
Joas Schilling
bc4a102f52
fix(session): Avoid race condition for cache::get() vs. cache::hasKey()
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-29 12:45:44 +07:00
Julius Härtl
2c059dd606
Merge pull request #44952 from nextcloud/perf/44951/template-creator
...
perf(templates): Emit RegisterTemplateCreatorEvent to register template creators more lazy
2024-04-29 08:27:07 +07:00
Nextcloud bot
6e94aba264
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-27 00:20:09 +07:00
Christoph Wurst
21ee7f59bd
fix(session): Do not update authtoken last_check for passwordless
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-04-26 16:05:18 +07:00
Christoph Wurst
f3d6309e36
perf(db): Sort data for IN before chunking
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-04-26 15:38:29 +07:00
Robin Appelman
40d9a3fcab
feat: add option to enable s3 acceleration
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-04-26 14:40:24 +07:00
Nextcloud bot
94282863cb
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-26 00:21:00 +07:00
Nextcloud bot
1f2ad209b3
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-25 00:20:44 +07:00
Joas Schilling
cdb40a3110
fix(openstack): Fix psalm issue with updated openstack version
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-24 07:01:57 +07:00
Nextcloud bot
878538ca54
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-24 00:20:17 +07:00
Joas Schilling
a399de1b22
Merge pull request #44962 from nextcloud/dependabot/composer/sabre/dav-4.6.0
...
chore(deps): Bump sabre/dav from 4.5.0 to 4.6.0
2024-04-23 13:45:55 +07:00
Côme Chilliet
9a51d295c7
Merge pull request #44966 from nextcloud/fix/add-missing-docblock-parameter-querybuilder
...
chore: Add missing parameter to docblock tag psalm-taint-sink
2024-04-23 11:14:02 +07:00
Pytal
aa4e0bbcc9
Merge pull request #44973 from nextcloud/feat/legal-privacy-links
...
feat: Add legal notice and privacy policy links to help page
2024-04-23 01:32:31 +07:00
Velwark
535d5de037
Update LoggerWrapperCache.php
...
Extra Dollar Sign caused errors in Nextcloud. Removing the Dollar Sign Solved the Problem.
Signed-off-by: Velwark <levinfrerich9@gmail.com>
2024-04-23 09:54:44 +07:00
Nextcloud bot
8b8463e126
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-23 00:20:44 +07:00
Christopher Ng
3082bdc788
feat: Update help entry name
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-22 15:19:59 +07:00
Joas Schilling
7cfe36e49b
fix(storage): Fix DAV storage as false is never returned
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-22 21:06:00 +07:00
Côme Chilliet
5d1ca7e25a
fix: Drop workarounds for unsupported obsolete PHP versions
...
Also improved error handling in Installer.php to be type safe.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 16:55:42 +07:00
Côme Chilliet
37c89f4191
Merge pull request #44025 from nextcloud/fix/remove-oc-app-calls
...
Migrate away from OC_App and toward IAppManager.
2024-04-22 16:41:15 +07:00
Côme Chilliet
6d291ac260
chore: Add missing parameter to docblock tag psalm-taint-sink
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 16:38:08 +07:00
Côme Chilliet
ac1d868d18
fix: Lazy load IURLGenerator from AppManager to avoid installation crash
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 15:50:06 +07:00
Benjamin Gaussorgues
7a6b1f8ae8
fix(groups): allows to save group names with more than 64 characters
...
Mimic behaviour from LDAP users and add a hard limit to 255 characters
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-04-22 15:26:55 +07:00
Julius Härtl
f9e235f7f1
perf(templates): Emit RegisterTemplateCreatorEvent to register template creators more lazy
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-04-22 15:23:55 +07:00
Robin Appelman
deac58ab7e
Merge pull request #44884 from nextcloud/query-req-id
...
feat: add request id as comment to all queries
2024-04-22 13:03:55 +07:00
Côme Chilliet
a0be3ffdf2
fix: Fix tests following OC_App migrations to IAppManager
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 12:21:55 +07:00
Côme Chilliet
733a818139
fix: Migrate a few more classes away from OC_App::getAppPath
...
Also fixed AppTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 12:19:01 +07:00
Côme Chilliet
0e7bac72ae
fix: Make sure that AppManager can be built before Nextcloud is installed
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 12:17:31 +07:00
Côme Chilliet
644036ab4e
fix: Migrate away from OC_App toward the IAppManager
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 12:14:58 +07:00
Nextcloud bot
2be7b12fd5
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-20 00:20:02 +07:00
Nextcloud bot
fc560d8ec9
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-19 00:20:24 +07:00
Sam Bull
b6ade7c8e4
fix: regression with updating read-only config
...
Signed-off-by: Sam Bull <git@sambull.org>
2024-04-18 18:40:51 +07:00
Joas Schilling
5fffbcfe86
Merge pull request #44889 from nextcloud/bugfix/noid/skip-cross-storage-move-with-ac
...
fix(files): Also skip cross storage move with access control
2024-04-18 10:48:03 +07:00
Joas Schilling
2161387ac7
Merge pull request #44886 from nextcloud/techdebt/noid/improved-activity-exceptions
...
fix(activity): Improved activity exceptions
2024-04-18 10:05:49 +07:00
Maxence Lange
b75bb088d1
Merge pull request #44640 from nextcloud/fix/noid/returns-real-value-on-details
...
fix(appconfig): returns correct value on details
2024-04-18 07:05:15 +07:00
Joas Schilling
64d32abb48
fix(CI): Suppress psalm UndefinedClass
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-18 09:24:11 +07:00
Nextcloud bot
5447dd3483
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-18 00:20:32 +07:00
Maxence Lange
a624a2b34f
fix(appconfig): returns correct value on details
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-04-17 16:28:02 +07:00