Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
37edbbf
Refactored the validation script
Justin-Toth Dec 3, 2024
8e1d783
Remade validation code
Justin-Toth Dec 4, 2024
8b2d6d3
refactored GUI
Justin-Toth Dec 4, 2024
52b35d3
Made second main function for development testing
Justin-Toth Dec 4, 2024
8320d42
Added to gitignore
Justin-Toth Dec 4, 2024
4bbf0e3
added dotenv to requirements for future
Justin-Toth Dec 4, 2024
c1d4da4
updated to support the second GUI
Justin-Toth Dec 4, 2024
7c06622
Resolved import issues
Justin-Toth Dec 4, 2024
66d2076
Updated logging for handling parallel requests.
Justin-Toth Dec 5, 2024
a0cb23b
created a testing script to allow for parallel calls of validation code
Justin-Toth Dec 5, 2024
a39d1e5
Added API error logging
Justin-Toth Dec 5, 2024
c0fed96
Corrected verification logic to handle both modes properly
Justin-Toth Dec 5, 2024
94e89d6
slight refactor to simplify structure and exit early
Justin-Toth Dec 5, 2024
7dd99c8
Moved Team1 Work to a historical folder for preservation
Justin-Toth Dec 6, 2024
e0f61ed
Resolved preservation issues/fully shifted to Team2 content
Justin-Toth Dec 6, 2024
ef514a2
Fixing issues from changing configfiles folder name to config
Justin-Toth Dec 6, 2024
c9119a7
misc print text change
Justin-Toth Dec 6, 2024
fb25a44
Merge branch 'brod2240:main' into main
Justin-Toth Dec 6, 2024
8626f95
Merge branch 'brod2240:main' into main
Justin-Toth Dec 6, 2024
dcef487
fixed import issue
Justin-Toth Dec 6, 2024
32dd105
Merge branch 'main' of https://github.com/Justin-Toth/ufid_reader
Justin-Toth Dec 6, 2024
11843c9
Merge branch 'brod2240:main' into main
Justin-Toth Dec 6, 2024
ad2f3f1
Merge branch 'brod2240:main' into main
Justin-Toth Dec 7, 2024
9dcc522
Setup/Initial Work at remaking api for the admin site/remote server
Justin-Toth Jan 31, 2025
20202e6
Updated backend Readme
Justin-Toth Jan 31, 2025
ace48f1
Update Readme
Justin-Toth Jan 31, 2025
3262814
Adding my app
Dcminh48 Feb 12, 2025
f788a13
My App contains Avalonia starting code
Dcminh48 Feb 12, 2025
7f84dca
Merge branch 'main' of https://github.com/Justin-Toth/ufid_reader
Dcminh48 Feb 12, 2025
eda5c8e
Docker mariaDB setup added
ceejayferrer Feb 24, 2025
031374f
Update README.txt
ceejayferrer Feb 24, 2025
e462c38
Added avalonia with clock and logo
strejo9811 Feb 25, 2025
4c420f6
Merge pull request #1 from Justin-Toth/sam
strejo9811 Feb 25, 2025
d1ecb20
Updated Avalonia README and title
strejo9811 Feb 25, 2025
86a0099
Changed gator logo asset
strejo9811 Feb 25, 2025
3e92e02
Merge pull request #2 from Justin-Toth/sam
strejo9811 Feb 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
.vscode/
__pycache__/
/.env
UFIDReader/Libraries/GUI/__pycache__/
UFIDReader/Libraries/Validation/__pycache__/
UFIDReader/src/__pycache__/
UFIDReader/Logs/
UFIDReader/Testdata/
UFIDReader/src/lib/
UFIDReader/venv
42 changes: 42 additions & 0 deletions Database/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
Currently, the database hosted via docker container works through LAN connections w/ TCP protocol.
This folder contains everything to initialize the docker containers and insert the database with the data
Backend for interacting with database is currently WIP.

docker-compose.yml
# This is the file that creates the necessary docker containers including the mariaDB container.
To run:
docker-compose up -d

Recommended: interface w/ Docker GUI

/data
# This is the static data to be entered into the database upon intializing the database through docker-compose.
# Script is WIP for automating the updating/inserting of data entries

To access the mariaDB database
Ensure docker container is running:
# Lists running docker containers
docker ps
# If not running, start the container
docker start ufid_database

Access through mysql:
mysql -h 127.0.0.1 -P 3306 --protocol=TCP -u myuser -p

Access directly through docker:
docker exec -it ufid_mariadb mariadb -u myuser -p

Password = mypass

To insert entries into the mariaDB database (MariaDB):
SHOW DATABASES; # Shows available databases within MariaDB
USE ufid_database; # Switches usage to ufid_database
Copy + paste sql entries from /data folder
This creates 2 tables within the ufid_database, each with multiple entries: courses, exams
roster.sql WIP
SHOW TABLES; # courses and exams should be shown

WIP
1. Refactor backend to interact with the mariaDB database hosted on docker
2. Set up docker/database on a server that can be remotely accessed safely anywhere instead of utilizing LAN connections

8,188 changes: 8,188 additions & 0 deletions Database/data/courses.sql

Large diffs are not rendered by default.

3,489 changes: 3,489 additions & 0 deletions Database/data/exams.sql

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions Database/data/roster.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
/**** ERROR: (26) file is not a database *****/
ROLLBACK; -- due to errors
25 changes: 25 additions & 0 deletions Database/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: '3.1'

services:
mariadb:
image: mariadb
container_name: ufid_mariadb
restart: always
environment:
MARIADB_ROOT_PASSWORD: mypass
MARIADB_DATABASE: ufid_database
MARIADB_USER: myuser
MARIADB_PASSWORD: mypass
ports:
- "3306:3306"
networks:
- ufid_network
volumes:
- ufid_data:/var/lib/mysql

volumes:
ufid_data:

networks:
ufid_network:
driver: bridge
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Requests==2.32.3
customtkinter==5.2.2
Pillow<=10.0.0
python-dotenv==0.19.1
1 change: 1 addition & 0 deletions Team1Work_Historical/Packages/GUI/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .gui import *
Loading