Commit graph

401 commits

Author SHA1 Message Date
Hayden
f2d2b79a57
New Crowdin updates (#385)
* New translations en-US.json (Spanish)

* New translations en-US.json (Spanish)

* New translations en-US.json (French)
2021-05-03 18:23:41 -08:00
Hayden
9205a09d35
New Crowdin updates (#383)
* 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-05-01 21:52:59 -08:00
Hayden
be378cb20c
feature/recipe-patch-improvements (#382)
* automated docs update

* recipe rating component

* recipe partial updates - closes #25

* use Vue.delete to update store

* format

* arrow functions

* fix tests

* format

* initial context menu

* localize

* add confirmation dialog

* context menu

* fix bare exception

* update line length

* format all file with prettier

* update changelog

* download as json

* update python dependencies

* update javascript dependencies

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-05-01 20:46:02 -08:00
Hayden
c196445e61
feature/additional-db (#371)
* add support for setting db_url

* fix tests

* add db_username/password env variables

* init db if super user doesn't exist

* fix tests

* fix tests

* set SQLite default DB_URL

* don't run tests on draft PRs

* add lint/black tests

* add test-all

* spell check settings

* black/flake8

* check format fail

* new badges

* rename workflow

* fix formatting

* remove white-space

* test connection arguments for pg

* format

* add new values to template

* format

* remove old script

* monkeypatch test db

* working docker-compose for postgres

* update docs

* test pg workflow

* format

* add driver

* install w/ poetry

* setup container

* change image

* set database to localhost

* update tests

* set url

* fix url path

* disable cache

* database init

* bust cache

* get by name

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-05-01 13:35:57 -08:00
sephrat
52e5e9da5d
Remove former profile image upon new upload (#381)
* Remove former profile image upon new upload

* Fix test
2021-05-01 13:35:46 -08:00
Hayden
fad2f8da59
New Crowdin updates (#380)
* New translations en-US.json (French)

* New translations en-US.json (Dutch)

* New translations en-US.json (Dutch)
2021-05-01 13:35:33 -08:00
Hayden
212ca64e27
New translations en-US.json (French) (#379) 2021-04-30 21:36:03 -08:00
Hayden
c0c0c8ca0d
New translations en-US.json (Dutch) (#378) 2021-04-30 10:40:09 -08:00
Hayden
89729c5eee
New Crowdin updates (#377)
* New translations en-US.json (German)

* New translations en-US.json (Italian)

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

* New translations en-US.json (Japanese)

* New translations en-US.json (Hungarian)

* New translations en-US.json (Arabic)

* New translations en-US.json (Romanian)

* New translations en-US.json (Spanish)

* New translations en-US.json (Hebrew)

* New translations en-US.json (Afrikaans)

* 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 (Chinese Simplified)

* New translations en-US.json (Ukrainian)

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

* New translations en-US.json (Vietnamese)

* New translations en-US.json (Portuguese, Brazilian)
2021-04-30 08:45:45 -08:00
sephrat
72bc97eb24
Shopping list fixes (#376)
* Refactor recipe to snake case

* Initialize raw ingredients

Fixes #356
2021-04-30 08:44:24 -08:00
Hayden
5e89903b2f
New Crowdin updates (#374)
* New translations en-US.json (German)

* New translations en-US.json (German)

* New translations en-US.json (German)

* New translations en-US.json (French)

* New translations en-US.json (German)
2021-04-30 08:44:12 -08:00
sephrat
b302e0ffd8
More localization (#373)
* Translate missing string

* Display language in original language + English

* Translate assets

* Translate recipe settings
2021-04-30 08:44:03 -08:00
sephrat
d2e56cf233
Api refactoring fixes (#372)
* Fix JS error when logging in with bad credentials

* Remove duplicate error message if bad credentials

Error is already nicely displayed in LoginForm
2021-04-30 08:43:30 -08:00
Hayden
1dc051f562
Refactor/recipe routes (#370)
* format with black

* black format

* flake8

* remove bar exceptions

* remove test for depreciated route

* recipe settings editr

* add sqlite

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-04-29 21:46:27 -08:00
hay-kot
5dafe8fbb5 remove 32bit arm support 2021-04-29 20:33:05 -08:00
hay-kot
6536441d22 add all cryptography deps 🤞 2021-04-29 19:50:01 -08:00
hay-kot
c57c3f5205 add python3-dev 2021-04-29 18:45:22 -08:00
Hayden
aa8b0337aa
New Crowdin updates (#368)
* New translations en-US.json (German)

* New translations en-US.json (Korean)

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

* New translations en-US.json (French)

* New translations en-US.json (Italian)

* 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)
2021-04-29 17:47:18 -08:00
Hayden
3e80947a4c
refactor/docker-updates (#369)
* convert all images to webp

* consolidate docker files

* serve images wiith caddy

* consolidate docker files

* new slim-buster image

* set image url

* add image path

* remove print

* set image path correctly

* cleanup

* caddy proxy path

* docs

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-04-29 17:47:01 -08:00
sephrat
7153ff6f25
Hide user ID + Reset password when creating a user (#367) 2021-04-29 13:12:08 -08:00
Hayden
b65555fc2f
New Crowdin updates (#366)
* New translations en-US.json (German)

* New translations en-US.json (French)

* New translations en-US.json (Dutch)

* New translations en-US.json (Polish)

* New translations en-US.json (Dutch)
2021-04-29 08:23:19 -08:00
sephrat
1e5edc7434
More localization (#358)
* Translate missing items on About page

* Localize import summary dialog

* Make site menu translation reactive

* Localize import options

* Include semi colon in string

* Move API texts to frontend + better status codes

* Provide feedback to user when no meal is planned

* Fix API tests after latest rework

* Add warning for API changes in changelog

* Refactor API texts handling

* Refactor API texts handling #2

* Better API feedback

* Rearrange strings hierarchy

* Add messages upon recipe updated

* Fix 'recipe effected' typo

* Remove snackbar usage in backend

* Translate toolbox

* Provide feedback for tags CRUD

* Fix messed up merge

* Translate sign-up form

* Better feedback for sign-up CRUD

* Refactor log-in API texts handling

* No error message when user is not authenticated

* Remove unimportant console log
2021-04-29 08:22:45 -08:00
hay-kot
861020ffe0 fix missed commits 2021-04-28 21:31:39 -08:00
Hayden
61e0a52100
refactor/recipe-to-snake-case (#364)
* formatting

* snake case all recipes entries

* set foreign key to int

* run scheduler at startup and not import

* set SQLite file path before imports

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-04-28 21:17:49 -08:00
Hayden
ee445e7f54
New Crowdin updates (#365)
* New translations en-US.json (German)

* New translations en-US.json (Korean)

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

* New translations en-US.json (French)

* New translations en-US.json (Italian)

* 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-04-28 20:58:24 -08:00
Hayden
04255e285f
feature/new-recipe-features (#360)
* unify button styles

* fix drag on mobile

* recipe instructions section

* add carbs

* refactor component location

* asset start

* consolidate view/edit components

* asset api

* base dialog event

* Remove 'content'

* remove console.log

* add slug prop

* remove console.log

* recipe assets first pass

* add recipeSettings model

* fix hide/show when no tags/categories

* fix typo

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-04-28 18:59:37 -08:00
Hayden
9abb6f10fd
New Crowdin updates (#363)
* New translations en-US.json (French)

* New translations en-US.json (Polish)
2021-04-28 18:53:11 -08:00
sephrat
1b2f7f2675
Remove dead code (#362)
* Remove BackupCard.vue

Unused - moved to NewBackupCard.vue

* Remove unused method
2021-04-28 09:47:33 -08:00
Hayden
556dfbfe53
New Crowdin updates (#361)
* New translations en-US.json (Polish)

* New translations en-US.json (Polish)

* New translations en-US.json (Polish)

* New translations en-US.json (German)
2021-04-28 08:56:04 -08:00
hay-kot
783542b9ef toolbox reference 2021-04-27 12:08:01 -08:00
Hayden
ed582158dc
New Crowdin updates (#359)
* New translations en-US.json (German)

* New translations en-US.json (Korean)

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

* New translations en-US.json (French)

* New translations en-US.json (Italian)

* 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-04-27 11:21:47 -08:00
Hayden
846d1eda5b
feature/category-tag-crud (#354)
* update tag route

* search.and

* offset for mobile

* relative imports

* get settings

* new page

* category/tag CRUD

* bulk assign frontend

* Bulk assign

* debounce search

* remove dev data

* recipe store refactor

* fix mobile view

* fix failing tests

* commit test data

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-04-27 11:17:00 -08:00
Hayden
f748bbba68
New Crowdin updates (#355)
* New translations en-US.json (German)

* New translations en-US.json (Korean)

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

* New translations en-US.json (French)

* New translations en-US.json (Italian)

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

* New translations en-US.json (French)

* New translations en-US.json (French)
2021-04-26 08:32:49 -08:00
Hayden
d5a340bde1
App Bar Rewrite (#347)
* Dummy Commit

* consolidate sidebar and app bar

* fix image error

* consolidate sidebar

* new icon for user menu

* fixes #329

* fix double click on mobile

* swap to computed properties

* fix open/close bug

* rewrite search for mobile

* fix ingredient checkbox

* cleanup console.logs

* set default lang + bump version

* draft changelog

* reword

* update env variables

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-04-25 13:47:08 -08:00
Hayden
7e6f3c9310
New Crowdin updates (#351)
* New translations en-US.json (German)

* New translations en-US.json (Korean)

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

* New translations en-US.json (French)

* New translations en-US.json (Italian)

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

* New translations en-US.json (French)

* New translations en-US.json (Dutch)
2021-04-25 13:46:22 -08:00
Hayden
df4edf50f9
New Crowdin updates (#349)
* New translations en-US.json (Dutch)

* New translations en-US.json (Dutch)
2021-04-24 12:16:19 -08:00
sephrat
cfbf51072b
More localization (#348)
* Translate about page

* Sort messages by keys

* Remove unused strings

* Localize date in meal planner

* Fix quick week not starting on Monday for UTC+x
2021-04-24 12:16:07 -08:00
sephrat
21d2fb4b93
Fix infinite loop in meal planner randomizer (#346)
Infinite loop would happen if there were more days than recipes
2021-04-23 14:31:21 -08:00
Hayden
b729c0e15a
New Crowdin updates (#345)
* New translations en-US.json (French)

* New translations en-US.json (German)

* New translations en-US.json (German)

* New translations en-US.json (French)

* New translations en-US.json (German)

* New translations en-US.json (German)
2021-04-23 07:48:37 -08:00
Hayden
a644a9782f
New Crowdin updates (#344)
* New translations en-US.json (Romanian)

* New translations en-US.json (French)

* New translations en-US.json (Romanian)

* New translations en-US.json (Spanish)

* New translations en-US.json (French)

* New translations en-US.json (Ukrainian)

* New translations en-US.json (Hebrew)

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

* New translations en-US.json (Vietnamese)

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

* New translations en-US.json (Turkish)

* New translations en-US.json (Italian)

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

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

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

* New translations en-US.json (Vietnamese)

* New translations en-US.json (Italian)

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

* New translations en-US.json (German)

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

* 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 Simplified)

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

* New translations en-US.json (Portuguese, Brazilian)
2021-04-22 22:15:43 -08:00
sephrat
df1bca6c6a
Fix ingredients not refreshed upon recipe change (#343) 2021-04-22 22:15:25 -08:00
Hayden
8e4b951ecc
Get Recipes Route Rewrite (#339)
* deprecate old route

* auto-gen

* recipe card infinite scroll

* fix datatable

* set hard-limit option

* add loader

* set scroll on navigation

* add auto-import

* fix slow initial load

* remove console.logs

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-04-22 22:13:55 -08:00
sephrat
80f8806604
Localize more dates and texts (#341)
* Localize more dates and texts

* Adapt source language to 4-letter code for VS code

* Make page titles more reactive to language change

* Translate missing text + fix missed refactoring

* Fix missed page titles refactoring

* Translate nutrition view

* Translate Image upload vue

* Fix default text being defined twice in upload btn
2021-04-22 22:13:00 -08:00
sephrat
048d3d5469
Document new translation process with Crowdin (#342) 2021-04-22 13:18:14 -08:00
Hayden
fa1671670d
New Crowdin updates (#340)
* 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 (Dutch)

* New translations en-US.json (Dutch)
2021-04-22 13:15:32 -08:00
Hayden
284df44209
feature/editor-improvements (#289)
* pin editor buttons on scroll

* scaler scratch

* fix langauge assignment 1st pass

* set lang on navigate

* refactor/breakup router

* unify style for language selectro

* refactor/code-cleanup

* refactor/page specific components to page folder

* Fix time card layout issue

* fix timecard display

* update mobile cards / fix overflow errors

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-04-21 21:52:12 -08:00
CMBoii
a5306c31c6
es-ES.json (#334)
* es-ES.json

Spanish translation

* Update es-ES.json
2021-04-21 10:32:27 -08:00
Hayden
7f23e8606a
New Crowdin updates (#328)
* New translations en-US.json (German)

* New translations en-US.json (Korean)

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

* New translations en-US.json (French)

* New translations en-US.json (Italian)

* 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)
2021-04-21 08:53:20 -08:00
Chris Klann
26636c7b12
Add tip to fix rpi host running docker container (#335)
Per issue #249, tip gives guidance for running Mealie in a docker linux/arm/v7 container.
2021-04-21 08:37:25 -08:00
sephrat
29b9c231d3
Fix date picker not properly localized (#330)
* Fix language in date picker

Vuetify allows custom-named locales,
but the date-picker really only works with BCP 47 language tag

* Save lang at proper time + Update Vuetify lang on the fly
2021-04-21 08:36:49 -08:00