49 Commits

Author SHA1 Message Date
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
e5709775bb fixed renaming in app.py
he guess i missed some
2024-02-16 18:04:53 +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
7ad54ffb30 fixed slots 2024-02-13 10:46:54 +01:00
Verox001
32b0d3017c Fixed habit creation for lists 2024-02-13 10:07:22 +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
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
f8ee727705 cleanup 2 2024-02-02 08:34:02 +01:00
Yapollon
79c8636ce1 cleanup 2024-02-02 08:32:45 +01:00
Verox001
3b9dc2a73b Fixed habit checking and improved mechanics 2024-01-31 10:56:54 +01:00
Verox001
e5d61abad3 Return percentage on habit checking 2024-01-30 10:41:05 +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
27fbebca98 Rolled back code 2024-01-30 09:55:44 +01:00
Verox001
428e2498dd Optimized habit tracking 2024-01-26 11:17:09 +01:00
Verox001
c19ea3bace Finished habit deletion feature 2024-01-26 11:07:41 +01:00
Verox001
51c873a447 Finished profile page 2024-01-26 10:45:58 +01:00
5451a442a8 passwort field update 2024-01-26 10:40:59 +01:00
Verox001
bcab78126a Fixed and finish profile update 2024-01-26 10:40:12 +01:00
befdb5fc2b added profile page 2024-01-26 10:25:01 +01:00
Verox001
4fd34ba5bc Sort habits by already done and slot 2024-01-26 10:09:57 +01:00
Verox001
395133728f Finished checkbox checking of habits 2024-01-26 10:01:02 +01:00
Verox001
1131995385 Finished check-Endpoint. Please test 2024-01-26 09:06:31 +01:00
Verox001
03eec7bd4a Updated get_next_Slot method 2024-01-26 08:30:06 +01:00
4bc17623bb Wir haben Habits udn Checkboxen fried chicken 2024-01-26 08:27:44 +01:00
Verox001
f66d03c84d Added redirect to index after habit creation 2024-01-26 07:59:17 +01:00
Yapollon
25a9238e1d added new functionality 2024-01-23 11:00:37 +01:00
Yapollon
2b0d94c39b Sorted methods in app.py
Now looks a lot better!
2024-01-23 10:58:08 +01:00
Yapollon
46b6787352 nice nice 2024-01-23 10:50:56 +01:00
Verox001
f0f1b38eb0 Fixed type error 2024-01-23 10:46:52 +01:00
5b633c8f42 Oben wird man gebittet sich anzumelden wenn man nicht angemeldet ist. ansonsten wird man mit seinem Namen gegrüßt. 2024-01-23 10:22:16 +01:00
Nikolas
48bae38872 Jans Fehler repariert und 2 andere heatmaps getestet 2024-01-21 00:23:16 +01:00
Nikolas
bebf3780db Jans Fehler repariert 2024-01-20 23:40:04 +01:00
c6dc48dd52 Merge remote-tracking branch 'origin/master' 2024-01-19 11:13:36 +01:00
873bdc1e86 Gewohnheit erstellen Butten
Seite für das erstellen von einer neuen Gewohnheit
fehlermeldungen und die übergabe an das backend müssen noch hinzugefügt werden
2024-01-19 11:13:01 +01:00
Verox001
6884482e78 Fixed times and unit validation 2024-01-19 11:05:27 +01:00
Verox001
8463c01133 Renamed template and created page for habit creation in controller 2024-01-19 10:50:35 +01:00
Verox001
729d11f1c9 Finished POST Request for habit creation 2024-01-19 10:44:00 +01:00
Verox001
0922309531 Added habit POST request and translated errors to german 2024-01-19 10:29:27 +01:00
2e1a2bc399 liste verbessert 2024-01-19 10:27:08 +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
52ba6988fd Merge remote-tracking branch 'origin/master' 2024-01-17 11:23:41 +01:00
Yapollon
cc8f2f56a1 Fixed get_all()
and added delete methods for user and habits
2024-01-17 11:23:22 +01:00
b925683aa4 Heatmap tasks udn task abruf 2024-01-17 11:17:35 +01:00
ace4b9b4eb Farben angepasst udn Tabelle und verweise 2024-01-16 11:16:21 +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