Endpoint for annotation instance deletion - untested
Backend - saving data fixed
Fixed error in AnnotationController
Minor fixes, added annotation instance endpoint - untested
Merge branch 'features/9472-document-preview' into 'dev' Re #9472
HTML preprocessing and sanitization (removing all original attributes from HTML)Showing HTML on frontend
See merge request aswi/aswi-2022/aswi20220x00!28
Fixed tag length detection
HTML preprocessing and sanitization
Changed colors of dummy tags
Changed colors of dummy tags to show different colors in the tag tree
Merge branch 'features/9473-backend-document-annotation-api' into 'dev' Re #9473
Fixed some issues with GET requests requiring a body
See merge request aswi/aswi-2022/aswi20220x00!25
Same fix in DocumentController - moved to QueryParams
Annotation controller id in path, not request body
Beta version with support for returning current annotation state
See merge request aswi/aswi-2022/aswi20220x00!22
Resolved issues from code review
Fixed comments from code review, fixed DB access
Added documents and annotations to seeding
Added GET /annotation for retrieving annotation state
Added DTOs and mapper profiles for annotation info
Seeding for an annotation tag instance
Fix in AnnotationController
Endpoint /user/annotations for user's annotations
Added endpoint to UserController
Backend testing
Skelet for backend testing
Merge branch 'features/9474-backend-tag-tree-api' into dev Re #9474
Optimized database access - prefetch tags and categories
Database access optimizations
Shortened GetUsers in UserServiceEF
Don't throw if user already assigned to document
Created TagController, implemented GET on /tags
Created TagService, implemented GetTagTree
Added tag-related DTOs and mapping
Cosmetic changes
Added UserController and GET on /users
Added AnnotationController and Service
Documents can now be assigned to Users
Fix in AuthorizationAttribute
Fixed problems after a merge
Minor fix
Authentication controller now returns user role
Moved Enums to Models project
Renamed PLAINTEXT format Enum to TEXTFILE
Moved InternalServerError to ControllerBase
Move Authorize attribute up in DocumentController
Use ContextUtils in AuthorizationAttribute
Added ERole check to [Authorize] attribute
[Authorize] has ERole.ANNOTATOR as default, ERole can be specified as a parameter
Documents to add expected in base64
Documents sent in the request are all in base64 and have enum to specify either TXT file or a ZIP file
Added default value to Annotation.Note
Check number of documents in DocumentService.GetDocuments
Code cleanup
DocumentService now uses AutoMapper
Added AutoMapper, configured, added DTO mappings
Modified DocumentListInfo
Added of UserInfo annotating users
DocumentController created
DocumentService created
Added global error handling middleware
Two custom exceptions - InternalErrorException for server-side problems and BadRequestException for client-side problems
Added Document API related DTOs
ClientInfo in DependencyInjection
ClientInfo contains IP and info about logged user
Static method to seed dummy tags
Cleanup in seeding
Formatting
Backend - JWT Authentication done
Automatic db (EF Core) migrations on run in debug mode
CORS added
Password in user ignored for JSON serialization
Seeding bug fixes
Template code removed
Swagger config updates
Merge branch 'features/9342-backend-userservice' into 'dev' Re #9342
Created UserService, and added a registration mechanism for services.
See merge request aswi/aswi-2022/aswi20220x00!7
Changed formatting, added comments, database check
Removed weather controller
Fixed seeding
Added UserService impl., service registration
Added seeding, cleaned up code
Version V2 working with GUID
Version 1 working state of DB and EF with integer IDs
Project structure done
Three projects split
Created backend project, logging setup done