Commit graph

1276 commits

Author SHA1 Message Date
Renovate Bot
abc47ff7da
Update dependency class-transformer to ^0.3.0 [SECURITY]
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-06 18:38:14 +00:00
David Mehren
e68ddd8fdc
E2E tests: Increase timeout & set concurrency to 1
For some reason Jest sometimes times out when running in GitHub Actions.
This tries to mitigate that error.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-06 19:16:31 +01:00
Tilman Vatteroth
7fb7b3cd10
Add license headers
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-06 14:07:34 +01:00
Tilman Vatteroth
e4080b7ead
Several theme changes (#659)
* Several theme changes

- Add max width of 1440px
- Rename css file
- Fix edit button
- Add local Roboto font

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
(cherry picked from commit 5bdb392413)
2021-01-05 22:55:00 +01:00
David Mehren
98951d26c5
Set fetch-depth to 0 for coverage jobs
This allows codecov to fetch the commit SHA

Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-06 13:17:30 +01:00
David Mehren
a1c9b67b6b
Add build artifacts to .gitignore
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-06 13:04:46 +01:00
David Mehren
1fa368fa5f
Add CI badges to readme
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-06 12:55:40 +01:00
David Mehren
8aca83e656
Add coverage analysis to CI workflow
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-06 12:38:33 +01:00
David Mehren
890e9c942b
Fix prettier errors
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-05 23:11:31 +01:00
David Mehren
7960776bd1
Add CI workflow
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-05 23:02:12 +01:00
Philip Molares
f57e4efcf0
used correct branch for reuse workflow
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-05 23:35:46 +01:00
Philip Molares
223e58f958
changed license of doc images
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-05 22:49:21 +01:00
Philip Molares
6e855b657f
added idea copyright information
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-05 22:48:58 +01:00
Philip Molares
03a81fb6c0
added reuse workflow
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-05 22:13:01 +01:00
Philip Molares
dc63c76f43
added reuse information
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-01-05 22:12:38 +01:00
Renovate Bot
4746058765
Pin dependencies
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-01-05 22:12:43 +00:00
Tilman Vatteroth
ce0e85d089
Change label used by renovate to "type: maintenance"
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
(cherry picked from commit 8600c2dae6)
2020-11-30 18:07:54 +01:00
David Mehren
7bb52921e2
Renovate: Enable sign-off
Signed-off-by: David Mehren <git@herrmehren.de>
(cherry picked from commit 087f0a7c98)
2020-11-17 14:52:40 +01:00
David Mehren
e65cc02442
Renovate: Disable major updates
We won't do any major updates for 1.7 release anyway.

Signed-off-by: David Mehren <git@herrmehren.de>
(cherry picked from commit c479ab0d59)
2020-11-17 14:36:07 +01:00
David Mehren
5d32b15521
Renovate: Group various packages
Signed-off-by: David Mehren <git@herrmehren.de>
(cherry picked from commit 63654aa910)
2020-11-17 14:27:01 +01:00
Renovate Bot
d498e8f0ca
Add renovate.json
Signed-off-by: Renovate Bot <bot@renovateapp.com>

(cherry picked from commit ed44a40c10)
2020-11-17 13:02:04 +00:00
Tilman Vatteroth
b386737d08
Move docs into subdirectory to make mkdocs work in a subdirectory
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>

(cherry picked from commit eaeb88401d)
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-04 13:07:44 +01:00
Philip Molares
1c6da01fa7
Link to the contribution documentation explicitly
Co-authored-by: David Mehren <git@herrmehren.de>
Signed-off-by: Philip Molares <philip.molares@udo.edu>

(cherry picked from commit c7def38ba4)
Signed-off-by: David Mehren <git@herrmehren.de>
2020-11-21 16:48:18 +01:00
David Mehren
bedbcc1150
Update issue templates to use the new labels
Signed-off-by: David Mehren <git@herrmehren.de>
(cherry picked from commit eb727810b5)
2020-12-01 21:11:00 +01:00
David Mehren
f41c29f77d
Update readme and contribution docs for 2.0 development
Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-04 14:54:19 +01:00
David Mehren
4059ad6834
Improve CONTRIBUTING.md
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>

(cherry picked from commit f77f9fac19)
Signed-off-by: David Mehren <git@herrmehren.de>
2020-11-18 12:56:59 +01:00
David Mehren
8bc66bd81a
Direct questions to the community forum
Signed-off-by: David Mehren <git@herrmehren.de>
2020-11-15 11:47:44 +01:00
Philip Molares
07988d638b
Update .github/ISSUE_TEMPLATE/bug_report.md
Co-authored-by: David Mehren <git@herrmehren.de>
2020-11-14 21:38:02 +01:00
Philip Molares
e44a20a490
Update .github/ISSUE_TEMPLATE/feature_request.md
Co-authored-by: David Mehren <git@herrmehren.de>
2020-11-14 21:37:57 +01:00
Jonas Zohren
eb5ae92569
Add templates for issues and PRs
Signed-off-by: Jonas Zohren <15788906+jfowl@users.noreply.github.com>
2020-11-12 19:38:14 +01:00
David Mehren
c95c68541c
Fix tests
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-24 21:11:16 +02:00
David Mehren
c0527c0942
Remove PUT /notes/{note}/metadata and corresponding service code
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-24 21:11:06 +02:00
David Mehren
80e4d029f7
DB Schema: Make layout pretty
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-24 20:55:31 +02:00
David Mehren
520046f8d4
Remove NoteUtils class, as the planned parsing logic is not needed anymore
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 17:36:01 +02:00
David Mehren
a04d5b29f9
Add missing TagRepository provider in unit tests
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 17:24:42 +02:00
David Mehren
9152f05c61
Add E2E tests for note metadata routes
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 16:45:04 +02:00
David Mehren
67cd8cb0f6
NotesController: Add PUT :noteIdOrAlias/metadata route
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 15:53:30 +02:00
David Mehren
08fd070bcb
NotesService: Implement updateNoteMetadata
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 15:52:49 +02:00
David Mehren
6541cfda4e
NoteEntity: Enable eager loading and cascades for tags
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 15:37:57 +02:00
David Mehren
99ab9f04c2
NotesService: Get metadata from database
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 11:27:15 +02:00
David Mehren
7d5dddaaaf
Add note metadata properties and Tag entity.
These were planned to be parsed at runtime from the note-content in the database, but having to run a markdown parser in the backend was found to be a bad idea. Now the frontend (that already implements the parsing logic) has to set title, description and tags.

Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 11:17:07 +02:00
David Mehren
990742e569
Note.alias should be optional in db schema
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 11:14:41 +02:00
David Mehren
566e95f95d
Add note metadata to db schema
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 11:02:03 +02:00
David Mehren
e30b16d91d
Public API: Cleanup history schemas
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-24 19:39:34 +02:00
David Mehren
d43bca69b8
Public API: NoteRevisionsMetadata is not an array
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-24 19:39:05 +02:00
David Mehren
2302667787
Public API: Remove PUT /notes/{note}/metadata
The note metadata will be automatically extracted from the note content and cannot be updated separately.

Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-24 19:25:15 +02:00
David Mehren
c685bd8e50
Public API: Fix PUT /notes/{note}/permissions response
This route should return a full `NotePermissions` object instead of only `NotePermissionsUpdate`

Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 18:08:31 +02:00
David Mehren
cae430f25f
Public API: Update description of /notes/{note} POST and PUT routes.
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 14:51:22 +02:00
David Mehren
ad676ce6ff
NoteMetadataDto: Rename permission to permissions
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 14:45:04 +02:00
David Mehren
fe5f9bc9c3
Public API: Successful POST requests should result in a 201.
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-10-03 14:40:51 +02:00