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

🎁 1019 batch email notifications #2200

Merged
merged 18 commits into from
May 7, 2024
Merged

Commits on May 1, 2024

  1. 🎁 Flesh out BatchEmailNotificationJob

    This commit fleshes out the `BatchEmailNotificationJob` and adds a
    preview for the email that will be sent.
    kirkkwang committed May 1, 2024
    Configuration menu
    Copy the full SHA
    b2e8a22 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09ec444 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ddbcc91 View commit details
    Browse the repository at this point in the history
  4. Add BatchEmailNotificationJob to create_account

    This commit adds the new job to the queue whenever a new tenant is
    created.  Also adding a method to the `User` model to mark all
    undelivered emails as delivered when their batch email frequency is
    changed to 'off'.
    kirkkwang committed May 1, 2024
    Configuration menu
    Copy the full SHA
    26317d8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6cd003c View commit details
    Browse the repository at this point in the history
  6. Change default value for batch_email_frequency

    The prior default value of `off` appears to be a reserved term
    and did not work for i18n translations.
    laritakr committed May 1, 2024
    Configuration menu
    Copy the full SHA
    643d55f View commit details
    Browse the repository at this point in the history
  7. UI to set email frequency

    - Show email frequency on user profile
    - Add selection list to edit profile menu to update frequency
    - Add appropriate translations to en.yml
    
    Ref: scientist-softserv/palni-palci#1022
    laritakr committed May 1, 2024
    Configuration menu
    Copy the full SHA
    0861258 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    519522b View commit details
    Browse the repository at this point in the history
  9. Fix spec

    laritakr committed May 1, 2024
    Configuration menu
    Copy the full SHA
    23924e7 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. Clean up views

    This commit will ensure the correct bootstrap class is on the batch
    email frequency select box.  It will also use the font awesome calendar
    icon for the label.
    kirkkwang committed May 2, 2024
    Configuration menu
    Copy the full SHA
    3666922 View commit details
    Browse the repository at this point in the history
  2. Change 'off' to 'never'

    Since it seems 'off' was protected, we switched to 'never' instead, this
    commit will clean up any other places where it was set to 'off'.
    kirkkwang committed May 2, 2024
    Configuration menu
    Copy the full SHA
    b4cabac View commit details
    Browse the repository at this point in the history
  3. Add callback for Mailboxer::Receipt

    This commit will add a callback for `Mailboxer::Receipt` to mark the
    receipt as delivered if the user set their batch_email_frequency to
    'never'.
    kirkkwang committed May 2, 2024
    Configuration menu
    Copy the full SHA
    d7c4b94 View commit details
    Browse the repository at this point in the history
  4. ✅ Add specs for batch email notifications

    This commit will add a few specs and also redo the logic for the batch
    email notification send frequency.  We needed a migration to the users
    model to track when the last email was sent to check if it's time to
    send another one based on their batch_email_frequency setting.
    kirkkwang committed May 2, 2024
    Configuration menu
    Copy the full SHA
    7c0c652 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Run translations

    This commit runs the Google translations for i18n files.
    kirkkwang committed May 3, 2024
    Configuration menu
    Copy the full SHA
    bc7e324 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    04e61ff View commit details
    Browse the repository at this point in the history
  3. Fix preview arguments

    kirkkwang committed May 3, 2024
    Configuration menu
    Copy the full SHA
    19a6e4e View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. Add Site's application name into email

    This commit will add the Site's application name into the email subject
    as well as the body.
    kirkkwang committed May 6, 2024
    Configuration menu
    Copy the full SHA
    c0d6351 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f3740c6 View commit details
    Browse the repository at this point in the history