summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #28009 from nextcloud/enh/21045/quota-restrictionsJulien Veyssier2021-07-301-0/+12
|\ | | | | Add quota restrictions options
| * refs #21045 add app config to disable unlimited quota and to set max quotaJulien Veyssier2021-07-291-0/+12
| | | | | | | | | | | | | | | | | | avoid unlimited quota as default_quota fallback value if unlimited quota is not allowed avoid getting/setting/displaying unlimited default quota if not allowed implement tests for unlimited quota restrictions Signed-off-by: Julien Veyssier <eneiluj@posteo.net> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* | Remove some mentions of ownCloud from our api documentationCarl Schwan2021-07-293-5/+5
|/ | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #28175 from nextcloud/jail-search-rootJulius Härtl2021-07-291-11/+15
|\
| * dont apply jail search filter is on the rootRobin Appelman2021-07-261-11/+15
| | | | | | | | | | | | the extra '/' breaks things and the filter wouldn't do anything anyway except making the databases job harder Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #27886 from ↵Lukas Reschke2021-07-272-0/+10
|\ \ | | | | | | | | | | | | ecsecta/keep_pw_based_authntoken_alive_on_pwlesslogin Keep pw based auth tokens valid when pw-less login happens
| * | prevent the invalidation of pw based authn tokens on a pw less loginTobias Assmann2021-07-162-0/+10
| | | | | | | | | | | | Signed-off-by: Tobias Assmann <tobias.assmann@ecsec.de>
* | | Merge pull request #28075 from nextcloud/enh/noid/admin_audit-report-full-pathJulius Härtl2021-07-261-0/+1
|\ \ \ | | | | | | | | Admin Audit - Sharing: createShare - report the full path
| * | | Admin Audit - Sharing: createShare - report the full pathszaimen2021-07-221-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* | | | Allow empty Redis configVincent Petry2021-07-231-4/+4
|/ / / | | | | | | | | | | | | | | | | | | | | | When Redis config is empty, use defaults. However when a Redis cluster config is specified, the "seeds" attribute is mandatory. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | | Merge pull request #27888 from nextcloud/fix/redis-authJohn Molakvoæ2021-07-221-24/+92
|\ \ \
| * | | Properly support RedisClusterJohn Molakvoæ (skjnldsv)2021-07-221-16/+22
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | | Support redis user password auth and tls encryptionJohn Molakvoæ (skjnldsv)2021-07-201-22/+84
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | Merge pull request #28082 from nextcloud/improve-exception-serializerLukas Reschke2021-07-211-1/+57
|\ \ \ \ | | | | | | | | | | Sanitize more functions from the encryption app
| * | | | Sanitize more functions from the encryption appLukas Reschke2021-07-211-1/+57
| |/ / / | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | | Merge pull request #28077 from nextcloud/heicPerformanceJulius Härtl2021-07-211-2/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Disable HEIC image preview provider for performance concernstobiasKaminsky2021-07-211-2/+1
| | | | | | | | | | | | | | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
* | | | Mask password for Redis and RedisCluster on connection failureDaniel Kesselberg2021-07-191-0/+6
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | Merge pull request #27860 from J0WI/alphanumeric-rndJoas Schilling2021-07-164-4/+5
|\ \ \ \ | | | | | | | | | | Introduce ISecureRandom::CHAR_ALPHANUMERIC
| * | | | Introduce ISecureRandom::CHAR_ALPHANUMERICJ0WI2021-07-084-4/+5
| | |/ / | |/| | | | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | | | 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-143-13/+36
|\ \ \ \ \ | | | | | | | | | | | | 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-142-12/+35
| | | | | | | | | | | | | | | | | | | | | | | | 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-131-0/+14
|\ \ \ \ \ \ \
| * | | | | | | Add F-DroidHouraisanNEET2021-07-041-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: HouraisanNEET <HouraisanNEET@users.noreply.github.com>
* | | | | | | | Merge pull request #27852 from ↵Julius Härtl2021-07-133-5/+5
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | | | | | | | | nextcloud/bugfix/noid/allow-casting-query-functions
| * | | | | | | Allow casting query functions as wellJoas Schilling2021-07-073-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | | 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>
* | | | | | 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>
* | | | | | 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>