Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for dropping messages. #16

Merged
merged 3 commits into from Feb 9, 2017
Merged

Commits on Feb 9, 2017

  1. Add support for dropping messages.

    - Add application_mode table which specifies which modes are supported for each application
    - Add "drop" mode type which sender understands to mean /dev/null
    - change a few logger.error's to logger.exception's to make debugging easier
    - when hard quota is exceeded, log message as type changed to "DROP"
    - when hard quota is exceeded, properly update UI and message table to acknowledge that it was dropped
    - fix foreign key constraint that breaks when a plan is deliberately
      disabled (UI doesn't support this) and is bound to a quota.
    jrgp committed Feb 9, 2017
    Configuration menu
    Copy the full SHA
    3f4bfcd View commit details
    Browse the repository at this point in the history
  2. replace MODE_DROP constant with non-constant

    maintain consistency with 'email' not being a constant
    jrgp committed Feb 9, 2017
    Configuration menu
    Copy the full SHA
    feab914 View commit details
    Browse the repository at this point in the history
  3. Replace all() with normal ops

    jrgp committed Feb 9, 2017
    Configuration menu
    Copy the full SHA
    cafd4ca View commit details
    Browse the repository at this point in the history