Kegan Dougal
59cf6f5ec9
Add more recents service unit tests.
2014-11-12 16:32:17 +00:00
Kegan Dougal
3d3f692fd8
Add test coverage to the webclient. Update .gitignore
2014-11-12 16:22:22 +00:00
Kegan Dougal
813125e122
Make earlier versions of jasmine happy by doing explicit object comparisons
2014-11-12 16:01:01 +00:00
Kegan Dougal
92ea45070c
Add recentsService unit tests.
2014-11-12 15:58:30 +00:00
David Baker
9412110c82
comment typo
2014-11-12 15:36:05 +00:00
Kegan Dougal
960b28c90a
SYWEB-57: Highlight rooms which have had their bingers go off in blue.
...
Priority is the same as xchat so selected > blue > red.
2014-11-12 15:31:06 +00:00
Kegan Dougal
99c445a6d6
Migrate unread messages logic to recentsService.
2014-11-12 15:11:34 +00:00
Kegan Dougal
96cd467cfa
Add recents-service to store shared state between recents-controllers.
...
Remove the selectedRoomId from rootScope and instead store it in
recents-service. Add a broadcast to notify listeners (recents-controller)
to updates of this.
2014-11-12 14:57:36 +00:00
Kegan Dougal
e632fcd933
SYWEB-57: Highlight rooms where the history has changed.
...
This highlights rooms when something has happened and you haven't viewed
it yet. It highlights entries in a slightly red background colour.
2014-11-12 14:31:30 +00:00
Kegan Dougal
78ff63a9c7
Remove getRoomAliasAndDisplayName: room name logic is in mRoomName filter, and this method was only used for /publicRooms requests.
2014-11-12 11:49:27 +00:00
Kegan Dougal
e7ccd26c70
SYWEB-140: Redact button layout.
2014-11-12 11:40:28 +00:00
Kegan Dougal
2c400363e8
SYWEB-146: Fix room ID leaking on recents page when the name of the room is just an alias.
2014-11-12 11:24:05 +00:00
Kegan Dougal
9d0efedaee
Move room alias/id mapping logic from matrixService to modelService.
2014-11-12 11:14:19 +00:00
Matthew Hodgson
83a1cce1ea
no evil horizontal textarea resizing
2014-11-11 16:15:01 +00:00
Matthew Hodgson
548ace0115
make image buttons more buttony
2014-11-11 15:17:51 +00:00
Matthew Hodgson
bf944d9219
fix stupid truncation bug
2014-11-11 05:50:55 +00:00
Matthew Hodgson
217c082ac1
linky topics
2014-11-11 05:27:18 +00:00
Matthew Hodgson
588dcf492b
wrap fully qualified user IDs more intelligently
2014-11-11 05:16:03 +00:00
Matthew Hodgson
2fdf939ca9
fix weird shaped message table rows
2014-11-11 05:02:24 +00:00
Matthew Hodgson
5f38625f21
fix lines with wrapped userids
2014-11-11 04:48:40 +00:00
Matthew Hodgson
d669eb6d05
add new peity dep to tests
2014-11-11 04:45:32 +00:00
Matthew Hodgson
e9d5a91def
fix button spacing
2014-11-11 04:40:39 +00:00
Matthew Hodgson
b765dc005b
major CSS overhaul to try to make things look a bit cleaner
2014-11-11 04:39:30 +00:00
David Baker
7d15452c30
Various fixes to try & make openwebrtc safari extension work (still doesn't work).
2014-11-07 17:56:28 +00:00
David Baker
1a62f1299d
Detect call type by examining the SDP always rather than just in Firefox as it seems Chrome's behaviour is the odd one out here.
2014-11-06 16:55:15 +00:00
David Baker
4b256cab31
Don't cache isWebRTCSupported because whether webRTC is supported might change part-way through the page's lifecycle if your webrtc support comes from some kind of injected content script (hello OpenWebRTC Sarafi extension)
2014-11-06 16:49:33 +00:00
Kegan Dougal
e3c3f5a6d0
Swap from using raw m.room.member events for room members to using actual RoomMember objects, so User objects can be tacked on. Update tests.
2014-11-06 14:52:22 +00:00
Kegan Dougal
d4c20c472b
Use mRoomName on join notifications as well.
2014-11-06 14:23:14 +00:00
Kegan Dougal
b77cce4ec5
Add modelService test. Thin for now but will be expanded upon.
2014-11-06 14:18:23 +00:00
Kegan Dougal
8bcd36377a
Factor out room name logic: mRoomName is the canonical source.
2014-11-06 13:37:05 +00:00
Kegan Dougal
c9c2e39531
Use .not.toEqual instead of .toNotEqual which is in a newer version of Jasmine.
2014-11-06 12:00:03 +00:00
Kegan Dougal
dd8af5565b
Start adding regression tests. First up, register-controller for SYWEB-109.
2014-11-06 11:55:07 +00:00
Kegan Dougal
a92092340b
Fix broken tests which were previously skipped.
2014-11-06 11:14:31 +00:00
Kegan Dougal
c5eec32c58
Add mRoomName and orderMembersList filter tests. Mark FIXME on broken tests for now.
2014-11-06 11:04:43 +00:00
Kegan Dougal
7465250141
State *.js in karma.conf rather than *.* so *.js~ files are ignored.
2014-11-06 09:34:35 +00:00
Kegan Dougal
69c396825b
Add duration filter unit tests.
2014-11-05 17:49:03 +00:00
Kegan Dougal
6aba43f6cc
Add a few eventHandlerService tests.
2014-11-05 15:32:35 +00:00
Kegan Dougal
988a8526b5
Finish matrixService unit tests. Add missing encodeURIComponent to path args.
2014-11-05 14:35:41 +00:00
Kegan Dougal
0881a8ae6f
Add more tests and a TODO.
2014-11-05 12:32:28 +00:00
Kegan Dougal
42081b1937
Don't urlencode event types just yet so older HSes don't 500.
...
Skip the tests which test for urlencoding, and add a TODO
in matrixService.
2014-11-05 11:28:22 +00:00
Kegan Dougal
9f6d1b10ad
Be sure to urlencode/decode event types correctly in both the web client and HS.
2014-11-05 11:21:55 +00:00
Kegan Dougal
a2aafeb959
Add a bunch more unit tests for matrixService.
2014-11-05 11:11:36 +00:00
Kegan Dougal
4facbe02fb
URL encoding bugfix and add more tests.
2014-11-04 17:48:47 +00:00
Kegan Dougal
a70765ed90
Add matrix-service unit tests. Update angular-mocks.
2014-11-04 17:19:49 +00:00
Mark Haines
89ba802b23
Move webclient to a python module so that it can be installed
2014-11-04 15:57:23 +00:00