summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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
| | |
* | | Merge pull request #12105 from nextcloud/using-resharing-right-to-display-sharesRoeland Jago Douma2018-11-041-6/+8
|\ \ \ | | | | | | | | Shares are displayed to users with resharing rights
| * | | revert testsMaxence Lange2018-11-021-5/+7
| | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * | | shares are displayed to users with resharing rightsMaxence Lange2018-11-021-11/+11
| | |/ | |/| | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | [tx-robot] updated from transifexNextcloud bot2018-11-042-2/+2
| | |
* | | Merge pull request #12071 from nextcloud/addressbook-uid-check-migrationRoeland Jago Douma2018-11-024-0/+141
|\ \ \ | |_|/ |/| | Addressbook uid check migration
| * | move migrationJohn Molakvoæ (skjnldsv)2018-11-013-13/+17
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | TestsJohn Molakvoæ (skjnldsv)2018-11-011-1/+1
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Repair registration and autoload bumpJohn Molakvoæ (skjnldsv)2018-11-014-18/+28
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Repair StepJohn Molakvoæ (skjnldsv)2018-11-011-0/+127
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Merge pull request #11404 from flokli/sendmail-pathRoeland Jago Douma2018-11-021-1/+5
|\ \ \ | | | | | | | | Mailer: discover sendmail path instead of hardcoding it to /usr/sbin/sendmail
| * | | Fallback to default path is sendmail can't be foundRoeland Jago Douma2018-11-021-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the sendmail binary can't be found at all we fallback to the default path. It most likely is not there but then at least a proper error message pops up. Updated the tests to also properly pass. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | Mailer: discover sendmail path instead of hardcoding it to /usr/sbin/sendmailFlorian Klink2018-11-021-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `sendmail` can very well be in a path different from `/usr/sbin/sendmail`. We already search `$PATH` at `lib/private/Settings/Admin/Mail.php` to detect whether we want to offer sendmail as a mail transfer method, so let's be consistent and actually initialize `\Swift_SendmailTransport` with this path to sendmail, instead of just hardcoding `/usr/sbin/sendmail`. Signed-off-by: Florian Klink <flokli@flokli.de>
* | | Merge pull request #11875 from ↵Roeland Jago Douma2018-11-021-0/+4
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/add-support-for-sending-the-password-for-a-link-share-by-nextcloud-talk Add support for sending the password for a link share by Nextcloud Talk
| * | | Store "sendPasswordByTalk" property of link shares in the databaseDaniel Calviño Sánchez2018-11-021-0/+4
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | Merge pull request #12200 from nextcloud/tech-debt/noid/cleanup-legacy-sharingMorris Jobke2018-11-022-21/+8
|\ \ \ \ | |_|/ / |/| | | Cleanup some unused sharing methods from the old sharing code
| * | | Cleanup some unused sharing methods from the old sharing codeMorris Jobke2018-11-022-21/+8
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Merge pull request #12193 from nextcloud/interface-fulltxtsearch-issue-00002Maxence Lange2018-11-021-3/+79
|\ \ \ \ | | | | | | | | | | +infoBool / +infoInt
| * | | | init some varMaxence Lange2018-11-011-3/+3
| | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * | | | +infoBool / +infoIntMaxence Lange2018-11-011-0/+76
| | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | | Merge pull request #12194 from ↵Roeland Jago Douma2018-11-021-1/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | nextcloud/fix-path-as-dashboard-is-already-imported fix path to DashboardManager, as the class is already imported (minor)
| * | | | fix pathMaxence Lange2018-11-011-1/+1
| |/ / / | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>