Arthur Schiwon
7544f0c508
split instantiation from business logic in OfflineUser
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-27 08:49:02 +00:00
Arthur Schiwon
394ec564af
add test for active shares flag
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-27 08:49:00 +00:00
Arthur Schiwon
59974c1fd5
tame psalm. why does it ignore '@property'?
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-21 16:26:48 +02:00
Arthur Schiwon
85d5ac5c91
when nesting is not enabled, the group filter can be applied right away
...
- helps performance, but skipping unnecessary entries
- reduces reoccuring info-level log output against groups that do not
qualify ("no or empty name")
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-21 16:26:47 +02:00
Nextcloud bot
2a32e73fc2
[tx-robot] updated from transifex
2020-10-12 02:18:15 +00:00
Nextcloud bot
132efb8123
[tx-robot] updated from transifex
2020-10-10 02:18:54 +00:00
Nextcloud bot
c2977c5c0f
[tx-robot] updated from transifex
2020-09-21 02:17:33 +00:00
Nextcloud bot
871d9a614e
[tx-robot] updated from transifex
2020-09-15 10:48:39 +00:00
Arthur Schiwon
51fa743c7a
makes LDAP's group updater dispatch type events
...
* fixes group share updates on added users
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-10 15:18:47 +02:00
Arthur Schiwon
8b291adb08
add repair step to clean up DB off lastFeatureRefresh entries in user prefs
...
- also removes related app setting "updateAttributesInterval"
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-07 10:50:17 +02:00
Arthur Schiwon
303bac6c75
these code bits were part of old logic that was already refactored out
...
- only references were in unit tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-06 17:57:08 +00:00
Nextcloud bot
348525426c
[tx-robot] updated from transifex
2020-08-27 02:16:52 +00:00
Nextcloud bot
3b85a547df
[tx-robot] updated from transifex
2020-08-22 02:16:39 +00:00
Arthur Schiwon
c8956e8893
simplified backport of #22221 , fixing a deprecation log message
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-19 23:03:22 +02:00
Nextcloud bot
cb4c197555
[tx-robot] updated from transifex
2020-08-14 02:32:09 +00:00
Nextcloud bot
6327b8a6fb
[tx-robot] updated from transifex
2020-08-13 02:16:48 +00:00
blizzz
33db8a97c9
Merge pull request #22203 from nextcloud/backport/21559/stable19
...
[stable19] shortcut in reading nested group members when IN_CHAIN is available
2020-08-12 13:42:08 +00:00
Arthur Schiwon
f32b1e4856
remove logging message carrying no valuable information
...
the exception caught is not an error, but due to valid configuration and
code flow is expecting this. For an admin it is confusing, and it carries
no information worth for debugging.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-12 09:18:39 +00:00
Arthur Schiwon
8fd575527d
adapt tests for nc19
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-12 10:23:13 +02:00
Arthur Schiwon
ebb565f7a8
do not flip available state to unavailable, allow empty results
...
- the detection relies that the first, requested result is not empty
- it might be empty though – groups without members
- protect switching from available to unavailable
- switching the other way around was also not envisaged either
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-12 00:34:15 +02:00
Arthur Schiwon
74bde3eb49
LDAP: shortcut in reading nested group members when IN_CHAIN is available
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-08-11 22:24:38 +00:00
Daniel Kesselberg
778e5afcc5
Remove unexpected argument
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-08-11 07:47:32 +00:00
Nextcloud bot
dd60e3282d
[tx-robot] updated from transifex
2020-08-06 02:17:22 +00:00
Arthur Schiwon
b791ea755d
reset the cookie internally in new API when abandoning paged results op
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-07-31 08:19:23 +00:00
Nextcloud bot
891e0ccd6e
[tx-robot] updated from transifex
2020-07-31 02:17:32 +00:00
Nextcloud bot
d44a545a32
[tx-robot] updated from transifex
2020-07-28 02:16:48 +00:00
Nextcloud bot
95093e4f27
[tx-robot] updated from transifex
2020-07-17 02:17:21 +00:00
Nextcloud bot
1822eec68f
[tx-robot] updated from transifex
2020-07-16 02:19:41 +00:00
Arthur Schiwon
43b8b0c14f
fix strings being passed where arrays where expected
...
also brought type hints up to internal API level
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-25 08:06:29 +00:00
blizzz
58804caf89
Merge pull request #21568 from nextcloud/backport/21564/stable19
...
[stable19] fix obsolete usage of OCdialogs
2020-06-24 22:44:26 +02:00
Arthur Schiwon
2a3ebe4353
comment was wrong, block is needed nevertheless
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-24 19:07:38 +00:00
Arthur Schiwon
003407e094
fix obsolete usage of OCdialogs
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-24 17:01:17 +00:00
blizzz
8e02367453
be more clear about the condition
...
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
2020-06-19 18:03:07 +00:00
Arthur Schiwon
6f49974851
getXbyY can still return false, e.g. when using ldap write support
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-19 18:03:07 +00:00
Nextcloud bot
d6923b4bb5
[tx-robot] updated from transifex
2020-06-15 02:16:06 +00:00
Nextcloud bot
e146a2b7e6
[tx-robot] updated from transifex
2020-06-11 02:15:59 +00:00
Arthur Schiwon
5b63593956
clear LDAP cache after user deletion
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-06-09 08:23:42 +00:00
Nextcloud bot
d753435452
[tx-robot] updated from transifex
2020-06-09 02:16:05 +00:00
Nextcloud bot
dfe70692d7
[tx-robot] updated from transifex
2020-06-05 02:16:44 +00:00
Arthur Schiwon
1e5295138a
simplify getGroups, fixing wrong chunking logic
...
pagination is taken care of properly in the search logic in Access class
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-05-27 17:38:45 +00:00
Arthur Schiwon
d0559a4871
fixes infinitely repeating LDPA search results with PHP <= 7.2
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-05-26 09:56:10 +00:00
Nextcloud bot
9f448d864b
[tx-robot] updated from transifex
2020-05-01 02:16:47 +00:00
Christoph Wurst
cb057829f7
Update license headers for 19
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-29 11:57:22 +02:00
Nextcloud bot
297276baba
[tx-robot] updated from transifex
2020-04-29 02:16:55 +00:00
blizzz
0c701cec56
Merge pull request #20676 from clementhk/ldap-group
...
Don't remove last user in ldap group when limit is -1
2020-04-28 12:58:02 +02:00
Nextcloud bot
ef566a1f40
[tx-robot] updated from transifex
2020-04-28 02:16:22 +00:00
Clement Wong
9f5f505acf
Don't remove last user in ldap group when limit is -1
...
Signed-off-by: Clement Wong <git@clement.hk>
2020-04-27 02:33:00 +02:00
Nextcloud bot
39f6f1ba34
[tx-robot] updated from transifex
2020-04-25 02:16:01 +00:00
blizzz
212138daa1
Merge pull request #19919 from nextcloud/enh/noid/ldpa_group_perf
...
LDAP Group Backend optimizations
2020-04-24 12:27:27 +02:00
Arthur Schiwon
4babdc082b
formatting
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-04-23 21:34:05 +02:00