Commit Graph

7189 Commits (beac119e1e0ab794420b4a9c4f65d21f39db094e)

Author SHA1 Message Date
Dani Palou 98e7ba17c9 MOBILE-3622 h5p: Apply styles defined in h5pcustomcss 2024-03-14 17:28:33 +01:00
Dani Palou 337dba4e9f MOBILE-4521 iframe: Destroy iframe if setting an empty src
In iOS, setting an empty src in an iframe sometimes causes the iframe to get 'stuck' in the empty page
2024-03-14 12:54:43 +01:00
Dani Palou 8f880c6cb8 MOBILE-4521 iframe: Re-set iframe listeners if element is recreated 2024-03-14 12:48:22 +01:00
Dani Palou 0d6b624210 MOBILE-4525 filter: Group requests when getting category filters 2024-03-13 12:27:23 +01:00
Alfonso Salces 889bfe7aa6 MOBILE-3947 course-list-item: Allow hide progress bar 2024-03-13 12:27:22 +01:00
Noel De Martin 42d18b8e11
Merge pull request #3973 from dpalou/MOBILE-4526
MOBILE-4526 filter: Fix filters not applied in some cases
2024-03-13 12:19:55 +01:00
Dani Palou f00c7886c1 MOBILE-4526 filter: Fix filters not applied in some cases 2024-03-13 11:48:32 +01:00
Pau Ferrer Ocaña 824ce41a5c MOBILE-4497 competencies: Fix behat on previous versions 2024-03-13 11:04:42 +01:00
Noel De Martin 0b9ee2d29b
Merge pull request #3963 from dpalou/MOBILE-4526
Mobile 4526
2024-03-13 08:34:49 +01:00
Dani Palou 67ca4d2549
Merge pull request #3971 from NoelDeMartin/MOBILE-4470
MOBILE-4470 course: Fix tests for previous LMS versions
2024-03-13 08:19:05 +01:00
Dani Palou 4fad121172 MOBILE-4526 filter: Use get_all_states WS if available 2024-03-13 07:53:55 +01:00
Dani Palou 41e4292c48 MOBILE-4526 core: Use ContextLevel enum instead of string 2024-03-13 07:53:53 +01:00
Dani Palou 8afeac3a94 MOBILE-4526 filter: Convert block and user contexts to parent 2024-03-13 07:53:28 +01:00
Noel De Martin f2c0e474d0 MOBILE-4470 course: Fix tests for previous LMS versions 2024-03-12 17:06:12 +01:00
Noel De Martin 44b9f499bf
Merge pull request #3969 from crazyserver/MOBILE-4530
Mobile 4530
2024-03-12 17:04:28 +01:00
Pau Ferrer Ocaña 7252e70720 MOBILE-4530 chore: Fix branded bbb icon on 4.0 icon version 2024-03-12 16:11:55 +01:00
Pau Ferrer Ocaña 2261dfb296 MOBILE-4530 calendar: Add branded type to caledar and sort WS types 2024-03-12 16:11:55 +01:00
Pau Ferrer Ocaña 537dc07587 MOBILE-3947 chore: Remove unnecessary route module exports 2024-03-12 15:46:04 +01:00
Pau Ferrer Ocaña f6b9ce0212 MOBILE-3947 chore: Remove import of components module in activity module 2024-03-12 15:46:04 +01:00
Pau Ferrer Ocaña f7d2992ca4 MOBILE-3947 compile: Remove module services without plugins 2024-03-12 15:46:04 +01:00
Pau Ferrer Ocaña 2078c12571 MOBILE-3947 chore: Decouple constants from Addons used in core folder 2024-03-12 15:37:00 +01:00
Pau Ferrer Ocaña 275089850e
Merge pull request #3961 from dpalou/MOBILE-3947
MOBILE-3947 ui: Display Cancel/Done buttons in datetime
2024-03-12 13:24:22 +01:00
Dani Palou b52681e2b2 MOBILE-3947 behat: Add step to wait for Toast to dismiss 2024-03-12 12:41:08 +01:00
Pau Ferrer Ocaña b7629d4fb1
Merge pull request #3968 from NoelDeMartin/MOBILE-4339
MOBILE-4339 quiz: Fix offline unanswered warning
2024-03-12 12:36:13 +01:00
Pau Ferrer Ocaña dd194b1a85 MOBILE-4540 url: Reduce WS calls on module handler 2024-03-12 11:36:55 +01:00
Noel De Martin 92156848a3 MOBILE-4339 quiz: Fix offline unanswered warning 2024-03-12 11:30:59 +01:00
Noel De Martin c53db7f546 MOBILE-4350 quiz: Fix submit navigation button 2024-03-11 15:33:35 +01:00
Dani Palou f68a9b10fe
Merge pull request #3965 from crazyserver/MOBILE-4329
Mobile 4329
2024-03-11 14:58:19 +01:00
Noel De Martin 02edd583a5
Merge pull request #3962 from dpalou/MOBILE-4528
MOBILE-4528 chat: Decouple from initial bundle
2024-03-11 14:52:28 +01:00
Dani Palou 162a618780
Merge pull request #3964 from crazyserver/MOBILE-4538
Mobile 4538
2024-03-11 14:01:28 +01:00
Pau Ferrer Ocaña 6454a74464 MOBILE-4329 chore: Make core table x-scrollables 2024-03-11 13:39:07 +01:00
Pau Ferrer Ocaña 6be582f932 MOBILE-4329 dataprivacy: Add download button when download is ready 2024-03-11 13:39:07 +01:00
Pau Ferrer Ocaña bbdd7ee95c MOBILE-4329 dataprivacy: Add disabled features check 2024-03-11 13:37:47 +01:00
Dani Palou 7287a9b298 MOBILE-3947 datetime: Display placeholder if datetime value is undefined 2024-03-11 12:56:58 +01:00
Pau Ferrer Ocaña 9c28b32557 MOBILE-4456 activitymodules: Get branded from icons 2024-03-11 12:28:24 +01:00
Pau Ferrer Ocaña 732a21160c MOBILE-4458 design: Fix behat snapshots 2024-03-11 12:25:52 +01:00
Pau Ferrer Ocaña c7d6fff02f MOBILE-4458 design: Remove some legacy rgba function usage 2024-03-11 12:25:52 +01:00
Pau Ferrer Ocaña 9660be8228 MOBILE-4458 design: Apply button styles 2024-03-11 12:25:52 +01:00
Pau Ferrer Ocaña 75afcb1534 MOBILE-4458 design: Renew empty box styles 2024-03-11 12:25:52 +01:00
Pau Ferrer Ocaña 4e282938af MOBILE-4458 design: Apply font styles 2024-03-11 12:25:31 +01:00
Pau Ferrer Ocaña 2e85f1264e MOBILE-4458 design: Add shadows to design system 2024-03-11 12:22:06 +01:00
Pau Ferrer Ocaña ae4c1ce28a MOBILE-4538 mod: Check module is enabled in related delegates 2024-03-11 11:57:42 +01:00
Pau Ferrer Ocaña dc1b9e9575 MOBILE-4538 assign: Inheritdocs from handlers 2024-03-11 11:57:42 +01:00
Pau Ferrer Ocaña 4fd1276817 MOBILE-4538 filters: Performance improvements on some delegates 2024-03-11 11:57:42 +01:00
Pau Ferrer Ocaña 21b43d56df MOBILE-4538 delegates: Add handlers promise enabled info and remove code 2024-03-11 11:57:42 +01:00
Dani Palou 054160f322 MOBILE-4539 course: Stop calling isDownloadable in course page 2024-03-11 11:28:07 +01:00
Dani Palou 9b9b569703 MOBILE-4539 core: Create and use new DownloadStatus types 2024-03-11 11:28:07 +01:00
Dani Palou 864087c52a MOBILE-3947 behat: Fix datetime behat tests 2024-03-11 10:19:01 +01:00
Dani Palou 69fca2f269 MOBILE-3947 behat: Don't search elements in hidden containers 2024-03-11 10:19:01 +01:00
Dani Palou abd1a32f63 MOBILE-3947 datetime: Improve a11y of datetime-button 2024-03-11 10:19:01 +01:00
Dani Palou f0bb576920 MOBILE-3947 ui: Display Cancel/Done buttons in datetime 2024-03-11 10:19:01 +01:00
Dani Palou 181c4d9ee3 MOBILE-4528 chat: Decouple from initial bundle 2024-03-11 10:17:05 +01:00
Dani Palou 2533829030 MOBILE-4539 course: Don't call isDownloadable to check module updates 2024-03-11 10:16:30 +01:00
Dani Palou 1c93299467
Merge pull request #3958 from NoelDeMartin/MOBILE-4470
MOBILE-4470 course: Fix behat tests
2024-03-11 10:14:23 +01:00
Noel De Martin 2f2a8845e2 MOBILE-4470 course: Fix behat tests
The name of new sections has changed in MDL-80460
2024-03-11 09:47:30 +01:00
Noel De Martin b39dc1b90e MOBILE-4529 addons: Fix lazy instances overrides 2024-03-07 16:25:07 +01:00
Noel De Martin 69cf1ead4c MOBILE-4529 survey: Decouple from initial bundle 2024-03-07 15:54:56 +01:00
Pau Ferrer Ocaña dd2f22226d MOBILE-3947 chore: Add version of deprecation in emulator file 2024-03-07 11:29:34 +01:00
Pau Ferrer Ocaña 6f371abbdb MOBILE-3947 chore: Deprecate CoreArray.flatten in favor native flat 2024-03-07 11:29:34 +01:00
Pau Ferrer Ocaña ccd9c05855 MOBILE-3947 chore: Remove direct usage of is('cordova') 2024-03-07 11:29:34 +01:00
Pau Ferrer Ocaña 3bdb936d58 MOBILE-3947 chore: Decouple services from our compiler 2024-03-07 11:29:34 +01:00
Pau Ferrer Ocaña a6a31f8e79 MOBILE-3947 blocks: Check blocks are enabled on blocks delegates 2024-03-06 16:15:52 +01:00
Pau Ferrer Ocaña a05aba6bef MOBILE-3947 blocks: Check if blocks are disabled when loading filters 2024-03-06 16:15:46 +01:00
Pau Ferrer Ocaña d7d4772252 MOBILE-3947 blocks: Remove unnecessary imports and exports from blocks 2024-03-06 16:15:42 +01:00
Dani Palou 4677ce5c3f
Merge pull request #3954 from NoelDeMartin/MOBILE-4470
MOBILE-4470: Improve lazy loading and fix tests
2024-03-05 13:54:27 +01:00
Noel De Martin fee90d49de MOBILE-4470 behat: Fix Chat and Survey tests
They have been disabled in new Moodle instances in MDL-80866
2024-03-05 13:10:50 +01:00
Noel De Martin 7519ef7bdf MOBILE-4470 workshop: Improve assessment strategies loading 2024-03-05 12:19:44 +01:00
Noel De Martin f82b14d2fd MOBILE-4470 core: Disable routes preloading 2024-03-05 12:19:44 +01:00
Dani Palou 5936cdab85
Merge pull request #3945 from NoelDeMartin/MOBILE-4527
MOBILE-4527 compile: Fix JIT modules
2024-03-05 09:06:37 +01:00
Dani Palou 0cff22ca30
Merge pull request #3952 from crazyserver/MOBILE-4497
Mobile 4497
2024-03-05 08:14:08 +01:00
Dani Palou e79c549c2e
Merge pull request #3953 from crazyserver/MOBILE-4329
MOBILE-4329 dataprivacy: Add link handlers
2024-03-05 08:05:57 +01:00
Pau Ferrer Ocaña f5d31d8eb4 MOBILE-4497 competency: Decouple competency services 2024-03-04 17:49:15 +01:00
Pau Ferrer Ocaña ff0108d796 MOBILE-4497 competency: Use adv features to check if competencies are on 2024-03-04 17:49:15 +01:00
Pau Ferrer Ocaña 87878ac0ae MOBILE-4329 dataprivacy: Add link handlers 2024-03-04 16:08:32 +01:00
Pau Ferrer Ocaña 7980f027f0 MOBILE-4329 chore: Link handler action should be async to wait for nav 2024-03-04 16:00:58 +01:00
Pau Ferrer Ocaña 8190e638f0 MOBILE-4498 tag: Decouple course tag services 2024-03-04 13:13:09 +01:00
Pau Ferrer Ocaña 0efd23f019 MOBILE-4498 completion: Decouple course completion services 2024-03-04 13:13:09 +01:00
Pau Ferrer Ocaña 40c47b9148 MOBILE-4498 blog: Remove unused blog services 2024-03-04 13:13:09 +01:00
Pau Ferrer Ocaña d5be19ad9d MOBILE-4498 comments: Decouple comments services 2024-03-04 13:13:09 +01:00
Pau Ferrer Ocaña 6a52b02eeb MOBILE-4498 comments: Use advanced features to check if comments are on 2024-03-04 13:13:08 +01:00
Pau Ferrer Ocaña 65ed0d2b1c MOBILE-4498 blog: Use advanced features to check if blog is enabled 2024-03-04 13:13:08 +01:00
Pau Ferrer Ocaña 41f005d65a MOBILE-4498 completion: Use adv features to check if completion is on 2024-03-04 13:13:08 +01:00
Pau Ferrer Ocaña 3cc03713ae MOBILE-4498 tags: Use advanced features to check if tags are enabled 2024-03-04 13:13:08 +01:00
Noel De Martin afb5ce3cde MOBILE-4527 compile: Fix JIT modules
More details about the fix: https://github.com/angular/angular/issues/44660#issuecomment-1976349160
2024-03-04 12:30:46 +01:00
Dani Palou cca9a3b784
Merge pull request #3950 from NoelDeMartin/MOBILE-4272
MOBILE-4272 workshop: Decouple from initial bundle
2024-03-04 09:57:17 +01:00
Noel De Martin c15b3c507c MOBILE-4272 workshop: Decouple from initial bundle 2024-02-29 17:36:53 +01:00
Noel De Martin 59cc4bd227
Merge pull request #3946 from crazyserver/MOBILE-4456
Mobile 4456
2024-02-29 17:05:12 +01:00
Pau Ferrer Ocaña cd40c1a06d MOBILE-4456 competency: Fix course module type 2024-02-29 16:40:31 +01:00
Pau Ferrer Ocaña 62692bd23d MOBILE-4456 course: Load icon svg as inline and style them properly 2024-02-29 16:40:31 +01:00
Pau Ferrer Ocaña c3c414a1da MOBILE-4456 course: Adapt purpose of the icons to new version 2024-02-29 15:56:24 +01:00
Dani Palou 0c49a451f7
Merge pull request #3949 from NoelDeMartin/MOBILE-4524
MOBILE-4524 search: Optimize WS calls
2024-02-29 10:34:35 +01:00
Noel De Martin 1e3eed64e2 MOBILE-4524 search: Optimize WS calls 2024-02-28 17:02:39 +01:00
Noel De Martin b6278e769c MOBILE-4350 quiz: Allow navigating from sequential summary
This is consistent with the LMS which has a "return to attempt" button. It also fixes the behaviour that users would expect, given that the buttons in the side navigation for the current page are not disabled in the summary.
2024-02-28 16:00:20 +01:00
Pau Ferrer Ocaña b69341ecb2 MOBILE-4456 course: Add new 4.4 activity icons 2024-02-27 13:49:18 +01:00
Dani Palou 60e256eda6
Merge pull request #3938 from crazyserver/MOBILE-4329
Mobile 4329
2024-02-27 13:48:33 +01:00
Pau Ferrer Ocaña 94f7711529
Merge pull request #3943 from dpalou/MOBILE-4508
MOBILE-4508 h5p: Update H5P lib to 1.26
2024-02-27 13:48:02 +01:00
Pau Ferrer Ocaña 9e0b1d45cd MOBILE-4329 dataprivacy: Add behat tests 2024-02-27 12:58:23 +01:00
Pau Ferrer Ocaña cc2f238d68 MOBILE-4329 user: Rename user profile handler types 2024-02-27 12:55:12 +01:00
Dani Palou 8021e7ef5a MOBILE-4508 h5p: Update H5P lib to 1.26 2024-02-27 12:22:58 +01:00
Pau Ferrer Ocaña dddc95bfc6 MOBILE-4329 chore: Add generic table styles 2024-02-27 09:44:11 +01:00
Pau Ferrer Ocaña 791903a80d MOBILE-4329 dataprivacy: Implement data privacy pages 2024-02-27 09:44:11 +01:00
Pau Ferrer Ocaña 84d83b0450 MOBILE-4329 dataprivacy: Add module structure with WS calls 2024-02-23 11:15:25 +01:00
Dani Palou ae79dc9d27 MOBILE-4400 signup: Check extendedusernamechars setting 2024-02-22 17:37:21 +01:00
Noel De Martin 3e275e5b18 MOBILE-4350 quiz: Fix navigation tests for LMS 4.3 2024-02-22 15:37:19 +01:00
Noel De Martin df5bbf33bc MOBILE-4350 quiz: Fix disabled clicks in summaries 2024-02-22 13:24:57 +01:00
Noel De Martin 02918af512 MOBILE-4350 quiz: Disable unanswered warning in sequential navigation 2024-02-22 13:24:21 +01:00
Pau Ferrer Ocaña 088d7ccc55
Merge pull request #3934 from dpalou/MOBILE-4499
Mobile 4499
2024-02-22 09:49:26 +01:00
Dani Palou 5cd20b8710 MOBILE-4499 local-notifications: Fix cancelling site events 2024-02-22 09:39:23 +01:00
Pau Ferrer Ocaña b38223bb59
Merge pull request #3933 from dpalou/MOBILE-4313
MOBILE-4313 notifications: Show warnings if permissions missing
2024-02-21 16:47:46 +01:00
Dani Palou 609e0a3e6e
Merge pull request #3932 from NoelDeMartin/MOBILE-4350
MOBILE-4350: Sequential Navigation
2024-02-21 15:49:16 +01:00
Noel De Martin 33d31b46b4
Merge pull request #3936 from dpalou/MOBILE-4304
MOBILE-4304 h5p: Fix regression breaking H5P packages deployment
2024-02-21 11:46:38 +01:00
Dani Palou f7ddc1efa8 MOBILE-4304 h5p: Fix regression breaking H5P packages deployment 2024-02-20 14:27:14 +01:00
Dani Palou c9ccf05565 MOBILE-4510 h5p: Fix deleting cached assets 2024-02-20 11:10:52 +01:00
Dani Palou edd6214e71 MOBILE-4313 notifications: Show warnings if permissions missing 2024-02-19 15:58:56 +01:00
Noel De Martin 5c1606e595 MOBILE-4350 quiz: Disable sequential navigation items 2024-02-19 10:10:27 +01:00
Noel De Martin c41ac5a3cf MOBILE-4350 theme: Improve opacity of disabled items 2024-02-19 10:10:27 +01:00
Dani Palou f31eb838fd
Merge pull request #3927 from NoelDeMartin/MOBILE-4304
MOBILE-4304: Replace WebSQL with sqlite-wasm
2024-02-14 09:53:46 +01:00
Noel De Martin 829c59ea23
Merge pull request #3924 from alfonso-salces/MOBILE-4501
MOBILE-4501 cordova-plugin-moodleapp: Add diagnostic plugin
2024-02-14 09:30:48 +01:00
Alfonso Salces abf2867fc6 MOBILE-4501 cordova-plugin-moodleapp: Add diagnostic plugin 2024-02-14 09:22:15 +01:00
Noel De Martin d94402637e MOBILE-4304 core: Implement SubPartial helper 2024-02-14 09:06:20 +01:00
Noel De Martin c3817a0a60 MOBILE-4304 scorm: Comment incompatible tests 2024-02-14 09:06:20 +01:00
Noel De Martin 7adf75f490 MOBILE-4304 core: Improve infinite-loader race conditions 2024-02-14 09:06:20 +01:00
Noel De Martin 0c42071511 MOBILE-4304 behat: Fix core file tests 2024-02-14 09:06:20 +01:00
Noel De Martin 060256c0ea MOBILE-4304 behat: Update snapshots 2024-02-14 09:06:19 +01:00
Noel De Martin ed75657719 MOBILE-4304 core: Implement insert row id 2024-02-14 09:06:19 +01:00
Noel De Martin a7bd1e5f89 MOBILE-4304 core: Replace WebSQL with sqlite-wasm 2024-02-14 09:06:19 +01:00
Noel De Martin 368bf02bc2 MOBILE-4304 h5p: Fix async delete 2024-02-14 09:06:19 +01:00
Noel De Martin 26bf15496d MOBILE-4304 core: Remove getInOrEqual database helper 2024-02-14 09:06:19 +01:00
Noel De Martin ef88336a2d MOBILE-4304 h5p: Update database usage 2024-02-14 09:06:19 +01:00
Noel De Martin 807860f0d5 MOBILE-4304 core: Update database usage 2024-02-14 09:06:19 +01:00
Noel De Martin bb82cd8ff1 MOBILE-4304 sharedfiles: Update database usage 2024-02-14 09:06:19 +01:00
Noel De Martin 7e2d2fb74b MOBILE-4304 search: Update database usage 2024-02-14 09:06:19 +01:00
Noel De Martin 4d4a506fe1 MOBILE-4304 reminders: Update database usage 2024-02-14 09:06:19 +01:00
Noel De Martin 869f08eee7 MOBILE-4304 core: Return database records rowId 2024-02-14 09:06:19 +01:00
Noel De Martin b6f32dfddd MOBILE-4304 scorm: Update database usage 2024-02-14 09:06:19 +01:00
Noel De Martin 38d0ad1aad MOBILE-4304 core: Remove redundant generics 2024-02-14 09:06:19 +01:00
Noel De Martin 88f7eba74c MOBILE-4339 quiz: Add unanswered questions warning 2024-02-12 13:48:50 +01:00
Noel De Martin 90b4eb3ecb MOBILE-3947 fileuploader: Fix audio recorder 2024-02-08 12:07:48 +01:00
Noel De Martin ef455e6d37 MOBILE-4470 behat: Fix signup tests
This test started failing after MDL-72703 was integrated
2024-02-07 11:03:53 +01:00
Dani Palou 1250b9d3b7 MOBILE-3947 theme: Remove temporary development styles 2024-02-06 11:52:51 +01:00
Dani Palou 7b1cc71210 MOBILE-3947 compile: Fix plugins reloading the app when submitting form 2024-02-06 11:38:42 +01:00
Dani Palou 0541415a5a
Merge pull request #3881 from alfonso-salces/MOBILE-4481
MOBILE-4481 ws.ts: Get mimetype from file transfer headers
2024-02-02 11:04:24 +01:00
Alfonso Salces 8f2c3445e2 MOBILE-4481 ws.ts: Get mimetype from file transfer headers 2024-02-02 10:13:46 +01:00
Dani Palou c79e77f2ef
Merge pull request #3920 from crazyserver/MOBILE-4502
MOBILE-4502 icons: Add fontawesome styles and treat all tags as icons
2024-02-02 09:27:34 +01:00
Pau Ferrer Ocaña 6e1726e4a0 MOBILE-4502 icons: Add fontawesome styles and treat all tags as icons 2024-02-01 17:33:42 +01:00
Noel De Martin 6548346dca MOBILE-4470 core: Default to reduced motion in old devices 2024-02-01 13:46:10 +01:00
Noel De Martin a81b97aead
Merge pull request #3921 from dpalou/MOBILE-4173
MOBILE-4173 behat: Limit embedded PDF test to 4.3+
2024-02-01 11:26:32 +01:00
Dani Palou f5a746c504 MOBILE-4173 behat: Limit embedded PDF test to 4.3+
This is because #wwwroot# isn't supported in older versions
2024-02-01 11:17:07 +01:00
Pau Ferrer Ocaña 03e9bcb736 MOBILE-4243 course: Add communication room button to course page 2024-02-01 09:46:34 +01:00
Noel De Martin 1c6c7c14c9 MOBILE-3947 behat: Fix tests for older versions 2024-01-31 17:23:47 +01:00
Dani Palou bcbd31535c MOBILE-4492 file: Avoid problems with toURL in Android 2024-01-31 15:08:17 +01:00
Dani Palou c60f792927
Merge pull request #3914 from NoelDeMartin/MOBILE-4496
MOBILE-4496: Improve Behat CI
2024-01-31 15:05:53 +01:00
Noel De Martin 667ba02986
Merge pull request #3902 from crazyserver/MOBILE-4266
MOBILE-4266 site: Add site theme class to html tags
2024-01-31 14:21:24 +01:00
Noel De Martin da5827190f MOBILE-4496 reminders: Timeout permission request in behat 2024-01-31 13:41:35 +01:00
Noel De Martin 208ec01b6c MOBILE-4496 reminders: Improve notification tests
The previous implementation was too flaky because it relied on test execution time
2024-01-31 13:41:35 +01:00
Noel De Martin da976a08a7 MOBILE-4496 behat: Fix webserver url 2024-01-31 13:41:35 +01:00
Pau Ferrer Ocaña 8b38b54fb9 MOBILE-4266 app: isOnline always returned true on webapp 2024-01-31 12:44:41 +01:00
Pau Ferrer Ocaña 6f4e3f7479 MOBILE-4266 app: Sort some app initializers 2024-01-31 12:44:41 +01:00
Pau Ferrer Ocaña d269225651 MOBILE-4266 site: Add site theme class to html tags 2024-01-31 12:44:31 +01:00
Noel De Martin 7ad5e52148 MOBILE-4496 behat: Remove performance tests
These tests haven't been used in a while, so we've decided to remove them to clean up the codebase.
2024-01-31 11:35:09 +01:00
Noel De Martin bb6ed65c88 MOBILE-4496 behat: Update tags
Tags have been changed to reflect the namespace in the app folder structure, rather than trying to find an equivalent in the LMS codebase
2024-01-31 11:35:09 +01:00
Noel De Martin a8ffee0010
Merge pull request #3916 from dpalou/MOBILE-4173
MOBILE-4173 behat: Don't hardcode webserver in embedded PDF test
2024-01-31 11:34:27 +01:00
Dani Palou 5a8199304a MOBILE-4173 behat: Don't hardcode webserver in embedded PDF test 2024-01-31 10:30:16 +01:00
Pau Ferrer Ocaña 0de0394a66
Merge pull request #3915 from dpalou/MOBILE-4173
Mobile 4173
2024-01-31 10:10:10 +01:00
Dani Palou 22a8f0d949 MOBILE-4173 core: Add behat to test embedded PDFs 2024-01-31 08:56:51 +01:00
Noel De Martin b5961ada67 MOBILE-3947 login: Restore logo fallback 2024-01-29 15:13:31 +01:00
Dani Palou 327fe019a4 MOBILE-4173 iframe: Launch PDF and some iframes in external app 2024-01-29 15:06:54 +01:00
Dani Palou 1143d4d695 MOBILE-4173 core: Fix IAB opened by mistake in openOnlineFile 2024-01-29 15:06:54 +01:00
Pau Ferrer Ocaña 5dbfc072f5 MOBILE-3947 ionic: Reimport mixins due to :dir rule problems 2024-01-25 11:54:18 +01:00
Dani Palou d740f601bc
Merge pull request #3911 from crazyserver/MOBILE-3947
MOBILE-3947 angular: Update angular to v17
2024-01-24 15:11:57 +01:00
Dani Palou 0f441d199e
Merge pull request #3909 from NoelDeMartin/MOBILE-4350
MOBILE-4350: Comment out sequential navigation test
2024-01-24 12:29:59 +01:00
Pau Ferrer Ocaña 6c9bc12d34 MOBILE-3947 lint: Fix self-closing tags 2024-01-23 16:13:09 +01:00
Noel De Martin c356a1aea2 MOBILE-4350: Comment out sequential navigation test
This is necessary so that MDL-79295 can move forward with the integration.
2024-01-23 09:24:02 +01:00
Noel De Martin ab0cff0b6c MOBILE-3947 behat: Fix close popup step
This step was also working for other elements such as ion-alert before
upgrading to ionic 7, so we should keep the same behaviour.
2024-01-23 09:01:12 +01:00
Noel De Martin a952b7b7fc MOBILE-4470 behat: Fix snapshots 2024-01-18 11:35:18 +01:00
Noel De Martin 9632d5ad50
Merge pull request #3894 from dpalou/MOBILE-3947
MOBILE-3947 core: Fix wrong types for chooser plugin
2024-01-17 12:32:54 +01:00
Dani Palou aaa714cb64 MOBILE-3947 core: Fix wrong types for chooser plugin 2024-01-17 11:36:45 +01:00
Noel De Martin 3621bc46a5 MOBILE-3947 glossary: Fix tests
There were some bugs in Angular v10 that countered this bug in our code, that's why it wasn't manifested until now. It seems to be related with the changes in createUrlTreeFromSegmentGroup.

See https://github.com/angular/angular/commits/16.0.x/packages/router/src/create_url_tree.ts?since=2020-06-25&until=2024-01-11
2024-01-15 16:35:57 +01:00
Noel De Martin 2200669b0f MOBILE-3947 messages: Fix tests 2024-01-15 16:35:57 +01:00
Noel De Martin 44606242fd MOBILE-3947 reminders: Fix tests 2024-01-15 16:35:57 +01:00
Noel De Martin 21d0dc6821 MOBILE-3947 reminders: Fix reminder button a11y roles 2024-01-15 16:35:57 +01:00
Dani Palou b65b1a3e1f
Merge pull request #3892 from crazyserver/MOBILE-3947
MOBILE-3947 styles: Add primary dark variable
2024-01-15 15:56:56 +01:00
Pau Ferrer Ocaña 0c52f58c73 MOBILE-3947 styles: Add primary dark variable 2024-01-15 15:52:15 +01:00
Dani Palou 03eb3e7dcb MOBILE-3947 core: Fix extension detection in guessExtensionFromUrl 2024-01-12 15:45:02 +01:00
Dani Palou dfd7f89491 MOBILE-3947 mod_url: Improve guessIcon detection 2024-01-12 15:45:02 +01:00
Dani Palou 27b980d710 MOBILE-3947 form: Add types to FormControl 2024-01-12 15:45:02 +01:00
Dani Palou 350f5792ca MOBILE-3947 types: Add types to TemplateRef 2024-01-12 08:49:46 +01:00
Dani Palou 4397446acd MOBILE-3947 iframe: Fix error when setting allowfullscreen
Now this attribute needs to be static
2024-01-12 08:49:46 +01:00
Pau Ferrer Ocaña 3e72bf3ead MOBILE-3947 block_tags: Fix width 2024-01-11 17:50:52 +01:00
Pau Ferrer Ocaña ab16380626 MOBILE-3947 combobox: Improve combobox 2024-01-11 17:50:52 +01:00
Pau Ferrer Ocaña 0975669042 MOBILE-3947 chore: Remove some ionicons usage 2024-01-11 15:08:58 +01:00
Pau Ferrer Ocaña cf8f8ee0ee MOBILE-3947 notifications: Fix unreactive aria-label 2024-01-11 12:59:27 +01:00
Pau Ferrer Ocaña a90d4bda34 MOBILE-3947 behat: Fix tab select status check 2024-01-11 12:59:27 +01:00
Pau Ferrer Ocaña b313555ebe MOBILE-3947 signup: Fix input error default set 2024-01-11 12:59:27 +01:00
Pau Ferrer Ocaña 33f1cefad1 MOBILE-3947 behat: Fix datetime user profile labeling 2024-01-11 12:59:27 +01:00
Pau Ferrer Ocaña ebb0df1362 MOBILE-3947 behat: Get field when label is inside 2024-01-11 12:59:27 +01:00
Pau Ferrer Ocaña de5c6633ef MOBILE-3947 mod: Update some behat instructions 2024-01-11 12:59:27 +01:00
Pau Ferrer Ocaña 90a47b2441 MOBILE-3947 behat: Fix ion-toggle press 2024-01-11 12:59:27 +01:00
Pau Ferrer Ocaña 1f667da246 MOBILE-3947 competency: Narrow selector on press Competencies 2024-01-11 12:59:27 +01:00
Pau Ferrer Ocaña 6cca2a953b MOBILE-3947 behat: Check shadowDom on getTopAncestors 2024-01-11 12:59:27 +01:00
Pau Ferrer Ocaña b523757e81 MOBILE-3947 behat: Dispatch ionChange event after setting a field 2024-01-11 12:59:27 +01:00
Pau Ferrer Ocaña eb704d4203 MOBILE-3947 calendar: Simplify observers management 2024-01-11 12:59:27 +01:00
Pau Ferrer Ocaña 522d1e2c79 MOBILE-3947 swipe: Fix Swipe slides update component 2024-01-11 12:59:26 +01:00
Pau Ferrer Ocaña 210b3a75a3 MOBILE-3947 behat: Fix Datetime value 2024-01-11 12:59:26 +01:00
Pau Ferrer Ocaña 06e7a0c97a MOBILE-3947 behat: Fix behat tests on ionic7 upgrade 2024-01-10 10:00:54 +01:00
Pau Ferrer Ocaña 8445854486 MOBILE-3947 behat: Fix some snapshot failures 2023-12-18 13:39:13 +01:00
Pau Ferrer Ocaña e875cc6306 MOBILE-3947 core: Fix compile HTML 2023-12-18 13:39:07 +01:00
Pau Ferrer Ocaña 19ab818683 MOBILE-3947 forum: Fix tests
Co-authored-by: NoelDeMartin <noel@moodle.com>
2023-12-18 09:56:41 +01:00
Pau Ferrer Ocaña efee601918 MOBILE-3947 behat: Fix backdrop selector
Co-authored-by: NoelDeMartin <noel@moodle.com>
2023-12-18 09:56:41 +01:00
Noel De Martin c5c0a57113 MOBILE-3947 behat: Use login shortcuts 2023-12-18 09:56:41 +01:00
Dani Palou df0cf232f6 MOBILE-3947 ion-datetime: Use right language and first day of week 2023-12-15 10:50:51 +01:00
Dani Palou 50b8fe2e98 MOBILE-3947 ion-datetime: Fix timestamp supplied to datetime
ion-datetime no longer uses time zone, it's always UTC now so we had to adapt the initial value supplied. No change needed when reading the value because moment automatically uses the user timezone if the value doesn't specify a timezone.
2023-12-15 10:43:20 +01:00
Pau Ferrer Ocaña a424923cfc MOBILE-3947 site: Use ionInput event on sitefinder 2023-12-14 22:08:38 +01:00
Pau Ferrer Ocaña 373cf8f549 MOBILE-3947 behat: Tag and omit failing behats due to Ionic7 migration 2023-12-14 22:08:38 +01:00
Pau Ferrer Ocaña 2335ff8010 MOBILE-3947 behat: Fix isSelected function 2023-12-14 10:41:34 +01:00
Pau Ferrer Ocaña d912d9d9af MOBILE-3947 behat: Fix RTE behat setField 2023-12-14 10:41:34 +01:00
Pau Ferrer Ocaña b73e2c874b MOBILE-3947 styles: Fix limited width inside loading 2023-12-14 10:41:34 +01:00
Pau Ferrer Ocaña bea73940ed MOBILE-3947 core: Avoid item overflow on input errors 2023-12-14 10:41:34 +01:00
Pau Ferrer Ocaña be7f86edd2 MOBILE-3947 core: Slot core-show-password on ion-inputs 2023-12-14 10:41:34 +01:00
Pau Ferrer Ocaña 243386232e MOBILE-3947 chore: Remove Ionic warnings about legacy form controls 2023-12-14 10:41:34 +01:00
Pau Ferrer Ocaña 6c28885260 MOBILE-3947 assign: Do not require submission statement if empty 2023-12-14 10:41:34 +01:00
Pau Ferrer Ocaña 1e16f68070 MOBILE-3947 app: Add development html class and upgrade class to ionic7 2023-12-14 10:41:34 +01:00
Pau Ferrer Ocaña c60519f2a8 MOBILE-3947 course: Open course index in a sheet modal 2023-12-14 10:41:34 +01:00
Pau Ferrer Ocaña 50596da0f2 MOBILE-3947 chore: Change Combobox select mandatory child 2023-12-14 10:41:34 +01:00
Dani Palou bfdf60900f MOBILE-3947 core: Fix some v4 icons wrongly converted to v6 2023-12-13 16:25:38 +01:00
Dani Palou 6c99166055 MOBILE-3947 icons: Add new fonts to Ionicons using addIcons 2023-12-13 16:25:38 +01:00
Dani Palou dc5d22f503 MOBILE-3947 core: Don't include angular/compiler in main bundle 2023-12-12 08:00:48 +01:00
Noel De Martin 890dbb0245 MOBILE-3947 core: Fix swipe-slides component 2023-12-05 16:52:03 +01:00
Noel De Martin 130810ca3e MOBILE-3947 behat: Fix gestures 2023-12-05 16:52:03 +01:00
Noel De Martin b1b8b9583b MOBILE-3947 core: Fix circular routes 2023-12-05 16:52:03 +01:00
Noel De Martin f0586fd93e MOBILE-3947 core: Remove invalid route 2023-12-05 16:52:03 +01:00
Noel De Martin 48ebe85b51 MOBILE-3947 core: Fix null injection token 2023-12-05 16:52:03 +01:00
Pau Ferrer Ocaña 76beb12d17
Merge pull request #3876 from dpalou/MOBILE-4479
Mobile 4479
2023-12-04 15:05:16 +01:00
Alfonso Salces c0ae3e61c0 MOBILE-3947 qr-scanner: Create qr scanner service 2023-12-04 10:19:40 +01:00
Dani Palou fec29ecca1 MOBILE-4479 siteplugins: Only add default module-info if needed 2023-12-04 09:14:20 +01:00
Dani Palou 1c967b7813 MOBILE-4479 core: Make wait directives functions recursive
To be able to wait for elements inside the loading elements
2023-12-04 09:14:20 +01:00
Dani Palou 68cd9dd31d MOBILE-3947 locutus: Fix error when unserialize PHP string 2023-12-01 09:53:40 +01:00
Noel De Martin 4089315755
Merge pull request #3874 from dpalou/MOBILE-3947
MOBILE-3947 push: Stop using @moodlehq/ionic-native-push
2023-11-30 17:36:09 +01:00
Noel De Martin f7d50be5c4 MOBILE-3947 ng: Update polyfills
The check-es-compat patch can be removed if the following PR is resolved: https://github.com/robatwilliams/es-compat/pull/86
2023-11-30 15:02:30 +01:00
Dani Palou 60a2d16dc6 MOBILE-3947 push: Stop using @moodlehq/ionic-native-push
Now we use @awesome-cordova-plugins/push and implement the specific features in a wrapper in the app
2023-11-30 14:56:24 +01:00
Pau Ferrer Ocaña e7c5dcd6da MOBILE-3947 chore: Fix require.context is not a function on APP INIT 2023-11-30 11:17:25 +01:00
Pau Ferrer Ocaña ec87e0c877 MOBILE-3947 chore: Remove unneeded HammerJS config override 2023-11-30 11:00:31 +01:00
Pau Ferrer Ocaña 0a73c59ea0 MOBILE-3947 chore: Linting fixes 2023-11-30 11:00:31 +01:00
Noel De Martin 7325a1dd6d MOBILE-3947 native: Fix zip plugin 2023-11-29 16:50:43 +01:00
Noel De Martin 9a5329cdc3 MOBILE-3947 core: Fix translate pipe linting 2023-11-29 16:19:00 +01:00
Noel De Martin 2449aca781 MOBILE-3947 ng: Fix build errors
Target in app tsconfig is set to es2022 by the Angular CLI, so we must
set it as well to be consistent in the rest of the tooling. Angular
compilation later uses browserslist for further transpilations.

Target in unit tests is kept at es2016 because of a known bug in
Angular: https://github.com/angular/angular/issues/31730
2023-11-29 16:19:00 +01:00
Noel De Martin 7f630b287a MOBILE-3947 eslint: Unban Function type 2023-11-29 16:19:00 +01:00
Pau Ferrer Ocaña bb2e08d0fc
Merge pull request #3870 from dpalou/MOBILE-3947
MOBILE-3947 core: Stop using deprecated guard interfaces
2023-11-29 15:57:05 +01:00
Pau Ferrer Ocaña d72e8d4d12 MOBILE-3947 chore: Remove EventEmitter observer deprecation 2023-11-29 15:33:25 +01:00
Dani Palou 30cac7d056 MOBILE-3947 core: Stop using deprecated guard interfaces 2023-11-29 11:43:31 +01:00
Noel De Martin 2d141bc104
Merge pull request #3865 from dpalou/MOBILE-3947
Mobile 3947
2023-11-29 10:34:44 +01:00
Dani Palou fbc19eed43
Merge pull request #3863 from NoelDeMartin/MOBILE-3947
MOBILE-3947 native: Fix chooser plugin
2023-11-29 09:07:10 +01:00
Noel De Martin c2b86a10b5 MOBILE-3947 native: Fix chooser plugin 2023-11-29 08:58:43 +01:00
Dani Palou 96156a2482 MOBILE-3947 types: Fix NavController type override 2023-11-29 08:21:58 +01:00
Pau Ferrer Ocaña 4053e2d741 MOBILE-3947 core: Move from ViewEngine to Ivy and fix plugins 2023-11-29 08:21:58 +01:00
Dani Palou 825ae4ad7c
Merge pull request #3866 from alfonso-salces/MOBILE-4478
MOBILE-4478 link.ts: Avoid navigate to decoded links
2023-11-28 16:24:08 +01:00
Pau Ferrer Ocaña 22dbd6ad99 MOBILE-3947 core: Stop using ComponentFactoryResolver 2023-11-28 16:15:06 +01:00
Pau Ferrer Ocaña 2e834ef00a MOBILE-3947 chore: Update moodleTransitionAnimation 2023-11-28 15:41:58 +01:00
Pau Ferrer Ocaña 4a55534013 MOBILE-3947 styles: Change deprecated Style host context 2023-11-28 15:34:22 +01:00
Alfonso Salces 8eeac15136 MOBILE-4478 link.ts: Avoid navigate to decoded links 2023-11-28 15:07:46 +01:00
Pau Ferrer Ocaña 22d0d4ece1 MOBILE-3947 chore: Migrate ion-datetime to Ionic 7 2023-11-28 13:38:48 +01:00
Pau Ferrer Ocaña 2db3635882 MOBILE-3947 chore: Allow inner HTML templates 2023-11-28 13:38:48 +01:00
Pau Ferrer Ocaña 47d5eb5eaa MOBILE-3947 styles: Fix ion-icon as button sizes on course index 2023-11-28 13:38:48 +01:00
Pau Ferrer Ocaña ce5cfeb3af MOBILE-3947 styles: Fix focus inside another 2023-11-28 13:38:48 +01:00
Pau Ferrer Ocaña daecc555e2 MOBILE-3947 chore: Remove usage of raw loader 2023-11-28 13:38:48 +01:00
Pau Ferrer Ocaña 4a5fa12e6d MOBILE-3947 chore: Fix Cannot redeclare exported variable NavController 2023-11-28 13:38:48 +01:00
Pau Ferrer Ocaña 5fd69a5d91 MOBILE-3947 chore: Auto fixes and disabled rules exceptions 2023-11-28 13:38:48 +01:00
Pau Ferrer Ocaña af22db5605 MOBILE-3947 lang: Fallback to previous language if cannot load selected 2023-11-28 13:38:48 +01:00
Noel De Martin b0f8f73f85 MOBILE-3947 tests: Fix tests configuration 2023-11-27 17:05:33 +01:00
Noel De Martin 4286234e6b MOBILE-3947 chore: Fix TS errors 2023-11-27 15:58:38 +01:00
Pau Ferrer Ocaña 9dab24fef5 MOBIE-3947 lint: Fix self closing tags 2023-11-27 14:45:50 +01:00
Pau Ferrer Ocaña a0cd868179 MOBIE-3947 lint: Fix some linting 2023-11-27 14:45:49 +01:00
Pau Ferrer Ocaña 7c31e79bbd MOBILE-3947 slides: Use Swiper instead of IonSlides 2023-11-27 14:45:49 +01:00
Pau Ferrer Ocaña 34147fceb7 MOBILE-3947 styles: Now Ionic support HTML hidden feature but it breaks 2023-11-27 14:45:32 +01:00
Pau Ferrer Ocaña 8e65abcd48 MOBILE-3947 styles: Fix new Ionic shadow DOM styles 2023-11-27 14:45:32 +01:00
Pau Ferrer Ocaña 730c26e5d8 MOBILE-3947 styles: Use math.div instead of division 2023-11-27 14:45:32 +01:00
Pau Ferrer Ocaña fa7607a0d3 MOBILE-3947 lint: Fix jsdocs 2023-11-27 14:45:31 +01:00
Pau Ferrer Ocaña c773a4d426 MOBILE-3947 chore: Fix Ionic package name conflicts 2023-11-24 13:46:58 +01:00
Pau Ferrer Ocaña e8dd8be967 MOBILE-3947 chore: Change Ionic native imports to awesome cordova 2023-11-24 13:46:58 +01:00
Noel De Martin 93dad58ebe MOBILE-3947 app: Fix linting errors 2023-11-23 15:25:36 +01:00
Noel De Martin dbb3db08ae MOBILE-3947 app: Upgrade to Ionic 7 2023-11-23 15:23:43 +01:00
Dani Palou 3b99950df6 MOBILE-4469 site: Rename candidate site to authenticated site 2023-11-22 10:48:18 +01:00
Dani Palou 006f9018a9 MOBILE-4469 login: Move login constants to new file 2023-11-22 09:18:17 +01:00
Dani Palou 0c50ebd310 MOBILE-4469 site: Implement triggerSiteEvent function 2023-11-22 09:17:32 +01:00
Dani Palou 748dce1757 MOBILE-4469 site: Implement new hasInfo function 2023-11-22 09:17:32 +01:00
Dani Palou a3898d7515 MOBILE-4469 login: Support isFeatureDisabled in all site classes 2023-11-22 09:17:29 +01:00
Dani Palou a724a946d2 MOBILE-4469 core: Create new CoreCandidateSite class 2023-11-22 08:17:12 +01:00
Dani Palou 954ce48d7b MOBILE-4469 core: Create new CoreUnauthenticatedSite class 2023-11-21 14:24:15 +01:00
Dani Palou 988ddb4b94 MOBILE-4469 core: Move CoreSite class to new sites folder 2023-11-21 11:58:27 +01:00
Pau Ferrer Ocaña 1fcbd4f2ce MOBILE-3947 dev: Improve error log styling 2023-11-20 14:03:19 +01:00
Pau Ferrer Ocaña b7322d696d MOBILE-3947 lang: Remove usage of Ionic 1 strings types (mm and mma) 2023-11-20 14:03:08 +01:00
Pau Ferrer Ocaña ce36245d83 MOBILE-3947 chore: Move replaceTags to CoreDom 2023-11-20 14:03:08 +01:00
Pau Ferrer Ocaña 7a4bf21d3c MOBILE-3947 progressbar: Fix progress bar strict types 2023-11-20 14:03:08 +01:00
Pau Ferrer Ocaña 6569547cdd MOBILE-3947 dev: Remove non existing sites file storage 2023-11-20 14:03:08 +01:00
Pau Ferrer Ocaña 258d12f4d0 MOBILE-3947 styles: Improve drop shadows 2023-11-20 11:33:28 +01:00
Pau Ferrer Ocaña feb8a78ecc MOBILE-3947 chore: Change IonRefresher type to HTMLIonRefresherElement 2023-11-20 11:33:27 +01:00
Pau Ferrer Ocaña 4ebec029ba MOBILE-3947 user: Fix user types on user-avatar 2023-11-20 11:33:27 +01:00
Pau Ferrer Ocaña e40a4f13bb MOBILE-3947 chore: Fix some HTML strict types 2023-11-20 11:33:27 +01:00
Pau Ferrer Ocaña 9e9052db85 MOBILE-3947 chore: Fix some non valid types 2023-11-20 11:33:26 +01:00
Pau Ferrer Ocaña 9be60c9e83 MOBILE-3947 chore: Fix eqeqeq on HTML 2023-11-20 11:33:26 +01:00
Pau Ferrer Ocaña 4ca0cf785a MOBILE-3947 chore: Deprecation fixes 2023-11-20 11:33:26 +01:00
Pau Ferrer Ocaña a81f93822f MOBILE-3947 chore: Change import to use on Sass 2023-11-20 11:33:26 +01:00
Pau Ferrer Ocaña 8265f0fbe1 MOBILE-3947 chore: Remove unneeded optional chaining on HTML 2023-11-20 11:33:25 +01:00
Dani Palou 07f661e5ab
Merge pull request #3850 from crazyserver/MOBILE-4465
Mobile 4465
2023-11-20 11:04:33 +01:00
Dani Palou e04c1e86c1
Merge pull request #3857 from NoelDeMartin/MOBILE-4463
MOBILE-4463 dev: Fix logged out app settings
2023-11-20 10:41:30 +01:00
Noel De Martin 5bd1954b1b
Merge pull request #3856 from dpalou/MOBILE-4459
MOBILE-4459 analytics: Don't log analytic events for demo sites
2023-11-20 10:36:17 +01:00
Noel De Martin 3a37758e7c MOBILE-4463 dev: Fix logged out app settings 2023-11-20 10:30:29 +01:00
Dani Palou 504f441025 MOBILE-4459 analytics: Don't log analytic events for demo sites 2023-11-20 10:26:05 +01:00
Pau Ferrer Ocaña 0ddb86d6b8 MOBILE-4465 chore: Simplify code on deprecated components 2023-11-20 10:17:17 +01:00
Pau Ferrer Ocaña 3c53bf2632 MOBILE-4465 chore: Remove deprecated code on 4.0 2023-11-20 10:17:16 +01:00
Alfonso Salces 884c860444 MOBILE-4464 siteplugins: Add class to identify site plugins 2023-11-20 08:45:33 +01:00
Pau Ferrer Ocaña c124ac5dbe MOBILE-2823 pipes: Completely remove deprecated CoreToLocaleStringPipe 2023-11-17 15:43:04 +01:00
Noel De Martin 6f3ae8feab
Merge pull request #3853 from crazyserver/MOBILE-4467
MOBILE-4467 assign: Filter shown annotated PDF files
2023-11-16 15:33:54 +01:00
Dani Palou b668af193b MOBILE-4460 core: Hide informative links if needed 2023-11-15 16:20:53 +01:00
Dani Palou a0f81719f7 MOBILE-4459 storybook: Create storybook for new sites-list component 2023-11-15 15:17:07 +01:00
Dani Palou 2244864c07 MOBILE-4459 core: Rename login-sites component to login-sites-modal 2023-11-15 15:17:07 +01:00
Dani Palou a9bae5937c MOBILE-4459 core: Create and use core-sites-list component 2023-11-15 15:17:00 +01:00
Dani Palou d27d3ddec3 MOBILE-4459 core: Support demo mode 2023-11-15 10:45:18 +01:00
Noel De Martin 0c670e14c1 MOBILE-4463 core: Deprecate CoreCache for plugins 2023-11-14 13:08:20 +01:00
Noel De Martin 4d4d7ad229 MOBILE-4463 core: Implement cache invalidation 2023-11-14 13:08:17 +01:00
Noel De Martin 19ff74241f MOBILE-4463 core: Improve dev settings 2023-11-14 13:07:54 +01:00
Alfonso Salces 6da2742bd3 MOBILE-4451 settings: Create error log page 2023-11-14 11:46:50 +01:00
Pau Ferrer Ocaña 92f8ac83bd MOBILE-4467 assign: Filter shown annotated PDF files 2023-11-13 16:15:12 +01:00
Alfonso Salces d8baa1d7e7 MOBILE-4362 my-courses-link: Create my courses link handler 2023-11-08 10:14:13 +01:00
Pau Ferrer Ocaña 6a6189ec78 MOBILE-4368 lang: Fix missing lang files on gulp lang override 2023-11-06 11:07:22 +01:00
Pau Ferrer Ocaña 9099655f1e MOBILE-4368 icon: Decode HTML entities that may be included in icon url 2023-10-31 16:21:35 +01:00
Dani Palou 379156bfa7 MOBILE-4368 analytics: Limit cases where setting is displayed
Now the setting will only be displayed if there is an active handler
2023-10-31 14:28:05 +01:00
Dani Palou 93b8ce274c MOBILE-4362 mycourses: Fix category disappear after PTR 2023-10-31 14:28:05 +01:00
Dani Palou b9e9dade0b MOBILE-4362 login: Hide authinstructions when not needed 2023-10-31 14:28:05 +01:00
Dani Palou d59b175314 MOBILE-4362 assign: Fix outcome not selected
This is related to MOBILE-3958, it was fixed in scaled but not in outcomes
2023-10-31 11:42:41 +01:00
Dani Palou 44f8a8e91f MOBILE-4362 signup: Fix buttons margin 2023-10-31 11:42:41 +01:00
Dani Palou 8cda49f720 MOBILE-4362 signup: Display required error in recaptcha 2023-10-31 11:42:41 +01:00
Pau Ferrer Ocaña 935da86caa
Merge pull request #3840 from dpalou/MOBILE-4362
MOBILE-4362 quiz: Fix review not opened after finish offline quiz
2023-10-27 16:35:02 +02:00
Dani Palou d750b91747 MOBILE-4362 quiz: Fix review not opened after finish offline quiz 2023-10-27 10:00:08 +02:00
Dani Palou 93a9d1912e
Merge pull request #3838 from crazyserver/MOBILE-4362
Mobile 4362
2023-10-26 11:39:12 +02:00
Pau Ferrer Ocaña 38f4dcd38b
Merge pull request #3837 from dpalou/MOBILE-4362
Mobile 4362
2023-10-26 11:26:35 +02:00
Pau Ferrer Ocaña 149720459f MOBILE-4362 user: Fix user-initials size on toolbar 2023-10-26 10:23:39 +02:00
Dani Palou e9601aee13 MOBILE-4362 glossary: Fix some pages not prefetched 2023-10-26 10:00:41 +02:00
Dani Palou e958210df0 MOBILE-4362 workshop: Fix dimension number
It displayed 01, 11, 21 instead of 1, 2, 3
2023-10-26 10:00:41 +02:00
Pau Ferrer Ocaña 68d9d6cdd7 MOBILE-4362 icon: Improve icon filter handling 2023-10-25 15:36:17 +02:00
Pau Ferrer Ocaña 993dc19a85 MOBILE-4362 rating: Trim not trimmed versions 2023-10-25 15:02:24 +02:00
Pau Ferrer Ocaña 79300ba408 MOBILE-4362 url: Use isThemeImageUrl function when needed 2023-10-25 14:31:31 +02:00
Pau Ferrer Ocaña bfaadfbb8c MOBILE-4362 modicon: Properly check if icon should be filtered 2023-10-25 14:31:31 +02:00
Alfonso Salces a6903ccb3b MOBILE-4405 sites: Check tool_mobile_autologout instead of site version 2023-10-25 08:52:36 +02:00
Noel De Martin a32f0a70ae
Merge pull request #3835 from dpalou/MOBILE-4362
MOBILE-4362 quiz: Fix wrong renderization of ddwtos in some cases
2023-10-24 08:19:26 +02:00
Dani Palou 132c597e81 MOBILE-4362 quiz: Fix wrong renderization of ddwtos in some cases 2023-10-23 16:33:55 +02:00
Noel De Martin af00e8e3c6 MOBILE-3371 search: Improve course search 2023-10-23 13:02:54 +02:00
Noel De Martin 1edc59f1c0
Merge pull request #3831 from alfonso-salces/MOBILE-4405
MOBILE-4405 sites: Fix sites older than 4.3 autologout
2023-10-23 11:25:44 +02:00
Dani Palou e7c07e01b8
Merge pull request #3832 from crazyserver/MOBILE-4362
Mobile 4362
2023-10-20 15:34:45 +02:00
Pau Ferrer Ocaña e7fd119983
Merge pull request #3833 from dpalou/MOBILE-4362
Mobile 4362
2023-10-20 15:34:29 +02:00
Pau Ferrer Ocaña 98ef26bc28 MOBILE-4362 styles: Fix dark mode styles on popovers 2023-10-20 14:34:49 +02:00
Pau Ferrer Ocaña 3b60b3b517 MOBILE-4362 styles: Fix dark mode styles on activity restrictions 2023-10-20 14:34:49 +02:00
Dani Palou f8fe8aee36 MOBILE-4362 course: Format course name in storage page 2023-10-20 13:26:49 +02:00
Alfonso Salces 7e90f2eb91 MOBILE-4405 sites: Fix sites older than 4.3 autologout 2023-10-20 08:21:22 +02:00
Pau Ferrer Ocaña 58d571d64f MOBILE-4362 lint: Solve deprecation linting 2023-10-19 22:10:31 +02:00
Pau Ferrer Ocaña 18ad252340 MOBILE-4362 lint: Fix some linting 2023-10-19 22:06:58 +02:00
Dani Palou 32055bd8d5
Merge pull request #3827 from crazyserver/MOBILE-4362-2
Mobile 4362 2
2023-10-19 17:48:51 +02:00
Noel De Martin b755823b68
Merge pull request #3830 from dpalou/MOBILE-4362
Mobile 4362
2023-10-19 16:14:11 +02:00
Dani Palou df81617588 MOBILE-4362 siteplugins: Add helper function to update cached data 2023-10-19 16:14:02 +02:00
Pau Ferrer Ocaña 7186e7f1f2
Merge pull request #3828 from NoelDeMartin/MOBILE-4362
MOBILE-4362 core: Improve autoFocus animation
2023-10-19 14:14:49 +02:00
Pau Ferrer Ocaña 6b0cd694c5 MOBILE-4348 label: Support has custom cm list item to match cards border 2023-10-19 14:13:05 +02:00
Pau Ferrer Ocaña ecd7ced223 MOBILE-4362 label: Add round borders on text & media images 2023-10-19 14:10:23 +02:00
Pau Ferrer Ocaña 3f69d2785e MOBILE-4362 folder: Workaround on folder button while MOBILE-4147 2023-10-19 14:10:23 +02:00
Pau Ferrer Ocaña aa96fc45ea MOBILE-4362 bootstrap: Support basic button colors 2023-10-19 14:10:23 +02:00
Pau Ferrer Ocaña 1f7d0277a9 MOBILE-4362 chore: Correctly slot toggles inside ion-item 2023-10-19 14:10:23 +02:00
Pau Ferrer Ocaña 95cd22e76f MOBILE-4362 workshop: Fix phantom offline submissions 2023-10-19 14:10:23 +02:00
Noel De Martin 4e210350e5
Merge pull request #3825 from crazyserver/MOBILE-4362
Mobile 4362
2023-10-19 14:10:12 +02:00
Noel De Martin 81d3ebe065 MOBILE-4362 core: Improve autoFocus animation 2023-10-19 14:01:11 +02:00
Dani Palou 1250779328 MOBILE-4362 auth: Fix redirect to other site in slow devices 2023-10-19 12:53:17 +02:00
Dani Palou b982a96305 MOBILE-4362 bbb: Remove chevron in recording playback in iOS 2023-10-19 12:53:16 +02:00
Pau Ferrer Ocaña 697ddd811c MOBILE-4362 behat: Test scroll when seeing all sections 2023-10-19 12:07:36 +02:00
Pau Ferrer Ocaña 4509044144 MOBILE-4362 theme: Apply transparent popover backdrop only on Android 2023-10-18 16:12:38 +02:00
Pau Ferrer Ocaña 355fd88bb2 MOBILE-4362 icons: Change detected icon aliases 2023-10-18 16:12:38 +02:00
Pau Ferrer Ocaña 702abcdfd1 MOBILE-4362 course: Apply Infinite loading improvements from type list 2023-10-18 16:12:37 +02:00
Pau Ferrer Ocaña 0e31b8214a MOBILE-4362 activity: Infinite loading on list mod type page 2023-10-18 16:12:37 +02:00
Dani Palou 59a8a1c3d9
Merge pull request #3824 from NoelDeMartin/MOBILE-3371
MOBILE-3371 search: Remove top results
2023-10-17 14:27:49 +02:00
Pau Ferrer Ocaña f986937424 MOBILE-4362 activity: Show only description on list mod type page 2023-10-17 13:39:40 +02:00
Dani Palou 70501ce93b
Merge pull request #3822 from NoelDeMartin/MOBILE-4428
MOBILE-4428 quiz: Fix adaptive behaviour
2023-10-17 12:39:15 +02:00
Noel De Martin 37d528c169 MOBILE-3371 search: Remove top results
They've been removed because they are not respecting category filters. In the LMS it's the expected behaviour because they use category tabs instead, but that is not correct in the app.
2023-10-17 11:46:24 +02:00
Noel De Martin 3183737463 MOBILE-4428 quiz: Fix adaptive behaviour 2023-10-17 11:21:22 +02:00
Pau Ferrer Ocaña 14e56e82c5 MOBILE-4362 activitymodules: Fix activity modules block icons 2023-10-16 17:43:14 +02:00
Pau Ferrer Ocaña 7c5586e87a MOBILE-4362 collapsible: Do not collapse headers if inside a tab outlet 2023-10-16 14:11:14 +02:00
Noel De Martin 081172003c
Merge pull request #3819 from alfonso-salces/MOBILE-4362
MOBILE-4362 course-link: Fix section link opening
2023-10-16 12:24:32 +02:00
Noel De Martin c79accb01a
Merge pull request #3820 from dpalou/MOBILE-4362
MOBILE-4069 behat: Fix view events behat failing in some cases
2023-10-16 12:23:59 +02:00
Dani Palou 6866d304e8 MOBILE-4069 behat: Fix view events behat failing in some cases 2023-10-16 11:01:27 +02:00
Alfonso Salces 965779d72c MOBILE-4362 course-link: Fix section link opening 2023-10-16 10:28:39 +02:00
Pau Ferrer Ocaña f8b7b01a7c MOBILE-4362 activity: Fix other purpose mod icon color 2023-10-16 10:07:59 +02:00
Pau Ferrer Ocaña b3f8606afd MOBILE-4362 user: Fix top avatar margin 2023-10-16 10:07:59 +02:00
Pau Ferrer Ocaña fd66b20692 MOBILE-4362 files: Use bigger icons on files 2023-10-11 16:51:50 +02:00
Pau Ferrer Ocaña 6d50a22dd3 MOBILE-4362 workshop: Fix undefined Workshop Grades type 2023-10-11 16:51:50 +02:00
Pau Ferrer Ocaña f97ea19e9e MOBILE-4362 workshop: Remove non-null assertions on index page 2023-10-11 16:51:50 +02:00
Pau Ferrer Ocaña bbc107c1e0 MOBILE-4362 licenses: Add margin top to filter box 2023-10-11 16:51:50 +02:00
Pau Ferrer Ocaña 42f6fc6843
Merge pull request #3817 from dpalou/MOBILE-4362
Mobile 4362
2023-10-11 16:51:41 +02:00
Dani Palou f4030ab5a7 MOBILE-4362 glossary: Fix some entry links not handled properly
If the entry link used the view.php endpoint, the index link handler treated it instead of the entry link handler
2023-10-11 15:06:28 +02:00
Dani Palou 4e98e9f64a MOBILE-4362 comments: Fix delete button displayed when it shouldn't
The show delete button icon now also changes so it's clearer that something happened, otherwise if you cannot delete any of the comments you see it could seem that the button does nothing
2023-10-11 14:38:48 +02:00
Noel De Martin 0052dfc7f1 MOBILE-4362 quiz: Fix Drag&Drop race condition 2023-10-11 13:18:47 +02:00
Noel De Martin 781a4da551 MOBILE-4362 core: Fix isElementVisible helper
Some elements return 0 for clientWidth even if they have a size in the
final rendering, so we'll use getBoundingClientRect which is more
reliable.
2023-10-11 13:18:01 +02:00
Dani Palou 1a44478da1 MOBILE-4362 lesson: Fix retake badges alignment in phone 2023-10-11 08:25:06 +02:00
Noel De Martin aebbe3365c
Merge pull request #3814 from dpalou/MOBILE-4362
Mobile 4362
2023-10-10 18:00:50 +02:00
Dani Palou 5b9d2624a9 MOBILE-4362 h5p: Fix links in iframe not opened in iOS 2023-10-10 16:27:48 +02:00
Pau Ferrer Ocaña 245e7071a9 MOBILE-4407 url: Use Url parsing to determine last file 2023-10-10 15:52:59 +02:00
Dani Palou 23b0b9afc7 MOBILE-4069 behat: Fix SCORM tests in old LMS versions 2023-10-10 15:17:40 +02:00
Noel De Martin 99fc2d01ca Revert "MOBILE-4339 quiz: Add unanswered questions warning"
This reverts commit 3faa55e489.
2023-10-10 12:36:59 +02:00
Dani Palou cc472e58f5 MOBILE-4362 lesson: Display 'Correct response' as badge 2023-10-10 11:18:13 +02:00
Dani Palou b3af76705e MOBILE-4362 lesson: Stop and hide lesson timer when finish lesson 2023-10-09 16:07:34 +02:00
Noel De Martin ee2e7851b6
Merge pull request #3809 from dpalou/MOBILE-4362
Mobile 4362
2023-10-09 15:48:14 +02:00
Dani Palou 63bd215afe
Merge pull request #3811 from crazyserver/MOBILE-4348
Mobile 4348
2023-10-09 15:21:38 +02:00
Pau Ferrer Ocaña 60dad4cc3e MOBILE-4348 resource: Display afterlink on module info box 2023-10-09 14:50:31 +02:00
Pau Ferrer Ocaña 13ddbfc4b9 MOBILE-4348 resource: Fix display options gathering 2023-10-09 14:50:31 +02:00
Dani Palou f9e31e5d38 MOBILE-4069 scorm: Add availability tests 2023-10-09 14:20:13 +02:00
Dani Palou 2db13af8dd MOBILE-4069 scorm: Add appearance, attempts and grading behat tests 2023-10-09 14:20:13 +02:00
Alfonso Salces f2521bd135 MOBILE-4242: revert
This reverts commit e4081e6c1a.
2023-10-09 11:33:48 +02:00
Pau Ferrer Ocaña c01ec44710 MOBILE-4348 module: Gray whole card when item dimmed 2023-10-06 16:06:45 +02:00
Dani Palou ec7a3ea9b4
Merge pull request #3807 from crazyserver/MOBILE-4362
Mobile 4362
2023-10-06 15:29:35 +02:00
Pau Ferrer Ocaña 1e7fe59dab MOBILE-4362 user: Improve user pages look and feel 2023-10-06 14:14:45 +02:00
Pau Ferrer Ocaña 4cee48ff8b MOBILE-4362 user: Fix timezone names 2023-10-06 12:33:42 +02:00
Pau Ferrer Ocaña b39bd13227 MOBILE-4362 styles: Improve some radius 2023-10-06 11:52:49 +02:00
Pau Ferrer Ocaña a12d5ef66f MOBILE-4362 completion: Improve button sizes 2023-10-06 11:52:49 +02:00
Pau Ferrer Ocaña ebd4eec500 MOBILE-4362 styles: Transparent backdrop on popovers 2023-10-06 11:52:49 +02:00
Pau Ferrer Ocaña 0660fb56c0 MOBILE-4362 styles: Do not round borders on fullscreen modals 2023-10-06 11:52:49 +02:00
Noel De Martin 0474d694e7 MOBILE-3371 search: Remove search results count
Given some issues with the LMS webservices (they return inconsistent totalcount depending on the page), we've decided to remove this information from the UI to avoid confusion.
2023-10-05 17:48:12 +02:00
Dani Palou 5e669f1689 MOBILE-4362 core: Set right version for LMS 4.3 release 2023-10-05 17:00:31 +02:00
Dani Palou 77bd638fb1 MOBILE-4362 scorm: Fix grade calculation when using LASTATTEMPT
The app always used the last attempt, but LMS uses the last attempt that has at least 1 SCO with completed or passed status
2023-10-05 17:00:04 +02:00
Noel De Martin 9b04cda897 MOBILE-3371 search: Fix disabled feature 2023-10-05 16:41:37 +02:00
Noel De Martin c070ba5e42 MOBILE-3371 search: Improve styles for long items 2023-10-05 16:41:18 +02:00
Pau Ferrer Ocaña ed284ddae6 MOBILE-4362 settings: Fix text-wrapping on color scheme setting 2023-10-04 12:11:45 +02:00
Noel De Martin 42aa917cf8
Merge pull request #3806 from dpalou/MOBILE-4362
Mobile 4362
2023-10-04 11:38:21 +02:00
Dani Palou 8af557bbc6 MOBILE-4362 wiki: Fix create empty page 2023-10-04 11:21:35 +02:00
Dani Palou b6e914a24e
Merge pull request #3805 from crazyserver/MOBILE-4362
Mobile 4362
2023-10-03 16:10:38 +02:00
Dani Palou 408f767dfe MOBILE-4362 reportbuilder: Fix link to open in browser 2023-10-03 16:05:44 +02:00
Pau Ferrer Ocaña b2a179a70a MOBILE-4362 login: Add do not show again to qr code information 2023-10-03 14:42:21 +02:00
Pau Ferrer Ocaña 610534ef31 MOBILE-4362 login: Update faq qr code image 2023-10-03 14:42:21 +02:00
Pau Ferrer Ocaña 9567280479 MOBILE-4362 lang: Update lang packs and add new language 2023-10-03 14:42:21 +02:00
Dani Palou cb0e54b164 MOBILE-4362 storage: Always display chevron in courses items 2023-10-03 14:40:49 +02:00
Dani Palou fd27ed31ab MOBILE-4362 licenses: Remove chevron from View item 2023-10-03 12:36:17 +02:00
Noel De Martin 53e902ca82 MOBILE-4272 workshop: Rollback async handlers
There is a bug with missing optional methods in async handlers. If their existence is checked before initialization, they always exist but fail on execution. That should be refactored into asynchronous and type-safe code, but we decided to do it in the next version.
2023-10-03 11:54:35 +02:00
Noel De Martin 2ec215e212 MOBILE-4272 core: Improve asyncInstance inference 2023-10-03 11:29:53 +02:00
Dani Palou 056bb289b7
Merge pull request #3799 from crazyserver/MOBILE-4348
Mobile 4348
2023-10-03 08:42:28 +02:00
Pau Ferrer Ocaña f959f94a07 MOBILE-4348 home: Fix sitehome icon sizes 2023-10-02 21:44:46 +02:00
Pau Ferrer Ocaña 178e3eeb45 MOBILE-4348 module: Re-estructure activity card 2023-10-02 21:44:46 +02:00
Pau Ferrer Ocaña 05786e94d3 MOBILE-4348 module: Renew completion 2023-10-02 21:43:34 +02:00
Pau Ferrer Ocaña d790e2a752 MOBILE-4348 mod-icon: Sort Mod icon css variables 2023-10-02 21:43:34 +02:00
Pau Ferrer Ocaña efe2151dce MOBILE-4348 style: Change css radius names 2023-10-02 21:43:34 +02:00
Noel De Martin 73dff1ace4 MOBILE-4362 grades: Fix swipe navigation in tablet 2023-10-02 17:39:18 +02:00
Dani Palou 7667774a2a
Merge pull request #3801 from crazyserver/MOBILE-4362
Mobile 4362
2023-10-02 16:46:16 +02:00
Pau Ferrer Ocaña 604cf7adf0 MOBILE-4362 chore: Remove deprecated code from 3.9.5 or bellow 2023-10-02 15:57:59 +02:00
Dani Palou 31bd7a6955 MOBILE-4362 messages: Update sender name when last message changes
The sender name displayed in group conversations page wasn't updated when a NEW_MESSAGE_EVENT was received. Also, if last message was deleted we still displayed a sender name when there were no messages.
2023-10-02 14:33:15 +02:00
Dani Palou 28235b0553 MOBILE-4362 notes: Update error string to reflect delete action 2023-10-02 11:25:05 +02:00
Dani Palou 54a2e6e14b
Merge pull request #3800 from alfonso-salces/MOBILE-4362
MOBILE-4362 messages: Handle disabled messages error
2023-09-29 09:29:53 +02:00
Alfonso Salces 6f50482a3d MOBILE-4362 messages: Handle disabled messages error 2023-09-29 09:19:07 +02:00