| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
As discussed we move all old style classes (OC_FOO_BAR) to legacy.
Then from there we can evaluate the need to convert them back or if they
can be fully deprecated/deleted.
|
|\
| |
| |
| |
| | |
owncloud/fix-user-data-folder-creation-for-apache-login
Ensure the user's data folder is created for IApacheBackend authentication
|
| | |
|
|/
|
|
| |
Testable code. Yay.
|
|
|
|
| |
Fixes https://github.com/owncloud/core/issues/22893
|
| |
|
|
|
|
| |
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
|
|
|
|
| |
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
|
|
|
|
| |
Otherwise somebody else might be able to note down the CSRF token before login on a shared computer.
|
|
|
|
| |
This adds a new CSRF manager for unit testing purposes, it's interface is based upon https://github.com/symfony/security-csrf. Due to some of our required custom changes it is however not possible to use the Symfony component directly.
|
| |
|
| |
|
| |
|
|
|
|
| |
There were code paths that nowadays call ISession::login directly thus bypassing the desired regeneration of the session ID. This moves the session regeneration deeper into the session handling and thus ensures that it is always called. Furthermore, I also added the session regeneration to the remember me cookie plus added some test case expectations for this.
|
| |
|
|
|
|
|
| |
We were still using the lecagy class OC_Config all over the place. Which
was a wrapper around the new class OC\Config
|
|
|
|
| |
Replaced with proper OCP calls
|
| |
|
|
|
|
|
| |
All function calls are replaced with the recommended (which was already
the body of the function).
|
|
|
|
|
| |
Private deprecated function => removed
Replaced all instances with suggested replacement
|
| |
|
|
|
|
| |
Fixes https://github.com/owncloud/core/issues/16908
|
| |
|
|
|
|
| |
information in the session again
|
|
|
|
| |
* fixes #17757
|
| |
|
| |
|
|\
| |
| | |
Fix PHPDoc :see_no_evil:
|
| |
| |
| |
| | |
*sigh*
|
|/ |
|
| |
|
| |
|
|
|
|
| |
This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
|
| |
|
|\
| |
| | |
Better caching for enabled apps
|
| | |
|
|/ |
|
|
|
|
| |
Otherwise logout can fail if the requesttoken contains a +
|
|
|
|
|
|
|
|
|
|
| |
\Sabre\DAV\Auth\Backend\AbstractBasic::authenticate was only calling \OC_Connector_Sabre_Auth::validateUserPass when the response of \Sabre\HTTP\BasicAuth::getUserPass was not null.
However, there is a case where the value can be null and the user could be authenticated anyways: The authentication via ownCloud web-interface and then accessing WebDAV resources. This was not possible anymore with this patch because it never reached the code path in this scenario.
This patchs allows authenticating with a session without isDavAuthenticated value stored (this is for ugly WebDAV clients that send the cookie in any case) and thus the functionality should work again.
To test this go to the admin settings and test if the WebDAV check works fine. Furthermore all the usual stuff (WebDAV / Shibboleth / etc...) needs testing as well.
|
|\
| |
| | |
Add ultra-slim hack for incognito mode
|
| |
| |
| |
| | |
As discussed at https://github.com/owncloud/core/pull/12912#issuecomment-67391155
|
|\ \
| | |
| | | |
Move the Null-Byte LDAP check to the user manager
|
| |/
| |
| |
| |
| |
| | |
The existing method is deprecated and just a wrapper around the manager method. Since in the future other code paths might call this function instead we need to perform that check here.
Related to http://owncloud.org/security/advisory/?id=oc-sa-2014-020
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Potentially fixes https://github.com/owncloud/core/issues/12915 and opens the door for potential other bugs...
Please test very carefully, this includes:
- Testing from OCS via cURL (as in #12915)
- Testing from OCS via browser (Open the "Von Dir geteilt" shares overview)
- WebDAV
- CalDAV
- CardDAV
|
|
|
|
|
|
|
|
| |
This adds a "backend" type filter to the index REST route which is a pre-requisite for https://github.com/owncloud/core/issues/12620
For example when calling `index.php/settings/users/users?offset=0&limit=10&gid=&pattern=&backend=OC_User_Database` only users within the backend `OC_User_Database` would be shown. (requires sending a CSRF token as well)
Depends upon https://github.com/owncloud/core/pull/12711
|
|
|
|
| |
First step of a somewhat testable user management. - I know, the JSON returns are in an ugly format but the JS expects it that way. So let's keep it that way until we have time to fix the JS in the future.
|
| |
|
|
|
|
| |
cache cleanup instead
|
| |
|
| |
|