142 Commits

Author SHA1 Message Date
Hayden
9e6ae2e514
chore: remove black (#3437) 2024-04-11 20:36:55 -05:00
tba-code
9fade36014
feat: Support HEIF, HEIC and AVIF recipe image uploads (#3409)
* feat: Support HEIF, HEIC and AVIF recipe image uploads

* fix: lint import block

* fix: avif now included

* fix: lint import block
2024-04-04 18:31:10 -05:00
renovate[bot]
6050b1e25a
fix(deps): update dependency uvicorn to ^0.29.0 (#3346)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 10:36:47 -05:00
Hayden
5f6844eceb
feat: Login with OAuth via OpenID Connect (OIDC) (#3280)
* initial oidc implementation

* add dynamic scheme

* e2e test setup

* add caching

* fix

* try this

* add libldap-2.5 to runtime dependencies (#2849)

* New translations en-us.json (Norwegian) (#2851)

* New Crowdin updates (#2855)

* New translations en-us.json (Italian)

* New translations en-us.json (Norwegian)

* New translations en-us.json (Portuguese)

* fix

* remove cache

* cache yarn deps

* cache docker image

* cleanup action

* lint

* fix tests

* remove not needed variables

* run code gen

* fix tests

* add docs

* move code into custom scheme

* remove unneeded type

* fix oidc admin

* add more tests

* add better spacing on login page

* create auth providers

* clean up testing stuff

* type fixes

* add OIDC auth method to postgres enum

* add option to bypass login screen and go directly to iDP

* remove check so we can fallback to another auth method oauth fails

* Add provider name to be shown at the login screen

* add new properties to admin about api

* fix spec

* add a prompt to change auth method when changing password

* Create new auth section. Add more info on auth methods

* update docs

* run ruff

* update docs

* format

* docs gen

* formatting

* initialize logger in class

* mypy type fixes

* docs gen

* add models to get proper fields in docs and fix serialization

* validate id token before using it

* only request a mealie token on initial callback

* remove unused method

* fix unit tests

* docs gen

* check for valid idToken before getting token

* add iss to mealie token

* check to see if we already have a mealie token before getting one

* fix lock file

* update authlib

* update lock file

* add remember me environment variable

* add user group setting to allow only certain groups to log in

---------

Co-authored-by: Carter Mintey <cmintey8@gmail.com>
Co-authored-by: Carter <35710697+cmintey@users.noreply.github.com>
2024-03-10 13:51:36 -05:00
Michael Genson
315d5b370e
fix: bump ruff (#3275)
* bump ruff

* updated deprecated cli usage

* fixed deprecated pyproject layout

* fixed .format string

* fixed another deprecated setting
2024-03-09 18:40:08 +00:00
renovate[bot]
dbe29e15ae
fix(deps): update dependency uvicorn to ^0.28.0 (#3273)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-09 16:36:18 +00:00
renovate[bot]
4ae7f6eca4
fix(deps): update dependency apprise to v1.7.3 (#3246)
* fix(deps): update dependency apprise to v1.7.3

* Pin paho-mqtt to match what Apprise has done.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Brendan <b.oconnell14@gmail.com>
2024-03-05 16:14:37 -06:00
renovate[bot]
a475afd570
chore(deps): update dependency ruff to ^0.3.0 (#3237)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-29 12:07:03 -06:00
renovate[bot]
5ac7645350
fix(deps): update dependency fastapi to ^0.110.0 (#3221)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-25 14:27:10 -06:00
renovate[bot]
71a6f32665
fix(deps): update dependency html2text to v2024 (#3222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-25 10:21:15 -06:00
renovate[bot]
1f8d7c0b21
fix(deps): update dependency httpx to ^0.27.0 (#3207)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 11:24:56 -06:00
renovate[bot]
5d89d53a4a
chore(deps): update dependency pytest to v8 (#3060)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-17 11:34:00 -06:00
renovate[bot]
fa60d81e26
fix(deps): update dependency paho-mqtt to v2 2024-02-17 02:43:03 +00:00
Michael Genson
7a107584c7
feat: Upgrade to Pydantic V2 (#3134)
* bumped pydantic
2024-02-11 16:47:37 +00:00
renovate[bot]
67e48c2fd1
fix(deps): update dependency python-multipart to ^0.0.9 2024-02-11 11:10:02 +00:00
renovate[bot]
ce58da8e18
Update dependency python-multipart to ^0.0.8 2024-02-10 01:08:10 +00:00
renovate[bot]
7e519c6b5a
fix(deps): update dependency python-multipart to ^0.0.7 2024-02-03 18:35:27 +00:00
renovate[bot]
9bf2e3fabd
chore(deps): update dependency ruff to ^0.2.0 (#3097)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-01 18:17:42 -06:00
boc-the-git
f0c89525f6
Add paho-mqtt package, as needed by Apprise to send MQTT messages (#3078)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-01-30 14:31:24 +00:00
Michael Genson
a5ef18669b
fix: Upgrade Black (#3057)
* bump black

* bump black on precommit

* run black

* fix backend test runner
2024-01-27 15:11:54 -06:00
Hayden
0800a8d00a
chore: rewrite makefile in taskfile (#3035)
* add docker-compose with development dependencies

* delete old runtime.txt file

* specify specific group for postgres deps

* replace makefile with taskfile with new features

* drop template.env file in favor of defaults within taskfile

* use with github actions

* update docs for taskfile changes

* update task.json for vscode

* add taskfile to devcontainer.json

* pre-install taskfile so startup command works

* remove run command and fix desc for ui

* change node-> python->py for consistency
2024-01-27 18:14:42 +00:00
Michael Genson
098c8194f5 bump fastapi 2024-01-25 18:48:32 +00:00
Michael Genson
4d3ea5d231 remove passlib 2024-01-24 22:04:33 +00:00
renovate[bot]
58cb43e999
fix(deps): update dependency uvicorn to ^0.27.0 (#3034)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-24 21:56:56 +00:00
Michael Genson
702907fc30
feat: Add Additional SMTP Headers to Decrease Spam Score (#3031)
* add html2text util

* add various missing email headers

* lint
2024-01-22 20:40:09 +01:00
renovate[bot]
b4c0a8b509
fix(deps): update dependency uvicorn to ^0.26.0 (#2999)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-16 12:42:31 -06:00
Michael Genson
9c0ce1af27
bump tzdata (#2976) 2024-01-11 08:18:17 +01:00
renovate[bot]
ce929f2833
chore(deps): update dependency ruff to ^0.1.0 (#2944)
* chore(deps): update dependency ruff to ^0.1.0

* fix breaking cfg change

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
2024-01-11 00:53:54 +00:00
renovate[bot]
238ef838ba
fix(deps): update dependency lxml to v5 (#2973)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 16:42:29 -06:00
renovate[bot]
04d2fa2416
fix(deps): update dependency gunicorn to v21 (#2972)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 21:55:58 +00:00
renovate[bot]
b79c0ad441
fix(deps): update dependency uvicorn to ^0.25.0 (#2971)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 15:44:23 -06:00
renovate[bot]
da71ee5deb
fix(deps): update dependency extruct to ^0.16.0 (#2966)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 21:05:04 +00:00
renovate[bot]
e37426d5d8
chore(deps): update dependency pylint to v3 (#2965)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 18:58:50 +00:00
renovate[bot]
9b365f882a
chore(deps): update dependency pytest-asyncio to ^0.23.0 (#2957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 12:29:39 -06:00
renovate[bot]
d756f3a057
fix(deps): update dependency httpx to ^0.26.0 (#2947)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 02:08:57 +00:00
Kuchenpirat
e5a19b3a49 bump recipe-scrapers 2023-12-19 08:18:56 +00:00
Michael Genson
ca9f66ee24
feat: Remove OCR Support (#2838)
* remove ocr package

* remove tesseract

* remove OCR from app

* remove OCR from tests

* fix docs
2023-12-14 17:26:43 -09:00
Hayden
c9852daf0e
chore: bump fastapi and recipes-scrapers (#2765) 2023-11-27 08:13:48 -09:00
FelicixAwe
79796ce4c2
chore: update recipe-scrapers version to the latest (#2651) 2023-10-17 17:14:25 +00:00
Hayden
db021023fb
chore:bump dependencies and fix errors (#2601)
* bump dependencies and fix errors

* fix depreciated arg

* properly handle validation errors
2023-10-07 13:02:15 -08:00
Michael Genson
2dfbe9f08d
feat: Improved Ingredient Matching (#2535)
* added normalization to foods and units

* changed search to reference new normalized fields

* fix tests

* added parsed food matching to backend

* prevent pagination from ordering when searching

* added extra fuzzy matching to sqlite ing matching

* added tests

* only apply search ordering when order_by is null

* enabled post-search fuzzy matching for postgres

* fixed postgres fuzzy search test

* idk why this is failing

* 🤦

* simplified frontend ing matching
and restored automatic unit creation

* tightened food fuzzy threshold

* change to rapidfuzz

* sped up fuzzy matching with process

* fixed units not matching by abbreviation

* fast return for exact matches

* replace db searching with pure fuzz

* added fuzzy normalization

* tightened unit fuzzy matching thresh

* cleaned up comments/var names

* ran matching logic through the dryer

* oops

* simplified order by application logic
2023-09-15 17:19:34 +00:00
Hayden
c60c63852b
chore: bump deps (#2513)
* bump dependencies

* run code-generator

* add direct dependency to text-unidecode

* fix dev dependencies group
2023-08-20 16:09:13 -08:00
Michael Genson
e55258c5be
fx: Nextcloud migration fails to parse null times (#2485)
* support null or custom strings

* made time parsing more robust using isodate

* bark bark
2023-08-09 18:52:49 -08:00
Michael Genson
c86406e027
fix: Omni Container /docs Proxy and PyYaml dependency (#2457)
* upgrade pyyaml to ^6.0.1

* add proxy routes for docs
2023-07-23 09:53:45 -08:00
Hayden
23786c1f5e
bump ruff and do fixes (#2375) 2023-05-05 14:43:23 -08:00
renovate[bot]
29956142e1
chore(deps): update dependency pytest-asyncio to ^0.21.0 (#2290)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 11:28:30 -08:00
renovate[bot]
027fcbdcef
fix(deps): update dependency uvicorn to ^0.21.0 (#2233)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 08:32:24 -08:00
Michael Genson
50f50b2b9a
Chore: Dev Container Settings (#2253)
* add isort line length to match black

* format settings

* disable formatting for vue files
2023-03-23 09:22:06 -08:00
renovate[bot]
f206583150
fix(deps): update dependency python-multipart to ^0.0.6 (#2198)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-23 09:20:50 -08:00
renovate[bot]
6b63c751b1
fix(deps): update dependency fastapi to ^0.95.0 (#2217)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-21 11:44:48 -08:00