CHAO-WEI : 2024_11_25 18:05
- add the function for mhwp calender
CHAO-WEI : 2024_11_25 11:58
Fix up the bug of the previous commit related to logout within admin and mhwp, and modify the code of mhwp.py
- remove the doctor.py, as the role is not needed
- remove the code related to doctor which would create bugs.
- append the function that patients can change their username, email,emergency_email now
- append the function that admin can change others' email, emergency_email.
Arthur Hou: 2024_11_25 02:48
- change all instance of mhw to mhwp for naming consistency.
- modify slight to mhwp.py for robustness.
Arthur Hou: 2024_11_24 20:09
- Modularize the whole frame
- removed init.py from services. since the dependencies are now defined in each module themselves.
- Modularize user registration function register_user() to \services\registration.py
- Modularize login handling function handle_login() to \services\login.py; In handle_login() break each model's page into different function.
- modularize admin's login page to handle_admin_menu() to \model\admin.py
- modularize doctor's login page to handle_doctor_menu() to \model\doctor.py
- modularize mhw's login page to handle_mhw_menu() to \model\mhwp.py
- modularize patient's login page to handle_patient_menu() to \model\patient.py
- Add patient mood tracking page.
- Add patient mood tracking page.
- see \services\mood_tracking.py; the function is called when choose the corresponding selection in handle_patient_menu().
- fix the bug that cause the program to exit after registration.
- remove \data\patient_data.csv since it is redundant. All user info stored in \data\user_data.csv
- place all the csv file path in config.py. The csv file path for classes and functions are easily controlled in this way. State 'from config import XXX_DATA_PATH' at the top of your code.
- fix the bug that cause the program to exit after registration.
- remove \data\patient_data.csv since it is redundant. All user info stored in \data\user_data.csv
- place all the csv file path in config.py. The csv file path for classes and functions are easily controlled in this way. State 'from config import XXX_DATA_PATH' at the top of your code.
CHAO-WEI:
-
- Added roles of MHWP, Doctor into menu
-
- Change the entire frame
CHAO-WEI:
-
- Added the admin function which can allow admin to manage other users's data such as delete, update.
-
- user now can cancel their own account, and the admin can delete the user's data.
-
- admin should insert the code to login which is 0000
-
- The program can run, allowing the username and password to be compared with data in the CSV file
-
- user can change their own username and password
-
- registation would compare the username with the data in the CSV file, avoiding the same username.
-
- create the intit file to form the package file
-
- !need update for MHWP function!
CHAO-WEI:
-
- Removed the GUI file as we don't want to use it.
-
- Created the basic functionality of the program in
userand implemented the entry logic in the main functionality.
- Created the basic functionality of the program in
-
- After testing, the table can be created and data can be inserted into the table.
-
- The program can run, allowing the username and password to be compared with data in the CSV file.
Date: 2024.11.14.1:04
CHAO-WEI:
-
- Create the project on GitHub. Commit the starter code from moodle.
**Date:**2024.11.11 1:06