Christopher C. Wells
5b7bd52a41
Fix formatting
2022-05-28 07:02:13 -07:00
Christopher C. Wells
6d30969330
Reorder alpha API classes
2022-05-28 07:02:13 -07:00
bugbountyguy
4ceb6095d3
Rename breastpump to pumping
2022-04-04 20:39:39 -07:00
bugbountyguy
5c45b037f0
Finish up adding the brestpump measurement
2022-04-04 20:39:39 -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
4f325ba07b
Remove BabyBuddy prefix from Tags-model
2022-03-02 21:53:51 +01:00
Paul Konstantin Gerke
c665ebb181
Applied black
2022-02-27 20:36:31 +01:00
Paul Konstantin Gerke
c397836e68
Add dynamic tag creation
2022-02-18 00:22:01 +01:00
Paul Konstantin Gerke
5046b754e5
Add api-serializer
2022-02-15 22:24:13 +01:00
Paul Konstantin Gerke
bf49cc92ad
Initial (bugged) work on tag editor
2022-02-15 10:13:35 +01:00
Christopher C. Wells
cd946280cb
Format code with black
2022-02-09 16:00:30 -08:00
Paul Konstantin Gerke
c1a0abd1f7
Way simpler implementation of the new endpoints
...
Signed-off-by: Paul Konstantin Gerke <paulkgerke@craftware.info>
2022-01-12 16:18:10 -08:00
Paul Konstantin Gerke
63d0b1373a
Reworked POST to PATCH endpoints
...
Signed-off-by: Paul Konstantin Gerke <paulkgerke@craftware.info>
2022-01-12 16:18:10 -08:00
Paul Konstantin Gerke
cf58ae6aba
Add timer restart and stop triggers
...
Restarting and stopping timers from the API was not allowed. This
commit adds api/timer/{id}/[stop|restart]/ triggers that can be
posted to through the REST-API to start/stop timers.
Signed-off-by: Paul Konstantin Gerke <paulkgerke@craftware.info>
2022-01-12 16:18:10 -08:00
Yulian Kuncheff
0af4521005
Linting and faker changes
2021-12-31 09:19:53 -05:00
Yulian Kuncheff
9b604627a1
Add Height, Head Circumference, and BMI, corresponding reports, and move to separate menu with Weight and Temperature.
2021-12-31 09:19:53 -05:00
Christopher C. Wells
25471b2dc6
Add date filters to all relevant models
2021-10-31 13:29:43 -07:00
Christopher C. Wells
23f5f76db4
Add date filter to models with `time` field
...
Fixes #328
2021-10-31 13:29:43 -07:00
Christopher C. Wells
7276dc331a
Add "timer" field information to OPTIONS ( #131 )
2020-03-14 13:33:05 -07:00
Christopher C. Wells
8421b14088
Update `api` app for latest core model changes
2020-01-31 09:09:01 -08:00
Christopher C. Wells
c51e755c0f
Add Diaper Change "amount" field data to API
2020-01-26 14:30:00 -08:00
Christopher C. Wells
243b9ef1c1
Add Temperature data to API.
2019-05-16 22:13:14 -07:00
Christopher Charbonneau Wells
4b7bb69218
Add support for Django 2.1 and Django Filters 2.0.0.
2018-08-04 13:00:51 -07:00
Christopher Charbonneau Wells
5dc372281b
Remove all unicode_literals imports.
2018-02-17 17:09:40 -05:00
Christopher Charbonneau Wells
067be4bf07
Add weight tracking.
2017-11-09 21:15:09 -05:00
Christopher Charbonneau Wells
d3333d68b4
Replace custom API filters implementation with django-filter.
2017-11-02 06:05:12 -04:00
Christopher Charbonneau Wells
0d7382407c
Refactor some utils functions sligthly and add tests.
2017-10-30 20:45:46 -04:00
Christopher Charbonneau Wells
8eef1574e4
Fix API child and user serializers.
...
The HyperlinkedIdentityField got broken somewhere along the way here and I am not sure, but this is not a priority right now.
2017-10-21 17:35:34 -04:00
Christopher Charbonneau Wells
37f28c3ff7
Add slug field to Child.
2017-08-18 08:12:50 -04:00
Christopher Charbonneau Wells
1b015d4dde
Add user association to Timer (WIP - adding timer broken)
2017-08-17 14:42:44 -04:00
Christopher Charbonneau Wells
55a908f546
Fix URLs configuration to prevent namespace issues between api and core apps.
2017-08-17 12:17:51 -04:00
Christopher Charbonneau Wells
6b2de93736
Add Timer model.
...
This will used for creating timers in the app and (eventually) applying them to entries during create operations.
2017-08-16 18:33:02 -04:00
Christopher Charbonneau Wells
79472dcdbe
Add an amount field to the Feeding model.
2017-08-16 18:07:25 -04:00
Christopher Charbonneau Wells
6e2112b6b5
Refactor model "Baby" as "Child".
2017-08-16 08:49:58 -04:00
Christopher Charbonneau Wells
99c6e54cc2
Add a generic Note model.
2017-08-13 16:48:16 -04:00
Christopher Charbonneau Wells
a234799418
Add a queryset param filter utility function.
2017-08-13 16:26:52 -04:00
Christopher Charbonneau Wells
2452826586
Remove example User model API.
2017-08-13 16:17:18 -04:00
Christopher Charbonneau Wells
eaabcc6faf
Add filter support.
2017-08-13 16:15:57 -04:00
Christopher Charbonneau Wells
105adec971
Add DiaperChange model.
2017-08-13 15:51:25 -04:00
Christopher Charbonneau Wells
9422d73421
Add a TummyTime model.
2017-08-13 15:05:44 -04:00
Christopher Charbonneau Wells
481ada74f8
Add Feeding model.
2017-08-13 11:59:14 -04:00
Christopher Charbonneau Wells
cafbe048cb
Add basic Baby and Sleep models.
2017-08-13 10:48:16 -04:00
Christopher Charbonneau Wells
fbbaa76153
Establish basic REST Framework API structure.
2017-08-13 09:44:48 -04:00