Commit graph

4686 commits

Author SHA1 Message Date
Renovate Bot
14e6169f85 Update dependency react-bootstrap to v1.5.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 18:02:38 +01:00
Renovate Bot
8a6743d798 Update dependency mermaid to v8.9.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 18:02:18 +01:00
Renovate Bot
9ab787cadb Update dependency katex to v0.13.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 18:01:57 +01:00
Renovate Bot
5d98b19345 Update dependency i18next to v19.9.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 18:01:27 +01:00
Renovate Bot
9b9c59e109 Update dependency browserstack-cypress-cli to v1.8.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 18:01:11 +01:00
Renovate Bot
0e3b9e6a97 Update dependency abcjs to v6.0.0-beta.30
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 18:00:46 +01:00
Renovate Bot
383da25047 Update dependency @testing-library/user-event to v12.8.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 18:00:26 +01:00
Renovate Bot
9e5fbcb56c Update definitelyTyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-14 18:00:01 +01:00
Tilman Vatteroth
a86789dbef
Add toasts (#1073)
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-03-11 20:51:11 +01:00
Philip Molares
e90e2a8e19
Entities: Add onDelete CASCADE to entities
To better handle deletion of entities, all necessary other entities got the option onDelete CASCADE set. So everything that does not make any sense if something else is deleted will be deleted along side of it.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-11 15:03:23 +01:00
Erik Michelson
0b4a0afa16
Add table formatting on paste of detected table (#957) 2021-03-10 22:52:20 +01:00
Tilman Vatteroth
107f0f6fa3
Code improvements (#1086)
* Extract code into hook
* Refactor code to remove let
* Reformat code
* Extract version-info-modal into components
* Use main block in landinglayout
* Add fixedWidth and classname attribute to IconButton

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-03-10 22:45:05 +01:00
Tilman Vatteroth
029295dd3b
Replace acme.png with demo.png (#1089)
* Replace acme.png with demo.png

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-03-09 22:03:54 +00:00
Erik Michelson
6d2dde477c
Add one-click login if possible (#1043) 2021-03-09 23:00:14 +01:00
Tilman Vatteroth
a6c80ac1f0 Extract code into hook
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-03-09 22:40:24 +01:00
Renovate Bot
6876aaa856 Update dependency @types/luxon to v1.26.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-06 22:45:49 +00:00
Renovate Bot
29f7f7ef3e Update dependency markdown-it-anchor to v7.1.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-06 18:02:41 +01:00
Renovate Bot
e36281908f Update dependency redux-devtools-extension to v2.13.9
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-06 17:39:53 +01:00
Renovate Bot
18edf36189 Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-06 11:10:03 +01:00
Renovate Bot
459509feb4 Update typescript-eslint monorepo to v4.16.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-06 10:54:28 +01:00
Renovate Bot
b646baf6e5 Update dependency typescript to v4.2.3
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-06 10:41:05 +01:00
Renovate Bot
d1f36ca6fe Update dependency react-bootstrap to v1.5.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-06 10:40:37 +01:00
Renovate Bot
3ef5c6254f Update dependency i18next to v19.9.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-06 10:40:08 +01:00
Renovate Bot
ad5e249dab Update dependency cypress to v6.6.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-06 10:39:49 +01:00
Renovate Bot
96f0e01d0d Update dependency abcjs to v6.0.0-beta.28
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-06 10:39:24 +01:00
Renovate Bot
570351c57c Update dependency @testing-library/user-event to v12.8.1
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-06 10:39:05 +01:00
Renovate Bot
c7795a2475 Update dependency @fontsource/source-sans-pro to v4.2.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-06 10:38:43 +01:00
Renovate Bot
505ddf76da Update definitelyTyped
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-03-06 10:38:24 +01:00
Philip Molares
56a46f57fc
PrivateAPI: Add me controller
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-05 00:30:47 +01:00
Philip Molares
f6121b58e8
MediaService: Change deleteFile
The former deleteFile was moved to the public apis media controller and the actual deletion functionality was moved in a separate function to be called on user deletion.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-20 18:58:59 +01:00
Philip Molares
63fcca6c0d
UsersService: Add unit tests
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-05 00:30:19 +01:00
Philip Molares
b86a7c601d
UsersService: Polish methods
Add test to createUser method to ensure an already used username triggers a AlreadyInDBError.
Add debug entry if user is deleted.
Add changeDisplayName method.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-05 00:30:03 +01:00
Philip Molares
bce0ca9d74
UsersService: Add JSDoc to all methods
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-05 00:26:57 +01:00
Philip Molares
5a9634400a
UserEntity: Make userName unique
Each username should only be given once.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-05 00:25:06 +01:00
Renovate Bot
7e5eaf977d
Lock file maintenance
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-19 20:47:15 +00:00
Renovate Bot
e93b4f6030
Update dependency mkdocs-material to v7.1.2
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2021-04-18 22:14:30 +00:00
Philip Molares
5c138e4115
PublicNotesE2E: Add extra test for note deletion
This test checks if permission are correctly set and no error is thrown if the note is deleted.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-17 10:30:37 +01:00
Philip Molares
cbf0ce98dd
NotesService: Get user and group of the permission
This also fetches to user and group of permissions and not only the `canEdit` property.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-02 20:46:34 +02:00
Philip Molares
305a3f1bea
NotesService: Set Permissions
Set the necessary information for the permissions to be correctly inserted into the db.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-17 10:27:29 +01:00
Philip Molares
979154b8a5
Permissions: Add cascade
This makes it possible to create permissions by setting them in the note entity and delete them when either the user or note is deleted.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-03-17 10:26:42 +01:00
Philip Molares
aa41bebbf0
PublicAPI: Add file upload dialog to swagger api
This makes it possible to truly upload a file with swagger api documentation.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-15 14:29:33 +02:00
Philip Molares
846bbeb390
UnitTests: Add appConfigMock
This is necessary as the Logger needs this config for the loglevel.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-14 00:19:09 +02:00
Philip Molares
edc62285a2
Logging: Handle calls with 'undefined' context
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-13 23:21:55 +02:00
Philip Molares
6fe10bab4c
Logging: Add LogLevels to ConsoleLoggerService
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-13 23:13:47 +02:00
Philip Molares
e9664b4aa7
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 12:29:15 +02:00
Philip Molares
697ca823d5
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-02 19:08:30 +02:00
Philip Molares
8dd3a3d7dd
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
ebc8d459fb
Logging: Improve mediabackend filesystem log message.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-02 17:38:22 +02:00
Philip Molares
892a66543e
Documentation: Add WebDAV media guide
This explains how to use the WebDAV media backend both in general and with a NextCloud in particular.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-16 13:23:09 +02:00
Philip Molares
9043e39dc6
MediaBackend: Add WebdavBackend
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2021-04-16 13:22:03 +02:00