Commit graph

4467 commits

Author SHA1 Message Date
Nextcloud bot
cfb1338705
[tx-robot] updated from transifex 2018-12-12 01:11:55 +00:00
Nextcloud bot
f65ec57243
[tx-robot] updated from transifex 2018-12-05 01:12:15 +00:00
Nextcloud bot
70b8588d93
[tx-robot] updated from transifex 2018-12-04 01:12:26 +00:00
Nextcloud bot
34cbcb41cb
[tx-robot] updated from transifex 2018-12-03 01:11:52 +00:00
Nextcloud bot
bcc0956ec0
[tx-robot] updated from transifex 2018-11-30 01:12:17 +00:00
Nextcloud bot
76cd8babd2
[tx-robot] updated from transifex 2018-11-29 01:11:52 +00:00
Nextcloud bot
d572bdea74
[tx-robot] updated from transifex 2018-11-28 01:12:15 +00:00
Nextcloud bot
5fc0565695
[tx-robot] updated from transifex 2018-11-27 01:11:51 +00:00
Nextcloud bot
fd3e080aa6
[tx-robot] updated from transifex 2018-11-26 01:11:41 +00:00
Nextcloud bot
1901b750c7
[tx-robot] updated from transifex 2018-11-25 01:12:33 +00:00
Nextcloud bot
5238d79452
[tx-robot] updated from transifex 2018-11-24 01:11:37 +00:00
Morris Jobke
c6232291a0
Merge pull request #12598 from nextcloud/stable14-12577-fix-rendering-of-the-sidebar-in-files-app
[stable14] Fix rendering of the sidebar in Files app
2018-11-23 08:51:22 +01:00
Morris Jobke
e1873e8928
Merge pull request #12593 from nextcloud/backport/12554/stable14
[stable14] Do not switch to root folder if filelist is already shown
2018-11-23 08:44:02 +01:00
Nextcloud bot
d655567672
[tx-robot] updated from transifex 2018-11-23 01:13:19 +00:00
Daniel Calviño Sánchez
e3d90efdbb Fix rendering of the sidebar in Files app
When a view is rendered it should not be concerned with where it is
going to be placed in the document; in general this should be a
responsibility of the object using the view.

Moreover, when the details view is rendered it should simply prepare a
skeleton that includes the root elements provided by the plugins; those
elements will be updated by the plugins as needed when a file or a tab
is selected.

Finally, the details view should not be explicitly rendered. The
rendering removes the previous elements, but that is needed only when
the details view is in a dirty state, that is, when new plugins were
added since the last time that it was rendered. However, that dirty
state is internally handled, and the view is automatically rendered
again if needed when a file info is set.

Due to all that the details view is no longer explicitly rendered when
updating it with a different file. Also, as each file list has its own
details view, and each details view has its own element, but there can
be only one details view/sidebar element in the document, when the file
list updates the details view it also replaces the current one in the
document with its own details view if needed (that is, if it is not the
current one already).

Besides that, when the element of a details view is replaced with the
element of a different details view the old one should be detached from
the document, but never removed. Otherwise the event handlers would not
work when that element is attached again later (when changing to a
different section in the Files app and then going back to the previous
one).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-22 17:45:46 +01:00
Julius Härtl
07c5c686a0 Do not switch to root folder if filelist is already shown
Navigating to the root folder is already handled by
OCA.Files.Navigation.setActiveItem in case the view doesn't change.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-22 15:10:53 +00:00
Nextcloud bot
3671606051
[tx-robot] updated from transifex 2018-11-18 01:13:09 +00:00
Nextcloud bot
cd196f31a0
[tx-robot] updated from transifex 2018-11-16 01:12:25 +00:00
Morris Jobke
9070de4753
Update autoloader dump
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-11-15 13:49:19 +01:00
Nextcloud bot
659e4746db
[tx-robot] updated from transifex 2018-11-15 01:12:24 +00:00
Morris Jobke
c4155e2f18
Merge pull request #12441 from nextcloud/stable14-10888
[stable14] Fix missing quickaccess favorite folder on add
2018-11-14 21:18:33 +01:00
Morris Jobke
94a5ffe394
Update PHPDoc to fix typos
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-11-14 21:18:16 +01:00
Nextcloud bot
ee060c8231
[tx-robot] updated from transifex 2018-11-14 01:12:22 +00:00
Felix Nüsse
13a22c7224 fix for favorites-quickaccess: newly added folders dont show up when added to favorites
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
2018-11-13 17:22:40 +01:00
Nextcloud bot
655b7f047c
[tx-robot] updated from transifex 2018-11-13 01:12:52 +00:00
Nextcloud bot
13eae29509
[tx-robot] updated from transifex 2018-11-12 01:12:58 +00:00
Nextcloud bot
9c88ff5eda
[tx-robot] updated from transifex 2018-11-08 01:12:28 +00:00
Nextcloud bot
390518c140
[tx-robot] updated from transifex 2018-11-07 01:12:40 +00:00
Roeland Jago Douma
2d153adb64
Set the filemodel before rending the detailsview
fixes #10934

Else it triggers the rendering two times. Resulting is weird state in
for example the comments. Because the comments for OLD_FILEID are
retrieved but then the model is changed to NEW_FILEID. But the old
comments still get in and get parsed.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-11-06 08:10:19 +01:00
Nextcloud bot
288991a610
[tx-robot] updated from transifex 2018-11-06 01:12:48 +00:00
Nextcloud bot
f962a43388
[tx-robot] updated from transifex 2018-11-05 01:12:47 +00:00
Nextcloud bot
d829b158f6
[tx-robot] updated from transifex 2018-11-04 01:14:13 +00:00
Nextcloud bot
41c842f469
[tx-robot] updated from transifex 2018-11-01 01:13:13 +00:00
Nextcloud bot
48b57d1284
[tx-robot] updated from transifex 2018-10-29 01:13:18 +00:00
Nextcloud bot
6565818ccc
[tx-robot] updated from transifex 2018-10-28 00:12:59 +00:00
Nextcloud bot
67895ffac7
[tx-robot] updated from transifex 2018-10-27 00:12:46 +00:00
Nextcloud bot
7e7d3ce357
[tx-robot] updated from transifex 2018-10-26 00:12:59 +00:00
Roeland Jago Douma
3e8a38fc57
Merge pull request #11995 from nextcloud/stable14-11967-fix-opening-a-section-again-in-the-files-app
[stable14] Fix opening a section again in the Files app
2018-10-23 20:05:25 +02:00
Nextcloud bot
7894c40f54
[tx-robot] updated from transifex 2018-10-23 14:54:39 +00:00
Daniel Calviño Sánchez
9801b5af36 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 16:44:29 +02:00
Daniel Calviño Sánchez
73125667d4 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 16:44:26 +02:00
Morris Jobke
858ec0a777
Add .l10nignore files for compiled assets
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-10-19 11:40:16 +02:00
Nextcloud bot
cef454c280
[tx-robot] updated from transifex 2018-10-10 00:13:24 +00:00
Nextcloud bot
acffe7a74e
[tx-robot] updated from transifex 2018-10-07 00:12:30 +00:00
Nextcloud bot
723dbe242a
[tx-robot] updated from transifex 2018-10-05 00:13:09 +00:00
Nextcloud bot
e87ec7d2c9
[tx-robot] updated from transifex 2018-10-04 00:12:17 +00:00
Nextcloud bot
1302b6f267
[tx-robot] updated from transifex 2018-10-03 16:58:57 +00:00
Jan-Christoph Borchardt
0bad377f4c
Reduce the min-width of the files table so it works on sharing pages on mobile
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-02 20:30:57 +02:00
Roeland Jago Douma
27323c977f
Merge pull request #11530 from nextcloud/stb14-brdcrmb-fx
Fix breadcrumbs
2018-10-02 10:10:58 +02:00
John Molakvoæ (skjnldsv)
720d195043
Fix breadcrumbs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-10-02 08:59:35 +02:00