Erik Johnston
|
b11a6e1c3c
|
Fix wrong variable name
|
2015-02-13 15:37:18 +00:00 |
|
Erik Johnston
|
e441c10a73
|
pyflakes
|
2015-02-13 14:23:39 +00:00 |
|
Erik Johnston
|
8c652a2b5f
|
When we see a difference in current state, actually use state conflict resolution algorithm
|
2015-02-13 14:20:05 +00:00 |
|
Paul "LeoNerd" Evans
|
93d07c87dc
|
Reindent code to be less human-readable to keep pep8 from complaining
|
2015-02-12 19:19:37 +00:00 |
|
Paul "LeoNerd" Evans
|
5f6e6530d0
|
Appease pyflakes
|
2015-02-12 19:15:23 +00:00 |
|
Paul "LeoNerd" Evans
|
29805213d1
|
Can now remove the FIXME too
|
2015-02-12 19:13:21 +00:00 |
|
Paul "LeoNerd" Evans
|
860b1b4841
|
Only attempt to fetch presence state of JOINed members in room initialSync (SYN-202)
|
2015-02-12 19:13:21 +00:00 |
|
Erik Johnston
|
76935078d1
|
Remove more debug logging
|
2015-02-11 16:51:22 +00:00 |
|
Erik Johnston
|
ed877d6585
|
Remove debug logging
|
2015-02-11 16:50:46 +00:00 |
|
Erik Johnston
|
ddb816cf60
|
Don't unfreeze when using FreezeEvent.get_dict, as we are using a JSONEncoder that understands FrozenDict
|
2015-02-11 15:44:28 +00:00 |
|
Mark Haines
|
84a769cdb7
|
Fix code-style
|
2015-02-10 17:58:36 +00:00 |
|
Mark Haines
|
b085fac735
|
Code-style fixes
|
2015-02-10 16:30:48 +00:00 |
|
Erik Johnston
|
b90d377af4
|
Merge branch 'release-v0.6.2' of github.com:matrix-org/synapse into develop
|
2015-02-10 10:33:35 +00:00 |
|
Erik Johnston
|
d94f682a4c
|
During room intial sync, only calculate current state once.
|
2015-02-09 17:41:29 +00:00 |
|
Matthew Hodgson
|
37b6b880ef
|
don't give up if we can't create default avatars during tests
|
2015-02-07 21:24:08 +00:00 |
|
Matthew Hodgson
|
582019f870
|
...and here's the actual impl. git fail.
|
2015-02-07 13:32:14 +00:00 |
|
Mark Haines
|
20db147ef3
|
SYN-258: get_recent_events_for_room only accepts stream tokens, convert the topological token to a stream token before passing it to get_recent_events_for_room
|
2015-02-06 16:01:04 +00:00 |
|
Mark Haines
|
55a186485c
|
SYN-258: get_recent_events_for_room only accepts stream tokens, convert the topological token to a stream token before passing it to get_recent_events_for_room
|
2015-02-06 15:58:40 +00:00 |
|
Erik Johnston
|
cc0532a4bf
|
Explicitly list the RejectedReasons that we can prove
|
2015-02-06 15:16:26 +00:00 |
|
Erik Johnston
|
e890ce223c
|
Don't query auth if the only difference is events that were rejected due to auth.
|
2015-02-06 14:16:50 +00:00 |
|
Erik Johnston
|
c78b5fb1f1
|
Make seen_ids a set
|
2015-02-06 13:52:16 +00:00 |
|
Erik Johnston
|
3737329d9b
|
Handle the fact the list.remove raises if element doesn't exist
|
2015-02-06 10:53:18 +00:00 |
|
Erik Johnston
|
8f5b858a1b
|
Merge branch 'develop' of github.com:matrix-org/synapse into federation_client_retries
|
2015-02-05 13:50:28 +00:00 |
|
Erik Johnston
|
e1515c3e91
|
Pass through list of room hosts from room alias query to federation so that it can retry against different room hosts
|
2015-02-05 13:44:42 +00:00 |
|
Erik Johnston
|
26a041541b
|
SYN-202: Log as WARN the 404 'Presence information not visible' errors instead of as ERROR since they were spamming the logs
|
2015-02-05 13:17:05 +00:00 |
|
Erik Johnston
|
d45e2302ed
|
Merge branch 'signature_failures' of github.com:matrix-org/synapse into federation_client_retries
|
2015-02-04 16:30:15 +00:00 |
|
Erik Johnston
|
ae46f10fc5
|
Apply sanity to the transport client interface. Convert 'make_join' and 'send_join' to accept iterables of destinations
|
2015-02-04 16:28:12 +00:00 |
|
Erik Johnston
|
95e2d2d36d
|
When returning lists of servers from alias lookups, put the current server first in the list
|
2015-02-04 15:02:23 +00:00 |
|
Erik Johnston
|
650e32d455
|
Change context.auth_events to what the auth_events would be bases on context.current_state, rather than based on the auth_events from the event.
|
2015-02-04 14:06:46 +00:00 |
|
Erik Johnston
|
c0462dbf15
|
Rearrange persist_event so that do all the queries that need to be done before returning early if we have already persisted that event.
|
2015-02-04 10:16:51 +00:00 |
|
Erik Johnston
|
7dd1c5c542
|
Neaten the handling of state and auth_chain up a bit
|
2015-02-03 16:12:04 +00:00 |
|
Erik Johnston
|
6efd4d1649
|
Don't completely die if get auth_chain or querying auth_chain requests fail
|
2015-02-03 13:57:54 +00:00 |
|
Erik Johnston
|
77a076bd25
|
Set combinations is | and not +
|
2015-02-03 13:35:17 +00:00 |
|
Erik Johnston
|
fed29251d7
|
Spelling
|
2015-02-03 13:23:58 +00:00 |
|
Erik Johnston
|
06c34bfbae
|
Give exception better message
|
2015-02-03 11:23:44 +00:00 |
|
Erik Johnston
|
4ff2273b30
|
Add FIXME note.
|
2015-02-03 11:23:26 +00:00 |
|
Erik Johnston
|
51969f9e5f
|
Return rejected events if asked for it over federation.
|
2015-02-03 10:40:14 +00:00 |
|
Erik Johnston
|
e7ca813dd4
|
Try to ensure we don't persist an event we have already persisted. In persist_event check if we already have the event, if so then update instead of replacing so that we don't cause a bump of the stream_ordering.
|
2015-02-03 10:39:41 +00:00 |
|
Erik Johnston
|
4c0da49d7c
|
Resign events when we return them via /query_auth/
|
2015-01-30 22:53:13 +00:00 |
|
Mark Haines
|
0b1cc7cc0b
|
Return empty list rather than None when there are no emphemeral events for a room
|
2015-01-30 16:56:13 +00:00 |
|
Erik Johnston
|
2cd29dbdd9
|
Fix bug where accepting invite over federation didn't work. Add logging.
|
2015-01-30 16:51:58 +00:00 |
|
Erik Johnston
|
7d897f5bfc
|
Merge pull request #43 from matrix-org/rejections
Rejections
|
2015-01-30 16:11:14 +00:00 |
|
Erik Johnston
|
b724a809c4
|
Only auth_events with event if event in event.auth_events
|
2015-01-30 15:57:53 +00:00 |
|
Mark Haines
|
017dfaef4c
|
Add doc string for __nonzero__ overrides for sync results, raise not implemented if the client attempts to do a gapless sync
|
2015-01-30 15:52:05 +00:00 |
|
Mark Haines
|
8fe39a0311
|
Check if the user has joined the room between incremental syncs
|
2015-01-30 13:38:34 +00:00 |
|
Erik Johnston
|
a70a801184
|
Fix bug where we superfluously asked for current state. Change API of /query_auth/ so that we don't duplicate events in the response.
|
2015-01-30 13:34:01 +00:00 |
|
Mark Haines
|
4a67834bc8
|
Pass client info to the sync_config
|
2015-01-30 11:50:15 +00:00 |
|
Mark Haines
|
8498d348d8
|
Fix token formatting
|
2015-01-30 11:42:09 +00:00 |
|
Mark Haines
|
e97de6d96a
|
Filter the recent events before applying the limit when doing an initial sync
|
2015-01-30 11:35:20 +00:00 |
|
Mark Haines
|
22dd1cde2d
|
Filter the recent events before applying the limit when doing an incremental sync with a gap
|
2015-01-30 11:32:35 +00:00 |
|