summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Add feature policy headerRoeland Jago Douma2019-08-104-0/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the events and the classes to modify the feature policy. It also adds a default restricted feature policy. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Have the OCSBaseResponse call the parent constructorRoeland Jago Douma2019-08-081-1/+2
|/ / / | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #15187 from vitormattos/bugfix-create-database-userRoeland Jago Douma2019-08-081-0/+4
|\ \ \ | | | | | | | | Bugfix: user is not allowed
| * \ \ Merge remote-tracking branch 'nextcloud/master' into bugfix-create-database-userVitor Mattos2019-04-301-1/+3
| |\ \ \
| * \ \ \ Merge remote-tracking branch 'nextcloud/master' into bugfix-create-database-userVitor Mattos2019-04-263-84/+3
| |\ \ \ \
| * | | | | solve code reviewVitor Mattos2019-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | | | | Check if database exists and grand permissionVitor Mattos2019-04-211-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | | | | Bugfix: user is not allowedVitor Mattos2019-04-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The created user don't has permission to connect to database. I changed the code to give permission Signed-off-by: Vitor Mattos <vitor@php.rio>
* | | | | | Properly return an int in the getId function of the cacheRoeland Jago Douma2019-08-071-1/+1
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | fixes #16684 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | Merge pull request #16592 from nextcloud/bugfix/noid/federated-reshareRoeland Jago Douma2019-08-011-2/+3
|\ \ \ \ \ | | | | | | | | | | | | Fix permission check on incoming federated shares
| * | | | | Fix permission check on incoming federated sharesJulius Härtl2019-07-311-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since federated shares have their permissions set on the node, we do not need to check for parent share permissions. Otherwise reshares of incoming federated have no permission variable defined and creating them will fail Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | Add form-action CSP elementRoeland Jago Douma2019-07-311-0/+9
|/ / / / / | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | setting unsafe-eval is deprecatedRoeland Jago Douma2019-07-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be removed in a future version of Nextcloud. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | Merge pull request #16594 from ↵Joas Schilling2019-07-301-29/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/tech-debt/noid/remove-unused-checkPasswordProtectedShare Remove unused OC\Share\Share::checkPasswordProtectedShare
| * | | | | Remove unused OC\Share\Share::checkPasswordProtectedShareMorris Jobke2019-07-291-29/+0
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | | | Merge pull request #16579 from nextcloud/enh/PostLoginEventRoeland Jago Douma2019-07-303-2/+80
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add proper PostLoginEvent
| * | | | | | Add proper PostLoginEventRoeland Jago Douma2019-07-293-2/+80
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can be used by othr mechanisms to listen for this event in a lazy fashion. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | | Merge pull request #16502 from nextcloud/bugfix/16474Morris Jobke2019-07-291-1/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | Check the if we can actually access the storage cache for recent files
| * | | | | | Add additional check for read permissionsJulius Härtl2019-07-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | | | | Check the if we can actually access the storage cache for recent filesJulius Härtl2019-07-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | | Fix typo in commentMorris Jobke2019-07-291-1/+1
| |/ / / / / |/| | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | | | Merge pull request #16582 from nextcloud/enh/split_up_security_middlewareRoeland Jago Douma2019-07-293-43/+87
|\ \ \ \ \ \ | | | | | | | | | | | | | | Split up security middleware
| * | | | | | Split up security middlewareRoeland Jago Douma2019-07-273-43/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With upcoming work for the feature policy header. Splitting this in smaller classes that just do 1 thing makes sense. I rather have a few small classes that are tiny and do 1 thing right (and we all understand what is going on) than have big ones. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | | | Merge pull request #16570 from nextcloud/enh/supress_touch_errorRoeland Jago Douma2019-07-291-2/+2
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Supress warnings touch can generate
| * | | | | | Supress warnings touch can generateRoeland Jago Douma2019-07-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already catch the result value. Having the warning being logged explicitly doesn't help and polutes the log. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | | | Merge pull request #16558 from nextcloud/enh/less_verbose_locked_loggingRoeland Jago Douma2019-07-271-3/+3
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Do not log all locked exceptions
| * | | | | | Do not log all locked exceptionsRoeland Jago Douma2019-07-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can happen for valid reasons (multiple users writing at the same time) with for example the text app. Apps should properly handle it. No reason to log it by default. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | | | Merge pull request #16555 from nextcloud/fix/16529/mask-keysMorris Jobke2019-07-261-4/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | use a pattern to identify sensitive config keys
| * | | | | | | treat sensitive config keys by patternArthur Schiwon2019-07-261-4/+5
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | | | | Merge pull request #16456 from nextcloud/dep/searchByTagRoeland Jago Douma2019-07-265-78/+0
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Remove deprecated searchByTag
| * | | | | | Remove deprecated searchByTagRoeland Jago Douma2019-07-265-78/+0
| |/ / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | | Merge pull request #16461 from nextcloud/fix/noid/pgsql-versionRoeland Jago Douma2019-07-261-2/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | | fixes the check for postgresql
| * | | | | fixes the check for postgresqlArthur Schiwon2019-07-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | | | PHPStorm code cleanupJoas Schilling2019-07-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | Get the topmost parent for the parent instead of doing endless recursionJoas Schilling2019-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | Merge pull request #16492 from nextcloud/enh/exclude-rnd-filesMorris Jobke2019-07-231-4/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | Exclude .rnd files from integrity check
| * | | | | | Exclude .rnd files from integrity checkDaniel Kesselberg2019-07-211-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | | | Merge pull request #16450 from ↵Morris Jobke2019-07-222-30/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/tech-debt/noid/cleanup-unused-OC_API-methods Removes unused OC_API::register
| * | | | | | | Adjust deprecation testsMorris Jobke2019-07-221-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | | | | | Removes unused OC_API::registerMorris Jobke2019-07-181-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | | | | | Pass $configargs to openssl_pkey_exportDaniel Kesselberg2019-07-211-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | | | | Merge pull request #14954 from tacruc/searchPatternsMorris Jobke2019-07-191-1/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Allow to search for real pattern in contacts
| * | | | | | | | Allow to search for real pattern in contactsArne Hamann2019-05-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added an option escape_like_param to allow wildcards Signed-off-by: Arne Hamann <kontakt+github@arne.email>
* | | | | | | | | Merge pull request #16452 from ↵Morris Jobke2019-07-183-0/+13
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/bug/noid/error-with-exception-on-ssl-error Error with exception on SSL error
| * | | | | | | | Error with exception on SSL errorMorris Jobke2019-07-183-0/+13
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | | | | | Merge pull request #16380 from Dreamsorcerer/patch-1Roeland Jago Douma2019-07-181-1/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Allow use of server var for CSP nonce
| * | | | | | | | Add support for CSP_NONCE server variableSam Bull2019-07-181-1/+5
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow passing a nonce from the web server, allowing the possibility to enforce a strict CSP from the web server. Signed-off-by: Sam Bull <git@sambull.org> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / / / / / / / Reduce indirection in AppManagerMorris Jobke2019-07-181-1/+1
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | | | | Merge pull request #16440 from marcelklehr/fix/objectstorage-put-contentsMorris Jobke2019-07-171-4/+4
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | Fix File#putContents(string) on ObjectStorage
| * | | | | | Fix File#putContents(string) on ObjectStorageMarcel Klehr2019-07-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>