summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #14759 from owncloud/clean-up-codeLukas Reschke2015-03-101-6/+48
|\ | | | | Clean-up code and use proper exception types
| * Clean-up code and use proper exception typesLukas Reschke2015-03-091-6/+48
| |
* | Merge pull request #14346 from owncloud/storage-based-path-validationLukas Reschke2015-03-109-70/+277
|\ \ | | | | | | adding storage specific filename verification
| * | no translation service in common storage classThomas Müller2015-03-092-13/+17
| | |
| * | Respect http header 'Accept-Language' on ocs and remote.php callsThomas Müller2015-03-091-35/+43
| | |
| * | translate error messagesThomas Müller2015-03-092-9/+16
| | |
| * | Optimize loopLukas Reschke2015-03-091-6/+9
| | |
| * | deprecate isValidFileName()Thomas Müller2015-03-091-0/+1
| | |
| * | fixing namespaces and PHPDocThomas Müller2015-03-094-20/+44
| | |
| * | adding storage specific filename verification - refs #13640Thomas Müller2015-03-097-22/+182
| | |
* | | Merge pull request #14689 from owncloud/better-missing-resource-handlingThomas Müller2015-03-095-33/+127
|\ \ \ | | | | | | | | Log errors and create 404 in network list when a css or js is missing
| * | | Log errors and create 404 in network list when a css or js is missingJoas Schilling2015-03-045-33/+127
| | | |
* | | | Merge pull request #14429 from ↵Morris Jobke2015-03-091-11/+58
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | owncloud/issue/14176-validate-timezone-before-using Etc timezones don't exist for .5 and .75 offsets
| * | | | Etc timezones don't exist for .5 and .75 offsetsJoas Schilling2015-03-031-11/+58
| | | | |
* | | | | Merge pull request #14713 from ↵Joas Schilling2015-03-091-9/+10
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | owncloud/issue/14671-preview-delete-check-for-valid-fileid Check whether the file id is valid, before using it to delete the previews
| * | | | Check whether the file id is valid, before using it to delete the previewsJoas Schilling2015-03-091-9/+10
| | | | |
* | | | | proper filename for "require version.php"Morris Jobke2015-03-091-1/+1
| |_|_|/ |/| | |
* | | | Merge pull request #14722 from owncloud/master-14711Lukas Reschke2015-03-061-2/+37
|\ \ \ \ | | | | | | | | | | Fix totally broken AppStore code...
| * | | | Fix totally broken AppStore code...Lukas Reschke2015-03-061-2/+37
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As it turned out the AppStore code was completely broken when it came from apps delivered from the appstore, this meant: 1. You could not disable and then re-enable an application that was installed from the AppStore. It simply failed hard. 2. You could not disable apps from the categories but only from the "Activated" page 3. It did not show the activation state from any category page This code is completely static and thus testing it is impossible. We really have to stop with "let's add yet another feature in already existing static code". Such stuff has to get refactored first. That said, this code works from what I can say when clicking around in the AppStore page GUI. However, it may easily be that it does not work with updates or whatsever as I have no chance to test that since the AppStore code is not open-source and it is impossible to write unit-tests for that. Fixes https://github.com/owncloud/core/issues/14711
* | | | use insertIfNotExist() in cache putThomas Müller2015-03-061-5/+11
| | | |
* | | | Fix PHPDoc on the way ....Thomas Müller2015-03-061-13/+15
| | | |
* | | | Use an atomic implementation on sqlite for insertIfNotExist()Thomas Müller2015-03-061-33/+9
|/ / /
* | | \OC\Memcache\Cache implements \OCP\ICacheRobin McCorkell2015-03-051-1/+1
| | |
* | | Refactor \OC\Memcache\FactoryRobin McCorkell2015-03-052-37/+60
| |/ |/| | | | | | | | | | | | | | | | | Caches divided up into two groups: distributed and local. 'Low latency' is an alias for local caches, while the standard `create()` call tries to get distributed caches first, then local caches. Memcache backend is set in `config.php`, with the keys `memcache.local` and `memcache.distributed`. If not set, `memcache.distributed` defaults to the value of `memcache.local`.
* | Merge pull request #14682 from owncloud/issue/14681-noop-scanner-outdatedVincent Petry2015-03-041-6/+7
|\ \ | | | | | | Update scanFile() and scanChildren() to the new signature of the parent ...
| * | Update scanFile() and scanChildren() to the new signature of the parent classJoas Schilling2015-03-041-6/+7
| | |
* | | Merge pull request #14326 from ↵Morris Jobke2015-03-041-2/+2
|\ \ \ | | | | | | | | | | | | | | | | owncloud/remove-unnessary-backslashes-from-translation Remove unnecessary backslashes from translations
| * | | Remove unnecessary backslashes from translationsJoas Schilling2015-02-181-2/+2
| | | |
* | | | Merge pull request #14651 from ↵Morris Jobke2015-03-044-15/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | owncloud/add-some-headers-to-htaccess-for-my-best-friend-jenkins Let users configure security headers in their Webserver
| * | | | Let users configure security headers in their WebserverLukas Reschke2015-03-024-15/+3
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doing this in the PHP code is not the right approach for multiple reasons: 1. A bug in the PHP code prevents them from being added to the response. 2. They are only added when something is served via PHP and not in other cases (that makes for example the newest IE UXSS which is not yet patched by Microsoft exploitable on ownCloud) 3. Some headers such as the Strict-Transport-Security might require custom modifications by administrators. This was not possible before and lead to buggy situations. This pull request moves those headers out of the PHP code and adds a security check to the admin settings performed via JS.
* | | | Merge pull request #14674 from owncloud/fix-l10n-getlanguagecode-2Joas Schilling2015-03-032-16/+6
|\ \ \ \ | | |_|/ | |/| | Jenkins #14650
| * | | Fix the behaviour of getLanguageCode() to match the expectation of the nameJoas Schilling2015-03-031-14/+5
| | | |
| * | | Use findLanguage() instead of creating the object firstJoas Schilling2015-03-031-2/+1
| | | |
* | | | Merge pull request #14660 from ↵Joas Schilling2015-03-031-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | metaworx/replace-static-dbtableprefix-with-config-dbtableprefix use `dbtableprefix` for temp table and index names
| * | | | replace 'oc_' with dbtableprefix form config for temporary table names and ↵martin-rueegg2015-03-031-2/+2
| | |/ / | |/| | | | | | | | | | indexes
* | | | Merge pull request #14574 from owncloud/fix-irequest-for-older-php-versionsThomas Müller2015-03-033-50/+48
|\ \ \ \ | | | | | | | | | | Read from IRequest instead of reading twice
| * | | | Simplify codeLukas Reschke2015-03-011-2/+3
| | | | |
| * | | | Read from IRequest instead of reading twiceLukas Reschke2015-02-273-50/+47
| | | | | | | | | | | | | | | | | | | | Potentially fixes https://github.com/owncloud/core/issues/14541 and https://github.com/owncloud/core/issues/14506
* | | | | Merge pull request #14638 from owncloud/issue/14538-repairstep-drop-old-tablesThomas Müller2015-03-031-0/+2
|\ \ \ \ \ | |_|_|/ / |/| | | | Add a repair step to delete old tables
| * | | | Add a repair step to delete old tablesJoas Schilling2015-03-021-0/+2
| | | | |
* | | | | Merge pull request #14496 from owncloud/kill-substr-mssql-masterThomas Müller2015-03-031-102/+0
|\ \ \ \ \ | |_|_|/ / |/| | | | [Master] Remove hacky Substring support for MSSQL
| * | | | Remove hacky Substring support for MSSQLLukas Reschke2015-02-251-102/+0
| | | | | | | | | | | | | | | | | | | | Substring() is not required for the core functionality and this allows us to get rid of a huge hack...
* | | | | Merge pull request #14573 from owncloud/enc-migrate-disable-updaterVincent Petry2015-03-022-3/+23
|\ \ \ \ \ | |_|/ / / |/| | | | Disable the cache updater when doing the encryption migration
| * | | | Allow disabling the cache updaterRobin Appelman2015-02-272-3/+23
| | | | |
* | | | | Disable some server checks when running on HHVMLukas Reschke2015-02-281-25/+33
|/ / / / | | | | | | | | | | | | Ref https://github.com/owncloud/core/issues/10837#issuecomment-76516839
* | | | Merge pull request #14575 from owncloud/cache-rename-overwriteMorris Jobke2015-02-271-1/+4
|\ \ \ \ | | | | | | | | | | Fix cache update when doing a rename that overwrites the target
| * | | | Fix cache update when doing a rename that overwrites the targetRobin Appelman2015-02-271-1/+4
| | |/ / | |/| |
* | | | Merge pull request #13616 from owncloud/streamresponseBernhard Posselt2015-02-274-17/+108
|\ \ \ \ | | | | | | | | | | AppFramework StreamResponse
| * | | | AppFramework StreamResponseBernhard Posselt2015-02-274-17/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First stab at the StreamResponse, see #12988 The idea is to use an interface ICallbackResponse (I'm not 100% happy with the name yet, suggestions?) that allow the response to output things in its own way, for instance stream the file using readfile Unittests are atm lacking, plan is to check if a mock of ICallbackResponse will be used by calling its callback (also unhappy with this name) method Usage is: $response = new StreamResponse('path/to/file'); rename io to output, add additional methods and handle error and not modified cases when using StreamResponse fix indention and uppercasing, also handle forbidden cases fix indention fix indention no forbidden, figuring out if a file is really readable is too complicated to get to work across OSes and streams remove useless import remove useless import fix intendation
* | | | | Merge pull request #14567 from owncloud/node-check-fileinfo-interfaceJoas Schilling2015-02-271-0/+23
|\ \ \ \ \ | |_|/ / / |/| | | | Add "throws" lines to calling methods and interface aswell