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

Release 2.0.1 #899

Merged
merged 253 commits into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
253 commits
Select commit Hold shift + click to select a range
b12d02d
Merge pull request #797 from puzzle/keycloak-staging
peggimann Feb 7, 2024
9e76675
[VU] Automated version update
actions-user Feb 7, 2024
4c25cd4
Merge pull request #796 from puzzle/renovate/prettier-3.x-lockfile
lkleisa Feb 19, 2024
3f0984b
[VU] Automated version update
actions-user Feb 19, 2024
66b330a
Update dependency @types/jest to v29.5.12
renovate[bot] Feb 1, 2024
542a70b
Merge pull request #791 from puzzle/renovate/jest-monorepo
lkleisa Feb 19, 2024
034fb49
[VU] Automated version update
actions-user Feb 19, 2024
bd0ed4e
Update dependency cypress to v13.6.4
renovate[bot] Feb 19, 2024
dbd5b57
Merge pull request #787 from puzzle/renovate/cypress-13.x-lockfile
lkleisa Feb 19, 2024
cf68374
[VU] Automated version update
actions-user Feb 19, 2024
44c49c6
Update dependency org.flywaydb:flyway-database-postgresql to v10.8.1
renovate[bot] Feb 15, 2024
d0c072f
Merge pull request #786 from puzzle/renovate/org.flywaydb-flyway-data…
lkleisa Feb 19, 2024
2179502
[VU] Automated version update
actions-user Feb 19, 2024
ed313a6
Update dependency org.flywaydb:flyway-core to v10.8.1
renovate[bot] Feb 16, 2024
55c89f1
Merge pull request #785 from puzzle/renovate/org.flywaydb-flyway-core…
lkleisa Feb 19, 2024
0107186
Update quay.io/keycloak/keycloak Docker tag to v23.0.6
renovate[bot] Feb 2, 2024
e242fb4
[VU] Automated version update
actions-user Feb 19, 2024
dcd1783
Merge pull request #781 from puzzle/renovate/quay.io-keycloak-keycloa…
lkleisa Feb 19, 2024
4f84d16
[VU] Automated version update
actions-user Feb 19, 2024
b57f5c8
Update angular monorepo
renovate[bot] Feb 15, 2024
0cd2bee
Merge pull request #778 from puzzle/renovate/angular-monorepo
lkleisa Feb 19, 2024
c0d70c8
[VU] Automated version update
actions-user Feb 19, 2024
f00783a
Update angular-cli monorepo to v17.2.0
renovate[bot] Feb 14, 2024
dc1bc3e
Add package-lock.json
lkleisa Feb 19, 2024
e5c69ed
Merge pull request #777 from puzzle/renovate/angular-cli-monorepo
lkleisa Feb 19, 2024
62fe6a7
Update dependency org.assertj:assertj-core to v3.25.3
renovate[bot] Feb 5, 2024
5352f32
[VU] Automated version update
actions-user Feb 19, 2024
f4ddd31
Merge pull request #776 from puzzle/renovate/org.assertj-assertj-core…
lkleisa Feb 19, 2024
933b0d1
[VU] Automated version update
actions-user Feb 19, 2024
2609260
Update angularmaterial monorepo to v17.2.0
renovate[bot] Feb 15, 2024
9840d40
Change private-form-field-density to form-field-density
lkleisa Feb 19, 2024
7bae216
Merge pull request #717 from puzzle/renovate/angularmaterial-monorepo
lkleisa Feb 19, 2024
8be0d0e
[VU] Automated version update
actions-user Feb 19, 2024
35c0841
Update dependency jest-preset-angular to v14.0.3
renovate[bot] Feb 19, 2024
a4882fd
Merge pull request #799 from puzzle/renovate/jest-preset-angular-14.x…
lkleisa Feb 19, 2024
d7105ed
[VU] Automated version update
actions-user Feb 19, 2024
b69c933
Update dependency cypress-real-events to v1.12.0
renovate[bot] Feb 19, 2024
67ae7c7
Merge pull request #800 from puzzle/renovate/cypress-real-events-1.x-…
lkleisa Feb 19, 2024
784857b
[VU] Automated version update
actions-user Feb 19, 2024
e2e7687
Update dependency @angular-devkit/build-angular to v17.2.0
renovate[bot] Feb 19, 2024
e89e3c1
Merge pull request #801 from puzzle/renovate/angular-cli-monorepo
lkleisa Feb 19, 2024
c4569f0
[VU] Automated version update
actions-user Feb 19, 2024
0956e58
Remove security bypass by using img tag
lkleisa Feb 19, 2024
420b1ad
Merge pull request #802 from puzzle/feature/remove-security-bypass
lkleisa Feb 19, 2024
36aa168
[VU] Automated version update
actions-user Feb 19, 2024
9efe5e6
Update dependency cypress to v13.6.6
renovate[bot] Feb 23, 2024
87d72ee
Merge pull request #804 from puzzle/renovate/cypress-13.x-lockfile
lkleisa Feb 23, 2024
683ee3e
[VU] Automated version update
actions-user Feb 23, 2024
271551b
Update angular monorepo to v17.2.2
renovate[bot] Feb 22, 2024
fdf131e
Merge pull request #805 from puzzle/renovate/angular-monorepo
lkleisa Feb 23, 2024
fe7af71
[VU] Automated version update
actions-user Feb 23, 2024
ece6253
Update dependency bootstrap to v5.3.3
renovate[bot] Feb 20, 2024
d2ee8f9
Merge pull request #803 from puzzle/renovate/bootstrap-5.x-lockfile
lkleisa Feb 23, 2024
7ef6784
[VU] Automated version update
actions-user Feb 23, 2024
de7a753
Update angularmaterial monorepo to v17.2.1
renovate[bot] Feb 23, 2024
0b81604
Merge pull request #807 from puzzle/renovate/angularmaterial-monorepo
lkleisa Feb 23, 2024
543483e
Update quay.io/keycloak/keycloak Docker tag to v23.0.7
renovate[bot] Feb 22, 2024
3123753
[VU] Automated version update
actions-user Feb 23, 2024
db18246
Merge pull request #806 from puzzle/renovate/quay.io-keycloak-keycloa…
lkleisa Feb 23, 2024
1b425f8
[VU] Automated version update
actions-user Feb 23, 2024
dced488
Update angular-cli monorepo to v17.2.1
renovate[bot] Feb 23, 2024
1dcbd2d
Merge pull request #809 from puzzle/renovate/angular-cli-monorepo
lkleisa Feb 23, 2024
d3a44a1
[VU] Automated version update
actions-user Feb 23, 2024
8761320
Update actions/add-to-project action to v0.6.0
renovate[bot] Feb 26, 2024
6b568b0
Merge pull request #810 from puzzle/renovate/actions-add-to-project-0.x
lkleisa Feb 28, 2024
3e3cfd9
[VU] Automated version update
actions-user Feb 28, 2024
98cdb3c
Change infra repo to gitlab
lkleisa Feb 29, 2024
bd8dc91
Merge pull request #813 from puzzle/infra-gitlab
lkleisa Feb 29, 2024
20a5870
[VU] Automated version update
actions-user Feb 29, 2024
d47dea9
Change infra repo to gitlab
lkleisa Feb 29, 2024
d0f82d4
Merge pull request #814 from puzzle/infra-gitlab
lkleisa Feb 29, 2024
4d401bb
[VU] Automated version update
actions-user Feb 29, 2024
b657e70
Change infra repo to gitlab
lkleisa Feb 29, 2024
b625b06
Merge pull request #815 from puzzle/infra-gitlab
lkleisa Feb 29, 2024
427f09c
[VU] Automated version update
actions-user Feb 29, 2024
c32c5cc
Change infra repo to gitlab
lkleisa Feb 29, 2024
4c88f72
Merge pull request #816 from puzzle/infra-gitlab
lkleisa Feb 29, 2024
9c42a2f
[VU] Automated version update
actions-user Feb 29, 2024
9730a64
Change infra repo to gitlab
lkleisa Feb 29, 2024
57a38a8
Merge pull request #817 from puzzle/infra-gitlab
lkleisa Feb 29, 2024
199667c
[VU] Automated version update
actions-user Feb 29, 2024
f520f2a
Change infra repo to gitlab
lkleisa Feb 29, 2024
ec22b51
Merge pull request #818 from puzzle/infra-gitlab
lkleisa Feb 29, 2024
dd957e0
[VU] Automated version update
actions-user Feb 29, 2024
3ac8b85
Change infra repo to gitlab
lkleisa Feb 29, 2024
3e66882
Merge pull request #820 from puzzle/infra-gitlab
lkleisa Feb 29, 2024
01d7b1e
[VU] Automated version update
actions-user Feb 29, 2024
30ab316
Change infra repo to gitlab
lkleisa Feb 29, 2024
002fec6
Merge pull request #821 from puzzle/infra-gitlab
lkleisa Feb 29, 2024
c9efd49
[VU] Automated version update
actions-user Feb 29, 2024
a955fa4
Change infra repo to gitlab
lkleisa Feb 29, 2024
70e74e7
Merge pull request #822 from puzzle/infra-gitlab
lkleisa Feb 29, 2024
eead120
[VU] Automated version update
actions-user Feb 29, 2024
40c792c
Change infra repo to gitlab
lkleisa Feb 29, 2024
ff72c5d
Merge pull request #823 from puzzle/infra-gitlab
lkleisa Feb 29, 2024
d520a5e
[VU] Automated version update
actions-user Feb 29, 2024
705b5f3
Change infra repo to gitlab
lkleisa Feb 29, 2024
a112841
Merge pull request #824 from puzzle/infra-gitlab
lkleisa Feb 29, 2024
61fbc18
[VU] Automated version update
actions-user Feb 29, 2024
72248b0
Change infra repo to gitlab
lkleisa Feb 29, 2024
4092e56
Merge pull request #825 from puzzle/infra-gitlab
lkleisa Feb 29, 2024
c5ef1fe
[VU] Automated version update
actions-user Feb 29, 2024
c3730e3
Change infra repo to gitlab
lkleisa Feb 29, 2024
ae78ab4
Merge pull request #826 from puzzle/infra-gitlab
lkleisa Feb 29, 2024
e035676
[VU] Automated version update
actions-user Feb 29, 2024
ac7cdd6
Change infra repo to gitlab
lkleisa Feb 29, 2024
cf27402
Merge pull request #827 from puzzle/infra-gitlab
lkleisa Feb 29, 2024
b1ed8b6
[VU] Automated version update
actions-user Feb 29, 2024
4cd9f78
Finish gitlab migration of infra
lkleisa Feb 29, 2024
cbcf2b9
Merge pull request #828 from puzzle/infra-gitlab
lkleisa Feb 29, 2024
634e33a
[VU] Automated version update
actions-user Feb 29, 2024
a816bb9
Finish gitlab migration of infra
lkleisa Feb 29, 2024
5d678f6
Merge pull request #829 from puzzle/infra-gitlab
lkleisa Feb 29, 2024
53eaef4
[VU] Automated version update
actions-user Feb 29, 2024
b2bca23
Use gitlab infra in prod deploy action
lkleisa Feb 29, 2024
e40e529
Merge pull request #830 from puzzle/infra-gitlab
lkleisa Mar 7, 2024
e6667dc
[VU] Automated version update
actions-user Mar 7, 2024
41bcedc
Update quay.io/keycloak/keycloak Docker tag to v24
renovate[bot] Mar 5, 2024
1f2f248
Merge pull request #842 from puzzle/renovate/quay.io-keycloak-keycloa…
lkleisa Mar 7, 2024
281092a
[VU] Automated version update
actions-user Mar 7, 2024
279bc12
Update dependency org.flywaydb:flyway-core to v10.9.0
renovate[bot] Mar 5, 2024
c3ca422
Merge pull request #847 from puzzle/renovate/org.flywaydb-flyway-core…
lkleisa Mar 7, 2024
d15b50f
[VU] Automated version update
actions-user Mar 7, 2024
f82a45e
Update dependency org.flywaydb:flyway-database-postgresql to v10.9.0
renovate[bot] Mar 5, 2024
6f127e7
Merge pull request #848 from puzzle/renovate/org.flywaydb-flyway-data…
lkleisa Mar 7, 2024
2464b74
[VU] Automated version update
actions-user Mar 7, 2024
3d8adfd
Update dependency org.springframework.boot:spring-boot-starter-parent…
renovate[bot] Feb 23, 2024
3556f19
Fix backend tests
lkleisa Mar 7, 2024
7133159
Merge pull request #808 from puzzle/renovate/spring-boot
lkleisa Mar 7, 2024
9210a42
[VU] Automated version update
actions-user Mar 7, 2024
d7ee391
Update dependency org.flywaydb:flyway-core to v10.9.1
renovate[bot] Mar 7, 2024
c1a4d47
Merge pull request #851 from puzzle/renovate/org.flywaydb-flyway-core…
lkleisa Mar 8, 2024
0efce4f
[VU] Automated version update
actions-user Mar 8, 2024
c187a15
Update dependency org.flywaydb:flyway-database-postgresql to v10.9.1
renovate[bot] Mar 7, 2024
a5d83bb
Merge pull request #852 from puzzle/renovate/org.flywaydb-flyway-data…
lkleisa Mar 8, 2024
701f9f1
[VU] Automated version update
actions-user Mar 8, 2024
8742b1c
Update angular monorepo to v17.2.3
renovate[bot] Feb 28, 2024
9fd46cd
Use flex-start
lkleisa Feb 28, 2024
fa15e8f
Remove MomentDateAdapter
lkleisa Mar 1, 2024
9cb5203
Add MomentDateAdapter
lkleisa Mar 18, 2024
536ab6b
Merge pull request #811 from puzzle/renovate/angular-monorepo
lkleisa Mar 18, 2024
a2c08da
[VU] Automated version update
actions-user Mar 18, 2024
04d6eed
Update dependency org.springdoc:springdoc-openapi-starter-webmvc-ui t…
renovate[bot] Mar 13, 2024
2f54ba3
Merge pull request #853 from puzzle/renovate/org.springdoc-springdoc-…
lkleisa Mar 18, 2024
75be1e9
[VU] Automated version update
actions-user Mar 18, 2024
7a2e858
Update dependency cypress to v13.7.0
renovate[bot] Mar 13, 2024
ce53055
Merge pull request #854 from puzzle/renovate/cypress-13.x-lockfile
lkleisa Mar 18, 2024
611e5f8
[VU] Automated version update
actions-user Mar 18, 2024
52fa480
Update dependency org.flywaydb:flyway-core to v10.10.0
renovate[bot] Mar 15, 2024
d8a5c32
Merge pull request #856 from puzzle/renovate/org.flywaydb-flyway-core…
lkleisa Mar 18, 2024
c737564
[VU] Automated version update
actions-user Mar 18, 2024
e09d784
Update dependency org.flywaydb:flyway-database-postgresql to v10.10.0
renovate[bot] Mar 15, 2024
1794acd
Merge pull request #857 from puzzle/renovate/org.flywaydb-flyway-data…
lkleisa Mar 18, 2024
524f13e
[VU] Automated version update
actions-user Mar 18, 2024
0b3ce6b
Update angular monorepo to v17.3.0
renovate[bot] Mar 18, 2024
28e77b6
Merge pull request #859 from puzzle/renovate/angular-monorepo
lkleisa Mar 18, 2024
f39cd1a
[VU] Automated version update
actions-user Mar 18, 2024
65d8f14
Update actions/add-to-project action to v0.6.1
renovate[bot] Mar 19, 2024
deaeccb
Merge pull request #860 from puzzle/renovate/actions-add-to-project-0.x
lkleisa Mar 21, 2024
9b6ef0a
[VU] Automated version update
actions-user Mar 21, 2024
58bc117
#708 - WIP
Mar 21, 2024
689e990
#708 - Add logic to send back frontend configuration and customizations.
Mar 21, 2024
76a82cd
[FM] Automated formating backend
actions-user Mar 21, 2024
11c8bfb
Remove debugger
Mar 21, 2024
aa4d904
Add customization.service.spec.ts
Mar 21, 2024
d998753
[FM] Automated formating frontend
actions-user Mar 21, 2024
016bb2f
Improve naming to be mor specific
Mar 21, 2024
1591027
Merge remote-tracking branch 'origin/feature/708-customizable-styles'…
Mar 21, 2024
bcf1454
Correct package name
Mar 21, 2024
d6a014a
Try fix test
Mar 21, 2024
d9b52f1
Update dependency cypress to v13.7.1
renovate[bot] Mar 21, 2024
322dfbc
Fix frontend tests
Mar 25, 2024
bd3cf12
Steamline selectors
Mar 25, 2024
9c077f8
Correct styling. Add tests for special css variable properties in int…
Mar 25, 2024
8519590
[FM] Automated formating backend
actions-user Mar 25, 2024
f46a4be
Merge pull request #870 from puzzle/renovate/cypress-13.x-lockfile
lkleisa Mar 25, 2024
1c58975
[VU] Automated version update
actions-user Mar 25, 2024
1d5be6f
Update quay.io/keycloak/keycloak Docker tag to v24.0.2
renovate[bot] Mar 25, 2024
3469d71
Merge pull request #872 from puzzle/renovate/quay.io-keycloak-keycloa…
lkleisa Mar 25, 2024
715b582
[VU] Automated version update
actions-user Mar 25, 2024
4164337
change event for todo edit
kcinay055679 Mar 21, 2024
820b89b
just copy the value of todo instead of copy and set to value
kcinay055679 Mar 21, 2024
156fab0
change to blur event and add trackby function
kcinay055679 Mar 25, 2024
7c950fd
Merge pull request #864 from puzzle/bug/862-todo-edit
lkleisa Mar 25, 2024
0df7160
[VU] Automated version update
actions-user Mar 25, 2024
cf633df
Add propper subscription handling
Apr 8, 2024
792d7c1
remove empty file
Apr 8, 2024
a3e0db4
Re-trigger Integration Tests
Apr 8, 2024
bca6697
Add empty svg as default
Apr 8, 2024
9509f74
Add empty svg as default
Apr 8, 2024
9416b4c
Fix It Test data
Apr 8, 2024
5405504
Merge pull request #868 from puzzle/feature/708-customizable-styles
Makae Apr 9, 2024
894da35
[VU] Automated version update
actions-user Apr 9, 2024
9b98668
implement drag handle to drag action points around
Vakmeth Apr 23, 2024
b5b1a5f
fix moving rows
Vakmeth Apr 23, 2024
4d9f3f4
implement logic to adjust priorities and set ids on actions
Vakmeth Apr 24, 2024
bfec0d4
update texts when adding new input
Vakmeth Apr 24, 2024
db45551
remove any from behaviour subject type in actionplan
Vakmeth Apr 24, 2024
fdc98dd
Add types for variables
lkleisa Apr 25, 2024
fe35236
Add current and future quarter to local data
lkleisa Apr 25, 2024
520066a
Merge pull request #887 from puzzle/bug/missing-drag-handle
lkleisa Apr 26, 2024
7d29fdd
[VU] Automated version update
actions-user Apr 26, 2024
478f549
Update dependency cypress to v13.8.1
renovate[bot] Apr 23, 2024
52af1dc
Merge pull request #878 from puzzle/renovate/cypress-13.x-lockfile
lkleisa Apr 26, 2024
5a6ca90
[VU] Automated version update
actions-user Apr 26, 2024
030ed3f
Update actions/add-to-project action to v1
renovate[bot] Apr 11, 2024
6d7a830
Merge pull request #873 from puzzle/renovate/actions-add-to-project-1.x
lkleisa Apr 26, 2024
1c33dad
[VU] Automated version update
actions-user Apr 26, 2024
0d6b00a
Update angularmaterial monorepo to v17.3.6
renovate[bot] Apr 24, 2024
9f39681
Merge pull request #849 from puzzle/renovate/angularmaterial-monorepo
lkleisa Apr 26, 2024
174983c
[VU] Automated version update
actions-user Apr 26, 2024
7651fee
Update angular monorepo to v17.3.6
renovate[bot] Apr 25, 2024
9ab36ce
Merge pull request #861 from puzzle/renovate/angular-monorepo
lkleisa Apr 26, 2024
0617fc9
[VU] Automated version update
actions-user Apr 26, 2024
b063fe1
Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /frontend
dependabot[bot] Mar 21, 2024
cfd0f0b
Merge pull request #869 from puzzle/dependabot/npm_and_yarn/frontend/…
lkleisa Apr 26, 2024
e05664c
[VU] Automated version update
actions-user Apr 26, 2024
3690c69
Bump follow-redirects from 1.15.5 to 1.15.6 in /frontend
dependabot[bot] Mar 16, 2024
e9b6482
Merge pull request #858 from puzzle/dependabot/npm_and_yarn/frontend/…
lkleisa Apr 26, 2024
af74570
[VU] Automated version update
actions-user Apr 26, 2024
dda078c
Update dependency org.springframework.boot:spring-boot-starter-parent…
renovate[bot] Apr 18, 2024
720b452
Merge pull request #866 from puzzle/renovate/spring-boot
lkleisa Apr 26, 2024
f5fd0a8
[VU] Automated version update
actions-user Apr 26, 2024
703c26f
Bump express from 4.18.2 to 4.19.2 in /frontend
dependabot[bot] Mar 28, 2024
13b3784
Merge pull request #875 from puzzle/dependabot/npm_and_yarn/frontend/…
lkleisa Apr 26, 2024
a88662f
[VU] Automated version update
actions-user Apr 26, 2024
202a3d4
Update dependency com.tngtech.archunit:archunit-junit5 to v1.3.0
renovate[bot] Apr 26, 2024
d530392
Merge pull request #890 from puzzle/renovate/com.tngtech.archunit-arc…
lkleisa Apr 26, 2024
53f1bde
[VU] Automated version update
actions-user Apr 26, 2024
2bcff85
Bump webpack-dev-middleware and @angular-devkit/build-angular
dependabot[bot] Apr 26, 2024
33c2e1a
Merge pull request #895 from puzzle/dependabot/npm_and_yarn/frontend/…
lkleisa Apr 26, 2024
23051d9
[VU] Automated version update
actions-user Apr 26, 2024
7fa33f7
Update dependency org.flywaydb:flyway-core to v10.11.1
renovate[bot] Apr 26, 2024
4ddcd8d
Merge pull request #892 from puzzle/renovate/org.flywaydb-flyway-core…
lkleisa Apr 26, 2024
97b2a5c
[VU] Automated version update
actions-user Apr 26, 2024
2d58370
Update dependency org.flywaydb:flyway-database-postgresql to v10.11.1
renovate[bot] Apr 26, 2024
1d09ffe
Merge pull request #896 from puzzle/renovate/org.flywaydb-flyway-data…
lkleisa Apr 26, 2024
90a09f3
[VU] Automated version update
actions-user Apr 26, 2024
2602740
Update quay.io/keycloak/keycloak Docker tag to v24.0.3
renovate[bot] Apr 29, 2024
85b0cb2
Merge pull request #889 from puzzle/renovate/quay.io-keycloak-keycloa…
lkleisa Apr 29, 2024
2957f9c
[VU] Automated version update
actions-user Apr 29, 2024
20efa51
Update dependency @angular/cli to ~17.3.0
renovate[bot] Apr 29, 2024
59d9687
Merge pull request #855 from puzzle/renovate/angular-cli-monorepo
lkleisa Apr 29, 2024
7122b54
[VU] Automated version update
actions-user Apr 29, 2024
f386fa5
Update dependency org.springdoc:springdoc-openapi-starter-webmvc-ui t…
renovate[bot] Apr 29, 2024
82b1ac0
Merge pull request #876 from puzzle/renovate/org.springdoc-springdoc-…
lkleisa Apr 29, 2024
8aa0904
[VU] Automated version update
actions-user Apr 29, 2024
9d75456
Update dependency org.jacoco:jacoco-maven-plugin to v0.8.12
renovate[bot] Apr 29, 2024
5da2297
Merge pull request #877 from puzzle/renovate/org.jacoco-jacoco-maven-…
lkleisa Apr 29, 2024
f499ca8
[VU] Automated version update
actions-user Apr 29, 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 .github/workflows/addIssueToProject.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.5.0
- uses: actions/add-to-project@v1.0.1
with:
project-url: https://github.com/orgs/puzzle/projects/3
github-token: ${{ secrets.ADD_ISSUE_TO_PROJECT_CLASSIC }}
32 changes: 7 additions & 25 deletions .github/workflows/deploy-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,42 +97,24 @@ jobs:
- name: Push
run: docker push ${{ needs.extract-version.outputs.okr-docker-image}}

- name: Trigger Deployment Workflow with latest Version
uses: actions/checkout@v4
with:
repository: ${{ vars.TARGET_REPOSITORY }}
ref: ${{ vars.TARGET_REFERENCE }}
path: ccy-repo
token: ${{secrets.VERSION_TOKEN}}

- name: Change Yaml
- name: Install yq
shell: bash
env:
FILEPATH: ${{ vars.FILEPATH }}
YAMLPATH: ${{ vars.YAML_PATH }}
NEWVALUE: ${{ needs.extract-version.outputs.okr-docker-image}}
VERSION: v4.25.2
BINARY: yq_linux_amd64
run: |
wget -q https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O - |\
tar xz && mv ${BINARY} /usr/local/bin/yq
yq -i "${YAMLPATH} = \"${NEWVALUE}\"" ccy-repo/${FILEPATH}
- name: Commit and Push Changes
working-directory: ccy-repo

- name: Update YAML file
shell: bash
env:
COMMITPREFIX: '[CTS]'
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git add ${{ vars.FILEPATH }} || {
echo "No files were changed, so we did not commit anything"
exit 1
} && \
git commit -m "$COMMITPREFIX Automated changes to ${{ vars.FILEPATH }}" && \
git push origin ${{ vars.TARGET_REFERENCE }}
- run: rm -rf ccy-repo
shell: bash
curl -s --header "PRIVATE-TOKEN: ${{secrets.GITLAB_ACCESS_TOKEN}}" "${{vars.TARGET_GITLAB_REPOSITORY}}/files/${{vars.GITLAB_FILEPATH}}?ref=${{vars.TARGET_GITLAB_REFERENCE}}" -H "Accept: application/json" -H "Content-Type: application/json" | jq -r '.content' | base64 --decode > response.yaml
yq -i "${{vars.YAML_PATH}} = \"${{needs.extract-version.outputs.okr-docker-image}}\"" response.yaml
UPDATED_CONTENT=$(cat response.yaml)
curl --request PUT --header 'PRIVATE-TOKEN: ${{secrets.GITLAB_ACCESS_TOKEN}}' -F "branch=${{vars.TARGET_GITLAB_REFERENCE}}" -F "[email protected]" -F "author_name=GitLab Actions" -F "content=${UPDATED_CONTENT}" -F "commit_message=$COMMITPREFIX Automated changes to ${{vars.FILEPATH_COMMIT}}" "${{vars.TARGET_GITLAB_REPOSITORY}}/files/${{vars.GITLAB_FILEPATH}}"

generate-and-push-sbom:
runs-on: ubuntu-latest
Expand Down
32 changes: 6 additions & 26 deletions .github/workflows/staging-deploy-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,44 +179,24 @@ jobs:
- name: Push
run: docker push ${{ needs.update-version.outputs.okr-docker-image}}

- name: Trigger Deployment Workflow with latest Version
uses: actions/checkout@v4
with:
repository: ${{ vars.TARGET_REPOSITORY }}
ref: ${{ vars.TARGET_REFERENCE }}
path: ccy-repo
token: ${{secrets.VERSION_TOKEN}}

- name: Change Yaml
- name: Install yq
shell: bash
env:
FILEPATH: ${{ vars.FILEPATH }}
YAMLPATH: ${{ vars.YAML_PATH }}
NEWVALUE: ${{ needs.update-version.outputs.okr-docker-image}}
VERSION: v4.25.2
BINARY: yq_linux_amd64
run: |
wget -q https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O - |\
tar xz && mv ${BINARY} /usr/local/bin/yq
yq -i "${YAMLPATH} = \"${NEWVALUE}\"" ccy-repo/${FILEPATH}

- name: Commit and Push Changes
working-directory: ccy-repo
- name: Update YAML file
shell: bash
env:
COMMITPREFIX: '[CTS]'
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git add ${{ vars.FILEPATH }} || {
echo "No files were changed, so we did not commit anything"
exit 1
} && \
git commit -m "$COMMITPREFIX Automated changes to ${{ vars.FILEPATH }}" && \
git push origin ${{ vars.TARGET_REFERENCE }}

- run: rm -rf ccy-repo
shell: bash
curl -s --header "PRIVATE-TOKEN: ${{secrets.GITLAB_ACCESS_TOKEN}}" "${{vars.TARGET_GITLAB_REPOSITORY}}/files/${{vars.GITLAB_FILEPATH}}?ref=${{vars.TARGET_GITLAB_REFERENCE}}" -H "Accept: application/json" -H "Content-Type: application/json" | jq -r '.content' | base64 --decode > response.yaml
yq -i "${{vars.YAML_PATH}} = \"${{needs.update-version.outputs.okr-docker-image}}\"" response.yaml
UPDATED_CONTENT=$(cat response.yaml)
curl --request PUT --header 'PRIVATE-TOKEN: ${{secrets.GITLAB_ACCESS_TOKEN}}' -F "branch=${{vars.TARGET_GITLAB_REFERENCE}}" -F "[email protected]" -F "author_name=GitLab Actions" -F "content=${UPDATED_CONTENT}" -F "commit_message=$COMMITPREFIX Automated changes to ${{vars.FILEPATH_COMMIT}}" "${{vars.TARGET_GITLAB_REPOSITORY}}/files/${{vars.GITLAB_FILEPATH}}"

generate-and-push-sbom:
runs-on: ubuntu-latest
Expand Down
16 changes: 8 additions & 8 deletions backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<parent>
<groupId>ch.puzzle.okr</groupId>
<artifactId>parent</artifactId>
<version>2.0.39-SNAPSHOT</version>
<version>2.0.112-SNAPSHOT</version>
</parent>

<artifactId>backend</artifactId>
<version>2.0.39-SNAPSHOT</version>
<version>2.0.112-SNAPSHOT</version>
<name>backend</name>
<description>Puzzle OKR Tool</description>

Expand Down Expand Up @@ -54,17 +54,17 @@
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>2.3.0</version>
<version>2.5.0</version>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
<version>10.6.0</version>
<version>10.11.1</version>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-database-postgresql</artifactId>
<version>10.6.0</version>
<version>10.11.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
Expand All @@ -78,13 +78,13 @@
<dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit-junit5</artifactId>
<version>1.2.1</version>
<version>1.3.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.25.1</version>
<version>3.25.3</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -102,7 +102,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.11</version>
<version>0.8.12</version>
<configuration>
<excludes>
<exclude>ch/puzzle/okr/models/**</exclude>
Expand Down
3 changes: 3 additions & 0 deletions backend/src/main/java/ch/puzzle/okr/OkrApplication.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
package ch.puzzle.okr;

import ch.puzzle.okr.service.clientconfig.ClientCustomizationProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
@EnableConfigurationProperties(ClientCustomizationProperties.class)
public class OkrApplication {
public static void main(String[] args) {
SpringApplication.run(OkrApplication.class, args);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
package ch.puzzle.okr.controller;

import ch.puzzle.okr.service.ClientConfigService;
import ch.puzzle.okr.dto.ClientConfigDto;
import ch.puzzle.okr.service.clientconfig.ClientConfigService;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/config")
public class ClientConfigController {
Expand All @@ -20,7 +19,7 @@ public ClientConfigController(ClientConfigService configService) {
}

@GetMapping
public ResponseEntity<Map<String, String>> getConfig() {
public ResponseEntity<ClientConfigDto> getConfig() {
return ResponseEntity.status(HttpStatus.OK).body(configService.getConfigBasedOnActiveEnv());
}
}
7 changes: 7 additions & 0 deletions backend/src/main/java/ch/puzzle/okr/dto/ClientConfigDto.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package ch.puzzle.okr.dto;

import java.util.HashMap;

public record ClientConfigDto(String activeProfile, String issuer, String clientId, String favicon, String logo,
String title, HashMap<String, String> customStyles) {
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
package ch.puzzle.okr.service.clientconfig;

import ch.puzzle.okr.dto.ClientConfigDto;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

@Service
public class ClientConfigService {

@Value("${spring.security.oauth2.resourceserver.jwt.issuer-uri}")
private String issuer;

@Value("${spring.profiles.active}")
private String activeProfile;

@Value("${spring.security.oauth2.resourceserver.opaquetoken.client-id}")
private String clientId;

private final ClientCustomizationProperties clientCustomizationProperties;

public ClientConfigService(ClientCustomizationProperties clientCustomizationProperties) {
this.clientCustomizationProperties = clientCustomizationProperties;
}

public ClientConfigDto getConfigBasedOnActiveEnv() {
return new ClientConfigDto(activeProfile, issuer, clientId, this.clientCustomizationProperties.getFavicon(),
this.clientCustomizationProperties.getLogo(), this.clientCustomizationProperties.getTitle(),
this.clientCustomizationProperties.getCustomStyles());
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
package ch.puzzle.okr.service.clientconfig;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.HashMap;

@ConfigurationProperties("okr.clientcustomization")
public class ClientCustomizationProperties {
private String favicon;
private String logo;
private String title;
private HashMap<String, String> customStyles = new HashMap<>();

public void setCustomStyles(HashMap<String, String> customStyles) {
this.customStyles = customStyles;
}

public String getFavicon() {
return favicon;
}

public void setFavicon(String favicon) {
this.favicon = favicon;
}

public String getLogo() {
return logo;
}

public void setLogo(String logo) {
this.logo = logo;
}

public HashMap<String, String> getCustomStyles() {
return customStyles;
}

public String getTitle() {
return title;
}

public void setTitle(String title) {
this.title = title;
}
}
3 changes: 3 additions & 0 deletions backend/src/main/resources/application-staging.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# logging level for staging
logging.level.org.springframework=debug

spring.security.oauth2.resourceserver.opaquetoken.client-id=pitc_okr_staging

okr.user.champion.usernames=peggimann
okr.clientcustomization.customstyles.okr-topbar-background-color=#ab31ad
4 changes: 4 additions & 0 deletions backend/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@ okr.jwt.user.username=preferred_username
okr.jwt.user.firstname=given_name
okr.jwt.user.lastname=family_name
okr.jwt.user.email=email

okr.clientcustomization.favicon=assets/favicon.png
okr.clientcustomization.logo=assets/images/okr-logo.svg
okr.clientcustomization.title=Puzzle OKR
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ values (21, 1,
13, 1, 31, 3, 'metric', null);

insert into quarter (id, label, start_date, end_date)
values (8, 'GJ 23/24-Q3', '2024-01-01', '2024-03-31');
values (8, 'GJ 23/24-Q3', '2024-01-01', '2024-03-31'),
(9, 'GJ 23/24-Q4', '2024-04-01', '2024-06-30'),
(10, 'GJ 24/25-Q1', '2024-07-01', '2024-09-30');

delete
from team_organisation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ values (1, 'GJ 22/23-Q4', '2023-04-01', '2023-06-30'),
(6, 'GJ 21/22-Q4', '2022-04-01', '2022-06-30'),
(7, 'GJ 23/24-Q2', '2023-10-01', '2023-12-31'),
(8, 'GJ 23/24-Q3', '2024-01-01', '2024-03-31'),
(9, 'GJ 23/24-Q4', '2024-04-01', '2024-06-30'),
(199, 'Backlog', null, null);

insert into team (id, version, name)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package ch.puzzle.okr.controller;

import ch.puzzle.okr.service.ClientConfigService;
import ch.puzzle.okr.service.clientconfig.ClientConfigService;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.junit.jupiter.MockitoExtension;
Expand Down
Loading
Loading