provokateurin
77114fb327
fix(OpenAPI): Adjust array syntax to avoid ambiguities
Signed-off-by: provokateurin <kate@provokateurin.de>
1 year ago
Andy Scherzinger
dae7c159f7
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
1 year ago
Côme Chilliet
b6c17c6ce7
Clear up return types
usersInGroup index by int for BC, searchInGroup index by uid (string).
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
3 years ago
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
4 years ago
Christoph Wurst
d89a75be0b
Update all license headers for Nextcloud 21
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 years ago
Christoph Wurst
28f8eb5dba
Add visibility to all constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.
This also removes and empty lines from method/function bodies at the
beginning and end.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
36b3bc8148
Use php keywords in lowercase
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
85e369cddb
Fix multiline comments
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
1a9330cd69
Update the license headers for Nextcloud 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
b80ebc9674
Use the short array syntax, everywhere
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Morris Jobke
0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
8 years ago
Knut Ahlers
92d2fb8771
Allow group backend to declare users as admins
Signed-off-by: Knut Ahlers <knut@ahlers.me>
8 years ago
Vincent Petry
453f3beffa
Adding group display name support
9 years ago
Joas Schilling
ba87db3fcc
Fix others
9 years ago
Lukas Reschke
aba539703c
Update license headers
10 years ago
Roeland Douma
5c9103287f
Group fixup ( #24621 )
* 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
10 years ago
Roeland Jago Douma
d89b533fa5
Move old classes to legacy
10 years ago
Lukas Reschke
933f60e314
Update author information
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
10 years ago
Jörn Friedrich Dreyer
64043e9bcc
move methods to correct interface, deprecate private interface
10 years ago
Jörn Friedrich Dreyer
bd77cd98c9
allow apps to add an OCP GroupInterface backend
10 years ago
Thomas Müller
682821c71e
Happy new year!
10 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
Joas Schilling
24511c6f00
Move OC_GROUP_BACKEND_* constants to OC_Group_Backend class
11 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
Lukas Reschke
7e448a376f
Fix PHPDoc and typos
Some things my IDE complained about while creating a custom backend.
Fix PHPDoc and typos
Some things my IDE complained about while creating a custom backend.
Conflicts:
lib/private/group/database.php
lib/private/group/dummy.php
lib/private/group/example.php
12 years ago
Robin McCorkell
b5bc37d2e4
Fix @return array PHPDocs, in /lib
12 years ago
Arthur Schiwon
45e42c25de
Group Database backend must not gather user details itself but ask user
backends. This is a port to master from PR #7745
remove OC_GROUP_BACKEND_GET_DISPLAYNAME option for group backends
Conflicts:
lib/private/group/backend.php
LDAP: getDisplayNamesInGroup is not an option for group backends anymore
Conflicts:
apps/user_ldap/group_ldap.php
apps/user_ldap/group_proxy.php
clean up group backends
Conflicts:
lib/private/group/database.php
remove now unnecessary test
implement getDisplayNames in group manager
adjust user manager tests
test for group manager's displayNamesInGroup
trim must not be used in empty in PHP < 5.5
keep the constant to not provoke PHP warnings
Conflicts:
lib/private/group/backend.php
12 years ago
Arthur Schiwon
698297feb3
add optional countUsersInGroup method to group backends
12 years ago
Thomas Müller
9c9dc276b7
move the private namespace OC into lib/private - OCP will stay in lib/public
Conflicts:
lib/private/vcategories.php
12 years ago
Arthur Schiwon
5da9223d1c
make getDisplayNames optional feature for Group Backends, fall back to internal names
13 years ago
Michael Gapczynski
8b09402b77
Fix #2074 by initializing as an array
13 years ago
Bart Visscher
bb75dfc021
Whitespace fixes
13 years ago
Björn Schießle
c00b66fe5b
implement DisplayNamesInGroup for database back-end
13 years ago
Björn Schießle
4271430e60
get all display names from users in a given group
13 years ago
Sam Tuke
8b01286a5d
Merged branch 'master'
13 years ago
Robin Appelman
4131b205d4
fix some more phpdoc
13 years ago
Thomas Mueller
3829460ab8
adding space between) and {
13 years ago
Michael Gapczynski
a1c88a3e39
Add search, limit, offset parameters to usersInGroups()
13 years ago
Michael Gapczynski
874f31b8d7
Make getting all users and groups the default
13 years ago
Michael Gapczynski
8d1eb674ec
Add search, limit, and offset parameters to getUsers() and getGroups()
13 years ago
Michael Gapczynski
8d56c42fde
Add search and limit to getGroups search in groupExists implementation
13 years ago
Michael Gapczynski
2f1a990cad
Add search, limit, and offset parameters to getUsers() and getGroups()
13 years ago
Arthur Schiwon
e499bc37c8
define an interface for the Group Backend
13 years ago
Arthur Schiwon
7621559d00
make groups not static, fixes oc-919
14 years ago
Frank Karlitschek
a945fa10a6
update copyright
14 years ago
Bart Visscher
e77ba0280a
Implement default functions in OC_Group backend
Simplifies calling these functions, and makes code simpler
functions:
inGroup
getUserGroups
getGroups
usersInGroup
14 years ago