Make all email template text left-aligned, excluding call-to-actions buttons which should remain centered
In the emails needing updates, remove font styling from HTML tags other than <td> and <p>
Add an additional margin above and below each call-to-action button
For emails that include only the “ignore” warning below the call-to-action button move the warning up, so the button is the last item displayed
Fix the unit test that allows developers to locally generate test emails
* PS-293: Get latest version no comes from GitHub instead of DockerHub.
* PS-293: format fixes
* PS-293: code refactor and clean up
* PS-293: deserialization to class, argument typification.
* PS-293: formating fix
* PS-293: Moved ProjectType to HomeController
* PS-293: updated version endpoint to CDN
* PS-293: Update endpoint to CF protected
* PS-589 Fix 2022-05-24_00_DeviceUnknownVerification User_Update proc to remove the NULL and set the default value
* PS-589 updated stored procedures on Sql project to have UnknownDeviceVerificationEnabled with default 1 instead of NULL
* Fix parameter name to match entity
* Deserialize policy data in object
* Add policy with config type to fixtures
* Return policy with deserialized config
* Use CoreHelper serializers
* Add master password reset on accept request
* Simplify policy data parsing
* Linter
* protonmail.com domain has been replaced by proton.me
Protonvpn.com is still in use so there is still a need for equivalent domains for Proton.
* Update StaticStore.cs
* Added UnknownDeviceVerificationEnabled on User that is turned off when emergency contact takes over the account. Also added endpoints to get and update 2fa device verification settings. And Updated migrations & tests
* Applied dotnet format
* Fixed method rename call on TwoFactorController
* PS-589 Format fixes
* PS-589 changed UnknownDeviceVerificationEnabled to be non-nullable
Template items here aren't really tasks as interpreted by github, this
allows us to have the same MD experience without hinting to Github that
there are 2/8 tasks done, which was annoying.
* Updating the grep version check to be more strict on the new version convention
* updating the way we check the version with the new github release
* Fixed the release-type
* switching master branch name for commit
* Revert scaling by previous value
* Throw is Stripe subscription revert fails
* Remove unused property
* Add null check to accommodate for not existing storage-gb-xxx subscription item
* Use long? instead of Nullable<long>
* Remove redundant try/catch
* Ensure collectionMethod is changed back, even when revertSub fails
Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
* Add api integration tests
* Add some stuff
* Make program mockable
* Work on IntegrationTests for Identity
* Formatting
* Update packages.lock.json
* Update more packages.lock.json
* Update all packages.lock.json
* Fix InMemory configuration
* Actually fix test configuration
* Fix tests for CI
* Fix event service
* Force EF EventRepository
* Add client_credentials test
* Remove Api.IntegrationTest
* Remove Api Program changes
* Cleanup
* Add more Auth-Email tests
* Run formatting
* Address some PR feedback
* Move integration stuff to it's own common project
* Ran linter
* Add shared project to test solution
* Remove sln changes
* Clean usings
* Add more coverage
* Address PR feedback
* CSA-2 - adding master password authentication when enrolling in password reset
* Getting user by principal rather than ID
* Removing unnecessary userId call
* Use secret verification for re-auth api requests
Co-authored-by: Matt Gibson <mgibson@bitwarden.com>