Roeland Jago Douma
1273d82e8b
Cache non existing DB user
We always query the database backend. Even if we use a different one
(ldap for example). Now we do this everytime we try to get a user object
so caching that a user is not in the DB safes some queries on each
request then (at least 2 what I found).
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
10 years ago
Roeland Jago Douma
6c360ad79f
Add PHPdoc
10 years ago
Jörn Friedrich Dreyer
d2a16c4dc8
Unnecessary fully qualified names
10 years ago
michag86
5fb39bd0cb
Apply password policy on user creation
10 years ago
Joas Schilling
0215b004da
Update with robin
10 years ago
Joas Schilling
ba87db3fcc
Fix others
10 years ago
Bjoern Schiessle
2a990a0db5
verify user password on change
10 years ago
Lukas Reschke
aba539703c
Update license headers
10 years ago
Roeland Jago Douma
f6ee738ba8
Add \OC\User\Backend
Since some apps (ldap et al) still depend on OC_User_Backend this seemed
like the cleanest approach.
10 years ago
Roeland Jago Douma
9e1d9871a8
Move OC_User_Database to \OC\User\Database
10 years ago
Roeland Jago Douma
c51ebb02fa
Move OC_User_XX to legacy folder
10 years ago
Roeland Jago Douma
5ba6fe2983
Use a CappedCache in the user database backend
When running with a user database backend on large installations the
cache can grow to significant sizes. This can be especially problematic
when running big cron/repair jobs.
10 years ago
Thomas Müller
682821c71e
Happy new year!
10 years ago
Morris Jobke
3917d888bd
Remove OC_DB::isError
10 years ago
Morris Jobke
c60c793cf2
More cleanups of OC_Config usage
10 years ago
Joas Schilling
13dd62f7b0
Make sure that remote shares use the correct uid casing
11 years ago
Thomas Müller
d3ac73c0c9
Remove OC_Log
11 years ago
Lukas Reschke
af01958f3e
Add missing annotations for parameters
11 years ago
Morris Jobke
f63915d0c8
update license headers and authors
11 years ago
Joas Schilling
8efc8c0a96
Reduce the complexity of the search queries in the backends to a minimum
11 years ago
Morris Jobke
e837927ad5
fix followup issues with unneeded parameters
11 years ago
Jenkins for ownCloud
b585d87d9d
Update license headers
11 years ago
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0 .
11 years ago
Jenkins for ownCloud
6a1a4880f0
Updating license headers
11 years ago
Morris Jobke
6da33e1ea7
introduce names for user backends - IUserBackend
* LDAP with multiple servers also proved backendName
11 years ago
Lukas Reschke
c4d7483a0a
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.
11 years ago
Arthur Schiwon
0bb460c9b5
retrieve local users, groups and group members in a sorted way
12 years ago
Arthur Schiwon
01a012980a
search term for users and groups may occur anywhere in the name or displayname, not just in the beginning
12 years ago
Morris Jobke
dc36d30953
Remove all occurences of @brief and @returns from PHPDoc
* test case added to avoid adding them later
12 years ago
Robin McCorkell
87b548ed91
Fix all PHPDoc types and variable names, in /lib
12 years ago
Robin McCorkell
a7ae2e874a
Squash 'a | b' into 'a|b', in /lib
12 years ago
Robin McCorkell
b5bc37d2e4
Fix @return array PHPDocs, in /lib
12 years ago
Robin McCorkell
b653ad164b
Replace @returns with @return , in /lib
12 years ago
Lukas Reschke
c4109d9aef
Use strict type comparison
We certainly don't want to have type juggling on that.
12 years ago
Victor Dubiniuk
91d40f5033
remove unneeded LOWER. Fixes #8202
12 years ago
adrien
0da61a26ee
remove cache all user
12 years ago
adrien
ea6f8ba352
fix remove cache when delete
12 years ago
adrien
f827761e71
remove static variable, add limit and offset
12 years ago
adrien
415b1d03bc
fix cache when remove an user
12 years ago
nishiki
ba9d8f7c1a
fix undifined uid
12 years ago
nishiki
75011c2e09
add query result (boolean) for update or delete
12 years ago
nishiki
d8843f6cd3
minor clean code
12 years ago
adrien
fbde24c89a
fix undefined in loadUsers
12 years ago
adrien
5cdfc56867
update the cache when add user
12 years ago
adrien
dde4f2f917
upgrade the cache user
12 years ago
adrien
08a46e3080
add cache for single users
12 years ago
Scrutinizer Auto-Fixer
adaee6a5a1
Scrutinizer Auto-Fixes
This patch was automatically generated as part of the following inspection:
https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720
Enabled analysis tools:
- PHP Analyzer
- JSHint
- PHP Copy/Paste Detector
- PHP PDepend
12 years ago
Jörn Friedrich Dreyer
2a6a9a8cef
polish documentation based on scrutinizer patches
12 years ago
Arthur Schiwon
1e1ced7772
Introduce user count action to user management
12 years ago
Robin Appelman
366d75e947
cache the home folder of a User
12 years ago