aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Enable fseek for files in S3 storageLukas Stabe2020-05-202-19/+147
| | | | Signed-off-by: Lukas Stabe <lukas@stabe.de>
* Merge pull request #20574 from nextcloud/backport/16035/stable18Morris Jobke2020-05-122-8/+28
|\ | | | | [stable18] dont show remote and email options if we have an exact match for local user email
| * dont show remote and email options if we have an exact match for local user ↵Robin Appelman2020-05-122-8/+28
| | | | | | | | | | | | email Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #20877 from nextcloud/backport/20719/stable18Roeland Jago Douma2020-05-121-2/+11
|\ \ | | | | | | [stable18] Fix languages empty array
| * | Fix languages empty arrayGretaD2020-05-111-2/+11
| |/ | | | | | | Signed-off-by: GretaD <gretadoci@gmail.com>
* | Merge pull request #20924 from nextcloud/backport/20915/stable18Roeland Jago Douma2020-05-111-7/+13
|\ \ | | | | | | [stable18] Use random_bytes
| * | Use random_bytesRoeland Jago Douma2020-05-111-7/+13
| |/ | | | | | | | | | | | | Since we don't care if it is human readbale. The code is backwards compatible with the old format. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / dont try to update storage mtime if we can't get the mtimeRobin Appelman2020-05-011-6/+9
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #20763 from nextcloud/backport/20710/stable18Roeland Jago Douma2020-05-011-10/+5
|\ | | | | [stable18] Fix Argon2 options checks
| * Fix Argon2 options checksMichaIng2020-05-011-10/+5
| | | | | | | | | | | | | | | | | | | | | | The minimum for memory cost is 8 KiB per thread. Threads must be checked and set first to allow checking against the correct memory cost mimimum. Options are now applied the following way: - If config.php contains the setting with an integer higher or equal to the minimum, it is applied. - If config.php contains the setting with an integer lower than the minimum, the minimum is applied. - If config.php does not contain the setting or with no integer value, the PHP default is applied. Signed-off-by: MichaIng <micha@dietpi.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Allow specifying a default expiration dateRoeland Jago Douma2020-05-011-2/+12
|/ | | | | | This overrides the max expiration date. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Adhere to EMailTemplate interface in constructor call.Tekhnee2020-04-271-1/+1
| | | | | Email creation appears to have been refactored lately but it looks like custom template-based emails were left out. Signed-off-by: Tekhnee <info@tekhnee.org>
* Merge pull request #20512 from nextcloud/backport/20246/stable18Roeland Jago Douma2020-04-205-22/+25
|\ | | | | [stable18] Provide the proper language to the mailer
| * Provide the proper language to the mailerRoeland Jago Douma2020-04-185-22/+25
| | | | | | | | | | | | | | Else we can't properly translate the footer in the recipients e-mail language. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | fix credentialsManager documentation and ensure userId to be used as stringArthur Schiwon2020-04-161-6/+6
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #20483 from nextcloud/backport/19936/stable18Roeland Jago Douma2020-04-151-2/+6
|\ | | | | [stable18] Handle unset owner in sharing
| * Handle unset owner in sharingJoas Schilling2020-04-141-2/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Close the streams in `writeStream` even when there is an exceptionRobin Appelman2020-04-151-3/+6
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #20163 from nextcloud/backport/19782/stable18Morris Jobke2020-04-141-9/+18
|\ | | | | [stable18] Use global used space in quota wrappen when external storage is included
| * Use global used space in quota wrappen when external storage is includedRobin Appelman2020-03-251-9/+18
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #20334 from nextcloud/backport/20284/stable18Roeland Jago Douma2020-04-141-2/+4
|\ \ | | | | | | [stable18] Properly catch NoUserException during upload cleanup
| * | Properly hint exceptions thrown by getUserFolderJulius Härtl2020-04-061-2/+4
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Try to use the display name of file transfersJoas Schilling2020-04-081-1/+1
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Dont always use the current users quota when calculating storage infoRobin Appelman2020-04-012-17/+11
| | | | | | | | | | | | | | | | | | | | instead pass the quota as parameter. Without this fix, when 'quota_include_external_storage' is enabled, the webui will show the quota configured for the admin for every user instead of the users quota Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Actually check if the owner is not nullRoeland Jago Douma2020-03-271-0/+5
| | | | | | | | | | | | | | Else this can error out on storages that do not have an owner (e.g. groupfolders). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Check the user on remote wipeJoas Schilling2020-03-251-7/+3
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove admin_notifications since it is obsolete since Nextcloud 14Julius Härtl2020-03-241-1/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update the target when it isempty after sharingRoeland Jago Douma2020-03-181-0/+5
| | | | | | | Hooks that listen to it (audit log) benefit from having the target properly set. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* fix safari useragent for versions with 3 digitsPavel Krasikov2020-03-151-1/+1
| | | | Signed-off-by: Pavel Krasikov <klonishe@gmail.com>
* Do not use the instance name as user part of from mail addressesJulius Härtl2020-03-131-1/+1
| | | | | | | This will cause issues since the theming name can contain characters that are not allowed in the local part of the mail address (like spaces) Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Get correct mimetype on objectstoresRoeland Jago Douma2020-03-121-6/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add message for DoesNotExistExceptionDaniel Kesselberg2020-03-021-2/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Strip of users home path from share api messageJoas Schilling2020-02-221-2/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to overwrite the path on the cache eventJoas Schilling2020-02-171-0/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* when we receive intentional empty whats new info, do not try to show itArthur Schiwon2020-02-141-1/+5
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Don't create invalid usersJoas Schilling2020-02-131-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* disable timeout on app install via cliArthur Schiwon2020-02-122-7/+15
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Allow to serve static mp4 directlyJulius Härtl2020-02-121-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow to serve static webm directlyRoeland Jago Douma2020-02-121-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* always require a message paramter for data loggingArthur Schiwon2020-02-102-1/+12
| | | | | | also ensure it plays well with current log reader Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* log Flow activityArthur Schiwon2020-02-101-1/+24
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #19326 from nextcloud/backport/19303/stable18Roeland Jago Douma2020-02-072-7/+34
|\ | | | | [stable18] Fix occ maintenance:install database connect failure
| * Split the exception handling so install errors don't log as setup errorsJoas Schilling2020-02-061-3/+11
| | | | | | | | | | | | More gebuging Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Check the new connection on setup like with PostgreSQL and OracleJoas Schilling2020-02-061-0/+10
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Only provide the auth method for MySQL 8.0+ to not break MariaDBJoas Schilling2020-02-061-4/+13
| | | | | | | | | | | | Provide the auth method for MySQL 8.0+ Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #19332 from nextcloud/backport/18926/stable18Roeland Jago Douma2020-02-071-1/+1
|\ \ | | | | | | [stable18] Array access on int will fail on php7.4
| * | Use strpos to check that @ is the first charDaniel Kesselberg2020-02-061-1/+1
| |/ | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* / Make sure the default share provider does not execute for other thingsJoas Schilling2020-02-061-0/+3
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix data Apache2 .htaccess typoSimounet2020-02-051-1/+1
| | | | Signed-off-by: Simounet <contact@simounet.net>
* Merge pull request #19297 from nextcloud/backport/19246/stable18Roeland Jago Douma2020-02-051-0/+1
|\ | | | | [stable18] Keep the modification time during decryptFile