11 Commits

Author SHA1 Message Date
Yapollon
1b665b8be0 Improved user addition 2024-03-01 08:13:58 +01:00
Yapollon
e2f1402d50 Habit Streak Update (2/2)
Yeah reworked the entire thing so that the checked, count and streak value is stored in the Habit Table
2024-02-28 14:14:10 +01:00
Yapollon
759c7d277f Model Overhaul
I'm done, this is the now complete code for the models and all.

To make it short:
- made some renaming that was necessary, HabitTrackings -> HabitTracking because every goddamn class is singular and not plural
- made the deletion process everywhere the same (Habit Deletion now handles the HabitTracking deletion inside the model and not through Sqlite.py)
- Some much needed comments
- Some adjustments to the HabitLists, nothing big, plus addition of update

- Also as a question, why does the HabitList have a redundant habits attribute, for now i marked this issue in the code to not forget it
2024-02-16 17:57:49 +01:00
Yapollon
7600bd8f2c Fixing 2024-02-16 08:18:08 +01:00
Yapollon
4e93a2473c User Deletion
Addition to the last commit.
Adds the improved user deletion.
2024-02-14 21:03:11 +01:00
Yapollon
869ead2077 Big adjustments to the models
These adjustments address a lot of the current problems with the models, mainly the deletion process but also the addition of a add_user and remove_user function for the HabitLists.

In addition a lot of inconsistencies over the whole code were fixed and readjusted.

Thx for reading
2024-02-14 12:55:00 +01:00
Yapollon
e2dd7c5fdf reformating 2024-02-13 11:13:50 +01:00
Yapollon
7ad54ffb30 fixed slots 2024-02-13 10:46:54 +01:00
Verox
05b5869be7 Small update with bug fixes 2024-02-12 22:31:51 +01:00
Verox
4764112296 Finished Multi-Habit-List feature and multiple habits for each habit_list 2024-02-12 22:06:27 +01:00
Verox
4dd997ce13 Added models and relations 2024-02-12 21:07:55 +01:00