Commit Graph

425 Commits

Author SHA1 Message Date
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
Christopher C. Wells d397d169f9 Set default date during picker initialization 2022-07-29 07:58:01 -07:00
Christopher C. Wells c816726960 Create v1.12.0 release 2022-07-28 08:07:26 -07:00
Jean-Louis Jouannic a606f86033 🚸 improves quick timer user experience 2022-07-24 12:32:07 -07:00
Jean-Louis Jouannic e6107b6f3d ♻️ changes the way to prevent double form submission
Instead of disabling form submit buttons, which values were lost
in the process, attach a new handler which disabled form submission
until first submission is processed
2022-07-24 12:32:07 -07:00
Jean-Louis Jouannic b0f469497e 🚨 fixes lint errors 2022-07-10 07:16:15 -07:00
Jean-Louis Jouannic e8de147657 🔧 adds config file for Clever Cloud deployment 2022-07-10 07:16:15 -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 C. Wells dbc5236ed5 Create v1.11.2 release 2022-06-28 07:01:33 -07:00
Christopher C. Wells 0eac0f6934 Create v1.11.1 release 2022-06-12 19:26:59 -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
Jean-Louis Jouannic f6960dc2e9
Add support for other S3-like providers (#476) 2022-06-06 13:34:22 -07:00
Christopher C. Wells aba239e6da Update Render.com config
Default database instance is _not_ free... rude.
2022-06-02 07:05:50 -07:00
Christopher C. Wells d8e03dbf92 Add settings for Railway 2022-05-30 20:09:38 -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 7178bf9fa4 Update node dependencies 2022-05-29 15:51:48 -07:00
Christopher C. Wells e76e7ade4b Create v1.11.0 release 2022-05-28 14:00:37 -07:00
Christopher C. Wells 838020ceff Update Faker API usage 2022-05-28 07:02:13 -07:00
Christopher C. Wells 4d8466be99 Format code 2022-05-23 15:59:57 -07:00
Christopher C. Wells 5d16e0ea19 CSRF_TRUSTED_ORIGINS is a list derp 2022-05-23 15:59:57 -07:00
Christopher C. Wells e577441c85 Use join for CSRF origin config? 2022-05-23 15:59:57 -07:00
Christopher C. Wells b46ee34b12 Correct CSRF trusted origin config 2022-05-23 15:59:57 -07:00
Christopher C. Wells 369c4d9bc6 Create basic render.com configuration 2022-05-23 15:59:57 -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 Charbonneau Wells 4916a810e0 Don't require wet or solid when generating fake data 2022-04-15 20:56:34 -07:00
Rubens e7702262df Add Catalan translations 2022-04-10 16:01:02 -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 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 3474185b00 Add icon 2022-04-04 20:39:39 -07:00
Christopher C. Wells 5159e97aff Add tags to fake data 2022-04-03 18:13:25 -07:00
Paul Konstantin Gerke 7d8ead594c Add api tests 2022-03-06 19:47:47 +01:00
Paul Konstantin Gerke 7af66176aa Black 2022-03-05 13:09:08 +01:00
Paul Konstantin Gerke 0335b8ca89 Merge remote-tracking branch 'origin/master' into tags 2022-03-05 13:08:39 +01:00
Paul Konstantin Gerke e5d014a60f Remove taggit _app_ again. Custom models are enough. 2022-03-05 13:06:38 +01:00
Paul Konstantin Gerke 7bbaee1f80 Fix verbose_name for fields, update migrations 2022-03-05 13:01:28 +01:00
Paul Konstantin Gerke b7e15e6da9 Fix typo, sourced different "complementary color" code 2022-03-05 12:24:53 +01:00
Christopher C. Wells f711cc23bd Create v1.10.2 release 2022-03-03 21:23:14 -08:00
Paul Konstantin Gerke 23e7c84547 Merge remote-tracking branch 'origin/master' into tags 2022-03-02 22:13:41 +01:00
Paul Konstantin Gerke cfdb9e1ade Made widget translateable, added German translation 2022-02-27 19:41:27 +01:00
Paul Konstantin Gerke f1aa7c151c Replaced alert with bootstrap-modal 2022-02-27 02:19:19 +01:00
Christopher C. Wells c19d6cc6b9 Complete support for subdirectory hosting
Fixes #186
2022-02-26 15:55:16 -08:00
Paul Konstantin Gerke 7baeb8a85b Completed decomposing the tags-editor in its own javascript file 2022-02-26 16:08:29 +01:00
Paul Konstantin Gerke 332a5999bc Adding/removing tags works again 2022-02-26 15:50:38 +01:00
Christopher C. Wells e7862801b1 Do not focus text field when using date picker
Fixes #385
2022-02-26 06:14:40 -08:00
Christopher C. Wells 8d9b80a07f Add a test for custom CSRF error handler 2022-02-25 20:28:12 -08:00
Christopher C. Wells 11d487b740 Remove debugging code 2022-02-25 20:28:12 -08: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 5fc7306315 Fix variable spelling 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 f49a54400e Respect environment variables in development settings 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 3a64b1ced3 Create v1.10.1 release 2022-02-21 16:44:55 -08:00
Christopher C. Wells dd11afe584 Correct syntax of `CSRF_TRUSTED_ORIGINS` environment check 2022-02-21 15:46:44 -08:00
Christopher C. Wells 21fa57c9c1 Update references to Django documentation pages 2022-02-21 15:39:38 -08:00
Christopher C. Wells 2f9658d7de Add support for a `CSRF_TRUSTED_ORIGINS` configuration environment variable
See #393.
2022-02-21 15:37:51 -08:00
Christopher C. Wells c540d36495 Add Chinese (simplified) translations 2022-02-21 10:31:38 -08:00
Christopher Charbonneau Wells 002f86aebd Fix code formatting issue 2022-02-20 22:32:54 +00:00
Christopher Charbonneau Wells 26fa988fe6 Add Gitpod config for CSRF origin
Supports CSRF with Django 4+ (Baby Buddy v1.10.0+).

See #393.
2022-02-20 22:27:19 +00:00
Christopher C. Wells 741548edf2 Create v1.10.0 release 2022-02-16 08:46:14 -08: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
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 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 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
Christopher C. Wells 6cc9890f5a Use named patterns for settings URLs
This should improve support for subdirectory hosted installations.
2021-12-24 14:28:24 -05:00
Christopher C. Wells db703c07ec Merge remote-tracking branch 'origin/master' 2021-12-21 15:58:42 -05:00
MagiX13 498eddf5b6 Serve login pages using the SCRIPT_NAME if available 2021-12-21 15:51:20 -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 542e0dacb3 Ignore any unknown settings files 2021-12-20 09:41:32 -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
MagiX13 34038652b8 Convert envir variables that are supposed to be boolean to boolean
dotenv does not take allow for boolean environment variables and thus they have to be converted before
2021-12-15 06:26:50 -05:00
Christopher C. Wells 9722d540ec Create v1.9.3 release 2021-12-14 09:50:27 -05:00
Christopher C. Wells 9585443218 Revert "Treat `en` as `en-US` for date formatting"
This reverts commit c06ce032. Proper handling for this language setting is
added in commit 59372a01.
2021-12-14 09:25:21 -05:00
Christopher C. Wells 59372a01d2 Add migration for `en` to `en-US` language setting
Fixes #337
2021-12-13 16:34:36 -05:00
Christopher C. Wells c06ce0325b Treat `en` as `en-US` for date formatting
Fixes #337
2021-12-13 16:28:53 -05:00
Christopher Charbonneau Wells 2ad48940c1
Merge pull request #335 from Amith211/333-en-gb-datetimeformat
Add en-gb datetime overrides
2021-12-13 16:19:45 -05:00
Christopher C. Wells b302cc853f Create v1.9.2 release 2021-12-04 06:44:41 -05:00
Christopher C. Wells f0a7f53752 Merge remote-tracking branch 'origin/master' into 333-en-gb-datetimeformat 2021-11-28 14:44:36 -05:00
Christopher C. Wells 4920f4341b Use request language code when available (#346)
Enables translation on the login page.
2021-11-28 14:18:00 -05:00
Christopher C. Wells 0250faec6e Ensure "settings saved" is translated (#346) 2021-11-28 14:05:56 -05:00
Christopher C. Wells c28620b3d8 Activate and deactivate user language in middleware
Fixes #346
2021-11-28 14:02:23 -05:00
Amith211 429c85cd5a
fix en_GB display format 2021-11-15 17:30:12 +00:00
Amith211 df51cc05d8
fix en_GB tests 2021-11-15 17:15:57 +00:00
Amith211 0312a4210d
add en-gb format tests 2021-11-14 01:20:20 +00:00
Amith211 36318a05e3
add en-gb datetime overrides
close #333
2021-11-14 01:18:29 +00:00
Christopher C. Wells 10f12f6a13 Create v1.9.1 release 2021-11-13 06:24:50 -08:00
Christopher C. Wells 09714f5810 Update Python dependencies 2021-11-13 06:07:08 -08:00
Christopher C. Wells fd9a0eb656 Replace usages of `darken` and `lighten` 2021-11-13 05:47:11 -08:00