Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version v-9.1.0 (#9484) #9488

Merged
merged 87 commits into from
Dec 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
37981ac
feat(infra): decrease windows output size in self-contained deploymen…
ysmoradi Nov 21, 2024
ece36ac
feat(blazorui): add BitNavBar component #8784 (#9270)
msynk Nov 21, 2024
d1726b0
feat(templates): Refactor Boilerplate User session relation with Sign…
ysmoradi Nov 23, 2024
8614b77
feat(templates): add unique user session check feature to Boilerplate…
ysmoradi Nov 23, 2024
6859f50
feat(prerelease): v-9.1.0-pre-01 #9313 (#9314)
msynk Nov 23, 2024
e751efb
fix(blazorui): resolve BitNav and BitNavBar issues #9316 (#9317)
msynk Nov 23, 2024
4f72350
feat(templates): update Boilerplate for latest BlazorUI changes #9318…
msynk Nov 23, 2024
464dc55
feat(prerelease): v-9.1.0-pre-02 #9319 (#9321)
msynk Nov 24, 2024
bedd9ef
feat(templates): Add ModalService to Boilerplate #9323 (#9324)
msynk Nov 24, 2024
3811e52
feat(templates): Add feature to ask for security code before dangerou…
ysmoradi Nov 24, 2024
8e87b7d
fix(templates): resolve minor issues in Boilerplate #9327 (#9328)
ysmoradi Nov 25, 2024
75c306e
feat(prerelease): v-9.1.0-pre-03 #9329 (#9330)
msynk Nov 25, 2024
45f2f71
fix(templates): resolve issues of sessions section in settings page o…
msynk Nov 25, 2024
da6e5ee
feat(templates): prevent re-using refresh token in Boilerplate #9335 …
ysmoradi Nov 26, 2024
defe01a
feat(github actions): use Xcode 16.1 in github actions #9337 (#9338)
ysmoradi Nov 26, 2024
07d3552
feat(templates): apply small improvements in Boilerplate #9339 (#9340)
ysmoradi Nov 26, 2024
a37e8d7
feat(blazorui): improve demo page of BitNavBar #9307 (#9315)
Cyrus-Sushiant Nov 26, 2024
e366999
feat(templates): correct min value of Y axis of BitChart in Boilerpla…
msynk Nov 27, 2024
d7a276e
feat(blazorui): improve BitNavBar demo page further #9341 (#9342)
msynk Nov 27, 2024
bcd5bb3
fix(blazorui): resolve icon issues of BitSpinButton #9334 (#9345)
Cyrus-Sushiant Nov 27, 2024
c1a3921
feat(templates): repalce AppCenter with Sentry in Boilerplate #9347 (…
ysmoradi Nov 27, 2024
2ebbf9f
feat(templates): add missing tests for pre-rendered html in Boilerpla…
mjebrahimi Nov 28, 2024
cac62b9
fix(templates): resolve Sentry issues of logging on iOS in Boilerplat…
ysmoradi Nov 29, 2024
e696dd5
feat(prerelease): v-9.1.0-pre-04 #9354 (#9357)
msynk Nov 29, 2024
14d2664
feat(blazorui): add Float feature to BitButton #9352 (#9355)
Cyrus-Sushiant Nov 30, 2024
f36e9ff
feat(blazorui): improve Float feature of BitButton #9358 (#9359)
msynk Dec 1, 2024
75a8d7a
feat(blazorui): add BitPullToRefresh component #9300 (#9306)
msynk Dec 1, 2024
f25d0de
feat(blazorui): add BitModalService #9322 (#9325)
msynk Dec 1, 2024
fe0fa81
feat(templates): add support for azure SignalR scale out in Boilerpla…
ysmoradi Dec 1, 2024
53db344
feat(prerelease): v-9.1.0-pre-05 #9363 (#9368)
msynk Dec 1, 2024
830d9e1
fix(templates): resolve windows app update issues in Boilerplate #936…
ysmoradi Dec 2, 2024
5f0d9a3
feat(templates): use BitPullToRefresh in Boilerplate #9370 (#9371)
msynk Dec 2, 2024
8ffe8f1
feat(templates): use BitModalService in Boilerplate #9372 (#9373)
msynk Dec 2, 2024
020f04a
fix(infra): resolve CDN issues with brotli comressed assets #9367 (#9…
ysmoradi Dec 2, 2024
b98ca22
feat(templates): remove singleton service registration for BlazorUI i…
msynk Dec 2, 2024
f677c5c
fix(blazorui): resolve issues of FixedColor and IconOnly parameters i…
msynk Dec 2, 2024
90754c0
feat(blazorui): remove singleton option from BlazorUI service registr…
msynk Dec 2, 2024
816335a
fix(templates): Fix small issues in Boilerplate #9384 (#9385)
ysmoradi Dec 2, 2024
61cdc97
feat(prerelease): v-9.1.0-pre-06 #9374 (#9375)
msynk Dec 2, 2024
7671bb7
feat(templates): update Boilerplate for new changes of BlazorUI #9386…
msynk Dec 2, 2024
aa14193
feat(prerelease): v-9.1.0-pre-07 #9388 (#9389)
msynk Dec 2, 2024
f638fc9
feat(prerelease): v-9.1.0-pre-08 #9390 (#9391)
msynk Dec 2, 2024
3009f55
feat(blazorui): improve BitPanel #9351 (#9356)
msynk Dec 3, 2024
a4863be
feat(blazorui): add InitialSelectedItems parameter to BitDorpdown #93…
Cyrus-Sushiant Dec 4, 2024
2c5ea07
feat(templates): improve Boilerplate forwarded headers middleware con…
ysmoradi Dec 5, 2024
239f78e
feat(templates): add support for pop-up based social sign-in #9399 (#…
ysmoradi Dec 6, 2024
a372dc3
feat(blazorui): add InitialSelectedItems's demo in BitDropdown #9396 …
Cyrus-Sushiant Dec 6, 2024
18ead05
fix(besql): resolve Bit Besql memory leak issues #9403 (#9404)
ysmoradi Dec 6, 2024
8357a2c
feat(templates): improve home page of Boilerplate #9406 (#9410)
msynk Dec 6, 2024
ee02832
feat(blazorui): improve loading components #9408 (#9411)
msynk Dec 6, 2024
1feb630
feat(blazorui): improve BitPullToRefresh component #9412 (#9414)
msynk Dec 6, 2024
794f698
feat(blazorui): improve BitPanel component #9413 (#9416)
msynk Dec 6, 2024
768a5ff
feat(templates): apply max-width to sign-in page of Boilerplate #9407…
msynk Dec 6, 2024
dfdab14
feat(blazorui): add BitSwipeTrap component #9301 (#9397)
msynk Dec 6, 2024
962be40
feat(deps): update project dependencies #9409 (#9415)
ysmoradi Dec 6, 2024
6a3d7b7
feat(templates): add missing useragent header to http requests #9418 …
msynk Dec 6, 2024
fa033dc
feat(prerelease): v-9.1.0-pre-09 #9405 (#9420)
msynk Dec 6, 2024
357f0e2
feat(templates): update adminpanel demo CD pipeline based on recent g…
ysmoradi Dec 6, 2024
36a4f5d
feat(blazorui): correct @key attribute calculation #9425 (#9426)
msynk Dec 8, 2024
97dd31f
fix(blazorui): item displaying issue in BitBreadcrumb #9430 (#9431)
Cyrus-Sushiant Dec 9, 2024
5d1d68e
fix(blazorui): resolve displaying issue in BitButtonGroup #9432 (#9433)
Cyrus-Sushiant Dec 9, 2024
cd7ddb8
fix(blazorui): resolve displaying issue in BitChoiceGroup #9434 (#9435)
Cyrus-Sushiant Dec 9, 2024
a0cc316
feat(blazorui): improve Responsive mode implementation of components …
msynk Dec 10, 2024
f58cccf
feat(blazorui): remove unused method in BitChoiceGroup #9442 (#9444)
Cyrus-Sushiant Dec 10, 2024
2fd71b0
feat(blazorui): reset internal state after end events in BitPullToRef…
msynk Dec 10, 2024
872b2cc
feat(blazorui): enable swipe feature for responsive components #9436 …
msynk Dec 10, 2024
d3795b1
feat(blazorui): add Classes/Styles parameters to BitPullToRefresh #93…
Cyrus-Sushiant Dec 10, 2024
bee2a86
feat(besql): add throttled sync to bit besql #9445 (#9446)
ysmoradi Dec 10, 2024
377eade
feat(blazorui): correct callout position calculation in BitDatePicker…
msynk Dec 10, 2024
cfda10f
feat(prerelease): v-9.1.0-pre-10 #9437 (#9448)
msynk Dec 10, 2024
980ba86
feat(templates): apply BitSwipeTrap in Boilerplate #9423 (#9424)
msynk Dec 10, 2024
8dec677
feat(blazorui): improve AutoLoading of BitButton #9449 (#9450)
msynk Dec 12, 2024
2a1aee9
fix(templates): resolve several small issues in Boilerplate #9451 (#9…
msynk Dec 12, 2024
14b9354
feat(templates): add WithAutomaticReconnect to Boilerplat SignalR con…
msynk Dec 12, 2024
a46a81b
fix(blazorui): resolve style issues in advanced sample on BitNavBar d…
Cyrus-Sushiant Dec 12, 2024
ed0a997
feat(templates): add Apple Social sign-in #9455 (#9459)
ysmoradi Dec 12, 2024
7c430b1
feat(deps): Update project dependencies #9461 (#9462)
ysmoradi Dec 13, 2024
c91b2f1
feat(prerelease): v-9.1.0-pre-11 #9464 (#9465)
ysmoradi Dec 13, 2024
0f3b4ba
feat(infra): improve versioning and packaging of bit platform product…
msynk Dec 13, 2024
af5f99b
feat(prerelease): v-9.1.0-pre-12 #9466 (#9472)
msynk Dec 13, 2024
f6ed694
feat(infra): correct README.md filename in Bit.Build.props #9473 (#9474)
msynk Dec 13, 2024
da81133
fix(infra): resolve issues of PackageIcon and README files #9475 (#9476)
msynk Dec 13, 2024
b3763f6
feat(prerelease): v-9.1.0-pre-13 #9477 (#9478)
msynk Dec 13, 2024
381ed19
fix(blazorui): resolve undefined canvas element issues in BitPdfReade…
msynk Dec 14, 2024
7928d69
fix(blazorui): resolve issues of Utils typescript class #9481 (#9482)
msynk Dec 14, 2024
c58c145
feat(templates): improve Boilerplate unobserved exception logging #94…
ysmoradi Dec 14, 2024
4b78ed7
feat(release): v-9.1.0 #9483 (#9487)
msynk Dec 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"hostRequirements": {
"cpus": 4
},
"onCreateCommand": "wget https://download.visualstudio.microsoft.com/download/pr/308f16a9-2ecf-4a42-b8bb-c1233de985fd/be6e87045ab21935bd8bb98ce69026c4/dotnet-sdk-9.0.100-linux-x64.tar.gz -O $HOME/dotnet.tar.gz && export DOTNET_ROOT=$HOME/.dotnet && mkdir -p \"$DOTNET_ROOT\" && tar zxf $HOME/dotnet.tar.gz -C \"$DOTNET_ROOT\" && export PATH=$DOTNET_ROOT:$DOTNET_ROOT/tools:$PATH && find . -type f -name '*.csproj' -exec sed -i 's/Microsoft.NET.Sdk.BlazorWebAssembly/Microsoft.NET.Sdk.Web/g' {} \\;",
"onCreateCommand": "wget https://download.visualstudio.microsoft.com/download/pr/d74fd2dd-3384-4952-924b-f5d492326e35/e91d8295d4cbe82ba3501e411d78c9b8/dotnet-sdk-9.0.101-linux-x64.tar.gz -O $HOME/dotnet.tar.gz && export DOTNET_ROOT=$HOME/.dotnet && mkdir -p \"$DOTNET_ROOT\" && tar zxf $HOME/dotnet.tar.gz -C \"$DOTNET_ROOT\" && export PATH=$DOTNET_ROOT:$DOTNET_ROOT/tools:$PATH && find . -type f -name '*.csproj' -exec sed -i 's/Microsoft.NET.Sdk.BlazorWebAssembly/Microsoft.NET.Sdk.Web/g' {} \\;",
"waitFor": "onCreateCommand",
"customizations": {
"codespaces": {
Expand Down
73 changes: 30 additions & 43 deletions .github/workflows/admin-sample.cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
# Project templates come equipped with CI/CD for both Azure DevOps and GitHub, providing you with a hassle-free way to get started with your new project. It is important to note that you should not depend on the contents of this file. More info at https://bitplatform.dev/templates/dev-ops

env:
API_SERVER_ADDRESS: 'https://adminpanel-api.bitplatform.dev'
WEB_SERVER_ADDRESS: 'https://adminpanel.bitplatform.dev'
SERVER_ADDRESS: 'https://adminpanel.bitplatform.dev'
APP_SERVICE_NAME: 'bit-adminpanel'

on:
Expand All @@ -29,25 +28,26 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
global-json-file: src/Templates/Boilerplate/Bit.Boilerplate/global.json
global-json-file: src/global.json

- name: Create project from Boilerplate
run: |
cd src/Templates/Boilerplate && dotnet build -c Release
dotnet pack -c Release -o . -p:ReleaseVersion=0.0.0 -p:PackageVersion=0.0.0
dotnet new install Bit.Boilerplate.0.0.0.nupkg
cd ../../../ && dotnet new bit-bp --name AdminPanel --database PostgreSQL --sample Admin --appInsights --serverUrl ${{ env.WEB_SERVER_ADDRESS }} --filesStorage AzureBlobStorage --api Standalone --notification --captcha reCaptcha --signalR --framework net9.0
cd ../../../ && dotnet new bit-bp --name AdminPanel --database PostgreSQL --sample Admin --appInsights --sentry --serverUrl ${{ env.SERVER_ADDRESS }} --filesStorage AzureBlobStorage --notification --captcha reCaptcha --signalR --framework net9.0

- name: Update core appsettings.json
uses: devops-actions/[email protected]
with:
files: 'AdminPanel/src/Shared/appsettings.json, AdminPanel/src/Client/AdminPanel.Client.Core/appsettings.json, AdminPanel/src/Client/AdminPanel.Client.Web/appsettings.json, AdminPanel/src/Client/AdminPanel.Client.Web/appsettings.Production.json'
env:
ServerAddress: ${{ env.API_SERVER_ADDRESS }}
GoogleRecaptchaSiteKey: ${{ secrets.GOOGLE_RECAPTCHA_SITE_KEY }}
WebAppRender.BlazorMode: BlazorWebAssembly
ApplicationInsights.ConnectionString: ${{ secrets.APPLICATION_INSIGHTS_CONNECTION_STRING }}
ServerAddress: ${{ env.SERVER_ADDRESS }}
Logging.Sentry.Dsn: ${{ secrets.ADMINPANEL_SENTRY_DSN }}
GoogleRecaptchaSiteKey: ${{ secrets.GOOGLE_RECAPTCHA_SITE_KEY }}
AdsPushVapid.PublicKey: ${{ secrets.ADMINPANEL_PUBLIC_VAPIDKEY }}
ApplicationInsights.ConnectionString: ${{ secrets.APPLICATION_INSIGHTS_CONNECTION_STRING }}

- uses: actions/setup-node@v4
with:
Expand All @@ -60,24 +60,13 @@ jobs:
run: dotnet build AdminPanel/src/Client/AdminPanel.Client.Core/AdminPanel.Client.Core.csproj -t:BeforeBuildTasks -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" --no-restore -c Release

- name: Publish
run: dotnet publish AdminPanel/src/Server/AdminPanel.Server.Api/AdminPanel.Server.Api.csproj -c Release -p:PwaEnabled=true --self-contained -r linux-x64 -o ${{env.DOTNET_ROOT}}/server -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}"
run: dotnet publish AdminPanel/src/Server/AdminPanel.Server.Web/AdminPanel.Server.Web.csproj -c Release -p:PwaEnabled=true --self-contained -r linux-x64 -o ${{env.DOTNET_ROOT}}/server -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}"

- name: Upload server artifact
uses: actions/upload-artifact@v4
with:
name: server-bundle
path: ${{env.DOTNET_ROOT}}/server

- name: Publish adminpanel blazor wasm standalone
run: |
sed -i 's/adminpanel.bitplatform.dev/adminpanel-api.bitplatform.dev/g' AdminPanel/src/Client/AdminPanel.Client.Web/wwwroot/index.html
dotnet publish AdminPanel/src/Client/AdminPanel.Client.Web/AdminPanel.Client.Web.csproj -c Release -p:PwaEnabled=true -o ${{env.DOTNET_ROOT}}/static -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}"

- name: Upload static artifact
uses: actions/upload-artifact@v4
with:
name: static-bundle
path: ${{env.DOTNET_ROOT}}/static
include-hidden-files: true # Required for wwwroot/.well-known folder

deploy_api_blazor:
Expand Down Expand Up @@ -106,6 +95,9 @@ jobs:
fileName: 'DataProtectionCertificate.pfx'
encodedString: ${{ secrets.API_DATA_PROTECTION_CERTIFICATE_FILE_BASE64 }}

- name: Retrieve AppleAuthKey.p8
run: echo "${{ secrets.APPSTORE_API_KEY_PRIVATE_KEY_ADMIN }}" > AppleAuthKey.p8

- name: Deploy to Azure Web App
id: deploy-to-webapp
uses: azure/webapps-deploy@v3
Expand Down Expand Up @@ -133,7 +125,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
global-json-file: src\Templates\Boilerplate\Bit.Boilerplate\global.json
global-json-file: src\global.json

- uses: actions/setup-node@v4
with:
Expand All @@ -144,27 +136,28 @@ jobs:
cd src\Templates\Boilerplate && dotnet build -c Release
dotnet pack -c Release -o . -p:ReleaseVersion=0.0.0 -p:PackageVersion=0.0.0
dotnet new install Bit.Boilerplate.0.0.0.nupkg
cd ..\..\..\ && dotnet new bit-bp --name AdminPanel --database PostgreSQL --sample Admin --windows --appInsights --serverUrl ${{ env.WEB_SERVER_ADDRESS }} --filesStorage AzureBlobStorage --captcha reCaptcha --signalR --offlineDb --framework net9.0
cd ..\..\..\ && dotnet new bit-bp --name AdminPanel --database PostgreSQL --sample Admin --windows --appInsights --sentry --serverUrl ${{ env.SERVER_ADDRESS }} --filesStorage AzureBlobStorage --captcha reCaptcha --signalR --offlineDb --framework net9.0

- name: Update core appsettings.json
uses: devops-actions/[email protected]
with:
files: 'AdminPanel\src\Shared\appsettings.json, AdminPanel\src\Client\AdminPanel.Client.Core\appsettings.json, AdminPanel\src\Client\AdminPanel.Client.Windows\appsettings.json'
env:
ServerAddress: ${{ env.API_SERVER_ADDRESS }}
ServerAddress: ${{ env.SERVER_ADDRESS }}
Logging.Sentry.Dsn: ${{ secrets.ADMINPANEL_SENTRY_DSN }}
GoogleRecaptchaSiteKey: ${{ secrets.GOOGLE_RECAPTCHA_SITE_KEY }}
WindowsUpdate.FilesUrl: https://windows-adminpanel.bitplatform.dev
ApplicationInsights.ConnectionString: ${{ secrets.APPLICATION_INSIGHTS_CONNECTION_STRING }}

- name: Generate CSS/JS files
run: dotnet build AdminPanel\src\Client\AdminPanel.Client.Core\AdminPanel.Client.Core.csproj -t:BeforeBuildTasks -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" --no-restore -c Release

- name: Publish
run: |
cd AdminPanel\src\Client\AdminPanel.Client.Windows\
dotnet publish AdminPanel.Client.Windows.csproj -c Release -o .\publish-result -r win-x86 -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" -p:CompressionEnabled=false
dotnet publish AdminPanel.Client.Windows.csproj -c Release -o .\publish-result -r win-x86 -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" --self-contained
dotnet tool restore
dotnet vpk pack -u AdminPanel.Client.Windows -v "${{ vars.APPLICATION_DISPLAY_VERSION }}" -p .\publish-result -e AdminPanel.Client.Windows.exe -r win-x86 --framework net9.0-x86-desktop,webview2 --icon .\wwwroot\favicon.ico --packTitle 'AdminPanel'
dotnet vpk pack -u AdminPanel.Client.Windows -v "${{ vars.APPLICATION_DISPLAY_VERSION }}" -p .\publish-result -e AdminPanel.Client.Windows.exe -r win-x86 --framework webview2 --icon .\wwwroot\favicon.ico --packTitle 'AdminPanel'

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand All @@ -184,14 +177,14 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
global-json-file: src/Templates/Boilerplate/Bit.Boilerplate/global.json
global-json-file: src/global.json

- name: Create project from Boilerplate
run: |
cd src/Templates/Boilerplate && dotnet build -c Release
dotnet pack -c Release -o . -p:ReleaseVersion=0.0.0 -p:PackageVersion=0.0.0
dotnet new install Bit.Boilerplate.0.0.0.nupkg
cd ../../../ && dotnet new bit-bp --name AdminPanel --database PostgreSQL --sample Admin --appInsights --appCenter --serverUrl ${{ env.WEB_SERVER_ADDRESS }} --filesStorage AzureBlobStorage --notification --captcha reCaptcha --signalR --framework net9.0
cd ../../../ && dotnet new bit-bp --name AdminPanel --database PostgreSQL --sample Admin --appInsights --sentry --serverUrl ${{ env.SERVER_ADDRESS }} --filesStorage AzureBlobStorage --notification --captcha reCaptcha --signalR --framework net9.0

- uses: actions/setup-node@v4
with:
Expand All @@ -216,14 +209,11 @@ jobs:
with:
files: 'AdminPanel/src/Shared/appsettings.json, AdminPanel/src/Client/AdminPanel.Client.Core/appsettings.json, AdminPanel/src/Client/AdminPanel.Client.Maui/appsettings.json'
env:
ServerAddress: ${{ env.API_SERVER_ADDRESS }}
ServerAddress: ${{ env.SERVER_ADDRESS }}
Logging.Sentry.Dsn: ${{ secrets.ADMINPANEL_SENTRY_DSN }}
GoogleRecaptchaSiteKey: ${{ secrets.GOOGLE_RECAPTCHA_SITE_KEY }}
ApplicationInsights.ConnectionString: ${{ secrets.APPLICATION_INSIGHTS_CONNECTION_STRING }}

- name: Set app center secret
run: |
sed -i 's/appCenterSecret = null;/appCenterSecret = "ea9b98ea-93a0-48c7-982a-0a72f4ad6d04";/g' AdminPanel/src/Client/AdminPanel.Client.Maui/MauiProgram.cs

- name: Install maui
run: cd src && dotnet workload install maui-android

Expand All @@ -235,8 +225,8 @@ jobs:
dotnet build AdminPanel/src/Client/AdminPanel.Client.Core/AdminPanel.Client.Core.csproj -t:BeforeBuildTasks -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" --no-restore -c Release
dotnet build AdminPanel/src/Client/AdminPanel.Client.Maui/AdminPanel.Client.Maui.csproj -t:BeforeBuildTasks -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" --no-restore -c Release

- name: Build aab
run: dotnet publish AdminPanel/src/Client/AdminPanel.Client.Maui/AdminPanel.Client.Maui.csproj -c Release -p:AndroidPackageFormat=aab -p:AndroidKeyStore=true -p:AndroidSigningKeyStore="AdminPanel.keystore" -p:AndroidSigningKeyAlias=bitplatform -p:AndroidSigningKeyPass="${{ secrets.ANDROID_RELEASE_KEYSTORE_PASSWORD }}" -p:AndroidSigningStorePass="${{ secrets.ANDROID_RELEASE_SIGNING_PASSWORD }}" -p:ApplicationDisplayVersion="${{ vars.APPLICATION_DISPLAY_VERSION }}" -p:ApplicationVersion="${{ vars.APPLICATION_VERSION }}" -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" -p:ApplicationTitle="AdminPanel" -p:ApplicationId="com.bitplatform.AdminPanel.Template" -p:CompressionEnabled=false -f net9.0-android
- name: Publish aab
run: dotnet publish AdminPanel/src/Client/AdminPanel.Client.Maui/AdminPanel.Client.Maui.csproj -c Release -p:AndroidPackageFormat=aab -p:AndroidKeyStore=true -p:AndroidSigningKeyStore="AdminPanel.keystore" -p:AndroidSigningKeyAlias=bitplatform -p:AndroidSigningKeyPass="${{ secrets.ANDROID_RELEASE_KEYSTORE_PASSWORD }}" -p:AndroidSigningStorePass="${{ secrets.ANDROID_RELEASE_SIGNING_PASSWORD }}" -p:ApplicationDisplayVersion="${{ vars.APPLICATION_DISPLAY_VERSION }}" -p:ApplicationVersion="${{ vars.APPLICATION_VERSION }}" -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" -p:ApplicationTitle="AdminPanel" -p:ApplicationId="com.bitplatform.AdminPanel.Template" -f net9.0-android

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand All @@ -256,11 +246,11 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
global-json-file: src/Templates/Boilerplate/Bit.Boilerplate/global.json
global-json-file: src/global.json

- uses: maxim-lobanov/[email protected]
with:
xcode-version: '16.0'
xcode-version: '16.2'

- uses: actions/setup-node@v4
with:
Expand All @@ -271,21 +261,18 @@ jobs:
cd src/Templates/Boilerplate && dotnet build -c Release
dotnet pack -c Release -o . -p:ReleaseVersion=0.0.0 -p:PackageVersion=0.0.0
dotnet new install Bit.Boilerplate.0.0.0.nupkg
cd ../../../ && dotnet new bit-bp --name AdminPanel --database PostgreSQL --sample Admin --appInsights --appCenter --serverUrl ${{ env.WEB_SERVER_ADDRESS }} --filesStorage AzureBlobStorage --notification --captcha reCaptcha --signalR --framework net9.0
cd ../../../ && dotnet new bit-bp --name AdminPanel --database PostgreSQL --sample Admin --appInsights --sentry --serverUrl ${{ env.SERVER_ADDRESS }} --filesStorage AzureBlobStorage --notification --captcha reCaptcha --signalR --framework net9.0

- name: Update core appsettings.json
uses: devops-actions/[email protected]
with:
files: 'AdminPanel/src/Shared/appsettings.json, AdminPanel/src/Client/AdminPanel.Client.Core/appsettings.json, AdminPanel/src/Client/AdminPanel.Client.Maui/appsettings.json'
env:
ServerAddress: ${{ env.API_SERVER_ADDRESS }}
ServerAddress: ${{ env.SERVER_ADDRESS }}
Logging.Sentry.Dsn: ${{ secrets.ADMINPANEL_SENTRY_DSN }}
GoogleRecaptchaSiteKey: ${{ secrets.GOOGLE_RECAPTCHA_SITE_KEY }}
ApplicationInsights.ConnectionString: ${{ secrets.APPLICATION_INSIGHTS_CONNECTION_STRING }}

- name: Set app center secret
run: |
brew install gnu-sed && gsed -i 's/appCenterSecret = null;/appCenterSecret = "0bc0d910-dc84-4887-a3a0-eee6b1b55797";/g' AdminPanel/src/Client/AdminPanel.Client.Maui/MauiProgram.cs

- name: Install maui
run: cd src && dotnet workload install maui

Expand All @@ -309,7 +296,7 @@ jobs:
dotnet build AdminPanel/src/Client/AdminPanel.Client.Maui/AdminPanel.Client.Maui.csproj -t:BeforeBuildTasks -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" --no-restore -c Release

- name: Build ipa
run: dotnet publish AdminPanel/src/Client/AdminPanel.Client.Maui/AdminPanel.Client.Maui.csproj -p:RuntimeIdentifier=ios-arm64 -c Release -p:ArchiveOnBuild=true -p:CodesignKey="iPhone Distribution" -p:CodesignProvision="AdminPanel" -p:ApplicationDisplayVersion="${{ vars.APPLICATION_DISPLAY_VERSION }}" -p:ApplicationVersion="${{ vars.APPLICATION_VERSION }}" -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" -p:ApplicationTitle="AdminPanel" -p:ApplicationId="com.bitplatform.AdminPanel.Template" -p:CompressionEnabled=false -f net9.0-ios
run: dotnet publish AdminPanel/src/Client/AdminPanel.Client.Maui/AdminPanel.Client.Maui.csproj -p:RuntimeIdentifier=ios-arm64 -c Release -p:ArchiveOnBuild=true -p:CodesignKey="iPhone Distribution" -p:CodesignProvision="AdminPanel" -p:ApplicationDisplayVersion="${{ vars.APPLICATION_DISPLAY_VERSION }}" -p:ApplicationVersion="${{ vars.APPLICATION_VERSION }}" -p:Version="${{ vars.APPLICATION_DISPLAY_VERSION}}" -p:ApplicationTitle="AdminPanel" -p:ApplicationId="com.bitplatform.AdminPanel.Template" -f net9.0-ios

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down
Loading
Loading