summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Encode HTML tags in JSONLukas Reschke2015-09-031-1/+1
| | | | While not encoding the HTML tags in the JSON response is perfectly fine since we set the proper mimetype as well as disable content sniffing a lot of automated code scanner do report this as security bug. Encoding them leads to less discussions and a lot of saved time.
* Merge pull request #18620 from owncloud/add-public-interface-for-factoryVincent Petry2015-08-292-1/+37
|\ | | | | Add a public interface for the language factory so apps can use it
| * Add since tagJoas Schilling2015-08-281-0/+4
| |
| * Deprecate OC_L10N::get()Joas Schilling2015-08-281-1/+1
| |
| * Add a public interface for the language factory so apps can use itJoas Schilling2015-08-271-0/+32
| |
* | Merge pull request #18423 from owncloud/occ_encrypt_allBjörn Schießle2015-08-281-0/+12
|\ \ | |/ |/| occ command line tool to encrypt all files
| * occ tool to encrypt all filesBjoern Schiessle2015-08-261-0/+12
| |
* | Merge pull request #17662 from owncloud/locking-dbThomas Müller2015-08-261-0/+8
|\ \ | | | | | | Database backend for locking
| * | add method to check if we're inside a transactionRobin Appelman2015-08-101-0/+8
| | |
* | | Use IClientService to check for remote ownCloud instancesLukas Reschke2015-08-221-0/+5
| | | | | | | | | | | | | | | | | | | | | 1. Allows to set a timeout (though still not perfect but way better than before) 2. Allows to have unit tests 3. I also added unit tests for the existing controller code 4. Corrected PHPDoc on IClient
* | | Expand the doc blocks on the new methodsJoas Schilling2015-08-201-0/+17
| | |
* | | Use an IEvent object instead of a huge parameter listJoas Schilling2015-08-193-18/+218
| | |
* | | Extend the interfaces IManager and IConsumer to allow passing in the objectJoas Schilling2015-08-192-36/+41
| |/ |/|
* | Merge pull request #14314 from owncloud/clean-up-ocs-codeBernhard Posselt2015-08-181-2/+0
|\ \ | | | | | | Cleanup OCS code
| * | Cleanup OCS codeLukas Reschke2015-08-141-2/+0
| | | | | | | | | | | | This removes unused code from `OC_OCS` which nobody understood what it really was for anyways.
* | | Adding EventDispatcher to IServerContainerThomas Müller2015-08-141-0/+9
|/ /
* | With V2 we should ensure that the status codes are kept in syncThomas Müller2015-08-131-1/+1
| |
* | Merge pull request #16528 from owncloud/activity-302-improve-settingsJoas Schilling2015-08-112-2/+15
|\ \ | | | | | | Activity 302 improve settings
| * | Allow types to be method specificJoas Schilling2015-07-222-2/+15
| | |
* | | Merge pull request #18096 from sualko/patch-1Morris Jobke2015-08-101-0/+1
|\ \ \ | | | | | | | | add data: to allowed image domains
| * | | add data: to allowed image domainssualko2015-08-051-0/+1
| | |/ | |/|
* | | Merge pull request #18175 from owncloud/automatic-db-prefix-query-builderThomas Müller2015-08-101-0/+9
|\ \ \ | | | | | | | | Automatic db prefix query builder
| * | | Automatically prefix table names with *PREFIX* unless specifiedJoas Schilling2015-08-101-0/+9
| | | |
* | | | Use DIRoeland Jago Douma2015-08-103-51/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Register OCP\Capability\IManager at DIContainer * Add register capabilities to appframework * Register capabilities in DI way * Make unit test pass again * Remove CapabiltiesManager from OCP
* | | | Added Capabilities ManagerRoeland Jago Douma2015-08-103-0/+98
|/ / / | | | | | | | | | | | | | | | | | | * This should allow the capabilities to be intergrated into the appframework * Unit tests * Throw exception if closure does not return ICapability instance
* | | Merge pull request #13641 from owncloud/cache-storage-statusVincent Petry2015-08-071-0/+20
|\ \ \ | | | | | | | | Store storage availability in database
| * | | Store storage availability in databaseRobin McCorkell2015-07-201-0/+20
| | |/ | |/| | | | | | | | | | | | | | | | | | | Storage status is saved in the database. Failed storages are rechecked every 10 minutes, while working storages are rechecked every request. Using the files_external app will recheck all external storages when the settings page is viewed, or whenever an external storage is saved.
* | | Fix unit test within OCSControllerThomas Müller2015-08-031-2/+1
| | |
* | | Remove duplicate and unused codeThomas Müller2015-08-032-26/+10
| |/ |/|
* | Merge pull request #15543 from rullzer/mimetypedetectorMorris Jobke2015-07-282-0/+87
|\ \ | | | | | | Mimetypedetector
| * | Added mimetype detectorRoeland Jago Douma2015-07-272-0/+87
| | | | | | | | | | | | * Copied unit tests from old functions
* | | Add PHPDoc for classes and interfacesMorris Jobke2015-07-275-0/+12
|/ /
* | Merge pull request #17838 from owncloud/sharing-password-policy-masterThomas Müller2015-07-241-1/+1
|\ \ | | | | | | Use a hook to integrate sharing password verification
| * | Fix PHPDoc on setPasswordThomas Müller2015-07-231-1/+1
| | |
* | | Merge pull request #17755 from owncloud/alias-container-aliveThomas Müller2015-07-241-1/+14
|\ \ \ | |/ / |/| | Add registerAlias method to shortcut interface registration #17714
| * | add registerAlias method to shorcut interface registrationBernhard Posselt2015-07-181-1/+14
| |/ | | | | | | | | | | | | | | remove unused import add since tag fix typo
* | Add a log message when the Doctrine Query Builder is retrievedJoas Schilling2015-07-211-8/+0
| |
* | Add unit tests and automatic quotingJoas Schilling2015-07-217-54/+171
| |
* | Add QueryBuilder, ExpressionBuilder and CompositeExpression wrappersJoas Schilling2015-07-214-0/+1074
|/
* Merge pull request #17046 from nicolas-grekas/fix-16654blizzz2015-07-161-0/+2
|\ | | | | Do not use OC*::mb_*_replace(), they are useless
| * Do not use OC*::mb_*_replace(), they are uselessNicolas Grekas2015-07-161-0/+2
| |
* | Merge pull request #16965 from owncloud/getUserFolder-in-IRootFolderMorris Jobke2015-07-092-0/+9
|\ \ | | | | | | Add getUserFolder to IRootFolder
| * | Add getUserFolder to IRootFolderMorris Jobke2015-07-032-0/+9
| | | | | | | | | | | | | | | * untangle DI of user specific folders * allows to autodetect the dependency
* | | Merge pull request #17304 from owncloud/fix-17265Vincent Petry2015-07-061-2/+9
|\ \ \ | | | | | | | | Check if response could get generated
| * | | Check if response could get generatedLukas Reschke2015-07-021-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `json_encode` fails hard on PHP >= 5.5 if a non UTF-8 value is specified by returning false. Older PHP versions just nullify the value which makes it at least somewhat usable. This leads to very confusing errors which are very hard to debug since developers are usually not aware of this. In this case I'd consider throwing a fatal exception – since it arguably is an error situation – is a fair solution since this makes developers and administrators aware of any occurence of the problem so that these bugs can get fixed. Fixes https://github.com/owncloud/core/issues/17265
* | | | Fixing unit test executionThomas Müller2015-07-031-3/+3
| | | |
* | | | Remove OC_LogThomas Müller2015-07-031-1/+1
| | | |
* | | | Merge pull request #15663 from owncloud/remove-ocp-app-registerThomas Müller2015-07-031-12/+0
|\ \ \ \ | |_|/ / |/| | | Remove \OCP\App::register()
| * | | Remove \OCP\App::register()Morris Jobke2015-04-211-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This method can be removed. This isn't used anymore since 4.5.0. It's deprecated since mid 2012 https://github.com/owncloud/core/commit/e4679770c4d85896bef3e81125e86e272bb6cd64 It doesn't do anything since mid 2012 https://github.com/owncloud/core/commit/8a92cd21d6768fc27c4892583bef327da9a7e5f4
* | | | Merge pull request #17291 from owncloud/mount-manager-publicVincent Petry2015-07-032-0/+110
|\ \ \ \ | |_|/ / |/| | | expose the mount manager in the public api