* move collection filter model to collection lib
* move temp member type details
* move temp user group details model
* move user details model out of models lib
* move document blue print out of models
* fix import paths
* use relative import paths
* move member details out of models
* move more models out of core models file
* fix import path
* Prefix
* remove entity type
* add null check
* typescript fixes
* move tree interfaces to tree lib
* fix import order
---------
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
* include manifest in local variable name
* this is run when the alias is changed
* add manifest to variable
* add TODO
* update tree repo interface to get a tree root
* simplify
* return data type tree root
* add request root method to tree context
* render tree directly in tree menu item
* render root in tree element
* map has children to model
* set root to custom type
* add requestTreeRoot method to all repos that implement a treeRepository
* avalanche of type updates
* allow null (root) in pickers
* allow tree item extension for multiple "entity" types
* get tree root items if getChildren receives null
* add tree root model
* update tree root data
* allow entity action to be applied to multiple entity types
* allow move and copy to root
* selection in picker can include null
* temp typescript fix
* add support for hiding the tree root
* fix file system trees get root items
* clean up
* update move/copy mock db logic
* allow create action on data type root
* restrict data type entity actions on specific entity types
* temp add action to all entities
* temp typescript hack
* Update tree-item.model.ts
---------
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au>
* UsersResource format
* wip update of repo and server
* get user workspace to show
* split up the section folder into the existing user and user group folders
* cleanup
* move stuff around
* collection repository
* added isSelected to the collection context
* cleanup
* user edit workspace kind of works again
* fixed header
* saving kinda works
* add notes
* cleaning up
* clean clean
* fixing build errors
* fixing build errors
* fix
* build errors
* fix import
* comment out wrong import
* remove store alias from collection class
* move input-user files to user folder + temp render in property editor
* align input naming
* delete unused test file
* wip align user picker modal code
* fix buttons in edit workspace
* property update method is now using types
* User edit workspace cleanup
* cleanup
* render info items
* remove methods from current user store
* wire all detail methods with server
* wire up user detail repository
* clean up
* remove debugger
* delete test files
* clean up
* wire up create user modal
* move header to element
* wire up user filter
* use correct type
* use correct type
* typescript temp fixes
* add interface for filter model
* temp typescript fixes
* comment out
* temp typescript fixes
* remove unused
* wip user invite
* fix import
* temp alert
* remove unused
* temp type cast
* fix import
* fix import
* move user utils to user folder
* fix tests
---------
Co-authored-by: Mads Rasmussen <madsr@hey.com>
* install app auth
* add service to handle auth
* add openid handling to general app
* move props to constructor
* update default api url to https
* add support for adjusting umbracoUrl from outside
* use origin url for redirect if empty from env
* merge origin/main
* merge origin/main
* add redirect uri support
* only check auth on firstUpdated
* merge origin/main
* fix redirect_uri
* listen for auth-success events before anything else
* save current route to restore after login
* set token function for all OpenAPI requests
* include credentials after login
* update openapi-typescript-codegen
* generate new models with bugfixes for CancelablePromise and request
* remove auth-success event
* wait with fetchServiceConfiguration until we actually need to query the server
* revert change where service configuration was delayed
* use LocalStorageBackend to save/restore token state
* improve documentation
* cleanup todos
* improve docs
* update documentation and set everything to private fields
* remove undefined
* add a token to provide server url
* add more docs
* provide the base url of the server through a token
* add more docs
* fix import
* allow to override the backoffice base url through a property
* use private modifier
* duplicate login image
* make generic error element to use as error page
* check for initialisation errors and show error page if necessary
* rename class to UmbAuthFlow
* control the notification manually with runtime status call
* add styling
* add stack to problemdetails
* forward all errors
* support problemdetails rendering
* allow passthrough without a token
* move error logic to function
* add support for BOOT_FAILED and default errors
* rename background img
* remove false character
* check for isMocking to simplify auth flow
* add support for generic ApiErrors
* make sure all errors from api controllers are ApiError or CancelError to be able to fine-tune the handling of them
* remove unused legacy method
* show notifications (for now) after session expiration
* break early on CancelErrors
* revert options argument
* remove login token after a 401 is detected
* catch api errors
* prefix class with Umb
* throw errors instead of using ProblemDetailsModel
* add TODO
* add TODO
---------
Co-authored-by: Mads Rasmussen <madsr@hey.com>
* update vite to 4.3.1
* re-export router-slot/model as types to avoid warning in vite
* add named type exports to avoid typescript + vite + esm funny business (warnings)
---------
Co-authored-by: Mads Rasmussen <madsr@hey.com>