summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* log to $datadir/audit.log by default and add rotationArthur Schiwon2018-04-261-0/+71
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* add missing php doc and type hintsArthur Schiwon2018-04-261-2/+15
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* move IFileBased to public namespace, logreader needs itArthur Schiwon2018-04-261-0/+30
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* offer API to create own File log. admin_audit makes use of itArthur Schiwon2018-04-263-0/+94
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* move log constants to ILoggerArthur Schiwon2018-04-262-2/+37
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Make the group backends also possible using interfacesRoeland Jago Douma2018-04-238-0/+319
| | | | | | | | | Just like for the user backends the group backends should also be properly done using interfaces. This adds the interfaces and abstract class to get started Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #9129 from nextcloud/feature/noid/proper-comments-offsetRoeland Jago Douma2018-04-221-0/+18
|\ | | | | Add proper comment offset support
| * Fix docsJoas Schilling2018-04-191-6/+7
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Add proper comment offset supportJoas Schilling2018-04-181-0/+17
| | | | | | | | | | | | | | The offset is based on the last known comment instead of limit-offset, so new comments don't mess up requests which get the history of an object- Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix PHPDocMorris Jobke2018-04-181-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Allow to skip retrieving from cache in the DiscoveryServiceRoeland Jago Douma2018-04-181-1/+2
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* dont keep shared database locks when running cli scriptsRobin Appelman2018-04-111-0/+16
| | | | | | For cli scripts we don't have the assumption that the universe will be cleaned up soon Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #8833 from nextcloud/feature/noid/add_ldap_user_hooksMorris Jobke2018-04-111-0/+3
|\ | | | | add anounce- and (pre/|post)RevokeUser signals for non-native backends
| * more consistent namingArthur Schiwon2018-04-051-3/+3
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * admin_audit and dav listen to announce and revoke signalsArthur Schiwon2018-04-051-0/+3
| | | | | | | | | | | | also place them in doc Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Properly return boolean on enable stateJohn Molakvoæ (skjnldsv)2018-04-091-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Add since tagsJulius Härtl2018-04-052-1/+18
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Move external share saving to templateJulius Härtl2018-04-051-7/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add footer to public page templateJulius Härtl2018-04-051-0/+15
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Move common menu templates to public APIJulius Härtl2018-04-052-0/+130
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix testsRoeland Jago Douma2018-04-041-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make the MountManager strictRoeland Jago Douma2018-04-041-7/+8
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #8737 from nextcloud/file_return_put_contentsRoeland Jago Douma2018-03-282-1/+34
|\ | | | | Pass on the return value of file_put_content
| * Throw an exception if file_put_contents failsRoeland Jago Douma2018-03-272-1/+34
| | | | | | | | | | | | | | | | * 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-281-37/+0
|\ \ | |/ |/| Remove deprecated functions from OCP\User
| * Remove deprecated \OCP\User::userExistsRoeland Jago Douma2018-03-261-12/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Remove deprecated OCP\User::getDisplaynameRoeland Jago Douma2018-03-251-12/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Remove deprecated \OCP\User::getUsersRoeland Jago Douma2018-03-251-13/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #8985 from nextcloud/cleanup_ocp_dbRoeland Jago Douma2018-03-261-64/+0
|\ \ | | | | | | Cleanup ocp db
| * | Remove \OCP\DBRoeland Jago Douma2018-03-261-64/+0
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / 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>
* Merge pull request #8943 from nextcloud/dep_oc_jsonRoeland Jago Douma2018-03-231-166/+0
|\ | | | | Remove \OCP\JSON
| * Finally remove \OCP\JSONRoeland Jago Douma2018-03-231-166/+0
| | | | | | | | 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-221-1/+1
| | | | | | | | 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>
* Merge pull request #8506 from nextcloud/use-appmanagerMorris Jobke2018-03-221-1/+3
|\ | | | | Use isInstalled of AppManger instead of reimplement it
| * Use isInstalled of AppManger instead of reimplement itMorris Jobke2018-03-211-1/+3
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8791 from nextcloud/cleanup-oc_jsonMorris Jobke2018-03-221-11/+0
|\ \ | | | | | | Remove unused methods of OC_Json
| * | Remove unused methods of OC_JsonMorris Jobke2018-03-211-11/+0
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #8922 from nextcloud/deprecated-ocp-files-methodsRoeland Jago Douma2018-03-221-0/+7
|\ \ \ | | | | | | | | Deprecated some methods of OCP\Files
| * | | Deprecate OCP\FilesMorris Jobke2018-03-211-0/+7
| |/ / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #8918 from nextcloud/remove-deprecated-ocp-responseMorris Jobke2018-03-211-66/+0
|\ \ \ | | | | | | | | Remove deprecated and unused OCP\Response
| * | | Remove deprecated and unused OCP\ResponseMorris Jobke2018-03-211-66/+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>