Commit Graph

1397 Commits

Author SHA1 Message Date
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
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
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
Warren Buckley
dabecbf7af V9 Netcore: Fix missing launch browser param for dotnet run from template (#10238)
* Adds in launchBrowser for Kestrel/Propject profile so running dotnet run from CLI will launch browser

* Keep in sync with the template file that will we ship
2021-05-06 19:56:04 +02:00
Bjarke Berg
8891edc7d5 also copy snupkg files to artifacts (symbol nuget) 2021-05-04 19:51:46 +02:00
Warren Buckley
f344479b40 Netcore: dotnet new template updates and change HideTopLevelNodeFromPath default value to true (#10222)
* As we always ship with config in V8 to set this to be true makes sense it now because default in code

* Explicitly add JSON Schema property incase user IDE does not automap it

* Escaping issue with example usages
2021-05-04 11:06:25 +02:00
Bjarke Berg
8a2c8f1c09 Update version to beta002 2021-04-28 10:11:41 +02:00
Bjarke Berg
ae3fc84369 Fix templates by only allowing generated https ports withing the range 44300-44399 https://docs.microsoft.com/en-us/iis/extensions/using-iis-express/running-iis-express-without-administrative-privileges#summary 2021-04-28 09:30:05 +02:00
Bjarke Berg
5157d67485 Fix for template 2021-04-27 15:01:13 +02:00
Warren Buckley
473bc53c66 dotnet new template - Support unattended (#10107)
* Remove trailing comma

* Remove duplicate property

* Logo is now transparent & not on a solid a white BG

* Adds in auto Nuget Restore with an option to skip auto restore if you wish to

https://github.com/dotnet/dotnet-template-samples/tree/master/08-restore-on-create

* Fix typo

* Rename from UmbracoSolution to UmbracoProject

Bit misleading as it only ever creates a CSProj & not a SLN

* Couple extra places that needed a rename

* Adds support for HTTP & HTTPS port that will autogenerate an available free port number

https://github.com/dotnet/templating/wiki/Available-Symbols-Generators#port

* Update build/templates/UmbracoProject/.template.config/template.json

Co-authored-by: Bjarke Berg <mail@bergmania.dk>

* Update build/templates/UmbracoProject/.template.config/template.json

Co-authored-by: Bjarke Berg <mail@bergmania.dk>

* Rather than COPY appsettings from Umbraco.Web.UI.NetCore we use these specific ones so we can add logic to them

* Support for unattended install with new CLI args

* Change order so all the long textboxes that are optional are together

* Apply suggestions from code review from Elitsa

Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
2021-04-22 13:22:01 +02:00
Bjarke Berg
c41b05413a Merge pull request #10044 from umbraco/netcore/feature/acceptance_tests_on_azure
Netcore: Run acceptance tests on azure pipelines
2021-03-24 12:30:57 +01:00
Bjarke Berg
efb9aacfe2 Bump version to beta001 2021-03-24 12:30:08 +01:00
Bjarke Berg
55354b969b Added continueOnError: true so the acceptance tests are not blocking a merge 2021-03-24 11:43:33 +01:00
Bjarke Berg
f59d36624d Do not copy umbraco folder content to output folder. Only relevant for publish folder (as far as we know) 2021-03-24 11:05:50 +01:00
Bjarke Berg
36ed141065 Add Linux acceptance tests - Trial 25 2021-03-24 08:02:35 +01:00
Bjarke Berg
4e2072af63 Add Linux acceptance tests - Trial 24 2021-03-24 08:00:31 +01:00
Bjarke Berg
68a3b5bc8c Add Linux acceptance tests - Trial 23 2021-03-24 07:47:19 +01:00
Bjarke Berg
6246d8e32d Add Linux acceptance tests - Trial 22 2021-03-24 07:22:31 +01:00
Bjarke Berg
9394a08c21 Add Linux acceptance tests - Trial 21 2021-03-24 07:16:47 +01:00
Bjarke Berg
3b4a14a615 Add Linux acceptance tests - Trial 20 2021-03-24 07:13:43 +01:00
Bjarke Berg
7210022068 Add Linux acceptance tests - Trial 19 2021-03-24 07:06:04 +01:00
Bjarke Berg
5fbacaf3c5 Add Linux acceptance tests - Trial 18 2021-03-24 06:52:28 +01:00
Bjarke Berg
b4b5f211f3 Add Linux acceptance tests - Trial 17 2021-03-24 06:24:08 +01:00
Bjarke Berg
9f9c1ffbb0 Add Linux acceptance tests - Trial 16 2021-03-24 06:13:40 +01:00