Skip to content

Commit 3704e17

Browse files
authored
Merge pull request #1255 from moodlehq/integration
Integration
2 parents aa353dd + 100dada commit 3704e17

File tree

719 files changed

+4159
-1368
lines changed

Some content is hidden

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

719 files changed

+4159
-1368
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ addons:
1515
language: node_js
1616

1717
node_js:
18-
- '6.9.1'
18+
- '6.10.1'
1919

2020
cache:
2121
directories:

config.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2-
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" id="com.moodle.moodlemobile" version="3.4.0">
2+
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" id="com.moodle.moodlemobile" version="3.4.1">
33
<name>Moodle Mobile</name>
44
<description>
55
Moodle Mobile official app
@@ -33,6 +33,7 @@
3333
<preference name="iosPersistentFileLocation" value="Compatibility"/>
3434
<preference name="SplashScreen" value="screen"/>
3535
<preference name="SplashScreenDelay" value="3000"/>
36+
<preference name="SplashMaintainAspectRatio" value="true"/>
3637
<feature name="StatusBar">
3738
<param name="ios-package" value="CDVStatusBar" onload="true"/>
3839
</feature>

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.4.0.0" />
9+
Version="3.4.1.0" />
1010
<Properties>
1111
<DisplayName>Moodle Desktop</DisplayName>
1212
<PublisherDisplayName>Moodle Pty Ltd.</PublisherDisplayName>

e2e/lib.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,12 @@ MM.loginAs = function (username, password) {
153153

154154
browser.ignoreSynchronization = true;
155155
browser.waitForAngular();
156-
browser.wait(EC.visibilityOf(element(by.model('siteurl'))), 15000);
156+
browser.wait(EC.visibilityOf(element(by.model('loginData.siteurl'))), 15000);
157157

158-
element(by.model('siteurl'))
158+
element(by.model('loginData.siteurl'))
159159
.sendKeys(SITEURL);
160-
browser.wait(EC.elementToBeClickable($('[ng-click="connect(siteurl)"]')), 15000);
161-
return $('[ng-click="connect(siteurl)"]').click()
160+
browser.wait(EC.elementToBeClickable($('[ng-click="connect(loginData.siteurl)"]')), 15000);
161+
return $('[ng-click="connect(loginData.siteurl)"]').click()
162162
.then(function () {
163163
waitForCondition();
164164
browser.wait(EC.visibilityOf($('[ng-click="login()"]')), 15000);

e2e/sauce/browser/protractor-sauce-browser-activities-3.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ exports.config = {
1313
"../../../e2e/*.js",
1414
"../../../www/**/e2e/mod_glossary.spec.js",
1515
"../../../www/**/e2e/mod_wiki.spec.js",
16-
"../../../www/**/e2e/mod_data.spec.js"
16+
"../../../www/**/e2e/mod_data.spec.js",
17+
"../../../www/**/e2e/mod_workshop.spec.js"
1718
],
1819
baseUrl: 'http://localhost:8100/',
1920
seleniumAddress: "http://" + process.env.SAUCE_USERNAME + ":" + process.env.SAUCE_ACCESS_KEY + "@ondemand.saucelabs.com:80/wd/hub",

e2e/sauce/protractor-sauce-android.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ exports.config = {
2525
"../../../www/**/e2e/mod_glossary.spec.js",
2626
"../../../www/**/e2e/mod_wiki.spec.js",
2727
"../../../www/**/e2e/mod_data.spec.js",
28+
"../../../www/**/e2e/mod_workshop.spec.js",
2829
"../../../www/**/e2e/notifications.spec.js",
2930
"../../../www/**/e2e/contacts.spec.js",
3031
"../../../www/**/e2e/messages.spec.js",
@@ -87,7 +88,7 @@ exports.config = {
8788
global.DEVICEURL = 'http://localhost:8100/';
8889
global.DEVICEVERSION = undefined;
8990
global.SITEURL = 'http://school.demo.moodle.net';
90-
global.SITEVERSION = 3.3;
91+
global.SITEVERSION = 3.4;
9192
global.SITEHASLM = false;
9293
global.USERS = {
9394
"STUDENT": {

e2e/sauce/protractor-sauce-ios.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ exports.config = {
2525
"../../../www/**/e2e/mod_glossary.spec.js",
2626
"../../../www/**/e2e/mod_wiki.spec.js",
2727
"../../../www/**/e2e/mod_data.spec.js",
28+
"../../../www/**/e2e/mod_workshop.spec.js",
2829
"../../../www/**/e2e/notifications.spec.js",
2930
"../../../www/**/e2e/contacts.spec.js",
3031
"../../../www/**/e2e/messages.spec.js",
@@ -86,7 +87,7 @@ exports.config = {
8687
global.DEVICEURL = 'http://localhost:8100/';
8788
global.DEVICEVERSION = undefined;
8889
global.SITEURL = 'http://school.demo.moodle.net';
89-
global.SITEVERSION = 3.3;
90+
global.SITEVERSION = 3.4;
9091
global.SITEHASLM = false;
9192
global.USERS = {
9293
"STUDENT": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "moodlemobile",
3-
"version": "3.4.0",
3+
"version": "3.4.1",
44
"description": "The official app for Moodle.",
55
"author": {
66
"name": "Moodle Pty Ltd.",

upgrade.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
This files describes API changes in the Moodle Mobile app,
22
information provided here is intended especially for developers.
33

4+
=== 3.4.1 ===
5+
6+
* Some modules implemented a siteId param in the getDownloadSize of their prefetch handler. This param was never sent, so it has been replaced by a "single" param.
7+
48
=== 3.4 ===
59

610
* For performance reasons, $mmCoursesDelegate has changed a bit:

www/addons/badges/controllers/issuedbadge.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ angular.module('mm.addons.badges')
3131
var promises = [],
3232
promise;
3333

34+
$scope.currentTime = $mmUtil.timestamp();
3435
promise = $mmUser.getProfile($scope.userId, $scope.courseId, true).then(function(user) {
3536
$scope.user = user;
3637
});

0 commit comments

Comments
 (0)