Philipp Fischbeck
c158672d12
fix: add missing types for API token deletion ( #1428 )
2022-06-21 09:42:03 -08:00
Michael Genson
292bf7068a
feat: added "last-modified" header to supported record types ( #1379 )
...
* fixed type error
* exposed created/updated timestamps to shopping list schema
* added custom route to mix in "last-modified" header when available in CRUD routes
* mixed in MealieCrudRoute to APIRouters
* added HEAD route for shopping lists/list-items
* replaced default serializer with FastAPI's
2022-06-21 09:41:14 -08:00
Hayden
5db4dedc3f
hotfix: tame typescript beast
2022-06-20 16:48:39 -08:00
Hayden
f122c382e9
add recipe.image cache key to bush caches ( #1427 )
...
* add recipe.image cache key to bush caches
* hotfix: TS type error
2022-06-19 11:47:16 -08:00
Hayden
c865bc7769
fix: only show scaler when ingredients amounts enabled ( #1426 )
2022-06-19 10:27:32 -08:00
Michael Genson
efffe26a19
fix: sort recent recipes by created_at instead of date_added ( #1417 )
...
* added staticmethod decorators to avoid mypy error
* exposed created and updated timestamps to schema
* changed default sort from date_added to created_at
* explicitely sort recent recipes by created_at
* removed static method and replaced w/ type: ignore
2022-06-19 10:08:26 -08:00
Hayden
8b054fd945
New Crowdin updates ( #1406 )
...
* New translations en-US.json (Polish)
* New translations en-US.json (Polish)
* New translations en-US.json (Polish)
* New translations en-US.json (Polish)
2022-06-19 10:03:39 -08:00
Michael Genson
bb1fa52d10
fix: all-recipes page now sorts alphabetically ( #1405 )
...
* added sort params to backend call
* hardcoded alphabetical sort param
* removed trivial type annotation
* linters are friends, not food
2022-06-19 10:03:24 -08:00
Hayden
d4b92a8ade
revert i18n version
2022-06-17 14:13:18 -08:00
dependabot[bot]
85d514eb1a
chore(deps-dev): bump @vue/runtime-dom in /frontend ( #1423 )
...
Bumps [@vue/runtime-dom](https://github.com/vuejs/core/tree/HEAD/packages/runtime-dom ) from 3.2.36 to 3.2.37.
- [Release notes](https://github.com/vuejs/core/releases )
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md )
- [Commits](https://github.com/vuejs/core/commits/v3.2.37/packages/runtime-dom )
---
updated-dependencies:
- dependency-name: "@vue/runtime-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-17 13:47:12 -08:00
dependabot[bot]
8878f78ab1
fix(deps): bump core-js from 3.17.2 to 3.23.1 in /frontend ( #1383 )
...
Bumps [core-js](https://github.com/zloirock/core-js ) from 3.17.2 to 3.23.1.
- [Release notes](https://github.com/zloirock/core-js/releases )
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zloirock/core-js/compare/v3.17.2...v3.23.1 )
---
updated-dependencies:
- dependency-name: core-js
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-17 13:45:55 -08:00
dependabot[bot]
d315ad63d2
fix(deps): bump fuse.js from 6.5.3 to 6.6.2 in /frontend ( #1325 )
...
Bumps [fuse.js](https://github.com/krisk/Fuse ) from 6.5.3 to 6.6.2.
- [Release notes](https://github.com/krisk/Fuse/releases )
- [Changelog](https://github.com/krisk/Fuse/blob/master/CHANGELOG.md )
- [Commits](https://github.com/krisk/Fuse/compare/v6.5.3...v6.6.2 )
---
updated-dependencies:
- dependency-name: fuse.js
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-17 13:45:24 -08:00
dependabot[bot]
48053b55b9
fix(deps): bump date-fns from 2.23.0 to 2.28.0 in /frontend ( #1293 )
...
Bumps [date-fns](https://github.com/date-fns/date-fns ) from 2.23.0 to 2.28.0.
- [Release notes](https://github.com/date-fns/date-fns/releases )
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md )
- [Commits](https://github.com/date-fns/date-fns/compare/v2.23.0...v2.28.0 )
---
updated-dependencies:
- dependency-name: date-fns
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-17 13:36:33 -08:00
dependabot[bot]
78c7399ff7
fix(deps): bump @nuxtjs/i18n from 7.0.3 to 7.2.2 in /frontend ( #1288 )
...
Bumps [@nuxtjs/i18n](https://github.com/nuxt-community/i18n-module ) from 7.0.3 to 7.2.2.
- [Release notes](https://github.com/nuxt-community/i18n-module/releases )
- [Changelog](https://github.com/nuxt-community/i18n-module/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nuxt-community/i18n-module/compare/v7.0.3...v7.2.2 )
---
updated-dependencies:
- dependency-name: "@nuxtjs/i18n"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-17 13:35:21 -08:00
dependabot[bot]
f70fc18222
fix(deps): bump @mdi/js from 5.9.55 to 6.7.96 in /frontend ( #1279 )
...
Bumps [@mdi/js](https://github.com/Templarian/MaterialDesign-JS ) from 5.9.55 to 6.7.96.
- [Release notes](https://github.com/Templarian/MaterialDesign-JS/releases )
- [Commits](https://github.com/Templarian/MaterialDesign-JS/compare/v5.9.55...v6.7.96 )
---
updated-dependencies:
- dependency-name: "@mdi/js"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-17 13:35:08 -08:00
Hayden
6f83b0f522
chore: bump dev deps ( #1418 )
2022-06-17 13:34:22 -08:00
Hayden
5a053cdcd6
feat: mealplan-webhooks ( #1403 )
...
* fix type errors on event bus
* webhooks fields required for new implementation
* db migration
* wip: webhook query + tests and stub function
* ignore type checker error
* type and method cleanup
* datetime and time utc validator
* update testing code for utc scheduled time
* fix file cmp function call
* update version_number
* add support for translating "time" objects when restoring backup
* bump recipe-scrapers
* use specific import syntax
* generate frontend types
* utilize names exports
* use utc times
* add task to scheduler
* implement new scheduler functionality
* stub for type annotation
* implement meal-plan data getter
* add experimental banner
2022-06-17 13:25:47 -08:00
Hayden
b1256f4ad2
fix: fast fail of bulk importer ( #1394 )
...
* use continue instead of break
* catch additional error case
* spelling is hard
2022-06-15 18:19:52 -08:00
Hayden
525842e9a1
New Crowdin updates ( #1392 )
...
* New translations en-US.json (Ukrainian)
* New translations en-US.json (French)
* New translations en-US.json (Italian)
* New translations en-US.json (German)
* New translations en-US.json (Danish)
* New translations en-US.json (French, Canada)
* New translations en-US.json (Ukrainian)
2022-06-15 18:19:36 -08:00
Michael Genson
9e261f5235
fix: infinite scroll bug on all recipes page ( #1393 )
2022-06-15 12:56:56 -08:00
Jim Eagle
3f808f8f00
docs: add go bulk import example ( #1388 )
...
* Fix link
* Add go bulk import
2022-06-15 11:50:19 -08:00
Hayden
394df6c210
New Crowdin updates ( #1375 )
...
* New translations en-US.json (French)
* New translations en-US.json (French)
2022-06-15 11:50:01 -08:00
Michael Genson
754e77c9cb
feat: extend Apprise JSON notification functionality with programmatic data ( #1355 )
...
* Fixed incorrect generic deleted notification text
* Added custom "event_source" header for json notifs
* Added internal reference data to event notifs
* Added event listeners to shopping list items
* Fixed type issues
* moved JSON event source k:v pairs to message body
* added hook for all supported custom endpoints
fixed bug that excluded non-custom notification types
* created event_source class to replace loosely-typed dict
* fixed silent error when dispatching a null task
* moved url updates to static function
* added unit tests for event_source url manipulation
* removed array from event bus (it's unsupported)
2022-06-15 11:49:42 -08:00
Hayden
3030e3e7f4
feat: implement user favorites page ( #1376 )
...
* fix geFavorites return
* add support for toggling to dense cards on desktop
* add favorites page link
* implement basic favorites page
2022-06-13 09:33:46 -08:00
Michael Genson
f6c18ec73d
fix avoid page breaks in sections when printing recipes and other CSS tweaks ( #1372 )
...
* grouped ingredients and instructions into sections
* added missing import
* divided ingredient sections and instruction sections into their own containers
* tweaked css to prevent sections from getting split between pages
* replaced horizontal rule with a text underline
* removed leftover CSS
* implement computer properties as reducers
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2022-06-12 16:43:09 -08:00
Hayden
84dc60d7bf
New translations en-US.json (Danish) ( #1371 )
2022-06-11 09:57:05 -08:00
Michael Genson
7541175b75
feat: implemented "order by" API parameters for recipe, food, and unit queries ( #1356 )
...
* Added API params to order by different properties
* fix for incorrect var name
* removed invalid default order_by
* implemented fallback for invalid user input
2022-06-11 09:56:55 -08:00
Hayden
932f4a72df
refactor: remove depreciated repo call ( #1370 )
...
* ingredient parser hot fixes (float equality)
* remove `get` in favor of `get_one` & `multi_query`
2022-06-10 19:01:14 -08:00
Michael Genson
b904b161eb
fix: increased float rounding precision for CRF parser ( #1369 )
...
* increased float rounding precision for crf parser
* limited fractions to a max denominator of 32 to prevent weirdly specific values
* add test cases for 1/8 and 1/32
* add rounding to avoid more digits than necessary
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2022-06-10 18:18:31 -08:00
Michael Genson
504bf41b9c
fix: Ingredient sections lost after parsing ( #1368 )
...
* fixed bug where ingredient titles were lost after parsing
* added fallback in case of strange behavior during parsing
* removed unnecessary linebreak
2022-06-10 18:17:51 -08:00
Michael Genson
92ccbae657
fix: fixed text color on RecipeCard in RecipePrintView and implemented ingredient sections ( #1351 )
...
* Enhanced ingredients in RecipePrintView
* Resolved frontend lint tests
* switched lets to consts and simplified import
* implement with CSS grid
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2022-06-10 16:48:07 -08:00
Hayden
c0d59db83d
New Crowdin updates ( #1365 )
...
* New translations en-US.json (French)
* New translations en-US.json (French)
* New translations en-US.json (French)
2022-06-10 16:38:19 -08:00
Hayden
511ce91630
New Crowdin updates ( #1364 )
...
* New translations en-US.json (German)
* New translations en-US.json (Korean)
* New translations en-US.json (English, United Kingdom)
* New translations en-US.json (Portuguese, Brazilian)
* New translations en-US.json (Vietnamese)
* New translations en-US.json (Chinese Traditional)
* New translations en-US.json (Chinese Simplified)
* New translations en-US.json (Turkish)
* New translations en-US.json (Swedish)
* New translations en-US.json (Serbian (Cyrillic))
* New translations en-US.json (Slovak)
* New translations en-US.json (Russian)
* New translations en-US.json (Portuguese)
* New translations en-US.json (Polish)
* New translations en-US.json (Norwegian)
* New translations en-US.json (Dutch)
* New translations en-US.json (Japanese)
* New translations en-US.json (French)
* New translations en-US.json (Hungarian)
* New translations en-US.json (Hebrew)
* New translations en-US.json (Finnish)
* New translations en-US.json (Greek)
* New translations en-US.json (Danish)
* New translations en-US.json (Czech)
* New translations en-US.json (Catalan)
* New translations en-US.json (Bulgarian)
* New translations en-US.json (Arabic)
* New translations en-US.json (Afrikaans)
* New translations en-US.json (Spanish)
* New translations en-US.json (Romanian)
* New translations en-US.json (Ukrainian)
* New translations en-US.json (Italian)
* New translations en-US.json (French, Canada)
* New translations en-US.json (Ukrainian)
2022-06-09 10:16:09 -08:00
Michael Genson
5f5eb2c46d
fix: for erroneously-translated datetime config ( #1362 )
...
* Fix for erroneously-translated datetime config
* remove datetime formats from crowdin
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2022-06-09 08:54:41 -08:00
Michael Genson
4662253d0e
Fixed alpha sort in RecipeOrganizerPage ( #1354 )
2022-06-09 08:50:03 -08:00
Benjamin Pabst
8836a258bd
feat: add custom scaling option ( #1345 )
...
* Added custom scaling option
* Allow custom scaling with no yield set
* Made edit-scale translated
* fixed merge conflict
* Refactored scale editor to use menu
* replaced vslot with #
* linter issues
* fixed linter issues
* fixed one more linter issue
* format files + minor UI changes
* remove console.log
* move buttons into component and setup v-model
* drop servings text
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2022-06-09 08:01:25 -08:00
Hayden
56eb0bca71
release: prep beta 3 ( #1349 )
...
* docs: add tag documentation
* bump docker-compose tags
* minor language changes
* beta3 changelog
* auto-gen API docs
* bump version
* bump recipe-scrapers
2022-06-07 11:19:24 -08:00
Hayden
eca8a96509
fix image display - closes #1189 ( #1348 )
2022-06-05 11:44:00 -08:00
Hayden
7eb80d18d2
feat: attached images by drag and drop for recipe steps ( #1341 )
...
* add drag and drop support for recipe steps
* fix recipe assets dialog state
* add attr support for markdown editor
* add persistent hint for recipe text editor
2022-06-05 11:28:38 -08:00
Benjamin Pabst
37a673b34d
Update postgres to use most recent version ( #1347 )
2022-06-05 10:56:01 -08:00
Benjamin Pabst
3e7b8d4b71
Update to use most recent version ( #1346 )
2022-06-05 10:55:33 -08:00
Jurjen de Jonge
abb114c375
security: delay server response whenever username is non existing ( #1338 )
...
* Delay server response whenever username is non existing
* utilize hasher to achieve constant timing
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2022-06-04 10:27:30 -08:00
Hayden
12f480eb75
refactor: unify recipe-organizer components ( #1340 )
...
* use generic context menu
* implement organizer stores
* add basic organizer types
* refactor selectors to apply for all organizers
* remove legacy organizer composables
2022-06-03 20:12:32 -08:00
Hayden
bc175d4ca9
New translations en-US.json (Ukrainian) ( #1339 )
2022-06-03 19:49:58 -08:00
Hayden
f78c5eb359
New Crowdin updates ( #1329 )
...
* New translations en-US.json (German)
* New translations en-US.json (German)
* New translations en-US.json (Ukrainian)
2022-06-02 09:12:15 -08:00
Hayden
5a0c034391
fix: shopping list label editor ( #1333 )
...
* remove head props
* lazily compute itemsByLabel with watcher on fetch
* remove unused import
2022-06-02 09:12:05 -08:00
Hayden
52fbf6b833
feat: add unit abbreviation support ( #1332 )
...
* add 'use-abbreviation' db column
* type generation
* add view and edit elements
* check for use_abbreviation to display
* fix: alembic version check
* test: add use_abbreviation prop tests
2022-06-01 11:59:50 -08:00
dependabot[bot]
592b1de39d
fix(deps): bump @vue/composition-api from 1.6.1 to 1.6.2 in /frontend ( #1275 )
...
Bumps [@vue/composition-api](https://github.com/vuejs/composition-api ) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/vuejs/composition-api/releases )
- [Changelog](https://github.com/vuejs/composition-api/blob/main/CHANGELOG.md )
- [Commits](https://github.com/vuejs/composition-api/compare/v1.6.1...v1.6.2 )
---
updated-dependencies:
- dependency-name: "@vue/composition-api"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-31 08:48:57 -08:00
dependabot[bot]
f29d5f1dff
chore(deps-dev): bump @babel/eslint-parser in /frontend ( #1290 )
...
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser ) from 7.15.4 to 7.18.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.18.2/eslint/babel-eslint-parser )
---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-31 08:48:33 -08:00
dependabot[bot]
738ef0aaa7
chore(deps-dev): bump @types/sortablejs in /frontend ( #1287 )
...
Bumps [@types/sortablejs](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sortablejs ) from 1.10.7 to 1.13.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sortablejs )
---
updated-dependencies:
- dependency-name: "@types/sortablejs"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-31 08:48:01 -08:00