* Enhance security and safety around user update API
- Prevent a regular user from promoting themself to admin
- Prevent an admin from demoting themself
- Refactor token fixture to admin + regular user tokens
* Restrict user CRUD API to admins
* Secure admin API routes
* Refactor APIrouter into Admin/UserAPIRouter
* Secure theme routes
* Make 'all recipes' routes public
* Secure favorite routes
* Remove redundant checks
* Fix public routes mistakenly flagged user routes
* Make webhooks changeable only by admin
* Allow users to create categories and tags
* Address lint issues
* remove duplicate keys
* show context menu when not logged in
* remove console.log
* hide menu when printing
* add response to event
* add type definitions
* show context menu always
* add image name enums
* upload/download single recipe
* cleanup menu views+ localization
Co-authored-by: hay-kot <hay-kot@pm.me>
* dump deps
* add job for new groups on interval
* change sort icon
* fix cart icon
* bump version
* changelog
* early return if no comments
* remove comment
Co-authored-by: hay-kot <hay-kot@pm.me>
* Fix asset link
* remove unused var
* fix no meal-plan returned
* cleanup redundant code
* Fix dates off in UI
* quick set dark/light mode
* user image fixes
Co-authored-by: hay-kot <hay-kot@pm.me>
* fix favorite color issue
* db and models for comments
* rename files
* initial UI for comments
* fix format
* import / export
* fixes#428
* format
Co-authored-by: hay-kot <hay-kot@pm.me>
* lazy load cards
* shopping list recipe search bug
* admin layout fluid
* site loader
* username support
* mobile tabs
* set username at signup
* update user tests
* patch bug on shopping list
* public mealplan links
* support link (I'm a monster)
* icon only on mobile
* padding
Co-authored-by: hay-kot <hay-kot@pm.me>
* additional server events
* sort 'recent recipes' by updated
* remove duplicate code
* fixes#396
* set color
* consolidate tag/category pages
* set colors
* list unorganized recipes
* cleanup old code
* remove flash message, switch to global snackbar
* cancel to close
* cleanup
Co-authored-by: hay-kot <hay-kot@pm.me>
* format with black
* black format
* flake8
* remove bar exceptions
* remove test for depreciated route
* recipe settings editr
* add sqlite
Co-authored-by: hay-kot <hay-kot@pm.me>
* Translate missing items on About page
* Localize import summary dialog
* Make site menu translation reactive
* Localize import options
* Include semi colon in string
* Move API texts to frontend + better status codes
* Provide feedback to user when no meal is planned
* Fix API tests after latest rework
* Add warning for API changes in changelog
* Refactor API texts handling
* Refactor API texts handling #2
* Better API feedback
* Rearrange strings hierarchy
* Add messages upon recipe updated
* Fix 'recipe effected' typo
* Remove snackbar usage in backend
* Translate toolbox
* Provide feedback for tags CRUD
* Fix messed up merge
* Translate sign-up form
* Better feedback for sign-up CRUD
* Refactor log-in API texts handling
* No error message when user is not authenticated
* Remove unimportant console log
* formatting
* snake case all recipes entries
* set foreign key to int
* run scheduler at startup and not import
* set SQLite file path before imports
Co-authored-by: hay-kot <hay-kot@pm.me>
* update tag route
* search.and
* offset for mobile
* relative imports
* get settings
* new page
* category/tag CRUD
* bulk assign frontend
* Bulk assign
* debounce search
* remove dev data
* recipe store refactor
* fix mobile view
* fix failing tests
* commit test data
Co-authored-by: hay-kot <hay-kot@pm.me>
* Dummy Commit
* consolidate sidebar and app bar
* fix image error
* consolidate sidebar
* new icon for user menu
* fixes#329
* fix double click on mobile
* swap to computed properties
* fix open/close bug
* rewrite search for mobile
* fix ingredient checkbox
* cleanup console.logs
* set default lang + bump version
* draft changelog
* reword
* update env variables
Co-authored-by: hay-kot <hay-kot@pm.me>
* Make first day of the week customizable
New settings section 'Locale settings'
New setting 'First day of week'
New date picker reusable UI that uses the new setting
Meal planner now uses this new date picker
* Clean up unused code in settings page
* Fix First day of week mapping
* Replace missing v-date-picker with custom card DatePicker
* Mention first day of the week feature in change log