Merge pull request #3707 from NoelDeMartin/MOBILE-4362

MOBILE-4362: 4.3.0 version update
main
Dani Palou 2023-06-13 08:12:50 +02:00 committed by GitHub
commit b91e07a261
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 6907 additions and 17724 deletions

View File

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<widget android-versionCode="42000" id="com.moodle.moodlemobile" ios-CFBundleVersion="4.2.0.0" version="4.2.0" versionCode="42000" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <widget android-versionCode="43000" id="com.moodle.moodlemobile" ios-CFBundleVersion="4.3.0.0" version="4.3.0" versionCode="43000" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Moodle</name> <name>Moodle</name>
<description>Moodle official app</description> <description>Moodle official app</description>
<author email="mobile@moodle.com" href="http://moodle.com">Moodle Mobile team</author> <author email="mobile@moodle.com" href="http://moodle.com">Moodle Mobile team</author>
@ -27,7 +27,7 @@
<preference name="UIWebViewBounce" value="false" /> <preference name="UIWebViewBounce" value="false" />
<preference name="DisallowOverscroll" value="true" /> <preference name="DisallowOverscroll" value="true" />
<preference name="prerendered-icon" value="true" /> <preference name="prerendered-icon" value="true" />
<preference name="AppendUserAgent" value="MoodleMobile 4.2.0 (42000)" /> <preference name="AppendUserAgent" value="MoodleMobile 4.3.0 (43000)" />
<preference name="BackupWebStorage" value="none" /> <preference name="BackupWebStorage" value="none" />
<preference name="ScrollEnabled" value="false" /> <preference name="ScrollEnabled" value="false" />
<preference name="KeyboardDisplayRequiresUserAction" value="false" /> <preference name="KeyboardDisplayRequiresUserAction" value="false" />
@ -227,7 +227,7 @@
<true /> <true />
</edit-config> </edit-config>
<edit-config file="*-Info.plist" mode="merge" target="CFBundleShortVersionString"> <edit-config file="*-Info.plist" mode="merge" target="CFBundleShortVersionString">
<string>4.2.0</string> <string>4.3.0</string>
</edit-config> </edit-config>
<edit-config file="*-Info.plist" mode="overwrite" target="CFBundleLocalizations"> <edit-config file="*-Info.plist" mode="overwrite" target="CFBundleLocalizations">
<array> <array>

View File

@ -19,7 +19,7 @@ module.exports = {
}, },
globals: { globals: {
'ts-jest': { 'ts-jest': {
tsConfig: './tsconfig.test.json', tsconfig: './tsconfig.test.json',
}, },
}, },
}; };

View File

@ -1,8 +1,8 @@
{ {
"app_id": "com.moodle.moodlemobile", "app_id": "com.moodle.moodlemobile",
"appname": "Moodle Mobile", "appname": "Moodle Mobile",
"versioncode": 42000, "versioncode": 43000,
"versionname": "4.2.0", "versionname": "4.3.0",
"cache_update_frequency_usually": 420000, "cache_update_frequency_usually": 420000,
"cache_update_frequency_often": 1200000, "cache_update_frequency_often": 1200000,
"cache_update_frequency_sometimes": 3600000, "cache_update_frequency_sometimes": 3600000,

24287
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "moodlemobile", "name": "moodlemobile",
"version": "4.2.0", "version": "4.3.0",
"description": "The official app for Moodle.", "description": "The official app for Moodle.",
"author": { "author": {
"name": "Moodle Pty Ltd.", "name": "Moodle Pty Ltd.",
@ -40,38 +40,38 @@
"postinstall": "patch-package" "postinstall": "patch-package"
}, },
"dependencies": { "dependencies": {
"@angular/animations": "10.0.14", "@angular/animations": "~10.0.14",
"@angular/common": "10.0.14", "@angular/common": "~10.0.14",
"@angular/core": "10.0.14", "@angular/core": "~10.0.14",
"@angular/forms": "10.0.14", "@angular/forms": "~10.0.14",
"@angular/platform-browser": "10.0.14", "@angular/platform-browser": "~10.0.14",
"@angular/platform-browser-dynamic": "10.0.14", "@angular/platform-browser-dynamic": "~10.0.14",
"@angular/router": "10.0.14", "@angular/router": "~10.0.14",
"@ionic-native/badge": "5.36.0", "@ionic-native/badge": "^5.36.0",
"@ionic-native/camera": "5.36.0", "@ionic-native/camera": "^5.36.0",
"@ionic-native/chooser": "5.36.0", "@ionic-native/chooser": "^5.36.0",
"@ionic-native/clipboard": "5.36.0", "@ionic-native/clipboard": "^5.36.0",
"@ionic-native/core": "5.36.0", "@ionic-native/core": "^5.36.0",
"@ionic-native/device": "5.36.0", "@ionic-native/device": "^5.36.0",
"@ionic-native/diagnostic": "5.36.0", "@ionic-native/diagnostic": "^5.36.0",
"@ionic-native/file": "5.36.0", "@ionic-native/file": "^5.36.0",
"@ionic-native/file-opener": "5.36.0", "@ionic-native/file-opener": "^5.36.0",
"@ionic-native/file-transfer": "5.36.0", "@ionic-native/file-transfer": "^5.36.0",
"@ionic-native/geolocation": "5.36.0", "@ionic-native/geolocation": "^5.36.0",
"@ionic-native/http": "5.36.0", "@ionic-native/http": "^5.36.0",
"@ionic-native/in-app-browser": "5.36.0", "@ionic-native/in-app-browser": "^5.36.0",
"@ionic-native/ionic-webview": "5.36.0", "@ionic-native/ionic-webview": "^5.36.0",
"@ionic-native/keyboard": "5.36.0", "@ionic-native/keyboard": "^5.36.0",
"@ionic-native/local-notifications": "5.36.0", "@ionic-native/local-notifications": "^5.36.0",
"@ionic-native/media-capture": "5.36.0", "@ionic-native/media-capture": "^5.36.0",
"@ionic-native/network": "5.36.0", "@ionic-native/network": "^5.36.0",
"@ionic-native/qr-scanner": "5.36.0", "@ionic-native/qr-scanner": "^5.36.0",
"@ionic-native/splash-screen": "5.36.0", "@ionic-native/splash-screen": "^5.36.0",
"@ionic-native/sqlite": "5.36.0", "@ionic-native/sqlite": "^5.36.0",
"@ionic-native/status-bar": "5.36.0", "@ionic-native/status-bar": "^5.36.0",
"@ionic-native/web-intent": "5.36.0", "@ionic-native/web-intent": "^5.36.0",
"@ionic-native/zip": "5.36.0", "@ionic-native/zip": "^5.36.0",
"@ionic/angular": "5.9.4", "@ionic/angular": "^5.9.4",
"@moodlehq/cordova-plugin-camera": "6.0.0-moodle.1", "@moodlehq/cordova-plugin-camera": "6.0.0-moodle.1",
"@moodlehq/cordova-plugin-file-transfer": "1.7.1-moodle.5", "@moodlehq/cordova-plugin-file-transfer": "1.7.1-moodle.5",
"@moodlehq/cordova-plugin-inappbrowser": "5.0.0-moodle.3", "@moodlehq/cordova-plugin-inappbrowser": "5.0.0-moodle.3",
@ -82,106 +82,107 @@
"@moodlehq/cordova-plugin-zip": "3.1.0-moodle.1", "@moodlehq/cordova-plugin-zip": "3.1.0-moodle.1",
"@moodlehq/ionic-native-push": "5.36.0-moodle.2", "@moodlehq/ionic-native-push": "5.36.0-moodle.2",
"@moodlehq/phonegap-plugin-push": "4.0.0-moodle.6", "@moodlehq/phonegap-plugin-push": "4.0.0-moodle.6",
"@ngx-translate/core": "13.0.0", "@ngx-translate/core": "^13.0.0",
"@ngx-translate/http-loader": "6.0.0", "@ngx-translate/http-loader": "^6.0.0",
"@types/chart.js": "2.9.31", "@types/chart.js": "^2.9.31",
"@types/cordova": "0.0.34", "@types/cordova": "0.0.34",
"@types/dom-mediacapture-record": "1.0.7", "@types/dom-mediacapture-record": "1.0.7",
"chart.js": "2.9.4", "chart.js": "^2.9.4",
"cordova": "11.0.0", "cordova": "^11.0.0",
"cordova-android": "11.0.0", "cordova-android": "^11.0.0",
"cordova-clipboard": "1.3.0", "cordova-clipboard": "^1.3.0",
"cordova-ios": "6.2.0", "cordova-ios": "^6.2.0",
"cordova-plugin-add-swift-support": "2.0.2", "cordova-plugin-add-swift-support": "^2.0.2",
"cordova-plugin-advanced-http": "3.3.1", "cordova-plugin-advanced-http": "^3.3.1",
"cordova-plugin-androidx-adapter": "1.1.3", "cordova-plugin-androidx-adapter": "^1.1.3",
"cordova-plugin-badge": "0.8.9", "cordova-plugin-badge": "^0.8.9",
"cordova-plugin-chooser": "1.3.2", "cordova-plugin-chooser": "^1.3.2",
"cordova-plugin-customurlscheme": "5.0.2", "cordova-plugin-customurlscheme": "^5.0.2",
"cordova-plugin-device": "2.1.0", "cordova-plugin-device": "^2.1.0",
"cordova-plugin-file": "6.0.2", "cordova-plugin-file": "6.0.2",
"cordova-plugin-file-opener2": "4.0.0", "cordova-plugin-file-opener2": "^4.0.0",
"cordova-plugin-geolocation": "4.1.0", "cordova-plugin-geolocation": "^4.1.0",
"cordova-plugin-ionic-keyboard": "2.2.0", "cordova-plugin-ionic-keyboard": "^2.2.0",
"cordova-plugin-media-capture": "3.0.3", "cordova-plugin-media-capture": "3.0.3",
"cordova-plugin-network-information": "3.0.0", "cordova-plugin-network-information": "^3.0.0",
"cordova-plugin-prevent-override": "1.0.1", "cordova-plugin-prevent-override": "^1.0.1",
"cordova-plugin-screen-orientation": "3.0.2", "cordova-plugin-screen-orientation": "^3.0.2",
"cordova-plugin-statusbar": "3.0.0", "cordova-plugin-statusbar": "^3.0.0",
"cordova-plugin-wkuserscript": "1.0.1", "cordova-plugin-wkuserscript": "^1.0.1",
"cordova-plugin-wkwebview-cookies": "1.0.1", "cordova-plugin-wkwebview-cookies": "^1.0.1",
"cordova-sqlite-storage": "6.1.0", "cordova-sqlite-storage": "^6.1.0",
"cordova.plugins.diagnostic": "7.1.1", "cordova.plugins.diagnostic": "^7.1.1",
"core-js": "3.9.1", "core-js": "^3.9.1",
"es6-promise-plugin": "4.2.2", "es6-promise-plugin": "^4.2.2",
"hammerjs": "2.0.8", "hammerjs": "^2.0.8",
"jszip": "3.7.1", "jszip": "^3.7.1",
"mathjax": "2.7.9", "mathjax": "2.7.9",
"moment": "2.29.4", "moment": "^2.29.4",
"moment-timezone": "0.5.38", "moment-timezone": "^0.5.38",
"mp3-mediarecorder": "^4.0.5", "mp3-mediarecorder": "4.0.5",
"nl.kingsquare.cordova.background-audio": "1.0.1", "nl.kingsquare.cordova.background-audio": "^1.0.1",
"ogv": "1.8.9", "ogv": "^1.8.9",
"rxjs": "6.5.5", "rxjs": "~6.5.5",
"ts-md5": "1.2.7", "ts-md5": "^1.2.7",
"tslib": "2.3.1", "tslib": "^2.3.1",
"video.js": "7.21.1", "video.js": "^7.21.1",
"zone.js": "0.10.3" "zone.js": "~0.10.3"
}, },
"devDependencies": { "devDependencies": {
"@angular-builders/custom-webpack": "10.0.1", "@angular-builders/custom-webpack": "^10.0.1",
"@angular-devkit/architect": "0.1202.7", "@angular-devkit/architect": "^0.1202.7",
"@angular-devkit/build-angular": "0.1000.8", "@angular-devkit/build-angular": "~0.1000.8",
"@angular-eslint/builder": "4.2.0", "@angular-eslint/builder": "^4.2.0",
"@angular-eslint/eslint-plugin": "4.2.0", "@angular-eslint/eslint-plugin": "^4.2.0",
"@angular-eslint/eslint-plugin-template": "4.2.0", "@angular-eslint/eslint-plugin-template": "^4.2.0",
"@angular-eslint/schematics": "4.2.0", "@angular-eslint/schematics": "^4.2.0",
"@angular-eslint/template-parser": "4.2.0", "@angular-eslint/template-parser": "^4.2.0",
"@angular/cli": "10.0.8", "@angular/cli": "~10.0.8",
"@angular/compiler": "10.0.14", "@angular/compiler": "~10.0.14",
"@angular/compiler-cli": "10.0.14", "@angular/compiler-cli": "~10.0.14",
"@angular/language-service": "10.0.14", "@angular/language-service": "~10.0.14",
"@ionic/angular-toolkit": "2.3.3", "@ionic/angular-toolkit": "^2.3.3",
"@ionic/cli": "6.19.0", "@ionic/cli": "^6.19.0",
"@storybook/addon-controls": "6.1.21", "@storybook/addon-controls": "~6.1.21",
"@storybook/angular": "6.1.21", "@storybook/angular": "~6.1.21",
"@types/faker": "5.1.3", "@types/faker": "^5.1.3",
"@types/node": "12.12.64", "@types/jest": "^26.0.24",
"@types/resize-observer-browser": "0.1.5", "@types/node": "^12.12.64",
"@types/webpack-env": "1.16.0", "@types/resize-observer-browser": "^0.1.5",
"@typescript-eslint/eslint-plugin": "4.22.0", "@types/webpack-env": "^1.16.0",
"@typescript-eslint/parser": "4.22.0", "@typescript-eslint/eslint-plugin": "^4.22.0",
"check-es-compat": "1.1.1", "@typescript-eslint/parser": "^4.22.0",
"compare-versions": "4.1.4", "check-es-compat": "^1.1.1",
"cross-env": "7.0.3", "compare-versions": "^4.1.4",
"eslint": "7.25.0", "cross-env": "^7.0.3",
"eslint-config-prettier": "8.3.0", "eslint": "^7.25.0",
"eslint-plugin-header": "3.1.1", "eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "2.22.1", "eslint-plugin-header": "^3.1.1",
"eslint-plugin-jest": "24.3.6", "eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "32.3.3", "eslint-plugin-jest": "^24.3.6",
"eslint-plugin-prefer-arrow": "1.2.3", "eslint-plugin-jsdoc": "^32.3.3",
"eslint-plugin-promise": "5.1.0", "eslint-plugin-prefer-arrow": "^1.2.3",
"faker": "5.1.0", "eslint-plugin-promise": "^5.1.0",
"fs-extra": "9.1.0", "faker": "^5.1.0",
"fs-extra": "^9.1.0",
"gulp": "4.0.2", "gulp": "4.0.2",
"gulp-clip-empty-files": "0.1.2", "gulp-clip-empty-files": "^0.1.2",
"gulp-concat": "2.6.1", "gulp-concat": "^2.6.1",
"gulp-flatten": "0.4.0", "gulp-flatten": "^0.4.0",
"gulp-htmlmin": "5.0.1", "gulp-htmlmin": "^5.0.1",
"gulp-rename": "2.0.0", "gulp-rename": "^2.0.0",
"gulp-slash": "1.1.3", "gulp-slash": "^1.1.3",
"jest": "26.5.2", "jest": "^26.5.2",
"jest-preset-angular": "8.3.1", "jest-preset-angular": "^8.3.1",
"jest-raw-loader": "1.0.1", "jest-raw-loader": "^1.0.1",
"jsonc-parser": "2.3.1", "jsonc-parser": "^2.3.1",
"minimatch": "5.1.0", "minimatch": "^5.1.0",
"native-run": "1.4.0", "native-run": "^1.4.0",
"patch-package": "6.5.0", "patch-package": "^6.5.0",
"terser-webpack-plugin": "4.2.3", "terser-webpack-plugin": "^4.2.3",
"ts-jest": "26.4.1", "ts-jest": "^26.4.1",
"ts-node": "8.3.0", "ts-node": "~8.3.0",
"typescript": "3.9.9" "typescript": "^3.9.9"
}, },
"engines": { "engines": {
"node": ">=14.15.0 <15" "node": ">=14.15.0 <15"

View File

@ -6,7 +6,7 @@
LANGPACKSFOLDER='../../moodle-langpacks' # Langpacks will be downloaded here. LANGPACKSFOLDER='../../moodle-langpacks' # Langpacks will be downloaded here.
BUCKET='moodle-lang-prod' BUCKET='moodle-lang-prod'
MOODLEORG_URL='https://download.moodle.org/download.php/direct/langpack' MOODLEORG_URL='https://download.moodle.org/download.php/direct/langpack'
DEFAULT_LASTVERSION='4.1' # Update it every version. DEFAULT_LASTVERSION='4.2' # Update it every version.
# Checks if AWS is available and configured. # Checks if AWS is available and configured.
function check_aws { function check_aws {

View File

@ -110,6 +110,7 @@ export class CoreSite {
'4.0': 2022041900, '4.0': 2022041900,
'4.1': 2022112800, '4.1': 2022112800,
'4.2': 2023042400, '4.2': 2023042400,
'4.3': 2024000000, // @todo [4.3] replace with right value when released. Using a tmp value to be able to test new things.
}; };
// Possible cache update frequencies. // Possible cache update frequencies.

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
import 'jest-preset-angular'; import 'jest-preset-angular/setup-jest';
import { setCreateSingletonMethodProxy, setSingletonsInjector } from '@singletons'; import { setCreateSingletonMethodProxy, setSingletonsInjector } from '@singletons';