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

added Marketplace Providers in spv portal #814

Open
wants to merge 187 commits into
base: cbrelease-4.8.17
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
187 commits
Select commit Hold shift + click to select a range
871ee66
Update Dockerfile
sureshece16 Jul 16, 2024
76bac2c
mdo portal designations help header change
mansurskTarento Aug 1, 2024
4da84aa
Merge pull request #801 from mansurskTarento/odcs-manage-designations
christyfernandes Aug 1, 2024
2b93405
KAR-690 hindi & gujrati lang file updated
garima468 Aug 2, 2024
5c1524d
Merge pull request #802 from sunbird-cb/KAR-690-multilingual-changes
vishnubansaltarento Aug 2, 2024
6b2ed91
Fixed:- Survey changes for learner portal
Afzal84 Aug 5, 2024
af62602
Tri color theme
venkykandagaddala Aug 5, 2024
c58069e
Merge pull request #803 from venkykandagaddala/cbrelease-4.8.16.1
venkykandagaddala Aug 5, 2024
47ab8d9
Fixed:- Survey changes for learner portal
Afzal84 Aug 6, 2024
623c3de
Merge pull request #804 from sunbird-cb/hubs-banner-changes
venkykandagaddala Aug 6, 2024
70a65be
Merge pull request #805 from sunbird-cb/cbrelease-4.8.16
venkykandagaddala Aug 6, 2024
7c334b4
still working on the enrollmap for ext content
Aug 6, 2024
cbdec18
Update the independence day
venkykandagaddala Aug 6, 2024
180666a
Merge pull request #806 from venkykandagaddala/cbrelease-4.8.16.1
venkykandagaddala Aug 6, 2024
6fd5658
added new bulk_upload video for assessment
Aug 6, 2024
aca7b88
Merge pull request #807 from abhishek-K-P/sprint-16-dev
abhishek-K-P Aug 6, 2024
4ab8b3c
changes in the lable for ext provider
Aug 6, 2024
7b7d443
Merge pull request #808 from sunbird-cb/labelchanges
vishnubansaltarento Aug 6, 2024
06e24fe
Task #0000: added new framework name for BM deployment
christyfernandes Aug 6, 2024
d005965
Merge pull request #809 from christyfernandes/cbrelease-4.8.16
christyfernandes Aug 6, 2024
6b7444a
update for cios no certificate image
vishnubansaltarento Aug 6, 2024
3f01b02
Merge pull request #810 from vishnubansaltarento/cios-changes-for-cer…
vishnubansaltarento Aug 6, 2024
2b23114
Merge pull request #811 from sunbird-cb/cbrelease-4.8.16
vishnubansaltarento Aug 7, 2024
2d673c1
Merge pull request #812 from sunbird-cb/cbrelease-4.8.15
vishnubansaltarento Aug 7, 2024
b18178b
Merge pull request #813 from sunbird-cb/cbrelease-4.8.16
vishnubansaltarento Aug 7, 2024
0c48307
added Marketplace Providers in spv portal
mansurskTarento Aug 7, 2024
0a5eba0
odcs designation info message changes in mdo
mansurskTarento Aug 8, 2024
e22c0b1
revorting odcs designation info message changes in mdo
mansurskTarento Aug 8, 2024
c664043
odcs designation info message changes in mdo
mansurskTarento Aug 8, 2024
400eab3
Merge pull request #815 from mansurskTarento/odcs-import-designations
christyfernandes Aug 8, 2024
2d62605
Task #0000: KCM framework name default config added
christyfernandes Aug 8, 2024
be2166e
Merge pull request #816 from christyfernandes/cbrelease-4.8.16
christyfernandes Aug 8, 2024
9edb45b
Task #0000: ODCS enabled search for columns in taxonomy
christyfernandes Aug 8, 2024
b56b709
Merge branch 'cbrelease-4.8.16' of https://github.com/sunbird-cb/sunb…
christyfernandes Aug 8, 2024
48d53b0
Merge pull request #817 from christyfernandes/cbrelease-4.8.16
christyfernandes Aug 8, 2024
f0abb19
Fixed:- Survey popup assets fix
Afzal84 Aug 8, 2024
68f3998
changes in home json form config
Aug 8, 2024
7aa7234
Fixed:- Survey popup assets fix
Afzal84 Aug 8, 2024
5cbf517
Task #0000: Disabled the search
christyfernandes Aug 8, 2024
a01bbb4
Merge branch 'cbrelease-4.8.16' of https://github.com/sunbird-cb/sunb…
christyfernandes Aug 8, 2024
e0d34dd
Merge pull request #819 from christyfernandes/cbrelease-4.8.16
christyfernandes Aug 8, 2024
7275543
Fixed:- link change
Afzal84 Aug 8, 2024
a289c17
Merge pull request #818 from sunbird-cb/survey-popup-fix
vishnubansaltarento Aug 8, 2024
b0fe39e
Handeling error messages and guide videos in odcs
mansurskTarento Aug 9, 2024
2245cef
Merge pull request #820 from mansurskTarento/odcs_guide_videos
christyfernandes Aug 9, 2024
3c7b4e6
update for zoho code attachment issue
vishnubansaltarento Aug 9, 2024
02a3058
update for zoho code attachment issue
vishnubansaltarento Aug 9, 2024
a5ee4a3
update for zoho file upload issue
vishnubansaltarento Aug 9, 2024
c86db03
Merge pull request #1 from KB-iGOT/zoho-form-file-attachment-type-issue
vishnubansaltarento Aug 9, 2024
464a23e
update for zoho attachment format issue
vishnubansaltarento Aug 9, 2024
c7d8b4e
Merge branch 'cbrelease-4.8.16' of github.com:KB-iGOT/sunbird-cb-port…
vishnubansaltarento Aug 9, 2024
aca5fdd
Merge pull request #2 from KB-iGOT/zoho-form-file-attachment-type-issue
vishnubansaltarento Aug 9, 2024
1807afa
update for new certificate template
vishnubansaltarento Aug 9, 2024
6b1c738
Merge pull request #822 from sunbird-cb/cios-certificate-new-template
vishnubansaltarento Aug 9, 2024
a3e8547
Task #0000: enabled view option in competency area for KCM
christyfernandes Aug 9, 2024
defbbea
Merge pull request #823 from christyfernandes/cbrelease-4.8.16
christyfernandes Aug 9, 2024
2144aa5
Task #0000: enabled search in KCM and ODCS
christyfernandes Aug 9, 2024
7ae8d24
Merge branch 'cbrelease-4.8.16' of https://github.com/sunbird-cb/sunb…
christyfernandes Aug 9, 2024
645cec2
Merge pull request #824 from christyfernandes/cbrelease-4.8.16
christyfernandes Aug 9, 2024
865b336
Disabled tricolor changes
venkykandagaddala Aug 10, 2024
2419c2d
Merge pull request #825 from venkykandagaddala/disable-tricolor-changes
venkykandagaddala Aug 10, 2024
b83d1fc
Task #0000: Disabled search & view for comp area
christyfernandes Aug 10, 2024
0b8c119
Merge pull request #826 from christyfernandes/cbrelease-4.8.16
christyfernandes Aug 10, 2024
e400ac6
Enabled the tricolor configuration
venkykandagaddala Aug 10, 2024
3e2785a
Merge pull request #827 from venkykandagaddala/disable-tricolor-changes
venkykandagaddala Aug 10, 2024
a53e572
Survey popup image for mobile
venkykandagaddala Aug 11, 2024
2317537
Merge pull request #828 from venkykandagaddala/disable-tricolor-changes
venkykandagaddala Aug 11, 2024
b3a35c7
Added mobile config related to MDO channles and ATI/CTI
venkykandagaddala Aug 12, 2024
6053fd3
Merge pull request #829 from venkykandagaddala/disable-tricolor-changes
Haritest Aug 12, 2024
c0dd6d3
maintenance page configuration
venkykandagaddala Aug 12, 2024
9bfb394
Merge pull request #830 from venkykandagaddala/disable-tricolor-changes
sureshece16 Aug 12, 2024
f461c8e
Merge pull request #3 from sunbird-cb/cbrelease-4.8.16.1
vishnubansaltarento Aug 13, 2024
a4d75ac
Merge pull request #4 from KB-iGOT/cbrelease-4.8.16-old
sureshece16 Aug 13, 2024
d2e9c32
Merge pull request #5 from KB-iGOT/cbrelease-4.8.16.1-old
sureshece16 Aug 13, 2024
fd13807
Upldated the ODC video URL
venkykandagaddala Aug 14, 2024
fc924b1
Merge pull request #6 from venkykandagaddala/cbrelease-4.8.16
venkykandagaddala Aug 14, 2024
f61d08d
updated the KCM video path
venkykandagaddala Aug 14, 2024
0a8f9f6
Merge pull request #7 from venkykandagaddala/cbrelease-4.8.16
venkykandagaddala Aug 14, 2024
4e1a093
disabled IndependanceDay theme
Aug 18, 2024
68e5f76
Merge pull request #9 from abhishek-K-P/sprint-16-dev
abhishek-K-P Aug 18, 2024
7f0cbd8
Fixed:-Updated the provided Nudge msgs
Afzal84 Aug 20, 2024
476b5b0
Added new side menu item - How to
venkykandagaddala Aug 20, 2024
611cca2
Fixed:-Updated the Hindi Nudge msgs
Afzal84 Aug 20, 2024
bb232c6
Merge pull request #11 from venkykandagaddala/cbrelease-4.8.17
venkykandagaddala Aug 20, 2024
0591077
Merge pull request #10 from KB-iGOT/kar-730-nudgeMsg-update
vishnubansaltarento Aug 20, 2024
7f93d33
Merge pull request #12 from KB-iGOT/cbrelease-4.8.16
abhishek-K-P Aug 21, 2024
bd74d1e
update for audio video plauing
vishnubansaltarento Aug 21, 2024
490f4c1
Merge branch 'cbrelease-4.8.17' of github.com:KB-iGOT/sunbird-cb-port…
vishnubansaltarento Aug 22, 2024
e928e34
Merge pull request #13 from KB-iGOT/vide-audio-plugin-changes
vishnubansaltarento Aug 22, 2024
111b032
update for mentorship changes
vishnubansaltarento Aug 22, 2024
8f04368
Merge pull request #14 from KB-iGOT/vide-audio-plugin-changes
vishnubansaltarento Aug 22, 2024
a6d4986
changes in image size
Aug 23, 2024
03569c1
Merge pull request #15 from KB-iGOT/img-size-reduce
vishnubansaltarento Aug 23, 2024
cfbb652
Added translations for the cadre changes
sujithsojan Aug 23, 2024
c58b58d
update for audio video upload
vishnubansaltarento Aug 23, 2024
9d5ff19
Merge branch 'cbrelease-4.8.17' of github.com:KB-iGOT/sunbird-cb-port…
vishnubansaltarento Aug 23, 2024
fd9fadd
Merge pull request #17 from KB-iGOT/vide-audio-plugin-changes
vishnubansaltarento Aug 23, 2024
3cb11c0
added mobile assets
ShankarTarento Aug 23, 2024
9fcce83
Merge pull request #18 from ShankarTarento/cbrelease-4.8.17
venkykandagaddala Aug 23, 2024
46afc0e
Update hi.json
sujithsojan Aug 23, 2024
d1e8570
Update hi.json
sujithsojan Aug 23, 2024
e425f86
Merge pull request #16 from sujithsojan/cbrelease-4.8.17
vishnubansaltarento Aug 23, 2024
104426a
Added mobile feature config json
Aug 23, 2024
9eb1938
Updated mobile feature config json
Aug 23, 2024
1e804af
Merge pull request #19 from imthiyas165/cbrelease-4.8.17
venkykandagaddala Aug 23, 2024
57172e2
Merge pull request #20 from KB-iGOT/cbrelease-4.8.16
vishnubansaltarento Aug 23, 2024
8f17c12
update for audio video file
vishnubansaltarento Aug 27, 2024
aa09c51
Merge pull request #21 from KB-iGOT/vide-audio-plugin-changes
vishnubansaltarento Aug 27, 2024
6130222
changes in the banner
Aug 29, 2024
fe53c7d
updateed the compatability for assessment to 8
Aug 30, 2024
5ac6284
Merge branch 'cbrelease-4.8.17' of https://github.com/KB-iGOT/sunbird…
Aug 30, 2024
e112a20
Merge branch 'sprint-17-dev' of https://github.com/abhishek-K-P/sunbi…
Aug 30, 2024
eec0460
assessment version updated to 8
Aug 30, 2024
f64e580
Merge pull request #22 from abhishek-K-P/sprint-17-assessment
abhishek-K-P Aug 30, 2024
63648ae
com
Aug 30, 2024
e06ba63
removed the file
Aug 30, 2024
4b63420
added new file with ftb changes
Aug 30, 2024
e190b30
Merge pull request #23 from abhishek-K-P/sprint-17-assessment
abhishek-K-P Aug 30, 2024
20ad0f5
Fixed:- Profile Nudge messages syncup with the Images
Afzal84 Sep 2, 2024
a153949
Bug fix -KB-6656 && KB-6657
venkykandagaddala Sep 2, 2024
849dfc4
Merge pull request #24 from venkykandagaddala/cbrelease-4.8.17
venkykandagaddala Sep 2, 2024
7579c0d
Merge pull request #25 from KB-iGOT/nudges-Images-syncup
vishnubansaltarento Sep 2, 2024
9b1db11
Merge pull request #26 from KB-iGOT/cbrelease-4.8.16
vishnubansaltarento Sep 2, 2024
53d64e4
Merge branch 'cbrelease-4.8.17' of https://github.com/KB-iGOT/sunbird…
Sep 6, 2024
e92ac5c
update for audio plugin to disable playback option
vishnubansaltarento Sep 10, 2024
9cfdb69
Merge branch 'cbrelease-4.8.17' of github.com:KB-iGOT/sunbird-cb-port…
vishnubansaltarento Sep 10, 2024
fa36951
Merge pull request #27 from KB-iGOT/vide-audio-plugin-changes
vishnubansaltarento Sep 10, 2024
fa8bfbd
cios provider onboarding in spv
mansurskTarento Sep 11, 2024
bfc6ab7
Task #0000: Enabled the search for KCM and ODCS
christyfernandes Sep 13, 2024
a08ae87
Merge pull request #28 from christyfernandes/cbrelease-4.8.18
vishnubansaltarento Sep 13, 2024
67c6e0b
Merge pull request #29 from sunbird-cb/home-page-form
bharathravi-in Sep 13, 2024
e64f55f
Merge pull request #30 from KB-iGOT/form-json-home-page
vishnubansaltarento Sep 13, 2024
99830ae
KAR-781 fix
garima468 Sep 17, 2024
3e53423
Merge pull request #31 from garima468/KAR-781-fix
vishnubansaltarento Sep 17, 2024
33ef3f5
added competency keys
Sohith-code Sep 18, 2024
734219c
Merge branch 'cbrelease-4.8.17' of https://github.com/Sohith-code/sun…
Sohith-code Sep 18, 2024
13ab60b
update for survey file upload
vishnubansaltarento Sep 18, 2024
36c8059
Merge pull request #33 from KB-iGOT/survey-file-upload
vishnubansaltarento Sep 18, 2024
2cc0bf8
Merge branch 'cbrelease-4.8.18' of https://github.com/Sohith-code/sun…
Sohith-code Sep 18, 2024
3cbc9c7
Merge pull request #35 from KB-iGOT/cbrelease-4.8.17
vishnubansaltarento Sep 18, 2024
7b3469c
Merge pull request #34 from Sohith-code/competency-keys
vishnubansaltarento Sep 18, 2024
a804989
Changed compentency version key
Sohith-code Sep 18, 2024
7af23b3
Merge pull request #36 from Sohith-code/competency-keys
vishnubansaltarento Sep 18, 2024
5818706
Merge branch 'cbrelease-4.8.18' of https://github.com/KB-iGOT/sunbird…
Sep 19, 2024
abc64a8
added new file for QOW
Sep 19, 2024
3aa3042
removed cios changes
Sep 19, 2024
e220420
Merge pull request #37 from abhishek-K-P/sprint-18-cqf
abhishek-K-P Sep 19, 2024
4b6e1a3
cios onboarding changes for transformations
mansurskTarento Sep 20, 2024
3ef56a2
update for hindi text for not my user
vishnubansaltarento Sep 20, 2024
e72c45d
Merge branch 'cbrelease-4.8.18' of github.com:KB-iGOT/sunbird-cb-port…
vishnubansaltarento Sep 20, 2024
6580aa1
Merge pull request #38 from KB-iGOT/survey-file-upload
vishnubansaltarento Sep 20, 2024
c22772f
Merge branch 'cbrelease-4.8.17' of https://github.com/KB-iGOT/sunbird…
mansurskTarento Sep 23, 2024
d63e73e
Update home.json
sureshece16 Sep 23, 2024
a703989
Update home.json
sureshece16 Sep 23, 2024
6f892bf
update CQF file column name
Sep 24, 2024
face360
Merge branch 'cbrelease-4.8.18' of https://github.com/KB-iGOT/sunbird…
Sep 24, 2024
7f5ae5c
Merge pull request #40 from abhishek-K-P/sprint-18-cqf
abhishek-K-P Sep 24, 2024
a6c9159
NLW assets
venkykandagaddala Sep 26, 2024
e3627bd
Merge pull request #41 from venkykandagaddala/cbrelease-4.8.18
venkykandagaddala Sep 26, 2024
391bb34
KB-6825 removed designation tab
garima468 Sep 27, 2024
a8b416a
NLW config changes
venkykandagaddala Sep 27, 2024
5376799
Merge pull request #43 from venkykandagaddala/cbrelease-4.8.18
venkykandagaddala Sep 27, 2024
b0ec49b
Added assets for the cbp portal
sujithsojan Sep 27, 2024
fe8e631
Merge pull request #42 from garima468/KB-6825-remove-designation-tab
vishnubansaltarento Sep 27, 2024
512bfe1
Added assests for mdo
sujithsojan Sep 27, 2024
488a81e
Merge pull request #44 from sujithsojan/cbrelease-4.8.17_userbackup
vishnubansaltarento Sep 27, 2024
35030c0
Merge pull request #45 from KB-iGOT/cbrelease-4.8.17
vishnubansaltarento Sep 27, 2024
9091274
bug fix
Sep 30, 2024
e4d96c6
Merge branch 'cbrelease-4.8.18' of https://github.com/KB-iGOT/sunbird…
Sep 30, 2024
2ada4a6
Merge pull request #46 from abhishek-K-P/sprint-18-cqf
abhishek-K-P Sep 30, 2024
52d6a83
update for json
vishnubansaltarento Sep 30, 2024
ada21f9
Merge pull request #47 from KB-iGOT/survey-popup-issue
vishnubansaltarento Sep 30, 2024
9bdfd0f
update for survey popup issue
vishnubansaltarento Sep 30, 2024
d102ac2
Merge branch 'cbrelease-4.8.17' of github.com:KB-iGOT/sunbird-cb-port…
vishnubansaltarento Sep 30, 2024
f471824
Merge pull request #48 from KB-iGOT/survey-popup-issue
vishnubansaltarento Sep 30, 2024
37ef6d3
Merge pull request #49 from KB-iGOT/cbrelease-4.8.17
vishnubansaltarento Oct 3, 2024
57bca2e
Task #0000: Dicussion lib v2 widget configurations
christyfernandes Oct 3, 2024
515355b
Merge branch 'cbrelease-4.8.18' of https://github.com/KB-iGOT/sunbird…
christyfernandes Oct 3, 2024
e06eb42
Merge pull request #50 from christyfernandes/cbrelease-4.8.19
christyfernandes Oct 3, 2024
4935f17
updated config for mobile
venkykandagaddala Oct 3, 2024
b35567c
Merge pull request #51 from venkykandagaddala/cbrelease-4.8.18
venkykandagaddala Oct 3, 2024
ffe6900
added missing footer configuration
venkykandagaddala Oct 3, 2024
34f398c
Merge pull request #52 from venkykandagaddala/cbrelease-4.8.18
venkykandagaddala Oct 3, 2024
957eb6d
Merge pull request #53 from KB-iGOT/cbrelease-4.8.18
abhishek-K-P Oct 4, 2024
9adda55
Merge pull request #54 from KB-iGOT/cbrelease-4.8.18
abhishek-K-P Oct 4, 2024
f6b90e7
Merge pull request #55 from KB-iGOT/cbrelease-4.8.19
abhishek-K-P Oct 4, 2024
16a0474
Merge branch 'cbrelease-4.8.19-cios' of https://github.com/KB-iGOT/su…
mansurskTarento Oct 4, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{
"name": "Advanced assessment",
"value": "assessmentV2",
"compatability": 7,
"compatability": 8,
"enabledFor": ["Standalone Assessment"]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
},
"name": "Advanced Final Assessment",
"primaryCategory": "Course Assessment",
"compatability": 7,
"compatability": 8,
"position": "",
"description": "Create a final assesment content",
"icon": "playlist_add_check",
Expand Down Expand Up @@ -190,7 +190,7 @@
},
"name": "Advanced Practice Assessment",
"primaryCategory": "Practice Question Set",
"compatability": 7,
"compatability": 8,
"position": "",
"description": "Create a practice assesment content",
"icon": "playlist_add_check",
Expand Down Expand Up @@ -314,7 +314,7 @@
},
"name": "Advanced Practice Assessment",
"primaryCategory": "Practice Question Set",
"compatability": 7,
"compatability": 8,
"position": "",
"description": "Create a practice assesment content",
"icon": "playlist_add_check",
Expand Down Expand Up @@ -599,7 +599,7 @@
},
"name": "Advanced Final Assessment",
"primaryCategory": "Course Assessment",
"compatability": 7,
"compatability": 8,
"position": "",
"description": "Create a final assesment to your blended program.",
"icon": "playlist_add_check",
Expand Down Expand Up @@ -636,7 +636,7 @@
},
"name": "Advanced Practice Assessment",
"primaryCategory": "Practice Question Set",
"compatability": 7,
"compatability": 8,
"position": "",
"description": "Create a practice assesment content",
"icon": "playlist_add_check",
Expand Down Expand Up @@ -715,7 +715,7 @@
},
"name": "Advanced Final Assessment",
"primaryCategory": "Course Assessment",
"compatability": 7,
"compatability": 8,
"position": "",
"description": "Create a final assesment content",
"icon": "playlist_add_check",
Expand All @@ -733,7 +733,7 @@
},
"name": "Advanced Practice Assessment",
"primaryCategory": "Practice Question Set",
"compatability": 7,
"compatability": 8,
"position": "",
"description": "Create a practice assesment content",
"icon": "playlist_add_check",
Expand Down
65 changes: 64 additions & 1 deletion CBP/client-assets/assets/configurations/feature/auth-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,10 @@
"editor",
"content_creator",
"program_coordinator",
"cbp_admin"
"cbp_admin",
"spv_publisher",
"content_reviewer",
"content_publisher"
],
"subMenu": [
{
Expand Down Expand Up @@ -462,6 +465,40 @@
"editor",
"content_creator"
]
},
{
"name": "How Tos",
"key": "how-tos",
"fragment": false,
"render": true,
"badges": {
"enabled": false,
"uri": ""
},
"enabled": true,
"routerLink": "/author/cbp/how-to",
"requiredRoles": [
"cbp_admin",
"content_reviewer",
"content_publisher",
"content_creator",
"spv_publisher"
]
},
{
"name": "CQF Content",
"key": "cqf-content",
"fragment": false,
"render": true,
"badges": {
"enabled": false,
"uri": ""
},
"enabled": true,
"routerLink": "/author/cbp/cqf-content",
"requiredRoles": [
"spv_publisher"
]
}
]
}
Expand Down Expand Up @@ -652,6 +689,32 @@
]
}
},
"surveyForm": {
"active": true,
"surveyFormData": [
{
"title": "Take the iGOT Survey, help us make iGOT even better!",
"content": "Take a few minutes to complete this survey and contribute to enhancing the iGOT learning experience",
"btnTitle": "Click here",
"ImageUrl": "assets/icons/learner-advisory/surveyEdit.png",
"surveyId": "668e250da8bfb500083136b1"
}
]
},
"surveyPopup": {
"active": true,
"banners": {
"l": "assets/instances/eagle/survey-img/desktop.svg",
"m": "assets/instances/eagle/survey-img/mobile.svg",
"s": "assets/instances/eagle/survey-img/mobile.svg",
"xl": "assets/instances/eagle/survey-img/desktop.svg",
"xs": "assets/instances/eagle/survey-img/mobile.svg",
"xxl": "assets/instances/eagle/survey-img/desktop.svg"
},
"mobileBanner": "assets/instances/eagle/survey-img/survey_pop_up_mobile.png",
"buttonName": "Take Survey",
"surveyUrl": "https://portal.igotkarmayogi.gov.in/surveyml/668e252fa8bfb5000831371f"
},
"search": {
"visibleFiltersV2": {
"primaryCategory": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@
"isCollection": true,
"name": "Final Assessment",
"description": "Create a final assesment content",
"compatability": 7,
"compatability": 8,
"icon": "playlist_add_check",
"contentType": "CourseAssessment",
"available": false,
Expand All @@ -453,7 +453,7 @@
"isCollection": true,
"name": "Pratice Assessment",
"description": "Create a pratice assesment content",
"compatability": 7,
"compatability": 8,
"icon": "playlist_add_check",
"contentType": "PracticeQuestionSet",
"available": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7587,5 +7587,31 @@
"showFor": {
},
"type": "string"
}
},
"surveyForm": {
"active": true,
"surveyFormData": [
{
"title": "Take the iGOT Survey, help us make iGOT even better!",
"content": "Take a few minutes to complete this survey and contribute to enhancing the iGOT learning experience",
"btnTitle": "Click here",
"ImageUrl": "assets/icons/learner-advisory/surveyEdit.png",
"surveyId": "668e250da8bfb500083136b1"
}
]
},
"surveyPopup": {
"active": true,
"banners": {
"l": "assets/instances/eagle/survey-img/desktop.svg",
"m": "assets/instances/eagle/survey-img/mobile.svg",
"s": "assets/instances/eagle/survey-img/mobile.svg",
"xl": "assets/instances/eagle/survey-img/desktop.svg",
"xs": "assets/instances/eagle/survey-img/mobile.svg",
"xxl": "assets/instances/eagle/survey-img/desktop.svg"
},
"mobileBanner": "assets/instances/eagle/survey-img/survey_pop_up_mobile.png",
"buttonName": "Take Survey",
"surveyUrl": "https://portal.igotkarmayogi.gov.in/surveyml/668e252fa8bfb5000831371f"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions CBP/client-assets/assets/instances/eagle/survey-img/desktop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions CBP/client-assets/assets/instances/eagle/survey-img/mobile.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
116 changes: 116 additions & 0 deletions CBP/client-assets/assets/js/plugins/simpleAudioUpload/plugin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
CKEDITOR.plugins.add('simpleAudioUpload', {
init: function (editor) {
var audiofileDialog = $('<input type="file" id="audio" name="audio" accept="audio/mp3,audio/*;">')
//console.log('editor', editor);
audiofileDialog.on('change', function (e) {
var file = audiofileDialog[0].files[0]
if (file.size > 400 * 1048576) {
alert('File Size should not be greater than 400 MB')
audiofileDialog.val('')
} else {
loadingImage = 'data:image/gif;base64,R0lGODlhgACAAPUCABISEm5ubhMTExQUFBYWFhcXFxgYGBkZGRoaGhsbGxwcHB0dHR4eHh8fHyEhISIiIiMjIyQkJCUlJSYmJicnJygoKCkpKSoqKisrKywsLC0tLS4uLi8vLzAwMDExMTIyMjMzMzQ0NDU1NTY2Njc3Nzg4ODk5OTo6Ojs7Ozw8PD09PT4+Pj8/P0BAQEFBQUJCQkNDQ0REREVFRUZGRkdHR0hISElJSUpKSgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4w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KAPI2rUyRtrxfxo3WHfF2YjWSrnmE4r275nK8hwaoN0vtE1b/H9bELXq5iQIVU3WuAJNTaQ0GrAuLRWlw/tlnvwfsHiMbccJaOvYMGafV633223XI2u0/FlfX5+x+fl9yeoVWfXh6iImGjWaHVRAAAh+QQFCgACACwAADsAIAAoAAACXZSAqctgD5uc8M3b6sE81Q5+ICeOV2lmWqpqG4u48kzX9o3n+s73/g8MCofEojGADBCTTCWw2fRBobzpVGe15rJaGzdb+4Jp4u6sTA2jmbc1covelXvi3/gZXb53BQAh+QQFCgACACwAAB0AIAAoAAACY5SPApvtb5YEsLaJrcWcatd1XxKKY1SaX1qObOi+aiXPdD2dOHMqdY96AQ/CIbFlPHKSFwnzCY1Kp9Sq9YrNahuBrvcLDgcg4rLZYU6Lueq2N+GOw+PtOT1tv6/ZejC5/+ZQAAAh+QQFCgACACwIAAgAKAAoAAACc5SPqQfdC6N0VFpL890pew56GriJI4mZD5qqANuqcOSu81K/t5LveO3juYIdIJFhPPaOhqUy+ZQxm1JB4BqsXrcBn8nADe8+1rB5ak53ieo0u+3ewdvyeXxmV9/ydxhfXPf3lnfEhzY3BUaXWHbGeMAFUwAAOw=='
var randomNumber = ''
// tslint:disable-next-line: no-increment-decrement
for (let i = 0; i < 16; i++) {
randomNumber += Math.floor(Math.random() * 10)
}
var contentCreateUrl = editor.config.contentCreateUrl
var fileUploadUrl = editor.config.fileUploadUrl
var artifactUrl = editor.config.artifactUrl
var fileRequestData = editor.config.fileRequestData

var fileToLoad = audiofileDialog[0].files[0]
var imageData = new FormData()
imageData.append('data', file)
if (fileRequestData && fileRequestData.request) {
fileRequestData['request']['content']['code'] = randomNumber
fileRequestData['request']['content']['name'] = file.name
}

var newImage = editor.document.createElement('img')
newImage.setAttribute('src', loadingImage)
newImage.setAttribute('height', '64')
newImage.setAttribute('width', '64')
newImage.setAttribute('id', 'loader')
editor.insertElement(newImage)

// var fileReader = new FileReader()
// var srcData
// fileReader.onload = function (fileLoadedEvent) {
// srcData = fileLoadedEvent.target.result // <--- data: base64
// console.log('srcData', srcData)
// var newImage = editor.document.createElement('img')
// newImage.setAttribute('src', srcData)
// newImage.setAttribute('height', '100')
// newImage.setAttribute('width', '100')
// editor.insertElement(newImage)
// console.log('newImage', newImage)
// }
// fileReader.readAsDataURL(fileToLoad)
// audiofileDialog.val('');
audiofileDialog.val('')

$.ajax({
url: contentCreateUrl,
type: 'POST',
dataType: 'json',
contentType: "application/json",
data: JSON.stringify(fileRequestData)
}).done(function (done) {
var identifier = done.result.identifier
$.ajax({
url: fileUploadUrl + identifier,
type: 'POST',
contentType: false,
processData: false,
data: imageData,
}).done(function (imageResponse) {
var ele = editor.document.createElement('audio')
console.log('artifactUrl', artifactUrl)
var artifactUrlUpdated = ''
if ((artifactUrl).includes('cbp.dev.karmayogibharat.net')) {
artifactUrlUpdated = imageResponse.result.artifactUrl.replace("https://storage.googleapis.com/igot", artifactUrl)
} else if ((artifactUrl).includes('cbp.qa.karmayogibharat.net')) {
artifactUrlUpdated = imageResponse.result.artifactUrl.replace("https://storage.googleapis.com/igotqa", artifactUrl)
} else if ((artifactUrl).includes('cbp.uat.karmayogibharat.net')) {
artifactUrlUpdated = imageResponse.result.artifactUrl.replace("https://storage.googleapis.com/igotuat", artifactUrl)
} else if ((artifactUrl).includes('cbp.igotkarmayogi.gov.in/')) {
artifactUrlUpdated = imageResponse.result.artifactUrl.replace("https://storage.googleapis.com/igot", artifactUrl)
}
ele.setAttribute('src', artifactUrlUpdated)
ele.setAttribute('controls', true)
ele.setAttribute('controlsList', 'nodownload noplaybackrate')
editor.insertElement(ele)
editor.document.getById('loader').remove()
audiofileDialog.val('')
}).fail(function () {
console.log('in error')
audiofileDialog.val('')
})
// var ele;
// if (fileExt === "mp3") {
// ele = editor.document.createElement('audio');
// ele.setAttribute('src', done);
// ele.setAttribute('controls', true);
// editor.insertElement(ele);
// }
// e.target.value = '';

})
}


})
editor.ui.addButton('Audio', {
label: 'Insert Audio',
command: 'openAudioDialog',
toolbar: 'insert',
icon: CKEDITOR.plugins.getPath('simpleAudioUpload') + 'audio.png'
})
editor.addCommand('openAudioDialog', {
exec: function (editor) {
audiofileDialog.click()
}
})
}
})
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading