aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #9293 from nextcloud/feature/9166/custom-auditlogfileMorris Jobke2018-05-027-112/+166
|\ | | | | option for a seperate audit log file
| * use SystemConfig, less dependencies, and not publicly neededArthur Schiwon2018-04-263-28/+20
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * log to $datadir/audit.log by default and add rotationArthur Schiwon2018-04-261-16/+10
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * add missing php doc and type hintsArthur Schiwon2018-04-261-2/+2
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * improve Syslog a littleArthur Schiwon2018-04-261-3/+6
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * revert Log's dependency to SystemConfig to work during InstallationArthur Schiwon2018-04-263-10/+15
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * move IFileBased to public namespace, logreader needs itArthur Schiwon2018-04-263-31/+2
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * offer API to create own File log. admin_audit makes use of itArthur Schiwon2018-04-267-58/+62
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * destaticfy Log classesArthur Schiwon2018-04-268-85/+170
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #9310 from ↵Roeland Jago Douma2018-05-021-1/+4
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/allow-to-inject-collaboration-search-result Allow to inject ISearchResult
| * | Allow to inject ISearchResultJoas Schilling2018-04-261-1/+4
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Make it possible to make external storages read onlyRoeland Jago Douma2018-05-011-0/+17
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #9321 from ↵Morris Jobke2018-04-271-1/+5
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/return_root_folder_when_at_root Actually return the root folder when traversing up the tree
| * | Actually return the root folder when traversing up the treeRoeland Jago Douma2018-04-261-1/+5
| |/ | | | | | | | | | | | | | | If you now keep calling $node->getParent() you will at some point get the RootFolder back. This is a nice termination check and will prevent endless loops if an exit condition is slightly off. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | generateTokenFromCache is only valid for V3Roeland Jago Douma2018-04-261-2/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | json_decode an associative array for the swift cached tokenRoeland Jago Douma2018-04-261-1/+1
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* move log constants to ILoggerArthur Schiwon2018-04-2638-153/+189
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #8540 from nextcloud/theming-advancedMorris Jobke2018-04-251-3/+4
|\ | | | | Add option for header logo and favicon in theming app
| * Move to more generic image handling and add extra imagesJulius Härtl2018-04-191-3/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Numeric only uids are no funRoeland Jago Douma2018-04-241-1/+4
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Cast retrieved DB fields to stringRoeland Jago Douma2018-04-241-4/+4
| | | | | | | | | | | | | | | | | | | | Fixes #9279 If a pure numerical user is in the DB the value might be casted to a int when returned. Cast it all to a string so we don't break the strict typing. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #9280 from nextcloud/bugfix/noid/swift-v3-scopeRoeland Jago Douma2018-04-241-0/+4
|\ \ | | | | | | Swift v3 requires setting a scope
| * | Swift v3 requires setting a scopeRoeland Jago Douma2018-04-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Unscoped auth is not guaranteed to return a catalog. So require the scope to be set properly. See https://developer.openstack.org/api-ref/identity/v3/index.html#password-authentication-with-unscoped-authorization Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #9272 from ↵Daniel Calviño Sánchez2018-04-231-2/+2
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/save-a-query-help-saving-the-world Only query last comment info, when there is one
| * | | Only query last comment info, when there is oneJoas Schilling2018-04-231-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #9271 from nextcloud/fix-undefined-variableJoas Schilling2018-04-233-5/+3
|\ \ \ \ | |_|/ / |/| | | Fix undefined variable - found by Phan
| * | | Remove a check for an unused variableMorris Jobke2018-04-231-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Left over from a refactoring https://github.com/nextcloud/server/pull/1940 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | Fix undefined variable - found by phanMorris Jobke2018-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Added in https://github.com/nextcloud/server/pull/8314/files#diff-a55c10804586cd797b7f3f16556c1457R157 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | Fix undefined variable - found by PhanMorris Jobke2018-04-231-1/+1
| |/ / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / / Convert group Database backendRoeland Jago Douma2018-04-231-7/+21
|/ / | | | | | | | | | | This now uses the new interfaces 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/+117
|\ \ | | | | | | Add proper comment offset support
| * | Fix docsJoas Schilling2018-04-191-8/+10
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Add proper comment offset supportJoas Schilling2018-04-181-0/+115
| | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #9225 from nextcloud/bugfix/9157/ipv6-database-hostRoeland Jago Douma2018-04-221-10/+24
|\ \ \ | |_|/ |/| | Allow IPv6 database hosts
| * | Move regex to a function and add testsJoas Schilling2018-04-191-11/+24
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Allow IPv6 database hostsJoas Schilling2018-04-181-6/+7
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Allow to skip retrieving from cache in the DiscoveryServiceRoeland Jago Douma2018-04-181-6/+9
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Log classnames of arguments in exception traceRobin Appelman2018-04-172-95/+143
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix appinfo parsing when a single localized option is providedRobin Appelman2018-04-171-0/+5
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Provide an option to disable HTML emailsMorris Jobke2018-04-162-8/+15
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fixes false positive possible sql injection by phanMorris Jobke2018-04-161-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix autoloaderMorris Jobke2018-04-122-9/+33
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #8535 from nextcloud/new-color-generatorJan-Christoph Borchardt2018-04-121-108/+73
|\ | | | | New color generator algorithm
| * fixup! Updated php generatorJohn Molakvoæ (skjnldsv)2018-04-061-8/+9
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Updated php generatorJohn Molakvoæ (skjnldsv)2018-04-061-116/+80
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | dont keep shared database locks when running cli scriptsRobin Appelman2018-04-113-8/+50
| | | | | | | | | | | | 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 #9024 from nextcloud/fix/app-fetcher-major-minor-versionsMorris Jobke2018-04-112-11/+120
|\ \ | | | | | | Fix version comparison with minor and patch level requirements
| * | Log possible exception caused by wrong version numberMorris Jobke2018-04-111-10/+15
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Fix version comparison with minor and patch level requirementsChristoph Wurst2018-04-112-8/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an app requires a specific minor or path level server version, the version_compare prevented the installation as only the major version had been compared and that checks obviously returns `false`. Now the full version is used for comparison, making it possible to release apps for a specific minor or patch level version of Nextcloud. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | log previous exceptionRobin Appelman2018-04-111-12/+23
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>