18 Commits

Author SHA1 Message Date
Yapollon
be16821be2 Delete Account
You can now delete the account in the profile settings
Also profile images associated with the user will be removed from the file system

+ fixed that HabitList deletion doesn't cause Habit Deletion
2024-03-08 15:49:46 +01:00
Luis
5f75997617 moved accept_list from habitListe to User 2024-03-07 18:44:13 +01:00
Luis
69b3c257d1 Merge remote-tracking branch 'origin/master' 2024-03-07 18:28:39 +01:00
Luis
db45e7f059 added a way to accept shared habit_lists instead of directly accepting. accepted via habit_list.accept_List(habit_List.id, user.id) 2024-03-07 18:28:06 +01:00
Yapollon
45f23c88e2 MIGRATE: Implemented user color setting. 2024-03-07 17:54:49 +01:00
Yapollon
e9368f567e HabitList fix 2024-03-06 11:04:15 +01:00
Verox001
2dc3cbf047 Implemented User Display on Habitlist 2024-03-01 09:17:52 +01:00
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