summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #26463 from Worteks/fix-s3proxyJulius Härtl2021-07-142-2/+15
|\
| * fix(proxy): use accessorMaxime Besson2021-06-301-2/+2
| | | | | | | | Signed-off-by: Maxime Besson <maxime.besson@worteks.com>
| * fix(proxy): reaching s3 storage behind some http proxyMaxime Besson2021-04-091-4/+4
| | | | | | | | Signed-off-by: Maxime Besson <maxime.besson@worteks.com>
| * fix(proxy): reaching s3 storage behind some http proxySamuel2021-04-092-2/+15
| | | | | | | | Signed-off-by: Maxime Besson <maxime.besson@worteks.com>
* | Merge pull request #27884 from nextcloud/enh/cloud-id-localblizzz2021-07-144-15/+38
|\ \ | | | | | | Allow to get a local cloud id without going through the contacts manager
| * | Allow to get a local cloud id without going through the contacts managerJulius Härtl2021-07-143-14/+37
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | Directly return cloud id from userJulius Härtl2021-07-141-1/+1
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #27761 from ↵Julius Härtl2021-07-141-1/+1
|\ \ \ | |/ / |/| | | | | | | | nextcloud/bugfix/noid/also-hide-group-from-direct-match Also hide group from direct matches
| * | Also hide group from direct matchesJoas Schilling2021-07-021-1/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #27631 from yan12125/php8-fix-error-reportingJulius Härtl2021-07-131-1/+1
|\ \ \
| * | | Correctly skip suppressed errors in PHP 8.0Chih-Hsuan Yen2021-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applies the suggested transformation mentioned in https://www.php.net/manual/en/migration80.incompatible.php, > The @ operator will no longer silence fatal errors (E_ERROR, > E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR, E_RECOVERABLE_ERROR, > E_PARSE). Error handlers that expect error_reporting to be 0 when > @ is used, should be adjusted to use a mask check instead The new code still works on PHP 7, as error_reporting() already returns 0 when diagnostics are suppressed. This fixes https://github.com/nextcloud/server/issues/25807 in PHP 8.0. For PHP 7.x, https://github.com/nextcloud/server/pull/22243 suppresses the E_NOTICE message from the second session_start() call with the error suppression operator @, and thus those E_NOTICE messages are still logged in PHP 8.0. See also https://github.com/nextcloud/server/issues/25806 Signed-off-by: Chih-Hsuan Yen <yan12125@gmail.com>
* | | | Merge pull request #26481 from ghost/fdroidJulius Härtl2021-07-132-0/+23
|\ \ \ \
| * | | | Add F-DroidHouraisanNEET2021-07-042-0/+23
| | | | | | | | | | | | | | | | | | | | Signed-off-by: HouraisanNEET <HouraisanNEET@users.noreply.github.com>
* | | | | Merge pull request #27852 from ↵Julius Härtl2021-07-134-7/+7
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | nextcloud/bugfix/noid/allow-casting-query-functions
| * | | | Allow casting query functions as wellJoas Schilling2021-07-074-7/+7
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Check for !== false instead Lukas Reschke2021-07-121-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | | | Check if dns_get_record returns non-falseLukas Reschke2021-07-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `dns_get_record` can return false which results in exceptions such as the ones shown in https://github.com/nextcloud/server/issues/27870. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | | | [tx-robot] updated from transifexNextcloud bot2021-07-102-2/+2
| | | | |
* | | | | [tx-robot] updated from transifexNextcloud bot2021-07-092-0/+26
| | | | |
* | | | | [tx-robot] updated from transifexNextcloud bot2021-07-082-0/+4
| | | | |
* | | | | Fixes recursion count incrementationSanpi2021-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Sanpi <sanpi@homecomputing.fr>
* | | | | Refactor getEncryptionModule routineJ0WI2021-07-061-17/+13
|/ / / /
* | | | Merge pull request #27801 from nextcloud/enh/noid/hardening-dns-pin-middlewarekesselb2021-07-061-13/+28
|\ \ \ \ | | | | | | | | | | Ignore subdomain for soa queries
| * | | | Ignore subdomain for soa queriesDaniel Kesselberg2021-07-051-13/+28
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | Merge pull request #27818 from nextcloud/fix/locking-cache-checkkesselb2021-07-061-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix in locking cache check
| * | | | | Fix in locking cache checkMichaIng2021-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The intention obviously was to check whether $lockingCacheClass is defined, and existing class, and available. It was however checked whether the $distributedCacheClass is an existing class, which would have caused an exception already in the previous distributed cache check. Signed-off-by: MichaIng <micha@dietpi.com>
* | | | | | [tx-robot] updated from transifexNextcloud bot2021-07-062-0/+4
|/ / / / /
* | | | | Merge pull request #27794 from ↵Christoph Wurst2021-07-051-6/+18
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/fix/clarify-lazy-event-listener-container Clarify that lazy event listeners are built from the server container
| * | | | | Clarify that lazy event listeners are built from the server containerChristoph Wurst2021-07-051-6/+18
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Ref https://github.com/nextcloud/server/issues/27793 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | Merge pull request #27767 from nextcloud/enh/20515/maintenance-mode-infoPytal2021-07-051-2/+2
|\ \ \ \ \ | | | | | | | | | | | | Improve maintenance mode info
| * | | | | Improve maintenance mode infoszaimen2021-07-021-2/+2
| | |_|/ / | |/| | | | | | | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* | | | | Merge pull request #27799 from nextcloud/bug/26425/check-return-encryptLukas Reschke2021-07-051-6/+16
|\ \ \ \ \ | | | | | | | | | | | | Throw exception if encrypting the data failed.
| * | | | | Throw exception if encrypting the data failed.Daniel Kesselberg2021-07-051-6/+16
| | |/ / / | |/| | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | Merge pull request #27758 from nullspoon/fix-dns-pinningJohn Molakvoæ2021-07-051-5/+12
|\ \ \ \ \
| * | | | | Fix DnsPinMiddleware resolve pinning bugAaron Ball2021-07-021-5/+12
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Libcurl expects the value of the CURLOPT_RESOLVE configurations to be an array of strings, those strings containing a comma delimited list of resolved IPs for each host:port combination. The original code here does create that array with the host:port:ip combination, but multiple ips for a single host:port result in additional array entries, rather than adding them to the end of the string with a comma. Per the libcurl docs, the `CURLOPT_RESOLVE` array entries should match the syntax `host:port:address[,address]`. This creates a function-scoped associative array which uses `host:port` as the key (which are supposed to be unique and this ensures that), and the value is an array containing IP strings (ipv4 or ipv6). Once the associative array is populated, it is then set to the CURLOPT_RESOLVE array, imploding the ip arrays using a comma delimiter so the array syntax matches the expected by libcurl. Note that this reorders the "foreach ip" and "foreach port" loops. Rather than looping over ips then ports, we now loop over ports then ips, since ports are part of the unique host:port map, and multiple ips can exist therein. Signed-off-by: Aaron Ball <nullspoon@oper.io>
* / / / / Check that pdo is installedDaniel Kesselberg2021-07-051-1/+4
|/ / / / | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* / / / dont include folder being search in in the resultsRobin Appelman2021-07-021-1/+7
|/ / / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #27533 from Rid/masterblizzz2021-07-011-2/+2
|\ \ \ | | | | | | | | Fix scanner mistaking socket files for directories
| * | | Fix scanner mistaking socket files for directoriesRid2021-06-171-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Rid <rid@cylo.io>
* | | | Merge pull request #27586 from nextcloud/bugfi/noid/objectstore-checksumblizzz2021-07-011-0/+1
|\ \ \ \ | | | | | | | | | | Reset checksum when writing files to object store
| * | | | Reset checksum when writing files to object storeJulius Härtl2021-06-211-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | Merge pull request #26681 from nextcloud/techdebt/hint-exception-ocpJulius Härtl2021-07-0128-82/+134
|\ \ \ \ \ | | | | | | | | | | | | Move HintException to OCP
| * | | | | Migrate HintException to OCPGary Kim2021-06-3028-82/+134
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* | | | | | [tx-robot] updated from transifexNextcloud bot2021-07-014-14/+14
|/ / / / /
* | | | | ensure that factoryClass exisits before instantiationArthur Schiwon2021-06-301-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | | Merge pull request #27700 from nextcloud/deprecate-remoteblizzz2021-06-308-0/+34
|\ \ \ \ \ | | | | | | | | | | | | Deprecate OCP\Remote
| * | | | | Deprecate OCP\RemoteLukas Reschke2021-06-288-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is unused. Fixes https://github.com/nextcloud/server/issues/25780 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | | | | cleanupArthur Schiwon2021-06-301-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | | | adjust internal data handling logic to fix store and loadArthur Schiwon2021-06-304-136/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - format as stored previously in oc_accounts table is kept Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | | | adjust email verification checkerArthur Schiwon2021-06-301-16/+18
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>