Richard van der Hoff
ab0a06eea7
More delinting
2016-02-16 16:19:32 +00:00
Richard van der Hoff
6a6db36088
delintificate
2016-02-16 16:14:45 +00:00
Richard van der Hoff
4c6d0a5128
Redactions: only remove the keys that are specced for removal
2016-02-16 16:03:18 +00:00
Richard van der Hoff
5eff278454
Keep redacted events in the timeline
...
Everything gets confused when we remove events from timelines, so keep
redacted events in there, and mark them as redacted instead.
2016-02-16 12:05:13 +00:00
Kegan Dougal
51fe73bc27
Return v2 prev_content when calling getPrevContent()
2016-01-11 17:15:52 +00:00
Matthew Hodgson
446faed9b5
copyrights please...
2016-01-07 04:15:38 +00:00
Kegan Dougal
fcf1abb185
Use v2 transaction IDs to suppress dupes without linear scans of the timeline!
2015-12-14 11:35:50 +00:00
Kegan Dougal
fc6ce20e14
Check unsigned.age for getAge() for v2. Don't spam SYNCING emissions.
2015-12-14 10:27:53 +00:00
Kegan Dougal
243bdd78f4
Handle presence key in /sync
2015-12-09 16:09:47 +00:00
Mark Haines
ae8e01839e
Add flag for indicating if an event was encrypted
2015-07-22 11:57:34 +01:00
Mark Haines
6dae0ef327
Fix the local echo for encrypted events by sending a single event with different content and event type for the wire vs local display
2015-07-21 14:19:24 +01:00
David Baker
753a11ab7f
Move push actions method to the client
2015-07-01 14:09:34 +01:00
David Baker
c82b2049eb
prefix internal var with underscrore
2015-06-29 16:34:33 +01:00
David Baker
53f2f156ca
Fix linting errors
2015-06-29 16:09:07 +01:00
David Baker
083a0980eb
javascript function syntax #3...
2015-06-29 15:57:20 +01:00
David Baker
1be02a3c3c
Port over push rule eveluator from the angular SDK and make it available on MatrixEvent
2015-06-29 15:53:23 +01:00
Kegan Dougal
3c4bda8580
Add MatrixScheduler.removeEventFromQueue/getQueueForEvent and QUEUED state.
...
This is to allow the UI to show "queued" on events as well as allow the
removal of events in the queue.
2015-06-26 09:52:52 +01:00
Kegan Dougal
d151ac49f2
Mark events which fail to send.
2015-06-18 09:32:04 +01:00
Kegan Dougal
8e6eb35dfe
Implement local echo.
...
Mark events being sent via the status property. Update CHANGELOG.
2015-06-17 17:42:12 +01:00
Kegan Dougal
8a844d59ec
Get historical display names working on messages.
...
Accessed via MatrixEvent.sender property. Deep copy the list of state events
from initial sync for old/current RoomState so updating the .sender property
doesn't affect both of them. Reverse the insertion of initial sync MatrixEvents
so state diverges to *earlier* points in time. Add a 'forwardLooking' property
to MatrixEvent to determine which out of 'content' and 'prev_content' entities
should take into account e.g. when determining display names. Finally, always
create new RoomMembers when they are updated in order to prevent corrupting
(read: sharing the same member object) the MatrixEvent.sender property of
existing events in the timeline.
2015-06-12 14:21:24 +01:00
Kegan Dougal
3061b95afe
Add getPrevContent function and mark it's situational presence.
2015-06-12 11:26:33 +01:00
Kegan Dougal
a2257aeb0b
Move getFriendlyDisplayName to RoomMember class. Add more utlity functions.
2015-06-08 12:21:23 +01:00
Kegan Dougal
7ce3a781f3
Add Room, RoomState and RoomMember classes.
2015-06-08 11:47:15 +01:00
Kegan Dougal
6f4b600c0b
Appease closure linter.
2015-06-05 14:54:06 +01:00
Kegan Dougal
02064bac8a
Recombine initialSync/event high-level logic with HTTP API calls.
2015-06-05 13:30:11 +01:00
Kegan Dougal
051f3c42b7
Add more jsdoc.
2015-06-04 17:08:40 +01:00
Kegan Dougal
d1e51de7ec
Split out matrix.js into different files. Glue things back.
...
Added a models directory. Added store, http-api and client files. Slowly
transitioning to the architecture outlined in SYJS-5.
2015-06-03 17:55:12 +01:00