summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #9008 from nextcloud/disable-if-no-appinfoMorris Jobke2018-04-032-3/+5
|\ | | | | Do not fail hard if no appinfo is returned during update
| * Do not fail hard if no appinfo is returned during updateJulius Härtl2018-03-282-3/+5
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #8999 from nextcloud/css-js-name-based-on-apps-versionsRoeland Jago Douma2018-03-281-5/+21
|\ \ | |/ |/| Use app version to generate scss filename
| * Use app version to generate scss filenameJohn Molakvoæ (skjnldsv)2018-03-281-5/+21
| | | | | | | | | | | | Fixed scsscacher tests Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #8737 from nextcloud/file_return_put_contentsRoeland Jago Douma2018-03-281-1/+5
|\ \ | | | | | | Pass on the return value of file_put_content
| * | Throw an exception if file_put_contents failsRoeland Jago Douma2018-03-271-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | * This will help with AppData hardening etc * Introduced a GenericFileException for if nothing else is appropiate - Maybe the other File exceptions should base on this? Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #8976 from nextcloud/dep_user_codeRoeland Jago Douma2018-03-283-23/+12
|\ \ \ | | | | | | | | Remove deprecated functions from OCP\User
| * | | Remove deprecated \OCP\User::userExistsRoeland Jago Douma2018-03-262-4/+5
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | Remove deprecated OCP\User::getDisplaynameRoeland Jago Douma2018-03-252-2/+6
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | Remove deprecated \OCP\User::getUsersRoeland Jago Douma2018-03-252-21/+5
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #8994 from nextcloud/deprecate-theme-sync-clientsRoeland Jago Douma2018-03-281-4/+5
|\ \ \ \ | |_|/ / |/| | | Deprecate theme sync clients
| * | | Use customclient_* values by default and do not use them in custom themes ↵Julius Härtl2018-03-261-4/+5
| |/ / | | | | | | | | | | | | | | | anymore Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | 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-261-7/+7
|\ \ | | | | | | Cleanup ocp db
| * | Do not use \OCP\DB anymoreRoeland Jago Douma2018-03-261-7/+7
| |/ | | | | | | 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 #8935 from nextcloud/backend_interfacesRoeland Jago Douma2018-03-231-16/+30
|\ | | | | Backend interfaces
| * Move to ABackendRoeland Jago Douma2018-03-221-2/+2
| | | | | | | | 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>
* | 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-223-16/+10
|\ | | | | Use isInstalled of AppManger instead of reimplement it
| * Use isInstalled of AppManger instead of reimplement itMorris Jobke2018-03-213-16/+10
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8791 from nextcloud/cleanup-oc_jsonMorris Jobke2018-03-222-28/+6
|\ \ | | | | | | Remove unused methods of OC_Json
| * | Remove unused methods of OC_JsonMorris Jobke2018-03-212-28/+6
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #8922 from nextcloud/deprecated-ocp-files-methodsRoeland Jago Douma2018-03-221-0/+8
|\ \ \ | | | | | | | | Deprecated some methods of OCP\Files
| * | | Deprecate OCP\FilesMorris Jobke2018-03-211-0/+8
| |/ / | | | | | | | | | 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-211-6/+6
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | 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-193-6/+6
|\ \ | | | | | | Remove deprecated tmpFile/tmpFolder
| * | Remove \OCP\Files::tmpFolderRoeland Jago Douma2018-03-191-3/+3
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Remove \OCP\Files::tmpFileRoeland Jago Douma2018-03-193-3/+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>
* | Merge pull request #8857 from nextcloud/swift-verify-cached-tokenMorris Jobke2018-03-192-12/+24
|\ \ | | | | | | verify cached swift token
| * | verify cached swift tokenRobin Appelman2018-03-162-12/+24
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Remove unused resolveReshare of old sharing codeMorris Jobke2018-03-161-23/+0
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #8830 from nextcloud/node_emit_readRoeland Jago Douma2018-03-151-0/+7
|\ \ \ | | | | | | | | Emit read for nodes
| * | | Emit read for nodesRoeland Jago Douma2018-03-151-0/+7
| | |/ | |/| | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #8255 from nextcloud/bugfix/noid/group-display-nameblizzz2018-03-154-6/+28
|\ \ \ | | | | | | | | Full implement group display names
| * | | Use group displayNames in users listJohn Molakvoæ (skjnldsv)2018-03-082-4/+26
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | | Correctly return the group nameJoas Schilling2018-03-081-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Show the displayname in the users group listJoas Schilling2018-03-081-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #8793 from nextcloud/swift-configRoeland Jago Douma2018-03-152-2/+6
|\ \ \ \ | | | | | | | | | | Swift uses `containter` not `bucket`