Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use time.time() instead of time.clock() | Erik Johnston | 2015-01-06 | 1 | -4/+4 |
| | |||||
* | Don't include None's in _get_events_txn | Erik Johnston | 2015-01-06 | 1 | -1/+3 |
| | |||||
* | Merge pull request #28 from matrix-org/erikj-perf | Mark Haines | 2015-01-06 | 1 | -11/+25 |
|\ | | | | | Database performance improvements. | ||||
| * | PEP8 | Erik Johnston | 2015-01-06 | 1 | -2/+4 |
| | | |||||
| * | 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 | 1 | -9/+23 |
| | | | | | | | | 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 |
| | | |||||
| * | Reformat | Erik Johnston | 2015-01-06 | 1 | -13/+14 |
| | | |||||
| * | Test some ideas that might help performance a bit | Erik Johnston | 2014-12-17 | 1 | -6/+28 |
| | | |||||
* | | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
|/ | |||||
* | Don't assume an event exists | Erik Johnston | 2014-12-16 | 1 | -2/+4 |
| | |||||
* | Persist internal_metadata | Erik Johnston | 2014-12-16 | 1 | -3/+4 |
| | |||||
* | Fix bug where we ignored event_edge_hashes table | Erik Johnston | 2014-12-15 | 1 | -1/+0 |
| | |||||
* | Pyflakes | Erik Johnston | 2014-12-12 | 1 | -1/+0 |
| | |||||
* | 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 |
| | |||||
* | 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. | ||||
* | | Change the way we implement get_events to be less sucky | Erik Johnston | 2014-12-09 | 1 | -19/+15 |
| | | |||||
* | | Remove unused import | Erik Johnston | 2014-12-08 | 1 | -1/+0 |
| | | |||||
* | | Start making more things use EventContext rather than event.* | Erik Johnston | 2014-12-05 | 1 | -5/+3 |
| | | |||||
* | | Store full JSON of events in db | Erik Johnston | 2014-12-01 | 1 | -56/+21 |
|/ | |||||
* | 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. | ||||
* | Fix pep8 codestyle warnings | Mark Haines | 2014-11-20 | 1 | -0/+1 |
| | |||||
* | 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' | ||||
* | Add a few missing yields, Move deferred lists inside PreserveLoggingContext ↵ | Mark Haines | 2014-11-20 | 1 | -1/+0 |
| | | | | because they don't interact well with the logging contexts | ||||
* | Merge PDUs and Events into one object | Mark Haines | 2014-11-14 | 1 | -0/+8 |
| | |||||
* | Merge branch 'develop' into request_logging | Mark Haines | 2014-11-14 | 1 | -64/+191 |
|\ | | | | | | | | | | | | | 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 | 1 | -2/+5 |
| | | |||||
| * | Add an EventValidator. Fix bugs in auth ++ storage | Erik Johnston | 2014-11-10 | 1 | -1/+1 |
| | | |||||
| * | Fix regression where we did not return redacted events. | Erik Johnston | 2014-11-10 | 1 | -1/+2 |
| | | |||||
| * | Fix backfill to work. Add auth to backfill request | Erik Johnston | 2014-11-10 | 1 | -0/+12 |
| | | |||||
| * | Finish redaction algorithm. | Erik Johnston | 2014-11-10 | 1 | -1/+1 |
| | | |||||
| * | Start implementing auth chains | Erik Johnston | 2014-11-07 | 1 | -0/+2 |
| | | |||||
| * | Implement new replace_state and changed prev_state | Erik Johnston | 2014-11-06 | 1 | -17/+49 |
| | | | | | | | | | | `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 | 1 | -6/+5 |
| | | |||||
| * | Remove unused imports | Erik Johnston | 2014-11-04 | 1 | -2/+0 |
| | | |||||
| * | Start filling out and using new events tables | Erik Johnston | 2014-10-29 | 1 | -6/+27 |
| | | |||||
| * | Begin implementing all the PDU storage stuff in Events land | Erik Johnston | 2014-10-28 | 1 | -20/+33 |
| | | |||||
| * | Add transaction level logging and timing information. Add a _simple_delete ↵ | Erik Johnston | 2014-10-28 | 1 | -16/+58 |
| | | | | | | | | method | ||||
| * | Clean up LoggingTransaction | Erik Johnston | 2014-10-28 | 1 | -10/+4 |
| | | |||||
| * | Add timer to LoggingTransaction | Erik Johnston | 2014-10-28 | 1 | -3/+10 |
| | | |||||
* | | Add a request-id to each log line | Mark Haines | 2014-10-30 | 1 | -4/+12 |
|/ | |||||
* | keep 'origin_server_ts' as 'ts' in the database to avoid needlessly updating ↵ | Mark Haines | 2014-10-17 | 1 | -1/+2 |
| | | | | schema | ||||
* | SPEC-7: Rename 'ts' to 'origin_server_ts' | Mark Haines | 2014-10-17 | 1 | -1/+1 |
| | |||||
* | Respond with more helpful error messages for unsigned requests | Mark Haines | 2014-10-13 | 1 | -4/+7 |
| | |||||
* | Rename deletions to redactions | Erik Johnston | 2014-09-24 | 1 | -9/+9 |
| | |||||
* | Fix bug where we didn't correctly pull out the event_id of the deletion | Erik Johnston | 2014-09-24 | 1 | -2/+3 |
| | |||||
* | Rename 'pruned' to 'pruned_because' | 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 | -3/+27 |
| | | | | 'pruned', i.e. all client specified keys will be removed. | ||||
* | Merge remote-tracking branch 'origin/develop' into test-sqlite-memory | Paul "LeoNerd" Evans | 2014-09-15 | 1 | -0/+4 |
|\ | |||||
| * | Correctly handle the 'age' key in events and pdus | Erik Johnston | 2014-09-15 | 1 | -0/+4 |
| | | |||||
* | | Merge remote-tracking branch 'origin/develop' into test-sqlite-memory | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -0/+8 |
|\| | | | | | | | | | Conflicts: synapse/storage/pdu.py | ||||
| * | Make the state resolution use actual power levels rather than taking them ↵ | Erik Johnston | 2014-09-12 | 1 | -0/+8 |
| | | | | | | | | from a Pdu key. | ||||
* | | 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 | 1 | -8/+12 |
|/ | |||||
* | When getting a state event also include the previous content | Erik Johnston | 2014-09-06 | 1 | -0/+19 |
| | |||||
* | 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 | 1 | -1/+1 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-26 | 1 | -0/+5 |
|\ | | | | | | | | | | | | | Conflicts: synapse/api/auth.py synapse/handlers/room.py synapse/storage/__init__.py | ||||
| * | Stop internal keys from getting into SynapseEvents | Erik Johnston | 2014-08-21 | 1 | -0/+5 |
| | | |||||
* | | Move the event storage into a single transaction | Mark Haines | 2014-08-26 | 1 | -5/+7 |
|/ | |||||
* | PEP8 cleanups | Erik Johnston | 2014-08-15 | 1 | -1/+2 |
| | |||||
* | Start chagning the events stream to work with the new DB schema | Erik Johnston | 2014-08-15 | 1 | -1/+1 |
| | |||||
* | Reimplement the get public rooms api to work with new DB schema | Erik Johnston | 2014-08-15 | 1 | -1/+1 |
| | |||||
* | Fix up typos and correct sql queries | Erik Johnston | 2014-08-14 | 1 | -4/+5 |
| | |||||
* | Start fixing places that use the data store. | Erik Johnston | 2014-08-14 | 1 | -1/+1 |
| | |||||
* | Rename _execute_query | Erik Johnston | 2014-08-14 | 1 | -1/+1 |
| | |||||
* | Fix up RoomMemberStore to work with the new schema. | Erik Johnston | 2014-08-14 | 1 | -1/+5 |
| | |||||
* | Actually encode dicts as json in the DB | Erik Johnston | 2014-08-14 | 1 | -1/+2 |
| | |||||
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor | Erik Johnston | 2014-08-14 | 1 | -0/+2 |
|\ | | | | | | | | | Conflicts: synapse/storage/_base.py | ||||
| * | An initial hack at storing presence state-change mtimes in database and ↵ | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -0/+1 |
| | | | | | | | | presenting age durations to clients/federation events | ||||
| * | Set datastore's .hs field in SQLBaseStore rather than in the toplevel ↵ | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -0/+1 |
| | | | | | | | | DataStore mixed-in result class | ||||
* | | Initial stab at refactoring the SQL tables, including rejigging some of the ↵ | Erik Johnston | 2014-08-13 | 1 | -1/+16 |
|/ | | | | 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/+405 |