Commit Graph

3889 Commits (a1445dcf99fc541f7e2bbf1de01838f0cb430313)
 

Author SHA1 Message Date
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
Pau Ferrer Ocaña b27190d8e6 MOBILE-3534 mac: Adapt sign script to electron 4 2020-09-01 19:22:29 +02:00
Dani Palou 7c2c4e110d MOBILE-3359 myoverview: Fix issue if all filters disabled 2020-09-01 16:34:58 +02:00
Dani Palou 208be32d8a MOBILE-3508 core: Fix external repositories files download 2020-09-01 14:11:08 +02:00
Dani Palou ddd0349f7f MOBILE-3515 config: Remove hardcoding debuggable in Android 2020-09-01 10:10:29 +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 384c4372fe MOBILE-3490 core: Record audio in app if no recording app installed 2020-08-31 11:16:03 +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
Dani Palou 767e8ab38f MOBILE-3480 core: Treat SVG images and links in format-text 2020-08-31 11:01:43 +02:00
Dani Palou 33a2557c23 MOBILE-3453 h5p: Don't unpack more than one H5P at the same time 2020-08-31 10:52:06 +02:00
Dani Palou c0817f9b07 MOBILE-3450 sync: Display better error when syncing logged out site 2020-08-31 10:11:56 +02:00
Dani Palou 5951bc64bf MOBILE-3501 travis: Install required library in Linux in Travis 2020-08-31 09:59:43 +02:00
Dani Palou b8d5efa5dd MOBILE-3501 gulp: Validate more commits in push task 2020-08-31 09:58:17 +02:00
Dani Palou 05fa577577 MOBILE-3501 gulp: Support uploading patches to Jira 2020-08-31 09:58:17 +02:00
Dani Palou 719ffa2ff1 MOBILE-3501 gulp: Validate last commit message in push task 2020-08-31 09:57:26 +02:00
Dani Palou 22257e5b49 MOBILE-3501 gulp: Create task to push and update tracker 2020-08-31 09:57:26 +02:00
Dani Palou 0d6d4a9326 MOBILE-3501 gulp: Split gulpfile code into several classes 2020-08-31 09:55:56 +02:00
Juan Leyva b67ea14abb
Merge pull request #2491 from crazyserver/MOBILE-3499
Mobile 3499
2020-08-26 15:52:53 +02:00
Pau Ferrer Ocaña 36f0ba77b0 MOBILE-3499 travis: Change travis condition 2020-08-26 15:02:44 +02:00
Pau Ferrer Ocaña 630abd1c0e MOBILE-3499 cordova: Remove edit plugins on fileopener2 2020-08-26 15:02:44 +02:00
Juan Leyva d534fdf381
Merge pull request #2490 from dpalou/MOBILE-3425
MOBILE-3425 core: Allow node versions higher than 11
2020-08-26 14:46:38 +02:00
Juan Leyva 5fa2678fb9
Merge pull request #2489 from dpalou/MOBILE-3499
Mobile 3499
2020-08-26 11:31:38 +02:00
Juan Leyva e445524ceb
Merge pull request #2488 from crazyserver/MOBILE-3435
MOBILE-3435 utils: replace irregular whitespace causing error
2020-08-26 11:07:50 +02:00
Pau Ferrer Ocaña 22e27fb65d MOBILE-3435 utils: replace irregular whitespace causing error 2020-08-26 09:24:30 +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 218a3456ad
Merge pull request #2486 from dpalou/MOBILE-3265
MOBILE-3265 h5p: Delete content indexes when change language
2020-08-25 21:27:38 +02:00
Juan Leyva 4f4484fd0c
Merge pull request #2485 from dpalou/MOBILE-3454
MOBILE-3454 filters: Support disabling check text filters
2020-08-25 21:26:20 +02:00
Juan Leyva bea0ff7869
Merge pull request #2484 from dpalou/MOBILE-3505
MOBILE-3505 login: Fix app not responding if cancel reconnect SSO
2020-08-25 21:21:49 +02:00
Juan Leyva a076271f81
Merge pull request #2483 from dpalou/MOBILE-3510
MOBILE-3510 h5p: Fix ' displayed instead of single quote
2020-08-25 21:19:32 +02:00
Juan Leyva 25933d2429
Merge pull request #2482 from dpalou/MOBILE-3435
MOBILE-3435 signup: Display error if it has required unsupported field
2020-08-25 16:49:43 +02:00
Juan Leyva 36a9f05a07
Merge pull request #2481 from dpalou/MOBILE-3445
MOBILE-3445 siteplugins: Let plugins disable PTR
2020-08-25 16:39:52 +02:00