324 Commits

Author SHA1 Message Date
Dani Palou
8a0b28ef93 MOBILE-4616 core: Set Moodle 4.5 release version 2024-10-09 08:24:23 +02:00
Dani Palou
8d4e4364c0 MOBILE-4641 core: Support custom default home pages 2024-09-17 09:38:51 +02:00
Dani Palou
2c2508607a MOBILE-4359 core: Create and use runAfterLoginNavigation
This function will be used to run code after the login navigation finishes, to avoid collisions when doing extra navigations
2024-09-05 12:24:35 +02:00
Pau Ferrer Ocaña
b4e8d81463 MOBILE-4616 chore: Add Moodle 4.5 release temporal number 2024-08-19 09:14:13 +02:00
Pau Ferrer Ocaña
90ec21333b MOBILE-4616 text: Migrate text utils to text 2024-08-14 15:17:41 +02:00
Pau Ferrer Ocaña
3afa736cf4 MOBILE-4616 loading: Create a service to have loading functions 2024-08-13 16:44:25 +02:00
Dani Palou
7118768fe5 MOBILE-4640 core: Fix revision not removed from pluginfile URLs
This means that every time a file revision changed, the app downloaded it into a new file when it should replace the existing file with the new version.
2024-08-13 14:17:37 +02:00
Dani Palou
2abe483c6d MOBILE-4640 db: Fix bug when updating primary key in memory database
Before this fix, the record was updated but the key was still the old primary key, so the new record wasn't found when using getOneByPrimaryKey.
2024-08-13 14:17:37 +02:00
Albert Gasset
357fda719a MOBILE-4631 login: Hide the login form in the app when is hidden in LMS 2024-08-05 15:36:00 +02:00
Dani Palou
d45fc9c7a7 MOBILE-4612 core: Create and use toBoolean input transform 2024-07-30 11:59:36 +02:00
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