aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #13480 from owncloud/mysql-autocommitLukas Reschke2015-01-191-4/+9
|\ | | | | set MySQL autocommit on connection setup
| * set MySQL autocommit on connection setupThomas Müller2015-01-191-4/+9
| |
* | Fix chunked query for tags + unit testVincent Petry2015-01-191-1/+1
|/
* check is mimetype is set - fixed #13452Thomas Müller2015-01-191-1/+1
|
* Merge pull request #13423 from ↵Thomas Müller2015-01-191-9/+18
|\ | | | | | | | | owncloud/share-fixfindshareforuserwithmultiplegroups Fix getItemSharedWithUser for groups
| * Fix getItemSharedWithUser for groupsVincent Petry2015-01-161-9/+18
| | | | | | | | | | | | Fixed SQL query for whenever a user has more than one group. Added missing $owner where clause for group lookup. Added unit tests for the group cases.
* | Merge pull request #13438 from owncloud/cache-the-arrayThomas Müller2015-01-191-70/+71
|\ \ | | | | | | Reuse the array key of mimetypes
| * | 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
* | | Fix exif orientation for flipped imagesMorris Jobke2015-01-181-5/+12
|/ / | | | | | | | | | | | | | | fixes #13363 Links: * http://www.daveperrett.com/articles/2012/07/28/exif-orientation-handling-is-a-ghetto/ * Example data: https://github.com/recurser/exif-orientation-examples
* | Merge pull request #13319 from owncloud/replace-line-breaks-in-app-descriptionLukas Reschke2015-01-171-1/+38
|\ \ | | | | | | replace line breaks in the app description by spaces - fixes #13315
| * | OC_App::parseAppInfoMorris Jobke2015-01-141-1/+38
| | | | | | | | | | | | | | | | | | * replace line breaks (on non empty lines) in the app description by spaces * fixes #13315 * includes unit tests
* | | Merge pull request #13160 from owncloud/extstorage-ocbackendnopartfileMorris Jobke2015-01-161-27/+59
|\ \ \ | |_|/ |/| | Disable part files for OC ext storage backend + s2s backend
| * | remove unused variable and fix undefined variableThomas Müller2015-01-081-5/+4
| | |
| * | Disable part files for OC ext storage backend + s2s backendVincent Petry2015-01-071-28/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When uploading files to an OC ext storage backend or when using server to server sharing storage, part files aren't needed because the backend already has its own part files and takes care of the final atomic rename operation. This also fixes issues when using two encrypted ownCloud instances where one mounts the other either as external storage (ownCloud backend) or through server to server sharing.
* | | Fix PHPDocLukas Reschke2015-01-151-0/+1
| | |
* | | Remove children from the cache in one queryRobin Appelman2015-01-151-24/+36
| | |
* | | always set url parameters when they are available in the app dispatchBernhard Posselt2015-01-153-9/+18
| | | | | | | | | | | | | | | | | | prefer url parameters passed into the main method. If they are not present, use the containers urlParameters add space
* | | Merge pull request #13317 from owncloud/partfile-fileinfoThomas Müller2015-01-141-0/+31
|\ \ \ | | | | | | | | Return valid fileinfo objects for part files
| * | | Return valid fileinfo objects for part filesRobin Appelman2015-01-131-0/+31
| | | |
* | | | Merge pull request #13344 from owncloud/issue/13334-cleanup-tags-repairstepMorris Jobke2015-01-141-1/+3
|\ \ \ \ | | | | | | | | | | Add a repair step to clean up orphan tags and tag entries
| * | | | Add a repair step to clean up orphan tags and tag entriesJoas Schilling2015-01-141-1/+3
| | | | |
* | | | | Merge pull request #13350 from owncloud/autoload-translationsMorris Jobke2015-01-141-0/+4
|\ \ \ \ \ | | | | | | | | | | | | Autoload app's js translations
| * | | | | ignore coreBernhard Posselt2015-01-141-1/+4
| | | | | |
| * | | | | move check into addTranslation methodBernhard Posselt2015-01-141-11/+1
| | | | | |
| * | | | | dont load core scritpsBernhard Posselt2015-01-141-1/+3
| | | | | |
| * | | | | only load translsations for appsBernhard Posselt2015-01-141-1/+3
| | | | | |
| * | | | | make translation lookup faster (O(n) -> O(1))Bernhard Posselt2015-01-141-2/+2
| | | | | |
| * | | | | autoload app's js translationsBernhard Posselt2015-01-141-0/+7
| | | | | |
* | | | | | Check new and old ways of required oC version for app compatibilityJoas Schilling2015-01-142-2/+8
|/ / / / /
* | | | | Merge pull request #13311 from owncloud/fix_restore_keysBjörn Schießle2015-01-141-4/+4
|\ \ \ \ \ | |/ / / / |/| | | | adapt decrypt all to the new folder structure
| * | | | adapt decrypt all and restore/delete key backups to the new folder structure ↵Bjoern Schiessle2015-01-131-4/+4
| | | | | | | | | | | | | | | | | | | | for encryption key introduced with OC8
* | | | | Merge pull request #13320 from owncloud/fix-php-doc-for-files-viewMorris Jobke2015-01-131-1/+11
|\ \ \ \ \ | | | | | | | | | | | | Fix annotations in file view
| * | | | | drop unused parameterMorris Jobke2015-01-131-2/+1
| | | | | |
| * | | | | Fix annotations in file viewLukas Reschke2015-01-131-0/+11
| | |_|_|/ | |/| | |
* / | | | drop dead code - ref #13301Morris Jobke2015-01-131-4/+0
|/ / / /
* | | | Merge pull request #13291 from owncloud/node-searchcommonbasepathfixThomas Müller2015-01-131-0/+1
|\ \ \ \ | |_|/ / |/| | | Fix searchCommon to properly match path name
| * | | Fix searchCommon to properly match path nameVincent Petry2015-01-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The internal path was matched without the last "/" which caused "files_trashbin" to also match when the internal path was "files". This adds the missing slash for the comparison.
* | | | Merge pull request #13301 from owncloud/drop-etag-messageVincent Petry2015-01-131-3/+0
|\ \ \ \ | | | | | | | | | | drop useless "!!! No reuse of etag" - fixes #13187
| * | | | drop useless "!!! No reuse of etag" - fixes #13187Morris Jobke2015-01-131-3/+0
| | | | |
* | | | | Merge pull request #13305 from owncloud/remove-stray-minus-and-use-json-encodeRobin McCorkell2015-01-131-1/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | Use json_encode on string
| * | | | Use json_encode on stringLukas Reschke2015-01-131-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's better to encode the string to prevent possible (yet unknown) bugs in combination with PHP's type juggling. Previously the boolean statements evaluated to either an empty string (false) or a not empty one (true, then it was 1). Not it always evaluates to false or true. This also removes a stray - that was not intended there but shouldn't have produced any bugs. Just to increase readability. Thanks @nickvergessen for spotting. Addresses https://github.com/owncloud/core/pull/13235/files#r22852319
* | | | Merge pull request #13271 from owncloud/fix-table-prefix-oracle-masterMorris Jobke2015-01-135-8/+30
|\ \ \ \ | |_|/ / |/| | | Use a special filter expression for Oracle to filter the prefix - fixes ...
| * | | Use a special filter expression for Oracle to filter the prefix - fixes #13220Thomas Müller2015-01-125-8/+30
| |/ /
* / / Adding repair step to fix missing etags - fixes #12172Thomas Müller2015-01-121-1/+3
|/ /
* | Merge pull request #13224 from ↵Morris Jobke2015-01-101-1/+1
|\ \ | | | | | | | | | | | | owncloud/simplify-is-valid-path-and-add-unit-tests Simplify isValidPath and add unit tests
| * | Simplify isValidPath and add unit testsLukas Reschke2015-01-101-1/+1
| | | | | | | | | | | | | | | | | | The check for invalid paths is actually over-complicated and performed twice resulting in a performance penalty. Additionally, I decided to add unit-tests to that function. Part of https://github.com/owncloud/core/issues/13221
* | | Merge pull request #13223 from owncloud/optimize-normalize-unicodeMorris Jobke2015-01-101-5/+8
|\ \ \ | | | | | | | | Verify whether value is already normalized
| * | | Verify whether value is already normalizedLukas Reschke2015-01-101-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently `normalizer_normalize` is not verifying itself whether the string needs to be converted or not. Or does it at least not very performantly. This simple change leads to a 4% performance gain on the processing of normalizeUnicode. Since this method is called quite often (i.e. for every file path) this has actually a measurable impact. For examples searches are now 200ms faster on my machine. Still not perfect but way to go. Part of https://github.com/owncloud/core/issues/13221
* | | | Merge pull request #13236 from owncloud/use-isset-for-performanceMorris Jobke2015-01-101-2/+4
|\ \ \ \ | | | | | | | | | | Use isset() instead of strlen()
| * | | | Use isset() instead of strlen()Lukas Reschke2015-01-101-2/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | Isset is a native language construct and thus A LOT faster than using strlen() On my local machine this leads to a 1s performance gain for about 1 million paths. Considering that this function will be called a lot for every file operation this makes a noticable difference.