Commit Graph

6652 Commits (0c7e7c92097e86b84a50d1b6dbb711fe5d4d2b80)

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