Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Send room name and first alias in notification poke. | David Baker | 2015-01-15 | 1 | -0/+35 |
| | |||||
* | Honour the 'rejected' return from push gateways | David Baker | 2015-01-13 | 3 | -11/+25 |
| | | | | | | | Add a timestamp to push tokens so we know the last time they we got them from the device. Send it to the push gateways so it can determine whether its failure is more recent than the token. Stop and remove pushers that have been rejected. | ||||
* | Merge branch 'develop' into pushers | David Baker | 2015-01-13 | 36 | -183/+294 |
|\ | |||||
| * | SYN-178: Fix off by one. | Kegan Dougal | 2015-01-12 | 1 | -2/+6 |
| | | |||||
| * | Use time.time() instead of time.clock() | Erik Johnston | 2015-01-06 | 1 | -4/+4 |
| | | |||||
| * | Only fetch the columns we need. | Erik Johnston | 2015-01-06 | 1 | -1/+1 |
| | | |||||
| * | Add delta and bump DB version | Erik Johnston | 2015-01-06 | 2 | -1/+17 |
| | | |||||
| * | Add index on transaction_id to sent_transcations | Erik Johnston | 2015-01-06 | 2 | -4/+1 |
| | | |||||
| * | Actually time that function | Erik Johnston | 2015-01-06 | 1 | -0/+1 |
| | | |||||
| * | Time how long calls to _get_destination_retry_timings take | Erik Johnston | 2015-01-06 | 1 | -0/+3 |
| | | |||||
| * | Don't include None's in _get_events_txn | Erik Johnston | 2015-01-06 | 1 | -1/+3 |
| | | |||||
| * | Merge branch 'erikj-perf' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-01-06 | 1 | -21/+49 |
| |\ | |||||
| | * | Name 'user_rooms_intersect' transaction | Erik Johnston | 2015-01-06 | 1 | -16/+18 |
| | | | |||||
| | * | We don't need the full events for get_rooms_for_user_where_membership_is | Erik Johnston | 2015-01-06 | 1 | -5/+31 |
| | | | |||||
| * | | Merge pull request #28 from matrix-org/erikj-perf | Mark Haines | 2015-01-06 | 4 | -103/+113 |
| |\| | | | | | | | Database performance improvements. | ||||
| | * | PEP8 | Erik Johnston | 2015-01-06 | 2 | -3/+4 |
| | | | |||||
| | * | Remove debug lines | Erik Johnston | 2015-01-06 | 1 | -7/+0 |
| | | | |||||
| | * | Don't do batching when getting events. | Erik Johnston | 2015-01-06 | 1 | -35/+4 |
| | | | |||||
| | * | Only fetch prev_content when a client is streaming/paginating. Use ↵ | Erik Johnston | 2015-01-06 | 2 | -86/+92 |
| | | | | | | | | | | | | transactions for event streams. | ||||
| | * | Temporarily turn off 'redacted_because' and 'prev_content' keys | Erik Johnston | 2015-01-06 | 1 | -0/+2 |
| | | | |||||
| | * | More debug logging | Erik Johnston | 2015-01-06 | 1 | -0/+4 |
| | | | |||||
| | * | Add some debug logging | Erik Johnston | 2015-01-06 | 1 | -0/+12 |
| | | | |||||
| | * | Reformat | Erik Johnston | 2015-01-06 | 1 | -13/+14 |
| | | | |||||
| | * | Add RoomMemberStore.get_users_in_room, so that we can get the list of joined ↵ | Erik Johnston | 2015-01-06 | 1 | -0/+13 |
| | | | | | | | | | | | | users without having to retrieve the full events | ||||
| | * | Merge branch 'hotfixes-v0.6.0' of github.com:matrix-org/synapse into erikj-perf | Erik Johnston | 2014-12-19 | 1 | -4/+4 |
| | |\ | |||||
| | * | | Test some ideas that might help performance a bit | Erik Johnston | 2014-12-17 | 3 | -21/+30 |
| | | | | |||||
| * | | | Update copyright notices | Mark Haines | 2015-01-06 | 35 | -31/+87 |
| | |/ | |/| | |||||
| * | | Look for name, topic in the event content rather than the event itself when ↵ | Mark Haines | 2014-12-19 | 1 | -4/+4 |
| |/ | | | | | | | persisting room name and topic events | ||||
| * | Use _get_events_txn instead of _parse_events_txn | Erik Johnston | 2014-12-16 | 1 | -7/+1 |
| | | |||||
| * | Merge branch 'hotfixes-v0.5.4a' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-12-16 | 1 | -8/+8 |
| |\ | | | | | | | | | | release-v0.6.0 | ||||
| | * | Fix bug where we did not send the full auth chain to people that joined over ↵ | Erik Johnston | 2014-12-16 | 1 | -8/+8 |
| | | | | | | | | | | | | federation | ||||
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.6.0 | Erik Johnston | 2014-12-16 | 1 | -80/+0 |
| |\ \ | | | | | | | | | | | | | | | | | Conflicts: synapse/state.py | ||||
| * | | | Use is_outlier() so that we don't get AttributeError | Erik Johnston | 2014-12-16 | 1 | -3/+1 |
| | | | | |||||
| * | | | Don't assume an event exists | Erik Johnston | 2014-12-16 | 1 | -2/+4 |
| | | | | |||||
* | | | | Merge branch 'develop' into pushers | David Baker | 2014-12-18 | 12 | -243/+561 |
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | Conflicts: synapse/api/errors.py synapse/server.py synapse/storage/__init__.py | ||||
| * | | | Merge branch 'release-v0.6.0' into develop | Mark Haines | 2014-12-16 | 2 | -2/+70 |
| |\| | | |||||
| | * | | Fix upgrade script to run all the missing deltas. | Erik Johnston | 2014-12-16 | 1 | -1/+57 |
| | | | | |||||
| | * | | Do run all deltas up to missing delta 10 | Erik Johnston | 2014-12-16 | 1 | -4/+4 |
| | | | | |||||
| | * | | Make failure to run appropraite upgrade scripts more helpful. | Erik Johnston | 2014-12-16 | 1 | -0/+12 |
| | | | | |||||
| | * | | Bump database version | Erik Johnston | 2014-12-16 | 1 | -1/+1 |
| | | | | |||||
| * | | | Remove send_message since nothing was calling it. Remove Snapshot because ↵ | Mark Haines | 2014-12-16 | 1 | -80/+0 |
| |/ / | | | | | | | | | | only send_message was using it | ||||
| * | | Update upgrade script | Erik Johnston | 2014-12-16 | 1 | -1/+1 |
| | | | |||||
| * | | Persist internal_metadata | Erik Johnston | 2014-12-16 | 3 | -3/+10 |
| | | | |||||
| * | | Kill off synapse.api.events.* | Erik Johnston | 2014-12-16 | 1 | -10/+6 |
| | | | |||||
| * | | Use frozenutils | Erik Johnston | 2014-12-15 | 1 | -2/+1 |
| | | | |||||
| * | | Fix bug where we ignored event_edge_hashes table | Erik Johnston | 2014-12-15 | 3 | -7/+6 |
| | | | |||||
| * | | Store json as UTF-8 and not bytes | Erik Johnston | 2014-12-12 | 1 | -1/+1 |
| | | | |||||
| * | | Pyflakes | Erik Johnston | 2014-12-12 | 1 | -1/+0 |
| | | | |||||
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-11 | 3 | -1/+202 |
| |\ \ | | | | | | | | | | | | | | | | | Conflicts: setup.py | ||||
| | * \ | Merge branch 'develop' into media_repository | Mark Haines | 2014-12-10 | 5 | -3/+136 |
| | |\ \ | |||||
| | * \ \ | Merge branch 'develop' into media_repository | Mark Haines | 2014-12-10 | 6 | -20/+83 |
| | |\ \ \ | | | | |/ | | | |/| | |||||
| | * | | | Get the code actually working | Mark Haines | 2014-12-10 | 1 | -6/+8 |
| | | | | | |||||
| | * | | | Thumbnail uploaded and cached images | Mark Haines | 2014-12-10 | 1 | -6/+6 |
| | | | | | |||||
| | * | | | Add a method field to thumbnail storage | Mark Haines | 2014-12-05 | 2 | -7/+12 |
| | | | | | |||||
| | * | | | Implement download support for media_repository | Mark Haines | 2014-12-04 | 1 | -3/+7 |
| | | | | | |||||
| | * | | | Fix pyflakes and pep8 warnings | Mark Haines | 2014-12-02 | 1 | -2/+1 |
| | | | | | |||||
| | * | | | Get uploads working with new media repo | Mark Haines | 2014-12-02 | 2 | -2/+11 |
| | | | | | |||||
| | * | | | Write the upload portion of version 1 of the media repository | Mark Haines | 2014-12-02 | 2 | -0/+182 |
| | | | | | |||||
| * | | | | Fix public room joining by making sure replaces_state never points to itself. | Erik Johnston | 2014-12-11 | 1 | -2/+4 |
| | | | | | |||||
| * | | | | Fix prev_content | Erik Johnston | 2014-12-11 | 1 | -0/+6 |
| | | | | | |||||
| * | | | | Fix redactions. Fix 'age' key | Erik Johnston | 2014-12-11 | 1 | -24/+36 |
| | | | | | |||||
| * | | | | Remove dead code | Erik Johnston | 2014-12-10 | 1 | -25/+0 |
| | | | | | |||||
| * | | | | Fix bug where we clobbered old state group values | Erik Johnston | 2014-12-10 | 2 | -2/+4 |
| | | | | | |||||
| * | | | | Fix bug when uploading state with empty state_key | Erik Johnston | 2014-12-10 | 2 | -1/+5 |
| | | | | | |||||
| * | | | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-10 | 5 | -3/+136 |
| |\ \ \ \ | | | |_|/ | | |/| | | |||||
| | * | | | Code style. | Erik Johnston | 2014-12-10 | 1 | -21/+29 |
| | | | | | |||||
| | * | | | squidge to 79 columns as per pep8 | Matthew Hodgson | 2014-12-10 | 1 | -6/+12 |
| | | | | | |||||
| | * | | | fix a million stupid bugs and make it actually work | Matthew Hodgson | 2014-12-08 | 1 | -11/+14 |
| | | | | | |||||
| | * | | | add a write-through cache on the retry schedule | Matthew Hodgson | 2014-12-08 | 1 | -4/+15 |
| | | | | | |||||
| | * | | | fix stupid syntax thinkos | Matthew Hodgson | 2014-12-07 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | track replication destination health, and perform exponential back-off when ↵ | Matthew Hodgson | 2014-12-07 | 5 | -3/+108 |
| | | |/ | | |/| | | | | | | | | | sending transactions. does *not* yet retry transactions, but drops them on the floor if waiting for a server to recover. | ||||
| * | | | Try and figure out how and why signatures are being changed. | Erik Johnston | 2014-12-10 | 1 | -10/+0 |
| | | | | |||||
| * | | | Change the way we implement get_events to be less sucky | Erik Johnston | 2014-12-09 | 2 | -36/+22 |
| | | | | |||||
| * | | | Remove unused import | Erik Johnston | 2014-12-08 | 1 | -1/+0 |
| | | | | |||||
| * | | | Various typos and bug fixes. | Erik Johnston | 2014-12-08 | 1 | -3/+3 |
| | | | | |||||
| * | | | Start making more things use EventContext rather than event.* | Erik Johnston | 2014-12-05 | 3 | -19/+25 |
| | | | | |||||
| * | | | Convert rest and handlers to use new event structure | Erik Johnston | 2014-12-04 | 1 | -1/+4 |
| | | | | |||||
| * | | | Begin converting things to use the new Event structure | Erik Johnston | 2014-12-04 | 1 | -0/+16 |
| | | | | |||||
| * | | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-03 | 1 | -1/+3 |
| |\| | | |||||
| * | | | Store full JSON of events in db | Erik Johnston | 2014-12-01 | 3 | -56/+50 |
| | | | | |||||
* | | | | schema version is now 10 | David Baker | 2014-12-18 | 2 | -1/+1 |
| | | | | |||||
* | | | | Merge branch 'master' into pushers | David Baker | 2014-12-18 | 1 | -1/+3 |
|\ \ \ \ | | |/ / | |/| | | |||||
| * | | | Workaround for non-uniqueness of room member events in the database ↵ | Paul "LeoNerd" Evans | 2014-12-02 | 1 | -1/+3 |
| |/ / | | | | | | | | | | confusing HAVING COUNT() test of room membership intersection (with thanks to Tom Molesworth) | ||||
* | | | Thank you, pyflakes | David Baker | 2014-12-18 | 1 | -1/+0 |
| | | | |||||
* | | | ...and bump SCHEMA_VERSION | David Baker | 2014-12-18 | 1 | -1/+1 |
| | | | |||||
* | | | Rename the pusher SQL delta to v9 which the next free one | David Baker | 2014-12-18 | 1 | -0/+0 |
| | | | |||||
* | | | after a few rethinks, a working implementation of pushers. | David Baker | 2014-12-18 | 4 | -30/+104 |
| | | | |||||
* | | | Update to app_id / app_instance_id (partially) and mangle to be PEP8 compliant. | David Baker | 2014-12-03 | 3 | -26/+38 |
| | | | |||||
* | | | Merge branch 'develop' into pushers | David Baker | 2014-12-02 | 6 | -24/+90 |
|\| | | |||||
| * | | Don't return outliers when we get recent events for rooms. | Erik Johnston | 2014-11-27 | 1 | -1/+1 |
| | | | |||||
| * | | Don't delete the entire current_state_events table | Erik Johnston | 2014-11-26 | 1 | -1/+4 |
| | | | |||||
| * | | Add update delta for schema change | Erik Johnston | 2014-11-26 | 2 | -1/+35 |
| | | | |||||
| * | | Update schema to support multiple signatures | Erik Johnston | 2014-11-26 | 1 | -1/+1 |
| | | | |||||
| * | | Correctly handle the case where we get an event for an unknown room, which ↵ | Erik Johnston | 2014-11-26 | 2 | -16/+40 |
| |/ | | | | | | | turns out we are actually in | ||||
| * | SYN-163: Add an order by rowid to selects. | Erik Johnston | 2014-11-24 | 1 | -5/+10 |
| | | | | | | | | | | | | | | This should fix the bug where the edges of the graph get returned in a different order than they were inserted in, and so no get_event no longer returned the exact same JSON as was inserted. This meant that signature checks failed. | ||||
* | | More work on pushers. Attempt to do HTTP pokes. Not sure if the actual HTTP ↵ | David Baker | 2014-11-21 | 3 | -4/+26 |
| | | | | | | | | pokes work or not yet but the retry semantics are pretty good. | ||||
* | | Merge branch 'develop' into pushers | David Baker | 2014-11-20 | 7 | -23/+28 |
|\| | |||||
| * | Fix pep8 codestyle warnings | Mark Haines | 2014-11-20 | 5 | -18/+24 |
| | | |||||
| * | Use module loggers rather than the root logger. Exceptions caused by bad ↵ | Mark Haines | 2014-11-20 | 2 | -2/+2 |
| | | | | | | | | clients shouldn't cause ERROR level logging. Fix sql logging to use 'repr' rather than 'str' | ||||
| * | Add a few missing yields, Move deferred lists inside PreserveLoggingContext ↵ | Mark Haines | 2014-11-20 | 2 | -3/+2 |
| | | | | | | | | because they don't interact well with the logging contexts | ||||
| * | Bump version, changelog and upgrade.rst | Erik Johnston | 2014-11-19 | 1 | -1/+1 |
| | | |||||
* | | Start creating a module to do generic notifications (just prints them to ↵ | David Baker | 2014-11-19 | 4 | -2/+158 |
|/ | | | | stdout currently!) | ||||
* | SYN-104: When going backwards the end token should be before the last event | Mark Haines | 2014-11-18 | 1 | -0/+3 |
| | |||||
* | SYN-149: Send join event immediately after the room create event | Mark Haines | 2014-11-18 | 1 | -0/+5 |
| | |||||
* | Split out sending the room alias events from creating the alias so that we ↵ | Mark Haines | 2014-11-18 | 1 | -7/+12 |
| | | | | can do them in the right point when creating a room | ||||
* | Merge PDUs and Events into one object | Mark Haines | 2014-11-14 | 1 | -0/+8 |
| | |||||
* | Fix PDU and event signatures | Mark Haines | 2014-11-14 | 2 | -3/+3 |
| | |||||
* | Merge branch 'develop' into request_logging | Mark Haines | 2014-11-14 | 17 | -1554/+1315 |
|\ | | | | | | | | | | | | | Conflicts: setup.py synapse/storage/_base.py synapse/util/async.py | ||||
| * | Store all signatures on events rather than just dropping them | Erik Johnston | 2014-11-12 | 4 | -21/+31 |
| | | |||||
| * | Update some of the docs in event_federation | Erik Johnston | 2014-11-12 | 1 | -11/+20 |
| | | |||||
| * | Document StateStore and use transactions | Erik Johnston | 2014-11-12 | 1 | -28/+56 |
| | | |||||
| * | Add indices to state group tables | Erik Johnston | 2014-11-12 | 1 | -0/+13 |
| | | |||||
| * | Fix bugs with invites/joins across federatiom. | Erik Johnston | 2014-11-12 | 2 | -6/+17 |
| | | | | | | | | | | Both in terms of auth and not trying to fetch missing PDUs for invites, joins etc. | ||||
| * | Fix bug where we /always/ created a new state group | Erik Johnston | 2014-11-11 | 1 | -7/+2 |
| | | |||||
| * | Add an EventValidator. Fix bugs in auth ++ storage | Erik Johnston | 2014-11-10 | 3 | -20/+26 |
| | | |||||
| * | Fix regression where we did not return redacted events. | Erik Johnston | 2014-11-10 | 1 | -1/+2 |
| | | |||||
| * | PEP8 | Erik Johnston | 2014-11-10 | 2 | -9/+7 |
| | | |||||
| * | Fix backfill to work. Add auth to backfill request | Erik Johnston | 2014-11-10 | 2 | -2/+14 |
| | | |||||
| * | Notify users about invites. | Erik Johnston | 2014-11-10 | 1 | -2/+1 |
| | | |||||
| * | Tidy up some of the unused sql tables | Erik Johnston | 2014-11-10 | 3 | -107/+9 |
| | | |||||
| * | Finish redaction algorithm. | Erik Johnston | 2014-11-10 | 1 | -1/+1 |
| | | |||||
| * | Add '/event_auth/' federation api | Erik Johnston | 2014-11-07 | 1 | -7/+19 |
| | | |||||
| * | Fix bug in _get_auth_chain_txn | Erik Johnston | 2014-11-07 | 1 | -14/+11 |
| | | |||||
| * | Fix joining over federation | Erik Johnston | 2014-11-07 | 1 | -0/+1 |
| | | |||||
| * | Implement method to get auth_chain from a given event_id | Erik Johnston | 2014-11-07 | 1 | -0/+35 |
| | | |||||
| * | Start implementing auth chains | Erik Johnston | 2014-11-07 | 5 | -1/+56 |
| | | |||||
| * | Amalgamate all power levels. | Erik Johnston | 2014-11-06 | 2 | -169/+0 |
| | | | | | | | | | | Remove concept of reqired power levels, something similiar can be done using the new power level event. | ||||
| * | Implement new replace_state and changed prev_state | Erik Johnston | 2014-11-06 | 4 | -59/+203 |
| | | | | | | | | | | `prev_state` is now a list of previous state ids, similiar to prev_events. `replace_state` now points to what we think was replaced. | ||||
| * | Get correct prev_events | Erik Johnston | 2014-11-05 | 2 | -15/+26 |
| | | |||||
| * | Remove unused imports | Erik Johnston | 2014-11-04 | 1 | -2/+0 |
| | | |||||
| * | For now, don't store txn -> pdu mappings. | Erik Johnston | 2014-11-03 | 1 | -4/+3 |
| | | |||||
| * | Formatting | Erik Johnston | 2014-11-03 | 1 | -1/+4 |
| | | |||||
| * | Sign evnets | Erik Johnston | 2014-10-31 | 1 | -0/+6 |
| | | |||||
| * | Remove unused signature storage methods | Erik Johnston | 2014-10-31 | 1 | -138/+1 |
| | | |||||
| * | Remove unused sql file. | Erik Johnston | 2014-10-31 | 1 | -31/+0 |
| | | |||||
| * | Make prev_event signing work again. | Erik Johnston | 2014-10-31 | 2 | -7/+6 |
| | | |||||
| * | Remove more references to dead PDU tables | Erik Johnston | 2014-10-31 | 2 | -75/+0 |
| | | |||||
| * | Remove PDU tables. | Erik Johnston | 2014-10-31 | 4 | -1159/+1 |
| | | |||||
| * | Actually don't store any PDUs | Erik Johnston | 2014-10-31 | 1 | -0/+7 |
| | | |||||
| * | Don't store any PDUs | Erik Johnston | 2014-10-31 | 1 | -9/+9 |
| | | |||||
| * | Move the impl of backfill to use events. | Erik Johnston | 2014-10-31 | 1 | -1/+85 |
| | | |||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-30 | 2 | -4/+7 |
| |\ | | | | | | | | | | federation_authorization | ||||
| * | | Fix SQL so that accepts we may want to persist events twice. | Erik Johnston | 2014-10-30 | 2 | -25/+47 |
| | | | |||||
| * | | Start filling out and using new events tables | Erik Johnston | 2014-10-29 | 4 | -46/+89 |
| | | | |||||
| * | | Don't reference PDU when persisting event | Erik Johnston | 2014-10-28 | 2 | -4/+5 |
| | | | |||||
| * | | Begin implementing all the PDU storage stuff in Events land | Erik Johnston | 2014-10-28 | 7 | -37/+475 |
| | | | |||||
| * | | Add transaction level logging and timing information. Add a _simple_delete ↵ | Erik Johnston | 2014-10-28 | 9 | -21/+91 |
| | | | | | | | | | | | | method | ||||
| * | | Clean up LoggingTransaction | Erik Johnston | 2014-10-28 | 1 | -10/+4 |
| | | | |||||
| * | | Add timer to LoggingTransaction | Erik Johnston | 2014-10-28 | 1 | -3/+10 |
| | | | |||||
| * | | Merge branch 'event_signing' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-27 | 5 | -14/+288 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | federation_authorization Conflicts: synapse/storage/__init__.py | ||||
| | * | | fix pyflakes warnings | Mark Haines | 2014-10-27 | 1 | -2/+0 |
| | | | | |||||
| | * | | Merge branch 'develop' into event_signing | Mark Haines | 2014-10-27 | 3 | -5/+36 |
| | |\ \ | |||||
| | * \ \ | Merge branch 'develop' into event_signing | Mark Haines | 2014-10-17 | 3 | -7/+11 |
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/federation/replication.py | ||||
| | * | | | | Hash the same content covered by the signature when referencing previous ↵ | Mark Haines | 2014-10-17 | 4 | -9/+66 |
| | | | | | | | | | | | | | | | | | | | | | | | | PDUs rather than reusing the PDU content hashes | ||||
| | * | | | | Include hashes of previous pdus when referencing them | Mark Haines | 2014-10-16 | 4 | -12/+77 |
| | | | | | | |||||
| | * | | | | Sign outgoing PDUs. | Mark Haines | 2014-10-16 | 2 | -6/+7 |
| | | | | | | |||||
| | * | | | | persist hashes and origin signatures for PDUs | Mark Haines | 2014-10-15 | 3 | -5/+31 |
| | | | | | | |||||
| | * | | | | Storage for pdu signatures | Mark Haines | 2014-10-14 | 2 | -0/+126 |
| | | | | | | |||||
| * | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-27 | 4 | -11/+47 |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | federation_authorization Conflicts: synapse/federation/transport.py synapse/handlers/message.py | ||||
| * | | | | | | Use state groups to get current state. Make join dance actually work. | Erik Johnston | 2014-10-17 | 2 | -0/+9 |
| | | | | | | | |||||
| * | | | | | | Begin making auth use event.old_state_events | Erik Johnston | 2014-10-15 | 2 | -2/+2 |
| | | | | | | | |||||
| * | | | | | | Add missing package storate.state | Erik Johnston | 2014-10-15 | 1 | -0/+97 |
| | | | | | | | |||||
| * | | | | | | Begin implementing state groups. | Erik Johnston | 2014-10-14 | 2 | -1/+38 |
| | |/ / / / | |/| | | | | |||||
* | | | | | | Merge branch 'develop' into request_logging | Mark Haines | 2014-10-30 | 2 | -4/+7 |
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | Conflicts: synapse/config/logger.py | ||||
| * | | | | | Fix pep8 warnings | Mark Haines | 2014-10-30 | 2 | -4/+7 |
| | |_|_|/ | |/| | | | |||||
* / | | | | Add a request-id to each log line | Mark Haines | 2014-10-30 | 1 | -4/+12 |
|/ / / / | |||||
* | / / | Fix pyflakes warnings | Mark Haines | 2014-10-27 | 1 | -1/+0 |
| |/ / |/| | | |||||
* | | | Wrap preparing the database in a transaction. Otherwise it will take many ↵ | Mark Haines | 2014-10-24 | 1 | -3/+4 |
| | | | | | | | | | | | | seconds to complete because sqlite will create a transaction per statement | ||||
* | | | Bump database version number. | Erik Johnston | 2014-10-17 | 2 | -1/+32 |
| |/ |/| | |||||
* | | keep 'origin_server_ts' as 'ts' in the database to avoid needlessly updating ↵ | Mark Haines | 2014-10-17 | 6 | -11/+15 |
| | | | | | | | | schema | ||||
* | | SPEC-7: Rename 'ts' to 'origin_server_ts' | Mark Haines | 2014-10-17 | 5 | -12/+12 |
|/ | |||||
* | Respond with more helpful error messages for unsigned requests | Mark Haines | 2014-10-13 | 2 | -4/+9 |
| | |||||
* | Merge branch 'develop' into server2server_signing | Mark Haines | 2014-09-30 | 12 | -33/+227 |
|\ | | | | | | | | | | | Conflicts: synapse/storage/__init__.py tests/rest/test_presence.py | ||||
| * | pyflakes cleanup | Erik Johnston | 2014-09-30 | 2 | -2/+1 |
| | | |||||
| * | SYN-2: Allow server admins to delete room aliases | Erik Johnston | 2014-09-30 | 1 | -0/+30 |
| | | |||||
| * | Update docstring | Erik Johnston | 2014-09-29 | 1 | -1/+2 |
| | | |||||
| * | SYN-48: Delete dead code | Erik Johnston | 2014-09-29 | 1 | -26/+0 |
| | | |||||
| * | SYN-48: Implement WHOIS rest servlet | Erik Johnston | 2014-09-29 | 4 | -15/+57 |
| | | |||||
| * | Add auth check to test if a user is an admin or not. | Erik Johnston | 2014-09-29 | 1 | -0/+8 |
| | | |||||
| * | SYN-48: Track User-Agents as well as IPs for client devices. | Erik Johnston | 2014-09-29 | 3 | -4/+10 |
| | | |||||
| * | Track the IP users connect with. Add an admin column to users table. | Erik Johnston | 2014-09-26 | 3 | -1/+35 |
| | | |||||
| * | Merge branch 'deletions' of github.com:matrix-org/synapse into develop | Erik Johnston | 2014-09-25 | 8 | -19/+118 |
| |\ | |||||
| | * | Add LIMIT to scalar subquery | Erik Johnston | 2014-09-25 | 3 | -5/+10 |
| | | | |||||
| | * | Rename deletions to redactions | Erik Johnston | 2014-09-24 | 9 | -49/+52 |
| | | | |||||
| | * | Make deleting deletes not undelete | Erik Johnston | 2014-09-24 | 1 | -14/+4 |
| | | | |||||
| | * | Fix bug where we didn't correctly pull out the event_id of the deletion | Erik Johnston | 2014-09-24 | 2 | -3/+8 |
| | | | |||||
| | * | Add v4 deltas to current sql. | Erik Johnston | 2014-09-24 | 3 | -1/+10 |
| | | | |||||
| | * | Rename 'pruned' to 'pruned_because' | Erik Johnston | 2014-09-23 | 2 | -2/+2 |
| | | | |||||
| | * | SYN-12: Implement auth for deletion by adding a 'delete_level' on the ops ↵ | Erik Johnston | 2014-09-23 | 2 | -3/+11 |
| | | | | | | | | | | | | | | | | | | levels event SYN-12 # comment Auth has been added. | ||||
| | * | Make sure we don't persist the 'pruned' key | Erik Johnston | 2014-09-23 | 1 | -1/+1 |
| | | | |||||
| | * | Add m.room.deletion. If an event is deleted it will be returned to clients ↵ | Erik Johnston | 2014-09-23 | 5 | -17/+91 |
| | | | | | | | | | | | | 'pruned', i.e. all client specified keys will be removed. | ||||
| | * | Add a deletions table | Erik Johnston | 2014-09-22 | 1 | -0/+5 |
| | | | |||||
| * | | Fix bug where we tried to insert state events with null state key | Erik Johnston | 2014-09-25 | 1 | -1/+2 |
| |/ | |||||
* / | SYN-75 Verify signatures on server to server transactions | Mark Haines | 2014-09-30 | 3 | -37/+52 |
|/ | |||||
* | SYN-47: Fix bug where we still returned events for rooms we had left. | Erik Johnston | 2014-09-19 | 1 | -1/+1 |
| | | | | SYN-47 #resolve | ||||
* | Merge branch 'develop' into test-sqlite-memory | Paul "LeoNerd" Evans | 2014-09-17 | 1 | -5/+10 |
|\ | |||||
| * | Correctly handle receiving 'missing' Pdus from federation, rather than just ↵ | Erik Johnston | 2014-09-15 | 1 | -5/+10 |
| | | | | | | | | discarding them. | ||||
* | | Merge remote-tracking branch 'origin/develop' into test-sqlite-memory | Paul "LeoNerd" Evans | 2014-09-15 | 3 | -3/+13 |
|\| | |||||
| * | Correctly handle the 'age' key in events and pdus | Erik Johnston | 2014-09-15 | 1 | -0/+4 |
| | | |||||
| * | Fix bug where we relied on the current_state_events being updated when we ↵ | Erik Johnston | 2014-09-12 | 1 | -2/+2 |
| | | | | | | | | are handling type specific persistence | ||||
| * | Fix bug where we no longer stored user_id on Pdus | Erik Johnston | 2014-09-12 | 1 | -1/+7 |
| | | |||||
* | | Merge remote-tracking branch 'origin/develop' into test-sqlite-memory | Paul "LeoNerd" Evans | 2014-09-12 | 3 | -84/+64 |
|\| | | | | | | | | | Conflicts: synapse/storage/pdu.py | ||||
| * | Make the state resolution use actual power levels rather than taking them ↵ | Erik Johnston | 2014-09-12 | 2 | -71/+18 |
| | | | | | | | | from a Pdu key. | ||||
| * | Fix bug where we incorrectly removed a remote host from the list of hosts in ↵ | Erik Johnston | 2014-09-12 | 1 | -12/+45 |
| | | | | | | | | a room when any user from that host left that room even if they weren't the last user from that host in that room | ||||
| * | Fix bug where we didn't return a tuple when expected. | Erik Johnston | 2014-09-12 | 1 | -1/+1 |
| | | |||||
* | | More accurate docs / clearer paramter names in RoomMemberStore | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -6/+7 |
| | | |||||
* | | Revert recent changes to RoomMemberStore | Paul "LeoNerd" Evans | 2014-09-12 | 2 | -28/+10 |
| | | |||||
* | | Now don't need the other logger.debug() call in _execute | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -5/+0 |
| | | |||||
* | | Logging of all SQL queries via the 'synapse.storage.SQL' logger | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -2/+43 |
| | | |||||
* | | Add a .runInteraction() method on SQLBaseStore itself to wrap the .db_pool | Paul "LeoNerd" Evans | 2014-09-12 | 8 | -33/+42 |
| | | |||||
* | | Add a better _store_room_member_txn() method that takes separated fields ↵ | Paul "LeoNerd" Evans | 2014-09-11 | 1 | -8/+21 |
| | | | | | | | | instead of an event object; also add FIXME comment about a big bug in the logic | ||||
* | | Rename _store_room_member_txn to _store_room_member_from_event_txn so we can ↵ | Paul "LeoNerd" Evans | 2014-09-11 | 2 | -2/+2 |
| | | | | | | | | create another, more sensible function of that name | ||||
* | | prepare_database() on db_conn, not plain name, so we can pass in the ↵ | Paul "LeoNerd" Evans | 2014-09-10 | 1 | -31/+26 |
| | | | | | | | | connection from outside | ||||
* | | Move database preparing code out of homserver.py into storage where it belongs | Paul "LeoNerd" Evans | 2014-09-10 | 1 | -0/+61 |
|/ | |||||
* | Fix bug where we used an unbound local variable if we ended up rolling back ↵ | Erik Johnston | 2014-09-09 | 1 | -4/+1 |
| | | | | the persist_event transaction | ||||
* | Apparently we can't do txn.rollback(), so raise and catch an exception instead. | Erik Johnston | 2014-09-08 | 1 | -11/+19 |
| | |||||
* | Fix bug in state handling where we incorrectly identified a missing pdu. ↵ | Erik Johnston | 2014-09-08 | 1 | -3/+6 |
| | | | | Update tests to catch this case. | ||||
* | Rollback if we try and insert duplicate events | Erik Johnston | 2014-09-08 | 1 | -0/+1 |
| | |||||
* | When getting a state event also include the previous content | Erik Johnston | 2014-09-06 | 4 | -12/+37 |
| | |||||
* | Generate m.room.aliases event when the HS creates a room alias | Erik Johnston | 2014-09-05 | 2 | -0/+34 |
| | |||||
* | Add support to _simple_insert() to do INSERT OR REPLACE | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -4/+6 |
| | |||||
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 23 | -23/+23 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | Store SQL DDL deltas as well; attempt to upgrade the database on startup if ↵ | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -0/+168 |
| | | | | it's too old | ||||
* | Rename the 'do_users_share_a_room' to something slightly less verb-sounding | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -1/+1 |
| | |||||
* | Add copyright notices and fix pyflakes errors | Mark Haines | 2014-09-03 | 1 | -0/+15 |
| | |||||
* | Fix bug where we didn't correctly store the ops power levels event. | Erik Johnston | 2014-09-02 | 2 | -1/+4 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into room_config | Erik Johnston | 2014-09-01 | 3 | -1/+135 |
|\ | |||||
| * | Fix homeserver config parsing | Mark Haines | 2014-09-01 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'develop' into server2server_tls | Mark Haines | 2014-08-31 | 1 | -3/+6 |
| |\ | |||||
| * | | Add store for server certificates and keys | Mark Haines | 2014-08-28 | 3 | -1/+135 |
| | | | |||||
* | | | Add all the necessary checks to make banning work. | Erik Johnston | 2014-09-01 | 2 | -3/+2 |
| | | | |||||
* | | | Add beginnings of ban support. | Erik Johnston | 2014-09-01 | 3 | -7/+63 |
| | | | |||||
* | | | Implement power level lists, default power levels and ↵ | Erik Johnston | 2014-09-01 | 3 | -22/+99 |
| | | | | | | | | | | | | send_evnet_level/add_state_level events. | ||||
* | | | Start adding storage for new events. | Erik Johnston | 2014-08-29 | 3 | -0/+121 |
| |/ |/| | |||||
* | | Get the equalities right. | Erik Johnston | 2014-08-29 | 1 | -2/+5 |
| | | |||||
* | | Initial room event stream token must be s0, not s1, or everyone will miss ↵ | Paul "LeoNerd" Evans | 2014-08-28 | 1 | -1/+1 |
|/ | | | | the very first room event | ||||
* | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 1 | -2/+2 |
|\ | | | | | | | | | | | Conflicts: synapse/handlers/room.py synapse/storage/stream.py | ||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactor | Erik Johnston | 2014-08-27 | 1 | -1/+0 |
| |\ | | | | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/events.py synapse/rest/events.py synapse/rest/room.py | ||||
| * \ | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactor | Erik Johnston | 2014-08-26 | 1 | -2/+2 |
| |\ \ | |||||
| * | | | WIP: Completely change how event streaming and pagination work. This ↵ | Erik Johnston | 2014-08-26 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | reflects the change in the underlying storage model. | ||||
* | | | | Return the store_id from persist_event | Mark Haines | 2014-08-27 | 1 | -1/+3 |
| | | | | |||||
* | | | | add _get_room_member, fix datastore methods | Mark Haines | 2014-08-27 | 2 | -8/+26 |
| | | | | |||||
* | | | | Fill out prev_events before calling persist_event | Mark Haines | 2014-08-27 | 1 | -6/+15 |
| | | | | |||||
* | | | | Remove unused populate_previous_pdus | Mark Haines | 2014-08-27 | 1 | -6/+1 |
| | | | | |||||
* | | | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 2 | -3/+2 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | Added support for GET /events/$eventid with auth checks. | Kegan Dougal | 2014-08-27 | 1 | -1/+0 |
| | |/ | |/| | |||||
| * | | Feedback: Removed FeedbackRestServlet. Modified keys on FeedbackEvent. ↵ | Kegan Dougal | 2014-08-26 | 1 | -2/+2 |
| |/ | | | | | | | Expanded the feedback constants to fully explain what type of feedback they are. | ||||
* | | Fold federation/handler into handlers/federation | Mark Haines | 2014-08-26 | 1 | -1/+3 |
| | | |||||
* | | Move pdu and event persistence into a single persist_event function | Mark Haines | 2014-08-26 | 2 | -21/+33 |
| | | |||||
* | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-26 | 7 | -27/+69 |
|\| | | | | | | | | | | | | | Conflicts: synapse/api/auth.py synapse/handlers/room.py synapse/storage/__init__.py |