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
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