Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Send unread notification counts #456

Merged
merged 38 commits into from
Jan 8, 2016
Merged

Send unread notification counts #456

merged 38 commits into from
Jan 8, 2016

Commits on Dec 10, 2015

  1. Very first cut of calculating actions for events as they come in. Doe…

    …sn't store them yet. Not very efficient.
    dbkr committed Dec 10, 2015
    Configuration menu
    Copy the full SHA
    21f135b View commit details
    Browse the repository at this point in the history
  2. Having consulted The Erikle, this should go at the end of on_receive_…

    …pdu, otherwise it will be triggered whenever we backfill too.
    dbkr committed Dec 10, 2015
    Configuration menu
    Copy the full SHA
    a84a693 View commit details
    Browse the repository at this point in the history
  3. Save event actions to the db

    dbkr committed Dec 10, 2015
    Configuration menu
    Copy the full SHA
    aa667ee View commit details
    Browse the repository at this point in the history
  4. Store nothing instead of ['dont_notify'] for events with no notificat…

    …ion 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.
    dbkr committed Dec 10, 2015
    Configuration menu
    Copy the full SHA
    5e909c7 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2015

  1. still very WIP, but now sends unread_notifications_count in the room …

    …object on sync (only actually corrrect in a full sync: hardcoded to 0 in incremental syncs).
    dbkr committed Dec 16, 2015
    Configuration menu
    Copy the full SHA
    42ad49f View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2015

  1. Make unread notification count sending work: put the correct count in…

    … incremental syncs too, where necessary, and fix silly bugs like only select the event actions for that user...
    dbkr committed Dec 18, 2015
    Configuration menu
    Copy the full SHA
    413d0d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b131fb1 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2015

  1. pep8

    dbkr committed Dec 21, 2015
    Configuration menu
    Copy the full SHA
    091c545 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f73f154 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c061b47 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2015

  1. Add bulk push rule evaluator which actually still evaluates rules one…

    … by one, but does far fewer db queries to fetch the rules
    dbkr committed Dec 22, 2015
    Configuration menu
    Copy the full SHA
    65c451c View commit details
    Browse the repository at this point in the history
  2. clarify problems

    dbkr committed Dec 22, 2015
    Configuration menu
    Copy the full SHA
    77f0685 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4c8f6a7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3fbb031 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5645d97 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    140a50f View commit details
    Browse the repository at this point in the history
  7. pep8 & unused variable

    dbkr committed Dec 22, 2015
    Configuration menu
    Copy the full SHA
    9b4cd0c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d79e90f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d2a92c6 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2016

  1. Address minor PR issues

    dbkr committed Jan 4, 2016
    Configuration menu
    Copy the full SHA
    3051c9d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    928c575 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c914d67 View commit details
    Browse the repository at this point in the history
  4. fix tests

    dbkr committed Jan 4, 2016
    Configuration menu
    Copy the full SHA
    92a1e74 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f1b6773 View commit details
    Browse the repository at this point in the history
  6. comma

    dbkr committed Jan 4, 2016
    Configuration menu
    Copy the full SHA
    d74c6ac View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c77e7e6 View commit details
    Browse the repository at this point in the history
  8. = not == in sql

    dbkr committed Jan 4, 2016
    Configuration menu
    Copy the full SHA
    4eb7b95 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2016

  1. comment typo

    dbkr committed Jan 5, 2016
    Configuration menu
    Copy the full SHA
    85ca8cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb03625 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2016

  1. Add is_guest flag to users db to track whether a user is a guest user…

    … or not. Use this so we can run _filter_events_for_client when calculating event_push_actions.
    dbkr committed Jan 6, 2016
    Configuration menu
    Copy the full SHA
    c79f221 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae1262a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9929283 View commit details
    Browse the repository at this point in the history
  4. fix tests

    dbkr committed Jan 6, 2016
    Configuration menu
    Copy the full SHA
    0e48f7f View commit details
    Browse the repository at this point in the history
  5. Adding is_guest here won't work because it just constructs a dict of …

    …uid -> password hash
    dbkr committed Jan 6, 2016
    Configuration menu
    Copy the full SHA
    b6a5853 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    442fcc0 View commit details
    Browse the repository at this point in the history
  7. comma style

    dbkr committed Jan 6, 2016
    Configuration menu
    Copy the full SHA
    09dc985 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2016

  1. more commas

    dbkr committed Jan 7, 2016
    Configuration menu
    Copy the full SHA
    823b679 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    daadcf3 View commit details
    Browse the repository at this point in the history