Commit graph

3450 commits

Author SHA1 Message Date
Philip Molares
a87408009d Logging: Handle calls with 'undefined' context
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-18 18:50:57 +02:00
Philip Molares
327206d60c Logging: Add LogLevels to ConsoleLoggerService
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-18 18:50:57 +02:00
Philip Molares
a039b85ff4 Utils: Add needToLog function
This functions makes it possible to make a partial order of the Loglevel enum. This simplifies the if statements in ConsoleLogger.
This is done, because the Loglevel enum already has a string backing for easy conversion from the config environmental variables and therefore can't also have a ordinal number assigned…

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-18 18:50:55 +02:00
Philip Molares
0269b5e87a Logging: Remove NestConsoleLoggerService
This is not necessary anymore, because we can inject ConsoleLoggerService directly.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-13 23:58:17 +02:00
Philip Molares
31b0d797f3 Logging: Add OpenAPI log messages
Let the user know where the OpenAPI docs can be found.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-02 17:40:44 +02:00
Philip Molares
3493a7a26f Logging: Improve mediabackend filesystem log message.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-02 17:38:22 +02:00
Yannick Bungers
429eff4411
Merge pull request #1066 from hedgedoc/docs/hfm 2021-03-31 21:53:28 +02:00
David Mehren
f178aff205
Merge pull request #1087 from hedgedoc/renovate/develop-linters
Update linters to v4.20.0 (develop)
2021-03-29 23:19:00 +02:00
David Mehren
2a8c81d26c
Merge pull request #1086 from hedgedoc/renovate/develop-mkdocs-material-7.x
Update dependency mkdocs-material to v7.1.0 (develop)
2021-03-29 23:18:18 +02:00
Renovate Bot
f2f929b446
Update linters to v4.20.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 21:12:20 +00:00
Renovate Bot
5dc1a4bf7b
Update dependency mkdocs-material to v7.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 21:12:07 +00:00
David Mehren
c6daf7185a
Merge pull request #1082 from hedgedoc/renovate/develop-lock-file-maintenance
Lock file maintenance (develop)
2021-03-29 23:11:11 +02:00
Renovate Bot
28f77e689a
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 21:05:15 +00:00
David Mehren
0c839c949f
Merge pull request #1081 from hedgedoc/renovate/develop-rxjs-6.x
Update dependency rxjs to v6.6.7 (develop)
2021-03-29 23:03:18 +02:00
Renovate Bot
4d14fcb631
Update dependency rxjs to v6.6.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 00:05:10 +00:00
Philip Molares
c4e5ffbe7a Docs: Add footnotes extension
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-28 22:54:56 +02:00
Yannick Bungers
25bdbf647a
Merge pull request #1032 from hedgedoc/docs/authentication
Add dev docs about user profiles and authentication
2021-03-28 22:41:12 +02:00
David Mehren
f06563941b
Merge pull request #1076 from hedgedoc/renovate/develop-ts-loader-8.x
Update dependency ts-loader to v8.1.0 (develop)
2021-03-28 20:34:27 +02:00
David Mehren
7e742b590c
Merge pull request #1078 from hedgedoc/renovate/develop-mkdocs-material-7.x
Update dependency mkdocs-material to v7.0.7 (develop)
2021-03-28 20:34:21 +02:00
David Mehren
ef6407c767
Merge pull request #1072 from hedgedoc/renovate/develop-definitelytyped
Update dependency @types/node to v13.13.48 (develop)
2021-03-28 20:33:55 +02:00
David Mehren
843dfa95f0
Merge pull request #1071 from hedgedoc/renovate/develop-linters
Update dependency eslint to v7.23.0 (develop)
2021-03-28 20:33:47 +02:00
David Mehren
a4c0fca05b
Merge pull request #1067 from hedgedoc/renovate/develop-nestjs-packages
Update NestJS packages (develop)
2021-03-28 20:33:37 +02:00
Renovate Bot
13db168565
Update dependency mkdocs-material to v7.0.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-28 14:19:41 +00:00
Renovate Bot
b053533f10
Update dependency ts-loader to v8.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-28 11:20:57 +00:00
Renovate Bot
581d99d418
Update dependency @types/node to v13.13.48
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-27 01:14:20 +00:00
Renovate Bot
deac20d9ce
Update dependency eslint to v7.23.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-26 21:58:11 +00:00
Renovate Bot
4420f50f7f
Update NestJS packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-26 11:24:58 +00:00
Yannick Bungers
8387c9927e
Merge pull request #1057 from hedgedoc/privateApi/media 2021-03-25 22:41:03 +01:00
Philip Molares
60f73a5c84 Docs: Add hedgedoc flavored markdown reference
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-25 22:33:07 +01:00
Philip Molares
d44af9dd5e PrivateE2EMedia: Add E2E test for private api /media routes
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-25 22:26:43 +01:00
Philip Molares
406c8d620a PrivateE2E: Add test fixtures for private api
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-25 22:26:43 +01:00
Philip Molares
ff7fbcaf0e PrivateAPI: Add media controller
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-25 22:26:41 +01:00
David Mehren
3bc0a46630
Merge pull request #1060 from hedgedoc/port/mediaE2ETests
PublicE2EMedia: Port the extra test from the private api
2021-03-25 22:08:35 +01:00
David Mehren
ef7a22e014
Merge pull request #1058 from hedgedoc/privateApi/notes 2021-03-25 22:08:23 +01:00
David Mehren
97525377c7
Add dev docs about user profiles and authentication
Closes #463
Closes #451
Signed-off-by: David Mehren <git@herrmehren.de>
2021-03-25 21:51:17 +01:00
David Mehren
de04c3ece0
Merge pull request #1062 from hedgedoc/renovate/develop-definitelytyped
Update dependency @types/jest to v26.0.22 (develop)
2021-03-25 21:39:20 +01:00
Philip Molares
8f2cc55e5b PrivateE2ENotes: Add E2E test for private api /notes routes
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-25 21:29:51 +01:00
Philip Molares
b60fa155dd PrivateAPI: Add notes controller
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-25 20:36:18 +01:00
Renovate Bot
52b0107c89
Update dependency @types/jest to v26.0.22
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-25 19:26:39 +00:00
David Mehren
7775b0a288
Merge pull request #1050 from hedgedoc/fix/devDocs
Docs: Fix dev doc 'documentation'
2021-03-25 20:25:48 +01:00
David Mehren
7cfc372f83
Merge pull request #1055 from hedgedoc/renovate/develop-nestjs-packages
Update NestJS packages to v7.6.15 (develop)
2021-03-25 20:24:46 +01:00
David Mehren
85cd0e4553
Merge pull request #1056 from hedgedoc/renovate/develop-linters
Update linters to v4.19.0 (develop)
2021-03-25 20:24:39 +01:00
Philip Molares
1249302321 PublicE2EMedia: Port the extra test from the private api
This ports the extra tests in the POST /media test from the private apis to the public apis E2E tests.
Also the whole test suit was renamed to 'Media'.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-25 20:12:22 +01:00
David Mehren
374f675353
Merge pull request #1059 from hedgedoc/fix/e2eUploads
PublicE2E: Remove uploaded files after test
2021-03-25 20:08:31 +01:00
Renovate Bot
7114aa3b9b
Update linters to v4.19.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-25 11:21:20 +00:00
Renovate Bot
e65b5f21e8
Update NestJS packages to v7.6.15
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-25 11:21:07 +00:00
David Mehren
8d904b70e7
Merge pull request #1054 from hedgedoc/renovate/develop-lock-file-maintenance
Lock file maintenance (develop)
2021-03-25 12:18:54 +01:00
Renovate Bot
951f726c3f
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-24 21:58:48 +00:00
Philip Molares
69550a8243 PublicE2E: Remove uploaded files after test
This way the tests can run in any order as some of the media tests rely on an empty (or non-existing) uploads directory.
Also the me e2e test was renamed to the correct name.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-24 22:20:20 +01:00
David Mehren
6e03f876db
Merge pull request #1033 from hedgedoc/docs/delete_revisions 2021-03-24 22:15:27 +01:00