Commit Graph

51 Commits (18579534ea67f2d98c189e2ddeccc4bfecb491eb)

Author SHA1 Message Date
Mark Haines 96e400fee5 Remove the RoomsTable object 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Daniel Wagner-Hall cf437900e0 Return world_readable and guest_can_join in /publicRooms 9 years ago
Daniel Wagner-Hall ca2f90742d Open up /events to anonymous users for room events only 9 years ago
Erik Johnston 46d39343d9 Explicitly check for Sqlite3Engine 9 years ago
Erik Johnston 99c7fbfef7 Fix to work with SQLite 9 years ago
Erik Johnston 61561b9df7 Keep FTS indexes up to date. Only search through rooms currently joined 9 years ago
Erik Johnston 2df8dd9b37 Move all the caches into their own package, synapse.util.caches 9 years ago
Erik Johnston 39e21ea51c Add support for using keyword arguments with cached functions 9 years ago
Mark Haines 53447e9cd3 Add caches for things requested by the pushers 10 years ago
Mark Haines d18f37e026 Collect the invalidate callbacks on the transaction object rather than passing around a separate list 10 years ago
Mark Haines a9aea68fd5 Invalidate the caches from the correct thread 10 years ago
Erik Johnston 503e4d3d52 Fix broken SQL 10 years ago
Erik Johnston f383d5a801 Fix up get_current_state and get_room_name_and_aliases queries to parse events in transaction 10 years ago
Erik Johnston 2366d28780 Don't needlessly join on state_events 10 years ago
Erik Johnston 1d7702833d Make simple query rather than long one and then throw away half the results 10 years ago
Erik Johnston 58d8339966 Add support for postgres instead of mysql. Change sql accourdingly. blob + varbinary -> bytea. No support for UNSIGNED or CREATE INDEX IF NOT EXISTS. 10 years ago
Erik Johnston 0e8f5095c7 Fix unicode database support 10 years ago
Erik Johnston 0ba393924a Escape non printing ascii character 10 years ago
Erik Johnston dc0c989ef4 Give sensible names for '_simple_...' transactions 10 years ago
Erik Johnston fce0114005 Start removing Tables 10 years ago
Erik Johnston 87db64b839 Rearrange storage modules 10 years ago
Erik Johnston cb8162d3d1 Rearrange storage modules 10 years ago
Erik Johnston d4f50f3ae5 decode_result takes an iterable 10 years ago
Erik Johnston d7a0496f3e Convert storage layer to be mysql compatible 10 years ago
Paul "LeoNerd" Evans 59a5f012cc Also give _execute() a description 10 years ago
Kegan Dougal 377ae369c1 Wrap all of get_app_service_rooms in a txn. 10 years ago
Kegan Dougal 3d73383d18 Modify _simple_select_list to allow an empty WHERE clause. Use it for get_all_rooms and get_all_users. 10 years ago
Kegan Dougal 2b8ca84296 Add support for extracting matching room_ids and room_aliases for a given AS. 10 years ago
Erik Johnston 8bbdf32849 Convert get_rooms to use runInteraction so the transacion has a more helpful description 10 years ago
Mark Haines 3891597eb3 Remove unused functions 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Mark Haines 9c71d945d6 Look for name, topic in the event content rather than the event itself when persisting room name and topic events 10 years ago
Mark Haines db9ce032a4 Fix pep8 codestyle warnings 10 years ago
Erik Johnston a8e565eca8 Add an EventValidator. Fix bugs in auth ++ storage 10 years ago
Erik Johnston 6cb6cb9e69 Tidy up some of the unused sql tables 10 years ago
Erik Johnston 351c64e99e Amalgamate all power levels. 10 years ago
Erik Johnston da1dda3e1d Add transaction level logging and timing information. Add a _simple_delete method 10 years ago
Erik Johnston 70899d3ab2 Rename deletions to redactions 10 years ago
Erik Johnston bc250a6afa SYN-12: Implement auth for deletion by adding a 'delete_level' on the ops levels event 10 years ago
Paul "LeoNerd" Evans e53d77b501 Add a .runInteraction() method on SQLBaseStore itself to wrap the .db_pool 10 years ago
Matthew Hodgson 8a7c1d6a00 fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. 10 years ago
Erik Johnston 4b8244fbf8 Fix bug where we didn't correctly store the ops power levels event. 10 years ago
Erik Johnston b8ab9f1c0a Add all the necessary checks to make banning work. 10 years ago
Erik Johnston db7109c43b Add beginnings of ban support. 10 years ago
Erik Johnston 865469f233 Implement power level lists, default power levels and send_evnet_level/add_state_level events. 10 years ago
Erik Johnston 1118f02689 Start adding storage for new events. 10 years ago
Mark Haines ac21dfff6d Fix pyflakes errors 10 years ago
Mark Haines 4b2ad549d5 Move the event storage into a single transaction 10 years ago
Erik Johnston d260a42ca2 PEP8 cleanups 10 years ago