summary refs log tree commit diff
path: root/synapse/storage/room.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* run isortAmber Brown2018-07-091-6/+6
|
* Attempt to be more performant on PyPy (#3462)Amber Brown2018-06-281-1/+2
|
* Fix media admin APIsErik Johnston2018-04-261-2/+2
|
* Fix quarantine media admin APIErik Johnston2018-04-251-1/+1
|
* Remove uses of events.contentRichard van der Hoff2018-03-291-3/+4
|
* Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2018-03-191-1/+1
|\
| * Replace ujson with simplejsonErik Johnston2018-03-151-1/+1
| |
* | Add is_blocked to worker storeErik Johnston2018-03-131-13/+17
| |
* | Split up RoomStoreErik Johnston2018-03-011-118/+121
| |
* | Move store_event_search_txn to SearchStoreRichard van der Hoff2018-02-051-35/+8
| | | | | | | | | | ... as a precursor to making event storing and doing the bg update share some code.
* | Merge branch 'develop' into travis/admin-list-mediaTravis Ralston2018-02-011-1/+1
|\ \
| * | Fix sql error in quarantine_mediaRichard van der Hoff2018-01-301-1/+1
| |/
* | pep8Travis Ralston2018-01-311-9/+12
| | | | | | Signed-off-by: Travis Ralston <travpc@gmail.com>
* | Documentation and namingTravis Ralston2018-01-311-7/+26
| | | | | | Signed-off-by: Travis Ralston <travpc@gmail.com>
* | Appease the linterTravis Ralston2018-01-201-5/+5
| | | | | | | | | | These are ids anyways, not mxc uris. Signed-off-by: Travis Ralston <travpc@gmail.com>
* | Add an admin route to get all the media in a roomTravis Ralston2018-01-201-56/+75
|/ | | | | This is intended to be used by administrators to monitor the media that is passing through their server, if they wish. Signed-off-by: Travis Ralston <travpc@gmail.com>
* Handle thumbnail urlsErik Johnston2017-06-191-12/+14
|
* Add API to quarantine mediaErik Johnston2017-06-191-0/+70
|
* Add shutdown room APIErik Johnston2017-06-191-0/+24
|
* Add per user ratelimiting overridesErik Johnston2017-05-101-1/+35
|
* User Cursor.__iter__ instead of fetchallErik Johnston2017-03-231-2/+2
| | | | This prevents unnecessary construction of lists
* Add cache to get_public_room_ids_at_stream_idErik Johnston2016-12-121-0/+2
|
* Notify replication. Use correct network_idErik Johnston2016-12-121-1/+3
|
* DocstringErik Johnston2016-12-121-0/+12
|
* Add new API appservice specific public room listErik Johnston2016-12-061-20/+151
|
* Reduce DB hits for replicationErik Johnston2016-09-231-0/+3
| | | | | | | | | | | | | | Some streams will occaisonally advance their positions without actually having any new rows to send over federation. Currently this means that the token will not advance on the workers, leading to them repeatedly sending a slightly out of date token. This in turns requires the master to hit the DB to check if there are any new rows, rather than hitting the no op logic where we check if the given token matches the current token. This commit changes the API to always return an entry if the position for a stream has changed, allowing workers to advance their tokens correctly.
* Stream public room changes down replicationErik Johnston2016-09-151-0/+16
|
* Base public room list off of public_rooms streamErik Johnston2016-09-151-0/+52
|
* Add a room visibility streamErik Johnston2016-09-141-15/+63
|
* more pep8David Baker2016-06-241-1/+0
|
* Use similar naming we use in email notifs for pushDavid Baker2016-06-241-43/+0
| | | | Fixes https://github.com/vector-im/vector-web/issues/1654
* Remove event fetching from DB threadsErik Johnston2016-06-031-17/+29
|
* Add timestamp and auto incrementing IDErik Johnston2016-05-041-1/+5
|
* Add /report endpointErik Johnston2016-05-041-0/+14
|
* Optimise event_search in postgresErik Johnston2016-04-211-4/+12
|
* Add published room list edit APIErik Johnston2016-03-211-0/+8
|
* Simplify get_roomsErik Johnston2016-02-031-77/+7
|
* Unused importErik Johnston2016-02-031-1/+1
|
* Change the way we do public room list fetchingErik Johnston2016-02-021-1/+1
|
* Remove the RoomsTable objectMark Haines2016-01-131-13/+3
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Return world_readable and guest_can_join in /publicRoomsDaniel Wagner-Hall2015-11-101-29/+42
|
* Open up /events to anonymous users for room events onlyDaniel Wagner-Hall2015-11-051-0/+13
| | | | Squash-merge of PR #345 from daniel/anonymousevents
* Explicitly check for Sqlite3EngineErik Johnston2015-10-161-2/+5
|
* Fix to work with SQLiteErik Johnston2015-10-141-4/+11
|
* Keep FTS indexes up to date. Only search through rooms currently joinedErik Johnston2015-10-121-0/+22
|
* Move all the caches into their own package, synapse.util.cachesErik Johnston2015-08-111-1/+2
|
* Add support for using keyword arguments with cached functionsErik Johnston2015-07-271-3/+2
|
* Add caches for things requested by the pushersMark Haines2015-05-211-1/+2
|
* Fix broken SQLErik Johnston2015-04-301-1/+1
|
* Fix up get_current_state and get_room_name_and_aliases queries to parse ↵Erik Johnston2015-04-301-16/+11
| | | | events in transaction
* Don't needlessly join on state_eventsErik Johnston2015-04-301-3/+2
|
* Make simple query rather than long one and then throw away half the resultsErik Johnston2015-04-301-0/+10
|
* Add support for postgres instead of mysql. Change sql accourdingly. blob + ↵Erik Johnston2015-04-141-10/+24
| | | | varbinary -> bytea. No support for UNSIGNED or CREATE INDEX IF NOT EXISTS.
* Fix unicode database supportErik Johnston2015-03-251-0/+1
|
* Escape non printing ascii characterErik Johnston2015-03-241-3/+3
|
* Merge branch 'develop' of github.com:matrix-org/synapse into mysqlErik Johnston2015-03-201-22/+20
|\
| * Give sensible names for '_simple_...' transactionsErik Johnston2015-03-201-2/+4
| |
| * Start removing TablesErik Johnston2015-03-201-18/+17
| |
| * Rearrange storage modulesErik Johnston2015-03-201-0/+37
| |
* | Rearrange storage modulesErik Johnston2015-03-201-0/+37
| |
* | decode_result takes an iterableErik Johnston2015-03-201-1/+4
| |
* | Convert storage layer to be mysql compatibleErik Johnston2015-03-191-2/+2
|/
* Also give _execute() a descriptionPaul "LeoNerd" Evans2015-03-111-1/+1
|
* Convert get_rooms to use runInteraction so the transacion has a more helpful ↵Erik Johnston2015-02-111-30/+37
| | | | description
* Remove unused functionsMark Haines2015-01-131-7/+0
|
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* Look for name, topic in the event content rather than the event itself when ↵Mark Haines2014-12-191-4/+4
| | | | persisting room name and topic events
* Fix pep8 codestyle warningsMark Haines2014-11-201-1/+3
|
* Add an EventValidator. Fix bugs in auth ++ storageErik Johnston2014-11-101-18/+20
|
* Tidy up some of the unused sql tablesErik Johnston2014-11-101-27/+0
|
* Amalgamate all power levels.Erik Johnston2014-11-061-157/+0
| | | | | Remove concept of reqired power levels, something similiar can be done using the new power level event.
* Add transaction level logging and timing information. Add a _simple_delete ↵Erik Johnston2014-10-281-0/+2
| | | | method
* Rename deletions to redactionsErik Johnston2014-09-241-4/+4
|
* SYN-12: Implement auth for deletion by adding a 'delete_level' on the ops ↵Erik Johnston2014-09-231-3/+7
| | | | | | levels event SYN-12 # comment Auth has been added.
* Add a .runInteraction() method on SQLBaseStore itself to wrap the .db_poolPaul "LeoNerd" Evans2014-09-121-2/+2
|
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-031-1/+1
| | | | hasn't been incorporated in time for launch.
* Fix bug where we didn't correctly store the ops power levels event.Erik Johnston2014-09-021-1/+1
|
* Add all the necessary checks to make banning work.Erik Johnston2014-09-011-2/+1
|
* Add beginnings of ban support.Erik Johnston2014-09-011-5/+52
|
* Implement power level lists, default power levels and ↵Erik Johnston2014-09-011-17/+72
| | | | send_evnet_level/add_state_level events.
* Start adding storage for new events.Erik Johnston2014-08-291-0/+80
|
* Merge branch 'develop' into storage_transactionsMark Haines2014-08-261-2/+0
|\ | | | | | | | | | | | | Conflicts: synapse/api/auth.py synapse/handlers/room.py synapse/storage/__init__.py
| * Fix pyflakes errorsMark Haines2014-08-261-2/+0
| |
* | Move the event storage into a single transactionMark Haines2014-08-261-4/+6
|/
* PEP8 cleanupsErik Johnston2014-08-151-4/+11
|
* Reimplement the get public rooms api to work with new DB schemaErik Johnston2014-08-151-33/+57
|
* 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-131-0/+1
|
* Reference Matrix Home Servermatrix.org2014-08-121-0/+129