- Jan 14, 2013
-
-
Lukas Reschke authored
Expanded one line if statement - Trivial
-
Lukas Reschke authored
-
Lukas Reschke authored
Oneliners are ugly.
-
Bart Visscher authored
Check if user is admin - bool
-
Lukas Reschke authored
Let's remove it, it's also not secure anymore with the introduction of our API etc... (And doesn't work with ldap etc…)
-
Bart Visscher authored
Simplify the isSubDirectory() function
-
Bart Visscher authored
user_webdavauth - l10n - Trivial
-
Lukas Reschke authored
allow default click behaviour
-
Lukas Reschke authored
Thanks Jenkins!
-
Lukas Reschke authored
-
Lukas Reschke authored
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 :)
-
Lukas Reschke authored
otherwise /foo/bar would be detected as a subfolder of /bar THX @icewind1991
-
Bart Visscher authored
This fixes a problem that prevented app routes from being loaded after ocs_api merge
-
Daniel Molkentin authored
This reverts commit 9d41322c.
-
Daniel Molkentin authored
-
Thomas Müller authored
Remove ugly indentation - Trivial
-
Björn Schießle authored
-
Björn Schießle authored
Conflicts: apps/files_versions/templates/settings-personal.php
-
- Jan 13, 2013
-
-
Jenkins for ownCloud authored
-
Lukas Reschke authored
-
Lukas Reschke authored
-
Lukas Reschke authored
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!
-
Lukas Reschke authored
-
- Jan 12, 2013
-
-
Lukas Reschke authored
Sounds better for me.
-
Lukas Reschke authored
-
Lukas Reschke authored
-
Jenkins for ownCloud authored
-
Lukas Reschke authored
-
Lukas Reschke authored
Update CONTRIBUTING.md
-
Lukas Reschke authored
-
Thomas Müller authored
-
- Jan 11, 2013
-
-
Jenkins for ownCloud authored
-
Lukas Reschke authored
-
Lukas Reschke authored
Thanks @eMerzh, could be especially needed as there are some platform specific issues like filename encoding under MS Windows
-
Lukas Reschke authored
:oops:
-
Lukas Reschke authored
Makes it at least better readable for me.
-
Lukas Reschke authored
-
Lukas Reschke authored
-
Lukas Reschke authored
-
Bart Visscher authored
Move openid.php to apps repo Conflicts: settings/routes.php
-