Commit History

Autor SHA1 Mensaxe Data
  David Baker d549fdfa22 Remove code that's now been obsoleted or moved elsewhere %!s(int64=8) %!d(string=hai) anos
  Erik Johnston b6507869cd Make get_invites return RoomsForUser %!s(int64=8) %!d(string=hai) anos
  Mark Haines 7076082ae6 Fix relative imports so they work in both py3 and py27 %!s(int64=8) %!d(string=hai) anos
  Mark Haines b9977ea667 Remove dead code for setting device specific rules. %!s(int64=8) %!d(string=hai) anos
  Erik Johnston 31a2b892d8 Revert to putting it around the entire block %!s(int64=8) %!d(string=hai) anos
  Erik Johnston 549698b1e0 Don't measure across event stream call, as it lasts for a long time. %!s(int64=8) %!d(string=hai) anos
  Erik Johnston 2c1fbea531 Fix up logcontexts %!s(int64=8) %!d(string=hai) anos
  Erik Johnston 13e6262659 Add metrics to pushers %!s(int64=8) %!d(string=hai) anos
  Erik Johnston 771528ab13 Change event_push_actions_rm_tokens schema %!s(int64=8) %!d(string=hai) anos
  Erik Johnston 53cb173663 Push: Use storage apis that are cached %!s(int64=8) %!d(string=hai) anos
  Erik Johnston 0e07f2e15d Only fetch events for rooms and receipts %!s(int64=8) %!d(string=hai) anos
  Erik Johnston 3a00f13436 Only compute badge count when necessary. %!s(int64=8) %!d(string=hai) anos
  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. %!s(int64=8) %!d(string=hai) anos
  David Baker 7cc047455e Inline membership specifier %!s(int64=8) %!d(string=hai) anos
  David Baker d726597737 Simplify badge updating code by just updating it every time we get woken up and it's not an event %!s(int64=8) %!d(string=hai) anos
  David Baker afb7b377f2 Merge branch 'develop' into push_badge_counts %!s(int64=8) %!d(string=hai) anos
  David Baker 12623c99b6 Use the unread notification count to send accurate badge counts in push notifications. %!s(int64=8) %!d(string=hai) anos
  Mark Haines 9c1f853d58 Rename 'user_name' to 'user_id' in push to make it consistent with the rest of the code %!s(int64=8) %!d(string=hai) anos
  David Baker c232780081 Merge pull request #456 from matrix-org/store_event_actions %!s(int64=8) %!d(string=hai) anos
  Matthew Hodgson 6c28ac260c copyrights %!s(int64=8) %!d(string=hai) anos
  David Baker c914d67cda Rename event-actions to event_push_actions as per PR request %!s(int64=8) %!d(string=hai) anos
  David Baker 9b4cd0cd0f pep8 & unused variable %!s(int64=8) %!d(string=hai) anos
  David Baker 5645d9747b Add some comments to areas that could be optimised. %!s(int64=8) %!d(string=hai) anos
  David Baker 5e909c73d7 Store nothing instead of ['dont_notify'] for events with no notification required: much as it would be nice to be able to tell between the event not having been processed and there being no notification for it, this isn't worth filling up the table with ['dont_notify'] I think. Consequently treat the empty actions array as dont_notify and filter dont_notify out of the result. %!s(int64=8) %!d(string=hai) anos
  David Baker a24eedada7 pep8 %!s(int64=8) %!d(string=hai) anos
  David Baker 4a728beba1 Split out the push rule evaluator into a separate file so it can be more readily reused. Should be functionally identical. %!s(int64=8) %!d(string=hai) anos
  David Baker 91482cd6a0 Use raw string for regex here, otherwise \b is the backspace character. Fixes displayname matching. %!s(int64=8) %!d(string=hai) anos
  Erik Johnston f8f3d72e2b Don't make pushers handle presence/typing events %!s(int64=8) %!d(string=hai) anos
  Erik Johnston 78fa346b07 Store the 'last_token' in the db, even if we processed no events %!s(int64=8) %!d(string=hai) anos
  Erik Johnston a45ec7c651 Block on storing the current last_tokens %!s(int64=8) %!d(string=hai) anos