Commit Graph

5729 Commits (cd4d4f164f563a7b7230168204d5cc6c0971472d)

Author SHA1 Message Date
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