Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2016-04-10 | Support PyPy | TimePath | 17 | -22/+22 | |
2016-04-08 | Remove some unused functions (#711) | Mark Haines | 15 | -485/+4 | |
* Remove some unused functions * get_room_events_stream is only used in tests * is_exclusive_room might actually be something we want | |||||
2016-04-08 | Move all the wrapper functions for distributor.fire | Mark Haines | 5 | -39/+24 | |
Move the functions inside the distributor and import them where needed. This reduces duplication and makes it possible for flake8 to detect when the functions aren't used in a given file. | |||||
2016-04-08 | changed_presencelike_data isn't observed anywhere in synapse so can be removed | Mark Haines | 1 | -15/+0 | |
2016-04-07 | Call profile handler get_displayname directly rather than using ↵ | Mark Haines | 2 | -37/+1 | |
collect_presencelike_data | |||||
2016-04-07 | Add tests for redactions | Mark Haines | 4 | -5/+54 | |
2016-04-07 | Add sensible __eq__ operators inside the tests. | Mark Haines | 2 | -10/+28 | |
Rather than adding them globally. This limits the changes to only affect the tests. | |||||
2016-04-07 | Rename things | Erik Johnston | 1 | -5/+5 | |
2016-04-07 | Log contexts and squash things together | Erik Johnston | 1 | -17/+15 | |
2016-04-07 | Add comment | Erik Johnston | 1 | -0/+8 | |
2016-04-07 | Deduplicate joins | Erik Johnston | 4 | -1/+118 | |
2016-04-07 | Add tests for get_latest_event_ids_in_room and get_current_state | Mark Haines | 3 | -0/+76 | |
2016-04-07 | Add myself to AUTHORS.rst | Christoph Witzany | 1 | -0/+3 | |
Signed-off-by: Christoph Witzany <christoph@web.crofting.com> | |||||
2016-04-07 | Set profile information when joining rooms remotely | Erik Johnston | 1 | -0/+5 | |
2016-04-06 | fix check for failed authentication | Christoph Witzany | 1 | -2/+4 | |
2016-04-06 | remove line | Christoph Witzany | 1 | -1/+0 | |
2016-04-06 | make tests for ldap more specific to not be fooled by Mocks | Christoph Witzany | 1 | -3/+3 | |
2016-04-06 | output ldap version for info and to pacify pep8 | Christoph Witzany | 1 | -0/+2 | |
2016-04-06 | conditionally import ldap | Christoph Witzany | 2 | -3/+5 | |
2016-04-06 | fix pep8 | Christoph Witzany | 1 | -2/+1 | |
2016-04-06 | fix exception handling | Christoph Witzany | 1 | -2/+2 | |
2016-04-06 | code style | Christoph Witzany | 1 | -6/+13 | |
2016-04-06 | cleanup | Christoph Witzany | 1 | -5/+0 | |
2016-04-06 | add tls property and twist my head around twisted | Christoph Witzany | 1 | -15/+29 | |
2016-04-06 | add tls property | Christoph Witzany | 1 | -6/+10 | |
2016-04-06 | move LDAP authentication to AuthenticationHandler | Christoph Witzany | 2 | -61/+48 | |
2016-04-06 | Introduce LDAP authentication | Christoph Witzany | 4 | -1/+111 | |
2016-04-06 | Test that room membership is replicated | Mark Haines | 2 | -11/+67 | |
2016-04-06 | Let users see their own leave events | Richard van der Hoff | 1 | -11/+40 | |
... otherwise clients get confused. Fixes https://matrix.org/jira/browse/SYN-662, https://github.com/vector-im/vector-web/issues/368 | |||||
2016-04-06 | Add a slaved events store class | Mark Haines | 10 | -2/+485 | |
Add a test to check that get_room_names_and_aliases does the same thing on both the master and on the slave data store. | |||||
2016-04-06 | Don't require config to create database | Erik Johnston | 13 | -86/+69 | |
2016-04-06 | Make the cache objects be per instance rather than being global | Mark Haines | 4 | -26/+29 | |
2016-04-06 | Move _get_cache_dict into the SQLBaseStore | Mark Haines | 2 | -33/+34 | |
2016-04-06 | Tests | Erik Johnston | 1 | -2/+29 | |
2016-04-05 | Don't backfill from self | Erik Johnston | 1 | -1/+4 | |
2016-04-05 | Separate generating the replication response... | Mark Haines | 1 | -44/+55 | |
from doing the http request parsing to make it easier to write unit tests for replication. | |||||
2016-04-05 | Fix stuck invites | Erik Johnston | 4 | -16/+58 | |
If rejecting a remote invite fails with an error response don't fail the entire request; instead mark the invite as locally rejected. This fixes the bug where users can get stuck invites which they can neither accept nor reject. | |||||
2016-04-04 | Docs and indents | Erik Johnston | 3 | -14/+31 | |
2016-04-04 | Add upgrade path, rename table | Erik Johnston | 2 | -6/+20 | |
2016-04-04 | Store invites in a separate table. | Erik Johnston | 5 | -32/+124 | |
2016-04-01 | Use computed prev event ids | Erik Johnston | 4 | -13/+41 | |
2016-04-01 | Remove state hack from _create_new_client_event | Erik Johnston | 1 | -43/+0 | |
2016-04-01 | Do checks for memberships before creating events | Erik Johnston | 3 | -98/+151 | |
2016-04-01 | Use google style doc strings. | Mark Haines | 14 | -169/+242 | |
pycharm supports them so there is no need to use the other format. Might as well convert the existing strings to reduce the risk of people accidentally cargo culting the wrong doc string format. | |||||
2016-04-01 | Assert that the step != 0 | Mark Haines | 1 | -0/+1 | |
2016-04-01 | use google style doc strings | Mark Haines | 1 | -11/+12 | |
2016-04-01 | Comment | Erik Johnston | 1 | -1/+1 | |
2016-04-01 | Add concurrently_execute function | Erik Johnston | 4 | -75/+82 | |
2016-04-01 | Rename direction to step, apply checks consistently | Mark Haines | 2 | -16/+16 | |
2016-04-01 | Use a stream id generator for backfilled ids | Mark Haines | 11 | -61/+69 | |
2016-04-01 | Filter rooms list before chunking | Erik Johnston | 1 | -6/+12 | |
2016-04-01 | Fix the invalidation of the names and aliases cache | Mark Haines | 1 | -1/+1 | |
2016-03-31 | Remove outlier parameter from compute_event_context | Mark Haines | 3 | -11/+7 | |
Use event.internal_metadata.is_outlier instead. | |||||
2016-03-31 | Move the check for backfilled outside the for loop | Mark Haines | 1 | -5/+5 | |
2016-03-31 | Remove the is_new_state argument to persist event. | Mark Haines | 3 | -56/+57 | |
Move the checks for whether an event is new state inside persist event itself. This was harder than expected because there wasn't enough information passed to persist event to correctly handle invites from remote servers for new rooms. | |||||
2016-03-31 | Split out RoomMemberHandler | Erik Johnston | 3 | -603/+651 | |
2016-03-31 | Line length | Erik Johnston | 1 | -1/+3 | |
2016-03-31 | Use a namedtuple rather than tuple unpacking | Mark Haines | 2 | -12/+15 | |
2016-03-31 | Allow clock to be passed in to func | Erik Johnston | 1 | -3/+3 | |
2016-03-31 | Don't ignore the obey overlay if the rule has an enabled attribute of False | David Baker | 1 | -2/+3 | |
Fixes https://github.com/vector-im/vector-web/issues/1244 | |||||
2016-03-31 | Read from DNS cache if within TTL | Erik Johnston | 2 | -17/+27 | |
2016-03-30 | spell out more packages | Matthew Hodgson | 1 | -8/+21 | |
2016-03-30 | typo | Matthew Hodgson | 1 | -1/+1 | |
2016-03-30 | Add replication streams for ex outliers and current state resets | Mark Haines | 3 | -2/+113 | |
2016-03-30 | return the state_group for backfill | Mark Haines | 1 | -1/+2 | |
2016-03-30 | Add a entry to current_state_resets table when the current state is reset | Mark Haines | 1 | -0/+9 | |
2016-03-30 | Add a replication stream for state groups | Mark Haines | 4 | -11/+91 | |
2016-03-30 | Only forget room if you were in the room | Erik Johnston | 1 | -1/+2 | |
2016-03-30 | Remove spurious comment | Erik Johnston | 1 | -1/+0 | |
2016-03-30 | Use a stream id generator to assign state group ids | Mark Haines | 4 | -50/+60 | |
2016-03-30 | Bump version and changelog | Erik Johnston | 2 | -1/+6 | |
2016-03-30 | Require user to have left room to forget room | Erik Johnston | 2 | -6/+54 | |
This dramatically simplifies the forget API code - in particular it no longer generates a leave event. | |||||
2016-03-29 | Add new author | Niklas Riekenbrauck | 1 | -2/+5 | |
2016-03-29 | Add JWT support | Niklas Riekenbrauck | 4 | -1/+93 | |
2016-03-24 | Fix typo | Mark Haines | 1 | -1/+1 | |
2016-03-24 | Add a response cache for getting the public room list | Mark Haines | 1 | -1/+11 | |
2016-03-24 | Deduplicate identical /sync requests | Mark Haines | 3 | -1/+64 | |
2016-03-24 | Never notify for member events. This fixes ↵ | David Baker | 1 | -20/+21 | |
https://github.com/vector-im/vector-web/issues/828 | |||||
2016-03-23 | Bump version and changelog v0.14.0-rc2 github/release-v0.14.0 release-v0.14.0 | Erik Johnston | 2 | -1/+22 | |
2016-03-23 | Simplify intern_dict | Erik Johnston | 1 | -17/+10 | |
2016-03-23 | Don't bother interning keys that are already interned | Erik Johnston | 1 | -3/+1 | |
2016-03-23 | Intern all the things | Erik Johnston | 8 | -45/+97 | |
2016-03-23 | Intern sender, event_id and room_id in events | Erik Johnston | 1 | -0/+5 | |
2016-03-23 | Intern type and state_key on events | Erik Johnston | 1 | -0/+7 | |
2016-03-23 | String intern | Erik Johnston | 2 | -3/+17 | |
2016-03-23 | Comment about weird SQL | Erik Johnston | 1 | -1/+3 | |
2016-03-23 | SQLite and postgres doesn't share a true literal | Erik Johnston | 1 | -1/+1 | |
2016-03-23 | Ensure all old public rooms have aliases | Erik Johnston | 2 | -4/+26 | |
2016-03-23 | Ensure published rooms have public join rules | Erik Johnston | 1 | -0/+7 | |
2016-03-23 | Comment | Erik Johnston | 1 | -0/+3 | |
2016-03-23 | Don't cache events in get_recent_events_for_room | Erik Johnston | 1 | -14/+19 | |
2016-03-23 | Don't cache events in get_current_state_for_key | Erik Johnston | 2 | -9/+11 | |
2016-03-23 | Don't require alias in public room list. | Erik Johnston | 1 | -14/+13 | |
Rooms now no longer require an alias to be published. Also, changes the way we pull out state of each room to not require fetching all state events. | |||||
2016-03-23 | Make get_invites return RoomsForUser | Erik Johnston | 2 | -7/+5 | |
2016-03-23 | Reduce cache size | Erik Johnston | 1 | -1/+1 | |
2016-03-22 | Key StateHandler._state_cache off of state groups | Erik Johnston | 1 | -40/+21 | |
2016-03-22 | Make LruCache use a dedicated _Node class | Erik Johnston | 1 | -32/+41 | |
2016-03-22 | Make StateHandler._state_cache only store event_ids. | Erik Johnston | 2 | -7/+42 | |
2016-03-22 | Measure StateHandler._resolve_events | Erik Johnston | 1 | -38/+40 | |
2016-03-22 | Bump get_unread_event_push_actions_by_room_for_user cache | Erik Johnston | 1 | -1/+1 | |
2016-03-22 | Bump get_aliases_for_room cache | Erik Johnston | 1 | -1/+1 | |
2016-03-22 | Use get_users_in_room to count the number of room members rather than using ↵ | Mark Haines | 1 | -1/+3 | |
read_receipts | |||||
2016-03-22 | Don't cache events in _state_group_cache | Erik Johnston | 1 | -60/+48 | |
Instead, simply cache the event ids, relying on the event cache to cache the actual events. The problem was that while the state groups cache was limited in the number of groups it could hold, each individual group could consist of thousands of events. | |||||
2016-03-22 | Doc string | Erik Johnston | 1 | -0/+6 | |
2016-03-22 | Make stateGroupCache honour CACHE_SIZE_FACTOR | Erik Johnston | 1 | -1/+7 | |
2016-03-22 | an invalide is something else... | Matthew Hodgson | 1 | -1/+1 | |
2016-03-21 | Remove unused backfilled parameter from persist_event | Mark Haines | 3 | -42/+19 | |
2016-03-21 | Add published room list edit API | Erik Johnston | 4 | -4/+116 | |
2016-03-21 | remove unused current_state variable from on_receive_pdu | Mark Haines | 1 | -2/+0 | |
2016-03-18 | Catch exceptions from EDU handling | Erik Johnston | 1 | -1/+6 | |
2016-03-18 | Don't assume existence of event_id in __str__ | Erik Johnston | 1 | -1/+3 | |
2016-03-18 | Dedupe requested event list in _get_events | Erik Johnston | 1 | -14/+12 | |
2016-03-18 | Yield on EDU handling | Erik Johnston | 1 | -3/+4 | |
2016-03-17 | Check canonical alias event exists | Erik Johnston | 1 | -1/+2 | |
2016-03-17 | Remove another unused function from presence | Mark Haines | 1 | -4/+0 | |
2016-03-17 | Update aliases event after deletion | Erik Johnston | 2 | -7/+48 | |
Attempt to update the appropriate `m.room.aliases` event after deleting an alias. This may fail due to the deleter not being in the room. Will also check if the canonical alias of the event is set to the deleted alias, and if so will attempt to delete it. | |||||
2016-03-17 | Remove dead code left over from presence changes | Mark Haines | 4 | -108/+0 | |
2016-03-17 | Add option to definitions.py to search for functions a function refers to | Mark Haines | 1 | -1/+22 | |
2016-03-16 | remove debug logging | David Baker | 1 | -3/+0 | |
2016-03-16 | Unused import | David Baker | 1 | -1/+0 | |
2016-03-16 | Make registration idempotent, part 2: be idempotent if the client specifies ↵ | David Baker | 3 | -6/+42 | |
a username. | |||||
2016-03-16 | pep8 | David Baker | 1 | -1/+2 | |
2016-03-16 | time_msec() | David Baker | 1 | -1/+1 | |
2016-03-16 | string with symbols is a bit too symboly. | David Baker | 1 | -1/+1 | |
2016-03-16 | Replace other time.time(). | David Baker | 1 | -2/+1 | |
2016-03-16 | Use hs get_clock instead of time.time() | David Baker | 1 | -2/+2 | |
2016-03-16 | take extra return val from check_auth in account too | David Baker | 1 | -1/+1 | |
2016-03-16 | Fix tests | David Baker | 1 | -4/+5 | |
2016-03-16 | pep8 & remove debug logging | David Baker | 2 | -5/+6 | |
2016-03-16 | Make registration idempotent: if you specify the same session, make it give ↵ | David Baker | 2 | -13/+74 | |
you an access token for the user that was registered on previous uses of that session. Tweak the UI auth layer to not delete sessions when their auth has completed and hence expire themn so they don't hang around until server restart. Allow server-side data to be associated with UI auth sessions. | |||||
2016-03-16 | Clarify that we do have reset functionality via the IS | Richard van der Hoff | 1 | -21/+20 | |
2016-03-16 | Add a comment to offer a hint to an explanation for why we have a unique ↵ | Mark Haines | 1 | -0/+1 | |
constraint on (app_id, pushkey, user_id) | |||||
2016-03-16 | Password reset docs and script | Richard van der Hoff | 3 | -1/+59 | |
Replace the bash/perl gen_password script with a python one, and write a note on how to use it. | |||||
2016-03-15 | Fix a couple of errors when deleting pushers | Mark Haines | 1 | -2/+2 | |
2016-03-15 | Hook up adding a pusher to the notifier for replication. | Mark Haines | 2 | -0/+12 | |
2016-03-15 | Add replication stream for pushers | Mark Haines | 6 | -18/+107 | |
2016-03-15 | Remove needless PreserveLoggingContext | Erik Johnston | 1 | -5/+4 | |
2016-03-15 | Persist rejection of invites over federation | Erik Johnston | 1 | -1/+17 | |
2016-03-15 | English v0.14.0-rc1 | Erik Johnston | 1 | -1/+1 | |
2016-03-15 | Bump version and changelog | Erik Johnston | 2 | -1/+40 | |
2016-03-14 | Add config to create guest account on 3pid invite | Erik Johnston | 2 | -25/+36 | |
Currently, when a 3pid invite request is sent to an identity server, it includes a provisioned guest access token. This allows the link in the, say, invite email to include the guest access token ensuring that the same account is used each time the link is clicked. This flow has a number of flaws, including when using different servers or servers that have guest access disabled. For now, we keep this implementation but hide it behind a config option until a better flow is implemented. | |||||
2016-03-14 | Return list, not generator. | Erik Johnston | 1 | -3/+1 | |
2016-03-14 | Fix regression where synapse checked whether push rules were valid JSON ↵ | Mark Haines | 2 | -6/+19 | |
before the compatibility hack that handled clients sending invalid JSON | |||||
2016-03-11 | Thats not how transactions work. | Erik Johnston | 1 | -13/+16 | |
2016-03-11 | Use parse_json_object_from_request to parse JSON out of request bodies | Mark Haines | 11 | -90/+49 | |
2016-03-11 | Implement logout | Erik Johnston | 3 | -14/+109 | |
2016-03-11 | Fix SQL statement | Erik Johnston | 1 | -1/+1 | |
2016-03-11 | more pep8 | David Baker | 1 | -1/+1 | |
2016-03-11 | Make select more sensible when dseleting access tokens, rename pusher ↵ | David Baker | 3 | -7/+5 | |
deletion to match access token deletion and make exception arg optional. | |||||
2016-03-11 | Delete old, unused methods and rename new one to just be ↵ | David Baker | 2 | -16/+3 | |
`user_delete_access_tokens` with an `except_token_ids` argument doing what it says on the tin. | |||||
2016-03-11 | Dear PyCharm, please indent sensibly for me. Thx. | David Baker | 2 | -3/+3 | |
2016-03-11 | Fix cache invalidation so deleting access tokens (which we did when changing ↵ | David Baker | 4 | -17/+34 | |
password) actually takes effect without HS restart. Reinstate the code to avoid logging out the session that changed the password, removed in 415c2f05491ce65a4fc34326519754cd1edd9c54 | |||||
2016-03-11 | Make key client send a Host header | Erik Johnston | 1 | -0/+3 | |
2016-03-10 | Store appservice ID on register | Daniel Wagner-Hall | 2 | -7/+38 | |
2016-03-10 | Update users table in a batched manner | Erik Johnston | 1 | -9/+14 | |
2016-03-10 | Flake8 fix | blide | 1 | -6/+6 | |
2016-03-10 | Register endpoint returns refresh_token | blide | 2 | -17/+26 | |
Guest registration still doesn't return refresh_token | |||||
2016-03-09 | Add comment | Erik Johnston | 1 | -0/+3 | |
2016-03-09 | Return the correct token form | Erik Johnston | 1 | -1/+1 | |
2016-03-09 | Use topological orders for initial sync timeline | Erik Johnston | 1 | -2/+2 | |
2016-03-09 | Pin pysaml2 version to 3.x | Erik Johnston | 1 | -1/+1 | |
This is due to the fact that `from saml2 import config` fails in version 4.x | |||||
2016-03-09 | Add a parse_json_object function | Mark Haines | 11 | -121/+97 | |
to deduplicate all the copy+pasted _parse_json functions. Also document the parse_.* functions. | |||||
2016-03-09 | Ensure integer is an integer | Erik Johnston | 1 | -1/+1 | |
2016-03-09 | Reinstate coverage checks for integ tests | Richard van der Hoff | 2 | -2/+4 | |
2016-03-09 | Specify synapse-directory for integ tests | Richard van der Hoff | 2 | -2/+6 | |
2016-03-08 | Only build py27 tox env for integ tests | Richard van der Hoff | 2 | -2/+2 | |
2016-03-08 | Use sytest build scripts, rather than reinventing the wheel | Richard van der Hoff | 2 | -52/+7 | |
2016-03-08 | Idempotent-ise schema update script | Daniel Wagner-Hall | 1 | -1/+5 | |
If any ASes don't have an ID, the schema will fail, and then it will error when trying to add the column again. | |||||
2016-03-08 | Fix relative imports so they work in both py3 and py27 | Mark Haines | 17 | -22/+22 | |
2016-03-08 | pep8 | David Baker | 1 | -2/+5 | |
2016-03-08 | Encode unicode objects given to post_urlencode* otherwise urllib.urlencode ↵ | David Baker | 1 | -2/+12 | |
chokes. | |||||
2016-03-07 | Use syntax that works on both py2.7 and py3 | Mark Haines | 8 | -10/+10 | |
2016-03-07 | Fix tests | David Baker | 3 | -20/+20 | |
2016-03-07 | Send the user ID matching the guest access token, since there is no Matrix ↵ | David Baker | 2 | -2/+7 | |
API to discover what user ID an access token is for. | |||||
2016-03-04 | Send history visibility on boundary changes | Erik Johnston | 1 | -0/+26 | |
2016-03-04 | Prefill from the correct stream | Mark Haines | 1 | -1/+1 | |
2016-03-04 | prefill the push rules stream change cache | Mark Haines | 1 | -2/+9 | |
2016-03-04 | s/stream_ordering/event_stream_ordering/ in push | Mark Haines | 3 | -27/+31 | |
2016-03-04 | /FNARG/d | Mark Haines | 1 | -1/+0 | |
2016-03-04 | Always include kicks and bans in full /sync | Erik Johnston | 1 | -3/+9 | |
2016-03-04 | Spelling | Erik Johnston | 1 | -1/+1 | |
2016-03-04 | Fix unit tests | Mark Haines | 1 | -2/+2 | |
2016-03-04 | Hook up the push rules stream to account_data in /sync | Mark Haines | 4 | -69/+85 | |
2016-03-04 | Add profile information to invites | Erik Johnston | 3 | -3/+17 | |
2016-03-04 | tests/utils: added room_invite_state_types to test config | Patrik Oldsberg | 1 | -0/+1 | |
Signed-off-by: Patrik Oldsberg <patrik.oldsberg@ericsson.com> | |||||
2016-03-04 | config,handlers/_base: added homeserver config for what state is included in ↵ | Patrik Oldsberg | 3 | -7/+44 | |
a room in |