28 Commits (9bb2eac71962970d02842bca441f4bcdbbf93a11)

Author SHA1 Message Date
  dependabot[bot] 9bb2eac719
Bump black from 22.12.0 to 23.1.0 (#15103) 1 year ago
  Patrick Cloke e9a4343cb2
Drop support for Postgres 10 in full text search code. (#14397) 1 year ago
  Patrick Cloke 81815e0561
Switch search SQL to triple-quote strings. (#14311) 1 year ago
  Patrick Cloke 67583281e3
Fix tests for change in PostgreSQL 14 behavior change. (#14310) 1 year ago
  James Salter d902181de9
Unified search query syntax using the full-text search capabilities of the underlying DB. (#11635) 1 year ago
  David Robertson 285d72556b
Update mypy and mypy-zope, attempt 3 (#13993) 1 year ago
  David Robertson 8e52cb0bce
Revert "Update mypy and mypy-zope (#13925)" 1 year ago
  David Robertson 6d543d6d9f
Update mypy and mypy-zope (#13925) 1 year ago
  Patrick Cloke 53b77b203a
Replace noop background updates with DELETE. (#12954) 2 years ago
  Dirk Klimpel 989fa33096
Add some type hints to datastore. (#12477) 2 years ago
  andrew do 01e625513a
remove constantly lib use and switch to enums. (#12624) 2 years ago
  Dirk Klimpel ac95167d2f
Add some type hints to datastore. (#12255) 2 years ago
  Sean Quah 8e5706d144
Fix broken background updates when using sqlite with `enable_search` off (#12215) 2 years ago
  Sean Quah 41cf4c2cf6
Fix non-strings in the `event_search` table (#12037) 2 years ago
  Patrick Cloke e44f91d678
Refactor search code to reduce function size. (#11991) 2 years ago
  Patrick Cloke cbd82d0b2d
Convert all namedtuples to attrs. (#11665) 2 years ago
  Sean Quah 5305a5e881
Type hint the constructors of the data store classes (#11555) 2 years ago
  Sean Quah 2b82ec425f
Add type hints for most `HomeServer` parameters (#11095) 2 years ago
  Patrick Cloke 94b620a5ed
Use direct references for configuration variables (part 6). (#10916) 2 years ago
  Hillery Shay f78b68a96b
Treat "\u0000" as "\u0020" for the purposes of message search (message indexing) (#10820) 2 years ago
  Richard van der Hoff 294c675033
Remove `synapse.types.Collection` (#9856) 3 years ago
  Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 3 years ago
  Patrick Cloke 1baab20352
Add type hints to various handlers. (#9223) 3 years ago
  Erik Johnston 7a43482f19
Use execute_batch in more places (#9188) 3 years ago
  Patrick Cloke 8a4a4186de
Simplify super() calls to Python 3 syntax. (#8344) 3 years ago
  Patrick Cloke 37db6252b7
Convert additional databases to async/await part 3 (#8201) 3 years ago
  Patrick Cloke f3fe6961b2
Convert additional database stores to async/await (#8045) 3 years ago
  Erik Johnston a7bdf98d01
Rename database classes to make some sense (#8033) 3 years ago
  Patrick Cloke f460da6031
Consistently use `db_to_json` to convert from database values to JSON objects. (#7849) 3 years ago
  Dagfinn Ilmari Mannsåker a3f11567d9
Replace all remaining six usage with native Python 3 equivalents (#7704) 4 years ago
  Erik Johnston 03aff4c75e
Add a worker store for search insertion. (#7516) 4 years ago
  Erik Johnston 782e4e64df
Shuffle persist event data store functions. (#7440) 4 years ago
  Andrew Morgan 5bfd8855d6
Fix redacted events being returned in search results ordered by "recent" (#6522) 4 years ago
  Andrew Morgan fc316a4894
Prevent redacted events from appearing in message search (#6377) 4 years ago
  Erik Johnston 9a4fb457cf Change DataStores to accept 'database' param. 4 years ago
  Erik Johnston 4a33a6dd19 Move background update handling out of store 4 years ago
  Erik Johnston 756d4942f5 Move DB pool and helper functions into dedicated Database class 4 years ago
  Erik Johnston ee86abb2d6 Remove underscore from SQLBaseStore functions 4 years ago
  Amber Brown 020add5099
Update black to 19.10b0 (#6304) 4 years ago
  Andrew Morgan 54fef094b3
Remove usage of deprecated logger.warn method from codebase (#6271) 4 years ago
  Erik Johnston c66a06ac6b Move storage classes into a main "data store". 4 years ago
  Erik Johnston 3bc687508f Remove add_in_list_sql_clause 4 years ago
  Erik Johnston b161786c14 Replace IN usage with helper funcs 4 years ago
  Brendan Abolivier 66ebea1723 Lint 4 years ago
  Brendan Abolivier 841054ad96 Move search's bg updates to a dedicated store 4 years ago
  Amber Brown 4806651744
Replace returnValue with return (#5736) 4 years ago
  Amber Brown 32e7c9e7f2
Run Black. (#5482) 5 years ago
  Amber Brown eba7caf09f
Remove Postgres 9.4 support (#5448) 5 years ago
  Erik Johnston 4fb44fb5b9 Expose DataStore._get_events as get_events_as_list 5 years ago
  Amber Brown 7efd1d87c2 Run black on the rest of the storage module (#4996) 5 years ago