anonymousland-synapse/synapse/storage/databases/main
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
..
__init__.py Remove redundant get_current_events_token (#11643) 2022-01-04 16:10:27 +00:00
account_data.py Replace uses of simple_insert_many with simple_insert_many_values. (#11742) 2022-01-13 19:44:18 -05:00
appservice.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
cache.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
censor_events.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
client_ips.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
deviceinbox.py Replace uses of simple_insert_many with simple_insert_many_values. (#11742) 2022-01-13 19:44:18 -05:00
devices.py Merge branch 'release-v1.50' into develop 2022-01-14 15:25:16 +00:00
directory.py Replace uses of simple_insert_many with simple_insert_many_values. (#11742) 2022-01-13 19:44:18 -05:00
e2e_room_keys.py Replace uses of simple_insert_many with simple_insert_many_values. (#11742) 2022-01-13 19:44:18 -05:00
end_to_end_keys.py Replace uses of simple_insert_many with simple_insert_many_values. (#11742) 2022-01-13 19:44:18 -05:00
event_federation.py Improve type hints in storage classes. (#11652) 2021-12-29 13:04:28 +00:00
event_push_actions.py Replace uses of simple_insert_many with simple_insert_many_values. (#11742) 2022-01-13 19:44:18 -05:00
events_bg_updates.py Replace uses of simple_insert_many with simple_insert_many_values. (#11742) 2022-01-13 19:44:18 -05:00
events_forward_extremities.py Attempt to annotate events_forward_extremities (#11314) 2021-11-12 15:58:17 +00:00
events_worker.py Remove redundant get_current_events_token (#11643) 2022-01-04 16:10:27 +00:00
events.py Replace uses of simple_insert_many with simple_insert_many_values. (#11742) 2022-01-13 19:44:18 -05:00
filtering.py Improve type hints in storage classes. (#11652) 2021-12-29 13:04:28 +00:00
group_server.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
keys.py Add missing type hints to synapse.util (#9982) 2021-05-24 15:32:01 -04:00
lock.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
media_repository.py Improve type hints in storage classes. (#11652) 2021-12-29 13:04:28 +00:00
metrics.py Remove redundant COALESCE()s around COUNT()s in database queries (#11570) 2021-12-14 12:34:30 +00:00
monthly_active_users.py Remove redundant COALESCE()s around COUNT()s in database queries (#11570) 2021-12-14 12:34:30 +00:00
openid.py Add type hints to some storage classes (#11307) 2021-11-11 08:47:31 -05:00
presence.py Replace uses of simple_insert_many with simple_insert_many_values. (#11742) 2022-01-13 19:44:18 -05:00
profile.py Database storage profile passes mypy (#11342) 2021-11-15 12:59:33 +00:00
purge_events.py Disambiguate queries on state_key (#11497) 2021-12-02 22:42:58 +00:00
push_rule.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
pusher.py Replace uses of simple_insert_many with simple_insert_many_values. (#11742) 2022-01-13 19:44:18 -05:00
receipts.py Type hint the constructors of the data store classes (#11555) 2021-12-13 17:05:00 +00:00
registration.py Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
rejections.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
relations.py Bundle aggregations outside of the serialization method. (#11612) 2022-01-07 09:10:46 -05:00
room_batch.py Correct type hint for room_batch.py (#11310) 2021-11-11 16:49:28 +00:00
room.py Make pagination of rooms in admin api stable (#11737) 2022-01-17 11:42:51 +00:00
roommember.py Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
search.py Convert all namedtuples to attrs. (#11665) 2021-12-30 18:47:12 +00:00
session.py Run pyupgrade --py37-plus --keep-percent-format on Synapse (#11685) 2022-01-05 09:53:05 -08:00
signatures.py Get db signatures file to pass mypy (#11312) 2021-11-11 17:04:44 +00:00
state_deltas.py Improve log messages for stream ids (#11536) 2021-12-08 14:15:14 +00:00
state.py Better error messages from get_create_event_for_room (#11638) 2022-01-04 16:10:05 +00:00
stats.py Add type hints to synapse/storage/databases/main/stats.py (#11653) 2021-12-29 08:01:13 -05:00
stream.py Remove redundant get_current_events_token (#11643) 2022-01-04 16:10:27 +00:00
tags.py Add type hints to synapse/storage/databases/main/account_data.py (#11546) 2021-12-13 16:28:10 +00:00
transactions.py Fix get federation status of destination if no error occured (#11593) 2022-01-05 14:46:50 -05:00
ui_auth.py Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
user_directory.py Replace uses of simple_insert_many with simple_insert_many_values. (#11742) 2022-01-13 19:44:18 -05:00
user_erasure_store.py Annotations for user_erasure_store (#11313) 2021-11-11 19:22:19 +00:00