| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| | |
Clarify return values
|
| | |
|
| |
| |
| |
| | |
This function returns `null` when no user is logged-in.
|
|\ \
| |/
|/| |
Add ultra-slim hack for incognito mode
|
| |
| |
| |
| | |
As discussed at https://github.com/owncloud/core/pull/12912#issuecomment-67391155
|
| |
| |
| |
| | |
* LDAP with multiple servers also proved backendName
|
|\ \
| |/
|/| |
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
|
|/
|
|
| |
method on the api
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| | |
Expose backend type via REST API
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change will expose the user backend via the REST API which is a pre-requisite for https://github.com/owncloud/core/issues/12620.
For example:
````json
[{"name":"9707A09E-CA9A-4ABE-A66A-3F632F16C409","displayname":"Document Conversion User Account","groups":[],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/9707A09E-CA9A-4ABE-A66A-3F632F16C409","lastLogin":0,"backend":"OCA\\user_ldap\\USER_LDAP"},{"name":"ED86733E-745C-4E4D-90CB-278A9737DB3C","displayname":"Hacker","groups":[],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/ED86733E-745C-4E4D-90CB-278A9737DB3C","lastLogin":0,"backend":"OCA\\user_ldap\\USER_LDAP"},{"name":"71CDF45B-E125-450D-983C-D9192F36EC88","displayname":"admin","groups":[],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/71CDF45B-E125-450D-983C-D9192F36EC88","lastLogin":0,"backend":"OCA\\user_ldap\\USER_LDAP"},{"name":"admin","displayname":"admin","groups":["admin"],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/admin","lastLogin":"1418057287","backend":"OC_User_Database"},{"name":"test","displayname":"test","groups":[],"subadmin":[],"quota":"default","storageLocation":"\/Users\/lreschke\/Programming\/core\/data\/test","lastLogin":0,"backend":"OC_User_Database"}]
```
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* files_encryption
* files_versions
* files_trashbin
* tests
* status.php
* core
* server container
|
|/ |
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Check already implemented in core/settings/ajax/changedisplayname.php
|
|\
| |
| | |
Use new hashing API for OC_User_Database
|
| |
| |
| |
| | |
This will use the new Hashing API for OC_User_Database and migrate old passwords upon initial login of the user.
|
|/ |
|
|
|
|
| |
cache cleanup instead
|
|
|
|
| |
Fixes https://github.com/owncloud/core/issues/8420
|
|
|
|
| |
empty display names
|
| |
|
|\
| |
| | |
user/backed: use pow of two for backed action constants
|
| |
| |
| |
| |
| |
| |
| |
| | |
the current implementation limits number of possible backed actions
to 8 as it uses pow of 16 for constants. This change introduces pow
of two and allows up-to 32 actions to be defined.
The old values are preserved for backward compatibility.
|
|/
|
|
|
|
|
|
| |
We do not want to follow redirects to other protocols since they might allow an adversary to bypass network restrictions. (i.e. a redirect to ftp:// might be used to access files of a FTP server which might be in a secure zone and not be reachable from the net but from the ownCloud server)
Get final redirect manually using get_headers()
Migrate to HTTPHelper class and add unit tests
|
|
|
|
|
| |
OC_Util::generateRandomBytes() only returns lowercase alphanumeric values.
We should use the new RNG which has a broader characterset.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
maintain deprecated \OC::$session when getting or setting the session via the server container or UserSession
restore order os OC::$session and OC::$CLI
remove unneded initialization of dummy session
write back session when $useCustomSession is true
log warning when deprecated app is used
|
| |
|
|
|
|
| |
Fixes https://github.com/owncloud/core/issues/10366
|
|\
| |
| | |
Issue/9972 Fix issues with group and username `0`
|
| |
| |
| |
| | |
Fix #9972
|
| |
| |
| |
| | |
- set password correctly in lost password
|
| | |
|
| | |
|
| | |
|
|/
|
|
| |
displayname, not just in the beginning
|
| |
|
|
|
|
| |
class descripttion. Also fixes documentation of postLogin hook
|
| |
|
| |
|
|
|
|
| |
* test case added to avoid adding them later
|
|\
| |
| | |
Optimize some queries that are always executed when loading base.php
|