www.moodlemoot.co.nz<\/a>
<\/span><\/p>\r\nTag: #mootnz14<\/span><\/p>","format":1,"courseid":1,"groupid":0,"userid":24152,"repeatid":0,"modulename":"0","instance":0,"eventtype":"site","timestart":1412107200,"timeduration":201600,"visible":1,"uuid":"","sequence":1,"timemodified":1399405922,"subscriptionid":null}],"warnings":[]}
\ No newline at end of file
+{
+ "events": [
+ {
+ "id": 9748,
+ "name": "Mountain MoodleMoot",
+ "description": "July 9-11, 2014 - Helena, Montana 
\r\nA small personable Moodle Moot in the heart of the Rockies
\r\nFurther information: www.mountainmoot.com
\r\nTag: #mtmoot
",
+ "format": 1,
+ "courseid": 1,
+ "groupid": 0,
+ "userid": 24152,
+ "repeatid": 0,
+ "modulename": "Forum",
+ "courseName": "Moots course",
+ "instance": 0,
+ "eventtype": "course",
+ "timestart": 1404916200,
+ "timeduration": 7200,
+ "visible": 1,
+ "uuid": "",
+ "sequence": 1,
+ "timemodified": 1390900746,
+ "subscriptionid": null
+ },
+ {
+ "id": 9983,
+ "name": "Moodle 2.7.1 scheduled release",
+ "description": " \r\nMoodle 2.7.1, Moodle 2.6.4 and Moodle 2.5.7 are scheduled to be released on this date.
",
+ "format": 1,
+ "courseid": 1,
+ "groupid": 0,
+ "userid": 24152,
+ "repeatid": 0,
+ "modulename": "0",
+ "instance": 0,
+ "eventtype": "site",
+ "timestart": 1405372800,
+ "timeduration": 0,
+ "visible": 1,
+ "uuid": "",
+ "sequence": 1,
+ "timemodified": 1399930008,
+ "subscriptionid": null
+ },
+ {
+ "id": 9867,
+ "name": "Moodle Moot Colombia 2014",
+ "description": "31 July - 1 August 2014
\r\nLocation: Bogota Colombia
\r\nFurther information: www.moodlemoot.org.co
\r\nTag: #mootco14
\r\n",
+ "format": 1,
+ "courseid": 1,
+ "groupid": 0,
+ "userid": 24152,
+ "repeatid": 0,
+ "modulename": "0",
+ "instance": 0,
+ "eventtype": "site",
+ "timestart": 1406815200,
+ "timeduration": 115200,
+ "visible": 1,
+ "uuid": "",
+ "sequence": 1,
+ "timemodified": 1397212617,
+ "subscriptionid": null
+ },
+ {
+ "id": 9719,
+ "name": "MoodleMoot Romania 2014",
+ "description": "18 - 23 August 2014
\r\nLocation: Cluj-Napoca, Romania
\r\nFurther information: www.moodle.ro/moot2014
",
+ "format": 1,
+ "courseid": 1,
+ "groupid": 0,
+ "userid": 24152,
+ "repeatid": 0,
+ "modulename": "0",
+ "instance": 0,
+ "eventtype": "site",
+ "timestart": 1408345200,
+ "timeduration": 460800,
+ "visible": 1,
+ "uuid": "",
+ "sequence": 1,
+ "timemodified": 1389259729,
+ "subscriptionid": null
+ },
+ {
+ "id": 9984,
+ "name": "Moodle 2.7.2 scheduled release",
+ "description": "Moodle 2.7.2, Moodle 2.6.5 and Moodle 2.5.8 are scheduled to be released on this date.
",
+ "format": 1,
+ "courseid": 1,
+ "groupid": 0,
+ "userid": 24152,
+ "repeatid": 0,
+ "modulename": "0",
+ "instance": 0,
+ "eventtype": "site",
+ "timestart": 1410211500,
+ "timeduration": 0,
+ "visible": 1,
+ "uuid": "",
+ "sequence": 1,
+ "timemodified": 1399930088,
+ "subscriptionid": null
+ },
+ {
+ "id": 9957,
+ "name": "MoodleMoot NZ14",
+ "description": "Wednesday 1st October to Friday 3rd October 2014
\r\nLocation: Nelson, New Zealand
\r\nFurther information: www.moodlemoot.co.nz
\r\nTag: #mootnz14
",
+ "format": 1,
+ "courseid": 1,
+ "groupid": 0,
+ "userid": 24152,
+ "repeatid": 0,
+ "modulename": "0",
+ "instance": 0,
+ "eventtype": "site",
+ "timestart": 1412107200,
+ "timeduration": 201600,
+ "visible": 1,
+ "uuid": "",
+ "sequence": 1,
+ "timemodified": 1399405922,
+ "subscriptionid": null
+ }
+ ],
+ "warnings": []
+}
\ No newline at end of file
diff --git a/emulator/core_course_get_contents.json b/emulator/core_course_get_contents.json
index 1958fcd8f..97cda621c 100644
--- a/emulator/core_course_get_contents.json
+++ b/emulator/core_course_get_contents.json
@@ -23,7 +23,7 @@
"id": 4,
"name": "Have your Say",
"visible": 1,
- "summary": "",
+ "summary": "This is the second section description
Some information
",
"summaryformat": 1,
"modules": [
{
diff --git a/emulator/local_mobile_core_files_get_files.json b/emulator/local_mobile_core_files_get_files.json
index 8b42daf95..97cb0df2f 100644
--- a/emulator/local_mobile_core_files_get_files.json
+++ b/emulator/local_mobile_core_files_get_files.json
@@ -1 +1,55 @@
-{"parents":[{"contextid":1,"component":null,"filearea":null,"itemid":null,"filepath":null,"filename":"System"},{"contextid":62,"component":null,"filearea":null,"itemid":null,"filepath":null,"filename":"Terry Teacher"}],"files":[{"contextid":62,"component":"user","filearea":"private","itemid":0,"filepath":"\/Private folder 1 \u00f1\/","filename":"Private folder 1 \u00f1","isdir":true,"url":null,"timemodified":1406807749},{"contextid":62,"component":"user","filearea":"private","itemid":0,"filepath":"\/Private folder 2\/","filename":"Private folder 2","isdir":true,"url":null,"timemodified":1406807749},{"contextid":62,"component":"user","filearea":"private","itemid":0,"filepath":"\/","filename":"Ray.jpg","isdir":false,"url":"http:\/\/localhost\/m\/stable_24\/pluginfile.php\/62\/user\/private\/Ray.jpg","timemodified":1406807749}]}
\ No newline at end of file
+{
+ "parents": [
+ {
+ "contextid": 1,
+ "component": null,
+ "filearea": null,
+ "itemid": null,
+ "filepath": null,
+ "filename": "System"
+ },
+ {
+ "contextid": 62,
+ "component": null,
+ "filearea": null,
+ "itemid": null,
+ "filepath": null,
+ "filename": "Terry Teacher"
+ }
+ ],
+ "files": [
+ {
+ "contextid": 62,
+ "component": "user",
+ "filearea": "private",
+ "itemid": 0,
+ "filepath": "/Private folder 1 ñ/",
+ "filename": "Private folder 1 ñ",
+ "isdir": true,
+ "url": null,
+ "timemodified": 1406807749
+ },
+ {
+ "contextid": 62,
+ "component": "user",
+ "filearea": "private",
+ "itemid": 0,
+ "filepath": "/Private folder 2/",
+ "filename": "Private folder 2",
+ "isdir": true,
+ "url": null,
+ "timemodified": 1406807749
+ },
+ {
+ "contextid": 62,
+ "component": "user",
+ "filearea": "private",
+ "itemid": 0,
+ "filepath": "/",
+ "filename": "Ray.jpg",
+ "isdir": false,
+ "url": "http://localhost/m/stable_24/pluginfile.php/62/user/private/Ray.jpg",
+ "timemodified": 1406807749
+ }
+ ]
+}
\ No newline at end of file
diff --git a/emulator/local_mobile_core_grades_get_grades.json b/emulator/local_mobile_core_grades_get_grades.json
index 7884a16e6..843bf6211 100644
--- a/emulator/local_mobile_core_grades_get_grades.json
+++ b/emulator/local_mobile_core_grades_get_grades.json
@@ -1 +1,33 @@
-{"items":[{"activityid":"4","itemnumber":0,"scaleid":0,"name":"Cuestionario sencillo","grademin":0,"grademax":10,"gradepass":0,"locked":false,"hidden":false,"grades":[{"userid":3,"grade":7,"locked":false,"hidden":false,"overridden":false,"feedback":null,"feedbackformat":0,"usermodified":3,"datesubmitted":1404987241,"dategraded":1404987241,"str_grade":"7.00","str_long_grade":"7.00 \/ 10.00","str_feedback":""}]}],"outcomes":[]}
\ No newline at end of file
+{
+ "items": [
+ {
+ "activityid": "4",
+ "itemnumber": 0,
+ "scaleid": 0,
+ "name": "Cuestionario sencillo",
+ "grademin": 0,
+ "grademax": 10,
+ "gradepass": 0,
+ "locked": false,
+ "hidden": false,
+ "grades": [
+ {
+ "userid": 3,
+ "grade": 7,
+ "locked": false,
+ "hidden": false,
+ "overridden": false,
+ "feedback": null,
+ "feedbackformat": 0,
+ "usermodified": 3,
+ "datesubmitted": 1404987241,
+ "dategraded": 1404987241,
+ "str_grade": "7.00",
+ "str_long_grade": "7.00 / 10.00",
+ "str_feedback": ""
+ }
+ ]
+ }
+ ],
+ "outcomes": []
+}
\ No newline at end of file
diff --git a/emulator/local_mobile_core_message_get_contacts.json b/emulator/local_mobile_core_message_get_contacts.json
new file mode 100644
index 000000000..3431a95d6
--- /dev/null
+++ b/emulator/local_mobile_core_message_get_contacts.json
@@ -0,0 +1,18 @@
+{
+ "online": [],
+ "offline": [],
+ "strangers": [
+ {
+ "id": 2,
+ "fullname": "Admin User",
+ "unread": 5
+ },
+ {
+ "id": 3,
+ "fullname": "Terry Teacher",
+ "profileimageurl": "emulator/userimage.png#",
+ "profileimageurlsmall": "emulator/userimage.png#",
+ "unread": 1
+ }
+ ]
+}
\ No newline at end of file
diff --git a/emulator/local_mobile_core_message_get_messages.json b/emulator/local_mobile_core_message_get_messages.json
index 5c2d0747f..0219bc134 100644
--- a/emulator/local_mobile_core_message_get_messages.json
+++ b/emulator/local_mobile_core_message_get_messages.json
@@ -1 +1,59 @@
-{"messages":[{"id":3,"useridfrom":2,"useridto":3,"subject":"New message from Admin User","text":"abcdef","fullmessage":"abcdef\n\n---------------------------------------------------------------------\nThis is a copy of a message sent to you at \"\u201cMoodle25\u201d\". Go to http:\/\/prototype.moodle.net\/mobile\/moodle25\/message\/index.php?user=3&id=2 to reply.","fullmessageformat":0,"fullmessagehtml":"","smallmessage":"abcdef","notification":0,"contexturl":null,"contexturlname":null,"timecreated":1402090270,"timeread":1402912415,"usertofullname":"Andrew Student","userfromfullname":"Admin User"},{"id":2,"useridfrom":2,"useridto":3,"subject":"New message from Admin User","text":"ttre","fullmessage":"ttre\n\n---------------------------------------------------------------------\nThis is a copy of a message sent to you at \"\u201cMoodle25\u201d\". Go to http:\/\/prototype.moodle.net\/mobile\/moodle25\/message\/index.php?user=3&id=2 to reply.","fullmessageformat":0,"fullmessagehtml":"","smallmessage":"ttre","notification":0,"contexturl":null,"contexturlname":null,"timecreated":1402090251,"timeread":1402912415,"usertofullname":"Andrew Student","userfromfullname":"Admin User"},{"id":1,"useridfrom":2,"useridto":3,"subject":"New message from Admin User","text":"Welcome to my course!","fullmessage":"Welcome to my course!\n\n---------------------------------------------------------------------\nThis is a copy of a message sent to you at \"\u201cMoodle25\u201d\". Go to http:\/\/prototype.moodle.net\/mobile\/moodle25\/message\/index.php?user=3&id=2 to reply.","fullmessageformat":0,"fullmessagehtml":"","smallmessage":"Welcome to my course!","notification":0,"contexturl":null,"contexturlname":null,"timecreated":1401890036,"timeread":1402912415,"usertofullname":"Andrew Student","userfromfullname":"Admin User"}],"warnings":[]}
\ No newline at end of file
+{
+ "messages": [
+ {
+ "id": 3,
+ "useridfrom": 2,
+ "useridto": 3,
+ "subject": "New message from Admin User",
+ "text": "abcdef",
+ "fullmessage": "abcdef\n\n---------------------------------------------------------------------\nThis is a copy of a message sent to you at \"“Moodle25”\". Go to http://prototype.moodle.net/mobile/moodle25/message/index.php?user=3&id=2 to reply.",
+ "fullmessageformat": 0,
+ "fullmessagehtml": "",
+ "smallmessage": "abcdef",
+ "notification": 0,
+ "contexturl": null,
+ "contexturlname": null,
+ "timecreated": 1402090270,
+ "timeread": 1402912415,
+ "usertofullname": "Andrew Student",
+ "userfromfullname": "Admin User"
+ },
+ {
+ "id": 2,
+ "useridfrom": 3,
+ "useridto": 2,
+ "subject": "New message from Admin User",
+ "text": "ttre",
+ "fullmessage": "ttre\n\n---------------------------------------------------------------------\nThis is a copy of a message sent to you at \"“Moodle25”\". Go to http://prototype.moodle.net/mobile/moodle25/message/index.php?user=3&id=2 to reply.",
+ "fullmessageformat": 0,
+ "fullmessagehtml": "",
+ "smallmessage": "ttre",
+ "notification": 0,
+ "contexturl": null,
+ "contexturlname": null,
+ "timecreated": 1402090251,
+ "timeread": 1402912415,
+ "usertofullname": "Andrew Student",
+ "userfromfullname": "Admin User"
+ },
+ {
+ "id": 1,
+ "useridfrom": 2,
+ "useridto": 3,
+ "subject": "New message from Admin User",
+ "text": "Welcome to my course!",
+ "fullmessage": "Welcome to my course!\n\n---------------------------------------------------------------------\nThis is a copy of a message sent to you at \"“Moodle25”\". Go to http://prototype.moodle.net/mobile/moodle25/message/index.php?user=3&id=2 to reply.",
+ "fullmessageformat": 0,
+ "fullmessagehtml": "",
+ "smallmessage": "Welcome to my course!",
+ "notification": 0,
+ "contexturl": null,
+ "contexturlname": null,
+ "timecreated": 1401890036,
+ "timeread": 1402912415,
+ "usertofullname": "Andrew Student",
+ "userfromfullname": "Admin User"
+ }
+ ],
+ "warnings": []
+}
\ No newline at end of file
diff --git a/emulator/mod_assign_get_assignments.json b/emulator/mod_assign_get_assignments.json
new file mode 100644
index 000000000..c8471e3e5
--- /dev/null
+++ b/emulator/mod_assign_get_assignments.json
@@ -0,0 +1,324 @@
+{
+ "courses": [
+ {
+ "id": 4,
+ "fullname": "MoodleMobile Developer Testing Course",
+ "shortname": "MoodleMobile Testing",
+ "timemodified": 1426864349,
+ "assignments": [
+ {
+ "id": 12,
+ "cmid": 80,
+ "course": 4,
+ "name": "Task",
+ "nosubmissions": 0,
+ "submissiondrafts": 0,
+ "sendnotifications": 1,
+ "sendlatenotifications": 1,
+ "sendstudentnotifications": 1,
+ "duedate": 0,
+ "allowsubmissionsfromdate": 1664274000,
+ "grade": 100,
+ "timemodified": 1427106986,
+ "completionsubmit": 0,
+ "cutoffdate": 0,
+ "teamsubmission": 0,
+ "requireallteammemberssubmit": 0,
+ "teamsubmissiongroupingid": 0,
+ "blindmarking": 0,
+ "revealidentities": 0,
+ "attemptreopenmethod": "none",
+ "maxattempts": -1,
+ "markingworkflow": 0,
+ "markingallocation": 0,
+ "requiresubmissionstatement": 0,
+ "configs": [
+ {
+ "id": 78,
+ "assignment": 12,
+ "plugin": "onlinetext",
+ "subtype": "assignsubmission",
+ "name": "enabled",
+ "value": "1"
+ },
+ {
+ "id": 79,
+ "assignment": 12,
+ "plugin": "file",
+ "subtype": "assignsubmission",
+ "name": "enabled",
+ "value": "0"
+ },
+ {
+ "id": 80,
+ "assignment": 12,
+ "plugin": "comments",
+ "subtype": "assignsubmission",
+ "name": "enabled",
+ "value": "1"
+ },
+ {
+ "id": 81,
+ "assignment": 12,
+ "plugin": "comments",
+ "subtype": "assignfeedback",
+ "name": "enabled",
+ "value": "1"
+ },
+ {
+ "id": 82,
+ "assignment": 12,
+ "plugin": "offline",
+ "subtype": "assignfeedback",
+ "name": "enabled",
+ "value": "0"
+ },
+ {
+ "id": 83,
+ "assignment": 12,
+ "plugin": "file",
+ "subtype": "assignfeedback",
+ "name": "enabled",
+ "value": "0"
+ },
+ {
+ "id": 90,
+ "assignment": 12,
+ "plugin": "onlinetext",
+ "subtype": "assignsubmission",
+ "name": "wordlimit",
+ "value": "0"
+ },
+ {
+ "id": 91,
+ "assignment": 12,
+ "plugin": "onlinetext",
+ "subtype": "assignsubmission",
+ "name": "wordlimitenabled",
+ "value": "0"
+ },
+ {
+ "id": 92,
+ "assignment": 12,
+ "plugin": "comments",
+ "subtype": "assignfeedback",
+ "name": "commentinline",
+ "value": "0"
+ },
+ {
+ "id": 93,
+ "assignment": 12,
+ "plugin": "editpdf",
+ "subtype": "assignfeedback",
+ "name": "enabled",
+ "value": "0"
+ }
+ ]
+ },
+ {
+ "id": 13,
+ "cmid": 83,
+ "course": 4,
+ "name": "Average lecture",
+ "nosubmissions": 0,
+ "submissiondrafts": 0,
+ "sendnotifications": 1,
+ "sendlatenotifications": 1,
+ "sendstudentnotifications": 1,
+ "duedate": 1405626900,
+ "allowsubmissionsfromdate": 1405022100,
+ "grade": 100,
+ "timemodified": 1405022351,
+ "completionsubmit": 0,
+ "cutoffdate": 1405626900,
+ "teamsubmission": 0,
+ "requireallteammemberssubmit": 0,
+ "teamsubmissiongroupingid": 0,
+ "blindmarking": 0,
+ "revealidentities": 0,
+ "attemptreopenmethod": "none",
+ "maxattempts": -1,
+ "markingworkflow": 0,
+ "markingallocation": 0,
+ "requiresubmissionstatement": 0,
+ "configs": [
+ {
+ "id": 84,
+ "assignment": 13,
+ "plugin": "onlinetext",
+ "subtype": "assignsubmission",
+ "name": "enabled",
+ "value": "1"
+ },
+ {
+ "id": 85,
+ "assignment": 13,
+ "plugin": "file",
+ "subtype": "assignsubmission",
+ "name": "enabled",
+ "value": "0"
+ },
+ {
+ "id": 86,
+ "assignment": 13,
+ "plugin": "comments",
+ "subtype": "assignsubmission",
+ "name": "enabled",
+ "value": "1"
+ },
+ {
+ "id": 87,
+ "assignment": 13,
+ "plugin": "comments",
+ "subtype": "assignfeedback",
+ "name": "enabled",
+ "value": "1"
+ },
+ {
+ "id": 88,
+ "assignment": 13,
+ "plugin": "offline",
+ "subtype": "assignfeedback",
+ "name": "enabled",
+ "value": "0"
+ },
+ {
+ "id": 89,
+ "assignment": 13,
+ "plugin": "file",
+ "subtype": "assignfeedback",
+ "name": "enabled",
+ "value": "0"
+ }
+ ],
+ "intro": "lecture description here
",
+ "introformat": 1
+ },
+ {
+ "id": 14,
+ "cmid": 18,
+ "course": 4,
+ "name": "Assignment: Requirements for night in the Alps",
+ "nosubmissions": 0,
+ "submissiondrafts": 1,
+ "sendnotifications": 0,
+ "sendlatenotifications": 0,
+ "sendstudentnotifications": 1,
+ "duedate": 1427410800,
+ "allowsubmissionsfromdate": 1426806000,
+ "grade": 100,
+ "timemodified": 1426865651,
+ "completionsubmit": 0,
+ "cutoffdate": 0,
+ "teamsubmission": 0,
+ "requireallteammemberssubmit": 0,
+ "teamsubmissiongroupingid": 0,
+ "blindmarking": 0,
+ "revealidentities": 0,
+ "attemptreopenmethod": "none",
+ "maxattempts": -1,
+ "markingworkflow": 0,
+ "markingallocation": 0,
+ "requiresubmissionstatement": 0,
+ "configs": [
+ {
+ "id": 94,
+ "assignment": 14,
+ "plugin": "onlinetext",
+ "subtype": "assignsubmission",
+ "name": "enabled",
+ "value": "1"
+ },
+ {
+ "id": 95,
+ "assignment": 14,
+ "plugin": "onlinetext",
+ "subtype": "assignsubmission",
+ "name": "wordlimit",
+ "value": "0"
+ },
+ {
+ "id": 96,
+ "assignment": 14,
+ "plugin": "onlinetext",
+ "subtype": "assignsubmission",
+ "name": "wordlimitenabled",
+ "value": "0"
+ },
+ {
+ "id": 97,
+ "assignment": 14,
+ "plugin": "file",
+ "subtype": "assignsubmission",
+ "name": "enabled",
+ "value": "0"
+ },
+ {
+ "id": 98,
+ "assignment": 14,
+ "plugin": "comments",
+ "subtype": "assignsubmission",
+ "name": "enabled",
+ "value": "1"
+ },
+ {
+ "id": 99,
+ "assignment": 14,
+ "plugin": "comments",
+ "subtype": "assignfeedback",
+ "name": "enabled",
+ "value": "1"
+ },
+ {
+ "id": 100,
+ "assignment": 14,
+ "plugin": "comments",
+ "subtype": "assignfeedback",
+ "name": "commentinline",
+ "value": "1"
+ },
+ {
+ "id": 101,
+ "assignment": 14,
+ "plugin": "editpdf",
+ "subtype": "assignfeedback",
+ "name": "enabled",
+ "value": "0"
+ },
+ {
+ "id": 102,
+ "assignment": 14,
+ "plugin": "offline",
+ "subtype": "assignfeedback",
+ "name": "enabled",
+ "value": "0"
+ },
+ {
+ "id": 103,
+ "assignment": 14,
+ "plugin": "file",
+ "subtype": "assignfeedback",
+ "name": "enabled",
+ "value": "0"
+ }
+ ],
+ "intro": "Assignment description here
",
+ "introformat": 1,
+ "introattachments": [
+ {
+ "filename": "singlescobasic.zip",
+ "mimetype": "application/zip",
+ "fileurl": "http://localhost/m/stable_master/webservice/pluginfile.php/245/mod_assign/introattachment/0/singlescobasic.zip"
+ },
+ {
+ "filename": "page.html",
+ "mimetype": "text/html",
+ "fileurl": "http://localhost/m/stable_master/webservice/pluginfile.php/245/mod_assign/introattachment/0/page.html"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "warnings": []
+}
\ No newline at end of file
diff --git a/emulator/mod_assign_get_submissions.json b/emulator/mod_assign_get_submissions.json
new file mode 100644
index 000000000..9aee9d5ae
--- /dev/null
+++ b/emulator/mod_assign_get_submissions.json
@@ -0,0 +1,114 @@
+{
+ "assignments": [
+ {
+ "assignmentid": 14,
+ "submissions": [
+ {
+ "id": 7,
+ "userid": 3,
+ "attemptnumber": 0,
+ "timecreated": 1426865031,
+ "timemodified": 1426865062,
+ "status": "submitted",
+ "groupid": 0,
+ "plugins": [
+ {
+ "type": "onlinetext",
+ "name": "Online text",
+ "fileareas": [
+ {
+ "area": "submissions_onlinetext"
+ }
+ ],
+ "editorfields": [
+ {
+ "name": "onlinetext",
+ "description": "Submission comments",
+ "text": "But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.
",
+ "format": 1
+ }
+ ]
+ },
+ {
+ "type": "file",
+ "name": "File submissions",
+ "fileareas": [
+ {
+ "area": "submission_files",
+ "files": [
+ {
+ "filepath": "APDFfile.pdf",
+ "fileurl": "http://localhost/m/stable_master/webservice/pluginfile.php/247/assignsubmission_file/submission_files/12/somefile.pdf"
+ },
+ {
+ "filepath": "anotherfile.docx",
+ "fileurl": "http://localhost/m/stable_master/webservice/pluginfile.php/247/assignsubmission_file/submission_files/12/somefile.pdf"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "comments",
+ "name": "Submission comments"
+ }
+ ]
+ },
+ {
+ "id": 5,
+ "userid": 4,
+ "attemptnumber": 0,
+ "timecreated": 1426864693,
+ "timemodified": 1426864740,
+ "status": "draft",
+ "groupid": 0,
+ "plugins": [
+ {
+ "type": "onlinetext",
+ "name": "Online text",
+ "fileareas": [
+ {
+ "area": "submissions_onlinetext",
+ "files": [
+ {
+ "filepath": "/Arte esquemático-Cigüeña.png",
+ "fileurl": "http://localhost/m/stable_master/webservice/pluginfile.php/245/assignsubmission_onlinetext/submissions_onlinetext/5/Arte%20esquem%C3%A1tico-Cig%C3%BCe%C3%B1a.png"
+ }
+ ]
+ }
+ ],
+ "editorfields": [
+ {
+ "name": "onlinetext",
+ "description": "Submission comments",
+ "text": "Blah Blah Blah lorem ipsum
Blah Blah Blah lorem ipsum
Blah Blah Blah lorem ipsum

",
+ "format": 1
+ }
+ ]
+ },
+ {
+ "type": "file",
+ "name": "File submissions",
+ "fileareas": [
+ {
+ "area": "submission_files",
+ "files": [
+ {
+ "filepath": "somefile.pdf",
+ "fileurl": "http://localhost/m/stable_master/webservice/pluginfile.php/247/assignsubmission_file/submission_files/12/somefile.pdf"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "comments",
+ "name": "Submission comments"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "warnings": []
+}
\ No newline at end of file
diff --git a/emulator/moodle_enrol_get_users_courses.json b/emulator/moodle_enrol_get_users_courses.json
index 73bab14b1..a3968dbce 100644
--- a/emulator/moodle_enrol_get_users_courses.json
+++ b/emulator/moodle_enrol_get_users_courses.json
@@ -1 +1,18 @@
-[{"id":3,"shortname":"TestGrades","fullname":"Test course for grades","enrolledusercount":2,"idnumber":"","visible":1},{"id":2,"shortname":"Moodle Mountain","fullname":"Basic Moodle and Mountaineering","enrolledusercount":2,"idnumber":"","visible":1}]
\ No newline at end of file
+[
+ {
+ "id": 3,
+ "shortname": "TestGrades",
+ "fullname": "Test course for grades",
+ "enrolledusercount": 2,
+ "idnumber": "",
+ "visible": 1
+ },
+ {
+ "id": 2,
+ "shortname": "Moodle Mountain",
+ "fullname": "Basic Moodle and Mountaineering",
+ "enrolledusercount": 2,
+ "idnumber": "",
+ "visible": 1
+ }
+]
\ No newline at end of file
diff --git a/emulator/moodle_user_get_course_participants_by_id.json b/emulator/moodle_user_get_course_participants_by_id.json
index f2cedafb8..20c807c25 100644
--- a/emulator/moodle_user_get_course_participants_by_id.json
+++ b/emulator/moodle_user_get_course_participants_by_id.json
@@ -1 +1,129 @@
-[{"id":3,"username":"student","fullname":"Andrew Student","email":"andre@dasdfa.zcvjd","department":"","firstaccess":1402891717,"lastaccess":1404990136,"description":"","descriptionformat":1,"city":"Perth","country":"AU","profileimageurlsmall":"emulator/userimage.png#","profileimageurl":"emulator/userimage.png#","preferences":[{"name":"auth_forcepasswordchange","value":"0"},{"name":"email_bounce_count","value":"1"},{"name":"email_send_count","value":"2"},{"name":"message_provider_mod_assign_assign_notification_loggedin","value":"email"},{"name":"message_provider_mod_assign_assign_notification_loggedoff","value":"email"},{"name":"message_provider_moodle_courserequestapproved_loggedin","value":"email,airnotifier"},{"name":"message_provider_moodle_courserequestapproved_loggedoff","value":"email,airnotifier"},{"name":"message_provider_moodle_courserequestrejected_loggedin","value":"email,airnotifier"},{"name":"message_provider_moodle_courserequestrejected_loggedoff","value":"email,airnotifier"},{"name":"message_provider_enrol_manual_expiry_notification_loggedin","value":"email"},{"name":"message_provider_enrol_manual_expiry_notification_loggedoff","value":"email"},{"name":"message_provider_enrol_self_expiry_notification_loggedin","value":"email"},{"name":"message_provider_enrol_self_expiry_notification_loggedoff","value":"email"},{"name":"message_provider_mod_lesson_graded_essay_loggedin","value":"email"},{"name":"message_provider_mod_lesson_graded_essay_loggedoff","value":"email"},{"name":"message_provider_moodle_instantmessage_loggedin","value":"popup,airnotifier"},{"name":"message_provider_moodle_instantmessage_loggedoff","value":"popup,email,airnotifier"},{"name":"message_provider_mod_forum_posts_loggedin","value":"email"},{"name":"message_provider_mod_forum_posts_loggedoff","value":"email"},{"name":"message_blocknoncontacts","value":"0"},{"name":"message_beepnewmessage","value":"0"},{"name":"_lastloaded","value":1404990183}],"roles":[{"roleid":5,"name":"","shortname":"student","sortorder":0}],"enrolledcourses":[{"id":3,"fullname":"Test course for grades","shortname":"TestGrades"},{"id":2,"fullname":"Basic Moodle and Mountaineering","shortname":"Moodle Mountain"}]}]
\ No newline at end of file
+[
+ {
+ "id": 3,
+ "username": "student",
+ "fullname": "Andrew Student",
+ "email": "andre@dasdfa.zcvjd",
+ "department": "",
+ "firstaccess": 1402891717,
+ "lastaccess": 1404990136,
+ "description": "",
+ "descriptionformat": 1,
+ "city": "Perth",
+ "country": "AU",
+ "phone1": "+1 987 654 321",
+ "address": "Sesamee street",
+ "profileimageurlsmall": "emulator/userimage.png#",
+ "profileimageurl": "emulator/userimage.png#",
+ "preferences": [
+ {
+ "name": "auth_forcepasswordchange",
+ "value": "0"
+ },
+ {
+ "name": "email_bounce_count",
+ "value": "1"
+ },
+ {
+ "name": "email_send_count",
+ "value": "2"
+ },
+ {
+ "name": "message_provider_mod_assign_assign_notification_loggedin",
+ "value": "email"
+ },
+ {
+ "name": "message_provider_mod_assign_assign_notification_loggedoff",
+ "value": "email"
+ },
+ {
+ "name": "message_provider_moodle_courserequestapproved_loggedin",
+ "value": "email,airnotifier"
+ },
+ {
+ "name": "message_provider_moodle_courserequestapproved_loggedoff",
+ "value": "email,airnotifier"
+ },
+ {
+ "name": "message_provider_moodle_courserequestrejected_loggedin",
+ "value": "email,airnotifier"
+ },
+ {
+ "name": "message_provider_moodle_courserequestrejected_loggedoff",
+ "value": "email,airnotifier"
+ },
+ {
+ "name": "message_provider_enrol_manual_expiry_notification_loggedin",
+ "value": "email"
+ },
+ {
+ "name": "message_provider_enrol_manual_expiry_notification_loggedoff",
+ "value": "email"
+ },
+ {
+ "name": "message_provider_enrol_self_expiry_notification_loggedin",
+ "value": "email"
+ },
+ {
+ "name": "message_provider_enrol_self_expiry_notification_loggedoff",
+ "value": "email"
+ },
+ {
+ "name": "message_provider_mod_lesson_graded_essay_loggedin",
+ "value": "email"
+ },
+ {
+ "name": "message_provider_mod_lesson_graded_essay_loggedoff",
+ "value": "email"
+ },
+ {
+ "name": "message_provider_moodle_instantmessage_loggedin",
+ "value": "popup,airnotifier"
+ },
+ {
+ "name": "message_provider_moodle_instantmessage_loggedoff",
+ "value": "popup,email,airnotifier"
+ },
+ {
+ "name": "message_provider_mod_forum_posts_loggedin",
+ "value": "email"
+ },
+ {
+ "name": "message_provider_mod_forum_posts_loggedoff",
+ "value": "email"
+ },
+ {
+ "name": "message_blocknoncontacts",
+ "value": "0"
+ },
+ {
+ "name": "message_beepnewmessage",
+ "value": "0"
+ },
+ {
+ "name": "_lastloaded",
+ "value": 1404990183
+ }
+ ],
+ "roles": [
+ {
+ "roleid": 5,
+ "name": "",
+ "shortname": "student",
+ "sortorder": 0
+ }
+ ],
+ "enrolledcourses": [
+ {
+ "id": 3,
+ "fullname": "Test course for grades",
+ "shortname": "TestGrades"
+ },
+ {
+ "id": 2,
+ "fullname": "Basic Moodle and Mountaineering",
+ "shortname": "Moodle Mountain"
+ }
+ ]
+ }
+]
\ No newline at end of file
diff --git a/emulator/moodle_user_get_users_by_courseid.json b/emulator/moodle_user_get_users_by_courseid.json
index 07d087560..b2e6cddbd 100644
--- a/emulator/moodle_user_get_users_by_courseid.json
+++ b/emulator/moodle_user_get_users_by_courseid.json
@@ -1 +1,160 @@
-[{"id":3,"username":"student","fullname":"Andrew Student","email":"andre@dasdfa.zcvjd","department":"","firstaccess":1402891717,"lastaccess":1404990136,"description":"","descriptionformat":1,"city":"Perth","country":"AU","profileimageurlsmall":"emulator/userimage.png#","profileimageurl":"emulator/userimage.png#","roles":[{"roleid":5,"name":"","shortname":"student","sortorder":0}],"preferences":[{"name":"auth_forcepasswordchange","value":"0"},{"name":"email_bounce_count","value":"1"},{"name":"email_send_count","value":"2"},{"name":"message_provider_mod_assign_assign_notification_loggedin","value":"email"},{"name":"message_provider_mod_assign_assign_notification_loggedoff","value":"email"},{"name":"message_provider_moodle_courserequestapproved_loggedin","value":"email,airnotifier"},{"name":"message_provider_moodle_courserequestapproved_loggedoff","value":"email,airnotifier"},{"name":"message_provider_moodle_courserequestrejected_loggedin","value":"email,airnotifier"},{"name":"message_provider_moodle_courserequestrejected_loggedoff","value":"email,airnotifier"},{"name":"message_provider_enrol_manual_expiry_notification_loggedin","value":"email"},{"name":"message_provider_enrol_manual_expiry_notification_loggedoff","value":"email"},{"name":"message_provider_enrol_self_expiry_notification_loggedin","value":"email"},{"name":"message_provider_enrol_self_expiry_notification_loggedoff","value":"email"},{"name":"message_provider_mod_lesson_graded_essay_loggedin","value":"email"},{"name":"message_provider_mod_lesson_graded_essay_loggedoff","value":"email"},{"name":"message_provider_moodle_instantmessage_loggedin","value":"popup,airnotifier"},{"name":"message_provider_moodle_instantmessage_loggedoff","value":"popup,email,airnotifier"},{"name":"message_provider_mod_forum_posts_loggedin","value":"email"},{"name":"message_provider_mod_forum_posts_loggedoff","value":"email"},{"name":"message_blocknoncontacts","value":"0"},{"name":"message_beepnewmessage","value":"0"},{"name":"_lastloaded","value":1404990136}],"enrolledcourses":[{"id":3,"fullname":"Test course for grades","shortname":"TestGrades"},{"id":2,"fullname":"Basic Moodle and Mountaineering","shortname":"Moodle Mountain"}]},{"id":4,"fullname":"Tom Student","email":"tom@nomailever.zzzz","firstaccess":0,"lastaccess":0,"description":"","descriptionformat":1,"city":"barcelona","country":"ES","profileimageurlsmall":"emulator/userimage.png#","profileimageurl":"emulator/userimage.png#","roles":[{"roleid":5,"name":"","shortname":"student","sortorder":0}],"enrolledcourses":[{"id":3,"fullname":"Test course for grades","shortname":"TestGrades"},{"id":2,"fullname":"Basic Moodle and Mountaineering","shortname":"Moodle Mountain"}]}]
\ No newline at end of file
+[
+ {
+ "id": 3,
+ "username": "student",
+ "fullname": "Andrew Student",
+ "email": "andre@dasdfa.zcvjd",
+ "department": "",
+ "firstaccess": 1402891717,
+ "lastaccess": 1404990136,
+ "description": "",
+ "descriptionformat": 1,
+ "city": "Perth",
+ "country": "AU",
+ "profileimageurlsmall": "emulator/userimage.png#",
+ "profileimageurl": "emulator/userimage.png#",
+ "roles": [
+ {
+ "roleid": 5,
+ "name": "",
+ "shortname": "student",
+ "sortorder": 0
+ }
+ ],
+ "preferences": [
+ {
+ "name": "auth_forcepasswordchange",
+ "value": "0"
+ },
+ {
+ "name": "email_bounce_count",
+ "value": "1"
+ },
+ {
+ "name": "email_send_count",
+ "value": "2"
+ },
+ {
+ "name": "message_provider_mod_assign_assign_notification_loggedin",
+ "value": "email"
+ },
+ {
+ "name": "message_provider_mod_assign_assign_notification_loggedoff",
+ "value": "email"
+ },
+ {
+ "name": "message_provider_moodle_courserequestapproved_loggedin",
+ "value": "email,airnotifier"
+ },
+ {
+ "name": "message_provider_moodle_courserequestapproved_loggedoff",
+ "value": "email,airnotifier"
+ },
+ {
+ "name": "message_provider_moodle_courserequestrejected_loggedin",
+ "value": "email,airnotifier"
+ },
+ {
+ "name": "message_provider_moodle_courserequestrejected_loggedoff",
+ "value": "email,airnotifier"
+ },
+ {
+ "name": "message_provider_enrol_manual_expiry_notification_loggedin",
+ "value": "email"
+ },
+ {
+ "name": "message_provider_enrol_manual_expiry_notification_loggedoff",
+ "value": "email"
+ },
+ {
+ "name": "message_provider_enrol_self_expiry_notification_loggedin",
+ "value": "email"
+ },
+ {
+ "name": "message_provider_enrol_self_expiry_notification_loggedoff",
+ "value": "email"
+ },
+ {
+ "name": "message_provider_mod_lesson_graded_essay_loggedin",
+ "value": "email"
+ },
+ {
+ "name": "message_provider_mod_lesson_graded_essay_loggedoff",
+ "value": "email"
+ },
+ {
+ "name": "message_provider_moodle_instantmessage_loggedin",
+ "value": "popup,airnotifier"
+ },
+ {
+ "name": "message_provider_moodle_instantmessage_loggedoff",
+ "value": "popup,email,airnotifier"
+ },
+ {
+ "name": "message_provider_mod_forum_posts_loggedin",
+ "value": "email"
+ },
+ {
+ "name": "message_provider_mod_forum_posts_loggedoff",
+ "value": "email"
+ },
+ {
+ "name": "message_blocknoncontacts",
+ "value": "0"
+ },
+ {
+ "name": "message_beepnewmessage",
+ "value": "0"
+ },
+ {
+ "name": "_lastloaded",
+ "value": 1404990136
+ }
+ ],
+ "enrolledcourses": [
+ {
+ "id": 3,
+ "fullname": "Test course for grades",
+ "shortname": "TestGrades"
+ },
+ {
+ "id": 2,
+ "fullname": "Basic Moodle and Mountaineering",
+ "shortname": "Moodle Mountain"
+ }
+ ]
+ },
+ {
+ "id": 4,
+ "fullname": "Tom Student",
+ "email": "tom@nomailever.zzzz",
+ "firstaccess": 0,
+ "lastaccess": 0,
+ "description": "",
+ "descriptionformat": 1,
+ "city": "barcelona",
+ "country": "ES",
+ "profileimageurlsmall": "emulator/userimage.png#",
+ "profileimageurl": "emulator/userimage.png#",
+ "roles": [
+ {
+ "roleid": 5,
+ "name": "",
+ "shortname": "student",
+ "sortorder": 0
+ }
+ ],
+ "enrolledcourses": [
+ {
+ "id": 3,
+ "fullname": "Test course for grades",
+ "shortname": "TestGrades"
+ },
+ {
+ "id": 2,
+ "fullname": "Basic Moodle and Mountaineering",
+ "shortname": "Moodle Mountain"
+ }
+ ]
+ }
+]
\ No newline at end of file
diff --git a/emulator/moodle_webservice_get_siteinfo.json b/emulator/moodle_webservice_get_siteinfo.json
index 8aeeaace8..14e0e6670 100644
--- a/emulator/moodle_webservice_get_siteinfo.json
+++ b/emulator/moodle_webservice_get_siteinfo.json
@@ -84,6 +84,38 @@
{
"name": "local_mobile_gradereport_user_get_grades_table",
"version": "2014052807"
+ },
+ {
+ "name": "local_mobile_core_message_create_contacts",
+ "version": "2014052811"
+ },
+ {
+ "name": "local_mobile_core_message_delete_contacts",
+ "version": "2014052811"
+ },
+ {
+ "name": "local_mobile_core_message_block_contacts",
+ "version": "2014052811"
+ },
+ {
+ "name": "local_mobile_core_message_unblock_contacts",
+ "version": "2014052811"
+ },
+ {
+ "name": "local_mobile_core_message_get_contacts",
+ "version": "2014052811"
+ },
+ {
+ "name": "local_mobile_core_message_search_contacts",
+ "version": "2014052811"
+ },
+ {
+ "name": "mod_assign_get_assignments",
+ "version": "2014052811"
+ },
+ {
+ "name": "mod_assign_get_submissions",
+ "version": "2014052811"
}
],
"downloadfiles": 1,
diff --git a/icon.png b/icon.png
index 6613ad610..29040a160 100644
Binary files a/icon.png and b/icon.png differ
diff --git a/img/error.png b/img/error.png
new file mode 100644
index 000000000..0f5cfe074
Binary files /dev/null and b/img/error.png differ
diff --git a/img/ico-contacts.png b/img/ico-contacts.png
new file mode 100644
index 000000000..38d616cf1
Binary files /dev/null and b/img/ico-contacts.png differ
diff --git a/img/icon/android/icon-144-xxhdpi.png b/img/icon/android/icon-144-xxhdpi.png
new file mode 100644
index 000000000..23400267c
Binary files /dev/null and b/img/icon/android/icon-144-xxhdpi.png differ
diff --git a/img/icon/android/icon-36-ldpi.png b/img/icon/android/icon-36-ldpi.png
index b1d8fdf56..e17c85abb 100644
Binary files a/img/icon/android/icon-36-ldpi.png and b/img/icon/android/icon-36-ldpi.png differ
diff --git a/img/icon/android/icon-48-mdpi.png b/img/icon/android/icon-48-mdpi.png
index 6d9bcf196..cca243f58 100644
Binary files a/img/icon/android/icon-48-mdpi.png and b/img/icon/android/icon-48-mdpi.png differ
diff --git a/img/icon/android/icon-72-hdpi.png b/img/icon/android/icon-72-hdpi.png
index fe29ca13f..80df61dff 100644
Binary files a/img/icon/android/icon-72-hdpi.png and b/img/icon/android/icon-72-hdpi.png differ
diff --git a/img/icon/android/icon-96-xhdpi.png b/img/icon/android/icon-96-xhdpi.png
index 2d85cebc8..2e36b0827 100644
Binary files a/img/icon/android/icon-96-xhdpi.png and b/img/icon/android/icon-96-xhdpi.png differ
diff --git a/img/icon/ios/iTunesArtwork.png b/img/icon/ios/iTunesArtwork.png
new file mode 100644
index 000000000..b98d8a19f
Binary files /dev/null and b/img/icon/ios/iTunesArtwork.png differ
diff --git a/img/icon/ios/iTunesArtwork@2x.png b/img/icon/ios/iTunesArtwork@2x.png
new file mode 100644
index 000000000..67dc8820d
Binary files /dev/null and b/img/icon/ios/iTunesArtwork@2x.png differ
diff --git a/img/icon/ios/icon-40.png b/img/icon/ios/icon-40.png
new file mode 100644
index 000000000..8e4eec0d2
Binary files /dev/null and b/img/icon/ios/icon-40.png differ
diff --git a/img/icon/ios/icon-40@2x.png b/img/icon/ios/icon-40@2x.png
new file mode 100644
index 000000000..edde17902
Binary files /dev/null and b/img/icon/ios/icon-40@2x.png differ
diff --git a/img/icon/ios/icon-120.png b/img/icon/ios/icon-40@3x.png
similarity index 100%
rename from img/icon/ios/icon-120.png
rename to img/icon/ios/icon-40@3x.png
diff --git a/img/icon/ios/icon-57-2x.png b/img/icon/ios/icon-57@2x.png
similarity index 100%
rename from img/icon/ios/icon-57-2x.png
rename to img/icon/ios/icon-57@2x.png
diff --git a/img/icon/ios/icon-60.png b/img/icon/ios/icon-60.png
new file mode 100644
index 000000000..3931e25ab
Binary files /dev/null and b/img/icon/ios/icon-60.png differ
diff --git a/img/icon/ios/icon-60@2x.png b/img/icon/ios/icon-60@2x.png
new file mode 100644
index 000000000..19a5940a8
Binary files /dev/null and b/img/icon/ios/icon-60@2x.png differ
diff --git a/img/icon/ios/icon-60@3x.png b/img/icon/ios/icon-60@3x.png
new file mode 100644
index 000000000..61e70d976
Binary files /dev/null and b/img/icon/ios/icon-60@3x.png differ
diff --git a/img/icon/ios/icon-72-2x.png b/img/icon/ios/icon-72@2x.png
similarity index 100%
rename from img/icon/ios/icon-72-2x.png
rename to img/icon/ios/icon-72@2x.png
diff --git a/img/icon/ios/icon-152.png b/img/icon/ios/icon-76@2x.png
similarity index 100%
rename from img/icon/ios/icon-152.png
rename to img/icon/ios/icon-76@2x.png
diff --git a/img/icon/ios/icon-small.png b/img/icon/ios/icon-small.png
new file mode 100644
index 000000000..491521396
Binary files /dev/null and b/img/icon/ios/icon-small.png differ
diff --git a/img/icon/ios/icon-small@2x.png b/img/icon/ios/icon-small@2x.png
new file mode 100644
index 000000000..fc89d2ebc
Binary files /dev/null and b/img/icon/ios/icon-small@2x.png differ
diff --git a/img/icon/ios/icon-small@3x.png b/img/icon/ios/icon-small@3x.png
new file mode 100644
index 000000000..de8d0016d
Binary files /dev/null and b/img/icon/ios/icon-small@3x.png differ
diff --git a/img/received.png b/img/received.png
new file mode 100644
index 000000000..11ef29bc3
Binary files /dev/null and b/img/received.png differ
diff --git a/img/sent.png b/img/sent.png
new file mode 100644
index 000000000..d94891b7f
Binary files /dev/null and b/img/sent.png differ
diff --git a/img/splash/android/android_hdpi_portrait.png b/img/splash/android/android_hdpi_portrait.png
index a3ace704c..5104837c6 100755
Binary files a/img/splash/android/android_hdpi_portrait.png and b/img/splash/android/android_hdpi_portrait.png differ
diff --git a/img/splash/android/android_ldpi_portrait.png b/img/splash/android/android_ldpi_portrait.png
index f2ff8d858..89df08ccb 100755
Binary files a/img/splash/android/android_ldpi_portrait.png and b/img/splash/android/android_ldpi_portrait.png differ
diff --git a/img/splash/android/android_mdpi_portrait.png b/img/splash/android/android_mdpi_portrait.png
index 7b931c800..39312a542 100755
Binary files a/img/splash/android/android_mdpi_portrait.png and b/img/splash/android/android_mdpi_portrait.png differ
diff --git a/img/splash/android/android_xhdpi_portrait.png b/img/splash/android/android_xhdpi_portrait.png
index f2335b18d..a5bbdc349 100755
Binary files a/img/splash/android/android_xhdpi_portrait.png and b/img/splash/android/android_xhdpi_portrait.png differ
diff --git a/index.html b/index.html
index b2d8ff83a..02762cb2d 100644
--- a/index.html
+++ b/index.html
@@ -16,7 +16,7 @@
if (typeof(msg) === "string") {
var error = msg + "\n\nFile: " + url + "\nLine: " + lineNumber;
// Ommit cordova and 3rd party libs errors.
- if (url.indexOf("cordova.js") == -1 && url.indexOf("externallib") == -1 &&
+ if (url.indexOf("cordova") == -1 && url.indexOf("externallib") == -1 &&
url.indexOf("org.apache.cordova") == -1) {
window.alert(error);
}
@@ -89,6 +89,20 @@
}
}, 5000);
MM.fs.init();
+
+ // Check calendar events for new notifications.
+ if (MM.plugins.events && MM.plugins.events.isPluginVisible()) {
+ MM.plugins.events.checkLocalNotifications();
+ }
+
+ // App resume event.
+ $(document).bind('resume', function() {
+
+ // Check calendar events for new notifications.
+ if (MM.plugins.events && MM.plugins.events.isPluginVisible()) {
+ MM.plugins.events.checkLocalNotifications();
+ }
+ });
});
// This function is for handling when the app is opened using a custom URL SCHEME.
@@ -121,9 +135,11 @@
-