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

V8 #285

Closed
wants to merge 51 commits into from
Closed

V8 #285

Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
6ab302e
Rewrite of process engine to support actions in tasks resolves #205 a…
tjololo May 15, 2023
775006a
#192 Support for expressions in BPMN gateways (#246)
tjololo Jun 1, 2023
95b2a65
Run extra code if action sign exiting action from a Task (#255)
tjololo Jun 9, 2023
9567387
#137 move back without write (#248)
tjololo Jun 13, 2023
df5a91d
always set FlowType to CompleteCirrentMoveToNext
tjololo Jun 14, 2023
fc9f0aa
Remove old TaskType field and make action element value instead of at…
tjololo Jun 16, 2023
7e7b8b8
Feature/262 custom action authorization (#264)
tjololo Jun 23, 2023
b60e7ad
Implement UniqueSignatureAuthorizer to support checking for unique si…
tjololo Jun 26, 2023
6e09641
Bugfix for missing taskId (#267)
tjololo Jun 26, 2023
941dca8
Fix typo in obsolete message
tjololo Jul 6, 2023
cc2d839
Expose prometheus endpoint and som default metrics (#273)
tjololo Aug 8, 2023
c40e14c
merge main into v8 (#284)
tjololo Aug 8, 2023
ec5adcf
Merge branch 'main' into v8
tjololo Aug 8, 2023
4e3c89e
merge fix
tjololo Aug 8, 2023
86a7377
Remove some codesmells
tjololo Aug 8, 2023
6ce0799
Separate metrics port (#288)
tjololo Aug 17, 2023
d21de61
Add tool for upgrading from v7 to v8 (#291)
tjololo Aug 28, 2023
ad27dc6
Merge branch 'main' into v8
tjololo Sep 12, 2023
322a406
Merge branch 'main' into v8
tjololo Sep 21, 2023
c731cd5
Merge branch 'main' into v8
bjosttveit Sep 27, 2023
4da4527
Expression validation (#311)
bjosttveit Oct 4, 2023
cf752c8
bump upgrade target version to preview 10
bjosttveit Oct 4, 2023
89323b6
Update logging in ExpressionValidator (#319)
tjololo Oct 10, 2023
a32abbf
#322 Deserializing applicationmetadata keeps unmapped properties (#323)
tjololo Oct 17, 2023
9c4ed1a
Ivarne/warning fixes (#328)
ivarne Nov 13, 2023
58862ae
New field AltinnNugetVersion in applicationMetadata.cs (#333)
ivarne Nov 13, 2023
c141a3f
Fix more warnings (#331)
ivarne Nov 14, 2023
98f8613
Add [Authorize] attribute on AuthorizationController.GetCurrentParty …
ivarne Nov 15, 2023
d7b8c5e
Mark IPageOrder [Obsolete] as it will be unused in frontend V4 (#343)
ivarne Nov 15, 2023
3f3629f
Adding [Serializable] in dotnet 8 causes warning (#344)
ivarne Nov 15, 2023
0fe6d08
Update app-lib-dotnet to dotnet8 with c# 12 (#340)
ivarne Nov 16, 2023
b656bed
Obsolete IText interface for getting texts from storage (#348)
ivarne Nov 22, 2023
d800c08
Fix a few more nullability issues (#347)
ivarne Nov 23, 2023
eb6ecdd
Add all test data from localtest and add a few missing mocks (#362)
ivarne Nov 24, 2023
7bc0886
Update microsoft dependencies for net8.0 (#365)
ivarne Nov 25, 2023
81296a3
V8 feature/304 support custom button (#346)
tjololo Nov 27, 2023
a3eb2bd
Fix indent error in codeql.yml
tjololo Nov 27, 2023
ebd99bb
Add partyId correctly in test tokens (#367)
ivarne Nov 30, 2023
118723c
Get rid of Microsoft.AspNet.WebApi.Client that uses Newtonsoft (#363)
ivarne Nov 30, 2023
a088662
Feat/process tasks (#353)
mikaelrss Nov 30, 2023
ee9c486
Upgrade to dotnet 8 (#373)
tjololo Dec 8, 2023
7cc841e
Rename Action.Type from userAction to serverAction. FrontendAction re…
tjololo Dec 8, 2023
db957c0
Multipart form data (#329)
ivarne Dec 13, 2023
8542088
feat: add PreviousPage and NavigateToPage client actions (#377)
mikaelrss Dec 14, 2023
c018446
More fixes for nullability (#380)
ivarne Dec 15, 2023
97da907
Support using connectionString for ApplicationInsights (#379)
ivarne Dec 29, 2023
45cfc6d
Chore/382 consistent timezone (#389)
tjololo Jan 9, 2024
3bac97d
New validation and partial validation via PATCH endpoint (#393)
ivarne Jan 22, 2024
ee15289
update expression tests (#394)
Magnusrm Jan 24, 2024
07a7897
merge changes from v7 and main into v8 branch. (#404)
ivarne Jan 26, 2024
84e64e4
Merge branch 'main' into resolve-conflicts
tjololo Jan 26, 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
  •  
  •  
  •  
14 changes: 12 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: "CodeQL"

on:
push:
branches: [ "main" ]
branches: [ "main", "v8" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
branches: [ "main", "v8" ]
schedule:
- cron: '37 20 * * 3'

Expand All @@ -26,6 +26,16 @@ jobs:
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
# The following step is required in order to use .NET 8 pre-release.
# We can remove if using an officially supported .NET version.
# See https://github.com/github/codeql-action/issues/757#issuecomment-977546999
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
include-prerelease: true

- name: Checkout repository
uses: actions/checkout@v4

Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/dotnet-test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Build and Test on windows, macos and ubuntu
on:
push:
branches: [ main ]
branches: [ main, v8 ]
pull_request:
branches: [ main ]
branches: [ main, v8 ]
types: [opened, synchronize, reopened]
workflow_dispatch:
jobs:
Expand All @@ -20,8 +20,7 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
5.0.x
8.0.x
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
Expand Down
45 changes: 39 additions & 6 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
name: Pack and publish nugets
name: Pack and publish

on:
release:
types:
- published

jobs:
build-pack:
release-nugets:
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install dotnet6
- name: Install dotnet8
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
5.0.x
6.0.x
8.0.x
- name: Install deps
run: |
dotnet restore
Expand All @@ -33,4 +33,37 @@ jobs:
dotnet --version
- name: Publish
run: |
dotnet nuget push src/**/bin/Release/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
dotnet nuget push src/**/bin/Release/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
release-upgrade-tool:
if: startsWith(github.ref, 'refs/tags/altinn-app-cli')
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./cli-tools/altinn-app-cli
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install dotnet8
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
- name: Build bundles
run: |
make bundles
- name: Upload files to release
uses: softprops/action-gh-release@v1
with:
files: |
publish/archives/osx-x64.tar.gz
publish/archives/osx-arm64.tar.gz
publish/archives/linux-x64.tar.gz
publish/archives/linux-arm64.tar.gz
publish/archives/win-x64.zip
publish/archives/osx-x64.tar.gz.sha512
publish/archives/osx-arm64.tar.gz.sha512
publish/archives/linux-x64.tar.gz.sha512
publish/archives/linux-arm64.tar.gz.sha512
publish/archives/win-x64.zip.sha512

5 changes: 2 additions & 3 deletions .github/workflows/test-and-analyze-fork.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Code test and analysis (fork)
on:
pull_request:
branches: [ main ]
branches: [ main, v8 ]
types: [opened, synchronize, reopened, ready_for_review]
jobs:
test:
Expand All @@ -13,8 +13,7 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
5.0.x
8.0.x
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/test-and-analyze.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Code test and analysis
on:
push:
branches: [ main ]
branches: [ main, v8 ]
pull_request:
branches: [ main ]
branches: [ main, v8 ]
types: [opened, synchronize, reopened]
workflow_dispatch:
jobs:
Expand All @@ -19,8 +19,7 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
5.0.x
8.0.x
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
Expand Down
42 changes: 42 additions & 0 deletions cli-tools/altinn-app-cli/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Path: Makefile

build:
dotnet build

executable-osx-x64:
dotnet publish -c Release -o publish/osx-x64 -r osx-x64 --self-contained

executable-osx-arm64:
dotnet publish -c Release -o publish/osx-arm64 -r osx-arm64 --self-contained

executable-win-x64:
dotnet publish -c Release -o publish/win-x64 -r win-x64 --self-contained

executable-linux-x64:
dotnet publish -c Release -o publish/linux-x64 -r linux-x64 --self-contained

executable-linux-arm64:
dotnet publish -c Release -o publish/linux-arm64 -r linux-arm64 --self-contained

executables: executable-osx-x64 executable-osx-arm64 executable-win-x64 executable-linux-x64 executable-linux-arm64

archives:
mkdir -p publish/archives
tar -czvf publish/archives/osx-x64.tar.gz publish/osx-x64/altinn-app-cli
tar -czvf publish/archives/osx-arm64.tar.gz publish/osx-arm64/altinn-app-cli
tar -czvf publish/archives/linux-x64.tar.gz publish/linux-x64/altinn-app-cli
tar -czvf publish/archives/linux-arm64.tar.gz publish/linux-arm64/altinn-app-cli
zip -r publish/archives/win-x64.zip publish/win-x64/altinn-app-cli.exe

checksums:
sha512sum publish/archives/osx-x64.tar.gz > publish/archives/osx-x64.tar.gz.sha512
sha512sum publish/archives/osx-arm64.tar.gz > publish/archives/osx-arm64.tar.gz.sha512
sha512sum publish/archives/linux-x64.tar.gz > publish/archives/linux-x64.tar.gz.sha512
sha512sum publish/archives/linux-arm64.tar.gz > publish/archives/linux-arm64.tar.gz.sha512
sha512sum publish/archives/win-x64.zip > publish/archives/win-x64.zip.sha512

bundles: executables archives checksums

clean:
dotnet clean
rm -rf publish/
Loading
Loading