* Remove unusable method
* Fixes#10746 by removing the recursive call ending in an infinite loop
Also: the culture is already known, don't take the `CurrentUICulture`
* Support for language of parts
* Changed casing of "FallBack" to "Fallback" to be consistent with the existing code.
* Now tests the type to determine if span should be added.
* Remove magic strings and return <div> for IHtmlString values
This fixes the "string" vs "String" issue in the previous commit and prevents the function returning invalid markup
* Fix for test providing string as "object"
Co-authored-by: Joe Glombek <joe@rockdove.uk>
* Enabling configuration of remote URL for fetching content on the content dashboard and adding additional params indicating whether solution is running on Umbraco Cloud
* Determining if Umbraco is running on Umbraco Cloud by checking whether Umbraco.Deploy.Cloud.dll is present and making its value more accessible for other contexts. Passing a hosting parameter as string instead of boolean
* Changing from Unknown to OnPremises
* Updated content dashboard to use hard-coded URL but path derived from configuration.
Co-authored-by: Andy Butland <abutland73@gmail.com>
(cherry picked from commit 917c89cde7)
* Enabling configuration of remote URL for fetching content on the content dashboard and adding additional params indicating whether solution is running on Umbraco Cloud
* Determining if Umbraco is running on Umbraco Cloud by checking whether Umbraco.Deploy.Cloud.dll is present and making its value more accessible for other contexts. Passing a hosting parameter as string instead of boolean
* Changing from Unknown to OnPremises
* Updated content dashboard to use hard-coded URL but path derived from configuration.
Co-authored-by: Andy Butland <abutland73@gmail.com>
* Try to update admin user unattended
This will fail because we're not in install runtime state
* Create a new user instead of trying to update the default admin
* Create a new user instead of trying to update the default admin
* Use same logic from NewInstallStep to modify the SuperUser aka -1
* Add back stuff after merge conflict from v8/dev
* Add event to be raised
* Trying to wire up events
* Remove commented out code - just need to figure out why event is not hit/triggered
* Read Appsettings as opposed to ENV variables
* Use a JSON file that deletes itself as storing secrets in web.config will be accidently committed
* Remove component based event - Component were only initialized after DB creation
* Move UnattendedInstall down after _factory
* Remove commented out code
* Fixed issue where upgrader UI would show up - needed to recheck the Runtimelevel after UnattenedInstall
* Apply suggestions from code review - Thanks Marc :)
Co-authored-by: Marc Goodson <marc@moriyama.co.uk>
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
Co-authored-by: Marc Goodson <marc@moriyama.co.uk>
Datetime values where always converted to date(102) so sorting by time does not work.
By converting to 120 (yyyy-mm-dd hh:mi:ss (24h)) the time is respected.