Skip to content

Commit

Permalink
Merge pull request #123 from tekdi/merge-release-1.0.0-to-main
Browse files Browse the repository at this point in the history
Merge release 1.0.0 to main
  • Loading branch information
itsvick authored Nov 27, 2024
2 parents c293358 + 46e9130 commit 5933064
Show file tree
Hide file tree
Showing 240 changed files with 2,777 additions and 1,665 deletions.
6 changes: 4 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
BASE_URL="" # Middleware Path - eg : "https://middleware.prathamdigital.org"
AUTH_API_TOKEN="" # User Auth Access Token
TENANT_ID="" # Tenant Id of User
CLOUD_STORAGE_URL="" #Use environment variable for S3 Cloud Storage URL
NEXT_PUBLIC_TENANT_ID="" # Tenant Id of User
NEXT_PUBLIC_CLOUD_STORAGE_URL="" # Use environment variable for S3 Cloud Storage URL - should have / at the end.
NEXT_PUBLIC_CHANNEL_ID="" # Channel Id of knowlg-inQuiry setup
NEXT_PUBLIC_FRAMEWORK_ID="" # Framework Id of knowlg-inQuiry setup
8 changes: 4 additions & 4 deletions .github/workflows/dev-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ env:
EKS_CLUSTER_NAME: ${{ secrets.EKS_CLUSTER_NAME_DEV }}
AWS_REGION: ${{ secrets.AWS_REGION_NAME }}
jobs:
build:

build_dev:
name: Deployment
runs-on: ubuntu-latest
steps:
Expand All @@ -32,7 +31,8 @@ jobs:
- name: Copy .env file
env:
ENV_FILE_CONTENT: ${{ secrets.ENV_FILE_CONTENT_DEV }}
run: printf "%s" "$ENV_FILE_CONTENT" > manifest/configmap.yaml
run: printf "%s" "$ENV_FILE_CONTENT" > manifest/configmap.yaml
# run: echo "$ENV_FILE_CONTENT" > manifest/configmap.yaml
- name: Copy .env file in the code
env:
DEV_ENV: ${{ secrets.DEV_ENV }}
Expand Down Expand Up @@ -89,4 +89,4 @@ jobs:
sleep 10
kubectl get pods
kubectl get services
kubectl get deployment
kubectl get deployment
2 changes: 1 addition & 1 deletion .github/workflows/qa-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy to Tekdi-QA-Server
on:
push:
branches:
- main
- release-1.0.0
jobs:
deploy:
runs-on: ubuntu-latest
Expand Down
11 changes: 10 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ const nextConfig = {
source: "/action/asset/v1/upload/:identifier*", // Match asset upload routes
destination: "/api/fileUpload", // Forward asset uploads to fileUpload.js
},
{
source: "/assets/pdfjs/:path*", // Match any URL starting with /workspace/content/assets/
destination: "/assets/:path*", // Serve the assets from the public folder
},
{
source: "/action/content/v3/upload/url/:identifier*", // Match content upload with 'url' in the path
destination:
Expand Down Expand Up @@ -58,7 +62,7 @@ const nextConfig = {
},
{
source: "/assets/public/:path*", // Match any URL starting with /assets/public/
destination: `${process.env.CLOUD_STORAGE_URL}/:path*`, // Forward to S3, stripping "/assets/public"
destination: `${process.env.NEXT_PUBLIC_CLOUD_STORAGE_URL}/:path*`, // Forward to S3, stripping "/assets/public"
},
{
source: "/workspace/content/assets/:path*", // Match any URL starting with /workspace/content/assets/
Expand Down Expand Up @@ -125,6 +129,11 @@ const nextConfig = {
"./UploadEditor": "/src/pages/upload-editor.tsx",
"./Collection": "/src/pages/collection.tsx",
"./SunbirdPlayers": "/src/pages/sunbirdPlayers.tsx",
"./Review": "/src/pages/workspace/content/review/index.tsx",
"./UpReview": "/src/pages/workspace/content/up-review/index.tsx",
"./DiscoverContent": "/src/pages/workspace/content/discover-contents/index.tsx",


},
})
);
Expand Down
48 changes: 43 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"lint": "next lint"
},
"dependencies": {
"@emotion/react": "11.11.4",
"@emotion/styled": "11.11.5",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@module-federation/nextjs-mf": "^8.5.5",
"@module-federation/utilities": "3.0.11",
"@mui/icons-material": "^5.15.20",
"@mui/material": "^5.16.0",
"@mui/icons-material": "^5.15.15",
"@mui/material": "^5.15.21",
"@project-sunbird/sunbird-collection-editor-web-component": "^1.6.0",
"async": "^3.2.5",
"body-parser": "^1.20.2",
Expand All @@ -30,6 +30,7 @@
"jquery": "^3.7.1",
"jquery-ui-dist": "^1.13.3",
"jquery.fancytree": "^2.38.3",
"ka-table": "^11.3.0",
"lodash": "^4.17.21",
"mathjax-full": "^3.2.2",
"multer": "^1.4.5-lts.1",
Expand All @@ -40,7 +41,8 @@
"reflect-metadata": "^0.1.13",
"svg2img": "^1.0.0-beta.2",
"url": "^0.11.3",
"uuid": "^10.0.0"
"uuid": "^10.0.0",
"zustand": "^5.0.1"
},
"devDependencies": {
"@types/jquery": "^3.5.31",
Expand Down
Binary file added public/150+.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/delete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon.ico
Binary file not shown.
Binary file added public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion public/workspace/content/assets/add.svg

This file was deleted.

1 change: 0 additions & 1 deletion public/workspace/content/assets/arrow-right.svg

This file was deleted.

1 change: 0 additions & 1 deletion public/workspace/content/assets/badge-2.svg

This file was deleted.

1 change: 0 additions & 1 deletion public/workspace/content/assets/exit_to_app.svg

This file was deleted.

1 change: 0 additions & 1 deletion public/workspace/content/assets/iconclosedownload.svg

This file was deleted.

1 change: 0 additions & 1 deletion public/workspace/content/assets/minus.svg

This file was deleted.

1 change: 0 additions & 1 deletion public/workspace/content/assets/next-arrow.svg

This file was deleted.

1 change: 0 additions & 1 deletion public/workspace/content/assets/pdfjs/build/pdf.js

This file was deleted.

1 change: 0 additions & 1 deletion public/workspace/content/assets/pdfjs/build/pdf.worker.js

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 0 additions & 3 deletions public/workspace/content/assets/pdfjs/web/cmaps/CNS2-V.bcmap

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 0 additions & 4 deletions public/workspace/content/assets/pdfjs/web/cmaps/GB-H.bcmap

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed public/workspace/content/assets/pdfjs/web/cmaps/H.bcmap
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
36 changes: 0 additions & 36 deletions public/workspace/content/assets/pdfjs/web/cmaps/LICENSE

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed public/workspace/content/assets/pdfjs/web/cmaps/V.bcmap
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 5933064

Please sign in to comment.