Commit Graph

7353 Commits (62f804087c46a2df24e1e0a513baeda5c4fafe64)

Author SHA1 Message Date
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 d87dfc9678 MOBILE-4636 behat: Remove unnecessary variable navSubscription 2024-09-17 14:17:49 +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 129e3352eb
Merge pull request #4171 from alfonso-salces/MOBILE-4547
MOBILE-4547 blog: Fix remove offline entries sync
2024-09-13 13:09:24 +02:00
Alfonso Salces 91588bb94c MOBILE-4547 blog: Fix remove offline entries sync 2024-09-13 12:36:21 +02:00
Dani Palou 61ff5142fb MOBILE-4640 page: Fix index file not re-downloaded when needed 2024-09-13 09:42:08 +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 0ef3524263 MOBILE-4616 behat: Block navigation on behat steps 2024-09-05 11:37:15 +02:00
Pau Ferrer Ocaña 2b42347dda MOBILE-4616 behat: Combined Grade action into one step (MDL-80751) 2024-09-04 17:10:02 +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 34ae590968 MOBILE-4616 behat: Wait the spinners to be removed 2024-09-04 17:10:02 +02:00
Pau Ferrer Ocaña 80a26121fd MOBILE-4616 behat: Fix go to parent element in closest matching 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 038dfd1e59 MOBILE-4616 behat: Fix split view selectors on behat 2024-09-03 11:30:26 +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 7b61a836b9 MOBILE-4616 behat: ion-page is not a valid element anymore 2024-09-03 11:30:13 +02:00
Pau Ferrer Ocaña fdf7ac7fab
Merge pull request #4155 from dpalou/MOBILE-4482
Mobile 4482
2024-09-03 10:58:45 +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
Alfonso Salces 7140045439
Merge pull request #4160 from dpalou/MOBILE-4475
MOBILE-4475 ios: Enable native full screen in iOS 17+
2024-09-02 13:59:14 +02:00
Albert Gasset 4a3fd0f85b MOBILE-4574 badges: Support links to badges by hash 2024-09-02 10:33:56 +02:00
Albert Gasset a837c9c551 MOBILE-4616 behat: Fix flaky tests using relative dates
Allow a difference of one minute for the base time used to calculate
the timestamps of relative dates. This change prevents test errors caused
by delays between setting the data with relative dates and the rules that
match those dates.
2024-08-30 14:24:12 +02:00
Albert Gasset 1815059e28 MOBILE-4616 behat: Block Behat for at least 500ms after a press 2024-08-30 11:27:16 +02:00
Dani Palou 22899031e1 MOBILE-4616 behat: Adapt tests for MDL-82195 2024-08-29 15:40:20 +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
Dani Palou 7448cdc1b4 MOBILE-4482 glossary: Avoid reuploading files when editing entry 2024-08-21 08:28:48 +02:00
Dani Palou 3d51b17e33 MOBILE-4482 forum: Avoid reuploading files when editing post 2024-08-21 08:28:48 +02:00
Dani Palou ec5c8d6cad MOBILE-4482 forum: Fix filtered content displayed when editing post
When editing a post, the editor displayed the content already filtered, and it could also include some exra content that doesn't belong to the post, like plagiarism info.
2024-08-21 08:28:48 +02:00
Dani Palou 3fdc860a82
Merge pull request #4153 from crazyserver/MOBILE-4638
Mobile 4638
2024-08-19 14:07:20 +02:00
Dani Palou 660636d96f
Merge pull request #4043 from alfonso-salces/MOBILE-4547
MOBILE-4547 blog: Support offline blog
2024-08-19 14:02:06 +02:00
Alfonso Salces fa32fde524 MOBILE-4547 blog: Support offline blog 2024-08-19 13:26:32 +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 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