190 Commits

Author SHA1 Message Date
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
Dani Palou
30cac7d056 MOBILE-3947 core: Stop using deprecated guard interfaces 2023-11-29 11:43:31 +01:00
Pau Ferrer Ocaña
9dab24fef5 MOBIE-3947 lint: Fix self closing tags 2023-11-27 14:45:50 +01:00
Noel De Martin
93dad58ebe MOBILE-3947 app: Fix linting errors 2023-11-23 15:25:36 +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
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
9be60c9e83 MOBILE-3947 chore: Fix eqeqeq on HTML 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
Dani Palou
b668af193b MOBILE-4460 core: Hide informative links if needed 2023-11-15 16:20:53 +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
d27d3ddec3 MOBILE-4459 core: Support demo mode 2023-11-15 10:45:18 +01: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
1250779328 MOBILE-4362 auth: Fix redirect to other site in slow devices 2023-10-19 12:53:17 +02:00
Noel De Martin
b2b0262c5b MOBIL-3371 sites: Extract visitLink method 2023-09-14 13:24:57 +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
Dani Palou
874f47ebad
Merge pull request #3560 from alfonso-salces/MOBILE-4245
[4.2] Mobile 4245 - Add new config.json setting to allow to specify staging sites for testing purposes
2023-03-27 08:10:25 +02:00
Pau Ferrer Ocaña
902288dd0f MOBILE-4279 fonts: Update Font-awesome names to 6.3 2023-03-21 12:07:06 +01:00
Alfonso Salces
7a78bb9375 MOBILE-4245 Site: Remove load staging sites from site page 2023-03-21 10:15:59 +01:00
Noel De Martin
98d332138a MOBILE-4270 core: Standardize page modules 2023-03-16 11:02:11 +01:00
Pau Ferrer Ocaña
a6de01f5ae MOBILE-4065 a11y: Fix lots of headings 2023-02-16 16:05:56 +01:00
Noel De Martin
c08d638026 MOBILE-4065 a11y: Hide pages under user tours
Following the same strategy as Ionic's built-in overlays 1b30fc97d3/core/src/utils/overlays.ts (L388..L401)
2023-02-14 09:21:39 +01:00
Dani Palou
2258c1183b MOBILE-4166 core: Move some CoreApp functions to CorePlatform 2023-02-09 13:34:29 +01:00
Pau Ferrer Ocaña
7fac6895d9 MOBILE-4065 directive: Improve ariaButtonClick directive 2023-02-07 15:03:50 +01:00
Dani Palou
797b2a3690 MOBILE-4081 mainmenu: Don't change tab on resize 2022-12-05 10:43:07 +01:00
Pau Ferrer Ocaña
dd4c9a1ed0 MOBILE-4081 eslint: Solve jsdoc linter warnings 2022-12-01 23:05:46 +01:00
Dani Palou
17d21a53b6 MOBILE-4065 a11y: Fix pointer cancellation in tabs 2022-11-21 11:19:22 +01:00
Noel De Martin
c4952133f1 MOBILE-4059 core: Encapsulate support config 2022-11-07 16:11:25 +01:00
Noel De Martin
4eb01a063c MOBILE-4059 mainmenu: Add link to contact support 2022-11-07 16:11:24 +01:00
Dani Palou
c6437a5396 MOBILE-4168 core: Send to reconnect page in auth guard 2022-10-28 15:11:27 +02:00
Dani Palou
8d0412fa68 MOBILE-4081 core: Remove most .bind() usage 2022-10-05 16:02:09 +02:00
Alfonso Salces
a96df9aaaf MOBILE-4081 singletons: Add event for when main home loads 2022-10-03 14:31:23 +02:00
Noel De Martin
a4c5cc5f6c MOBILE-4025 mainmenu: Comment out flaky test 2022-08-04 17:03:52 +02:00
Noel De Martin
4f394fb407 MOBILE-4025 mainmenu: Navigate when tab disappears 2022-08-04 16:11:58 +02:00
Dani Palou
1e57678314
Merge pull request #3296 from NoelDeMartin/MOBILE-4069-grade
MOBILE-4069 grades: Implement navigation tests
2022-07-14 09:49:35 +02:00
Pau Ferrer Ocaña
bf78ca0e8f MOBILE-4047 user: Get user basic info from siteInfo as fallback 2022-07-12 16:01:51 +02:00
Noel De Martin
618c89b9d0 MOBILE-4069 user: Fix tablet user menu button 2022-07-12 10:31:13 +02:00
Dani Palou
290b78c8ab MOBILE-4108 core: Don't call autologin WS for external URLs 2022-07-05 11:59:43 +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
b6e08cc41d MOBILE-3833 tours: Fix some tours not appearing in iOS 2022-04-21 14:20:14 +02:00
Noel De Martin
0708081868
Merge pull request #3247 from dpalou/MOBILE-3833
Mobile 3833
2022-04-12 11:05:15 +02:00
Dani Palou
56a9a432b8 MOBILE-3833 mainmenu: Add log when select first tab 2022-04-12 10:44:21 +02:00
Dani Palou
0413aa87bf MOBILE-3833 settings: Don't reload whole app when change language 2022-04-12 10:41:39 +02:00
Dani Palou
c93d6bccd3
Merge pull request #3241 from NoelDeMartin/MOBILE-3833
MOBILE-3833: Tweaks
2022-04-11 10:31:34 +02:00
Noel De Martin
3ad99b7d3d MOBILE-3833 usertours: Watch main menu visibility 2022-04-11 09:32:25 +02:00
Dani Palou
8c41be3520 MOBILE-3833 core: Block logout when a form is active 2022-04-08 08:06:26 +02:00
Dani Palou
7a718a727c MOBILE-3833 core: Fix open module in course 2022-04-07 14:28:42 +02:00