Commit Graph

1431 Commits

Author SHA1 Message Date
Andy Butland
bef1ccedca Exposes the entity containers (folders) created during a package installation in the summary available from the ImportedPackageNotification. (#11303)
* Exposes the entity containers (folders) created during a package installation in the summary available from the ImportedPackageNotification.

* Restored original constructors.

* Refactored to use out parameters for tracking installed entity containers.

* Removed unnecessary variable initialization.
2021-10-06 20:11:06 +02:00
Bjarke Berg
2a29cdc6c6 Allow opt out of import embedded schema file (#11296)
* Introduce an opt-out options from the import of embedded schema files.

* Moved the initialization of the static service provider into CoreRuntime as this runs before the IStartupFilters, and otherwise the static service provider is not available in hosted services. E.g. for migrations

* fix build

* Minor code tidy and naming alignment.

* Update src/Umbraco.Web.UI/Umbraco.Web.UI.csproj

* Removed default installation of starter kit.

Co-authored-by: Andy Butland <abutland73@gmail.com>
2021-10-06 11:13:59 +02:00
Nikolaj Geisle
80c74968ef Updated UmbracoPocoDataBuilder.cs
Signed-off-by: Nikolaj Geisle <niko737@edu.ucl.dk>
2021-10-05 13:48:42 +02:00
Nikolaj Geisle
62f2bdbafa Removed obsolete method
Signed-off-by: Nikolaj Geisle <niko737@edu.ucl.dk>
2021-10-05 13:41:58 +02:00
Bjarke Berg
452097d975 Fixed issue with Paths-integers being converted using local culture. (#11180)
* Fixed issue with Paths-integers being converted using local culture.

* Align with the old implementation

* Use int.TryParse insteaad of TryConvertTo when we do not want culture specific parsing

* More fixes for cultures and fixed wrong test. Users should be part of all groups to have access

* Fix casing for requested file

* Force tests to not use NLS

* try force tests to not use NLS

* try force tests to not use NLS

* Force tests on windows to run ICU

* More fixes for invariant int parsing

* Change key on actions/emptyRecycleBin, so the casing aligns with the view file, that is named emptyrecyclebin.html

* Fixed casing issue

* use Attempt to align with other code
2021-09-24 16:42:31 +01:00
Jason Elkin
a7495d529f add MaybeNull attribute to mixin properties (#11171) 2021-09-22 23:52:28 +02:00
Bjarke Berg
d007fa0012 Add folderkeys to package xml. (#11172)
* Add folderkeys to package xml.

* Cleanup

* Use folderKeys to find child

* Fix potential issue with when no folder

* Fixed logic issue.

Co-authored-by: Andy Butland <abutland73@gmail.com>
2021-09-22 23:52:09 +02:00
Bjarke Berg
10625b6aad Merge pull request #11167 from Jeavon/task/migrateIsMaster
Add migration for isMaster column to isSchedulingPublisher in UmbracoServer table
2021-09-22 20:34:55 +02:00
Jeavon Leopold
a3ca09c82e Update SQL that contains isMaster 2021-09-22 17:41:18 +01:00
Andy Butland
fee3d0778a Serializes key for templates in package definition and imports if ava… (#11163) 2021-09-22 18:21:53 +02:00
Jeavon Leopold
43d2eebaaa Add migration for isMaster column to isSchedulingPublisher 2021-09-22 16:27:37 +01:00
Bjarke Berg
8d2c1acb75 Merge pull request #11153 from umbraco/v9/bugfix/persist-isapproved
Fixes persisting the IsApproved for users
2021-09-21 18:37:19 +02:00
Shannon
65cfc14cdb Fixes persisting the IsApproved for users 2021-09-21 08:56:10 -06:00
Bjarke Berg
ee132afa42 Merge pull request #11102 from umbraco/v9/bugfix/packagedatainstallation-macropartialviews
Use IFileService to save macro partial views in package migration
2021-09-21 14:18:36 +02:00
Bjarke Berg
241b303b79 Merge pull request #11149 from umbraco/v9/feature/examine-dependencies
Update Examine dependencies to 2.0.0
2021-09-21 14:17:00 +02:00
Nikolaj
6c1ced201f Merge branch 'v9/dev' of https://github.com/umbraco/Umbraco-CMS into v9/dev 2021-09-21 13:56:54 +02:00
Nikolaj
fd67e19bc8 Fix ambiguous reference in IPublishedContentQuery 2021-09-21 13:56:37 +02:00
Ronald Barendse
d1207148a8 Update package definition with all installed file paths (stylesheets, scripts, partial views) 2021-09-21 13:29:00 +02:00
Sebastiaan Janssen
43a33cc1c4 Update Examine dependencies to 2.0.0 2021-09-21 13:27:36 +02:00
Bjarke Berg
dd85ca6fad Update src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
Co-authored-by: Andy Butland <abutland73@gmail.com>
2021-09-21 12:47:02 +02:00
Bjarke Berg
199c8b7681 Update src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
Co-authored-by: Andy Butland <abutland73@gmail.com>
2021-09-21 12:39:45 +02:00
Bjarke Berg
b9ec06555f Update src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
Co-authored-by: Andy Butland <abutland73@gmail.com>
2021-09-21 12:37:23 +02:00
Bjarke Berg
8d74efb635 Handle maindom was acquired doing install, so we do not have our lock Id in the database.. 2021-09-21 12:28:49 +02:00
Ronald Barendse
a9d8f5fa5b Fix exporting/importing macro partial views using a virtual file path 2021-09-21 11:22:40 +02:00
Ronald Barendse
8b853b17ac Include installed media to package definition on install 2021-09-21 11:11:40 +02:00
Bjarke Berg
f088a9b637 Merge pull request #11127 from umbraco/v9/feature/localdb-install-option
Add LocalDB database install option and implement automatic database creation
2021-09-20 20:02:30 +02:00
Bjarke Berg
baa51d9469 Merge remote-tracking branch 'origin/v9/dev' into v9/dev 2021-09-20 12:59:22 +02:00
Bjarke Berg
e95a759181 Updated nuget package dependencies 2021-09-20 12:59:14 +02:00
Mole
85e8caf306 Merge pull request #11105 from umbraco/v9/bugfix/11097-apparently_the_swedish_minus_symbol_is_different_from_us_and_dk
V9: Use invarint culture when parsing ints
2021-09-20 12:34:25 +02:00
Ronald Barendse
f638636c10 Update default LocalDB connection string to equal parsed value 2021-09-20 11:45:08 +02:00
Ronald Barendse
fed720042c Fix ParseConnectionString to pass tests 2021-09-20 11:38:54 +02:00
Bjarke Berg
68d4d76da2 Use Invariant when toString userIds 2021-09-20 11:30:09 +02:00
Bjarke Berg
25aae38a25 Explictly uses int.TryParse Invariant when the input is not from a user 2021-09-20 11:22:51 +02:00
Bjarke Berg
ef39f36d63 Rollback changes to TryConvertTo (now it is always current culture) and uses int.tryParse directly where we know it do not come from user input 2021-09-20 11:15:32 +02:00
Nikolaj
c08c9c9160 Don't ToString int only to parse it back
This seems to be a fix for a VERY old issue (U4-5223), when ID was seemingly saved as int16, so we parsed it back to int32, this doesn't make sense anymore since the ID is int32 to begin with.
2021-09-20 10:39:34 +02:00
Jeavon
981e096a19 Rename server roles, master = SchedulingPublisher and replica = Subscriber (#10480) 2021-09-20 10:37:58 +02:00
Ronald Barendse
bc29155032 Fix parsing of connection string during setup 2021-09-18 00:23:47 +02:00
Ronald Barendse
fd5cef6b42 Support DataDirectory placeholder in LocalDB connection string 2021-09-17 20:20:36 +02:00
Ronald Barendse
4ad34270dd Remove runtime state dependency in InstallHelper 2021-09-17 19:59:54 +02:00
Ronald Barendse
ab28251558 Use RuntimeState to determine whether to install missing database 2021-09-17 16:30:46 +02:00
Ronald Barendse
d702b2f616 Fix non-Windows database configuration install step 2021-09-17 13:10:21 +02:00
Ronald Barendse
51002ba7a4 Minor code cleanup 2021-09-17 12:52:23 +02:00
Ronald Barendse
074bbb045b Install missing database during unattended install 2021-09-17 12:52:05 +02:00
Ronald Barendse
81cbbd8614 Add LocalDB database option to installer 2021-09-17 12:50:25 +02:00
Ronald Barendse
785630922e Rename IEmbeddedDatabaseCreator to IDatabaseCreator and refactor implementations 2021-09-17 12:48:48 +02:00
Ronald Barendse
57610c96b9 Detect as brand new install if we can't connect and InstallMissingDatabase is enabled 2021-09-17 11:57:20 +02:00
Ronald Barendse
aa15b0d244 Simplify parsing provider name from connection string 2021-09-15 15:41:20 +02:00
Bjarke Berg
39faf63f9c Fixed tryParse 2021-09-15 13:40:08 +02:00
Ronald Barendse
af0f263e3c Fix code formatting 2021-09-14 23:56:49 +02:00
Ronald Barendse
7e7e28f7c7 Use IFileService to save macro partial views 2021-09-14 23:48:24 +02:00