mealie/frontend/pages
Hayden 476aefeeb0
refactor(backend): ♻️ cleanup HTTP service classes and remove database singleton (#687)
* refactor(backend): ♻️ cleanup duplicate code in http services

* refactor(backend): ♻️ refactor database away from singleton design

removed the database single and instead injected the session into a new Database class that is created during each request life-cycle. Now sessions no longer need to be passed into each method on the database

All tests pass, but there are likely some hidden breaking changes that were not discovered.

* fix venv

* disable venv cache

* fix install script

* bump poetry version

* postgres fixes

* revert install

* fix db initialization for postgres

* add postgres to docker

* refactor(backend): ♻️ cleanup unused and duplicate code in http services

* refactor(backend): remove sessions from arguments

* refactor(backend): ♻️ convert units and ingredients to use http service class

* test(backend):  add unit and food tests

* lint

* update tags

* re-enable cache

* fix missing fraction in db

* fix lint

Co-authored-by: hay-kot <hay-kot@pm.me>
2021-09-19 15:31:34 -08:00
..
admin feat(backend): migrate site-settings to groups (#673) 2021-09-05 22:05:29 -08:00
cookbooks feat(backend): migrate site-settings to groups (#673) 2021-09-05 22:05:29 -08:00
meal-plan refactor(backend): ♻️ cleanup HTTP service classes and remove database singleton (#687) 2021-09-19 15:31:34 -08:00
recipe feat(backend): start multi-tenant support (WIP) (#680) 2021-09-09 08:51:29 -08:00
recipes refactor(frontend): ♻️ split user profile/management (#670) 2021-09-04 20:24:32 -08:00
shopping-list reorganize all frontend items 2021-08-01 19:24:47 -08:00
user feat(backend): start multi-tenant support (WIP) (#680) 2021-09-09 08:51:29 -08:00
index.vue fix recipe static routes 2021-08-09 16:19:23 -08:00
login.vue fix(frontend): 🐛 fix login page setup script 2021-09-14 12:26:28 -08:00
register.vue feat(backend): start multi-tenant support (WIP) (#680) 2021-09-09 08:51:29 -08:00
search.vue feat(backend): rewrite mealplanner with simple api (#683) 2021-09-12 11:05:09 -08:00