35 Commits

Author SHA1 Message Date
a74e8b0cf1 Flammen und Namen 2024-02-16 09:28:00 +01:00
Verox001
d1a1f6fb0d Reverted merge commit from model 2024-02-16 08:28:47 +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
Verox001
1180893dd1 Fixed Yassins code removal 2024-02-14 10:41:03 +01:00
Verox001
b446bb55aa Added checked attribute again 2024-02-14 10:36:02 +01:00
Yapollon
ae1ffd21fe hotfix habit 2024-02-13 11:17:06 +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
4dd997ce13 Added models and relations 2024-02-12 21:07:55 +01:00
Yapollon
292408c654 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	models/Habit.py
2024-02-02 09:23:24 +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
Verox001
0c6bec2592 Removed DragnDrop 2024-02-02 09:03:40 +01:00
119a31302c Merge remote-tracking branch 'origin/master'
# Conflicts:
#	models/Habit.py
2024-02-02 08:56:47 +01:00
159feb38e4 Added dragndrop 2024-02-02 08:56:04 +01:00
Yapollon
b383a5a424 Merge branch 'master' of https://repo.cimeyclust.com/CimeyClust/HabitTracker 2024-02-02 08:30:43 +01:00
Yapollon
b816ac1ef7 fixed update slot
Changing slots is now possible
2024-02-02 08:30:34 +01:00
Verox001
7745518950 Fixed date checking 2024-02-02 08:07:47 +01:00
Verox001
3b9dc2a73b Fixed habit checking and improved mechanics 2024-01-31 10:56:54 +01:00
Verox001
45971b4bdf Fixed small bug and refreshed percentages 2024-01-30 10:37:38 +01:00
Verox001
51f263061f Finished method for habit percentage and checked init 2024-01-30 10:34:59 +01:00
Verox001
395133728f Finished checkbox checking of habits 2024-01-26 10:01:02 +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
1a1aedbb99 Fixed circular import 2024-01-26 09:08:31 +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
Verox001
75e2ddf51f Fixed create_habit method 2024-01-23 10:50:28 +01:00
Verox001
729d11f1c9 Finished POST Request for habit creation 2024-01-19 10:44:00 +01:00
Yapollon
0d80cdcf9b Deletes are now functional for both User and Habit
Also changed get_habits from the Habit class to the User class
2024-01-17 11:46:07 +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
f0ba853d34 get_all for the Habit Model now only fetches the habits of one user. 2024-01-16 11:10:54 +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