Nicolò
9bce3417e9
feat(server): email notifications ( #8447 )
...
* feat(server): add `react-mail` as mail template engine and `nodemailer`
* feat(server): add `smtp` related configs to `SystemConfig`
* feat(web): add page for SMTP settings
* feat(server): add `react-email.adapter`
This adapter render the React-Email into HTML and plain/text email.
The output is set as the body of the email.
* feat(server): add `MailRepository` and `MailService`
Allow to use the NestJS-modules-mailer module to send SMTP emails.
This is the base transport for the `NotificationRepository`
* feat(server): register the job dispatcher and Job for async email
This allows to queue email sending jobs for the `EmailService`.
* feat(server): add `NotificationRepository` and `NotificationService`
This act as a middleware to properly route the notification to the right transport.
As POC I've only implemented a simple SMTP transport.
* feat(server): add `welcome` email template
* feat(server): add the first notification on `createUser` in `UserService`
This trigger an event for the `NotificationRepository` that once processes
by using the global config and per-user config will carry the payload to the right notification transport.
* chore: clean up
* chore: clean up web
* fix: type errors"
* fix package lock
* fix mail sending, option to ignore certs
* chore: open api
* chore: clean up
* remove unused import
* feat: email feature flag
* chore: remove unused interface
* small styling
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-05-02 15:43:18 +01:00
renovate[bot]
ef09fc4157
fix(deps): update typescript-projects ( #9187 )
...
* fix(deps): update typescript-projects
* chore: missing dependency
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-05-02 01:33:17 +01:00
renovate[bot]
9e79a23bbe
fix(deps): update typescript-projects ( #9169 )
...
* fix(deps): update typescript-projects
* fix: type error
* fix: more imports
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-04-30 09:49:14 -04:00
Alex The Bot
ba18776fc2
Version v1.103.1
2024-04-29 17:53:49 +00:00
Alex The Bot
4291b38769
Version v1.103.0
2024-04-29 14:42:49 +00:00
Jason Rasmussen
59caf1fce4
chore: lifecycle metadata ( #9103 )
...
feat(server): track endpoint lifecycle
2024-04-29 13:48:28 +00:00
Alex The Bot
a2180a467d
Version v1.102.3
2024-04-20 20:17:39 +00:00
Alex The Bot
25549b87c9
Version v1.102.2
2024-04-20 15:55:32 +00:00
Alex The Bot
6eb1b82541
Version v1.102.1
2024-04-20 13:43:46 +00:00
Alex The Bot
886e07604e
Version v1.102.0
2024-04-19 20:08:02 +00:00
renovate[bot]
18fa6018c0
fix(deps): update typescript-projects ( #8834 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 17:45:14 -04:00
Jason Rasmussen
50c9bc0336
chore: migrate to vitest ( #7156 )
...
* chore: jest => vitest
* chore: replace jest-when
2024-04-16 10:44:45 -04:00
Jason Rasmussen
dba365634a
chore(server): cleanup library watching ( #8835 )
...
chore: clean up library watching
2024-04-15 23:05:08 -04:00
Jason Rasmussen
2db76034b1
feat(server): correlation id via injected logger ( #8823 )
...
* feat(server): correlation id via injected logger
* feat: cid response header
2024-04-15 23:39:06 +00:00
renovate[bot]
3deaaf14c0
fix(deps): update dependency reflect-metadata to ^0.2.0 ( #8784 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 16:02:49 -07:00
renovate[bot]
321868963d
fix(deps): update typescript-projects ( #8651 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-09 21:08:37 +02:00
Alex
327b9bd59c
Revert "fix(deps): update typescript-projects ( #8647 )" ( #8650 )
...
This reverts commit 301c217303
.
2024-04-09 06:53:48 +02:00
renovate[bot]
301c217303
fix(deps): update typescript-projects ( #8647 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 23:44:48 -04:00
renovate[bot]
fff12e3d78
chore(deps): update dependency eslint-plugin-unicorn to v52 ( #8629 )
...
* chore(deps): update dependency eslint-plugin-unicorn to v52
* chore: linting
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-04-08 12:45:46 -04:00
Jelle Dekker
29e47dd7c1
fix: npm i
on Windows … ( #8619 )
2024-04-08 10:53:27 -04:00
Alex The Bot
3b0fff3b3d
Version v1.101.0
2024-04-05 02:39:51 +00:00
renovate[bot]
0849dbd1af
fix(deps): update typescript-projects ( #8451 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-02 02:20:52 -04:00
Alex The Bot
16513b4a6e
Version v1.100.0
2024-03-28 18:36:38 +00:00
Jason Rasmussen
a771c563ba
chore(server): remove pre-installed cli ( #8224 )
2024-03-23 16:07:39 -04:00
Jason Rasmussen
dc3c329431
chore: remove unused type ( #8157 )
2024-03-21 14:36:10 +00:00
Jason Rasmussen
382b63954c
refactor: asset v1, app.utils ( #8152 )
2024-03-21 09:07:47 -04:00
Jason Rasmussen
16d0df796c
refactor: infra folder ( #8138 )
2024-03-20 23:15:09 -04:00
Jason Rasmussen
c1402eee8e
chore: migrate database files ( #8126 )
2024-03-20 21:02:51 +00:00
renovate[bot]
3f0d54c752
fix(deps): update server ( #8067 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 15:34:12 -04:00
Daniel Dietzler
30f499cf2e
chore(server): use absolute import paths ( #8080 )
...
update server to use absolute import paths
2024-03-20 14:32:04 -04:00
Alex The Bot
5b314ffd46
Version v1.99.0
2024-03-20 14:50:57 +00:00
Jason Rasmussen
40262c30cb
refactor(server): library service ( #8050 )
...
* refactor: library service
* chore: open api
* fix: checks
2024-03-18 16:59:53 -04:00
Daniel Dietzler
148428a564
feat(server): use nestjs events to validate config ( #7986 )
...
* use events for config validation
* chore: better types
* add unit tests
---------
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-03-17 20:16:02 +01:00
renovate[bot]
8c24a994e1
fix(deps): update exiftool ( #7879 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-15 15:40:32 -05:00
Jason Rasmussen
0b8edb7671
chore: remove unused dep ( #7957 )
2024-03-14 16:18:55 -04:00
Mert
d67cc00e4e
feat(server): lower library scan memory usage ( #7939 )
...
* use trie
* update tests
* formatting
* pr feedback
* linting
2024-03-14 01:52:30 -04:00
renovate[bot]
d67a6b7293
fix(deps): update server ( #7898 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 12:54:46 -04:00
bo0tzz
72f9295490
feat(server): YAML config file support ( #7894 )
...
* test(server): Load config from yaml
* docs: YAML config support
* feat(server): YAML config file support
* fix format
---------
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-03-12 16:29:49 +01:00
Mert
a097e903c9
feat(server): OpenTelemetry integration ( #7356 )
...
* wip
* span class decorator
fix typing
* improvements
* noisy postgres logs
formatting
* add source
* strict string comparison
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
* remove debug code
* execution time histogram
* remove prometheus stuff
remove prometheus data
* disable by default
disable nestjs-otel stuff by default
update imports
* re-add postgres instrumentation
formatting
formatting
* refactor: execution time histogram
* decorator alias
* formatting
* keep original method order in filesystem repo
* linting
* enable otel sdk in e2e
* actually enable otel sdk in e2e
* share exclude paths
* formatting
* fix rebase
* more buckets
* add example setup
* add envs
fix
actual fix
* linting
* update comments
* update docker env
* use more specific env
---------
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-03-12 05:19:12 +00:00
Alex The Bot
4027cba4eb
Version v1.98.2
2024-03-11 14:17:12 +00:00
Mert
5bd597f14b
fix(server): external library sync not working for large libraries ( #7759 )
2024-03-10 22:30:57 -04:00
Jason Rasmussen
30b0b2474e
refactor: asset e2e ( #7769 )
2024-03-09 12:51:58 -05:00
Ben McCann
ba55e867e0
perf: precompress and cache assets ( #7757 )
...
* perf: precompress and cache assets
* fix cache header
* use startswith
---------
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2024-03-08 21:15:38 -05:00
Alex The Bot
430561d692
Version v1.98.1
2024-03-08 23:44:13 +00:00
Alex The Bot
7dc5e0cc4f
Version v1.98.0
2024-03-07 19:22:14 +00:00
Alex Tran
ba5d5256b1
Revert "Version v1.98.0"
...
This reverts commit 9b1a379fa6
.
2024-03-07 12:04:54 -06:00
Alex The Bot
9b1a379fa6
Version v1.98.0
2024-03-07 17:40:40 +00:00
renovate[bot]
8df63b7c94
fix(deps): update dependency archiver to v7 ( #7622 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-05 12:26:54 -05:00
Alex The Bot
6f53e83d49
Version v1.97.0
2024-02-28 22:34:00 +00:00
Alex The Bot
6d91c23f65
Version v1.96.0
2024-02-27 20:14:58 +00:00