Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit f30fbdc
Author: Ívar Oddsson <[email protected]>
Date:   Tue Jan 11 13:39:13 2022 +0000

    fix(judicial-system): Fix iCal end time (#6207)

    Co-authored-by: Ívar Oddsson <[email protected]>
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 61bb744
Author: Sævar Már Atlason <[email protected]>
Date:   Tue Jan 11 12:57:42 2022 +0000

    chore(core): Rename user to auth for dependents of Audit library (#6188)

    * Renamed user->auth in audit library and fixed tests.

    * Renaming user->auth in dependents using the Audit library.

    * Updating the library readme.

commit 0527d7a
Author: Rúnar Vestmann <[email protected]>
Date:   Tue Jan 11 10:37:30 2022 +0000

    fix(web): Organization subpage not updating the data regarding Organization page on sync (#6199)

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit de2b254
Author: Ásdís Erna Guðmundsdóttir <[email protected]>
Date:   Tue Jan 11 10:27:50 2022 +0000

    feat(service-portal): Tablet UI (#6184)

    * feat: add sidebar menu state

    * feat: sidebar fixed to left and
    hover/active state for nav items

    * refactor: heading and font sizes

    * refactor: make button smaller on greeting link

    * refactor: white background on mobile menu

    * feat: add xs size to datePicker, Input and Select CORE

    * feat: add sidebar as a variant option

    * refactor: rearrange finance data

    * refactor: add keywords to messages

    * refactor: remove image from screens

    * refactor: move school tag

    * refactor: family screens

    * refactor: use xs input in settings

    * refactor: make headings smaller in settings

    * refactor: put search input in grid

    * refactor: move title for student assessment tables

    * refactor: sidebar positioned absolute instead of fixed

    * fix: undo removing image from access control

    * feat: add fullScreen prop to UserDropdown

    * fix: add logo back when on mobile

    * refactor: toggle animation

    * refactor: add transition to layout grid

    * refactor: speed up layoutgrid transition time

    * feat: new userMenu design

    * refactor: add close on userMenu click

    * fix: rollback changes on shared userMenu
    add service portal userMenu instead

    * feat: design changes to mobilemenu

    * feat: add new general error screen

    * refactor: more space for main content

    * refactor: cleanup

    * feat: add lock icon to disabled nav items

    * feat: add graphql function to get unreadDocumentsCount WIP

    * feat: badge for unread mail + lock screen

    * refactor: make unread mail bold + smaller font

    * fix: lint warnings

    * refactor: cleanup

    * fix: hide text on smaller screens on finance row

    * refactor: more cleanup

    * fix: build error on styleVariants

    * fix: default value for unread documents

    * fix: default value for unread documents counter

    * fix: remove sidebar variant from text ui core lib

    * refactor: image on greeting screen

    * fix: bug after removing sidebar variant from text

    * fix: add back button "back to my pages"

    * fix: sidebar stopping on scroll

    * fix: userMenu should not be part of grid

    * fix: small logo disappearing when sidebar collapses

    * feat: headingVariant prop added to island-ui core ActionCard

    * refactor: assets overview

    * fix: add bottom spacing to main content

    * fix: remove header from assetsDetail

    * refactor: smaller font for assetDisclaimer

    * refactor: refactoring unused stuff

    * refactor: cleanup grid in Layout

    * fix: revert fixing lint warnings

    * fix: remove activeIcon from masterNavigation

    * fix: userMenu active state WIP

    * fix: larger font on tables

    * fix: smaller heading + intro text on petitions

    * fix: hide family relation tags until fixed

    * fix: broken test on UserMenu

    * refactor: finance status screen

    * refactor: move data fetch for userDelegations to parent

    * fix: font weight on user info content

    * refactor: make headings h3 and add xs size variant for input

    * fix: build errors

    * fix: undefined error on e2e test

    * fix: temp removal of e2e test

    * fix: removal of kennitala function

    * fix: spacing on sidebar + removal of unused text

    * refactor: sidebar nav items

    * fix: uncomment e2e test bug

    * fix: removal of company icon in user dropdown

    * feat: add change lang button next to user menu

    * fix: add max-content to arrow Link to prevent breaking

    * fix: switch profile and actor names on user dropdown

    * refactor: make font color darker in sidebar

    * fix: wrong tag color on access denied

    * feat: new collapsed sidebar

    * feat: add lock icon to subnav + hide if parent is disabled

    * fix: position of lock icons

    * Minor fixes

    * fix: subitems +1 pixel ....

    * refactor: xs for Datepicker components

    * refactor: xs for Input & InputController components

    * refactor: xs for Select component

    * refactor: add text medium and force styling on table

    * feat: add missing tag variant mint

    * feat: add stories for Action Card using small heading

    * feat: add stories for input

    * feat: add stories to Select

    * feat: add stories for DatePicker

    * refactor: cleanup

    * refactor: test for switching languages

    * fix: add scroll on userDelegations

    * feat: add darkBlue color option for UserAvatar

    * feat: add or edit alt on images

    * refactor: remove {} wrapping when using string values

    * refactor: grid layout in SP layout

    * fix: hopefully fixing buggy hover on sidebar

    * refactor: classnames usage

    * fix: dry pattern on Layout helpers

    * fix: remove unec classname use

    * fix: wrong path for hourglass svg

    * refactor: remove dry pattern in select return

    * fix: subitems not closing menu on click

    * fix: avatar color when delegation

    * feat: add medium variant as button text option

    * refactor: smaller font on search results

    * fix: remove settings from sidebar

    * feat: add path header to accessDenied

    * refactor: temp change to make button smaller

    * refactor: smaller text on access table

    * fix: forgot to commit checkox changes

    * refactor: input sizes on documents datepicker

    * refactor: text changes

    * refactor: smaller padding on mobile logo

    * fix: delete endorsments like on main

    * fix: back to SM input for access detail table

    * fix: link not working outside service portal

    * fix: remove table styling on access items

    * fix: revert changes on grant access component

    * fix: userMenu not responsive + other comments

    * fix: base url for settings

    * fix: remove temp data

    * fix: layout

    * fix: remove text on plus button for finance tables

    * fix: put grid container back

    * fix: sidebar animation

    * fix: revert changes for small input

    * fix: relative links on userDropdown

    * feat: fixes after comment + dropdown lang for mobile

    * refactor: cleanup on Layout helpers

    * feat: add breadcrumbs for settings

    * feat: ui changes on menu + userMenu on mobile

    * fix: finance content going under on smaller screens

    * fix: spacing on mobile menu

    * fix: dont display collapsed state on mobilemenu

    * fix: revert padding changes

    * fix: fixing userMenu test

    * fix: display heading as heading

    * fix: revert adding mint variant on Tag

    * fix: fixing menu bug

    * refactor: layout

    * fix: revert pushing mock data!

    * fix: spacing should use theme

    * fix: use translations for alt text

    * fix: wrong usage of willChange

    * fix: casing issue

    * feat: changes on menu

    * fix: wrong color on collapsed active item

    * feat: add tablet layout changes

    * fix: spacing on submenu

    * fix: missing pixel

    Co-authored-by: Ólafur Sverrir Kjartansson <[email protected]>
    Co-authored-by: Þórður Hafliðason <[email protected]>
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 795fb6d
Author: arnorhs <[email protected]>
Date:   Tue Jan 11 10:17:48 2022 +0000

    chore(application-templates-driving-license): instrumenting more logging in the submit application action (#6197)

    * chore(application-templates-driving-license): instrumenting more logging in the submit application action

    * import type Logger

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 29380fe
Author: albinagu <[email protected]>
Date:   Tue Jan 11 09:03:05 2022 +0000

    fix(web): correcting the look of the back buttons on news article screens (#6091)

    * using link instead of link provider? for the correct look :3

    * Add truncate option for Button

    * Remove use of link context

    Co-authored-by: Kristjan Albert Loftsson <[email protected]>

commit 1e3b3a5
Author: Ívar Oddsson <[email protected]>
Date:   Mon Jan 10 22:05:34 2022 +0000

    feat(judicial-system): End of session bookings (#6162)

    * Replaces custody restrictions and other restrictions with is custody isolation and end of session bookings

    * Add end of session bookings to restriction cases

    * Add end of session bookings to restriction cases

    * Add end of session bookings to investigation cases

    * Add other restriction request to autofill

    * Use isCustodyIsolation instead of ISOLATION in caseRestrictions

    * Fix tests

    * Remove unused check from if statement

    * Remove validation from endOfSessionBookings

    * Remove unused code

    * Remove validation from end of session bookinsg

    * Fix tests

    * Add end of session bookings title in court record accordion to CF

    * Fix e2e tests

    * Fix e2e tests

    * Fix e2e test

    * Fix e2e test

    Co-authored-by: Guðjón Guðjónsson <[email protected]>
    Co-authored-by: Ívar Oddsson <[email protected]>
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit d268e5a
Author: miamiultras <[email protected]>
Date:   Mon Jan 10 16:31:44 2022 +0000

    feat(skilavottord): pagination and infinite scroll (#6195)

    * Where and before should be optional

    * Relay like pagination of skilavottordAllDeregisteredVehicles

    * Cleanup schema

    * add infinite scroll

    * Provide default type for generic

    Co-authored-by: Darri Steinn Konradsson <[email protected]>

commit 82120a8
Author: Eiríkur Heiðar Nilsson <[email protected]>
Date:   Mon Jan 10 16:11:46 2022 +0000

    chore(codeowners): Simplify aranja teams (#6196)

commit cb72222
Author: Ívar Oddsson <[email protected]>
Date:   Mon Jan 10 15:24:57 2022 +0000

    fix(judicial-system): Fixes to iCal invites (#6193)

    Co-authored-by: Ívar Oddsson <[email protected]>

commit 5129b31
Author: Darri Steinn Konráðsson <[email protected]>
Date:   Mon Jan 10 12:27:14 2022 +0000

    fix(skilavottord): fix permno of undefined (#6189)

    * Verify that items in list are not undefined

    * Only check if vehicle exists if the user is requesting deregistration

commit e2e939c
Author: Rúnar Vestmann <[email protected]>
Date:   Mon Jan 10 11:44:31 2022 +0000

    fix(web): Article organization slug not changing on sync (#6185)

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 7c3a0e8
Author: Kristján Albert <[email protected]>
Date:   Mon Jan 10 11:35:59 2022 +0000

    feat(island-ui): allow no heading for AlertMessage (#6179)

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 1b7888c
Author: Sævar Már Atlason <[email protected]>
Date:   Mon Jan 10 11:21:29 2022 +0000

    feat(audit): Updating audit to support auditing from auth object without nationalId. (#6165)

    * Updating audit to support auditing from auth object without nationalId.

    * Removing comment. Sort imports.

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 9c010ae
Author: Davíð Guðni Halldórsson <[email protected]>
Date:   Mon Jan 10 12:08:05 2022 +0100

    fix(auth-nest-tools): Use x-forwarded-for in audit logs (#6166)

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 026f7d6
Author: Eiríkur Heiðar Nilsson <[email protected]>
Date:   Mon Jan 10 08:14:35 2022 +0000

    chore(dependabot): Remove hard-coded reviewers (#6182)

    These PRs should use the codeowners rules like any other PRs.

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 13ff809
Author: Eiríkur Heiðar Nilsson <[email protected]>
Date:   Sun Jan 9 10:28:10 2022 +0000

    chore(assets): Configure token exchange for Properties API (#6131)

    * Refactor assets configuration

    * Configure token exchange in properties api

    * Remove properties scope from service portal

    * Charts

    * Feedback

    * Fixes

    * Format

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 4f24b0a
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Jan 7 19:10:36 2022 +0000

    chore(deps-dev): bump jest from 27.4.6 to 27.4.7 in /.github/actions (#6145)

    Bumps [jest](https://github.com/facebook/jest) from 27.4.6 to 27.4.7.
    - [Release notes](https://github.com/facebook/jest/releases)
    - [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
    - [Commits](jestjs/jest@v27.4.6...v27.4.7)

    ---
    updated-dependencies:
    - dependency-name: jest
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 293cd8d
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Fri Jan 7 19:06:43 2022 +0000

    chore(deps-dev): bump typescript from 4.4.4 to 4.5.2 in /.github/actions (#5676)

    Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.4 to 4.5.2.
    - [Release notes](https://github.com/Microsoft/TypeScript/releases)
    - [Commits](microsoft/TypeScript@v4.4.4...v4.5.2)

    ---
    updated-dependencies:
    - dependency-name: typescript
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <[email protected]>

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Sindri Guðmundsson <[email protected]>
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 94e4f1c
Author: Sindri Guðmundsson <[email protected]>
Date:   Fri Jan 7 18:52:53 2022 +0000

    feat(testing): Infra/support for external contract tests (#5771)

    * Getting started with external contract tests "app"

    * Build with esbuild and first test

    Set limits on cronjob

    Run at 11

    * Remove entrypoint

    * bringing back jest-to-dd script

    * switching to using the new NationalRegistry client

    * cleaning up and fixing minor issues

    * a bit better docs

    * Revert "a bit better docs"

    This reverts commit ebe542e.

    * Revert "cleaning up and fixing minor issues"

    This reverts commit 5a4d596.

    * Revert "switching to using the new NationalRegistry client"

    This reverts commit a0b95b0.

    * renaming the spec file to match with the test target

    Co-authored-by: Petar Shomov <[email protected]>

commit fbb5db8
Author: arnorhs <[email protected]>
Date:   Fri Jan 7 17:11:56 2022 +0000

    chore(user-notification): removing worker health check (#6177)

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 080da8e
Author: Kristján Albert <[email protected]>
Date:   Fri Jan 7 17:01:15 2022 +0000

    chore(web): a11y tweaks (#6170)

    * Move id for main-content further up on sidebar layout

    * Make direct link suggestions selectable with keyboard like other items

    * Refactor a bit

    * One more change

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 9024040
Author: albinagu <[email protected]>
Date:   Fri Jan 7 14:47:36 2022 +0000

    fix(general-petition): adding access to endorsement id with externalData for signaturee (#6176)

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 595511c
Author: Ásdís Erna Guðmundsdóttir <[email protected]>
Date:   Fri Jan 7 13:30:45 2022 +0000

    feat(service-portal): new design (#5784)

    * feat: add sidebar menu state

    * feat: sidebar fixed to left and
    hover/active state for nav items

    * refactor: heading and font sizes

    * refactor: make button smaller on greeting link

    * refactor: white background on mobile menu

    * feat: add xs size to datePicker, Input and Select CORE

    * feat: add sidebar as a variant option

    * refactor: rearrange finance data

    * refactor: add keywords to messages

    * refactor: remove image from screens

    * refactor: move school tag

    * refactor: family screens

    * refactor: use xs input in settings

    * refactor: make headings smaller in settings

    * refactor: put search input in grid

    * refactor: move title for student assessment tables

    * refactor: sidebar positioned absolute instead of fixed

    * fix: undo removing image from access control

    * feat: add fullScreen prop to UserDropdown

    * fix: add logo back when on mobile

    * refactor: toggle animation

    * refactor: add transition to layout grid

    * refactor: speed up layoutgrid transition time

    * feat: new userMenu design

    * refactor: add close on userMenu click

    * fix: rollback changes on shared userMenu
    add service portal userMenu instead

    * feat: design changes to mobilemenu

    * feat: add new general error screen

    * refactor: more space for main content

    * refactor: cleanup

    * feat: add lock icon to disabled nav items

    * feat: add graphql function to get unreadDocumentsCount WIP

    * feat: badge for unread mail + lock screen

    * refactor: make unread mail bold + smaller font

    * fix: lint warnings

    * refactor: cleanup

    * fix: hide text on smaller screens on finance row

    * refactor: more cleanup

    * fix: build error on styleVariants

    * fix: default value for unread documents

    * fix: default value for unread documents counter

    * fix: remove sidebar variant from text ui core lib

    * refactor: image on greeting screen

    * fix: bug after removing sidebar variant from text

    * fix: add back button "back to my pages"

    * fix: sidebar stopping on scroll

    * fix: userMenu should not be part of grid

    * fix: small logo disappearing when sidebar collapses

    * feat: headingVariant prop added to island-ui core ActionCard

    * refactor: assets overview

    * fix: add bottom spacing to main content

    * fix: remove header from assetsDetail

    * refactor: smaller font for assetDisclaimer

    * refactor: refactoring unused stuff

    * refactor: cleanup grid in Layout

    * fix: revert fixing lint warnings

    * fix: remove activeIcon from masterNavigation

    * fix: userMenu active state WIP

    * fix: larger font on tables

    * fix: smaller heading + intro text on petitions

    * fix: hide family relation tags until fixed

    * fix: broken test on UserMenu

    * refactor: finance status screen

    * refactor: move data fetch for userDelegations to parent

    * fix: font weight on user info content

    * refactor: make headings h3 and add xs size variant for input

    * fix: build errors

    * fix: undefined error on e2e test

    * fix: temp removal of e2e test

    * fix: removal of kennitala function

    * fix: spacing on sidebar + removal of unused text

    * refactor: sidebar nav items

    * fix: uncomment e2e test bug

    * fix: removal of company icon in user dropdown

    * feat: add change lang button next to user menu

    * fix: add max-content to arrow Link to prevent breaking

    * fix: switch profile and actor names on user dropdown

    * refactor: make font color darker in sidebar

    * fix: wrong tag color on access denied

    * feat: new collapsed sidebar

    * feat: add lock icon to subnav + hide if parent is disabled

    * fix: position of lock icons

    * Minor fixes

    * fix: subitems +1 pixel ....

    * refactor: xs for Datepicker components

    * refactor: xs for Input & InputController components

    * refactor: xs for Select component

    * refactor: add text medium and force styling on table

    * feat: add missing tag variant mint

    * feat: add stories for Action Card using small heading

    * feat: add stories for input

    * feat: add stories to Select

    * feat: add stories for DatePicker

    * refactor: cleanup

    * refactor: test for switching languages

    * fix: add scroll on userDelegations

    * feat: add darkBlue color option for UserAvatar

    * feat: add or edit alt on images

    * refactor: remove {} wrapping when using string values

    * refactor: grid layout in SP layout

    * fix: hopefully fixing buggy hover on sidebar

    * refactor: classnames usage

    * fix: dry pattern on Layout helpers

    * fix: remove unec classname use

    * fix: wrong path for hourglass svg

    * refactor: remove dry pattern in select return

    * fix: subitems not closing menu on click

    * fix: avatar color when delegation

    * feat: add medium variant as button text option

    * refactor: smaller font on search results

    * fix: remove settings from sidebar

    * feat: add path header to accessDenied

    * refactor: temp change to make button smaller

    * refactor: smaller text on access table

    * fix: forgot to commit checkox changes

    * refactor: input sizes on documents datepicker

    * refactor: text changes

    * refactor: smaller padding on mobile logo

    * fix: delete endorsments like on main

    * fix: back to SM input for access detail table

    * fix: link not working outside service portal

    * fix: remove table styling on access items

    * fix: revert changes on grant access component

    * fix: userMenu not responsive + other comments

    * fix: base url for settings

    * fix: remove temp data

    * fix: layout

    * fix: remove text on plus button for finance tables

    * fix: put grid container back

    * fix: sidebar animation

    * fix: revert changes for small input

    * fix: relative links on userDropdown

    * feat: fixes after comment + dropdown lang for mobile

    * refactor: cleanup on Layout helpers

    * feat: add breadcrumbs for settings

    * feat: ui changes on menu + userMenu on mobile

    * fix: finance content going under on smaller screens

    * fix: spacing on mobile menu

    * fix: dont display collapsed state on mobilemenu

    * fix: revert padding changes

    * fix: fixing userMenu test

    * fix: display heading as heading

    * fix: revert adding mint variant on Tag

    * fix: fixing menu bug

    * refactor: layout

    * fix: revert pushing mock data!

    * fix: spacing should use theme

    * fix: use translations for alt text

    * fix: wrong usage of willChange

    * fix: casing issue

    * feat: changes on menu

    * fix: wrong color on collapsed active item

    * fix: hover states on nav items

    * fix: padding variable

    * fix: spacing on small screens

    * revert: changes on collapsed nav items

    Co-authored-by: Ólafur Sverrir Kjartansson <[email protected]>
    Co-authored-by: Þórður Hafliðason <[email protected]>
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 50f5d0f
Author: Alexandra Diljá Birkisdóttir <[email protected]>
Date:   Fri Jan 7 13:10:09 2022 +0000

    fix(endorsement-system): Text fixes (#6174)

    * template text adjustments

    * lock list text for admin

    * format

    * messageId

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 70083b6
Author: miamiultras <[email protected]>
Date:   Fri Jan 7 11:57:58 2022 +0000

    fix(island-ui): fix datepicker without label (#6175)

commit 3b39f78
Author: Alexandra Diljá Birkisdóttir <[email protected]>
Date:   Fri Jan 7 11:25:51 2022 +0000

    fix(P-Sign-application): Adding to json (#6172)

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit eb719d2
Author: Kristján Albert <[email protected]>
Date:   Fri Jan 7 11:17:25 2022 +0000

    feat(island-ui): image/logo option for CategoryCard (#6125)

    * Add image option for CategoryCard

    * Change hasImage check

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 66cf7bc
Author: Ívar Oddsson <[email protected]>
Date:   Fri Jan 7 10:35:29 2022 +0000

    chore(judicial-system): Use "Varnaraðili" instead of "Sakborningur" everywhere (#6171)

    * Change Sakborningur to varnaraðili

    * Use Varnaradili in info card

    * Use Varnaradili in policeRequestAccordionItem

    * Use accused from core in requests table

    * Fix tests

    Co-authored-by: Ívar Oddsson <[email protected]>
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit ec500fe
Author: Rúnar Vestmann <[email protected]>
Date:   Fri Jan 7 09:43:42 2022 +0000

    fix(web): Organization searchbox should appear when language is set to english (#6169)

    * Changed WITH_SEARCH list to also contain english slugs

    * Removed unused imports

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit bba751c
Author: miamiultras <[email protected]>
Date:   Fri Jan 7 09:21:09 2022 +0000

    fix(island-ui): revisit disabled state, fix missing disabled states, add missing stories (#6154)

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 88a84cc
Author: albinagu <[email protected]>
Date:   Fri Jan 7 09:07:31 2022 +0000

    feat(p-sign):  P-Sign Application Template (#5874)

    * innitial commit: P-Sign application template

    * adding p-sign to codeowners

    * gitbook

    * upload photo logic

    * using JurisdictionProvider for dropdown options

    * updating dataSchema

    * alert on no photo and some touching up

    * tweak

    * build fix

    * more of photo fixing up

    * generate types fixed in workspace

    * missing }

    * fixing bad conflict merge

    * ready for prod: false

    * review fixes

    * updating providers texts

    * using dataproviders from shared folder

    * no api modules

    * build fix

    * adding doctors note provider setup and updating texts

    * formatting date in overview

    * certificate and district providers

    * submit

    * provider

    * format

    * dataproviders stop if no data from syslumenn

    * update test

    * update application state on submit

    * clean up

    * fixing linitng

    * bullets fix í ph upload

    * tweak photo view

    * tweaks

    * linting and config

    * cleanup

    * getFileContentAsBase64

    * attachment

    * updating texts file with unique translation namespace

    * application type translation id

    * photo preview

    * submission photo

    * quality photo or upload

    * rm cl

    * use quality or upload

    * minor format

    * preview

    * cleanup

    * qualityphoto from external

    * submission s3

    * cleaning up preview on upload

    * rm getFileContentAsBase64

    * clean and format

    * photp upload

    * comments addressed

    * cleanup

    * x

    Co-authored-by: Alexandra Diljá <[email protected]>
    Co-authored-by: Alexandra Diljá Birkisdóttir <[email protected]>
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit c2c47d1
Author: miamiultras <[email protected]>
Date:   Fri Jan 7 07:52:21 2022 +0000

    fix(island-ui): fix icon size for small button (#6163)

commit dff7388
Author: rafnarnason <[email protected]>
Date:   Thu Jan 6 19:49:41 2022 +0000

    fix(user-profile): Hook up to new user profile client (#6159)

    * hooked api domains user profile to clients

    * removed unecessary generator

    * format

    Co-authored-by: Rafn Árnason <[email protected]>
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 33aed9a
Author: kksteini <[email protected]>
Date:   Thu Jan 6 17:20:53 2022 +0000

    chore(cms): Removed unused content model, 'location' (#6164)

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 7ea180d
Author: Ívar Oddsson <[email protected]>
Date:   Thu Jan 6 16:25:29 2022 +0000

    feat(judicial-system): Send a calendar invite with court date notification to defender and prosecutor (#6132)

    * Send a calendar invite with court date notification to defender and prosecutor

    * Revert env changes

    * Always send an ical invite to defenders

    * Skip flaky tests

    Co-authored-by: Ívar Oddsson <[email protected]>
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 16e3913
Author: arnorhs <[email protected]>
Date:   Thu Jan 6 16:12:52 2022 +0000

    chore(services-user-notification): set worker argument correctly (#6124)

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 6f6fc45
Author: Guðjón Guðjónsson <[email protected]>
Date:   Thu Jan 6 15:22:35 2022 +0000

    chore(judicial-system): Improved error responses (#6062)

    * Improved error responses

    * Improves error handling

    * Improves error handling

    * Fixes broken unit test

    * Renames exception filter

    * Improves logging and error handling

    * Rewrite find by id and create

    * Rewrites update and extend

    * Makes return value optional on update

    * Fixes type errors

    * Fixes linting issues

    * Renames case variables

    * Rewrites contentful access

    * Fixes broken tests

    * Rewrites logging

    * Rewrites error handling and logging

    * Rewrites logging

    * Rewrites logging

    * Rewrites logging

    * Renames arguments and rewrites loggin

    * Adds http exception filter to xrd api

    * Improves logging

    * Uses shared problem filters in backend and xrd api

    * Rewrites error handling

    * Uses shared problem filters in api

    * Fixes unit tests

    * Fixes e2e test

    * Fixes e2e test

    * Fixes handling of existing problems and logging of problems with no status

    * Fixes build error

    * Removes console log

    * Adds tests

    * Update libs/nest/problem/src/lib/base-problem.filter.spec.ts

    Fix test desctiption

    Co-authored-by: Eiríkur Heiðar Nilsson <[email protected]>

    Co-authored-by: Eiríkur Heiðar Nilsson <[email protected]>
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit e147674
Author: albinagu <[email protected]>
Date:   Thu Jan 6 15:06:41 2022 +0000

    fix(web): SearchBox update for search in /s/syslumenn (#5767)

    * Search all on icon click

    * changing SearchBox to use AsyncSearch

    * smá tweak

    * debounce and a few minor tweaks

    * format

    * Show loading icon while typing, enabled english search and improved keyboard navigation (tab, enter and arrow keys) (#6160)

    Co-authored-by: Rúnar Vestmann <[email protected]>
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 34fe46f
Author: Rikard Arnar B. Birgisson <[email protected]>
Date:   Thu Jan 6 14:31:43 2022 +0000

    chore(as): Remove dead code (#6142)

    * Removes unused application

    * Removes joint custody from core files

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 80457d2
Author: Guðjón Ingi Magnússon <[email protected]>
Date:   Thu Jan 6 12:26:12 2022 +0000

    feat(personal-representative): personal representative delegation support (#6122)

    * Added personal representative delegation support for client and api-scopes

    * Added properties to Client and ApiScope models

    Co-authored-by: Gudjon <[email protected]>
    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit 14e3532
Author: MargretFinnboga <[email protected]>
Date:   Thu Jan 6 11:55:19 2022 +0000

    fix(fa): Fixing click outside of aid amount modal  (#6147)

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

commit f85c833
Author: Petar Shomov <[email protected]>
Date:   Thu Jan 6 11:25:52 2022 +0000

    fix(ci): giving CI last good build script bigger window of SHAs to choose from (#6157)

    Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
johannaagma committed Jan 11, 2022
1 parent cfe862e commit 86fde98
Show file tree
Hide file tree
Showing 441 changed files with 12,831 additions and 5,944 deletions.
32 changes: 12 additions & 20 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
# that are developed by others teams, we first list down the team working on the core and
# further below the other team working on other part of the project.
/apps/web*/ @island-is/kosmos-kaos
/libs/application/ @island-is/aranja-applications
/libs/contentful-extensions/ @island-is/aranja-core @island-is/kosmos-kaos
/libs/contentful-extensions/ @island-is/kosmos-kaos
/libs/service-portal/ @island-is/hugsmidjan

/* @island-is/core
Expand Down Expand Up @@ -46,7 +45,7 @@
/libs/application/templates/driving-license/ @island-is/kosmos-kaos
/libs/application/templates/driving-assessment-approval/ @island-is/kosmos-kaos
/libs/application/template-api-modules/src/lib/modules/templates/driving-license-submission @island-is/kosmos-kaos
/apps/application-system/api/src/app/modules/payment @island-is/kosmos-kaos @island-is/aranja-applications
/apps/application-system/api/src/app/modules/payment @island-is/kosmos-kaos
/libs/api/domains/driving-license/ @island-is/kosmos-kaos
/libs/api/domains/education/ @island-is/kosmos-kaos
/libs/application/templates/general-petition/ @island-is/kosmos-kaos
Expand All @@ -55,20 +54,13 @@
/apps/services/user-notification/ @island-is/kosmos-kaos
/apps/air-discount-scheme/ @island-is/kosmos-kaos
/libs/air-discount-scheme/ @island-is/kosmos-kaos
/libs/application/templates/p-sign/ @island-is/kosmos-kaos

/apps/reference-next-app/ @island-is/aranja-core
/libs/cms-translations/ @island-is/aranja-core
/libs/contentful-extensions/translation/ @island-is/aranja-core
/libs/clients/auth-public-api/ @island-is/aranja-core
/libs/clients/middlewares/ @island-is/aranja-core
/libs/localization/ @island-is/aranja-core
/libs/service-portal/settings/access-control @island-is/aranja-core @island-is/vice-versa

/apps/application-system/ @island-is/aranja-applications
/libs/api/domains/application/ @island-is/aranja-applications
/libs/clients/vmst/ @island-is/aranja-applications
/libs/shared/form-fields/ @island-is/aranja-applications
/libs/api/domains/directorate-of-labour/ @island-is/aranja-applications
/libs/clients/auth-public-api/ @island-is/aranja
/libs/clients/middlewares/ @island-is/aranja
/libs/service-portal/settings/access-control @island-is/aranja
/libs/clients/vmst/ @island-is/aranja
/libs/api/domains/directorate-of-labour/ @island-is/aranja

/apps/application-system/api/src/app/modules/application/files/ @island-is/kolibri-modern-family
/libs/application/templates/family-matters/ @island-is/kolibri-modern-family
Expand Down Expand Up @@ -164,10 +156,10 @@ infra/

/apps/services/auth-api/ @island-is/fuglar
/apps/services/auth-admin-api/ @island-is/fuglar
/apps/services/auth-public-api/ @island-is/fuglar @island-is/aranja-core
/apps/services/auth-public-api/ @island-is/fuglar @island-is/aranja
/apps/auth-admin-web/ @island-is/fuglar
/apps/auth-admin-web-e2e/ @island-is/fuglar
/libs/auth-api-lib/ @island-is/fuglar @island-is/aranja-core
/libs/auth-nest-tools/ @island-is/fuglar @island-is/aranja-core
/libs/auth-api-lib/ @island-is/fuglar @island-is/aranja
/libs/auth-nest-tools/ @island-is/fuglar @island-is/aranja

/apps/services/personal-representative/ @island-is/programm
/apps/services/personal-representative/ @island-is/programm
4 changes: 2 additions & 2 deletions .github/actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"@fluffy-spoon/substitute": "^1.208.0",
"@types/jest": "^27.4.0",
"@zeit/ncc": "^0.22.3",
"jest": "27.4.6",
"jest": "27.4.7",
"ts-jest": "27.0.5",
"ts-node": "^9.1.1",
"typescript": "^4.4.4"
"typescript": "^4.5.2"
},
"resolutions": {
"hosted-git-info": "^2.8.9"
Expand Down
53 changes: 27 additions & 26 deletions .github/actions/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
semver "^5.4.1"
source-map "^0.5.0"

"@babel/core@^7.12.3":
"@babel/core@^7.12.3", "@babel/core@^7.8.0":
version "7.16.7"
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.16.7.tgz#db990f931f6d40cb9b87a0dc7d2adc749f1dcbcf"
integrity sha512-aeLaqcqThRNZYmbMqtulsetOQZ/5gbR/dWruUCJcpas4Qoyy+QeagfDsPdMrqwsPRDNxJvBlRiZxxX7THO7qtA==
Expand Down Expand Up @@ -703,10 +703,10 @@
jest-util "^27.4.2"
slash "^3.0.0"

"@jest/core@^27.4.6":
version "27.4.6"
resolved "https://registry.yarnpkg.com/@jest/core/-/core-27.4.6.tgz#5cc4e714602324dc1561029224fd593e70ab4c7d"
integrity sha512-2XvkAguDxaSAg6+Rznq7VZeIs3eV4owk3dud0zL4FH0d8mX7whkAUnO9rb0keMGStazfekR1ec9Yf9BFt4m02Q==
"@jest/core@^27.4.7":
version "27.4.7"
resolved "https://registry.yarnpkg.com/@jest/core/-/core-27.4.7.tgz#84eabdf42a25f1fa138272ed229bcf0a1b5e6913"
integrity sha512-n181PurSJkVMS+kClIFSX/LLvw9ExSb+4IMtD6YnfxZVerw9ANYtW0bPrm0MJu2pfe9SY9FJ9FtQ+MdZkrZwjg==
dependencies:
"@jest/console" "^27.4.6"
"@jest/reporters" "^27.4.6"
Expand All @@ -720,7 +720,7 @@
exit "^0.1.2"
graceful-fs "^4.2.4"
jest-changed-files "^27.4.2"
jest-config "^27.4.6"
jest-config "^27.4.7"
jest-haste-map "^27.4.6"
jest-message-util "^27.4.6"
jest-regex-util "^27.4.0"
Expand Down Expand Up @@ -2167,29 +2167,30 @@ jest-circus@^27.4.6:
stack-utils "^2.0.3"
throat "^6.0.1"

jest-cli@^27.4.6:
version "27.4.6"
resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-27.4.6.tgz#b81e053a753111bddf0782c1a1a86b9b910f5b86"
integrity sha512-SFfUC7jMHPGwsNSYBnJMNtjoSDrb34T+SEH5psDeGNVuTVov5Zi1RQpfJYwzpK2ex3OmnsNsiqLe3/SCc8S01Q==
jest-cli@^27.4.7:
version "27.4.7"
resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-27.4.7.tgz#d00e759e55d77b3bcfea0715f527c394ca314e5a"
integrity sha512-zREYhvjjqe1KsGV15mdnxjThKNDgza1fhDT+iUsXWLCq3sxe9w5xnvyctcYVT5PcdLSjv7Y5dCwTS3FCF1tiuw==
dependencies:
"@jest/core" "^27.4.6"
"@jest/core" "^27.4.7"
"@jest/test-result" "^27.4.6"
"@jest/types" "^27.4.2"
chalk "^4.0.0"
exit "^0.1.2"
graceful-fs "^4.2.4"
import-local "^3.0.2"
jest-config "^27.4.6"
jest-config "^27.4.7"
jest-util "^27.4.2"
jest-validate "^27.4.6"
prompts "^2.0.1"
yargs "^16.2.0"

jest-config@^27.4.6:
version "27.4.6"
resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-27.4.6.tgz#0970f6c92702ca7878120cea638791d00a3996ee"
integrity sha512-3SGoFbaanQVg7MK5w/z8LnCMF6aZc2I7EQxS4s8fTfZpVYnWNDN34llcaViToIB62DFMhwHWTPX9X2O+4aDL1g==
jest-config@^27.4.7:
version "27.4.7"
resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-27.4.7.tgz#4f084b2acbd172c8b43aa4cdffe75d89378d3972"
integrity sha512-xz/o/KJJEedHMrIY9v2ParIoYSrSVY6IVeE4z5Z3i101GoA5XgfbJz+1C8EYPsv7u7f39dS8F9v46BHDhn0vlw==
dependencies:
"@babel/core" "^7.8.0"
"@jest/test-sequencer" "^27.4.6"
"@jest/types" "^27.4.2"
babel-jest "^27.4.6"
Expand Down Expand Up @@ -2549,14 +2550,14 @@ jest-worker@^27.4.6:
merge-stream "^2.0.0"
supports-color "^8.0.0"

[email protected].6:
version "27.4.6"
resolved "https://registry.yarnpkg.com/jest/-/jest-27.4.6.tgz#5557fad2ab1d2b709e86d2332ea2552dc021a4d9"
integrity sha512-BRbYo0MeujnnJIo206WRsfsr3gIMraR+LO9vZJsdG2/298aKYQJbS3wHG0KN3Z7SWIcf6JaSMM4E8X6cIdG9AA==
[email protected].7:
version "27.4.7"
resolved "https://registry.yarnpkg.com/jest/-/jest-27.4.7.tgz#87f74b9026a1592f2da05b4d258e57505f28eca4"
integrity sha512-8heYvsx7nV/m8m24Vk26Y87g73Ba6ueUd0MWed/NXMhSZIm62U/llVbS0PJe1SHunbyXjJ/BqG1z9bFjGUIvTg==
dependencies:
"@jest/core" "^27.4.6"
"@jest/core" "^27.4.7"
import-local "^3.0.2"
jest-cli "^27.4.6"
jest-cli "^27.4.7"

js-tokens@^4.0.0:
version "4.0.0"
Expand Down Expand Up @@ -3420,10 +3421,10 @@ typedarray-to-buffer@^3.1.5:
dependencies:
is-typedarray "^1.0.0"

typescript@^4.4.4:
version "4.4.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.4.tgz#2cd01a1a1f160704d3101fd5a58ff0f9fcb8030c"
integrity sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==
typescript@^4.5.2:
version "4.5.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.2.tgz#8ac1fba9f52256fdb06fb89e4122fa6a346c2998"
integrity sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==

universal-user-agent@^5.0.0:
version "5.0.0"
Expand Down
6 changes: 0 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ updates:
labels:
- automerge
- dependencies
reviewers:
- island-is/core

- package-ecosystem: github-actions
directory: /
Expand All @@ -18,8 +16,6 @@ updates:
labels:
- automerge
- dependencies
reviewers:
- island-is/core

- package-ecosystem: npm
directory: /.github/actions/
Expand All @@ -28,5 +24,3 @@ updates:
labels:
- automerge
- dependencies
reviewers:
- island-is/core
6 changes: 3 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ jobs:
- name: Prepare docker build targets
id: build_map
run: |
CHUNKS=$(./scripts/ci/generate-build-chunks.sh docker-express docker-next docker-static docker-cypress)
CHUNKS=$(./scripts/ci/generate-build-chunks.sh docker-express docker-next docker-static docker-cypress docker-jest)
echo "CHUNKS: '$CHUNKS'"
if [[ $CHUNKS != "[]" ]]; then
echo "::set-output name=BUILD_CHUNKS::$CHUNKS"
Expand All @@ -302,7 +302,7 @@ jobs:
env:
BASE: 'origin/main'
run: |
CHUNKS=$(./scripts/ci/generate-build-chunks.sh docker-express docker-next docker-static docker-cypress)
CHUNKS=$(./scripts/ci/generate-build-chunks.sh docker-express docker-next docker-static docker-cypress docker-jest)
echo "CHUNKS: '$CHUNKS'"
if [[ $CHUNKS != "[]" ]]; then
echo "::set-output name=IMAGES::$(echo $CHUNKS | jq '.[] | fromjson | .projects' -r | tr '\n' ',')"
Expand All @@ -311,7 +311,7 @@ jobs:
- name: Gather unaffected docker images
id: unaffected
run: |
UNAFFECTED=$(./scripts/ci/list-unaffected.sh docker-next docker-express docker-static docker-cypress)
UNAFFECTED=$(./scripts/ci/list-unaffected.sh docker-next docker-express docker-static docker-cypress docker-jest)
echo "::set-output name=UNAFFECTED::$UNAFFECTED"
tests:
Expand Down
2 changes: 1 addition & 1 deletion SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@
- [Family Matters Applications](libs/application/templates/family-matters/README.md)
- [Children Residence Change Template](libs/application/templates/family-matters/children-residence-change/README.md)
- [Family Matters Core](libs/application/templates/family-matters/core/README.md)
- [Joint Custody Agreement Template](libs/application/templates/family-matters/joint-custody-agreement/README.md)
- [Application Templates Funding Government Projects](libs/application/templates/funding-government-projects/README.md)
- [General Petitions](libs/application/templates/general-petition/README.md)
- [Health Insurance](libs/application/templates/health-insurance/README.md)
- [Institution Collaboration](libs/application/templates/institution-collaboration/README.md)
- [Application Templates Login Service](libs/application/templates/login-service/README.md)
- [Application Templates P-Sign](libs/application/templates/p-sign/README.md)
- [Application Templates Parental Leave](libs/application/templates/parental-leave/README.md)
- [Application Templates Public Debt Payment Plan](libs/application/templates/public-debt-payment-plan/README.md)
- [Reference Template](libs/application/templates/reference-template/README.md)
Expand Down
17 changes: 7 additions & 10 deletions apps/api/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,16 @@ import { ApiDomainsPaymentModule } from '@island.is/api/domains/payment'
import { LicenseServiceModule } from '@island.is/api/domains/license-service'
import { IslykillModule } from '@island.is/api/domains/islykill'
import { PaymentScheduleModule } from '@island.is/api/domains/payment-schedule'
import { AssetsClientConfig } from '@island.is/clients/assets'
import { AuthPublicApiClientConfig } from '@island.is/clients/auth-public-api'
import { NationalRegistryClientConfig } from '@island.is/clients/national-registry-v2'
import { AuditModule } from '@island.is/nest/audit'
import { ConfigModule, XRoadConfig } from '@island.is/nest/config'
import { FeatureFlagConfig } from '@island.is/nest/feature-flags'
import { ProblemModule } from '@island.is/nest/problem'
import { CriminalRecordModule } from '@island.is/api/domains/criminal-record'

import { maskOutFieldsMiddleware } from './graphql.middleware'
import { AuthPublicApiClientConfig } from '@island.is/clients/auth-public-api'
import { FeatureFlagConfig } from '@island.is/nest/feature-flags'

const debug = process.env.NODE_ENV === 'development'
const playground = debug || process.env.GQL_PLAYGROUND_ENABLED === 'true'
Expand Down Expand Up @@ -202,12 +203,7 @@ const autoSchemaFile = environment.production
xroadBaseUrl: environment.xroad.baseUrl,
xroadClientId: environment.xroad.clientId,
}),
AssetsModule.register({
xRoadBasePathWithEnv: environment.propertiesXRoad.url,
xRoadAssetsMemberCode: environment.propertiesXRoad.memberCode,
xRoadAssetsApiPath: environment.propertiesXRoad.apiPath,
xRoadClientId: environment.propertiesXRoad.clientId,
}),
AssetsModule,
NationalRegistryXRoadModule,
ApiDomainsPaymentModule.register({
xRoadProviderId: environment.paymentDomain.xRoadProviderId,
Expand Down Expand Up @@ -258,11 +254,12 @@ const autoSchemaFile = environment.production
ConfigModule.forRoot({
isGlobal: true,
load: [
XRoadConfig,
NationalRegistryClientConfig,
AssetsClientConfig,
AuthPublicApiClientConfig,
FeatureFlagConfig,
NationalRegistryClientConfig,
SyslumennClientConfig,
XRoadConfig,
],
}),
],
Expand Down
15 changes: 0 additions & 15 deletions apps/api/src/app/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,6 @@ const prodConfig = () => ({
endorsementSystem: {
baseApiUrl: process.env.ENDORSEMENT_SYSTEM_BASE_API_URL,
},
propertiesXRoad: {
url: process.env.XROAD_BASE_PATH_WITH_ENV,
memberCode: process.env.XROAD_TJODSKRA_MEMBER_CODE,
apiPath: process.env.XROAD_PROPERTIES_API_PATH,
clientId: process.env.XROAD_CLIENT_ID,
},
paymentDomain: {
xRoadBaseUrl: process.env.XROAD_BASE_PATH,
xRoadProviderId: process.env.XROAD_PAYMENT_PROVIDER_ID,
Expand Down Expand Up @@ -273,15 +267,6 @@ const devConfig = () => ({
endorsementSystem: {
baseApiUrl: 'http://localhost:4246',
},
propertiesXRoad: {
url:
process.env.XROAD_BASE_PATH_WITH_ENV ?? 'http://localhost:8081/r1/IS-DEV',
memberCode: process.env.XROAD_TJODSKRA_MEMBER_CODE ?? '10001',
apiPath:
process.env.XROAD_PROPERTIES_API_PATH ?? '/SKRA-Protected/Fasteignir-v1',
clientId:
process.env.XROAD_CLIENT_ID ?? 'IS-DEV/GOV/10000/island-is-client',
},
paymentDomain: {
xRoadBaseUrl: process.env.XROAD_BASE_PATH,
xRoadProviderId:
Expand Down
Loading

0 comments on commit 86fde98

Please sign in to comment.