Commit Graph

3642 Commits (c20df40bdc7942bd88e60e5f6e2b7c21e8be8592)

Author SHA1 Message Date
Noel De Martin 11088abdf5 MOBILE-4270 messages: Prevent actions shrinking 2023-05-11 12:00:58 +02:00
Noel De Martin 72c42958b0 MOBILE-4338 quiz: Fix multianswer inline feedback 2023-05-11 11:06:49 +02:00
Pau Ferrer Ocaña 013a55a5a4 MOBILE-4270 lang: Solve error details not being shown 2023-05-10 13:22:07 +02:00
Pau Ferrer Ocaña 9f850816be MOBILE-4270 editor: Update lang strings to match TinyMCE 2023-05-10 13:22:07 +02:00
Dani Palou 47a8d5da35 MOBILE-4270 iframe: Fix auto-login not working sometimes
This was because core-loading removed the iframe from DOM, and then the WebView canceled the request. But the request could have consumed the single use key already.
2023-05-10 12:31:15 +02:00
Noel De Martin 81468c345b MOBILE-4270 core: Fix list items auto-scroll
The previous implementation was running into some race conditions that caused it to scroll back to the previously selected item sometimes.
2023-05-10 11:55:23 +02:00
Pau Ferrer Ocaña 0afc1bb2cb
Merge pull request #3666 from dpalou/MOBILE-4270
Mobile 4270
2023-05-10 10:14:32 +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 46f3da7d8f MOBILE-4288 multilang: Use fallback language 2023-05-09 15:50:24 +02:00
Noel De Martin 2a01965941 MOBILE-4188 grades: Improve course navigation 2023-05-08 15:50:29 +02:00
Dani Palou aaac4fbea7
Merge pull request #3662 from NoelDeMartin/MOBILE-3748
MOBILE-3748: RTE a11y improvements
2023-05-08 15:17:34 +02:00
Noel De Martin 007a4f7656 MOBILE-3748 rte: Fix Scan QR keyboard interaction 2023-05-08 15:06:01 +02:00
Pau Ferrer Ocaña f39a63dc7e
Merge pull request #3661 from dpalou/MOBILE-4270
Mobile 4270
2023-05-08 13:42:58 +02:00
Noel De Martin bf7659223d MOBILE-3748 rte: Implement keyboard shortcuts 2023-05-08 13:17:30 +02:00
Dani Palou 90aededf12 MOBILE-4270 notifications: Always display icon in notification 2023-05-08 13:13:51 +02:00
Noel De Martin dee6c915f8 MOBILE-3748 rte: Remove arrow keys override 2023-05-08 12:24:04 +02:00
Dani Palou f2997313b4 MOBILE-4270 icon: Fix some broken icons names 2023-05-08 07:50:20 +02:00
Dani Palou 15faf46367 MOBILE-4270 comments: Update cached data after add/delete 2023-05-08 07:50:20 +02:00
Dani Palou f0ba0cc479 MOBILE-4270 participants: Remove auto-focus in search box 2023-05-08 07:50:20 +02:00
Dani Palou ff60de7de5 MOBILE-4270 tag: Fix tag route in mobile 2023-05-04 16:59:58 +02:00
Noel De Martin 90603c022a
Merge pull request #3658 from dpalou/MOBILE-4270
MOBILE-4303 iframe: Fix auto-login applied in H5P local URLs
2023-05-04 12:38:43 +02:00
Dani Palou f8d3c023cc MOBILE-4303 iframe: Fix auto-login applied in H5P local URLs 2023-05-04 11:59:01 +02:00
Dani Palou 24b1ff4ec5
Merge pull request #3655 from NoelDeMartin/MOBILE-4288
MOBILE-4288: Format group names
2023-05-04 10:17:16 +02:00
Pau Ferrer Ocaña 3ddf2326a0
Merge pull request #3650 from dpalou/MOBILE-4270
MOBILE-4270 core: Set right version for LMS 4.2
2023-05-04 10:11:10 +02:00
Pau Ferrer Ocaña 041a8d1778
Merge pull request #3651 from dpalou/MOBILE-4275
MOBILE-4275 course: Fix course completion not updated in some cases
2023-05-04 09:55:35 +02:00
Noel De Martin 1f588bba85 MOBILE-4288 multilang: Fix unknown language filter 2023-05-03 15:43:24 +02:00
Dani Palou cf595146a8 MOBILE-4270 collapsible-header: Fix changes not detected
Before this change, listenEvents was called after initializeFloatingTitle, so the mutationObserver didn't exist when initializeFloatingTitle was executed.
2023-05-03 12:51:06 +02:00
Noel De Martin e8a73689ef MOBILE-4288 core: Format group names
Group names may contain other filters such as mathjax, so only filtering
multilanguage is not enough.
2023-05-03 12:16:47 +02:00
Dani Palou 35d4bf3561 MOBILE-4270 core: Set right version for LMS 4.2 2023-05-03 10:24:24 +02:00
Noel De Martin 4f54afca3c
Merge pull request #3649 from dpalou/MOBILE-4214
Mobile 4214
2023-05-02 09:44:58 +02:00
Dani Palou e56a47e35d MOBILE-4214 push: Improve register public key in Moodle
Now the WebService won't be called again if it has already been called successfully and public key hasn't changed
2023-05-02 08:40:43 +02:00
Dani Palou 0fdfa88c0d MOBILE-4275 course: Fix course completion not updated in some cases
This is a temporary solution, the code that handles automatic activity completion should be refactored
2023-05-02 08:20:11 +02:00
Alex Morris a0d49dc5e0 MOBILE-4214 pushnotifications: Add public key registration 2023-04-28 10:00:59 +02:00
Noel De Martin e281bc15b3 MOBILE-3748 a11y: Indicate non-downloadable items 2023-04-27 09:39:25 +02:00
Dani Palou 90be0a2102
Merge pull request #3646 from NoelDeMartin/MOBILE-4270
MOBILE-4270 behat: Skip excluded tests before 4.0
2023-04-26 16:13:24 +02:00
Noel De Martin de2c53b712 MOBILE-4270 behat: Skip excluded tests before 4.0 2023-04-26 13:47:57 +02:00
Noel De Martin df34b812a4 MOBILE-4288 multilang: Use parent languages 2023-04-26 11:01:11 +02:00
Noel De Martin db3a998f71 MOBILE-4288 core: Refactor getParentLanguage
This method was taking a language argument, but in reality it didn't work if you didn't pass it the current language so it was misleading.
2023-04-26 10:21:03 +02:00
Noel De Martin 998eddb74c
Merge pull request #3487 from alfonso-salces/MOBILE-4202
[4.2] MOBILE-4202 split-view: Scroll to current element when swipe
2023-04-25 15:35:52 +02:00
Noel De Martin d2b120f10e MOBILE-4290 login: Fix copy 2023-04-25 12:28:08 +02:00
Alfonso Salces c6b2ea058e MOBILE-4202 split-view: Scroll to current element when swipe 2023-04-25 12:25:36 +02:00
Dani Palou 882cbb6473
Merge pull request #3629 from alfonso-salces/MOBILE-4248
Mobile 4248
2023-04-25 10:49:18 +02:00
Dani Palou d13640dc1f
Merge pull request #3639 from NoelDeMartin/MOBILE-4290
MOBILE-4290 login: Update help copy
2023-04-25 10:27:32 +02:00
Dani Palou 5d81dad8d6
Merge pull request #3638 from NoelDeMartin/MOBILE-4282
MOBILE-4282: Respect indentation format
2023-04-25 10:17:00 +02:00
Noel De Martin d6781b6488 MOBILE-4290 login: Update help copy 2023-04-24 15:56:10 +02:00
Alfonso Salces c36ba60480 MOBILE-4248 tests: Fix data basic_usage and entries tests 2023-04-24 15:32:10 +02:00
Dani Palou 77605b87f4
Merge pull request #3626 from NoelDeMartin/MOBILE-4288
MOBILE-4288: Filter multilang group strings
2023-04-24 14:31:01 +02:00
Noel De Martin 7a761fd47f MOBILE-4282 course: Respect indentation format 2023-04-24 13:23:02 +02:00
Noel De Martin f019afa920 MOBILE-4282 core: Improve helper types 2023-04-24 13:21:14 +02:00
Noel De Martin 62548b42d0
Merge pull request #3632 from dpalou/MOBILE-4215
Mobile 4215
2023-04-24 12:39:37 +02:00
Dani Palou 781a950853 MOBILE-4215 android: Request notification permission on start 2023-04-24 11:57:09 +02:00
Noel De Martin 3b5d9a6679 MOBILE-4288 multilang: Fix in group selector 2023-04-24 11:25:43 +02:00
Noel De Martin 9180e6e082 MOBILE-4288 multilang: Implement type safety 2023-04-24 11:25:43 +02:00
Noel De Martin b52deca5fe MOBILE-4288 multilang: Clean up 2023-04-24 11:19:55 +02:00
Noel De Martin e74940d2e0 MOBILE-4290 login: Change QR help question order 2023-04-20 17:51:45 +02:00
Noel De Martin e663ee1d9a MOBILE-4290 login: Fix site help
QR question logic was inverted, and classes weren't applied properly
2023-04-20 17:51:26 +02:00
Dani Palou c3bd315355
Merge pull request #3622 from NoelDeMartin/MOBILE-4290
MOBILE-4290: Update site help
2023-04-20 12:58:38 +02:00
Dani Palou 5646dd14e0
Merge pull request #3611 from alfonso-salces/MOBILE-4292
MOBILE-4292 base-profilefield: Translate fields to display
2023-04-19 15:41:11 +02:00
Noel De Martin c06671a760 MOBILE-4188 grades: Fix search results swiping 2023-04-19 15:02:39 +02:00
Noel De Martin fa6eb60470 MOBILE-4188 user: Undo sticky participants search 2023-04-19 15:02:16 +02:00
Alfonso Salces 34a6b75a12 MOBILE-4292 user-profile-field: Assign context always 2023-04-19 14:27:44 +02:00
Alfonso Salces e0edc76b28 MOBILE-4292 base-profilefield: Translate fields to display 2023-04-19 14:27:37 +02:00
Noel De Martin 546dd59693
Merge pull request #3616 from crazyserver/MOBILE-4187
Mobile 4187
2023-04-19 13:39:33 +02:00
Noel De Martin 156f01b743 MOBILE-4290 login: Update help text 2023-04-19 13:36:14 +02:00
Noel De Martin b382486580 MOBILE-4290 login: Collapse site help questions 2023-04-19 13:36:14 +02:00
Noel De Martin bfe9100879 MOBILE-4290 core: Make waitForImages cancellable 2023-04-19 12:56:01 +02:00
Dani Palou 825c1617f1
Merge pull request #3620 from crazyserver/MOBILE-4250
MOBILE-4250 module: Add module summary to preview module page
2023-04-19 12:03:57 +02:00
Pau Ferrer Ocaña 5ef41c6ace MOBILE-4250 module: Add module summary to preview module page 2023-04-19 11:52:14 +02:00
Dani Palou 9e72d79eba
Merge pull request #3618 from NoelDeMartin/MOBILE-4284
MOBILE-4284: Implement custom question numbers in quiz
2023-04-19 11:44:01 +02:00
Pau Ferrer Ocaña 015d0c42f3 MOBILE-4187 app: Do not add url class to body tag 2023-04-19 11:29:17 +02:00
Noel De Martin e77b834ff2 MOBILE-4284 quiz: Replace number w/ questionnumber 2023-04-19 10:07:31 +02:00
Noel De Martin 391dfbdfcc MOBILE-4284 question: Drop unused DB columns
WebSQL doesn't support dropping columns, that's why we're migrating to a new table with the _2 suffix instead.
2023-04-19 10:07:31 +02:00
Noel De Martin 9d1d433489
Merge pull request #3614 from dpalou/MOBILE-4203
MOBILE-4203 behat: Remove temporary capability override
2023-04-19 09:05:10 +02:00
Dani Palou e58df9ae61
Merge pull request #3613 from NoelDeMartin/MOBILE-4270
MOBILE-4270: Fix 3.9 behat tests
2023-04-19 08:46:38 +02:00
Dani Palou 95324f371c
Merge pull request #3617 from moodlehq/MOBILE-4282
MOBILE-4282 course: Implement modules indentation
2023-04-19 08:41:22 +02:00
Dani Palou 6b121f4ec1
Merge pull request #3608 from moodlehq/MOBILE-4277
MOBILE-4277 course: Show modules in course index
2023-04-19 08:09:28 +02:00
Dani Palou 2dbb1f2316
Merge pull request #3615 from alfonso-salces/MOBILE-4245
MOBILE-4245 dev: Listen staging sites changes after view enter
2023-04-18 13:43:06 +02:00
Alfonso Salces 95013c2fda MOBILE-4245 dev: Listen staging sites changes after view enter 2023-04-18 13:29:59 +02:00
Noel De Martin cd87302265 MOBILE-4282 course: Implement modules indentation 2023-04-18 13:02:38 +02:00
Dani Palou 6d238ce468 MOBILE-4203 behat: Remove temporary capability override 2023-04-18 10:52:55 +02:00
Noel De Martin 25f2018cc4 MOBILE-4270 grades: Document duplicated tests 2023-04-18 09:59:18 +02:00
Dani Palou e87408418b
Merge pull request #3583 from NoelDeMartin/MOBILE-4188
MOBILE-4188: Implement teacher gradebook
2023-04-17 14:08:04 +02:00
Noel De Martin 7619d38fb7 MOBILE-4277 course: Show modules in course index
Including the ones that were previously hidden, such as text and label.
2023-04-17 12:32:26 +02:00
Noel De Martin 72229baa80 MOBILE-4270 behat: Rename feature files version 2023-04-17 11:23:19 +02:00
Noel De Martin 0c45d9a654 MOBILE-4188 core: Show sticky participants search 2023-04-17 11:18:59 +02:00
Noel De Martin 8bb6b45159 MOBILE-4188 grades: Implement teacher gradebook 2023-04-17 11:18:59 +02:00
Dani Palou 4d6b97e326 MOBILE-4303 iframe: Treat Vimeo videos in core-iframe component 2023-04-14 12:48:50 +02:00
Dani Palou 0309e7a8c1 MOBILE-4303 iframe: Support auto-login in core-iframe component 2023-04-14 12:26:21 +02:00
Dani Palou 9211b350dc MOBILE-4303 iframe: Avoid trying to access inaccessible iframes
With this change, the error about trying to access an iframe with different protocol, domain or port should no longer appear in console
2023-04-14 12:26:21 +02:00
Dani Palou 28b48ac524
Merge pull request #3594 from NoelDeMartin/MOBILE-2652
MOBILE-2652: Glossary edit & delete entries
2023-04-14 08:16:02 +02:00
Noel De Martin 5de4cfbbd2 MOBILE-2652 glossary: Implement deleting entries 2023-04-13 17:45:19 +02:00
Noel De Martin e48d82ddb2 MOBILE-4311 quiz: Avoid sending NaN to webservice 2023-04-13 13:11:39 +02:00
Dani Palou e14f5002d5
Merge pull request #3602 from moodlehq/MOBILE-4301
MOBILE-4301 core: Drop core.sitenotfound string
2023-04-13 09:36:42 +02:00
Dani Palou 8171da961e
Merge pull request #3604 from NoelDeMartin/MOBILE-4270
MOBILE-4270 core: Add missing error details
2023-04-13 09:36:14 +02:00
Dani Palou 520ec75b1b
Merge pull request #3595 from alfonso-salces/MOBILE-4292
MOBILE-4292 multilang2: Create new multilang filter
2023-04-13 09:02:41 +02:00
Alfonso Salces 98d6733541 MOBILE-4292 base-profilefield: Use displayvalue instead of value 2023-04-13 08:03:08 +02:00
Noel De Martin d3eb50471d MOBILE-4270 core: Add missing error details 2023-04-12 16:31:39 +02:00
Dani Palou 7494f52c79
Merge pull request #3601 from moodlehq/MOBILE-4308
MOBILE-4308 core: Apply no filter to complex icons
2023-04-12 15:59:49 +02:00
Noel De Martin 4d5c18459c MOBILE-4301 core: Drop core.sitenotfound string
String dropped in favour of core.cannotconnect
2023-04-12 15:34:25 +02:00
Dani Palou 0772f4c616 MOBILE-4193 course: Fix 'Invalid regular expression' error 2023-04-12 15:07:04 +02:00
Dani Palou 9fa85bd83e MOBILE-4270 course: Fix exception if load sections fail 2023-04-12 15:06:10 +02:00
Pau Ferrer Ocaña 10f0993c05
Merge pull request #3599 from dpalou/MOBILE-4269
Mobile 4269
2023-04-12 13:27:56 +02:00
Noel De Martin ad5fc0b1b7 MOBILE-4308 core: Apply no filter to complex icons 2023-04-12 12:57:18 +02:00
Noel De Martin 3f701cf7db
Merge pull request #3596 from dpalou/MOBILE-4276
MOBILE-4276 utils: Handle span correctly when counting words
2023-04-11 11:56:58 +02:00
Alfonso Salces 772864245e MOBILE-4292 multilang2: Create new multilang filter 2023-04-10 09:12:35 +02:00
Dani Palou 708165c0e8 MOBILE-4269 sync: Remove 'Error' from sync warning modals 2023-04-05 11:29:51 +02:00
Dani Palou 8cb4b4ec6d MOBILE-4269 h5pactivity: Support save state in offline 2023-04-05 11:29:51 +02:00
Dani Palou abac134cc5 MOBILE-4269 bbb: Add missing lang string 2023-04-05 11:29:51 +02:00
Dani Palou 22aab82f4e MOBILE-4269 h5p: Rename whitelist word 2023-04-05 11:29:51 +02:00
Dani Palou dfe185f28c MOBILE-4269 h5pactivity: Support save state in online 2023-04-05 11:29:51 +02:00
Pau Ferrer Ocaña 4d394af4c6 MOBILE-4270 lang: Remove invalid word from strings 2023-04-04 12:15:42 +02:00
Dani Palou 6603f7d3db MOBILE-4276 utils: Handle span correctly when counting words 2023-03-31 15:15:24 +02:00
Noel De Martin 47d25bbb99
Merge pull request #3590 from dpalou/MOBILE-4203
MOBILE-4203 timezone: Convert 99 to a readable timezone
2023-03-28 08:43:43 +02:00
Dani Palou 36232f04a1 MOBILE-4203 timezone: Convert 99 to a readable timezone 2023-03-28 08:30:13 +02:00
Noel De Martin ea67ecd6ff
Merge pull request #3592 from alfonso-salces/MOBILE-4245
MOBILE-4245 credentials: Fix contact support suggestion  test
2023-03-28 08:11:01 +02:00
Alfonso Salces 552cda8a5b MOBILE-4245 credentials: Fix contact support suggestion test 2023-03-27 15:49:23 +02:00
Dani Palou 874f47ebad
Merge pull request #3560 from alfonso-salces/MOBILE-4245
[4.2] Mobile 4245 - Add new config.json setting to allow to specify staging sites for testing purposes
2023-03-27 08:10:25 +02:00
Alfonso Salces 1506228c74 MOBILE-4245 Credentials: Fix NullInjectorError when provide HttpClient 2023-03-24 15:30:28 +01:00
Pau Ferrer Ocaña 605eededa7
Merge pull request #3591 from dpalou/MOBILE-3535
MOBILE-3535 lesson: Handle localised decimal separator
2023-03-24 14:24:44 +01:00
Dani Palou fae7467c0c MOBILE-3535 lesson: Handle localised decimal separator 2023-03-24 11:52:09 +01:00
Pau Ferrer Ocaña 7f7f547d4d MOBILE-4286 github: Branch name changes 2023-03-23 10:10:21 +01:00
Noel De Martin 461c8b306a MOBILE-4279 behat: Update snapshot icons 2023-03-22 09:50:32 +01:00
Dani Palou 4b9e5afeb2
Merge pull request #3581 from crazyserver/MOBILE-4279
Mobile 4279
2023-03-21 12:53:35 +01:00
Pau Ferrer Ocaña 8efea521d4 MOBILE-4279 fonts: Use new required icon 2023-03-21 12:07:06 +01:00
Pau Ferrer Ocaña d047269d76 MOBILE-4279 fonts: Check aliases new names when parsing 2023-03-21 12:07:06 +01:00
Pau Ferrer Ocaña 902288dd0f MOBILE-4279 fonts: Update Font-awesome names to 6.3 2023-03-21 12:07:06 +01:00
Pau Ferrer Ocaña 8ad85b0f15 MOBILE-4279 fonts: Check for aliases of earlier font-awesome versions 2023-03-21 12:07:06 +01:00
Alfonso Salces 7a78bb9375 MOBILE-4245 Site: Remove load staging sites from site page 2023-03-21 10:15:59 +01:00
Alfonso Salces 856a8a4957 MOBILE-4245 Dev: Add confirmation modal before reload app 2023-03-21 10:10:10 +01:00
Alfonso Salces fe97d32342 MOBILE-4245 Config: update sites type 2023-03-21 10:10:10 +01:00
Alfonso Salces 3e0e29ba2e MOBILE-4245 Dev: Create new setting to control staging sites 2023-03-21 10:10:10 +01:00
Alfonso Salces 101294349e MOBILE-4245 config: Add sites config list 2023-03-21 10:10:10 +01:00
Noel De Martin c84e2be4a1 Revert "MOBILE-4239 behat: Disable snapshot steps"
This reverts commit b2ad6377e8.
2023-03-20 11:20:40 +01:00
Noel De Martin 64136de495 MOBILE-4270 core: Test user profile 2023-03-20 11:20:40 +01:00
Pau Ferrer Ocaña b1495c6c9d MOBILE-4250 course: Improve translation of module names for a11y 2023-03-20 09:50:11 +01:00
Pau Ferrer Ocaña 35bf08e81d MOBILE-4250 course: Remove module name from course module info component 2023-03-16 13:48:07 +01:00
Noel De Martin 605d1c09a4 MOBILE-4270 course: Remove summary component
This hasn't been used for a long time, so it can be removed.
2023-03-16 12:14:59 +01:00
Noel De Martin 98d332138a MOBILE-4270 core: Standardize page modules 2023-03-16 11:02:11 +01:00
Dani Palou 8f6320e012
Merge pull request #3579 from NoelDeMartin/MOBILE-4193
MOBILE-4193 core: Consolidate module icons sources
2023-03-16 09:48:47 +01:00
Noel De Martin f82d3504f6 MOBILE-4193 grades: Avoid filtering rich images 2023-03-15 12:04:36 +01:00
Noel De Martin 0c998b8f8b MOBILE-4193 core: Consolidate module icons sources 2023-03-15 12:04:36 +01:00
Pau Ferrer Ocaña b4bd42b928 MOBILE-4270 sync: Improve sync result types 2023-03-14 15:52:29 +01:00
Pau Ferrer Ocaña 89890a103d MOBILE-4270 course: Correctly align cards 2023-03-14 15:52:29 +01:00
Pau Ferrer Ocaña 5cb74fca86 MOBILE-4270 question: Improve base question component class 2023-03-14 15:52:29 +01:00
Pau Ferrer Ocaña 51bd21163a MOBILE-4270 db: Tweaks on sqlite 2023-03-14 15:50:42 +01:00
Pau Ferrer Ocaña c22424c93e MOBILE-4270 chore: Solve lots of linter warnings 2023-03-14 15:50:42 +01:00
Pau Ferrer Ocaña ec86719833 MOBILE-4270 chore: Final deprecation of CoreIconComponent 2023-03-14 15:50:42 +01:00
Noel De Martin 899356d956
Merge pull request #3576 from dpalou/MOBILE-4271
MOBILE-4271 login: Dont display OAuth icon if empty
2023-03-08 13:17:32 +01:00
Noel De Martin dfea0b9920
Merge pull request #3575 from dpalou/MOBILE-4203
MOBILE-4203 user: Display timezone in user profile
2023-03-08 13:15:57 +01:00
Dani Palou 83fee349eb MOBILE-4271 login: Dont display OAuth icon if empty 2023-03-08 12:58:17 +01:00