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

[Final Integration]: Notifications #2757

Draft
wants to merge 27 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
020b00d
[Feat]: Notification List UI Implementation (#2711)
Ayush8923 Dec 27, 2024
6b01240
[Feat]: Notification list logic updates (#2738)
Ayush8923 Dec 27, 2024
1f70eda
Merge branch 'master' into feat/1055_notifications-final
sleidig Jan 3, 2025
d4b7627
[Feat]: Notification Setting Page (#2712)
Ayush8923 Jan 3, 2025
beebbe3
Merge branch 'master' into feat/1055_notifications-final
sleidig Jan 3, 2025
76323fe
Merge branch 'master' into feat/1055_notifications-final
sleidig Jan 6, 2025
fdd6a31
[Feat]: Notification setting logic updates (#2752)
Ayush8923 Jan 8, 2025
2492e64
Merge branch 'master' into feat/1055_notifications-final
sleidig Jan 8, 2025
f76a7bc
Merge branch 'master' into feat/1055_notifications-final
sleidig Jan 9, 2025
ddbf265
feat: notification entry navigates to the relevant view (#2786)
Ayush8923 Jan 17, 2025
51d78ef
feat: firebase integration for push notification (#2692)
Ayush8923 Jan 19, 2025
e0bb360
feat: notification rule condition logic (#2767)
Ayush8923 Jan 19, 2025
690bb63
Merge branch 'master' into feat/1055_notifications-final
tomwwinter Jan 19, 2025
f0a585f
fix: notification race condition
tomwwinter Jan 20, 2025
0252c0e
fix: nginx proxy
tomwwinter Jan 20, 2025
4dfd350
fix: add google fcm csp
tomwwinter Jan 20, 2025
83145e9
fix: update csp for gstatic and fcm
tomwwinter Jan 20, 2025
eb8ed44
Update the Notification event to relevent view (#2796)
Ayush8923 Jan 23, 2025
0288e7b
Merge branch 'master' into feat/1055_notifications-final
Ayush8923 Jan 24, 2025
f06ce69
[Feat]: Json Editor Component (#2785)
Ayush8923 Jan 24, 2025
a3e55b0
Merge branch 'master' into feat/1055_notifications-final
sleidig Jan 24, 2025
0b095f3
[Fix]: Notifications: Internal testing updates (#2803)
Ayush8923 Jan 26, 2025
a9b3cf1
Merge branch 'master' into feat/1055_notifications-final
sleidig Jan 26, 2025
c904ddc
Merge branch 'master' into feat/entity-field-select-component
sleidig Jan 30, 2025
b141894
Merge branch 'master'
sleidig Jan 30, 2025
2d0b83c
fix: fix error syncing while uploading a file
sleidig Jan 31, 2025
4a55137
Merge branch 'master' into feat/1055_notifications-final
sleidig Jan 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,8 @@ fabric.properties
# video and screenshot of the tests from Cypress
./e2e/screenshots
./e2e/videos

# Firebase
.firebase
*-debug.log
.runtimeconfig.json
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
package.json
src/firebase-messaging-sw.js
1 change: 1 addition & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"src/assets",
"src/favicon.ico",
"src/manifest.webmanifest",
"src/firebase-messaging-sw.js",
{
"glob": "**/*",
"input": "node_modules/leaflet/dist/images/",
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@
# overwrite the Content-Security-Policy rules (report-uri is added automatically)
# default includes all required whitelists for production server
# to disable any CSP blocking, set to "default-src * data: blob: filesystem: about: ws: wss: 'unsafe-inline' 'unsafe-eval'"
ENV CSP="default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: https://*.tile.openstreetmap.org/ https://matomo.aam-digital.org https://*.aam-digital.com https://*.aam-digital.net https://*.aam-digital.app https://api.github.com/repos/Aam-Digital/ https://sentry.io $CSP_REPORT_URI; style-src 'self' 'unsafe-inline'"
ENV CSP="default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: https://*.tile.openstreetmap.org/ https://matomo.aam-digital.org https://fcmregistrations.googleapis.com/v1/projects/aam-digital-b8a7b https://www.gstatic.com/firebasejs/11.2.0 https://*.aam-digital.com https://*.aam-digital.net https://*.aam-digital.app https://api.github.com/repos/Aam-Digital/ https://sentry.io $CSP_REPORT_URI; style-src 'self' 'unsafe-inline'"
# 'unsafe-eval' required for pouchdb https://github.com/pouchdb/pouchdb/issues/7853#issuecomment-535020600

# variables are inserted into the nginx config
CMD envsubst '$$PORT $$COUCHDB_URL $$QUERY_URL $$NOMINATIM_URL $$CSP $$CSP_REPORT_URI' < /etc/nginx/templates/default.conf > /etc/nginx/conf.d/default.conf &&\

Check warning on line 143 in build/Dockerfile

View workflow job for this annotation

GitHub Actions / build (linux/amd64, ubuntu-latest)

JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals

JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals More info: https://docs.docker.com/go/dockerfile/rule/json-args-recommended/

Check warning on line 143 in build/Dockerfile

View workflow job for this annotation

GitHub Actions / build (linux/arm64, self-hosted, Linux, ARM64)

JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals

JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals More info: https://docs.docker.com/go/dockerfile/rule/json-args-recommended/
nginx -g 'daemon off;'
10 changes: 10 additions & 0 deletions build/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@ server {
proxy_set_header X-Forwarded-Ssl on;
}

# The proxy path should be the same as in SqlReportService.QUERY_PROXY
location ^~ /api {
proxy_pass ${QUERY_URL};
proxy_redirect off;
proxy_buffering off;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Ssl on;
}

# The proxy path should be the same as in GeoService.remoteUrl
location ^~ /nominatim {
rewrite /nominatim/(.*) /$1 break;
Expand Down
Loading