diff --git a/.github/AL-Go-Settings.json b/.github/AL-Go-Settings.json index 993c9ab..53c3dc0 100644 --- a/.github/AL-Go-Settings.json +++ b/.github/AL-Go-Settings.json @@ -2,9 +2,6 @@ "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/32e66d69cfd2c1e3eca39e416e27c6aa58de6df3/Actions/.Modules/settings.schema.json", "type": "AppSource App", "templateUrl": "https://github.com/microsoft/AL-Go-AppSource@preview", - "NextMajorSchedule": "0 2 * * 0", - "NextMinorSchedule": "0 2 * * 6", - "CurrentSchedule": "0 2 * * 1,2,3,4,5", "runs-on": "ubuntu-latest", "unusedALGoSystemFiles": [ "AddExistingAppOrTestApp.yaml", @@ -28,5 +25,5 @@ "CertificateProfile": "BCCodeSigningPublic" }, "trackALAlertsInGitHub": true, - "templateSha": "1ad2c5ac3f976c3f4e69177a738fafffa4cf42d7" + "templateSha": "975f426167ed623761777eb2560ee7ec7ce0ab5d" } diff --git a/.github/RELEASENOTES.copy.md b/.github/RELEASENOTES.copy.md index 51ca640..4d757eb 100644 --- a/.github/RELEASENOTES.copy.md +++ b/.github/RELEASENOTES.copy.md @@ -2,6 +2,12 @@ Note that when using the preview version of AL-Go for GitHub, we recommend you Update your AL-Go system files, as soon as possible when informed that an update is available. +### Mechanism to overwrite complex settings type + +By default, AL-Go merges settings from various places (see [settings levels](https://aka.ms/algosettings#where-are-the-settings-located)). Basic setting types such as `string` and `integer` are overwritten, but settings with complex types such as `array` and `object` are merged. + +However, sometimes it is useful to avoid merging complex types. This can be achieved by specifying `overwriteSettings` property on a settings object. The purpose of the property is to list settings, for which the value will be overwritten, instead of merged. Read more at [overwriteSettings property](https://aka.ms/algosettings#overwriteSettings) + ### AL Code Analysis tracked in GitHub AL-Go already supports AL code analysis, but up until now this was not tracked in GitHub. It is now possible to track code analysis issues automatically in the GitHub security tab, as well as having any new issues posted as a comment in Pull Requests. @@ -13,6 +19,7 @@ Please note that some automated features are premium and require the use of [Git ### Issues - Discussion 1885 Conditional settings for CI/CD are not applied +- Discussion 1899 Remove optional properties from "required" list in settings.schema.json ## v7.3 @@ -35,7 +42,7 @@ Example AL-Go now offers a dataexplorer dashboard to get started with AL-Go telemetry. Additionally, we've updated the documentation to include a couple of kusto queries if you would rather build your own reports. -### Support for AL-Go settings as GitHub environment variable: ALGoEnvSettings +### Support for AL-Go settings as GitHub environment variable: ALGoEnvironmentSettings AL-Go settings can now be defined in GitHub environment variables. To use this feature, create a new variable under your GitHub environment called `ALGoEnvironmentSettings`. Please note that this variable should not include your environment name. diff --git a/.github/Test Current.settings.json b/.github/Test Current.settings.json index 2ce0331..06bda75 100644 --- a/.github/Test Current.settings.json +++ b/.github/Test Current.settings.json @@ -2,5 +2,8 @@ "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/32e66d69cfd2c1e3eca39e416e27c6aa58de6df3/Actions/settings.schema.json", "artifact": "////latest", "cacheImageName": "", - "versioningStrategy": 15 + "versioningStrategy": 15, + "workflowSchedule": { + "cron": "0 2 * * 1,2,3,4,5" + } } diff --git a/.github/Test Next Major.settings.json b/.github/Test Next Major.settings.json index 7ba6ede..3bf68ac 100644 --- a/.github/Test Next Major.settings.json +++ b/.github/Test Next Major.settings.json @@ -2,5 +2,8 @@ "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/32e66d69cfd2c1e3eca39e416e27c6aa58de6df3/Actions/settings.schema.json", "artifact": "////nextmajor/{INSIDERSASTOKEN}", "cacheImageName": "", - "versioningStrategy": 15 + "versioningStrategy": 15, + "workflowSchedule": { + "cron": "0 2 * * 0" + } } diff --git a/.github/Test Next Minor.settings.json b/.github/Test Next Minor.settings.json index f5afbca..e91235b 100644 --- a/.github/Test Next Minor.settings.json +++ b/.github/Test Next Minor.settings.json @@ -2,5 +2,8 @@ "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/32e66d69cfd2c1e3eca39e416e27c6aa58de6df3/Actions/settings.schema.json", "artifact": "////nextminor/{INSIDERSASTOKEN}", "cacheImageName": "", - "versioningStrategy": 15 + "versioningStrategy": 15, + "workflowSchedule": { + "cron": "0 2 * * 6" + } } diff --git a/.github/Update AL-Go System Files.settings.json b/.github/Update AL-Go System Files.settings.json new file mode 100644 index 0000000..f715057 --- /dev/null +++ b/.github/Update AL-Go System Files.settings.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.2/settings.schema.json", + "workflowSchedule": { + "cron": "0 0 * * *" + } +} diff --git a/.github/workflows/CICD.yaml b/.github/workflows/CICD.yaml index 739180d..a028ddf 100644 --- a/.github/workflows/CICD.yaml +++ b/.github/workflows/CICD.yaml @@ -419,7 +419,7 @@ jobs: artifacts: '.artifacts' PostProcess: - needs: [ Initialization, Build1, Build, Deploy, Deliver, DeployALDoc ] + needs: [ Initialization, Build1, Build, Deploy, Deliver, DeployALDoc, CodeAnalysisUpload ] if: (!cancelled()) runs-on: [ ubuntu-latest ] steps: diff --git a/Library Apps/Freddyk-Licensing/app.json b/Library Apps/Freddyk-Licensing/app.json index f8e6349..6f47c74 100644 --- a/Library Apps/Freddyk-Licensing/app.json +++ b/Library Apps/Freddyk-Licensing/app.json @@ -1,10 +1,10 @@ { "id": "93ef78d0-3805-484b-ab3d-a72ef2b1ea9c", - "name": "FreddyDK.Licensing", - "publisher": "Freddy Kristiansen", - "version": "4.8.0.0", - "brief": "FreddyDK Licensing", - "description": "FreddyDK Licensing App", + "name": "Microsoft Samples.Licensing", + "publisher": "Microsoft Samples", + "version": "5.0.0.0", + "brief": "Microsoft Samples Licensing", + "description": "Microsoft Samples Licensing App", "privacyStatement": "https://dev.azure.com/businesscentralapps/BingMaps.AppSource", "EULA": "https://dev.azure.com/businesscentralapps/BingMaps.AppSource", "help": "https://dev.azure.com/businesscentralapps/BingMaps.AppSource", @@ -13,8 +13,8 @@ "logo": "bingmaps256x240.png", "dependencies": [], "screenshots": [], - "platform": "20.0.0.0", - "application": "20.0.0.0", + "platform": "25.0.0.0", + "application": "25.0.0.0", "idRanges": [ { "from": 70074128, @@ -31,5 +31,5 @@ "includeSourceInSymbolFile": true }, "target": "Cloud", - "runtime": "8.0" + "runtime": "14.0" } diff --git a/Main App/.AL-Go/settings.json b/Main App/.AL-Go/settings.json index 173f6fc..bc2681b 100644 --- a/Main App/.AL-Go/settings.json +++ b/Main App/.AL-Go/settings.json @@ -12,7 +12,7 @@ "continuousDelivery": true, "mainAppFolder": "BingMaps-AppSource", "includeDependencies": [ - "Freddy Kristiansen_*.app" + "Microsoft Samples_*.app" ] }, "generateDependencyArtifact": true, diff --git a/Main App/BingMaps-AppSource.Test/app.json b/Main App/BingMaps-AppSource.Test/app.json index 1fcd7e4..590bb9d 100644 --- a/Main App/BingMaps-AppSource.Test/app.json +++ b/Main App/BingMaps-AppSource.Test/app.json @@ -1,10 +1,10 @@ { "id": "81eb0a83-7ca0-42e3-9dac-0b530a7c326b", "name": "BingMaps.AppSource_Test", - "publisher": "Freddy Kristiansen", + "publisher": "Microsoft samples", "brief": "", "description": "", - "version": "4.8.0.0", + "version": "5.0.0.0", "privacyStatement": "", "EULA": "", "help": "", @@ -15,37 +15,37 @@ "id": "dd0be2ea-f733-4d65-bb34-a28f4624fb14", "publisher": "Microsoft", "name": "Library Assert", - "version": "20.0.0.0" + "version": "25.0.0.0" }, { "id": "e7320ebb-08b3-4406-b1ec-b4927d3e280b", "publisher": "Microsoft", "name": "Any", - "version": "20.0.0.0" + "version": "25.0.0.0" }, { "id": "23de40a6-dfe8-4f80-80db-d70f83ce8caf", "publisher": "Microsoft", "name": "Test Runner", - "version": "20.0.0.0" + "version": "25.0.0.0" }, { "id": "4270bff7-c860-434f-b09a-0f3e37d243fd", - "publisher": "Freddy Kristiansen", + "publisher": "Microsoft samples", "name": "BingMaps.AppSource", - "version": "4.8.0.0" + "version": "5.0.0.0" } ], "screenshots": [], - "application": "20.0.0.0", - "platform": "20.0.0.0", + "application": "25.0.0.0", + "platform": "25.0.0.0", "idRanges": [ { "from": 70100, "to": 70149 } ], - "runtime": "8.0", + "runtime": "14.0", "resourceExposurePolicy": { "allowDebugging": true, "allowDownloadingSource": true, diff --git a/Main App/BingMaps-AppSource/BingMapsCustomerMap.Page.al b/Main App/BingMaps-AppSource/BingMapsCustomerMap.Page.al index bd5db8e..8afa08b 100644 --- a/Main App/BingMaps-AppSource/BingMapsCustomerMap.Page.al +++ b/Main App/BingMaps-AppSource/BingMapsCustomerMap.Page.al @@ -15,7 +15,7 @@ page 70074121 "BingMaps CustomerMap" Tooltip = 'Customer no.'; } - usercontrol(Map; "Microsoft.Dynamics.Nav.Client.WebPageViewer") + usercontrol(Map; "WebPageViewer") { ApplicationArea = All; diff --git a/Main App/BingMaps-AppSource/BingMapsPermissions.al b/Main App/BingMaps-AppSource/BingMapsPermissions.al new file mode 100644 index 0000000..ec1d43b --- /dev/null +++ b/Main App/BingMaps-AppSource/BingMapsPermissions.al @@ -0,0 +1,9 @@ +permissionset 74119 "BingMaps" +{ + Caption = 'BingMaps'; + Assignable = true; + + Permissions = + tabledata "BingMaps Customer" = RIMD, + tabledata "BingMaps Settings" = RIMD; +} \ No newline at end of file diff --git a/Main App/BingMaps-AppSource/Permissions.xml b/Main App/BingMaps-AppSource/Permissions.xml deleted file mode 100644 index c17deb0..0000000 --- a/Main App/BingMaps-AppSource/Permissions.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - TableData - 70074120 - 1 - 1 - 1 - 1 - 0 - - - - TableData - 70074122 - 1 - 1 - 1 - 1 - 0 - - - - \ No newline at end of file diff --git a/Main App/BingMaps-AppSource/app.json b/Main App/BingMaps-AppSource/app.json index 4ec5760..cac964b 100644 --- a/Main App/BingMaps-AppSource/app.json +++ b/Main App/BingMaps-AppSource/app.json @@ -1,10 +1,10 @@ { "id": "4270bff7-c860-434f-b09a-0f3e37d243fd", "name": "BingMaps.AppSource", - "publisher": "Freddy Kristiansen", + "publisher": "Microsoft samples", "brief": "BingMaps Integration", "description": "BingMaps Integration App with geocode functionality and map control", - "version": "4.8.0.0", + "version": "5.0.0.0", "privacyStatement": "https://dev.azure.com/businesscentralapps/BingMaps.AppSource", "EULA": "https://dev.azure.com/businesscentralapps/BingMaps.AppSource", "help": "https://dev.azure.com/businesscentralapps/BingMaps.AppSource", @@ -15,19 +15,19 @@ { "id": "3fb011e8-1265-4b75-b527-fa8e8e512aec", "name": "BingMaps.Common", - "publisher": "Freddy Kristiansen", - "version": "4.8.0.0" + "publisher": "Microsoft Samples", + "version": "5.0.0.0" }, { "id": "93ef78d0-3805-484b-ab3d-a72ef2b1ea9c", - "name": "FreddyDK.Licensing", - "publisher": "Freddy Kristiansen", - "version": "4.8.0.0" + "name": "Microsoft Samples.Licensing", + "publisher": "Microsoft Samples", + "version": "5.0.0.0" } ], "screenshots": [], - "platform": "20.0.0.0", - "application": "20.0.0.0", + "platform": "25.0.0.0", + "application": "25.0.0.0", "idRanges": [ { "from": 70074119, @@ -46,7 +46,7 @@ "supportedLocales": [ "en-US" ], - "runtime": "8.0", + "runtime": "14.0", "keyVaultUrls": [], "applicationInsightsConnectionString": "InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/" } diff --git a/Main App/BingMaps-Common/app.json b/Main App/BingMaps-Common/app.json index 34b9a6c..f662d78 100644 --- a/Main App/BingMaps-Common/app.json +++ b/Main App/BingMaps-Common/app.json @@ -1,8 +1,8 @@ { "id": "3fb011e8-1265-4b75-b527-fa8e8e512aec", "name": "BingMaps.Common", - "publisher": "Freddy Kristiansen", - "version": "4.8.0.0", + "publisher": "Microsoft samples", + "version": "5.0.0.0", "brief": "BingMaps Common", "description": "BingMaps Common App", "privacyStatement": "https://dev.azure.com/businesscentralapps/BingMaps.AppSource", @@ -13,8 +13,8 @@ "logo": "bingmaps256x240.png", "dependencies": [], "screenshots": [], - "platform": "20.0.0.0", - "application": "20.0.0.0", + "platform": "25.0.0.0", + "application": "25.0.0.0", "idRanges": [ { "from": 70074128, @@ -31,5 +31,5 @@ "includeSourceInSymbolFile": true }, "target": "Cloud", - "runtime": "8.0" + "runtime": "14.0" }