Skip to content

Releases: interface-master/rctrials-webapp

Alpha One

01 Mar 21:45
Compare
Choose a tag to compare
  • Added a catch-all 404 page
  • Added unsigned version of the Surveyor app
  • Fixed up compiler errors found when building for prod

Alpha

28 Feb 03:25
Compare
Choose a tag to compare

First complete and stable release.

Has public pages:

  • /home - Homepage promo
  • /about - Page describing the 3 different ways in which the project can be used
  • /docs + /assets/apidoc/index.html - Partial documentation in the form of apidocs for the API
  • /register - Registration form
  • /login - Login form
  • /privacy- Privacy Policy
  • '/terms` - Terms and Conditions

And private pages:

  • /dashboard - Lists the user's trials
  • /new-trial - Entry form to create a new trial
  • /trial-details/:tid - Trial details

Refresh Tokens

03 Jul 21:56
Compare
Choose a tag to compare

In this release logic has been added to

  1. validate existing access_token if it is found in the cookies
  2. if the access_token has expired, attempt to get a new one using the refresh_token
  3. handle logged in session and take the user directly to the dashboard
  4. take the user to the homepage if the session has expired

Registration & Login

26 Jun 00:30
Compare
Choose a tag to compare

This release creates an Angular application with the following features:

registration

Allows users to register with an email, name, role, salt, hash and sends it to the API
The role is hard-coded to admin
The salt is randomly generated, and the hash is built from the password and the salt
Returns uid if successful

TODO

Still need to add functionality to send an email to the user to force them to validate their account; currently an account is valid as soon as it's created
Add a CAPTCHA to prevent bots

login

Allows the user to send an email to receive the salt
Creates a hash of the password with the salt and sends it to the API
If successful, receives an access_token and refresh_token