summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* When a user is removed we should remove the right sharesRoeland Jago Douma2016-02-051-1/+1
| | | | | | | | | | | | | | | * This means all the shares directly shared with them * Or all group shares having a special share with them This patch fixes the operator precedece (AND before OR). So before this patch: (share_with = <deleted user> AND share_type = 0) OR share_type=2 So it deleted all user specific shares Now: share_with = <deleted user> AND (share_type = 0 OR (share_type=2)
* prevent 0 byte downloads when storage returns falseJörn Friedrich Dreyer2015-12-181-2/+5
| | | | | | add unit test More fixes for backport
* manually backport some helper methodsBjörn Schießle2015-12-151-0/+74
|
* don't allow to create a federated share if source and target server are the sameBjörn Schießle2015-12-152-2/+38
|
* [stable8] Use new updater URLLukas Reschke2015-11-281-6/+6
|
* Merge pull request #19659 from owncloud/stable8-backport-19546Vincent Petry2015-11-251-1/+4
|\ | | | | Stable8 backport 19546
| * fix internal path when searching in storage rootRobin Appelman2015-11-121-2/+5
| | | | | | | | (cherry picked from commit c2d76d2)
| * The minimum size for internalRootLength is 1Olivier Paroz2015-11-121-1/+1
| | | | | | | | (cherry picked from commit 3173ed2)
* | escape like parameter in cache moveRobin Appelman2015-11-201-1/+2
| |
* | define escape character for like statements on oracleRobin Appelman2015-11-201-0/+1
| |
* | define escape character for like statements on sqliteRobin Appelman2015-11-201-0/+1
|/
* Merge pull request #18958 from owncloud/stable8-backport-17791Morris Jobke2015-10-091-0/+11
|\ | | | | [stable8] Add custom CSP for Win 10 compatibility
| * Add custom CSP for Win 10 compatibilityLukas Reschke2015-09-101-0/+11
| | | | | | | | | | | | | | | | | | | | The default content-security-policy of ownCloud forbids inline JavaScript for security reasons. IE starting on Windows 10 will however also obey the CSP which will break the event source fallback. As a workaround thus we set a custom policy which allows the execution of inline JavaScript. This fixes https://github.com/owncloud/core/issues/14286
* | Merge pull request #18857 from owncloud/memcached-fix-stable8Morris Jobke2015-10-091-0/+5
|\ \ | | | | | | [stable8] Fallback to complete Memcached flush if getAllKeys fails
| * | Fallback to complete Memcached flush if getAllKeys failsRobin McCorkell2015-09-061-0/+5
| | | | | | | | | | | | | | | | | | | | | Newer Memcached's do not support the underlying protocol commands that getAllKeys() is implemented with. We should fallback to clearing everything in that case, as causing (temporary) performance problems for other applications on the server is better than having stale cached data.
* | | Clean temp files used for thumbnail generationRobin Appelman2015-09-301-1/+5
| | |
* | | [upgrade] switch to debug logging on upgradeMorris Jobke2015-09-291-0/+16
| | | | | | | | | | | | | | | * resets afterwards * adds output about the previous log level
* | | Merge pull request #18704 from owncloud/stable8-dav-copy-fixMorris Jobke2015-09-281-0/+3
|\ \ \ | |_|/ |/| | [stable8] Check for file existence before doing a DAV copy
| * | Check for file existence before doing a DAV copyVincent Petry2015-08-311-0/+3
| |/ | | | | | | Partial backport of f39fcbc250c3817e0c62627b127cf31a70dca36a from 8.1
* / Always add to $loadedAppsRobin McCorkell2015-09-051-1/+1
|/
* [app management] fix dependency check on installMorris Jobke2015-08-251-1/+1
|
* Merge pull request #18181 from owncloud/backport-18159-stable8Morris Jobke2015-08-161-0/+4
|\ | | | | Backport 18159 stable8
| * Update installer.phpmichag862015-08-101-0/+1
| |
| * Check if archive contains a directory named like appidmichag862015-08-101-0/+3
| |
* | add test for factoriesBernhard Posselt2015-08-132-0/+2
|/ | | | | | | | use ref for factory test Ensure we construct SimpleContainer Use single instance of DIContainer in routing tests
* check if the user is trying to scan a valid pathRobin Appelman2015-07-271-0/+3
|
* Merge pull request #17158 from ↵Morris Jobke2015-07-161-7/+9
|\ | | | | | | | | owncloud/backport-15772-no-permission-restriction-for-owner [stable8] Backport 15772 no permission restriction for owner
| * Ignore "parent" shares when the sharee is the owner of the reshare-sourceJoas Schilling2015-06-251-0/+2
| |
| * Correctly select file cache values also when checking group sharesJoas Schilling2015-06-251-7/+7
| |
* | Fix DAV propfind callVincent Petry2015-07-131-2/+2
| |
* | Merge pull request #17326 from owncloud/stable8-catch-notpermittedMorris Jobke2015-07-091-0/+11
|\ \ | | | | | | [stable8] Properly handle NotPermittedException in SabreDAV
| * | Remove unneeded part fileMorris Jobke2015-07-061-0/+7
| | |
| * | Properly handle NotPermittedException in SabreDAVMorris Jobke2015-07-021-0/+4
| | |
* | | Merge pull request #17405 from owncloud/stable8-backport-17095Morris Jobke2015-07-092-2/+8
|\ \ \ | | | | | | | | [stable8] Proper error handling
| * | | [updater] propagate error case properlyMorris Jobke2015-07-061-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | * add $success to the updateEnd hook * add new return code for a update failure * add exception class to failure hook message
| * | | Added error message on initMountpoints exceptionMorris Jobke2015-07-061-1/+1
| | | |
* | | | Merge pull request #17172 from owncloud/view-emit-path-stable8Morris Jobke2015-07-081-2/+4
|\ \ \ \ | | | | | | | | | | [stable8] emit hooks from a view as long as the path is inside the default root
| * | | | fix check if hooks should be emited in runHooksRobin Appelman2015-06-291-1/+2
| | | | |
| * | | | emit hooks from a view as long as the path is inside the default rootRobin Appelman2015-06-291-1/+2
| | | | |
* | | | | call post_addToGroup als for class OC_User because sharing and LDAP are ↵Bjoern Schiessle2015-07-031-0/+2
| | | | | | | | | | | | | | | | | | | | using this class. Minimal approach to fix #16740
* | | | | owner is stored as 'uid_owner', not as 'owner' in the oc_share tableBjoern Schiessle2015-07-031-2/+2
| |/ / / |/| | |
* | | | Delete OCS ID from DB if none is specifiedLukas Reschke2015-07-021-0/+2
| |/ / |/| | | | | | | | | | | | | | If no OCS ID is specified in appinfo.xml and an app update is triggered and a OCS ID is stored in the DB we should clean the value. Ref https://github.com/owncloud/activity/issues/320#issuecomment-117937748
* | | Use UTF-8 mode for preg_split and preg_replaceLukas Reschke2015-07-011-2/+3
| | | | | | | | | | | | | | | | | | Otherwise a single application with a description containing a non compliant character can break the whole ownCloud appstore. This is for example https://apps.owncloud.com/content/show.php?content=149553 Fixes https://github.com/owncloud/core/issues/17101#issuecomment-117365224
* | | Add oc version to app store requests in stable8Joas Schilling2015-06-293-13/+21
|/ /
* | dont allow using null as view rootRobin Appelman2015-06-251-1/+11
| |
* | Merge pull request #17157 from rullzer/stable8-backport-17136Thomas Müller2015-06-251-1/+1
|\ \ | |/ |/| [stable8] Allow removing of link password in OCS again
| * set NULL correctly in password updateRoeland Jago Douma2015-06-251-1/+1
| | | | | | | | | | Old code used 'NULL' but docterine wants null. Now it is possible again to remove the password from a link share.
* | Backport of #15592 to stable8Thomas Müller2015-06-251-2/+4
|/ | | | | | Avoid php message "Invalid argument supplied for foreach()" - refs #15590 Remove unneeded comments
* Merge pull request #16579 from owncloud/stable8-cors-no-cookie-authThomas Müller2015-06-222-7/+47
|\ | | | | Disallow cookie auth for cors requests stable8
| * disallow cookie auth for cors requestsBernhard Posselt2015-05-272-7/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | testing ... fixes fix test add php doc fix small mistake add another phpdoc remove not working cors annotations from files app