summaryrefslogtreecommitdiffstats
path: root/lib/private/Group
Commit message (Collapse)AuthorAgeFilesLines
* Remove orderBy so the query works correctly on postgresJoas Schilling2018-03-271-2/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure DI is doneJoas Schilling2018-03-261-0/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move the group database backend fully to query builderJoas Schilling2018-03-261-32/+54
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use group displayNames in users listJohn Molakvoæ (skjnldsv)2018-03-081-0/+11
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Correctly return the group nameJoas Schilling2018-03-081-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use type casting instead of *val() methodMorris Jobke2018-01-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Run updated license header updaterMorris Jobke2017-11-071-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-064-0/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Plugins infrastructure in User_LDAPVinicius Cubas Brand2017-11-031-2/+11
| | | | Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
* Merge pull request #5571 from Luzifer/5570_backend_adminMorris Jobke2017-09-062-0/+6
|\ | | | | Allow group backend to declare users as admins
| * Allow group backend to declare users as adminsKnut Ahlers2017-06-302-0/+6
| | | | | | | | Signed-off-by: Knut Ahlers <knut@ahlers.me>
* | Take IUser instead of UserLukas Reschke2017-08-012-8/+9
|/ | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* filter missing groups in share providerRobin Appelman2017-06-121-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Use DIJoas Schilling2017-03-171-8/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Skip null groups in group manager (#26871) (#26956)Vincent Petry2017-03-171-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Skip null groups in group manager (#26871) * Skip null groups in group manager * Also skip null groups in group manager's search function * Add more group null checks in sharing code * Add unit tests for null group safety in group manager * Add unit tests for sharing code null group checks * Added tests for null groups handling in sharing code * Ignore moveShare optional repair in mount provider In some cases, data is inconsistent in the oc_share table due to legacy data. The mount provider might attempt to make it consistent but if the target group does not exist any more it cannot work. In such case we simply ignore the exception as it is not critical. Keeping the exception would break user accounts as they would be unable to use their filesystem. * Adjust null group handing + tests * Fix new group manager tests Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* spaces addedLoki30002017-01-101-1/+1
|
* allowed '0' uidLoki30002017-01-101-2/+2
|
* fix spacesLoki30002017-01-101-1/+1
|
* fix bracketsLoki30002017-01-101-2/+4
|
* remove non required db requestsLoki30002017-01-101-1/+4
|
* declare fieldArthur Schiwon2016-12-221-0/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Adding group display name supportVincent Petry2016-12-223-16/+26
|
* Update with robinJoas Schilling2016-07-212-2/+2
|
* Fix othersJoas Schilling2016-07-215-11/+17
|
* Escape special characters (#25429)Aaron Wood2016-07-201-2/+2
| | | | | | | | | | | | | | | | | | * Escape LIKE parameter * Escape LIKE parameter * Escape LIKE parameter * Escape LIKE parameter * Escape LIKE parameter * Use correct method in the AbstractMapping class * Change the getNamesBySearch method so that input can be properly escaped while still supporting matches * Don't escape hardcoded wildcard
* Update license headersLukas Reschke2016-05-265-29/+8
|
* Group fixup (#24621)Roeland Douma2016-05-174-7/+494
| | | | | | | | * Move used OC_Group_xx to \OC\Group * Add (deprecated) legacy wrapper in legacy, OC_Group_xx * Replace deprecated use of OC_Group_xx with \OC\Group\xx
* Move \OC\Group to PSR-4Roeland Jago Douma2016-05-013-0/+840