Commit Graph

314 Commits (ccdd924b0a827777b95f7e9b80a70295d7fcd16b)

Author SHA1 Message Date
Pau Ferrer Ocaña 3f9ea653f9 MOBILE-4616 chore: Move modals functions to CoreModalsService 2024-07-29 15:04:57 +02:00
Pau Ferrer Ocaña d6007c2aae MOBILE-4616 chore: Create CoreToastsService to add toasts functions 2024-07-29 11:46:23 +02:00
Pau Ferrer Ocaña 1186694c5f MOBILE-4616 url: Migrate all CoreUrlUtils to CoreUrl static singleton 2024-07-25 15:26:53 +02:00
Pau Ferrer Ocaña 7d9c9b6fe9 MOBILE-4616 chore: Create CoreWait to add waiting functions 2024-07-25 10:46:28 +02:00
Pau Ferrer Ocaña caa100979a MOBILE-4616 chore: Import modals during runtime 2024-07-25 10:46:28 +02:00
Pau Ferrer Ocaña 2e1626dcfb MOBILE-4594 chore: Remove deprecated code on 4.1 and 4.0 2024-07-17 16:55:22 +02:00
Dani Palou 0b9cab2aeb MOBILE-4604 iab: Clear session when open IAB with auto-login in Android 2024-06-05 11:57:06 +02:00
Noel De Martin 89597dad72 MOBILE-4470 storagemanager: Fix removing courses
Fixes a regression caused by 91c56256ed
2024-05-28 08:44:29 +02:00
Noel De Martin 77d3ac9d43 MOBILE-4470 angular: Fix snapshot types
Route snapshots are typed as non-optional, but we found a situation where it was undefined. Looking at the Angular source code, it seems like indeed snapshots can be undefined but they have been declared with a definite assignment assertion: https://github.com/angular/angular/blob/17.3.0/packages/router/src/router_state.ts#L231
2024-05-14 13:33:34 +02:00
Pau Ferrer Ocaña e779c7a7f2 MOBILE-4470 modals: Fix refresh button modal pointer events 2024-05-10 14:36:28 +02:00
Pau Ferrer Ocaña d0e0ef86b6 MOBILE-4470 swiper: Improve how params are populated to fix Swiper bug 2024-05-09 11:22:48 +02:00
Pau Ferrer Ocaña 823b088f48 MOBILE-4470 chore: Fix Moodle 4.4 release number 2024-05-02 14:54:24 +02:00
Pau Ferrer Ocaña 3fed4943d9 MOBILE-4543 siteplugins: Import libraries once 2024-04-04 12:12:08 +02:00
Pau Ferrer Ocaña 0d56f802f2 MOBILE-4543 chore: Remove unnecessary variable type change on hash 2024-04-04 12:12:07 +02:00
Noel De Martin eb0738cb0f MOBILE-4268 core: Require details with error code 2024-03-18 16:10:40 +01:00
Dani Palou 85e6446f4b MOBILE-2768 policy: Support accepting all types of policies 2024-03-18 08:28:48 +01:00
Dani Palou 380bd72087 MOBILE-2768 site: Add missing fields in site info type 2024-03-18 08:28:48 +01:00
Dani Palou 521dc9eb6d MOBILE-2768 policy: Move site policy code to new feature 2024-03-18 08:28:47 +01:00
Pau Ferrer Ocaña 21b43d56df MOBILE-4538 delegates: Add handlers promise enabled info and remove code 2024-03-11 11:57:42 +01:00
Pau Ferrer Ocaña a6a31f8e79 MOBILE-3947 blocks: Check blocks are enabled on blocks delegates 2024-03-06 16:15:52 +01:00
Pau Ferrer Ocaña 3cc03713ae MOBILE-4498 tags: Use advanced features to check if tags are enabled 2024-03-04 13:13:08 +01:00
Pau Ferrer Ocaña c3c414a1da MOBILE-4456 course: Adapt purpose of the icons to new version 2024-02-29 15:56:24 +01:00
Noel De Martin d94402637e MOBILE-4304 core: Implement SubPartial helper 2024-02-14 09:06:20 +01:00
Noel De Martin a7bd1e5f89 MOBILE-4304 core: Replace WebSQL with sqlite-wasm 2024-02-14 09:06:19 +01:00
Noel De Martin 26bf15496d MOBILE-4304 core: Remove getInOrEqual database helper 2024-02-14 09:06:19 +01:00
Noel De Martin ef88336a2d MOBILE-4304 h5p: Update database usage 2024-02-14 09:06:19 +01:00
Noel De Martin 4d4a506fe1 MOBILE-4304 reminders: Update database usage 2024-02-14 09:06:19 +01:00
Noel De Martin 869f08eee7 MOBILE-4304 core: Return database records rowId 2024-02-14 09:06:19 +01:00
Noel De Martin b6f32dfddd MOBILE-4304 scorm: Update database usage 2024-02-14 09:06:19 +01:00
Pau Ferrer Ocaña 03e9bcb736 MOBILE-4243 course: Add communication room button to course page 2024-02-01 09:46:34 +01:00
Dani Palou 327fe019a4 MOBILE-4173 iframe: Launch PDF and some iframes in external app 2024-01-29 15:06:54 +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
Pau Ferrer Ocaña ec87e0c877 MOBILE-3947 chore: Remove unneeded HammerJS config override 2023-11-30 11:00:31 +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
Pau Ferrer Ocaña 2e834ef00a MOBILE-3947 chore: Update moodleTransitionAnimation 2023-11-28 15:41:58 +01:00
Noel De Martin 4286234e6b MOBILE-3947 chore: Fix TS errors 2023-11-27 15:58:38 +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 8e65abcd48 MOBILE-3947 styles: Fix new Ionic shadow DOM styles 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 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
Dani Palou 3b99950df6 MOBILE-4469 site: Rename candidate site to authenticated site 2023-11-22 10:48:18 +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 9e9052db85 MOBILE-3947 chore: Fix some non valid types 2023-11-20 11:33:26 +01:00