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

Emails: moved emails from court-dashboard repo #159

Merged
merged 3 commits into from
May 14, 2020
Merged

Emails: moved emails from court-dashboard repo #159

merged 3 commits into from
May 14, 2020

Conversation

promaty
Copy link
Contributor

@promaty promaty commented May 13, 2020

This is just a copy-paste from court-dashboard.
We should add missing pieces as PR dependencies:

@promaty promaty self-assigned this May 13, 2020
sohkai and others added 2 commits May 14, 2020 20:42
…es (#160)

* Emails: add missed-reveal template

* Emails: update email verification template to be have more template parameters

* Emails: update missed-vote to missed-action with additional templating

* Revert "Emails: update missed-vote to missed-action with additional templating"

This reverts commit 64f84f1.

* Revert "Emails: update email verification template to be have more template parameters"

This reverts commit ce13ea2.

* Emails: add email-verification-reminder template

* email-verification typo

* text changes to verification reminder

* changed wording to emailPreferencesUrl

* Added subject line required for email sync #161

Co-authored-by: Martynas Prokopas <[email protected]>
* added sync:templates and sync:assets

* added ci/cd

* updated README

* Apply suggestions from code review

Co-authored-by: Brett Sun <[email protected]>

* updated readme

* minor fixes

* Update emails/package.json

Co-authored-by: Brett Sun <[email protected]>

* changed to only sync on mainnet

* Apply suggestions from code review

Co-authored-by: Facu Spagnuolo <[email protected]>

* added staging postmark server for development

* ci/cd test

* test2

* reverted after test

Co-authored-by: Brett Sun <[email protected]>
Co-authored-by: Facu Spagnuolo <[email protected]>
@promaty promaty merged commit e883365 into development May 14, 2020
@promaty promaty deleted the emails branch May 14, 2020 18:44
facuspagnuolo added a commit that referenced this pull request May 25, 2020
* moved emails from court-dashboard repo

* Emails: add `email-verification-reminder` and `missed-reveal` templates (#160)

* Emails: add missed-reveal template

* Emails: update email verification template to be have more template parameters

* Emails: update missed-vote to missed-action with additional templating

* Revert "Emails: update missed-vote to missed-action with additional templating"

This reverts commit 64f84f1.

* Revert "Emails: update email verification template to be have more template parameters"

This reverts commit ce13ea2.

* Emails: add email-verification-reminder template

* email-verification typo

* text changes to verification reminder

* changed wording to emailPreferencesUrl

* Added subject line required for email sync #161

Co-authored-by: Martynas Prokopas <[email protected]>

* Emails: automatic sync (#161)

* added sync:templates and sync:assets

* added ci/cd

* updated README

* Apply suggestions from code review

Co-authored-by: Brett Sun <[email protected]>

* updated readme

* minor fixes

* Update emails/package.json

Co-authored-by: Brett Sun <[email protected]>

* changed to only sync on mainnet

* Apply suggestions from code review

Co-authored-by: Facu Spagnuolo <[email protected]>

* added staging postmark server for development

* ci/cd test

* test2

* reverted after test

Co-authored-by: Brett Sun <[email protected]>
Co-authored-by: Facu Spagnuolo <[email protected]>

Co-authored-by: Brett Sun <[email protected]>
Co-authored-by: Facu Spagnuolo <[email protected]>
promaty added a commit that referenced this pull request Jun 2, 2020
* notifications scaffolding

* typo

* added not nullabel

* added last notification date check

* added notification types table

* split into notification scanner and sender

* notification service prototype

* renamed test-server to test since we are testing services as well

* changed test folder

* added email template for subscription reminder

* Emails: moved emails from court-dashboard repo (#159)

* moved emails from court-dashboard repo

* Emails: add `email-verification-reminder` and `missed-reveal` templates (#160)

* Emails: add missed-reveal template

* Emails: update email verification template to be have more template parameters

* Emails: update missed-vote to missed-action with additional templating

* Revert "Emails: update missed-vote to missed-action with additional templating"

This reverts commit 64f84f1.

* Revert "Emails: update email verification template to be have more template parameters"

This reverts commit ce13ea2.

* Emails: add email-verification-reminder template

* email-verification typo

* text changes to verification reminder

* changed wording to emailPreferencesUrl

* Added subject line required for email sync #161

Co-authored-by: Martynas Prokopas <[email protected]>

* Emails: automatic sync (#161)

* added sync:templates and sync:assets

* added ci/cd

* updated README

* Apply suggestions from code review

Co-authored-by: Brett Sun <[email protected]>

* updated readme

* minor fixes

* Update emails/package.json

Co-authored-by: Brett Sun <[email protected]>

* changed to only sync on mainnet

* Apply suggestions from code review

Co-authored-by: Facu Spagnuolo <[email protected]>

* added staging postmark server for development

* ci/cd test

* test2

* reverted after test

Co-authored-by: Brett Sun <[email protected]>
Co-authored-by: Facu Spagnuolo <[email protected]>

Co-authored-by: Brett Sun <[email protected]>
Co-authored-by: Facu Spagnuolo <[email protected]>

* Emails: missing template subject fix

* Apply suggestions from code review

Co-authored-by: Facu Spagnuolo <[email protected]>

* minor suggested fixes

* added scan check

* abstracted scanner check

* renamed scanner checkUser to shouldNotifyUser

* added some user abstractions

* typo typo typo

* added more reliable test script

* improved test errors

* minor test fixes

* switched to logger error instead of throw

* removed $ from objection methods

* removed query() from some base methods

* moved logs before cors

* added JurorDrafted

* tidying up test file

* removed subscription reminder for anj registrations

* send verification token for anj registrations

* added reminder email instructions

* Services: notifications service - subscription reminder (#155)

* notifications scaffolding

* typo

* added not nullabel

* added last notification date check

* added notification types table

* split into notification scanner and sender

* notification service prototype

* renamed test-server to test since we are testing services as well

* changed test folder

* added email template for subscription reminder

* Apply suggestions from code review

Co-authored-by: Facu Spagnuolo <[email protected]>

* minor suggested fixes

* added scan check

* abstracted scanner check

* renamed scanner checkUser to shouldNotifyUser

* added some user abstractions

* typo typo typo

* added more reliable test script

* improved test errors

* minor test fixes

* switched to logger error instead of throw

* removed $ from objection methods

* removed query() from some base methods

* moved logs before cors

* tidying up test file

* removed subscription reminder for anj registrations

* send verification token for anj registrations

* added reminder email instructions

Co-authored-by: Facu Spagnuolo <[email protected]>

* fixed dispute URL

* renamed mock-utils to helpers

* Notifications service: remaining first batch (#169)

* added DueTasks

* added AppealsOpened

* added DisputeRuled

* added MissedVote MissedReveal

* edited missed vote/reveal email links

* parameterized lockedAnjBalanceUrl

* added final ruling word

* simplified outcomes word

* updated due tasks mock time format

* lowercased am/pm

* minor fix missed vote/reveal

* minor fix missed vote

* Shared: Add court wrapper config getter (#170)

* shared: add court wrapper config getter

* Shared: Rename court config getter

* cli: fix config setter command

* updated DisputeRuled with ruledAt field

* changed adjudiationRound time checks to termId

* shared: add court start time getter

* removed logger padding for longer worker names

* fixed due date with data from the blockchain

* added bn casting

* Notifications service: Notify unverified anj registrations (#171)

* added notify-new-anj-registrations

* minor template fixes

* added ethereum instruction

* added notifications setings link in the footer

* removed trim

* typo

* changed anj function name

* minor script fixes and comments

Co-authored-by: Facu Spagnuolo <[email protected]>
Co-authored-by: Facu Spagnuolo <[email protected]>

Co-authored-by: Brett Sun <[email protected]>
Co-authored-by: Facu Spagnuolo <[email protected]>
Co-authored-by: Facu Spagnuolo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants