diff --git a/Central-Server/API/blueprints/jobs_blueprint.py b/Central-Server/API/blueprints/jobs_blueprint.py index fac3459..1546ce0 100644 --- a/Central-Server/API/blueprints/jobs_blueprint.py +++ b/Central-Server/API/blueprints/jobs_blueprint.py @@ -135,6 +135,8 @@ def queue_job(json_data): desc, data_uri)) # TODO: Directory will be consructed later when the work actually starts + # https://github.com/orgs/ISSUIUC/projects/4/views/1?pane=issue&itemId=46405451 + st = cursor.fetchall() conn.commit() conn.close() @@ -144,13 +146,13 @@ def queue_job(json_data): else: return jsonify({"error": "Error"}), 400 -# TODO: delete this and replace with proper api stuff - - @jobs_blueprint.route('/temp/data', methods=["GET"]) def get_data(): """ Temporary data reader + + TODO: delete this and replace with proper api stuff + https://github.com/orgs/ISSUIUC/projects/4/views/1?pane=issue&itemId=46405451 """ with open("./temp-data/flight_computer.csv") as f: lines = f.read() diff --git a/Central-Server/API/internal/auth.py b/Central-Server/API/internal/auth.py index d1a78c9..01db3a3 100644 --- a/Central-Server/API/internal/auth.py +++ b/Central-Server/API/internal/auth.py @@ -4,4 +4,5 @@ def authenticate_request(xhr: Request) -> bool: """Determine if the request has MEMBER-status permission (user is a member of ISSUIUC)""" + # https://github.com/orgs/ISSUIUC/projects/4/views/1?pane=issue&itemId=44397261 return True # TODO: actual checks diff --git a/Central-Server/API/internal/threads.py b/Central-Server/API/internal/threads.py index d30ab55..93d40f9 100644 --- a/Central-Server/API/internal/threads.py +++ b/Central-Server/API/internal/threads.py @@ -324,7 +324,7 @@ def pop_killed_job_back_to_queue(self, job: packets.DataPacket): job.data["job_data"]["job_id"])) cursor.close() - def get_recent_queue(self) -> List: # List of what? TODO: check + def get_recent_queue(self) -> list: # List of namedtuples of a job record """Gets all jobs in the queue that happened after the last time the queue was checked by the server""" conn = database.connect() cursor = conn.cursor() diff --git a/Test-Rack-Software/tars_rack/interface.py b/Test-Rack-Software/tars_rack/interface.py index edc9236..95997dc 100644 --- a/Test-Rack-Software/tars_rack/interface.py +++ b/Test-Rack-Software/tars_rack/interface.py @@ -62,8 +62,7 @@ def first_setup(self) -> None: def code_reset(self) -> None: git.remote_reset() # Clean build dir - # TODO: add line below back, removed for faster compilation in testing. - # pio.pio_clean() + pio.pio_clean() def power_cycle(self) -> bool: # Unfortunately TARS doesn't support power cycling :( diff --git a/Test-Rack-Software/util/serial_wrapper.py b/Test-Rack-Software/util/serial_wrapper.py index 639a266..2f329d4 100644 --- a/Test-Rack-Software/util/serial_wrapper.py +++ b/Test-Rack-Software/util/serial_wrapper.py @@ -46,7 +46,8 @@ def hard_reset(port: serial_interface.SerialChannel): def t_init_com_ports(): """ - TODO: Delete this! + TODO: Use to implement datastreamer tests + https://github.com/orgs/ISSUIUC/projects/4/views/1?pane=issue&itemId=46714975 Test script for init_com_ports() """ global alr_init