| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
set MySQL autocommit on connection setup
|
| | |
|
|/ |
|
| |
|
|\
| |
| |
| |
| | |
owncloud/share-fixfindshareforuserwithmultiplegroups
Fix getItemSharedWithUser for groups
|
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
Reuse the array key of mimetypes
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | | |
replace line breaks in the app description by spaces - fixes #13315
|
| | |
| | |
| | |
| | |
| | |
| | | |
* replace line breaks (on non empty lines) in the app description by spaces
* fixes #13315
* includes unit tests
|
|\ \ \
| |_|/
|/| | |
Disable part files for OC ext storage backend + s2s backend
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
prefer url parameters passed into the main method. If they are not present, use the containers urlParameters
add space
|
|\ \ \
| | | |
| | | | |
Return valid fileinfo objects for part files
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Add a repair step to clean up orphan tags and tag entries
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Autoload app's js translations
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
|/ / / / / |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
adapt decrypt all to the new folder structure
|
| | | | |
| | | | |
| | | | |
| | | | | |
for encryption key introduced with OC8
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix annotations in file view
|
| | | | | | |
|
| | |_|_|/
| |/| | | |
|
|/ / / / |
|
|\ \ \ \
| |_|/ /
|/| | | |
Fix searchCommon to properly match path name
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| | | | |
| | | | | |
drop useless "!!! No reuse of etag" - fixes #13187
|
| | | | | |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Use json_encode on string
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| |_|/ /
|/| | | |
Use a special filter expression for Oracle to filter the prefix - fixes ...
|
| |/ / |
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
owncloud/simplify-is-valid-path-and-add-unit-tests
Simplify isValidPath and add unit tests
|
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| | | |
| | | | |
Verify whether value is already normalized
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| | | | |
| | | | | |
Use isset() instead of strlen()
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|