* feat: include the option whether a login provider has disabled local login
* feat: include information whether change password or two factor is allowed
* generate new OpenApi.json
* generate new ts client
* feat: request the server configuration and include in the UmbAppContext
* fix: for login screen, check that a provider did not disable the local login
* fix: use UmbAppContext to fetch the version check period
* chore: remove unused method
* revert current user configuration changes
* generate new ts client
* fix: add condition for "allow password change" on the change password button
* fix: create new IsDefaultKind condition to separate change password logic
* fix: update "allow change password" and "allow mfa" conditions to take the user configuration into consideration
* chore: export consts
* remove falsely named attribute that happens to not be useful anyway
* chore: revamp logic for early return to make it more readable
* convert `isInitialized` to a Promise as it is only being resolved once anyway, which then additionally saves a call to `this.observe` in the conditions
---------
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
* implement validation for media and prepare for member
* remove import
* port code from backoffice repo
* move repo into publishing module
* port get published methods
* cleanup
* wip render state
* align state UI
* post merge clean up
* move publish modal
* move schedule modal
* move unpublish modal
* move publish action and bulk action
* move unpublish action + bulk action
* lint fix
* Update document-workspace.context.ts
* wip move publishing methods to publishing context
* move publish with descendants
* fix more references
* Update document-publishing.workspace-context.ts
* export entity action
* add return type
* temp internal methods
* use repository response type
* expose methods for other contexts to use
* use public methods
* call publishing context methods
* fix import
* move manager into folder
* organise in folders
* add get method to get variants with changes
* preselect variants with pending changes
* observe data changes
* render pending changes client state
* observe unique
* Update document-publishing.server.data-source.ts
* use correct key
* clean up
* expose persisted data
* rename arg
* use persisted data instead of current
* add reload method
* reload data after publish
* remove headline
* handle all publish actions the same
* reset state as the first thing when creating + loading
* add method to get variants
* only load published if document has a published variant
* remove variants from observer
* add public method to get the changed variants
* align preselection with current logic
* add deprecation util
* add method deprecation warnings
* remove unused publish method
* move publishing workspace actions into publishing module
* use publishing context
* clean up
* add tests for published pending changes manager
* handle server the same way
* process pending changes when persisted data changes
* remove buggy updateDate
* remove unused
* lint fix
* add publish method back to avoid a breaking change
---------
Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
* merge libs rollup configs to one rollup
* move css from libs to src/core
* run rollup on cms build
* move test-utils to /utils folder
* move css to src/core
* mark @umbraco-cms/backoffice as external when building for CMS
* rename all models to include @umbraco-cms/backoffice in their path to allow us to publish as a single module
* rename all imports to @umbraco-cms/backoffice/*
* rename events to umb-events to avoid rollup error of protected module name(?)
* test that libs can build
* move css to src/core
* move umb-lit-element and modal elements to src/core
* move some modal interfaces back to libs/modal
* move the icon store into src/core since it is very localized to the backoffice
* comment out build:libs for now since Github runs out of memory
* rename to match tsconfig alias
* add package.json to libs
* only make libs for lib folders
* turn off emit for typescript since we are handling types for libs separately
* build libs locally
* add script to move libs to final destination with some transform
* move libs after build
* move package.json to dist folder first (so we can publish from there)
* remove inline comments
* ensure the outputDir exists
* Remove re-export of extensions-registry library from models library
* move to individual files to avoid circular imports
* check if outputDir exists before trying to create it
* write transforms first in dist file and then copy the file to outputDir
* ensure all umbraco types are external
* copy information from main package.json file
Currently trying to see how the JSON schema would look like by writing it hand before attempting to then write a script to help write the same JSON to a file by looping over types
* new api models
* use new PackageResource
* do not error out on missing default exports (esmodules auto-execute)
* do not check for js extensions (they might have been registered on the client without a js file)
* prepend the api baseurl to any relataive server JS dependencies
* ignore tsbuildinfo
* create base file for tsconfig
* extend from base config and optimise include/exclude paths
* install rollup plugin to handle json files
* use plugin to bundle json files
* call script for cms builds that builds libs
* add rollup config to utils lib
* add a context token to the extension registry instance itself and provide it through BackofficeElement
* add rollup node resolve
* add node resolve
* only include element mixin in element library
* add error description to module load error
* add types to UmbExtensionRegistry token
* set UmbNotificationService as string in its token to avoid minification
* correct comment
* reverse order of checks
* add host to server extensions and support life-cycle check
* add imports
* use lit rather than lit-html
* correct comment
* add PackageManifestModel
* add import
* run libs build for cms
* revert reorder
* use string name for NotificationContext token
* make alias public readonly of UmbContextToken
* remove TODO
* use UmbContextToken::toString() for all stores
* use string alias for contexts
* move default data so we avoid importing a big lit library just to get default data interface
* add rollup to two extra libraries
* make sure we build uui and lit into our libraries for the few cases we import something
* add lockfile
* add separate options for .js files
* add function to install types of module
* add types output
* remove unused tsconfig-base file for now