Commit Graph

5889 Commits (605eededa70b04124d2321351b34074dd58919f0)

Author SHA1 Message Date
Noel De Martin 56c4877b2e MOBILE-4109 core: Log unhandled errors 2022-11-17 11:34:22 +01:00
Dani Palou cd8f81d332
Merge pull request #3448 from NoelDeMartin/MOBILE-4145
MOBILE-4145 utils: Update apk download copy
2022-11-17 09:00:09 +01:00
Noel De Martin 105f283559
Merge pull request #3447 from dpalou/MOBILE-3784
Mobile 3784
2022-11-16 16:27:26 +01:00
Noel De Martin 838b3b2d2b MOBILE-4145 utils: Update apk download copy 2022-11-16 16:06:19 +01:00
Dani Palou 34498bf2aa
Merge pull request #3446 from NoelDeMartin/MOBILE-4176
MOBILE-4176 grades: Test viewing grades
2022-11-16 14:28:54 +01:00
Dani Palou 82e9331357 MOBILE-3784 calendar: Add behat for create event 2022-11-16 12:23:04 +01:00
Dani Palou e72cf7258e MOBILE-3874 calendar: Fix event time and improve a11y 2022-11-16 12:23:04 +01:00
Dani Palou e2d2e04f41 MOBILE-3784 calendar: Fix a11y title of days 2022-11-16 12:23:04 +01:00
Dani Palou ee4e8f6b05 MOBILE-3784 calendar: Support opening any month with page params 2022-11-16 12:23:04 +01:00
Dani Palou 1a1e03bdd4 MOBILE-3784 time: Fix time zone usage in ion-datetime 2022-11-16 12:23:04 +01:00
Noel De Martin 7661208862 MOBILE-4176 grades: Test viewing grades 2022-11-16 12:16:36 +01:00
Dani Palou f172f9d8b6
Merge pull request #3444 from NoelDeMartin/MOBILE-4059
MOBILE-4059: Fix issues found during testing
2022-11-16 09:41:18 +01:00
Pau Ferrer Ocaña 746253ce40 MOBILE-3936 reminders: Fix multiple reminders set 2022-11-15 16:08:59 +01:00
Pau Ferrer Ocaña d40a488758 MOBILE-3936 reminders: Add click listeners 2022-11-15 16:08:59 +01:00
Noel De Martin 8b8c4d533a MOBILE-4059 login: Treat invalidlogin error 2022-11-15 13:28:04 +01:00
Noel De Martin 001a19f066 MOBILE-4059 user: Update contact support message 2022-11-15 13:28:04 +01:00
Noel De Martin a2772622f2 MOBILE-4059 login: Update exceeded attempts text 2022-11-15 11:57:37 +01:00
Dani Palou 36dfd856bb
Merge pull request #3443 from NoelDeMartin/MOBILE-4176
MOBILE-4176 grades: Fix 4.1 layout
2022-11-15 08:39:57 +01:00
Noel De Martin 49e0491428 MOBILE-4176 grades: Fix 4.1 layout
Fixes some breaking changes introduced in MDL-75513. The fixes included here are not exhaustive but should take care of the basic scenarios covered by e2e tests. Subsequent fixes will be provided to handle other edge-cases.
2022-11-14 17:52:47 +01:00
Dani Palou fba9fd8b2d
Merge pull request #3439 from crazyserver/MOBILE-4065
Mobile 4065
2022-11-14 15:33:48 +01:00
Noel De Martin 8f518d1b79 MOBILE-4065 tests: Fix translate mock 2022-11-14 15:07:07 +01:00
Pau Ferrer Ocaña 1a8c4fde04 MOBILE-4065 a11y: Course downloads does not stop click propagation 2022-11-14 14:19:21 +01:00
Dani Palou 6a5d270601
Merge pull request #3441 from alfonso-salces/MOBILE-4184
MOBILE-4184 url.ts: Read new property from config
2022-11-14 12:48:07 +01:00
Noel De Martin a3c404f805
Merge pull request #3440 from dpalou/MOBILE-4183
MOBILE-4183 user-tours: Allow dismissing with backdrop click
2022-11-14 12:38:33 +01:00
Noel De Martin ead429afaf MOBILE-4091 core: Hide network error title 2022-11-14 11:23:33 +01:00
Noel De Martin a9da1961d9 MOBILE-4059 theme: Fix spacing 2022-11-14 11:03:01 +01:00
Alfonso Salces 6603db43f9 MOBILE-4184 url.ts: Read new property from config 2022-11-14 10:11:22 +01:00
Alfonso Salces a1dc1ec631
Merge pull request #3299 from alfonso-salces/MOBILE-4021-tests
MOBILE-4021 notifications: Create notification acceptance tests
2022-11-14 10:04:27 +01:00
Dani Palou ae4899a5b5 MOBILE-4183 user-tours: Allow dismissing with backdrop click 2022-11-14 08:30:45 +01:00
Pau Ferrer Ocaña c97d92fd04 MOBILE-4065 a11y: Add h2 to sections on course summary 2022-11-11 14:46:19 +01:00
Pau Ferrer Ocaña 6500f35462 MOBILE-4065 a11y: Change module name tag to div 2022-11-11 14:46:19 +01:00
Pau Ferrer Ocaña 622f6ee265 MOBILE-4065 a11y: Get keyboard access to course index accordions 2022-11-11 14:46:19 +01:00
Pau Ferrer Ocaña 824a804887 MOBILE-4065 a11y: Improve my courses view aria labels 2022-11-11 14:46:19 +01:00
Pau Ferrer Ocaña 8b87195593 MOBILE-4065 a11y: Change approach to add aria-label to eye button 2022-11-11 14:46:19 +01:00
Pau Ferrer Ocaña f7796700a7 MOBILE-4065 a11y: Fix placeholder color 2022-11-11 14:46:19 +01:00
Pau Ferrer Ocaña 4375d9ce6f MOBILE-4081 dashboard: Fix empty dashboard when loading fallback blocks 2022-11-11 12:03:06 +01:00
Pau Ferrer Ocaña 5cd929a4ec MOBILE-3936 reminders: Fix on undefined checks 2022-11-11 11:35:30 +01:00
Pau Ferrer Ocaña 8bf75e67bf MOBILE-4177 split-view: Fix auto height of empty box 2022-11-11 09:08:03 +01:00
Dani Palou bdd6aeb738
Merge pull request #3425 from crazyserver/MOBILE-3936
Mobile 3936 - Inline reminders
2022-11-11 08:12:50 +01:00
Alfonso Salces e430a4266a MOBILE-4021 notifications: Create notification acceptance tests 2022-11-11 07:44:10 +01:00
Pau Ferrer Ocaña ee072610a1
Merge pull request #3431 from dpalou/MOBILE-4100
Mobile 4100
2022-11-10 16:54:03 +01:00
Pau Ferrer Ocaña 6bdf812c81 MOBILE-3936 reminders: Add reminders test 2022-11-10 16:37:06 +01:00
Pau Ferrer Ocaña 12c19080f2 MOBILE-3936 core: Add LocalNotifications mock 2022-11-10 16:37:06 +01:00
Pau Ferrer Ocaña 43cec87112 MOBILE-3936 reminders: Add toasts when setting and deleting reminders 2022-11-10 16:37:06 +01:00
Pau Ferrer Ocaña 69d2530bb8 MOBILE-3936 reminders: Avoid creating reminders in the past 2022-11-10 16:37:05 +01:00
Pau Ferrer Ocaña 5d910ea5b4 MOBILE-3936 reminders: Add reminders to courses and activities 2022-11-10 16:37:05 +01:00
Pau Ferrer Ocaña 109d4bd2c5 MOBILE-3936 calendar: Move default reminder setting to reminders 2022-11-10 16:37:05 +01:00
Pau Ferrer Ocaña 9f154a7bb6 MOBILE-3936 calendar: Use new reminder selector 2022-11-10 13:40:16 +01:00
Pau Ferrer Ocaña cefd0248fc MOBILE-3936 reminders: Move calendar reminders to new reminders module 2022-11-10 13:40:16 +01:00
Dani Palou 60dd6090dd MOBILE-4100 bbb: Add behat tests for recordings 2022-11-10 13:33:04 +01:00
Pau Ferrer Ocaña 3d7b9dfbc5 MOBILE-3936 core: Add install function on database initialization 2022-11-10 10:38:19 +01:00
Noel De Martin d0e3ad6ee8
Merge pull request #3435 from alfonso-salces/MOBILE-4081
MOBILE-4081 types: Create OmitUnion utility type
2022-11-10 08:58:53 +01:00
Alfonso Salces 4a9549216b MOBILE-4081 types: Create OmitUnion utility type 2022-11-10 08:48:59 +01:00
Dani Palou ef0d747f16 MOBILE-4081 course: Improve behat tests for hidden courses 2022-11-09 13:27:21 +01:00
Noel De Martin c9120bce7b MOBILE-4059 core: Check supportavailability config
Config setting introduced in MDL-74643
2022-11-08 16:16:52 +01:00
Noel De Martin fc55a31872 MOBILE-4059 login: Show help without support link 2022-11-08 16:16:52 +01:00
Noel De Martin 9b0200c3bf MOBILE-4059 core: Consolidate help modals 2022-11-08 16:16:52 +01:00
Noel De Martin e5fcf769f1 MOBILE-4059 core: Update FAQs 2022-11-08 16:16:52 +01:00
Noel De Martin 8c1e07c019 MOBILE-4059 core: Update site owners nomenclature 2022-11-08 16:16:52 +01:00
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
Dani Palou 8b36a6864d
Merge pull request #3433 from crazyserver/MOBILE-4081
MOBILE-4081 lang: Improvements on script and import translations
2022-11-03 17:15:43 +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 9e857892eb MOBILE-4158 theme: Bump intermediate color steps in dark mode 2022-11-03 10:59:01 +01:00
Dani Palou ad69104517 MOBILE-4081 forum: Fix --addon-forum-highlight-color in dark mode 2022-11-03 10:58:22 +01:00
Dani Palou 6e1677a757 MOBILE-4100 bbb: Display recordings 2022-11-03 10:26:16 +01:00
Dani Palou 5eb0bd2448
Merge pull request #3430 from NoelDeMartin/MOBILE-4081-behat
MOBILE-4081 behat: Use mod_data field generators
2022-11-03 09:51:41 +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
Noel De Martin df9ff60847 MOBILE-4081 behat: Use mod_data field generators 2022-11-02 17:58:23 +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 1ac85244f0 MOBILE-4158 theme: Bump intermediate color steps 2022-10-27 17:08:42 +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 077fd682e6 MOBILE-4089 forum: Fix wrong parameter passed to prefetchModule 2022-10-27 15:06:03 +02:00
Dani Palou d5c440b97d MOBILE-4089 forum: Don't fetch all pages when invalidating data 2022-10-27 15:05:59 +02:00
Dani Palou 585f669641 MOBILE-4089 forum: Fix infinite loop in getDiscussionsInPages 2022-10-27 15:05:48 +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 6e23451b4f
Merge pull request #3412 from dpalou/MOBILE-4153
MOBILE-4153 scorm: Support links to player.php
2022-10-20 10:59:22 +02:00
Dani Palou 495c9320c4 MOBILE-4153 scorm: Support links to player.php 2022-10-20 10:27:29 +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
Pau Ferrer Ocaña 65b57a5fcd
Merge pull request #3408 from dpalou/MOBILE-4154
MOBILE-4154 login: Fix re-enter logged out site with IAB
2022-10-17 14:41:17 +02:00
Dani Palou 5428712286 MOBILE-4154 login: Fix re-enter logged out site with IAB 2022-10-17 08:00:08 +02:00
Pau Ferrer Ocaña 22b367ea6e
Merge pull request #3404 from dpalou/MOBILE-4137
MOBILE-4137 bbb: Don't display room info if showroom = false
2022-10-14 14:19:04 +02:00
Dani Palou 2d501024a0 MOBILE-4152 core: Fix link handlers when protocols don't match 2022-10-13 17:05:34 +02:00
Dani Palou 6d0473ef4c MOBILE-4137 bbb: Don't display room info if showroom = false 2022-10-13 15:19:06 +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 c9a0b372a9 MOBILE-3817 myoverview: Save setting when using custom filter 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 54c9b54846
Merge pull request #3385 from dpalou/MOBILE-4117
Mobile 4117
2022-09-15 17:54:39 +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 c3f01e01d2 MOBILE-4117 bbb: Add behat tests for BBB 2022-09-15 10:30:48 +02:00
Dani Palou 7b59283420 MOBILE-4117 bbb: Update Moodle cache when needed 2022-09-15 10:30:48 +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
Dani Palou 2f02aaf149
Merge pull request #3384 from NoelDeMartin/MOBILE-4081
MOBILE-4081 behat: Fix database tests
2022-09-14 11:45:23 +02:00
Noel De Martin b634604075 MOBILE-4081 behat: Fix database tests
Same as aa49eb24fb
2022-09-14 10:22:13 +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 0498f13a3d MOBILE-4081 theme: Remove duplicated variable 2022-09-05 09:09:43 +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
Pau Ferrer Ocaña 1259f78942
Merge pull request #3373 from dpalou/MOBILE-4126
MOBILE-4126 ios: Fix handleOpenURL when app is closed
2022-09-02 17:22:41 +02:00
Dani Palou 7ac621da42 MOBILE-4126 ios: Fix handleOpenURL when app is closed
It seems the function was declared too late, when it had already been called.
2022-09-02 15:38:16 +02:00
Pau Ferrer Ocaña 3a9b10a90c MOBILE-4081 chore: Mixed Code smell fixes 2022-09-02 14:45:05 +02:00
Pau Ferrer Ocaña 16a4e62f3b MOBILE-4081 chore: JS Code smell fixes 2022-09-02 14:45:04 +02:00
Pau Ferrer Ocaña 44cbee9683 MOBILE-4081 chore: Fix duplicated semicolon 2022-09-02 14:45:04 +02:00
Pau Ferrer Ocaña 128cd849b8 MOBILE-4081 forum: Fix duplicated syncs 2022-09-02 14:45:04 +02:00
Pau Ferrer Ocaña f0b79822da MOBILE-4081 chore: Remove redundant awaits 2022-09-02 14:45:04 +02:00
Alfonso Salces 7a83c7711e MOBILE-4081 course: Load 'course-summary.module' from service 2022-09-02 12:43:18 +02:00
Dani Palou 6fd5843d92 MOBILE-4035 groups: Don't call WS that will fail if no group 2022-09-02 08:15:32 +02:00
Dani Palou 33b3d7db78 MOBILE-4035 groups: Create group selector component 2022-09-02 08:15:32 +02:00
Pau Ferrer Ocaña 302a4bc821
Merge pull request #3365 from dpalou/MOBILE-3978
MOBILE-3978 calendar: Add fallback for access info
2022-09-01 11:42:48 +02:00
Pau Ferrer Ocaña d2c932b365
Merge pull request #3363 from dpalou/MOBILE-4121
MOBILE-4121 completion: Invalidate when data sent in scorm/lesson
2022-09-01 11:38:31 +02: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 17add1f0fb MOBILE-4081 chore: Fix format tree with unsorted values 2022-08-31 16:37:08 +02:00
Pau Ferrer Ocaña 852af8bc0e MOBILE-4081 modicon: Fix modicon purpose 2022-08-31 16:19:49 +02:00
Pau Ferrer Ocaña 626d6b02cd
Merge pull request #3367 from alfonso-salces/MOBILE-4081
MOBILE-4081 theme: Add class for modals without backdrop-filter
2022-08-31 10:03:54 +02:00
Dani Palou 37031b0c4b
Merge pull request #3355 from NoelDeMartin/MOBILE-4069-feedback
MOBILE-4069 feedback: Implement navigation tests
2022-08-30 15:36:11 +02:00
Alfonso Salces ceae5d701c MOBILE-4081 theme: Add class for modals without backdrop-filter 2022-08-30 10:38:32 +02:00
Noel De Martin 23fda871f3 MOBILE-4069 feedback: Implement navigation tests 2022-08-29 14:19:59 +02:00
Alfonso Salces aac66014ec MOBILE-4122 about: Check user role to hide survey 2022-08-22 15:32:32 +02:00
Dani Palou fc0d2b1307 MOBILE-3978 calendar: Add fallback for access info 2022-08-22 09:55:55 +02:00
Dani Palou 38cf037162 MOBILE-4121 completion: Invalidate when data sent in scorm/lesson 2022-08-18 15:30:58 +02:00
Noel De Martin 48b01f4910 MOBILE-4069 competency: Implement navigation tests 2022-08-08 14:32:41 +02:00
Pau Ferrer Ocaña 2407240134
Merge pull request #3357 from NoelDeMartin/MOBILE-4069
MOBILE-4069 core: Fix race condition in loading
2022-08-08 12:49:44 +02:00
Dani Palou 2bd4c16bea
Merge pull request #3359 from NoelDeMartin/MOBILE-4011
MOBILE-4011 sitehome: Capture root link
2022-08-05 07:46:17 +02:00
Dani Palou 6a0823d4e0
Merge pull request #3358 from NoelDeMartin/MOBILE-4025
MOBILE-4025 mainmenu: Navigate when tab disappears
2022-08-05 07:44:52 +02:00
Noel De Martin a4c5cc5f6c MOBILE-4025 mainmenu: Comment out flaky test 2022-08-04 17:03:52 +02:00
Noel De Martin 4f394fb407 MOBILE-4025 mainmenu: Navigate when tab disappears 2022-08-04 16:11:58 +02:00
Noel De Martin 95c5c243c3 MOBILE-4011 sitehome: Capture root link 2022-08-04 15:38:36 +02:00
Noel De Martin eb632cc9e4
Merge pull request #3348 from alfonso-salces/MOBILE-4081
MOBILE-4081 courses: Load 'my.module' from service
2022-08-04 15:03:43 +02:00
Noel De Martin dd9ee9c1fc
Merge pull request #3354 from dpalou/MOBILE-4034
Mobile 4034
2022-08-04 10:51:42 +02:00
Dani Palou 55d5f9419b MOBILE-4034 core: Remove some listeners from app component 2022-08-04 10:35:39 +02:00
Dani Palou 6a12da2bf1 MOBILE-4034 behat: Add tests for complete profile and change pwd 2022-08-04 10:35:38 +02:00
Dani Palou c91e1192ae MOBILE-4034 user: Improve UX when missing required fields 2022-08-04 10:35:38 +02:00
Dani Palou 94444fbc96 MOBILE-4034 login: Close IAB after user changes password 2022-08-04 09:00:55 +02:00
Noel De Martin 4a0788f22b MOBILE-4069 core: Fix race condition in loading 2022-08-03 12:04:46 +02:00
Noel De Martin 31499beec6
Merge pull request #3350 from dpalou/MOBILE-4113
MOBILE-4113 geolocation: Fix screen locked before allowing
2022-08-03 11:20:37 +02:00
Dani Palou 8d64282ce8 MOBILE-4113 geolocation: Fix screen locked before allowing 2022-08-03 11:11:04 +02:00
Dani Palou 57cd6d1705 MOBILE-4102 course: Display relative dates for teachers 2022-08-03 10:38:30 +02:00
Alfonso Salces fce93a3ad5 MOBILE-4081 courses: Load 'my.module' from service 2022-08-02 14:44:00 +02:00
Noel De Martin aa5281456c MOBILE-4069 behat: Skip broken tests 2022-08-02 11:51:14 +02:00
Noel De Martin 393b8a2d1e MOBILE-4069 timeline: Fix behat tests in 311 2022-08-02 11:46:44 +02:00
Noel De Martin ae63c71d42 MOBILE-4069 behat: Add missing refresh gestures 2022-08-02 11:45:00 +02:00
Noel De Martin 595b574ea1
Merge pull request #3351 from dpalou/MOBILE-4096
MOBILE-4096 core: Fix open routes when main tab not loaded yet
2022-08-01 15:37:24 +02:00
Dani Palou 844c14b8cb MOBILE-4116 core: Avoid using Date instances if possible
When the date can be affected by time zone, always use moment
2022-07-29 14:59:40 +02:00
Dani Palou 88a19ea066 MOBILE-4116 moment: Force timezone for moment in behat tests 2022-07-29 14:59:40 +02:00
Dani Palou b37e7f4a70 MOBILE-4096 core: Fix open routes when main tab not loaded yet 2022-07-26 14:36:29 +02:00
Noel De Martin aaa98793aa
Merge pull request #3347 from dpalou/MOBILE-4069
Mobile 4069
2022-07-14 16:20:10 +02:00
Dani Palou 1e57678314
Merge pull request #3296 from NoelDeMartin/MOBILE-4069-grade
MOBILE-4069 grades: Implement navigation tests
2022-07-14 09:49:35 +02:00
Dani Palou ab39251a0f MOBILE-4069 survey: Fix survey behats 2022-07-14 09:17:28 +02:00
Dani Palou 9a5231d481 MOBILE-4069 core: Fix getModuleUpdates if not downloaded 2022-07-14 09:10:14 +02:00
Dani Palou 5630f5b054
Merge pull request #3321 from crazyserver/MOBILE-4047
Mobile 4047
2022-07-13 15:27:12 +02:00
Pau Ferrer Ocaña 538bfd6ceb MOBILE-4047 behat: General checks to blocking UI 2022-07-13 12:44:01 +02:00
Pau Ferrer Ocaña 7aa6eb48f1 MOBILE-4047 behat: Implement Pull to refresh 2022-07-13 11:07:53 +02:00
Dani Palou b82c884745 MOBILE-4081 core: Remove some unneeded invalidates 2022-07-13 09:44:51 +02:00
Pau Ferrer Ocaña 889e4cb63a MOBILE-4047 settings: Tests sync sites 2022-07-12 16:01:51 +02:00
Pau Ferrer Ocaña 2cb74230c1 MOBILE-4047 behat: Add log out step 2022-07-12 16:01:51 +02:00
Pau Ferrer Ocaña a3481d6f9b MOBILE-4047 behat: Fix restart on change user 2022-07-12 16:01:51 +02:00
Pau Ferrer Ocaña 29d97cca3a MOBILE-4047 behat: Add switch network connection step 2022-07-12 16:01:51 +02:00
Pau Ferrer Ocaña bf78ca0e8f MOBILE-4047 user: Get user basic info from siteInfo as fallback 2022-07-12 16:01:51 +02:00
Pau Ferrer Ocaña cbb1a1ecf5 MOBILE-4047 tabs: Move handler class to the parent 2022-07-12 16:01:51 +02:00
Pau Ferrer Ocaña 17440ca3d4 MOBILE-4047 settings: Change sync on WiFi behavior 2022-07-12 16:01:51 +02:00
Pau Ferrer Ocaña 889f7479a0 MOBILE-4047 settings: Use accounts list on sync 2022-07-12 16:01:51 +02:00
Pau Ferrer Ocaña 7dfcd8bfe3 MOBILE-4047 errors: Admit buttons when creating a CoreError 2022-07-12 16:01:51 +02:00
Pau Ferrer Ocaña c1cae77bbc MOBILE-4047 cron: Improve alerts on cron failures 2022-07-12 16:01:51 +02:00
Noel De Martin 618c89b9d0 MOBILE-4069 user: Fix tablet user menu button 2022-07-12 10:31:13 +02:00
Noel De Martin a07c545b11 MOBILE-4069 grades: Implement navigation tests 2022-07-12 10:31:13 +02:00
Noel De Martin 41489ecc66 MOBILE-4081 behat: Fix 3.9 tests 2022-07-12 10:25:13 +02:00
Noel De Martin aa8961f1cb MOBILE-4081 config: Complete siteurl declaration 2022-07-12 10:23:15 +02:00
Noel De Martin 2698e64a34
Merge pull request #3342 from alfonso-salces/MOBILE-4085
MOBILE-4085 core: Fix change detection
2022-07-11 17:11:53 +02:00
Dani Palou ee2786830c MOBILE-4031 forum: Improve basic usage behat tests 2022-07-11 11:08:38 +02:00
Dani Palou ace9256d26 MOBILE-4031 user: Fix error updating preference in offline 2022-07-11 11:08:38 +02:00
Dani Palou 195c2af178 MOBILE-4031 forum: Add behat tests to test groups 2022-07-11 11:08:38 +02:00
Dani Palou a611ac64d0 MOBILE-4031 core: Create config values for Toast duration 2022-07-11 10:19:43 +02:00
Dani Palou ee64090001 MOBILE-4031 behat: Fix search text with double quotes 2022-07-11 10:19:43 +02:00
Dani Palou 2a87212e98 MOBILE-4031 forum: Display group selector if supported 2022-07-11 10:19:43 +02:00
Noel De Martin 9799ceeba6
Merge pull request #3339 from dpalou/MOBILE-4086
Mobile 4086
2022-07-07 16:09:00 +02:00
Alfonso Salces b3d1a910fb MOBILE-4085 core: Fix change detection in core-course-module and core-h5p-player 2022-07-07 15:16:22 +02:00
Dani Palou e63a40d092 MOBILE-4086 core: Split wscache table into several tables 2022-07-06 12:35:39 +02:00
Noel De Martin 52259b421f MOBILE-4110 behat: Clean up js calls 2022-07-06 12:17:20 +02:00
Noel De Martin c8b16035fe MOBILE-4110 behat: Clean up services 2022-07-06 12:16:39 +02:00
Noel De Martin 97be254b72 MOBILE-4110 comments: Use behat generators 2022-07-06 12:14:34 +02:00
Noel De Martin 9d1d41348f MOBILE-4110 behat: Fix configuration overrides 2022-07-06 12:14:34 +02:00
Noel De Martin a0363deb6a MOBILE-4110 behat: Allow finding disabled elements 2022-07-06 12:14:34 +02:00
Noel De Martin e974912880 MOBILE-4110 behat: Fix namespace 2022-07-06 12:13:42 +02:00
Alfonso Salces 93cfcd4ae0
Merge pull request #3330 from NoelDeMartin/MOBILE-4038
MOBILE-4038 timeline: Refactor using OnPush
2022-07-06 11:46:02 +02:00
Noel De Martin 70e11f9ea4 MOBILE-4038 timeline: Refactor using OnPush 2022-07-06 11:08:38 +02:00
Dani Palou dd3f73b819 MOBILE-4086 core: Add missing cacheKey to some WS calls 2022-07-06 07:35:17 +02:00
Dani Palou 290b78c8ab MOBILE-4108 core: Don't call autologin WS for external URLs 2022-07-05 11:59:43 +02:00
Alfonso Salces 02bd2314b9 MOBILE-4027 h5pactivity: Don't show modal if user finish activity 10 secs ago 2022-07-01 10:03:45 +02:00
Noel De Martin 8dd0ef41a1 MOBILE-4038 icon: Revert getModuleIconSrc to sync
Reverted from 1c0a86d045
2022-06-23 12:29:54 +02:00
Noel De Martin 86355bce01 MOBILE-3942 core: Improve dynamic component calls 2022-06-22 16:06:32 +02:00
Pau Ferrer Ocaña 0df9f3651b
Merge pull request #3329 from dpalou/MOBILE-4097
MOBILE-4097 core: Don't convert to address URL if it's already a URL
2022-06-22 09:39:34 +02:00
Noel De Martin 1044561ff7
Merge pull request #3325 from alfonso-salces/MOBILE-4081
MOBILE-4081 login: Load reconnect and credentials pages from service
2022-06-22 09:17:36 +02:00
Alfonso Salces 139e32d86e MOBILE-4081 login: Load reconnect and credentials pages from service 2022-06-22 09:07:43 +02:00
Dani Palou fcf82349cf MOBILE-4097 core: Don't convert to address URL if it's already a URL 2022-06-22 07:41:32 +02:00
Dani Palou 34a987ae2a
Merge pull request #3328 from NoelDeMartin/MOBILE-4081
MOBILE-4081: Clean up emulator and native modules
2022-06-21 14:35:43 +02:00
Noel De Martin 6b759bd5ec MOBILE-4081 core: Use singleton names in plugins 2022-06-21 09:50:41 +02:00
Noel De Martin 34863362c8 MOBILE-4081 core: Clean up emulator module 2022-06-21 09:50:41 +02:00
Dani Palou fad887aa65 MOBILE-4099 scorm: Remove some non-null assertions 2022-06-21 08:20:57 +02:00
Dani Palou 7b5a5bed8f MOBILE-4099 scorm: Don't call WS if user cannot save tracks 2022-06-21 08:13:25 +02:00
Noel De Martin ed50d3d76a MOBILE-4081 core: Consolidate Platform services 2022-06-20 18:19:18 +02:00
Dani Palou f1f7ee02de
Merge pull request #3326 from crazyserver/MOBILE-4081
MOBILE-4081 lang: Improve language scripts and import new strings
2022-06-17 14:55:20 +02:00
Pau Ferrer Ocaña 9962183fea MOBILE-4081 lang: Update script version and execute to detect new lang 2022-06-17 13:14:11 +02:00
Dani Palou bbe787cd00 MOBILE-4054 behat: Add tests for open files 2022-06-17 10:56:24 +02:00
Dani Palou 30b26adbd6 MOBILE-4054 core: Allow not displaying again open file warning 2022-06-17 10:55:38 +02:00
Dani Palou f8ddaaeea2 MOBILE-4081 core: Pass CoreNetwork & CorePlatform to plugins 2022-06-16 08:59:32 +02:00
Dani Palou 680da49a32 MOBILE-4081 core: Don't inject Ionic Network for plugins 2022-06-16 08:33:34 +02:00
Noel De Martin 9254871d8b
Merge pull request #3320 from crazyserver/MOBILE-4081
Mobile 4081
2022-06-15 17:26:50 +02:00
Pau Ferrer Ocaña 1cbdd5a96b MOBILE-4081 emulator: Fix error injecting Network Service 2022-06-15 16:49:33 +02:00
Pau Ferrer Ocaña 7c98579097 MOBILE-4081 storage: Improve TODO comment 2022-06-15 13:05:28 +02:00
Dani Palou 9792adcc9d
Merge pull request #3307 from NoelDeMartin/MOBILE-4081
MOBILE-4081: Improve notifications source and fix behat steps
2022-06-15 11:18:15 +02:00
Noel De Martin a2f6e0139e MOBILE-4081 notifications: Improve source 2022-06-15 10:46:22 +02:00
Pau Ferrer Ocaña ca87b084d2 MOBILE-4061 behat: Treat async calls 2022-06-14 15:49:14 +02:00
Pau Ferrer Ocaña 9ce31948ad MOBILE-4061 course: Add test for hidden courses 2022-06-14 15:49:14 +02:00
Pau Ferrer Ocaña 473a03d9fa MOBILE-4061 behat: Improve included behat tests 2022-06-14 15:49:14 +02:00
Pau Ferrer Ocaña fba9238566 MOBILE-4061 behat: Set ion-select fields 2022-06-14 15:49:14 +02:00
Pau Ferrer Ocaña 183919a622 MOBILE-4061 behat: Add bulk set fields command 2022-06-14 15:49:14 +02:00
Pau Ferrer Ocaña 350d7cd305 MOBILE-4061 data: Import and fix legacy tests from moodlemobileapp 2022-06-14 15:49:14 +02:00