Comments added to selection utils
Last fix
Minor rename
Changed Id to OccurenceId in TagInstanceInfo
Endpoint for annotation instance deletion - untested
Adding tag/subtag to selected text
Backend - saving data fixed
Fixed error in AnnotationController
Merge branch 'features/9475-9478-annotations' of https://gitlab.kiv.zcu.cz/aswi/aswi-2022/aswi20220x00 into features/9475-9478-annotations
Minor fixes, added annotation instance endpoint - untested
Selection detection and calculation of start and end position in original document
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
Merge branch 'features/9481-frontend-annotation-panel' into dev Re #9481
Merge branch 'features/9477-frontend-annotation-tag-tree' into 'dev' Re #9477
Implemented a left panel that shows a tree of tags
See merge request aswi/aswi-2022/aswi20220x00!26
Document preview on frontend
Fixed tag length detection
HTML preprocessing and sanitization
Connected annotation panel to API and updated visual
Added mapped annotation
Mapped annotation to instance and separated them to different tag occurrences
Upgraded visual of the tag tree
Changed colors of dummy tags
Changed colors of dummy tags to show different colors in the tag tree
Basic annotation document preview
Added comments
Connected tag panel to server
Tag selection
Report when tag is selected
Context for category
Changed context of tags to context of categories
Implemented tag panel
Implemented tag panel and all its items
AnnotationID as dynamic route part in annotation page
Tag context
Added context that handles tags
Minor login optimisation
API regenerated
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
Re #9453
Login, Token management
Refactoring
Token management implemented, redirections
Same fix in DocumentController - moved to QueryParams
Merge branch 'features/9481-frontend-annotation-panel' into 'dev' Re #9481
Renamed files, fixed overflow in annotation view, added access to the AnnotationContext in the annotation view, deleted visibility from add document modal window, deleted LayoutProps...
Annotation controller id in path, not request body
Renamed files, fixed overflow in annotation view, added access to the AnnotationContext in annotation view, deleted visiblity from add document modal window, deleted LayoutProps
AnnotationContext use demo
AnnotationContext added
Current API model generated
Initialization of tags in annotation view
Initialized tags and created event handlers in the annotation view
Annotation panel events
Added events that propagate changes between panels in the annotation view
Basic functionality of an annotation panel
The panel is without css styles. Basic functionality is implemented.
Beta version with support for returning current annotation state
See merge request aswi/aswi-2022/aswi20220x00!22
Resolved issues from code review
Merge branch 'features/9346-backend-testing' into 'dev' Re #9346
Creation of skelet for backend testing.
See merge request aswi/aswi-2022/aswi20220x00!19
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
Merge branch 'features/9476-frontend-annotation-screen-layout' into 'dev' Re #9476
Refactored directory structure and changed hierarchy of annotation screen layout. Deleted Ant-Design layouts and used css grid instead.
See merge request aswi/aswi-2022/aswi20220x00!21
Removed ant layout and used css grid
Changed layouting technology and added main layout for all pages.
Changed path of imports
Forgot to save files with changed imports
Refactored directory structure
Refactored directory structure and changed structure of layouts of the annotation screen
Merge branch 'features/9452-login-screen' into 'dev' Re #9452
Minor refactoring. Moved loginProps to loginLayout and changed a route of the login screen.
See merge request aswi/aswi-2022/aswi20220x00!20
Created more generic layout props
Props will be used in multiple layouts and all will have the same parameters. It does not have to be assigned specifically for the login.
Changed a route of the login page
Changed the route from /authentication/login to /login
Moved loginProps to loginLayout
LoginProps are not used outside of loginLayout and it does not make sense for it to exist outside of loginLayout.
Merge branch 'features/9346-backend-testing' of https://gitlab.kiv.zcu.cz/aswi/aswi-2022/aswi20220x00 into features/9346-backend-testing
Backend testing skeleton
Backend testing
Skelet for backend testing
Merge branch 'features/9474-backend-tag-tree-api' into dev Re #9474
Merge branch 'features/9467-backend-document-assign-api' into 'dev' Re #9467
Assigning documents to users and getting a list of users
See merge request aswi/aswi-2022/aswi20220x00!13
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
Implemented a login screen and added ant-design package to the react project
See merge request aswi/aswi-2022/aswi20220x00!14
Changed email to username
Changed email field to username, changed error message when field is not filled and removed validation of a field format.
Merge branch 'features/9465-frontend-add-document-window' into 'dev' Re #9465
Created a modal that adds new documents and when API is implemented it will send documents to a server.
See merge request aswi/aswi-2022/aswi20220x00!16
Merge branch 'features/9476-anotation-screen-layout' into 'dev' Re #9476
Created a layout with empty panels. They will be done in other branches.
See merge request aswi/aswi-2022/aswi20220x00!15
Created a document adding modal
Created a layout of the annotation screen
Renamed props.tsx to loginProps.tsx
Props was too generic so I renamed it to show its purpose better.
Added documentation comments
Added documentation comments to the login screen and its layout
Updated layout of the login screen
Changed layout to bootstrap, added a logo and a title.
Added todos for login form events
To test the functionality, login form values are logged to the console when the form is submitted. That is dangerous, so I added todos that will remind us to delete these logs when authentication is implemented.
Streched login button
Login button now fills width of the form
Changed error messages
Changed error messages for required email and password and added check of email address format
Added layout of the login screen
Created a layout in a separate file and added it to the login screen
Added basic login form
Installed ant-design
Cosmetic changes
Added UserController and GET on /users
Added AnnotationController and Service
Documents can now be assigned to Users
Fix in AuthorizationAttribute
Merge branch 'features/9471-backend-role-api' into 'dev' Re #9471
Login endpoint now returns user role in response.
See merge request aswi/aswi-2022/aswi20220x00!12
Fixed problems after a merge
Minor fix
Merge branch 'features/9471-backend-role-api' of https://gitlab.kiv.zcu.cz/aswi/aswi-2022/aswi20220x00 into features/9471-backend-role-api
Authentication controller now returns user role