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

NEDS-194: Merge upstream DomiSMP version '5.1.0' into SMP '2.2.0' #21

Merged
merged 625 commits into from
Feb 5, 2025
Merged
Changes from 5 commits
Commits
Show all changes
625 commits
Select commit Hold shift + click to select a range
8652a83
Merge branch 'development' of https://ec.europa.eu/digital-building-b…
Sep 3, 2024
14e4189
Pull request #118: [EDELIVERY-13839] Reset password policy validation…
Sep 3, 2024
89d8ea6
Merge branch 'development' of https://ec.europa.eu/digital-building-b…
Sep 3, 2024
3baeee1
Pull request #119: [EDELIVERY-13840] Fix Reset password tokens are no…
Sep 3, 2024
2637f39
[EDELIVERY-12747] add configuration options for update/create user al…
Sep 3, 2024
a12d6ab
Pull request #120: [EDELIVERY-12747] add configuration options for up…
Sep 4, 2024
3a7d1e5
[URGENT-FIX] Merge issue
Sep 4, 2024
65b2acc
[EDELIVERY-13860] Fix DNS tool identifier validation to use default i…
Sep 5, 2024
fb0131b
[EDELIVERY-13860] PR comments
Sep 6, 2024
86e9dbd
Pull request #121: [EDELIVERY-13860] Fix DNS tool identifier validati…
Sep 6, 2024
2e83d0d
[EDELIVERY-13860] Fix DNS tool identifier validation to use default i…
Sep 11, 2024
23cd5bb
Pull request #122: [EDELIVERY-13839] Fix user password reset - same p…
Sep 12, 2024
2ba5be1
[EDELIVERY-11682] review workflow implementation
Sep 13, 2024
865f97c
EDELIVERY-11590 SMP UI Improvements Breadcrumb
Sep 13, 2024
65579c0
PR
Sep 13, 2024
7ad83f2
Pull request #124: EDELIVERY-11590 SMP UI Improvements Breadcrumb
Sep 13, 2024
5f0faa6
[EDELIVERY-1682] PR updates + implement review list page
Sep 15, 2024
3bc4498
[EDELIVERY-1682] PR updates + implement review list page
Sep 15, 2024
ad172b7
Pull request #123: [EDELIVERY-11682] review workflow implementation
Sep 15, 2024
fd23028
Small updates for EDELIVERY-1682 - Document metadata
Sep 16, 2024
aa39575
[URGENT] fix review flow blocking issues
Sep 17, 2024
d524d49
[URGENT] fix for template reference definiton
Sep 18, 2024
15a7eb8
[URGENT] fix for template reference definiton
Sep 18, 2024
5a04530
[EDELIVERY-13944] Permission issue on private resource
Sep 18, 2024
2bd1f5f
[EDELIVERY-13936] Delete domain with multiple groups
Sep 18, 2024
643a0ee
[EDELIVERY-13793] Fix filter list to return only domains and resource…
Sep 19, 2024
82bfb06
[EDELIVERY-13793] Fix filter list to return only domains and resource…
Sep 19, 2024
4e1bfe3
[EDELIVERY-13755] disable autoclose for expiration dialog
Sep 19, 2024
6487226
Pull request #128: [EDELIVERY-13755] disable autoclose for expiration…
Sep 19, 2024
f9dd673
Pull request #127: [EDELIVERY-13793] Fix filter list to return only d…
Sep 19, 2024
7cbb9b9
[EDELIVERY-13939] review option is not persisted on create
Sep 19, 2024
7ba6e2a
Pull request #126: [EDELIVERY-13936] Delete domain with multiple groups
Sep 19, 2024
f2737f6
Pull request #129: [EDELIVERY-13939] review option is not persisted o…
Sep 19, 2024
6bd1080
Pull request #125: [EDELIVERY-13944] Permission issue on private reso…
Sep 19, 2024
0e76dd8
[EDELIVERY-13882] fix user password reset for uses with no password
Sep 19, 2024
32a0bf4
[EDELIVERY-13882] fix user password reset for uses with no password
Sep 19, 2024
b16771b
[EDELIVERY-13882] fix user password reset for uses with no password
Sep 19, 2024
a9e59cb
[EDELIVERY-13882] fix user password reset for uses with no password
Sep 19, 2024
374570f
Merge remote-tracking branch 'origin/bugfix/EDELIVERY-13882-user-mana…
Sep 19, 2024
b000544
[EDELIVERY-13882] rollback change
Sep 19, 2024
36a7b89
[EDELIVERY-13956] UI: event table filter is not working
Sep 19, 2024
6ac5025
[EDELIVERY-13810] SSLClientCert header validation if truststore is di…
Sep 19, 2024
626fb92
Fix the document editing
Sep 19, 2024
fad3c68
Add replace toggle button with selection in the UI document editor
Sep 19, 2024
3e8e0de
[EDELIVERY-13743] UI fix for update of the domain properties in resou…
Sep 20, 2024
4a91a62
[EDELIVERY-13743] UI fix for update of the domain properties in resou…
Sep 20, 2024
f6a8886
Pull request #133: [EDELIVERY-13743] UI fix for update of the domain …
Sep 20, 2024
f12022a
Pull request #132: [EDELIVERY-13810] SSLClientCert header validation …
Sep 20, 2024
aec966c
Pull request #131: [EDELIVERY-13956] UI: event table filter is not wo…
Sep 20, 2024
a2002fe
UI Small Document edit updates
Sep 20, 2024
0f4de99
[EDELIVERY-13937] Fix group authorization error codes
Sep 21, 2024
943a561
[EDELIVERY-13937] Fix group authorization error codes
Sep 21, 2024
96f76a1
[EDELIVERY-13946] Set document version statuses to draft on review di…
Sep 21, 2024
7d5b39e
[EDELIVERY-13946] Set document version statuses to draft on review di…
Sep 21, 2024
72363d5
[EDELIVERY-13946] rollback-redirection on reset password
Sep 22, 2024
119394e
[EDELIVERY-13839] fix redirection on invalid reset password
Sep 22, 2024
67c5cea
[EDELIVERY-13874] fix UI group dialog name validation
Sep 22, 2024
e2fa70a
[EDELIVERY-13740, EDELIVERY-13738] fix UI domain-property dialog desc…
Sep 22, 2024
e05c922
[EDELIVERY-13787] fix the UI property dialog not show boolean proeprt…
Sep 22, 2024
31e68c0
Pull request #134: Bugfix/EDELIVERY-13937 user roles overlapping betw…
Sep 22, 2024
dc0e31b
Pull request #135: [EDELIVERY-13946] Set document version statuses to…
Sep 22, 2024
12eb7dd
Pull request #136: [EDELIVERY-13839] fix redirection on invalid reset…
Sep 22, 2024
8607659
Pull request #137: Bugfix/EDELIVERY-13874 ui updates
Sep 22, 2024
58af72e
[URGENT] fix the missing translation value
Sep 22, 2024
8da234b
[URGENT] fix oracle integration tests (soapui)
Sep 22, 2024
b3861bb
[URGENT] fix oracle integration tests (soapui)
Sep 22, 2024
1fd4193
[EDELIVERY-13781] Access token - null validity not allowed
Sep 22, 2024
7fe0630
[EDELIVERY-13779] Access token - panel collapse on delete action
Sep 22, 2024
8583757
[EDELIVERY-13777] Access token - add relevant data to collapsed
Sep 22, 2024
7ec16c7
[EDELIVERY-13776] Access token - more info in the header
Sep 22, 2024
39d0857
[EDELIVERY-13775] UI Wrong page after delete AccessToken/Certificate
Sep 22, 2024
352f465
Fix Date range validation for access token
Sep 23, 2024
df4d97b
Pull request #138: Bugfix/EDELIVERY-13781 access tokens issues
Sep 23, 2024
ef56836
[URGENT] fix citnet build
Sep 23, 2024
e703cec
[EDELIVERY-13943] UI - add approve/reject/publish confirmation dialog
Sep 23, 2024
53a7c0e
[EDELIVERY-13756] UI - add missing expired session alert
Sep 23, 2024
b761db7
[EDELIVERY-13758] UI show session extension in minutes and seconds
Sep 23, 2024
597d485
[EDELIVERY-13758] UI show session extension in minutes and seconds
Sep 23, 2024
2678484
[EDELIVERY-13943] UI add warning to group if desc is bigger than 1024…
Sep 23, 2024
d6d7e6f
Pull request #141: [EDELIVERY-13758] UI show session extension in min…
Sep 23, 2024
39f1af1
Pull request #140: [EDELIVERY-13756] UI - add missing expired session…
Sep 23, 2024
70979e1
Pull request #139: [EDELIVERY-13943] UI - add approve/reject/publish …
Sep 23, 2024
6c177cc
[EDELIVERY-13369] add scheme validation for the sample extension
Sep 23, 2024
0d35e8d
[EDELIVERY-13937] fix group authorization for the delete resource
Sep 23, 2024
19b9f91
[EDELIVERY-13978] update access token panel
Sep 24, 2024
2a732ba
[EDELIVERY-13979] allow to choose same day for expiration
Sep 24, 2024
8a5fc1a
[EDELIVERY-13955] Document-edit: limit to max 20 rows per page
Sep 24, 2024
92a0982
[EDELIVERY-13772] Fix the domain code label
Sep 24, 2024
708b22e
Pull request #142: [EDELIVERY-13369] add scheme validation for the sa…
Sep 24, 2024
1a24f08
Pull request #143: [EDELIVERY-13937] fix group authorization for the …
Sep 24, 2024
ae96f19
Pull request #144: [EDELIVERY-13978] update access token panel
Sep 24, 2024
2e38bcf
Pull request #145: [EDELIVERY-13979] allow to choose same day for exp…
Sep 24, 2024
eab04b4
Pull request #146: [EDELIVERY-13955] Document-edit: limit to max 20 r…
Sep 24, 2024
6460ffd
[EDELIVERY-13837] set formating of the datetime in mails according to…
Sep 24, 2024
7beca50
[EDELIVERY-13784] submit login on enter event
Sep 24, 2024
3b2f11f
[EDELIVERY-13818] fix locale configuration for docker to be inside sm…
Sep 24, 2024
65a3b0f
Pull request #147: [EDELIVERY-13837] set formating of the datetime in…
Sep 24, 2024
440598a
Pull request #148: [EDELIVERY-13784] submit login on enter event
Sep 24, 2024
7a41156
Pull request #149: [EDELIVERY-13818] fix locale configuration for doc…
Sep 24, 2024
5ea9a66
EDELIVERY-11674 - Alerts UI Improvements
Sep 24, 2024
8fae59c
Merge branch 'development' into bugfix/EDELIVERY-11674-alerts-ui-impr…
Sep 24, 2024
eac8859
EDELIVERY-11674 - Alerts UI Improvements
Sep 24, 2024
eca8358
[] Fix template resolution of the indentifiers
Sep 24, 2024
58acf23
[EDELIVERY-13982] upgrade libraries
Sep 25, 2024
3af3ae7
[EDELIVERY-12743] fix case sensitive case scheme changed to insensitive
Sep 25, 2024
1a9ae81
Pull request #151: [EDELIVERY-13982] upgrade libraries
Sep 25, 2024
3bddf14
EDELIVERY-13827 - resource visibility
Sep 25, 2024
9e1765e
[EDELIVERY-11391] fix duplicate import not working for truststore cer…
Sep 25, 2024
165d2cf
Pull request #153: [EDELIVERY-11391] fix duplicate import not working…
Sep 25, 2024
ff7459a
EDELIVERY-11674 - Alerts UI Improvements
Sep 25, 2024
74219b3
Pull request #150: Bugfix/EDELIVERY-11674 alerts ui improvements
Sep 25, 2024
d5a1063
Revert "EDELIVERY-13827 - resource visibility"
Sep 25, 2024
654fbd2
EDELIVERY-13827 - resource visibility - add test step - get private r…
Sep 25, 2024
e22bf93
[EDELIVERY-13993] create update database scripts
Sep 26, 2024
9e5f392
[EDELIVERY-13988] prepare code for the open source
Sep 26, 2024
c0ad10e
Pull request #152: EDELIVERY-13827 - resource visibility
Sep 26, 2024
1104bc9
Pull request #154: [EDELIVERY-13988] Prepare the code for the OpenSou…
Sep 26, 2024
50c50d6
[EDELIVERY-13997] Allow user to reject the approved document
Sep 26, 2024
a1f8217
Pull request #155: [EDELIVERY-13997] Allow user to reject the approve…
Sep 26, 2024
a26fd64
Fix bamboo build plan
Sep 26, 2024
3c257c1
[CITNET] Fix bamboo build plan
Sep 26, 2024
bc1ed4a
[CITNET] Fix bamboo build plan
Sep 26, 2024
a2605b0
[CITNET] Fix bamboo build plan
Sep 26, 2024
c3a026c
[EDELIVERY-13993] create update database scripts
Sep 26, 2024
00ca62d
[RELEASE-PREP] set release versions to internal depedand libraries.
Sep 27, 2024
e8aedeb
Add latest domain, group tests ..
Sep 27, 2024
4da2b61
Adapt custom properties to be run on bamboo ...
Sep 27, 2024
e98b4b0
Pull request #157: AddSoapUItestsAfterRelease51RCTS27092024
Sep 27, 2024
8679f61
[URGENT] Fix resource member management authorization
Sep 27, 2024
2f60183
Merge remote-tracking branch 'origin/development' into development
Sep 27, 2024
d878a49
Merge branch 'development' of https://ec.europa.eu/digital-building-b…
Sep 27, 2024
85489d9
[EDELIVERY-13993] prepare-db-migration-script-for-domismp-5.1-rc
Sep 29, 2024
7ae4356
Pull request #156: [EDELIVERY-13993] create update database scripts
Sep 29, 2024
9ee2368
Pull request #158: Release version 5.1.RC1
Sep 30, 2024
9ace6f8
[maven-release-plugin] prepare release 5.1-RC1
Sep 30, 2024
3c73766
[maven-release-plugin] prepare for next development iteration
Sep 30, 2024
7c7bc70
fixed failing tests due to ui changes.
Oct 1, 2024
f6eb010
Pull request #159: fixed failing tests due to ui changes.
Oct 7, 2024
aaa8679
EDELIVERY-13873 Internationalization User Role Translation is not Wor…
Oct 7, 2024
6810865
Pull request #161: Prepare for next release cycle
Oct 8, 2024
0b56ed4
Pull request #160: EDELIVERY-13873 Internationalization User Role Tra…
Oct 8, 2024
7a434e9
added tests for reset password functionality.
Oct 9, 2024
3d28dc8
added tests for reset password functionality.
Oct 9, 2024
ab08009
[EDELIVERY-14110] fix document property validation for non string types
Oct 10, 2024
0fa6bf7
[EDELIVERY-14005] fix property dialog duplicate name
Oct 10, 2024
d3c6e01
Pull request #163: [EDELIVERY-14005] fix property dialog duplicate name
Oct 10, 2024
7e44662
[EDELIVERY-14014] set document name as identifier value
Oct 10, 2024
27599c7
Pull request #162: [EDELIVERY-14110] fix document property validation…
Oct 10, 2024
b085238
update configuration example file
Oct 10, 2024
65d376a
[EDELIVERY-14007] Now alert on new user is created even if mail is no…
Oct 10, 2024
aa56de8
[EDELIVERY-14008] remove the deprecated mail subject properties
Oct 10, 2024
5062ddc
Pull request #164: [EDELIVERY-14014] set document name as identifier …
Oct 11, 2024
ca20a59
Pull request #165: [EDELIVERY-14007] Now alert on new user is created…
Oct 11, 2024
f829a1a
Pull request #166: [EDELIVERY-14008] remove the deprecated mail subje…
Oct 11, 2024
560f08a
[EDELIVERY-140015] fix column label in dialog reference result table
Oct 11, 2024
a0d432d
[EDELIVERY-140016] fix reset button dialog reference and change icon…
Oct 11, 2024
1cfe343
[EDELIVERY-140001] allow to create access tokens which are not yet valid
Oct 11, 2024
c6ef578
Merge branch 'refs/heads/development' into EDELIVERY-14013-Test-autom…
Oct 11, 2024
ea8ca51
added tests for Domain page configuration tab
Oct 11, 2024
603923a
[EDELIVERY-14119] upgrade libraries and remove the geronimo-javamail_…
Oct 11, 2024
2b3f299
Pull request #167: [EDELIVERY-140015] fix column label in dialog refe…
Oct 11, 2024
abc9bf3
Pull request #168: [EDELIVERY-140016] fix reset button dialog refere…
Oct 11, 2024
ef0d079
Pull request #169: [EDELIVERY-140001] allow to create access tokens w…
Oct 11, 2024
e13f3d1
Pull request #171: [EDELIVERY-14119] upgrade libraries and remove the…
Oct 11, 2024
b95c9c8
Merge branch 'refs/heads/development' into EDELIVERY-14013-Test-autom…
Oct 11, 2024
90b192f
added tests for Edit resource page configuration tab
Oct 11, 2024
ea79385
added tests for Edit resource page configuration tab
Oct 11, 2024
0d47052
[EDELIVERY-13955] remove unused angular packages
Oct 12, 2024
1e9142e
[EDELIVERY-13955] upgrade angular to v17
Oct 13, 2024
e26b214
[EDELIVERY-13955] upgrade angular to v18
Oct 13, 2024
2e97278
Applied suggestion
Oct 14, 2024
97a5bc4
Applied suggestion
Oct 14, 2024
53654f2
[EDELIVERY-13955] UI update smp-table
Oct 14, 2024
a7d4929
[EDELIVERY-13955] PR updates
Oct 14, 2024
9fd7186
Pull request #172: [EDELIVERY-14133] upgarde of the angular from v16 …
Oct 14, 2024
b9f585f
Pull request #170: EDELIVERY-14013 Test automation Create 1 happy flo…
Oct 15, 2024
9fa41ea
[EDELIVERY-13955] [UI] replace tables with smp-tale
Oct 15, 2024
4d4c51e
[EDELIVERY-13955] [UI] att option to style smp-table columns
Oct 16, 2024
f8398e7
Pull request #173: Bugfix/EDELIVERY-13955 ui replace table with smp-t…
Oct 16, 2024
59252e3
[EDELIVERY-13955] [UI] fix member table labels
Oct 16, 2024
6689ca1
[EDELIVERY-13995] [UI] resource edit: groups and domain refresh
Oct 16, 2024
c44a512
[EDELIVERY-13995] [UI] resource edit: groups and domain refresh
Oct 16, 2024
aab6782
[EDELIVERY-14064] [UI] add visibility column to search page
Oct 16, 2024
430aab2
Update resources for running SMP20 test suite ..
Oct 16, 2024
05aae81
adjust pom versions
Oct 16, 2024
0fef7b4
[EDELIVERY-13996] [UI] automatic session extension on user ui activity.
Oct 16, 2024
31cd168
fix oasis smp 2.0 context path example
Oct 16, 2024
dff746c
[EDELIVERY-14155] fix oasis smp 2.0 context path example
Oct 17, 2024
85876bd
Pull request #174: [EDELIVERY-13995] [UI] resource edit: groups and d…
Oct 17, 2024
5e6ce20
Pull request #175: [EDELIVERY-14064] [UI] add visibility column to se…
Oct 17, 2024
8b7bb44
Pull request #176: [EDELIVERY-13996] [UI] automatic session extension…
Oct 17, 2024
ac77742
Pull request #177: [EDELIVERY-14155] fix oasis smp 2.0 context path e…
Oct 17, 2024
e72eae5
[EDELIVERY-14159] update default configuration filename and update we…
Oct 17, 2024
7281433
Pull request #178: [EDELIVERY-14159] update default configuration fil…
Oct 17, 2024
8c15ba8
added changes for replacing table to mat table, created test test for…
Oct 17, 2024
0d91164
[EDELIVERY-13998] fix refresh document edit panel.
Oct 17, 2024
31918ac
Merge branch 'development' of https://ec.europa.eu/digital-building-b…
Oct 17, 2024
50a543f
[EDELIVERY-14157] set default local 'en'
Oct 17, 2024
fa30b15
Pull request #180: [EDELIVERY-13998] fix refresh document edit panel.
Oct 17, 2024
3af3bf4
Pull request #181: [EDELIVERY-14157] set default local 'en'
Oct 17, 2024
577a01e
remove debug logs
Oct 17, 2024
71900c8
Pull request #179: added changes for replacing table to mat table, cr…
Oct 18, 2024
a615631
Pull request #182: RunSMP20testsBambooPlansStep1
Oct 18, 2024
fcf3896
EDELIVERY-13873 Internationalization User Role Translation is not Wor…
Oct 18, 2024
afcb7e8
[EDELIVERY-14167] fix toolbar height
Oct 20, 2024
648dc9f
[EDELIVERY-14164] fix missing translation
Oct 20, 2024
bea3623
[EDELIVERY-13955] fix table headers
Oct 21, 2024
416198b
Pull request #184: [EDELIVERY-14167] fix toolbar height
Oct 21, 2024
88c0ef7
Pull request #185: [EDELIVERY-14164] fix missing translation
Oct 21, 2024
923e7ee
Pull request #186: [EDELIVERY-13955] fix table headers
Oct 21, 2024
6338f87
add suffix
Oct 21, 2024
4384adf
[EDELIVERY-14170] logout on session timeout even if changed data
Oct 22, 2024
eec7fbc
[EDELIVERY-14171] Fix Invalid group error message
Oct 22, 2024
15d7f14
Update SMP2.0 endpoint
Oct 22, 2024
3168c36
Pull request #188: [EDELIVERY-14171] Fix Invalid group error message
Oct 22, 2024
64b4e79
Pull request #187: [EDELIVERY-14170] logout on session timeout even i…
Oct 22, 2024
43878d4
Pull request #183: EDELIVERY-13873 Internationalization User Role Tra…
Oct 22, 2024
121baf6
Upgrade libraries and tackle CVE-2024-23080
Oct 23, 2024
ec571b9
updating the docker scripts to execute the tests
Oct 23, 2024
1a4381e
[EDELIVERY-14194] Unlink referenced document before deletion
Oct 23, 2024
6ea1790
[EDELIVERY-14195] resource visibility changed
Oct 23, 2024
76d547d
[EDELIVERY-14203] Configure mTLS for tomcat and integration tests
Oct 24, 2024
ae354fa
Pull request #189: [EDELIVERY-14194] Unlink referenced document befor…
Oct 24, 2024
1dd8cfe
Pull request #190: [EDELIVERY-14195] resource visibility changed
Oct 24, 2024
1a7a999
Pull request #191: [EDELIVERY-14203] Configure mTLS for tomcat and in…
Oct 24, 2024
1bfaaa6
fix readme for shared artefact in the Docker build
Oct 24, 2024
653a54a
Pull request #192: UpdateResultsFolder
Oct 24, 2024
1681155
fix sql stream
Oct 24, 2024
dd6b05e
shorten the waiting duration to 20 sec
Oct 24, 2024
9af3954
Pull request #193: shorten the waiting duration to 20 sec
Oct 24, 2024
edb40c4
Fix identifier scheme validation
Oct 25, 2024
923f462
Pull request #194: Fix identifier scheme validation
Oct 25, 2024
b27171b
Fix UI identifier scheme label
Oct 25, 2024
8764b67
Fix angular build with preinstalled node and update angular libraries
Oct 26, 2024
08e4d29
automate/clean all possible smp 1.0 tests
Oct 28, 2024
6fa0f5a
Pull request #195: automate/clean all possible smp 1.0 tests
Oct 28, 2024
506cc29
Add angular cli install step when building with -DusePreInstallNpm=true
Oct 30, 2024
0b0d4c2
update versions and prepare for release
Oct 30, 2024
d4d223a
add maven-release-plugin node/npm arguments
Oct 30, 2024
bd81ca8
Pull request #197: Release version 5.1
Oct 30, 2024
7ba47db
[maven-release-plugin] prepare release 5.1
Oct 30, 2024
8f9b34a
NEDS-194: Merge upstream version '5.1.0'
diemartin Dec 27, 2024
7ff8391
NEDS-194: Update version to 2.2.0
diemartin Dec 27, 2024
90376ff
NEDS-194: Fix dependencies with known vulnerabilities
diemartin Jan 28, 2025
625e9ba
NEDS-194: Update test directory patterns in .ort.yml configuration
diemartin Jan 29, 2025
aaa3b90
NEDS-194: Remove unnecessary file
diemartin Jan 29, 2025
7d26eba
NEDS-194: Update dependencies to use Harmony dynamic-discovery-client
diemartin Feb 5, 2025
0cfbae2
NEDS-194: Participant identifier validation regex accept A-Z in ident…
diemartin Feb 5, 2025
1f1cad3
NEDS-194: Add generated locales folders to gitignore
diemartin Feb 5, 2025
0c7f0f2
NEDS-194: Add config property to allow concatenating ebCore participa…
diemartin Feb 5, 2025
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
30 changes: 30 additions & 0 deletions smp-angular/src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -166,6 +166,28 @@ import {
} from "./common/dialogs/document-property-dialog/document-property-dialog.component";
import {NgxTranslateModule} from "./translate/translate.module";
import {WindowSpinnerService} from "./common/services/window-spinner.service";
import {
ExpandablePanelComponent
} from "./common/panels/expandable-panel-component/expandable-panel.component";
import {
ExpandableItemComponent
} from "./common/panels/expandable-panel-component/expandable-item-component/expandable-item.component";
import {
DocumentEventsPanelComponent
} from "./common/panels/document-events-panel/document-events-panel.component";
import {
DocumentVersionsPanelComponent
} from "./common/panels/document-versions-panel/document-versions-panel.component";
import {ReviewTasksComponent} from "./edit/review-task/review-tasks.component";
import {
ReviewTasksPanelComponent
} from "./common/panels/review-tasks-panel/review-tasks-panel.component";
import {
DocumentEditPanelComponent
} from "./common/panels/document-edit-panel/document-edit-panel.component";
import {
ReviewDocumentPanelComponent
} from "./common/panels/review-tasks-panel/review-document-panel/review-document-panel.component";


@NgModule({
@@ -198,8 +220,11 @@ import {WindowSpinnerService} from "./common/services/window-spinner.service";
DnsToolsComponent,
DnsQueryPanelComponent,
DocumentWizardDialogComponent,
DocumentEditPanelComponent,
DocumentEventsPanelComponent,
DocumentPropertiesPanelComponent,
DocumentPropertyDialogComponent,
DocumentVersionsPanelComponent,
DomainGroupComponent,
DomainPanelComponent,
DomainResourceTypePanelComponent,
@@ -209,6 +234,8 @@ import {WindowSpinnerService} from "./common/services/window-spinner.service";
EditDomainComponent,
EditGroupComponent,
EditResourceComponent,
ExpandablePanelComponent,
ExpandableItemComponent,
ExpiredPasswordDialogComponent,
ExtensionComponent,
ExtensionPanelComponent,
@@ -236,6 +263,9 @@ import {WindowSpinnerService} from "./common/services/window-spinner.service";
RowLimiterComponent,
SaveDialogComponent,
SearchTableComponent,
ReviewDocumentPanelComponent,
ReviewTasksComponent,
ReviewTasksPanelComponent,
ResourceSearchComponent,
SidenavComponent,
SmpFieldErrorComponent,
178 changes: 145 additions & 33 deletions smp-angular/src/app/app.routes.ts
Original file line number Diff line number Diff line change
@@ -1,28 +1,69 @@
import {RouterModule, Routes} from '@angular/router';
import {LoginComponent} from './login/login.component';
import {ResourceSearchComponent} from './resource-search/resource-search.component';
import {PropertyComponent} from "./system-settings/admin-properties/property.component";
import {UserProfileComponent} from "./user-settings/user-profile/user-profile.component";
import {
ResourceSearchComponent
} from './resource-search/resource-search.component';
import {
PropertyComponent
} from "./system-settings/admin-properties/property.component";
import {
UserProfileComponent
} from "./user-settings/user-profile/user-profile.component";
import {authenticationGuard} from "./guards/authentication.guard";
import {UserAccessTokensComponent} from "./user-settings/user-access-tokens/user-access-tokens.component";
import {UserCertificatesComponent} from "./user-settings/user-certificates/user-certificates.component";
import {ExtensionComponent} from "./system-settings/admin-extension/extension.component";
import {AdminTruststoreComponent} from "./system-settings/admin-truststore/admin-truststore.component";
import {AdminKeystoreComponent} from "./system-settings/admin-keystore/admin-keystore.component";
import {AdminDomainComponent} from "./system-settings/admin-domain/admin-domain.component";
import {
UserAccessTokensComponent
} from "./user-settings/user-access-tokens/user-access-tokens.component";
import {
UserCertificatesComponent
} from "./user-settings/user-certificates/user-certificates.component";
import {
ExtensionComponent
} from "./system-settings/admin-extension/extension.component";
import {
AdminTruststoreComponent
} from "./system-settings/admin-truststore/admin-truststore.component";
import {
AdminKeystoreComponent
} from "./system-settings/admin-keystore/admin-keystore.component";
import {
AdminDomainComponent
} from "./system-settings/admin-domain/admin-domain.component";
import {dirtyDeactivateGuard} from "./guards/dirty.guard";
import {AdminUserComponent} from "./system-settings/admin-users/admin-user.component";
import {
AdminUserComponent
} from "./system-settings/admin-users/admin-user.component";
import {EditDomainComponent} from "./edit/edit-domain/edit-domain.component";
import {EditGroupComponent} from "./edit/edit-group/edit-group.component";
import {EditResourceComponent} from "./edit/edit-resources/edit-resource.component";
import {ResourceDocumentPanelComponent} from "./edit/edit-resources/resource-document-panel/resource-document-panel.component";
import {SubresourceDocumentPanelComponent} from "./edit/edit-resources/subresource-document-panel/subresource-document-panel.component";
import {authorizeChildSystemAdminGuard} from "./guards/authorize-child-system-admin.guard";
import {activateChildResourceGuard} from "./guards/activate-child-document.guard";
import {UserAlertsComponent} from "./user-settings/user-alerts/user-alerts.component";
import {AdminAlertsComponent} from "./system-settings/admin-alerts/admin-alerts.component";
import {ResetCredentialComponent} from "./security/reset-credential/reset-credential.component";
import {
EditResourceComponent
} from "./edit/edit-resources/edit-resource.component";
import {
ResourceDocumentPanelComponent
} from "./edit/edit-resources/resource-document-panel/resource-document-panel.component";
import {
SubresourceDocumentPanelComponent
} from "./edit/edit-resources/subresource-document-panel/subresource-document-panel.component";
import {
authorizeChildSystemAdminGuard
} from "./guards/authorize-child-system-admin.guard";
import {
activateChildResourceGuard
} from "./guards/activate-child-document.guard";
import {
UserAlertsComponent
} from "./user-settings/user-alerts/user-alerts.component";
import {
AdminAlertsComponent
} from "./system-settings/admin-alerts/admin-alerts.component";
import {
ResetCredentialComponent
} from "./security/reset-credential/reset-credential.component";
import {DnsToolsComponent} from "./tools/dns-tools/dns-tools.component";
import {ReviewTasksComponent} from "./edit/review-task/review-tasks.component";
import {
ReviewDocumentPanelComponent
} from "./common/panels/review-tasks-panel/review-document-panel/review-document-panel.component";
import {activateChildReviewGuard} from "./guards/activate-child-review.guard";


const appRoutes: Routes = [
@@ -36,8 +77,16 @@ const appRoutes: Routes = [
path: 'edit',
canActivateChild: [authenticationGuard],
children: [
{path: 'edit-domain', component: EditDomainComponent, canDeactivate: [dirtyDeactivateGuard]},
{path: 'edit-group', component: EditGroupComponent, canDeactivate: [dirtyDeactivateGuard]},
{
path: 'edit-domain',
component: EditDomainComponent,
canDeactivate: [dirtyDeactivateGuard]
},
{
path: 'edit-group',
component: EditGroupComponent,
canDeactivate: [dirtyDeactivateGuard]
},
{
path: 'edit-resource',
canDeactivate: [dirtyDeactivateGuard],
@@ -54,33 +103,96 @@ const appRoutes: Routes = [
component: SubresourceDocumentPanelComponent,
canDeactivate: [dirtyDeactivateGuard]
},
{path: '', component: EditResourceComponent, canDeactivate: [dirtyDeactivateGuard]},
{
path: '',
component: EditResourceComponent,
canDeactivate: [dirtyDeactivateGuard]
},
]
},
{
path: 'review-tasks',
children: [
{
path: 'review-document',
canActivate: [activateChildReviewGuard],
component: ReviewDocumentPanelComponent,
canDeactivate: [dirtyDeactivateGuard]
},
{path: '', component: ReviewTasksComponent},]
}
]
},
{
path: 'system-settings',
canActivateChild: [authenticationGuard, authorizeChildSystemAdminGuard],
children: [
{path: 'domain', component: AdminDomainComponent, canDeactivate: [dirtyDeactivateGuard]},
{path: 'user', component: AdminUserComponent, canDeactivate: [dirtyDeactivateGuard]},
{path: 'properties', component: PropertyComponent, canDeactivate: [dirtyDeactivateGuard]},
{path: 'keystore', component: AdminKeystoreComponent, canDeactivate: [dirtyDeactivateGuard]},
{path: 'truststore', component: AdminTruststoreComponent, canDeactivate: [dirtyDeactivateGuard]},
{path: 'extension', component: ExtensionComponent, canDeactivate: [dirtyDeactivateGuard]},
{path: 'alert', component: AdminAlertsComponent, canDeactivate: [dirtyDeactivateGuard]},
{
path: 'domain',
component: AdminDomainComponent,
canDeactivate: [dirtyDeactivateGuard]
},
{
path: 'user',
component: AdminUserComponent,
canDeactivate: [dirtyDeactivateGuard]
},
{
path: 'properties',
component: PropertyComponent,
canDeactivate: [dirtyDeactivateGuard]
},
{
path: 'keystore',
component: AdminKeystoreComponent,
canDeactivate: [dirtyDeactivateGuard]
},
{
path: 'truststore',
component: AdminTruststoreComponent,
canDeactivate: [dirtyDeactivateGuard]
},
{
path: 'extension',
component: ExtensionComponent,
canDeactivate: [dirtyDeactivateGuard]
},
{
path: 'alert',
component: AdminAlertsComponent,
canDeactivate: [dirtyDeactivateGuard]
},
]
},
{
path: 'user-settings',
canActivateChild: [authenticationGuard],
children: [
{path: 'user-profile', component: UserProfileComponent, canDeactivate: [dirtyDeactivateGuard]},
{path: 'user-access-token', component: UserAccessTokensComponent, canDeactivate: [dirtyDeactivateGuard]},
{path: 'user-certificate', component: UserCertificatesComponent, canDeactivate: [dirtyDeactivateGuard]},
{path: 'user-alert', component: UserAlertsComponent, canDeactivate: [dirtyDeactivateGuard]},
{path: 'user-membership', component: UserProfileComponent, canDeactivate: [dirtyDeactivateGuard]},
{
path: 'user-profile',
component: UserProfileComponent,
canDeactivate: [dirtyDeactivateGuard]
},
{
path: 'user-access-token',
component: UserAccessTokensComponent,
canDeactivate: [dirtyDeactivateGuard]
},
{
path: 'user-certificate',
component: UserCertificatesComponent,
canDeactivate: [dirtyDeactivateGuard]
},
{
path: 'user-alert',
component: UserAlertsComponent,
canDeactivate: [dirtyDeactivateGuard]
},
{
path: 'user-membership',
component: UserProfileComponent,
canDeactivate: [dirtyDeactivateGuard]
},
]
},
{path: '**', redirectTo: ''},
20 changes: 17 additions & 3 deletions smp-angular/src/app/common/alert-message/alert-message.service.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import {Injectable} from '@angular/core';
import {NavigationEnd, NavigationStart, Router} from '@angular/router';
import {Observable, Subject} from 'rxjs';
import {lastValueFrom, Observable, Subject} from 'rxjs';
import {HttpErrorResponse} from "@angular/common/http";
import {TranslateService} from "@ngx-translate/core";

/**
* AlertMessageRO is the object that will be used to display the message in the SMP alert component in overlay.
@@ -25,7 +26,8 @@ export class AlertMessageService {
private keepAfterNavigationChange:boolean = false;
private message: AlertMessageRO;

constructor(private router: Router) {
constructor(private router: Router,
private translateService: TranslateService) {
// clear alert message on route change
router.events.subscribe(event => {
if (event instanceof NavigationStart) {
@@ -80,7 +82,6 @@ export class AlertMessageService {
* @param messageObject
*/
getObjectMessage(messageObject: any): string {
let message = 'An error occurred';
if (typeof messageObject === 'string') {
return messageObject;
}
@@ -124,6 +125,15 @@ export class AlertMessageService {
this.displayCurrentMessage();
}

async showMessageForTranslation(translationCode: string,type: string, keepAfterNavigationChange = false, timeoutInSeconds: number = null) : Promise<void> {
let message = await lastValueFrom(this.translateService.get(translationCode))
this.showMessage(message, type, keepAfterNavigationChange, timeoutInSeconds);
}

successForTranslation(translationCode: string, keepAfterNavigationChange = false, timeoutInSeconds: number = null) {
this.showMessageForTranslation(translationCode, 'success', keepAfterNavigationChange, timeoutInSeconds);
}

success(message: string, keepAfterNavigationChange = false, timeoutInSeconds: number = null) {
this.showMessage(message, 'success', keepAfterNavigationChange, timeoutInSeconds);
}
@@ -132,6 +142,10 @@ export class AlertMessageService {
this.showMessage(message, 'warning', keepAfterNavigationChange, timeoutInSeconds);
}

errorForTranslation(translationCode: string, keepAfterNavigationChange = false, timeoutInSeconds: number = null) {
this.showMessageForTranslation(translationCode, 'error', keepAfterNavigationChange, timeoutInSeconds);
}

error(message: any, keepAfterNavigationChange = false, timeoutInSeconds: number = null) {
this.showMessage(message, 'error', keepAfterNavigationChange, timeoutInSeconds);
}
Original file line number Diff line number Diff line change
@@ -144,6 +144,7 @@ export class SmpEditorComponent

@Input() set readOnly(readOnly: boolean) {
this._readOnly = readOnly;
console.log("Document readOnly", readOnly)
this.codeMirror?.dispatch({
effects: this.readOnlyDocument.reconfigure(EditorState.readOnly.of(readOnly))
})
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {Component, Inject} from '@angular/core';
import {MAT_DIALOG_DATA} from '@angular/material/dialog';
import {UntypedFormBuilder} from "@angular/forms";
import {SmpConstants} from "../../../smp.constants";
import {CertificateRo} from "../../model/certificate-ro.model";
import {TranslateService} from "@ngx-translate/core";

@@ -10,7 +9,7 @@ import {TranslateService} from "@ngx-translate/core";
templateUrl: './certificate-dialog.component.html'
})
export class CertificateDialogComponent {
readonly dateTimeFormat: string = SmpConstants.DATE_TIME_FORMAT;

formTitle: string;
current: CertificateRo;

Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {Component, Inject} from '@angular/core';
import {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog';
import {FormBuilder, FormControl, FormGroup} from "@angular/forms";
import {SmpConstants} from "../../../smp.constants";
import {AccessTokenRo} from "../../model/access-token-ro.model";
import {CredentialRo} from "../../../security/credential.model";
import {HttpErrorHandlerService} from "../../error/http-error-handler.service";
@@ -19,7 +18,6 @@ export class CredentialDialogComponent {
public static CERTIFICATE_TYPE: string = "CERTIFICATE";
public static ACCESS_TOKEN_TYPE: string = "ACCESS_TOKEN";

dateTimeFormat: string = SmpConstants.DATE_TIME_FORMAT;
formTitle: string;
credentialForm: FormGroup;
certificateForm: FormGroup;
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
.form-field-full-width {
width: 100%;
}

.empty-field-label {
color: gray;
}


#custom-file-upload {
display: none;
}
@@ -11,3 +14,6 @@
display: inline-block;
cursor: pointer;
}
#member-user-can-review {
max-height: 1.5em
}
Loading