summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1185 from owncloud/fixing-1162-masterJan-Christoph Borchardt2013-01-162-5/+19
|\ | | | | handling proper display of files/folders with negative size
| * handling proper display of files/folders with negative sizeThomas Mueller2013-01-142-5/+19
| | | | | | | | refs #1162
* | Merge pull request #1195 from owncloud/cache_preparedThomas Müller2013-01-151-2/+14
|\ \ | | | | | | Cache prepared statements in OC_DB
| * | Clear cached prepared statements when switching between mdb2 and pdoRobin Appelman2013-01-161-2/+4
| | |
| * | Cache prepared statements in OC_DBRobin Appelman2013-01-151-0/+10
| | |
* | | Merge pull request #1178 from owncloud/return_true_because_of_poniesThomas Müller2013-01-152-8/+1
|\ \ \ | | | | | | | | Remove uneeded return
| * | | Remove uneeded returnsLukas Reschke2013-01-142-5/+1
| | | |
| * | | Remove uneeded returnLukas Reschke2013-01-141-3/+0
| | | | | | | | | | | | Thx @Raydiation
* | | | Merge branch 'master' into fixing-unused-and-undefined-in-masterThomas Mueller2013-01-1417-393/+661
|\ \ \ \ | | |/ / | |/| |
| * | | Move { to same lineLukas Reschke2013-01-141-2/+1
| | | |
| * | | Expand if to multiple linesLukas Reschke2013-01-141-2/+6
| | |/ | |/| | | | Oneliners are ugly.
| * | Merge pull request #1177 from owncloud/OC_User--isAdminUser()Bart Visscher2013-01-148-72/+29
| |\ \ | | | | | | | | Check if user is admin - bool
| | * | Enhanced auth is totally unmaintained and brokenLukas Reschke2013-01-142-47/+0
| | | | | | | | | | | | | | | | | | | | | | | | Let's remove it, it's also not secure anymore with the introduction of our API etc... (And doesn't work with ldap etc…)
| | * | Check if user is admin - boolLukas Reschke2013-01-148-25/+29
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was no "isAdminUser()" function which returned bool. This is irritiating as there were a loooooooot of places in the code which checked this itself with `OC_Group::inGroup($uid, 'admin)` - why not use a function for this? (Especially if you consider that we might change the group name in the future, which would lead to problems then) Additionally, @Raydiation needed such a method for his AppFramework :)
| * | Merge pull request #1172 from owncloud/isSubDirectoryBart Visscher2013-01-141-24/+4
| |\ \ | | |/ | |/| Simplify the isSubDirectory() function
| | * Check for string position instead of string existenceLukas Reschke2013-01-141-1/+1
| | | | | | | | | | | | | | | | | | otherwise /foo/bar would be detected as a subfolder of /bar THX @icewind1991
| | * Commentblocks should begin with two *Lukas Reschke2013-01-131-1/+1
| | |
| | * Add @brief to descriptionLukas Reschke2013-01-131-1/+1
| | |
| | * Simplify the isSubDirectory() functionLukas Reschke2013-01-131-22/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | isSubDirectory() checks if a specified $sub is a subdirectory of the $parent, this is needed to prevent file inclusions. Actually, the current code is more kind of a "hack" which I always struggle over if browsing through source. So this should be a much better implementation. The implementation is really straightforward: - [realpath()](http://php.net/manual/function.realpath.php) expands all symbolic links and resolves references to '/./', '/../' and extra '/' characters in the input path and return the canonicalized absolute pathname. - [strpos()](php.net/manual/function.strpos.php) returns FALSE if the substring wasn't found. Since this is an absolutely critical piece of code, I'd like to ensure that this is absolutely safe!
| * | Merge pull request #1112 from Raydiation/masterBart Visscher2013-01-141-17/+5
| |\ \ | | | | | | | | This fixes a problem that prevented app routes from being loaded after ocs_api merge
| | * | added cleanup recommendations by including ocs in the cachedKey method and ↵Bernhard Posselt2013-01-071-5/+5
| | | | | | | | | | | | | | | | moving the ocs routes stuff at the end of the loadRoutes method
| | * | readded ocs routesBernhard Posselt2013-01-071-0/+5
| | | |
| | * | fixed error that displayed a white page and a warning that routes could not ↵Bernhard Posselt2013-01-071-17/+0
| | | | | | | | | | | | | | | | be loaded from apps that was caused by the ocs_api merge
| * | | [tx-robot] updated from transifexJenkins for ownCloud2013-01-141-1/+7
| | |/ | |/|
| * | Merge pull request #1133 from owncloud/add_linebreaks_in_sharingThomas Müller2013-01-101-96/+484
| |\ \ | | | | | | | | add more linebreaks, replace SQL LIMIT with param
| | * | add more linebreaks, replace SQL LIMIT with paramJörn Friedrich Dreyer2013-01-091-96/+484
| | |/
| * | [tx-robot] updated from transifexJenkins for ownCloud2013-01-111-6/+17
| | |
| * | Merge pull request #1127 from owncloud/fixing-641-for-webdav-masterThomas Müller2013-01-102-0/+78
| |\ \ | | | | | | | | webdav returns "503 Service Unavailable" in case the ownCloud server is ...
| | * | webdav returns "503 Service Unavailable" in case the ownCloud server is ↵Thomas Mueller2013-01-092-0/+78
| | |/ | | | | | | | | | currently in maintenance mode.
| * | [tx-robot] updated from transifexJenkins for ownCloud2013-01-101-2/+32
| | |
| * | Upstream merged my patch to add additional ssl root certificates to the ↵Björn Schießle2013-01-081-173/+0
| |/ | | | | | | | | | | webdav client. This means that OC_Connector_Sabre_Client is no longer needed
* | fixing returnsThomas Mueller2013-01-062-8/+8
| |
* | fixing returnsThomas Mueller2013-01-061-4/+3
| |
* | add missing returnThomas Mueller2013-01-061-1/+2
| |
* | fixing undefined variable $whereThomas Mueller2013-01-061-1/+1
| |
* | fixing undefined variable $result - should be $query I assumeThomas Mueller2013-01-061-1/+1
| |
* | initialize $resultThomas Mueller2013-01-061-1/+1
| |
* | fixing call of OC_Log::write() - missing parameterThomas Mueller2013-01-061-1/+1
| |
* | removing unused parameter $parametersThomas Mueller2013-01-061-2/+2
|/ | | | fixing undefined variable $useDir
* Merge branch 'master' into update-progressMichael Gapczynski2013-01-0514-505/+710
|\
| * Merge pull request #1066 from owncloud/fix-388-masterThomas Müller2013-01-053-21/+85
| |\ | | | | | | workaround for 32-bit systems to handle filesizes bigger than 2GB
| | * remove duplicate returnThomas Mueller2013-01-051-2/+0
| | |
| | * enhanced log messageThomas Mueller2013-01-041-1/+1
| | |
| | * documentation adjusted on the wayThomas Mueller2013-01-041-0/+1
| | |
| | * Fallback to use COM or exec('stat ..') is only executed if stat or filesize ↵Thomas Mueller2013-01-041-12/+35
| | | | | | | | | | | | | | | | | | | | | return negative values. Special case of BSD has been added as stat syntax differs In addition unknown OS is logged
| | * OC_Helper::is_function_enabled() added to find out if a function is availableThomas Mueller2013-01-041-18/+43
| | | | | | | | | | | | And some documentation adjusted on the way
| | * workaround for 32-bit systems to handle filesizes bigger than 2GBThomas Mueller2013-01-032-2/+19
| | |
| * | Merge pull request #1053 from owncloud/ocs_apiMichael Gapczynski2013-01-0411-484/+625
| |\ \ | | | | | | | | External API for ownCloud based on OCS
| | * | Remove WIP OAuth codeTom Needham2012-12-312-206/+0
| | | |
| | * | Code cleanup and add copyright infoTom Needham2012-12-311-1/+23
| | | |