Commit Graph

6725 Commits (4677ce5c3f6937d4d4ae064e4fdab3780f2c3e93)

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