Mainly contains API documentation detailing the request and response data needed from all currently-generated API endpoints.
Camel case is assumed when dealing with JavaScript, while snake case is used while dealing with Python.
Exception includes the csrf_token, which must be labeled as such due to WTForms library. In general, this field is not included since most requests are completed via AJAX, which requires the X-CSRFToken HTTP header instead of the csrf_token field.
Other fixes include:
Alterations to test running
Naming conventions for endpoints changed to match documentation
Allowing custom host/port designations based on environment variables
Renaming users to members when dealing with members of UTubs
Type hints added to much of Python code
Alterations to responses for some endpoints, including add_member
Rearranging splash page JavaScript to be called when a modal form is requested (i.e. login form, register form)
Including use strict for splash page JavaScript
Fully making use of bootstrap 5 to perform modal functions
Automatically sending an email validation email after a user has registered
Making sure navbar and splash page 'works' on mobile
Created callable route strings in Python code
Modularizing the string used in Python code based on topic
Attempts at fixing URL validation for websites requiring strict user agents
Separate tests into specific folders based on topic
Parallelize tests in github workers, and change workflow names to match their action
Mainly contains API documentation detailing the request and response data needed from all currently-generated API endpoints.
Camel case is assumed when dealing with JavaScript, while snake case is used while dealing with Python.
Exception includes the
csrf_token
, which must be labeled as such due to WTForms library. In general, this field is not included since most requests are completed via AJAX, which requires theX-CSRFToken
HTTP header instead of thecsrf_token
field.Other fixes include:
users
tomembers
when dealing with members of UTubsadd_member
use strict
for splash page JavaScriptCloses #173