summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #12455 from nextcloud/twofactor-backup-settingsRoeland Jago Douma2018-11-141-1/+1
|\ | | | | Don't register twofactor_backup settings as "regular" settings
| * Log invalid settings classRobin Appelman2018-11-141-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Throw exception if decryption failsRoeland Jago Douma2018-11-142-4/+11
|/ | | | | | For #11868 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix SetVcardDatabaseUID when using postgresqlRobin Appelman2018-11-131-1/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* [tx-robot] updated from transifexNextcloud bot2018-11-134-2/+16
|
* Merge pull request #12418 from ↵Morris Jobke2018-11-121-6/+0
|\ | | | | | | | | nextcloud/bugfix/noid/do-not-show-integrity-warning-always Remove outdated integrity warning on each page
| * Remove outdated integrity warning on each pageMorris Jobke2018-11-121-6/+0
| | | | | | | | | | | | | | * integrity warning is shown during update and in the admin setup checks * there is also the plan to retire this old way of notification Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #12419 from ↵Morris Jobke2018-11-121-4/+10
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/group-creation-replace-insertIfNotExist Fix UniqueConstraintViolationException while insert into oc_groups
| * | Fix UniqueConstraintViolationException while insert into oc_groupsMorris Jobke2018-11-121-4/+10
| |/ | | | | | | | | | | | | * fixes race condition in insert * fixes potentiaol deadlock Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #12420 from nextcloud/bugfix/noid/icons-cacher-not-foundMorris Jobke2018-11-121-2/+2
|\ \ | | | | | | Ignore icons if the file could not be found
| * | Do not fail if the icon file doesn't existsJulius Härtl2018-11-121-2/+2
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #11942 from nextcloud/techdebt/noid/use-count-functionMorris Jobke2018-11-1210-22/+21
|\ \ \ | |/ / |/| | Use the defined func()->count() instead of manual counting
| * | Use the defined func()->count() instead of manual countingJoas Schilling2018-11-0810-22/+21
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #12413 from ↵Morris Jobke2018-11-121-1/+12
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/9305/oc_file_locks-unique-constraint Fix UniqueConstraintViolationException while insert into oc_file_locks
| * | | Fix UniqueConstraintViolationException while insert into oc_file_locksMorris Jobke2018-11-121-1/+12
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | * fixes #9305 by not being prone to the race condition in insertIfNotExists * fixes #6899 by not using a query that can result in a deadlock * replaces the insertIfNotExists call with an insert which is wrapped into a try-catch block * followup to #12371 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / | Fix UniqueConstraintViolationException while insert into oc_filecacheMorris Jobke2018-11-121-7/+18
|/ / | | | | | | | | | | | | | | * fixes #6160 by not being prone to the race condition in insertIfNotExists * fixes #12228 by not using a query that can result in a deadlock * replaces the insertIfNotExists call with an insert which is wrapped into a try-catch block Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #12371 from ↵Morris Jobke2018-11-124-6/+38
|\ \ | | | | | | | | | | | | nextcloud/bugfix/12369/catch-unique-constraint-violation-exception-in-insertIfNotExist Catch UniqueConstraintViolationException inside insertIfNotExist
| * | Add deprecation message ofr insertIfNotExistMorris Jobke2018-11-094-0/+4
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Catch UniqueConstraintViolationException inside insertIfNotExistMorris Jobke2018-11-094-6/+34
| | | | | | | | | | | | | | | | | | | | | | | | This is the most common case for the usage of this method. See also https://github.com/nextcloud/server/issues/12369 and the linked tickets. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Make sure to always load the latest icons-vars.css fileJulius Härtl2018-11-121-3/+15
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | [tx-robot] updated from transifexNextcloud bot2018-11-122-0/+2
| | |
* | | [tx-robot] updated from transifexNextcloud bot2018-11-112-0/+2
|/ /
* | Merge pull request #12335 from nextcloud/fix/12319/respect-fixed-usernamesblizzz2018-11-081-0/+3
|\ \ | |/ |/| do not offer to change display name or password, if not possible.
| * do not offer to change display name or password, if not possible.Arthur Schiwon2018-11-071-0/+3
| | | | | | | | | | | | Fixes #12319 Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #12348 from nextcloud/fix/basic_csp_no_longer_deprecatedMorris Jobke2018-11-081-1/+0
|\ \ | | | | | | Basic CSP no longer deprecated
| * | Basic CSP no longer deprecatedRoeland Jago Douma2018-11-081-1/+0
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #12313 from nextcloud/generated-avatar-major-cleanupRoeland Jago Douma2018-11-089-24/+123
|\ \ \ | |/ / |/| | Clear avatar cache with frontend repair
| * | Clear avatar cache with frontend repairJohn Molakvoæ (skjnldsv)2018-11-089-24/+123
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Match mentions when the username is wrapped in quotesJoas Schilling2018-11-071-2/+2
| |/ |/| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #12284 from nextcloud/fix/1020/search_shared_externalMorris Jobke2018-11-061-1/+1
|\ \ | |/ |/| Properly search the root of a shared external storage
| * Properly search the root of a shared external storageRoeland Jago Douma2018-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | Fixes #1020 When an external storage is shared with you in full the root is '' (empty). This adds an extra check for an empty jail basically. Because if the jail is on the empty string. It matches all paths. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | [tx-robot] updated from transifexNextcloud bot2018-11-064-2/+16
| |
* | Merge pull request #11786 from nextcloud/feature/password_confirmation_backendMorris Jobke2018-11-067-3/+67
|\ \ | |/ |/| Expose password confirmation capabilities in the user backend
| * Bump autoloadersRoeland Jago Douma2018-11-022-0/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Expose the info to the JSRoeland Jago Douma2018-11-021-3/+10
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Update password confirmation middlewareRoeland Jago Douma2018-11-021-0/+8
| | | | | | | | | | | | | | If the userbackend doesn't allow validating the password for a given uid then there is no need to perform this check. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Expose the backend of IUserRoeland Jago Douma2018-11-022-0/+11
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * New user backend interface to check if a user can confirm passwordsRoeland Jago Douma2018-11-021-0/+36
| | | | | | | | | | | | | | On some backends (saml for example) users can't revalidate their passwords as Nextcloud has no way to do verify it. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #12185 from nextcloud/cleanup/dicontainerMorris Jobke2018-11-054-51/+28
|\ \ | | | | | | Cleanup the DIContainer
| * | Properly query the methodreflectorRoeland Jago Douma2018-11-021-1/+1
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Fix testsRoeland Jago Douma2018-11-023-14/+14
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | The identityproof manager should be in ServerRoeland Jago Douma2018-11-022-8/+8
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | No need to register it also in the DI ContainerRoeland Jago Douma2018-11-021-4/+0
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | The Encryption manager belongs in Server.phpRoeland Jago Douma2018-11-022-5/+2
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | SearchResult should be difined in Server as it is a core componentRoeland Jago Douma2018-11-022-5/+1
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | The UserSession is constructed in the serverRoeland Jago Douma2018-11-022-4/+3
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | TimeFactory is already regsitsered in the Server ContainerRoeland Jago Douma2018-11-021-3/+0
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Request is already regsitered in the Server containerRoeland Jago Douma2018-11-021-5/+0
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Was already registered in ServerRoeland Jago Douma2018-11-021-3/+0
| | | | | | | | | | | | | | | | | | The DIContainaer will query server anyways if it can't find it Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | [tx-robot] updated from transifexNextcloud bot2018-11-052-0/+6
| | |