Christopher C. Wells
39c1e98d8c
Add birth time support to Child model
2023-10-21 14:02:07 -07:00
Christopher C. Wells
9fc666dd2e
Add support and testing for Python 3.12
2023-10-20 20:56:28 -07:00
Christopher C. Wells
b54499d6f2
Add image field to note
2023-10-20 17:06:59 -07:00
Boris
b5163c2360
Add feature: Filter timers by name
...
In this commit, we've implemented a new feature that enhances the usability and flexibility of BabyBuddy. Users can now filter timers by their names, making it convenient to find timers without having to remember or input their specific IDs. This is particularly useful when dealing with timers that users might not be consciously aware of or for which remembering IDs is not feasible.
This improvement has broader implications, especially when it comes to programmable scenarios such as leveraging Apple Shortcuts.
2023-08-15 09:38:34 -07:00
John Merlie
25812f2adf
fix for /pull/665#discussion_r1250135346
2023-07-09 08:48:54 -07:00
John Merlie
1c6f332752
resolve time locality with api test for pumping
2023-07-09 08:48:54 -07:00
John Merlie
030346fb56
api test updates for pumping start/end/duration
2023-07-09 08:48:54 -07:00
John Merlie
725cfa77ba
modify pumping view set for start/end/duration
2023-07-09 08:48:54 -07:00
John Merlie
63f8a3cd7d
modified pumping serializer for start/end
2023-07-09 08:48:54 -07:00
John Merlie
b0e5a7ad1b
modify pumping api filter to start/end
2023-07-09 08:48:54 -07:00
Christopher C. Wells
759bbe9ddb
Allow and default to NULL Sleep.nap via API
...
Fixes #657
2023-06-14 20:01:49 -07:00
Christopher Charbonneau Wells
31a0aa4741
513: Make nap user toggleable ( #641 )
...
* Add `nap` field, remove `napping` field.
* Default `nap` property to NULL
* Update existing tests
* Format the code!!
* Allow `Sleep.nap` to be blank
* Migrate settings from `NAP_START_MIN` AND `NAP_START_MAX`
* Remove `active` class from boolean fields
* Correct test method name and user config
* Add forms test
* Use settings for Sleep nap model tests
2023-05-07 15:10:50 -07:00
Christopher C. Wells
76d117047c
Merge remote-tracking branch 'origin/master' into v2
2023-04-14 19:49:08 -07:00
Paul K. Gerke
5b0763161b
Add id to filter fields for children ( #625 )
2023-04-11 10:45:08 -07:00
Christopher C. Wells
7b7f17fde6
Remove "inactive" timer concept -- delete on complete
...
Closes #109
2023-03-25 13:23:05 -07:00
Christopher C. Wells
bf2884f544
Add order-able fields and defaults
2023-02-10 19:06:55 -08:00
Christopher C. Wells
90e16431b8
Format code
2023-02-10 06:14:37 -08:00
Christopher C. Wells
cd44a473cf
Replace references to Django core `User` model with `get_user_model`
2023-02-10 06:14:37 -08:00
Brian O'Connor
64f44f31ca
Fix linting issue
2023-01-29 14:09:35 -08:00
Brian O'Connor
8feeb2f208
Add tags to Pumping test
2023-01-29 14:09:35 -08:00
Brian O'Connor
6c14590579
Add tags to the list view and the Api serializer
2023-01-29 14:09:35 -08:00
Paul Konstantin Gerke
f8212bfe80
Fix tests
2022-09-05 23:07:56 +02:00
Paul Konstantin Gerke
5ea7d33ef6
Add back the UserProfile and use DRF nested relationship for profile page
...
- Also fix part of the openapi-specs. Item-model for profile page is still not
rendered out however
2022-09-05 23:00:03 +02:00
Paul Konstantin Gerke
02ea6487d5
Remove UserSerializer
2022-09-05 22:11:20 +02:00
Paul Konstantin Gerke
878ff64fad
Add tests, add username to api/profile endpoint
2022-08-30 22:49:54 +02:00
Paul Konstantin Gerke
9723bccc40
Black
2022-08-26 15:42:30 +02:00
Paul Konstantin Gerke
abcd832591
Serialize full profile page
2022-08-25 11:46:12 +02:00
Paul Konstantin Gerke
29cdc368fa
Add custom router that renders out the urls of custom views
2022-08-25 11:18:57 +02:00
Paul Konstantin Gerke
a6433732b6
Experimental changes
2022-08-25 10:15:09 +02:00
Christopher C. Wells
3a022f8b12
Ignore list items order in test x2
2022-06-28 07:09:34 -07:00
Christopher C. Wells
f4d15043d6
Ignore list items order in test
2022-06-28 07:05:47 -07:00
Christopher C. Wells
dd0ba29416
Use Taggit serializer for taggable models
2022-06-28 06:58:37 -07:00
Christopher Charbonneau Wells
1a19f05130
Add `timer` field data to OpenAPI schema ( #474 )
...
* Add timer as an actual field on the duration serializer
This change enables the timer field to be part of the generated OpenAPI
schema.
2022-06-06 06:47:57 -07:00
Daniel Beard
21b8a737c0
Add carousel of last 7 days of feedings to the todays feeding card ( #450 )
...
Add list of last 7 days of feedings to the todays feeding card
Co-authored-by: Daniel Beard <daniel@medcrypt.co>
2022-05-30 19:43:42 -07:00
Christopher C. Wells
5b7bd52a41
Fix formatting
2022-05-28 07:02:13 -07:00
Christopher C. Wells
48c039eebb
Add missing API tests for recent model additions
2022-05-28 07:02:13 -07:00
Christopher C. Wells
6d30969330
Reorder alpha API classes
2022-05-28 07:02:13 -07:00
jcgoette
8e180082dc
add tests
2022-04-15 20:17:26 -07:00
jcgoette
611fb85314
change api date filter to datetime filter
2022-04-15 20:05:50 -07:00
bugbountyguy
6df9b44407
Fix test amount to decimal in test
2022-04-04 20:39:39 -07:00
bugbountyguy
4ceb6095d3
Rename breastpump to pumping
2022-04-04 20:39:39 -07:00
bugbountyguy
18f8c9887d
re-add accidental deleted temperature line
2022-04-04 20:39:39 -07:00
bugbountyguy
5c45b037f0
Finish up adding the brestpump measurement
2022-04-04 20:39:39 -07:00
bugbountyguy
44648ce33b
add tests
2022-04-04 20:39:39 -07:00
Christopher C. Wells
a20df4664c
Update existing API tests for tags
2022-04-04 15:23:00 -07:00
Christopher C. Wells
a779901851
Add tags filter to supported models
2022-04-04 15:23:00 -07:00
Christopher C. Wells
fd66d3f369
Add tags field to supported models
2022-04-04 15:23:00 -07:00
Christopher C. Wells
908d7df5e4
Use singular form for Tag API class names
2022-04-03 17:06:02 -07:00
Paul Konstantin Gerke
7d8ead594c
Add api tests
2022-03-06 19:47:47 +01:00
Paul Konstantin Gerke
e5279f2d7a
Fix tests
2022-03-02 23:31:11 +01:00