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 8.7.2 (#6612) #6614

Merged
merged 39 commits into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
d81d1a1
feat(butil): improve History samples in bit Butil demo #6528 (#6529)
mhrastegari Jan 9, 2024
5d22670
fix(butil): update js function name of GetAttributeNames method of El…
mhrastegari Jan 10, 2024
0bdf925
feat(templates): add TupleExtensions to shared project of boilerplate…
ysmoradi Jan 10, 2024
41717e8
feat(websites): add Besql documents to Platform website #6513 (#6536)
msynk Jan 10, 2024
1142ddb
fix(butil): resolve issues of ScrollBy method of Element in Butil #65…
mhrastegari Jan 11, 2024
dc65f9e
feat(butil): make RemoveAttribute of Element void in bit Butil #6544 …
mhrastegari Jan 11, 2024
505a982
fix(github actions): resolve android build issues in CI/CD pipelines …
ysmoradi Jan 11, 2024
59baf2f
feat(deps): update to .NET 8.0.1 #6548 (#6549)
ysmoradi Jan 11, 2024
83d48ff
fix(templates): resolve culture change issues in windows #6543 (#6553)
ysmoradi Jan 11, 2024
b889332
fix(templates): resolve PubSubService issue with SubscribeOnce patter…
ysmoradi Jan 11, 2024
4879608
fix(butil): resolve issues of Scroll method of Element in Butil #6551…
mhrastegari Jan 11, 2024
a72dd08
feat(prerelease): v-8.7.2-pre-01 #6556 (#6557)
msynk Jan 11, 2024
c5fc921
fix(butil): resolve issues of RequestFullScreen method of Element cla…
mhrastegari Jan 12, 2024
2f14693
fix(butil): resolve issues of ScrollIntoView method of Element class …
mhrastegari Jan 12, 2024
e4ee1dc
fix(butil): resolve issues of ToggleAttribute return value of Element…
mhrastegari Jan 12, 2024
dc0b797
fix(templates): resolve template.json issues and add some mapperly co…
ysmoradi Jan 13, 2024
6e1024d
feat(websites): add Butil documents to the Platform website #6512 (#6…
msynk Jan 13, 2024
f65ce2b
fix(websites): resolve issues of the new docs' navmenu in small scree…
msynk Jan 13, 2024
23f8663
feat(butil): improve Butil docs in the platform website #6573 (#6574)
mhrastegari Jan 14, 2024
ddbf257
feat(butil): improve Element sample page in Butil #6569 (#6575)
mhrastegari Jan 14, 2024
9556895
feat(butil): improve Bswup docs in the Platform website #6570 (#6576)
msynk Jan 14, 2024
a59e3cc
feat(blazorui): remove unused field in BitCalendar #6577 (#6578)
Cyrus-Sushiant Jan 15, 2024
31f5c2b
feat(github): improve bitplatform's README.md file #6579 (#6580)
ysmoradi Jan 15, 2024
35ffd1e
feat(github): improve bitplatform's README.md II #6581 (#6582)
ysmoradi Jan 15, 2024
318866c
feat(websites): add samples for Butil Window methods in Platform webs…
mhrastegari Jan 15, 2024
1fcb3a0
feat(websites): add samples of Document class of Butil to the docs of…
mhrastegari Jan 15, 2024
d0b6ac5
feat(websites): add samples for Butil Keyboard methods in Platform we…
mhrastegari Jan 16, 2024
d72e8d0
feat(websites): add samples for Butil Console methods in Platform web…
mhrastegari Jan 16, 2024
59c42e4
feat(websites): improve Window docs of the Butil in the Platform webs…
msynk Jan 16, 2024
196eeb8
feat(websites): improve docs overview of the Platform website #6595 (…
msynk Jan 16, 2024
ff07a15
feat(websites): add samples for Butil History methods in Platform web…
mhrastegari Jan 16, 2024
f6c5255
feat(websites): add samples for Butil Navigator methods in Platform w…
mhrastegari Jan 17, 2024
20cf86d
feat(bswup): add errorTolerance option to Bswup #6597 (#6603)
msynk Jan 17, 2024
77e8ebe
feat(prerelease): v-8.7.2-pre-02 #6604 (#6605)
msynk Jan 17, 2024
17bcfd6
feat(websites): add samples for Butil Storage methods in Platform web…
mhrastegari Jan 17, 2024
5a4c6f5
feat(templates): add Blazor WebAssembly Standalone deployment #6591 (…
ysmoradi Jan 17, 2024
8465501
fix(websites): resolve issues of links without href in Platform websi…
msynk Jan 17, 2024
c8f00f8
fix(websites): resolve incorrect color of cmd line on home of Platfor…
msynk Jan 17, 2024
23ea168
feat(release): v-8.7.2 #6611 (#6613)
msynk Jan 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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/5226a5fa-8c0b-474f-b79a-8984ad7c5beb/3113ccbf789c9fd29972835f0f334b7a/dotnet-sdk-8.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 && sudo dotnet workload install wasm-tools wasm-experimental && dotnet dev-certs https --trust && dotnet build src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Bit.BlazorUI.Demo.Client.Core.csproj -t:BeforeBuildTasks --no-restore && dotnet build src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj -t:BeforeBuildTasks --no-restore && dotnet build src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj -t:BeforeBuildTasks --no-restore && dotnet build src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj -t:BeforeBuildTasks --no-restore",
"onCreateCommand": "wget https://download.visualstudio.microsoft.com/download/pr/9454f7dc-b98e-4a64-a96d-4eb08c7b6e66/da76f9c6bc4276332b587b771243ae34/dotnet-sdk-8.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 && sudo dotnet workload install wasm-tools wasm-experimental && dotnet dev-certs https --trust && dotnet build src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Bit.BlazorUI.Demo.Client.Core.csproj -t:BeforeBuildTasks --no-restore && dotnet build src/Websites/Platform/src/Bit.Websites.Platform.Client/Bit.Websites.Platform.Client.csproj -t:BeforeBuildTasks --no-restore && dotnet build src/Websites/Sales/src/Bit.Websites.Sales.Client/Bit.Websites.Sales.Client.csproj -t:BeforeBuildTasks --no-restore && dotnet build src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Boilerplate.Client.Core.csproj -t:BeforeBuildTasks --no-restore",
"waitFor": "onCreateCommand",
"customizations": {
"codespaces": {
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/admin-sample.cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@ jobs:

- name: Install wasm
run: cd src && dotnet workload install wasm-tools wasm-experimental

- name: Configure app render mode
run: |
sed -i 's/Auto;/BlazorWebAssembly;/g' AdminPanel/src/Client/AdminPanel.Client.Core/Services/AppRenderMode.cs

- name: Configure bswup
run: |
sed -i 's/self.noPrerenderQuery/\/\/ self.noPrerenderQuery/g' AdminPanel/src/Client/AdminPanel.Client.Web/wwwroot/service-worker.js
sed -i 's/self.isPassive = self.disablePassiveFirstBoot = true;/self.isPassive = self.disablePassiveFirstBoot = false;/g' AdminPanel/src/Client/AdminPanel.Client.Web/wwwroot/service-worker.js

- name: Generate CSS/JS files
run: dotnet build AdminPanel/src/Client/AdminPanel.Client.Core/AdminPanel.Client.Core.csproj -t:BeforeBuildTasks --no-restore
Expand Down Expand Up @@ -196,8 +205,8 @@ jobs:
- name: Install maui
run: cd src && dotnet workload install maui-android

- name: Install Android Dependencies
run: dotnet build AdminPanel/src/Client/AdminPanel.Client.Maui/AdminPanel.Client.Maui.csproj -t:InstallAndroidDependencies -f:net8.0-android -p:AcceptAndroidSDKLicenses=True -p:AndroidSdkPath="/usr/local/lib/android/sdk/"
- name: Install Android Sdk platform tools
run: ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT "platform-tools"

- name: Generate CSS/JS files
run: dotnet build AdminPanel/src/Client/AdminPanel.Client.Core/AdminPanel.Client.Core.csproj -t:BeforeBuildTasks --no-restore
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bit.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
- name: Install wasm and maui
run: cd src && dotnet workload install maui-android wasm-tools wasm-experimental

- name: Install Android Dependencies
run: dotnet build src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csproj -t:InstallAndroidDependencies -f:net8.0-android -p:AcceptAndroidSDKLicenses=True -p:AndroidSdkPath="/usr/local/lib/android/sdk/"
- name: Install Android Sdk platform tools
run: ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT "platform-tools"

- name: Build
run: dotnet build src/Bit-CI.sln -p:WarningLevel=0 -p:RunCodeAnalysis=false
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/bit.full.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,14 @@ jobs:
run: |
dotnet workload install maui-tizen maui-android wasm-tools wasm-experimental
dotnet new bit-bp --name TodoBPSqlite --database sqlite --sample todo --pipeline other
dotnet build TodoBPSqlite/src/Client/TodoBPSqlite.Client.Maui/TodoBPSqlite.Client.Maui.csproj -t:InstallAndroidDependencies -f:net8.0-android -p:AcceptAndroidSDKLicenses=True -p:AndroidSdkPath="/usr/local/lib/android/sdk/"
${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT "platform-tools"
cd TodoBPSqlite/src/TodoBPSqlite.Server/
dotnet tool restore
dotnet ef migrations add InitialMigration
dotnet ef database update
cd ../../../
dotnet build TodoBPSqlite/TodoBPSqlite.sln -c Release -p:RunAOTCompilation=false
dotnet build TodoBPSqlite/src/Client/TodoBPSqlite.Client.Web/TodoBPSqlite.Client.Web.csproj -c Release -p:BlazorWebAssemblyStandalone=true

- name: Release build empty sample + offline db + Win exe
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/blazorui.demo.cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ jobs:
- name: Install maui
run: cd src && dotnet workload install maui-android

- name: Install Android Dependencies
run: dotnet build src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Maui/Bit.BlazorUI.Demo.Client.Maui.csproj -t:InstallAndroidDependencies -f:net8.0-android -p:AcceptAndroidSDKLicenses=True -p:AndroidSdkPath="/usr/local/lib/android/sdk/"
- name: Install Android Sdk platform tools
run: ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT "platform-tools"

- name: Generate CSS/JS files
run: dotnet build src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Bit.BlazorUI.Demo.Client.Core.csproj -c Release
Expand Down
50 changes: 46 additions & 4 deletions .github/workflows/todo-sample.cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,13 @@ jobs:
- name: Install wasm
run: cd src && dotnet workload install wasm-tools wasm-experimental

- name: Enable pre rendering
run: sed -i 's/public static readonly bool PrerenderEnabled = false;/public static readonly bool PrerenderEnabled = true;/g' TodoSample/src/Client/TodoSample.Client.Core/Services/AppRenderMode.cs
- name: Configure app render mode
run: |
sed -i 's/public static readonly bool PrerenderEnabled = false;/public static readonly bool PrerenderEnabled = true;/g' TodoSample/src/Client/TodoSample.Client.Core/Services/AppRenderMode.cs
sed -i 's/Auto;/BlazorWebAssembly;/g' TodoSample/src/Client/TodoSample.Client.Core/Services/AppRenderMode.cs

- name: Changes for static-todo.bitplatform.dev - Part 1
run: sed -i 's/http:\/\/localhost:4030/https:\/\/static-todo.bitplatform.dev/g' TodoSample/src/TodoSample.Server/Startup/Middlewares.cs

- name: Generate CSS/JS files
run: dotnet build TodoSample/src/Client/TodoSample.Client.Core/TodoSample.Client.Core.csproj -t:BeforeBuildTasks --no-restore
Expand All @@ -65,6 +70,23 @@ jobs:
name: server-bundle
path: ${{env.DOTNET_ROOT}}/server

- name: Changes for static-todo.bitplatform.dev - Part 2
run: sed -i 's/public static readonly bool PrerenderEnabled = true;/public static readonly bool PrerenderEnabled = false;/g' TodoSample/src/Client/TodoSample.Client.Core/Services/AppRenderMode.cs

- name: Configure bswup
run: |
sed -i 's/self.noPrerenderQuery/\/\/ self.noPrerenderQuery/g' TodoSample/src/Client/TodoSample.Client.Web/wwwroot/service-worker.js
sed -i 's/self.isPassive = self.disablePassiveFirstBoot = true;/self.isPassive = self.disablePassiveFirstBoot = false;/g' TodoSample/src/Client/TodoSample.Client.Web/wwwroot/service-worker.js

- name: Publish static todo
run: dotnet publish TodoSample/src/Client/TodoSample.Client.Web/TodoSample.Client.Web.csproj -c Release -p:BlazorWebAssemblyStandalone=true -o ${{env.DOTNET_ROOT}}/static

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

deploy_api_blazor:
name: deploy api + blazor
needs: build_api_blazor
Expand Down Expand Up @@ -198,8 +220,8 @@ jobs:
- name: Install maui
run: cd src && dotnet workload install maui-android

- name: Install Android Dependencies
run: dotnet build TodoSample/src/Client/TodoSample.Client.Maui/TodoSample.Client.Maui.csproj -t:InstallAndroidDependencies -f:net8.0-android -p:AcceptAndroidSDKLicenses=True -p:AndroidSdkPath="/usr/local/lib/android/sdk/"
- name: Install Android Sdk platform tools
run: ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --sdk_root=$ANDROID_SDK_ROOT "platform-tools"

- name: Generate CSS/JS files
run: dotnet build TodoSample/src/Client/TodoSample.Client.Core/TodoSample.Client.Core.csproj -t:BeforeBuildTasks --no-restore
Expand Down Expand Up @@ -323,6 +345,26 @@ jobs:
api-key-id: ${{ secrets.APPSTORE_API_KEY_ID }}
api-private-key: ${{ secrets.APPSTORE_API_KEY_PRIVATE_KEY }}

- name: Delete App Icon
run: rm TodoSample/src/Client/TodoSample.Client.Maui/Resources/AppIcon/appicon.svg

- name: Extract App Icon from env
uses: timheuer/base64-to-file@v1
with:
fileDir: './TodoSample/src/Client/TodoSample.Client.Maui/Resources/AppIcon/'
fileName: 'appicon.svg'
encodedString: ${{ vars.TODO_ICON }}

- name: Delete App Splash Screen
run: rm TodoSample/src/Client/TodoSample.Client.Maui/Resources/Splash/splash.svg

- name: Extract App Splash Screen from env
uses: timheuer/base64-to-file@v1
with:
fileDir: './TodoSample/src/Client/TodoSample.Client.Maui/Resources/Splash/'
fileName: 'splash.svg'
encodedString: ${{ vars.TODO_SPLASH_SCREEN }}

- name: Generate CSS/JS files
run: dotnet build TodoSample/src/Client/TodoSample.Client.Core/TodoSample.Client.Core.csproj -t:BeforeBuildTasks --no-restore

Expand Down
Loading
Loading