Commit Graph

1489 Commits (bc7602abcde724284b1b8a4b98e5a9866923195e)

Author SHA1 Message Date
Juan Leyva ebaa8be899
Merge pull request #2535 from crazyserver/MOBILE-3554
MOBILE-3554 login: Add forceLoginLogo setting to avoid showing web logo
2020-09-22 13:24:44 +02:00
Juan Leyva df815e2191
Merge pull request #2534 from dpalou/MOBILE-3432
Mobile 3432
2020-09-22 12:58:06 +02:00
Juan Leyva 46df6f2989
Merge pull request #2533 from NoelDeMartin/MOBILE-3489
Mobile 3489
2020-09-22 12:57:05 +02:00
Juan Leyva 5f9ebc7805
Merge pull request #2532 from dpalou/MOBILE-3549
MOBILE-3549 siteplugins: Allow any HTML tag
2020-09-22 12:51:57 +02:00
Juan Leyva ac22f6945a
Merge pull request #2531 from crazyserver/MOBILE-3469
MOBILE-3469 course: Hide blocks on single activity
2020-09-22 12:44:57 +02:00
Pau Ferrer Ocaña 737e7f51e9 MOBILE-3557 course: Add section restriction info when selected section 2020-09-22 11:26:44 +02:00
Pau Ferrer Ocaña 06c63eb77e MOBILE-3557 course: Show Not available message on section title visible 2020-09-22 11:26:18 +02:00
Pau Ferrer Ocaña d332c7e1d4 MOBILE-3523 emulator: Change some wrong comments 2020-09-22 09:38:16 +02:00
Dani Palou b046d57f2b MOBILE-3432 core: Move isOpenableInApp check to more reusable functions 2020-09-21 10:41:43 +02:00
Noel De Martin af5f010239 MOBILE-3489 location: Expose geolocation service to plugins 2020-09-21 09:10:04 +02:00
Dani Palou 59d4e189c8
Merge pull request #2529 from crazyserver/MOBILE-3546
MOBILE-3546 login: Add options to customize site listing
2020-09-18 15:33:23 +02:00
Noel De Martin 793e029cbd MOBILE-3523 login: Move login checks and modals to providers 2020-09-17 12:27:22 +02:00
Dani Palou ad304fab5a MOBILE-3530 course: Fix error when removing course files with site plugins 2020-09-17 09:56:38 +02:00
Dani Palou 03cea0a2e0 MOBILE-3553 h5p: Remove jQuery version number 2020-09-16 14:29:28 +02:00
Dani Palou 5d3e75e220 MOBILE-3507 notifications: Support notifications with big pictures 2020-09-16 11:34:35 +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 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 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 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
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 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 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 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
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
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 208be32d8a MOBILE-3508 core: Fix external repositories files download 2020-09-01 14:11:08 +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 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 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 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
Dani Palou 037505f805 MOBILE-3435 signup: Display error if it has required unsupported field 2020-07-30 13:09:41 +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 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 6b1e7b70d1 MOBILE-3493 course: Don't display selector if course only has one section 2020-07-20 10:18:17 +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
Dani Palou 312a81f3ee MOBILE-3445 siteplugins: Let plugins disable PTR 2020-07-14 13:03:15 +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
Juan Leyva ba490f4310
Merge pull request #2451 from dpalou/MOBILE-3475
MOBILE-3475 core: Prevent errors when calling isVersionGreaterEqualThan
2020-07-14 12:16:29 +02:00
Dani Palou e449600d06 MOBILE-3474 login: Limit auto-focus in site and forgotten password 2020-07-08 15:39:50 +02:00
Dani Palou cc1b4acb8e MOBILE-3475 core: Prevent errors when calling isVersionGreaterEqualThan 2020-07-06 11:39:38 +02:00
Dani Palou 7375102961 MOBILE-3473 upload: Fix big files not uploaded 2020-07-06 10:38:35 +02:00
Dani Palou 76e77397ef MOBILE-3470 resource: Fix open file after PTR in course 2020-07-03 12:05:13 +02:00
Pau Ferrer Ocaña f82e39f658 MOBILE-3456 login: Some login button styles 2020-07-02 13:50:48 +02:00
Juan Leyva 384b047272
Merge pull request #2435 from dpalou/MOBILE-3459
MOBILE-3459 more: Allow disabling QR reader in main menu
2020-07-02 12:30:01 +02:00
Pau Ferrer Ocaña f35ed90aec MOBILE-3463 login: Add url and sitefinder options for multisite 2020-07-02 11:51:15 +02:00
Dani Palou 81e013b1e7 MOBILE-3459 more: Allow disabling QR reader in main menu 2020-07-02 11:05:51 +02:00
Pau Ferrer Ocaña 8df8c24270 MOBILE-3458 login: Show qr when configured 2020-07-01 15:46:23 +02:00
Travis CI User 19cea4abda Update lang files [ci skip] 2020-06-26 11:35:43 +00:00
Pau Ferrer Ocaña f8bc2ad8a6 MOBILE-3401 strings: Update strings 2020-06-25 16:14:56 +02:00
Pau Ferrer Ocaña 8f21507b78 MOBILE-3401 search: Show/hide search history checking focus 2020-06-23 15:04:54 +02:00
Juan Leyva 5e9e9e7ba0
Merge pull request #2425 from dpalou/MOBILE-3401
Mobile 3401
2020-06-23 13:19:45 +02:00
Dani Palou e607707448 MOBILE-3401 h5p: Fix error when sending tracking without email 2020-06-23 13:14:41 +02:00
Dani Palou cb20cff06d MOBILE-3401 fileuploader: Copy files to tmp folder when using chooser 2020-06-23 11:35:02 +02:00
Juan Leyva c59468d502
Merge pull request #2423 from crazyserver/MOBILE-3401
Mobile 3401
2020-06-22 19:36:31 +02:00
Juan Leyva 2ddb8fda69
Merge pull request #2422 from NoelDeMartin/MOBILE-3401
MOBILE-3401: Wait database to be ready in xapi offline provider
2020-06-22 19:34:01 +02:00
Pau Ferrer Ocaña e12ceb59db MOBILE-3401 login: Add darkmode styles for login 2020-06-22 16:38:37 +02:00
Juan Leyva 9269d558fd
Merge pull request #2421 from dpalou/MOBILE-3401
Mobile 3401
2020-06-22 16:00:33 +02:00
Noel De Martin e0651256ef MOBILE-3401: Wait database to be ready in xapi offline provider 2020-06-22 14:45:27 +02:00
Dani Palou 4da6a31168 MOBILE-3401 file: Fix selecting files for offline with chooser 2020-06-22 14:24:21 +02:00
Pau Ferrer Ocaña 27a92adaac MOBILE-3401 login: Load styles on reconnect 2020-06-19 15:30:17 +02:00
Pau Ferrer Ocaña 460ed1efa4 MOBILE-3401 courses: Shrink title on course cards with spinner 2020-06-19 14:55:42 +02:00
Juan Leyva a1b557d926
Merge pull request #2419 from dpalou/MOBILE-3401
MOBILE-3401 login: Fix navigation when authenticate via URL scheme
2020-06-19 13:17:20 +02:00
Juan Leyva 2a2e3af44d
Merge pull request #2418 from crazyserver/MOBILE-3401
Mobile 3401
2020-06-19 12:44:49 +02:00
Pau Ferrer Ocaña f6a63d53e5 MOBILE-3401 login: Do not unload site if view not destroyed 2020-06-19 12:31:40 +02:00
Dani Palou 112377ccc9 MOBILE-3401 login: Fix navigation when authenticate via URL scheme 2020-06-19 09:43:07 +02:00
Noel De Martin 271179dec7 MOBILE-3401: Add cannotfindmysite login FAQ 2020-06-18 17:36:33 +02:00
Juan Leyva 7abc385935
Merge pull request #2415 from dpalou/MOBILE-3401
Mobile 3401
2020-06-18 15:59:17 +02:00
Dani Palou 678f2e666a MOBILE-3401 ios: Fix iframe links and window.open in iOS 2020-06-18 14:38:17 +02:00
Pau Ferrer Ocaña 8e1aa942fd MOBILE-3401 login: Enable qr instructions 2020-06-16 10:47:56 +02:00
Dani Palou 4ef18b7ec5 MOBILE-3401 login: Prevent reconnect page created several times 2020-06-15 08:04:46 +02:00
Juan Leyva badb71cb8e
Merge pull request #2404 from dpalou/MOBILE-3412
Mobile 3412
2020-06-12 11:40:11 +02:00
Juan Leyva f233d16545
Merge pull request #2403 from dpalou/MOBILE-3424
MOBILE-3424 h5p: Update jQuery version
2020-06-11 17:15:36 +02:00
Juan Leyva 0c45f27786
Merge pull request #2402 from dpalou/MOBILE-3413
Mobile 3413
2020-06-11 16:56:39 +02:00