summary refs log tree commit diff
path: root/synapse/util (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-09-23use all new /rooms/<room id>/state to actually gather the state for rooms ↵Matthew Hodgson3-8/+49
whenever join them. a bit ugly, as we don't currently have a nice place to gather housekeeping after joining a room, so horrible code duplication...
2014-09-23patch over another scenario whe we leak room IDs. i have *zero* idea why or ↵Matthew Hodgson1-1/+1
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-23fix a case of rampaging SYWEB-78Matthew Hodgson1-0/+5
2014-09-23Fix SYWEB-72 : Improve performance when typing.Kegan Dougal2-2/+16
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-23SYWEB-28: Fixed weird members list ordering: sort members on their last ↵Emmanuel ROHEE1-3/+10
activity absolute time
2014-09-23remove old commented-out codeMatthew Hodgson1-2/+1
2014-09-23fix one cause of SYWEB-53Matthew Hodgson1-7/+4
2014-09-23Send an HMAC(SHA1) protecting the User ID for the ReCAPTCHA bypass, rather ↵Paul "LeoNerd" Evans1-7/+26
than simply the secret itself, so it's useless if that HMAC leaks
2014-09-23Update API docs to include notes on /rooms/$roomid/stateKegan Dougal1-1/+1
2014-09-23Implemented /rooms/$roomid/state API.Kegan Dougal2-6/+23
2014-09-23Config values are almost never 'None', but they might be empty string. ↵Paul "LeoNerd" Evans1-1/+1
Detect their presence by truth
2014-09-23Make sure the config actually /has/ a captcha_bypass_secret set before ↵Paul "LeoNerd" Evans1-2/+3
trying to compare it
2014-09-23Allow a (hidden undocumented) key to m.login.recaptcha to specify a shared ↵Paul "LeoNerd" Evans2-6/+24
secret to allow bots to bypass the ReCAPTCHA test (SYN-60)
2014-09-23Partial fix of SYWEB-28: If members do not have last_active_ago, compare ↵Emmanuel ROHEE1-1/+17
their presence state to order them
2014-09-23send messages to users from the home page (SYWEB-19)Matthew Hodgson3-4/+42
2014-09-23fix NPEMatthew Hodgson1-2/+1
2014-09-23Fix SYWEB-8 : Buggy tab-complete.Kegan Dougal1-19/+40
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-22Show display name changes in the message list.Kegan Dougal2-8/+30
2014-09-22Bump versions and changelog v0.3.3Erik Johnston3-2/+22
2014-09-22Add working protractor e2e test.Kegan Dougal4-8/+26
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-22Set required environment variables for e2e testing.Kegan Dougal3-6/+15
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-22Updated test README to include a section on environment-protractor.jsKegan Dougal1-0/+6
The environment file is .gitignored so random selenium servers aren't accidentally pushed.
2014-09-22Added boilerplate for running end-to-end tests.\nThis is done using ↵