Commit Graph

110 Commits

Author SHA1 Message Date
boc-the-git
7e51cf0352 feat: On new release publish, update image tags in sample docker-compose files (#3072)
* 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) 2024-01-23 06:37:45 -06:00
boc-the-git
600c569ae8 feat: Remove debug mode from stale action (#3027) 2024-01-22 09:15:37 -06:00
boc-the-git
943d65a2ac feat: Stale action tweaks (#3005)
* 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) 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
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
74ea7d5e40 Implement github actions cache, for docker build (#2727) 2023-11-18 10:02:43 -06: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
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
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
Carter
7d9be67432 feat: LDAP Improvements and E2E testing (#2199)
* add option to enable starttls for ldap

* add integration test for ldap service

* document new, optional environment variable

* fix: support anonymous bind

* id and mail attributes in LDAP_USER_FILTER should be implied

* remove print statement
2023-03-12 12:36:32 -08:00
Hayden
d3f893dec2 chore: auto-set-version-on-ci (#2188)
* setup __version__ on build

* make build clickable link

* fix else-if
2023-02-26 11:51:04 -09:00
renovate[bot]
6a1503d1f6 chore(deps): update actions/cache action to v3.2.6 (#2160)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-23 09:30:14 -09:00
renovate[bot]
2a929865e2 chore(deps): update actions/cache action to v3.2.5 (#2110)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-11 10:12:25 -09:00
renovate[bot]
2b8cffd31d chore(deps): update actions/cache action to v3.2.4 (#2080)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-05 09:15:10 -09:00
renovate[bot]
518f9a8228 chore(deps): update actions/cache action to v3.2.3 (#2018)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-24 13:15:03 -09:00
renovate[bot]
4d98d2174e chore(deps): update actions/setup-node action to v3.6.0 (#1989)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-05 11:15:10 -09:00
renovate[bot]
2fc3873bad chore(deps): update docker/login-action action to v2 (#1963)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-01 13:57:25 -09:00
renovate[bot]
e329e1cd15 chore(deps): update docker/setup-qemu-action action to v2 (#1966)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-01 12:37:37 -09:00
renovate[bot]
013d67fa15 chore(deps): update docker/setup-buildx-action action to v2 (#1964)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-01 12:28:09 -09:00
renovate[bot]
22024a7738 chore(deps): update actions/cache action to v3 (#1951)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 09:02:33 -09:00
renovate[bot]
745a7f481b chore(deps): update actions/checkout action to v3 (#1952)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 09:02:19 -09:00
renovate[bot]
cd45f09075 chore(deps): update actions/setup-node action to v3 (#1953)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 09:02:07 -09:00
renovate[bot]
05a092215e chore(deps): update actions/setup-python action to v4 (#1955)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-31 09:01:44 -09:00
Hayden
e281f53488 chore: refactor-docker-structure (#1948)
* move dockerfiles to dedicated folder

* consolidate docker related files to docker dir

* update CI references

* experimental omni style container

* update makefile commands

* update references

* fix whitespace

* single container docs

* update build paths

* adds omni style build

* set context
2022-12-31 09:01:15 -09:00
renovate[bot]
28cdd485f3 chore(deps): update actions/setup-node action to v2.5.1 (#1935)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-30 11:38:43 -09:00
renovate[bot]
3ed7bc14d8 chore(deps): update actions/cache action to v2.1.7 (#1923)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-29 14:24:21 -09:00
Patrick
0801f0a908 ci: add trivy image scanning (#1663)
* add trivy image scanning

* implement as partial workflow

* support both the frontend and backend Dockerfiles for scanning

* fix docker build context location
2022-11-30 20:21:46 -09:00
Hayden
82dc586bac chores: updates-and-linters (#1868)
* switch to ruff

* add ruff

* run ruff --fix

* update ruff

* resolve ruff errors

* drop isort from CI

* fix decorator order
2022-11-30 20:20:28 -09:00
Hayden
89d0cae51d refactor: rewrite cleaner functions for parsing recipe dicts (#1743)
* rewrite cleaner functions

* unify verbage

* try importing dep during check

* fix syntax

* allow override defaults

* satisfy mypy
2022-11-10 15:16:51 -09:00
Hayden
5a41e1d02d update workflow to properly grab tag 2022-10-25 09:27:30 -08:00
Hayden
fcc5d99d40 chore: frontend testing setup (#1739)
* add vitest

* initialize lib w/ tests

* move to dev dep

* run tests in CI

* update file names

* move api folder to lib

* move api and api types to same folder

* update generator outpath

* rm husky

* i guess i _did_ need those types

* reorg types

* extract validators into testable components

* (WIP) start composable testing

* fix import type

* fix linter complaint

* simplify icon type def

* fix linter errors (maybe?)

* rename client file for sorting
2022-10-22 11:51:07 -08:00
Hayden
6159b55be9 fix: image and CI errors (#1694)
* bump cache version

* bump version

* delete template file

* maybe fix invalid CI?

* chain status command

* fix add tesseract bin to container & bump poetry (#1676)

* Add tesseract bin to container

* Add tesseract bin

Co-authored-by: Miroito <88556823+Miroito@users.noreply.github.com>
2022-10-02 16:24:13 -08:00
Hayden
db70a210a2 fix concurrent builds 2022-09-25 16:10:18 -08:00
Hayden
39adea4ee3 feat (WIP): bring png OCR scanning support (#1670)
* Add pytesseract

* Add simple ocr endpoint

replace extension argument

* feat/ocr-editor gui

* fix frontend linting issues

* Add service unit tests

* Add split text modes & single ingredient/instruction editing

* make split mode really reactive

* Remove default step and ingredient

* make the linter haappy

* Accept only image uploads

* Add automatic recipe title suggestion

* Correct regex

* fix incorrect array.map method usage

* make the linter happy again

* Swap route to use asset name

* Rearange buttons

* fix test data

* feat: Allow making image the recipe image

* Add translation

* Make the linter happy

* Restrict function setPropertyValueByPath generic

* Restrict template literal type

* Add a more friendly icon to creation page

* update poetry lock file

* Correct sloppy ocr classes

* Make MyPy happy

* Rewrite safer tests

* Add tesseract to backend test CI container dependencies

* Make canvas element a component global

* Remove unwanted spaces in selected text

* Add way to know if recipe was created with ocr

* Access to ocr-editor for ocr recipes

* Update Alembic revision

* Make the frontend build

* Fix scrolling offset bug

* Allow creation of recipes with custom settings

* Fix rebasing mistakes

* Add format_tsv_output test

* Exclude the tests data directory only

* Enforce camelCase for frontend functions

* Remove import of unused component

* Fix type and class initialization

* Add multi-language support

* Highlight words in mount

* Fix image ratio bug

* Better ocr creation page

* Revert awkward feature to scroll in Selection mode

* Rebasing alembic migrations sux

* Remove obsolete getShared function

* Add function docstring

* Move down ocr creation option

* Make toolbar icons more generic

* Show help at the bottom of the page

* move ocr types to own file

* Use template ref for the canvas

* Use i18n.tc to get strings directly

* Correct naming mistake

* Move Ocr editor to own directory

* Create Ocr Editor parts

* Safeguard recipe properties access

* Add loading frontend animation due to longer request time

* minor cleanup chores

Co-authored-by: Miroito <alban.vachette@gmail.com>
2022-09-25 15:00:45 -08:00