summary refs log tree commit diff
path: root/synapse/storage/user_directory.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move storage classes into a main "data store".Erik Johnston2019-10-211-827/+0
| | | | | This is in preparation for having multiple data stores that offer different functionality, e.g. splitting out state or event storage.
* Move user_directory's bg updates to a dedicated storeBrendan Abolivier2019-10-071-84/+94
|
* Replace returnValue with return (#5736)Amber Brown2019-07-231-15/+15
|
* Add membership column to current_state_events table.Erik Johnston2019-07-181-4/+4
| | | | | It turns out that doing a join is surprisingly expensive for the DB to do when room_membership table is larger than the disk cache.
* Fix grammar and document get_current_users_in_room (#4998)Andrew Morgan2019-04-031-1/+1
|
* Use the state event amount for userdir import batching, not room count (#4944)Amber Brown2019-03-271-8/+20
|
* Refactor out state delta handling into its own class (#4917)Amber Brown2019-03-251-64/+2
|
* Batching in the user directory import (#4900)Amber Brown2019-03-211-0/+13
|
* Migrate the user directory initial population to a background task (#4864)Amber Brown2019-03-191-94/+276
|
* fixupAmber Brown2019-03-131-1/+1
|
* fixupAmber Brown2019-03-131-48/+11
|
* fixupAmber Brown2019-03-121-1/+1
|
* fixupAmber Brown2019-03-121-1/+2
|
* fixupAmber Brown2019-03-121-108/+57
|
* fixupAmber Brown2019-03-121-1/+1
|
* use the old methodAmber Brown2019-03-121-3/+2
|
* fixAmber Brown2019-03-121-1/+1
|
* pep8Amber Brown2019-03-121-2/+1
|
* fixesAmber Brown2019-03-121-6/+46
|
* initialAmber Brown2019-03-111-0/+34
|
* Rewrite userdir to be faster (#4537)Amber Brown2019-03-071-181/+90
|
* Run `black` on user directory code (#4635)Amber Brown2019-02-131-87/+66
|
* Filter user directory state query to a subset of state events (#4462)Andrew Morgan2019-02-051-4/+12
| | | | | | * Filter user directory state query to a subset of state events * Add changelog
* Use native UPSERTs where possible (#4306)Amber Brown2019-01-241-15/+40
|
* s/becuase/because/gMatthew Hodgson2018-07-101-2/+2
|
* run isortAmber Brown2018-07-091-7/+7
|
* Consistently use six's iteritems and wrap lazy keys/values in list() if ↵Amber Brown2018-05-311-3/+5
| | | | they're not meant to be lazy (#3307)
* Fix search_user_dir multiple sqlite versions do different thingsNeil Johnson2018-03-281-2/+2
|
* Fix SQL for user searchRichard van der Hoff2018-01-271-7/+7
| | | | | | fix some syntax errors for user search when search_all_users is enabled fixes #2801, hopefully
* fix SQL when searching all usersMatthew Hodgson2018-01-171-2/+7
|
* fix pep8 and testsMatthew Hodgson2017-12-041-4/+3
|
* switch to a simpler 'search_all_users' button as per review feedbackMatthew Hodgson2017-12-041-24/+16
|
* fix alternation operator for FTS4 - how did this ever work!?Matthew Hodgson2017-11-301-1/+1
|
* fix thinkos galoreMatthew Hodgson2017-11-301-7/+13
|
* untested WIP but might actually workMatthew Hodgson2017-11-291-12/+23
|
* Add user_directory_include_pattern config param to expand search results to ↵Matthew Hodgson2017-11-291-4/+12
| | | | | | | | | | additional users Initial commit; this doesn't work yet - the LIKE filtering seems too aggressive. It also needs _do_initial_spam to be aware of prepopulating the whole user_directory_search table with all users... ...and it needs a handle_user_signup() or something to be added so that new signups get incrementally added to the table too. Committing it here as a WIP
* s/users_in_pubic_room/users_in_public_rooms/gMatthew Hodgson2017-11-041-10/+10
|
* Add descErik Johnston2017-06-221-0/+1
|
* Include users who share room with requester in user directoryErik Johnston2017-06-151-22/+39
|
* Implement updating users who share rooms on the flyErik Johnston2017-06-151-1/+110
|
* Implement initial population of users who share rooms tableErik Johnston2017-06-151-7/+117
|
* Fix user directory insertion due to missing room_idErik Johnston2017-06-131-1/+2
|
* Fix up sqlErik Johnston2017-06-131-10/+12
|
* Fix user dir to not assume existence of userErik Johnston2017-06-131-22/+37
|
* Tweak the ranking of PG user dir searchErik Johnston2017-06-131-13/+40
|
* Handle profile updates in user directoryErik Johnston2017-06-011-0/+49
|
* Fix sqliteErik Johnston2017-06-011-1/+1
|
* Split the table in twoErik Johnston2017-06-011-3/+74
|
* Tweak search queryErik Johnston2017-06-011-1/+1
|
* Tweak search queryErik Johnston2017-06-011-2/+2
|
* Remove spurious inlineCallbacksErik Johnston2017-06-011-1/+0
|
* Bug fixes and loggingErik Johnston2017-06-011-1/+1
| | | | | - Check if room is public when a user joins before adding to user dir - Fix typo of field name "content.join_rules" -> "content.join_rule"
* Order by if they have profile infoErik Johnston2017-06-011-2/+11
|
* Use prefix matchingErik Johnston2017-06-011-5/+29
|
* Comment on why arbitrary commentsErik Johnston2017-05-311-2/+6
|
* Convert to intErik Johnston2017-05-311-0/+1
|
* Fix testsErik Johnston2017-05-311-0/+1
|
* Limit number of things we fetch out of the dbErik Johnston2017-05-311-9/+30
|
* Add stream change cacheErik Johnston2017-05-311-1/+3
|
* Split out directory and search tablesErik Johnston2017-05-311-18/+42
|
* Pull max id from correct tableErik Johnston2017-05-311-0/+8
|
* Handle the server leaving a public roomErik Johnston2017-05-311-0/+11
|
* Add commentsErik Johnston2017-05-311-3/+36
|
* Weight differentlyErik Johnston2017-05-311-10/+24
|
* Add searchErik Johnston2017-05-311-0/+35
|
* Update room column when room becomes unpublicErik Johnston2017-05-311-0/+10
|
* Add user_directory to databaseErik Johnston2017-05-311-0/+145