summary refs log tree commit diff
path: root/synapse/storage (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-271-1/+0
|\ | | | | | | | | | | | | Conflicts: synapse/handlers/events.py synapse/rest/events.py synapse/rest/room.py
| * Added support for GET /events/$eventid with auth checks.Kegan Dougal2014-08-271-1/+0
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-261-2/+2
|\|
| * Feedback: Removed FeedbackRestServlet. Modified keys on FeedbackEvent. ↵Kegan Dougal2014-08-261-2/+2
| | | | | | | | Expanded the feedback constants to fully explain what type of feedback they are.
* | WIP: Completely change how event streaming and pagination work. This ↵Erik Johnston2014-08-261-2/+2
|/ | | | reflects the change in the underlying storage model.
* Fix pyflakes errorsMark Haines2014-08-265-18/+6
|
* Add a do_users_share_a_room method and use that in the presence handler.Erik Johnston2014-08-261-0/+21
|
* Merge branch 'develop' of github.com:matrix-org/synapse into ↵Kegan Dougal2014-08-265-8/+40
|\ | | | | | | client_server_url_rename
| * Order 'get_recent_events_for_room' correctly.Erik Johnston2014-08-261-1/+1
| |
| * Add a unique constraint on the room hosts tableErik Johnston2014-08-241-1/+2
| |
| * Turn off spammy loggingErik Johnston2014-08-221-1/+1
| |
| * Add indices to schemaErik Johnston2014-08-221-0/+20
| |
| * Don't return state event outlier's when paginating.Erik Johnston2014-08-223-2/+9
| |
| * Change IM sync api to also return the current presence list.Erik Johnston2014-08-211-3/+2
| |
| * Stop internal keys from getting into SynapseEventsErik Johnston2014-08-211-0/+5
| |
* | Removed member list servlet: now using generic state paths.Kegan Dougal2014-08-261-2/+3
|/
* Make event stream storage return all membership events about the user, ↵Erik Johnston2014-08-201-4/+6
| | | | regardless of if they were in the room or not.
* Give the event_id of the failed eventErik Johnston2014-08-201-1/+4
|
* Only hit get_room_events_stream if we have a valid user_idErik Johnston2014-08-191-0/+3
|
* Fix token to correct formatErik Johnston2014-08-191-1/+1
|
* Remove debug logging from token parsing funcs.Erik Johnston2014-08-191-2/+0
|
* Add comment about what strorage.stream doesErik Johnston2014-08-191-0/+20
|
* Fix bug where we sometimes set min_token to None.Erik Johnston2014-08-191-1/+2
|
* Add a 'backfill room' buttonErik Johnston2014-08-192-12/+26
|
* Change the way pagination works to support out of order events.Erik Johnston2014-08-192-30/+158
|
* Fix typos in SQL and where we still had rowid's (which no longer exist)Erik Johnston2014-08-181-6/+6
|
* Make snapshot_all_rooms return results in the correct form, including start ↵Erik Johnston2014-08-181-4/+21
| | | | and end tokens.
* SQL doesn't allow AUTOINCREMENT on non PRIMARY KEY columns.Erik Johnston2014-08-182-3/+20
|
* Add two different columns for ordering the events table, one which can be ↵Erik Johnston2014-08-183-17/+31
| | | | 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
* Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-181-0/+1
|\
| * retcols is mandatory. i have no idea how this could ever have worked?Matthew Hodgson2014-08-161-0/+1
| |
| * Fix imsync's SELECT query to only find the rooms I'm actually joined in, not ↵Paul "LeoNerd" Evans2014-08-151-2/+5
| | | | | | | | every room I have ever joined
* | Rename method name to not clash with other ones in storage.Erik Johnston2014-08-151-3/+3
| |
* | We no longer need to special case room config events.Erik Johnston2014-08-151-2/+2
| |
* | PEP8 cleanupsErik Johnston2014-08-155-9/+18
| |
* | Comment.Erik Johnston2014-08-151-0/+1
| |
* | Fix bug when generating a key when get_room_events_stream returned zero rowsErik Johnston2014-08-151-3/+7
| |
* | Actually use MAX_STREAM_SIZE constant.Erik Johnston2014-08-151-1/+1
| |
* | Fix pagination to work with new db schemaErik Johnston2014-08-151-7/+24
| |
* | Correctly return new token when returning events. Serialize events correctly.Erik Johnston2014-08-152-6/+18
| |
* | Start chagning the events stream to work with the new DB schemaErik Johnston2014-08-155-4/+52
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-151-2/+2
|\| | | | | | | | | Conflicts: synapse/storage/stream.py
| * We really don't need debug logging of all the SQL statements we execute; ↵Paul "LeoNerd" Evans2014-08-141-4/+0
| | | | | | | | we're quite happy these all work now
| * Be more helpful when failing to register/login, stating why (communication ↵Kegan Dougal2014-08-141-2/+2
| | | | | | | | error, user in user, wrong credentials, etc). Make the HS send M_USER_IN_USE.
* | Reimplement the get public rooms api to work with new DB schemaErik Johnston2014-08-154-35/+75
| |
* | Fix up typos and correct sql queriesErik Johnston2014-08-145-36/+34
| |
* | Update StreamStoreErik Johnston2014-08-141-245/+36
| |
* | Start fixing places that use the data store.Erik Johnston2014-08-144-8/+8
| |
* | Fix typoErik Johnston2014-08-141-1/+1
| |
* | Rename _execute_queryErik Johnston2014-08-144-4/+4
| |
* | Fix up RoomMemberStore to work with the new schema.Erik Johnston2014-08-143-97/+79
| |
* | Actually encode dicts as json in the DBErik Johnston2014-08-142-3/+4
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-145-13/+16
|\| | | | | | | | | Conflicts: synapse/storage/_base.py
| * An initial hack at storing presence state-change mtimes in database and ↵Paul "LeoNerd" Evans2014-08-133-2/+5
| | | | | | | | presenting age durations to clients/federation events
| * Set datastore's .hs field in SQLBaseStore rather than in the toplevel ↵Paul "LeoNerd" Evans2014-08-132-1/+1
| | | | | | | | DataStore mixed-in result class
| * when we're talking about backfilling data in federation, call it backfilling ↵Matthew Hodgson2014-08-131-10/+10
| | | | | | | | - not pagination.
* | Make feedback table also store sender.Erik Johnston2014-08-132-1/+3
| |
* | Initial stab at refactoring the SQL tables, including rejigging some of the ↵Erik Johnston2014-08-136-261/+115
| | | | | | | | storage layer.
* | Convert im schema to a 'one' table structureErik Johnston2014-08-131-26/+31
|/
* Return the room_alias when GETing public rooms.Kegan Dougal2014-08-131-2/+5
|
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-1314-0/+14
|
* Reference Matrix Home Servermatrix.org2014-08-1222-0/+3334