Kegan Dougal
512f2cc9c4
Fix SYWEB-8 : Buggy tab-complete.
...
The first red blink was caused by an uninitialised search index. There is no
caching of entries, since this then wouldn't update if someone joined/left
during the tab. Instead, set to search index to MAX_VALUE then fix it to a
valid index AFTER the search is complete. Also ditched trailing space on ": ".
2014-09-23 12:22:14 +01:00
Kegan Dougal
b5c9d99424
Show display name changes in the message list.
2014-09-22 17:46:53 +01:00
Kegan Dougal
95acf63ea3
Add working protractor e2e test.
...
This uses the ignoreSynchronization flag because of the longpoll on the event
stream. It would be better to use $interval, but couldn't get that to
*reliably* work when testing. I suspect that $interval won't help us here,
since there is genuinely an open $http connection, as we're doing a long
poll. https://github.com/angular/protractor/issues/49 for more info.
2014-09-22 16:50:12 +01:00
Kegan Dougal
90f5eb1270
Set required environment variables for e2e testing.
...
Added an 'id' to the login button so it can be automatically triggered.
Also, added an onPrepare section to protractor.conf to do the login.
2014-09-22 15:00:23 +01:00
Kegan Dougal
7dfcba1649
Updated test README to include a section on environment-protractor.js
...
The environment file is .gitignored so random selenium servers aren't accidentally pushed.
2014-09-22 14:36:06 +01:00
Kegan Dougal
e3152188ef
Added boilerplate for running end-to-end tests.\nThis is done using Protractor, which looks for a .gitignored file environment-protractor.js which contains the selenium endpoint url.
2014-09-22 14:29:12 +01:00
Erik Johnston
e68dc04900
Merge branch 'master' of github.com:matrix-org/synapse into develop
2014-09-22 13:02:47 +01:00
David Baker
4696622b0a
Propagate failure reason to the other party.
2014-09-22 11:44:15 +01:00
David Baker
83ea3c96ec
Better logging of ICE candidates and fail the call when ICE fails.
2014-09-22 10:55:01 +01:00
Kegan Dougal
333e63156e
Fixed unit test; it all actually works. Added a README for running the tests with karma/jasmine.
2014-09-22 10:27:03 +01:00
Matthew Hodgson
a0c3da17b4
go back to the original behaviour of only notifying if we think the app is backgrounded or idle...
2014-09-20 01:40:29 +01:00
Matthew Hodgson
4c7a1abd39
remove insanely busy logging which is killing CPU
2014-09-20 01:14:01 +01:00
Matthew Hodgson
9fda37158a
remove the ng-model attribute from mainInput textarea to stop the digest being run every time you press a key (SYWEB-4)
2014-09-20 00:49:45 +01:00
David Baker
648fd2a622
Notify a callee that their browser doesn't support VoIP too.
...
SYWEB-14 #resolved
2014-09-19 18:22:14 +01:00
David Baker
99b0c9900e
Move video background element up as it was causing the page to scroll.
2014-09-19 17:40:00 +01:00
David Baker
f6258221c1
Join rooms if we're not already in them when accepting a call coming from that room.
...
SYWEB-55 #resolve
2014-09-19 17:23:55 +01:00
Emmanuel ROHEE
68e534777c
SYWEB-32: made all input/textearea inherit the font of their parent
2014-09-19 18:00:16 +02:00
David Baker
29686f63ac
Fix the "is webrtc supported" titles on buttons and make the video / voice call buttons appear in multi-user rooms but be greyed out with approriate titles.
2014-09-19 16:52:45 +01:00
David Baker
03ac0c91ae
Merge branch 'videocalls' into develop
...
Conflicts:
webclient/room/room.html
2014-09-19 16:26:46 +01:00
Emmanuel ROHEE
709b8ac2b7
SYWEB-13 SYWEB-14: disabled "Call" button if the browser does not support all required WebRTC features
2014-09-19 17:20:33 +02:00
Emmanuel ROHEE
e9670fd144
SYWEB-13: disabled "Send image" button if the browser does not support HTML5 file API
2014-09-19 17:20:33 +02:00
Emmanuel ROHEE
f9688d7519
SYWEB-13: Do not start the app if the browser does not support WEBStorage.
...
Internet Explorer case: Launch the app only for versions 9 and higher.
2014-09-19 17:20:33 +02:00
David Baker
da8b5a5367
First working version of UI chrome for video calls.
2014-09-19 16:18:15 +01:00
David Baker
270825ab2a
Fix undefined variable error
2014-09-19 11:41:49 +01:00
Emmanuel ROHEE
008515c844
A kind of the typo in the fix of SYWEB-44
2014-09-19 09:25:51 +02:00
Emmanuel ROHEE
301ef1bdc6
Room id leaks: log them when then happens. Plus log the conditions that made them happen
2014-09-19 09:17:18 +02:00
Emmanuel ROHEE
cf1e167034
Fixed SYWEB-16: When sending an invite over federation, the remote user sees the name of the resulting invite room as *their* name rather than the inviters
2014-09-19 09:07:16 +02:00
Matthew Hodgson
2ab7e23790
fix SYWEB-41 (hopefully)
2014-09-18 18:18:30 +01:00
Emmanuel ROHEE
0dac2f7a8d
Fixed missing component dependency which created a crash
2014-09-18 19:12:21 +02:00
Kegan Dougal
6a6a718898
Added test directory, karma conf, and angular-mocks. Expect it to work? Pah, not yet.
2014-09-18 17:59:15 +01:00
Emmanuel ROHEE
faec6f7f31
Oops. Removed dev logs
2014-09-18 17:48:20 +02:00
Emmanuel ROHEE
26dda48e50
SYWEB-14: BF: rooms invitations were not visible in recents after launching/refreshing the web page
2014-09-18 17:34:26 +02:00
Erik Johnston
e0f060d89b
Merge branch 'master' of github.com:matrix-org/synapse into develop
2014-09-18 16:22:14 +01:00
Kegan Dougal
3dea0d2806
undefined is empty. Fixed bug where empty bingWords with old accounts which hadn't logged in didn't send notifications.
2014-09-18 16:17:29 +01:00
David Baker
0505014152
add unprefixed filter css as well
2014-09-18 16:15:48 +01:00
David Baker
3bd8cbc62f
Prettier and stabler video with basic support for viewing mode. For now, transition into 'large' mode is disabled.
2014-09-18 15:51:30 +01:00
Matthew Hodgson
d583aaa0c3
fix wordwrap
2014-09-18 15:25:25 +01:00
Matthew Hodgson
3a7375f15e
fix binger description
2014-09-18 15:25:11 +01:00
Emmanuel ROHEE
b7d42c1e93
SYWEB-40: Only local rooms are shown in the recents list.
...
Removed an old patch that deduplicated join events. This patch is now useless. Plus it is buggy since it compared event.content and event.prev_content only on the membership field whereas these objects contain more data now like displayname...
2014-09-18 15:28:52 +02:00
Emmanuel ROHEE
0db0528e8e
Reverted patches done for SYWEB-40
2014-09-18 15:19:35 +02:00
Kegan Dougal
a64ff63a41
SYWEB-3 : Boldify if the join_rule is public, rather than visibility so it plays nicer with federation.
2014-09-18 12:02:52 +01:00
Kegan Dougal
ac8d73b258
Patch for SYWEB-40 : isStateEvent is not being set correctly, and really shouldn't be a configurable arg in the first place. As a result of being undefined, the events.rooms[rid].members object was not being updated in some cases, which combined with the recents-filter bug ( 32808e4
), caused federated rooms to not appear in the recents list.
2014-09-18 12:02:52 +01:00
Kegan Dougal
a6f5c88b47
Still add the room to the filtered list even if you can't work out the number of users in the room.
2014-09-18 12:02:51 +01:00
David Baker
1c0408de08
unbreak calls in firefox
2014-09-18 11:59:27 +01:00
David Baker
e932e5237e
WIP video chat layout
2014-09-18 11:04:45 +01:00
Kegan Dougal
aeaeceb92c
Create room entries for public rooms too so their public state is transferred over correctly when you join it.
2014-09-17 16:38:40 +01:00
Kegan Dougal
16f55d4275
webclient SYWEB-3 : Public rooms are bold. Can't think of a nicer way which doesn't clutter the recents list.
2014-09-17 16:38:40 +01:00
David Baker
1fb2c831e8
Video calling (in a tiny box at the moment)
2014-09-17 16:26:35 +01:00
Emmanuel ROHEE
246f5d2e20
SYWEB-30: BF: When switching between rooms, pagination flickered between the top of the room before jumping to the bottom of the page
2014-09-17 17:13:07 +02:00
Emmanuel ROHEE
65c37cc852
SYWEB-22: Format emote('/me') messages correctly in desktop notification
2014-09-17 16:13:09 +02:00
Emmanuel ROHEE
fe7af80198
BF: edit the actual room name not the displayed room name (which has been computed)
2014-09-17 15:46:12 +02:00
Emmanuel ROHEE
9aed6a06cf
SYWEB-15: Always show the room alias as well as its name in the UI
2014-09-17 15:38:20 +02:00
Emmanuel ROHEE
b3a0961c6c
SYWEB-7: Use sessionStorage to make per-room history survives when the user navigates through rooms
2014-09-17 14:38:33 +02:00
Emmanuel ROHEE
d9a9a47075
SYWEB-7: Up & down keys let user step through the history as per readline or xchat
2014-09-17 14:18:39 +02:00
Emmanuel ROHEE
f9bb000ccf
WEB-35: joins/parts should trigger desktop notifications
2014-09-17 09:41:21 +02:00
Kegan Dougal
d6c0cff3bd
Bugfix when content isn't a string.
2014-09-16 16:31:16 +01:00
Kegan Dougal
95e171e19a
Don't bing for sent messages. Handle cases where the member is unknown rather than erroring out.
2014-09-16 16:23:20 +01:00
Kegan Dougal
d7b206cc93
Added basic RegExp support.
2014-09-16 16:10:48 +01:00
Emmanuel ROHEE
06dfbdf7c8
WEB-27: We don't need to show the user-count in Recents in the room sidepanel - takes up too much room
2014-09-16 17:07:47 +02:00
Kegan Dougal
3395a3305f
Bing on all the things if there are 0 bing words.
2014-09-16 15:47:29 +01:00
Kegan Dougal
5aaa3c09c1
hidden/minimise/focus disaster disclaimer with the TODO
2014-09-16 15:35:23 +01:00
Kegan Dougal
b36a0c71d1
Added utility function containsBingWord and hook up some css to it.
2014-09-16 15:35:23 +01:00
Kegan Dougal
a402e0c5e6
Added bing detection logic. Persist the display name of the user in localstorage for use when binging.
2014-09-16 15:35:23 +01:00
Kegan Dougal
660364d6a7
Move the notification logic out of an individual room controller and into the general event handler, so we can notify for >1 room.
2014-09-16 15:35:23 +01:00
Kegan Dougal
b170fe921e
Added a section on bing words if you enable desktop notifications.
2014-09-16 15:35:23 +01:00
David Baker
84372cef4a
Time out calls from both ends properly.
2014-09-16 15:26:22 +01:00
Emmanuel ROHEE
890178cf25
Fixed scroll flickering when opening the room
2014-09-16 16:16:11 +02:00
Emmanuel ROHEE
a284de73e6
If an initialSync has been already done on a room, we do not need to paginate back to get more messages
2014-09-16 16:16:11 +02:00
Emmanuel ROHEE
45592ccdfd
WEB-29: Improve room page content loading
...
InitialSync: load the 30 last messages of each room so that a full page of messages can be displayed without additionnal request
2014-09-16 16:16:11 +02:00
David Baker
dd2b933a0d
Use event age to recognise which calls are current and which aren't and hence support answering calls that were placed before we loaded the page.
2014-09-16 14:47:10 +01:00
Emmanuel ROHEE
faee41c303
Merge remote-tracking branch 'origin/develop' into webclient_data_centralisation
2014-09-16 08:50:53 +02:00
Emmanuel ROHEE
b0483cd47d
Filter room where the user has been banned
2014-09-15 18:22:38 +02:00
Emmanuel ROHEE
8aa4b7bf7f
Recents must not show temporary fake messages
2014-09-15 17:31:07 +02:00
Kegan Dougal
2c00e1ecd9
Be consistent when associating keys with login types for registration/login.
2014-09-15 15:38:29 +01:00
Emmanuel ROHEE
42f5b0a6b8
Recents uses data directly from $rootscope.events
2014-09-15 16:31:59 +02:00
Kegan Dougal
14bc4ed59f
Merge branch 'develop' of github.com:matrix-org/synapse into registration-api-changes in preparation for re-merge to develop.
2014-09-15 15:27:58 +01:00
Kegan Dougal
04fbda46dd
Make captcha work again with the new registration logic.
2014-09-15 14:52:39 +01:00
Kegan Dougal
d821755b49
Updated webclient to support the new registration logic.
2014-09-15 14:31:53 +01:00
Emmanuel ROHEE
76217890c0
BF: inviter field has moved to the room root object
2014-09-15 11:14:10 +02:00
Emmanuel ROHEE
a9da2ec895
BF: presence and eventMap were not reset at logout.
2014-09-15 10:39:30 +02:00
Emmanuel ROHEE
f3d3441d02
Use "white-space: pre-wrap" for "Text will wrap when necessary, and on line breaks"
2014-09-15 10:22:57 +02:00
Emmanuel ROHEE
3292f70071
Merge remote-tracking branch 'origin/master' into develop
2014-09-15 10:08:47 +02:00
Matthew Hodgson
49b5dd56b5
unbreak wordwrapping by breaking multiline paste for now
2014-09-13 11:38:45 +01:00
Matthew Hodgson
32acb7e903
always scroll to bottom when entering a room
2014-09-13 11:35:36 +01:00
Erik Johnston
c7bcd87f37
Merge branch 'master' of github.com:matrix-org/synapse into develop
2014-09-12 18:27:44 +01:00
Erik Johnston
e3aec9bc81
Merge branch 'release-v0.2.3' of github.com:matrix-org/synapse
...
Conflicts:
webclient/room/room-controller.js
2014-09-12 18:19:32 +01:00
David Baker
842898df15
Send multiple candidates at once instead of all individually. Changes spec to include multiple candidates in a candidate(s) message.
2014-09-12 18:19:19 +01:00
Emmanuel ROHEE
3ed39ad20e
Clean data when user logs out
2014-09-12 17:43:35 +02:00
David Baker
cc2cee4af6
Retry sending events that fail to send.
2014-09-12 16:32:22 +01:00
Emmanuel ROHEE
6c81752e46
Fixed displayname resolution of emote sender
2014-09-12 17:01:49 +02:00
Emmanuel ROHEE
a2cd942a95
Fixed public room name and users count alignement
...
Put data into a table to ease layout and manage long strings
2014-09-12 16:46:20 +02:00
David Baker
8b28f7d14e
Always pick the incoming call if we've not yet sent out our invite, otherwise the remorte party will see their call get rejected and our call won't come in until our user clicks allow.
2014-09-12 14:06:35 +01:00
David Baker
a81ec21762
Remove the local AV stream from ourselves when handing it off to a new call or we'll close it when we hang up.
2014-09-12 11:51:57 +01:00
Emmanuel ROHEE
9819b3619e
CSS m.room.topic and m.room.name events in the history
2014-09-12 11:56:08 +02:00
Emmanuel ROHEE
311dc61803
Handle NAME_EVENT to get room name update event
...
(TODO: recents needs to be directly plugged to $rootScope.events.rooms)
2014-09-12 10:51:05 +02:00
Emmanuel ROHEE
d934328904
Added edition of room name
2014-09-12 10:48:06 +02:00
Emmanuel ROHEE
6ea20f3503
Show room name updates in room history and recents.
...
Update it with the latest value
2014-09-12 10:12:56 +02:00
Emmanuel ROHEE
8b3ce85183
BF: temp workaround while /initialSync on a particular room is not available
...
initRoom on a new room is not called. Call it for any received events
2014-09-12 08:54:18 +02:00
David Baker
a059ca6915
few fixes for errors in glare conditions. still seem to end up with no audio if both calls are placed at the same time.
2014-09-11 19:16:57 +01:00
David Baker
1e05e30472
Put back the line that adds the stream to the invite, otherwise caller->callee audio won't work...
2014-09-11 18:59:22 +01:00