Commit Graph

3247 Commits (16e137bf5742eb12c39360603b28d14b9aaefa0b)

Author SHA1 Message Date
Noel De Martin e1035e9a4b MOBILE-4059 core: Update cannot connect messages 2022-11-08 16:16:52 +01:00
Noel De Martin c4952133f1 MOBILE-4059 core: Encapsulate support config 2022-11-07 16:11:25 +01:00
Noel De Martin b933c92f69 MOBILE-4059 core: Set login WS errors to critical 2022-11-07 16:11:25 +01:00
Noel De Martin 5aad0b14e2 MOBILE-4059 login: Avoid infinite loop error 2022-11-07 16:11:25 +01:00
Noel De Martin dabd4e8046 MOBILE-4059 core: Improve errors mentioning admins 2022-11-07 16:11:25 +01:00
Noel De Martin dca3f76296 MOBILE-4059 core: Contact support from ajax errors 2022-11-07 16:11:25 +01:00
Noel De Martin c34db4dcaf MOBILE-4059 core: Contact support from errors 2022-11-07 16:11:25 +01:00
Noel De Martin 23341a7436 MOBILE-4059 core: Refactor site errors hierarchy 2022-11-07 16:11:25 +01:00
Noel De Martin 734f1c6323 MOBILE-4059 login: Add help button in header 2022-11-07 16:11:25 +01:00
Noel De Martin d0f28162da MOBILE-4059 core: Contact support from help 2022-11-07 16:11:25 +01:00
Noel De Martin d859af122e MOBILE-4059 login: Improve forgotten password
Suggest contacting support if password was already reset recently
2022-11-07 16:11:24 +01:00
Noel De Martin 28fd894aab MOBILE-4059 login: Contact support in credentials
When login attempts failed multiple times, suggest contacting site support
2022-11-07 16:11:24 +01:00
Noel De Martin 0545d3a8c8 MOBILE-4059 testing: Improve mockSingleton types 2022-11-07 16:11:24 +01:00
Noel De Martin 4ca9a4ad7b MOBILE-4059 core: Extract inappbrowser initializer 2022-11-07 16:11:24 +01:00
Noel De Martin 1005aad1c1 MOBILE-4059 core: Improve Translate.instant types 2022-11-07 16:11:24 +01:00
Noel De Martin 9f26620e03 MOBILE-4059 core: Improve CoreObject types
Type helper extracted from https://stackoverflow.com/questions/57571664/typescript-type-for-an-object-with-only-one-key-no-union-type-allowed-as-a-key/57576688#57576688
2022-11-07 16:11:24 +01:00
Noel De Martin 608ea978a0 MOBILE-4059 core: Fix timeout types 2022-11-07 16:11:24 +01:00
Noel De Martin 11fea266e9 MOBILE-4059 core: Separate error details in alerts 2022-11-07 16:11:24 +01:00
Noel De Martin 238dc458fc MOBILE-4059 login: Add error details for support 2022-11-07 16:11:24 +01:00
Noel De Martin 1a7d64a0d4 MOBILE-4059 login: Contact support from errors
Allow users to contact site support in errors where the site is not configured properly
2022-11-07 16:11:24 +01:00
Noel De Martin 4eb01a063c MOBILE-4059 mainmenu: Add link to contact support 2022-11-07 16:11:24 +01:00
Noel De Martin 95e0640eb2 MOBILE-4059 core: Translate hardcoded errors 2022-11-07 16:11:24 +01:00
Pau Ferrer Ocaña 6b2be863b5 MOBILE-4081 lang: Improvements on script and import translations 2022-11-03 15:45:43 +01:00
Dani Palou e1ad3e1b4c
Merge pull request #3429 from NoelDeMartin/MOBILE-4081
MOBILE-4081 login: Allow customizing default image
2022-11-03 09:49:30 +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 ffb247c9ac MOBILE-4100 core: Fix scroll issues with collapsible footer 2022-11-02 15:09:21 +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
Noel De Martin 609a948945 MOBILE-4145 core: Clean up file path methods 2022-11-02 13:41:28 +01:00
Noel De Martin 08f2683a6b MOBILE-4081 login: Allow customizing default image 2022-11-02 13:09:41 +01:00
Pau Ferrer Ocaña 5153d7f020
Merge pull request #3427 from dpalou/MOBILE-4168
MOBILE-4168 core: Send to reconnect page in auth guard
2022-10-31 11:52:13 +01:00
Dani Palou 566a0e5e43 MOBILE-3817 core: Cast site config to string to fix typing 2022-10-31 10:01:06 +01:00
Dani Palou 5a3b4cfcb4 MOBILE-3817 core: Split ongoing requests in 2 types 2022-10-31 10:00:59 +01:00
Dani Palou 70191ad5bf MOBILE-3817 core: Convert has changes func to return Promise 2022-10-31 10:00:46 +01:00
Dani Palou c6437a5396 MOBILE-4168 core: Send to reconnect page in auth guard 2022-10-28 15:11:27 +02:00
Pau Ferrer Ocaña f554accfee MOBILE-4081 login: Recover hide qrcode classes 2022-10-28 14:34:03 +02:00
Noel De Martin f393d2aa15
Merge pull request #3423 from dpalou/MOBILE-4034
MOBILE-4034 core: Fix password changed detection in Android
2022-10-27 16:41:28 +02:00
Dani Palou 7b032aee18 MOBILE-4034 core: Fix password changed detection in Android 2022-10-27 16:30:15 +02:00
Dani Palou 33084ef8a6 MOBILE-4142 courses: Display hidden from students message 2022-10-27 15:14:04 +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 848932d527 MOBILE-4098 siteplugins: Restore style URLs behaviour 2022-10-27 15:06:46 +02:00
Anastasios Bithas c1afc4b614 MOBILE-4084 folder: Restore access to inline folders
Add temporary fix to restore access to inline folders.
Change module description to exclude inline folder data.
2022-10-27 15:06:46 +02:00
Anastasios Bithas 689a36ac12 MOBILE-4092 courses: Fix access to hidden courses 2022-10-27 15:06:46 +02:00
Dani Palou a2e512de26 MOBILE-4091 mycourses: Fix mypage error and empty page 2022-10-27 15:06:35 +02:00
Dani Palou 98e54d05be
Merge pull request #3420 from NoelDeMartin/MOBILE-4011
MOBILE-4011 sitehome: Fix link handler
2022-10-25 16:40:18 +02:00
Noel De Martin f97a9beb90
Merge pull request #3409 from dpalou/MOBILE-4120
MOBILE-4120 messages: Fix wrong messages displayed in split view
2022-10-25 16:28:00 +02:00
Noel De Martin 8d55ea0eb8 MOBILE-4011 sitehome: Fix link handler 2022-10-25 16:25:07 +02:00
Dani Palou fa9f074209 MOBILE-4120 messages: Fix wrong messages displayed in split view 2022-10-25 15:12:47 +02:00
Dani Palou 40f844485b
Merge pull request #3417 from NoelDeMartin/MOBILE-4163
MOBILE-4163 siteplugins: Fix lifecycle overrides
2022-10-25 08:27:09 +02:00
Noel De Martin 846cd01f67 MOBILE-4164 core: Remove core-fab on destroy 2022-10-24 15:22:55 +02:00
Noel De Martin 06a2b23adb MOBILE-4163 siteplugins: Fix lifecycle overrides 2022-10-24 14:17:24 +02:00
Dani Palou 8ce353832e MOBILE-4081 core: Only show warning if http 2022-10-24 09:51:57 +02:00
Pau Ferrer Ocaña 00693c9a87 MOBILE-4081 dashboard: Check if dashboard has enabled blocks 2022-10-19 10:58:05 +02:00
Pau Ferrer Ocaña 345de61759 MOBILE-4081 course-summary: Fix summary overlap 2022-10-19 10:58:05 +02:00
Pau Ferrer Ocaña d356bf46fe MOBILE-4081 chore: Prevent default on scroll controls 2022-10-19 10:58:05 +02:00
Noel De Martin 421627e08e
Merge pull request #3405 from alfonso-salces/MOBILE-4081
MOBILE-4081 site-preferences: Split change ngClass usage to avoid error
2022-10-18 12:14:40 +02:00
Alfonso Salces f60ee69b82 MOBILE-4081 site-preferences: Split change ngClass usage to avoid undefined class error 2022-10-18 12:05:29 +02:00
Dani Palou 5428712286 MOBILE-4154 login: Fix re-enter logged out site with IAB 2022-10-17 08:00:08 +02:00
Dani Palou 2d501024a0 MOBILE-4152 core: Fix link handlers when protocols don't match 2022-10-13 17:05:34 +02:00
Alfonso Salces 298f83d40d MOBILE-4146 course-format: Remove OnPush from course-format page 2022-10-13 07:52:43 +02:00
Dani Palou d7ce9998a6 MOBILE-4143 question: Fix replace TeX images in questions 2022-10-11 11:10:49 +02:00
Noel De Martin 22f97aa04e
Merge pull request #3395 from dpalou/MOBILE-4081
MOBILE-4081 core: Remove most .bind() usage
2022-10-06 13:44:53 +02:00
Dani Palou 922be9f9bc MOBILE-4081 h5p: Fix cannot read tags of undefined 2022-10-06 13:25:00 +02:00
Dani Palou 8d0412fa68 MOBILE-4081 core: Remove most .bind() usage 2022-10-05 16:02:09 +02:00
Alfonso Salces 0d004102e2 MOBILE-4140 message: Hide overflow to wrap text inside message box 2022-10-05 08:03:52 +02:00
Pau Ferrer Ocaña 399be57e65 MOBILE-4081 tabs: Do not animate tab changes 2022-10-04 15:42:57 +02:00
Noel De Martin c05657342e
Merge pull request #3391 from alfonso-salces/MOBILE-4081
Mobile 4081
2022-10-03 15:39:18 +02:00
Alfonso Salces a96df9aaaf MOBILE-4081 singletons: Add event for when main home loads 2022-10-03 14:31:23 +02:00
Alfonso Salces 2c6cddf021 MOBILE-4081 settings: Add toggle from settings delegate 2022-10-03 14:31:15 +02:00
Dani Palou 7b1294dd86
Merge pull request #3394 from alfonso-salces/MOBILE-4131
MOBILE-4131 time: Return ISO string in toDatetimeFormat function
2022-09-30 07:42:42 +02:00
Alfonso Salces 983ba9466a MOBILE-4131 time: Return ISO string in toDatetimeFormat function 2022-09-28 11:23:56 +02:00
Pau Ferrer Ocaña b800bbe055
Merge pull request #3392 from dpalou/MOBILE-3817
MOBILE-3817 core: Fix tablet styles for refresh modal
2022-09-21 10:32:50 +02:00
Dani Palou ec158459b0 MOBILE-3817 core: Fix tablet styles for refresh modal 2022-09-21 09:21:53 +02:00
Pau Ferrer Ocaña b722a8ab67
Merge pull request #3390 from dpalou/MOBILE-4128
Mobile 4128
2022-09-20 11:11:44 +02:00
Dani Palou 165e46cab9 MOBILE-4128 login: Create behat tests for signup 2022-09-20 09:54:10 +02:00
Noel De Martin 57f10bff4a
Merge pull request #3370 from dpalou/MOBILE-3817
Mobile 3817
2022-09-19 12:33:39 +02:00
Dani Palou 2395edbd05 MOBILE-3817 rxjs: Fix zipIncludingComplete completion
When the last observable completed it didn't emit pending values
2022-09-16 10:22:53 +02:00
Dani Palou 52a4322f0d MOBILE-3817 core: Create WSObservable type 2022-09-16 10:22:53 +02:00
Dani Palou 979e995166 MOBILE-3817 filter: Apply update in background to filters 2022-09-16 10:22:53 +02:00
Dani Palou 01df501cad MOBILE-3817 courses: Apply update in background to My Courses 2022-09-16 10:22:53 +02:00
Dani Palou ce9c086819 MOBILE-3817 block: Detect changes in block input 2022-09-16 10:22:53 +02:00
Dani Palou 63f3c440e3 MOBILE-3817 utils: Move new utils functions to existing rxjs file 2022-09-16 10:22:53 +02:00
Dani Palou 88297ed400 MOBILE-3817 core: Implement more observable funcs for myoverview 2022-09-16 10:22:53 +02:00
Dani Palou fbe46ee895 MOBILE-3817 courses: Implement getUserCoursesWithOptionsObservable 2022-09-16 10:22:53 +02:00
Dani Palou 73b108e5c5 MOBILE-3817 core: Implement zipIncludingComplete and add tests 2022-09-15 17:58:25 +02:00
Dani Palou 3e462979f7 MOBILE-3817 dashboard: Create observable methods for getDashboardBlocks 2022-09-15 17:58:25 +02:00
Noel De Martin ef6a4ed7f4 MOBILE-4127 theme: Move mode classes to html tag 2022-09-15 17:14:58 +02:00
Dani Palou 46833295d5 MOBILE-4128 login: Always display auth instructions if set 2022-09-15 10:54:40 +02:00
Dani Palou 89ba05dd3e MOBILE-3817 core: Support updating WS data in background 2022-09-15 10:18:19 +02:00
Dani Palou f41a4e7b57 MOBILE-3817 core: Create observable methods for WS requests 2022-09-14 16:09:59 +02:00
Dani Palou a5fbe051da MOBILE-3817 core: Split CoreSite.request into several functions 2022-09-14 16:09:59 +02:00
Noel De Martin c57a6a255d
Merge pull request #3377 from alfonso-salces/MOBILE-4081
MOBILE-4081 reconnect: Create component for identity providers
2022-09-14 10:09:22 +02:00
Alfonso Salces 8208243c5e MOBILE-4081 reconnect: Create component for identity providers 2022-09-14 10:00:51 +02:00
Pau Ferrer Ocaña adb5e17bcf
Merge pull request #3361 from NoelDeMartin/MOBILE-4081
MOBILE-4081: Behat improvements
2022-09-05 12:53:27 +02:00
Noel De Martin 8a0e0b0cc8 MOBILE-4081 behat: Check site compatibility
Whether the version of the moodle site is compatible should be checked automatically, however with the current implementation it's only checked once the app is launched. So in some scenarios, it may be necessary to explicitly tell behat to check the site.
2022-09-05 10:38:02 +02:00
Dani Palou 9249fab7ee
Merge pull request #3371 from alfonso-salces/MOBILE-4081
MOBILE-4081 course: Load 'course-summary.module' from service
2022-09-05 09:11:17 +02:00
Noel De Martin bd0c1c8c57 MOBILE-4081 courses: Remove LMS UI behat steps 2022-09-05 09:09:43 +02:00
Noel De Martin 2ad7d3fa41 MOBILE-4081 comments: Restore behat tests 2022-09-05 09:09:43 +02:00
Dani Palou ed8f298612
Merge pull request #3374 from crazyserver/MOBILE-4081
MOBILE-4081 behat: Fix swipe out of zone
2022-09-05 07:53:24 +02:00
Pau Ferrer Ocaña 970ea87dab MOBILE-4081 chore: Remove unnecessary semicolons 2022-09-02 17:57:22 +02:00
Pau Ferrer Ocaña 7a0346210e
Merge pull request #3372 from dpalou/MOBILE-4102
MOBILE-4102 course: Display relative dates for teachers
2022-09-02 17:28:10 +02:00