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