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/11.0 #453

Closed
wants to merge 95 commits into from
Closed

Release/11.0 #453

wants to merge 95 commits into from

Commits on Feb 27, 2024

  1. GAP-2140: UI for view & manage editors (#349)

    * initial
    
    * push content
    
    * add view-editors page
    
    * blank commit to trigger build
    
    * fix linting
    
    * fix unnamed test component
    
    * update routes
    
    * amend error redirect
    
    * rm
    
    * shift to editor service
    
    * use colour helper
    
    * add editors mock
    
    * fix editors gssp
    
    * Update packages/admin/src/pages/scheme/[schemeId]/manage-editors/index.page.tsx
    
    Co-authored-by: dominicwest <[email protected]>
    Signed-off-by: john-tco <[email protected]>
    
    * fix url
    
    * misc
    
    * refactor
    
    * update import
    
    * Update packages/admin/src/pages/scheme/[schemeId]/view-editors/index.page.tsx
    
    Co-authored-by: dominicwest <[email protected]>
    Signed-off-by: john-tco <[email protected]>
    
    ---------
    
    Signed-off-by: john-tco <[email protected]>
    Co-authored-by: dominicwest <[email protected]>
    john-tco and dominicwest authored Feb 27, 2024
    Configuration menu
    Copy the full SHA
    423294f View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Configuration menu
    Copy the full SHA
    8adc5db View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Configuration menu
    Copy the full SHA
    9c96e19 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b6c680 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. TMI2-600: Download all applications / Error in export (#353)

    * TMI2-602, TMI2-603, TMI2-604, TMI2-617: Download all applications  (#323)
    
    * TMI2-602 - Initial commit of updated page
    
    * TMI2-602 - Adding unit tests
    
    * TMI2-602 - Restructuring page to accommodate for all journeys
    
    * TMI2-603, TMI-604 - Adding error banner and placeholders for pagination
    
    * TMI2-603 - Tidying up
    
    ---------
    
    Co-authored-by: Jim Purvis <[email protected]>
    
    * TMI2-633: Functional 'Download all' button (#340)
    
    * TMI2-602 - Initial commit of updated page
    
    * TMI2-602 - Adding unit tests
    
    * TMI2-602 - Restructuring page to accommodate for all journeys
    
    * TMI2-603, TMI-604 - Adding error banner and placeholders for pagination
    
    * TMI2-603 - Tidying up
    
    * TMI2-633 - Adding functionality to Download All button
    
    * TMI2-633 - Removing console.log
    
    ---------
    
    Co-authored-by: Jim Purvis <[email protected]>
    
    * TMI2-603-download-individual-applications-success-path (#346)
    
    * TMI2-602 - Initial commit of updated page
    
    * TMI2-602 - Adding unit tests
    
    * TMI2-602 - Restructuring page to accommodate for all journeys
    
    * TMI2-603, TMI-604 - Adding error banner and placeholders for pagination
    
    * TMI2-603 - Tidying up
    
    * Add individual download page
    
    * Update pagination component
    
    * Add back button url
    
    ---------
    
    Co-authored-by: Jim Purvis <[email protected]>
    Co-authored-by: jimpurvisTCO <[email protected]>
    
    * TMI2-600 restructure (#351)
    
    * TMI2-600 - Restructuring and moving 'Download all submissions' page to meet new API spec
    
    * TMI2-600 - Connecting up to new export details API
    
    * TMI2-600 - Adding pagination (still to be linked to view page)
    
    ---------
    
    Co-authored-by: Jim Purvis <[email protected]>
    
    * TMI2-600 - Only requesting necessary exports for each
    
    * TMI2-600 - Unit tests
    
    * TMI2-603: Update download-individual page
    
    * Integrate API to get submissions
    * Implement pagination
    * Remove redundant code
    
    * TMI2-603: Add unit tests for download-individual page
    
    * TMI2-605 -  View submission summary (error path) (#352)
    
    * TMI2-605 - View read-only summary of application that could not be downloaded
    
    * TMI2-605 - Added link to view individual read-only submissions
    
    * TMI2-605 - Linking frontend to new failed export details endpoint
    
    ---------
    
    Co-authored-by: Jim Purvis <[email protected]>
    
    * TMI2-600 - fix for use of an 'any' in submissions list
    
    * Visual tweaks
    
    * TMI2-600 - typo fix
    
    * Clean up code
    
    * TMI2-669 - download attachments error path (#356)
    
    * TMI2-669 - Added conditional logic for rendering option to download attachments
    
    * TMI2-669 - Added tests
    
    * Update DownloadMessage component
    
    * Component now refers to plural applications if there is more than 1
    
    * Update download-individual page
    
    * Pagination now only displays margin when there is more than 1 page
    * Item type is now set to applications
    
    * TMI2-600 - PR comments re: view application
    
    * TMI2-600 - Unit test update
    
    * Update index.page.tsx and download-individual.page.tsx
    
    * Replace DownloadMessage banner with ImportantBanner
    * Align text with Figma designs
    * Make pagination more readable
    * Remove unnecessary components
    
    ---------
    
    Co-authored-by: Jim Purvis <[email protected]>
    Co-authored-by: Iain Cooper <[email protected]>
    Co-authored-by: IlyasBaqqari-CabinetOffice <[email protected]>
    Co-authored-by: IlyasBaqqari-CabinetOffice <[email protected]>
    Co-authored-by: kiramarstonTCO <[email protected]>
    6 people authored Mar 4, 2024
    Configuration menu
    Copy the full SHA
    e56047f View commit details
    Browse the repository at this point in the history
  2. fix copy (#359)

    john-tco authored Mar 4, 2024
    Configuration menu
    Copy the full SHA
    202bb5e View commit details
    Browse the repository at this point in the history
  3. GAP-2138: Remove editor (#344)

    * Triggerring pipelines on PRs to feature branches
    
    * Triggerring pipelines on PRs to feature branches
    
    * GAP-2138: WIP remove page UI complete
    
    * Removing unneeded prop
    
    * GAP-2138: Unit tests start
    
    * GAP-2138: Finish unit tests
    dominicwest authored Mar 4, 2024
    Configuration menu
    Copy the full SHA
    915fdd3 View commit details
    Browse the repository at this point in the history
  4. GAP-2432: add ui to display last updated by on a grant advert (#358)

    * initial
    
    * refactor
    
    * fix tets
    
    * refactor buildadvert
    
    * fix type
    
    * amend tests
    
    * fix test
    
    * amend copy
    john-tco authored Mar 4, 2024
    Configuration menu
    Copy the full SHA
    550d794 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1b8fc01 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2024

  1. Configuration menu
    Copy the full SHA
    49604b8 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

  1. Configuration menu
    Copy the full SHA
    5e39889 View commit details
    Browse the repository at this point in the history
  2. Handle last updated edge cases (#367)

    * initial
    
    * add tests
    
    * fix dates
    
    * mock timezone
    
    * mr feedback
    
    * use correct scheduled date
    john-tco authored Mar 6, 2024
    Configuration menu
    Copy the full SHA
    09ea8db View commit details
    Browse the repository at this point in the history
  3. Fix case on am/pm string (#369)

    * fix case on am/pm string
    
    * fix tests
    john-tco authored Mar 6, 2024
    Configuration menu
    Copy the full SHA
    d3a648d View commit details
    Browse the repository at this point in the history
  4. use 12 hour time (#370)

    john-tco authored Mar 6, 2024
    Configuration menu
    Copy the full SHA
    5ab167c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ec90ab2 View commit details
    Browse the repository at this point in the history
  6. TMI2-689 - Admin satisfaction survey better fix (#371)

    * TMI2-689 - removed unnecessary styling from div
    
    * TMI2-689 - Fixed alignment issues on satisfaction survey
    kiramarstonTCO authored Mar 6, 2024
    Configuration menu
    Copy the full SHA
    13b667f View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. Configuration menu
    Copy the full SHA
    54dbdc4 View commit details
    Browse the repository at this point in the history
  2. GAP-2452: Add delete to multiple choice and multiple select options (#…

    …363)
    
    * Added delete button to mutliple choice/select questions (as seen when editing a question.
    
    * Added unit tests (exact same format as the ones for editing the questions) to cover the delete button rendering.
    
    * Fixed unit tests by adding correct post action along with options
    
    * Refactored callServiceMethod by extracting code out to functions, making it more readable
    
    * make label more sensible
    
    Co-authored-by: Conor Fayle <[email protected]>
    Signed-off-by: paul-lawlor-tco <[email protected]>
    
    * PR requested chagnes
    
    ---------
    
    Signed-off-by: paul-lawlor-tco <[email protected]>
    Co-authored-by: Conor Fayle <[email protected]>
    paul-lawlor-tco and ConorFayleTCO authored Mar 7, 2024
    Configuration menu
    Copy the full SHA
    2620c98 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e607981 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    70ab9ae View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    87c2a11 View commit details
    Browse the repository at this point in the history
  6. GAP 2443: Updates to admin dashboard (#366)

    * First pass at changes. Tests currently broken.
    
    * updates to admin dash
    
    * fixing tests
    
    * adding a - when updated by is null
    
    * PR feedback
    
    * further PR feedback
    
    * PR feedback III
    GavCookCO authored Mar 7, 2024
    Configuration menu
    Copy the full SHA
    5c05773 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. remove 'open in new tab' option for links in rich text editor (#377)

    * remove new tab link option from rich text editor
    
    * remove link target option from rich text editor
    jgunnCO authored Mar 8, 2024
    Configuration menu
    Copy the full SHA
    450b060 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a2fd2e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4ecd87e View commit details
    Browse the repository at this point in the history
  4. TMI2-717: 2 options on multiple select application answers (#378)

    * TMI2-717 - Default to two options rather than one on questions
    
    * TMI2-717 - Typo fix
    
    ---------
    
    Co-authored-by: Jim Purvis <[email protected]>
    jimpurvisTCO and jpurvis-and authored Mar 8, 2024
    Configuration menu
    Copy the full SHA
    3cc31ed View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. GAP-2454/GAP-2457: multiple editors - edit section title (#374)

    * GAP-2454 / GAP-2457 | get multiple editors working for section title with no email
    
    * GAP-2454 | display email of user that last updated on error page
    
    * GAP-2454 | small refactor
    
    * GAP-2454 | readd lastPublished
    
    * GAP-2454 | fix test
    
    * GAP-2454 | add tests
    
    * GAP-2454 | add ui test for error page
    
    * GAP-2454 | add tests
    
    * GAP-2454 | rename revision back to version
    
    ---------
    
    Co-authored-by: conor <[email protected]>
    ConorFayleTCO and ConorFayleAND authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    c065566 View commit details
    Browse the repository at this point in the history
  2. GAP-2450: Don't allow an admin to be demoted if they have a scheme (#368

    )
    
    * Added copies for deleting user with grants
    
    * Add variable to determin if the admin owns any grants.
    
    * Pushing to change branch - current issue w/ function to check owner. It's based on session ID so always checks the Super admin schemes (not the admin being viewed).
    
    * passed query param that determines if a user owns a scheme.
    
    * Added unit tests - will fail while in draft due to checkbox behaviour being a WIP.
    
    * Conditionally render copy
    
    * Checkbox is disabled conditionally. However issues with roles occur when the user is an owner. Still a WIP.
    
    * modified checbox component to have disab;ed options built in. Handled case of admin role not being selected when the user OWNS a grant.
    
    * removed comments
    
    * Fix unit tests and add cases for 'Change' button URL when a SA views a users details.
    
    * change identifier for disabled element
    
    * implemented PR changes for Checkbox component and updated relevant tests/stories.
    
    * Made role ids a constant object to improve readability
    paul-lawlor-tco authored Mar 11, 2024
    Configuration menu
    Copy the full SHA
    fdcbe3c View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. TMI2-702: error assigning department to user (#386)

    * passes new user roles through query
    
    * fixed test
    rachelswart authored Mar 12, 2024
    Configuration menu
    Copy the full SHA
    1828e28 View commit details
    Browse the repository at this point in the history
  2. GAP-2460 | implement multiple editors error for deleting section (#383)

    * GAP-2460 | implement multiple editors error for deleting section
    
    * GAP-2460 | use query param for version instead of path
    
    * GAP-2460 | fix test
    
    ---------
    
    Co-authored-by: conor <[email protected]>
    ConorFayleTCO and ConorFayleAND authored Mar 12, 2024
    Configuration menu
    Copy the full SHA
    11fd560 View commit details
    Browse the repository at this point in the history
  3. GAP-2458 | GAP-2459 | GAP-2456: Multiple Editors - edit question titl…

    …e, type, options, max words, eligibility (#385)
    
    * GAP-2458|GAP-2460|GAP-2456 | get versioning working for all edit question journeys
    
    * GAP-2458 | fix tests
    
    * GAP-2458 | fix tests
    
    * remove console log
    
    Signed-off-by: Conor Fayle <[email protected]>
    
    * remove log
    
    Signed-off-by: Conor Fayle <[email protected]>
    
    ---------
    
    Signed-off-by: Conor Fayle <[email protected]>
    Co-authored-by: conor <[email protected]>
    ConorFayleTCO and ConorFayleAND authored Mar 12, 2024
    Configuration menu
    Copy the full SHA
    6e09cf0 View commit details
    Browse the repository at this point in the history
  4. Adds check for deleted user (#384)

    Co-authored-by: Dylan Wright <[email protected]>
    dylanwrightCO and dylanwrightAND authored Mar 12, 2024
    Configuration menu
    Copy the full SHA
    6e3ce67 View commit details
    Browse the repository at this point in the history
  5. GAP-2461: Multiple Editors - delete question (#387)

    * GAP-2461 | add version param to delete question call
    
    * GAP-2461 | implement feature and fix and add tests
    
    ---------
    
    Co-authored-by: conor <[email protected]>
    ConorFayleTCO and ConorFayleAND authored Mar 12, 2024
    Configuration menu
    Copy the full SHA
    3341565 View commit details
    Browse the repository at this point in the history
  6. TMI2-674 - Adds redirect to satisfaction survey on add new grant link…

    …. Adds logic to handle redirect from survey based on query params. (#389)
    kiramarstonTCO authored Mar 12, 2024
    Configuration menu
    Copy the full SHA
    7dfb993 View commit details
    Browse the repository at this point in the history
  7. GAP-2462: Multiple Editors section reorder (#388)

    * GAP-2462 | section reorder api call uses version
    
    * GAP-2462 | implement section order versioning and fix tests
    
    ---------
    
    Co-authored-by: conor <[email protected]>
    ConorFayleTCO and ConorFayleAND authored Mar 12, 2024
    Configuration menu
    Copy the full SHA
    8d551ae View commit details
    Browse the repository at this point in the history
  8. update node version (#390)

    * update node version, as there are vulnerabilities in the image used from docker
    
    * update image name so we will always get the latest version of alpine available for that node version
    a-lor-cab authored Mar 12, 2024
    Configuration menu
    Copy the full SHA
    e20c0ad View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    80afa46 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Configuration menu
    Copy the full SHA
    8e6a7d2 View commit details
    Browse the repository at this point in the history
  2. GAP-2500 | decrypt editor emails in server (#382)

    * initial
    
    * fix import
    
    * update test path
    
    * fix tests
    
    * fix import
    
    * use mock decrypt
    
    * add decrypt assertion
    
    * populate env.example
    
    * rename field
    
    * update test
    
    * handle deletedUser
    
    * fix typo
    
    * handle deleted user again
    
    * feedback
    
    * Update packages/admin/src/pages/scheme/components/SchemeApplications.test.tsx
    
    Co-authored-by: jgunnCO <[email protected]>
    Signed-off-by: john-tco <[email protected]>
    
    * use deletedUser field
    
    * use updated field
    
    * fix test
    
    * push deleted editor fix
    
    * rename var
    
    ---------
    
    Signed-off-by: john-tco <[email protected]>
    Co-authored-by: jgunnCO <[email protected]>
    john-tco and jgunnCO authored Mar 13, 2024
    Configuration menu
    Copy the full SHA
    fe97221 View commit details
    Browse the repository at this point in the history
  3. GAP-2455 | Handle editor adding question to a deleted section (#393)

    * Conditional error text on multiple editors error page
    
    * fix tests
    
    * Update packages/admin/src/pages/build-application/[applicationId]/error-multiple-editors.page.tsx
    
    Co-authored-by: jgunnCO <[email protected]>
    Signed-off-by: john-tco <[email protected]>
    
    * feedback
    
    ---------
    
    Signed-off-by: john-tco <[email protected]>
    Co-authored-by: jgunnCO <[email protected]>
    john-tco and jgunnCO authored Mar 13, 2024
    Configuration menu
    Copy the full SHA
    c60aa5a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a516a46 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

  1. GAP-2436: download application preview ODT (#397)

    * GAP-2436 | download application preview ODT
    
    * GAP-2436 | use jest.mocked instead of as Jest.mock
    
    ---------
    
    Co-authored-by: conor <[email protected]>
    ConorFayleTCO and ConorFayleAND authored Mar 14, 2024
    Configuration menu
    Copy the full SHA
    b134fbf View commit details
    Browse the repository at this point in the history
  2. amend names of shcheme and advert name fields (#398)

    * amend names of shcheme and advert name fields
    
    * fix tests
    jgunnCO authored Mar 14, 2024
    Configuration menu
    Copy the full SHA
    97d9839 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8cea36a View commit details
    Browse the repository at this point in the history
  4. fix advert name (#400)

    * fix advert name
    
    * fix test
    jgunnCO authored Mar 14, 2024
    Configuration menu
    Copy the full SHA
    194c795 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. Configuration menu
    Copy the full SHA
    3dcda5a View commit details
    Browse the repository at this point in the history
  2. TMI2-616: checks application form status before editing (#401)

    * doesn't allow non-custom sections of removed adverts to be edited
    
    * added missing props
    
    * fixed test
    rachelswart authored Mar 15, 2024
    Configuration menu
    Copy the full SHA
    85d5c63 View commit details
    Browse the repository at this point in the history
  3. Tmi2 616/cannot edit unpublished advert (#402)

    * doesn't allow non-custom sections of removed adverts to be edited
    
    * added missing props
    
    * fixed test
    
    * don't allow admin to edit eligibility and essential sections
    
    * Added tests
    
    * updated test
    rachelswart authored Mar 15, 2024
    Configuration menu
    Copy the full SHA
    3dab477 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. Configuration menu
    Copy the full SHA
    e27cf9b View commit details
    Browse the repository at this point in the history
  2. TMI2-616: reverted changes for editing unpublished application (#405)

    * reverted changes for editing unpublished application
    
    * doesn't allow essential and eligibility sections to be edited
    rachelswart authored Mar 19, 2024
    Configuration menu
    Copy the full SHA
    152b928 View commit details
    Browse the repository at this point in the history
  3. TMI2-720: view submissions link when logged out (#404)

    * adds redirect url
    
    * fixed test
    
    * pr comments
    rachelswart authored Mar 19, 2024
    Configuration menu
    Copy the full SHA
    47079d6 View commit details
    Browse the repository at this point in the history
  4. TMI2-718: don't update role if department is undefined (#410)

    * don't update role if department is undefined
    
    * updated test
    rachelswart authored Mar 19, 2024
    Configuration menu
    Copy the full SHA
    87a5186 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. Configuration menu
    Copy the full SHA
    8944c33 View commit details
    Browse the repository at this point in the history
  2. GAP-2517: put application name into the downloaded application form s…

    …ummary odt (#411)
    
    * GAP-2517 | put application name into the downloaded odt
    
    * GAP-2517 | formatting and linting
    
    ---------
    
    Co-authored-by: conor <[email protected]>
    ConorFayleTCO and ConorFayleAND authored Mar 20, 2024
    Configuration menu
    Copy the full SHA
    c4d3b85 View commit details
    Browse the repository at this point in the history
  3. TMI2-728 - Application preview update (#399)

    Co-authored-by: Jim Purvis <[email protected]>
    Co-authored-by: iaincooper-tco <[email protected]>
    3 people authored Mar 20, 2024
    Configuration menu
    Copy the full SHA
    9d69396 View commit details
    Browse the repository at this point in the history
  4. Tmi2 720/submission download pattern (#413)

    * fixed submission download pattern for uuid
    
    * added logs
    rachelswart authored Mar 20, 2024
    Configuration menu
    Copy the full SHA
    01ae229 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5973be8 View commit details
    Browse the repository at this point in the history
  6. GAP-2437 - Add preview application form ui (#407)

    * add preview application ui
    
    * extract applicationId
    
    * add preview age tests
    
    * fix dashboard page tests
    
    * add dashboardpage tests
    
    * amend test assertions
    
    * handle undefined contact email
    
    * update meta doc title
    
    * add banner
    john-tco authored Mar 20, 2024
    Configuration menu
    Copy the full SHA
    a8bde68 View commit details
    Browse the repository at this point in the history
  7. GAP-2479 - add section overview ui (#409)

    * add section overview ui
    
    * readd preview.module.scss
    
    * fix header spacing
    
    * rename var
    john-tco authored Mar 20, 2024
    Configuration menu
    Copy the full SHA
    17aef35 View commit details
    Browse the repository at this point in the history
  8. Feature/gap 2480 (#406)

    * skeleton for local dev
    
    * push steps
    
    * Added preview component and back button functionality
    
    * Logic to handle next question. Still a WIP as I need to handle undefined case, create button, and write unit tests
    
    * Added fucntionality for next preview button and changed PreviewInoutSwitch to accept a new prop (to disable text questions)
    
    * Covered cases for ESSENTIAL sections which weren't covered in the  preview input switch component.
    
    * Altered backHref variable to redirect to correct location - the preview application rather than the dashboard
    
    * Unit tests for new switch cases in preview-input-switch component
    
    * Remove unused imports
    
    * Added error case for an invalid/non-existent question
    
    * Added unit tests and refactored index page
    
    ---------
    
    Co-authored-by: john-tco <[email protected]>
    paul-lawlor-tco and john-tco authored Mar 20, 2024
    Configuration menu
    Copy the full SHA
    5e76999 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. Map v2 Application form section data (#415)

    * Map v2 Application form section data
    
    * add preview page tests
    
    * add helper tests
    
    * update assertions
    
    * use early return
    john-tco authored Mar 22, 2024
    Configuration menu
    Copy the full SHA
    bf5c323 View commit details
    Browse the repository at this point in the history
  2. Added fix for back button functionality and respective unit tests. (#416

    )
    
    * Added fix for back button functionality and respective unit tests.
    
    * refactors from PR
    
    * refactor parameters
    
    * add v2 flag to back button
    
    ---------
    
    Co-authored-by: john-tco <[email protected]>
    paul-lawlor-tco and john-tco authored Mar 22, 2024
    Configuration menu
    Copy the full SHA
    47d4242 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. Configuration menu
    Copy the full SHA
    08917d2 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. Multiple editors - handle editing recently deleted section (#421)

    * handle section deleted by editor when fetching page data
    john-tco authored Mar 27, 2024
    Configuration menu
    Copy the full SHA
    1aa4bba View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. add request/response logging to applicant package (#321)

    * add request/response logging to applicant package
    
    * expand response log message
    
    * amend error logs
    
    * fix tests
    
    * fix middleware tests
    
    * rm logs
    
    * minor additions
    
    * extract ternary
    
    * amend next-logger import
    jgunnCO authored Mar 28, 2024
    Configuration menu
    Copy the full SHA
    34ef4f9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ea0571 View commit details
    Browse the repository at this point in the history
  3. GAP-2519 | go to scheme details after creation (#420)

    * GAP-2519 | go to scheme details after creation
    
    * GAP-2519 | remove ternary
    
    ---------
    
    Co-authored-by: conor <[email protected]>
    ConorFayleTCO and ConorFayleAND authored Mar 28, 2024
    Configuration menu
    Copy the full SHA
    c90d303 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5045d1f View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. TMI2-720:adds env variable and update V2_LOGIN_URL env variable (#427)

    * TMI2-720:adds env variable and update V2_LOGIN_URL env variable
    
    * tidy up
    a-lor-cab authored Apr 4, 2024
    Configuration menu
    Copy the full SHA
    229689d View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Refresh user-service jwt in admin middleware (#417)

    * Refresh user-service jwt in admin middleware
    
    * bump expiry timer
    
    * update env.example
    
    * extract parseJwt
    
    * add tests
    
    * rm
    
    * update log
    
    * add comment to jwtExpiry declaration
    
    * fix typo
    
    * GAP-2489: Refactor middleware to be clean
    
    * GAP-2489: Fixing tests
    
    * GAP-2489: Adding additional log
    
    * GAP-2489: Sort env.example alphabetically
    
    * GAP-2489: Refactor to recreate after jwt expires
    
    * GAP-2489: Removing unneeded comment
    
    ---------
    
    Co-authored-by: dominicwest <[email protected]>
    john-tco and dominicwest authored Apr 8, 2024
    Configuration menu
    Copy the full SHA
    ef25be8 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. TMI2-733: Advert preview (#426)

    * Add search-result preview page
    * Rename existing preview pages, components, methods etc. to advert-details
    * Create PreviewSearchCard component
    * Read advert data from backend
    * Add tests and update existing tests
    IlyasBaqqari-CabinetOffice authored Apr 9, 2024
    Configuration menu
    Copy the full SHA
    4c61149 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. FIX TMI2-773: Advert Preview (#430)

    Co-authored-by: IlyasBaqqari <[email protected]>
    IlyasBaqqari-CabinetOffice and IlyasBaqqari authored Apr 11, 2024
    Configuration menu
    Copy the full SHA
    8d5a5d1 View commit details
    Browse the repository at this point in the history
  2. 1 Configuration menu
    Copy the full SHA
    ffcdb10 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2024

  1. Feat/gap 2420 admin (#429)

    * add request/response logging to applicant package
    
    * expand response log message
    
    * amend error logs
    
    * fix tests
    
    * fix middleware tests
    
    * rm logs
    
    * minor additions
    
    * extract ternary
    
    * amend next-logger import
    
    * add request/response logging to admin
    
    * update middleware tests
    
    * minor test refactor
    
    * fix tests
    
    * fix build error
    
    * fix tests
    
    * fix build error
    jgunnCO authored Apr 12, 2024
    Configuration menu
    Copy the full SHA
    d34b9b4 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. only call csrf middleware once (#436)

    * only call csrf middleware once
    
    * fix tests
    jgunnCO authored Apr 15, 2024
    Configuration menu
    Copy the full SHA
    9c2fc2b View commit details
    Browse the repository at this point in the history
  2. Feat/gap 2420 console (#433)

    * add request/response logging to applicant package
    
    * expand response log message
    
    * amend error logs
    
    * fix tests
    
    * fix middleware tests
    
    * rm logs
    
    * minor additions
    
    * extract ternary
    
    * amend next-logger import
    
    * add request/response logging to admin
    
    * update middleware tests
    
    * minor test refactor
    
    * fix tests
    
    * fix build error
    
    * fix tests
    
    * fix build error
    
    * replace console invocations
    jgunnCO authored Apr 15, 2024
    Configuration menu
    Copy the full SHA
    f70b6a0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c0934d2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e50e5ab View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Configuration menu
    Copy the full SHA
    dcc244c View commit details
    Browse the repository at this point in the history
  2. rm more console logs (#441)

    jgunnCO authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    38d73e9 View commit details
    Browse the repository at this point in the history
  3. Gap 2587/redirect to404when not allowed on a page (#440)

    * GAP-2587: adds logic to handle redirection to 404 page
    
    * GAP-2587 | Apply suggestions from code review
    
    Signed-off-by: Conor Fayle <[email protected]>
    
    * fix build and rm duplicate csrfMiddleware invocation
    
    ---------
    
    Signed-off-by: Conor Fayle <[email protected]>
    Co-authored-by: Conor Fayle <[email protected]>
    Co-authored-by: JamieGunnCO <[email protected]>
    3 people authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    3b2b3ae View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    da14773 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    392e8f4 View commit details
    Browse the repository at this point in the history
  6. add api request/response logging to admin package (#435)

    * add axios file to admin
    
    * add api request/reponse logging to admin
    jgunnCO authored Apr 16, 2024
    Configuration menu
    Copy the full SHA
    f60ec55 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. Adding validation to patch requests so that updated question response…

    … types will have the correct validation (#442)
    
    * Adding validation to patch requests so that updated question response types will have the correct validation
    
    * Handling string value of boolean in patch method for question options
    
    ---------
    
    Signed-off-by: Connor Macqueen <[email protected]>
    ConnorTCO authored Apr 17, 2024
    Configuration menu
    Copy the full SHA
    d3e38a9 View commit details
    Browse the repository at this point in the history
  2. GAP-2537:fix logic to handle applications with no adverts (#445)

    * GAP-2537:fix logic to handle applications with no adverts
    
    * remove unwanted import
    
    * Update packages/applicant/src/pages/api/create-submission.page.tsx
    
    Co-authored-by: jgunnCO <[email protected]>
    Signed-off-by: Conor Fayle <[email protected]>
    
    ---------
    
    Signed-off-by: Conor Fayle <[email protected]>
    Co-authored-by: a-lor-cab <[email protected]>
    Co-authored-by: Conor Fayle <[email protected]>
    Co-authored-by: jgunnCO <[email protected]>
    4 people authored Apr 17, 2024
    Configuration menu
    Copy the full SHA
    01333ac View commit details
    Browse the repository at this point in the history
  3. GAP-2528: Fix role logic for previously blocked users (#444)

    * Adds small check to give Super Admin the Admin role if they weren't assigned
    
    * GAP-2528 Fix unblock issue
    
    * GAP-2528 | fix implementation and add tests
    
    * GAP-2528 | improve comments
    
    * Update packages/admin/src/pages/super-admin-dashboard/user/[id]/change-roles.test.tsx
    
    Co-authored-by: jgunnCO <[email protected]>
    Signed-off-by: tco-olivergodby <[email protected]>
    
    ---------
    
    Signed-off-by: tco-olivergodby <[email protected]>
    Co-authored-by: conor <[email protected]>
    Co-authored-by: tco-olivergodby <[email protected]>
    Co-authored-by: jgunnCO <[email protected]>
    Co-authored-by: Conor Fayle <[email protected]>
    5 people authored Apr 17, 2024
    Configuration menu
    Copy the full SHA
    0ba5baf View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. Configuration menu
    Copy the full SHA
    c8fdb0f View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. fetch csrf secret from secrets manager (#443)

    * fetch csrf secret from secrets manager
    
    * fix catch statement
    
    * add log
    
    * edit comment
    
    * convert csrfSecret to class
    
    * add IS_PRODUCTION var to constants
    
    * add note on running in production mode to readme
    jgunnCO authored Apr 19, 2024
    Configuration menu
    Copy the full SHA
    094d617 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    acfd351 View commit details
    Browse the repository at this point in the history
  3. fix binary conversion (#449)

    jgunnCO authored Apr 19, 2024
    Configuration menu
    Copy the full SHA
    af9c234 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Configuration menu
    Copy the full SHA
    9a8aafa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    df24ea8 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. GAP-2521: bump out of date dependencies (#447)

    * GAP-2521 | upgrade patch and minor versions for all packages
    
    * GAP-2521 | remove react-moment from PreviewSearchResultCard due to dep issue
    
    * GAP-2521 | upgrade more minor versions
    
    * GAP-2521 | remove some applicant minor upgrades
    
    * GAP-2521 | upgrade more deps
    
    * GAP-2521 | remove no-server-import-in-page eslint rule
    
    ---------
    
    Co-authored-by: conor <[email protected]>
    ConorFayleTCO and ConorFayleAND authored Apr 25, 2024
    Configuration menu
    Copy the full SHA
    63a155c View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. add explanatory comments and improve security (#452)

    * add explanatory comments and improve security
    
    * add tests
    jgunnCO authored Apr 26, 2024
    Configuration menu
    Copy the full SHA
    40bf6bc View commit details
    Browse the repository at this point in the history