summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* work directly on storages when doing a chunked upload assemblyRobin Appelman2015-09-142-57/+87
|
* handle notfound exceptions in lock pluginRobin Appelman2015-09-141-1/+5
|
* wrap the entire put operation in a read lockRobin Appelman2015-09-144-9/+98
|
* expose locking api in sabre connectorRobin Appelman2015-09-141-1/+26
|
* Merge pull request #18973 from owncloud/try-fixing-app-config-on-oracleThomas Müller2015-09-141-3/+13
|\ | | | | Do not compare the value on Oracle
| * Do not compare the value on OracleJoas Schilling2015-09-141-3/+13
| | | | | | | | | | As per docs: http://docs.oracle.com/cd/E11882_01/server.112/e26088/conditions002.htm#i1033286 > Large objects (LOBs) are not supported in comparison conditions.
* | Use / instead of an empty string as cookie pathLukas Reschke2015-09-141-1/+5
|/ | | | | | | | | | | | | | When an empty string is used as cookie path PHP will assign the current directory as cookie path. This means when an user had installed an ownCloud under "/", which is mapped to an empty string in \OC::$WEBROOT, and accessed it the cookie was set to values such as "/index.php/apps/files" since the web browser assumed this to be a directory. This means that multiple encryption cookies were set for the same domain resulting in potential havoc. With this patch the path will be set to "/" in case an empty web root is installed which makes the cookie accessible to the whole domain. To test this setup multiple ownCloud instances on the same domain under different ports and have both installed under "/", then try to login in both of it and previously this can in some cases lead to a lockout of the user. Note that this affects the cookies that the browsers do sent and thus to test this you need to clear all cookies from your browser previously. I consider this an acceptable behaviour for now since this code is only in master. Fixes https://github.com/owncloud/core/issues/18919
* make resolve public to avoid boiler plate codeBernhard Posselt2015-09-131-1/+1
| | | | add resolve to public interface
* Merge pull request #18658 from owncloud/configurable-tempFrank Karlitschek2015-09-122-4/+87
|\ | | | | Configurable temporary directory
| * Clean up TempManager to follow code guidelinesRobin McCorkell2015-08-302-40/+69
| | | | | | | | tmpBaseDir can be overridden for unit testing purposes
| * moved code to /lib/private/tempmanager.phproot2015-08-292-4/+58
| | | | | | | | | | | | fix for unit test some fixes
* | Merge pull request #18653 from owncloud/dav-stream-guzzleLukas Reschke2015-09-113-66/+45
|\ \ | | | | | | stream webdav downloads using http client
| * | also use httpclient for uploadFileRobin Appelman2015-09-011-35/+18
| | |
| * | stream webdav downloads using http clientRobin Appelman2015-08-291-29/+15
| | |
| * | allow streamed responses in http clientRobin Appelman2015-08-292-4/+14
| | |
* | | Add reset method to mimetype loaderRobin McCorkell2015-09-112-1/+9
| | | | | | | | | | | | Used to solve concurrency issues
* | | Merge pull request #18676 from owncloud/ext-eventdispatcherRobin McCorkell2015-09-111-0/+32
|\ \ \ | | | | | | | | files_external event dispatcher
| * | | Expose files_external services from ServerRobin McCorkell2015-08-311-0/+32
| | | | | | | | | | | | | | | | Not exposed to OCP yet
* | | | Merge pull request #18851 from owncloud/memcached-getallkeys-fallbackRobin McCorkell2015-09-101-0/+5
|\ \ \ \ | | | | | | | | | | Fallback to complete Memcached flush if getAllKeys fails
| * | | | Fallback to complete Memcached flush if getAllKeys failsRobin McCorkell2015-09-051-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.
* | | | | Merge pull request #18699 from owncloud/notification-managerLukas Reschke2015-09-109-0/+1323
|\ \ \ \ \ | | | | | | | | | | | | Notification manager
| * | | | | Move interfaces to private until they are no longer experimentalJoas Schilling2015-09-089-9/+506
| | | | | |
| * | | | | Add tests for the notification managerJoas Schilling2015-09-081-2/+15
| | | | | |
| * | | | | Add tests for notificationJoas Schilling2015-09-081-8/+8
| | | | | |
| * | | | | Add tests for ActionJoas Schilling2015-09-081-1/+1
| | | | | |
| * | | | | Fix the subject of notificationsJoas Schilling2015-09-082-2/+2
| | | | | |
| * | | | | Fix closures and adding parsed ActionsJoas Schilling2015-09-082-3/+3
| | | | | |
| * | | | | Fix the request type and the validityJoas Schilling2015-09-082-3/+4
| | | | | |
| * | | | | Allow getting the request typeJoas Schilling2015-09-081-0/+8
| | | | | |
| * | | | | Use an INotification to getCount() and markProcessed()Joas Schilling2015-09-081-10/+6
| | | | | |
| * | | | | Add the request type to the actionJoas Schilling2015-09-081-1/+9
| | | | | |
| * | | | | Add the app id to the markProcessed methodJoas Schilling2015-09-081-2/+3
| | | | | |
| * | | | | Handle InvalidArgumentException more gracefullyJoas Schilling2015-09-081-5/+10
| | | | | |
| * | | | | Add language to the preparation methodJoas Schilling2015-09-081-2/+3
| | | | | |
| * | | | | Notification APIJoas Schilling2015-09-084-0/+793
| | | | | |
* | | | | | Merge pull request #17791 from owncloud/make-eventsource-compatible-with-win10Lukas Reschke2015-09-101-0/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add custom CSP for Win 10 compatibility
| * | | | | | Add custom CSP for Win 10 compatibilityLukas Reschke2015-07-211-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
* | | | | | | Write to session in batch at the end of the requestLukas Reschke2015-09-092-8/+22
| | | | | | |
* | | | | | | Write session data to single keyLukas Reschke2015-09-091-16/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents decrypting values multiple times.
* | | | | | | Use md5 over the version file to prevent cyclyc dependencyLukas Reschke2015-09-091-3/+1
| | | | | | |
* | | | | | | Merge pull request #18684 from owncloud/explicit-upgrade-versionMorris Jobke2015-09-092-11/+23
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Explicit upgrade version + prevent downgrades
| * | | | | | | Improved update version detection logicVincent Petry2015-08-311-7/+1
| | | | | | | |
| * | | | | | | Simplify comparison algoVincent Petry2015-08-311-15/+1
| | | | | | | |
| * | | | | | | Throw exception on downgrade attemptVincent Petry2015-08-301-1/+5
| | | | | | | |
| * | | | | | | Restrict upgrades to explicit allowed versionVincent Petry2015-08-301-6/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | version.php now contains the previous ownCloud version from which upgrades are allowed. Any other upgrades will show a message that the upgrade/downgrade is not supported.
* | | | | | | | Merge pull request #18908 from owncloud/allow-0-as-passwordBjörn Schießle2015-09-091-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Allow 0 and false as password
| * | | | | | | | Allow 0 and false as passwordLukas Reschke2015-09-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we use the check for "empty" here passwords such as 0 will not work. Fixes https://github.com/owncloud/password_policy/issues/8
* | | | | | | | | Cache generated resultLukas Reschke2015-09-081-1/+8
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Saves 50ms
* | | / / / / / Remove XSendFile supportLukas Reschke2015-09-071-57/+1
| |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | Required to ensure proper locking
* | | | | | | Merge pull request #18839 from owncloud/autoloader-supersecureMorris Jobke2015-09-072-9/+16
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Restrict autoloaded paths to loaded apps (and other enhancements)