Philip Molares
d716873af2
test: fix test name in alias.e2e-spec.ts
...
This seems to be a copy/paste bug
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-11-21 18:06:41 +01:00
renovate[bot]
965eae95a4
fix(deps): update dependency minio to v7.0.20 ( #1842 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-21 01:15:29 +00:00
David Mehren
3fa774d855
Merge pull request #1837 from hedgedoc/renovate/develop-typescript-4.x
2021-11-20 18:46:26 +01:00
Renovate Bot
ebb0e25f17
chore(deps): update dependency typescript to v4.5.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-11-20 15:08:40 +00:00
renovate[bot]
37a5c2ad10
fix(deps): update dependency class-validator to v0.13.2 ( #1839 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-20 15:05:49 +00:00
renovate[bot]
b1f1a2caee
fix(deps): update dependency typeorm to v0.2.41 ( #1836 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-20 12:20:22 +00:00
renovate[bot]
13884e7850
chore(deps): update nestjs packages ( #1835 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-20 10:40:44 +00:00
renovate[bot]
0854033dc9
chore(deps): update dependency source-map-support to v0.5.21 ( #1834 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-20 08:38:19 +00:00
renovate[bot]
c97ff0c278
chore(deps): update dependency @types/node to v16.11.9 ( #1833 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-20 04:10:49 +00:00
renovate[bot]
f387c556d7
chore(deps): update dependency @types/jest to v27.0.3 ( #1832 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-20 02:13:10 +00:00
David Mehren
5713c0b7bd
Merge pull request #1822 from hedgedoc/renovate/develop-linters
2021-11-17 18:12:01 +01:00
Renovate Bot
0e927e6f72
chore(deps): update linters to v5.4.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 08:34:13 +00:00
David Mehren
3ac396002b
Merge pull request #1825 from hedgedoc/chore/renovate-config
2021-11-17 09:31:47 +01:00
renovate[bot]
517bb08d2c
fix(deps): update dependency raw-body to v2.4.2 ( #1828 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 05:38:10 +00:00
David Mehren
bcd38e14c0
Merge pull request #1680 from hedgedoc/fix/createMethods
2021-11-16 19:07:00 +01:00
David Mehren
1601f4b3a8
Merge pull request #1826 from hedgedoc/enhancement/concurrent_e2e_tests
2021-11-16 18:45:46 +01:00
David Mehren
d094570a8c
test(jest): run e2e tests concurrently
...
Fixes #1644
Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-16 18:26:34 +01:00
David Mehren
3a47e962ea
test(mockconfig): generate unique upload paths
...
This stops multiple concurrently running tests disturbing each other.
Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-16 18:26:34 +01:00
David Mehren
0f08a1153d
ci(renovate): separate major updates
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-16 18:01:48 +01:00
David Mehren
6bb14c5446
ci(renovate): run only on weekends
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-16 17:59:02 +01:00
David Mehren
2acaa9f0ea
ci(renovate): remove explicit dependencyDashboard
...
The `config:base` preset now includes this option
Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-16 17:55:15 +01:00
renovate[bot]
424841de6d
fix(deps): update nestjs packages ( #1824 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-16 14:01:19 +00:00
renovate[bot]
6cdcede17e
chore(deps): lock file maintenance ( #1821 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-15 03:32:56 +00:00
David Mehren
db1d44cb69
fix(seed): fix create method usage
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-14 21:49:31 +01:00
David Mehren
9c08ff94fe
fix(note): fix type for owner param
...
To make the create method easier to use in conjunction
with the authentication framework, this commit changes the type of
the `owner` parameter from `User | undefined` to `User | null`.
Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-14 21:46:04 +01:00
David Mehren
01b53d3858
fix(alias): remove default for primary
...
To make the create method more consistent with the
guidelines,
this commit removes the default value from the `primary` parameter.
Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-14 21:46:04 +01:00
David Mehren
9258863dbd
fix(media-upload): remove backendData parameter
...
`Create` methods should only contain optional properties
Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-14 21:46:04 +01:00
David Mehren
a08d8c58ed
fix(identity): remove default for syncSource
...
To make the create method more consistent with the
guidelines,
this commit removes the default value from the `syncSource` parameter.
An Identity will be created as sync source,
when the associated account is created using an external provider.
Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-14 21:46:04 +01:00
David Mehren
5ba6b4ab67
fix(group): add special flag to create method
...
To make the create method more consistent with the
guidelines, this commit adds the `special` flag to
the parameters.
As this function will only be used to create the two hard-coded groups
and to handle API requests at one or two places, adding the parameter
should not be too problematic.
Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-14 21:46:04 +01:00
David Mehren
750b5c1440
Merge pull request #1782 from hedgedoc/renovate/develop-major-definitelytyped
2021-11-14 19:36:20 +01:00
David Mehren
40381c3ec3
chore(deps): update @types/node to 16.11.7
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-14 19:30:22 +01:00
David Mehren
e85604d995
Merge pull request #1819 from hedgedoc/renovate/develop-pymdown-extensions-9.x
2021-11-14 19:25:10 +01:00
Renovate Bot
8f442349a8
chore(deps): update dependency pymdown-extensions to v9.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-11-14 17:38:06 +00:00
David Mehren
5e4a6cff5d
Merge pull request #1807 from hedgedoc/renovate/develop-nestjs-packages
2021-11-13 21:37:04 +01:00
Philip Molares
8c78656f8c
docs: add dev documentation for create methods
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-11-11 22:15:00 +01:00
Philip Molares
09f0d7c389
fix(media-upload): rework create and media services saveFile
...
This was done to make the create method more concise.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-11-11 22:07:20 +01:00
Philip Molares
d5c77613bb
test(private-api): fix aliases expect
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-11-11 22:07:20 +01:00
Philip Molares
58d8ff71fe
fix: the tests use the new typing from create methods
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-11-11 22:07:20 +01:00
Philip Molares
d18d23cb16
fix: services use the new typings from create methods
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-11-11 22:07:20 +01:00
Philip Molares
b896f954b9
feat: consolidate entities create
...
This was done to give better typings to the function signatures of entities `create` methods.
It also ensures that each field that should be set to `null` is set to `null` and doesn't leave that up to the typeorm handlers.
See: #1641
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-11-11 22:07:20 +01:00
Renovate Bot
735af37bd7
fix(deps): update nestjs packages to v8.2.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 20:37:51 +00:00
David Mehren
73b499897f
Merge pull request #1817 from hedgedoc/chore/ci-node-17
2021-11-11 20:41:06 +01:00
David Mehren
8eeca861f2
Update to Yarn 3.1.0 for Node 17 compatibility
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-11 19:59:57 +01:00
David Mehren
0bc1760373
CI: Test and build with Node 17
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-11-11 19:58:01 +01:00
David Mehren
f46dcfdfcc
Merge pull request #1816 from hedgedoc/renovate/develop-typeorm-0.2.x
2021-11-11 19:51:11 +01:00
Renovate Bot
06ab153040
fix(deps): update dependency typeorm to v0.2.40
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 16:22:12 +00:00
renovate[bot]
1d05517669
chore(deps): update dependency @trivago/prettier-plugin-sort-imports to v3.1.1 ( #1814 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 14:53:47 +00:00
renovate[bot]
28be438efb
chore(deps): update dependency eslint-plugin-import to v2.25.3 ( #1813 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 12:21:28 +00:00
renovate[bot]
2fda948ced
fix(deps): update dependency typeorm to v0.2.39 ( #1811 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-09 18:16:14 +00:00
renovate[bot]
fde2b140a3
chore(deps): update linters to v5.3.1 ( #1808 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-09 01:38:24 +00:00