summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Add \OC\TempManager to handle creating and cleaning temporary filesRobin Appelman2015-01-082-0/+45
|
* Do only follow HTTP and HTTPS redirectsLukas Reschke2014-09-231-0/+5
| | | | | | | | | | | | | | | We do not want to follow redirects to other protocols since they might allow an adversary to bypass network restrictions. (i.e. a redirect to ftp:// might be used to access files of a FTP server which might be in a secure zone and not be reachable from the net but from the ownCloud server) Get final redirect manually using get_headers() Migrate to HTTPHelper class and add unit tests Conflicts: apps/files/ajax/newfile.php lib/private/files/storage/dav.php lib/private/server.php lib/private/util.php lib/public/iservercontainer.php
* we need the recipient as a additional parameter to know for which share the ↵Bjoern Schiessle2014-08-141-4/+5
| | | | notification was send
* Fix template rendering for 'blank' templatesMorris Jobke2014-07-301-1/+3
|
* added missing LockNotAcquiredExceptionThomas Müller2014-06-051-0/+47
|
* Continued flock work.ringmaster2014-06-051-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add actual locking and log changes necessary for debugging. Simpler log unique id. Respect locked files, surface correct exception. Conflicts: lib/private/connector/sabre/file.php Remove unused methods. Conflicts: lib/private/files/storage/local.php Fix typo Fix typo Removed unused vars/declarations, update PHPDoc. Don't error out on console. Move Lock to private namespace, add interface. Update PHPDoc. Restore the reference to this used exception class. make sure to close the stream at the end of each test Normalize lock exception messages. don't ask for fileInfo if we already have one Conflicts: apps/files_encryption/lib/proxy.php name the storage wrapper to make sure that we don't apply the wrapper multiple times Conflicts: lib/private/util.php fix unit test after adding the additional parameter to addStorageWrapper() only lock if unlink is called for a file Can't use assertInstanceOf on wrapped storage; use assertTrue(instanceOfStorage() instead. Conflicts: tests/lib/files/filesystem.php Use ->instanceOfStorage() not instanceof for Storage instances. Conflicts: lib/private/helper.php get the storage from the view Conflicts: apps/files_encryption/tests/webdav.php workaround to get the unit test going Conflicts: apps/files_encryption/hooks/hooks.php Added isLocal() method to storage, used for xsendfile Added isLocal() method to Storage to find out whether the storage is local or not. This method is used for the x-sendfile logic to find out whether to add the headers. Conflicts: lib/private/files.php Add ->instanceOfStorage to handle instanceof for storage wrappers Conflicts: lib/private/files/storage/common.php lib/private/files/storage/wrapper/wrapper.php lib/public/files/storage.php Use instanceOfStorage instead of instanceof Conflicts: lib/private/files.php Fix storage wrapper being called with null Pass any methods custom to specific storage implementations to the wrapped storage remove duplicate declaration of isLocal() remove file locking - code will continue to live in it's own app
* Add ->instanceOfStorage to handle instanceof for storage wrappersRobin Appelman2014-06-041-0/+8
|
* Added password obfuscation for external storage configVincent Petry2014-05-221-0/+9
| | | | | | | | | | | | | Added obfuscation for all "password" options from external storages. Added more ext storage unit tests config. Added unit tests for reading/writing the configuration. Added IV for ext storage password encryption Moved the mounting code for external storage from OC\Filesystem::initMountPoint to files_external using the post_initMountPoints hook Fixed ext storage unit test for groups Squashed backport of 2c561c9c5072ce82e06bd5ab2c4ee81bc5d09d59 from master.
* always encrypt files to ownerBjoern Schiessle2014-05-051-3/+3
|
* merge middleware string registrationBernhard Posselt2014-04-181-2/+2
|
* Verify that a file exists before we share itRobin Appelman2014-04-171-0/+10
|
* Update controller.phpBernhard Posselt2014-04-101-1/+9
| | | Backwards compability fix for faster merge ;)
* Remove dependency on container, removing service locator antipatternBernhard Posselt2014-04-081-7/+7
|
* Fix 'Undefined variable: message' in OCP\Util::logExceptionThomas Tanghus2014-03-251-5/+2
|
* finally fix the paths for the OCS Share APIBjoern Schiessle2014-03-131-2/+4
|
* fix path creation for re-shares, issue #7662Bjoern Schiessle2014-03-111-2/+7
|
* fix path in sharing results if it is a file in the Shared folderBjoern Schiessle2014-02-261-1/+15
|
* replace 'size' with 'unencrypted_size' if encryption is enabledBjoern Schiessle2014-02-071-1/+1
|
* Added exception logger plugin for sabre connectorVincent Petry2014-01-281-2/+6
| | | | | | | | | | | | | Whenever an exception occurs in the sabre connector code or code called by it, it will be logged. This plugin approach is needed because Sabre already catches exceptions to return them to the client in the XML response, so they don't appear logged in the web server log. This will make it much easier to debug syncing issues. Backport of 11ef12a to stable6
* fixing comment + adding unit test for checkPasswordProtectedShareThomas Müller2014-01-211-1/+7
|
* in case no share is found for the given token we can return right awayThomas Müller2014-01-211-0/+3
|
* adding password protection check to getShareByToken()Thomas Müller2014-01-211-4/+32
|
* OC_Util::setupFS($user) will create a data dir for the given string - no ↵Thomas Müller2014-01-211-1/+9
| | | | | | | matter if the user really exists - OCP\JSON::checkUserExists($owner); introduces a ready to use check which will bail out with an JSON error Conflicts: lib/public/json.php
* add needUpgrade() check to addQueuedTask()Jörn Friedrich Dreyer2014-01-171-2/+4
|
* Unshare all will now delete all shares for the item, instead of only for a ↵ben-denham2014-01-161-1/+9
| | | | single owner.
* Merge pull request #6612 from owncloud/user-no-change-displayname-stableicewind19912014-01-141-3/+12
|\ | | | | Backport: Re-add the config options to remove the ability for users to change their displayname
| * Also add default to the \OCP\IConfig interfaceRobin Appelman2014-01-021-3/+12
| |
* | Moved content disposition code+workarounds to OCP\ResponseVincent Petry2014-01-071-0/+9
|/ | | | | | | | | Added new OC\Response API called setContentDispositionHeader() that contains the needed workarounds for UTF8 and IE. Refactored download code to use the new API. Removed unused trashbin download file.
* Do not use L10n when logging exceptionsVincent Petry2013-12-171-2/+1
| | | | | | | | | In some specific situations, the L10N bundle isn't loadable yet (for example when there is an issue with the app_config table). In such case, we still want to be able to log the real exception. This fixes errors that say "OC_L10N_String::__toString must not throw exceptions"
* dont try to register background jobs if we haven't upgraded yetRobin Appelman2013-12-131-2/+6
|
* rely only on php DateTime to parse the db datetime stringJörn Friedrich Dreyer2013-12-121-3/+2
|
* add a optional parameter to skip check for expired files, this is necessary ↵Bjoern Schiessle2013-12-061-14/+21
| | | | to find out to whom a file was shared after it was expired.
* Merge pull request #6052 from owncloud/datetime-doctrineThomas Müller2013-12-011-3/+5
|\ | | | | Get rid of date strings for DB. Completely use Doctrine and DateTime.
| * Use the Doctrine to convert date string to DateTime object.Andreas Fischer2013-11-261-1/+2
| |
| * Use DateTime object instead of fixed format date string.Andreas Fischer2013-11-261-2/+1
| | | | | | | | | | Use a DateTime object and have conversion handled by Doctrine instead of using a date string with a fixed format.
| * Use bindValue() instead of passing parameters in execute().Andreas Fischer2013-11-261-1/+3
| |
* | Merge pull request #6077 from owncloud/fix-api-documentationFrank Karlitschek2013-11-293-2/+31
|\ \ | | | | | | API doc for contacts manager, server container and share
| * | add comment from @DeepDiverMorris Jobke2013-11-271-2/+1
| | |
| * | API doc for contacts manager, server container and shareMorris Jobke2013-11-273-2/+32
| |/
* | Merge pull request #6027 from owncloud/public-api-restful-routing-oc6Morris Jobke2013-11-271-0/+23
|\ \ | |/ |/| fix appframework routing
| * adding documentation for registerRoutes()Thomas Müller2013-11-251-1/+13
| |
| * fix appframework routingThomas Müller2013-11-251-0/+11
| |
* | Merge pull request #6034 from owncloud/fix-api-documentationOwen Winkler2013-11-2528-19/+187
|\ \ | |/ |/| Fix api documentation
| * fix some capital lettersMorris Jobke2013-11-255-5/+14
| |
| * page level doc blocks and class descriptionsMorris Jobke2013-11-2515-0/+95
| |
| * AppFramework(Controller|HTTP|HTTP-Responses|Middleware), IContainer API fixesMorris Jobke2013-11-257-4/+58
| |
| * fix defaults.php docMorris Jobke2013-11-251-10/+18
| |
| * fix db.php docMorris Jobke2013-11-251-0/+2
| |
* | Merge pull request #5040 from owncloud/public_api_avatar_masterblizzz2013-11-223-0/+67
|\ \ | | | | | | Add public API for \OC\Avatar
| * | fixing PHPDoc comments and syntaxThomas Müller2013-11-221-1/+1
| | |