Commit Graph

4493 Commits (d721f0b4d3575bc8f8ce5e3062496056520e1697)

Author SHA1 Message Date
Pau Ferrer Ocaña a3bb081f60 MOBILE-4660 storagemanager: Avoid scroll when all sections is selected 2024-10-07 12:11:55 +02:00
Pau Ferrer Ocaña a2c6a5b578 MOBILE-4660 storagemanager: Manage subsections on storage manager 2024-10-07 12:11:55 +02:00
Dani Palou a169d9301a MOBILE-4660 course: Refactor how subsections are handled
This commit doesn't refactor course downloads yet, it will be done in another commit.
2024-10-07 12:11:55 +02:00
Pau Ferrer Ocaña 5fe7a7beb1
Merge pull request #4170 from dpalou/MOBILE-4641
MOBILE-4641 core: Support custom default home pages
2024-10-01 12:16:34 +02:00
Albert Gasset ad12f89a8e
Merge pull request #4185 from dpalou/MOBILE-4337
MOBILE-4337 h5p: Don't install editor libraries
2024-09-30 09:23:16 +02:00
Dani Palou 035ba7cf86 MOBILE-4337 h5p: Don't install editor libraries 2024-09-30 08:17:00 +02:00
Albert Gasset 1842a55fe3
Merge pull request #4186 from dpalou/MOBILE-4664
MOBILE-4664 h5p: Upgrade H5P lib to 1.27
2024-09-27 16:41:38 +02:00
Alfonso Salces 9cedee30e6 MOBILE-4505 course: Avoid show two info icons in navbar 2024-09-27 07:56:13 +02:00
Dani Palou 8a770d7120 MOBILE-4664 h5p: Upgrade H5P lib to 1.27 2024-09-26 10:08:57 +02:00
Alfonso Salces 9c4965e7db MOBILE-2256 privatefiles: Remove private files 2024-09-26 09:45:44 +02:00
Pau Ferrer Ocaña eb6c10fec6 MOBILE-4442 course: Fix variable typo 2024-09-20 10:49:13 +02:00
Pau Ferrer Ocaña cb9580b73e MOBILE-4442 course: Manage subsections on course index page 2024-09-19 13:52:11 +02:00
Pau Ferrer Ocaña aad989982d MOBILE-4442 course: Update styles on module cards and sections 2024-09-19 13:52:11 +02:00
Pau Ferrer Ocaña 1527e31cd6 MOBILE-4442 course: Open subsections as sections inside course 2024-09-19 12:03:35 +02:00
Pau Ferrer Ocaña 95c4e0e225 MOBILE-4442 subsection: Create subsection activity module 2024-09-19 11:59:26 +02:00
Pau Ferrer Ocaña 0b4c3dc88e MOBILE-4442 course: Create a separate component to manage sections 2024-09-17 15:00:03 +02:00
Pau Ferrer Ocaña 647fdf8bf3 MOBILE-4442 messages: Recover animation once a bug has been solved 2024-09-17 15:00:03 +02:00
Pau Ferrer Ocaña f0ef97b377 MOBILE-4636 course: Expand and collapse sections 2024-09-17 14:17:49 +02:00
Pau Ferrer Ocaña 074246f715 MOBILE-4636 course: Enclose sections in cards instead of modules 2024-09-17 14:06:55 +02:00
Dani Palou 7271ee3c24
Merge pull request #4175 from albertgasset/MOBILE-4642
MOBILE-4642 h5p: Prevent partially saved packages
2024-09-17 12:11:28 +02:00
Pau Ferrer Ocaña 437f309957
Merge pull request #4176 from dpalou/MOBILE-4587
MOBILE-4587 qtype: Fix race condition with MathJax in D&D questions
2024-09-17 11:10:16 +02:00
Albert Gasset 6624d13321 MOBILE-4642 h5p: Prevent partially saved packages 2024-09-17 10:19:50 +02:00
Dani Palou 8d4e4364c0 MOBILE-4641 core: Support custom default home pages 2024-09-17 09:38:51 +02:00
Dani Palou 6290fb99af MOBILE-4657 tabs: Fix detection of nav bar buttons to hide
All course option site plugins use the same page name, so using page name to check if a page is selected caused problems. It's better to use the tab ID
2024-09-17 09:30:10 +02:00
Dani Palou 9081494e31 MOBILE-4587 qtype: Fix race condition with MathJax in D&D questions 2024-09-17 09:29:31 +02:00
Dani Palou bfa9b056a6 MOBILE-4638 question: Update correctness icons to match last LMS changes 2024-09-17 08:42:14 +02:00
Dani Palou e181137a6a MOBILE-4640 url: Fix detect revision from tokenpluginfile URLs 2024-09-13 09:41:08 +02:00
Dani Palou c827311684 MOBILE-4482 core: Fix treat draft URLs failing because of encoded chars
Usually file.filename doesn't have encoded chars, but the URL does so they don't match.
2024-09-12 16:09:34 +02:00
Dani Palou 4f1db0e639 MOBILE-4359 localnotifications: Fix open local notif when app is dead 2024-09-05 12:24:35 +02:00
Dani Palou 0e6058a242 MOBILE-4359 pushnotifications: Fix open push when app is dead 2024-09-05 12:24:35 +02:00
Dani Palou 2c2508607a MOBILE-4359 core: Create and use runAfterLoginNavigation
This function will be used to run code after the login navigation finishes, to avoid collisions when doing extra navigations
2024-09-05 12:24:35 +02:00
Dani Palou 3278d5a77f
Merge pull request #4167 from crazyserver/MOBILE-4616
Mobile 4616
2024-09-05 12:20:20 +02:00
Pau Ferrer Ocaña c609330cce MOBILE-4616 format-text: Avoid image treatment if it comes form tex 2024-09-04 17:10:02 +02:00
Pau Ferrer Ocaña 48f73468e0 MOBILE-4616 behat: Remove cases where near is not needed 2024-09-04 17:10:02 +02:00
Pau Ferrer Ocaña e2e1792739 MOBILE-4616 behat: Add an step to go back to root and go back many times 2024-09-04 17:10:01 +02:00
Pau Ferrer Ocaña e1984110b6 MOBILE-4638 quiz: Apply new correctness icons depending on LMS version 2024-09-03 11:48:00 +02:00
Pau Ferrer Ocaña b2691e8b3c MOBILE-4616 behat: Correct container visibility and narrow search 2024-09-03 11:30:20 +02:00
Pau Ferrer Ocaña d165b06a07
Merge pull request #4156 from dpalou/MOBILE-4606
Mobile 4606
2024-09-03 10:41:58 +02:00
Dani Palou 9be16e9636 MOBILE-4475 ios: Enable native full screen in iOS 17+ 2024-08-29 08:25:03 +02:00
Dani Palou e834d99df7 MOBILE-4649 user-menu: Fix loading forever when no user handlers 2024-08-23 11:27:58 +02:00
Dani Palou e666fdc517 MOBILE-4606 login: Fix loginSuccessful calculation when authenticating 2024-08-22 13:05:19 +02:00
Dani Palou 3d393e7bdc MOBILE-4606 remotethemes: Fix styles not loaded in reconnect in offline 2024-08-22 12:55:08 +02:00
Pau Ferrer Ocaña 5891c2edae MOBILE-4638 data: Remove deprecated language string 2024-08-19 11:40:11 +02:00
Pau Ferrer Ocaña 361fa4ee98 MOBILE-4638 chore: Adapt icons to match LMS on MDL-82497 2024-08-19 11:40:11 +02:00
Pau Ferrer Ocaña b4e8d81463 MOBILE-4616 chore: Add Moodle 4.5 release temporal number 2024-08-19 09:14:13 +02:00
Dani Palou a11837281e MOBILE-4638 quiz: Use new correctness icons 2024-08-19 08:29:58 +02:00
Dani Palou 4193bfc1d9
Merge pull request #4150 from crazyserver/MOBILE-4616
Mobile 4616
2024-08-14 15:39:42 +02:00
Pau Ferrer Ocaña 00951b22d5 MOBILE-4616 chore: Always use convertTextToHTMLElement to convert HTML 2024-08-14 15:17:41 +02:00
Pau Ferrer Ocaña b0c494ee51 MOBILE-4616 chore: Move html mode classes to CoreHTMLClasses 2024-08-14 15:17:41 +02:00
Pau Ferrer Ocaña 323ccc8c76 MOBILE-4616 chore: Isolate convertHTMLToHTMLElement 2024-08-14 15:17:41 +02:00
Pau Ferrer Ocaña 90ec21333b MOBILE-4616 text: Migrate text utils to text 2024-08-14 15:17:41 +02:00
Pau Ferrer Ocaña 976de68934
Merge pull request #4147 from alfonso-salces/MOBILE-4070
MOBILE-4070 attachments: Collapse mimetypes
2024-08-14 12:05:09 +02:00
Alfonso Salces aa1bd53a26 MOBILE-4070 attachments: Collapse mimetypes 2024-08-14 11:27:33 +02:00
Albert Gasset 7866b31a8f MOBILE-4608 core: Parse error message from HTML error pages 2024-08-14 10:01:26 +02:00
Albert Gasset 5c4da9a5b1 MOBILE-4608 core: Fix FileTransferMock responses
FileTransferMock was ignoring server response on errors, differing from
the Cordova plugin. Also, it was not correctly returning response
headers. Private function parseResponse has been removed as it is no
longer needed.
2024-08-14 10:01:26 +02:00
Dani Palou 071eee20bb
Merge pull request #4138 from alfonso-salces/MOBILE-4581
MOBILE-4581 utils: Add lang to openInBrowser urls
2024-08-14 08:40:41 +02:00
Dani Palou 81e90182d5
Merge pull request #4134 from crazyserver/MOBILE-4616
Mobile 4616
2024-08-14 08:40:18 +02:00
Dani Palou 5bb121ce04
Merge pull request #4142 from albertgasset/MOBILE-4580
MOBILE-4580 courses: Use new WS parameter to fetch course by section id
2024-08-14 08:15:54 +02:00
Pau Ferrer Ocaña 3afa736cf4 MOBILE-4616 loading: Create a service to have loading functions 2024-08-13 16:44:25 +02:00
Pau Ferrer Ocaña 73f6a0e6b9 MOBILE-4616 viewer: Create a service to have all the qr scan functions 2024-08-13 16:44:25 +02:00
Pau Ferrer Ocaña 1412a5571c MOBILE-4616 viewer: Create a service to have all the viewer functions 2024-08-13 16:39:31 +02:00
Pau Ferrer Ocaña 072f0b8fd4 MOBILE-4616 chore: Import popovers during runtime 2024-08-13 16:37:24 +02:00
Pau Ferrer Ocaña 7cf5d9b692 MOBILE-4616 chore: Create CorePopoversService to add popovers functions 2024-08-13 16:37:24 +02:00
Albert Gasset 211342e725 MOBILE-4580 courses: Use new WS parameter to fetch course by section id 2024-08-13 15:40:46 +02:00
Alfonso Salces 4c550729ca MOBILE-4581 utils: Add lang to openInBrowser urls 2024-08-13 15:05:24 +02:00
Dani Palou 7118768fe5 MOBILE-4640 core: Fix revision not removed from pluginfile URLs
This means that every time a file revision changed, the app downloaded it into a new file when it should replace the existing file with the new version.
2024-08-13 14:17:37 +02:00
Dani Palou 2abe483c6d MOBILE-4640 db: Fix bug when updating primary key in memory database
Before this fix, the record was updated but the key was still the old primary key, so the new record wasn't found when using getOneByPrimaryKey.
2024-08-13 14:17:37 +02:00
Dani Palou 9a1cd83207 MOBILE-4640 filepool: Remove unused fillExtensionInFile 2024-08-13 14:17:37 +02:00
Dani Palou 720b48644b MOBILE-4640 filepool: Avoid re-downloading files when it isn't needed 2024-08-13 14:17:37 +02:00
Pau Ferrer Ocaña 40b96b9e63
Merge pull request #4144 from dpalou/MOBILE-4627
Mobile 4627
2024-08-13 13:43:35 +02:00
Pau Ferrer Ocaña 79ba03144c
Merge pull request #4143 from dpalou/MOBILE-4602
Mobile 4602
2024-08-13 09:41:31 +02:00
Pau Ferrer Ocaña 5a8911e8ae
Merge pull request #4139 from dpalou/MOBILE-4591
MOBILE-4591 lang: Fix parent language strings overriden by mistake
2024-08-13 09:39:02 +02:00
Dani Palou 8c566af484 MOBILE-4627 page: Don't download all files when opening 2024-08-07 11:27:57 +02:00
Dani Palou 52d37c3940 MOBILE-4602 iab: Fix links with pseudo protocols and schemes in iOS 2024-08-06 14:59:21 +02:00
Dani Palou 8c96839480 MOBILE-4602 core: Remove problematic close when reopening IAB
Opening a new IAB when one is already open doesn't create a second one, only one is present so there's no need to close the previous one. Also, calling close() caused the new IAB to close immediately because the app doesn't wait for the previous one to finish closing.
2024-08-06 14:24:48 +02:00
Albert Gasset 357fda719a MOBILE-4631 login: Hide the login form in the app when is hidden in LMS 2024-08-05 15:36:00 +02:00
Dani Palou 392351849b MOBILE-4591 lang: Fix parent language strings overriden by mistake 2024-08-05 12:51:09 +02:00
Dani Palou e8610272c7 MOBILE-4612 compile: Improve destroying effects 2024-07-31 11:40:05 +02:00
Dani Palou 9f910d338f MOBILE-4612 compile: Expose model and untracked to plugins 2024-07-31 11:40:05 +02:00
Dani Palou 1f8ddac128 MOBILE-4612 compile: Expose effect to plugins 2024-07-30 11:59:36 +02:00
Dani Palou e33627f1c1 MOBILE-4612 course-image: Use signals in course-image component 2024-07-30 11:59:36 +02:00
Dani Palou c4748c5238 MOBILE-4612 core: Remove deprecated values yes/no for auto login 2024-07-30 11:59:36 +02:00
Dani Palou d45fc9c7a7 MOBILE-4612 core: Create and use toBoolean input transform 2024-07-30 11:59:36 +02:00
Dani Palou 3d7cfeba42 MOBILE-4612 core: Mark required inputs in components 2024-07-30 11:33:49 +02:00
Dani Palou 23da49dbb6
Merge pull request #4132 from crazyserver/MOBILE-4389
Mobile 4389
2024-07-30 08:35:44 +02:00
Pau Ferrer Ocaña 6dfb418b41
Merge pull request #4133 from dpalou/MOBILE-4587
Mobile 4587
2024-07-30 08:29:00 +02:00
Dani Palou ccdd924b0a
Merge pull request #4116 from alfonso-salces/MOBILE-4612
MOBILE-4612 compile.ts: Expose signals and computed to plugins
2024-07-30 08:21:11 +02:00
Pau Ferrer Ocaña 35b71f05a7 MOBILE-4389 course: Load all sections when selected by the user 2024-07-30 08:09:36 +02:00
Dani Palou b2a70de9f1 MOBILE-4587 core: Remove unused ion-content from core-link 2024-07-30 07:58:29 +02:00
Pau Ferrer Ocaña e3b41c169e MOBILE-4389 course: Course format standalone component 2024-07-29 23:09:54 +02:00
Dani Palou 9e75f4c01f
Merge pull request #4125 from crazyserver/MOBILE-4628
Mobile 4628
2024-07-29 17:08:15 +02:00
Pau Ferrer Ocaña dcba760c68 MOBILE-4628 course-storage: Better translate status on download refresh 2024-07-29 15:56:18 +02:00
Nguyen Tuan Anh bea16ec337 MOBILE-4628 course-storage: Set the aria-label in core-download-refresh 2024-07-29 15:56:18 +02:00
Pau Ferrer Ocaña 4b950ac891 MOBILE-4616 chore: Remove some usages of old Service.instance 2024-07-29 15:04:57 +02:00
Pau Ferrer Ocaña 48259062fd MOBILE-4616 chore: Import side modals during runtime 2024-07-29 15:04:57 +02:00
Pau Ferrer Ocaña 3f9ea653f9 MOBILE-4616 chore: Move modals functions to CoreModalsService 2024-07-29 15:04:57 +02:00
Pau Ferrer Ocaña ab7b69c262 MOBILE-4616 chore: Move waitForResizeDone to CoreWait 2024-07-29 15:04:57 +02:00
Pau Ferrer Ocaña 6303769f0c MOBILE-4616 chore: Move ucFirst to CoreText 2024-07-29 11:47:33 +02:00
Pau Ferrer Ocaña d6007c2aae MOBILE-4616 chore: Create CoreToastsService to add toasts functions 2024-07-29 11:46:23 +02:00
Pau Ferrer Ocaña 1186694c5f MOBILE-4616 url: Migrate all CoreUrlUtils to CoreUrl static singleton 2024-07-25 15:26:53 +02:00
Pau Ferrer Ocaña 7d9c9b6fe9 MOBILE-4616 chore: Create CoreWait to add waiting functions 2024-07-25 10:46:28 +02:00
Pau Ferrer Ocaña 7068db3f62 MOBILE-4616 chore: Move copyClipboard to CoreText 2024-07-25 10:46:28 +02:00
Pau Ferrer Ocaña caa100979a MOBILE-4616 chore: Import modals during runtime 2024-07-25 10:46:28 +02:00
Dani Palou cefe0e4ac1
Merge pull request #4129 from NoelDeMartin/MOBILE-4596
MOBILE-4596: Decouple data and wiki addons from initial bundle
2024-07-24 12:53:36 +02:00
Noel De Martin f6bd83ae6c MOBILE-4596 data: Decouple handlers 2024-07-23 11:37:27 +02:00
Noel De Martin 73a3bc3bbc MOBILE-4616 autologout: Fix database cleanup 2024-07-23 11:31:31 +02:00
Alfonso Salces 001fba65cb MOBILE-4630 dom: Use multilang filter in showDeleteConfirm 2024-07-23 09:22:11 +02:00
Alfonso Salces fd9577cfbf MOBILE-4630 pluginfile: Add lang to file download request 2024-07-23 09:22:05 +02:00
Pau Ferrer Ocaña ed357f357c MOBILE-4616 behat: Fix communication matrix behat test 2024-07-22 15:51:02 +02:00
Pau Ferrer Ocaña da5d2fa2f8 MOBILE-4616 compile: Import standalone components and new services 2024-07-22 15:31:08 +02:00
Pau Ferrer Ocaña b394cce7bd MOBILE-4616 login: Avoid infinite loop 2024-07-22 15:31:08 +02:00
Pau Ferrer Ocaña d424ba0f60 MOBILE-4616 test: Fix linting 2024-07-22 15:31:08 +02:00
Pau Ferrer Ocaña 55b8a74d88 MOBILE-4616 chore: Make deprecated components standalone 2024-07-22 15:14:33 +02:00
Dani Palou 69dcf04b44
Merge pull request #4108 from crazyserver/MOBILE-4594
Mobile 4594 Update to Ionic8
2024-07-18 10:35:17 +02:00
Pau Ferrer Ocaña 339212435d MOBILE-4569 behat: Fix some behat tests 2024-07-17 16:55:22 +02:00
Pau Ferrer Ocaña 4427f91b63 MOBILE-4569 styles: Hide ion-buttons on toolbar (error in Ionic) 2024-07-17 16:55:22 +02:00
Pau Ferrer Ocaña 6bb6aa4da3 MOBILE-4594 styles: Fix some styles from migration 2024-07-17 16:55:22 +02:00
Pau Ferrer Ocaña 2e1626dcfb MOBILE-4594 chore: Remove deprecated code on 4.1 and 4.0 2024-07-17 16:55:22 +02:00
Pau Ferrer Ocaña b84fdaff7a MOBILE-4594 core: Migrate core-show-password 2 ion-input-password-toggle 2024-07-17 16:55:21 +02:00
Pau Ferrer Ocaña d590ac23e6 MOBILE-4594 styles: Add steps for bg and text 2024-07-17 16:55:21 +02:00
Pau Ferrer Ocaña caac024ae6 MOBILE-4594 styles: Change html to :root as it has more specificity 2024-07-17 16:55:21 +02:00
Pau Ferrer Ocaña aadb6f0a24 MOBILE-4594 ionic: Update to Ionic 8 2024-07-17 16:55:21 +02:00
Dani Palou be62fc8ee6 MOBILE-4616 behat: Limit password change test to LMS 4.3+
This is because of a string change in LMS
2024-07-16 10:00:35 +02:00
Pau Ferrer Ocaña e8a1ff89fa MOBILE-4632 siteplugins: Minor changes on declarations 2024-07-15 15:43:19 +02:00
Pau Ferrer Ocaña eb9935a1d7 MOBILE-4632 database: Load styles from site plugins 2024-07-15 15:19:15 +02:00
Pau Ferrer Ocaña a9f4a48356 MOBILE-4616 keyboard: Fix dom-app circular dep by separating keyboard 2024-07-15 13:15:42 +02:00
Pau Ferrer Ocaña 746e60f51e MOBILE-4616 login: Fix text on behat 2024-07-15 13:15:42 +02:00
Pau Ferrer Ocaña b96b66bedd MOBILE-4616 core: Move exported constants from module files 2024-07-15 13:15:42 +02:00
Pau Ferrer Ocaña 62f097dc92 MOBILE-4616 lesson: Move lesson constants to a file 2024-07-15 13:15:39 +02:00
Alfonso Salces 610270f810 MOBILE-4612 compile.ts: Expose signals and computed to plugins 2024-07-10 14:26:47 +02:00
Pau Ferrer Ocaña 03e0c363b3 MOBILE-4619 sites: Remove site classes on login unchecked 2024-07-10 14:04:08 +02:00
Pau Ferrer Ocaña c27fb811c7 Merge branch 'v4.4.x' 2024-07-10 09:39:16 +02:00
Dani Palou 45a7681eda MOBILE-4624 format-text: Fix iframes with inline styles 2024-07-08 14:59:48 +02:00
Pau Ferrer Ocaña 73a72ef130 MOBILE-4620 course: Async import main component to avoid crashes 2024-07-05 08:55:52 +02:00
Noel De Martin 19a9fe11be MOBILE-4616: Document routing modules 2024-07-03 15:13:18 +02:00
github-actions[bot] c0afdfc345 Update lang files 2024-06-28 10:56:21 +00:00
github-actions[bot] 3d47a45e58 Update lang files 2024-06-27 09:18:20 +00:00
Dani Palou 1e2851225f MOBILE-4470 location: Improve handling approximate location 2024-06-17 10:07:56 +02:00
Dani Palou 554e5eeb76 MOBILE-4470 location: Fix location in Android and iOS 2024-06-13 11:19:15 +02:00
Dani Palou fcea6c311c MOBILE-4470 user-menu: Fix interval running forever in tablet
In tablet the user-menu-button at the top right was hidden using CSS, but this button has a user tour associated. This meant that the user tour kept looking for the button to be visible forever, checking it every 50ms.
2024-06-11 08:36:14 +02:00
Dani Palou 4dd7b45678 MOBILE-4470 behat: Fix grades behat tests
In LMS there was a nasty hack to return different content based on whether the site was running behat or not. This hack has been removed in MDL-77685, so now we can remove the isAutomated check from the grades code
2024-06-07 10:28:10 +02:00
Dani Palou 1c9c3362b4
Merge pull request #4086 from crazyserver/MOBILE-4470
MOBILE-4470 workshop: Remove changes confirmation when not editing
2024-06-06 14:04:39 +02:00
Pau Ferrer Ocaña 690f29250e MOBILE-4470 mod-icon: Add white bg to icons on dark mode to imp contrast 2024-06-06 12:55:01 +02:00
Noel De Martin 3ada101981
Merge pull request #4087 from dpalou/MOBILE-4470
MOBILE-4470 popover: Fix popover position when zoom applied
2024-06-06 12:31:54 +02:00
Dani Palou 738de88c38 MOBILE-4470 popover: Fix popover position when zoom applied 2024-06-06 12:11:02 +02:00
Pau Ferrer Ocaña b739011de9 MOBILE-4470 tag: Add new tagarea for badges 2024-06-05 16:11:33 +02:00
Pau Ferrer Ocaña 9d30620080 MOBILE-4470 tag: Fix tag parsing using bootstrap classes 2024-06-05 16:11:33 +02:00
Pau Ferrer Ocaña 1b2f160d8b
Merge pull request #4083 from dpalou/MOBILE-4604
Mobile 4604
2024-06-05 13:11:30 +02:00
Dani Palou 0b9cab2aeb MOBILE-4604 iab: Clear session when open IAB with auto-login in Android 2024-06-05 11:57:06 +02:00
Dani Palou ac920dc299 MOBILE-4604 core: Download embedded files before login in Android 2024-06-05 10:00:05 +02:00