1546 Commits

Author SHA1 Message Date
Juan Leyva
3c49b7f24c
Merge pull request #2583 from dpalou/MOBILE-3507
MOBILE-3507 push: Call get_user_devices after register in Moodle
2020-10-30 14:53:40 +01:00
Dani Palou
a0104f5a1e MOBILE-3507 push: Call get_user_devices after register in Moodle 2020-10-30 13:54:45 +01:00
Dani Palou
afa92f4d71
Merge pull request #2575 from crazyserver/MOBILE-3523
Mobile 3523
2020-10-26 10:09:13 +01:00
Dani Palou
b6e7195fe8
Merge pull request #2574 from dpalou/MOBILE-3523
MOBILE-3523 mod: Fix cannot get siteId of undefined
2020-10-26 10:08:53 +01:00
Dani Palou
4de10e2d9f MOBILE-3523 mod: Fix cannot get siteId of undefined 2020-10-26 09:20:34 +01:00
Pau Ferrer Ocaña
f5d11a0e6d MOBILE-3523 database: Fix database invalidate after autosync 2020-10-19 13:34:19 +02:00
Juan Leyva
1f1912bf98
Merge pull request #2564 from crazyserver/MOBILE-3200
Mobile 3200
2020-10-16 13:18:26 +02:00
hieuvu
e0413f8ebe MOBILE-3569 resource: Allow IFRAME to use XHTML 2020-10-15 16:57:53 +07:00
Pau Ferrer Ocaña
572e907ac1 MOBILE-3200 database: Translate some async functions 2020-10-02 11:48:47 +02:00
Pau Ferrer Ocaña
cb4eac9a17 MOBILE-3200 database: Check permissions on add and edit entry 2020-10-02 11:48:47 +02:00
Pau Ferrer Ocaña
b0b806280b MOBILE-3200 database: Improve add/edit offline action handling 2020-10-02 10:14:22 +02:00
Pau Ferrer Ocaña
6d7a96d8df MOBILE-3200 database: Do not need courseId to delete an offline entry 2020-10-02 10:10:47 +02:00
Pau Ferrer Ocaña
1652e4d8f2 MOBILE-3200 database: Fix update access data on group change 2020-10-02 10:10:47 +02:00
Juan Leyva
b1d389a313
Merge pull request #2548 from crazyserver/MOBILE-3558
MOBILE-3558 calendar: Fix fab button to be stuck at the corner
2020-09-28 10:56:04 +02:00
Pau Ferrer Ocaña
f0a13c9a93 MOBILE-3519 forum: Fix offline replies new format 2020-09-25 13:02:45 +02:00
Pau Ferrer Ocaña
99044b7231 MOBILE-3558 calendar: Fix fab button to be stuck at the corner 2020-09-24 14:04:06 +02:00
Dani Palou
02da06a0fe MOBILE-3338 course: Always get stored data and adapt strings 2020-09-22 14:54:55 +02:00
Dani Palou
421634dff7 MOBILE-3338 mod: Apply component + id to mod WS calls 2020-09-22 14:54:55 +02:00
Juan Leyva
e4b2e8b3c3
Merge pull request #2541 from crazyserver/MOBILE-3519
Mobile 3519
2020-09-22 14:12:42 +02:00
Juan Leyva
72baa77fc0
Merge pull request #2539 from dpalou/MOBILE-3507
Mobile 3507
2020-09-22 13:38:31 +02:00
Noel De Martin
af5f010239 MOBILE-3489 location: Expose geolocation service to plugins 2020-09-21 09:10:04 +02:00
Noel De Martin
2c477ac93a MOBILE-3489 location: Use diagnostic plugin to enable location 2020-09-21 09:10:04 +02:00
Dani Palou
90dc4572d9 MOBILE-3449 assign: Always allow submit grade if has offline data 2020-09-18 11:10:22 +02:00
Dani Palou
39c4fc516d MOBILE-3511 message: Fix mark all messages as read 2020-09-16 13:14:19 +02:00
Dani Palou
4c32239b54 MOBILE-3507 notifications: Support open appurl in browser/iab 2020-09-16 11:34:42 +02:00
Dani Palou
06ce5e765c MOBILE-3507 notifications: Support view rich text when clicked 2020-09-16 11:34:42 +02:00
Pau Ferrer Ocaña
afce5d28b1 MOBILE-3519 forum: Use WS mod_forum_get_discussion_posts when available 2020-09-15 09:57:45 +02:00
Pau Ferrer Ocaña
6c894a8abe MOBILE-3519 forum: Use forumid and courseid from WS 2020-09-14 13:16:14 +02:00
Pau Ferrer Ocaña
4d8697a601 MOBILE-3519 forum: Hide advanced section when cannot attach files 2020-09-14 13:16:14 +02:00
Pau Ferrer Ocaña
4ba6f0b6fa MOBILE-3532 utils: Wrap is('ios') calls 2020-09-09 16:50:53 +02:00
Juan Leyva
cdb885f25c
Merge pull request #2511 from dpalou/MOBILE-3533
MOBILE-3533 messages: Don't show preferences if messaging disabled
2020-09-09 16:35:13 +02:00
Juan Leyva
4c840445db
Merge pull request #2509 from dpalou/MOBILE-3359
MOBILE-3359 myoverview: Fix issue if all filters disabled
2020-09-09 16:31:03 +02:00
Juan Leyva
5f39bcf95b
Merge pull request #2506 from dpalou/MOBILE-3514
MOBILE-3514 choice: Show available spaces if enabled
2020-09-09 13:28:52 +02:00
Juan Leyva
e49875933b
Merge pull request #2504 from crazyserver/MOBILE-3512
Mobile 3512
2020-09-09 13:22:59 +02:00
Juan Leyva
c3bbcd2702
Merge pull request #2503 from dpalou/MOBILE-3449
Mobile 3449
2020-09-09 13:21:44 +02:00
Juan Leyva
f15a39983c
Merge pull request #2500 from dpalou/MOBILE-3430
Mobile 3430
2020-09-08 16:28:51 +02:00
Juan Leyva
994120b3b9
Merge pull request #2494 from dpalou/MOBILE-3511
MOBILE-3511 splitview: Fix some events not triggered in right view
2020-09-08 16:20:01 +02:00
Dani Palou
c3f18c7677 MOBILE-3533 messages: Don't show preferences if messaging disabled 2020-09-02 11:14:05 +02:00
Dani Palou
bb88252822 MOBILE-3188 core: Rename getModuleTotalSize to getModuleStoredSize 2020-09-02 10:21:34 +02:00
sam marshall
eced391288 MOBILE-3188 Download interface: Show and delete total downloaded data
When showing downloaded sizes in the context menu and in the 'Manage
storage' screen, show the total size including downloaded files plus
cached web service data.

When deleting the downloaded data in either location, delete both
kinds of data.
2020-09-02 10:21:34 +02:00
sam marshall
d0c93f6416 MOBILE-3188 Web services: Record component that owns WS cache item
This commit adds optional component and componentId fields to the
preSets variable, which are recorded in the wscache table.

These are then used by (a) core site plugins where a module cmid
is available, and (b) the forum (as an example core implementation)
so that module site plugins and forum provide the new data.

(Note that this is not going to be very useful where we retrieve
data for multiple activities at once, which happens for activities
like Page. Still, it is optional.)
2020-09-02 10:21:34 +02:00
Dani Palou
7c2c4e110d MOBILE-3359 myoverview: Fix issue if all filters disabled 2020-09-01 16:34:58 +02:00
Dani Palou
13b4d01de6 MOBILE-3514 choice: Show available spaces if enabled 2020-09-01 09:31:24 +02:00
Dani Palou
8209255571 MOBILE-3430 messages: Discard messages already sent in sync 2020-08-31 11:20:20 +02:00
Dani Palou
bc168bd7b1 MOBILE-3430 messages: Refactor some functions
It basically converts some functions to use async&await and also changes the parameters of getConversationMessages
2020-08-31 11:20:20 +02:00
Dani Palou
d2ae7505e1 MOBILE-3449 assign: Add synchronization to more pages 2020-08-31 11:12:35 +02:00
Dani Palou
d2db79ebea MOBILE-3449 assign: Convert some functions to async/await 2020-08-31 11:05:13 +02:00
Dani Palou
88ac2e0c5c MOBILE-3449 assign: Don't block all assign sync when edit grade 2020-08-31 11:05:13 +02:00
Juan Leyva
d041cfcf52
Merge pull request #2487 from dpalou/MOBILE-3509
Mobile 3509
2020-08-25 21:33:08 +02:00
Juan Leyva
715e1e6600
Merge pull request #2480 from dpalou/MOBILE-3477
MOBILE-3477 core: Reduce concurrent calls to local-notifications plugin
2020-08-25 16:35:47 +02:00