3723 Commits

Author SHA1 Message Date
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
Juan Leyva
37b0447cfe
Merge pull request #2521 from crazyserver/MOBILE-3534
MOBILE-3534 ionic: Fix check device during loading
2020-09-14 13:15:13 +02:00
Pau Ferrer Ocaña
8844abd857 MOBILE-3534 ionic: Fix check device during loading 2020-09-14 13:08:54 +02:00
Juan Leyva
50b390deec
Merge pull request #2519 from crazyserver/MOBILE-3526
MOBILE-3526 cordova: Reverse cordova-android version
2020-09-10 17:38:43 +02:00
Pau Ferrer Ocaña
fe36b3d898 MOBILE-3526 cordova: Reverse cordova-android version 2020-09-10 17:15:32 +02:00
Juan Leyva
a394955f6c
Merge pull request #2518 from crazyserver/MOBILE-3526
MOBILE-3526 cordova: Update packages
2020-09-10 13:15:51 +02:00
Pau Ferrer Ocaña
626af614fc MOBILE-3526 cordova: Update packages 2020-09-10 13:10:46 +02:00
Juan Leyva
e97394ddcb
Merge pull request #2517 from crazyserver/MOBILE-3532
Mobile 3532
2020-09-10 13:03:24 +02:00
Juan Leyva
eec22f91d1
Merge pull request #2516 from dpalou/MOBILE-3501
MOBILE-3501 npm: Make keytar lib optional
2020-09-10 12:09:30 +02:00
Dani Palou
7f4c1149a9 MOBILE-3501 npm: Make keytar lib optional 2020-09-10 10:51:07 +02:00
Pau Ferrer Ocaña
1b014ba3ba MOBILE-3532 utils: Wrap is('android') calls 2020-09-09 16:54:28 +02:00
Pau Ferrer Ocaña
fd92f7cb03 MOBILE-3532 utils: Use device info instead of platform class 2020-09-09 16:50:53 +02:00
Pau Ferrer Ocaña
4ba6f0b6fa MOBILE-3532 utils: Wrap is('ios') calls 2020-09-09 16:50:53 +02:00
Juan Leyva
6281ce13fc
Merge pull request #2515 from crazyserver/MOBILE-3548
MOBILE-3548 login: Add the option to easily change site url placeholder
2020-09-09 16:41:17 +02:00
Juan Leyva
65a540179e
Merge pull request #2514 from crazyserver/MOBILE-3534
MOBILE-3534 mac: Adapt sign script to electron 4
2020-09-09 16:39:57 +02:00
Juan Leyva
ded6779de9
Merge pull request #2513 from crazyserver/MOBILE-3503
MOBILE-3503 tabs: Do not allow negative scrolls
2020-09-09 16:38:48 +02:00
Juan Leyva
7de95dc66f
Merge pull request #2512 from crazyserver/MOBILE-3464
MOBILE-3464 tabs: Disable hide tabs on big screens
2020-09-09 16:37:49 +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
88281b14cc
Merge pull request #2510 from dpalou/MOBILE-3508
MOBILE-3508 core: Fix external repositories files download
2020-09-09 16:33:23 +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
Dani Palou
72b2954d1a
Merge pull request #2508 from crazyserver/MOBILE-3523
MOBILE-3523 travis: Solve libsecret lib not found
2020-09-09 16:16:45 +02:00
Pau Ferrer Ocaña
ad882164a0 MOBILE-3523 travis: Solve libsecret lib not found 2020-09-09 16:16:04 +02:00
Pau Ferrer Ocaña
ba2627960c MOBILE-3548 login: Add the option to easily change site url placeholder 2020-09-09 14:21:46 +02:00
Juan Leyva
456df63718
Merge pull request #2507 from dpalou/MOBILE-3515
MOBILE-3515 config: Remove hardcoding debuggable in Android
2020-09-09 13:32:44 +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
fc1ad0783f
Merge pull request #2505 from crazyserver/MOBILE-3472
MOBILE-3472 course: Indicate restriction access when all sections shown
2020-09-09 13:26:21 +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
Dani Palou
3a25555e1f
Merge pull request #2502 from NoelDeMartin/MOBILE-3523
Mobile 3523
2020-09-09 10:29:00 +02:00
Juan Leyva
c77c620964
Merge pull request #2501 from dpalou/MOBILE-3501
Mobile 3501
2020-09-08 16:55:13 +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
c3db871162
Merge pull request #2499 from dpalou/MOBILE-3490
MOBILE-3490 core: Record audio in app if no recording app installed
2020-09-08 16:28:18 +02:00
Juan Leyva
ec303acfcd
Merge pull request #2498 from dpalou/MOBILE-3453
MOBILE-3453 h5p: Don't unpack more than one H5P at the same time
2020-09-08 16:27:30 +02:00
Juan Leyva
eda8ca1fcf
Merge pull request #2497 from dpalou/MOBILE-3480
MOBILE-3480 core: Treat SVG images and links in format-text
2020-09-08 16:24:01 +02:00
Juan Leyva
08a155b4e9
Merge pull request #2496 from dpalou/MOBILE-3450
MOBILE-3450 sync: Display better error when syncing logged out site
2020-09-08 16:21:35 +02:00
Juan Leyva
3fc4fa25d8
Merge pull request #2495 from dpalou/MOBILE-3487
MOBILE-3487 filepool: Fix invalidate unknown files query
2020-09-08 16:20:52 +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
Pau Ferrer Ocaña
6785a6b842 MOBILE-3464 tabs: Disable hide tabs on big screens 2020-09-08 12:18:32 +02:00
Pau Ferrer Ocaña
fb7b473260 MOBILE-3503 tabs: Do not allow negative scrolls 2020-09-04 17:26:20 +02:00
Noel De Martin
15136c972b MOBILE-3523 e2e: Use moodle-docker master 2020-09-03 15:48:24 +02:00
Noel De Martin
5df8dacfc0 MOBILE-3523 e2e: Rerun tests to avoid flaky test failures 2020-09-03 15:33:37 +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
bdbba2885e
Merge pull request #2493 from dpalou/MOBILE-3188
Mobile 3188
2020-09-02 10:22:46 +02:00
Dani Palou
bb88252822 MOBILE-3188 core: Rename getModuleTotalSize to getModuleStoredSize 2020-09-02 10:21:34 +02:00
Dani Palou
16b7f8b696 MOBILE-3188 siteplugins: Pass componentId using preSets 2020-09-02 10:21:34 +02:00
Dani Palou
838e611dab MOBILE-3188 core: Use usual format in new name of wscache table 2020-09-02 10:21:34 +02:00
sam marshall
069c402ba5 MOBILE-3188 Settings: Consistently show total size estimate for site
Changes the two settings pages that show the size of a site (from the
main menu, these are 'App settings / Space usage' and 'Preferences')
so that they:

a) do not show the number of cache entries (not very informative for
   end users)
b) show an estimate for 'space usage' that includes the total size
   of data in ws_cache

The space usage estimate is not perfect (it doesn't include the
per-row overhead in the ws_cache table, or other cached data that
can be deleted such as calendar events or user data) but it will
probably be good enough, and I don't think the 'number of entries'
things was helpful to anyone.
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