| Commit message (Expand) | Author | Age | Files | Lines |
* | Add transaction level logging and timing information. Add a _simple_delete me... | Erik Johnston | 2014-10-28 | 9 | -21/+91 |
* | 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 federation... | Erik Johnston | 2014-10-27 | 5 | -14/+288 |
|\ |
|
| * | 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 |
| |\ |
|
| | * | Fix pyflakes warnings | Mark Haines | 2014-10-27 | 1 | -1/+0 |
| * | | Merge branch 'develop' into event_signing | Mark Haines | 2014-10-17 | 3 | -7/+11 |
| |\ \ |
|
| * | | | Hash the same content covered by the signature when referencing previous PDUs... | Mark Haines | 2014-10-17 | 4 | -9/+66 |
| * | | | 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 federation_autho... | Erik Johnston | 2014-10-27 | 4 | -11/+47 |
|\ \ \ \
| | |_|/
| |/| | |
|
| * | | | Wrap preparing the database in a transaction. Otherwise it will take many sec... | Mark Haines | 2014-10-24 | 1 | -3/+4 |
| * | | | 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 |
| * | | SPEC-7: Rename 'ts' to 'origin_server_ts' | Mark Haines | 2014-10-17 | 5 | -12/+12 |
| |/ |
|
* | | 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 |
|/ |
|
* | 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 |
|\ |
|
| * | 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 lev... | Erik Johnston | 2014-09-23 | 2 | -3/+11 |
| | * | 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 'p... | Erik Johnston | 2014-09-23 | 5 | -17/+91 |
| | * | 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 |
* | 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 d... | Erik Johnston | 2014-09-15 | 1 | -5/+10 |
* | | 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 are... | Erik Johnston | 2014-09-12 | 1 | -2/+2 |
| * | 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 |
|\| |
|
| * | Make the state resolution use actual power levels rather than taking them fro... | Erik Johnston | 2014-09-12 | 2 | -71/+18 |
| * | Fix bug where we incorrectly removed a remote host from the list of hosts in ... | Erik Johnston | 2014-09-12 | 1 | -12/+45 |
| * | 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 inst... | Paul "LeoNerd" Evans | 2014-09-11 | 1 | -8/+21 |
* | | Rename _store_room_member_txn to _store_room_member_from_event_txn so we can ... | Paul "LeoNerd" Evans | 2014-09-11 | 2 | -2/+2 |
* | | prepare_database() on db_conn, not plain name, so we can pass in the connecti... | Paul "LeoNerd" Evans | 2014-09-10 | 1 | -31/+26 |
* | | 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 t... | Erik Johnston | 2014-09-09 | 1 | -4/+1 |
* | 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. Upda... | Erik Johnston | 2014-09-08 | 1 | -3/+6 |
* | 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 has... | Matthew Hodgson | 2014-09-03 | 23 | -23/+23 |
* | Store SQL DDL deltas as well; attempt to upgrade the database on startup if i... | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -0/+168 |
* | 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 send_evnet_level/add_st... | Erik Johnston | 2014-09-01 | 3 | -22/+99 |
* | | | 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 the... | Paul "LeoNerd" Evans | 2014-08-28 | 1 | -1/+1 |
|/ |
|
* | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 1 | -2/+2 |
|\ |
|
| * | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactor | Erik Johnston | 2014-08-27 | 1 | -1/+0 |
| |\ |
|
| * \ | 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 reflects... | Erik Johnston | 2014-08-26 | 1 | -2/+2 |
* | | | | 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. Expand... | Kegan Dougal | 2014-08-26 | 1 | -2/+2 |
| |/ |
|
* | | 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 |
|\| |
|
| * | Fix pyflakes errors | Mark Haines | 2014-08-26 | 5 | -18/+6 |
| * | Add a do_users_share_a_room method and use that in the presence handler. | Erik Johnston | 2014-08-26 | 1 | -0/+21 |
| * | Merge branch 'develop' of github.com:matrix-org/synapse into client_server_ur... | Kegan Dougal | 2014-08-26 | 5 | -8/+40 |
| |\ |
|
| | * | Order 'get_recent_events_for_room' correctly. | Erik Johnston | 2014-08-26 | 1 | -1/+1 |
| | * | Add a unique constraint on the room hosts table | Erik Johnston | 2014-08-24 | 1 | -1/+2 |
| | * | Turn off spammy logging | Erik Johnston | 2014-08-22 | 1 | -1/+1 |
| | * | Add indices to schema | Erik Johnston | 2014-08-22 | 1 | -0/+20 |
| | * | Don't return state event outlier's when paginating. | Erik Johnston | 2014-08-22 | 3 | -2/+9 |
| | * | Change IM sync api to also return the current presence list. | Erik Johnston | 2014-08-21 | 1 | -3/+2 |
| | * | Stop internal keys from getting into SynapseEvents | Erik Johnston | 2014-08-21 | 1 | -0/+5 |
| * | | Removed member list servlet: now using generic state paths. | Kegan Dougal | 2014-08-26 | 1 | -2/+3 |
| |/ |
|
* | | 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 | 6 | -48/+60 |
* | | Take a snapshot of the state of the room before performing updates | Mark Haines | 2014-08-22 | 1 | -0/+64 |
|/ |
|
* | Make event stream storage return all membership events about the user, regard... | Erik Johnston | 2014-08-20 | 1 | -4/+6 |
* | Give the event_id of the failed event | Erik Johnston | 2014-08-20 | 1 | -1/+4 |
* | Only hit get_room_events_stream if we have a valid user_id | Erik Johnston | 2014-08-19 | 1 | -0/+3 |
* | Fix token to correct format | Erik Johnston | 2014-08-19 | 1 | -1/+1 |
* | Remove debug logging from token parsing funcs. | Erik Johnston | 2014-08-19 | 1 | -2/+0 |
* | Add comment about what strorage.stream does | Erik Johnston | 2014-08-19 | 1 | -0/+20 |
* | 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 | 2 | -12/+26 |
* | Change the way pagination works to support out of order events. | Erik Johnston | 2014-08-19 | 2 | -30/+158 |
* | Fix typos in SQL and where we still had rowid's (which no longer exist) | Erik Johnston | 2014-08-18 | 1 | -6/+6 |
* | Make snapshot_all_rooms return results in the correct form, including start a... | Erik Johnston | 2014-08-18 | 1 | -4/+21 |
* | SQL doesn't allow AUTOINCREMENT on non PRIMARY KEY columns. | Erik Johnston | 2014-08-18 | 2 | -3/+20 |
* | Add two different columns for ordering the events table, one which can be use... | Erik Johnston | 2014-08-18 | 3 | -17/+31 |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor | Erik Johnston | 2014-08-18 | 1 | -0/+1 |
|\ |
|
| * | retcols is mandatory. i have no idea how this could ever have worked? | Matthew Hodgson | 2014-08-16 | 1 | -0/+1 |
| * | Fix imsync's SELECT query to only find the rooms I'm actually joined in, not ... | Paul "LeoNerd" Evans | 2014-08-15 | 1 | -2/+5 |
* | | Rename method name to not clash with other ones in storage. | Erik Johnston | 2014-08-15 | 1 | -3/+3 |
* | | 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 | 5 | -9/+18 |
* | | Comment. | Erik Johnston | 2014-08-15 | 1 | -0/+1 |
* | | Fix bug when generating a key when get_room_events_stream returned zero rows | Erik Johnston | 2014-08-15 | 1 | -3/+7 |
* | | Actually use MAX_STREAM_SIZE constant. | Erik Johnston | 2014-08-15 | 1 | -1/+1 |
* | | Fix pagination to work with new db schema | Erik Johnston | 2014-08-15 | 1 | -7/+24 |
* | | Correctly return new token when returning events. Serialize events correctly. | Erik Johnston | 2014-08-15 | 2 | -6/+18 |
* | | Start chagning the events stream to work with the new DB schema | Erik Johnston | 2014-08-15 | 5 | -4/+52 |
* | | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor | Erik Johnston | 2014-08-15 | 1 | -2/+2 |
|\| |
|
| * | We really don't need debug logging of all the SQL statements we execute; we'r... | Paul "LeoNerd" Evans | 2014-08-14 | 1 | -4/+0 |
| * | Be more helpful when failing to register/login, stating why (communication er... | Kegan Dougal | 2014-08-14 | 1 | -2/+2 |
* | | Reimplement the get public rooms api to work with new DB schema | Erik Johnston | 2014-08-15 | 4 | -35/+75 |
* | | Fix up typos and correct sql queries | Erik Johnston | 2014-08-14 | 5 | -36/+34 |
* | | Update StreamStore | Erik Johnston | 2014-08-14 | 1 | -245/+36 |
* | | Start fixing places that use the data store. | Erik Johnston | 2014-08-14 | 4 | -8/+8 |
* | | Fix typo | Erik Johnston | 2014-08-14 | 1 | -1/+1 |
* | | Rename _execute_query | Erik Johnston | 2014-08-14 | 4 | -4/+4 |
* | | Fix up RoomMemberStore to work with the new schema. | Erik Johnston | 2014-08-14 | 3 | -97/+79 |
* | | Actually encode dicts as json in the DB | Erik Johnston | 2014-08-14 | 2 | -3/+4 |
* | | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor | Erik Johnston | 2014-08-14 | 5 | -13/+16 |
|\| |
|
| * | An initial hack at storing presence state-change mtimes in database and prese... | Paul "LeoNerd" Evans | 2014-08-13 | 3 | -2/+5 |
| * | Set datastore's .hs field in SQLBaseStore rather than in the toplevel DataSto... | Paul "LeoNerd" Evans | 2014-08-13 | 2 | -1/+1 |
| * | when we're talking about backfilling data in federation, call it backfilling ... | Matthew Hodgson | 2014-08-13 | 1 | -10/+10 |
* | | Make feedback table also store sender. | Erik Johnston | 2014-08-13 | 2 | -1/+3 |
* | | Initial stab at refactoring the SQL tables, including rejigging some of the s... | Erik Johnston | 2014-08-13 | 6 | -261/+115 |
* | | Convert im schema to a 'one' table structure | Erik Johnston | 2014-08-13 | 1 | -26/+31 |
|/ |
|
* | Return the room_alias when GETing public rooms. | Kegan Dougal | 2014-08-13 | 1 | -2/+5 |
* | add in whitespace after copyright statements to improve legibility | Matthew Hodgson | 2014-08-13 | 14 | -0/+14 |
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 22 | -0/+3334 |