Commit graph

459 commits

Author SHA1 Message Date
hay-kot
f6b3285ae3 refactor(frontend): 🚧 rename recipe and meal-plan components 2021-07-31 15:07:19 -08:00
hay-kot
5047b3f5af refactor(frontend): 🚧 move static assets from .old to new
Move static assets from frontend.old to frontend
2021-07-31 14:53:02 -08:00
hay-kot
91f56b42de refactor(frontend): 🏗️ scafold pages and componenets folder
Setup the file structure for components, pages, layouts, api, and all new frontend structure
2021-07-31 14:45:28 -08:00
hay-kot
8d3db89327 nuxt init 2021-07-31 14:00:28 -08:00
hay-kot
79b3985a49 add composition api 2021-07-31 13:56:59 -08:00
hay-kot
8bfee7ae2a setup yarn 2021-07-25 13:37:18 -08:00
Hayden
940663a22d
fixes #625 (#632)
* fixes #625

* update dependencies

* bump version

* fix failing tests

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-07-25 12:55:30 -08:00
Hayden
bf06482b29
Bug/multiple events (#631)
* add --preload

* formatting

* use sql database

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-07-24 00:15:01 -08:00
Hayden
b2eaf1ee02
New Crowdin updates (#626)
* New translations en-US.json (Hungarian)

* New translations en-US.json (Hungarian)

* New translations en-US.json (Hungarian)

* New translations en-US.json (Danish)

* New translations en-US.json (Italian)

* New translations en-US.json (English, United Kingdom)

* New translations en-US.json (English, United Kingdom)

* New translations en-US.json (English, United Kingdom)

* New translations en-US.json (English, United Kingdom)
2021-07-20 09:28:52 -08:00
sephrat
876eff2117
Add support for en-GB (#629)
* Add support for en-GB

Allows for British date format (native in vue-i18n)
+ potential spelling adaptations

* Rename default English locale to American English
2021-07-20 09:28:41 -08:00
rastacalavera
e0429f4dc9
Update ios.md (#621)
putting this PR in Dev rather than master
2021-07-09 15:06:04 -08:00
Hayden
458ba2964f
Feature/ingredient sections (#624)
* add ingredient sections to UI

* update changelog

* move recipe favorite to action bar

* fix button position on meal-planner

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-07-09 14:33:23 -08:00
Hayden
9b5cf36981
Bug/misc fixes (#618)
* Fixes #617

* set recipe settings default by env variables

* add variables to docker-compse

* update changelog

* bump dependencies

* add fallback name to scraper

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-07-05 16:05:32 -08:00
Hayden
3e2c9f41cf
New Crowdin updates (#611)
* New translations en-US.json (French)

* New translations en-US.json (French)

* New translations en-US.json (Polish)

* New translations en-US.json (Polish)

* New translations en-US.json (Danish)

* New translations en-US.json (Danish)

* New translations en-US.json (German)

* New translations en-US.json (German)
2021-07-05 15:44:22 -08:00
Hayden
74b1e6236b
collapse steps on check (#609)
* collapse steps on check

* add grad-and-drop reorder of steps

* fix-title bar

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-07-01 17:44:46 -08:00
Hayden
b54a7d4fcc
Refactor/class based gunicorn conf (#608)
* use class for conf

* format caddy file

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-07-01 15:59:39 -08:00
Hayden
8a2ed0bd78
use class for conf (#607)
Co-authored-by: hay-kot <hay-kot@pm.me>
2021-07-01 15:58:50 -08:00
wengtad
7d3983d2ec
remove tmpfs (#603) 2021-07-01 12:42:40 -08:00
wengtad
4d853c4ca8
fix db credentials show on logs/frontend (#602) 2021-07-01 12:42:29 -08:00
Hayden
98c2138970
New Crowdin updates (#600)
* New translations en-US.json (German)

* New translations en-US.json (Japanese)

* New translations en-US.json (Vietnamese)

* New translations en-US.json (Chinese Traditional)

* New translations en-US.json (Ukrainian)

* New translations en-US.json (Turkish)

* New translations en-US.json (Swedish)

* New translations en-US.json (Serbian (Cyrillic))

* 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 (Korean)

* New translations en-US.json (Italian)

* 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 (Arabic)

* New translations en-US.json (Afrikaans)

* New translations en-US.json (Spanish)

* New translations en-US.json (Romanian)

* New translations en-US.json (Chinese Simplified)

* New translations en-US.json (Portuguese, Brazilian)

* New translations en-US.json (French)

* New translations en-US.json (Swedish)

* New translations en-US.json (Swedish)

* New translations en-US.json (Dutch)

* New translations en-US.json (Dutch)
2021-07-01 12:42:15 -08:00
sephrat
7187634f18
Localization (#596)
* Localize recipe import popup

* Add Italian language

* Use named formatting

* Remove unused strings

* Use dedicated strings for the sidebar

This will allow for shorter texts, so the text is not truncated,
without impacting other uses
2021-06-28 12:28:17 -08:00
Hayden
494c28ce6f
New Crowdin updates (#594)
* New translations en-US.json (German)

* New translations en-US.json (Japanese)

* New translations en-US.json (Vietnamese)

* New translations en-US.json (Chinese Traditional)

* New translations en-US.json (Ukrainian)

* New translations en-US.json (Turkish)

* New translations en-US.json (Swedish)

* New translations en-US.json (Serbian (Cyrillic))

* 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 (Korean)

* New translations en-US.json (Italian)

* 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 (Arabic)

* New translations en-US.json (Afrikaans)

* New translations en-US.json (Spanish)

* New translations en-US.json (Romanian)

* New translations en-US.json (Chinese Simplified)

* New translations en-US.json (Portuguese, Brazilian)

* New translations en-US.json (Dutch)

* New translations en-US.json (Swedish)

* New translations en-US.json (Polish)

* New translations en-US.json (French)

* New translations en-US.json (Italian)

* New translations en-US.json (Italian)

* New translations en-US.json (French)

* New translations en-US.json (Spanish)
2021-06-28 12:28:02 -08:00
sephrat
3b99a147fb
Handle untitled note (#592)
* Leave recipe in edit mode in case of an API error

* Initialize recipe note with empty title

Fixes #586
2021-06-23 09:45:16 -08:00
sephrat
1356043257
Add label to assets icons (#591)
* Add label to assets icons

* Add tooltip to asset icon
2021-06-23 09:45:04 -08:00
Hayden
4bc0333903
New Crowdin updates (#589)
* New translations en-US.json (German)

* New translations en-US.json (Japanese)

* New translations en-US.json (Vietnamese)

* New translations en-US.json (Chinese Traditional)

* New translations en-US.json (Ukrainian)

* New translations en-US.json (Turkish)

* New translations en-US.json (Swedish)

* New translations en-US.json (Serbian (Cyrillic))

* 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 (Korean)

* New translations en-US.json (Italian)

* 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 (Arabic)

* New translations en-US.json (Afrikaans)

* New translations en-US.json (Spanish)

* New translations en-US.json (Romanian)

* New translations en-US.json (Chinese Simplified)

* New translations en-US.json (Portuguese, Brazilian)

* New translations en-US.json (Swedish)

* New translations en-US.json (Dutch)

* New translations en-US.json (French)
2021-06-23 09:44:51 -08:00
sephrat
2e8c50e4ba
Remove unmaintained languages + minor localization tasks (#587)
* Fix missing string

* Localize "loading recipes"

* Remove unmaintained languages

Remove support for Danish, Portuguese and Chinese Traditional,
since their current translation state is <20%
2021-06-22 10:23:52 -08:00
Tom Matheussen
c463ef279a
Added info on how the Sensor in HA is created (#584) 2021-06-22 10:23:24 -08:00
Hayden
7a041759fa
New Crowdin updates (#583)
* New translations en-US.json (German)

* New translations en-US.json (Japanese)

* New translations en-US.json (Vietnamese)

* New translations en-US.json (Chinese Traditional)

* New translations en-US.json (Ukrainian)

* New translations en-US.json (Turkish)

* New translations en-US.json (Swedish)

* New translations en-US.json (Serbian (Cyrillic))

* 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 (Korean)

* New translations en-US.json (Italian)

* 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 (Arabic)

* New translations en-US.json (Afrikaans)

* New translations en-US.json (Spanish)

* New translations en-US.json (Romanian)

* New translations en-US.json (Chinese Simplified)

* New translations en-US.json (Portuguese, Brazilian)

* New translations en-US.json (Swedish)

* New translations en-US.json (French)

* New translations en-US.json (Dutch)

* New translations en-US.json (German)
2021-06-22 10:23:04 -08:00
wengtad
999d0d4322
Optimize Docker (#575)
* reduce docker dev size

* reduce docker prod size

* fix lint

* add gunicorn

* fix bandit reported issues

* add docs external link icon

* add env vars to docs

* add permission to docker

* merge to one backend Dockerfile

* fix codefactor issues

* add docs for puid/pgid

* add docker healthcheck
2021-06-22 10:22:31 -08:00
sephrat
6320ba7ec5
API security hardening (#571)
* Enhance security and safety around user update API

- Prevent a regular user from promoting themself to admin
- Prevent an admin from demoting themself
- Refactor token fixture to admin + regular user tokens

* Restrict user CRUD API to admins

* Secure admin API routes

* Refactor APIrouter into Admin/UserAPIRouter

* Secure theme routes

* Make 'all recipes' routes public

* Secure favorite routes

* Remove redundant checks

* Fix public routes mistakenly flagged user routes

* Make webhooks changeable only by admin

* Allow users to create categories and tags

* Address lint issues
2021-06-22 10:22:15 -08:00
Hayden
f5faff66d3
Feature/import export single recipe (#576)
* remove duplicate keys

* show context menu when not logged in

* remove console.log

* hide menu when printing

* add response to event

* add type definitions

* show context menu always

* add image name enums

* upload/download single recipe

* cleanup menu views+ localization

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-06-21 16:25:37 -07:00
Hayden
3220595a83
New translations en-US.json (Dutch) (#580) 2021-06-21 15:51:59 -07:00
Richard Boß
0b0c04ac03
fix typos and punctuation (#582) 2021-06-21 15:51:27 -07:00
Hayden
95d044b7bb
Revert "Printview columns (#572)" (#577)
This reverts commit eaf4565aa7.
2021-06-19 23:01:15 -07:00
zierbeek
eaf4565aa7
Printview columns (#572)
* Printview with multiple columns, depending on list length.

* Printview with multiple columns, depending on list length.
2021-06-19 22:53:21 -07:00
sephrat
3714baf5d6
Fix en-US language not being loaded (#574)
VueI18n defaults to en-US when no language is specified,
which prevented en-US messages from being loaded
2021-06-19 07:14:12 -08:00
Hayden
4109d02a39
New Crowdin updates (#570)
* New translations en-US.json (German)

* New translations en-US.json (French)

* New translations en-US.json (Italian)

* New translations en-US.json (Chinese Simplified)

* New translations en-US.json (Romanian)

* New translations en-US.json (Spanish)

* New translations en-US.json (Afrikaans)

* New translations en-US.json (Arabic)

* New translations en-US.json (Catalan)

* New translations en-US.json (Czech)

* New translations en-US.json (Danish)

* New translations en-US.json (Greek)

* New translations en-US.json (Finnish)

* New translations en-US.json (Hebrew)

* New translations en-US.json (Hungarian)

* New translations en-US.json (Japanese)

* New translations en-US.json (Portuguese, Brazilian)

* New translations en-US.json (Korean)

* New translations en-US.json (Dutch)

* New translations en-US.json (Norwegian)

* New translations en-US.json (Polish)

* New translations en-US.json (Portuguese)

* New translations en-US.json (Russian)

* New translations en-US.json (Serbian (Cyrillic))

* New translations en-US.json (Swedish)

* New translations en-US.json (Turkish)

* New translations en-US.json (Ukrainian)

* New translations en-US.json (Chinese Traditional)

* New translations en-US.json (Vietnamese)

* New translations en-US.json (German)

* New translations en-US.json (Swedish)

* New translations en-US.json (Dutch)

* New translations en-US.json (Spanish)
2021-06-19 07:13:01 -08:00
Hayden
12a9110716
New Crowdin updates (#569)
* New translations en-US.json (German)

* New translations en-US.json (Japanese)

* New translations en-US.json (Vietnamese)

* New translations en-US.json (Chinese Traditional)

* New translations en-US.json (Ukrainian)

* New translations en-US.json (Turkish)

* New translations en-US.json (Swedish)

* New translations en-US.json (Serbian (Cyrillic))

* 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 (Korean)

* New translations en-US.json (Italian)

* 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 (Arabic)

* New translations en-US.json (Afrikaans)

* New translations en-US.json (Spanish)

* New translations en-US.json (Romanian)

* New translations en-US.json (Chinese Simplified)

* New translations en-US.json (Portuguese, Brazilian)
2021-06-18 05:09:15 -08:00
sephrat
67563da67b
Localization (#568)
* Translate 404 pages

* Remove unused strings
2021-06-18 05:09:02 -08:00
Hayden
b25282aef1
New Crowdin updates (#547)
* New translations en-US.json (Dutch)

* New translations en-US.json (Swedish)

* New translations en-US.json (Polish)

* New translations en-US.json (Polish)

* New translations en-US.json (German)

* New translations en-US.json (Japanese)

* New translations en-US.json (Vietnamese)

* New translations en-US.json (Chinese Traditional)

* New translations en-US.json (Ukrainian)

* New translations en-US.json (Turkish)

* New translations en-US.json (Swedish)

* New translations en-US.json (Serbian (Cyrillic))

* 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 (Korean)

* New translations en-US.json (Italian)

* 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 (Arabic)

* New translations en-US.json (Afrikaans)

* New translations en-US.json (Spanish)

* New translations en-US.json (Romanian)

* New translations en-US.json (Chinese Simplified)

* New translations en-US.json (Portuguese, Brazilian)

* New translations en-US.json (Dutch)

* New translations en-US.json (German)

* New translations en-US.json (German)

* New translations en-US.json (Spanish)

* New translations en-US.json (French)

* New translations en-US.json (Swedish)
2021-06-18 04:54:38 -08:00
wengtad
387f3ca02c
add confirmation dialogs (#564) 2021-06-18 04:53:32 -08:00
sephrat
93e6c0c41c
Lazy load translations (#561)
* Lazy load translations

* Lazy load dateTimeFormats
2021-06-18 04:52:27 -08:00
sephrat
9d64345321
Fix about page (#563)
* Fix error 500 in about page

* Fix log details not showing
2021-06-18 04:50:51 -08:00
wengtad
8607b9891b
fix broken badge (#565) 2021-06-18 04:50:22 -08:00
Hayden
d272784469
move api calls to created event (#559)
Co-authored-by: hay-kot <hay-kot@pm.me>
2021-06-17 19:48:54 -08:00
wengtad
71a5de3432
fixes #548 (#557) 2021-06-17 19:45:22 -08:00
Hayden
cdfb3543dc
feature/improve-bundle-performance (#555)
* revert icon

* chunk code for better performance / reduce request

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-06-17 15:19:37 -08:00
Hayden
cc2d5ed982
New Crowdin updates (#544)
* New translations en-US.json (German)

* New translations en-US.json (Japanese)

* New translations en-US.json (Vietnamese)

* New translations en-US.json (Chinese Traditional)

* New translations en-US.json (Ukrainian)

* New translations en-US.json (Turkish)

* New translations en-US.json (Swedish)

* New translations en-US.json (Serbian (Cyrillic))

* 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 (Korean)

* New translations en-US.json (Italian)

* 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 (Arabic)

* New translations en-US.json (Afrikaans)

* New translations en-US.json (Spanish)

* New translations en-US.json (Romanian)

* New translations en-US.json (Chinese Simplified)

* New translations en-US.json (Portuguese, Brazilian)

* New translations en-US.json (French)

* New translations en-US.json (Spanish)
2021-06-17 08:59:41 -08:00
Hayden
b545e75f09
Bug fixes/v0.5.1 (#545)
* dump deps

* add job for new groups on interval

* change sort icon

* fix cart icon

* bump version

* changelog

* early return if no comments

* remove comment

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-06-17 08:57:28 -08:00
sephrat
1d7c06352c
Always display ingredients in edit mode (#543)
* Always display ingredients in edit mode

Fixes #538

* Remove unused code

Was wrongfully commited
2021-06-17 07:11:52 -08:00