summaryrefslogtreecommitdiffstats
path: root/lib/private/helper.php
Commit message (Collapse)AuthorAgeFilesLines
* Work around INF=0 on some shared hostsRobin Appelman2015-10-021-1/+1
|
* Merge pull request #19505 from owncloud/returnfloatforquotaJörn Friedrich Dreyer2015-10-021-2/+2
|\ | | | | always return float, update doc
| * always return float, update docJörn Friedrich Dreyer2015-10-011-2/+2
| |
* | Change small thumbnails to 32 pxMorris Jobke2015-09-301-2/+2
|/ | | | | * fixes #16913 * fixes issues in IE8 where the thumbnail is too big
* Proper deprecate methodsRoeland Jago Douma2015-07-271-12/+4
|
* Move mimetypedetection to files/type/detectionRoeland Jago Douma2015-07-271-81/+9
|
* Added mimetype detectorRoeland Jago Douma2015-07-271-0/+5
| | | | * Copied unit tests from old functions
* Merge pull request #17046 from nicolas-grekas/fix-16654blizzz2015-07-161-17/+5
|\ | | | | Do not use OC*::mb_*_replace(), they are useless
| * Do not use OC*::mb_*_replace(), they are uselessNicolas Grekas2015-07-161-17/+5
| |
* | Merge pull request #17481 from rullzer/mimetype-listMorris Jobke2015-07-131-1/+11
|\ \ | | | | | | Move mimetypes.list.php to config/mimetypemapping.dist.json
| * | Move to OC::$configDifRoeland Jago Douma2015-07-101-3/+3
| | |
| * | Move mimetypemapping.json to mimetypemapping.dist.jsonRoeland Jago Douma2015-07-081-2/+9
| | | | | | | | | | | | | | | | | | This allows users to create their own mapping file to extend our current mappings. This makes sure that custom mappings are not lost on OC upgrades.
| * | Move mimetypes.list.php to config/mimetypemapping.jsonRoeland Jago Douma2015-07-081-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | This allows users to add new mimetypemappings (extention -> mimetype) themself. And not have to wait until a new release for updated mimetypes. Fixes: #15384
* | | Move mimetypealiases.json to mimetypealiases.dist.jsonRoeland Jago Douma2015-07-101-1/+6
| | |
* | | Merge pull request #15586 from Egari/addThemeSupportToMimeIconMorris Jobke2015-07-091-15/+20
|\ \ \ | |/ / |/| | Add theme support to mimetypeIcon through imagePath integration
| * | Add theme support to mimetypeIcon through imagePath integrationstolter2015-07-071-15/+20
| | |
* | | Make php also use config/mimetypealiases.jsonRoeland Jago Douma2015-07-071-71/+7
| | |
* | | update license headers and authorsMorris Jobke2015-06-251-1/+1
| |/ |/|
* | 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