Commit Graph

356 Commits (main)

Author SHA1 Message Date
Pau Ferrer Ocaña f58e0d4240 MOBILE-3947 gulp: Remove unnecessary task push 2024-01-11 17:50:52 +01:00
Pau Ferrer Ocaña 66fe793425 MOBILE-3947 ionic: Update ionic to 7.6.1 2023-12-14 10:41:34 +01:00
Noel De Martin 4089315755
Merge pull request #3874 from dpalou/MOBILE-3947
MOBILE-3947 push: Stop using @moodlehq/ionic-native-push
2023-11-30 17:36:09 +01:00
Noel De Martin f7d50be5c4 MOBILE-3947 ng: Update polyfills
The check-es-compat patch can be removed if the following PR is resolved: https://github.com/robatwilliams/es-compat/pull/86
2023-11-30 15:02:30 +01:00
Dani Palou 60a2d16dc6 MOBILE-3947 push: Stop using @moodlehq/ionic-native-push
Now we use @awesome-cordova-plugins/push and implement the specific features in a wrapper in the app
2023-11-30 14:56:24 +01:00
Noel De Martin 7325a1dd6d MOBILE-3947 native: Fix zip plugin 2023-11-29 16:50:43 +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
Dani Palou fbc19eed43
Merge pull request #3863 from NoelDeMartin/MOBILE-3947
MOBILE-3947 native: Fix chooser plugin
2023-11-29 09:07:10 +01:00
Noel De Martin c2b86a10b5 MOBILE-3947 native: Fix chooser plugin 2023-11-29 08:58:43 +01:00
Pau Ferrer Ocaña daecc555e2 MOBILE-3947 chore: Remove usage of raw loader 2023-11-28 13:38:48 +01:00
Noel De Martin b0f8f73f85 MOBILE-3947 tests: Fix tests configuration 2023-11-27 17:05:33 +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 e8dd8be967 MOBILE-3947 chore: Change Ionic native imports to awesome cordova 2023-11-24 13:46:58 +01:00
Noel De Martin dbb3db08ae MOBILE-3947 app: Upgrade to Ionic 7 2023-11-23 15:23:43 +01:00
Pau Ferrer Ocaña bd8dd8ed03 MOBILE-3947 config: Increase version to 4.4.0 2023-11-20 14:03:19 +01:00
Pau Ferrer Ocaña 5d33f5cf2b MOBILE-4362 lint: Add deprecation to eslint 2023-10-19 22:06:59 +02:00
Noel De Martin 2b7a18f927 MOBILE-4342 cordova: Update advanced-http plugin 2023-09-26 16:54:41 +02:00
Noel De Martin 55609b5f99 MOBILE-3371 core: Implement dimmed empty box
Also improved storybook set up to test the new feature
2023-09-14 13:24:32 +02:00
Noel De Martin e647e535fa
Merge pull request #3780 from dpalou/MOBILE-3839
Mobile 3839
2023-09-12 14:07:26 +02:00
Dani Palou 5727341aee MOBILE-4331 core: Fix statusbar plugin missing some code 2023-09-12 08:23:49 +02:00
Dani Palou f19b6e330d MOBILE-3839 android: Implement SecureStorage in Android 2023-09-07 13:20:36 +02:00
Pau Ferrer Ocaña 7c97b6aedb MOBILE-4331 app: Fork Statusbar plugin 2023-09-05 14:54:15 +02:00
Pau Ferrer Ocaña db020f18fe MOBILE-4331 app: Change navigation bar color according to the theme 2023-09-05 14:53:03 +02:00
Dani Palou 98e7e267a9 MOBILE-4398 core: Update webview plugin to 5.0.0-moodle.2
This will allow inspecting the WebView in iOS devices (debug builds)
2023-07-31 13:07:16 +02:00
Dani Palou 980363d967 MOBILE-4393 core: Update camera plugin to 6.0.0-moodle.2 2023-07-27 11:14:23 +02:00
Noel De Martin f128379b89 MOBILE-4331 native: Install plugin dependencies 2023-07-10 17:27:17 +02:00
Noel De Martin f202bcbb4a MOBILE-4331 cordova: Implement native plugin 2023-07-05 12:14:05 +02:00
Pau Ferrer Ocaña 56f7c3f7c6 MOBILE-4343 lang: Remove php dependancy on langpacks 2023-06-15 15:42:16 +02:00
Noel De Martin 6ff004e68d MOBILE-4362 android: Fix build 2023-06-13 19:12:10 +02:00
Noel De Martin edbc57927a MOBILE-4362 chore: Unfreeze dependencies 2023-06-12 14:53:14 +02:00
Noel De Martin 6a58284ff1 MOBILE-4362 config: Increase version to 4.3.0 2023-06-12 10:34:35 +02:00
Dani Palou 117b86e734 MOBILE-4214 core: Update push plugin to 4.0.0-moodle.6 2023-06-06 15:30:46 +02:00
Dani Palou 1254d609cc MOBILE-4214 core: Update push plugin to 4.0.0-moodle.5 2023-05-30 10:03:21 +02:00
Dani Palou 9bb2956027 MOBILE-4214 core: Update push plugin to 4.0.0-moodle.4 2023-05-29 08:57:37 +02:00
Dani Palou 7268817b84 MOBILE-4215 cordova: Use fork of cordova-plugin-camera
The official plugin doesn't work in Android with API 33
2023-05-04 16:22:31 +02:00
Alex Morris a0d49dc5e0 MOBILE-4214 pushnotifications: Add public key registration 2023-04-28 10:00:59 +02:00
Dani Palou 7ede4f490e MOBILE-4215 cordova: Remove unneeded splash screen plugin 2023-04-24 11:57:09 +02:00
Dani Palou 3a04f1361b MOBILE-4215 cordova: Update file-opener and sqlite plugins 2023-04-24 11:57:09 +02:00
Dani Palou 3b7b69f58f MOBILE-4215 cordova: Update cordova-android to 11 2023-04-24 11:57:09 +02:00
Dani Palou a89a0565fd MOBILE-4270 config: Increase version to 4.2.0 2023-04-19 11:50:41 +02:00
Noel De Martin 495d395beb MOBILE-2314 core: Remove cordova-plugin-media 2023-02-22 11:40:34 +01:00
Noel De Martin d91f2ed51a MOBILE-2314 fileuploader: Refactor audio recording 2023-02-22 11:40:34 +01:00
Noel De Martin b4435f8070 MOBILE-2314 android: Update dev:android script 2023-02-21 14:03:29 +01:00
Dani Palou 7341ca28c0 MOBILE-4166 npm: Install ogv and video.js 2023-02-09 13:24:02 +01:00
Dani Palou 8a6782495d MOBILE-4239 config: Increase version to 4.1.1 2023-02-08 10:47:03 +01:00
Pau Ferrer Ocaña e75fb3404b MOBILE-4065 chore: Update Ionic minor version to 5.9.4 2023-02-07 15:03:50 +01:00
Dani Palou 38c43984f0 MOBILE-4081 config: Set versions for 4.1.0 release 2022-12-16 10:13:33 +01:00
Pau Ferrer Ocaña cc691f4b93 MOBILE-4081 eslint: Add jsdoc recommendations 2022-12-01 22:46:31 +01:00
Noel De Martin 71a6fddf03 MOBILE-4081 npm: Move prod plugins to dependencies 2022-11-24 10:54:16 +01:00
Dani Palou bc83f62f0b MOBILE-4081 npm: Freeze libraries 2022-11-23 13:28:13 +01:00
Noel De Martin 99c22292a2 MOBILE-4081 npm: Fix audit dependencies 2022-11-23 10:54:12 +01:00
Noel De Martin 11fea266e9 MOBILE-4059 core: Separate error details in alerts 2022-11-07 16:11:24 +01:00
Dani Palou 61e12d32fa
Merge pull request #3421 from NoelDeMartin/MOBILE-4145
MOBILE-4145: Remove REQUEST_INSTALL_PACKAGES permission
2022-11-03 09:40:16 +01:00
Dani Palou a311504956 MOBILE-4090 core: Update local-notifications plugin to .7
This version fixes duplicated Activity when clicking a notification.
2022-10-27 15:16:15 +02:00
Dani Palou cca7852d50 MOBILE-4090 core: Update local-notifications plugin to .6
This version fixes clicks in notifications in Android 12
2022-10-27 15:15:18 +02:00
Dani Palou fc4a0040c5 MOBILE-4118 core: Update local-notifications plugin
This new version includes the permission to schedule alarms
2022-10-27 15:14:11 +02:00
Dani Palou e968e988e8 MOBILE-4123 cordova: Update push plugin to 4.0.0-moodle.2 2022-10-27 15:13:58 +02:00
Dani Palou 9aa70c8c21 MOBILE-4123 cordova: Update local-notifications plugin
This fixes a crash when using local notifications with target 31
2022-10-27 15:12:20 +02:00
Dani Palou 92aa91e591 MOBILE-4123 config: Upgrade Android target SDK to 31 2022-10-27 15:10:33 +02:00
Noel De Martin b96b349cf2 MOBILE-4145 cordova: Replace plugins
This is necessary in order to remove the REQUEST_INSTALL_PACKAGES permission from android manifest
2022-10-26 14:00:38 +02:00
Dani Palou e6b9ad7c24 MOBILE-4143 core: Update MathJax to 2.7.9 2022-10-11 07:29:46 +02:00
Dani Palou e44ba6e000 MOBILE-4081 cordova: Downgrade media plugins
They require cordova-plugin-file v7
2022-10-06 15:44:32 +02:00
Dani Palou dc0ca0d390 MOBILE-4081 cordova: Downgrade cordova-plugin-file to 6.0.2
Using v7 files cannot be downloaded and the files already downloaded aren't rendered
2022-10-06 13:25:00 +02:00
Alfonso Salces 0ddec1c6c3 MOBILE-4081 package.json: Update @moodlehq/cordova-plugin-qrscanner version 2022-09-13 11:21:12 +02:00
Pau Ferrer Ocaña 0b22a69f11
Merge pull request #3375 from alfonso-salces/MOBILE-4081
MOBILE-4081 package.json: Update @moodlehq/cordova-plugin-qrscanner version
2022-09-05 15:08:16 +02:00
Alfonso Salces 3ca13093e1 MOBILE-4081 package.json: Update @moodlehq/cordova-plugin-qrscanner version 2022-09-05 13:10:53 +02:00
Dani Palou 0f6a924d28 MOBILE-4081 cordova: Update cordova plugins 2022-08-05 11:08:31 +02:00
Dani Palou 88a19ea066 MOBILE-4116 moment: Force timezone for moment in behat tests 2022-07-29 14:59:40 +02:00
Noel De Martin 30633664a1 MOBILE-4110 behat: Configure auto-generated plugin 2022-07-06 12:18:51 +02:00
Noel De Martin 31c4852ac0 MOBILE-3321 core: Patch es-compat version checks
Temporary workaround until https://github.com/robatwilliams/es-compat/pull/46 is fixed
2022-06-08 13:28:05 +02:00
Noel De Martin c0f07a0ccf MOBILE-3321 core: Configure storybook 2022-06-08 13:28:05 +02:00
Dani Palou 5b1d4147a6 MOBILE-3833 config: Unlock plugins and libraries for 4.1.0 2022-05-04 08:35:32 +02:00
Dani Palou a40df9cb25 MOBILE-3833 config: Increase version to 4.1.0-dev 2022-05-04 08:35:26 +02:00
Dani Palou 1f055ac837 MOBILE-3833 core: Remove -dev from versions for 4.0 release 2022-04-22 14:37:38 +02:00
Noel De Martin 99cf4735e2 MOBILE-3833 pushnotifications: Update plugin 2022-04-12 11:32:37 +02:00
Dani Palou 4747c3bf20 MOBILE-3833 dependencies: Update moment to 2.29.2 2022-04-12 10:44:20 +02:00
Pau Ferrer Ocaña 676a35f23d MOBILE-3833 screen: Get orientation from cordova plugin 2022-04-07 12:48:51 +02:00
Noel De Martin 2e23df3fb0 MOBILE-3833 security: Update jszip 2022-03-31 14:18:06 +02:00
Noel De Martin a72f2ac43b MOBILE-3833 security: Update @ionic/cli 2022-03-31 13:49:50 +02:00
Dani Palou ca25ad0420 MOBILE-3833 config: Remove unused globalization plugin 2022-03-29 13:22:52 +02:00
Alfonso 460bd0fa97 MOBILE-3833 package.json: fix npm start in windows with cross-env-shell 2022-03-28 14:54:47 +02:00
Noel De Martin 3d010010da MOBILE-3833 core: Update push notifications plugin 2022-03-28 13:42:59 +02:00
Dani Palou af5b72db64 MOBILE-3833 config: Lock plugins and libraries for 4.0.0 2022-03-23 08:22:02 +01:00
Dani Palou 656f315655 MOBILE-3799 cordova: Update Cordova CLI to v11 2022-02-16 13:04:18 +01:00
Dani Palou 9e028a0336 MOBILE-3833 cordova: Update cordova plugins 2022-02-08 07:56:45 +01:00
Dani Palou 3ab38b9b97 MOBILE-3959 android: Remove cordova-android-support-gradle-release 2022-01-17 13:13:39 +01:00
Dani Palou 091cfd1a59 MOBILE-3959 android: Update Cordova Android to 10.1.1 2022-01-17 13:13:39 +01:00
Dani Palou b9747416e5 MOBILE-3949 cordova: Use fork of cordova-plugin-zip 2021-12-14 08:50:37 +01:00
Dani Palou d8d6936183 MOBILE-3833 core: Change version number to 4.0 2021-12-13 11:28:25 +01:00
Pau Ferrer Ocaña ae21dab1f4 MOBILE-3833 npm: Upgrade packages 2021-12-09 17:01:28 +01:00
Dani Palou 87246e40d3 MOBILE-3935 core: Allow changing IAB toolbar colors 2021-11-22 11:22:00 +01:00
Noel De Martin 429aecf3aa MOBILE-3905 course: Swipe between participants 2021-11-11 12:10:51 +01:00
Pau Ferrer Ocaña a4f780b7b8 MOBILE-3103 iframe: Manage orientation on iframes fullscreen 2021-10-07 13:51:08 +02:00
Noel De Martin 54a05239a6 MOBILE-3833 ng: Optimize testing build 2021-10-04 13:28:09 +02:00
Noel De Martin 3db470c0a4 MOBILE-3876 build: Configure bundle minification 2021-09-23 17:20:56 +02:00
Dani Palou 7ea44364e1 MOBILE-3060 local: Support sender image in local notifications 2021-09-23 09:25:08 +02:00
Dani Palou edbfa1139c MOBILE-3060 config: Update push plugin version 2021-09-22 14:45:30 +02:00
Dani Palou 03b139d199 MOBILE-3060 config: Activate AndroidX 2021-09-21 12:19:21 +02:00
Noel De Martin a91e21ea67 MOBILE-3833 DX: Configure `serve:test` script
Added this script in order to go in line with the documentation at https://docs.moodle.org/dev/Acceptance_testing_for_the_Moodle_App
2021-09-13 10:38:36 +02:00
Noel De Martin 2b2f4b2517 MOBILE-3833 DX: Configure default browser
As documented in https://docs.moodle.org/dev/Using_the_Moodle_App_in_a_browser#Configuring_the_default_browser
2021-09-02 11:59:02 +02:00