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

Merge release-5.1.0 into master #104

Open
wants to merge 48 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
4a03e33
Issue #KN-237 fix: Integration testing for the CSP changes
gouravmore Aug 24, 2022
3287aad
Issue #KN-239 feat: Knowlg player app for PDF
santoshilimi Sep 6, 2022
5fddbcc
Issue #KN-239 feat: Knowlg player app for PDF
santoshilimi Sep 6, 2022
ebd2de9
Issue #KN-239 feat: Knowlg player app for PDF
santoshilimi Sep 6, 2022
623d073
Issue #KN-65 feat: Integrate pagination in the content-list component
gouravmore Sep 6, 2022
d59fa5f
Issue #KN-20 feat: Updating angular version from 11 to 12
vaibhavbhuva Sep 7, 2022
c5879ff
Issue #KN-65 feat: Integrate pagination in the content-list component
gouravmore Sep 7, 2022
3225c7e
Issue #KN-20 merge: Merge pull request #60 from vaibhavbhuva/release-…
vinukumar-vs Sep 7, 2022
e8ee141
Issue #KN-102 fix: Alter nodejs version for sonarqube-scanner
vaibhavbhuva Sep 7, 2022
8c591e3
Issue #KN-102 merge: Merge pull request #61 from vaibhavbhuva/release…
vinukumar-vs Sep 7, 2022
e34cf4f
Issue #KN-0000: Updated collection editor version
vaibhavbhuva Sep 7, 2022
ad983a5
Issue #KN-239 feat: Knowlg player app for PDF
santoshilimi Sep 7, 2022
918512d
Issue #KN-239 feat: resolved conflict
santoshilimi Sep 7, 2022
43068d9
Issue #KN-239 feat: resolved conflict
santoshilimi Sep 7, 2022
7dee5f8
Issue #KN-239 feat: Knowlg player app for PDF
santoshilimi Sep 7, 2022
d078244
Issue #KN-239 feat: Knowlg player app for PDF
santoshilimi Sep 7, 2022
ac69d5e
Issue #KN-0000 merge: Merge pull request #62 from vaibhavbhuva/releas…
vinukumar-vs Sep 8, 2022
b68b888
Issue #KN-65 merge: Merge pull request #59 from gouravmore/pagination
vinukumar-vs Sep 8, 2022
59b9b6d
Issue #KN-0000 fix: create lock API issue fixes
vaibhavbhuva Sep 8, 2022
5c754df
Issue #KN-239 feat: Knowlg player app for PDF
santoshilimi Sep 8, 2022
e649d8c
Issue #KN-239 feat: Knowlg player app for PDF
santoshilimi Sep 8, 2022
146be52
Issue #KN-239 feat: Knowlg player app for PDF
santoshilimi Sep 8, 2022
7f81a3a
Issue #KN-239 feat: Knowlg player app for PDF
santoshilimi Sep 8, 2022
d7a81f4
Issue #KN-239 feat: Knowlg player app for PDF
santoshilimi Sep 8, 2022
a7b71fe
Issue #KN-239 feat: Knowlg player app for PDF
santoshilimi Sep 8, 2022
b575627
Issue #KN-239 feat: Knowlg player app for PDF
santoshilimi Sep 8, 2022
6062be1
Merge remote-tracking branch 'upstream/release-5.1.0' into knowlgapp
santoshilimi Sep 8, 2022
ccae3b2
Issue #KN-239 feat: Knowlg player app for PDF
santoshilimi Sep 9, 2022
7069ffc
Issue #KN-0000 fix: create lock API issue fixes
vaibhavbhuva Sep 12, 2022
6b38ad5
Issue #KN-0000 merge: Merge pull request #63 from vaibhavbhuva/releas…
vinukumar-vs Sep 12, 2022
2583ed4
Issue #KN-239 merge: Merge pull request #57 from santoshilimi/knowlgapp
vinukumar-vs Sep 12, 2022
72afc53
Issue #KN-239 feat: Knowlg player app for EPUB player
santoshilimi Sep 12, 2022
7c41b7f
Issue #KN-239 merge: Merge pull request #64 from santoshilimi/knowlgapp
vinukumar-vs Sep 12, 2022
d1e65d6
Issue #KN-239 feat: Knowlg player app for Video player
santoshilimi Sep 12, 2022
21e7e17
Issue #KN-239 feat: Knowlg player app for Video player
santoshilimi Sep 14, 2022
52b2a7f
Issue #KN-239 feat: Knowlg player app for Video player
santoshilimi Sep 15, 2022
9c8347b
Issue #KN-239 feat: Knowlg player app for Video player
santoshilimi Sep 15, 2022
3448d9b
Issue #KN-239 feat: Knowlg player app for Video player
santoshilimi Sep 15, 2022
0cc5cf2
Issue #KN-239 merge: Merge pull request #65 from santoshilimi/knowlgapp
vinukumar-vs Sep 19, 2022
e26d9be
Issue #KN-238 fix: form update for bug kn-238
gouravmore Sep 27, 2022
6a91187
Issue #KN-238 fix: form update for bug kn-238
gouravmore Sep 27, 2022
846b6f0
Issue #KN-238 fix: form update for bug kn-238
gouravmore Sep 27, 2022
4f4dda8
Issue #KN-238 merge: Merge pull request #66 from gouravmore/pagination
vinukumar-vs Sep 28, 2022
ee95e0a
#KN-710 fix: Course progress does not get updated correctly.
santoshilimi Dec 27, 2022
044ea21
#KN-710 fix: Course progress does not get updated correctly
santoshilimi Dec 27, 2022
a5c9754
Issue #KN-710 merge: Merge pull request #96 from santoshilimi/kn-710
vinukumar-vs Dec 28, 2022
8331b4b
Issue #KN-710 fix: updated streamingUrl in content read api call
santoshilimi Dec 28, 2022
32d6408
Issue #KN-710 merge: Merge pull request #97 from santoshilimi/kn-710
vinukumar-vs Dec 28, 2022
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
12 changes: 11 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
command: 'node --version'
- run:
name: Installing Angular cli
command: 'npm install -g @angular/cli@11.2.19 --no-progress'
command: 'npm install -g @angular/cli@12.2.18 --no-progress'
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run:
Expand All @@ -30,6 +30,16 @@ jobs:
- run:
name: Testing
command: 'npm run test-coverage | tee /tmp/logs/test_cases.log'
- run:
name: Install Node.js v14.20.0 with build in nvm tool
command: |
export NVM_DIR="/opt/circleci/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
nvm install v14 && nvm use v14 && nvm alias default v14
node -v
- run:
name: Alter Node version
command: 'node --version'
- run:
name: Install sonar scanner
command: npm install -g sonarqube-scanner
Expand Down
45 changes: 41 additions & 4 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": [
"src/favicon.ico",
"src/assets",
Expand All @@ -33,7 +32,7 @@
},
{
"glob": "**/*",
"input": "node_modules/@project-sunbird/sunbird-collection-editor-v9/lib/assets",
"input": "node_modules/@project-sunbird/sunbird-collection-editor/lib/assets",
"output": "/assets/"
},
{
Expand Down Expand Up @@ -80,7 +79,13 @@
"src/assets/lib/semantic-ui-tree-picker.js",
"node_modules/@project-sunbird/client-services/index.js",
"node_modules/izimodal/js/iziModal.min.js"
]
],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
Expand All @@ -105,7 +110,8 @@
}
]
}
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
Expand Down Expand Up @@ -175,6 +181,37 @@
}
}
}
},
"shared": {
"projectType": "library",
"root": "projects/shared",
"sourceRoot": "projects/shared/src",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "projects/shared/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/shared/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "projects/shared/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/shared/src/test.ts",
"tsConfig": "projects/shared/tsconfig.spec.json",
"karmaConfig": "projects/shared/karma.conf.js"
}
}
}
}
},
"defaultProject": "knowlg-portal"
Expand Down
1 change: 1 addition & 0 deletions knowlg-app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ npm-debug.log*
/dist
/node_modules
/platforms
/resources
/plugins
/www
57 changes: 51 additions & 6 deletions knowlg-app/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,44 @@
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"preserveSymlinks": true,
"assets": [
{
"glob": "**/*",
"input": "src/assets",
"output": "assets"
},
{
"glob": "**/*.*",
"input": "node_modules/@project-sunbird/sunbird-pdf-player-v9/lib/assets/",
"output": "/assets/"
},
{
"glob": "**/*.svg",
"input": "node_modules/ionicons/dist/ionicons/svg",
"output": "./svg"
},
{
"glob": "**/*.*",
"input": "./node_modules/@project-sunbird/sunbird-video-player-v9/lib/assets/",
"output": "/assets/"
}
],
"styles": ["src/theme/variables.scss", "src/global.scss"],
"scripts": [],
"styles": [
"src/theme/variables.scss",
"src/global.scss",
"node_modules/@project-sunbird/sb-styles/assets/_styles.scss",
"./node_modules/video.js/dist/video-js.min.css",
"./node_modules/@project-sunbird/sunbird-video-player-v9/lib/assets/videojs.markers.min.css",
"./node_modules/videojs-http-source-selector/dist/videojs-http-source-selector.css"
],
"scripts": [
"node_modules/jquery/dist/jquery.min.js",
"node_modules/video.js/dist/video.js",
"node_modules/@project-sunbird/sunbird-video-player-v9/lib/assets/videojs-markers.js",
"node_modules/videojs-contrib-quality-levels/dist/videojs-contrib-quality-levels.min.js",
"node_modules/videojs-http-source-selector/dist/videojs-http-source-selector.min.js"
],
"aot": false,
"vendorChunk": true,
"extractLicenses": false,
Expand Down Expand Up @@ -121,10 +145,7 @@
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
}
},
"e2e": {
Expand All @@ -141,6 +162,30 @@
"devServerTarget": "app:serve:ci"
}
}
},
"ionic-cordova-serve": {
"builder": "@ionic/cordova-builders:cordova-serve",
"options": {
"cordovaBuildTarget": "app:ionic-cordova-build",
"devServerTarget": "app:serve"
},
"configurations": {
"production": {
"cordovaBuildTarget": "app:ionic-cordova-build:production",
"devServerTarget": "app:serve:production"
}
}
},
"ionic-cordova-build": {
"builder": "@ionic/cordova-builders:cordova-build",
"options": {
"browserTarget": "app:build"
},
"configurations": {
"production": {
"browserTarget": "app:build:production"
}
}
}
}
}
Expand Down
101 changes: 101 additions & 0 deletions knowlg-app/config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="io.ionic.starter" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>knowlg-app</name>
<description>An awesome Ionic/Cordova app.</description>
<author email="[email protected]" href="http://ionicframework.com/">Ionic Framework Team</author>
<content src="index.html" />
<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<preference name="ScrollEnabled" value="false" />
<preference name="BackupWebStorage" value="none" />
<preference name="SplashMaintainAspectRatio" value="true" />
<preference name="FadeSplashScreenDuration" value="300" />
<preference name="SplashShowOnlyFirstTime" value="false" />
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="3000" />
<platform name="android">
<preference name="Scheme" value="http" />
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android">
<application android:networkSecurityConfig="@xml/network_security_config" />
</edit-config>
<resource-file src="resources/android/xml/network_security_config.xml" target="app/src/main/res/xml/network_security_config.xml" />
<allow-intent href="market:*" />
<icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" />
<icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" />
<icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" />
<icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" />
<icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" />
<icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" />
<splash density="land-ldpi" src="resources/android/splash/drawable-land-ldpi-screen.png" />
<splash density="land-mdpi" src="resources/android/splash/drawable-land-mdpi-screen.png" />
<splash density="land-hdpi" src="resources/android/splash/drawable-land-hdpi-screen.png" />
<splash density="land-xhdpi" src="resources/android/splash/drawable-land-xhdpi-screen.png" />
<splash density="land-xxhdpi" src="resources/android/splash/drawable-land-xxhdpi-screen.png" />
<splash density="land-xxxhdpi" src="resources/android/splash/drawable-land-xxxhdpi-screen.png" />
<splash density="port-ldpi" src="resources/android/splash/drawable-port-ldpi-screen.png" />
<splash density="port-mdpi" src="resources/android/splash/drawable-port-mdpi-screen.png" />
<splash density="port-hdpi" src="resources/android/splash/drawable-port-hdpi-screen.png" />
<splash density="port-xhdpi" src="resources/android/splash/drawable-port-xhdpi-screen.png" />
<splash density="port-xxhdpi" src="resources/android/splash/drawable-port-xxhdpi-screen.png" />
<splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
<icon height="57" src="resources/ios/icon/icon.png" width="57" />
<icon height="114" src="resources/ios/icon/[email protected]" width="114" />
<icon height="29" src="resources/ios/icon/icon-small.png" width="29" />
<icon height="58" src="resources/ios/icon/[email protected]" width="58" />
<icon height="87" src="resources/ios/icon/[email protected]" width="87" />
<icon height="20" src="resources/ios/icon/icon-20.png" width="20" />
<icon height="40" src="resources/ios/icon/[email protected]" width="40" />
<icon height="60" src="resources/ios/icon/[email protected]" width="60" />
<icon height="48" src="resources/ios/icon/[email protected]" width="48" />
<icon height="55" src="resources/ios/icon/[email protected]" width="55" />
<icon height="29" src="resources/ios/icon/icon-29.png" width="29" />
<icon height="58" src="resources/ios/icon/[email protected]" width="58" />
<icon height="87" src="resources/ios/icon/[email protected]" width="87" />
<icon height="40" src="resources/ios/icon/icon-40.png" width="40" />
<icon height="80" src="resources/ios/icon/[email protected]" width="80" />
<icon height="120" src="resources/ios/icon/[email protected]" width="120" />
<icon height="88" src="resources/ios/icon/[email protected]" width="88" />
<icon height="50" src="resources/ios/icon/icon-50.png" width="50" />
<icon height="100" src="resources/ios/icon/[email protected]" width="100" />
<icon height="60" src="resources/ios/icon/icon-60.png" width="60" />
<icon height="120" src="resources/ios/icon/[email protected]" width="120" />
<icon height="180" src="resources/ios/icon/[email protected]" width="180" />
<icon height="72" src="resources/ios/icon/icon-72.png" width="72" />
<icon height="144" src="resources/ios/icon/[email protected]" width="144" />
<icon height="76" src="resources/ios/icon/icon-76.png" width="76" />
<icon height="152" src="resources/ios/icon/[email protected]" width="152" />
<icon height="167" src="resources/ios/icon/[email protected]" width="167" />
<icon height="172" src="resources/ios/icon/[email protected]" width="172" />
<icon height="196" src="resources/ios/icon/[email protected]" width="196" />
<icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" />
<splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" />
<splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" />
<splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" />
<splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" />
<splash height="1125" src="resources/ios/splash/Default-Landscape-2436h.png" width="2436" />
<splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" />
<splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" />
<splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" />
<splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" />
<splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" />
<splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" />
<splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" />
<splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" />
<splash height="2436" src="resources/ios/splash/Default-2436h.png" width="1125" />
<splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" />
</platform>
<plugin name="cordova-plugin-statusbar" spec="2.4.2" />
<plugin name="cordova-plugin-device" spec="2.0.2" />
<plugin name="cordova-plugin-splashscreen" spec="5.0.2" />
<plugin name="cordova-plugin-ionic-webview" spec="^5.0.0" />
<plugin name="cordova-plugin-ionic-keyboard" spec="^2.0.5" />
</widget>
2 changes: 1 addition & 1 deletion knowlg-app/ionic.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "knowlg-app",
"integrations": {
"capacitor": {}
"cordova": {}
},
"type": "angular"
}
Loading