Hayden
1a23f867da
feat: admin maintenance and analytics stubs ( #1107 )
...
* add tail log viewer routes
* add log viewer
* add _mealie to ignore directories
* add detailed breakdown of storage
* generate types
* add dialog to view breakdown
* cleanup mobile UI
* move migrations page
* spelling
* init analytics page
* move route up
* add remove temp files function
* analytics API client
* stub out analytics pages
* generate types
* stub out analytics routes
* update names
* ignore types
* temporary remove analytics from sidebar
2022-03-29 08:25:28 -08:00
Hayden
11b4d2389a
chore: refactor base schema ( #1098 )
...
* remove dead backup code
* implmenet own base model
* refactor to use MealieModel instead of CamelModel
* cleanup deps
2022-03-25 10:56:49 -08:00
Hayden
4ef649231b
feat: admin maintenance page ( #1096 )
...
* fix build typo
* generate types
* setup maintenance api for common cleanup actions
* admin maintenance page
* remove duplicate use-with-caution
2022-03-24 22:17:38 -08:00
Hayden
ffb3b45ac2
feat: add build id from commit hash ( #1095 )
...
* fix old ref
* capture git commit as build ID
* generate new types
* display build on Site Settings page
* fix extras crash it extras is none
2022-03-24 20:29:01 -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
3c2744a3da
improve developer tooling (backend) ( #1051 )
...
* add basic pre-commit file
* add flake8
* add isort
* add pep585-upgrade (typing upgrades)
* use namespace for import
* add mypy
* update ci for backend
* flake8 scope
* fix version format
* update makefile
* disable strict option (temporary)
* fix mypy issues
* upgrade type hints (pre-commit)
* add vscode typing check
* add types to dev deps
* remote container draft
* update setup script
* update compose version
* run setup on create
* dev containers update
* remove unused pages
* update setup tips
* expose ports
* Update pre-commit to include flask8-print (#1053 )
* Add in flake8-print to pre-commit
* pin version of flake8-print
* formatting
* update getting strated docs
* add mypy to pre-commit
* purge .mypy_cache on clean
* drop mypy
Co-authored-by: zackbcom <zackbcom@users.noreply.github.com >
2022-03-15 15:01:56 -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
190773c5d7
Feature/group based notifications ( #918 )
...
* fix group page
* setup group notification for backend
* update type generators
* script to auto-generate schema exports
* setup frontend CRUD interface
* remove old notifications UI
* drop old events api
* add test functionality
* update naming for fields
* add event dispatcher functionality
* bump to python 3.10
* bump python version
* purge old event code
* use-async apprise
* set mealie logo as image
* unify styles for buttons rows
* add links to banners
2022-01-09 21:04:24 -09:00
Hayden
c32d7d7486
feat: ✨ add user recipe export functionality ( #845 )
...
* feat(frontend): ✨ add user recipe export functionality
* remove depreciated folders
* change/remove depreciated folders
* add testing variable in config
* add GUID support for group_id
* improve testing feedback on 422 errors
* remove/cleanup files/folders
* initial user export support
* delete unused css
* update backup page UI
* remove depreciated settings
* feat: ✨ export download links
* fix #813
* remove top level statements
* show footer
* add export purger to scheduler
* update purge glob
* fix meal-planner lockout
* feat: ✨ add bulk delete/purge exports
* style(frontend): 💄 update UI for site settings
* feat: ✨ add version checker
* update documentation
Co-authored-by: hay-kot <hay-kot@pm.me >
2021-12-04 14:18:46 -09:00
Hayden
791aa8c610
feat(backend): ✨ refactor/fix group management for admins ( #838 )
...
* fix(frontend): 🐛 update dialog implementation to simplify state management
* test(backend): ✅ refactor test fixtures + admin group tests
* chore(backend): 🔨 add launcher.json for python debugging (tests)
* fix typing
* feat(backend): ✨ refactor/fix group management for admins
* feat(frontend): ✨ add/fix admin group management
* add LDAP checker
Co-authored-by: hay-kot <hay-kot@pm.me >
2021-11-25 14:17:02 -09:00
Hayden
dce84c3937
refactor: ♻️ rewrite admin CRUD interface for admins ( #825 )
...
* docs: 📝 general documentation + add FAQ page
* fix(frontend): 🐛 readd missing upload button to backups.
* feat(backend): ✨ add support for backup sizes to be displayed on frontend
* feat(backend): ✨ add backend for administrator CRUD of users
* add admin support for user
* refactor(frontend): ♻️ rewrite admin CRUD interface for admins
* fix build errors
Co-authored-by: hay-kot <hay-kot@pm.me >
2021-11-23 18:57:24 -09:00
Hayden
ec3b53cdc3
Refactor/user database models ( #775 )
...
* fix build error
* drop frontend.old
* improve auto_init decorator
* purge depreciated site settings
* formatting
* update init function
* fix(backend): 🐛 Fix password reset bug
Co-authored-by: Hayden <hay-kot@pm.me >
2021-11-04 14:01:37 -08:00
Hayden
5d43fac7c9
feat(frontend): ✨ add group permissions ( #721 )
...
* style(frontend): 💄 add darktheme custom
* add dummy users in dev mode
* feat(frontend): ✨ add group permissions editor UI
* feat(backend): ✨ add group permissions setters
* test(backend): ✅ tests for basic permission get/set (WIP)
Needs more testing
* remove old test
* chore(backend): copy template.env on setup
* feat(frontend): ✨ enable send invitation via email
* feat(backend): ✨ enable send invitation via email
* feat: ✨ add app config checker for site-settings
* refactor(frontend): ♻️ consolidate bool checks
Co-authored-by: Hayden <hay-kot@pm.me >
2021-10-04 20:16:37 -08:00
Hayden
4bdba9f3af
feat(backend): 🚧 stub out new exporter service (WIP) ( #715 )
...
* chore(backend): 🎨 add isort path to vscode settings
* style(frontend): 💄 remove fab and add general create button
* feat(backend): 🚧 stub out new exporter service
* comment out stub tests
Co-authored-by: Hayden <hay-kot@pm.me >
2021-10-02 11:37:04 -08:00
Hayden
abc0d0d59f
refactor( ♻️ ): update 'about' page to new composition API ( #667 )
...
* test-commit
* Remove PR Name Checker
* refactor(backend): ♻️ split unrelated routes into clearer router paths
Add an /app and /admin router base paths to split previously grouped public/admin data into different paths. Part of a longer migration to move 'admin' operations under the admin path.
* refactor(backend): ♻️ rename imports
* refactor(frontend): ♻️ refactor frontend API and Pages to refelect new API design
Co-authored-by: hay-kot <hay-kot@pm.me >
2021-09-02 11:24:17 -08:00
Hayden
9b1bf56a5d
[Feat] ✨ Migrate from Pages to Cookbooks ( #664 )
...
* feat: ✨ Add Description to Cookbooks
* feat(frontend): ✨ Cookbook view page
* feat(frontend): 💄 Add final UI touches
* fix(backend): 🐛 Add get by slug or id
* fix linting issue
* test(backend): ✅ Update tests from pages -> cookbooks
* refactor(backend): 🔥 Delete old page files
Co-authored-by: hay-kot <hay-kot@pm.me >
2021-08-31 18:51:34 -08:00
hay-kot
161618808e
refactor(backend): 🔥 Remove Backend Theme Support
2021-08-27 20:47:24 -08:00
hay-kot
0675c570ce
refactor(backend): ♻️ Split Recipe Schema Code
2021-08-27 20:17:41 -08:00
hay-kot
d67240d449
refactor schema folders
2021-08-01 19:24:33 -08:00