Commit Graph

6685 Commits (df5bbf33bc6498a6679d957b0b1030be24c05445)

Author SHA1 Message Date
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