David Baker
|
10f76dc5da
|
Make LRU cache not default to treecache & add options to use it
|
2016-01-22 12:10:33 +00:00 |
|
David Baker
|
5b142788d2
|
Add __contains__
|
2016-01-22 11:49:59 +00:00 |
|
David Baker
|
eaa836e8ca
|
Docs for treecache
|
2016-01-22 11:47:22 +00:00 |
|
David Baker
|
42eae4634f
|
Use new invalidate_many cache invalidation to invalidate the event_push_actions cache appropriately.
|
2016-01-22 11:22:48 +00:00 |
|
David Baker
|
8acc5cb60f
|
Add invalidate_many here too
|
2016-01-22 11:22:32 +00:00 |
|
David Baker
|
330be18ec5
|
peppate
|
2016-01-21 19:17:32 +00:00 |
|
David Baker
|
f1f8122120
|
Change LRUCache to be tree-based so we can delete subtrees.
|
2016-01-21 19:16:25 +00:00 |
|
Erik Johnston
|
0e07f2e15d
|
Only fetch events for rooms and receipts
|
2016-01-21 16:10:37 +00:00 |
|
Erik Johnston
|
8f66fe6392
|
Cache get_unread_event_push_actions_by_room_for_user
|
2016-01-21 15:02:07 +00:00 |
|
Erik Johnston
|
3a00f13436
|
Only compute badge count when necessary.
This reverts commit d726597737 .
|
2016-01-21 14:56:11 +00:00 |
|
Erik Johnston
|
c6549117a2
|
Fix AttributeError
|
2016-01-21 14:02:14 +00:00 |
|
Erik Johnston
|
ed1d189e10
|
Merge pull request #515 from matrix-org/erikj/syn-606
SYN-606: Peeking does not wake up /events
|
2016-01-21 13:40:20 +00:00 |
|
Erik Johnston
|
dfe1273d14
|
Merge pull request #509 from matrix-org/erikj/dns_cache
Cache dns lookups, and use the cache if we fail to lookup servers later
|
2016-01-21 13:37:23 +00:00 |
|
Erik Johnston
|
91a222c66d
|
SYN-606: Peeking does not wake up /events
If a real user attempted to first peek into one room, and then another,
their room event stream would not be woken up for events in the later
room.
|
2016-01-21 13:22:26 +00:00 |
|
David Baker
|
930ba003f8
|
Remove member event rule as per SYN-607
|
2016-01-21 11:50:27 +00:00 |
|
David Baker
|
c1a3021771
|
Merge pull request #507 from matrix-org/push_badge_counts
Push badge counts
|
2016-01-21 10:09:11 +00:00 |
|
Erik Johnston
|
d049e81b10
|
Merge pull request #513 from matrix-org/erikj/register_user_chars
Don't explode when given a unicode username in /register/
|
2016-01-21 09:53:35 +00:00 |
|
Erik Johnston
|
c43b6dcc75
|
Fix change_password
|
2016-01-20 16:14:48 +00:00 |
|
David Baker
|
367cfab4e6
|
peppate
|
2016-01-20 16:05:09 +00:00 |
|
Erik Johnston
|
73ca8e5834
|
Whine if we give a from param to /sync
|
2016-01-20 15:42:57 +00:00 |
|
Erik Johnston
|
b088291f14
|
Don't explode when given a unicode username in /register/
|
2016-01-20 15:40:25 +00:00 |
|
Daniel Wagner-Hall
|
da417aa56d
|
Allow non-guests to peek on rooms using /events
|
2016-01-20 15:34:07 +00:00 |
|
David Baker
|
d4315bbf6b
|
Add index by user id on receipts_linearized
|
2016-01-20 15:33:27 +00:00 |
|
David Baker
|
3fa344c037
|
Add storage function to get all receipts for a user. Also add some cache invalidation to the receipts storage because there wasn't any, and remove a method that was unused.
|
2016-01-20 15:30:31 +00:00 |
|
David Baker
|
7cc047455e
|
Inline membership specifier
|
2016-01-20 13:50:28 +00:00 |
|
David Baker
|
d726597737
|
Simplify badge updating code by just updating it every time we get woken up and it's not an event
|
2016-01-20 13:49:00 +00:00 |
|
David Baker
|
2309450a76
|
Merge branch 'develop' into push_badge_counts
|
2016-01-20 13:45:13 +00:00 |
|
David Baker
|
746f6e0eb3
|
'filtered' is a list of zero or 1
|
2016-01-20 13:44:04 +00:00 |
|
David Baker
|
7441d8cc0c
|
Merge remote-tracking branch 'origin/develop' into push_badge_counts
|
2016-01-20 13:40:22 +00:00 |
|
David Baker
|
ccf9387d57
|
Merge branch 'develop' into push_badge_counts
|
2016-01-20 13:33:45 +00:00 |
|
David Baker
|
259d1ecd1d
|
Don't generate push actions for our own events
|
2016-01-20 13:24:59 +00:00 |
|
Erik Johnston
|
191070123d
|
Cache dns lookups, and use the cache if we fail to lookup servers later
|
2016-01-20 11:34:09 +00:00 |
|
David Baker
|
afb7b377f2
|
Merge branch 'develop' into push_badge_counts
|
2016-01-19 18:17:23 +00:00 |
|
Erik Johnston
|
af30140621
|
Merge pull request #506 from matrix-org/erikj/push_fast
Only compute unread notifications for rooms we send down stream
|
2016-01-19 17:31:10 +00:00 |
|
Erik Johnston
|
ac2842ff1e
|
Only compute unread notifications for rooms we send down stream
|
2016-01-19 17:19:53 +00:00 |
|
Erik Johnston
|
892ee473d9
|
Don't use form of get_state_for_events with None state_key
|
2016-01-19 17:14:46 +00:00 |
|
Erik Johnston
|
2818a000aa
|
Use split rather than endswith
|
2016-01-19 16:11:39 +00:00 |
|
Erik Johnston
|
fb5d8e58ff
|
Change regex cache size to 5000
|
2016-01-19 16:07:07 +00:00 |
|
Erik Johnston
|
5a7d1ecffc
|
Add regex cache. Only caculate push actions for users that have sent read receipts, and are on that server
|
2016-01-19 16:01:05 +00:00 |
|
Erik Johnston
|
d056a0a3d8
|
Handle glob -> regex errors
|
2016-01-19 14:43:24 +00:00 |
|
Erik Johnston
|
7a079adc8f
|
Merge pull request #477 from matrix-org/erikj/access_token_log
Don't log urlencoded access_tokens
|
2016-01-19 14:28:29 +00:00 |
|
Erik Johnston
|
b8518ffe65
|
Use all_ephemeral_by_room in incremental_sync_with_gap_for_room
|
2016-01-19 14:26:58 +00:00 |
|
Erik Johnston
|
9654ee0848
|
Return don't break
|
2016-01-19 14:24:59 +00:00 |
|
Erik Johnston
|
7ecd211163
|
Except truthy values
|
2016-01-19 14:22:02 +00:00 |
|
Erik Johnston
|
05f78b3b52
|
Merge pull request #504 from matrix-org/erikj/highlight_count
Return highlight_count in /sync
|
2016-01-19 13:21:48 +00:00 |
|
Erik Johnston
|
9a8949f022
|
Merge branch 'develop' of github.com:matrix-org/synapse into default_notify
|
2016-01-19 11:37:05 +00:00 |
|
Erik Johnston
|
3adcc4c86a
|
Return highlight_count in /sync
|
2016-01-19 11:35:50 +00:00 |
|
Erik Johnston
|
47e7963e50
|
Merge pull request #502 from matrix-org/erikj/push_notif_perf
Unread notification performance.
|
2016-01-19 11:27:27 +00:00 |
|
Erik Johnston
|
0d241e1114
|
Take a deepcopy of push rules before mutating them
|
2016-01-19 10:15:12 +00:00 |
|
Erik Johnston
|
f750a442f7
|
Update _id
|
2016-01-19 10:14:53 +00:00 |
|