synapse-old/synapse/storage
Richard van der Hoff 0fd2321629 Fix incorrect truncation in get_missing_events
It's quite important that get_missing_events returns the *latest* events in the
room; however we were pulling event ids out of the database until we got *at
least* 10, and then taking the *earliest* of the results.

We also shouldn't really be relying on depth, and should be checking the
room_id.
2018-10-17 17:35:26 +01:00
..
engines Port storage/ to Python 3 (#3725) 2018-08-31 00:19:58 +10:00
schema Don't reuse backup versions 2018-10-05 15:08:36 +01:00
util run isort 2018-07-09 16:09:20 +10:00
__init__.py Merge branch 'develop' into e2e_backups 2018-08-24 11:44:26 -04:00
_base.py Port storage/ to Python 3 (#3725) 2018-08-31 00:19:58 +10:00
account_data.py run isort 2018-07-09 16:09:20 +10:00
appservice.py Make EventStore inherit from EventFederationStore 2018-07-26 12:48:51 +01:00
background_updates.py Run things as background processes 2018-07-18 20:55:05 +01:00
client_ips.py Fix client IPs being broken on Python 3 (#3908) 2018-09-20 20:14:34 +10:00
deviceinbox.py Port storage/ to Python 3 (#3725) 2018-08-31 00:19:58 +10:00
devices.py Port storage/ to Python 3 (#3725) 2018-08-31 00:19:58 +10:00
directory.py Return a 404 when deleting unknown room alias 2018-09-17 13:19:00 +01:00
e2e_room_keys.py Misc PR feedback bits 2018-10-12 11:48:56 +01:00
end_to_end_keys.py Port storage/ to Python 3 (#3725) 2018-08-31 00:19:58 +10:00
event_federation.py Fix incorrect truncation in get_missing_events 2018-10-17 17:35:26 +01:00
event_push_actions.py Fix some looping_call calls which were broken in #3604 2018-07-26 11:48:08 +01:00
events.py actually exclude outliers 2018-10-03 10:19:41 +01:00
events_worker.py Port storage/ to Python 3 (#3725) 2018-08-31 00:19:58 +10:00
filtering.py Port storage/ to Python 3 (#3725) 2018-08-31 00:19:58 +10:00
group_server.py run isort 2018-07-09 16:09:20 +10:00
keys.py clearer logging when things fail, too 2018-09-06 23:56:47 +01:00
media_repository.py Keep track of last access time for local media 2018-01-17 10:24:43 +00:00
monthly_active_users.py fix #3854 2018-09-26 16:16:41 +01:00
openid.py Add an openidish mechanism for proving to third parties that you own a given user_id 2016-05-05 13:42:44 +01:00
prepare_database.py api into monthly_active_users table 2018-07-31 16:36:24 +01:00
presence.py run isort 2018-07-09 16:09:20 +10:00
profile.py Remote profile cache should remain in master worker 2018-08-17 11:37:42 +01:00
push_rule.py Merge remote-tracking branch 'origin/develop' into rav/remove_who_forgot_in_room 2018-07-23 17:15:12 +01:00
pusher.py Port storage/ to Python 3 (#3725) 2018-08-31 00:19:58 +10:00
receipts.py Update return value docstring 2018-07-12 09:45:37 +01:00
registration.py Implement trail users 2018-08-23 19:17:19 +01:00
rejections.py run isort 2018-07-09 16:09:20 +10:00
room.py Merge branch 'develop' of github.com:matrix-org/synapse into erikj/split_profiles 2018-08-17 14:15:48 +01:00
roommember.py Speed up lazy loading (#3827) 2018-09-12 00:50:39 +01:00
search.py run isort 2018-07-09 16:09:20 +10:00
signatures.py Python 3: Convert some unicode/bytes uses (#3569) 2018-08-02 00:54:06 +10:00
state.py docstrings and unittests for storage.state (#3958) 2018-09-27 11:22:25 +01:00
stream.py Comments on get_all_new_events_stream 2018-10-12 09:55:41 +01:00
tags.py run isort 2018-07-09 16:09:20 +10:00
transactions.py Fix bug when invalidating destination retry timings 2018-10-02 15:47:57 +01:00
user_directory.py s/becuase/because/g 2018-07-10 17:58:18 +01:00
user_erasure_store.py run isort 2018-07-09 16:09:20 +10:00