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

1199 Коммитов

Автор SHA1 Сообщение Дата
Joas Schilling 297742fef5 Merge pull request #439 from nextcloud/rework-right-sidebar
Rework right sidebar
2017-10-16 14:05:50 +02:00
Nextcloud bot 92e74f60ef
[tx-robot] updated from transifex 2017-10-15 00:22:28 +00:00
Nextcloud bot e13bb7f36f
[tx-robot] updated from transifex 2017-10-14 02:43:38 +00:00
Daniel Calviño Sánchez b5ce9061e6 Replace custom code with SidebarView
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-10-13 17:13:59 +02:00
Daniel Calviño Sánchez 936fe0a3f1 Add Marionette view for call info
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-10-13 17:13:59 +02:00
Daniel Calviño Sánchez c35a30475d Set the new room for ParticipantCollection when the active room changes
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-10-13 17:13:59 +02:00
Daniel Calviño Sánchez c516ddf513 Make ParticipantCollection to automatically fetch when its room changes
The ParticipantCollection provides the list of participants (including
guests) in a room. The Room model is synced through signaling and
provides some information about the registered users and the guests in a
room, so the ParticipantCollection can listen to changes in those
properties to automatically fetch its items again when needed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-10-13 17:13:59 +02:00
Daniel Calviño Sánchez e26d1f17b9 Make ParticipantView to render automatically when its collection changes
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-10-13 17:13:59 +02:00
Daniel Calviño Sánchez 2f25d8abe8 Generalize ParticipantView CSS rules
Instead of being based on the "participantTabView" id the CSS rules used
by the ParticipantView were modified to be based on its class,
"participantWithList". This will make possible to change the parent
element of the ParticipantView and keep its style.

The rules for links were merged as those links that required a padding
due to being shown with an icon were also those shown inside the list
items.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-10-13 17:13:59 +02:00
Daniel Calviño Sánchez bfc9066137 Add content to the right sidebar
The right sidebar will contain a call info view and a tab view to which
different sections can be added as needed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-10-13 17:13:59 +02:00
Daniel Calviño Sánchez 0fff33484b Add Marionette view for the right sidebar
The right sidebar is an area that can be shown or hidden from the right
border of the document. It is a core element from Nextcloud, and
SidebarView is a Marionette wrapper around it. Therefore, it has to be
used along an "#app-content" element that takes into account the
"with-app-sidebar" CSS class.

However, this right sidebar extends the standard right sidebar with an
icon shown on the right border of the screen that makes possible for the
user to show it when hidden (as there is no other element in the UI
suitable for that purpose).

That icon is just a right-pointing triangle created with a CSS trick (a
zero-sized div with width borders, but all of them transparent except
for the left one). However, as the icon will be shown on different
coloured backgrounds it can not have just a single colour; it must
provide a border on its own too, which is achieved with another triangle
slightly larger underneath. The triangle border is 2px instead of just
1px used in other UI elements (like in the sidebar itself) to make it
more noticeable on a white background.

The triangle used for the icon is a large one, with a width of 24px and
a height of 48px. Using this trick has an added benefit, as its
clickable area is larger than the triangle itself (48x48px), which
improves its usability on touchable screens (and does not negatively
affect the experience on other devices).

Currently the SidebarView is empty. The content will be added in
following commits.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-10-13 17:13:59 +02:00
Daniel Calviño Sánchez aa24728518 Add Marionette view for tabs
A TabView contains a set of tab headers and a content area. When a
header is selected its associated content view is shown in the content
area; otherwise its content is hidden (although the header is always
shown).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-10-13 17:13:59 +02:00
Nextcloud bot 23e32ebe24
[tx-robot] updated from transifex 2017-10-13 00:23:33 +00:00
Nextcloud bot 5e9828caac
[tx-robot] updated from transifex 2017-10-12 00:22:33 +00:00
Nextcloud bot d3926b1b91
[tx-robot] updated from transifex 2017-10-11 00:22:43 +00:00
Ivan Sein 0cdb0cc211 Merge pull request #435 from nextcloud/expire-old-signaling-messages
Expire signaling messages that are older than 5 minutes
2017-10-09 19:09:13 +02:00
Ivan Sein 0614fe2785 Merge pull request #434 from nextcloud/password-change-events
Add events and docs for password change
2017-10-09 19:08:30 +02:00
Joas Schilling 02f10a6a02 Merge pull request #436 from nextcloud/add-license-to-migration-file
Add license to migration files
2017-10-09 15:18:35 +02:00
Joas Schilling 933ffdbe7c
Add license to migration files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-10-09 13:51:36 +02:00
Joas Schilling 4669f73022
Expire signaling messages that are older than 5 minutes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-10-09 13:34:04 +02:00
Joas Schilling 9c3784c6f1
Add an event when we delete all old guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-10-09 13:13:41 +02:00
Joas Schilling d63b21576e
Event for changing a participant type
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-10-09 13:11:01 +02:00
Joas Schilling 27a10c19cd
Add events and docs for password change
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-10-09 12:18:03 +02:00
Nextcloud bot 48b4b073ae
[tx-robot] updated from transifex 2017-10-09 00:22:54 +00:00
Nextcloud bot 41fed7122d
[tx-robot] updated from transifex 2017-10-08 00:22:34 +00:00
Nextcloud bot 7948f83648
[tx-robot] updated from transifex 2017-10-07 00:22:51 +00:00
Joas Schilling c7e55a8953 Merge pull request #427 from nextcloud/move-admin-settings-to-own-section
Admin settings
2017-10-06 11:29:19 +02:00
Nextcloud bot 27ad831b5d
[tx-robot] updated from transifex 2017-10-06 00:23:11 +00:00
Ivan Sein 77548e8513 Merge pull request #432 from nextcloud/remove-unused-session-id
Remove unused session id
2017-10-05 15:59:21 +02:00
Joas Schilling 818f06e079
Remove unused session id
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-10-05 15:23:56 +02:00
Joas Schilling 71aa0b4dc2
Show green save mark
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-10-05 09:51:00 +02:00
Ivan Sein 3db50a8151 Merge pull request #430 from nextcloud/fix-391
Only show the name hint once
2017-10-04 16:37:38 +02:00
Joas Schilling e553ddccbf
Fix the section
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-10-04 16:34:30 +02:00
Joas Schilling 302c2b3366
Only show the name hint once
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-10-04 14:03:28 +02:00
Nextcloud bot 5f4c20d4b3
[tx-robot] updated from transifex 2017-10-03 00:22:30 +00:00
Joas Schilling b0c68b9a84
Fix eslint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-29 11:57:49 +02:00
Joas Schilling fb766fb1a5
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-29 11:56:22 +02:00
Joas Schilling c26d958b98
Add a migration to copy the current stun and turn settings
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-29 11:36:58 +02:00
Joas Schilling 9e2e39a614
Allow multiple turn servers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-28 15:53:59 +02:00
Joas Schilling 2a33f7fd1a
Allow setting multiple STUN servers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-28 15:53:59 +02:00
Joas Schilling b3ef9248b1
Move admin settings to own section
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-28 15:53:59 +02:00
Nextcloud bot 9c14dab1e4
[tx-robot] updated from transifex 2017-09-28 00:23:30 +00:00
Joas Schilling ba3475fed6 Merge pull request #426 from nextcloud/remove-call-description
Stop sending call description to simplewebrtc using internal signaling.
2017-09-27 15:29:14 +02:00
Nextcloud bot 02e7dd108c
[tx-robot] updated from transifex 2017-09-27 00:22:34 +00:00
Ivan Sein 08a30bca17 Stop sending call description to simplewebrtc using internal signaling.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2017-09-26 18:37:18 +02:00
Ivan Sein 8e7b8320ce Merge pull request #363 from nextcloud/long-polling
Use an OCS controller and long polling instead of event sources
2017-09-26 11:30:42 +02:00
Joas Schilling 4f9207b389
Make sure we send the user list at least all 30 seconds
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-26 11:08:50 +02:00
Joas Schilling 5e353843a5
Fix event name
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-26 11:06:05 +02:00
Nextcloud bot 8be4d99321
[tx-robot] updated from transifex 2017-09-26 00:22:32 +00:00
Ivan Sein 216eeab108 Merge pull request #425 from nextcloud/no-more-codecov
No more CodeCov
2017-09-25 17:34:54 +02:00