Граф коммитов

3203 Коммитов

Автор SHA1 Сообщение Дата
Daniel Calviño Sánchez 27893b3e6c Use "text" icon for ".icon-file-white"
In the server, ".icon-file" is set to the "text" icon instead of to the
"file" icon. For consistency with the server and between the room list
(which uses ".icon-file-white") and the icon to go to the file (which
uses ".icon-file") now ".icon-file-white" uses the "text" icon too.

Note, however, that the icon for shared files that do not have a preview
is still the "file" icon, as in that case it should reflect the file
contents and using a text icon for other types of files could be
misleading.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-13 08:17:42 +01:00
Daniel Calviño Sánchez 79632c1562 Add icon to go to the file associated to a room
If a room is associated to a file now an icon is shown to the right of
the room name; when that icon is clicked the Files app is opened in a
new tab and focused on the file.

The "Go to the file" hint is shown using the tooltip plugin instead of
the link title for consistency with other buttons in the UI, and because
it is automatically shown when the icon is focused while traversing the
UI elements with the tab key.

The icon has a clickable area of 44x44px; due to how the properties for
h2 elements are defined in the server some margin juggling is needed to
vertically align the icon with the room name header.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-13 08:11:22 +01:00
Nextcloud bot 81b9fdfd2e
[tx-robot] updated from transifex 2018-12-13 01:37:42 +00:00
Joas Schilling ac370706e8
Replace the loop for finding line breaks with a global regex search
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-12-13 00:16:36 +01:00
Joas Schilling c8b8274e1c
Fix multiple mentions which are used directly behind each others
The editable div inserts non-breaking spaces (url encode %C2%A0) after a mention.
When two mentions are right behind each others, the later one is not matched by the
regex later, because the lookahead on the @ finds only non-breaking content.
Manually adding a space in between the two mentions solves this already.

But instead we replace them with normal spaces before sending them to the server.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-12-13 00:12:49 +01:00
Daniel Calviño Sánchez 16d028e958 Remove unused template parameter
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-12 16:10:58 +01:00
Joas Schilling ed110adf70
Merge pull request #1351 from nextcloud/adjust-tests-to-check-that-updating-a-received-share-is-forbidden
Adjust tests to check that updating a received share is forbidden
2018-12-12 12:55:17 +01:00
Joas Schilling 292dbca23c
Merge pull request #1376 from nextcloud/add-full-handlebars-library
Add full Handlebars library
2018-12-12 12:53:22 +01:00
Nextcloud bot e79e8b70dd
[tx-robot] updated from transifex 2018-12-12 01:44:04 +00:00
Daniel Calviño Sánchez 8942baf9f3 Add full Handlebars library
In Nextcloud 16 the Handlebars library shipped in the server is no
longer the full Handlebars library, but a trimmed down version that does
not support compiling Handlebars templates at runtime.

Currently Talk still needs to compile Handlebars templates at runtime,
so for the time being the full Handlebars library that was included
before in the server is now included in Talk.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-11 20:02:50 +01:00
Joas Schilling 22b8d3adbc
Merge pull request #1356 from nextcloud/fix-run-docker.sh-with-postgresql-10.5
Fix "run-docker.sh" with PostgreSQL 10.5
2018-12-11 17:07:37 +01:00
Joas Schilling c26285ea6e
Merge pull request #1367 from nextcloud/screensharing-to-non-video-participants
Send initial screensharing stream to participants that don't publish video.
2018-12-11 16:22:58 +01:00
Joachim Bauch bff77f9f3f
Send initial screensharing stream to participants that don't publish video.
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-12-11 14:12:53 +01:00
Joas Schilling cb03c7e637
Merge pull request #1362 from nextcloud/disable-call-button-while-joining-or-leaving-a-call
Disable call button while joining or leaving a call
2018-12-11 14:10:10 +01:00
Joas Schilling 044c9209cf
Merge pull request #1357 from nextcloud/bump-server-version-in-the-helper-app-for-integration-tests
Bump server version in the helper app for integration tests
2018-12-11 14:01:32 +01:00
Joas Schilling 62a2a4738c
Merge pull request #1360 from nextcloud/chrome_screensharingfix
Fix screensharing support in Chrome 71 and Iridium.
2018-12-11 13:57:36 +01:00
Joachim Bauch 05905d1972
Keep detection of "cef" for older versions of Chrome.
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-12-11 12:02:36 +01:00
Joachim Bauch 879b949481
Fix chrome version detection if at end of user agent.
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-12-11 12:02:04 +01:00
Joachim Bauch 509126ee8a
Fix eslint error.
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-12-11 12:00:22 +01:00
Daniel Calviño Sánchez 020202c8c5 Show working icon in call button while joining or leaving a call
To provide a stronger feedback that the action is still going on now a
working/loading icon is shown in the call button while joining or
leaving a call.

In the Files app the call button width depends on its text (in the
regular Talk UI it depends on the sidebar width), so the padding was
increased to always make room for the icon, even when hidden, to prevent
a sudden increase of the width when the icon is shown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-11 11:23:07 +01:00
Daniel Calviño Sánchez 32cc5d0065 Disable call button while joining or leaving a call
Joining or leaving a call is not an immediate action; in some cases a
few seconds can pass before the action is finished, so during that time
the button should be disabled, both to prevent further actions from the
user and to give her feedback that the action is still going on.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-11 11:03:49 +01:00
Nextcloud bot 7e27c02ab9
[tx-robot] updated from transifex 2018-12-11 01:36:57 +00:00
Peter Edens 8a7c6a2dbf Fix screensharing support in Chrome 71 and Iridium. Signed-off-by: Peter Edens <petere@conceiva.com.com> 2018-12-11 11:22:44 +11:00
Daniel Calviño Sánchez ac2b053c1f Bump server version in the helper app for integration tests
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-10 17:12:48 +01:00
Daniel Calviño Sánchez 7bf78e1771 Fix "run-docker.sh" with PostgreSQL 10.5
In the original "fix" (spoiler alert: the fix was wrong) "POSTGRES_DB"
ended being empty due to "$DATABASE_NAME_dummy" being parsed as a full
variable name, instead of "$DATABASE_NAME" followed by the string
"_dummy".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-10 17:07:19 +01:00
Joas Schilling e14861637d
Merge pull request #1353 from nextcloud/bugfix/noid/fix-unit-tests
Fix unit tests
2018-12-10 13:19:41 +01:00
Joas Schilling b6661f8f2b
Merge pull request #1331 from nextcloud/16
Increase max-version to 16
2018-12-10 12:19:20 +01:00
Joas Schilling d39432d1af
Merge pull request #1346 from nextcloud/use-special-icons-for-rooms-associated-to-objects
Use special icons for rooms associated to objects
2018-12-10 12:13:58 +01:00
Daniel Calviño Sánchez c75dc7caa9
Use special icons for rooms associated to objects
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-10 12:13:40 +01:00
Daniel Calviño Sánchez a8908ab90a
Generalize CSS rules for room icons
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-10 12:13:15 +01:00
Daniel Calviño Sánchez e7ee5d1546
Set room icons in the template
"onRender" is always called after the template has been rendered, so
there is no need to remove the icons for other types of rooms; even if
the room type has changed the element will not use have any of the
previous CSS classes, it will be a new element as defined in the
template. Due to this the room icons can be set in the template itself
instead of in "onRender".

Avatars, on the other hand, are set using JavaScript, so they still need
to be set in "onRender"; the name of the called function has been
changed to better reflect is current purpose.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-10 12:13:15 +01:00
Daniel Calviño Sánchez 98f57a4c89
Remove dead code
Swapping the "public-room" and "private-room" CSS classes comes from the
time in which the share link was shown in the room list. However, since
the share link was moved to the sidebar the "public-room" and
"private-room" CSS classes are not set anywhere, so their switching code
as well as their CSS rules can be removed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-10 12:13:15 +01:00
Joas Schilling 6af08fd207
Fix unit tests, regression from #1344
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-12-10 12:10:51 +01:00
Daniel Calviño Sánchez 427116dde2 Adjust tests to check that updating a received share is forbidden
Updating a received share is no longer allowed by the server, so the
integration tests have to be adjusted to the new behaviour.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-10 11:45:01 +01:00
Joas Schilling 50a2367364
Merge pull request #1348 from nextcloud/tech/noid/improve-update-readme
Improve readme
2018-12-10 10:22:35 +01:00
Nextcloud bot dc91f68980
[tx-robot] updated from transifex 2018-12-10 01:36:50 +00:00
Nextcloud bot 69e0bfd731
[tx-robot] updated from transifex 2018-12-09 01:37:27 +00:00
Nextcloud bot 8df3c63aa2
[tx-robot] updated from transifex 2018-12-08 01:36:07 +00:00
Joas Schilling 128d4a4a63
Test against master again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-12-07 18:37:21 +01:00
Joas Schilling 9e98504872
Bump all versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-12-07 18:36:28 +01:00
Jan-Christoph Borchardt 6d9529d962
Increase max-version to 16
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-12-07 18:36:09 +01:00
Joas Schilling 23ac01ccda
Update screenshot with the new features
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-12-07 18:29:18 +01:00
Joas Schilling 34725e0380
Improve the README with relevant information
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-12-07 18:06:48 +01:00
Joas Schilling dd96501026
Merge pull request #1335 from nextcloud/better-integration-testing
Better integration testing
2018-12-07 15:42:52 +01:00
Nextcloud bot 3d065c3a6f
[tx-robot] updated from transifex 2018-12-07 01:37:03 +00:00
Joas Schilling 2ecde1874e
Increase version for beta5
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-12-06 18:44:01 +01:00
Joas Schilling fa8b61b250
Add changelog
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-12-06 18:43:45 +01:00
Joas Schilling 54b7ea75b3
Prepare 4.0.1
**Added**
- Add an option to test the TURN configuration in the admin settings
  [#1294](https://github.com/nextcloud/spreed/pull/1294)

**Changed**
- Improve the notifications when a share password is requested
  [#1296](https://github.com/nextcloud/spreed/pull/1296)
- Do not show an error when a file is shared a second time into a conversation
  [#1295](https://github.com/nextcloud/spreed/pull/1295)

**Fixed**
- Custom Signaling, STUN and TURN configurations are not loaded for the user requesting the password for a share
  [#1297](https://github.com/nextcloud/spreed/pull/1297)
- Fix position of the contacts menu when clicking on the avatar of a chat author
  [#1293](https://github.com/nextcloud/spreed/pull/1293)
- Avatars in messages/mentions by guests show the guest avatar instead of the user
  [#1292](https://github.com/nextcloud/spreed/pull/1292)
- Information about user state in a call is bugged
  [#1291](https://github.com/nextcloud/spreed/pull/1291)
- Wrong conversation name of password requests in the details sidebar
  [#1290](https://github.com/nextcloud/spreed/pull/1290)
- Fix rendering, reloading and interaction with the participant list
  [#1222](https://github.com/nextcloud/spreed/pull/1222)
  [#1289](https://github.com/nextcloud/spreed/pull/1289)

Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-12-06 18:26:16 +01:00
Joas Schilling b15c67f78d
Merge pull request #1344 from nextcloud/bugfix/1339/persistent-join-file-rooms
Persistent join file rooms
2018-12-06 18:20:54 +01:00
Joas Schilling 1856fc3094
"You" translation for leaving a conversation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-12-06 18:05:47 +01:00