Skip to content

Commit 1a6f6a0

Browse files
authored
Merge pull request #2093 from moodlehq/integration
Integration
2 parents 6557e34 + 3edc42c commit 1a6f6a0

File tree

441 files changed

+24791
-3634
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

441 files changed

+24791
-3634
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ cache:
1515
- $HOME/.cache/electron-builder
1616

1717
before_script:
18-
- npm install -g @angular/cli
19-
- npm i npm@latest -g
18+
- npm install npm@latest -g
2019
- gulp
2120

2221
script:

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ EXPOSE 35729
1111
# Port 53703 is the Chrome dev logger port.
1212
EXPOSE 53703
1313

14-
# MoodleMobile uses Ionic and Gulp.
15-
RUN npm i -g ionic gulp && rm -rf /root/.npm
16-
1714
WORKDIR /app
1815

1916
COPY . /app
2017

21-
# Install npm libraries and run gulp to initialize the project.
22-
RUN npm install && gulp && rm -rf /root/.npm
18+
# Install npm libraries.
19+
RUN npm install && rm -rf /root/.npm
20+
21+
# Run gulp before starting.
22+
RUN npx gulp
2323

2424
# Provide a Healthcheck command for easier use in CI.
2525
HEALTHCHECK --interval=10s --timeout=3s --start-period=30s CMD curl -f http://localhost:8100 || exit 1
2626

27-
CMD ["ionic", "serve", "-b"]
27+
CMD ["npm", "run", "ionic:serve"]

config.xml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version='1.0' encoding='utf-8'?>
2-
<widget id="com.moodle.moodlemobile" version="3.7.0" 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">
2+
<widget id="com.moodle.moodlemobile" version="3.7.1" 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">
33
<name>Moodle</name>
44
<description>Moodle official app</description>
55
<author email="[email protected]" href="http://moodle.com">Moodle Mobile team</author>
@@ -23,7 +23,7 @@
2323
<preference name="webviewbounce" value="false" />
2424
<preference name="AppendUserAgent" value="MoodleMobile" />
2525
<preference name="android-minSdkVersion" value="19" />
26-
<preference name="android-targetSdkVersion" value="26" />
26+
<preference name="android-targetSdkVersion" value="28" />
2727
<preference name="UIWebViewBounce" value="false" />
2828
<preference name="DisallowOverscroll" value="true" />
2929
<preference name="BackupWebStorage" value="none" />
@@ -113,30 +113,30 @@
113113
<icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" />
114114
<splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" />
115115
</platform>
116-
<plugin name="com-darryncampbell-cordova-plugin-intent" spec="1.1.7" />
117-
<plugin name="cordova-android-support-gradle-release" spec="3.0.0">
116+
<plugin name="com-darryncampbell-cordova-plugin-intent" spec="1.1.8" />
117+
<plugin name="cordova-android-support-gradle-release" spec="3.0.1">
118118
<variable name="ANDROID_SUPPORT_VERSION" value="27.1.0" />
119119
</plugin>
120-
<plugin name="cordova-clipboard" spec="1.2.1" />
120+
<plugin name="cordova-clipboard" spec="1.3.0" />
121121
<plugin name="cordova-plugin-badge" spec="0.8.8" />
122-
<plugin name="cordova-plugin-camera" spec="4.0.3" />
122+
<plugin name="cordova-plugin-camera" spec="4.1.0" />
123123
<plugin name="cordova-plugin-customurlscheme" spec="4.4.0">
124124
<variable name="URL_SCHEME" value="moodlemobile" />
125125
</plugin>
126-
<plugin name="cordova-plugin-device" spec="2.0.2" />
127-
<plugin name="cordova-plugin-file" spec="6.0.1" />
126+
<plugin name="cordova-plugin-device" spec="2.0.3" />
127+
<plugin name="cordova-plugin-file" spec="6.0.2" />
128128
<plugin name="cordova-plugin-file-opener2" spec="2.0.19" />
129129
<plugin name="cordova-plugin-file-transfer" spec="1.7.1" />
130130
<plugin name="cordova-plugin-globalization" spec="1.11.0" />
131-
<plugin name="cordova-plugin-inappbrowser" spec="3.0.0" />
131+
<plugin name="cordova-plugin-inappbrowser" spec="3.1.0" />
132132
<plugin name="cordova-plugin-ionic-keyboard" spec="2.1.3" />
133133
<plugin name="cordova-plugin-local-notification" spec="https://github.com/moodlemobile/cordova-plugin-local-notification.git#moodle" />
134-
<plugin name="cordova-plugin-media-capture" spec="3.0.2" />
135-
<plugin name="cordova-plugin-network-information" spec="2.0.1" />
136-
<plugin name="cordova-plugin-screen-orientation" spec="3.0.1" />
137-
<plugin name="cordova-plugin-splashscreen" spec="5.0.2" />
138-
<plugin name="cordova-plugin-statusbar" spec="2.4.2" />
139-
<plugin name="cordova-plugin-whitelist" spec="1.3.3" />
134+
<plugin name="cordova-plugin-media-capture" spec="3.0.3" />
135+
<plugin name="cordova-plugin-network-information" spec="2.0.2" />
136+
<plugin name="cordova-plugin-screen-orientation" spec="3.0.2" />
137+
<plugin name="cordova-plugin-splashscreen" spec="5.0.3" />
138+
<plugin name="cordova-plugin-statusbar" spec="2.4.3" />
139+
<plugin name="cordova-plugin-whitelist" spec="1.3.4" />
140140
<plugin name="cordova-plugin-zip" spec="3.1.0" />
141141
<plugin name="cordova-sqlite-storage" spec="2.6.0" />
142142
<plugin name="nl.kingsquare.cordova.background-audio" spec="1.0.1" />
@@ -147,6 +147,9 @@
147147
<edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/application/activity[@android:name='MainActivity']">
148148
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|screenLayout|smallestScreenSize" android:debuggable="true" />
149149
</edit-config>
150+
<edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/application">
151+
<application android:usesCleartextTraffic="true" />
152+
</edit-config>
150153
<config-file parent="/manifest/application" target="AndroidManifest.xml">
151154
<meta-data android:name="firebase_analytics_collection_deactivated" android:value="true" />
152155
</config-file>

desktop/assets/windows/AppXManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<Identity Name="3312ADB7.MoodleDesktop"
77
ProcessorArchitecture="x64"
88
Publisher="CN=33CDCDF6-1EB5-4827-9897-ED25C91A32F6"
9-
Version="3.7.0.0" />
9+
Version="3.7.1.0" />
1010
<Properties>
1111
<DisplayName>Moodle Desktop</DisplayName>
1212
<PublisherDisplayName>Moodle Pty Ltd.</PublisherDisplayName>

0 commit comments

Comments
 (0)