Implemented a complete SignupComplete service based on completed LoginComplete service.
This is used to allow the user to sign up as a new user to the program.
I made changes to all of the files under signup_complete in services, modifying every file to create a working use case that functions to complete all tasks.
Description: When a valid username is found, the user is directed to the login page to log in with their new account, otherwise they are prompted to create another username (or enter their passwords again if they do not match). This is used in tandem with the login complete use case as it relies on that service for the user to finally log into the program.
Type of change (select all that apply):
[X] New feature (non-breaking change which adds functionality)
Testing
Testing has been completed. A new user is added into users and any errors that should show up for when a user with the same username already exists or when passwords do not match in signup.
Checklist
[X] I have performed a self-review of my own code.
[X] Coding style (conforms to Google Java Style Guide)
[X] Especially follows section 7 (Javadoc is present for every public class, public or protected member)
[X] Especially follows section 4.6 (Multiple consecutive blank lines are not encouraged)
[X] Correctness (follows CA and SOLID, is a reasonable and not overly complicated solution, etc.)
[X] Description of pull request is clear, consise, and reasonably detailed
Implemented a complete SignupComplete service based on completed LoginComplete service.
This is used to allow the user to sign up as a new user to the program.
I made changes to all of the files under signup_complete in services, modifying every file to create a working use case that functions to complete all tasks.
Description: When a valid username is found, the user is directed to the login page to log in with their new account, otherwise they are prompted to create another username (or enter their passwords again if they do not match). This is used in tandem with the login complete use case as it relies on that service for the user to finally log into the program.
Type of change (select all that apply):
Testing
Testing has been completed. A new user is added into users and any errors that should show up for when a user with the same username already exists or when passwords do not match in signup.
Checklist