35 Commits

Author SHA1 Message Date
Yapollon
684beb372f Profil upgrade and MORE
Very cool isn't it, totally didn't take a lot of time
2024-02-20 04:16:28 +01:00
Yapollon
6f363a104e Profile Pictures
YES YOU HEARD RIGHT!!

I ALSO DID THE HTML!

This is the most awesome most epic addition, i sold my kidney for this.
2024-02-18 04:53:15 +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
Verox001
979bfc24f9 Fixed migrate synthax 2024-02-13 09:40:07 +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
Yapollon
6464c0538e fast fix 2024-02-02 09:28:36 +01:00
Yapollon
111d11002e Improved Habit delete()
Also added that updated_at gets changed in the table for every update function!
2024-02-02 09:20:19 +01:00
Yapollon
b816ac1ef7 fixed update slot
Changing slots is now possible
2024-02-02 08:30:34 +01:00
Yapollon
9a572a2b31 You can now give back the heat map values for any given day! 2024-01-30 11:17:34 +01:00
Verox001
bcab78126a Fixed and finish profile update 2024-01-26 10:40:12 +01:00
Yapollon
906473cb81 Reformating 2024-01-26 09:33:41 +01:00
Yapollon
f0585f22fa Update slot imports 2024-01-26 09:29:47 +01:00
Verox001
eb8badd3ae Finished Model methods for habit tracking and habit 2024-01-26 09:06:47 +01:00
Verox001
03eec7bd4a Updated get_next_Slot method 2024-01-26 08:30:06 +01:00
Yapollon
a476ab2f34 Update User
Function
2024-01-26 08:10:36 +01:00
Yapollon
a752ecd087 create habit Tracking table
habit tracking databank erstellt.
2024-01-23 10:32:14 +01:00
Verox001
729d11f1c9 Finished POST Request for habit creation 2024-01-19 10:44:00 +01:00
Yapollon
cc8f2f56a1 Fixed get_all()
and added delete methods for user and habits
2024-01-17 11:23:22 +01:00
Yapollon
809a6b2d4b added test data 2024-01-17 11:00:59 +01:00
Yapollon
84d2020b18 added indexing 2024-01-16 13:35:00 +01:00
Yapollon
53201c95ee Merge branch 'master' of https://repo.cimeyclust.com/CimeyClust/HabitTracker 2024-01-16 11:11:47 +01:00
Yapollon
f0ba853d34 get_all for the Habit Model now only fetches the habits of one user. 2024-01-16 11:10:54 +01:00
Verox001
3980cc8c3b Fixed migrate script 2024-01-16 11:04:41 +01:00
Yapollon
dff51be18f Completed the Habit Model and added units + user_id foreign key.
Also we have some good test data.
2024-01-16 10:58:25 +01:00
Yapollon
d8c796ced7 Stylesheet for main.html
Table for Habits
2024-01-13 13:30:29 +01:00
Yapollon
9573b58d50 Stylesheet for main.html
Table for Habits
2024-01-13 12:42:54 +01:00
Verox
b3b8a3fd5f Finished auth 2024-01-12 16:53:03 +01:00
Verox001
d13dff5146 Init project 2024-01-12 10:57:58 +01:00