synapse-old/synapse
Daniel Sonck 6b241f5286
Make pagination of rooms in admin api stable (#11737)
Always add state.room_id after the configurable ORDER BY. Otherwise,
for any sort, certain pages can contain results from
other pages. (Especially when sorting by creator, since there may
be many rooms by the same creator)

* Document different order direction of numerical fields

"joined_members", "joined_local_members", "version" and "state_events"
are ordered in descending direction by default (dir=f). Added a note
in tests to explain the differences in ordering.

Signed-off-by: Daniël Sonck <daniel@sonck.nl>
2022-01-17 11:42:51 +00:00
..
_scripts Add type hints to synapse._scripts (#11297) 2021-11-10 17:55:32 +00:00
api Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
app Simplify GC prometheus metrics (#11723) 2022-01-13 14:35:52 +00:00
appservice Add missing type hints to `synapse.appservice` (#11360) 2021-12-14 17:02:46 +00:00
config Fix sample_config.yaml in regards track_puppeted_user_ips (#11749) 2022-01-14 14:11:55 +00:00
crypto Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
events Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
federation Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
groups Add type annotations to `synapse.metrics` (#10847) 2021-11-17 19:07:02 +00:00
handlers Remove the 'password_hash' from the Users Admin API endpoint response dictionary (#11576) 2022-01-14 14:53:33 +00:00
http Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
logging Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
metrics Simplify GC prometheus metrics (#11723) 2022-01-13 14:35:52 +00:00
module_api Fix `ModuleApi.looping_background_call` for non-async functions (#11524) 2021-12-07 11:41:31 +00:00
push Fix missing app variable in mail subject (#11745) 2022-01-13 20:19:10 +00:00
replication Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
res Allow configuration of the oEmbed URLs. (#10714) 2021-08-31 18:37:07 -04:00
rest Remove the 'password_hash' from the Users Admin API endpoint response dictionary (#11576) 2022-01-14 14:53:33 +00:00
server_notices disallow-untyped-defs for synapse.server_notices (#11021) 2021-10-07 19:55:15 +01:00
spam_checker_api Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
state Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
static Display an error page during failure of fallback UIA. (#10561) 2021-08-18 08:13:35 -04:00
storage Make pagination of rooms in admin api stable (#11737) 2022-01-17 11:42:51 +00:00
streams Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
util Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
__init__.py 1.50.0rc2 2022-01-14 11:34:57 +00:00
event_auth.py Check *all* auth events for room id and rejection (#11009) 2021-10-18 18:28:30 +01:00
notifier.py Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
py.typed Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054) 2021-10-13 08:42:41 +01:00
python_dependencies.py Re-apply: Move glob_to_regex and re_word_boundary to matrix-python-common #11505 (#11687) 2022-01-05 11:41:49 +00:00
server.py Bundle aggregations outside of the serialization method. (#11612) 2022-01-07 09:10:46 -05:00
types.py Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
visibility.py [pyupgrade] `synapse/` (#10348) 2021-07-19 15:28:05 +01:00