Commit Graph

3628 Commits (stable12)

Author SHA1 Message Date
Roeland Jago Douma 68d3ffd16c
Handle permission in update of share better
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-11-20 19:39:35 +07:00
Nextcloud bot ae87ef22be
[tx-robot] updated from transifex 2018-11-18 01:13:26 +07:00
Nextcloud bot 26d396e4f9
[tx-robot] updated from transifex 2018-11-17 01:13:17 +07:00
Nextcloud bot e2c819f617
[tx-robot] updated from transifex 2018-11-16 01:12:43 +07:00
Nextcloud bot eb1ce1b1aa
[tx-robot] updated from transifex 2018-11-15 01:12:40 +07:00
Nextcloud bot cede173efd
[tx-robot] updated from transifex 2018-11-13 01:13:14 +07:00
Nextcloud bot c7e4bdd4e1
[tx-robot] updated from transifex 2018-11-11 01:13:34 +07:00
Nextcloud bot 8f8bafbd74
[tx-robot] updated from transifex 2018-11-10 01:12:52 +07:00
Nextcloud bot 5802408eb3
[tx-robot] updated from transifex 2018-11-09 01:12:57 +07:00
Nextcloud bot fe059100ed
[tx-robot] updated from transifex 2018-11-08 01:12:46 +07:00
Nextcloud bot e03038c41a
[tx-robot] updated from transifex 2018-11-07 01:12:57 +07:00
Nextcloud bot 665e51a87e
[tx-robot] updated from transifex 2018-11-06 01:13:06 +07:00
Nextcloud bot 269fc57818
[tx-robot] updated from transifex 2018-11-05 01:13:03 +07:00
Nextcloud bot 6f50c82b32
[tx-robot] updated from transifex 2018-11-04 01:14:29 +07:00
Nextcloud bot 750c584f53
[tx-robot] updated from transifex 2018-11-03 01:13:06 +07:00
Nextcloud bot 97532e4c14
[tx-robot] updated from transifex 2018-10-30 01:13:22 +07:00
Roeland Jago Douma e06f57916f
Double check for failed cache with a shared storage
When obtaining the SourceRootInfo we can call init. If this fails the
cache is set to a failed cache and the storage to a failed storage.
However we did not check for this. Which means that if the storage was
invalid it would fail later on.

Now we will properly error out.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-29 15:14:25 +07:00
Nextcloud bot fbf8b327cd
[tx-robot] updated from transifex 2018-10-29 01:13:36 +07:00
Nextcloud bot e76c213b98
[tx-robot] updated from transifex 2018-10-27 00:13:03 +07:00
Daniel Calviño Sánchez ba07152164 Remove event handler no longer needed
The custom handler for "URL changed" events were added to reload the
file list whenever the sections for favorites and shares were opened;
this was used to fix the problem of not reloading the file lists when
opening them for a second time. However, besides that the handlers were
not really necessary, and as the root of the bug was fixed in the
previous commit those handlers are now removed.

The file list for tags uses the handler for a different purpose, though,
so that one was kept.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-10-23 17:46:34 +07:00
Daniel Calviño Sánchez be878f2e76 Fix opening a section again in the Files app
When a section is open in the Files app a "show" event is triggered.
File list objects handle that event by reloading themselves, but only
if the file list was shown at least once. However, the file list objects
of plugins are created when the "show" event is triggered for the first
time for their section; as the file list objects register their handler
for the "show" event when they are created they never handle the first
triggered "show" event, as the handler is set while that event is being
already handled. Therefore, from the point of view of the handler, the
second time that a "show" event was triggered it was seen as if the file
list was shown for the first time, and thus it was not reloaded. Now the
"shown" property is explicitly set for those file lists that are created
while handling a "show" event, which causes them to be reloaded as
expected when opening their section again.

Note that it is not possible to just reload the file list whenever it is
shown; the file list is reloaded also when the directory changes, and
this can happen when the web page is initially loaded and the URL is
parsed. In that case, if file lists were reloaded when shown for the
first time then it could be reloaded twice, one with the default
parameters due to the "show" event and another one with the proper
parameters once the URL was parsed, and the files that appeard in the
list would depend on which response from the server was received the
last.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-10-23 17:46:34 +07:00
Nextcloud bot 6aa42e04db
[tx-robot] updated from transifex 2018-10-23 14:55:01 +07:00
Nextcloud bot 5114d13b79
[tx-robot] updated from transifex 2018-10-10 00:13:48 +07:00
Nextcloud bot 06056e44b5
[tx-robot] updated from transifex 2018-10-09 00:12:55 +07:00
Nextcloud bot a4ee772932
[tx-robot] updated from transifex 2018-10-07 00:12:46 +07:00
Nextcloud bot b6db4a3cb9
[tx-robot] updated from transifex 2018-10-05 00:13:31 +07:00
Nextcloud bot b60e1532ae
[tx-robot] updated from transifex 2018-09-30 00:12:24 +07:00
Nextcloud bot 1e1b457e9d
[tx-robot] updated from transifex 2018-09-29 00:12:36 +07:00
Morris Jobke ca2f2c227d
Merge pull request #10882 from nextcloud/large-share-count-performance-12
[12] Improve performance when dealing with large numbers of shares
2018-09-27 17:09:36 +07:00
Nextcloud bot a6304378b0
[tx-robot] updated from transifex 2018-09-27 00:12:45 +07:00
Nextcloud bot e43d3783b8
[tx-robot] updated from transifex 2018-09-26 00:12:42 +07:00
Nextcloud bot 1cc7f61c8e
[tx-robot] updated from transifex 2018-09-25 00:12:33 +07:00
Nextcloud bot 27614cef82
[tx-robot] updated from transifex 2018-09-23 00:12:50 +07:00
Nextcloud bot a877f0d15d
[tx-robot] updated from transifex 2018-09-22 00:12:28 +07:00
Nextcloud bot b4d0c3ebd9
[tx-robot] updated from transifex 2018-09-21 00:12:45 +07:00
Nextcloud bot f86b0c88b8
[tx-robot] updated from transifex 2018-09-17 00:12:48 +07:00
Nextcloud bot ed18483a9a
[tx-robot] updated from transifex 2018-09-16 00:12:47 +07:00
Nextcloud bot ce71114992
[tx-robot] updated from transifex 2018-09-14 00:12:52 +07:00
Nextcloud bot 5449658ee6
[tx-robot] updated from transifex 2018-09-13 00:12:32 +07:00
Nextcloud bot 1cf75c6109
[tx-robot] updated from transifex 2018-09-12 00:12:32 +07:00
Nextcloud bot 7658b97726
[tx-robot] updated from transifex 2018-09-09 00:13:27 +07:00
Nextcloud bot c81739f8c9
[tx-robot] updated from transifex 2018-09-08 00:12:50 +07:00
Nextcloud bot a7317c543f
[tx-robot] updated from transifex 2018-09-06 00:13:14 +07:00
Nextcloud bot 939aa098fc
[tx-robot] updated from transifex 2018-08-31 00:12:26 +07:00
Nextcloud bot 7f3b07657b
[tx-robot] updated from transifex 2018-08-30 00:12:27 +07:00
Robin Appelman a6e78a4db6
cache parent exists status during share setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-08-27 16:10:46 +07:00
Robin Appelman 8c2b76bef0
only determine is sharing is disabled for a user once
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-08-27 16:10:43 +07:00
Robin Appelman e9c9754cec
don't check if target dir exists when using the default share target directory
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-08-27 16:10:41 +07:00
Robin Appelman 0f84994e73
re-use view instances for shared storages
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-08-27 16:10:40 +07:00
Robin Appelman a8019c357c
more efficient way to detect added and removed mounts
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-08-27 16:10:38 +07:00