summaryrefslogtreecommitdiffstats
path: root/lib/private/helper.php
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Replace @returns with @return, in /libRobin McCorkell2014-05-131-1/+1
|
* Rename issubdirectory to isSubDirectoryLukas Reschke2014-05-111-1/+1
|
* Harden issubdirectory()Lukas Reschke2014-05-111-1/+13
| | | | realpath() may return false in case the directory does not exist since we can not be sure how different PHP versions may behave here we do an additional check whether realpath returned false
* Merge pull request #8223 from owncloud/fix_linkToPublicVincent Petry2014-05-071-5/+13
|\ | | | | Fix linkToPublic and linkToAbsolute.
| * Also fix linkToAbsoluteThomas Tanghus2014-04-161-3/+7
| |
| * Fix linkToPublic. Refs #8218Thomas Tanghus2014-04-151-2/+6
| |
* | Merge pull request #8023 from flyser/masterMorris Jobke2014-05-031-0/+26
|\ \ | | | | | | Fix setting the max-upload-size for really large values.
| * | Fix setting the max-upload-size for really large values.Fabian Henze2014-04-031-0/+26
| | | | | | | | | | | | php can only parse filesize units up to gigabytes, not terabytes or petabytes.
* | | Some more PHPDoc fixesLukas Reschke2014-04-211-1/+1
| | |
* | | White-list known secure mime types. Refs. #8184Thomas Tanghus2014-04-141-0/+10
| |/ |/|
* | Allow reusing FileInfo for getStorageInfoRobin Appelman2014-04-021-3/+6
|/
* Sub-dir was prepended twiceThomas Tanghus2014-03-291-2/+1
|
* Merge pull request #7764 from owncloud/datadir-chmodicewind19912014-03-171-29/+0
|\ | | | | use a non-recursive chmod on the datadir
| * use a non-recursive chmod on the datadirRobin Appelman2014-03-171-29/+0
| |
* | Correctly round bytes when converted from human readable formatVincent Petry2014-03-171-2/+2
|/ | | | | Instead of leave two decimal places which is confusing, round the byte values correctly to the closest byte.
* Fixed total space display when data size exceeds quotaVincent Petry2014-03-101-1/+10
| | | | | The total space display in the personal page now shows the quota value instead of used space when used space exceeds the quota (soft quota).
* Fixed upload issue when free space is not knownVincent Petry2014-03-061-1/+1
|
* introduce new theme function to allow full creation of documentation links: ↵Thomas Müller2014-02-251-1/+1
| | | | buildDocLinkToKey()
* fix filetype icons for gzip, tex, perl, csv, shJan-Christoph Borchardt2014-02-201-0/+5
|
* fix lots of file type icons for archives, js, flash, ics, fonts, code, ...Jan-Christoph Borchardt2014-02-191-1/+25
|
* use file icon as fallback instead of application icon, fix #7237Jan-Christoph Borchardt2014-02-171-0/+1
|
* merge master into storagestatistics-reuseRobin Appelman2014-02-051-38/+35
|\
| * Merge pull request #6235 from NCTU-NBA/pr-exceed_upload_limit_msgJan-Christoph Borchardt2014-02-041-12/+28
| |\ | | | | | | Change misleading message when file size exceeds upload limit
| | * Merge branch 'master' into pr-exceed_upload_limit_msgPellaeon Lin2014-01-301-3/+8
| | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: apps/files/templates/index.php apps/files_sharing/templates/public.php