Hayden
7ce02c31d5
chore: bump build deps ( #1541 )
...
* bump build deps
* typescript nonsense
* bump prettier
2022-08-08 18:38:18 -08:00
dependabot[bot]
95b1b8bbdc
fix(deps): bump @vueuse/core from 9.0.2 to 9.1.0 in /frontend ( #1535 )
...
Bumps [@vueuse/core](https://github.com/vueuse/vueuse/tree/HEAD/packages/core ) from 9.0.2 to 9.1.0.
- [Release notes](https://github.com/vueuse/vueuse/releases )
- [Commits](https://github.com/vueuse/vueuse/commits/v9.1.0/packages/core )
---
updated-dependencies:
- dependency-name: "@vueuse/core"
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-08-08 18:11:17 -08:00
dependabot[bot]
f5040af8bb
chore(deps-dev): bump @babel/eslint-parser in /frontend ( #1538 )
...
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser ) from 7.18.2 to 7.18.9.
- [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.9/eslint/babel-eslint-parser )
---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
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-08-08 18:11:03 -08:00
dependabot[bot]
5fd79457dd
fix(deps): bump date-fns from 2.28.0 to 2.29.1 in /frontend ( #1542 )
...
Bumps [date-fns](https://github.com/date-fns/date-fns ) from 2.28.0 to 2.29.1.
- [Release notes](https://github.com/date-fns/date-fns/releases )
- [Changelog](https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md )
- [Commits](https://github.com/date-fns/date-fns/compare/v2.28.0...v2.29.1 )
---
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-08-08 18:10:41 -08:00
dependabot[bot]
75d4d9658c
fix(deps): bump vuetify from 2.6.6 to 2.6.8 in /frontend ( #1540 )
...
Bumps [vuetify](https://github.com/vuetifyjs/vuetify/tree/HEAD/packages/vuetify ) from 2.6.6 to 2.6.8.
- [Release notes](https://github.com/vuetifyjs/vuetify/releases )
- [Commits](https://github.com/vuetifyjs/vuetify/commits/v2.6.8/packages/vuetify )
---
updated-dependencies:
- dependency-name: vuetify
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-08-08 18:04:53 -08:00
dependabot[bot]
9907b9d625
fix(deps): bump @mdi/js from 6.7.96 to 7.0.96 in /frontend ( #1539 )
...
Bumps [@mdi/js](https://github.com/Templarian/MaterialDesign-JS ) from 6.7.96 to 7.0.96.
- [Release notes](https://github.com/Templarian/MaterialDesign-JS/releases )
- [Commits](https://github.com/Templarian/MaterialDesign-JS/compare/v6.7.96...v7.0.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-08-08 18:04:44 -08:00
Hayden
60ecba2f92
chore: deps-dev-bump ( #1533 )
...
* bump dev dependencies
* fix/generate font sheets
* bump python deps to nuke cache
2022-08-08 17:58:10 -08:00
Philipp Fischbeck
34cd6eb687
fix: validate OpenAPI spec ( #1528 )
...
* init api check test
* Fix openAPI issues
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2022-08-06 16:54:29 -08:00
zierbeek
505e594758
fix (possible): PWA white screen ( #1526 )
...
Possible fix #1077 on iOS, as referenced in discussion. Should be enabled by default normally..
https://pwa.nuxtjs.org/workbox#skipwaiting
2022-08-04 10:42:41 -08:00
zierbeek
ea42350244
fix (possible): PWA blank screen ( #1523 )
...
Possible fix for blank screen on PWA. #1077
https://stackoverflow.com/questions/54928050/vue-pwa-blank-screen-after-closing-the-app
2022-08-02 14:06:26 -08:00
Hayden
11478134a1
security: restrict backup file upload ( #1522 )
2022-08-02 12:53:58 -08:00
Hayden
6649ccf224
lang: options updates + gen utils cleanup ( #1520 )
...
* generate new langs
* add to nuxt
* cleanup generator code
* additional cleanups
2022-08-02 10:41:44 -08:00
Hayden
5fca94dd45
New Crowdin updates ( #1519 )
...
* New translations en-US.json (French, Canada)
* New translations en-US.json (Slovak)
* New translations en-US.json (Slovak)
* New translations en-US.json (Slovak)
* New translations en-US.json (Slovak)
2022-08-02 10:29:45 -08:00
Hayden
13850cda1f
security: multiple reported CVE fixes ( #1515 )
...
* update out of date license
* update typing / refactor
* fix arbitrarty path injection
* use markdown sanatizer to prevent XSS CWE-79
* fix CWE-918 SSRF by validating url and mime type
* add security docs
* update recipe-scrapers
* resolve DOS from arbitrary url
* update changelog
* bump version
* add ref to #1506
* add #1511 to changelog
* use requests decoder
* actually fix encoding issue
2022-07-31 13:10:20 -08:00
Michael Genson
483f789b8e
feat: create new foods and units from their Data Management pages ( #1511 )
...
* added create dialogs to food and unit pages
* minor css tweaks
* properly reset create form
* added placeholder name attribute for type checking
* removed unnecessary value assignment
* type fixes
* corrected comment
* add autofocus and use ref<VForm> for form refs
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2022-07-31 12:31:20 -08:00
Michael Genson
1b83c82997
feat: implement local storage for sorting and dynamic sort icons on the new recipe sort card ( #1506 )
...
* added new sort icons
* added dynamic sort icons
* implemented local storage for sorting
and mobile card view
* fixed bug with local storage booleans
* added type hints
* bum vue use to use merge defaults
* use reactive localstorage
* add $vuetify type
* sort returns
* fix type error
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2022-07-31 11:39:35 -08:00
Philipp Fischbeck
34f52c06a6
fix: properly use pagination for group event notifiers ( #1512 )
2022-07-31 10:08:48 -08:00
Michael Genson
07fef8af9f
feat: restore frontend sorting for all recipes ( #1497 )
...
* fixed typo
* merged "all recipes" pagination into recipe card
created custom sort card for all recipes
refactored backend calls for all recipes to sort/paginate
* frontend lint fixes
* restored recipes reference
* replaced "this" with reference
* fix linting errors
* re-order context menu
* add todo
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2022-07-26 18:08:56 -08:00
Michael Genson
703ee32653
docs: pagination and filtering, and fixed a few broken links ( #1488 )
...
* fixed broken links
* added docs for pagination and filtering
* small revision to pagination response example
2022-07-26 17:45:34 -08:00
Michael Genson
3d4e5441dd
chore: backend page_all route cleanup ( #1483 )
...
* refactored to remove duplicate code
* refactored meal plan slice to use a query filter
2022-07-26 17:43:25 -08:00
Hayden
f00280e32b
New Crowdin updates ( #1480 )
...
* New translations en-US.json (Dutch)
* New translations en-US.json (Czech)
* New translations en-US.json (German)
2022-07-26 17:41:33 -08:00
Hayden
9e6a720cf1
New Crowdin updates ( #1455 )
...
* New translations en-US.json (Swedish)
* New translations en-US.json (Swedish)
* New translations en-US.json (Swedish)
* New translations en-US.json (Lithuanian)
* New translations en-US.json (Lithuanian)
* New translations en-US.json (Lithuanian)
* New translations en-US.json (Lithuanian)
* New translations en-US.json (Lithuanian)
* New translations en-US.json (Slovenian)
* New translations en-US.json (Slovenian)
* New translations en-US.json (Slovenian)
* New translations en-US.json (Slovenian)
* New translations en-US.json (Slovenian)
* New translations en-US.json (Swedish)
* New translations en-US.json (Swedish)
* New translations en-US.json (Slovenian)
* New translations en-US.json (Slovenian)
* New translations en-US.json (Slovenian)
* New translations en-US.json (Slovenian)
* New translations en-US.json (Slovenian)
* New translations en-US.json (Slovenian)
* New translations en-US.json (Slovenian)
* New translations en-US.json (Slovenian)
* New translations en-US.json (Slovenian)
* New translations en-US.json (French, Canada)
* New translations en-US.json (French, Canada)
* New translations en-US.json (French, Canada)
2022-07-09 21:17:34 -08:00
Michael Genson
7f50071312
feat: advanced filtering API ( #1468 )
...
* created query filter classes
* extended pagination to include query filtering
* added filtering tests
* type improvements
* move type help to dev depedency
* minor type and perf fixes
* breakup test cases
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2022-07-09 20:57:09 -08:00
Miroito
c64da1fdb7
Feature: Toggle display of ingredient references in recipe instructions ( #1268 )
...
* Better cooking mode
* Fix wrong event sent
* feat/cookmode recipe page integration
* implement scaling in cook mode + minor padding
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2022-07-09 20:28:34 -08:00
Michael Genson
2809cef3b1
fix: mealplan pagination ( #1464 )
...
* added pagination to get_slice route
* updated mealplan tests
* renamed vars to match pagination query
2022-07-02 09:44:01 -08:00
Benjamin Pabst
2f7ff6d178
fix: use mtime
instead of ctime
for backup dates ( #1461 )
2022-06-27 07:57:09 -08:00
Hayden
c05e048b65
docs: fix old link
2022-06-26 19:39:35 -08:00
Hayden
157bad0e29
fix: use == operator instead of is_ for sql queries ( #1453 )
2022-06-26 12:42:13 -08:00
Hayden
f96a584a5d
New Crowdin updates ( #1452 )
...
* New translations en-US.json (French)
* New translations en-US.json (French)
* New translations en-US.json (French)
* New translations en-US.json (French)
* New translations en-US.json (Danish)
* New translations en-US.json (Italian)
* New translations en-US.json (Italian)
* New translations en-US.json (Italian)
* New translations en-US.json (Greek)
* New translations en-US.json (Greek)
2022-06-26 11:21:57 -08:00
Miroito
151e20489a
ui: Improve parser ui text display ( #1437 )
...
move text display when open to be below the ingredient portion
2022-06-26 11:20:38 -08:00
Hayden
7dbb0858bd
New Crowdin updates ( #1439 )
...
* New translations en-US.json (Dutch)
* New translations en-US.json (Czech)
* New translations en-US.json (Czech)
* New translations en-US.json (Czech)
2022-06-25 12:20:44 -08:00
Hayden
b921e95163
fix: entry nutrition checker ( #1448 )
2022-06-25 12:19:04 -08:00
Michael Genson
cb15db2d27
feat: re-write get all routes to use pagination ( #1424 )
...
rewrite get_all routes to use a pagination pattern to allow for better implementations of search, filter, and sorting on the frontend or by any client without fetching all the data. Additionally we added a CI check for running the Nuxt built to confirm that no TS errors were present. Finally, I had to remove the header support for the Shopping lists as the browser caching based off last_updated header was not allowing it to read recent updates due to how we're handling the updated_at property in the database with nested fields. This will have to be looked at in the future to reimplement. I'm unsure how many other routes have a similar issue.
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2022-06-25 11:39:38 -08:00
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