summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8780 from ↵Joas Schilling2018-03-271-32/+59
|\ | | | | | | | | nextcloud/bugfix/noid/query-builder-database-backends Move the group database backend fully to query builder
| * Remove orderBy so the query works correctly on postgresJoas Schilling2018-03-271-2/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Make sure DI is doneJoas Schilling2018-03-261-0/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Move the group database backend fully to query builderJoas Schilling2018-03-261-32/+54
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #8985 from nextcloud/cleanup_ocp_dbRoeland Jago Douma2018-03-264-73/+7
|\ \ | | | | | | Cleanup ocp db
| * | Remove \OCP\DBRoeland Jago Douma2018-03-263-66/+0
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Do not use \OCP\DB anymoreRoeland Jago Douma2018-03-261-7/+7
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #8981 from nextcloud/strict_2faRoeland Jago Douma2018-03-263-8/+12
|\ \ | | | | | | Strict 2FA
| * | Strict 2FARoeland Jago Douma2018-03-263-8/+12
| |/ | | | | | | | | | | | | | | * make OCP\Authentication\TwoFactorAuth strict * scalar types * return types Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Remove deprecated OC_Group_BackendRoeland Jago Douma2018-03-261-56/+0
|/ | | | | | | * Private class * Has been deprecated since NC10 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #8943 from nextcloud/dep_oc_jsonRoeland Jago Douma2018-03-234-170/+2
|\ | | | | Remove \OCP\JSON
| * Update autoloaderRoeland Jago Douma2018-03-232-2/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Finally remove \OCP\JSONRoeland Jago Douma2018-03-231-166/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Move calls to \OCP\JSON to private \OC_JSONRoeland Jago Douma2018-03-221-2/+2
| | | | | | | | | | | | They should be properly fixed at some point. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #8935 from nextcloud/backend_interfacesRoeland Jago Douma2018-03-2313-16/+435
|\ \ | | | | | | Backend interfaces
| * | Update autoloaderRoeland Jago Douma2018-03-222-0/+18
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Document parametersRoeland Jago Douma2018-03-229-0/+30
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Move to ABackendRoeland Jago Douma2018-03-222-3/+3
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Move Database backend over to new User/Backend interfacesRoeland Jago Douma2018-03-221-16/+30
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Remove type declarations where not yet possibleRoeland Jago Douma2018-03-224-4/+4
| | | | | | | | | | | | | | | | | | Because we don't return consistent things yet :( Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Deprecate implementsActionsRoeland Jago Douma2018-03-221-0/+1
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Fix phpdocRoeland Jago Douma2018-03-229-0/+62
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Add abstract bakend to still be backwards compatible with the old logicRoeland Jago Douma2018-03-221-0/+62
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Add interfaces for user backend functionalityRoeland Jago Douma2018-03-228-0/+232
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Fix proper permissions for multiple file accessRoeland Jago Douma2018-03-221-11/+10
|/ | | | | | | | | | | | | | Fixes #8890 In case you have access to a file via multiple ways, for example: 1. the file is shared with you with permission read only 2. the folder containing the file is shared with your read/write Requesting the getById function on the userFolder would give back two entries but both with the same permissions. Depending on the node you picked this is not right. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #8506 from nextcloud/use-appmanagerMorris Jobke2018-03-224-17/+13
|\ | | | | Use isInstalled of AppManger instead of reimplement it
| * Use isInstalled of AppManger instead of reimplement itMorris Jobke2018-03-214-17/+13
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8791 from nextcloud/cleanup-oc_jsonMorris Jobke2018-03-223-39/+6
|\ \ | | | | | | Remove unused methods of OC_Json
| * | Remove unused methods of OC_JsonMorris Jobke2018-03-213-39/+6
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #8922 from nextcloud/deprecated-ocp-files-methodsRoeland Jago Douma2018-03-222-0/+15
|\ \ \ | | | | | | | | Deprecated some methods of OCP\Files
| * | | Deprecate OCP\FilesMorris Jobke2018-03-212-0/+15
| |/ / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | [tx-robot] updated from transifexNextcloud bot2018-03-222-2/+70
| | |
* | | Merge pull request #8918 from nextcloud/remove-deprecated-ocp-responseMorris Jobke2018-03-213-68/+0
|\ \ \ | | | | | | | | Remove deprecated and unused OCP\Response
| * | | Remove deprecated and unused OCP\ResponseMorris Jobke2018-03-213-68/+0
| |/ / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #8920 from nextcloud/hint-files-apiMorris Jobke2018-03-211-0/+3
|\ \ \ | | | | | | | | Add hint about OCP\Folder::getById
| * | | Add hint about OCP\Folder::getByIdMorris Jobke2018-03-211-0/+3
| |/ / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #8919 from nextcloud/remove-deprecated-method-of-ocp-userMorris Jobke2018-03-211-14/+0
|\ \ \ | | | | | | | | Remove deprecated and unused method OCP\User::getDisplayNames
| * | | Remove deprecated and unused method OCP\User::getDisplayNamesMorris Jobke2018-03-211-14/+0
| |/ / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #8923 from nextcloud/typosMorris Jobke2018-03-211-1/+1
|\ \ \ | | | | | | | | Fix some typos
| * | | Fix some typosMorris Jobke2018-03-211-1/+1
| |/ / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / / Remove unused and deprecated methods of OCP\DBMorris Jobke2018-03-212-35/+6
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | [tx-robot] updated from transifexNextcloud bot2018-03-212-2/+2
| |
* | Show EOL warning in the update sectionJoas Schilling2018-03-201-0/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #8822 from nextcloud/fix/8641/undefined-indexblizzz2018-03-191-5/+11
|\ \ | | | | | | the FN is optional, carrying the displayname if present
| * | the FN is optional, carrying the displayname if presentArthur Schiwon2018-03-141-5/+11
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Store setUserValue as string in cacheRoeland Jago Douma2018-03-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We cache the values we set in the setUserValue function. However since the values are strings in the database we check if a value is equal with string comparison Now if the function was called with a $value of int or float. It would be stored in the DB (and thus converted to string) and in the cache (not converted thus as int/float). Now if another call comes in that sets it to the same value (I'm looking at you LDAP!). The check would fail since we would be comparing int/float to string which fails by definition. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #8878 from nextcloud/remove_tmpfileRoeland Jago Douma2018-03-194-31/+6
|\ \ \ | | | | | | | | Remove deprecated tmpFile/tmpFolder
| * | | Remove \OCP\Files::tmpFolderRoeland Jago Douma2018-03-192-15/+3
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | Remove \OCP\Files::tmpFileRoeland Jago Douma2018-03-194-16/+3
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Remove unused private functionRoeland Jago Douma2018-03-191-15/+0
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>