Commit Graph

1685 Commits

Author SHA1 Message Date
Paul Johnson
5aad18b99a Build sln before running tests.
Should prevent more OS related broken builds e.g. project files with case sensitivity issues.
2021-08-13 09:21:10 +01:00
Sebastiaan Janssen
33feb808dd Fix version dependencies 2021-08-12 14:56:55 +02:00
Bjarke Berg
2baa1abfc4 Merge remote-tracking branch 'origin/v8/8.16' into v9/feature/merge_v8_11082021
# Conflicts:
#	.github/CONTRIBUTING.md
#	build/NuSpecs/UmbracoCms.Core.nuspec
#	build/NuSpecs/UmbracoCms.Web.nuspec
#	build/NuSpecs/UmbracoCms.nuspec
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Cache/AppCaches.cs
#	src/Umbraco.Core/Cache/AppPolicedCacheDictionary.cs
#	src/Umbraco.Core/Cache/DeepCloneAppCache.cs
#	src/Umbraco.Core/Cache/WebCachingAppCache.cs
#	src/Umbraco.Core/CompositionExtensions.cs
#	src/Umbraco.Core/Models/Identity/BackOfficeIdentityUser.cs
#	src/Umbraco.Core/Models/PropertyGroupCollection.cs
#	src/Umbraco.Core/Models/PropertyTypeCollection.cs
#	src/Umbraco.Core/Persistence/Repositories/Implement/ExternalLoginRepository.cs
#	src/Umbraco.Core/ReadLock.cs
#	src/Umbraco.Core/Routing/SiteDomainMapper.cs
#	src/Umbraco.Core/UpgradeableReadLock.cs
#	src/Umbraco.Core/WriteLock.cs
#	src/Umbraco.Examine/ExamineExtensions.cs
#	src/Umbraco.Infrastructure/Examine/UmbracoFieldDefinitionCollection.cs
#	src/Umbraco.Infrastructure/Persistence/Dtos/ContentTypeDto.cs
#	src/Umbraco.Infrastructure/Persistence/Dtos/DictionaryDto.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/MemberGroupRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/TemplateRepository.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/UserRepository.cs
#	src/Umbraco.Infrastructure/Services/IdKeyMap.cs
#	src/Umbraco.Infrastructure/Services/Implement/ContentService.cs
#	src/Umbraco.ModelsBuilder.Embedded/PureLiveModelFactory.cs
#	src/Umbraco.Tests/App.config
#	src/Umbraco.Web.BackOffice/Controllers/EntityController.cs
#	src/Umbraco.Web.UI.Client/package.json
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
#	src/Umbraco.Web.UI/Umbraco/config/lang/cy.xml
#	src/Umbraco.Web.UI/web.Template.config
#	src/Umbraco.Web/CacheHelperExtensions.cs
#	src/Umbraco.Web/Editors/RelationTypeController.cs
#	src/Umbraco.Web/Logging/WebProfilerProvider.cs
#	src/Umbraco.Web/Models/Mapping/MemberMapDefinition.cs
#	src/Umbraco.Web/PublishedCache/NuCache/MemberCache.cs
#	src/Umbraco.Web/Routing/ContentFinderByConfigured404.cs
#	src/Umbraco.Web/Routing/NotFoundHandlerHelper.cs
#	src/Umbraco.Web/Security/BackOfficeUserManager.cs
#	src/Umbraco.Web/Umbraco.Web.csproj
2021-08-11 19:11:35 +02:00
Nikolaj Geisle
18ef926c5e Merge pull request #10796 from umbraco/v9/bugfix/AB13096-remove-unwanted-folders-on-publish
V9: Umbraco Templates - remove unwanted folders on publish
2021-08-09 11:08:57 +02:00
Bjarke Berg
6ef2deb3cb Fix base url for js docs 2021-08-09 07:48:37 +02:00
Sebastiaan Janssen
7d0558d59f Update ImageProcessor dependencies 2021-08-06 15:05:49 +02:00
Sebastiaan Janssen
7800fe83a8 Install MessagePack's dependencies explicitly (#10772) 2021-08-05 11:57:03 +02:00
Rowan Bottema
6a12f4af90 Update Serilog dependencies
This should at least fix #10793 because of a memory leak fix in Serilog.Sinks.Map 1.0.2. Also updated the rest for good measure.

Note that Serilog.Sinks.File is not upgraded to the latest version because it is a new major (4.1.0 -> 5.0.0). Also note that Serilog.Filters.Expressions is deprecated and should be replaced by Serilog.Expressions. I considered both out of scope for this fix.
2021-08-05 11:56:37 +02:00
Elitsa Marinovska
baf69305f3 Exclude the wanted folders in the order Content, Compile, EmbeddedResource and None. Have the None Remove after None Include 2021-08-05 12:51:53 +03:00
Bjarke Berg
f67415a363 Force only tests of csproj files to avoid executing the tests for dll's too 2021-08-04 13:47:14 +02:00
Bjarke Berg
8ad456a6d0 Test sqlCe integration tests on azure too 2021-08-04 12:50:49 +02:00
Bjarke Berg
e1dab63123 Merge remote-tracking branch 'origin/v9/dev' into patch-separate-sqlce-from-integration-tests 2021-08-04 10:50:33 +02:00
Zeegaan
d76044875b v9: Added missing namespaces to viewimports https://github.com/umbraco/Umbraco-CMS/issues/10776 2021-08-03 12:57:52 +02:00
Shannon
5549c446f7 try to fix build 2021-07-15 15:20:49 -06:00
Bjarke Berg
005b09d58b Fixed version numbers in templates 2021-07-08 09:39:40 +02:00
Bjarke Berg
27d5aefc2d add missing variable in azure pipeline script and removed the auto generation of files until we figure out how to support both windows and linux for those. 2021-07-06 15:04:48 +02:00
Bjarke Berg
21528ff60b Move condition to job from stage 2021-07-06 11:51:12 +02:00
Bjarke Berg
a755cac410 make bool value as string 2021-07-06 10:59:30 +02:00
Bjarke Berg
a4846b1d4a fix quotes 2021-07-06 10:55:33 +02:00
Bjarke Berg
f8180f0009 casing 2021-07-06 10:51:43 +02:00
Bjarke Berg
1307188ede output variable 2021-07-06 10:50:05 +02:00
Bjarke Berg
bed1c18a0b Merge pull request #10531 from umbraco/v9/cyclehack/autogeneration_of_json_schema
V9: Autogeneration of AppSettings JSON schema and Merge the official + Umbraco
2021-07-06 09:48:43 +02:00
Bjarke Berg
15fcd557b6 Merge pull request #10594 from umbraco/v9/bugfix/razor-compile-on-publish
V9: Add RazorCompileOnPublish property to UmbracoProject for template
2021-07-06 09:18:07 +02:00
Bjarke Berg
16d63639ba Merge remote-tracking branch 'origin/v9/dev' into v9/cyclehack/autogeneration_of_json_schema
# Conflicts:
#	build/azure-pipelines.yml
2021-07-06 09:12:10 +02:00
Bjarke Berg
d86dbe4c9c V9/bugfix/pipeline fixes (#10601)
Added stage to determine build type, and use this info to check whether to build static code docs
2021-07-06 08:51:50 +02:00
Mole
a3af9faad6 Add RazorCompileOnPublish property to UmbracoProject 2021-07-05 12:03:58 +02:00
Sebastiaan Janssen
3e20890435 Fix dependencies to make 8.15 installable via NuGet 2021-07-02 11:48:01 +02:00
Bjarke Berg
d92bfb48c0 Tell pipeline it is using UmbracoBuild 2021-06-25 15:25:00 +02:00
Bjarke Berg
7449bf2947 Clean up 2021-06-25 10:56:49 +02:00
Bjarke Berg
c170123f3a Clean up and fix for xml docs for forms (at least locally) 2021-06-25 09:35:39 +02:00
Warren Buckley
b0f55bab69 Specify the outputFile argument in powershell build as path is relative to the build folder when run from there 2021-06-24 14:33:33 +01:00
Bjarke Berg
f7bbef6efb Moved prepare json step 2021-06-24 14:55:16 +02:00
Warren Buckley
8b5fd0aa6e Update Azure pipeline for Build Artifacts to generate the JSON schema before needed in Nuget Packages 2021-06-24 13:37:20 +01:00
Warren Buckley
8bc3425910 Update Powershell build script
Runs dotnet run on the console app to genetate the schema & default location
2021-06-24 13:34:42 +01:00
Warren Buckley
f402c8151a Updated dotnet new templates appsettings to our local stored JSON schema in Umbraco 2021-06-24 11:52:29 +01:00
Bjarke Berg
f2c1c30e76 Remove zips from azure build 2021-06-15 12:07:11 +02:00
Bjarke Berg
418ba569f1 remove comments as build script cannot use these in json 2021-06-15 10:47:04 +02:00
Warren Buckley
ceb4db4f45 Adds dotnetRunMessages flag to launch settings for Kestrel (#10472)
https://github.com/dotnet/sdk/issues/12227
https://github.com/dotnet/sdk/pull/12581
https://github.com/dotnet/aspnetcore/blob/v6.0.0-preview.5.21301.17/src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/Properties/launchSettings.json#L22
2021-06-15 09:54:46 +02:00
Warren Buckley
8d3434d7d8 dotnet new template - Escape JSON special characters for password & connection string (#10467)
* Fix sourceName to match UmbracoProject and use a generated symbol to replace the Umbraco.Cms.Web.UI.NetCore in Program and Startup files

* Update template.json

* Run `npm update caniuse-lite`

* Regex replacement for Password & Connection strings that gets placed into AppSettings.Development.json So escaping \ and " for JSON strings

* Escaping input and handle namespace replacing. + Updated to beta004

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-06-15 09:42:52 +02:00
Jason Elkin
0b3eeafb47 fixed a typo in the UmbracoProject template (#10432)
* fixed a typo in the UmbracoProject template

* Update build/templates/UmbracoProject/UmbracoProject.csproj

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-06-11 14:09:41 +02:00
Bjarke Berg
cfdf11b195 Renamed build to buildTransitive 2021-06-10 12:18:10 +02:00
Bjarke Berg
bcd47db21a https://github.com/umbraco/Umbraco-CMS/issues/10382 - Fix for transitive packages 2021-06-03 14:33:03 +02:00
Warren Buckley
e02ccebf75 No need for a specific namespace replacer it seems sourceName prop is used for that 2021-05-24 14:39:06 +01:00
Warren Buckley
6aca1ca12e Fix for invalid chars used in dotnet new templates creations to ensure namespace is valid & compiles 2021-05-23 13:33:28 +01:00
Bjarke Berg
cb6f74774d No not use explicit nuspec file for Examine.Lucene anymore :) 2021-05-19 19:12:13 +02:00
Bjarke Berg
f63c85a16c Update version and artifact name generated by azure pipeline (#10277)
* Update version and artifact name generated by azure pipeline

* Fix issue with version

* Add build tags

* test nightly builds

* fix negation + Prefix with Umbraco

* use updatereleasename instead

* test if build number is the issue

* determine releases by tags

* use date and rev instead of build nuber

* build id

* more testing

* more test

* more test

* build without buildId if ResourceTrigger is reason

* more test

* more trials

* determine build type from source branch regex

* test

* test

* test

* test

* test

* test

* test

* use date in nightlies/previews

* use date in nightlies/previews

* addd build id to nightlies
2021-05-18 19:07:17 +02:00
Shannon
2739e049a6 Merge remote-tracking branch 'origin/v8/contrib' into v8/feature/nucache-perf
# Conflicts:
#	src/Umbraco.TestData/LoadTestComposer.cs
2021-05-17 11:56:11 -07:00
Mario Lopez
69a507e5db V9 - Include models folder in the project (#10250)
* fixes #10213. When models folder is included in project the models have a Build Action of C# Compiler

* models directory comment indicates correct models location

* added PureLive files to App_Data/Temp

* changed PureLive directory

* include generated models in project

* https://github.com/umbraco/Umbraco-CMS/pull/10250/ - Cleanup in csproj file and fix the generated template too

Co-authored-by: Mario Lopez <mario@monkii.com>
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-05-17 09:50:58 +02:00
Bjarke Berg
9507ba84f2 Updated version to beta003 2021-05-12 14:35:06 +02:00
Shannon
f5406b9b2f Updates to Examine 1.2.0
and removes ExecutionContext workaround since it's part of Examine now.
2021-05-11 14:42:29 +10:00