Commit Graph

14478 Commits (master)

Author SHA1 Message Date
Christoph Wurst fe7217d2d3
Merge pull request #45026 from nextcloud/fix/token-update
Avoid updating the same oc_authtoken row twice
2 weeks ago
Joas Schilling 4286660983
fix: Extend SVG reference check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 weeks ago
Joas Schilling bd6989d365
Merge pull request #44710 from nextcloud/pulsejet/imagick-check-type
fix(preview): check mime type before processing with Imagick
2 weeks ago
Anna b24ac6bc71
Merge pull request #45321 from nextcloud/bugfix/noid/check-function-call
fix: Correctly check result of function
3 weeks ago
Simon L bc013ef5e7
Merge pull request #45057 from nextcloud/enh/noid/server-log
feat(exception-template): allow to link to specific documentation for how to retreive server log
3 weeks ago
Joas Schilling b627e6efe4 fix: Correctly check result of function
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 weeks ago
Marcel Klehr 6c4992de54 fix: expose lastUpdated in OCS API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Simon L. 620d10c842 feat(exception-template): allow to link to specific documentation for how to retreive server log
Signed-off-by: Simon L <szaimen@e.mail.de>
3 weeks ago
Marcel Klehr cac812dc58 fix: address review comments
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr 8d063386d2 fix: Fix pass-through stt provider
Wasn't able to load File from app data

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr c1f84aaad1 fix(Manager#fillInputs): Try to setup user FS before access file inputs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr ac36c788d7 fix(SynchronousBackgroundJob): Only reschedule when needed
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr c02049033a Update lib/private/TaskProcessing/Manager.php
Co-authored-by: julien-nc <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr e4b1d23768 fix(Manager#fillInputData): Load user folder if needed
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr a8afa7f23d fix(OCS-API): Add endpoint to list user tasks
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr 19a0aaeb5e fix(TextToImage): Allow leaving the resources open
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr eff862b583 fix: run cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr c079a61181 feat: Add cancel endpoint to OCS API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr f2ab6cb0a9 fix: fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr 4a3b9b826e refactor: identifier is now customId/custom_id
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr fff2fb8e77 fix: psalm issue
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr ec27c538b5 fix: address review comments
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr 2c878099f1 fix: address review comments
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr a5053d33c2 fix: Run cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr 6203c1c7da fix: Check if user is authorized to use the files they mentioned
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr 996e5074ca feat: Remove stale files in AppData as well
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr 3593d9b631 fix: psalm issue
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr bd5dfd0b5f test: Add more tests for legacy pass-through
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr eebeb82416 fix: Small fixes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr 4b954d2227 fix: Wire-up the new classes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr b150d779f3 refactor: rename getTaskType to getTaskTypeId
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr c9ea5375d8 fix: Fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr 843bb62d6d fix: LazyRoot missing method
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr 7a947980db fix: Fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr 86317bbf4d refactor: Move validation to EShapeType
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr ee7592ffdd fix: Run cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr 17486ad15b fix: Add RemoveOldTasksBackgroundJob to repair step that instantiates it
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr 4b2acee64b test: Add OldTasksShouldBeCleanedUp test
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr 8352b27c11 fix: weed out some psalm errors and run cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
Marcel Klehr 00894e2420 feat: first pass at TaskProcessing API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
3 weeks ago
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
3 weeks ago
Julius Härtl c4e32d33e0
Merge pull request #44953 from nextcloud/perf/44951/lock-provider
perf(ILockManager): Allow registering a lock provider lazy
3 weeks ago
Côme Chilliet 2d40dae4af
Merge pull request #45233 from nextcloud/fix/touch-propagate-size
fix: Avoid updating size when calling touch on a file
3 weeks ago
Côme Chilliet e68544d9f4
Merge pull request #43794 from nextcloud/fix/files/scanner-metadata-diff
fix(files): handle multidimensional arrays in scanner
3 weeks ago
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>
3 weeks ago
provokateurin aff7798fc1
refactor(provisioning_api): Add types for user details scopes
Signed-off-by: provokateurin <kate@provokateurin.de>
3 weeks ago
provokateurin 4c5e05f37e
fix(Router): Stop loading routes of disabled apps
Signed-off-by: provokateurin <kate@provokateurin.de>
3 weeks ago
Josh 3c3e45f0ad fix(Files): Change how scanner diffs for changed metadata
Fixes #43408 

Signed-off-by: Josh <josh.t.richards@gmail.com>
4 weeks ago
Julius Härtl 24e0d5023c
fix: Avoid updating size when calling touch on a file
Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 weeks ago
Christoph Wurst 6258823aba
Merge pull request #45058 from nextcloud/perf/db/sort-before-chunking
perf(db): Sort data for IN before chunking
4 weeks ago
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>
4 weeks ago
provokateurin ce53a7ad81
fix(OC_Image): Set correct return type for exif_imagetype stub
Signed-off-by: provokateurin <kate@provokateurin.de>
4 weeks ago
Marcel Klehr d1ed8bd5e9
Merge pull request #30359 from nextcloud/enh/background-job-class
Allow calling cron jobs background job class with occ
4 weeks ago
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()
4 weeks ago
Robin Appelman 4c085ef129
fix: cleanup logic for getting the max reshare permissions
Signed-off-by: Robin Appelman <robin@icewind.nl>
4 weeks ago
Daniel dbd2bc7a66
Merge pull request #45140 from nextcloud/fix-fileaccess-single
fix: fix FileAccess::getByFileId(InStorage)
1 month ago
Julien Veyssier d967151f52
fix(bg-jobs): review adjustments
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
1 month ago
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>
1 month ago
Marcel Klehr 352d79deee
fix(bg-jobs): fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 month ago
Marcel Klehr a3d8632fbe
fix(bg-jobs): fix minor issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 month ago
Julius Härtl 8400bfee01
feat(bg-jobs): Add background worker occ command
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 month ago
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>
1 month ago
John Molakvoæ d4a6a700da
Merge pull request #39247 from nextcloud/query-log-backtrace 1 month ago
Robin Appelman d6be80ceaf
feat: add option to add backtrace to the query logger
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 month ago
Robin Appelman 8d870a32c2
fix: fix FileAccess::getByFileId(InStorage)
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 month ago
Robin Appelman ccd56672e8
refactor: remove non-shallow getSharesInFolder
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 month ago
Julius Härtl ff3fc85d10 perf(ILockManager): Allow registering a lock provider lazy
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 month ago
Joas Schilling 90ba7db0fb
fix(querybuilder): Remove temporary internal method executeUpdate()
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 month ago
Côme Chilliet eb25e10f55
fix: Avoid reference use in AppConfig
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 month ago
Côme Chilliet ed4603c5aa
fix: Fix small psalm errors in legacy
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 month ago
Côme Chilliet af728c5ff6
fix: Fix tiny phpdoc errors related to Share
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 month ago
Côme Chilliet 0df6048693
fix: Fix phpdoc typing in DirectEditing\Manager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 month ago
Côme Chilliet 2333657fb6
fix: Improve typing in Archive/TAR.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 month ago
Côme Chilliet ece3588252
fix: Improve typing of mimetype aliases
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 month ago
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>
1 month ago
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>
1 month ago
Côme Chilliet 147426c3ca
Merge pull request #44968 from nextcloud/fix/drop-workaround-for-obsolete-php
fix: Drop workarounds for unsupported obsolete PHP versions
1 month ago
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>
1 month ago
Joas Schilling bc4a102f52
fix(session): Avoid race condition for cache::get() vs. cache::hasKey()
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 month ago
Julius Härtl 2c059dd606
Merge pull request #44952 from nextcloud/perf/44951/template-creator
perf(templates): Emit RegisterTemplateCreatorEvent to register template creators more lazy
1 month ago
Christoph Wurst 21ee7f59bd
fix(session): Do not update authtoken last_check for passwordless
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
1 month ago
Christoph Wurst f3d6309e36
perf(db): Sort data for IN before chunking
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
1 month ago
Robin Appelman 40d9a3fcab
feat: add option to enable s3 acceleration
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 month ago
Joas Schilling cdb40a3110
fix(openstack): Fix psalm issue with updated openstack version
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 month ago
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
1 month ago
Pytal aa4e0bbcc9
Merge pull request #44973 from nextcloud/feat/legal-privacy-links
feat: Add legal notice and privacy policy links to help page
1 month ago
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>
1 month ago
Christopher Ng 3082bdc788 feat: Update help entry name
Signed-off-by: Christopher Ng <chrng8@gmail.com>
1 month ago
Joas Schilling 7cfe36e49b
fix(storage): Fix DAV storage as false is never returned
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 month ago
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>
1 month ago
Côme Chilliet 37c89f4191
Merge pull request #44025 from nextcloud/fix/remove-oc-app-calls
Migrate away from OC_App and toward IAppManager.
1 month ago
Côme Chilliet ac1d868d18
fix: Lazy load IURLGenerator from AppManager to avoid installation crash
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 month ago
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>
1 month ago
Julius Härtl f9e235f7f1 perf(templates): Emit RegisterTemplateCreatorEvent to register template creators more lazy
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 month ago
Robin Appelman deac58ab7e
Merge pull request #44884 from nextcloud/query-req-id
feat: add request id as comment to all queries
1 month ago
Côme Chilliet a0be3ffdf2
fix: Fix tests following OC_App migrations to IAppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 month ago
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>
1 month ago
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>
1 month ago
Côme Chilliet 644036ab4e
fix: Migrate away from OC_App toward the IAppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 month ago
Sam Bull b6ade7c8e4 fix: regression with updating read-only config
Signed-off-by: Sam Bull <git@sambull.org>
1 month ago