Côme Chilliet
774636efab
Bump user_ldap version to make sure the migration runs
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:03:53 +01:00
Côme Chilliet
5e345f80ce
Add missing copyright headers in migration steps
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:03:21 +01:00
Côme Chilliet
ded493de06
Use clearer names for variables
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:00:53 +01:00
Côme Chilliet
44fe945d39
Add an index for directory_uuid as well
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:58:57 +01:00
Côme Chilliet
41e365aa3b
Make sure that hash function returns a string
...
The documentation says it can return false, and even if that is highly
unlikely for sha256, better safe than sorry.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:58:47 +01:00
Côme Chilliet
d8263692d0
Add the columns and alter the index in Version1010Date20200630192842
...
This is to ensure new installations do not need to go through migration
history.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:58:37 +01:00
Côme Chilliet
94b5b21e8c
Fixes in migration step
...
We cannot set ldap_dn_hash column as notnull because it is empty for
existing users before postSchemaChange is called
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:58:30 +01:00
Côme Chilliet
8367bda445
Put back length check to have a clear error
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:58:22 +01:00
Côme Chilliet
dd8d90923e
Fixed migration step for user_ldap
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:58:13 +01:00
Joas Schilling
c90f9b52d0
Fix variable names
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-14 10:58:04 +01:00
Côme Chilliet
8904c51ca9
Change column names to ldap_dn and ldap_dn_hash and add migration
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:57:50 +01:00
Côme Chilliet
071a58a7f4
Support LDAP dns longer than 255 characters
...
Adds an ldap_full_dn column to store the dn, and only store a sha256
hash in the ldap_dn which is shorter and can be indexed without
trouble.
Migration still needs to be implemented.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:57:39 +01:00
Nextcloud bot
050b680d1d
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-14 02:28:14 +00:00
Nextcloud bot
dffe146fbb
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-13 02:28:06 +00:00
Nextcloud bot
cc65c84f01
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-12 02:28:37 +00:00
Louis
f41c1fffff
Merge pull request #30056 from nextcloud/backport/29735/stable21
...
[stable21] find users for background scan one by one
2021-12-08 18:06:00 +01:00
Carl Schwan
5aef34de49
Reload page on 401 since there is an authentification problem
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-08 11:48:35 +00:00
Carl Schwan
c003a56816
Stop reloading file list when getting 401 error on root dir
...
When reaching the root dir, instead of reloading the file list we reload
the page completely. This trigger a redirection to the login page automatically
with the correct ?redirect_url= in thr url.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-08 11:48:35 +00:00
Julius Härtl
5a47384300
Merge pull request #30138 from nextcloud/backport/30134/stable21
2021-12-08 09:07:27 +01:00
Nextcloud bot
c6b705dde6
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-08 02:29:04 +00:00
Julien Veyssier
1f08556e47
do not trigger events when setting active view in gotoplugin
...
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-12-07 14:47:47 +00:00
Nextcloud bot
e653cd2d7b
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-07 02:40:16 +00:00
Nextcloud bot
92b5bcfbfb
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-05 02:30:41 +00:00
Nextcloud bot
4d3b8260e8
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-04 02:31:03 +00:00
Christoph Wurst
645bea5a04
Close open cursor in the caldav back-end
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-03 02:03:37 +00:00
Robin Appelman
d89ce5a410
fix tests
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 20:00:45 +00:00
Robin Appelman
f70f9cf1be
code checker fixes for instanceOfStorage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 20:00:45 +00:00
Robin Appelman
ac28e0aefd
stop background scan early if a users still has unscanned files after background scan
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 20:00:45 +00:00
Robin Appelman
70f23a4285
find users for background scan one by one
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 20:00:45 +00:00
Nextcloud bot
f84196b41b
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-02 02:29:32 +00:00
Arthur Schiwon
9a4f7172d0
unset ldap provider when disabling user_ldap
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-12-01 08:27:56 +00:00
Nextcloud bot
31679bd344
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-01 02:31:07 +00:00
Nextcloud bot
46a264b2a2
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-30 02:26:45 +00:00
Nextcloud bot
b1b5f9755b
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-29 02:25:31 +00:00
Nextcloud bot
d42c2ed50e
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-28 02:24:00 +00:00
Nextcloud bot
b675d50092
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-27 02:26:20 +00:00
Nextcloud bot
5bafc9a729
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-26 02:46:29 +00:00
MichaIng
5006fc178d
Merge pull request #28199 from nextcloud/backport/26936/stable21
...
[stable21] better cleanup of filecache when deleting an external storage
2021-11-25 17:10:29 +01:00
blizzz
2dd3b6f0b1
Merge pull request #29851 from nextcloud/backport/29836/stable21
...
[stable21] Make sure mapping cache is cleared when deleting a user
2021-11-25 13:08:04 +01:00
Robin Appelman
a3dc399e2f
better cleanup of filecache when deleting an external storage
...
this way it can delete the cache entries even with per-user credentials
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-11-24 14:47:23 +01:00
Nextcloud bot
28f41da186
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-24 02:26:17 +00:00
Côme Chilliet
fb376f5132
Test cache invalidation for AbstractMapping in test suite
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 10:23:14 +00:00
Côme Chilliet
23f42f3b50
Make sure mapping cache is cleared when deleting a user
...
This avoids phantom remnants staying after user deletion
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 10:23:14 +00:00
MichaIng
fb701e344e
Merge pull request #29629 from nextcloud/backport/29611/stable21
...
[stable21] Show most recently deleted files first in trash can
2021-11-23 03:54:52 +01:00
Nextcloud bot
0102cb9e1a
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-23 02:26:21 +00:00
Louis Chemineau
c176dc2293
Manual compilation
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-11-22 11:32:37 +01:00
Nextcloud bot
6b15557839
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-22 02:45:55 +00:00
MichaIng
e33bc51ee0
Merge pull request #29794 from nextcloud/backport/29605/stable21
...
[stable21] Normalize file name before existence check in scanner
2021-11-21 20:03:07 +01:00
Nextcloud bot
cda4df035c
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-21 02:25:46 +00:00
Nextcloud bot
62940d322e
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-20 02:42:30 +00:00