summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3778 from nextcloud/verify_jpg_filesLukas Reschke2017-03-101-1/+5
|\ | | | | Test if a file is a valid jpg file
| * Test is a file is a valid jpg fileRoeland Jago Douma2017-03-081-1/+5
| | | | | | | | | | | | | | | | | | | | | | During preview generation if we provide an invalid JPG file the system errors out with a PHP Fatal Error. Now we can't catch Fatal Errors (in 5.6). I suspect that exif_imagetype to fall back to the extention. However a valid jpg file has a size. So we request the size of the image and just drop out if that returns false. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #3787 from nextcloud/ocs-cookieLukas Reschke2017-03-101-0/+3
|\ \ | | | | | | dont require strict same site cookies for ocs requests
| * | dont require strict same site cookies for ocs requestsRoeland Jago Douma2017-03-091-0/+3
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | MP3 without cover don't get a previewRoeland Jago Douma2017-03-101-19/+1
| | | | | | | | | | | | | | | | | | | | * Fixes #2739 It tries to create an image from an SVG file. Which we don't support. So this fails and prints an log line. Then we fall back anyways to the 404 and fetch the default icon. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Remove legacy class OC_Group and OC_UserMorris Jobke2017-03-095-320/+106
| | | | | | | | | | | | * basically a straight replacement of the wrapped code at the calling code parts Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #3791 from nextcloud/combine_sassLukas Reschke2017-03-092-14/+19
|\ \ | | | | | | Combine sass
| * | Add more styles to the server.scssMorris Jobke2017-03-091-9/+0
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | [PoC] combine 2 scss files!Roeland Jago Douma2017-03-091-2/+1
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Allow using import in sass filesRoeland Jago Douma2017-03-091-3/+18
| |/ | | | | | | | | | | | | | | | | This allows us to combine multiple sass files that we have to always load together anyway. Fixes #3389 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #3611 from nextcloud/announce-trsuted-server-endpointsBjörn Schießle2017-03-091-0/+17
|\ \ | |/ |/| Announce trusted server endpoints
| * announce public endpoints to sync trusted serversBjoern Schiessle2017-03-091-0/+17
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Merge pull request #3360 from nextcloud/dav-searchRobin Appelman2017-03-0811-9/+486
|\ \ | |/ |/| Implement webdav SEARCH
| * Implement webdav SEARCHRobin Appelman2017-03-019-25/+180
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * add icewind/searchdavRobin Appelman2017-02-285-0/+322
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #3684 from nextcloud/run-lang-update-only-onceRoeland Jago Douma2017-03-032-3/+17
|\ \ | | | | | | Execute UpdateLanguageCode only once
| * | Fix DIJoas Schilling2017-03-032-2/+3
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Execute UpdateLanguageCode only onceMorris Jobke2017-03-021-1/+14
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #3607 from nextcloud/api-to-resend-welcome-messageRoeland Jago Douma2017-03-031-0/+9
|\ \ \ | | | | | | | | OCS API endpoint to resend welcome message
| * | | Fix injection of defaultsMorris Jobke2017-02-281-0/+4
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | OCS API endpoint to resend welcome messageMorris Jobke2017-02-281-0/+5
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * send a POST request to ocs/v1.php/cloud/users/USERNAME/resendWelcomeMessage to trigger the welcome message to be send * fixes #3367 example curl statement: curl -i https://example.org/ocs/v1.php/cloud/users/USERNAME/welcome -H "OCS-APIRequest: true" -u admin:password -X POST Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #3689 from nextcloud/cleanup-legacy-classesJoas Schilling2017-03-035-248/+0
|\ \ \ | | | | | | | | Cleanup not used legacy classes
| * | | Get rid of static OCS::notFound()Morris Jobke2017-03-031-43/+0
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | Cleanup not used legacy classesMorris Jobke2017-03-034-205/+0
| | |/ | |/| | | | | | | | | | | | | | | | * Person was removed via #2170 * other lcasses/interfaces are not used at all Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / | Remove deprecated OC_User::isLoggedInSebastian Wessalowski2017-03-025-7/+7
|/ / | | | | | | Signed-off-by: Sebastian Wessalowski <sebastian@wessalowski.org>
* | Fix table name and add a test for more than 1 entriesJoas Schilling2017-03-021-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Change language code for languages with only one translationMorris Jobke2017-03-012-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | * then the language is not that specific and get also matched for fi * fallback from fi_FI to fi is supported - the other way around not * contains repair script * contains tests for repair script * fixes #869 Order results to make postgres happy Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix return type of share providerJoas Schilling2017-03-011-1/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix conditionMaxence Lange2017-02-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #3588 from GreenArchon/issue_#3461Lukas Reschke2017-02-241-35/+17
|\ | | | | Typecast shared mount's storage_id to int as documented + some refactor to avoid similar bugs
| * Refactor files' CacheEntry object creation to call cacheEntryFromData() all ↵Frédéric Fortier2017-02-221-36/+16
| | | | | | | | | | | | the time thus allowing proper casts to be done Signed-off-by: Frédéric Fortier <frederic.fortier@oronospolytechnique.com>
| * Typecast filecache 'storage' as int to return it as documented, fixes #3461Frédéric Fortier2017-02-201-0/+2
| | | | | | | | Signed-off-by: Frédéric Fortier <frederic.fortier@oronospolytechnique.com>
* | Update Setup.phpKB77772017-02-241-1/+1
| |
* | Fix unit tests and improve appstore logicMorris Jobke2017-02-241-5/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Add back appstoreenabled config switchSteffen Lindner2017-02-241-4/+20
| | | | | | | | Signed-off-by: Steffen Lindner <mail@steffen-lindner.de>
* | Merge pull request #3589 from nextcloud/remove-unneeded-repair-stepMorris Jobke2017-02-2316-1606/+0
|\ \ | | | | | | Remove unneeded repair steps
| * | cleanup old and not needed repair steps to speed up the updateMorris Jobke2017-02-2215-1516/+0
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Remove unneeded UpdateCertificateStore.Morris Jobke2017-02-221-90/+0
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #3576 from robert-scheck/timezoneMorris Jobke2017-02-231-5/+0
|\ \ \ | | | | | | | | According to issue #3553, the default logtimezone is always UTC
| * | | According to issue #3553, the default logtimezone is always UTCRobert Scheck2017-02-231-5/+0
| | | | | | | | | | | | | | | | Signed-off-by: Robert Scheck <robert@fedoraproject.org>
* | | | Merge pull request #3575 from nextcloud/better-thumbnail-qualityJoas Schilling2017-02-231-15/+42
|\ \ \ \ | |_|/ / |/| | | Use 90% JPEG quality for thumbnails and previews by default
| * | | Fix code quality a bitJoas Schilling2017-02-221-13/+17
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Use 90% JPEG quality for thumbnails and previews by defaultJoas Schilling2017-02-221-3/+26
| | |/ | |/| | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #3567 from nextcloud/autocomplete-settingsBjörn Schießle2017-02-221-1/+3
|\ \ \ | | | | | | | | some sharing settings
| * | | Use intval() for validation of config optionsMorris Jobke2017-02-211-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | Improve the UX for sharing settingsMorris Jobke2017-02-211-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * shows a info when list is potentially truncated * shows a warning when characters length is not enough Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Catch exception from path infoJoas Schilling2017-02-221-1/+8
| |/ / |/| | | | | | | | | | | | | | | | | We don't really care when the path info can not be gathered correctly. we will simply not use SCSS then but the CSS fallback. Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #3505 from robert-scheck/autoindexLukas Reschke2017-02-201-0/+2
|\ \ \ | |/ / |/| | Only request "IndexIgnore" if mod_autoindex is loaded
| * | Only request "IndexIgnore" if mod_autoindex is loadedRobert Scheck2017-02-201-0/+2
| |/ | | | | | | Signed-off-by: Robert Scheck <robert@fedoraproject.org>
* | Revert "cache the storage info for 5 min"Morris Jobke2017-02-161-29/+5
| |