Skip to content

Commit

Permalink
Production Deployment (#2265)
Browse files Browse the repository at this point in the history
* Fix Tajweed Mushaf V4 (#2215)

fix font files

* QF-984 add support for multiple authors per learning plan (#2217)

* QF-984 add support for multiple authors per learning plan

* QF-985 Add multiple learning plan editors (#2218)

* Update localized Surah names (#2197)

* Fix duplicated translations languge name (#2198)

* Update Urdu Surah names (#2202)

* QF-1065 Add MS locale support (#2222)

Add MS locale support

* fix pages sidebar for the tajweed mushaf (#2212)

Co-authored-by: Ahmed Hussein <[email protected]>

* QF-985 allow more than 3 editors

* QF-1056 disable auto-translate for media generator content (#2220)

* QF-986 Add the ability to embed iframes in markdown (#2219)

* Add the ability to embed iframes in markdown

* Fix TS issue

* Fix TS issue

* Fix TS issue

* Fix TS issue

* QF-986 allow Youtube embeddings

* QF-982 allow user to play audio on login page (#2225)

* [QF-625] introduced proxy to backend with redirect to auth (#2191)

* Feat: Request signature generation to interact with API gateway (#2226)

* introduced proxy to backend with redirect to auth

* feat: introduced signature generation for interecting with api gateway

* fix: added documentation and resolved some changes requested

* adds documentation

* fix: added comment to explain the purpose of [...path] file

* Fix linting issues

* fix: added support for content and auth service through API gateway

* fix: resolve build issue for static props building

* fix: fixed env var name

---------

Co-authored-by: Osama Sayed <[email protected]>

* QF-1056 disable auto-translate for media generator content

* QF-982 allow user to play audio on login page

* QF-1112, QF-1111 update embedded iframe styling (#2229)

* Update mushaf pages (#2230)

* QF-985 Add multiple learning plan editors

* QF-984 add support for multiple authors per learning plan

* Update localized Surah names

* Add MS locale support

* fix: added env in package.json to use it on build time (#2227)

* QF-986 allow Youtube embeddings

* Add the ability to embed iframes in markdown

* Fix TS issue

* Fix TS issue

* Fix TS issue

* Fix TS issue

* QF-1112, QF-1111 update embedded iframe styling

* [QF-1165]: resolves the build and redirect issue (#2233)

* fix: resolves the build and redirect issue

* Fix cyclic dependency issue

* fix TS issue

---------

Co-authored-by: Osama Sayed <[email protected]>

* Add clarity to security headers

* fix: base url for auth page issue (#2234)

* fix: fixed undefined issue for unapproved translations (#2231)

* Fix: reoslves undefined and patch requests issue (#2235)

* fix: add patch in signature gen to use body

* fix: undifend issue in selected translation

* QF-1105 remove hiring footer section (#2232)

* [QF-625] introduced proxy to backend with redirect to auth (#2191)

* Feat: Request signature generation to interact with API gateway (#2226)

* introduced proxy to backend with redirect to auth

* feat: introduced signature generation for interecting with api gateway

* fix: added documentation and resolved some changes requested

* adds documentation

* fix: added comment to explain the purpose of [...path] file

* Fix linting issues

* fix: added support for content and auth service through API gateway

* fix: resolve build issue for static props building

* fix: fixed env var name

---------

Co-authored-by: Osama Sayed <[email protected]>

* fix: added env in package.json to use it on build time (#2227)

* [QF-1165]: resolves the build and redirect issue (#2233)

* fix: resolves the build and redirect issue

* Fix cyclic dependency issue

* fix TS issue

---------

Co-authored-by: Osama Sayed <[email protected]>

* fix: base url for auth page issue (#2234)

* Fix: reoslves undefined and patch requests issue (#2235)

* fix: add patch in signature gen to use body

* fix: undifend issue in selected translation

* fix: added env in package.json to use it on build time (#2227)

* Updates

* QF-1214 change editors to contributors (#2244)

* QF-1214 change editors to contributors (#2244)

* QF-1188 Revert disabling wbw audio data (#2248)

* Revert disabling wbw audio data

* Fix audioUrl

* Sync locales

* Sync locales

* QF-1188 Revert disabling wbw audio data (#2248)

* Revert disabling wbw audio data

* Fix audioUrl

* Sync locales

* Sync locales

* Tajweed mushaf fixes 21 11 2024 (#2247)

* update page 202

* update page 310 and 395

* update page 303

* update page 400

* Tajweed mushaf fixes 21 11 2024 (#2247)

* update page 202

* update page 310 and 395

* update page 303

* update page 400

* Set maximum width for iframes (#2254)

* Set maximum width for iframes (#2254)

* Upgrade Next.js to V14 (#2194)

* Upgrade

* Update storybook

* Update @svgr/webpack

* Update vitest

* Update playwright

* Update Redux

* Update Husky

* Update Typescript

* Update types

* Fix Husky

* Remove next-transpile-modules

* Update next-translate

* Fix sitemap generation issue

* Update next-seo

* Update react-hotkeys-hook

* Update lint-staged

* Update Remotion

* Update postcss, sass and sass-loader

* Update @next/bundle-analyzer

* Fix video thumbnails

* Solve merge conflict changes

* Fix tests failing issue

* Upgrade Next.js to V14 (#2194)

* Upgrade

* Update storybook

* Update @svgr/webpack

* Update vitest

* Update playwright

* Update Redux

* Update Husky

* Update Typescript

* Update types

* Fix Husky

* Remove next-transpile-modules

* Update next-translate

* Fix sitemap generation issue

* Update next-seo

* Update react-hotkeys-hook

* Update lint-staged

* Update Remotion

* Update postcss, sass and sass-loader

* Update @next/bundle-analyzer

* Fix video thumbnails

* Solve merge conflict changes

* Fix tests failing issue

* fix: signature generation for Delete method with payload (#2255)

* fix page 3, 445, and 453 (#2258)

* fix page 3,445, and 453

* fix the ayah text on collection page (#2257)

* fix the ayah text on collection page

* QF-1426 wbw (#2261)

* Enable word by word for all users and enable it for reading view

* Always enable Ayah menu for reading view (#2262)

* fix: signature generation for Delete method with payload (#2255)

* QF-1426 wbw (#2261)

* Enable word by word for all users and enable it for reading view

* Always enable Ayah menu for reading view (#2262)

* QF-946 Update french locales (#2209)

* Update French locales

* Update French locales

* QF-946 Update french locales (#2209)

* Update French locales

* Update French locales

* Update locales and remove new label (#2264)

* Update locales and remove new label

* fix: site map generation (#2246)

fix: site map generation with tafsirs, reciters and courses after api gateway resolved

* QF-1453 Update API docs link (#2266)

Update API docs link

* sync locales

---------

Co-authored-by: Ahmed Hussein <[email protected]>
Co-authored-by: Ahmed Hussein <[email protected]>
Co-authored-by: Hafiz Mohsin Ayoob <[email protected]>
  • Loading branch information
4 people authored Dec 19, 2024
1 parent 30e08fc commit 3fdb061
Show file tree
Hide file tree
Showing 373 changed files with 9,864 additions and 8,175 deletions.
6 changes: 5 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ NEXT_PUBLIC_NOVU_APP_ID=

NEXT_PUBLIC_SENTRY_DSN=
NEXT_PUBLIC_SERVER_SENTRY_ENABLED=false
NEXT_PUBLIC_CLIENT_SENTRY_ENABLED=true
NEXT_PUBLIC_CLIENT_SENTRY_ENABLED=true

NODE_TLS_REJECT_UNAUTHORIZED=0 #set this only when SSL is self signed
SIGNATURE_TOKEN=1234
INTERNAL_CLIENT_ID=QDC_WEB
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
4 changes: 2 additions & 2 deletions .storybook/manager.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// .storybook/manager.js

import { addons } from '@storybook/addons';
import { addons } from '@storybook/manager-api';
import theme from './QDCTheme';

addons.setConfig({
theme,
});
});
4 changes: 2 additions & 2 deletions configs/SecurityHeaders.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
*/
const ContentSecurityPolicy = `
default-src 'self' *.qurancdn.com cdn.plaid.com;
script-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.googletagmanager.com https://www.google-analytics.com https://ssl.google-analytics.com https://vitals.vercel-insights.com https://www.givingloop.org https://code.jquery.com https://www.google.com https://js.stripe.com https://ipinfo.io https://snap.licdn.com https://cdn.mouseflow.com https://www.paypal.com https://wchat.eu.freshchat.com https://cdn.plaid.com https://cdnjs.cloudflare.com https://cdn.amplitude.com https://cdn.logrocket.io https://www.gstatic.com https://js.stripe.com;
script-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.googletagmanager.com https://www.google-analytics.com https://ssl.google-analytics.com https://vitals.vercel-insights.com https://www.givingloop.org https://code.jquery.com https://www.google.com https://js.stripe.com https://ipinfo.io https://snap.licdn.com https://cdn.mouseflow.com https://www.paypal.com https://wchat.eu.freshchat.com https://cdn.plaid.com https://cdnjs.cloudflare.com https://cdn.amplitude.com https://cdn.logrocket.io https://www.gstatic.com https://js.stripe.com https://www.clarity.ms;
font-src 'self' 'unsafe-inline' 'unsafe-eval' givingloop.org fonts.gstatic.com https://www.givingloop.org;
frame-src 'self' 'unsafe-inline' 'unsafe-eval' https://js.stripe.com/v3 js.stripe.com https://www.paypal.com www.paypal.com https://wchat.eu.freshchat.com https://www.google.com www.google.com;
frame-src 'self' 'unsafe-inline' 'unsafe-eval' https://js.stripe.com/v3 js.stripe.com https://www.paypal.com www.paypal.com https://wchat.eu.freshchat.com https://www.google.com www.google.com www.youtube.com;
style-src 'self' 'unsafe-inline' 'unsafe-eval' *.givingloop.org givingloop.org fonts.googleapis.com fonts.googleapis.com wchat.eu.freshchat.com;
img-src * data:;
media-src 'self' data: blob: *.quranicaudio.com *.qurancdn.com https://qurancdn.com https://images.quran.com;
Expand Down
Loading

0 comments on commit 3fdb061

Please sign in to comment.