Commit graph

4686 commits

Author SHA1 Message Date
David Mehren
8f1aeab934 test(e2e/public/alias): test all error scenarios
Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-27 21:05:17 +01:00
David Mehren
64b136fb8b test(e2e/public/alias): use real authentication
Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-27 21:05:17 +01:00
David Mehren
28bd07597a test: create auth tokens in testSetup
Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-27 21:05:17 +01:00
David Mehren
ff500f1be0 test: allow disabling mocked authentication
This adds a (default true) parameter `withMockAuth` to the
TestSetup class.
If it is false, the TokenAuthGuard is not overridden with a mock
implementation, allowing to test with the real authentication.

Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-27 21:05:17 +01:00
David Mehren
bcb75a1d04 build(eslint): allow numbered agent objects
Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-27 21:05:17 +01:00
David Mehren
ae52f70ef9 test(e2e/private/alias): test all error scenarios
Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-27 21:05:17 +01:00
David Mehren
b2802d4c29 test(e2e/private/alias): use testSetup with users
Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-27 21:05:17 +01:00
David Mehren
2096e23e35 test: allow creating testSetup with users
Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-27 21:05:17 +01:00
David Mehren
8cfe4896bc test: cleanup test_uploads folders
Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-27 21:05:17 +01:00
Erik Michelson
6e1847d1e9
deployments: Fix main branch deployment and overrides (#1801)
* Use different environment per PR

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Fix main deployment by using CI-aware build script

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Use PR title and number in netlify deployment list

Signed-off-by: Erik Michelson <github@erik.michelson.eu>

* Use exec

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-01-27 17:55:01 +01:00
Erik Michelson
523701b3d2 Add netlify deployments for PRs
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2022-01-26 19:00:56 +01:00
Tilman Vatteroth
b30cc5b390
Move toolbar functions into redux reducer (#1763)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-26 17:14:28 +01:00
Renovate Bot
a6a2251c88 Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-24 21:08:08 +01:00
Renovate Bot
90cc5b3f9f chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-24 01:34:17 +00:00
David Mehren
8ea28bf1c7 ci(eslint): fail on warnings
Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-23 23:01:45 +01:00
David Mehren
bf743b4266 build(eslint): disable return type warnings in tests
Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-23 23:01:45 +01:00
David Mehren
898abc08f3 style: remove unused variables
Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-23 23:01:45 +01:00
David Mehren
91eba0d3af
Update mailmap and AUTHORS
Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-23 22:13:54 +01:00
Renovate Bot
d6ebc85ebf
chore(deps): update linters to v5.10.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-23 19:34:22 +00:00
Renovate Bot
aa61f7f987
fix(deps): update nestjs packages
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-23 19:33:55 +00:00
Renovate Bot
ba883c1ede
chore(deps): update dependency typescript to v4.5.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-23 19:33:38 +00:00
Renovate Bot
e4a906a525
chore(deps): update dependency supertest to v6.2.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-23 19:32:03 +00:00
Renovate Bot
886eac2b13
chore(deps): update dependency http-proxy-middleware to v2.0.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-23 19:31:43 +00:00
Renovate Bot
4b048cb62f
chore(deps): update dependency mkdocs-material to v8.1.8
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-23 19:31:48 +00:00
Renovate Bot
2706eff8ce
chore(deps): update dependency @types/node to v16.11.21
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-23 19:24:27 +00:00
Renovate Bot
42e8ef6668 Update linters
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-22 11:26:54 +01:00
Renovate Bot
6946efb0d0 Update dependency sass to v1.49.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-22 11:07:53 +01:00
Renovate Bot
1600b8e9f8 Update dependency copy-webpack-plugin to v10.2.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-22 11:00:31 +01:00
renovate[bot]
f1386b17d4
Update definitely typed (#1789)
* Update definitely typed

Signed-off-by: Renovate Bot <bot@renovateapp.com>

* Fix type changes

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-22 09:57:50 +00:00
Renovate Bot
241f4df42c Update dependency i18next to v21.6.7
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-22 10:46:37 +01:00
Renovate Bot
9352cf47c3 Update dependency mermaid to v8.13.10
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-22 10:41:50 +01:00
Renovate Bot
ed643bc24e Update dependency typescript to v4.5.5
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-22 10:21:43 +01:00
Renovate Bot
a9aaa507a7 Update dependency cypress to v9.3.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-22 10:21:24 +01:00
Renovate Bot
cb7eb20b25 Update dependency codemirror to v5.65.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-22 10:13:08 +01:00
Tilman Vatteroth
1fb32584ab Fix use-on-ref-change.ts
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-21 22:42:26 +01:00
Tilman Vatteroth
a1fab0bb73 Remove unnecessary effect dependency
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-21 22:42:26 +01:00
Renovate Bot
0b22795721 Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-18 21:19:42 +01:00
Tilman Vatteroth
97e00ec10b Add plantuml not configured tag to tag name whiteliste
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-01-17 19:17:37 +01:00
David Mehren
7eba4bf83b
style(note-metadata): remove unused imports
Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-17 11:58:23 +01:00
David Mehren
08f97209ec
refactor(note-metadata): do not embed User objects
This is part of an effort to consistently not embed User objects
in API responses. Usernames are returned instead.

Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-16 22:54:53 +01:00
David Mehren
96ed5f3cc8
refactor(note-group-permission-update-dto): rename attribute groupName
For consistency with NoteGroupPermissionEntryDto

Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-16 22:46:46 +01:00
David Mehren
b40b2e164f
refactor(note-group-permission-entry-dto): do not embed Group objects
This is part of an effort to consistently not embed Group objects
in API responses. Names are returned instead.

Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-16 22:45:27 +01:00
David Mehren
13284b26cb
refactor(note-user-permission-entry-dto): do not embed User objects
This is part of an effort to consistently not embed User objects
in API responses. Usernames are returned instead.

Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-16 22:24:54 +01:00
David Mehren
b955faa983
refactor(note-permissions-dto): do not embed User objects
This is part of an effort to consistently not embed User objects
in API responses. Usernames are returned instead.

Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-16 22:19:53 +01:00
David Mehren
6cd3feb82c
refactor(history-entry): rename lastVisited
This is part of an effort to name all date attributes
consistently.

Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-16 22:04:34 +01:00
David Mehren
f1feb3bf94
refactor(note-metadata): rename date attributes
This is part of an effort to name all date attributes
consistently.

Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-16 21:59:54 +01:00
David Mehren
b0e2987987
refactor(auth-token): rename lastUsed to lastUsedAt
This is part of an effort to name all date attributes
consistently.

Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-16 21:52:15 +01:00
David Mehren
64667d81c0
docs(api): Add missing tags
Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-16 21:40:48 +01:00
David Mehren
df9fa39b99
test(front-config): Add missing URL import
Signed-off-by: David Mehren <git@herrmehren.de>
2022-01-16 19:53:02 +01:00
Renovate Bot
0075a7787d
chore(deps): lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-01-16 18:36:12 +00:00