1738 Commits

Author SHA1 Message Date
Carter
5e904d19b4
docs: re-add and fix the bookmarklet instructions to docs (#2419) 2023-06-20 22:09:20 -08:00
Carter
eea38a5b1e
fix: url format in the recipe chip (#2420) 2023-06-20 22:08:47 -08:00
Hayden
674774d073
New Crowdin updates (#2387)
* New translations en-US.json (Norwegian)

* New translations en-US.json (Portuguese)

* New translations en-US.json (Portuguese)

* New translations en-US.json (Portuguese)

* New translations en-US.json (Polish)

* New translations en-US.json (Portuguese)

* New translations en-US.json (Polish)

* New translations en-US.json (Polish)

* New translations en-US.json (Portuguese)

* New translations en-US.json (Portuguese)

* New translations en-US.json (Portuguese)

* New translations en-US.json (Portuguese)

* New translations en-US.json (Portuguese)

* New translations en-US.json (Portuguese)

* New translations en-US.json (French)
2023-05-29 16:56:38 -08:00
Jacob Corn
e1d3a247c7
feat: random sort option for front page (#2363)
* Add hook for random sorting

* Add random sorting to front page

* Add multiple tests for random sorting.

* Be extra sure that all recipes are returned.

* Too stable random. seed doesn't reach backend.

* add timestamp to useRecipeSearch

* Update randomization tests for timestamp seeding

* ruff cleanup

* pass timestamp separately in getAll

* remove debugging log items

* remove timestamp from address bar

* remove defaults from backend timestamps

* timestamp should be optional

* fix edge case: query without timestamp

* similar edge case: no timestamp in pagination

* ruff :/

* better edge case handling

* stabilize random search test w/more recipes

* better pagination seeding

* update pagination seed test

* remove redundant random/seed check

* Test for api routes to random sorting.

* please the typing gods

* hack to make query parameters throw correct exc

* ruff

* fix validator message typo

* black reformatting

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2023-05-29 16:56:20 -08:00
Jacob Corn
7e0d29afc7
feat: search tokenization, handling of quoted literal search, and postgres fuzziness (#2351)
* Creating postgres migration script and starting to set up to detect database

* non-working placeholders for postgres pg_tgrm

* First draft of some indexes

* non-working commit of postgres indexing

* Further non-working edits to db-centric fuzzy search

* update alembic for extensions

* More non-working setup

* Move db type check to init_db

* fix typo in db name check

* Add sqlite token search and postgres full text search

* reorder search to hit exact matches faster

* Add settings and docs for POSTGRES_LANGUAGE (full text search)

* Use user-specified POSTGRES_LANGUAGE in search

* fix fuzzy search typo

* Remove full text search and instead order by trigram match

* cleaner adding of indices, remove fulltext

* Cleanup old import of getting app settings

* Fix typo in index

* Fix some alembic fuzzy typos

* Remove diagnostic printing from alembic migration

* Fix mixed up commutator for trigram operator and relax criteria

* forgot to remove query debug

* sort only on name

* token and fuzzy search tests

* Refactor recipe search test to avoid rare random string cross-matches.

* Add ability to quote parts of search for exact match

* Remove internal punctuation, unless it's quoted for literal search

* Add tests for special character removal and literal search

* Remove the outer double quotes from searches, but leave internal single quotes alone.

* Update tests to avoid intra-test name collisions

* Fixing leftovers highlighted by lint

* cleanup linting and mypy errors

* Fix test cross-matching on dirty db (leftovers from bulk import)

* forgot to cleanup something when debugging mypy errors

* re-order pg_trgm loading in postgres

* address comments
2023-05-28 09:46:53 -08:00
Jacob Corn
27ebb4c462
docs: update dev docs, fix broken links, improve clarity of key points (#2354)
* Dev docs: tests, postgres/psycog2

* Update pull request process.

* Add Food/Unit parsing instructions to the FAQ

* Update docker composes: mealie-data now local to docker-compose rather than hidden in docker volume dir! postgres points to 1.0.0b5

* sqlite docker-compose: mealie-data now local rather than hidden in docker volumes

* Merge Intro FAQ into main FAQ

* Progress on docs

* Add Advanced and v1b5 to docs index

* v1b5 changelog consistency with other changelogs

* Features: fix wrong link, name buttons for clarity

* Migration: link to github releases

* Updating: link to migration page, format docker cmds

* FAQ: update smart ingredient formatting

* Intro: fix typos

* API: update for newbie clarity

* Roadmap: update feature request & progress mechanism

* iOS shortcut: fix broken image links

* installation: add SMTP google app passwords

* Postgres: add header note on why.

* Update Groups doc per Discord discussion

* mealie-data back into docker default volume path
2023-05-13 10:50:22 -08:00
Michael Genson
8e2d50054c
Fix: Query Filter Date Comparisons Are Off By One Date (#2389)
* fixed erroneous date -> datetime conversion

* added tests for date and datetime bounds
2023-05-11 22:28:14 -08:00
Michael Genson
5d87b7e411
feature: query filter support for common SQL keywords (#2366)
* added support for SQL keywords IS, IN, LIKE, NOT
deprecated datetime workaround for "<> null"
updated frontend reference for "<> null" to "IS NOT NULL"

* tests

* refactored query filtering to leverage orm

* added CONTAINS ALL keyword

* tests

* fixed bug where "and" or "or" was in an attr name

* more tests

* linter fixes

* TIL this works
2023-05-06 14:28:40 -08:00
renovate[bot]
9b726126ed
chore(deps): update dependency pylint to v2.17.3 (#2381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-06 10:03:04 -08:00
renovate[bot]
c6346ed2a5
chore(deps): update dependency mkdocs-material to v9.1.9 (#2379)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-06 10:02:50 -08:00
Michael Genson
20a78677ef
fix: Potential Fix for Global Timeline Server Error (#2372)
* simplified group id logic

* moved onscroll listener to on-mounted
2023-05-06 10:01:38 -08:00
Hayden
23786c1f5e
bump ruff and do fixes (#2375) 2023-05-05 14:43:23 -08:00
Michael Genson
f27bb00dc3
fix: remove old prop reference (#2367) 2023-05-05 14:17:29 -08:00
Jacob Corn
2e43b51882
Add failed login & IP to log (#2365)
* Add failed login & IP to log

* Small change for human readability/intuitiveness
2023-05-05 14:15:55 -08:00
Hayden
a2e69b5565
New Crowdin updates (#2340)
* New translations en-US.json (Danish)

* New translations en-US.json (French)

* New translations en-US.json (Danish)

* New translations en-US.json (Italian)

* New translations en-US.json (Italian)

* New translations en-US.json (Swedish)

* New translations en-US.json (Swedish)

* New translations en-US.json (German)

* New translations en-US.json (Swedish)

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

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

* New translations en-US.json (Japanese)

* New translations en-US.json (Japanese)

* New translations en-US.json (Japanese)

* New translations en-US.json (Japanese)

* New translations en-US.json (Japanese)

* New translations en-US.json (Japanese)

* New translations en-US.json (Japanese)

* New translations en-US.json (Japanese)

* New translations en-US.json (Japanese)

* New translations en-US.json (Japanese)

* New translations en-US.json (Finnish)

* New translations en-US.json (Finnish)

* New translations en-US.json (Italian)

* New translations en-US.json (Japanese)

* New translations en-US.json (Japanese)

* New translations en-US.json (Japanese)

* New translations en-US.json (Japanese)

* New translations en-US.json (Japanese)

* New translations en-US.json (Japanese)

* New translations en-US.json (Finnish)

* New translations en-US.json (Japanese)

* New translations en-US.json (Japanese)

* New translations en-US.json (Japanese)

* New translations en-US.json (Finnish)

* New translations en-US.json (Italian)

* New translations en-US.json (Swedish)

* New translations en-US.json (German)

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

* New translations en-US.json (Japanese)

* New translations en-US.json (Finnish)

* New translations en-US.json (Romanian)

* New translations en-US.json (French)

* New translations en-US.json (Spanish)

* New translations en-US.json (Afrikaans)

* New translations en-US.json (Arabic)

* New translations en-US.json (Bulgarian)

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

* New translations en-US.json (Hungarian)

* New translations en-US.json (Korean)

* New translations en-US.json (Lithuanian)

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

* New translations en-US.json (Slovenian)

* New translations en-US.json (Serbian (Cyrillic))

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

* New translations en-US.json (English, United Kingdom)

* New translations en-US.json (French, Canada)

* New translations en-US.json (German)

* New translations en-US.json (Czech)

* New translations en-US.json (Ukrainian)

* New translations en-US.json (Czech)

* New translations en-US.json (Dutch)

* New translations en-US.json (German)

* New translations en-US.json (Turkish)

* New translations en-US.json (Russian)

* New translations en-US.json (Norwegian)

* New translations en-US.json (Norwegian)

* New translations en-US.json (Norwegian)

* New translations en-US.json (Czech)

* New translations en-US.json (Czech)

* New translations en-US.json (Czech)

* New translations en-US.json (Finnish)

* New translations en-US.json (Romanian)

* New translations en-US.json (Czech)

* New translations en-US.json (Italian)
2023-05-05 14:11:53 -08:00
Michael Genson
75698c531a
fix: Shopping List Label Dropdown Doesn't Save Correctly (#2361)
* only update items by label on refresh

* made changes more responsive

* fast re-order items when labels are re-ordered
2023-04-25 09:46:58 -08:00
Michael Genson
fe17922bb8
Feature: Global Timeline (#2265)
* extended query filter to accept nested tables

* decoupled timeline api from recipe slug

* modified frontend to use simplified events api

* fixed nested loop index ghosting

* updated existing tests

* gave mypy a snack

* added tests for nested queries

* fixed "last made" render error

* decoupled recipe timeline from dialog

* removed unused props

* tweaked recipe get_all to accept ids

* created group global timeline
added new timeline page to sidebar
reformatted the recipe timeline
added vertical option to recipe card mobile

* extracted timeline item into its own component

* fixed apploader centering

* added paginated scrolling to recipe timeline

* added sort direction config
fixed infinite scroll on dialog
fixed hasMore var not resetting during instantiation

* added sort direction to user preferences

* updated API docs with new query filter feature

* better error tracing

* fix for recipe not found response

* simplified recipe crud route for slug/id
added test for fetching by slug/id

* made query filter UUID validation clearer

* moved timeline menu option below shopping lists

---------

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
2023-04-25 09:46:00 -08:00
Michael Genson
0e397b34fd
fix: broken frontend development (#2357)
* dependency hell be like

* moved resolution to subdependency only
2023-04-25 09:44:48 -08:00
renovate[bot]
fa59c1eb0b
fix(deps): update dependency apprise to v1.3.0 (#2334)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-05 18:07:13 -08:00
renovate[bot]
998029da6f
fix(deps): update dependency alembic to v1.10.3 (#2333)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-05 18:06:55 -08:00
renovate[bot]
d117b4075b
chore(deps): update dependency pylint to v2.17.2 (#2332)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-05 18:06:13 -08:00
Hayden
e8de70c894
New Crowdin updates (#2331)
* New translations en-US.json (Spanish)

* New translations en-US.json (Spanish)
2023-04-05 18:05:50 -08:00
renovate[bot]
16b47a3c10
chore(deps): update dependency pre-commit to v3.2.2 (#2330)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-05 18:05:22 -08:00
renovate[bot]
05a7047ae3
chore(deps): update dependency eslint to v8.37.0 (#2329)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-05 18:04:43 -08:00
renovate[bot]
de4debe749
fix(deps): update dependency psycopg2-binary to v2.9.6 (#2320)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 11:56:17 -08:00
renovate[bot]
fcdb11d8a1
chore(deps): update dependency black to v23.3.0 (#2327)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 11:56:05 -08:00
renovate[bot]
6c625e402c
fix(deps): update dependency recipe-scrapers to v14.36.0 (#2326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 11:55:37 -08:00
Hayden
750072344d
New Crowdin updates (#2319)
* New translations en-US.json (French)

* New translations en-US.json (Slovak)

* New translations en-US.json (Swedish)

* New translations en-US.json (Norwegian)

* New translations en-US.json (Norwegian)
2023-04-04 11:29:29 -08:00
renovate[bot]
d735f1c0d8
fix(deps): update dependency sqlalchemy to v2.0.8 (#2322)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 11:29:02 -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]
0ff46cda92
chore(deps): update dependency eslint-plugin-vue to v9.10.0 (#2289)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 11:28:13 -08:00
renovate[bot]
4e251b3092
fix(deps): update dependency recipe-scrapers to v14.35.0 (#2318)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-04 11:26:44 -08:00
Carter
10730bfa77
[Fix] Filter out the LDAP entries which do not have a DN (#2288)
* use first returned ldap entry

* set OPT_REFERRALS to 0

* filter out ldap entries not having a dn
2023-04-04 09:22:47 -08:00
renovate[bot]
03b7d9e200
fix(deps): update dependency orjson to v3.8.9 (#2315)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 10:06:28 -08:00
renovate[bot]
8a683e7344
chore(deps): update dependency vitest to v0.29.8 (#2314)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 10:06:14 -08:00
renovate[bot]
f4dbbcc439
chore(deps): update dependency rich to v13.3.3 (#2313)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 10:06:04 -08:00
Hayden
4126681f8c
New Crowdin updates (#2316)
* New translations en-US.json (Romanian)

* New translations en-US.json (French)

* New translations en-US.json (Spanish)

* New translations en-US.json (Afrikaans)

* New translations en-US.json (Arabic)

* New translations en-US.json (Bulgarian)

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

* New translations en-US.json (Hebrew)

* New translations en-US.json (Hungarian)

* New translations en-US.json (Italian)

* New translations en-US.json (Japanese)

* New translations en-US.json (Korean)

* New translations en-US.json (Lithuanian)

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

* New translations en-US.json (Slovenian)

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

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

* New translations en-US.json (English, United Kingdom)

* New translations en-US.json (French, Canada)

* New translations en-US.json (Danish)

* New translations en-US.json (Turkish)

* New translations en-US.json (German)

* New translations en-US.json (Ukrainian)

* New translations en-US.json (Spanish)

* New translations en-US.json (Catalan)

* New translations en-US.json (French)
2023-04-03 10:05:52 -08:00
rastacalavera
13aa57a3d2
updated iOS shortcut (#2317)
* Update ios.md

updated for version 1.X

* Update ios.md

fixing spaces

* Add files via upload

adding screenshots

* Update ios.md

fixed screen shot path and shrunk images down

* Add files via upload

added smaller screen shots
2023-04-03 10:04:51 -08:00
Michael Genson
73476c10f8
feat: Parser Workflow Improvements (#2249)
* ensure recipe settings are set after parsing

* added insert and delete functionality

* added errors recalculation to use the new index
2023-04-01 17:43:59 -08:00
renovate[bot]
8a0ee351c5
chore(deps): update dependency coverage to v7.2.2 (#2287)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-01 17:43:27 -08:00
renovate[bot]
5d61b3a822
chore(deps): update dependency mkdocs-material to v9.1.5 (#2295)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-01 17:43:11 -08:00
rastacalavera
721a1cdeae
Update community guide (#2309)
* Update ios.md

updated for version 1.X

* Update ios.md

fixing spaces

* Add files via upload

adding screenshots
2023-04-01 17:42:49 -08:00
renovate[bot]
f7310bc7c3
chore(deps): update dependency mypy to v1.1.1 (#2296)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-01 17:42:31 -08:00
Hayden
b0b06200f8
New Crowdin updates (#2293)
* New translations en-US.json (German)

* New translations en-US.json (Hebrew)

* New translations en-US.json (Hebrew)

* New translations en-US.json (Ukrainian)

* New translations en-US.json (Ukrainian)

* New translations en-US.json (Ukrainian)

* New translations en-US.json (Ukrainian)

* New translations en-US.json (Slovak)

* New translations en-US.json (Slovak)

* New translations en-US.json (Slovak)

* New translations en-US.json (Slovak)

* New translations en-US.json (Slovak)

* New translations en-US.json (Slovak)

* New translations en-US.json (Slovak)

* New translations en-US.json (Slovak)

* New translations en-US.json (Slovak)

* New translations en-US.json (Catalan)

* New translations en-US.json (Catalan)

* New translations en-US.json (Spanish)

* New translations en-US.json (Catalan)

* New translations en-US.json (Spanish)

* New translations en-US.json (Slovak)

* New translations en-US.json (Slovak)

* New translations en-US.json (Slovak)

* New translations en-US.json (Romanian)

* New translations en-US.json (Romanian)

* New translations en-US.json (Romanian)

* New translations en-US.json (Slovak)

* New translations en-US.json (Slovak)

* New translations en-US.json (Polish)

* New translations en-US.json (Polish)

* New translations en-US.json (Polish)

* New translations en-US.json (Ukrainian)

* New translations en-US.json (Ukrainian)

* New translations en-US.json (Ukrainian)

* New translations en-US.json (Ukrainian)
2023-04-01 17:42:04 -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
Hayden
ab04d1f595
New Crowdin updates (#2278)
* New translations en-US.json (German)

* New translations en-US.json (Hebrew)

* New translations en-US.json (Hebrew)

* New translations en-US.json (Hebrew)

* New translations en-US.json (Hebrew)

* New translations en-US.json (Hebrew)

* New translations en-US.json (Hebrew)

* New translations en-US.json (German)

* New translations en-US.json (Hebrew)

* New translations en-US.json (Hebrew)

* New translations en-US.json (Hebrew)

* New translations en-US.json (German)

* New translations en-US.json (Hebrew)

* New translations en-US.json (Hebrew)

* New translations en-US.json (Hebrew)

* New translations en-US.json (Hebrew)

* New translations en-US.json (Hebrew)

* New translations en-US.json (Hebrew)

* New translations en-US.json (Hebrew)

* New translations en-US.json (Hebrew)

* New translations en-US.json (Hebrew)
2023-03-24 08:31:44 -08:00
renovate[bot]
d56604d19b
fix(deps): update dependency sqlalchemy to v2.0.7 (#2286)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 08:31:21 -08:00
renovate[bot]
8a0552c902
fix(deps): update dependency python-slugify to v8.0.1 (#2282)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 08:31:09 -08:00
renovate[bot]
4c0e27b849
fix(deps): update dependency pydantic to v1.10.7 (#2281)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 08:30:50 -08:00
renovate[bot]
04c7928963
fix(deps): update dependency orjson to v3.8.8 (#2280)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-24 08:30:23 -08:00