summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Certain tokens can expireRoeland Jago Douma2018-05-176-5/+84
| | | | | | | | However due to the nature of what we store in the token (encrypted passwords etc). We can't just delete the tokens because that would make the oauth refresh useless. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Allow the rotation of tokensRoeland Jago Douma2018-05-164-2/+63
| | | | | | This for example will allow rotating the apptoken for oauth Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #9475 from ↵Morris Jobke2018-05-162-0/+12
|\ | | | | | | | | nextcloud/bug/9469/delete_preview_on_version_restore Delete the previews when a version is restored
| * Delete the previews when a version is restoredRoeland Jago Douma2018-05-142-0/+12
| | | | | | | | | | | | | | | | | | Fixes #9469 When a version of a file is restored the previews are no longer valid. Thus we should remove them so they are regenerated. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Refix scopeRoeland Jago Douma2018-05-152-3/+5
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix testsRoeland Jago Douma2018-05-154-17/+29
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Make the Token Auth code strictRoeland Jago Douma2018-05-155-90/+94
| | | | | | | | | | | | In preparation for #9441 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #9444 from nextcloud/techdep/noid/appframework_mapper_to_qbRoeland Jago Douma2018-05-141-1/+2
|\ \ | |/ |/| Add a QueryBuilder based Mapper
| * Move over TokenMapperRoeland Jago Douma2018-05-101-1/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Move to joinRoeland Jago Douma2018-05-141-8/+8
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Kill the dete preview watcherRoeland Jago Douma2018-05-142-51/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This code had the potential to time out. If a huge folder with pictures for example was deleted then this could easily grow the number of files to clean with a factor 5 (or more). Now the previews just get cleaned up in the background. Which is good enough for the 99% case As a bonus this now also keeps the previews when in the trashbin so you don't have a spiking server load when a user opens the trashbin view. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Add the jobRoeland Jago Douma2018-05-143-1/+53
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Add backgroundcleanup jobRoeland Jago Douma2018-05-141-0/+91
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Make Appdata staticRoeland Jago Douma2018-05-142-6/+13
|/ | | | | | * Add fileid for simpleroot folders (only internal) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #9390 from nextcloud/bugfix/noid/no-body-for-no-contentblizzz2018-05-091-3/+55
|\ | | | | Do not send a body for "No content", "Not modified" and others
| * Do not send a body for "No content", "Not modified" and othersJoas Schilling2018-05-041-3/+55
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Expose isCLI to DIRoeland Jago Douma2018-05-081-0/+3
| | | | | | | | | | | | | | | | This allows apps/backgroundjobs to find out if they are run from the CLI or not. Some apps/backgroundjobs might do more if they are not at risk of timing out. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #9397 from nextcloud/log-fileinfo-not-foundMorris Jobke2018-05-071-0/+1
|\ \ | | | | | | Debug log file not found when getting fileinfo
| * | Debug log file not found when getting fileinfoRobin Appelman2018-05-041-0/+1
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #9388 from nextcloud/log-lock-state-on-conflictMorris Jobke2018-05-072-7/+16
|\ \ \ | | | | | | | | Log lock state on conflict
| * | | always log locking errorsRobin Appelman2018-05-041-3/+1
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | Log more info about locking conflicts for memcache locking backendsRobin Appelman2018-05-041-4/+15
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #9029 from nextcloud/settings-restructureMorris Jobke2018-05-074-66/+167
|\ \ \ \ | | | | | | | | | | Restructure server settings
| * | | | Cleanup and fix testsJulius Härtl2018-05-032-61/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | | Do not hide additional settings if there are only legacy formsJulius Härtl2018-05-031-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | | Move additional settings to main server settingsJulius Härtl2018-05-032-7/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | | Make mail settings form width equalJulius Härtl2018-05-031-0/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | | Add overview settings sectionJulius Härtl2018-05-033-4/+169
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | Merge pull request #9372 from nextcloud/bugfix/4577Morris Jobke2018-05-071-0/+8
|\ \ \ \ \ | | | | | | | | | | | | Do not allow folder creation with quota of 0
| * | | | | Do not allow folder creation with quota of 0Roeland Jago Douma2018-05-031-0/+8
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #4577 Users with a quota of 0 are a special case. Since they can't (ever) create files on their own storage. Therefor it makes no real that they can create folders (and possible share those etc). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | Merge pull request #9371 from nextcloud/bugfix/7444Morris Jobke2018-05-071-7/+7
|\ \ \ \ \ | |_|_|/ / |/| | | | Cache is not part of the quota
| * | | | Cache is not part of the quotaRoeland Jago Douma2018-05-021-7/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #7444 Since the quota is calculated on the files. We should allow apps etc to store temp stuff in the <user>/cache Else users can't upload avatars for example. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #9387 from nextcloud/getcachentry-lockMorris Jobke2018-05-041-3/+1
|\ \ \ \ | | | | | | | | | | remove unneeded locks in getCacheEntry
| * | | | remove unneeded locks in getCacheEntryRobin Appelman2018-05-041-3/+1
| | |/ / | |/| | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #9364 from nextcloud/log-invalid-storageMorris Jobke2018-05-041-0/+3
|\ \ \ \ | | | | | | | | | | Log mount and storage issues in getFileInfo
| * | | | Log mount and storage issues in getFileInfoRobin Appelman2018-05-021-0/+3
| |/ / / | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #9290 from nextcloud/streams-0.6.1Morris Jobke2018-05-031-3/+3
|\ \ \ \ | | | | | | | | | | Use better way to determine stream type in stream wrapper
| * | | | Use better way to determine stream type in encryption stream wrapperRobin Appelman2018-05-011-3/+3
| |/ / / | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #9373 from nextcloud/bugfix/8929/actual_fetch_versionMorris Jobke2018-05-031-1/+1
|\ \ \ \ | | | | | | | | | | Get correct version of an app
| * | | | Get correct version of an appRoeland Jago Douma2018-05-031-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to #8929 We should get the version of the app. Not of the appfolder. Else there is no way to properly compare the versions. Now note that installing in 1 go will still fail. But at least on the next page load the new version will be properly detected. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / | | Issue #9318: catch exceptions in SCSSCacher::resetCache()Roland Tapken2018-05-021-1/+5
|/ / / | | | | | | | | | Signed-off-by: Roland Tapken <roland@bitarbeiter.net>
* | | 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>