Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge changes from develop | Mark Haines | 2015-01-29 | 1 | -0/+40 |
|\ | |||||
| * | Move pushers delta to v12 and bump schema version | David Baker | 2015-01-28 | 1 | -1/+1 |
| | | |||||
| * | Add brackets to make get room name / alias work | David Baker | 2015-01-26 | 1 | -2/+2 |
| | | |||||
| * | oops, this is not its own schema file | David Baker | 2015-01-22 | 1 | -1/+0 |
| | | |||||
| * | Oops: second part of commit dc938606 | David Baker | 2015-01-22 | 1 | -0/+3 |
| | | |||||
| * | Send room name and first alias in notification poke. | David Baker | 2015-01-15 | 1 | -0/+35 |
| | | |||||
| * | Merge branch 'develop' into pushers | David Baker | 2015-01-13 | 1 | -5/+3 |
| |\ | |||||
| * \ | Merge branch 'develop' into pushers | David Baker | 2014-12-18 | 1 | -129/+70 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/api/errors.py synapse/server.py synapse/storage/__init__.py | ||||
| * | | | schema version is now 10 | David Baker | 2014-12-18 | 1 | -1/+1 |
| | | | | |||||
| * | | | ...and bump SCHEMA_VERSION | David Baker | 2014-12-18 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge branch 'develop' into pushers | David Baker | 2014-12-02 | 1 | -16/+43 |
| |\ \ \ | |||||
| * \ \ \ | Merge branch 'develop' into pushers | David Baker | 2014-11-20 | 1 | -1/+1 |
| |\ \ \ \ | |||||
| * | | | | | Start creating a module to do generic notifications (just prints them to ↵ | David Baker | 2014-11-19 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | stdout currently!) | ||||
* | | | | | | Created schema delta | Paul "LeoNerd" Evans | 2015-01-27 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Initial stab at real SQL storage implementation of user filter definitions | Paul "LeoNerd" Evans | 2015-01-27 | 1 | -0/+1 |
| | | | | | | |||||
* | | | | | | Move storage of user filters into real datastore layer; now have to mock it ↵ | Paul "LeoNerd" Evans | 2015-01-27 | 1 | -1/+2 |
| |_|_|_|/ |/| | | | | | | | | | | | | | | out in the REST-level tests | ||||
* | | | | | Add delta and bump DB version | Erik Johnston | 2015-01-06 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | 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 | ||||
| * | | | | Merge branch 'release-v0.6.0' into develop | Mark Haines | 2014-12-16 | 1 | -1/+13 |
| |\ \ \ \ | |||||
| * | | | | | 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 | ||||
* | | | | | | Use is_outlier() so that we don't get AttributeError | Erik Johnston | 2014-12-16 | 1 | -3/+1 |
| |/ / / / |/| | | | | |||||
* | | | | | 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 |
|/ / / / | |||||
* | | | | Update upgrade script | Erik Johnston | 2014-12-16 | 1 | -1/+1 |
| | | | | |||||
* | | | | Persist internal_metadata | Erik Johnston | 2014-12-16 | 1 | -0/+5 |
| | | | | |||||
* | | | | 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 | 1 | -1/+0 |
| | | | | |||||
* | | | | Store json as UTF-8 and not bytes | Erik Johnston | 2014-12-12 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-11 | 1 | -1/+5 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: setup.py | ||||
| * \ \ \ | Merge branch 'develop' into media_repository | Mark Haines | 2014-12-10 | 1 | -1/+1 |
| |\ \ \ \ | |||||
| * \ \ \ \ | Merge branch 'develop' into media_repository | Mark Haines | 2014-12-10 | 1 | -16/+43 |
| |\ \ \ \ \ | | | |_|_|/ | | |/| | | | |||||
| * | | | | | Get uploads working with new media repo | Mark Haines | 2014-12-02 | 1 | -1/+5 |
| | |_|_|/ | |/| | | | |||||
* | | | | | Fix bug where we clobbered old state group values | Erik Johnston | 2014-12-10 | 1 | -1/+2 |
| | | | | | |||||
* | | | | | Fix bug when uploading state with empty state_key | Erik Johnston | 2014-12-10 | 1 | -1/+3 |
| | | | | | |||||
* | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-10 | 1 | -1/+1 |
|\ \ \ \ \ | | |_|/ / | |/| | | | |||||
| * | | | | track replication destination health, and perform exponential back-off when ↵ | Matthew Hodgson | 2014-12-07 | 1 | -1/+1 |
| | |/ / | |/| | | | | | | | | | | 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 | 1 | -17/+7 |
| | | | | |||||
* | | | | Start making more things use EventContext rather than event.* | Erik Johnston | 2014-12-05 | 1 | -10/+13 |
| | | | | |||||
* | | | | Store full JSON of events in db | Erik Johnston | 2014-12-01 | 1 | -0/+19 |
|/ / / | |||||
* | | | 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 | 1 | -1/+1 |
| | | | |||||
* | | | Correctly handle the case where we get an event for an unknown room, which ↵ | Erik Johnston | 2014-11-26 | 1 | -15/+39 |
|/ / | | | | | | | turns out we are actually in | ||||
* | | Use module loggers rather than the root logger. Exceptions caused by bad ↵ | Mark Haines | 2014-11-20 | 1 | -1/+1 |
| | | | | | | | | clients shouldn't cause ERROR level logging. Fix sql logging to use 'repr' rather than 'str' | ||||
* | | Bump version, changelog and upgrade.rst | Erik Johnston | 2014-11-19 | 1 | -1/+1 |
|/ | |||||
* | Fix PDU and event signatures | Mark Haines | 2014-11-14 | 1 | -2/+2 |
| | |||||
* | Store all signatures on events rather than just dropping them | Erik Johnston | 2014-11-12 | 1 | -7/+8 |
| | |||||
* | Fix bugs with invites/joins across federatiom. | Erik Johnston | 2014-11-12 | 1 | -3/+11 |
| | | | | | Both in terms of auth and not trying to fetch missing PDUs for invites, joins etc. | ||||
* | PEP8 | Erik Johnston | 2014-11-10 | 1 | -3/+4 |
| | |||||
* | Tidy up some of the unused sql tables | Erik Johnston | 2014-11-10 | 1 | -18/+3 |
| | |||||
* | Fix joining over federation | Erik Johnston | 2014-11-07 | 1 | -0/+1 |
| | |||||
* | Start implementing auth chains | Erik Johnston | 2014-11-07 | 1 | -1/+11 |
| | |||||
* | Amalgamate all power levels. | Erik Johnston | 2014-11-06 | 1 | -12/+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 | 1 | -23/+69 |
| | | | | | `prev_state` is now a list of previous state ids, similiar to prev_events. `replace_state` now points to what we think was replaced. | ||||
* | Formatting | Erik Johnston | 2014-11-03 | 1 | -1/+4 |
| | |||||
* | Sign evnets | Erik Johnston | 2014-10-31 | 1 | -0/+6 |
| | |||||
* | Make prev_event signing work again. | Erik Johnston | 2014-10-31 | 1 | -6/+5 |
| | |||||
* | Remove more references to dead PDU tables | Erik Johnston | 2014-10-31 | 1 | -9/+0 |
| | |||||
* | Remove PDU tables. | Erik Johnston | 2014-10-31 | 1 | -59/+1 |
| | |||||
* | Start filling out and using new events tables | Erik Johnston | 2014-10-29 | 1 | -19/+26 |
| | |||||
* | Don't reference PDU when persisting event | Erik Johnston | 2014-10-28 | 1 | -2/+3 |
| | |||||
* | Begin implementing all the PDU storage stuff in Events land | Erik Johnston | 2014-10-28 | 1 | -17/+55 |
| | |||||
* | Add transaction level logging and timing information. Add a _simple_delete ↵ | Erik Johnston | 2014-10-28 | 1 | -1/+2 |
| | | | | method | ||||
* | Merge branch 'event_signing' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-27 | 1 | -7/+44 |
|\ | | | | | | | | | | | | | federation_authorization Conflicts: synapse/storage/__init__.py | ||||
| * | Merge branch 'develop' into event_signing | Mark Haines | 2014-10-27 | 1 | -4/+5 |
| |\ | |||||
| * \ | Merge branch 'develop' into event_signing | Mark Haines | 2014-10-17 | 1 | -0/+2 |
| |\ \ | | | | | | | | | | | | | | | | | Conflicts: synapse/federation/replication.py | ||||
| * | | | Hash the same content covered by the signature when referencing previous ↵ | Mark Haines | 2014-10-17 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | PDUs rather than reusing the PDU content hashes | ||||
| * | | | Include hashes of previous pdus when referencing them | Mark Haines | 2014-10-16 | 1 | -6/+14 |
| | | | | |||||
| * | | | Sign outgoing PDUs. | Mark Haines | 2014-10-16 | 1 | -3/+4 |
| | | | | |||||
| * | | | persist hashes and origin signatures for PDUs | Mark Haines | 2014-10-15 | 1 | -1/+20 |
| | | | | |||||
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-27 | 1 | -4/+7 |
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | federation_authorization Conflicts: synapse/federation/transport.py synapse/handlers/message.py | ||||
| * | | | 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 | 1 | -1/+1 |
| | |/ | |/| | |||||
| * | | keep 'origin_server_ts' as 'ts' in the database to avoid needlessly updating ↵ | Mark Haines | 2014-10-17 | 1 | -0/+2 |
| |/ | | | | | | | schema | ||||
* / | Begin implementing state groups. | Erik Johnston | 2014-10-14 | 1 | -1/+5 |
|/ | |||||
* | Merge branch 'develop' into server2server_signing | Mark Haines | 2014-09-30 | 1 | -6/+47 |
|\ | | | | | | | | | | | Conflicts: synapse/storage/__init__.py tests/rest/test_presence.py | ||||
| * | pyflakes cleanup | Erik Johnston | 2014-09-30 | 1 | -1/+1 |
| | | |||||
| * | SYN-48: Delete dead code | Erik Johnston | 2014-09-29 | 1 | -26/+0 |
| | | |||||
| * | SYN-48: Implement WHOIS rest servlet | Erik Johnston | 2014-09-29 | 1 | -2/+38 |
| | | |||||
| * | SYN-48: Track User-Agents as well as IPs for client devices. | Erik Johnston | 2014-09-29 | 1 | -2/+4 |
| | | |||||
| * | Track the IP users connect with. Add an admin column to users table. | Erik Johnston | 2014-09-26 | 1 | -1/+11 |
| | | |||||
| * | Merge branch 'deletions' of github.com:matrix-org/synapse into develop | Erik Johnston | 2014-09-25 | 1 | -4/+22 |
| |\ | |||||
| | * | Add LIMIT to scalar subquery | Erik Johnston | 2014-09-25 | 1 | -1/+2 |
| | | | |||||
| | * | Rename deletions to redactions | Erik Johnston | 2014-09-24 | 1 | -11/+12 |
| | | | |||||
| | * | 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 | 1 | -1/+5 |
| | | | |||||
| | * | Add v4 deltas to current sql. | Erik Johnston | 2014-09-24 | 1 | -0/+1 |
| | | | |||||
| | * | Rename 'pruned' to 'pruned_because' | Erik Johnston | 2014-09-23 | 1 | -1/+1 |
| | | | |||||
| | * | 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 | 1 | -4/+25 |
| | | | | | | | | | | | | 'pruned', i.e. all client specified keys will be removed. | ||||
| * | | 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 | 1 | -0/+1 |
|/ | |||||
* | 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 | 1 | -1/+7 |
|\| | |||||
| * | Fix bug where we no longer stored user_id on Pdus | Erik Johnston | 2014-09-12 | 1 | -1/+7 |
| | | |||||
* | | Revert recent changes to RoomMemberStore | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -1/+1 |
| | | |||||
* | | Add a .runInteraction() method on SQLBaseStore itself to wrap the .db_pool | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -2/+2 |
| | | |||||
* | | Rename _store_room_member_txn to _store_room_member_from_event_txn so we can ↵ | Paul "LeoNerd" Evans | 2014-09-11 | 1 | -1/+1 |
| | | | | | | | | 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 |
| | |||||
* | 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 | 1 | -2/+7 |
| | |||||
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 1 | -1/+1 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | Fix bug where we didn't correctly store the ops power levels event. | Erik Johnston | 2014-09-02 | 1 | -0/+3 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into room_config | Erik Johnston | 2014-09-01 | 1 | -1/+2 |
|\ | |||||
| * | Add store for server certificates and keys | Mark Haines | 2014-08-28 | 1 | -1/+2 |
| | | |||||
* | | Add beginnings of ban support. | Erik Johnston | 2014-09-01 | 1 | -2/+0 |
| | | |||||
* | | Implement power level lists, default power levels and ↵ | Erik Johnston | 2014-09-01 | 1 | -5/+7 |
| | | | | | | | | send_evnet_level/add_state_level events. | ||||
* | | Start adding storage for new events. | Erik Johnston | 2014-08-29 | 1 | -0/+9 |
|/ | |||||
* | 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 | 1 | -6/+6 |
| | |||||
* | Fill out prev_events before calling persist_event | Mark Haines | 2014-08-27 | 1 | -6/+15 |
| | |||||
* | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 1 | -1/+0 |
|\ | |||||
| * | Added support for GET /events/$eventid with auth checks. | Kegan Dougal | 2014-08-27 | 1 | -1/+0 |
| | | |||||
* | | 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 | 1 | -2/+30 |
| | | |||||
* | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-26 | 1 | -2/+8 |
|\| | | | | | | | | | | | | | Conflicts: synapse/api/auth.py synapse/handlers/room.py synapse/storage/__init__.py | ||||
| * | Fix pyflakes errors | Mark Haines | 2014-08-26 | 1 | -2/+3 |
| | | |||||
| * | Don't return state event outlier's when paginating. | Erik Johnston | 2014-08-22 | 1 | -1/+6 |
| | | |||||
* | | fix a few pyflakes errors | Mark Haines | 2014-08-26 | 1 | -3/+3 |
| | | |||||
* | | Move the event storage into a single transaction | Mark Haines | 2014-08-26 | 1 | -27/+32 |
| | | |||||
* | | Take a snapshot of the state of the room before performing updates | Mark Haines | 2014-08-22 | 1 | -0/+64 |
|/ | |||||
* | Give the event_id of the failed event | Erik Johnston | 2014-08-20 | 1 | -1/+4 |
| | |||||
* | Fix bug where we sometimes set min_token to None. | Erik Johnston | 2014-08-19 | 1 | -1/+2 |
| | |||||
* | Add a 'backfill room' button | Erik Johnston | 2014-08-19 | 1 | -4/+18 |
| | |||||
* | SQL doesn't allow AUTOINCREMENT on non PRIMARY KEY columns. | Erik Johnston | 2014-08-18 | 1 | -2/+19 |
| | |||||
* | Add two different columns for ordering the events table, one which can be ↵ | Erik Johnston | 2014-08-18 | 1 | -4/+14 |
| | | | | used for pagination and one which can be as tokens for notifying clients. Also add a 'processed' field which is currently always set to True | ||||
* | We no longer need to special case room config events. | Erik Johnston | 2014-08-15 | 1 | -2/+2 |
| | |||||
* | PEP8 cleanups | Erik Johnston | 2014-08-15 | 1 | -1/+5 |
| | |||||
* | Correctly return new token when returning events. Serialize events correctly. | Erik Johnston | 2014-08-15 | 1 | -1/+5 |
| | |||||
* | Start chagning the events stream to work with the new DB schema | Erik Johnston | 2014-08-15 | 1 | -1/+9 |
| | |||||
* | Reimplement the get public rooms api to work with new DB schema | Erik Johnston | 2014-08-15 | 1 | -1/+5 |
| | |||||
* | Fix up typos and correct sql queries | Erik Johnston | 2014-08-14 | 1 | -10/+10 |
| | |||||
* | Start fixing places that use the data store. | Erik Johnston | 2014-08-14 | 1 | -5/+3 |
| | |||||
* | Fix typo | Erik Johnston | 2014-08-14 | 1 | -1/+1 |
| | |||||
* | Rename _execute_query | Erik Johnston | 2014-08-14 | 1 | -1/+1 |
| | |||||
* | Actually encode dicts as json in the DB | Erik Johnston | 2014-08-14 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor | Erik Johnston | 2014-08-14 | 1 | -1/+0 |
|\ | | | | | | | | | Conflicts: synapse/storage/_base.py | ||||
| * | Set datastore's .hs field in SQLBaseStore rather than in the toplevel ↵ | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -1/+0 |
| | | | | | | | | DataStore mixed-in result class | ||||
* | | Initial stab at refactoring the SQL tables, including rejigging some of the ↵ | Erik Johnston | 2014-08-13 | 1 | -40/+73 |
|/ | | | | storage layer. | ||||
* | add in whitespace after copyright statements to improve legibility | Matthew Hodgson | 2014-08-13 | 1 | -0/+1 |
| | |||||
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 1 | -0/+117 |