Mateusz Kwasniewski
6f09bcdee1
feat: unsubscribe link to user profile ( #8637 )
2024-11-04 12:10:32 +01:00
Mateusz Kwasniewski
ba4ba85554
fix: productivity report email ( #8574 )
2024-10-29 13:39:57 +01:00
Tymoteusz Czech
30c14ff995
feat(productiviy-report): email config ( #8571 )
...
Add ability to customize email headers for non-transactional emails.
2024-10-29 10:52:05 +01:00
Tymoteusz Czech
7c37de373f
Email template for Productivity Report ( #8532 )
2024-10-25 11:41:17 +02:00
Mateusz Kwasniewski
faaf54ca99
feat: email service for productivity report ( #8517 )
...
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2024-10-23 11:53:43 +02:00
Jaanus Sellin
735e6f0b23
feat: now you can add env type to env order ( #8442 )
2024-10-14 13:26:38 +03:00
Jaanus Sellin
e72aa2871e
feat: order environment plausible events ( #8427 )
2024-10-11 11:05:33 +03:00
Jaanus Sellin
3a2206d228
feat: order environments service implementation ( #8415 )
...
This can be consumed in enterprise repo.
2024-10-10 11:33:21 +03:00
Christopher Kolstad
53354224fc
chore: Bump biome and configure husky ( #6589 )
...
Upgrades biome to 1.6.1, and updates husky pre-commit hook.
Most changes here are making type imports explicit.
2024-03-18 13:58:05 +01:00
Thomas Heartman
7eb9a01bda
chore: extract and export type used by CR emails ( #6234 )
...
This change takes the (now rather involved) type used to send CR
schedule suspension emails and extracts it into a proper exported type.
This will allow us to import it in enterprise as well instead of
redefining it.
2024-02-14 10:38:13 +09:00
Thomas Heartman
e366e48b4c
feat: support environment variant updates in email service ( #6183 )
...
This change updates the email service's `sendScheduleSuspendedEmail`
method to support environment variants being changed.
2024-02-14 10:11:39 +09:00
Thomas Heartman
c43d7c0653
chore: update schedule emails to handle suspensions and segment updates ( #6145 )
...
This PR updates the change request email sending method to handle the
recent changes we have made. That means that the email now:
- says that change requests have been suspended instead of saying that
application will fail.
- handles cases where segments or strategies have been updated causing
potential conflicts.
I have updated the email templates and made some adjustments to the
email sending method. To make the transition from one to the other
easier, I have kept the original method as an interim solution until
enterprise has switched over.
2024-02-08 17:30:42 +09:00
andreas-unleash
60813acb09
fix: make the conflcit email template button conditionally render ( #5931 )
...
Makes the schedule conflict email button conditional to having the link
present.
Closes #
[1-1950](https://linear.app/unleash/issue/1-1950/modify-the-template-to-make-the-new-button-conditional )
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-01-17 13:26:07 +00:00
Nicolae Socaciu
9f72030578
Updated scheduled-change-conflict ( #5908 )
...
Updating the UI of the email template
Closes #
[1-1940](https://linear.app/unleash/issue/1-1940/improve-scheduled-change-conflict-template )
Before

After:

---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: andreas-unleash <andreas@getunleash.ai>
2024-01-16 16:12:25 +02:00
andreas-unleash
f0c0504b31
fix: email link ( #5719 )
...
Fixes missing base url
Relates to
#[1-1827](https://linear.app/unleash/issue/1-1827/email-link-to-revive-feature-is-wrong )
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-12-21 14:51:15 +02:00
andreas-unleash
12f79f90bb
feat: Scheduled change conflict email templates and function ( #5547 )
...
Creates a new email template for scheduled change conflicts and a
function to send it.
Relates to:
#[1-1686](https://linear.app/unleash/issue/1-1686/send-an-email-when-the-conflicts-are-detected )

---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2023-12-06 11:57:19 +02:00
andreas-unleash
3056456770
fix: scheduled cr failed email ( #5522 )
...
Relates to #
[1-1687](https://linear.app/unleash/issue/1-1687/send-an-email-when-the-scheduling-fails )
Removed `name` - not in template
Added missed `changeRequestTitle` for the html template context
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-12-04 11:51:06 +02:00
andreas-unleash
be17b7f575
feat: new email template for scheduled-execution-failed email ( #5519 )
...
What it says on the box.
Relates to #
[1-1687](https://linear.app/unleash/issue/1-1687/send-an-email-when-the-scheduling-fails )
<img width="782" alt="Screenshot 2023-12-01 at 15 33 08"
src="https://github.com/Unleash/unleash/assets/104830839/513a0a71-5ca5-4ea7-8482-7903c8485737 ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2023-12-01 15:48:13 +02:00
Gastón Fournier
d680e50055
feat: audit roles ( #5408 )
...
## About the changes
Audit changes to roles both root and project roles.
2023-11-24 14:22:31 +01:00
Christopher Kolstad
6673d131fe
feat: biome lint ( #4853 )
...
This commit changes our linter/formatter to biome (https://biomejs.dev/ )
Causing our prehook to run almost instantly, and our "yarn lint" task to
run in sub 100ms.
Some trade-offs:
* Biome isn't quite as well established as ESLint
* Are we ready to install a different vscode plugin (the biome plugin)
instead of the prettier plugin
The configuration set for biome also has a set of recommended rules,
this is turned on by default, in order to get to something that was
mergeable I have turned off a couple the rules we seemed to violate the
most, that we also explicitly told eslint to ignore.
2023-09-29 14:18:21 +02:00
Gastón Fournier
ea9bf7f447
chore: add linter rules for regexp ( #3500 )
...
## About the changes
Add linter rules for regexp security vulnerabilities
Commit 1c5d54c76e
[fails due to
regexp/no-super-linear-backtracking](https://github.com/Unleash/unleash/actions/runs/4668430535/jobs/8265506170#step:5:37 )
as reported here:
https://github.com/Unleash/unleash/security/code-scanning/1
[0127d1a
](0127d1a746
)
fixes the issues and warnings by running `yarn lint --fix`
2023-04-17 07:11:22 +00:00
sjaanus
c501fb221c
Hyperlink Injection in People Invitation Emails ( #2307 )
...
* Strip special characters
* Allow hyphens
2022-11-01 10:38:33 +02:00
olav
138300ab22
refactor: add OpenAPI schema to feature types controller ( #1684 )
...
* refactor: fix feature types id type
* refactor: fix error-hiding Controller imports
* refactor: add OpenAPI schema to feature types controller
2022-06-09 13:17:13 +02:00
Wilco Schoneveld
c30e92dc49
Added ability to set additional transport options to email service ( #1589 )
...
Co-authored-by: Wilco Schoneveld <wilco.schoneveld@politie.nl>
2022-05-13 09:06:10 +02:00
Ivar Conradi Østhus
1cad01b97e
fix: welcome-email should not include password-link when disabled ( #1302 )
2022-01-28 12:50:35 +01:00
Ivar Conradi Østhus
559275129d
Fix/bcryptjs ( #1239 )
...
fixes : #1108
2022-01-06 20:43:57 +01:00
Ivar Conradi Østhus
bb9ae03b27
Revert "fix: uri encode smtp connection string ( #901 )"
...
This reverts commit 8f1a5f5a64
.
2021-08-16 10:24:28 +02:00
James Renaud
8f1a5f5a64
fix: uri encode smtp connection string ( #901 )
...
Signed-off-by: James Renaud <james.renaud@mitel.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-08-12 22:32:16 +02:00
Christopher Kolstad
ff7be7696c
fix: Stores as typescript and with interfaces. ( #902 )
...
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-08-12 15:04:37 +02:00
Christopher Kolstad
3a65847aa7
Migrate to jest ( #854 )
...
* Migrate to jest
* Use --force-exit until dns close handle issue https://github.com/facebook/jest/issues/9982
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-05-28 11:10:24 +02:00
Christopher Kolstad
0de4c98a58
fix: send email on process.nextTick ( #805 )
...
To avoid users having to wait while we wait for a response from the email provider, we now send the mail on nextTick
2021-04-27 09:05:46 +02:00
Christopher Kolstad
7cb7e4a193
fix: simplify isConfigured check
2021-04-23 15:01:22 +02:00
Ivar Conradi Østhus
f261f546cc
fix: loading of emailtemplates
2021-04-23 14:53:56 +02:00
Fredrik Strand Oseberg
c58612fc8f
Feat/add new user email ( #793 )
...
* feat: send email when adding a new user
* fix: rename method
* fix: create welcome email
* fix: update email templates
* fix: add name to templates
* refactor: reduce database calls to one
* fix: alter tests
* fix: remove console logs
2021-04-23 10:58:47 +02:00
Christopher Kolstad
240c6a77a1
Feat/options need types ( #794 )
...
feat: options are now typed
- This makes it easier to know what to send to unleash.start / unleash.create
- Using a Partial to instantiate the config, then melding it with defaults to get a config object with all fields set either to their defaults or to whatever is passed in.
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-04-22 10:07:10 +02:00
Christopher Kolstad
4246baee16
feat: add ui-bootstrap endpoint ( #790 )
...
* feat: add ui-bootstrap endpoint
- Reducing calls needed for frontend to 1 instead of the current 6
fixes : #789
2021-04-20 12:32:02 +02:00
Christopher Kolstad
b55c85783b
Reset token ( #786 )
...
feat: Add Reset token functionality
This allows admin users to create a reset token for other users. Thus allowing resetting their password.
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
fixes : #778
2021-04-16 15:29:23 +02:00
Christopher Kolstad
99fd210392
feat: added basic email-service ( #780 )
...
* feat: added basic email-service
* feat: preview endpoint for plaintext/html templates
* chore: Updated docs
fixes : #757
2021-04-09 11:16:06 +02:00