Commit Graph

46950 Commits

Author SHA1 Message Date
Daniel Kesselberg 5ea9932b59
Merge pull request #12696 from nextcloud/backport/12649/stable15
[stable15] Make acceptance tests for comments more robust
2018-11-27 22:00:21 +01:00
Daniel Calviño Sánchez ad0adaea95 Wait for the comment to be added before changing to another file
If the server is too slow, changing to a different file immediately
after sending a new comment but without waiting for the comment to be
shown for the original file could cause the new comment to be shown for
the current file instead.

This is, indeed, a bug in the comments. However, it is not possible to
test it reliably in the acceptance tests, as it depends on how fast the
server adds the message and how fast the client changes to a different
file; sometimes the test would fail and sometimes it would not.

Therefore, now it is waited for the comment to be added before changing
to another file, as in this case it can be reliably tested that changing
to a different file does not cause the comments from the previous file
to be shown in the current file (this was a different bug already fixed
and due to which this test was added in the first place).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-27 16:55:32 +00:00
Daniel Calviño Sánchez 4c88b12a28 Wait for the empty content element to be shown
When the "Comments" tab is open the empty content element is always in
the DOM, although it is only shown once the message collection was
fetched and there were no messages. Due to this it is necessary to
explicitly wait for it to be shown instead of relying on the implicit
wait made to find the element; otherwise it would be found immediately
and if the collection was not fetched yet it would not be visible,
causing the test to fail.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-27 16:55:32 +00:00
Roeland Jago Douma b7e195dd7f
Merge pull request #12683 from nextcloud/backport/12650/stable15
[stable15] Fix count on string
2018-11-27 16:28:25 +01:00
Daniel Kesselberg d0f341b355 Add return type
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-11-27 13:16:26 +00:00
Daniel Kesselberg 943f2576c5 Fix count on string
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-11-27 13:16:26 +00:00
Nextcloud bot a2dd8d05b1
[tx-robot] updated from transifex 2018-11-27 01:11:43 +00:00
Morris Jobke ca7c56116f
Merge pull request #12638 from nextcloud/backport/12556/stable15
[stable15] extend anonymous options to work on every dav url
2018-11-26 11:03:12 +01:00
Nextcloud bot d2137ff778
[tx-robot] updated from transifex 2018-11-26 01:11:31 +00:00
Nextcloud bot 9dcde5912b
[tx-robot] updated from transifex 2018-11-25 01:12:25 +00:00
Nextcloud bot a9a457e542
[tx-robot] updated from transifex 2018-11-24 01:11:28 +00:00
Robin Appelman 38e115e5bf extend anonymous options to work on every dav url
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-11-23 18:05:03 +00:00
Roeland Jago Douma a1ca70bbed
Merge pull request #12615 from nextcloud/backport/12592/stable15
[stable15] Fix Typo in Original English String and All Translations
2018-11-23 07:48:33 +01:00
Nextcloud bot 72b4cce30b
[tx-robot] updated from transifex 2018-11-23 01:13:08 +00:00
Patrick Baber 9d3553261c fix typo in original english string and all translations
Signed-off-by: Patrick Baber <patrick@p-squared.de>
2018-11-22 22:35:13 +00:00
Morris Jobke 510f720778
Merge pull request #12581 from nextcloud/version/noid/15.0.0rc1
15.0.0 RC 1
2018-11-22 16:59:14 +01:00
Morris Jobke c3c626a75e
15.0.0 RC 1
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-11-22 16:23:24 +01:00
Morris Jobke 2e52ea5ad4
Merge pull request #12554 from nextcloud/bugfix/12493/root-folder-switch
Do not switch to root folder if filelist is already shown
2018-11-22 16:09:56 +01:00
Morris Jobke e0967ffd3a
Merge pull request #12587 from nextcloud/new-user-clear-fix
Do not clear new user form on failure
2018-11-22 14:39:27 +01:00
Julius Härtl a90b4bcc32
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 14:03:23 +01:00
John Molakvoæ (skjnldsv) b28c42506f
Do not clear new user form on failure
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-22 13:58:15 +01:00
Morris Jobke ad1a026e54
Merge pull request #12589 from nextcloud/fix/twofactor-admin-groups-explanation
Add explanatory text to admin twofactor settings
2018-11-22 13:50:11 +01:00
Morris Jobke db6fad3eee
Merge pull request #12571 from TheLastProject/feature/make_connectivity_check_domains_changeable
Make connectivity check domains configurable
2018-11-22 13:42:54 +01:00
Christoph Wurst c95ef8534e
Add explanatory text to admin twofactor settings
Ref #12249
Ref https://github.com/nextcloud/documentation/pull/937

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-11-22 12:01:45 +01:00
Morris Jobke e8df902083
Merge pull request #12580 from nextcloud/app-navigation-menu-dark-fix
Fix navigation more menu background for dark theme
2018-11-22 11:21:58 +01:00
Morris Jobke 0534bcfb6a
Merge pull request #12485 from nextcloud/nextcloud-talk-sessions-format
Format Nextcloud Talk clients sessions.
2018-11-22 11:15:49 +01:00
Sylvia van Os 935bb25639 Make connectivity check domains configurable
Signed-off-by: Sylvia van Os <sylvia@hackerchick.me>
2018-11-22 10:57:16 +01:00
Morris Jobke ede53e06c1
Merge pull request #12553 from nextcloud/bugfix/noid/allow-empty-string-in-getAbsoluteURL
Allow empty string in get absolute url
2018-11-22 10:26:23 +01:00
Morris Jobke 2e68b73e5e
Merge pull request #12558 from nextcloud/blurry-button
Apply border to primary button if on log in page (and not in a dark container) or if in header
2018-11-22 10:18:52 +01:00
Morris Jobke bebdb19ac2
Merge pull request #12559 from nextcloud/heading-menu-spacing
Better header navigation display
2018-11-22 10:13:59 +01:00
John Molakvoæ (skjnldsv) b8cdc636f7
Fix navigation more menu background for dark theme
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-22 10:04:50 +01:00
Morris Jobke 745ceff67a
Merge pull request #12577 from nextcloud/fix-rendering-of-the-sidebar-in-files-app
Fix rendering of the sidebar in Files app
2018-11-22 09:43:23 +01:00
John Molakvoæ 654880da25
Merge pull request #12468 from nextcloud/multiselect-removal-fix
Remove conflicting multiselect
2018-11-22 08:49:09 +01:00
Daniel Calviño Sánchez e39db808fb 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 05:58:25 +01:00
Daniel Calviño Sánchez 1d1708688f Add acceptance tests for showing again the input field for tags
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-22 05:26:45 +01:00
Daniel Calviño Sánchez 57ffa9ea73 Add acceptance tests for opening and closing again the details view
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-22 05:26:01 +01:00
Daniel Calviño Sánchez 94645ed754 Add acceptance tests for marking a file as favorite in the details view
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-22 05:25:12 +01:00
Daniel Calviño Sánchez 139e2218d1 Add acceptance tests for switching to the comments of another file
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-22 05:20:26 +01:00
Nextcloud bot f3fb6676e9
[tx-robot] updated from transifex 2018-11-22 01:12:20 +00:00
Roeland Jago Douma 8c9e78d8b1
Merge pull request #12570 from nextcloud/do-not-show-tab-headers-marked-as-hidden
Do not show tab headers marked as hidden
2018-11-21 22:34:41 +01:00
Jan-Christoph Borchardt d94fce8d3a
Fix wording of client sessions
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-11-21 16:02:26 +01:00
Daniel Calviño Sánchez 7a57409f7d Do not show tab headers marked as hidden
Tab headers that should not be shown are marked with the "hidden" CSS
class. The CSS rules set "display: none" for ".hidden" elements, but as
the rules for ".tabHeaders .tabHeader" are more specific than rules for
".hidden" the "display" property is overriden and ends being "flex".
Therefore, it is necessary to explicitly set a rule for ".tabHeaders
.tabHeader.hidden" elements.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-21 15:21:22 +01:00
Jan-Christoph Borchardt f80a023431
Always give primary button a border for light primary colors
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-11-21 14:30:05 +01:00
Nextcloud bot b7767a51f1
[tx-robot] updated from transifex 2018-11-21 01:12:15 +00:00
Roeland Jago Douma b150d27edf
Merge pull request #12531 from nextcloud/bugfix/noid/hide-download-folders
Allow to hide download option for folders shared by link
2018-11-20 20:51:23 +01:00
Julius Härtl 78056a3bef
Fix whitespace and file action cleanup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-20 19:46:49 +01:00
Roeland Jago Douma fc99811d0a
Clear link to avoid downloads
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-11-20 19:46:49 +01:00
Roeland Jago Douma 61c869675d
Compile handlebars
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-11-20 19:46:49 +01:00
Julius Härtl fb8aa31dbf
Allow to hide download option for folders shared by link
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-20 19:46:35 +01:00
John Molakvoæ (skjnldsv) 28afcaad03
Better header navigation display
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-11-20 18:39:54 +01:00