Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #180 from matrix-org/erikj/prev_state_context | Erik Johnston | 2015-06-03 | 1 | -1/+3 |
|\ | | | | | Don't needlessly compute prev_state | ||||
| * | Don't needlessly compute prev_state | Erik Johnston | 2015-06-03 | 1 | -1/+3 |
| | | |||||
* | | Don't needlessly compute context | Erik Johnston | 2015-06-03 | 1 | -2/+4 |
|/ | |||||
* | Merge branch 'develop' into markjh/SYT-8-recaptcha | Mark Haines | 2015-05-29 | 1 | -0/+1 |
|\ | | | | | | | | | Conflicts: synapse/handlers/auth.py | ||||
| * | SYN-395: Fix CAPTCHA, don't double decode json | Erik Johnston | 2015-05-28 | 1 | -2/+3 |
| | | |||||
* | | Add config for setting the recaptcha verify api endpoint, so we can test it ↵ | Mark Haines | 2015-05-29 | 1 | -3/+3 |
|/ | | | | in sytest | ||||
* | Merge pull request #163 from matrix-org/markjh/presence_list_cache | Mark Haines | 2015-05-22 | 1 | -9/+15 |
|\ | | | | | Add a cache for the presence list | ||||
| * | Add a cache for getting the presence list for a user | Mark Haines | 2015-05-22 | 1 | -9/+15 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-05-22 | 3 | -69/+105 |
|\| | | | | | | | erikj/backfill_fixes | ||||
| * | Merge pull request #156 from matrix-org/erikj/join_perf | Mark Haines | 2015-05-22 | 1 | -22/+56 |
| |\ | | | | | | | Make joining #matrix:matrix.org over federation quicker | ||||
| * \ | Merge pull request #157 from matrix-org/markjh/presence_performance | Mark Haines | 2015-05-22 | 1 | -61/+102 |
| |\ \ | | | | | | | | | Improve presence performance in loadtest | ||||
| | * | | Remove spurious TODO comment | Mark Haines | 2015-05-22 | 1 | -1/+0 |
| | | | | |||||
| | * | | Removed unused 'is_visible' method | Mark Haines | 2015-05-20 | 1 | -27/+0 |
| | | | | |||||
| | * | | Clean up the presence_list checking logic a bit | Mark Haines | 2015-05-20 | 1 | -12/+9 |
| | | | | |||||
| | * | | Speed up the get_pagination_rows as well | Mark Haines | 2015-05-18 | 1 | -3/+17 |
| | | | | |||||
| | * | | Cache the most recent serial for each room | Mark Haines | 2015-05-18 | 1 | -6/+22 |
| | | | | |||||
| | * | | Move updating the serial and state of the presence cache into a single function | Mark Haines | 2015-05-18 | 1 | -17/+43 |
| | | | | |||||
| | * | | Merge branch 'notifier_performance' into markjh/presence_performance | Mark Haines | 2015-05-18 | 5 | -14/+28 |
| | |\ \ | |||||
| | * | | | Add more doc string, reduce C+P boilerplate for getting room list | Mark Haines | 2015-05-18 | 1 | -6/+22 |
| | | | | | |||||
| * | | | | Remove unused import | Mark Haines | 2015-05-22 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Make the appservice use 'users_in_room' rather than get_room_members since ↵ | Mark Haines | 2015-05-22 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | | | | | | it is cached | ||||
| * | | | | Merge branch 'master' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-05-22 | 1 | -3/+1 |
| |\ \ \ \ | | |_|/ / | |/| | | | |||||
| | * | | | Add caches for things requested by the pushers | Mark Haines | 2015-05-21 | 1 | -3/+1 |
| | | | | | |||||
* | | | | | Actually fetch state for new backwards extremeties when backfilling. | Erik Johnston | 2015-05-20 | 1 | -61/+103 |
| |_|_|/ |/| | | | |||||
* | | | | Don't apply new room join hack if depth > 5 | Erik Johnston | 2015-05-19 | 1 | -3/+6 |
| | | | | |||||
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perf | Erik Johnston | 2015-05-19 | 5 | -14/+28 |
|\| | | | |||||
| * | | | Merge branch 'develop' into notifier_performance | Mark Haines | 2015-05-18 | 4 | -49/+233 |
| |\ \ \ | | | |/ | | |/| | |||||
| * | | | Merge branch 'notifier_unify' into notifier_performance | Mark Haines | 2015-05-14 | 2 | -20/+8 |
| |\ \ \ | |||||
| * | | | | Fix v2 sync, update the last_notified_ms only if there was an active listener | Mark Haines | 2015-05-14 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Don't bother checking for updates if the stream token hasn't advanced for a user | Mark Haines | 2015-05-13 | 4 | -13/+27 |
| | | | | | |||||
* | | | | | Do work in parellel when joining a room | Erik Johnston | 2015-05-18 | 1 | -19/+50 |
| |_|/ / |/| | | | |||||
* | | | | More whitespace | Mark Haines | 2015-05-15 | 1 | -0/+1 |
| | | | | |||||
* | | | | Add some missed argument types, cleanup the whitespace a bit | Mark Haines | 2015-05-14 | 1 | -6/+17 |
| | | | | |||||
* | | | | More doc-strings | Mark Haines | 2015-05-14 | 1 | -39/+202 |
| | | | | |||||
* | | | | Remove unused arguments and doc PresenceHandler.push_update_to_clients | Mark Haines | 2015-05-14 | 1 | -12/+8 |
| | | | | |||||
* | | | | Treat setting your display name to the empty string as removing it (SYN-186). | David Baker | 2015-05-14 | 1 | -0/+3 |
| | | | | |||||
* | | | | Disallow whitespace in aliases here too | David Baker | 2015-05-14 | 1 | -0/+5 |
| | | | | |||||
* | | | | Throw error when creating room if alias contains whitespace #SYN-335 | David Baker | 2015-05-14 | 1 | -0/+5 |
| |/ / |/| | | |||||
* | | | Don't talk to yourself when backfilling | Erik Johnston | 2015-05-12 | 1 | -0/+2 |
| | | | |||||
* | | | Revert "Improvement to performance of presence event stream handling" | Mark Haines | 2015-05-12 | 1 | -20/+6 |
|/ / | |||||
* | | Merge pull request #147 from matrix-org/presence-performance | Mark Haines | 2015-05-12 | 1 | -6/+20 |
|\ \ | | | | | | | Improvement to performance of presence event stream handling | ||||
| * | | Use the presence cachemap ordering to early-abort the iteration loop | Paul "LeoNerd" Evans | 2015-05-07 | 1 | -2/+7 |
| | | | |||||
| * | | Store presence cachemap in an ordered dict, so that the newer serials will ↵ | Paul "LeoNerd" Evans | 2015-05-07 | 1 | -4/+13 |
| | | | | | | | | | | | | be at the end | ||||
* | | | Merge pull request #144 from matrix-org/erikj/logging_context | Mark Haines | 2015-05-12 | 8 | -59/+66 |
|\ \ \ | | | | | | | | | Preserving logging contexts | ||||
| * | | | Unwrap defer.gatherResults failures | Erik Johnston | 2015-05-12 | 4 | -6/+9 |
| | | | | |||||
| * | | | Fix up leak. Add warnings. | Erik Johnston | 2015-05-08 | 4 | -21/+33 |
| | | | | |||||
| * | | | PEP8 | Erik Johnston | 2015-05-08 | 1 | -1/+0 |
| | | | | |||||
| * | | | Change the way we do logging contexts so that they survive divergences | Erik Johnston | 2015-05-08 | 3 | -32/+25 |
| |/ / | |||||
* | | | s/backfil/backfill/ | Erik Johnston | 2015-05-12 | 1 | -4/+4 |
| | | | |||||
* | | | Typos everywhere | Erik Johnston | 2015-05-12 | 1 | -1/+1 |
| | | | |||||
* | | | And another typo. | Erik Johnston | 2015-05-12 | 1 | -3/+3 |
| | | | |||||
* | | | Err, gatherResults doesn't take a dict... | Erik Johnston | 2015-05-12 | 1 | -4/+7 |
| | | | |||||
* | | | Handle the case where the other side is unreachable when backfilling | Erik Johnston | 2015-05-12 | 1 | -14/+42 |
| | | | |||||
* | | | Make get_current_token accept a direction parameter, which tells whether the ↵ | Erik Johnston | 2015-05-12 | 2 | -3/+5 |
| | | | | | | | | | | | | source whether we want a token for going 'forwards' or 'backwards' | ||||
* | | | Initial hack at wiring together pagination and backfill | Erik Johnston | 2015-05-11 | 2 | -3/+115 |
|/ / | |||||
* | | revert accidental bcrypt gensalt round reduction from loadtesting | Mark Haines | 2015-05-07 | 1 | -1/+1 |
| | | |||||
* | | pynacl-0.3.0 was released so we can finally start using it directly from pypi | Mark Haines | 2015-05-07 | 1 | -1/+1 |
|/ | |||||
* | That wasn't a deferred | Erik Johnston | 2015-05-01 | 2 | -4/+2 |
| | |||||
* | Remove inlineCallbacks from non-generator | Erik Johnston | 2015-05-01 | 1 | -2/+0 |
| | |||||
* | Remove some run_on_reactors | Erik Johnston | 2015-05-01 | 1 | -2/+0 |
| | |||||
* | More missed get_user_by_id API changes | David Baker | 2015-05-01 | 1 | -1/+1 |
| | |||||
* | One too many lens | Erik Johnston | 2015-05-01 | 1 | -1/+1 |
| | |||||
* | Change public room list to use defer.gatherResults | Erik Johnston | 2015-05-01 | 1 | -5/+13 |
| | |||||
* | This api now no longer returns an array | David Baker | 2015-05-01 | 1 | -1/+1 |
| | |||||
* | Make simple query rather than long one and then throw away half the results | Erik Johnston | 2015-04-30 | 1 | -2/+1 |
| | |||||
* | Fix off by one in presence token handling | Erik Johnston | 2015-04-29 | 1 | -1/+1 |
| | |||||
* | Accept camelcase + underscores in binding too | David Baker | 2015-04-29 | 1 | -2/+17 |
| | |||||
* | Fix includes | David Baker | 2015-04-29 | 1 | -1/+2 |
| | |||||
* | Accept both camelcase and underscore threepid creds for transition | David Baker | 2015-04-29 | 1 | -4/+19 |
| | |||||
* | Ensure we never miss any presence updates | Erik Johnston | 2015-04-28 | 1 | -1/+7 |
| | |||||
* | Fix typo | Erik Johnston | 2015-04-28 | 1 | -1/+1 |
| | |||||
* | Ensure the serial returned by presence is always an integer | Erik Johnston | 2015-04-28 | 1 | -3/+3 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into postgres | Erik Johnston | 2015-04-28 | 6 | -117/+434 |
|\ | |||||
| * | Merge pull request #126 from matrix-org/csauth | Mark Haines | 2015-04-28 | 5 | -116/+432 |
| |\ | | | | | | | Client / Server Auth Refactor | ||||
| | * | Add commentage. | David Baker | 2015-04-27 | 1 | -0/+4 |
| | | | |||||
| | * | Change to https for ID server communication | David Baker | 2015-04-24 | 1 | -3/+2 |
| | | | |||||
| | * | Use underscores instead of camelcase for id server stuff | David Baker | 2015-04-24 | 2 | -12/+12 |
| | | | |||||
| | * | pep8 | David Baker | 2015-04-24 | 1 | -2/+2 |
| | | | |||||
| | * | Merge branch 'develop' into csauth | David Baker | 2015-04-24 | 2 | -11/+48 |
| | |\ | | | | | | | | | | | | | | | | | Conflicts: synapse/http/server.py | ||||
| | * | | Remove ultimately unused feature of saving params from the first call in the ↵ | David Baker | 2015-04-23 | 1 | -2/+10 |
| | | | | | | | | | | | | | | | | session: it's probably too open to abuse. | ||||
| | * | | Password reset, finally. | David Baker | 2015-04-17 | 1 | -1/+7 |
| | | | | |||||
| | * | | pep8 | David Baker | 2015-04-17 | 3 | -8/+5 |
| | | | | |||||
| | * | | make add3pid servlet work | David Baker | 2015-04-17 | 1 | -0/+7 |
| | | | | |||||
| | * | | Merge branch 'develop' into csauth | David Baker | 2015-04-17 | 5 | -48/+93 |
| | |\ \ | |||||
| | * | | | Need to yield the username check, otherwise very very weird things happen. | David Baker | 2015-04-17 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | Oops, left debugging in. | David Baker | 2015-04-16 | 1 | -6/+0 |
| | | | | | |||||
| | * | | | Return user ID in use error straight away | David Baker | 2015-04-16 | 3 | -64/+65 |
| | | | | | |||||
| | * | | | Dummy login so we can do the first POST request to get login flows without ↵ | David Baker | 2015-04-15 | 2 | -3/+9 |
| | | | | | | | | | | | | | | | | | | | | it just succeeding | ||||
| | * | | | Regstration with email in v2 | David Baker | 2015-04-15 | 4 | -22/+116 |
| | | | | | |||||
| | * | | | Completely replace fallback auth for C/S V2: | David Baker | 2015-04-01 | 1 | -21/+77 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Now only the auth part goes to fallback, not the whole operation * Auth fallback is a normal API endpoint, not a static page * Params like the recaptcha pubkey can just live in the config Involves a little engineering on JsonResource so its servlets aren't always forced to return JSON. I should document this more, in fact I'll do that now. | ||||
| | * | | | pep8 | David Baker | 2015-03-31 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | New registration for C/S API v2. Only ReCAPTCHA working currently. | David Baker | 2015-03-30 | 2 | -14/+87 |
| | | | | | |||||
| | * | | | Delete pushers when changing password | David Baker | 2015-03-26 | 1 | -0/+3 |
| | | | | | |||||
| | * | | | pep8 / pyflakes | David Baker | 2015-03-23 | 1 | -5/+1 |
| | | | | | |||||
| | * | | | Implement password changing (finally) along with a start on making ↵ | David Baker | 2015-03-23 | 3 | -44/+116 |
| | | | | | | | | | | | | | | | | | | | | client/server auth more general. | ||||
| * | | | | Merge branch 'develop' into invite_power_level | Paul "LeoNerd" Evans | 2015-04-27 | 1 | -7/+44 |
| |\ \ \ \ | | | |_|/ | | |/| | | |||||
| * | | | | Create an 'invite' powerlevel when making new rooms | Paul "LeoNerd" Evans | 2015-04-21 | 1 | -1/+2 |
| | | | | | |||||
* | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into postgres | Erik Johnston | 2015-04-27 | 2 | -11/+48 |
|\ \ \ \ \ | | |/ / / | |/| | | | |||||
| * | | | | Remove users from the remote_offline_serials list (and clean up empty ↵ | Paul "LeoNerd" Evans | 2015-04-23 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | | | elements) when they go online again | ||||
| * | | | | Don't let the remote offline serial list grow arbitrarily large | Paul "LeoNerd" Evans | 2015-04-23 | 1 | -0/+5 |
| | | | | | |||||
| * | | | | Store a list of the presence serial number at which remote users went ↵ | Paul "LeoNerd" Evans | 2015-04-23 | 1 | -0/+21 |
| | | | | | | | | | | | | | | | | | | | | offline, so that when we delete them from the cachemap, we can still synthesize OFFLINE events for them (SYN-261) | ||||
| * | | | | Generate presence event-stream JSON structures directly | Paul "LeoNerd" Evans | 2015-04-23 | 1 | -8/+9 |
| |/ / / | |||||
| * | / | SYN-350: Don't ratelimit the individual events generated during room creation | Mark Haines | 2015-04-21 | 1 | -4/+4 |
| | |/ | |/| | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into postgres | Erik Johnston | 2015-04-17 | 1 | -2/+14 |
|\| | | |||||
| * | | Filter typing nofication events to only those rooms the requesting user is a ↵ | Paul "LeoNerd" Evans | 2015-04-15 | 1 | -2/+14 |
| | | | | | | | | | | | | member of (SYN-328) | ||||
| * | | Have TypingNotificationEventSource.get_new_events_for_user() return a ↵ | Paul "LeoNerd" Evans | 2015-04-15 | 1 | -1/+1 |
| | | | | | | | | | | | | deferred, for consistency and extensibility | ||||
* | | | PEP8 | Erik Johnston | 2015-04-16 | 1 | -1/+0 |
| | | | |||||
* | | | Don't wait on federation_handler.handle_new_event | Erik Johnston | 2015-04-15 | 1 | -3/+7 |
| | | | |||||
* | | | Remove run_on_reactor()s | Erik Johnston | 2015-04-15 | 1 | -4/+0 |
| | | | |||||
* | | | Do more parellelization for initialSync | Erik Johnston | 2015-04-15 | 1 | -7/+11 |
| | | | |||||
* | | | Parellelize initial sync | Erik Johnston | 2015-04-15 | 1 | -2/+8 |
| | | | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-04-08 | 1 | -4/+36 |
|\| | | |||||
| * | | typo | Erik Johnston | 2015-04-08 | 1 | -1/+1 |
| | | | |||||
| * | | Don't yield on notifying all listeners | Erik Johnston | 2015-04-08 | 1 | -4/+36 |
| | | | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-04-07 | 3 | -42/+43 |
|\| | | |||||
| * | | Fix more AS sender ID thinkos. | Kegan Dougal | 2015-04-01 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | | | Specifically, the ASes own user ID wasn't being treated as 'exclusive' so a human could nab it. Also, the HS would needlessly send user queries to the AS for its own user ID. | ||||
| * | | Remove more reg/unreg methods. Read config not database for cache. | Kegan Dougal | 2015-03-31 | 1 | -37/+0 |
| | | | |||||
| * | | Merge branch 'develop' into application-services-txn-reliability | Kegan Dougal | 2015-03-26 | 4 | -9/+34 |
| |\ \ | | | | | | | | | | | | | | | | | Conflicts: synapse/storage/__init__.py | ||||
| | * | | Reduce activity timer granularity to avoid too many quick updates (SYN-247) | Paul "LeoNerd" Evans | 2015-03-23 | 1 | -0/+8 |
| | |/ | |||||
| * | | Set the service ID as soon as it is known. | Kegan Dougal | 2015-03-16 | 1 | -1/+1 |
| | | | |||||
| * | | Minor PR comment tweaks. | Kegan Dougal | 2015-03-16 | 1 | -2/+8 |
| | | | |||||
| * | | Merge branch 'develop' into application-services-txn-reliability | Kegan Dougal | 2015-03-16 | 5 | -11/+20 |
| |\ \ | | | | | | | | | | | | | | | | | Conflicts: synapse/storage/appservice.py | ||||
| * | | | Use seconds; start gluing in the AS scheduler into the AS handler. | Kegan Dougal | 2015-03-09 | 2 | -4/+21 |
| | | | | |||||
* | | | | Fix unicode database support | Erik Johnston | 2015-03-25 | 1 | -1/+1 |
| | | | | |||||
* | | | | Sanitize RoomMemberStore | Erik Johnston | 2015-03-23 | 1 | -19/+0 |
| | | | | |||||
* | | | | Sanitize TransactionStore | Erik Johnston | 2015-03-23 | 1 | -1/+1 |
| |_|/ |/| | | |||||
* | | | Merge pull request #109 from matrix-org/default_registration | Erik Johnston | 2015-03-18 | 1 | -0/+8 |
|\ \ \ | | | | | | | | | Disable registration by default. Add script to register new users. | ||||
| * | | | Factor out user id validation checks | Erik Johnston | 2015-03-18 | 1 | -0/+8 |
| | | | | |||||
* | | | | Clean out event_forward_extremities table when the server rejoins the room | Erik Johnston | 2015-03-18 | 1 | -0/+2 |
| | | | | |||||
* | | | | Merge pull request #110 from matrix-org/fix_ban | Erik Johnston | 2015-03-16 | 2 | -8/+6 |
|\ \ \ \ | | | | | | | | | | | Fix ban | ||||
| * | | | | Revert incorrect changes to where we send events | Erik Johnston | 2015-03-16 | 1 | -3/+4 |
| | | | | | |||||
| * | | | | Remove concept of context.auth_events, instead use context.current_state | Erik Johnston | 2015-03-16 | 2 | -8/+6 |
| | | | | | |||||
| * | | | | Send all membership events to the remote homeserver | Erik Johnston | 2015-03-16 | 1 | -4/+3 |
| | |/ / | |/| | | |||||
* | | | | Don't block waiting on waking up all the listeners when sending an event. | Erik Johnston | 2015-03-16 | 1 | -1/+10 |
| |_|/ |/| | | |||||
* | | | Appease pep8 | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -2/+3 |
| | | | |||||
* | | | Use _ instead of . as a metric namespacing separator, for Prometheus | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -1/+1 |
| | | | |||||
* | | | Add a scalar gauge metric on the size of the presence user cachemap | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -0/+7 |
| |/ |/| | |||||
* | | Change room handlers get_rooms_for_user to get_joined_rooms_for_user. This ↵ | Erik Johnston | 2015-03-09 | 5 | -11/+12 |
|/ | | | | uses the a storage api that is cached. | ||||
* | When setting display name more graciously handle failures to update room state. | Erik Johnston | 2015-03-06 | 1 | -7/+13 |
| | |||||
* | Add some randomness to the user specified timeout on event streams to ↵ | Erik Johnston | 2015-03-06 | 1 | -0/+9 |
| | | | | mitigate against thundering herds problems | ||||
* | Merge pull request #93 from matrix-org/application-services-exclusive | Kegsay | 2015-03-02 | 2 | -7/+18 |
|\ | | | | | Application services exclusive flag support | ||||
| * | Implement exclusive namespace checks. | Kegan Dougal | 2015-02-27 | 2 | -7/+18 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into batched_get_pdu | Erik Johnston | 2015-03-02 | 3 | -12/+27 |
|\ \ | |||||
| * | | Finish impl to get new events for AS. ASes should now be able to poll /events | Kegan Dougal | 2015-02-26 | 1 | -1/+3 |
| | | | |||||
| * | | Add stub functions and work out execution flow to implement AS event stream ↵ | Kegan Dougal | 2015-02-25 | 2 | -12/+25 |
| |/ | | | | | | | polling. | ||||
| * | %s for strings otherwise you end up sending 'u"foo"' | David Baker | 2015-02-24 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into batched_get_pdu | Erik Johnston | 2015-02-23 | 1 | -1/+1 |
|\| | |||||
| * | Add missing comma so that it generates a dict and not a set | Erik Johnston | 2015-02-20 | 1 | -1/+1 |
| | | |||||
* | | Implement and use new batched get missing pdu | Erik Johnston | 2015-02-23 | 1 | -0/+23 |
| | | |||||
* | | Initial stab at implementing a batched get_missing_pdus request | Erik Johnston | 2015-02-19 | 1 | -4/+5 |
|/ | |||||
* | Merge branch 'consumeErrors' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-02-17 | 2 | -5/+5 |
|\ | |||||
| * | We do want to consumeError | Erik Johnston | 2015-02-17 | 1 | -1/+1 |
| | | |||||
| * | Use consumeErrors=True on all DeferredLists. | Erik Johnston | 2015-02-17 | 1 | -4/+4 |
| | | | | | | | | | | | | This is so that the DeferredLists actually consume the error instead of propogating down the non-existent errback chain. This should reduce the number of unhandled errors we are seeing. | ||||
* | | Change some debug logging to info | Erik Johnston | 2015-02-17 | 1 | -2/+4 |
| | | |||||
* | | Merge branch 'hotfixes-v0.7.0f' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-02-16 | 1 | -1/+1 |
|\| | |||||
| * | resolve_events expect lists, not dicts | Erik Johnston | 2015-02-15 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-02-13 | 1 | -1/+1 |
|\| | |||||
| * | Fix wrong variable name | Erik Johnston | 2015-02-13 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #50 from matrix-org/application-services | Mark Haines | 2015-02-13 | 5 | -47/+393 |
|\ \ | |/ |/| | Application Services | ||||
| * | PEP8-ify | Kegan Dougal | 2015-02-11 | 1 | -3/+0 |
| | | |||||
| * | Notify ASes for events sent by other users in a room which an AS user is a ↵ | Kegan Dougal | 2015-02-11 | 1 | -5/+16 |
| | | | | | | | | part of. | ||||
| * | Merge branch 'develop' into application-services | Kegan Dougal | 2015-02-11 | 5 | -25/+50 |
| |\ | |||||
| * \ | Merge branch 'develop' into application-services | Kegan Dougal | 2015-02-09 | 3 | -62/+105 |
| |\ \ | |||||
| * | | | Fix bugs so lazy room joining works as intended. | Kegan Dougal | 2015-02-09 | 2 | -9/+20 |
| | | | | |||||
| * | | | Register a user account for the AS when the AS registers. Add 'sender' ↵ | Kegan Dougal | 2015-02-09 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | column to AS table. | ||||
| * | | | Add errcodes for appservice registrations. | Kegan Dougal | 2015-02-06 | 1 | -4/+7 |
| | | | | |||||
| * | | | Pyflakes: unused variable. | Kegan Dougal | 2015-02-06 | 1 | -1/+1 |
| | | | | |||||
| * | | | Grant ASes the ability to delete aliases in their own namespace. | Kegan Dougal | 2015-02-06 | 1 | -5/+23 |
| | | | | |||||
| * | | | Grant ASes the ability to create alias in their own namespace. | Kegan Dougal | 2015-02-06 | 1 | -12/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | Add a new errcode type M_EXCLUSIVE when users try to create aliases inside AS namespaces, and when ASes try to create aliases outside their own namespace. | ||||
| * | | | Add m.login.application_service registration procedure. | Kegan Dougal | 2015-02-05 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | This allows known application services to register any user ID under their own user namespace(s). | ||||
| * | | | Dependency inject ApplicationServiceApi when creating ↵ | Kegan Dougal | 2015-02-05 | 2 | -4/+6 |
| | | | | | | | | | | | | | | | | ApplicationServicesHandler. | ||||
| * | | | Prevent user IDs in AS namespaces being created/deleted by humans. | Kegan Dougal | 2015-02-05 | 1 | -0/+16 |
| | | | | |||||
| * | | | Prevent aliases in AS namespaces being created/deleted by users. Check with ↵ | Kegan Dougal | 2015-02-05 | 1 | -9/+33 |
| | | | | | | | | | | | | | | | | ASes when queried for room aliases via federation. | ||||
| * | | | Merge branch 'develop' into application-services | Kegan Dougal | 2015-02-05 | 4 | -90/+143 |
| |\ \ \ | |||||
| * | | | | Fix user query checks. HS>AS pushing now works. | Kegan Dougal | 2015-02-05 | 1 | -13/+31 |
| | | | | | |||||
| * | | | | Glue AS work to general event notifications. Add more exception handling ↵ | Kegan Dougal | 2015-02-05 | 1 | -14/+25 |
| | | | | | | | | | | | | | | | | | | | | when poking ASes. | ||||
| * | | | | Add unknown room alias check. Call it from directory_handler.get_association | Kegan Dougal | 2015-02-05 | 2 | -43/+61 |
| | | | | | |||||
| * | | | | Add unknown user ID check. Use store.get_aliases_for_room(room_id) when ↵ | Kegan Dougal | 2015-02-05 | 1 | -5/+19 |
| | | | | | | | | | | | | | | | | | | | | searching for services by alias. | ||||
| * | | | | Add hs_token column and generate a different token f.e application service. | Kegan Dougal | 2015-02-05 | 1 | -3/+6 |
| | | | | | |||||
| * | | | | Impl push_bulk function | Kegan Dougal | 2015-02-05 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Modify API for SimpleHttpClient.get_json and update usages. | Kegan Dougal | 2015-02-04 | 2 | -37/+52 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, this would only return the HTTP body as JSON, and discard other response information (e.g. the HTTP response code). This has now been changed to throw a CodeMessageException on a non-2xx response, with the response code and body, which can then be parsed as JSON. Affected modules include: - Registration/Login (when using an email for IS auth) | ||||
| * | | | | Add query_user/alias APIs. | Kegan Dougal | 2015-02-04 | 1 | -10/+16 |
| | | | | | |||||
| * | | | | Begin to add unit tests for appservice glue and regex testing. | Kegan Dougal | 2015-02-04 | 1 | -2/+6 |
| | | | | | |||||
| * | | | | Add stub ApplicationServiceApi and glue it with the handler. | Kegan Dougal | 2015-02-04 | 1 | -3/+15 |
| | | | | | |||||
| * | | | | Add appservice package and move ApplicationService into it. | Kegan Dougal | 2015-02-03 | 1 | -1/+3 |
| | | | | | |||||
| * | | | | Implement restricted namespace checks. Begin fleshing out the main hook for ↵ | Kegan Dougal | 2015-02-03 | 1 | -0/+19 |
| | | | | | | | | | | | | | | | | | | | | notifying application services. | ||||
| * | | | | Add namespace constants. Add restrict_to option to limit namespace checks. | Kegan Dougal | 2015-02-03 | 1 | -10/+15 |
| | | | | | |||||
| * | | | | Implement regex checks for app services. | Kegan Dougal | 2015-02-03 | 1 | -2/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Expose handler.get_services_for_event which manages the checks for all services. | ||||
| * | | | | Implement txns for AS (un)registration. | Kegan Dougal | 2015-02-02 | 1 | -1/+2 |
| | | | | | |||||
| * | | | | Merge branch 'develop' into application-services | Kegan Dougal | 2015-02-02 | 7 | -154/+848 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/__init__.py synapse/storage/__init__.py | ||||
| * | | | | | Add basic application_services SQL, and hook up parts of the appservice ↵ | Kegan Dougal | 2015-01-28 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | store to read from it. | ||||
| * | | | | | Log when ASes are registered/unregistered. | Kegan Dougal | 2015-01-27 | 1 | -0/+2 |
| | | | | | | |||||
| * | | | | | Use ApplicationService when registering. | Kegan Dougal | 2015-01-27 | 1 | -8/+5 |
| | | | | | | |||||
| * | | | | | Add stub methods, TODOs and docstrings for application services. | Kegan Dougal | 2015-01-27 | 1 | -3/+22 |
| | | | | | | |||||
| * | | | | | Add appservice handler and store. Glue together rest > handler > store. | Kegan Dougal | 2015-01-27 | 2 | -0/+51 |
| | | | | | | |||||
* | | | | | | pyflakes | Erik Johnston | 2015-02-13 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | When we see a difference in current state, actually use state conflict ↵ | Erik Johnston | 2015-02-13 | 1 | -0/+34 |
| | | | | | | | | | | | | | | | | | | | | | | | | resolution algorithm | ||||
* | | | | | | Reindent code to be less human-readable to keep pep8 from complaining | Paul "LeoNerd" Evans | 2015-02-12 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Appease pyflakes | Paul "LeoNerd" Evans | 2015-02-12 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Can now remove the FIXME too | Paul "LeoNerd" Evans | 2015-02-12 | 1 | -10/+3 |
| | | | | | | |||||
* | | | | | | Only attempt to fetch presence state of JOINed members in room initialSync ↵ | Paul "LeoNerd" Evans | 2015-02-12 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | (SYN-202) | ||||
* | | | | | | Remove more debug logging | Erik Johnston | 2015-02-11 | 1 | -2/+0 |
| | | | | | | |||||
* | | | | | | Remove debug logging | Erik Johnston | 2015-02-11 | 2 | -12/+0 |
| | | | | | | |||||
* | | | | | | Don't unfreeze when using FreezeEvent.get_dict, as we are using a ↵ | Erik Johnston | 2015-02-11 | 2 | -2/+17 |
| |_|_|_|/ |/| | | | | | | | | | | | | | | JSONEncoder that understands FrozenDict | ||||
* | | | | | Fix code-style | Mark Haines | 2015-02-10 | 2 | -5/+5 |
| | | | | | |||||
* | | | | | Code-style fixes | Mark Haines | 2015-02-10 | 2 | -6/+11 |
| | | | | | |||||
* | | | | | Merge branch 'release-v0.6.2' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-02-10 | 1 | -1/+6 |
|\ \ \ \ \ | |||||
| * | | | | | SYN-258: get_recent_events_for_room only accepts stream tokens, convert the ↵ | Mark Haines | 2015-02-06 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | topological token to a stream token before passing it to get_recent_events_for_room | ||||
| * | | | | | Explicitly list the RejectedReasons that we can prove | Erik Johnston | 2015-02-06 | 1 | -1/+6 |
| | | | | | | |||||
* | | | | | | During room intial sync, only calculate current state once. | Erik Johnston | 2015-02-09 | 2 | -13/+28 |
| |_|_|_|/ |/| | | | | |||||
* | | | | | don't give up if we can't create default avatars during tests | Matthew Hodgson | 2015-02-07 | 1 | -9/+12 |
| | | | | | |||||
* | | | | | ...and here's the actual impl. git fail. | Matthew Hodgson | 2015-02-07 | 1 | -0/+14 |
| | | | | | |||||
* | | | | | SYN-258: get_recent_events_for_room only accepts stream tokens, convert the ↵ | Mark Haines | 2015-02-06 | 1 | -1/+3 |
|/ / / / | | | | | | | | | | | | | topological token to a stream token before passing it to get_recent_events_for_room | ||||
* | | | | Don't query auth if the only difference is events that were rejected due to ↵ | Erik Johnston | 2015-02-06 | 1 | -56/+72 |
| | | | | | | | | | | | | | | | | auth. | ||||
* | | | | Make seen_ids a set | Erik Johnston | 2015-02-06 | 1 | -1/+3 |
| | | | | |||||
* | | | | Handle the fact the list.remove raises if element doesn't exist | Erik Johnston | 2015-02-06 | 1 | -4/+10 |
| |_|/ |/| | | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-02-05 | 1 | -5/+12 |
|\ \ \ | | | | | | | | | | | | | federation_client_retries | ||||
| * | | | SYN-202: Log as WARN the 404 'Presence information not visible' errors ↵ | Erik Johnston | 2015-02-05 | 1 | -5/+12 |
| | |/ | |/| | | | | | | | instead of as ERROR since they were spamming the logs | ||||
* | | | Pass through list of room hosts from room alias query to federation so that ↵ | Erik Johnston | 2015-02-05 | 2 | -14/+18 |
| | | | | | | | | | | | | it can retry against different room hosts | ||||
* | | | Merge branch 'signature_failures' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-02-04 | 1 | -1/+3 |
|\ \ \ | | | | | | | | | | | | | federation_client_retries | ||||
| * | | | Change context.auth_events to what the auth_events would be bases on ↵ | Erik Johnston | 2015-02-04 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | context.current_state, rather than based on the auth_events from the event. | ||||
* | | | | Apply sanity to the transport client interface. Convert 'make_join' and ↵ | Erik Johnston | 2015-02-04 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | 'send_join' to accept iterables of destinations | ||||
* | | | | When returning lists of servers from alias lookups, put the current server ↵ | Erik Johnston | 2015-02-04 | 1 | -1/+10 |
|/ / / | | | | | | | | | | first in the list | ||||
* | | | Rearrange persist_event so that do all the queries that need to be done ↵ | Erik Johnston | 2015-02-04 | 1 | -0/+2 |
| | | | | | | | | | | | | before returning early if we have already persisted that event. | ||||
* | | | Neaten the handling of state and auth_chain up a bit | Erik Johnston | 2015-02-03 | 1 | -27/+30 |
| | | | |||||
* | | | Don't completely die if get auth_chain or querying auth_chain requests fail | Erik Johnston | 2015-02-03 | 1 | -63/+72 |
| | | | |||||
* | | | Set combinations is | and not + | Erik Johnston | 2015-02-03 | 1 | -2/+2 |
| | | | |||||
* | | | Spelling | Erik Johnston | 2015-02-03 | 1 | -1/+1 |
| | | | |||||
* | | | Give exception better message | Erik Johnston | 2015-02-03 | 1 | -1/+1 |
| | | | |||||
* | | | Add FIXME note. | Erik Johnston | 2015-02-03 | 1 | -0/+2 |
| | | | |||||
* | | | Return rejected events if asked for it over federation. | Erik Johnston | 2015-02-03 | 1 | -0/+1 |
| | | | |||||
* | | | Try to ensure we don't persist an event we have already persisted. In ↵ | Erik Johnston | 2015-02-03 | 1 | -14/+28 |
|/ / | | | | | | | 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. | ||||
* | | Resign events when we return them via /query_auth/ | Erik Johnston | 2015-01-30 | 1 | -0/+9 |
| | | |||||
* | | Return empty list rather than None when there are no emphemeral events for a ↵ | Mark Haines | 2015-01-30 | 1 | -1/+1 |
| | | | | | | | | room | ||||
* | | Fix bug where accepting invite over federation didn't work. Add logging. | Erik Johnston | 2015-01-30 | 1 | -8/+49 |
| | | |||||
* | | Merge pull request #43 from matrix-org/rejections | Erik Johnston | 2015-01-30 | 1 | -119/+310 |
|\ \ | | | | | | | Rejections | ||||
| * | | Only auth_events with event if event in event.auth_events | Erik Johnston | 2015-01-30 | 1 | -1/+3 |
| | | | |||||
| * | | Fix bug where we superfluously asked for current state. Change API of ↵ | Erik Johnston | 2015-01-30 | 1 | -33/+18 |
| | | | | | | | | | | | | /query_auth/ so that we don't duplicate events in the response. | ||||
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into rejections | Erik Johnston | 2015-01-30 | 5 | -43/+75 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/storage/__init__.py synapse/storage/schema/delta/v12.sql | ||||
| * | | | Update the current state of an event if we update auth events. | Erik Johnston | 2015-01-30 | 1 | -1/+3 |
| | | | | |||||
| * | | | Fix regression where we no longer correctly handled the case of gaps in our ↵ | Erik Johnston | 2015-01-30 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | event graph | ||||
| * | | | Initial implementation of auth conflict resolution | Erik Johnston | 2015-01-29 | 1 | -75/+132 |
| | | | | |||||
| * | | | Start implementing auth conflict res | Erik Johnston | 2015-01-28 | 1 | -35/+176 |
| | | | | |||||
* | | | | Add doc string for __nonzero__ overrides for sync results, raise not ↵ | Mark Haines | 2015-01-30 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | implemented if the client attempts to do a gapless sync | ||||
* | | | | Check if the user has joined the room between incremental syncs | Mark Haines | 2015-01-30 | 1 | -4/+27 |
| | | | | |||||
* | | | | Pass client info to the sync_config | Mark Haines | 2015-01-30 | 1 | -2/+3 |
| | | | | |||||
* | | | | Fix token formatting | Mark Haines | 2015-01-30 | 1 | -3/+3 |
| | | | | |||||
* | | | | Filter the recent events before applying the limit when doing an initial sync | Mark Haines | 2015-01-30 | 1 | -11/+10 |
| | | | | |||||
* | | | | Filter the recent events before applying the limit when doing an incremental ↵ | Mark Haines | 2015-01-30 | 1 | -15/+38 |
| | | | | | | | | | | | | | | | | sync with a gap | ||||
* | | | | Update todo for the filtering on sync | Mark Haines | 2015-01-29 | 1 | -1/+2 |
| | | | |