Commit Graph

3141 Commits (1d58661887337cd1a334236e777d6a60c5838d21)

Author SHA1 Message Date
Pau Ferrer Ocaña c69d108c11 MOBILE-3532 ionic: Apply ios mode on iPadOS 2020-09-16 09:30:08 +02:00
Pau Ferrer Ocaña dbae55bff2 MOBILE-3532 ionic: Half Revert Fix check device during loading
This reverts commit 8844abd857.
2020-09-16 09:30:08 +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 0e5c448a82 MOBILE-3554 login: Add forceLoginLogo setting to avoid showing web logo 2020-09-14 14:06:50 +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 8844abd857 MOBILE-3534 ionic: Fix check device during loading 2020-09-14 13:08:54 +02:00
Dani Palou 7e25dcf46b MOBILE-3549 siteplugins: Allow any HTML tag 2020-09-14 08:20:59 +02:00
Pau Ferrer Ocaña 5899e03068 MOBILE-3546 login: Add options to customize site listing 2020-09-10 16:28:07 +02:00
Pau Ferrer Ocaña 51de033778 MOBILE-3469 course: Hide blocks on single activity 2020-09-09 18:18:11 +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 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
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 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
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
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
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
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 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
Juan Leyva 5fa2678fb9
Merge pull request #2489 from dpalou/MOBILE-3499
Mobile 3499
2020-08-26 11:31:38 +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
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
Juan Leyva 2efd9f42cb
Merge pull request #2479 from dpalou/MOBILE-3468
MOBILE-3468 login: Treat other URL schemes in QR in login
2020-08-25 16:30:15 +02:00
Pau Ferrer Ocaña f16c7cb2c7 MOBILE-3472 course: Indicate restriction access when all sections shown 2020-08-25 15:06:22 +02:00
Juan Leyva 77968233d7
Merge pull request #2478 from dpalou/MOBILE-3451
MOBILE-3451 airnotifier: Display more data of devices
2020-08-25 14:29:59 +02:00
Juan Leyva 940f5bbeaf
Merge pull request #2477 from dpalou/MOBILE-3465
MOBILE-3465 core: Handle window.open outside of iframes
2020-08-25 12:02:00 +02:00
Juan Leyva 16d032033d
Merge pull request #2476 from dpalou/MOBILE-3492
MOBILE-3492 core: Don't collapse some texts in big screens
2020-08-25 11:47:17 +02:00
Juan Leyva 38be0c9519
Merge pull request #2475 from dpalou/MOBILE-3488
MOBILE-3488 android: Open HTML files in InAppBrowser
2020-08-24 17:36:06 +02:00
Juan Leyva 74dc84b55b
Merge pull request #2474 from dpalou/MOBILE-3493
MOBILE-3493 course: Don't display selector if course only has one sec…
2020-08-24 17:32:51 +02:00
Pau Ferrer Ocaña 7d7658d92a MOBILE-3512 myoverview: Add one column on larger screens 2020-08-18 13:27:21 +02:00
Pau Ferrer Ocaña 4fe4284677 MOBILE-3509 notifications: Improve styles for digests 2020-08-07 11:31:08 +02:00
Dani Palou 8b45f1c624 MOBILE-3509 forum: Support parent param in discussion links 2020-08-04 12:09:26 +02:00
Dani Palou fc86308b21 MOBILE-3509 notifications: Display forum digest notification html 2020-08-04 11:14:36 +02:00
Dani Palou 037505f805 MOBILE-3435 signup: Display error if it has required unsupported field 2020-07-30 13:09:41 +02:00
Dani Palou 77c77f4f8c MOBILE-3511 splitview: Fix some events not triggered in right view 2020-07-29 13:51:42 +02:00
Dani Palou 72bffd619b MOBILE-3510 h5p: Fix ' displayed instead of single quote 2020-07-29 08:49:23 +02:00
Dani Palou 2a7f7e8977 MOBILE-3454 filters: Support disabling check text filters 2020-07-29 06:23:54 +02:00
Dani Palou 6a0afaf16d MOBILE-3499 core: Bump version to 3.9.3-dev 2020-07-28 14:54:25 +02:00
Dani Palou 2b6bcb7d7e MOBILE-3265 h5p: Delete content indexes when change language 2020-07-28 11:40:10 +02:00
Dani Palou e08439a91f MOBILE-3477 core: Reduce concurrent calls to local-notifications plugin 2020-07-28 08:11:49 +02:00
Dani Palou ce2060ddd1 MOBILE-3505 login: Fix app not responding if cancel reconnect SSO 2020-07-27 15:13:34 +02:00
Dani Palou 7464cec9d7 MOBILE-3468 login: Treat other URL schemes in QR in login 2020-07-27 12:47:49 +02:00
Dani Palou 3a424755ec MOBILE-3465 core: Handle window.open outside of iframes 2020-07-21 09:25:42 +02:00
Dani Palou ee96f20775 MOBILE-3492 core: Don't collapse some texts in big screens 2020-07-20 12:05:17 +02:00
Dani Palou 6b1e7b70d1 MOBILE-3493 course: Don't display selector if course only has one section 2020-07-20 10:18:17 +02:00
Travis CI User 01a80b497e Update lang files [ci skip] 2020-07-16 10:01:19 +00:00
Juan Leyva 5c381e3623
Merge pull request #2460 from moodlehq/integration
Integration
2020-07-16 11:56:27 +02:00
Dani Palou 8b4c693bec MOBILE-3488 android: Open HTML files in InAppBrowser 2020-07-16 11:49:19 +02:00
Juan Leyva fe91f7e602
Merge pull request #2459 from dpalou/MOBILE-3485
MOBILE-3485 login: Reset password input if password change forced
2020-07-15 15:04:35 +02:00
Dani Palou 0a31ebd2e5 MOBILE-3485 login: Reset password input if password change forced 2020-07-15 15:03:02 +02:00
Pau Ferrer Ocaña 536235cf25 MOBILE-3485 tag: Show empty results on tag areas 2020-07-15 14:47:58 +02:00
Juan Leyva 7811ab0bb5
Merge pull request #2457 from dpalou/MOBILE-3476
MOBILE-3476 login: Make demo accounts case insensitive
2020-07-15 14:29:21 +02:00
Dani Palou edba91d5f4 MOBILE-3487 filepool: Fix invalidate unknown files query 2020-07-15 13:09:47 +02:00
Juan Leyva 87ffe6437d
Merge pull request #2456 from dpalou/MOBILE-3485
MOBILE-3485 core: Update version to 3.9.2
2020-07-15 09:41:13 +02:00
Pau Ferrer Ocaña 0b4a35921b MOBILE-3485 tabs: Fix tab margin on scorm 2020-07-14 13:10:18 +02:00
Dani Palou 312a81f3ee MOBILE-3445 siteplugins: Let plugins disable PTR 2020-07-14 13:03:15 +02:00
Dani Palou b338055f31 MOBILE-3485 core: Update version to 3.9.2 2020-07-14 12:36:30 +02:00
Pau Ferrer Ocaña 18f4153c01 MOBILE-3426 scorm: Avoid using relative sizes 2020-07-14 12:35:43 +02:00
Juan Leyva da93462af1
Merge pull request #2453 from crazyserver/MOBILE-3452
Mobile 3452
2020-07-14 12:21:41 +02:00
Juan Leyva 147d106f7b
Merge pull request #2452 from dpalou/MOBILE-3474
MOBILE-3474 login: Limit auto-focus in site and forgotten password
2020-07-14 12:20:13 +02:00