Hayden
fc92c39b7c
feat: additional events dispatch ( #1999 )
...
* formatting
* add new user type
* add registration event
* publish events on new mealplan
* update UI for supported types + type updates
2023-01-07 10:18:08 -09:00
Hayden
71d3db7aef
refactor: move dependencies to controllers ( #1550 )
...
* Moves dependencies directly to controllers
* Reduces use of @cached_property - (I have a suspicion that this is a factor in memory usage)
* reduce duplicate ways to access the same property on a controller.
2022-08-11 20:13:22 -08:00
Hayden
b2066dfe72
feat: add initial notification support
...
* Add updated recipe notification
* Add recipe deleted notification
* Add notifications translations
* Shopping lists full c/u/d notifications
* Add categories c/u/d notifications
* Deal with None values in translation provider
* Add tag c/u/d notifications
* Add cookbook c/u/d notifications
* use single key pairs for consistency with frontend
* change dependency injection strategy
* use generic update messages
* use service to manage url generation server-side
* use new strategies for messages
* fix translator
Co-authored-by: Miroito <alban.vachette@gmail.com >
2022-05-21 10:23:55 -08:00
Hayden
7e4da3e5a4
feat: improved registration signup flow ( #1188 )
...
refactored signup flow for entire registration process. Utilized seed data option for optional seeding of Foods, Units, and Labels. Localized registration page.
2022-05-06 11:18:06 -08:00
Hayden
13e157827c
Fix/fix block registration ( #1059 )
...
* fix disable button
* add backend env for restricting registration
* update state management
* add allow_signup to app info
* move allow_signup to backend only
* cleanup docker-compose
* potential darkmode fix
* fix missing variable
* add banner on login page
* use random bools for tests
* fix initial state bug
* fix state reset
2022-03-15 17:34:53 -08:00
Hayden
c4540f1395
Refactor/conver to controllers ( #923 )
...
* add dependency injection for get_repositories
* convert events api to controller
* update generic typing
* add abstract controllers
* update test naming
* migrate admin services to controllers
* add additional admin route tests
* remove print
* add public shared dependencies
* add types
* fix typo
* add static variables for recipe json keys
* add coverage gutters config
* update controller routers
* add generic success response
* add category/tag/tool tests
* add token refresh test
* add coverage utilities
* covert comments to controller
* add todo
* add helper properties
* delete old service
* update test notes
* add unit test for pretty_stats
* remove dead code from post_webhooks
* update group routes to use controllers
* add additional group test coverage
* abstract common permission checks
* convert ingredient parser to controller
* update recipe crud to use controller
* remove dead-code
* add class lifespan tracker for debugging
* convert bulk export to controller
* migrate tools router to controller
* update recipe share to controller
* move customer router to _base
* ignore prints in flake8
* convert units and foods to new controllers
* migrate user routes to controllers
* centralize error handling
* fix invalid ref
* reorder fields
* update routers to share common handling
* update tests
* remove prints
* fix cookbooks delete
* fix cookbook get
* add controller for mealplanner
* cover report routes to controller
* remove __future__ imports
* remove dead code
* remove all base_http children and remove dead code
2022-01-13 13:06:52 -09:00
Hayden
bdaf758712
feat(backend): ✨ start multi-tenant support (WIP) ( #680 )
...
* fix ts types
* feat(code-generation): ♻️ update code-generation formats
* new scope
* add step button
* fix linter error
* update code-generation tags
* feat(backend): ✨ start multi-tenant support
* feat(backend): ✨ group invitation token generation and signup
* refactor(backend): ♻️ move group admin actions to admin router
* set url base to include `/admin`
* feat(frontend): ✨ generate user sign-up links
* test(backend): ✅ refactor test-suite to further decouple tests (WIP)
* feat(backend): 🐛 assign owner on backup import for recipes
* fix(backend): 🐛 assign recipe owner on migration from other service
Co-authored-by: hay-kot <hay-kot@pm.me >
2021-09-09 08:51:29 -08:00
Hayden
3c504e7048
feat(backend): ✨ migrate site-settings to groups ( #673 )
...
* feat(frontend): ✨ add user registration page (WIP)
* feat(backend): ✨ add user registration (WIP)
* test(backend): ✅ add validator testing for registration schema
* feat(backend): ✨ continued work on user sign-up
* feat(backend): ✨ add signup flow and user/group settings
* test(backend): ✅ user-creation tests and small refactor of existing tests
* fix(backend): ✅ fix failing group tests
* style: 🎨 fix lint issues
Co-authored-by: hay-kot <hay-kot@pm.me >
2021-09-05 22:05:29 -08:00