Renovate Bot
640f425781
Update dependency @types/luxon to v1.26.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-27 23:07:51 +01:00
Renovate Bot
3993e41a55
Update dependency vega-lite to v5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-27 16:06:15 +01:00
Renovate Bot
a54711e287
Update dependency vega-embed to v6.15.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-27 15:53:44 +01:00
Renovate Bot
0c0c2c2d2c
Update dependency codemirror to v5.59.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-27 15:15:21 +01:00
Renovate Bot
31034c3e8d
Update dependency i18next to v19.9.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-27 13:54:35 +01:00
Renovate Bot
568a1dbe1e
Update dependency eslint-plugin-flowtype to v5.3.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-27 12:35:05 +01:00
Renovate Bot
afa4088eb2
Update JS test packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-27 12:22:28 +01:00
Renovate Bot
6327fead01
Update dependency i18next-http-backend to v1.1.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-27 11:19:52 +01:00
Renovate Bot
3523f2d077
Update dependency react-i18next to v11.8.8
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-27 11:15:11 +01:00
Renovate Bot
97eda114ca
Update dependency react-scripts to v4.0.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-27 10:51:43 +01:00
Renovate Bot
ba7dfac489
Update dependency typescript to v4.2.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-27 10:38:28 +01:00
Renovate Bot
1f3578af14
Update typescript-eslint monorepo to v4.15.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-27 10:38:14 +01:00
Erik Michelson
a1698047a8
Set sanitized note title as filename for download ( #1057 )
2021-02-22 23:36:09 +01:00
Erik Michelson
7dd91c7b46
Change top slide mode button dynamically to read-only-mode ( #1056 )
2021-02-22 22:54:28 +01:00
Erik Michelson
f9809a4edf
Add e2e tests for diagrams and embeddings ( #1025 )
2021-02-22 22:27:59 +01:00
Renovate Bot
c2664b68f0
Lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-22 01:37:24 +01:00
Renovate Bot
ca12cfd312
Update dependency codemirror to v5.59.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-21 13:23:25 +01:00
Philip Molares
66e2340009
NotesService: Add e2e tests for forbidden note alias
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-20 22:24:17 +01:00
Philip Molares
54d0aa2197
NotesService: Add unit tests for forbidden note alias
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-20 22:23:52 +01:00
Philip Molares
c82f317ef0
NotesService: Check if note alias is forbidden
...
If the note alias is forbidden return a BadRequest.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-20 22:21:31 +01:00
Philip Molares
dbbee13913
Errors: Add ForbiddenIdError
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-20 22:16:50 +01:00
Philip Molares
966f5ee2fe
Config: Add forbiddenNoteIds to AppConfig
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-20 22:15:04 +01:00
Renovate Bot
2a83c9b2ac
Lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-07 21:36:19 +00:00
Renovate Bot
68fdfebc23
Update linters
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-07 21:23:35 +00:00
Renovate Bot
2abc81134d
Update dependency typescript to v4.2.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-07 21:16:23 +00:00
Renovate Bot
aeda6fb577
Update dependency file-type to v16.3.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-07 21:16:11 +00:00
Renovate Bot
8bbc89bed2
Update dependency mkdocs-material to v7.0.5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-07 19:04:16 +00:00
Philip Molares
bb6d34c88c
Docs: Add Azure, Filesystem, Imgur and S3
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-28 17:46:00 +01:00
Philip Molares
0ac88439ea
Fix compilation with ts-node
...
ts-node by default does not respect the `files` setting in `tsconfig.json`
and therefore does not respect the d.ts file under `types/`.
This commit adds an explicit `typeRoots` option, as recommended by
https://github.com/TypeStrong/ts-node#help-my-types-are-missing
Fixes #989
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-05 00:37:35 +01:00
Renovate Bot
e1cf539b1c
Update dependency ts-jest to v26.5.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-04 08:30:33 +00:00
Renovate Bot
4e532a2c5a
Pin dependencies
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-02-27 22:12:19 +00:00
Philip Molares
b2008ae734
AppModule: Add reminder to remove synchronize
...
This auto creates schema on startup and is not intended for production use
See https://typeorm.io/#/connection-options/common-connection-options
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-27 22:58:34 +01:00
Philip Molares
d6e8d9a592
S3Backend: Add S3 MediaBackend
...
Add minio dependency
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-23 16:14:14 +01:00
Philip Molares
d2bce6e091
MediaConfig: Change s3 config
...
remove region as this is specified by endPoint now
add bucket in schema and actual assignment
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-23 16:13:33 +01:00
Philip Molares
5195955eb8
MediaConfig: Fix Joi schema alternatives
...
'...use' tries to go up one level and grab the value of 'use' there and not the same level 'use' as we want here
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-23 15:45:59 +01:00
Philip Molares
1942df0da0
AzureBackend: Add Azure MediaBackend
...
Add @azure/storage-blob dependency
This is the relevant part of the official azure sdk.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-22 22:33:56 +01:00
Philip Molares
95b3c628ce
DBSchema: Add fileUrl to media_upload table
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-27 11:24:41 +01:00
Philip Molares
a00a093a14
ImgurBackend: Add Imgur MediaBackend
...
Add node-fetch dependency.
This was chosen as other libs we use already use node-fetch.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-26 16:16:00 +01:00
Philip Molares
c64ca9c012
MediaUploadEntity: Add fileUrl
...
Save the fileUrl, returned to the user on creation, in the DB.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-02-26 16:12:14 +01:00
David Mehren
3dd4bf1582
Refactor server version object into own interface
...
This makes the type of getServerVersionFromPackageJson() way easier
to read.
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-27 21:21:41 +01:00
David Mehren
b0c5cdaa0d
Enforce the use of function declarations
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-27 17:54:24 +01:00
David Mehren
5987e2ed7e
Refactor config utils to use functions instead of consts
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-27 17:45:44 +01:00
David Mehren
b128efebff
Enforce explicit function return types
...
This re-enables the `@typescript-eslint/explicit-module-boundary-types`
check and also enables the
`@typescript-eslint/explicit-function-return-type` check.
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-27 17:41:32 +01:00
David Mehren
05926c08d6
FilesystemBackend: Fix ESLint errors
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-26 12:24:35 +01:00
David Mehren
56d28188e7
NotesController: Fix ESLint errors
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-24 22:33:47 +01:00
David Mehren
dd424cbcee
MeController: Fix ESLint errors
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-24 22:33:29 +01:00
David Mehren
0344a8294e
ConsoleLoggerService: Fix ESLint errors
...
We now use @types/cli-color to provide type information
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-24 20:39:25 +01:00
David Mehren
f79492fe63
NoteEntity: Fix ESLint errors
...
We now use @types/shortid to provide type information
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-24 21:10:24 +01:00
David Mehren
71e2f06bbb
Fix ESLint errors in main.ts
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-24 21:08:08 +01:00
David Mehren
cc1ca69bc1
Fix various ESLint errors in services
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-02-24 22:35:06 +01:00