Commit Graph

6638 Commits (1efa338a520e2d73b0b6027dd0a9e0cb496a0d9d)

Author SHA1 Message Date
Morris Jobke 35f7565e9b Merge pull request #8978 from owncloud/movie_preview_improvements
movie previews: use file directly when it's stored locally and encryption is not enabled
10 years ago
Frank Karlitschek 87101e6638 Merge pull request #9018 from owncloud/dbms-socket-support
Refactor OC_DB::connect() to properly support sockets.
10 years ago
Jenkins for ownCloud 083cf63cc2 [tx-robot] updated from transifex 10 years ago
Andreas Fischer 73062040e6 Don't specify host when using a socket. 10 years ago
Andreas Fischer 0932760304 Rename variable to indicate that it can be port and socket. 10 years ago
Andreas Fischer 3d8eabedbd No need to check the port number as this will fail anyway. 10 years ago
Andreas Fischer 4ca1e3cc02 Move getValue() to where required. This actually is not required "global data". 10 years ago
Andreas Fischer 17c2e63449 Move check for : to where it belongs, getting rid of $socket = false; 10 years ago
Andreas Fischer 4b87586487 Extract common variables of $connectionParams. 10 years ago
Andreas Fischer 6da2beeaff Inline $port expression, getting rid of $port variable. 10 years ago
Vincent Petry b595c982d0 Merge pull request #8968 from owncloud/scanner-parent-repair
Repair broken parent link in the scanner
10 years ago
Morris Jobke ab7cff6dfd Revert "Merge pull request #8998 from macjohnny/master"
This reverts commit 482eded8b3, reversing
changes made to 354cace14a.
10 years ago
macjohnny 482eded8b3 Merge pull request #8998 from macjohnny/master
drastic speedup for nested ldap groups
10 years ago
Vincent Petry 3e1576011f Merge pull request #8980 from owncloud/better-accept-header
handle http accept headers more gracefully
10 years ago
macjohnny e8e2e47e68 Update manager.php 10 years ago
macjohnny b1094cfe82 Update group.php 10 years ago
macjohnny 0af8aa689f drastic speedup for nested ldap groups
Changes a function call in getUserGroups to only retrieve group ids instead of objects.
this change significantly improves performance when using owncloud with many groups, e.g. nested ldap hierarchy (1.2.840.113556.1.4.1941), since getUserGroups gets called in oc_share::getItems, which is needed for every page request.
in my particular case, it took more than 10s to load the calendar page and more than 6s to load the file page.
this was in an environment with 100 user groups (nested) per user. The performance was bad due to the following call stack:
self::getManager()->getUserGroups($user)
  - getGroupObject() (executed for every group!)
     - groupExists() (resulting in many ldap-requests)
since the groups are loaded from ldap, it is unnecessary to check whether the group exists or not.
10 years ago
macjohnny ede2aa236e Update manager.php
add a function getUserGroupIds for retrieving group ids instead of group objects. this significantly improves performance when using many (nested) groups.
10 years ago
Vincent Petry 5def2a72dd Merge pull request #8991 from owncloud/fix-php53-arraycombine
Fixed array_combine for PHP 5.3
10 years ago
Jenkins for ownCloud 55b5ddd735 [tx-robot] updated from transifex 10 years ago
josh4trunks 1b02991a1d Fixes based on suggestions
I use the term socket for any extension, either unix socket, or internet socket (port).

I check if the socket is all digits
* only integers 0 and larger would pass this test.
I then check if the string is less than or equal to the maximum port number.

By using "if($socket)" I make sure socket isn't false, empty, or the string '0'.

I don't believe I need to initialize $port because $port will always be set if $socket is true. Please show me if I am wrong here. Thanks
10 years ago
Vincent Petry 4e4c2b04c8 Fixed array_combine for PHP 5.3 10 years ago
Vincent Petry 75a53b3c49 Merge pull request #8901 from owncloud/permissions-update-cache
Save the permissions in the filecache if it's not saved yet
10 years ago
Vincent Petry 65b3d293ce Added ORDER BY to enforce share entry order
Sometimes MySQL decides to return the shares in the wrong order, but
some parts of the code seem to require the order to be known, at least
so that the parent shares come before the children shares.

This fix adds an ORDER BY clause to force the order by id.
10 years ago
Vincent Petry 491c96eaa9 Merge pull request #8966 from owncloud/fix_failing_tests_on_master
Fix failing tests on master
10 years ago
Jenkins for ownCloud f769c52522 [tx-robot] updated from transifex 10 years ago
Bernhard Posselt 93169eca1e also handle lowercase headers 10 years ago
Bernhard Posselt 0252d39bb6 fix indention 10 years ago
Bernhard Posselt 1002281dae handle http accept headers more gracefully 10 years ago
Georg Ehrke 7396e5f455 movie previews: use file directly when it's stored locally and encryption is not enabled, fixes #7756 10 years ago
Georg Ehrke e047e28ac5 make text preview backend use imagettftext, fixes #8087 10 years ago
Robin Appelman 6b1d8a56bb remove unused argument 10 years ago
Robin Appelman 054083b9cd add some comments 10 years ago
Robin Appelman 21cfd1014a Repair broken parent link in the scanner 10 years ago
Bjoern Schiessle 9dc0befcca call self::getNumericStorageId() to get the numeric ID 10 years ago
Jenkins for ownCloud 6546b589ce [tx-robot] updated from transifex 10 years ago
Robin Appelman 41d2354191 Save the permissions in the filecache if it's not saved yet 10 years ago
Morris Jobke 63c5c7bd21 set logger before registrate to an error handler 10 years ago
Jenkins for ownCloud e5c47a5e30 [tx-robot] updated from transifex 10 years ago
Morris Jobke e769ef9bbb Merge pull request #8916 from owncloud/rmdirr-test-cleanup-fix
Added hacky fix for long path cleanup routine
10 years ago
Jenkins for ownCloud 1f2722053f [tx-robot] updated from transifex 10 years ago
Jenkins for ownCloud e0446a1df5 [tx-robot] updated from transifex 10 years ago
Björn Schießle 3da47db33c Merge pull request #8927 from owncloud/expire_only_link_shares
only expire link shares
10 years ago
Thomas Müller 647dcce514 Merge pull request #8253 from owncloud/pk-on-all-tables-master
Primary keys on all tables master
10 years ago
Thomas Müller c053f27381 Merge pull request #8921 from owncloud/fix-remove-storage-master
No need to create a storage within remove
10 years ago
Bjoern Schiessle f15d7dfec0 only expire link shares 10 years ago
Thomas Müller fe8bae31dc adding PK to table encryption
adding auto increment/PK to table files_trash

adding PK to table ldap_user_mapping and ldap_group_members

adding PK to table ldap_group_mapping

truncate permissions table to allow smooth creation of primary key

adding unit test for creating an auto increment column on a table which already contains data

remove unneeded table files_trashsizes

fix unit test

no need to truncate *PREFIX*permissions

On Oracle adding auto increment columns is not working out of the box - Oracle migrations are to be done manually
10 years ago
Vincent Petry 5cebb6fb9b Merge pull request #4553 from owncloud/update_search_classes
Update search classes
10 years ago
Jörn Friedrich Dreyer a59b5249d3 add more and fix office mimetypes, migrate wrong mimetypes 10 years ago
icewind1991 c47d4ebbac Merge pull request #8666 from owncloud/mount-remove
Support for (re)moving mountpoints
10 years ago