Commit graph

102 commits

Author SHA1 Message Date
Kumi 0b19d5708c
feat: update django-multiselectfield repo URL
Migrated the django-multiselectfield dependency source to a new
repository URL to align with our updated internal hosting strategy. This
change ensures that our dependency management is consistent with current
guidelines and utilizes our private repository infrastructure for better
control and security.
2024-03-24 16:49:57 +01:00
Kumi 2b37030938
fix: update legend label in moodpies chart
Updated the property for setting the chart legend's label from `legend`
to `legend_label` in the `moodpies` function to align with the latest
library syntax. This change ensures compatibility with newer versions of
the visualization library, preventing potential issues with legend
rendering in mood statistics charts.
2024-03-24 16:29:27 +01:00
Kumi 71c34db6d8
refactor(mood/stats): streamline and optimize visualizations
This commit streamlines mood and activity visualization code in
mood/statistics.py for better readability and maintainability. By
consolidating similar code blocks, replacing ' extension calls with
consistent double quotes, and reformatting large data structures for
clarity, we ensure the code is more Pythonic and easier to follow.
Additionally, the alterations in how pie charts and mood statistics are
generated not only maintain functionality but also reduce cognitive load
when navigating the codebase. These changes pave the way for future
enhancements and debugging efforts by making the codebase more
approachable.
2024-03-24 16:28:10 +01:00
Kumi c7295829fc
refactor(statistics.py): standardize chart height param
Standardized the parameter name for setting chart height across all
chart creation functions in statistics.py. Replaced `plot_height` with
`height` to align with the latest visualization library conventions.
This change enhances code consistency and adheres to the updated library
API, ensuring future compatibility and easier maintenance.
2024-03-24 16:23:48 +01:00
Kumi 47ea505efd
feat: streamline topbar notifications
Simplified the alert system in the topbar by removing outdated
notifications and placeholder content for messages. Introduced a generic
alert placeholder to hint at potential future alert implementations.
This change aims to declutter the UI and enhance user experience by
focusing on relevant and streamlined information. Additionally, the
removal of the message center underscores a shift towards simplifying
user interactions within the platform.
2024-03-24 16:15:54 +01:00
Kumi 1830f37161
Updates to documentation 2023-03-26 20:08:18 +00:00
Kumi 5937651c80
Add missing OIDC_CREATE_USER value from config file 2022-10-26 07:00:44 +00:00
Kumi af0b996e37
Update INSTALL.md
Add license
2022-10-25 14:43:01 +00:00
Kumi 49854655b2
Migrate to AutoSecretKey
Implement OIDC login
2022-10-25 14:40:48 +00:00
Kumi 8a87833d2e
Start development of gpslog module 2022-09-09 16:59:13 +00:00
Kumi 9e6d573d91
Start gpslog app 2022-09-07 16:15:22 +00:00
Kumi 59c70448b4
Get requirements fixed (?) for Django4.1 2022-09-07 16:15:10 +00:00
Kumi 6e726871cf Fix Dashboard link in navigation 2021-10-27 09:01:25 +02:00
Kumi 218d0290de Move nav sections to respective apps 2021-10-24 17:45:23 +02:00
Kumi 5b89adc862 Try fixing styling error 2021-10-24 17:41:38 +02:00
Kumi b0b667a773 Try fixing syntax error 2021-10-24 17:38:20 +02:00
Kumi 916e8aa7d1 Try implementing sidebar generation 2021-10-24 17:35:52 +02:00
Kumi 5e1a4d8ea2 Fix autoescaping 2021-10-24 17:03:33 +02:00
Kumi eaf67e9471 Missing files 2021-10-24 16:51:12 +02:00
Kumi 252264664f Minor work on frontend generation
Basic status API
2021-10-24 16:51:04 +02:00
Kumi ed031ba969 Add blank environment app 2021-10-07 16:36:19 +02:00
Kumi 084bb6bbdb Prepare for dynamic generation of navigation menus 2021-03-03 11:36:25 +01:00
Kumi 42c498923c Order activities by name by default 2021-03-03 10:35:54 +01:00
Kumi eb7344305d Basic activity statistics 2021-03-03 08:39:26 +01:00
Kumi f43fb4a8b1 Bokeh problems seem solved now with latest panel 2021-03-03 07:51:18 +01:00
Kumi 18e9ce1746 Colored buttons for mood selection 2021-03-01 21:04:44 +01:00
Kumi 35fd2450f4 Badly implement mood pie charts 2021-03-01 18:05:14 +01:00
Kumi 940974f056 Require older bokeh than 2.3.0 which causes Exception 2021-03-01 07:15:29 +01:00
Kumi 00eadf9b90 Handle empty database in mood template tags 2021-03-01 07:12:15 +01:00
Kumi a1164ad788 Remove dbsettings from init methods (would prevent initial migrations) 2021-03-01 07:09:53 +01:00
Kumi e93798c266 Replace max time parameter by current time 2021-02-28 19:58:38 +01:00
Kumi 67cf834fa9 Fix moodstats call 2021-02-26 18:09:13 +01:00
Kumi 5cef852510 Fix moodstats signature
Remove unused variables
Fix time selection for CSV
2021-02-26 07:38:17 +01:00
Kumi 539ee03709 Fix activitystats signature 2021-02-26 07:26:52 +01:00
Kumi cbcf7a365c Add monthly and yearly activity counters 2021-02-25 15:33:28 +01:00
Kumi 8108fb8bf4 Fix Bokeh output
Lock Y axis of Bokeh HTML output
2021-02-22 20:10:37 +01:00
Kumi 255f4d721c Add statistics to sidebar
Fix stupid mistake
2021-02-22 07:59:51 +01:00
Kumi 209c1c1429 Add rolling average to mood statistics chart
Add ordering clause to Status objects
2021-02-22 07:51:27 +01:00
Kumi a19c0a2ad1 Make prettier 2021-02-21 21:03:34 +01:00
Kumi bbb062ca0e Adding activity output
Bug fixing
2021-02-21 20:59:39 +01:00
Kumi 261531f9bf Reworked statistics with HoloViews/Bokeh 2021-02-21 20:13:22 +01:00
Kumi 49ae5ef7d9 Implement statistics in Javascript only to soon replace this with HoloViews 2021-02-21 11:24:25 +01:00
Kumi 84aaf34ec0 Fix matrix message delivery? 2021-02-20 14:17:52 +00:00
Kumi a868e5273f Use pip versions of Kumi modules 2021-02-20 13:52:46 +00:00
Kumi b028ac3fc9 Template tag for PIL image display 2021-02-20 13:39:54 +00:00
Kumi 788ae99088 Blindly code Matrix gateway 2021-02-17 06:43:24 +00:00
Kumi d658fa4ea6 Fix mindless copy-paste programming 2021-02-17 05:55:04 +00:00
Kumi 431f7acba2 Rename meds to health
Add more health related models
Add activity categories
2021-02-16 12:15:56 +00:00
Kumi 1d3251d886 Calculate average moods from average daily moods 2021-01-17 16:49:22 +01:00
Kumi faa5a76d2d Add missing max_length to CharField 2021-01-17 16:47:55 +01:00