1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-24 15:49:42 +02:00
Commit graph

142 commits

Author SHA1 Message Date
Christian Clauss
e2033b2d67
fix: pre-commit autoupdate && pre-commit run --all-files (#3780) 2024-06-26 10:41:46 +00:00
boc-the-git
e7a668e64e
feat: Ensure PR title fits convention (#3683) 2024-06-04 13:41:02 +00:00
Hayden
9e6ae2e514
chore: remove black (#3437) 2024-04-11 20:36:55 -05:00
boc-the-git
bb06b0414b
Housekeeping (#3380)
Some checks are pending
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Docker Nightly Production / Backend Server Tests (push) Waiting to run
Docker Nightly Production / Frontend and End-to-End Tests (push) Waiting to run
Docker Nightly Production / Build Tagged Release (push) Blocked by required conditions
Docker Nightly Production / Notify Discord (push) Blocked by required conditions
2024-03-27 10:40:13 +01:00
Carter
59d53a02b3
Dicsussion Template: OAuth example template (#3340)
Some checks are pending
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Docker Nightly Production / Backend Server Tests (push) Waiting to run
Docker Nightly Production / Frontend and End-to-End Tests (push) Waiting to run
Docker Nightly Production / Build Tagged Release (push) Blocked by required conditions
Docker Nightly Production / Notify Discord (push) Blocked by required conditions
* Create oauth_example.yaml

* Update and rename oauth_example.yaml to oauth-provider-example.yaml
2024-03-19 01:21:53 +00:00
Hayden
5f6844eceb
feat: Login with OAuth via OpenID Connect (OIDC) (#3280)
Some checks are pending
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Docker Nightly Production / Frontend and End-to-End Tests (push) Waiting to run
Docker Nightly Production / Build Tagged Release (push) Blocked by required conditions
Docker Nightly Production / Backend Server Tests (push) Waiting to run
Docker Nightly Production / Notify Discord (push) Blocked by required conditions
* 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
boc-the-git
5b7f5738e3
Add a comment to kick PR3268 along, and for future reference 2024-03-08 19:20:31 +11:00
Brendan
8c52448da2 Exclude paths from triggering nightly build 2024-02-19 08:15:08 +00:00
boc-the-git
6c4294dc49
chore: Only run docker build and discord notify on the main repo (not forks) (#3176)
Some checks are pending
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Docker Nightly Production / Backend Server Tests (push) Waiting to run
Docker Nightly Production / Frontend and End-to-End Tests (push) Waiting to run
Docker Nightly Production / Build Tagged Release (push) Blocked by required conditions
Docker Nightly Production / Notify Discord (push) Blocked by required conditions
2024-02-17 02:39:50 +00:00
boc-the-git
2b5372f693
Remove permissions block, so it doesn't override what is inherited from parent workflow 2024-02-14 19:58:21 +11:00
Brendan
0ebc2a746b Add id-token=write permission, for Depot.dev connection 2024-02-14 01:19:12 +00:00
Brendan
2d90ae903b Add depot/setup-action 2024-02-13 10:46:35 +00:00
Brendan
d324c6ac57 Switch docker builds from running on GHA to Depot.dev. Tidy README. 2024-02-13 10:42:16 +00:00
boc-the-git
a43fd6b7fc
fix: Change release workflow to create a PR, rather than commit directly to branch (#3143)
Some checks are pending
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Docker Nightly Production / Backend Server Tests (push) Waiting to run
Docker Nightly Production / Frontend and End-to-End Tests (push) Waiting to run
Docker Nightly Production / Build Tagged Release (push) Blocked by required conditions
Docker Nightly Production / Notify Discord (push) Blocked by required conditions
* fix: Change release workflow to create a PR, rather than commit directly to branch

* Slight wording tweak

Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>

---------

Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-02-10 23:18:18 +01:00
boc-the-git
42a33cd993
fix: Give update-image-tags job write permissions to the repo, for auto doco updater (#3138)
Some checks are pending
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Docker Nightly Production / Backend Server Tests (push) Waiting to run
Docker Nightly Production / Frontend and End-to-End Tests (push) Waiting to run
Docker Nightly Production / Build Tagged Release (push) Blocked by required conditions
Docker Nightly Production / Notify Discord (push) Blocked by required conditions
2024-02-10 03:49:26 +00:00
boc-the-git
7e51cf0352
feat: On new release publish, update image tags in sample docker-compose files (#3072)
Some checks are pending
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Docker Nightly Production / Backend Server Tests (push) Waiting to run
Docker Nightly Production / Frontend and End-to-End Tests (push) Waiting to run
Docker Nightly Production / Build Tagged Release (push) Blocked by required conditions
Docker Nightly Production / Notify Discord (push) Blocked by required conditions
* WIP

* Add sed commands for image versions

---------

Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
2024-01-30 07:36:28 +00:00
boc-the-git
7c4690a7a9
docs: Change org to mealie-recipes (#3064)
* Change org to mealie-recipes

* Change org to mealie-recipes

* Change org to mealie-recipes
2024-01-28 11:32:11 +01: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
boc-the-git
09dfca4f34
Provide write permissions for issues and PRs (#3039)
Some checks are pending
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Docker Nightly Production / Backend Server Tests (push) Waiting to run
Docker Nightly Production / Frontend and End-to-End Tests (push) Waiting to run
Docker Nightly Production / Build Tagged Release (push) Blocked by required conditions
Docker Nightly Production / Notify Discord (push) Blocked by required conditions
2024-01-23 06:37:45 -06:00
boc-the-git
600c569ae8
feat: Remove debug mode from stale action (#3027)
Some checks are pending
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Docker Nightly Production / Backend Server Tests (push) Waiting to run
Docker Nightly Production / Frontend and End-to-End Tests (push) Waiting to run
Docker Nightly Production / Build Tagged Release (push) Blocked by required conditions
Docker Nightly Production / Notify Discord (push) Blocked by required conditions
2024-01-22 09:15:37 -06:00
Kuchenpirat
d17e46ee50
chore(docs): change docker-compose to docker compose (#3007)
* update docker compose

* fix swag docker compose indentation

* and again....

* indentation for the second docker compose in the swag guide
2024-01-19 10:01:37 -06:00
boc-the-git
943d65a2ac
feat: Stale action tweaks (#3005)
Some checks are pending
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Docker Nightly Production / Backend Server Tests (push) Waiting to run
Docker Nightly Production / Frontend and End-to-End Tests (push) Waiting to run
Docker Nightly Production / Build Tagged Release (push) Blocked by required conditions
Docker Nightly Production / Notify Discord (push) Blocked by required conditions
* Increase operations-per-run for greater throughput

* Populate some default values for ease of reference

* Remove quotes from "bug: confirmed" label
2024-01-19 12:21:48 +01:00
boc-the-git
f60c60be4d
feat: Use GitHub actions for Stale detection (#3001)
* Introduce stale actions

* Remove outdated/redundant stale config
2024-01-17 09:56:41 -06:00
boc-the-git
2bb2106251
feat: Implement security scans using CodeQL (#2793)
* Create codeql.yml

* Add security scanning to PR tests

* Revert "Add security scanning to PR tests"

This reverts commit 44d180bd43. The CodeQL file already responds to pull requests.

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2024-01-09 12:52:06 -09:00
boc-the-git
fae8484f84
Re-enable cache (#2865)
Some checks are pending
Docker Nightly Production / Backend Server Tests (push) Waiting to run
Docker Nightly Production / Frontend and End-to-End Tests (push) Waiting to run
Docker Nightly Production / Build Tagged Release (push) Blocked by required conditions
Docker Nightly Production / Notify Discord (push) Blocked by required conditions
2023-12-19 11:42:29 +00:00
Hayden
bbd8dd6e73
hotfix: disable cache (#2848) 2023-12-15 06:05:28 -09: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
Trenton H
c3ec875d59
chore: remove GitHub Actions deprecated command (#2790)
* Resolves GitHub Actions usage of deprecated command for setting output

* Updates action versions to the latest released versions

---------

Co-authored-by: Trenton Holmes <trenton.holmes@psware.com>
2023-12-11 14:57:13 +00:00
boc-the-git
787e2885b3
Minor enhancements (#2826) 2023-12-11 10:32:06 +00:00
Hayden
b369417690
chore: restore latest tag (#2784)
* restore dockerhub publishing

* restore latest publishing tag

* fix tag/tags inputs
2023-12-04 18:58:46 +00:00
boc-the-git
f9742b30d8
docs: Minor doco tidying (#2736)
* Fix dead link on roadmap.md

* Fix typo

* Add hyperlink
2023-11-20 17:27:16 +00:00
boc-the-git
74ea7d5e40
Implement github actions cache, for docker build (#2727) 2023-11-18 10:02:43 -06:00
boc-the-git
71f95ca3c6
Update bug-report.yaml (#2724) 2023-11-15 08:55:46 -06:00
Michael Genson
80968b02bb
feat: Remove Explore URLs and make the normal URLs public (#2632)
* add groupSlug to most routes

* fixed more routing issues

* fixed jank and incorrect routes

* remove public explore links

* remove unused groupSlug and explore routes

* nuked explore pages

* fixed public toolstore bug

* fixed various routes missing group slug

* restored public app header menu

* fix janky login redirect

* 404 recipe API call returns to login

* removed unused explore layout

* force redirect when using the wrong group slug

* fixed dead admin links

* removed unused middleware from earlier attempt

* 🧹

* improve cookbooks sidebar
fixed sidebar link not working
fixed sidebar link target
hide cookbooks header when there are none

* added group slug to user

* fix $auth typehints

* vastly simplified groupSlug logic

* allow logged-in users to view other groups

* fixed some edgecases that bypassed isOwnGroup

* fixed static home ref

* 🧹

* fixed redirect logic

* lint warning

* removed group slug from group and user pages
refactored all components to use route groupSlug or user group slug
moved some group pages to recipe pages

* fixed some bad types

* 🧹

* moved groupSlug routes under /g/groupSlug

* move /recipe/ to /r/

* fix backend url generation and metadata injection

* moved shopping lists to root/other route fixes

* changed shared from /recipes/ to /r/

* fixed 404 redirect not awaiting

* removed unused import

* fix doc links

* fix public recipe setting not affecting public API

* fixed backend tests

* fix nuxt-generate command

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2023-11-05 16:07:02 -09:00
Hayden
1a148a53de
docs: v1 cleanup (#2636)
* remove stale deployment docs

* remove from nav

* update tags

* update info on tags

* add note about dockerhub

* update features + formatting

* update PR template

* new maintainer docs

* change upgrade guide tag

* re-generate api docs
2023-10-17 09:07:57 -08:00
boc-the-git
8acd6f906e
fix: Specify COMMIT argument for Docker image build (#2626)
* Specify COMMIT argument for Docker image build

* Use correct variable

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2023-10-13 16:48:59 +00:00
Hayden
3f49e80b9a
fix: add permissions remove docs deploy (#2605) 2023-10-08 08:21:55 -08:00
Michael Genson
484c60c7ea
docs: spelling, content updates for clarity (#2581) 2023-09-28 15:17:10 -08:00
Hayden
084ad4228b
remove permissions from nested workflow 2023-09-14 09:42:46 -05:00
Hayden
86b0b6761d
add permissions to build-release 2023-09-14 09:42:32 -05:00
Hayden
2ad6af2cce
feat: consolidate deployment targets and publish to ghcr.io (#2539)
* WIP: proof of concept

* basic meta tag injection

* add support for scraping public/private links

* make tests go brrrrr

* cleanup initialization

* rewrite build config

* remove recipe meta on frontend

* make type checker happy

* remove other deployment methods

* fix issue with JSON response on un-authenticated request

* docs updates

* update tivy scanner

* fix linter stuff

* change registry tag

* build fixes

* fix same mistake I always make
2023-09-14 06:40:13 -08:00
Hayden
e28b830cd4
hotfix: format 2023-09-06 23:20:59 -05:00
Matthew Macdonald-Wallace
71f1607b58
chore: switch to workflow actions and upload to GHCR (#2355)
* Switch to workflow actions and upload to GHCR

* cleanup yml file

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2023-09-06 19:20:42 -08:00
renovate[bot]
3ccae9e366
chore(deps): update actions/setup-node action to v3.7.0 (#2468)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2023-08-20 10:18:12 -08:00
Michael Genson
bdf6b1054e
Chore: Rename Omni Build Action (#2483)
* fix omni action name

* added omni to Discord notification text
2023-08-06 19:58:38 -08:00
Hayden
3fb60339a6
remove duplicate issues 2023-08-06 12:39:45 -05:00
Hayden
89a6b32a3f
fix syntax errors 2023-08-06 12:39:02 -05:00
Hayden
6901747a26
chore: rework issue templates (#2481)
* rewrok issue templates

* fix feature request links

* feature-template
2023-08-06 09:35:38 -08:00
renovate[bot]
37505d896c
chore(deps): update actions/cache action to v3.3.1 (#2230)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-21 11:45:42 -08:00