Commit graph

19073 commits

Author SHA1 Message Date
Nextcloud bot
d2d4887f23
[tx-robot] updated from transifex 2019-04-06 00:13:28 +00:00
Nextcloud bot
5b1816dfa0
[tx-robot] updated from transifex 2019-04-05 00:13:34 +00:00
Nextcloud bot
f107a8d99d
[tx-robot] updated from transifex 2019-04-04 00:13:41 +00:00
Nextcloud bot
a8115f0d3f
[tx-robot] updated from transifex 2019-04-03 00:13:53 +00:00
Nextcloud bot
0a3176dea5
[tx-robot] updated from transifex 2019-04-02 00:13:56 +00:00
Nextcloud bot
8d2701c422
[tx-robot] updated from transifex 2019-04-01 00:14:16 +00:00
Nextcloud bot
2989f6b99a
[tx-robot] updated from transifex 2019-03-31 01:13:01 +00:00
Nextcloud bot
bef8f3336f
[tx-robot] updated from transifex 2019-03-30 01:13:53 +00:00
Roeland Jago Douma
ed0e18fb89
Merge pull request #14890 from nextcloud/stable14-14886
[stable14] Fix opening folders from different file lists
2019-03-29 13:31:47 +01:00
Nextcloud bot
f105bc53b9
[tx-robot] updated from transifex 2019-03-29 01:13:08 +00:00
Julius Härtl
c1bad831cd
Fix opening folders from different file lists
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-28 09:25:33 +01:00
Nextcloud bot
5b802c0a26
[tx-robot] updated from transifex 2019-03-28 01:13:41 +00:00
Ari Selseng
3ce43ce3ce
Fix a bug with smb notify having leading slash when it should not
Signed-off-by: Ari Selseng <ari@selseng.net>
2019-03-27 13:34:14 +01:00
Nextcloud bot
ad06248889
[tx-robot] updated from transifex 2019-03-27 12:06:49 +00:00
Morris Jobke
0b4c90dfa1
Merge pull request #14856 from nextcloud/backport/14583/remove-g+-federation-14
[stable14] Remove Google+ federation usersettings
2019-03-26 14:20:05 +01:00
Marius Blüm
35957d8675
Remove G+ CSS rule (Feedback from Joas)
Signed-off-by: Marius Blüm <marius@lineone.io>
2019-03-26 11:54:44 +01:00
Marius Blüm
699b01a9c8
Remove G+ code from Federated Files Sharing-usersettings
Signed-off-by: Marius Blüm <marius@lineone.io>
2019-03-26 11:54:40 +01:00
Marius Blüm
6c5a872b90
Remove G+ icon from Federated Files Sharing-usersettings
Signed-off-by: Marius Blüm <marius@lineone.io>
2019-03-26 11:54:37 +01:00
Nextcloud bot
a1aaa0bd3f
[tx-robot] updated from transifex 2019-03-26 10:41:51 +00:00
Roeland Jago Douma
d072bb16e4
Merge pull request #14783 from nextcloud/backport/14744/stable14
[stable14] Always register the Notifier
2019-03-21 15:47:48 +01:00
Joas Schilling
0b1ea8002a Always register the Notifier
... so background jobs without a user can prepare push notifications

Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-21 10:36:37 +00:00
Vinicius Cubas Brand
d97339830d LDAP plugin: force createUser to return new user's DN
LDAP plugins must change the createUser method to return the DN, as we
need this to update the cache.

Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
2019-03-21 10:33:46 +00:00
Vinicius Cubas Brand
dd30daa3af Cache cleaning when subadmin adds user to group
This commit fix an error happening when the subadmin tries to create an
user, adding him/her to the group s/he is subadmin of, using a LDAP
User/Group plugin.

This just forces the cache to be reset after an user is added to a
group.

Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
2019-03-21 10:33:46 +00:00
Vinicius Cubas Brand
0f3df7609a fix user creation using LDAP Plugin
Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
2019-03-21 10:33:45 +00:00
Nextcloud bot
70589dfc68
[tx-robot] updated from transifex 2019-03-21 01:14:17 +00:00
Nextcloud bot
863e17d4e6
[tx-robot] updated from transifex 2019-03-20 01:13:05 +00:00
Nextcloud bot
31086f6e25
[tx-robot] updated from transifex 2019-03-19 01:13:02 +00:00
Nextcloud bot
0ab85c0977
[tx-robot] updated from transifex 2019-03-18 01:12:46 +00:00
Nextcloud bot
f94dccbe8d
[tx-robot] updated from transifex 2019-03-17 01:13:41 +00:00
Nextcloud bot
a3436d8b09
[tx-robot] updated from transifex 2019-03-16 01:12:52 +00:00
Morris Jobke
929c2e2513
Merge pull request #14701 from nextcloud/backport/14690/stable14
[stable14] throw a proper error if rename fails in dav
2019-03-15 10:53:33 +01:00
Nextcloud bot
cf03367938
[tx-robot] updated from transifex 2019-03-15 01:15:38 +00:00
Morris Jobke
12e1c5c6b9
Merge pull request #14673 from nextcloud/backport/14640/disable-failing-tests-14
[stable14] Disable fragile tests
2019-03-15 00:24:45 +01:00
Robin Appelman
7bb97e713e throw a proper error if rename fails in dav
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-03-14 19:29:36 +00:00
Nextcloud bot
0afe723932
[tx-robot] updated from transifex 2019-03-14 16:08:54 +00:00
Morris Jobke
3899a70480
Add time between SMB test runs and properly log full changeset
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-14 16:43:30 +01:00
Morris Jobke
1de05264a6
Wait up to 10 seconds for incoming changes from SMB notifier
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-13 22:20:36 +01:00
Morris Jobke
5cdb4f97e3
Do not run fragile TrashbinTest
Fails with:

There was 1 failure:

1) TrashbinTest::testExpireOldFiles
Failed asserting that null is identical to 'file2.txt'.

/drone/src/github.com/nextcloud/server/apps/files_trashbin/tests/TrashbinTest.php:186

OR

1) TrashbinTest::testExpireOldFiles
Failed asserting that null is identical to 'file2.txt'.

/drone/src/github.com/nextcloud/server/apps/files_trashbin/tests/TrashbinTest.php:193

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-13 22:20:13 +01:00
Morris Jobke
67aab99962
Merge pull request #14592 from nextcloud/backport/14464/stable14
[stable14] resolve user and groups in nested groups first before filtering the results
2019-03-08 17:31:30 +01:00
Marius Blüm
9c8bcf9c62 Mention Open Cloud Mesh in Federated User Settings
Signed-off-by: Marius Blüm <marius@lineone.io>
2019-03-08 08:43:21 +00:00
Arthur Schiwon
7fa490fde4
remove unused use statement
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-03-07 22:47:40 +01:00
Arthur Schiwon
a23ef68ffe
fix nested group retrieval also for 2 other cases
and also consolidate logic in one method

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-03-07 22:47:06 +01:00
Roland Tapken
a202fc808d
Fixed unit test: groupsMatchFilter will not be called multiple times anymore.
Signed-off-by: Roland Tapken <roland@bitarbeiter.net>
2019-03-07 22:46:20 +01:00
Roland Tapken
f88a09140d
Reduce queries to LDAP by caching nested groups
Nested groups are now cached in a CappedMemoryCache object to reduce
queries to the LDAP backend.

Signed-off-by: Roland Tapken <roland@bitarbeiter.net>
2019-03-07 22:46:14 +01:00
Roland Tapken
177901d079
user_ldap: really resolve nested groups
The previous patch fixed the problem only for one level of indirection
because groupsMatchFilter() had been applied on each recursive call (and
thus there would be no second level if the first level fails the check).

This new implementation replaces the recursive call with a stack that
iterates all nested groups before filtering with groupsMatchFilter().

Signed-off-by: Roland Tapken <roland@bitarbeiter.net>
2019-03-07 22:46:08 +01:00
Roland Tapken
8f57824707
user_ldap: Filter groups after nexted groups
Currently groupsMatchFilter is called before nested groups are resolved.
This basicly breaks this feature since it is not possible to inherit
membership in a group from another group.

Minimal example:

  Group filter: (&(objectClass=group),(cn=nextcloud))
  Nested groups: enabled

  cn=nextcloud,ou=Nextcloud,ou=groups,dn=company,dn=local
    objectClass: group

  cn=IT,ou=groups,dn=company,dn=local
    objectClass: group
    memberOf: cn=nextcloud,ou=Nextcloud,ou=groups,dn=company,dn=local

  cn=John Doe,ou=users,dn=company,dn=local
    objectClass: person
    memberOf: cn=IT,ou=groups,dn=company,dn=local

Since 'cn=IT,ou=groups,dn=company,dn=local' doesn't match the group
filter, John wouldn't be a member of group 'nextcloud'.

This patch fixes this by filtering the groups after all nested groups
have been collected. If nested groups is disabled the result will be the
same as without this patch.

Signed-off-by: Roland Tapken <roland@bitarbeiter.net>
2019-03-07 22:45:58 +01:00
Julius Härtl
05f3abaf6b Check if password can be changed for the users backend in OCS api
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-05 13:28:47 +00:00
Robin Appelman
79abac9084
update icewind/smb to 3.0.2
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-03-04 16:38:46 +01:00
Nextcloud bot
affd0dcaf2
[tx-robot] updated from transifex 2019-03-01 01:12:57 +00:00
Roeland Jago Douma
84c2dfd442
Merge pull request #14415 from nextcloud/backport/13844/stable14
[stable14] Bugfix for issue 10862: Trash-bin ignores trashbin_retention_obligation
2019-02-28 09:43:31 +01:00