summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Fix fail when keys/files folder already existsVincent Petry2022-01-101-1/+5
| | | | | | | | | Fixes an issue with transfer ownership in move mode where the folder "files_encryption/keys/files" already exists. Instead of failing, its existence is checked before calling mkdir. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Deprecate script functionLouis Chemineau2022-01-081-0/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Detect app's script higher up as some scripts were shadowedLouis Chemineau2022-01-081-0/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Move backgroundjob script after main core scriptsJohn Molakvoæ (skjnldsv)2022-01-081-8/+12
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Split common vendor chunkJohn Molakvoæ (skjnldsv)2022-01-083-9/+21
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Restore some line in JSResourceLocator.phpLouis Chemineau2022-01-081-5/+7
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Move bundles to /distJohn Molakvoæ (skjnldsv)2022-01-083-15/+18
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #30378 from nextcloud/feature/accept-multiple-args-on-concatJoas Schilling2022-01-074-6/+30
|\ | | | | Accept multipe args on concat
| * Unit testsVitor Mattos2022-01-071-1/+1
| | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * Accept multipe args on concatVitor Mattos2022-01-064-6/+30
| | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* | Merge pull request #30491 from nextcloud/fix/30374/email-verificationblizzz2022-01-071-1/+4
|\ \ | | | | | | Fix email verification
| * | Fix email verificationChristopher Ng2022-01-061-1/+4
| | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | Merge pull request #30284 from nextcloud/Valdnet-patch-1Joas Schilling2022-01-071-18/+18
|\ \ \ | |/ / |/| | l10n: Separate words and add dots
| * | l10n: Add a text string to translationValdnet2021-12-201-1/+1
| | | | | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
| * | l10n: Add <code>Valdnet2021-12-151-1/+1
| | | | | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
| * | l10n: Add <code>Valdnet2021-12-151-1/+1
| | | | | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
| * | l10n: Separate words and add dotsValdnet2021-12-151-18/+18
| | | | | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | | Merge pull request #29921 from ↵Joas Schilling2022-01-051-4/+28
|\ \ \ | |_|/ |/| | | | | | | | nextcloud/feature/noid/allow-to-count-commments-with-multiple-verbs Allow to count comments with multiple verbs
| * | Allow to count comments with multiple verbsJoas Schilling2021-11-261-4/+28
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #30393 from ↵Joas Schilling2022-01-045-10/+47
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/feature/add-group-concat-aggregator-function Add group_concat aggregator function
| * | | Use quote functionJoas Schilling2022-01-041-6/+2
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Try escaping Oracle single quotesJoas Schilling2022-01-041-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Add a test with integerJoas Schilling2022-01-045-16/+26
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Fix oracle LISTAGGJoas Schilling2022-01-031-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Add unit testVitor Mattos2022-01-034-23/+11
| | | | | | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | | Add unit test and orderBy parameterVitor Mattos2022-01-035-13/+38
| | | | | | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | | Add group_concat aggregator functionVitor Mattos2022-01-033-0/+18
| | | | | | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* | | | Merge pull request #29780 from ↵Joas Schilling2022-01-041-4/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/run-migrations-fuly-on-reenabling Run migrations fully when reenabling an app
| * | | | Run migrations fully when reenabling an appJoas Schilling2021-12-291-4/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Reset job disabling timer on adding the job againJulius Härtl2022-01-031-13/+19
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | Sort app scripts topologically by its dependenciesJonas Meurer2021-12-292-0/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement a proper topological sorting algorithm. Based on the implementation by https://github.com/marcj/topsort.php Logs an error in case a circular dependency is detected. Fixes: #30278 Signed-off-by: Jonas Meurer <jonas@freesources.org>
* | | | | Merge pull request #29530 from nextcloud/bugfix/noid/username-prefillJulius Härtl2021-12-291-0/+4
|\ \ \ \ \
| * | | | | Pass username prefill through unauthenticated request redirectsJulius Härtl2021-12-291-0/+4
| |/ / / / | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* / / / / Make max size for single put uploads configurableJulius Härtl2021-12-292-2/+6
|/ / / / | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #28610 from nextcloud/enh/preview-cleanup-queryJulius Härtl2021-12-283-1/+6
|\ \ \ \ | |/ / / |/| | |
| * | | Use storage filter when fetching previews to cleanupJulius Härtl2021-08-263-1/+6
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Fix php-cs for S3ConnectionTrait.phpJulius Härtl2021-12-211-1/+0
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #27493 from cuppett/cuppett/simplify-aws-credential-providerJulius Härtl2021-12-211-6/+2
|\ \ \ \
| * | | | Simplify S3ConnectionTrait to defaultProvider plus optionStephen Cuppett2021-11-221-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we initially added the EC2 and ECS IAM role support in #24700, we had to use a workaround by explicitly ordering the various providers due to an inconsistency in the AWS SDK for PHP. We submitted a PR there to get that squared away. Now, we've consumed that version upstream for the SDK and can update our code here to be the most concise version as well as position ourselves to pick up new methods as those become available and prevalent in AWS (for acquiring credentials). See also: https://github.com/nextcloud/server/pull/24700#issuecomment-747650892 See also: https://github.com/aws/aws-sdk-php/pull/2172 Signed-off-by: Stephen Cuppett <steve@cuppett.com>
* | | | | Merge pull request #29879 from ↵Julius Härtl2021-12-211-4/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/sharing-enumeration-addressbooks
| * | | | | Do not clear all results when searching from users address booksJulius Härtl2021-12-081-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | Merge pull request #30299 from nextcloud/fix/log_filesJohn Molakvoæ2021-12-202-11/+15
|\ \ \ \ \ \
| * | | | | | Check if directoy is writable instead of possibly missing fileCarl Schwan2021-12-202-11/+15
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | | Merge pull request #30130 from nextcloud/fix/config_is_read_onlyChristoph Wurst2021-12-171-0/+26
|\ \ \ \ \ \ | | | | | | | | | | | | | | Don't write to config file if `config_is_read_only` is set
| * | | | | | Don't write to config file if `config_is_read_only` is setJonas Meurer2021-12-131-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also don't write to cache in this case to prevent cache and config file being out of sync. Fixes: #29901 Signed-off-by: Jonas Meurer <jonas@freesources.org>
* | | | | | | fix translation source in directEditing templatesAzul2021-12-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'Empty file' string is translated in `lib` - not in `core`. Signed-off-by: Azul <azul@riseup.net>
* | | | | | | Avoid deprecation warnings about libxml_disable_entity_loader in PHP 8.1Côme Chilliet2021-12-162-6/+14
| |/ / / / / |/| | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | Merge pull request #30197 from ↵Pytal2021-12-131-3/+12
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | nextcloud/bugfix/noid/always-store-email-lowercase
| * | | | | Use proper app id (settings instead of core)Julius Härtl2021-12-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | | | Make sure strtolower only receives a string to satisfy psalmJoas Schilling2021-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>