Commit Graph

7353 Commits (62f804087c46a2df24e1e0a513baeda5c4fafe64)

Author SHA1 Message Date
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 d28f85a0c9 MOBILE-4627 book: Don't download all files when opening 2024-08-07 15:09:38 +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 c2af0e6f3d MOBILE-4616 assign: Fix behats after change done in MDL-80744 2024-08-05 11:04:04 +02:00
Dani Palou 392a4b2b41 MOBILE-4633 message: Improve handle no permission error 2024-07-31 15:57:19 +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
Dani Palou e922234787 MOBILE-4587 quiz: Support filters in draggables 2024-07-30 07:58:29 +02:00
Dani Palou 3286fb6216 MOBILE-4587 quiz: Fix options duplicated in ddmarker 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 d70b5912d4 MOBILE-4628 chore: Change snapshot width on quiz behats
It seems Selenium or Chrome version is managing the width with scroll
bars including the bars
2024-07-29 15:56:18 +02:00
Pau Ferrer Ocaña b144ce7a6b MOBILE-4628 course-storage: Add accordion management 2024-07-29 15:56:18 +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 0e6baa9802 MOBILE-4616 chore: Change snapshot width on quiz behats
It seems Selenium or Chrome version is managing the width with scroll
bars including the bars
2024-07-29 15:06:02 +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
Dani Palou beac119e1e
Merge pull request #4127 from crazyserver/MOBILE-4616
Mobile 4616
2024-07-25 15:52:24 +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 2e09325eef MOBILE-4623 forum: Fix issues with single activity format 2024-07-25 10:40:22 +02:00
Dani Palou 5643e89c95 MOBILE-4623 glossary: Fix issues with single activity format 2024-07-25 10:40:04 +02:00
Dani Palou 46c305b563 MOBILE-4623 imscp: Fix issue with single activity format 2024-07-24 14:31:44 +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 c491b613c8 MOBILE-4596 wiki: Decouple handlers and components 2024-07-23 15:44:39 +02:00
Noel De Martin 9943784c30 MOBILE-4596 data: Move enums to constants 2024-07-23 12:50:31 +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 beb90472fc MOBILE-4616 chore: Migrate to standalone the ones with unused modules 2024-07-22 15:31:44 +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 d3b02b07e4 MOBILE-4616 quiz: Move quiz constants to a file 2024-07-15 13:15:42 +02:00
Pau Ferrer Ocaña e115e840c1 MOBILE-4616 chat: Move chat constants to a file 2024-07-15 13:15:42 +02:00
Pau Ferrer Ocaña f65d640999 MOBILE-4616 choice: Move choice constants to a file 2024-07-15 13:15:41 +02:00
Pau Ferrer Ocaña eb2555e5ad MOBILE-4616 page: Move page constants to a file 2024-07-15 13:15:41 +02:00
Pau Ferrer Ocaña b93dcfb87f MOBILE-4616 resource: Move resource constants to a file 2024-07-15 13:15:41 +02:00
Pau Ferrer Ocaña c0856c0c97 MOBILE-4616 scorm: Move scorm constants to a file 2024-07-15 13:15:41 +02:00
Pau Ferrer Ocaña c2caa15175 MOBILE-4616 url: Move url constants to a file 2024-07-15 13:15:41 +02:00
Pau Ferrer Ocaña 65a5659d47 MOBILE-4616 workshop: Move workshop constants to a file 2024-07-15 13:15:41 +02:00
Pau Ferrer Ocaña ba80f1ce05 MOBILE-4616 wiki: Move wiki constants to a file 2024-07-15 13:15:41 +02:00
Pau Ferrer Ocaña df814d022c MOBILE-4616 lti: Move lti constants to a file 2024-07-15 13:15:41 +02:00
Pau Ferrer Ocaña 7e37b47fd4 MOBILE-4616 label: Move label constants to a file 2024-07-15 13:15:40 +02:00
Pau Ferrer Ocaña 70507ce604 MOBILE-4616 imscp: Move imscp constants to a file 2024-07-15 13:15:40 +02:00
Pau Ferrer Ocaña 8236f1c38b MOBILE-4616 h5p: Move h5p constants to a file 2024-07-15 13:15:40 +02:00
Pau Ferrer Ocaña 67cae258f6 MOBILE-4616 forum: Move forum constants to a file 2024-07-15 13:15:40 +02:00
Pau Ferrer Ocaña 94743ed700 MOBILE-4616 glossary: Move glossary constants to a file 2024-07-15 13:15:40 +02:00
Pau Ferrer Ocaña c836e94101 MOBILE-4616 folder: Move folder constants to a file 2024-07-15 13:15:40 +02:00
Pau Ferrer Ocaña 09791c8d20 MOBILE-4616 data: Move data constants to a file 2024-07-15 13:15:40 +02:00
Pau Ferrer Ocaña 4934dcec99 MOBILE-4616 feedback: Move feedback constants to a file 2024-07-15 13:15:39 +02:00
Pau Ferrer Ocaña bc1e3f00e7 MOBILE-4616 book: Move book constants to a file 2024-07-15 13:15:39 +02:00
Pau Ferrer Ocaña 06fec4e6cf MOBILE-4616 bbb: Move bbb constants to a file 2024-07-15 13:15:39 +02:00
Pau Ferrer Ocaña 346e3d8d57 MOBILE-4616 survey: Move survey constants to a file 2024-07-15 13:15:39 +02:00
Pau Ferrer Ocaña 62f097dc92 MOBILE-4616 lesson: Move lesson constants to a file 2024-07-15 13:15:39 +02:00
Pau Ferrer Ocaña af4e07df36 MOBILE-4616 assign: Move assign constants to a file 2024-07-12 13:00:38 +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 ec8a1058dd MOBILE-4616: Update supported versions 2024-07-03 17:24:27 +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
Pau Ferrer Ocaña 7aa0c6c570 MOBILE-4470 design: Add serif fallback font for km language 2024-06-27 10:32:00 +02:00
Pau Ferrer Ocaña 9a95ebcc6d MOBILE-4470 database: Fix picture classname to match LMS 2024-06-20 09:22:04 +02:00
Dani Palou 1e2851225f MOBILE-4470 location: Improve handling approximate location 2024-06-17 10:07:56 +02:00
Dani Palou 4f466944dd MOBILE-4470 mod_data: Fix offline images not seen 2024-06-13 12:08:01 +02:00
Alfonso Salces add746fb76
Merge pull request #4094 from dpalou/MOBILE-4470-alfonso
MOBILE-4470 location: Fix location in Android and iOS
2024-06-13 11:55:23 +02:00
Dani Palou 554e5eeb76 MOBILE-4470 location: Fix location in Android and iOS 2024-06-13 11:19:15 +02:00
Pau Ferrer Ocaña 70a02ba702
Merge pull request #4093 from dpalou/MOBILE-4470
Mobile 4470
2024-06-12 11:49:54 +02:00
Dani Palou ce56d9dd2f MOBILE-4470 ddmarker: Fix regression caused by MOBILE-3403 2024-06-12 11:17:10 +02:00
Dani Palou 186164ac4e MOBILE-4470 chat: Fix beeps not appearing anymore 2024-06-11 14:50:28 +02:00
Pau Ferrer Ocaña 21e6b789f0
Merge pull request #4091 from dpalou/MOBILE-4470
Mobile 4470
2024-06-11 11:06:53 +02:00
Dani Palou ad08fcf4b9 MOBILE-4470 quiz: Fix pipe translate not found in prefetch 2024-06-11 08:36:14 +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 e145748d93 MOBILE-4470 ddmarker: Fix markers in wrong position sometimes 2024-06-10 16:24:58 +02:00
Pau Ferrer Ocaña 80aebd4c81
Merge pull request #4090 from dpalou/MOBILE-4470
MOBILE-4470 workshop: Fix sync submission finishing without waiting
2024-06-10 09:25:32 +02:00
Dani Palou 7cb9f1351c MOBILE-4470 workshop: Fix sync submission finishing without waiting 2024-06-07 15:43:05 +02:00
Pau Ferrer Ocaña a303456479 MOBILE-4470 alerts: Align left alerts on iOS 2024-06-07 11:13:39 +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 66df465d15 MOBILE-4470 workshop: Fix switch phase option overrides the app 2024-06-07 09:18:47 +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