71 Commits

Author SHA1 Message Date
Pau Ferrer Ocaña
96f3be2ff1 MOBILE-4653 utils: Move object and array related utils functions 2024-11-18 14:24:18 +01:00
Pau Ferrer Ocaña
e72fea3630 MOBILE-4653 utils: Move opener related utils functions 2024-11-18 14:24:18 +01:00
Pau Ferrer Ocaña
7ea188af49 MOBILE-4653 utils: Move promise related utils functions 2024-11-18 14:24:17 +01:00
Pau Ferrer Ocaña
bc35290e15 MOBILE-4653 app: Divide CoreApp in many services 2024-11-18 14:17:51 +01:00
Pau Ferrer Ocaña
b0c494ee51 MOBILE-4616 chore: Move html mode classes to CoreHTMLClasses 2024-08-14 15:17:41 +02:00
Pau Ferrer Ocaña
323ccc8c76 MOBILE-4616 chore: Isolate convertHTMLToHTMLElement 2024-08-14 15:17:41 +02:00
Pau Ferrer Ocaña
90ec21333b MOBILE-4616 text: Migrate text utils to text 2024-08-14 15:17:41 +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
9a1cd83207 MOBILE-4640 filepool: Remove unused fillExtensionInFile 2024-08-13 14:17:37 +02:00
Dani Palou
720b48644b MOBILE-4640 filepool: Avoid re-downloading files when it isn't needed 2024-08-13 14:17:37 +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
Alfonso Salces
fd9577cfbf MOBILE-4630 pluginfile: Add lang to file download request 2024-07-23 09:22:05 +02:00
Dani Palou
ac920dc299 MOBILE-4604 core: Download embedded files before login in Android 2024-06-05 10:00:05 +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
Dani Palou
8b2b130e14 MOBILE-4470 core: Make DownloadStatus types match const names 2024-04-02 14:36:02 +02:00
Dani Palou
98e7ba17c9 MOBILE-3622 h5p: Apply styles defined in h5pcustomcss 2024-03-14 17:28:33 +01:00
Dani Palou
9b9b569703 MOBILE-4539 core: Create and use new DownloadStatus types 2024-03-11 11:28:07 +01:00
Noel De Martin
26bf15496d MOBILE-4304 core: Remove getInOrEqual database helper 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
38d0ad1aad MOBILE-4304 core: Remove redundant generics 2024-02-14 09:06:19 +01:00
Dani Palou
bcbd31535c MOBILE-4492 file: Avoid problems with toURL in Android 2024-01-31 15:08:17 +01: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
Dani Palou
791da4500b MOBILE-4368 analytics: Support download file events 2023-07-13 13:53:40 +02:00
Dani Palou
1f3d72cfbb MOBILE-4270 messages: Decrease chances of offline messages duplicated
This is because Android seems to duplicate the request if the type of connection changes while the request is done. E.g. when leaving flight mode the device could connect to mobile data first and then to WiFi.
2023-05-09 16:32:19 +02:00
Noel De Martin
250c6c1db8 MOBILE-4239 core: Remove cannotconnect version 2023-01-23 16:39:58 +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
e1035e9a4b MOBILE-4059 core: Update cannot connect messages 2022-11-08 16:16:52 +01:00
Noel De Martin
95e0640eb2 MOBILE-4059 core: Translate hardcoded errors 2022-11-07 16:11:24 +01:00
Noel De Martin
c24d518594 MOBILE-4145 core: Handle opening apk files
Co-authored-by: Dani Palou <dani@moodle.com>
2022-11-02 13:41:28 +01:00
Pau Ferrer Ocaña
68a4a4e75f MOBILE-4081 chore: Fixtures on types and async functions 2022-08-31 16:37:12 +02:00
Pau Ferrer Ocaña
82033e05d0 MOBILE-4061 core: Handle network changes on the network service 2022-06-14 12:17:05 +02:00
Noel De Martin
73ee4df1ec MOBILE-3321 core: Decouple Network from App 2022-06-08 13:28:05 +02:00
Noel De Martin
6356623664 MOBILE-3988 core: Remove duplicated promise helper 2022-05-31 10:33:54 +02:00
Dani Palou
265a170b13 MOBILE-3833 core: Treat relative URLs inside CSS files 2022-03-18 16:03:23 +01:00
Dani Palou
39e74f57c2 MOBILE-3833 filepool: Fix dislay downloaded background images 2022-03-10 11:13:42 +01:00
Dani Palou
8c960d4739 MOBILE-3833 core: Fix download file spinner shown forever 2022-02-24 17:04:34 +01:00
Noel De Martin
d80ba6698b MOBILE-3821 core: Fix databases clean up 2022-02-21 12:33:39 +01:00
Dani Palou
06797b9b31 MOBILE-3799 filepool: Fix regression when checking outdated files 2022-02-17 10:29:01 +01:00
Dani Palou
51b2174ef2 MOBILE-3799 filepool: Fix files considered outdated when they aren't 2022-02-16 14:30:27 +01:00
Noel De Martin
a626930e72 MOBILE-3981 core: Optimize filepool tables 2022-02-14 14:18:58 +01:00
Dani Palou
858cf07f73
Merge pull request #3091 from NoelDeMartin/MOBILE-3977
MOBILE-3977: Database optimization strategies
2022-02-08 11:06:47 +01:00
Noel De Martin
b8dbc9aa5b MOBILE-3977 core: Rename database table getters 2022-02-07 17:51:40 +01:00
Noel De Martin
359d7ab5a5 MOBILE-3977 core: Reuse databases initialization 2022-02-07 17:51:40 +01:00
Noel De Martin
7c834281ce MOBILE-3977 filepool: Optimize files table 2022-02-07 13:46:54 +01:00
Dani Palou
947534a6b7 MOBILE-3833 core: Fix infinite requests if file download failed 2022-02-04 10:51:36 +01:00
Pau Ferrer Ocaña
46dada14cb MOBILE-3814 chore: Remove deprecated String.substr calls 2022-01-19 14:52:52 +01:00
Dani Palou
e91e5d1cce MOBILE-3897 link: Wait for download to finish before open file 2021-12-23 12:27:57 +01:00
Dani Palou
43ce384da8 MOBILE-3897 external-content: Update URL when state changes 2021-12-23 10:30:34 +01:00
Pau Ferrer Ocaña
7d7f738d05 MOBILE-3833 chore: Reduce typeof undefined usage 2021-12-20 15:31:24 +01:00