Paul Konstantin Gerke
e238563b53
Replace qrcode generator with template tag
2022-08-25 23:56:18 +02:00
Paul Konstantin Gerke
d5bbbd4ee4
Add login QR-code to settings-page
2022-08-24 22:20:08 +02:00
Christopher Charbonneau Wells
0d26efe05a
Add a way to set the SMTP configuration ( #506 )
...
* Update configuration of password reset URLs
* Add support for email configuration via environment variables
* Remove unused settings files
* Add email configuration documentation
* Reorganize configuration documentation by topic
* Fix linting issue
* Add password reset flow test
* Correct icon name
* Isolate password reset test case
* Update locales for new strings
2022-07-30 14:22:34 -07:00
Jean-Louis Jouannic
a606f86033
🚸 improves quick timer user experience
2022-07-24 12:32:07 -07:00
Jean-Louis Jouannic
e950aeb4da
🐛 sets overflow-auto class only for child selection input
2022-07-07 14:28:40 -07:00
Jean-Louis Jouannic
d8aa3acf91
🚸 scrolls if too many selectable children in forms
...
May be particularly useful on a phone
2022-07-07 14:28:40 -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
bugbountyguy
f94b533568
Move pumping to activities
2022-04-04 20:39:39 -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
Paul Konstantin Gerke
23e7c84547
Merge remote-tracking branch 'origin/master' into tags
2022-03-02 22:13:41 +01:00
Christopher C. Wells
c2afa80845
Add return link to error base template
2022-02-25 20:28:12 -08:00
Christopher C. Wells
ff45ab46a3
Set base design for error response templates
2022-02-25 20:28:12 -08:00
Christopher C. Wells
94d1f99344
Create base error template
2022-02-25 20:28:12 -08:00
Christopher C. Wells
b1ee9fe043
Add template for 403 CSRF Bad Origin failure
2022-02-25 20:28:12 -08:00
Paul Konstantin Gerke
747b398bd5
Create new javascript file for tags editor
2022-02-22 19:40:27 +01:00
Christopher C. Wells
226f67f02c
Update Django to 4.x
2022-01-16 15:49:09 -08: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 Charbonneau Wells
8f6d0295f3
Improve PWA experience ( #359 )
2021-12-25 14:31:58 -05:00
Christopher C. Wells
c69fc603af
Add logo to login page
2021-12-24 14:54:03 -05:00
Christopher C. Wells
e62f4a6426
Use `sticky-top` instead of `fixed-top` for navbar
2021-12-24 14:48:14 -05:00
Christopher C. Wells
49919c2cbb
Decrease size of login page logo
2021-12-24 14:42:58 -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
97fa8d7000
Support POST only for logout
2021-12-18 17:42:53 -05:00
Christopher C. Wells
32bfede6e2
Re-add non-svg favicon metadata files
...
Fixes #357
2021-12-18 17:11:55 -05:00
Christopher C. Wells
05c5b68d28
Remove link blank targets (let user decide)
2021-09-25 14:19:53 -07:00
Christopher Charbonneau Wells
4cf523dff0
Improve logo/favicon styling ( #312 )
...
* Update brand logo color (WIP)
Need more SVG hackery for proper transparency...
* Add SVG favicon (WIP)
👻
* Create transparent logo variant; use for brand icon
* Update primary color for all logo assets
* Add small white stroke to favicon
* Switch to SVG favicon
2021-09-25 14:16:48 -07:00
Christopher C. Wells
4b95ad48dc
Adjust style of datetime picker trigger
2021-09-03 20:42:37 -07:00
Christopher C. Wells
690a270185
Replace datetime picker icons
...
Fixes #302
2021-09-03 20:17:38 -07:00
Christopher C. Wells
bafa1dec6e
Separate "information" and "action" icons for small screens
2021-08-31 08:08:13 -07:00
Christopher C. Wells
e1f20db2cb
Update back/forward arrow icon classes
2021-08-31 08:08:13 -07:00
Christopher C. Wells
2c029d3579
Prevent top menus from line breaking on small screens
2021-08-31 08:08:13 -07:00
Christopher C. Wells
c850998b64
Remove deprecated `icon` base class usage
2021-08-31 08:08:13 -07:00
Christopher C. Wells
0990678325
Add basic timeline view (WIP)
2021-08-31 08:08:13 -07:00
Ohad Lutzky
5e4e3753e7
Nav items linking to timeline from dashboard
...
Fixes #271
2021-08-31 08:08:13 -07:00
Christopher C. Wells
c1dab44596
Use POST for timer quick add functionality
2021-07-31 13:56:48 -07:00
Christopher C. Wells
605660ff94
Only use full width submit on smaller screens
2021-07-19 20:55:30 -07:00
Christopher C. Wells
f4134cd226
Make form submit full width fixed
2021-07-19 20:55:30 -07:00
Christopher C. Wells
1689bc8e20
Refactor API key reset as part of settings form
...
This adds core CSRF protection to the reset functionality.
2021-06-21 21:27:45 -07:00
Benjamin Häublein
e8696a8b00
Dashboard: Hide old data ( #215 )
...
* filter card data by age
* add setting for hide_age
* add option to settings form
* fix name to consistently use hide_age
* rename filter, use setting for filter
* add test for old hiding old data
* fix migration to contain correct imports, remove month from timedelta
* remove months from timedelta, allow blank
* fix with block
* add settings test
* add test for filter
* mock localtime
* fix timezone issues with tests
* linting
* linting
* Adjust migration
Co-authored-by: Benjamin Häublein <benjaminh@debian.vm.hp>
Co-authored-by: Christopher C. Wells <git@chris-wells.net>
2021-06-19 14:09:05 -07:00
Benjamin Häublein
1dca1cc050
Add option for hiding empty dashboard cards ( #213 )
...
* add option for hiding empty dashboard cards
* rework add option for hiding empty dashboard cards
missed statistics.html
* don't exit early in cards
* add forms test for dashboard_hide_empty
* add tests for cards
* fix early exit in card_diaperchange_latest
* change dependency of migration
* rename migration
* introduce hiding of cards in templates
* linting
* add context to test_card_diaperchange_last
* setup MockUserRequest
* add context to all cards test cases
* add test for settings_dashboard_hide_empty_on
* change dashboard_hide_test, but it doesn't work
* add test for _user_wants_hide
* fix test_user_wants_hide user object, simpliy check for data['empty']
* add test for user_wants_hide to every card
* linting
* fix trailing whitespace
* rename user_wants_hide to hide_empty
* fix hidden statistics
* add user.refresh_from_db to test case, add test case for dashboard_refresh_rate
* Follow redirect and correct assertion
Co-authored-by: jcgoette <jcgoette@gmail.com>
Co-authored-by: Benjamin Häublein <benjaminh@debian.vm.hp>
Co-authored-by: Christopher C. Wells <git@chris-wells.net>
2021-05-13 20:28:39 -07:00
Nicholas Trecina
f5d523ba80
Boolean field labels are no longer clickable so they can't be accidentally toggle the field value
2021-01-19 08:37:07 -08:00
Christopher C. Wells
d0b33c2b1b
Use user first and last name, when available, in UI
2020-02-18 14:41:33 -08:00
Christopher C. Wells
192d8d9b09
Change Django backend name to "Database Admin"
...
This is primarily done to make the documentation for import/export a little easier to understand.
2020-02-18 14:41:33 -08:00
Christopher C. Wells
8735655f23
Add user timezone setting support to datetime form fields
2020-02-14 12:07:43 -08:00
Christopher C. Wells
1514e77f8c
Add user configurable timezone setting
2020-02-14 10:56:13 -08:00
Christopher C. Wells
86f0c2f04b
Update references to old repo address
2020-02-06 22:16:57 -08:00
Christopher C. Wells
682ebb34ca
Implement pull-to-refresh ( #107 )
2020-02-04 10:58:26 -08:00
Christopher C. Wells
e168babd86
Style datetime picker inputs
2020-01-31 08:47:03 -08:00
Christopher C. Wells
e587ddeccd
Use large inputs for datetime picker
2020-01-31 08:47:03 -08:00