Commit graph

579 commits

Author SHA1 Message Date
hay-kot
41a6916771 remove old files 2021-08-07 11:28:50 -08:00
hay-kot
51876508f3 improve backend performance with caching 2021-08-07 11:28:40 -08:00
hay-kot
c13fb6743c add nuxt localization 2021-08-07 11:28:20 -08:00
hay-kot
695d7e96ae refactor(frontend): 🚧 Add group/user CRUD support for admins 2021-08-06 16:28:12 -08:00
hay-kot
917177da5b test-docs ci/cd 2021-08-04 10:05:53 -08:00
hay-kot
fe41875d8b set venv settings 2021-08-04 10:00:11 -08:00
hay-kot
5a190d31dc test ci/cd 2021-08-04 09:58:51 -08:00
hay-kot
049e2f87f3 disable ci/cd 2021-08-04 09:55:15 -08:00
hay-kot
0b4cbc38e0 set to 3.8 2021-08-04 09:54:35 -08:00
hay-kot
7d6f6b1bad runtime.txt 2021-08-04 09:52:40 -08:00
hay-kot
8b3644b898 test-netlify 2021-08-04 09:51:28 -08:00
hay-kot
b65a0f5722 pip3 -> pip 2021-08-04 09:45:16 -08:00
hay-kot
e29bb2212e remove cache 2021-08-04 09:43:24 -08:00
hay-kot
84043f8235 feat(docs): 👷 add netlify.toml for docs
Add netlify.toml file for automated deployed of documentation on netlify
2021-08-04 09:41:04 -08:00
hay-kot
5ee0a57163 feat(frontend): 👷 Add image operations to recipe page
Added/Fixed image upload/get process on the recipe pages as well as some additional styling
2021-08-03 21:38:45 -08:00
hay-kot
afcad2f701 feat(frontend): 🚧 CRUD Functionality 2021-08-02 22:15:11 -08:00
hay-kot
00a8fdda41 reorganize all frontend items 2021-08-01 19:24:47 -08:00
hay-kot
d67240d449 refactor schema folders 2021-08-01 19:24:33 -08:00
hay-kot
0e8e2971d0 update development scripts 2021-08-01 19:24:05 -08:00
hay-kot
791211f787 set locales folder 2021-08-01 19:23:54 -08:00
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