127 Commits

Author SHA1 Message Date
Dani Palou
41e4292c48 MOBILE-4526 core: Use ContextLevel enum instead of string 2024-03-13 07:53:53 +01:00
Dani Palou
5936cdab85
Merge pull request #3945 from NoelDeMartin/MOBILE-4527
MOBILE-4527 compile: Fix JIT modules
2024-03-05 09:06:37 +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
Pau Ferrer Ocaña
cc2f238d68 MOBILE-4329 user: Rename user profile handler types 2024-02-27 12:55:12 +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
Dani Palou
fec29ecca1 MOBILE-4479 siteplugins: Only add default module-info if needed 2023-12-04 09:14:20 +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
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
9dab24fef5 MOBIE-3947 lint: Fix self closing tags 2023-11-27 14:45:50 +01:00
Dani Palou
3b99950df6 MOBILE-4469 site: Rename candidate site to authenticated site 2023-11-22 10:48:18 +01:00
Dani Palou
a724a946d2 MOBILE-4469 core: Create new CoreCandidateSite class 2023-11-22 08:17:12 +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
feb8a78ecc MOBILE-3947 chore: Change IonRefresher type to HTMLIonRefresherElement 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
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
e7fd119983
Merge pull request #3833 from dpalou/MOBILE-4362
Mobile 4362
2023-10-20 15:34:29 +02:00
Pau Ferrer Ocaña
58d571d64f MOBILE-4362 lint: Solve deprecation linting 2023-10-19 22:10:31 +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
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
604cf7adf0 MOBILE-4362 chore: Remove deprecated code from 3.9.5 or bellow 2023-10-02 15:57:59 +02:00
Noel De Martin
0d6eb5cb23 MOBILE-4272 workshop: Decouple services 2023-08-28 16:31:28 +02:00
Dani Palou
77d4f53d2f MOBILE-4323 enrol: Check all methods in courseUsesGuestAccessInfo 2023-08-23 16:15:47 +02:00
Pau Ferrer Ocaña
c20df40bdc MOBILE-4323 enrol: Support enrolment action on siteplugins
Co-authored: dpalou
2023-08-23 16:05:28 +02:00
Noel De Martin
8bffcaca94 MOBILE-4390 lang: Format LMS lang
For child parents, such as pt-br, the app format and LMS format are different (in the LMS it would be pt_br). So application lang should be formatted before being sent to webservices and other contexts.
2023-07-25 10:42:08 +09:00
Pau Ferrer Ocaña
902288dd0f MOBILE-4279 fonts: Update Font-awesome names to 6.3 2023-03-21 12:07:06 +01:00
Noel De Martin
98d332138a MOBILE-4270 core: Standardize page modules 2023-03-16 11:02:11 +01:00
Pau Ferrer Ocaña
c22424c93e MOBILE-4270 chore: Solve lots of linter warnings 2023-03-14 15:50:42 +01:00
Dani Palou
2258c1183b MOBILE-4166 core: Move some CoreApp functions to CorePlatform 2023-02-09 13:34:29 +01:00
Alfonso Salces
32716ee88a MOBILE-4238 Siteplugins: Filter text for collapsible title 2023-01-23 11:20:38 +01:00
Pau Ferrer Ocaña
dd4c9a1ed0 MOBILE-4081 eslint: Solve jsdoc linter warnings 2022-12-01 23:05:46 +01:00
Pau Ferrer Ocaña
8dde80aa08 MOBILE-4081 chore: Remove deprecated concatenatePaths usage 2022-11-29 10:23:36 +01:00
Noel De Martin
dabd4e8046 MOBILE-4059 core: Improve errors mentioning admins 2022-11-07 16:11:25 +01:00
Dani Palou
848932d527 MOBILE-4098 siteplugins: Restore style URLs behaviour 2022-10-27 15:06:46 +02:00
Noel De Martin
06a2b23adb MOBILE-4163 siteplugins: Fix lifecycle overrides 2022-10-24 14:17:24 +02:00
Dani Palou
8d0412fa68 MOBILE-4081 core: Remove most .bind() usage 2022-10-05 16:02:09 +02:00
Noel De Martin
9799ceeba6
Merge pull request #3339 from dpalou/MOBILE-4086
Mobile 4086
2022-07-07 16:09:00 +02:00
Noel De Martin
70e11f9ea4 MOBILE-4038 timeline: Refactor using OnPush 2022-07-06 11:08:38 +02:00
Dani Palou
dd3f73b819 MOBILE-4086 core: Add missing cacheKey to some WS calls 2022-07-06 07:35:17 +02:00
Noel De Martin
8dd0ef41a1 MOBILE-4038 icon: Revert getModuleIconSrc to sync
Reverted from 1c0a86d045
2022-06-23 12:29:54 +02:00
Noel De Martin
86355bce01 MOBILE-3942 core: Improve dynamic component calls 2022-06-22 16:06:32 +02:00
Noel De Martin
a0a138f686 MOBILE-3321 core: Decouple isMobile from App 2022-06-08 13:17:14 +02:00
Noel De Martin
6356623664 MOBILE-3988 core: Remove duplicated promise helper 2022-05-31 10:33:54 +02:00
Pau Ferrer Ocaña
a94da4d804 MOBILE-4061 behat: Generate custom URL to quickly bypass steps on app 2022-05-12 17:17:30 +02:00
Pau Ferrer Ocaña
f48885b822 MOBILE-4061 behat: Adapt tests to 3.9-4.0 LMS versions 2022-05-12 15:38:29 +02:00
Pau Ferrer Ocaña
eb0303d301 MOBILE-4061 behat: Merge import behat files from local-moodlemobileapp 2022-05-12 09:33:01 +02:00
Dani Palou
5445d24a57 MOBILE-3833 siteplugins: Use theme icon if present for modules 2022-04-20 09:24:13 +02:00
Pau Ferrer Ocaña
6af2141284 MOBILE-3833 siteplugins: Use new icon function 2022-04-08 16:25:46 +02:00