Christopher C. Wells
1a107fc31b
Update dependencies and migrations
2022-10-11 19:22:09 -07:00
jmunoz94
5b171ff66f
Add a test for deltasince
2022-10-11 19:13:22 -07:00
jmunoz94
fff19339f4
Add deltasince function as an alternative to timesince (to get a timedelta instead of a str)
2022-10-11 19:13:22 -07:00
earthcomfy
62bde09b3d
fix: Hide recently used tags when tag list is empty
2022-10-04 17:03:44 -07:00
earthcomfy
364676aeac
fix: Hide delete inactive timers button if there are no entries
2022-10-04 16:47:17 -07:00
Jean-Louis Jouannic
4455e74262
💄 improves dropdown toggle look and feel
2022-08-03 10:45:22 -07:00
Jean-Louis Jouannic
0cd989ff96
🚸 adds a child quick switch in breadcrumb
...
This quick switch is available in dashboard, timeline and reports breadcrumbs
and allows to quickly switch to the "same" page but for another child
2022-08-03 10:45:22 -07:00
Jean-Louis Jouannic
a606f86033
🚸 improves quick timer user experience
2022-07-24 12:32:07 -07:00
Jean-Louis Jouannic
a453d869a3
🎨 fixes template formatting
2022-07-07 14:28:40 -07:00
Jean-Louis Jouannic
94c557d3b8
🚨 fixes wrong code styling
2022-07-07 14:28:40 -07:00
Jean-Louis Jouannic
ac664cb511
✨ applies new child selection widget to all forms
...
filters out blank option for timer form as it does not really
make sense to allow user to select no child
2022-07-07 14:28:40 -07:00
Jean-Louis Jouannic
e86d7cc6f6
💄 renders inputs as Bootstrap radio buttons
2022-07-07 14:28:40 -07:00
Jean-Louis Jouannic
956125afcc
♻️ puts child thumbnail in a dedicated template
2022-07-07 14:28:40 -07:00
Jean-Louis Jouannic
424f9947af
⚗️ changes the way to select child in feeding (for now)
...
- uses input radio instead of select,
- displays child thumbnail.
2022-07-07 14:28:40 -07:00
Daniel Beard
7d7982b077
Fix dayssince sometimes being off by 1 day depending on timezone ( #484 )
2022-06-15 06:53:32 -07:00
Christopher C. Wells
f47fbce0cb
Use consistent naming for forms test case classes
2022-06-14 14:05:03 -07:00
Christopher Charbonneau Wells
f5ae1a55a7
Fix list view classes and colspans and re-sort menu items ( #481 )
...
* Standardize list class and fix colspans
Fixes #469
* Alpha organize new recent menu item additions
2022-06-12 19:24:00 -07:00
Marcelino Alberdi Pereira
9d3c32fec1
Fix filtering not working for capitalized tags ( #480 )
...
Closes #467 .
2022-06-12 19:07:19 -07:00
Xuesong
c1ee2a940b
Add i18n to `dayssince` filter ( #477 )
2022-06-10 21:39:24 -07:00
Xuesong
5ab2fce0d0
Handle plurals with `count` tag ( #473 )
2022-06-05 06:34:52 -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
362f42d266
Add tagged test to Import/Export tests
2022-05-28 07:02:13 -07:00
Christopher C. Wells
fa746c68ca
Add views tests for recently added models
2022-05-28 07:02:13 -07:00
Christopher C. Wells
db5615fcb9
Add missing forms tests; separate notes and tags tests
2022-05-28 07:02:13 -07:00
Christopher C. Wells
838020ceff
Update Faker API usage
2022-05-28 07:02:13 -07:00
Christopher C. Wells
f4f60363eb
Add import/export tests for recent model additions
2022-05-28 07:02:13 -07:00
Christopher C. Wells
3af2aee093
Reorder alpha core tests
2022-05-28 07:02:13 -07:00
Christopher C. Wells
4445faeeac
Add basic model tagging tests
2022-05-28 07:02:13 -07:00
Christopher C. Wells
55a355f8af
Refactor `random_colors` as a utility
2022-05-28 07:02:13 -07:00
Christopher C. Wells
00d04f1464
Add test for child without last name
2022-05-28 07:02:13 -07:00
Christopher C. Wells
c91b556739
Add basic test cases for recent core model additions
2022-05-28 07:02:13 -07:00
Christopher C. Wells
0875b6af05
Alpha order core models class declarations
2022-05-28 07:02:13 -07:00
Marco H
603a429c13
Allow end of feeding to be in the future
2022-05-08 16:37:42 -07:00
Christopher C. Wells
379f9b1e86
Move tag widget customizations to form classes
...
This allows the custom tag widget to function normally in Baby Buddy's
frontend without breaking behaviors in the Django admin forms. The previous
setup would prevent the standard tag editor behavior from working in the
Django admin and give incorrect help text.
2022-04-16 14:59:28 -07:00
Christopher C. Wells
09e0853067
Add single tag filter support to core views
2022-04-16 13:42:29 -07:00
Christopher C. Wells
50339e1c71
Put core models views in alpha order
2022-04-16 13:29:40 -07:00
Marco H
123a0192ce
Fix test
2022-04-15 20:56:34 -07:00
Marco H
3eba917b08
Allow diaper change without any contents ( fixes #426 )
2022-04-15 20:56:34 -07:00
jcgoette
5ba95b8cae
migrate
2022-04-15 20:17:26 -07:00
jcgoette
807ba37de8
default date and time to now
2022-04-15 20:17:26 -07:00
jcgoette
2e5014f2c3
isort
2022-04-15 20:17:26 -07:00
jcgoette
b62cb47130
remove unused imports
2022-04-15 20:17:26 -07:00
bugbountyguy
0d89574a65
Fix lint issues
2022-04-04 20:39:39 -07:00
bugbountyguy
b21c193488
Add pumping migration
2022-04-04 20:39:39 -07:00
bugbountyguy
254e796020
Add migration
2022-04-04 20:39:39 -07:00
bugbountyguy
9b4bbef5bf
Change reading to entry and other PR feedback
2022-04-04 20:39:39 -07:00
bugbountyguy
8b5c3eb5b9
Make gulp lint happy
2022-04-04 20:39:39 -07:00
bugbountyguy
4ceb6095d3
Rename breastpump to pumping
2022-04-04 20:39:39 -07:00
bugbountyguy
b9e98b16a2
Fix lint errors
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
97b1b8d9ce
Add tag filtering to supported models in admin
2022-04-04 20:08:13 -07:00
Christopher C. Wells
4255dd61ef
Add missing admin classes
2022-04-04 20:08:13 -07:00
Christopher C. Wells
bdc28991cb
Add basic import/export support for tags
2022-04-04 20:08:13 -07:00
Christopher C. Wells
1398239ecf
Fix verbose name of Tags model
2022-04-03 16:42:23 -07:00
Paul Konstantin Gerke
5446c5a02c
Add tags to timeline and all list views
2022-03-08 19:16:18 -08:00
Paul Konstantin Gerke
4919222d41
Rendering tag lists with templates
2022-03-08 19:16:18 -08:00
Paul Konstantin Gerke
3fa652cc25
Simple rendering of tags in lists
2022-03-08 19:16:18 -08:00
Paul Konstantin Gerke
ce21f39ec7
Add tags to most things except: Timers and Children
2022-03-08 08:35:27 -08:00
Paul Konstantin Gerke
b431c27835
Add color widget to the admin-UI
2022-03-08 12:55:50 +01:00
Paul Konstantin Gerke
98b0072634
Black
2022-03-08 12:01:51 +01:00
Paul Konstantin Gerke
b8e7d31ded
Add help text with short explanation how to use the tag editor
2022-03-08 12:01:12 +01:00
Paul Konstantin Gerke
7d8ead594c
Add api tests
2022-03-06 19:47:47 +01:00
Paul Konstantin Gerke
5f23eecb84
Black
2022-03-06 18:31:29 +01:00
Paul Konstantin Gerke
d0469caed5
Add missing notes-test (includes tests for tags-feature)
2022-03-06 18:30:58 +01:00
Paul Konstantin Gerke
7af66176aa
Black
2022-03-05 13:09:08 +01:00
Paul Konstantin Gerke
b27cf6c4b8
Black
2022-03-05 13:01:59 +01:00
Paul Konstantin Gerke
7bbaee1f80
Fix verbose_name for fields, update migrations
2022-03-05 13:01:28 +01:00
Paul Konstantin Gerke
f31dbaf15c
Add verbose_name for a bunch all new model-fields
2022-03-05 12:57:50 +01:00
Paul Konstantin Gerke
2c408ea479
Add docstrings
2022-03-05 12:47:16 +01:00
Paul Konstantin Gerke
e5279f2d7a
Fix tests
2022-03-02 23:31:11 +01:00
Paul Konstantin Gerke
8a37b44839
Black
2022-03-02 22:38:25 +01:00
Paul Konstantin Gerke
db140cff98
Black
2022-03-02 22:31:35 +01:00
Paul Konstantin Gerke
4f325ba07b
Remove BabyBuddy prefix from Tags-model
2022-03-02 21:53:51 +01:00
Paul Konstantin Gerke
a35df92fe2
Code review comments
2022-02-27 21:12:01 +01:00
Paul Konstantin Gerke
c665ebb181
Applied black
2022-02-27 20:36:31 +01:00
Paul Konstantin Gerke
3ac21ed67b
Linting
2022-02-27 20:00:12 +01:00
Paul Konstantin Gerke
cfdb9e1ade
Made widget translateable, added German translation
2022-02-27 19:41:27 +01:00
Paul Konstantin Gerke
a7f461551c
Remove default help_text from tag editor
2022-02-27 17:42:01 +01:00
Paul Konstantin Gerke
f1aa7c151c
Replaced alert with bootstrap-modal
2022-02-27 02:19:19 +01:00
Paul Konstantin Gerke
332a5999bc
Adding/removing tags works again
2022-02-26 15:50:38 +01:00
Paul Konstantin Gerke
747b398bd5
Create new javascript file for tags editor
2022-02-22 19:40:27 +01:00
Paul Konstantin Gerke
f47d3c6b76
Implement last_used
2022-02-20 12:40:06 +01:00
Paul Konstantin Gerke
4fd55124f4
Basically everything works :)
2022-02-20 12:15:04 +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
56ebbd3181
Fix storing of tags
2022-02-15 15:46:07 +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
8275d18d6c
Fix linting
2022-01-17 07:27:07 -08:00
Paul Konstantin Gerke
d34814260f
Alternative implementation for item ordering
2022-01-17 07:27:07 -08:00
Paul Konstantin Gerke
847125b1c6
Add literal ordering of timeline object types
...
Makes it so that timline items registered at the same moment are
always ordered "start->end", not "end->start".
Signed-off-by: Paul Konstantin Gerke <paulkgerke@craftware.info>
2022-01-17 07:27:07 -08:00
Christopher C. Wells
226f67f02c
Update Django to 4.x
2022-01-16 15:49:09 -08:00
Christopher C. Wells
81f0fb94e7
Replace easy-thumbnails with imagekit
...
Closes #373
2022-01-16 15:49:09 -08:00
Yulian Kuncheff
648d46dc94
Adjust migrations
2021-12-31 09:19:53 -05: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
Marcelino Alberdi Pereira
89ed408acc
Make last name optional ( #361 )
2021-12-29 16:41:39 -05:00
MagiX13
17e35e6469
Adjust paths to / to be dynamic
...
This is useful if you want to run babybuddy in a subdirectory
2021-12-21 15:51:20 -05:00
Christopher C. Wells
457598e3da
Translate untranslated strings
...
Fixes #352
2021-12-18 13:45:05 -05:00