Commit Graph

4400 Commits (3b55e699aaa2d57f7fe809020b02d6a91afa126d)

Author SHA1 Message Date
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
Pau Ferrer Ocaña b4e7f35372 MOBILE-4470 icon: Add a forced exception for BBB on version 4.0 2024-06-04 14:08:07 +02:00
github-actions[bot] 9e464ce406 Update lang files 2024-06-04 11:10:09 +00:00
Dani Palou eea7ded755 MOBILE-4604 core: Add external-content to site logo and grades img 2024-06-04 12:35:48 +02:00
Pau Ferrer Ocaña df6b6788d6 MOBILE-4470 chore: Fix HTML missing fields 2024-06-04 10:31:18 +02:00
Pau Ferrer Ocaña dfbf591e2a MOBILE-4470 icon: Revert load SVG directly and use img and filters 2024-06-04 10:31:18 +02:00
Dani Palou 188808d41e MOBILE-4470 remotethemes: Revert fix styles not loaded in offline
This reverts commit f75bfd39d1.
2024-06-03 10:58:43 +02:00
Dani Palou f75bfd39d1 MOBILE-4470 remotethemes: Fix styles not loaded in reconnect in offline 2024-05-31 15:33:33 +02:00
Dani Palou 9d226bca34 MOBILE-4470 rte: Fix unable to save HTML with just media 2024-05-31 11:25:03 +02:00
Dani Palou 1d135e62d2
Merge pull request #4070 from NoelDeMartin/MOBILE-4470
MOBILE-4470 core: Refactor mod-icon to use signals
2024-05-28 13:45:46 +02:00
Noel De Martin 0ca6377b52 MOBILE-4470 core: Refactor mod-icon to use signals
This change is necessary because some icons weren't updated properly inside of components using OnPush (e.g. course-storage page).
2024-05-28 12:27:52 +02:00
Pau Ferrer Ocaña f8d2127ebe
Merge pull request #4071 from dpalou/MOBILE-4470
Mobile 4470
2024-05-28 11:34:02 +02:00
Dani Palou 7e989c93d5
Merge pull request #4068 from NoelDeMartin/MOBILE-4470
MOBILE-4470 storagemanager: Fix removing courses
2024-05-28 09:45:12 +02:00
Dani Palou 6f56afbb84 MOBILE-4470 compile: Remove unneeded translate pipe
This pipe is no longer needed after afb5ce3cde
2024-05-28 08:46:11 +02:00
Noel De Martin 89597dad72 MOBILE-4470 storagemanager: Fix removing courses
Fixes a regression caused by 91c56256ed
2024-05-28 08:44:29 +02:00
Noel De Martin fa321dad83
Merge pull request #4067 from crazyserver/MOBILE-4470
Mobile 4470
2024-05-27 17:19:29 +02:00
Pau Ferrer Ocaña 5735bc4ca9 MOBILE-4470 icon: Fix mod icon loading having a real uniqueId on SVG 2024-05-27 16:39:49 +02:00
Dani Palou ff7a075cec MOBILE-4470 compile: Fix component ID collision detected warning
Angular generates a unique component ID for each component to apply style encapsulation, restore application state, etc. Our compile code generated the same ID every time some HTML was compiled, and Angular displayed a warning in the console. Applying a different attribute every time makes sure the component ID is different in each compile.
2024-05-27 16:30:20 +02:00
Pau Ferrer Ocaña 0771ccc278 MOBILE-4600 data: Fix related behat tests 2024-05-27 12:53:13 +02:00
Pau Ferrer Ocaña 671bb39807 MOBILE-4600 data: Add missing actions 2024-05-27 12:52:39 +02:00
Pau Ferrer Ocaña 888d518e86
Merge pull request #4063 from dpalou/MOBILE-4470
Mobile 4470
2024-05-24 12:29:52 +02:00
Dani Palou bdadea8e4d MOBILE-4470 external-content: Fix media reloaded when playing 2024-05-24 12:07:48 +02:00
Dani Palou 63777bc439 MOBILE-4470 course-summary: Fix download status not updated 2024-05-24 11:45:02 +02:00
Pau Ferrer Ocaña 55428d5346 MOBILE-4470 iframes: Fix loading and improve responsive styles 2024-05-23 12:20:56 +02:00
Dani Palou 1c84715f9a MOBILE-4470 completion: Fix manual completion not updated 2024-05-23 12:20:00 +02:00
Pau Ferrer Ocaña 4da3e650e0 MOBILE-4470 sites: Add ellipsis to sites list 2024-05-22 17:15:36 +02:00
Pau Ferrer Ocaña 64cc206e19 MOBILE-4470 data: Improve styles applied in database 2024-05-22 17:15:36 +02:00
Pau Ferrer Ocaña c55d443ea2 MOBILE-4470 quiz: Reduce feedback font size 2024-05-22 17:15:36 +02:00
Pau Ferrer Ocaña f7a3b65de6
Merge pull request #4059 from dpalou/MOBILE-4470
Mobile 4470
2024-05-22 16:42:56 +02:00
Dani Palou 40032e7d5f MOBILE-4470 course: Delete files linked to course component 2024-05-22 16:20:52 +02:00
Dani Palou bb018c530f MOBILE-4470 format-text: Destroy instances of external-content 2024-05-22 16:18:02 +02:00
Pau Ferrer Ocaña 26d950cbb4 MOBILE-4470 format-text: Fix image viewer 2024-05-22 14:26:09 +02:00
Pau Ferrer Ocaña 345fdffdb8 MOBILE-4470 licenses: Fix url and styles 2024-05-22 14:26:09 +02:00
Pau Ferrer Ocaña af94add7e9 MOBILE-4470 a11y: Fix fixed font sizes 2024-05-22 14:26:09 +02:00
Pau Ferrer Ocaña 24aeb1dfc1
Merge pull request #4055 from NoelDeMartin/MOBILE-4470
MOBILE-4470 core: Fix collapsible header scrolling
2024-05-22 11:56:07 +02:00
Dani Palou 47e9f07782 MOBILE-4470 completion: Fix completion button text wrap 2024-05-22 11:11:13 +02:00
Noel De Martin 1756a19f66 MOBILE-4470 core: Fix collapsible header scrolling
There were some scenarios were the scrollingHeight was recalculated, but the listeners weren't using the latest value and thus causing the wrong behaviour.
2024-05-22 10:49:19 +02:00
Dani Palou fb7f63732c MOBILE-4470 iframe: Fix regression with default values 2024-05-21 10:29:59 +02:00
Dani Palou 87c76b3db4 MOBILE-4470 viewer: Fix viewing data images 2024-05-21 10:29:59 +02:00
Dani Palou 859f94bf98 MOBILE-4470 tabs: Fix route loaded when changing main menu tabs
When using sub-routes like with core-tabs-outlet (e.g. participants), going back to the main menu tab set the main menu route as the current one instead of the sub-route and this caused problems with split view.
2024-05-21 10:29:59 +02:00
Pau Ferrer Ocaña e511629b9c
Merge pull request #4053 from dpalou/MOBILE-3403
MOBILE-3403 core: Avoid performing requests to embedded untreated URLs
2024-05-17 13:26:53 +02:00
Dani Palou 6da34f5984 MOBILE-3403 core: Avoid performing requests to embedded untreated URLs 2024-05-17 13:05:35 +02:00
Pau Ferrer Ocaña 56a6f5f84c MOBILE-4470 local-file: Fix change name opening the file 2024-05-17 12:51:00 +02:00
Pau Ferrer Ocaña 211231a0a8 MOBILE-4470 rte: Fix rte auto focused on enter 2024-05-17 12:51:00 +02:00
Pau Ferrer Ocaña ba72120574 MOBILE-4470 chore: ion-button input & textarea now supports ariaLabel 2024-05-16 22:46:12 +02:00
Pau Ferrer Ocaña 5c099471f3 MOBILE-4470 quiz: Fix opacity and clickable elements on reviews 2024-05-16 21:51:43 +02:00
Dani Palou 655254abd2
Merge pull request #4049 from crazyserver/MOBILE-4470
Mobile 4470
2024-05-16 12:09:48 +02:00
Dani Palou c39e75f894
Merge pull request #4050 from NoelDeMartin/MOBILE-4470
MOBILE-4470: QA Fixes
2024-05-16 12:04:14 +02:00
Noel De Martin f5414d915a MOBILE-4470 core: Fix slides reactivity 2024-05-16 11:34:07 +02:00
Noel De Martin 1d15216b9f MOBILE-4470 assign: Implement action link handler
This is necessary to handle links in timeline block. We'll need to do this in more situations, but for now it seems like assign is the only one with special actions. See MDL-81912.
2024-05-16 11:34:07 +02:00
Dani Palou 3beb8064bd MOBILE-4589 qtype_match: Decode HTML of options 2024-05-16 10:26:55 +02:00
Pau Ferrer Ocaña 369fd71c00 MOBILE-4470 quiz: Unify question card to solve status text size in iOS 2024-05-16 10:01:37 +02:00
Pau Ferrer Ocaña b83f900690
Merge pull request #4047 from dpalou/MOBILE-4550
Mobile 4550
2024-05-15 13:32:18 +02:00
Pau Ferrer Ocaña f16c405115 MOBILE-4470 blog: Improve styles 2024-05-15 12:36:28 +02:00
Dani Palou 633ef7dc9a MOBILE-4550 quiz: Fix feedback color specificity 2024-05-15 12:13:38 +02:00
Pau Ferrer Ocaña 829cb8bc9b MOBILE-4470 styles: Universalize reduced margins on popover icons 2024-05-15 10:39:35 +02:00
Pau Ferrer Ocaña 874d1ebee6 MOBILE-4470 context-menu: Simplify context menu to fix text wrappings 2024-05-15 10:39:10 +02:00
Dani Palou 691ad40490
Merge pull request #4046 from crazyserver/MOBILE-4470
Mobile 4470
2024-05-14 16:32:19 +02:00
Noel De Martin ed7bd88e1a MOBILE-4470 core: Fix double infinite-loading on scroll 2024-05-14 13:54:34 +02:00
Noel De Martin 77d3ac9d43 MOBILE-4470 angular: Fix snapshot types
Route snapshots are typed as non-optional, but we found a situation where it was undefined. Looking at the Angular source code, it seems like indeed snapshots can be undefined but they have been declared with a definite assignment assertion: https://github.com/angular/angular/blob/17.3.0/packages/router/src/router_state.ts#L231
2024-05-14 13:33:34 +02:00
Pau Ferrer Ocaña f8e022c1fd MOBILE-4470 styles: Revisit text wrapping ellipsis 2024-05-14 11:47:34 +02:00
Noel De Martin 83e75e58dd MOBILE-4470 behat: Clean up tests before 4.1 2024-05-14 11:29:00 +02:00
Noel De Martin 4cd4fa6fd6 MOBILE-4470 behat: Fix tests for 4.1 and older 2024-05-14 11:29:00 +02:00
Noel De Martin 31ac9c10ac MOBILE-4470 enrol: Remove 4.4 TODOs 2024-05-14 11:29:00 +02:00
Pau Ferrer Ocaña 58ef2f9e0e MOBILE-4470 course: Add function to control if a module is on core 2024-05-14 10:42:02 +02:00
Pau Ferrer Ocaña 8ae953515b MOBILE-4470 modicon: Fix branding when icon changed 2024-05-14 10:42:02 +02:00
Pau Ferrer Ocaña f573f4f112 MOBILE-4470 styles: item-input class has disappeared from Ionic 2024-05-14 09:42:37 +02:00
Pau Ferrer Ocaña 646c3edad0 MOBILE-4470 styles: Improve combobox and buttons styles 2024-05-14 09:42:36 +02:00
Pau Ferrer Ocaña 55d087ca18 MOBILE-4470 styles: Revert uneeded lines none and fix interactive items 2024-05-14 09:33:56 +02:00
Pau Ferrer Ocaña e779c7a7f2 MOBILE-4470 modals: Fix refresh button modal pointer events 2024-05-10 14:36:28 +02:00
Pau Ferrer Ocaña d0f6950c68 MOBILE-4470 rte: Fix styles and carets 2024-05-10 14:36:28 +02:00
Pau Ferrer Ocaña 0fedfee2e4 MOBILE-4470 rte: Fix focus and blur 2024-05-10 14:36:28 +02:00
Pau Ferrer Ocaña dc698724ac MOBILE-4470 sqlite: Reload page when OPFS gets disabled (workaround) 2024-05-10 14:36:28 +02:00
Pau Ferrer Ocaña 19473b345f MOBILE-4470 rte: Fix RTE outside ion-item 2024-05-10 12:55:15 +02:00
Pau Ferrer Ocaña f4697a298a MOBILE-4470 rte: Fix selection being lost on bold and italics 2024-05-10 12:55:15 +02:00
Pau Ferrer Ocaña cdcb2f77a6 MOBILE-4470 chore: Improve context menu margins and sizes 2024-05-10 12:55:15 +02:00
Pau Ferrer Ocaña a0225d3ae5
Merge pull request #4041 from dpalou/MOBILE-4470
MOBILE-4470 overlays: Fix Ionic bug with aria-hidden
2024-05-10 09:54:57 +02:00
Dani Palou 2707ccd9da MOBILE-4470 overlays: Fix Ionic bug with aria-hidden 2024-05-09 17:44:59 +02:00
Pau Ferrer Ocaña 6cd3984905
Merge pull request #4040 from dpalou/MOBILE-4470
MOBILE-4470 infinite-loading: Fix consecutive loads not working
2024-05-09 16:47:08 +02:00
Dani Palou b9f07d7f65 MOBILE-4470 quiz: Fix auto save popover not dismissed 2024-05-09 13:23:48 +02:00
Pau Ferrer Ocaña f9ed1e8153 MOBILE-4470 attachments: Improve Attachments look and feel 2024-05-09 11:22:48 +02:00
Pau Ferrer Ocaña f42ab61f59 MOBILE-4470 group: Improve Group selector look and feel 2024-05-09 11:22:48 +02:00
Pau Ferrer Ocaña cacc36d336 MOBILE-4470 data: Fix database input styles 2024-05-09 11:22:48 +02:00
Pau Ferrer Ocaña d0e0ef86b6 MOBILE-4470 swiper: Improve how params are populated to fix Swiper bug 2024-05-09 11:22:48 +02:00
Dani Palou efb8fdd630 MOBILE-4470 infinite-loading: Fix consecutive loads not working 2024-05-09 10:13:58 +02:00
Pau Ferrer Ocaña c5482863b0 MOBILE-4470 icon: Fix problem when changing the icon to be loaded 2024-05-08 15:50:17 +02:00
Pau Ferrer Ocaña a8b250b6e0 MOBILE-4470 style: Remove lines that didn't appear on 4.3 2024-05-08 15:50:17 +02:00
Dani Palou fa2c4cfa29 MOBILE-4470 messages: Fix delete button size 2024-05-08 08:35:50 +02:00
Dani Palou 7e73ae9087 MOBILE-4470 policy: Fix scroll button displayed when it shouldn't 2024-05-07 15:41:19 +02:00
Noel De Martin c2a16b66a2
Merge pull request #4035 from dpalou/MOBILE-4470
MOBILE-4470 course: Show all sections if last module is stealth
2024-05-07 09:07:14 +02:00
Noel De Martin f96f208628 MOBILE-4470 lang: Formatting 2024-05-06 12:35:15 +02:00
Dani Palou 6be3d68230 MOBILE-4470 course: Show all sections if last module is stealth 2024-05-03 14:55:51 +02:00
Dani Palou 8884571aca
Merge pull request #4034 from crazyserver/MOBILE-4470
Mobile 4470
2024-05-02 16:19:01 +02:00
Pau Ferrer Ocaña 34e4ce2ff6 MOBILE-4470 lang: Fix deprecated lang keys 2024-05-02 15:57:15 +02:00