Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into remove-hardcoded-content
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPonchia committed Dec 5, 2024
2 parents 81a831a + b9003b6 commit 726f9ac
Show file tree
Hide file tree
Showing 30 changed files with 539 additions and 90 deletions.
5 changes: 0 additions & 5 deletions .changeset/dry-papayas-switch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/flat-walls-cough.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hungry-eels-stare.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/many-pens-grab.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/plenty-parrots-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"active-campaign-client": minor
---

Add function to subscribe and upsubscribe contact from active campaign list
5 changes: 0 additions & 5 deletions .changeset/silly-geese-shop.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/soft-socks-build.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/stale-wombats-cover.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ten-trains-grin.md

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/deploy_ac_sync_lambda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
node-version: '20.x'

- name: Install dependencies
shell: bash
run: npm install

- name: Build
Expand Down
12 changes: 12 additions & 0 deletions apps/infrastructure/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# infrastructure

## 1.4.0

### Minor Changes

- e1f67d6: Implemented active campaign syncer infrastructure
- e623940: Langfuse infrastructure implemented

### Patch Changes

- bbe33fc: Fix img_src CSP directive to see also in Dev the images inserted using production's CMS
- 94ca22c: Added permissions to deploy the ac sync lambdas via GH actions

## 1.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/infrastructure/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "infrastructure",
"version": "1.3.0",
"version": "1.4.0",
"private": true
}
4 changes: 2 additions & 2 deletions apps/infrastructure/src/modules/website/cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ locals {
form_action = "'self'"
font_src = "data: 'self' https://privacyportalde-cdn.onetrust.com/privacy-notice-scripts/icons/"
connect_src = "'self' https://cognito-identity.eu-south-1.amazonaws.com/ https://dynamodb.eu-south-1.amazonaws.com/ https://cognito-idp.eu-south-1.amazonaws.com/ https://raw.githubusercontent.com/pagopa/ https://raw.githubusercontent.com/teamdigitale/ https://*.cookielaw.org https://*.onetrust.com https://www.google-analytics.com https://api.io.italia.it *.google-analytics.com https://pagopa.matomo.cloud/ https://*.${var.dns_domain_name}"
img_src = "data: 'self' https://i.vimeocdn.com/ https://io.italia.it/assets/ https://raw.githubusercontent.com/pagopa/ https://www.pagopa.gov.it/assets/ https://*.cookielaw.org/logos/ recaptcha.net https://*.googleusercontent.com https://*.${var.dns_domain_name}"
img_src = "data: 'self' https://i.vimeocdn.com/ https://io.italia.it/assets/ https://raw.githubusercontent.com/pagopa/ https://www.pagopa.gov.it/assets/ https://*.cookielaw.org/logos/ recaptcha.net https://*.googleusercontent.com https://*.dev.developer.pagopa.it https://*.developer.pagopa.it"
frame_src = "https://player.vimeo.com/ https://vimeo.com/ https://demo.arcade.software/ https://www.google.com https://recaptcha.net https://www.youtube.com https://pagopa.applytojob.com https://www.figma.com/ https://codepen.io/"
}

Expand Down Expand Up @@ -110,4 +110,4 @@ resource "aws_cloudfront_distribution" "website" {
acm_certificate_arn = var.use_custom_certificate ? aws_acm_certificate.website.arn : null
ssl_support_method = var.use_custom_certificate ? "sni-only" : null
}
}
}
9 changes: 9 additions & 0 deletions apps/infrastructure/src/modules/website/iam_policy.tf
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,15 @@ resource "aws_iam_policy" "deploy_website" {
Resource = [
aws_cloudfront_distribution.website.arn
]
},
{
Action = [
"lambda:UpdateFunctionCode"
]
Effect = "Allow"
Resource = [
"arn:aws:lambda:${var.aws_region}:${data.aws_caller_identity.current.account_id}:function:ac-${var.environment}-*"
]
}
]
})
Expand Down
7 changes: 7 additions & 0 deletions apps/nextjs-website/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# nextjs-website

## 4.13.0

### Minor Changes

- 7ac487f: Fix related links and webinar codec
- fe61351: Add history to send query endpoint

## 4.12.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/nextjs-website/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nextjs-website",
"version": "4.12.0",
"version": "4.13.0",
"private": true,
"scripts": {
"download-docs": "./scripts/fetch-docs.sh docs/from-gitbook",
Expand Down
Loading

0 comments on commit 726f9ac

Please sign in to comment.