summaryrefslogtreecommitdiffstats
path: root/lib/private/helper.php
Commit message (Collapse)AuthorAgeFilesLines
* Add owner to the storage stats to enable better notificationsMorris Jobke2015-06-051-1/+15
| | | | | * getstoragestats.php returns now the owner and it's display name * show proper storage stats notifications for shared folders
* Pure numbers are returned as bytes right awayThomas Müller2015-05-081-0/+3
|
* Validate the quota value to be a correct valueThomas Müller2015-05-071-0/+2
|
* Fix several type(hint) errors in private/helper.phpJoas Schilling2015-04-271-4/+5
|
* Remove unused variablesMorris Jobke2015-04-181-1/+0
| | | | | * should make scrutinizer a lot more happy * reduces maybe memory footprint
* Adding a final fallback for findBinaryPathOlivier Paroz2015-04-141-1/+6
|
* Introducing media types for yml, yaml, cnf, confOlivier Paroz2015-04-021-6/+7
|
* Merge pull request #12314 from oparoz/patch-3Lukas Reschke2015-04-021-11/+18
|\ | | | | Make findBinaryPath compatible with open_basedir
| * Use getenv to get the paths for `find`Olivier Paroz2015-03-311-3/+4
| |
| * use ExecutableFinder and find in findBinaryPathOlivier Paroz2015-03-311-11/+17
| | | | | | | | | | | | | | | | | | | | | | When using open_basedir, commands such as `which`or `command`can fail because they might try to look outside of the restricted perimeter. Symfony's ExecutableFinder can be used instead to look in standard locations and we can use `find` as a last resort A better solution would be to adopt a mechanism similar to what has been done for office documents where a configuration parameter is used to indicate the path where the executable is to be found.
* | Deprecate functions that only call the urlgenerator anywayRoeland Jago Douma2015-04-011-0/+5
|/
* Update license headersJenkins for ownCloud2015-03-261-13/+38
|
* Introducing the Raw mimetypesOlivier Paroz2015-03-161-0/+1
|
* Avatar controller moved to AppFrameWorkRoeland Jago Douma2015-03-111-1/+1
| | | | | | | | * Original avatarcontroller migrated to the appframework * Added DataDisplayResponse that show data inline in the browser (used to retrun the image) * Removed some unneeded code * Added unit tests for the avatarcontroller
* Merge pull request #14530 from owncloud/revert-14403Thomas Müller2015-02-271-37/+17
|\ | | | | Revert "Updating license headers"
| * Revert "Updating license headers"Morris Jobke2015-02-261-37/+17
| | | | | | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* | Properly detect streamCopy errorsVincent Petry2015-02-251-3/+13
|/ | | | Now checking whether the written bytes match the number of read bytes.
* Updating license headersJenkins for ownCloud2015-02-231-17/+37
|
* Merge pull request #13854 from owncloud/avatar-existsVincent Petry2015-02-091-6/+1
|\ | | | | Add a better way to check if an avatar exists for the user
| * Add a better way to check if an avatar exists for the userRobin Appelman2015-02-031-6/+1
| |
* | Updated the media type of some font typesOlivier Paroz2015-01-241-1/+2
|/ | | | | | | | TTF and TTF have now the same media type Official since 2013 and supported by Firefox and Chrome https://www.iana.org/assignments/media-types/application/font-sfnt Introducing support for Type1 fonts
* Reuse the array key of mimetypesLukas Reschke2015-01-181-70/+71
| | | | | | | | This function is called a lot of times and was really slow before due to not reusing the same array. Previously when it was called 500'000 times it took about 2seconds, now we're down to 0.2 seconds on my local machine. Ref https://github.com/owncloud/core/issues/13434
* Memcache binary executable searchingRobin McCorkell2015-01-091-2/+8
| | | | It's slow, this makes it fast!
* Add error handling to getstoragestats.phpRobin Appelman2015-01-061-0/+3
|
* Improve the bitmap and vector mime iconsOlivier Paroz2014-12-021-1/+4
| | | | | | | | | | * Vector files such as Illustrator files currently show the "image" icon. I propose to add a new type to mimetypeIcon() called "image/vector" and which would be used by SVG as well * We can use the current image-svg+xml icon, but would simply rename it to image-vector * The black and white "image" icon looks too much like a settings icon. A simple picture representation pasted over the file icon should work
* Merge pull request #12419 from owncloud/read-only-configThomas Müller2014-12-011-0/+8
|\ | | | | Allow read-only configuration
| * Allow read-only configurationLukas Reschke2014-11-251-0/+8
| | | | | | | | | | | | Workaround required for IIS setups running ownCloud to prevent dataloss. Long-term solution would be to move some configuration settings to the database
* | Introduce app info xml parser including basic unit test - necessary for #10777Thomas Müller2014-11-251-3/+2
|/
* Deduplicate function by moving it to the OC_HelperJoas Schilling2014-11-201-0/+17
|
* Use the TempManager to handle temporary filesRobin Appelman2014-10-241-117/+4
|
* Load avatar in header via PHPkondou2014-10-231-0/+15
| | | | | * fix #7484 * use UID, css, and div instead of span
* adding cssmin and jssmin(minify)Thomas Müller2014-10-171-6/+11
| | | | | | adding argument deleteSelf to rmdirr() - if false the directory itself will not be deleted only it's content adding repair step to clean the asset cache after upgrade + coding style adjustments
* catch and log exception in OC_Helper::cleanTmp()Thomas Müller2014-09-261-3/+21
|
* fixing directory seperatorsClark Tomlinson2014-09-221-2/+2
|
* Match \OC_Helper::linkToPublic() to new links and fit unittestskondou2014-09-041-6/+6
|
* Merge pull request #10023 from owncloud/tmp-file-created-statusVincent Petry2014-08-251-2/+14
|\ | | | | Log unsuccessful temp file creation and return false
| * Log unsuccessful temp file creation and return falseVictor Dubiniuk2014-07-301-2/+14
| |
* | move to public namespaceMorris Jobke2014-08-191-2/+2
| |
* | Fix STORAGE_* constants usage by moving those constants into ↵Stephan Peijnik2014-08-191-2/+2
| | | | | | | | | | | | | | | | | | | | \OC\Files\Filesystem. As constants not defined within a class cannot be automatically found by the autoloader moving those constants into a class makes them accessible to code which uses them. Signed-off-by: Stephan Peijnik <speijnik@anexia-it.com>
* | APK mimetype icon to be a generic package icon.Normal Ra2014-08-121-0/+1
|/
* update PHPDoc $fileInfo is a SplFileInfoThomas Müller2014-06-231-1/+1
|
* dir itself has to be removed as wellThomas Müller2014-06-231-0/+1
|
* fix recursion on rmdirrThomas Müller2014-06-231-7/+11
|
* Add server<->server sharing backendRobin Appelman2014-06-141-1/+1
|
* Added hacky fix for long path cleanup routineVincent Petry2014-06-061-0/+2
|
* Added experimental switch to count external storage data in quotaVincent Petry2014-06-041-1/+46
| | | | | | | This includes all mountpoints except the Shared one in the used space calculation. Added unit tests for ext storage inclusion in quota calculation
* Use ->instanceOfStorage() not instanceof for Storage instances.ringmaster2014-06-041-1/+1
|
* Make the recursive delete more robustRobin Appelman2014-05-231-1/+1
|
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-23/+23
| | | | * test case added to avoid adding them later
* Fix all PHPDoc types and variable names, in /libRobin McCorkell2014-05-131-7/+7
|