Commit graph

24677 commits

Author SHA1 Message Date
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
Vincent Petry
88b5860e70 Move storage encoding compatibility warning logic
The encoding check for file names is now happening the Scanner, and an
event will be emitted only if the storage doesn't contain the encoding
compatibility wrapper.

The event is listened to by the occ scan command to be able to display a
warning in case of file name mismatches when they have NFD encoding.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-19 14:51:39 +00:00
Nextcloud bot
03ccb6a09f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-19 02:38:40 +00:00
Nextcloud bot
8a25826610
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-18 02:26:06 +00:00
Nextcloud bot
f5b155266d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-17 02:45:55 +00:00
Nextcloud bot
2af95cb524
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-16 02:24:39 +00:00
Orzu Ionut
70bf9f4ff8 Update filelist test
Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
2021-11-15 22:47:17 +00:00
Orzu Ionut
ca38388109 Show most recently deleted files first in trash can
Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
2021-11-15 22:47:17 +00:00
szaimen
05481edba0
Merge pull request #29707 from nextcloud/backport/29679/stable21
[stable21] don't flash external storage mountpoints during the status check
2021-11-15 16:33:35 +01:00