Erik Johnston
|
87311d1b8c
|
Hook up receipts to v1 initialSync
|
2015-07-08 11:02:04 +01:00 |
|
Erik Johnston
|
eceb554a2f
|
Use another deferred list
|
2015-06-16 17:12:27 +01:00 |
|
Erik Johnston
|
b849a64f8d
|
Use DeferredList
|
2015-06-16 17:03:24 +01:00 |
|
Erik Johnston
|
0460406298
|
Don't do unecessary db ops in presence.get_state
|
2015-06-16 16:59:38 +01:00 |
|
Mark Haines
|
a6fb2aa2a5
|
Merge pull request #144 from matrix-org/erikj/logging_context
Preserving logging contexts
|
2015-05-12 15:23:50 +01:00 |
|
Erik Johnston
|
95dedb866f
|
Unwrap defer.gatherResults failures
|
2015-05-12 13:14:29 +01:00 |
|
Erik Johnston
|
4df11b5039
|
Make get_current_token accept a direction parameter, which tells whether the source whether we want a token for going 'forwards' or 'backwards'
|
2015-05-12 10:28:10 +01:00 |
|
Erik Johnston
|
84e6b4001f
|
Initial hack at wiring together pagination and backfill
|
2015-05-11 18:01:31 +01:00 |
|
Erik Johnston
|
1d7702833d
|
Make simple query rather than long one and then throw away half the results
|
2015-04-30 10:16:12 +01:00 |
|
Erik Johnston
|
bc6cef823f
|
Do more parellelization for initialSync
|
2015-04-15 14:21:59 +01:00 |
|
Erik Johnston
|
1ec6fa98c9
|
Parellelize initial sync
|
2015-04-15 14:17:16 +01: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
|
d94f682a4c
|
During room intial sync, only calculate current state once.
|
2015-02-09 17:41:29 +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 |
|
Mark Haines
|
388581e087
|
Extract the id token of the token when authing users, include the token and device_id in the internal meta data for the event along with the transaction id when sending events
|
2015-01-28 16:58:23 +00:00 |
|
Mark Haines
|
7f6f3f9d62
|
Pass the current time to serialize event, rather than passing an
HS and getting a clock from it and calling time_msec on the clock.
Remove the serialize_event method from the HS since it is no longer
needed.
|
2015-01-26 16:11:28 +00:00 |
|
Mark Haines
|
5759bec43c
|
Replace hs.parse_userid with UserID.from_string
|
2015-01-23 11:47:15 +00:00 |
|
Kegan Dougal
|
b5924cae04
|
Add raw query param for scrollback.
|
2015-01-08 14:37:55 +00:00 |
|
Kegan Dougal
|
edb557b2ad
|
Return the raw federation event rather than adding extra keys for federation data.
|
2015-01-08 14:28:08 +00:00 |
|
Erik Johnston
|
5940ec993b
|
Add missing continuation indent.
|
2015-01-08 13:59:29 +00:00 |
|
Kegan Dougal
|
5720ab59e0
|
Add 'raw' query parameter to expose the event graph and signatures to savvy clients.
|
2015-01-08 13:57:40 +00:00 |
|
Erik Johnston
|
9e5545a6fa
|
RoomsForUser now has sender instead of user_id
|
2015-01-06 15:53:50 +00:00 |
|
Mark Haines
|
adb04b1e57
|
Update copyright notices
|
2015-01-06 13:21:39 +00:00 |
|
Mark Haines
|
f70e622d59
|
bump_presence_active_time when sending a message event
|
2014-12-19 14:30:57 +00:00 |
|
Mark Haines
|
a999f0dec3
|
Don't ratelimit room create events
|
2014-12-19 14:18:27 +00:00 |
|
Mark Haines
|
56db465047
|
Merge branch 'release-v0.6.0' into develop
|
2014-12-16 17:29:49 +00:00 |
|
Erik Johnston
|
f06161a307
|
Enable rate limiting for all events
|
2014-12-16 16:10:17 +00:00 |
|
Mark Haines
|
627e4f01d2
|
Remove send_message since nothing was calling it. Remove Snapshot because only send_message was using it
|
2014-12-16 16:07:41 +00:00 |
|
Erik Johnston
|
3c77d13aa5
|
Kill off synapse.api.events.*
|
2014-12-16 11:29:05 +00:00 |
|
Erik Johnston
|
cf6e5f1dbf
|
Rename MessageHandler.handle_event. Add a few comments.
|
2014-12-15 17:01:12 +00:00 |
|
Erik Johnston
|
63810c777d
|
Validate message, topic and name event contents
|
2014-12-12 11:01:09 +00:00 |
|
Erik Johnston
|
b245ee34ed
|
Add some basic event validation
|
2014-12-10 17:59:47 +00:00 |
|
Erik Johnston
|
02db7eb209
|
Fix bug when uploading state with empty state_key
|
2014-12-10 14:02:48 +00:00 |
|
Erik Johnston
|
95aa903ffa
|
Try and figure out how and why signatures are being changed.
|
2014-12-10 11:37:47 +00:00 |
|
Erik Johnston
|
ee3df06183
|
More bug fixes
|
2014-12-08 14:50:48 +00:00 |
|
Erik Johnston
|
c31dba86ec
|
Convert rest and handlers to use new event structure
|
2014-12-04 15:50:01 +00:00 |
|
Erik Johnston
|
9d53228158
|
Change DomainSpecificString so that it doesn't use a HomeServer object
|
2014-12-02 10:42:28 +00:00 |
|
Erik Johnston
|
64fc859dac
|
Fix bugs in invite/join dances.
We now do more implement more of the auth on the events so that we
don't reject valid events.
|
2014-11-25 17:59:49 +00:00 |
|
Paul "LeoNerd" Evans
|
5f19c55731
|
SYN-58: Allow passing explicit limit=0 to initialSync to request no messages at all; missing still implies default 10
|
2014-11-20 19:33:45 +00:00 |
|
Mark Haines
|
db9ce032a4
|
Fix pep8 codestyle warnings
|
2014-11-20 17:26:36 +00:00 |
|
Mark Haines
|
32090aee16
|
Add a few missing yields, Move deferred lists inside PreserveLoggingContext because they don't interact well with the logging contexts
|
2014-11-20 16:24:00 +00:00 |
|
Mark Haines
|
54c438d8d3
|
Remove unused variable
|
2014-11-18 16:46:12 +00:00 |
|
Paul "LeoNerd" Evans
|
75e95c45a2
|
Rename message handler's new snapshot_room to room_initial_sync() as that better suits its purpose
|
2014-11-18 16:02:44 +00:00 |
|
Paul "LeoNerd" Evans
|
33d328d967
|
Include room members' presence in room initialSync
|
2014-11-18 15:28:58 +00:00 |
|
Paul "LeoNerd" Evans
|
17f977a9de
|
Include 'messages' snapshot in room initialSync
|
2014-11-18 14:07:51 +00:00 |
|
Paul "LeoNerd" Evans
|
31a049eb69
|
Merge branch 'develop' into room-initial-sync
Conflicts:
synapse/handlers/message.py
|
2014-11-17 16:59:24 +00:00 |
|
Erik Johnston
|
61ecb13bf0
|
PEP8ify
|
2014-11-11 18:00:13 +00:00 |
|