Mark Haines
e3117a2a23
Add a _matrix/key/v1 resource with the verification keys of the local server
2014-09-23 18:43:34 +01:00
Mark Haines
c6a8e7d9b9
Read signing keys using methods from syutil. convert keys that are in the wrong format
2014-09-23 18:43:34 +01:00
David Baker
c96ab4fcbb
The config is not hierarchical
2014-09-23 19:17:24 +02:00
Erik Johnston
efea61dc50
Rename 'pruned' to 'pruned_because'
2014-09-23 17:40:58 +01:00
Erik Johnston
bc250a6afa
SYN-12: Implement auth for deletion by adding a 'delete_level' on the ops levels event
...
SYN-12 # comment Auth has been added.
2014-09-23 17:36:24 +01:00
Matthew Hodgson
284fac379c
patch over another scenario whe we leak room IDs. i have *zero* idea why or where the webclient is overriding message.membership to be "join" though, when it comes down the events pipe as "invite" (which was causing this failure mode)
2014-09-23 17:31:13 +01:00
Matthew Hodgson
5aa13b9084
fix a case of rampaging SYWEB-78
2014-09-23 17:31:13 +01:00
David Baker
14ed6799d7
Add support for TURN servers as per the TURN REST API ( http://tools.ietf.org/html/draft-uberti-behave-turn-rest-00 )
2014-09-23 17:16:13 +01:00
Kegan Dougal
a7420ff2b5
Fix SYWEB-72 : Improve performance when typing.
...
Swapped ng-keydown to a directive, which does the same thing (check if up/down
arrow then call history.goUp/goDown). This has *dramatically* improved
performance when typing in rooms which have lots (>100) of messages loaded.
2014-09-23 16:56:54 +01:00
Emmanuel ROHEE
e4e8ad6780
SYWEB-28: Fixed weird members list ordering: sort members on their last activity absolute time
2014-09-23 17:33:16 +02:00
Paul "LeoNerd" Evans
c0673c50e6
Merge branch 'jira/SYN-60' into develop
2014-09-23 16:15:54 +01:00
Matthew Hodgson
7d94913efb
remove old commented-out code
2014-09-23 16:12:25 +01:00
Matthew Hodgson
c9f73bd325
fix one cause of SYWEB-53
2014-09-23 16:12:25 +01:00
Paul "LeoNerd" Evans
c03176af59
Send an HMAC(SHA1) protecting the User ID for the ReCAPTCHA bypass, rather than simply the secret itself, so it's useless if that HMAC leaks
2014-09-23 15:58:44 +01:00
Kegan Dougal
2771efb51c
Update API docs to include notes on /rooms/$roomid/state
2014-09-23 15:39:04 +01:00
Erik Johnston
932b376b4e
Add prune_event method
2014-09-23 15:37:32 +01:00
Kegan Dougal
0c4ae63ad5
Implemented /rooms/$roomid/state API.
2014-09-23 15:35:58 +01:00
Erik Johnston
b99f6eb904
Make sure we don't persist the 'pruned' key
2014-09-23 15:29:27 +01:00
Erik Johnston
78af6bbb98
Add m.room.deletion. If an event is deleted it will be returned to clients 'pruned', i.e. all client specified keys will be removed.
2014-09-23 15:28:32 +01:00
Paul "LeoNerd" Evans
537c7e1137
Config values are almost never 'None', but they might be empty string. Detect their presence by truth
2014-09-23 15:18:59 +01:00
Paul "LeoNerd" Evans
5f16439752
Make sure the config actually /has/ a captcha_bypass_secret set before trying to compare it
2014-09-23 15:16:47 +01:00
Paul "LeoNerd" Evans
3a8a94448a
Allow a (hidden undocumented) key to m.login.recaptcha to specify a shared secret to allow bots to bypass the ReCAPTCHA test (SYN-60)
2014-09-23 14:29:08 +01:00
Emmanuel ROHEE
e9c88ae4f4
Partial fix of SYWEB-28: If members do not have last_active_ago, compare their presence state to order them
2014-09-23 15:19:03 +02:00
Matthew Hodgson
4847045259
send messages to users from the home page (SYWEB-19)
2014-09-23 13:36:58 +01:00
Matthew Hodgson
997a016122
fix NPE
2014-09-23 13:01:12 +01:00
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
Matthew Hodgson
6876b1a25b
fix grammatics
2014-09-22 21:45:50 +01:00
Mark Haines
107e7d5d91
Add section to explain how to sign events such that we can redact message contents
2014-09-22 19:42:07 +01:00
Mark Haines
09d79b0a9b
Merge branch 'develop' into server2server_signing
2014-09-22 18:54:00 +01:00
Kegan Dougal
b5c9d99424
Show display name changes in the message list.
2014-09-22 17:46:53 +01:00
Erik Johnston
176e3fd141
Bump versions and changelog
2014-09-22 17:42:09 +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
231afe464a
Add a deletions table
2014-09-22 13:42:52 +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
Erik Johnston
dcc1965bfe
Test that prev_content get's added if there is a prev_state key (in the event stream).
2014-09-19 16:44:16 +01:00
David Baker
03ac0c91ae
Merge branch 'videocalls' into develop
...
Conflicts:
webclient/room/room.html
2014-09-19 16:26:46 +01:00