You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
recodex-wiki/User-documentation.md

87 lines
4.4 KiB
Markdown

# User documentation
## Student
### Authentication
8 years ago
Almost all parts of ReCodEx system is available only after authentication. For this purpose JWT tokens are used but in normal usage users do not have to worry about them, because web application does this. With this stated it is obvious that there has to be some registration mechanism and some web form in which users can fill their credentials and stay logged in for up-coming moments.
#### Registration
8 years ago
Registration into ReCodEx can be done two ways: using our own authentication service or pick some of the external ones. Currently there is only one external authentication mechanism which is CAS (Charles University Authentication Service). During registration user has to choose instance to which he/she wants to belong to (This is why registration using CAS has to be separated from simple login). This choice cannot be undone with current username and thus has to be done properly, based on instance user will see groups available in chosen instance.
In normal authentication using ReCodEx proper password has to be provided. There are certain checks if password is suitable and can be accepted otherwise user cannot register. Passwords are hashed, salted and stored in database, so nobody can see or decode them. This of course means that if user loose his/hers password it cannot be retrived and forgotten password mechanism has to be used.
#### Login
8 years ago
Login form is like registration divided into ReCodEx authentication and external service authentication. User should use whatever mechanism was used during registration. All authentication forms should be simple and require only proper combination of username and password.
#### Forgotten password
8 years ago
Works only for ReCodEx authentication mechanism for external authentication services please use their forgotten password mechanisms. After request for resetting password user should get email delivered to email address specified in user's profile. In mentioned email there should be link on change password form which can be used for password reset and setting of new one. Please note that access to change password link is time limitted for security sake and can be used only for couple of minutes.
### User profile
#### Update user profile
8 years ago
// TODO: change of password included in this
#### Email notifications
8 years ago
// TODO: not implemented yet
### Groups
#### Group membership
8 years ago
// TODO: list of groups, join, leave
#### Assigned exercises
8 years ago
// TODO: deadlines, etc
#### Submission of assignment and its results
As stated before assignments can be found in some particular group and are submitable only if several conditions are satisfied (deadlines, etc.). On detail of assignment files can be submitted for evaluation. Files can be uploaded only one by one and after uploading of all of them solution of assignment can be submitted. There is no need to specify language of provided files, application is using automatic detection from file extensions to find appropriate code language. This of course means that files has to have proper extension.
If everything goes well then after submitting of files progress bar of evaluation will be shown. When evaluation ends on backend side of ReCodEx, results with all the provided statistics can be displayed. Results of submission contains some information about execution process and also about evaluation and points. Most notably there are information about evaluation, like date and time of evaluation, if deadlines were satisfied, if compilation was successful or if evaluation even finished. There is also list of all tests which are bounded with exercise and their percentual results. User can also access files which was submitted and notes which was provided. Results of submission should give overall image on user solution.
## Group supervisor
### Groups
#### Management
8 years ago
// TODO: create sub-group, delete sub-group, change parameters of group
#### Students submissions
8 years ago
// TODO: list of them, submitted files, etc
### Exercises
8 years ago
// TODO: not implemented yet
8 years ago
#### Management
// TODO: update, create, delete
#### Exercise detail
8 years ago
### Assignment of exercise
8 years ago
#### Management
// TODO: update, create, delete, etc
## Administrator
8 years ago
### Instances
#### Management
// TODO: create, delete, update
#### Licenses
### Groups
8 years ago
// TODO: management, higher privileges than supervisor
### Users management
#### Roles in ReCodEx
8 years ago
// TODO: some description what is there
8 years ago
#### Delete user
// TODO: probably one and only action which can admin do with users