Commit Graph

1860 Commits (ca24c9df9e2e1f041b10be05acb881bb17ce8960)

Author SHA1 Message Date
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 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 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
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 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
Noel De Martin 1e3eed64e2 MOBILE-4524 search: Optimize WS calls 2024-02-28 17:02:39 +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
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
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 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 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 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 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
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
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 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 d269225651 MOBILE-4266 site: Add site theme class to html tags 2024-01-31 12:44:31 +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 b5961ada67 MOBILE-3947 login: Restore logo fallback 2024-01-29 15:13:31 +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 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 27b980d710 MOBILE-3947 form: Add types to FormControl 2024-01-12 15:45:02 +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 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 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
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
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 d912d9d9af MOBILE-3947 behat: Fix RTE behat setField 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 c60519f2a8 MOBILE-3947 course: Open course index in a sheet modal 2023-12-14 10:41:34 +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 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
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 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
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
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
Pau Ferrer Ocaña 4053e2d741 MOBILE-3947 core: Move from ViewEngine to Ivy and fix plugins 2023-11-29 08:21:58 +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 5fd69a5d91 MOBILE-3947 chore: Auto fixes and disabled rules exceptions 2023-11-28 13:38:48 +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 fa7607a0d3 MOBILE-3947 lint: Fix jsdocs 2023-11-27 14:45:31 +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 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 ce36245d83 MOBILE-3947 chore: Move replaceTags to CoreDom 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
Dani Palou 07f661e5ab
Merge pull request #3850 from crazyserver/MOBILE-4465
Mobile 4465
2023-11-20 11:04:33 +01:00
Noel De Martin 3a37758e7c MOBILE-4463 dev: Fix logged out app settings 2023-11-20 10:30:29 +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
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
Alfonso Salces d8baa1d7e7 MOBILE-4362 my-courses-link: Create my courses link handler 2023-11-08 10:14:13 +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 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 149720459f MOBILE-4362 user: Fix user-initials size on toolbar 2023-10-26 10:23:39 +02:00