1
0

Commit Graph

  • d552861346 Revert all the bits changing keys of eeverything that used LRUCaches to tuples David Baker 2016-01-22 12:18:14 +00:00
  • 10f76dc5da Make LRU cache not default to treecache & add options to use it David Baker 2016-01-22 12:10:33 +00:00
  • 5b142788d2 Add __contains__ David Baker 2016-01-22 11:49:59 +00:00
  • eaa836e8ca Docs for treecache David Baker 2016-01-22 11:47:22 +00:00
  • 42eae4634f Use new invalidate_many cache invalidation to invalidate the event_push_actions cache appropriately. David Baker 2016-01-22 11:22:48 +00:00
  • 8acc5cb60f Add invalidate_many here too David Baker 2016-01-22 11:22:32 +00:00
  • 31a051b677 Test treecache directly David Baker 2016-01-22 11:22:00 +00:00
  • 8f9c74e9f1 Fix tests Erik Johnston 2016-01-22 10:48:27 +00:00
  • 975903ae17 Sanitize filters Erik Johnston 2016-01-22 10:41:30 +00:00
  • 4efcaa43c8 Add tests for treecache directly and test del_multi at the LruCache level too. David Baker 2016-01-22 10:37:37 +00:00
  • 330be18ec5 peppate David Baker 2016-01-21 19:17:32 +00:00
  • f1f8122120 Change LRUCache to be tree-based so we can delete subtrees. David Baker 2016-01-21 19:16:25 +00:00
  • 297eded261 Merge pull request #517 from matrix-org/erikj/push_only_room Erik Johnston 2016-01-21 16:12:39 +00:00
  • 0e07f2e15d Only fetch events for rooms and receipts Erik Johnston 2016-01-21 16:10:37 +00:00
  • 82b46f556d Merge pull request #516 from matrix-org/erikj/push_perf Erik Johnston 2016-01-21 15:12:56 +00:00
  • 8f66fe6392 Cache get_unread_event_push_actions_by_room_for_user Erik Johnston 2016-01-21 15:02:07 +00:00
  • 3a00f13436 Only compute badge count when necessary. Erik Johnston 2016-01-21 14:55:59 +00:00
  • c6549117a2 Fix AttributeError Erik Johnston 2016-01-21 14:02:14 +00:00
  • ed1d189e10 Merge pull request #515 from matrix-org/erikj/syn-606 Erik Johnston 2016-01-21 13:40:20 +00:00
  • dfe1273d14 Merge pull request #509 from matrix-org/erikj/dns_cache Erik Johnston 2016-01-21 13:37:23 +00:00
  • 91a222c66d SYN-606: Peeking does not wake up /events Erik Johnston 2016-01-21 13:22:26 +00:00
  • 0503bdb316 Merge pull request #514 from matrix-org/remove_member_event_rule David Baker 2016-01-21 12:00:26 +00:00
  • 930ba003f8 Remove member event rule as per SYN-607 David Baker 2016-01-21 11:50:27 +00:00
  • d54005059c Merge branch 'develop' of github.com:matrix-org/synapse into develop Erik Johnston 2016-01-21 10:19:15 +00:00
  • d7c85ad916 Add another graph contrib Erik Johnston 2016-01-21 10:19:05 +00:00
  • c1a3021771 Merge pull request #507 from matrix-org/push_badge_counts David Baker 2016-01-21 10:09:11 +00:00
  • d049e81b10 Merge pull request #513 from matrix-org/erikj/register_user_chars Erik Johnston 2016-01-21 09:53:35 +00:00
  • c43b6dcc75 Fix change_password Erik Johnston 2016-01-20 16:14:48 +00:00
  • 367cfab4e6 peppate David Baker 2016-01-20 16:05:09 +00:00
  • 69adf8c384 Merge pull request #512 from matrix-org/erikj/whine_on_from Erik Johnston 2016-01-20 15:58:44 +00:00
  • 73ca8e5834 Whine if we give a from param to /sync Erik Johnston 2016-01-20 15:42:57 +00:00
  • b088291f14 Don't explode when given a unicode username in /register/ Erik Johnston 2016-01-20 15:40:25 +00:00
  • a2ae01cc0f Merge pull request #510 from matrix-org/daniel/nonguestpeeking Daniel Wagner-Hall 2016-01-20 15:34:18 +00:00
  • da417aa56d Allow non-guests to peek on rooms using /events Daniel Wagner-Hall 2016-01-20 15:34:07 +00:00
  • d4315bbf6b Add index by user id on receipts_linearized David Baker 2016-01-20 15:33:27 +00:00
  • 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. David Baker 2016-01-20 15:30:31 +00:00
  • 7cc047455e Inline membership specifier David Baker 2016-01-20 13:50:28 +00:00
  • d726597737 Simplify badge updating code by just updating it every time we get woken up and it's not an event David Baker 2016-01-20 13:49:00 +00:00
  • 2309450a76 Merge branch 'develop' into push_badge_counts David Baker 2016-01-20 13:45:13 +00:00
  • ea5eea2424 Merge branch 'dbkr/no_push_for_own_events' into develop David Baker 2016-01-20 13:44:46 +00:00
  • 746f6e0eb3 'filtered' is a list of zero or 1 David Baker 2016-01-20 13:44:04 +00:00
  • 7441d8cc0c Merge remote-tracking branch 'origin/develop' into push_badge_counts David Baker 2016-01-20 13:40:22 +00:00
  • ccf9387d57 Merge branch 'develop' into push_badge_counts David Baker 2016-01-20 13:33:45 +00:00
  • d4cefb6289 Merge pull request #511 from matrix-org/dbkr/no_push_for_own_events David Baker 2016-01-20 13:33:25 +00:00
  • 259d1ecd1d Don't generate push actions for our own events David Baker 2016-01-20 13:24:59 +00:00
  • 191070123d Cache dns lookups, and use the cache if we fail to lookup servers later Erik Johnston 2016-01-20 11:34:09 +00:00
  • afb7b377f2 Merge branch 'develop' into push_badge_counts David Baker 2016-01-19 18:17:23 +00:00
  • af30140621 Merge pull request #506 from matrix-org/erikj/push_fast Erik Johnston 2016-01-19 17:31:10 +00:00
  • ac2842ff1e Only compute unread notifications for rooms we send down stream Erik Johnston 2016-01-19 17:19:53 +00:00
  • 892ee473d9 Don't use form of get_state_for_events with None state_key Erik Johnston 2016-01-19 17:12:46 +00:00
  • 40d9765123 Merge pull request #505 from matrix-org/erikj/push_fast Erik Johnston 2016-01-19 16:16:05 +00:00
  • 2818a000aa Use split rather than endswith Erik Johnston 2016-01-19 16:11:39 +00:00
  • fb5d8e58ff Change regex cache size to 5000 Erik Johnston 2016-01-19 16:07:07 +00:00
  • 5a7d1ecffc Add regex cache. Only caculate push actions for users that have sent read receipts, and are on that server Erik Johnston 2016-01-19 16:01:05 +00:00
  • d056a0a3d8 Handle glob -> regex errors Erik Johnston 2016-01-19 14:43:24 +00:00
  • 7a079adc8f Merge pull request #477 from matrix-org/erikj/access_token_log Erik Johnston 2016-01-19 14:28:29 +00:00
  • b8518ffe65 Use all_ephemeral_by_room in incremental_sync_with_gap_for_room Erik Johnston 2016-01-19 14:26:58 +00:00
  • 9654ee0848 Return don't break Erik Johnston 2016-01-19 14:24:59 +00:00
  • 7ecd211163 Except truthy values Erik Johnston 2016-01-19 14:22:02 +00:00
  • 05f78b3b52 Merge pull request #504 from matrix-org/erikj/highlight_count Erik Johnston 2016-01-19 13:21:48 +00:00
  • f5fc8f2928 Merge pull request #486 from matrix-org/default_notify Erik Johnston 2016-01-19 12:49:29 +00:00
  • 9a8949f022 Merge branch 'develop' of github.com:matrix-org/synapse into default_notify Erik Johnston 2016-01-19 11:37:05 +00:00
  • 3adcc4c86a Return highlight_count in /sync Erik Johnston 2016-01-19 11:35:50 +00:00
  • 47e7963e50 Merge pull request #502 from matrix-org/erikj/push_notif_perf Erik Johnston 2016-01-19 11:27:27 +00:00
  • 88af7bb48b Merge pull request #503 from matrix-org/daniel/nonghosts Daniel Wagner-Hall 2016-01-19 11:27:00 +00:00
  • 0d241e1114 Take a deepcopy of push rules before mutating them Erik Johnston 2016-01-19 10:15:12 +00:00
  • f750a442f7 Update _id Erik Johnston 2016-01-19 10:14:53 +00:00
  • 003853e702 Preserve truthiness Erik Johnston 2016-01-18 17:34:02 +00:00
  • a284ad4092 You need to escape backslashes Erik Johnston 2016-01-18 17:20:44 +00:00
  • 47f82e4408 Fix branch didn't check word_boundary Erik Johnston 2016-01-18 17:04:36 +00:00
  • 5cd2126a6a Remove dead code Erik Johnston 2016-01-18 16:48:37 +00:00
  • 29c353c553 Don't split at word boundaries, actually use regex Erik Johnston 2016-01-18 16:48:17 +00:00
  • 808a8aedab Don't error on AS non-ghost user use Daniel Wagner-Hall 2016-01-18 16:33:05 +00:00
  • 74474a6d63 Pull out app service user lookup Daniel Wagner-Hall 2016-01-18 16:32:33 +00:00
  • d16dcf642e Drop log levels Erik Johnston 2016-01-18 15:44:04 +00:00
  • 7dd14e5d1c Add comments and remove dead code Erik Johnston 2016-01-18 15:42:23 +00:00
  • 866fe27e78 Do for loop once at start Erik Johnston 2016-01-18 15:29:41 +00:00
  • d1f56f732e Use static for const dicts Erik Johnston 2016-01-18 10:09:14 +00:00
  • 0e39dcd135 Remove internal ids Erik Johnston 2016-01-18 14:39:43 +00:00
  • 345ff2196a Don't edit ruleset Erik Johnston 2016-01-18 14:39:34 +00:00
  • 2c176e02ae Make unit tests work Erik Johnston 2016-01-18 14:24:31 +00:00
  • 63485b3029 Re-enable urnead notifications Erik Johnston 2016-01-18 14:11:43 +00:00
  • f59b564507 Make notifications go quicker Erik Johnston 2016-01-18 14:09:47 +00:00
  • 2068678b8c Make Event objects behave more like dicts Erik Johnston 2016-01-18 10:46:09 +00:00
  • cc66a9a5e3 Allow filtering events for multiple users at once Erik Johnston 2016-01-18 10:45:09 +00:00
  • 5de1563997 Merge pull request #501 from matrix-org/daniel/unban Daniel Wagner-Hall 2016-01-15 16:27:29 +00:00
  • ac5a4477ad Require unbanning before other membership changes Daniel Wagner-Hall 2016-01-15 16:27:26 +00:00
  • c049f60d4a Merge pull request #500 from matrix-org/daniel/cleanup Daniel Wagner-Hall 2016-01-15 16:02:22 +00:00
  • b5ce4f0427 Remove unused parameters Daniel Wagner-Hall 2016-01-15 13:54:03 +00:00
  • ac12b6d332 Merge branch 'invalid_user_name' into develop David Baker 2016-01-15 10:07:01 +00:00
  • 5819b7a78c M_INVALID_USERNAME to be consistent with the parameter name David Baker 2016-01-15 10:06:34 +00:00
  • 5bf1a3d6dc Merge pull request #499 from matrix-org/invalid_user_name David Baker 2016-01-15 09:18:02 +00:00
  • 3f8db3d597 Add specific error code for invalid user names. David Baker 2016-01-14 17:21:04 +00:00
  • a50013fd99 Merge pull request #497 from matrix-org/erikj/max_limit Erik Johnston 2016-01-14 16:28:52 +00:00
  • 2978053d16 Merge branch 'release-v0.12.1' into develop Richard van der Hoff 2016-01-14 15:04:08 +00:00
  • 2c760372d6 Merge pull request #496 from matrix-org/daniel/3 Daniel Wagner-Hall 2016-01-14 14:34:11 +00:00
  • 2680043bc6 Require ID and as_token be unique for ASs Daniel Wagner-Hall 2016-01-14 14:34:01 +00:00
  • 8db451f652 Merge pull request #498 from matrix-org/push_rule_enabled_fix David Baker 2016-01-14 13:34:05 +00:00
  • 430d3d74f6 Merge branch 'release-v0.12.1' into develop Richard van der Hoff 2016-01-14 11:17:47 +00:00
  • 7ee1879ed4 Merge pull request #492 from matrix-org/rav/event_context_shiz_release release-v0.12.1 Richard van der Hoff 2016-01-14 11:17:29 +00:00