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

Update main branch in preperation for default branch switch #4400

Closed
wants to merge 490 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
490 commits
Select commit Hold shift + click to select a range
c372b60
* Add form purpose error code.
ShadeWyrm Jul 3, 2024
2e230a0
Merge branch 'develop' into fix/form-purpose-savetodb
ShadeWyrm Jul 3, 2024
ed0679e
Merge pull request #3922 from cds-snc/fix/form-purpose-savetodb
ShadeWyrm Jul 3, 2024
ae391fb
Merge branch 'develop' into feat/new-data-prepublish
ShadeWyrm Jul 3, 2024
ff1c3f8
* Fix saving w/ new code.
ShadeWyrm Jul 3, 2024
0471a12
* fix legacy api call via admin panel.
ShadeWyrm Jul 3, 2024
36c1bf4
* fix test sending prepublish data.
ShadeWyrm Jul 3, 2024
877d3af
fix: Fixes a server client boundary error (#3917)
thiessenp-cds Jul 3, 2024
d7c7eec
chore: Move refs provider (#3935)
timarney Jul 3, 2024
d8e5ed4
* Make fields required, and add validation messages.
ShadeWyrm Jul 3, 2024
8927565
chore: increase next server maximum memory (#3936)
craigzour Jul 3, 2024
ff522dc
fix: Reset locked groups (#3953)
timarney Jul 4, 2024
6099d83
fix: adds an empty question label (#3941)
thiessenp-cds Jul 4, 2024
349d4aa
fix: Add key for next action (#3956)
timarney Jul 4, 2024
9e129b3
fix: Permissions on Admin pages (#3959)
bryan-robitaille Jul 5, 2024
58194e5
chore: fixes template view in adminstration panel (#3958)
bryan-robitaille Jul 5, 2024
84f0b1c
fix: Email Delivery Component was mistakenly async (#3961)
bryan-robitaille Jul 5, 2024
4aa6b07
chore(develop): release 3.14.1 (#3923)
sre-read-write[bot] Jul 5, 2024
3ab6226
Merge branch 'develop' into feat/new-data-prepublish
ShadeWyrm Jul 5, 2024
947cf89
* Remove old code.
ShadeWyrm Jul 5, 2024
4223520
* fix lint error
ShadeWyrm Jul 8, 2024
3cb2b0c
fix(deps): update all patch dependencies (#3015)
renovate[bot] Jul 8, 2024
d637aaf
chore(deps): update all non-major github action dependencies (#3258)
renovate[bot] Jul 8, 2024
e3fbdbb
chore(deps): update all non-major docker images (#3549)
renovate[bot] Jul 8, 2024
c97ed9f
* minor styling fixes
ShadeWyrm Jul 8, 2024
fe7e8fc
* update formtypes.
ShadeWyrm Jul 8, 2024
154a43f
Merge branch 'develop' into feat/new-data-prepublish
ShadeWyrm Jul 8, 2024
6895906
* Update to use enum.
ShadeWyrm Jul 8, 2024
de5b189
feat: off-board / exit sections (#3934)
timarney Jul 8, 2024
c0c779c
Merge branch 'develop' into feat/new-data-prepublish
ShadeWyrm Jul 8, 2024
06c36b0
refactor: More explicit privilege checks (#3972)
bryan-robitaille Jul 9, 2024
e72d094
Merge branch 'develop' into feat/new-data-prepublish
ShadeWyrm Jul 9, 2024
f23f38e
Merge pull request #3921 from cds-snc/feat/new-data-prepublish
ShadeWyrm Jul 9, 2024
b401508
* add missing class value merge function.
ShadeWyrm Jul 9, 2024
fe02813
* Remove React selectbox for native.
ShadeWyrm Jul 9, 2024
8d1be89
* Update padding & add selectOption default.
ShadeWyrm Jul 9, 2024
852a851
Merge pull request #3979 from cds-snc/fix/prepublish-dropdown-bug
ShadeWyrm Jul 9, 2024
74c33e4
fix: Offboarding content translations and tweaks for form exit (#3977)
anikbrazeau Jul 9, 2024
4d27c99
fix: Change "sections" to "pages" throughout (#3980)
anikbrazeau Jul 10, 2024
e36e533
chore(develop): release 3.15.0 (#3968)
sre-read-write[bot] Jul 10, 2024
0c748bf
fix: add toggle right panel from logic view nodes (#3984)
timarney Jul 10, 2024
13dbbb4
* Update modal title.
ShadeWyrm Jul 10, 2024
01e8e4f
fix: action panel z-index (#3981)
timarney Jul 10, 2024
33f3528
* Add new text blurb for conditional rules modal.
ShadeWyrm Jul 10, 2024
ef3a749
chore: Consistent terminology for conditional logic (#3983)
anikbrazeau Jul 10, 2024
551a2a2
chore: use section name for logic view (#3989)
timarney Jul 11, 2024
6cf2d39
chore: Add group layout to control group ordering (#3985)
timarney Jul 12, 2024
1975c77
fix: overlapping element menus (#3993)
timarney Jul 12, 2024
cc6eced
chore: Add Guidance link from support form (#3982)
anikbrazeau Jul 12, 2024
9ad34bc
chore(deps): update all patch dependencies (#3999)
renovate[bot] Jul 15, 2024
fb7d7af
chore(deps): update all non-major github action dependencies (#3998)
renovate[bot] Jul 15, 2024
429260b
chore: adds new page and branch links from editor (#3994)
timarney Jul 15, 2024
9f2e35e
* Update UI/move "Add Other" button.
ShadeWyrm Jul 15, 2024
290491a
* Add Bolt Icon
ShadeWyrm Jul 15, 2024
b59697d
* Add new "Labeled Choice" function for adding Other.
ShadeWyrm Jul 15, 2024
63bad78
chore: update spacing for add buttons on smaller screens (#4001)
timarney Jul 15, 2024
b94a6ef
* Pass new rule when add other button is clicked.
ShadeWyrm Jul 15, 2024
2b0cc56
Merge branch 'develop' into fix/conditional-rules-other
ShadeWyrm Jul 15, 2024
27299a7
* fix caseing
ShadeWyrm Jul 15, 2024
390496b
* fix derp
ShadeWyrm Jul 15, 2024
d3d5a37
* Update BoltIcon fill/button.
ShadeWyrm Jul 15, 2024
fee466d
fill white
timarney Jul 15, 2024
edbad76
* add missing hook dependencies (lint)
ShadeWyrm Jul 15, 2024
e7660df
chore: add translations for dialogs (#4000)
timarney Jul 15, 2024
70f0b01
chore: Rename "Logic" to "Branching" and fill in exit page placeholde…
anikbrazeau Jul 15, 2024
ae29b2d
* Use INDEX instead of ID.
ShadeWyrm Jul 16, 2024
21d9816
Merge branch 'develop' into fix/conditional-rules-other
ShadeWyrm Jul 16, 2024
9f3a7b3
* Revert to itemId.
ShadeWyrm Jul 16, 2024
e970a2c
* Force it to wait for the new choice.
ShadeWyrm Jul 16, 2024
c269262
Merge pull request #4002 from cds-snc/fix/conditional-rules-other
ShadeWyrm Jul 16, 2024
15d23bc
chore: Move add rules link to open modal (#4004)
timarney Jul 16, 2024
21a0fe9
chore: use add button for add rule (#4005)
timarney Jul 17, 2024
59cfd8b
fix: Import with groups (#4008)
timarney Jul 17, 2024
08f570e
chore: update code owners file (#4011)
timarney Jul 17, 2024
053535b
chore: Content and policy updates for SLA and ToU (#3911)
anikbrazeau Jul 17, 2024
c6fd62e
fix: remove initial initialize for groups (#4010)
timarney Jul 17, 2024
bb893af
* Add campaign banner functionality!~
ShadeWyrm Jul 17, 2024
873e740
chore: update legend icons (#4014)
timarney Jul 17, 2024
3a9e3ef
* Fix right panel position if campaign banner is up.
ShadeWyrm Jul 17, 2024
69fb52f
Merge branch 'develop' into feat/header-announce
ShadeWyrm Jul 17, 2024
0af4e48
* fix fr contact link. Derp.
ShadeWyrm Jul 17, 2024
cb503cf
* Move campaign banner into header.
ShadeWyrm Jul 17, 2024
21d939f
Merge pull request #4016 from cds-snc/feat/header-announce
ShadeWyrm Jul 17, 2024
50e294c
chore: Clarify content for branching visualization legend (#4019)
anikbrazeau Jul 18, 2024
69e0087
* Minor UI/UX fixes for Banner.
ShadeWyrm Jul 18, 2024
a3128f0
* fix border color
ShadeWyrm Jul 18, 2024
b5b5f6d
Merge pull request #4024 from cds-snc/fix/tiny-banner-fixes
ShadeWyrm Jul 18, 2024
017ae3f
chore(develop): release 3.15.1 (#3986)
sre-read-write[bot] Jul 18, 2024
109f350
fix: update start page name for logic view (#4029)
timarney Jul 18, 2024
be0c171
Fix: Profile page showing incorrect status for publishing permission …
bryan-robitaille Jul 18, 2024
db644e2
chore: set message property on custom errors (#4009)
craigzour Jul 18, 2024
ea4f6d2
chore(develop): release 3.15.2 (#4030)
sre-read-write[bot] Jul 18, 2024
5b6c525
feat: Conditional Input History - Form Builder (#3859)
thiessenp-cds Jul 19, 2024
3b43dc0
refactor: use server side check privilege check for page level (#4034)
bryan-robitaille Jul 19, 2024
a783644
fix: adds additional check / set for active group (#4037)
timarney Jul 19, 2024
c3e16ed
chore: Safe JSON parsing utility (#3995)
thiessenp-cds Jul 19, 2024
ea8f9b1
* Pass formId across app to allow logic view route.
ShadeWyrm Jul 22, 2024
45754f3
* Add missing step before moving to logic view.
ShadeWyrm Jul 22, 2024
fb7eccb
* Add dialog 'are you sure' for logic reset.
ShadeWyrm Jul 23, 2024
38620a6
Merge pull request #4051 from cds-snc/feat/logic-are-you-sure-check
ShadeWyrm Jul 23, 2024
4999ff8
Merge branch 'develop' into feat/small-link-to-logic
ShadeWyrm Jul 23, 2024
fb7165f
fix: Updates sectionTitle to use form lang as default vs English (#4050)
thiessenp-cds Jul 23, 2024
2a95ac6
Clearer terminology around exit pages and review page (#4057)
anikbrazeau Jul 23, 2024
5904b2d
* Add warning for logic flow "Double check your work"
ShadeWyrm Jul 24, 2024
0083dee
Merge branch 'develop' into feat/small-link-to-logic
ShadeWyrm Jul 24, 2024
cc78e25
Merge pull request #4063 from cds-snc/chore/add-logic-warning
ShadeWyrm Jul 24, 2024
f7c6f15
Updates style toggling
thiessenp-cds Jul 24, 2024
f3e7c32
Merge branch 'develop' into feat/small-link-to-logic
ShadeWyrm Jul 24, 2024
138cb5f
Merge pull request #4046 from cds-snc/feat/small-link-to-logic
ShadeWyrm Jul 24, 2024
a9fad03
* Add a max width to the warning alert for logic publish
ShadeWyrm Jul 25, 2024
68f51d9
Merge pull request #4069 from cds-snc/fix/max-width-publish-alert
ShadeWyrm Jul 25, 2024
2a0c048
Update product strings to clarify conditional logic features and alig…
anikbrazeau Jul 25, 2024
95c6007
* Remove the uneditable group section.
ShadeWyrm Jul 25, 2024
14baa2d
Merge branch 'develop' into chore/remove-uneditable-start-page
ShadeWyrm Jul 25, 2024
b76752a
Merge pull request #4071 from cds-snc/chore/remove-uneditable-start-page
ShadeWyrm Jul 25, 2024
7dcdc9e
chore: Improve French content, fix typos and improve clarity of conce…
anikbrazeau Jul 25, 2024
0228176
Content tweaks for clarity and concision (#4077)
anikbrazeau Jul 26, 2024
f8d4f0d
chore: Ensure groups from groups to tree data (#4082)
timarney Jul 29, 2024
fc4e7db
* Route to the start group on moving from settings page via "Privacy"…
ShadeWyrm Jul 29, 2024
a20473a
* Update route to confirmation and form title.
ShadeWyrm Jul 29, 2024
cbfa572
fix: Use language property for review page label (#4088)
timarney Jul 29, 2024
3ae2f0e
Merge branch 'develop' into fix/privacy-policy-group-from-settings
ShadeWyrm Jul 30, 2024
db1619a
chore: Fix nesting for logic strings (#4097)
timarney Jul 30, 2024
be1c2f1
Merge branch 'develop' into fix/privacy-policy-group-from-settings
ShadeWyrm Jul 30, 2024
6f61f1c
fix: Updates next action to not include rules on hidden elements (#4110)
thiessenp-cds Jul 30, 2024
c6a7220
* Disable turbo for default dev, add turbo command for those that want.
ShadeWyrm Jul 30, 2024
2b9159a
Merge pull request #4116 from cds-snc/fix/disable-turbo
ShadeWyrm Jul 30, 2024
26a5098
Merge branch 'develop' into fix/privacy-policy-group-from-settings
ShadeWyrm Jul 30, 2024
1da975a
chore: Sticky right nav (#4100)
timarney Jul 30, 2024
9c687c0
Merge branch 'develop' into fix/privacy-policy-group-from-settings
timarney Jul 31, 2024
c6a617e
Merge pull request #4086 from cds-snc/fix/privacy-policy-group-from-s…
ShadeWyrm Jul 31, 2024
c24721e
chore: Toggle panel open from modal view (#4098)
timarney Jul 31, 2024
9ba59cb
chore: add scrolling for next actions panel (#4131)
timarney Jul 31, 2024
b00098c
chore: front facing form -> Privacy Statement should be before questi…
timarney Jul 31, 2024
5e0fa9d
chore: Content tweaking (#4114)
anikbrazeau Jul 31, 2024
10d7fd6
(fix): English strings in French branching/logic dropdowns (#4134)
dsamojlenko Jul 31, 2024
b6298c8
fix: shows Review page and related for multi-group forms (#4091)
thiessenp-cds Jul 31, 2024
e919658
chore: A few more copyedits (#4137)
anikbrazeau Aug 1, 2024
e130ff0
* Swap banner if Logic is on.
ShadeWyrm Aug 1, 2024
1c63402
Merge pull request #4149 from cds-snc/feat/logic-banner-swapper
ShadeWyrm Aug 1, 2024
6cb4d1f
feat: Conditional Input History - Forms-form (#4036)
thiessenp-cds Aug 1, 2024
cf29c0f
chore: Autoflow after delete page (#4154)
dsamojlenko Aug 1, 2024
2d20df6
chore(develop): release 3.16.0 (#4033)
sre-read-write[bot] Aug 1, 2024
3cc69ba
(fix): Update groupsLayout when deleting a group (#4155)
dsamojlenko Aug 1, 2024
c7947af
chore: update branching to show or hide the review page dependant on …
timarney Aug 1, 2024
24b894b
chore: add vac branding (#4152)
timarney Aug 1, 2024
d3349a8
chore(develop): release 3.16.1 (#4157)
sre-read-write[bot] Aug 2, 2024
f273961
feat: add new file type to support SVG logo (#4158)
wmoussa-gc Aug 2, 2024
96b0dc7
chore(develop): release 3.17.0 (#4159)
sre-read-write[bot] Aug 2, 2024
eaffc04
chore: add timeout to Freshdesk API call (#4160)
craigzour Aug 2, 2024
dae89ea
* Add Group Ordering to response download.
ShadeWyrm Aug 6, 2024
9b9e8f3
feat: Dynamic Rows (#4085)
timarney Aug 6, 2024
5643bbc
Merge branch 'develop' into fix/logic-response-dload-order
ShadeWyrm Aug 6, 2024
3c293f8
Merge pull request #4163 from cds-snc/fix/logic-response-dload-order
ShadeWyrm Aug 6, 2024
6b6fd48
chore: update button text for repeating sets (#4165)
timarney Aug 6, 2024
5608285
chore(develop): release 3.18.0 (#4164)
sre-read-write[bot] Aug 6, 2024
eb18e7d
chore: upgrade to Next-Auth 5.0.0 beta 20. Goal is to fix the error l…
craigzour Aug 7, 2024
382ad49
fix: only delete form viewer task definitions (#4168)
patheard Aug 7, 2024
6245c27
fix: release-please configuration in v4 (#4162)
patheard Aug 7, 2024
e4170bb
fix: small typo in terms of use (#4176)
anikbrazeau Aug 8, 2024
7b09380
* Move redirects from server to client on Contact and Support
ShadeWyrm Aug 8, 2024
6844053
fix: Adjust ChoiceId indexes when an option is removed. (#4153)
timarney Aug 8, 2024
1f4566b
chore: GCForms release v3.18.1 (#4172)
sre-read-write[bot] Aug 8, 2024
ca4352f
* Add a check for super legacy forms to use layout object instead.
ShadeWyrm Aug 8, 2024
a54fac3
* Add legacy check to groups for response download.
ShadeWyrm Aug 8, 2024
00d5225
* Use helper function instead
ShadeWyrm Aug 8, 2024
b960d03
Merge pull request #4181 from cds-snc/fix/legacy-form-response-order
ShadeWyrm Aug 8, 2024
3b53550
Merge branch 'develop' into fix/perf-issues
ShadeWyrm Aug 8, 2024
1c79684
Merge pull request #4179 from cds-snc/fix/perf-issues
ShadeWyrm Aug 8, 2024
da5f70f
fix: Adjust next action choice rules when option removed (#4180)
timarney Aug 8, 2024
8e16820
chore: Add National Defence & Public Service Commission of Canada bra…
timarney Aug 8, 2024
393de21
chore: GCForms release v3.18.2 (#4184)
sre-read-write[bot] Aug 8, 2024
200ab05
feat: Enable Zitadel Integration for API Authentication (#4147)
wmoussa-gc Aug 9, 2024
ba5d89e
fix: FileInput max upload size for all files (#4173)
dsamojlenko Aug 9, 2024
23052aa
refactor: update confirm api to a server action (#4042)
bryan-robitaille Aug 13, 2024
2d665f8
fix: Multiple fileInputs in a repeatingSet (#4188)
dsamojlenko Aug 13, 2024
8612909
fix: Handle repeatingSets that include more than just fileInputs (#4193)
dsamojlenko Aug 14, 2024
c3a8d7a
chore: GCForms release v3.19.0 (#4185)
sre-read-write[bot] Aug 14, 2024
9806cbe
Fix: no owners on template error when loading unsaved draft form (#4195)
bryan-robitaille Aug 15, 2024
5422d6c
feat: Updates Repeating Sets, Pages and Rules to work together on the…
thiessenp-cds Aug 16, 2024
69bf388
fix: content - clarify limitations with reordering pages if branching…
anikbrazeau Aug 19, 2024
6849198
refactor: rework file validation error types (#4203)
craigzour Aug 20, 2024
afcee50
fix: ensure modal for conditional rules starts with option selected (…
timarney Aug 21, 2024
cb31f6e
fix: Adds focus heading behavior for forms with pages (groups) (#4201)
thiessenp-cds Aug 26, 2024
0112916
chore: GCForms release v3.20.0 (#4196)
sre-read-write[bot] Aug 28, 2024
5d86113
chore: Combine review and end nodes (#4220)
timarney Aug 29, 2024
78d8078
refactor: reword error log for when a GC Notify request times out (#4…
craigzour Aug 29, 2024
901b38c
Formatted Date component (#3581)
dsamojlenko Aug 29, 2024
6c8cf93
Adds text field length limit (#4239)
thiessenp-cds Aug 30, 2024
8334792
Chore: replace fetch with axios (#4242)
bryan-robitaille Sep 3, 2024
a5cc3d4
Force UTF-8 encoding on unzipped CSV files (#4237)
dsamojlenko Sep 3, 2024
4ab6876
chore: GCForms release v3.21.0 (#4235)
sre-read-write[bot] Sep 3, 2024
9b1923b
chore: Update overdue card status (#4221)
timarney Sep 4, 2024
fa51240
chore: GCForms release v3.21.1 (#4246)
sre-read-write[bot] Sep 4, 2024
8cb3609
chore: call to check for overdue ids (#4250)
timarney Sep 9, 2024
6dddcd3
chore: Style repeating sets (#4248)
timarney Sep 9, 2024
bdb9821
chore: Add dynamic row dialog (#4261)
timarney Sep 10, 2024
3070872
chore: Translate dynamic row props (#4266)
timarney Sep 11, 2024
553b224
* Add feature flag for addressComplete.
ShadeWyrm Sep 13, 2024
9a99141
* Set default to false.
ShadeWyrm Sep 13, 2024
5d9a24b
Merge pull request #4270 from cds-snc/feat/feature-flag-addres-complete
ShadeWyrm Sep 13, 2024
3c4bf72
chore: Add Invitation model and migration (#4269)
dsamojlenko Sep 16, 2024
13e6671
fix: Remove Service Account from Zitadel when API key is deleted. (#3…
bryan-robitaille Sep 16, 2024
b219537
Change userID to userId to align with other service lines (#4280)
bryan-robitaille Sep 16, 2024
701da69
chore: Add Canada Energy Regulator branding (#4286)
timarney Sep 18, 2024
f21c88c
chore: GCForms release v3.21.2 (#4258)
sre-read-write[bot] Sep 18, 2024
bd1531a
fix: Zitadel Access Token expiring too soon (#4290)
bryan-robitaille Sep 19, 2024
ae00c5a
fix: drag and drop for elements for start group (#4284)
timarney Sep 19, 2024
fc2d462
chore: package update for react complex tree (#4295)
timarney Sep 19, 2024
b22ac40
feature: GC Forms adminstrators can access API settings (#4306)
bryan-robitaille Sep 24, 2024
8739ff2
chore: Hard code conditional logic feature to on (#4321)
timarney Sep 25, 2024
c8ee651
feat: client feature flags (#4302)
thiessenp-cds Sep 25, 2024
2402521
chore: Add flag for repeating sets (#4329)
timarney Sep 25, 2024
e8904f0
fix: Only restrict API Settings in Production (#4330)
bryan-robitaille Sep 25, 2024
48955ec
chore: remove flag for experimental blocks (#4331)
timarney Sep 25, 2024
6a168ab
chore: Move types for flags (#4332)
timarney Sep 25, 2024
54130ac
chore: update editor margins and form output for lists (#4292)
timarney Sep 26, 2024
bfd702f
feat: treat technical-failure as permanent when receiving callback fr…
craigzour Sep 26, 2024
0f9431a
feat: Repeating sets (#4263)
timarney Sep 27, 2024
f670316
fix: Repeating set sub element panel actions (#4346)
timarney Oct 1, 2024
53e258d
fix: allow generate SBOM step to fail (#4348)
patheard Oct 1, 2024
5894b7f
fix: sub element modal (#4347)
timarney Oct 1, 2024
abd965d
chore: Add GCDS Tokens (#4349)
timarney Oct 3, 2024
826dac8
chore: GCForms release v3.22.0 (#4291)
sre-read-write[bot] Oct 3, 2024
9b67b8c
chore: GCDS checkbox styling (#4343)
timarney Oct 3, 2024
3d8284f
chore: GCDS text inputs (#4353)
timarney Oct 3, 2024
015093f
chore: Button styles (#4319)
timarney Oct 3, 2024
1a3628a
chore: GCDS Radio (#4355)
timarney Oct 4, 2024
e39a376
chore: GCDS error summary (#4357)
timarney Oct 4, 2024
94dec98
chore: fix copy codes button (#4358)
timarney Oct 4, 2024
973ea30
chore: GCDS Dropdown (#4354)
timarney Oct 4, 2024
479489a
chore: Update compiled css (#4359)
timarney Oct 4, 2024
39e11f9
chore: fix radios for response downloads (#4360)
timarney Oct 7, 2024
25b0d78
chore: update various form components with updated GCDS styles (#4361)
timarney Oct 7, 2024
4b5e61b
chore: fix centering for auth pages (#4365)
timarney Oct 7, 2024
2c791f4
fix: Fix repeating set bug (#4364)
dsamojlenko Oct 7, 2024
afb161e
chore: fix checkboxes when using long text. (#4366)
timarney Oct 7, 2024
c61a7f6
chore: Add Grains Canada branding (#4370)
timarney Oct 8, 2024
04e5a6d
fix: security banner copy (#4369)
timarney Oct 8, 2024
6f2e88f
chore: GCForms release v3.22.1 (#4352)
sre-read-write[bot] Oct 8, 2024
89a1039
Improved error message for server-side file validation errors (#4374)
dsamojlenko Oct 9, 2024
e6ed14c
chore: GCForms release v3.22.2 (#4379)
sre-read-write[bot] Oct 9, 2024
1098b4e
chore: style formatted date inputs (#4381)
timarney Oct 9, 2024
03f73cd
chore: fix margin for filename input (#4384)
timarney Oct 9, 2024
278fea5
chore: Add customEvent hook for pub/sub pattern (#4385)
dsamojlenko Oct 9, 2024
6888441
chore: Remove gray bg from Button icon theme and only apply selective…
dsamojlenko Oct 9, 2024
62efa95
fix: Remove more menu for Page text element (#4390)
timarney Oct 10, 2024
11c65b7
chore: GCForms release v3.22.3 (#4382)
sre-read-write[bot] Oct 10, 2024
79e3187
chore: add migration for custom closed message (#4394)
timarney Oct 10, 2024
7554555
fix: use CDS Trivy vulnerability database (#4391)
patheard Oct 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 6 additions & 5 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
FROM node:16@sha256:f77a1aef2da8d83e45ec990f45df50f1a286c5fe8bbfb8c6e4246c6389705c0b

FROM node:20@sha256:93d2e801dabc677ea0b30b47d3d729fab63ecb20be7ac0ab204cc3c65731297a

ARG USERNAME=node
ARG USER_UID=1000
ARG USER_GID=$USER_UID

COPY flag_initialization /src
COPY .yarn /src/.yarn
COPY .yarnrc.yml /src
WORKDIR /src
RUN yarn install

FROM node:16@sha256:f77a1aef2da8d83e45ec990f45df50f1a286c5fe8bbfb8c6e4246c6389705c0b
FROM node:20@sha256:93d2e801dabc677ea0b30b47d3d729fab63ecb20be7ac0ab204cc3c65731297a

ARG USERNAME=node
ARG USER_UID=1000
Expand All @@ -18,9 +19,9 @@ ARG USER_GID=$USER_UID
COPY . /src
WORKDIR /src

RUN yarn install
RUN yarn install

FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-16@sha256:4e8ea446290f6b2456e4bd4de6d2ea966059c28c08a2defeec830b0a90e8a275
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-20@sha256:a20adf8775b442587c7fe3d5ce6f2f2bc084cd4e9dacc27b1a2d0840f28e57c9
LABEL maintainer="-"

ARG USERNAME=node
Expand Down
6 changes: 3 additions & 3 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
- 3000

db:
image: postgres:11.16@sha256:5d2aa4a7b5f9bdadeddcf87cf7f90a176737a02a30d917de4ab2e6a329bd2d45
image: postgres:13.14@sha256:e0892b968fb80d181a96f18bfef0a8a1693c2430fb2bc7392e65a53057eaa303
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: chummy
Expand All @@ -30,8 +30,8 @@ services:

redis:
restart: unless-stopped
image: redis:latest@sha256:2976bc0437deff693af2dcf081a1d1758de8b413e6de861151a5a136c25eb9e4
image: redis:latest@sha256:fb534a36ac2034a6374933467d971fbcbfa5d213805507f560d564851a720355
ports:
- "6379:6379"
expose:
- 6379
- 6379
12 changes: 2 additions & 10 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@
NOTIFY_API_KEY=
TEMPLATE_ID=

# This is required for the Google ReCaptcha feature to work
# The site key is used to invoke reCAPTCHA service on site/app
# The secret key authorizes communication between your application backend
# and the reCAPTCHA server to verify the user's response
RECAPTCHA_V3_SITE_KEY=
RECAPTCHA_V3_SECRET_KEY=

# This is required for the JWT token related features to work
TOKEN_SECRET=

Expand All @@ -26,13 +19,12 @@ LOCAL_AWS_ENDPOINT=http://127.0.0.1:4566
DATABASE_URL=postgres://localstack_postgres:chummy@localhost:4510/forms
REDIS_URL=localhost

# This is required for the authentication to work
COGNITO_REGION=ca-central-1
# This is required for the authentication to work in local development. Ask a team member for the values.
COGNITO_APP_CLIENT_ID=
COGNITO_USER_POOL_ID=
COGNITO_ACCESS_KEY=
COGNITO_SECRET_KEY=

# This is required for the support and contact us pages to work
EMAIL_ADDRESS_SUPPORT=
EMAIL_ADDRESS_CONTACT_US=
EMAIL_ADDRESS_CONTACT_US=
5 changes: 5 additions & 0 deletions .eslint-tailwindcss.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ module.exports = {
tailwindcss: {
whitelist: [
"(gc\\-).*",
"(gcds\\-).*",
"form-builder",
"form-builder-editor",
"page-container",
"visually-hidden",
"buttons",
Expand All @@ -31,6 +33,9 @@ module.exports = {
"radio-label-text",
"checkbox-label-text",
"example-text",
"section",
"maple-leaf-loader",
"flow-container",
],
},
},
Expand Down
5 changes: 4 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
/utils

# Ignore polyfills
/public/static/scripts/
/public/static/scripts/

# Ignore old API tests folder
/__tests__/api/
17 changes: 4 additions & 13 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
parserOptions: {
project: ["./tsconfig.json"],
},
plugins: ["@typescript-eslint", "jsx-a11y", "prettier"],
plugins: ["@typescript-eslint", "jsx-a11y"],
rules: {
"@typescript-eslint/await-thenable": "error",
},
Expand All @@ -20,7 +20,7 @@ module.exports = {
project: ["./cypress/tsconfig.json"],
},
extends: ["plugin:@typescript-eslint/recommended", "plugin:cypress/recommended"],
plugins: ["@typescript-eslint", "prettier", "cypress"],
plugins: ["@typescript-eslint", "cypress"],
},
],
env: {
Expand All @@ -29,15 +29,7 @@ module.exports = {
node: true,
jest: true,
},
extends: [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:jsx-a11y/recommended",
"plugin:prettier/recommended",
"plugin:@next/next/recommended",
"prettier",
],
extends: ["eslint:recommended", "next/core-web-vitals"],
parserOptions: {
ecmaFeatures: {
jsx: true,
Expand All @@ -50,9 +42,8 @@ module.exports = {
version: "detect",
},
},
plugins: ["react", "jsx-a11y", "prettier"],
plugins: ["react", "jsx-a11y"],
rules: {
"prettier/prettier": "error",
"no-console": "error",
"no-await-in-loop": "error",
"no-return-await": "error",
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Users that are allowed to approve a release PR
.release-please-manifest.json @bryan-robitaille @dsamojlenko @timarney
.release-please-manifest.json @bryan-robitaille @dsamojlenko @timarney @wmoussa-gc @craigzour
14 changes: 7 additions & 7 deletions .github/workflows/backstage-catalog-helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
fetch-depth: 0
- name: Run Backstage Catalog Info Helper
Expand All @@ -28,10 +28,10 @@ jobs:
uses: peter-evans/create-pull-request@v3
with:
token: ${{ steps.generate_token.outputs.token}}
commit-message: 'Add catalog-info.yaml'
branch: 'backstage/catalog-info'
title: 'Add catalog-info.yaml'
body: 'Adding a basic catalog-info.yaml to start populating the backstage catalog with your components.'
labels: 'backstage'
commit-message: "Add catalog-info.yaml"
branch: "backstage/catalog-info"
title: "Add catalog-info.yaml"
body: "Adding a basic catalog-info.yaml to start populating the backstage catalog with your components."
labels: "backstage"
add-paths: |
catalog-info.yaml
catalog-info.yaml
2 changes: 1 addition & 1 deletion .github/workflows/cache-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Cleanup
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Initialize CodeQL
uses: github/codeql-action/init@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0
uses: github/codeql-action/init@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0
uses: github/codeql-action/autobuild@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0
uses: github/codeql-action/analyze@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
with:
category: "/language:${{ matrix.language }}"
48 changes: 48 additions & 0 deletions .github/workflows/cypress-component.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Cypress Component Tests
on:
pull_request:
branches: [develop, main, feature/*]

jobs:
cypress-run:
name: Cypress Component Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1.2.0
- name: Node.JS Setup
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: .nvmrc

- name: Yarn update to V4
run: corepack enable && yarn set version berry

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT

- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: linux-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
linux-yarn-

- name: "Install dependencies"
run: yarn workspaces focus gcforms flag_initialization

- name: Cypress Component Tests
uses: cypress-io/github-action@8d3918616d8ac34caa2b49afc8b408b6a872a6f5 # v6.7.1
with:
# we have already installed all dependencies above
install: false
browser: chrome
component: true
headed: false
- uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
26 changes: 9 additions & 17 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres@sha256:71da05df8c4f1e1bac9b92ebfba2a0eeb183f6ac6a972fd5e55e8146e29efe9c
image: postgres@sha256:0aafd2ae7e6c391f39fb6b7621632d79f54068faebc726caf469e87bd1d301c0
env:
POSTGRES_PASSWORD: postgres
# Set health checks to wait until postgres has started
Expand All @@ -24,7 +24,7 @@ jobs:
- 5432:5432
redis:
# Docker Hub image
image: redis@sha256:2976bc0437deff693af2dcf081a1d1758de8b413e6de861151a5a136c25eb9e4
image: redis@sha256:fb534a36ac2034a6374933467d971fbcbfa5d213805507f560d564851a720355
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
Expand All @@ -34,18 +34,18 @@ jobs:
- 6379:6379
env:
# Needed for Next Auth to initialize
HOST_URL: http://localhost:3000
TOKEN_SECRET: testKey
APP_ENV: test
NEXT_PUBLIC_APP_ENV: test
REDIS_URL: localhost
DATABASE_URL: postgres://postgres:postgres@localhost:5432/formsDB
steps:
- name: Checkout
uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1.2.0
- name: Node.JS 18
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
- name: Node.JS Setup
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: 18.15
node-version-file: .nvmrc

- name: Yarn update to V4
run: corepack enable && yarn set version berry
Expand All @@ -54,7 +54,7 @@ jobs:
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT

- uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand All @@ -66,7 +66,7 @@ jobs:
run: yarn workspaces focus gcforms flag_initialization

- name: Cypress Tests
uses: cypress-io/github-action@d79d2d530a66e641eb4a5f227e13bc985c60b964 # v4.2.2
uses: cypress-io/github-action@8d3918616d8ac34caa2b49afc8b408b6a872a6f5 # v6.7.1
with:
# we have already installed all dependencies above
install: false
Expand All @@ -76,15 +76,7 @@ jobs:
start: yarn start:test
wait-on: "http://localhost:3000"
config: baseUrl=http://localhost:3000
- name: Cypress Component Tests
uses: cypress-io/github-action@d79d2d530a66e641eb4a5f227e13bc985c60b964 # v4.2.2
with:
# we have already installed all dependencies above
install: false
browser: chrome
component: true
headed: false
- uses: actions/upload-artifact@3446296876d12d4e3a0f3145a3c87e67bf0a16b5 # tag=v1
- uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
if: failure()
with:
name: cypress-screenshots
Expand Down
Loading
Loading