summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4093 from nextcloud/endorse-password-protectionRoeland Jago Douma2017-04-042-0/+5
|\ | | | | Endorse password protection
| * feature endorse password for share linksBjoern Schiessle2017-04-032-0/+5
| | | | | | | | | | | | | | | | works like "enforce password protection", but let the user optionally remove the password protection after the password is set. by Timo Benk Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Merge pull request #4147 from nextcloud/fix_3890Roeland Jago Douma2017-04-041-0/+2
|\ \ | | | | | | Don't try to parse empty body if there is no body
| * | Don't try to parse empty body if there is no bodyRoeland Jago Douma2017-04-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #3890 If we do a put request without a body the current code still tries to read the body. This patch makes sure that we do not try to read the body if the content length is 0. See RFC 2616 Section 4.3 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | [tx-robot] updated from transifexNextcloud bot2017-04-044-0/+356
|/ /
* | Merge pull request #4131 from nextcloud/fix-jscombinerChristoph Wurst2017-04-031-1/+1
|\ \ | |/ |/| Fix check for cache value in JSCombiner
| * Fix check for cache value in JSCombinerMorris Jobke2017-03-281-1/+1
| | | | | | | | | | | | | | | | | | * fixes following log output, because there was empty string stored in the cache Invalid argument supplied for foreach() at lib/private/Template/JSCombiner.php#108 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | [tx-robot] updated from transifexNextcloud bot2017-04-032-12/+12
| |
* | Merge pull request #4140 from nextcloud/no_encryption_no_wrapperBjörn Schießle2017-03-311-2/+5
|\ \ | | | | | | Don't add the Encryption Storage Wrapper if there are no encryption modules
| * | Don't add the Encryption Storage Wrapper if there are no encryption modulesRoeland Jago Douma2017-03-291-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes #4125 If there is no encryption module enabled it makes no sense to setup the encryption wrapper (because we can't do anything anyway). This saves reading the header of files. Especialy on external storage/objectstore this should improve performance Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | [tx-robot] updated from transifexNextcloud bot2017-03-312-70/+72
| | |
* | | Merge pull request #3832 from nextcloud/fix_1303Roeland Jago Douma2017-03-301-0/+4
|\ \ \ | | | | | | | | Do not clear CSRF token on logout (fix for #1303)
| * | | Do not clear CSRF token on logout (fix for #1303)Roeland Jago Douma2017-03-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a hacky way to allow the use case of #1303. What happens is 1. User tries to login 2. PreLoginHook kicks in and figures out that the user need to change their LDAP password or whatever => redirects user 3. While loading the redirect some logic of ours kicks in and logouts the user (thus clearing the session). 4. We render the new page but now the session and the page disagree about the CSRF token This is kind of hacky but I don't think it introduces new attack vectors. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #4150 from nextcloud/capped-memcache-pushJoas Schilling2017-03-302-2/+7
|\ \ \ \ | | | | | | | | | | support pushing to CappedMemoryCache
| * | | | user ids are stringsRobin Appelman2017-03-301-1/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | support pushing to CappedMemoryCacheRobin Appelman2017-03-301-1/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | rename fun to funcRobin Appelman2017-03-303-3/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Add tests for query builder (i)likeRobin Appelman2017-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | dont double escapeRobin Appelman2017-03-302-2/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | update autoloaderRobin Appelman2017-03-302-0/+12
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | fix licence headersRobin Appelman2017-03-306-48/+54
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Move all children of a folder in a single queryRobin Appelman2017-03-301-18/+27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Add function builder to the query builderRobin Appelman2017-03-307-0/+252
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | add support for escaping like parameters when using the query builderRobin Appelman2017-03-303-0/+50
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Add MD5() to sqliteRobin Appelman2017-03-301-0/+3
|/ / / / | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #4132 from nextcloud/fix-safari-gzipLukas Reschke2017-03-302-4/+4
|\ \ \ \ | | | | | | | | | | Fix gzip files for Safari
| * | | | Fix gzip files for SafariMorris Jobke2017-03-292-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Safari support gzip only if the filename does not end on .gz - so this renames them to .gzip Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | | [tx-robot] updated from transifexNextcloud bot2017-03-302-0/+2
| | | | |
* | | | | also rename defaultMailHeaderColor to defaultColorPrimaryJan-Christoph Borchardt2017-03-291-4/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | | | | Add fallback to getMailHeaderColor so we don't break existing themesJulius Härtl2017-03-291-2/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | rename confusing getMailHeaderColor to getColorPrimary, ref #3491Jan-Christoph Borchardt2017-03-291-3/+3
| |_|/ / |/| | | | | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | | | Merge pull request #4116 from nextcloud/swift-cache-tokenRoeland Jago Douma2017-03-291-10/+62
|\ \ \ \ | | | | | | | | | | Cache swift authentication token in memcache
| * | | | serialize the token to json instead of using php's serializeRobin Appelman2017-03-281-10/+36
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | cache swift tokens in memcacheRobin Appelman2017-03-281-10/+36
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Merge pull request #4129 from nextcloud/remove-verbose-error-messageJoas Schilling2017-03-291-2/+3
|\ \ \ \ \ | |_|/ / / |/| | | | Remove verbose error message
| * | | | Remove verbose error messageLukas Reschke2017-03-291-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's no need to have this included in the error message. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | | | Merge pull request #4091 from nextcloud/Rudloff-manifestMorris Jobke2017-03-281-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Web app manifest for adding to Android home screen
| * | | | | Web app manifestPierre Rudloff2017-03-281-0/+1
| | |_|_|/ | |/| | | | | | | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | | | | [tx-robot] updated from transifexNextcloud bot2017-03-296-0/+20
| | | | |
* | | | | Merge pull request #4120 from nextcloud/newest-item-first-in-activityMorris Jobke2017-03-281-4/+4
|\ \ \ \ \ | | | | | | | | | | | | Change the order on merging activities so the newest item is first
| * | | | | Change the order on merging activities so the newest item is firstJoas Schilling2017-03-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | Merge pull request #4127 from nextcloud/update-legacy-csp-policyMorris Jobke2017-03-281-1/+3
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Update legacy CSP policy
| * | | | | Update legacy CSP policyLukas Reschke2017-03-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Aligns it with the one enforced by the AppFramework Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | | | | Merge pull request #4070 from nextcloud/gzip_scss_jsMorris Jobke2017-03-282-1/+17
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | GZip generated CSS/JS files
| * | | | | Fix testsRoeland Jago Douma2017-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | | | Allow to gzip CSS/JS filesRoeland Jago Douma2017-03-282-1/+17
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since in production the SCSS files are compiled once and the javascript files are combined once we can just as well gzip them aggresively. This means that once they are requested and the browser supports gzip we can just serve the gzipped file saving precious bandwidth. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | Merge pull request #4004 from nextcloud/backport-27172Roeland Jago Douma2017-03-281-0/+8
|\ \ \ \ \ | |/ / / / |/| | | | Remove SharedCache::getNumericStorageId to let CacheWrapper do it
| * | | | Remove SharedCache::getNumericStorageId to let CacheWrapper do itVincent Petry2017-03-231-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CacheWrapper will properly forward the call to the wrapped cache. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | | Merge pull request #4112 from nextcloud/swift-configRobin Appelman2017-03-281-5/+80
|\ \ \ \ \ | |_|_|/ / |/| | | | Better error messages for objectsack swift configuration
| * | | | better error messages for invalid regions, urltypes and service namesRobin Appelman2017-03-281-4/+63
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>