Commit Graph

6926 Commits (b26ed5a25e6679f2ea6e620551e07219c5a9ee0e)

Author SHA1 Message Date
Dani Palou 70994ca4f5 MOBILE-4551 sync: Display toast when site sync is successful 2024-03-25 12:54:00 +01:00
Dani Palou 99dcbd9590 MOBILE-4522 forum: Only trigger MARK_READ_EVENT if forum has tracking 2024-03-25 08:20:00 +01:00
Dani Palou f6ec43097a MOBILE-4491 behat: Fix before_scenario not running for some tests 2024-03-22 09:11:12 +01:00
Dani Palou 5215ff91e5 MOBILE-2768 policy: Display Inactive badge in certain policies 2024-03-21 09:16:46 +01:00
Dani Palou 4843fdc619
Merge pull request #3986 from crazyserver/MOBILE-4458
Mobile 4458
2024-03-21 08:04:31 +01:00
Pau Ferrer Ocaña 319c6d8115 MOBILE-4458 design: Fix focus on error accordion 2024-03-20 16:26:51 +01:00
Pau Ferrer Ocaña fa1ed71fb6 MOBILE-4458 notifications: Fix notifications list user menu button size 2024-03-20 16:26:51 +01:00
Pau Ferrer Ocaña 2f9256725f MOBILE-4458 design: Move css from light/dark to DS and components 2024-03-20 16:26:51 +01:00
Dani Palou 8dfd363d6f
Merge pull request #3956 from alfonso-salces/MOBILE-4219
MOBILE-4219 blog: Add and edit blog entries
2024-03-20 16:13:10 +01:00
Alfonso Salces 5d7c520de4 MOBILE-4219 blog: Create acceptance testing 2024-03-20 15:30:31 +01:00
Alfonso Salces ed8223d761 MOBILE-4219 blog: Add some ws to create and edit blog entries 2024-03-20 15:30:31 +01:00
Alfonso Salces 9d282a8f02 MOBILE-4219 blog: Allow edition and redesign blog entries 2024-03-20 15:30:25 +01:00
Pau Ferrer Ocaña 59280ca81c MOBILE-4458 design: Apply typography 2024-03-20 15:25:11 +01:00
Dani Palou 5d96c5a339 MOBILE-2768 policy: Fix table width 2024-03-20 09:37:37 +01:00
Dani Palou 03df67b739 MOBILE-4531 policy: Check if dataprivacy feature is disabled 2024-03-20 09:28:32 +01:00
Noel De Martin dcf9439eb7 MOBILE-4268 core: Refactor error accordion into service 2024-03-19 10:57:46 +01:00
Noel De Martin 6b461b035e MOBILE-4268 core: Update error accordion UI 2024-03-19 10:13:07 +01:00
Noel De Martin e1be8caace MOBILE-4268 core: Rename core-error-accordion 2024-03-18 16:10:40 +01:00
Noel De Martin eb0738cb0f MOBILE-4268 core: Require details with error code 2024-03-18 16:10:40 +01:00
Noel De Martin 6ce688e76c MOBILE-4270 core: Report login errors 2024-03-18 16:10:40 +01:00
Noel De Martin 92f65b38ad MOBILE-4268 core: Remove storybook 2024-03-18 16:10:40 +01:00
Pau Ferrer Ocaña d41fab4b89
Merge pull request #3981 from dpalou/MOBILE-2768
Mobile 2768
2024-03-18 13:22:01 +01:00
Dani Palou 62a04239cb MOBILE-2768 policy: Decouple policy service from initial bundle 2024-03-18 09:41:55 +01:00
Dani Palou b33b8b07fc MOBILE-2768 policy: Support viewing agreements 2024-03-18 09:41:55 +01:00
Dani Palou 704840ccf2
Merge pull request #3976 from crazyserver/MOBILE-4544
Mobile 4544
2024-03-18 08:36:46 +01:00
Dani Palou 85e6446f4b MOBILE-2768 policy: Support accepting all types of policies 2024-03-18 08:28:48 +01:00
Dani Palou c7262f715e MOBILE-2768 policy: Adapt the UI of accept policy page 2024-03-18 08:28:48 +01:00
Dani Palou d7ce967746 MOBILE-2768 policy: Implement new WebService calls 2024-03-18 08:28:48 +01:00
Dani Palou 380bd72087 MOBILE-2768 site: Add missing fields in site info type 2024-03-18 08:28:48 +01:00
Dani Palou 9b8414e8b4 MOBILE-2768 mimetype: Improve mimetype detection for PHP URLs 2024-03-18 08:28:48 +01:00
Dani Palou 521dc9eb6d MOBILE-2768 policy: Move site policy code to new feature 2024-03-18 08:28:47 +01:00
Alfonso Salces e6ce19a91a
Merge pull request #3979 from crazyserver/MOBILE-4456
MOBILE-4456 icons: Do not apply colors if svg has styles
2024-03-15 12:33:25 +01:00
Pau Ferrer Ocaña 1a90d4c83e
Merge pull request #3974 from alfonso-salces/MOBILE-3947
MOBILE-3947 course-list-item: Allow hide progress bar
2024-03-15 12:06:19 +01:00
Pau Ferrer Ocaña a94b58af6e MOBILE-4456 icons: Do not apply colors if svg has styles 2024-03-15 11:58:27 +01:00
Pau Ferrer Ocaña 61de79c493
Merge pull request #3978 from dpalou/MOBILE-3622
MOBILE-3622 h5p: Apply styles defined in h5pcustomcss
2024-03-15 11:17:42 +01:00
Pau Ferrer Ocaña f16ee024aa MOBILE-4544 timer: Add timerHiddenPreferenceName to set visibility pref 2024-03-15 10:55:42 +01:00
Pau Ferrer Ocaña 1e1210e9e3 MOBILE-4544 styles: Fix modal sheet handle color 2024-03-15 10:51:52 +01:00
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