Renovate Bot
7e229f7381
Update dependency @testing-library/jest-dom to v5.14.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-12 17:44:02 +02:00
Renovate Bot
d89637d54a
Update dependency cypress to v7.5.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-12 17:43:45 +02:00
Tilman Vatteroth
da9106e7ff
Remove unused licenses
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-12 17:04:09 +02:00
Tilman Vatteroth
4580bc9658
Fix splitter ( #1307 )
...
Use window for splitter resizing
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-12 16:20:11 +02:00
Tilman Vatteroth
6285af458a
Iframe communicator context (2/3) ( #1310 )
...
* Add type
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Extract code and add new context provider
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Adjust import
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-12 16:14:46 +02:00
Tilman Vatteroth
829cc2fe48
Add application state hook ( #1308 )
...
* Add application state hook
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Add docs
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-11 15:21:24 +02:00
Tilman Vatteroth
4720f2d36b
Extract toc button ( #1302 )
...
* Extract toc button
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-06-07 22:09:13 +02:00
Renovate Bot
4e9b059d2e
Lock file maintenance
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 07:37:42 +02:00
Erik Michelson
0aae1f70d2
Add prettier for codestyle and re-format everything ( #1294 )
2021-06-06 23:14:00 +02: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
Erik Michelson
0f731016eb
Update security.md to match state in master branch
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-09-21 15:19:46 +02:00
renovate[bot]
1cc081f670
chore(deps): update dependency @types/node to v14.17.18 ( #1665 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 21:54:36 +00:00
renovate[bot]
1fd5febf33
fix(deps): update dependency node-fetch to v2.6.4 ( #1662 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 15:25:35 +00:00
David Mehren
cda0abfceb
Add missing title property to issue templates
...
Signed-off-by: David Mehren <git@herrmehren.de>
2021-09-21 15:04:21 +02:00
Erik Michelson
053614e3c8
Use GitHub issue forms
...
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2021-09-16 23:40:35 +02:00
renovate[bot]
cda17d9d1f
chore(deps): update dependency @types/jest to v27.0.2 ( #1661 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 04:04:44 +00:00
renovate[bot]
b988a565c7
fix(deps): update dependency node-fetch to v2.6.3 ( #1660 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-20 23:33:07 +00:00
renovate[bot]
80463cd463
chore(deps): update dependency ts-loader to v9.2.6 ( #1659 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-20 21:58:44 +00:00
renovate[bot]
d97e5d7194
chore(deps): update linters to v4.31.2 ( #1658 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-20 19:16:34 +00:00
renovate[bot]
9b6c977a25
chore(deps): update dependency jest to v27.2.1 ( #1624 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-20 15:21:31 +00:00
renovate[bot]
135d80d359
chore(deps): update dependency mkdocs-material to v7.2.8 ( #1657 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-20 13:02:26 +00:00
renovate[bot]
bb6499b5e5
chore(deps): lock file maintenance ( #1655 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-20 02:00:07 +00:00
renovate[bot]
6a1acd69de
chore(deps): update dependency mkdocs-material to v7.2.7 ( #1653 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-19 16:24:07 +00:00
renovate[bot]
259ca4937a
fix(deps): update dependency eslint-plugin-jest to v24.4.2 ( #1648 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-17 10:18:05 +00:00
renovate[bot]
3d863290e2
chore(deps): update dependency @types/node to v14.17.17 ( #1647 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-17 02:37:16 +00:00
renovate[bot]
e9863c3c8a
chore(deps): pin dependencies ( #1646 )
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-17 00:45:34 +00:00
Philip Molares
5bc1513bd8
feat: add auth e2e tests
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-09-02 23:41:32 +02:00
Philip Molares
366057fb8b
feat: add auth controller with internal login, registration, password change and logout
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-08-08 22:00:14 +02:00
Philip Molares
cd4ee84ec3
feat: add LoginEnabledGuard and RegistrationEnabledGuard
...
These guards check if the login or registration are enabled in the config. If so the guarded method is executed, if not the client will get the HTTP Error 400 Forbidden as an answer
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-09-04 18:31:01 +02:00
Philip Molares
46d03571c1
fix: update seed.ts
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-08-31 13:39:51 +02:00
Philip Molares
5a91662865
feat: add session handling
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-08-31 13:36:13 +02:00
Philip Molares
1c52ad69a6
feat: add identity module
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-08-08 21:59:23 +02:00
Philip Molares
df10ed92e3
feat: add local auth strategy
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-08-08 21:59:12 +02:00
Philip Molares
b9cec8aeca
feat: add identity service
...
This service handles all the authentication of the private api.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-08-08 21:58:54 +02:00
Philip Molares
3cc321f353
feat: add getFirstIdentityFromUser helper function
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-08-08 21:57:46 +02:00
Philip Molares
e7eb6694a6
feat: change email auth config to local
...
This was done to use the same term. Also email was the old term from HedgeDoc 1 and wildly inaccurate. As we never checked any mail addresses, in fact it was more of a username than anything else.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-09-04 19:24:32 +02:00
Philip Molares
43242cccc9
feat: add session to AuthConfig
...
this handles the settings for the cookie session. The secret and the lifeTime of the cookie can be configured.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-09-04 17:46:58 +02:00
Philip Molares
0ef0d1e111
feat: add local auth dtos
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-08-08 21:54:05 +02:00