summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3739 from fti7/masterLukas Reschke2017-03-111-0/+1
|\ | | | | Serve robots.txt if the RewriteBase is configured
| * Serve robots.txt if the RewriteBase is configuredFrank Isemann2017-03-061-0/+1
| |
* | [tx-robot] updated from transifexNextcloud bot2017-03-112-0/+2
| |
* | 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-096-321/+107
| | | | | | | | | | | | | | | | | | * 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 #3785 from nextcloud/bump_autoloaderMorris Jobke2017-03-092-4/+8
|\ \ \ \ | | | | | | | | | | Bump autoloader
| * | | | Bump autoloaderRoeland Jago Douma2017-03-092-4/+8
| |/ / / | | | | | | | | | | | | | | | | | | | | Composer was updated so lets update the autoloader 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 #3754 from trustelem/user_saml-samesite-excludeLukas Reschke2017-03-091-1/+1
|\ \ \ | |_|/ |/| | Extend Same Site cookie user_saml exemption rule
| * | Extend Same Site cookie user_saml exemption ruleVincent Vanackere2017-03-071-1/+1
| |/ | | | | | | | | | | | | The current check does not trigger if $request->getRequestUri() does not return index.php as a prefix (on my config this was occuring using nginx to serve Nextcloud) Signed-off-by: Vincent Vanackere <vincent.vanackere@trustelem.com>
* | Merge pull request #3360 from nextcloud/dav-searchRobin Appelman2017-03-0820-10/+763
|\ \ | |/ |/| Implement webdav SEARCH
| * autoloaderRobin Appelman2017-03-012-0/+20
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * add tests for searchQueryRobin Appelman2017-03-011-0/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Implement webdav SEARCHRobin Appelman2017-03-0115-27/+230
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * add icewind/searchdavRobin Appelman2017-02-2810-0/+527
| | | | | | | | 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>
* | | Merge pull request #3682 from whitekiba/masterRoeland Jago Douma2017-03-037-10/+10
|\ \ \ | | | | | | | | Remove deprecated OC_User::isLoggedIn
| * | | Remove deprecated OC_User::isLoggedInSebastian Wessalowski2017-03-027-10/+10
| | | | | | | | | | | | | | | | Signed-off-by: Sebastian Wessalowski <sebastian@wessalowski.org>
* | | | [tx-robot] updated from transifexNextcloud bot2017-03-032-2/+2
| |/ / |/| |
* | | [tx-robot] updated from transifexNextcloud bot2017-03-0210-0/+0
|/ /
* | 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-014-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [tx-robot] updated from transifexNextcloud bot2017-02-252-4/+4
|
* 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
| |
* | Merge pull request #3287 from nextcloud/readd_appstoreenabled_switchJoas Schilling2017-02-241-4/+17
|\ \ | | | | | | Add back appstoreenabled config switch
| * | 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 #3605 from nextcloud/single-userJoas Schilling2017-02-243-29/+0
|\ \ \ | |/ / |/| | Clean up single user mode