David Mehren
39eb5ff116
Log errors in ValidationPipe
...
Previously, when an error was encountered while validating
the request, only an HTTP 400 status code was returned to the client.
This adds logging of the error message,
so invalid requests can be debugged.
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-23 22:05:57 +02:00
renovate[bot]
08ef53bd7f
chore(deps): update dependency mkdocs-material to v7.3.2 ( #1714 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-06 21:08:14 +00:00
renovate[bot]
9cc26f2adb
fix(deps): update nestjs packages to v8.0.11 ( #1712 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-06 12:42:15 +00:00
renovate[bot]
c9ddb6c9b7
chore(deps): update dependency @types/node to v14.17.21 ( #1711 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-05 23:39:57 +00:00
renovate[bot]
5d5b1504f4
fix(deps): update nestjs packages to v8.0.10 ( #1709 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-05 10:07:47 +00:00
renovate[bot]
b289b98563
fix(deps): update dependency @nestjs/config to v1.0.2 ( #1708 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-04 12:36:36 +00:00
renovate[bot]
ea857109d6
chore(deps): lock file maintenance ( #1707 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-04 03:56:32 +00:00
renovate[bot]
35d31d915a
fix(deps): update dependency typeorm to v0.2.38 ( #1704 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-03 00:48:26 +00:00
renovate[bot]
f43d4521a3
chore(deps): update dependency mkdocs-material to v7.3.1 ( #1703 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-02 13:32:52 +00:00
renovate[bot]
7d97da3f6d
fix(deps): update dependency rxjs to v7.3.1 ( #1701 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-01 23:51:43 +00:00
renovate[bot]
5a40bca7bc
fix(deps): update nestjs packages to v8.0.9 ( #1698 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-30 14:22:31 +00:00
renovate[bot]
491bbcca58
chore(deps): update dependency jest to v27.2.4 ( #1695 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 19:03:40 +00:00
renovate[bot]
8af495c539
chore(deps): update dependency @types/node to v14.17.20 ( #1694 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 17:19:30 +00:00
renovate[bot]
88ce1b03ff
chore(deps): update dependency @nestjs/cli to v8.1.2 ( #1691 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 10:20:08 +00:00
renovate[bot]
a3ffc10ef3
chore(deps): update dependency eslint-plugin-jest to v24.4.3 ( #1690 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-28 21:49:34 +00:00
renovate[bot]
8cbf240af8
chore(deps): update dependency jest to v27.2.3 ( #1687 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-28 11:54:41 +00:00
renovate[bot]
335aa07e0f
fix(deps): update nestjs packages to v8.0.8 ( #1686 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-28 10:53:42 +00:00
renovate[bot]
23a49c45ea
chore(deps): lock file maintenance ( #1684 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 04:20:53 +00:00
renovate[bot]
921bea0441
chore(deps): update dependency jest to v27.2.2 ( #1682 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-25 16:48:51 +00:00
renovate[bot]
b558ae8774
chore(deps): update dependency @types/node to v14.17.19 ( #1681 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-25 14:16:20 +00:00
renovate[bot]
9f051cf956
fix(deps): update nestjs packages to v8.0.7 ( #1678 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-24 12:09:44 +00:00
renovate[bot]
7a37226200
chore(deps): pin dependency source-map-support to 0.5.20 ( #1675 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-23 23:38:23 +00:00
renovate[bot]
990d629df7
chore(deps): pin dependency @types/source-map-support to 0.5.4 ( #1674 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-23 23:08:25 +00:00
David Mehren
bbca4ab1dd
Combine build & prebuild scripts
...
Yarn 2 does not support pre-scripts anymore
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-06 18:04:14 +02:00
David Mehren
af908a6489
Remove ts-loader
...
Nest uses Webpack only for monorepo projects.
As we have a standalone Nest application, we can remove
the webpack-only dependency to ts-loader.
See https://docs.nestjs.com/cli/overview#project-structure
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-06 18:02:42 +02:00
David Mehren
ed1dd428b7
Move eslint plugins to devDependencies
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-06 18:01:05 +02:00
David Mehren
49112647cb
Add missing implicit dependencies
...
Yarn PnP does not allow modules to
access implicit dependencies.
This adds the missing dependencies to express and source-map-support.
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-06 16:38:14 +02:00
David Mehren
6733456add
Setup Prettier plugins explicitly
...
Prettier can't autodetect the plugins with Yarn PnP,
as there is no node_modules folder.
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-06 16:37:10 +02:00
David Mehren
9395db2744
Remove typeRoots from tsconfig
...
As we got rid of the express types in
`./types`, we can also remove the
`typeRoots` setting.
This also allows ts-jest to find the Jest typings
when run with Yarn PnP.
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-06 16:35:54 +02:00
David Mehren
1f2067288a
Explicitly import URL
...
With Yarn PnP, URL is seems to not automatically be
part of the global scope.
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-06 16:32:24 +02:00
David Mehren
241164261e
Add REUSE license info for Yarn 2
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-05 18:22:47 +02:00
David Mehren
692300cdc9
CI: Use immutable flag and built-in caching
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-05 18:14:18 +02:00
David Mehren
921500efe9
Add yarn typescript plugin
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-05 18:07:06 +02:00
David Mehren
75563a0343
Add yarn interactive-tools plugin
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-05 18:06:39 +02:00
David Mehren
7ef881d829
Setup .gitignore for Yarn 2
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-05 18:05:26 +02:00
David Mehren
485ca2f043
Install & configure Yarn 2
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-05 18:04:08 +02:00
Renovate Bot
6948de51e1
chore(deps): update dependency mkdocs-material to v7.3.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-09-23 09:07:52 +00:00
Philip Molares
1e3071516b
docs: add primary aliases to the dev doc about notes
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-06-06 18:07:53 +02:00
Philip Molares
9383eeb53a
fix: the seed command handles the new aliases
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-06-06 17:56:12 +02:00
Philip Molares
56eaddff8c
test: fix e2e tests to handle the new aliases
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-06-06 17:55:41 +02:00
Philip Molares
90b64c73b3
test: fix service tests to handle the new aliases
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-06-06 17:53:07 +02:00
Philip Molares
b135333a51
feat: add alias controller to private and public api
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-08-07 21:28:59 +02:00
Philip Molares
2b76d33a23
feat: add aliases to service files
...
This commit makes it possible to identifier notes via any alias in the note and history service.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-06-06 17:47:38 +02:00
Philip Molares
babd5ce393
chore: create getIdentifier utility function
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-09-16 23:53:29 +02:00
Philip Molares
8c214820e1
chore: create getPrimaryAlias utility function
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-08-07 21:51:47 +02:00
Philip Molares
d1b7c2a2db
feat: add alias service
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-08-07 21:53:54 +02:00
Philip Molares
17c55195c3
feat: add list of aliases to note entity
...
One of the aliases can be primary for each note, but all can be used to get information from the apis.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-06-06 17:46:32 +02:00
Philip Molares
86d060706f
chore: add PrimaryAliasDeletionForbiddenError
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-08-07 21:52:00 +02:00
Philip Molares
1fd15cc376
chore: add alias dtos
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-08-07 21:54:42 +02:00
renovate[bot]
36c63d3e40
fix(deps): update dependency node-fetch to v2.6.5 ( #1666 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-22 16:14:38 +00:00