Commit Graph

3093 Commits (02e455b6ecd547b1160ff8e2dd01855d6cf48dd6)

Author SHA1 Message Date
Noel De Martin a0a138f686 MOBILE-3321 core: Decouple isMobile from App 2022-06-08 13:17:14 +02:00
Alfonso Salces bc7704a1af MOBILE-4085 course-format: Improve performance with OnPush 2022-06-08 08:27:36 +02:00
Noel De Martin 7fd6a4bd22
Merge pull request #3308 from dpalou/MOBILE-4087
MOBILE-4087 debug: Use 2 decimals in printTablesSummary
2022-06-02 17:26:12 +02:00
Dani Palou 30738670b7 MOBILE-4087 debug: Use 2 decimals in printTablesSummary 2022-06-02 17:12:54 +02:00
Dani Palou 11c1b2a7da
Merge pull request #3302 from NoelDeMartin/MOBILE-4042
MOBILE-4042 calendar: Swipe navigation in event
2022-06-02 09:23:25 +02:00
Noel De Martin 6306bb697f MOBILE-4042 calendar: Swipe navigation in event 2022-06-01 16:28:04 +02:00
Dani Palou 29889169f5 MOBILE-4087 debug: Allow printing tables db summary 2022-06-01 12:14:50 +02:00
Dani Palou 62c3231b8c
Merge pull request #3303 from NoelDeMartin/MOBILE-3988
MOBILE-3988 core: Remove duplicated promise helper
2022-05-31 11:05:04 +02:00
Noel De Martin 6356623664 MOBILE-3988 core: Remove duplicated promise helper 2022-05-31 10:33:54 +02:00
Alfonso Salces b921fd3706 MOBILE-4021 devtools: add pushNotifications instance 2022-05-31 09:54:09 +02:00
Alfonso Salces 1cd9100a56 MOBILE-4081 sites: add logout without require auth again 2022-05-30 13:09:01 +02:00
Dani Palou 6cc731eeea MOBILE-4069 test: Add unit tests to Locutus singleton 2022-05-27 15:20:40 +02:00
Dani Palou e9c8b9cc03 MOBILE-4069 test: Add unit tests to CoreForms singleton 2022-05-27 15:20:40 +02:00
Dani Palou 2548e01907 MOBILE-4069 test: Add unit tests to CoreEvents singleton 2022-05-27 15:20:40 +02:00
Dani Palou a3d2444f2d MOBILE-4069 test: Add unit tests to CoreComponentsRegistry singleton 2022-05-27 15:20:40 +02:00
Dani Palou c0488d1399 MOBILE-4069 test: Add unit tests to CoreColors singleton 2022-05-27 15:20:40 +02:00
Dani Palou 3b30c0f510 MOBILE-4069 test: Add unit tests to CoreBrowser singleton 2022-05-27 15:20:40 +02:00
Dani Palou 0c46992296 MOBILE-4069 test: Add unit tests to CoreArray singleton 2022-05-27 15:09:43 +02:00
Dani Palou d5b6f557a0 MOBILE-4069 singletons: Deprecate CoreArray.contains 2022-05-27 15:09:43 +02:00
Dani Palou 92aac833a3 MOBILE-4069 test: Add more unit tests to CoreUrl singleton 2022-05-27 15:09:43 +02:00
Pau Ferrer Ocaña d897ccffbd Merge remote-tracking branch 'origin/4.1' into integration 2022-05-26 17:05:50 +02:00
Pau Ferrer Ocaña 477254ee0a
Merge pull request #3290 from dpalou/MOBILE-4082
MOBILE-4082 video: Fix subtitles wider than video
2022-05-24 11:26:19 +02:00
Dani Palou 995b4756c0 MOBILE-4082 video: Fix subtitles wider than video 2022-05-24 11:03:34 +02:00
Dani Palou 8360f5793d MOBILE-4067 home: Display Dashboard if WS call fails 2022-05-24 08:06:20 +02:00
Dani Palou a6d30a50c3
Merge pull request #3283 from alfonso-salces/MOBILE-4078
MOBILE-4078 urlschemes: Change regular expression to remove useless c…
2022-05-20 12:40:37 +02:00
Noel De Martin f341983ad0 MOBILE-4081: Fix performance tests 2022-05-19 11:53:41 +02:00
Noel De Martin 0c1b244055 MOBILE-4080 core: Improve devtools settings 2022-05-19 11:53:32 +02:00
Dani Palou 1f12774994
Merge pull request #3282 from alfonso-salces/MOBILE-4074
MOBILE-4074 configs: Add default zoom level
2022-05-19 11:49:58 +02:00
Noel De Martin 70a1e516b4 MOBILE-4081: Fix performance tests 2022-05-19 10:46:31 +02:00
Noel De Martin 15181fb0b7 MOBILE-4080 core: Improve devtools settings 2022-05-19 10:45:14 +02:00
Alfonso Salces a7f2016f9f MOBILE-4074 configs: Add default zoom level 2022-05-19 10:29:26 +02:00
Pau Ferrer Ocaña cb49f03fc4 MOBILE-4079 sites: Add missing awaits while adding a new site 2022-05-18 17:21:38 +02:00
Alfonso Salces 5ea6368a10 MOBILE-4078 urlschemes: Change regular expression to remove useless characters 2022-05-18 12:14:49 +02:00
Pau Ferrer Ocaña 2044576281 MOBILE-4061 behat: Improve step selectors 2022-05-12 17:17:30 +02:00
Pau Ferrer Ocaña 0cb07d839d MOBILE-4061 behat: Fix behat labels 2022-05-12 17:17:30 +02:00
Pau Ferrer Ocaña 51158f4323 MOBILE-4061 core: Fix header not found when navigating from custom URL 2022-05-12 17:17:30 +02:00
Pau Ferrer Ocaña cc3c8906c6 MOBILE-4061 behat: Add shortcuts to enter activities 2022-05-12 17:17:30 +02:00
Pau Ferrer Ocaña cb1a611b5e MOBILE-4061 behat: Fix repeated tests scenario names 2022-05-12 17:17:30 +02:00
Pau Ferrer Ocaña a94da4d804 MOBILE-4061 behat: Generate custom URL to quickly bypass steps on app 2022-05-12 17:17:30 +02:00
Pau Ferrer Ocaña 97862f40f5 MOBILE-4061 behat: Native handle of skip on boarding 2022-05-12 17:17:30 +02:00
Pau Ferrer Ocaña f48885b822 MOBILE-4061 behat: Adapt tests to 3.9-4.0 LMS versions 2022-05-12 15:38:29 +02:00
Pau Ferrer Ocaña dd9669a955 MOBILE-4061 behat: Remove legacy Moodle App v3.9.4 tests 2022-05-12 09:33:08 +02:00
Pau Ferrer Ocaña eb0303d301 MOBILE-4061 behat: Merge import behat files from local-moodlemobileapp 2022-05-12 09:33:01 +02:00
Noel De Martin f0c544df03
Merge pull request #3268 from crazyserver/MOBILE-3881
Mobile 3881
2022-04-22 13:09:16 +02:00
Pau Ferrer Ocaña a1f6f916b0
Merge pull request #3269 from dpalou/MOBILE-3833
MOBILE-3833 mycourses: Display side blocks in my courses
2022-04-22 12:53:53 +02:00
Pau Ferrer Ocaña 0f5416e2f0 MOBILE-3881 timeline: Only show in progress courses 2022-04-22 12:51:28 +02:00
Dani Palou cc24b2c7ff MOBILE-3833 mycourses: Display side blocks in my courses 2022-04-22 12:38:05 +02:00
Pau Ferrer Ocaña ddeefef8d7
Merge pull request #3266 from NoelDeMartin/MOBILE-3833
MOBILE-3833 usertours: Watch collapsible header
2022-04-22 12:36:11 +02:00
Pau Ferrer Ocaña 6d0b53f034 MOBILE-3881 timeline: Fix minimim time to get events from 2022-04-22 11:17:38 +02:00
Dani Palou b398b084b5 MOBILE-3833 module: Fix summary not loaded if cannot view grades 2022-04-22 09:55:53 +02:00
Noel De Martin 740b5332ce MOBILE-3833 usertours: Watch collapsible header 2022-04-22 09:14:09 +02:00
Dani Palou c644eeb1e1
Merge pull request #3265 from crazyserver/MOBILE-3833
Mobile 3833
2022-04-21 16:49:32 +02:00
Pau Ferrer Ocaña e502c73392 MOBILE-3833 signup: Add a wrapper container and remove refresher 2022-04-21 16:31:50 +02:00
Dani Palou b6e08cc41d MOBILE-3833 tours: Fix some tours not appearing in iOS 2022-04-21 14:20:14 +02:00
Dani Palou c3c8594199 MOBILE-3833 user-tours: Fix close user tours in iOS 12 2022-04-21 14:20:14 +02:00
Pau Ferrer Ocaña 3627e3fde5 MOBILE-3833 signup: Fix min date on datetime user profile 2022-04-21 14:00:27 +02:00
Dani Palou 21200eab21 MOBILE-3833 swipe-slides: Fix slides width after resize 2022-04-21 09:51:24 +02:00
Dani Palou 785d8390e8 MOBILE-3833 course: Fix conflict with automatic scrolls 2022-04-21 08:55:26 +02:00
Dani Palou fff702edab MOBILE-3833 course: Remove unneeded scroll handling 2022-04-20 17:36:16 +02:00
Dani Palou 22ca30d994
Merge pull request #3259 from crazyserver/MOBILE-3833
Mobile 3833
2022-04-20 17:11:28 +02:00
Pau Ferrer Ocaña a87f77cdaf MOBILE-3833 loading: Hide content when iframe is not loaded 2022-04-20 16:54:07 +02:00
Dani Palou 5445d24a57 MOBILE-3833 siteplugins: Use theme icon if present for modules 2022-04-20 09:24:13 +02:00
Dani Palou 63bc43ceb4
Merge pull request #3256 from crazyserver/MOBILE-3833
Mobile 3833
2022-04-19 16:35:32 +02:00
Pau Ferrer Ocaña ff369b0e09
Merge pull request #3255 from alfonso-salces/MOBILE-3833
MOBILE-3833 quiz: Fix scroll to question
2022-04-19 16:24:18 +02:00
Pau Ferrer Ocaña 91e8d8af55 MOBILE-3833 loading: Fix loading occupying full height 2022-04-19 15:58:45 +02:00
Pau Ferrer Ocaña ffa95a5115 MOBILE-3833 loading: Let the user scroll on the content on iOS 2022-04-19 15:58:45 +02:00
Alfonso Salces b84a4a7aa8 MOBILE-3833 quiz: Fix scroll to question 2022-04-19 14:06:24 +02:00
Dani Palou 29b01837c1
Merge pull request #3253 from alfonso-salces/MOBILE-3833
MOBILE-3833 mod-quiz: show eye in password input
2022-04-19 11:25:38 +02:00
Alfonso Salces 70a4f1df40 MOBILE-3833 show-password: fix show password eye icon 2022-04-19 11:07:46 +02:00
Pau Ferrer Ocaña 413c661eda
Merge pull request #3254 from dpalou/MOBILE-3833
Mobile 3833
2022-04-19 10:19:02 +02:00
Dani Palou 542604f894 MOBILE-3833 core: Hide sensitive info in open browser warning 2022-04-14 11:47:39 +02:00
Dani Palou dab598f473 MOBILE-3833 core: Fix error when renaming local file 2022-04-13 16:10:10 +02:00
Dani Palou 7097d3c9fc MOBILE-3833 core: Update handlers when user completes profile 2022-04-13 16:10:10 +02:00
Noel De Martin e79172518e MOBILE-3833 core: Add missing managers destroy 2022-04-13 13:56:11 +02:00
Noel De Martin 2c8850b669
Merge pull request #3250 from dpalou/MOBILE-3833
Mobile 3833
2022-04-13 10:36:00 +02:00
Dani Palou deb3b7a1f9 MOBILE-3833 mod: Fix empty availability box in unsupported 2022-04-13 09:14:24 +02:00
Noel De Martin 49b4d13e9a MOBILE-3833 core: Remove element on destroy
Angular usually removes elements, but in the collapsible-footer it needs to be done manually because it was moved to a different container
2022-04-12 16:44:59 +02:00
Noel De Martin 0708081868
Merge pull request #3247 from dpalou/MOBILE-3833
Mobile 3833
2022-04-12 11:05:15 +02:00
Dani Palou 56a9a432b8 MOBILE-3833 mainmenu: Add log when select first tab 2022-04-12 10:44:21 +02:00
Dani Palou 83e7abec1b MOBILE-3833 time: Stop using moment in formatTime 2022-04-12 10:44:20 +02:00
Dani Palou 0413aa87bf MOBILE-3833 settings: Don't reload whole app when change language 2022-04-12 10:41:39 +02:00
Dani Palou c93d6bccd3
Merge pull request #3241 from NoelDeMartin/MOBILE-3833
MOBILE-3833: Tweaks
2022-04-11 10:31:34 +02:00
Noel De Martin 3ad99b7d3d MOBILE-3833 usertours: Watch main menu visibility 2022-04-11 09:32:25 +02:00
Pau Ferrer Ocaña 6af2141284 MOBILE-3833 siteplugins: Use new icon function 2022-04-08 16:25:46 +02:00
Pau Ferrer Ocaña 72c516b88c MOBILE-3833 settings: Warn user to restart app on language change 2022-04-08 16:25:46 +02:00
Pau Ferrer Ocaña c5b8b4fb19 MOBILE-3833 assignment: Add collapsible footer action buttons 2022-04-08 16:25:46 +02:00
Pau Ferrer Ocaña 155ec962ed
Merge pull request #3243 from dpalou/MOBILE-3833
Mobile 3833
2022-04-08 12:40:08 +02:00
Dani Palou 0e74f73549 MOBILE-3833 core: Save public config in cache 2022-04-08 12:19:54 +02:00
Dani Palou d4695dd845 MOBILE-3833 course: Display loading in course index
This improves performance in old deviced or big courses
2022-04-08 10:23:18 +02:00
Alfonso Salces eb9a6f1023 MOBILE-3833 site-onboarding: Do not show browser warning before open url 2022-04-08 09:44:59 +02:00
Dani Palou 8c41be3520 MOBILE-3833 core: Block logout when a form is active 2022-04-08 08:06:26 +02:00
Dani Palou ef405e4309 MOBILE-3833 capture: Fix non-null assertions and types 2022-04-07 14:28:42 +02:00
Dani Palou 15b6e12b04 MOBILE-3833 capture: Fix discard in-app audio in device 2022-04-07 14:28:42 +02:00
Dani Palou 4aeababbf6 MOBILE-3833 audio: Allow capture audio in app in Android 10+
This was disabled before because there was a bug in the Cordova plugin, but it seems to be fixed now
2022-04-07 14:28:42 +02:00
Dani Palou 7a718a727c MOBILE-3833 core: Fix open module in course 2022-04-07 14:28:42 +02:00
Pau Ferrer Ocaña 69ffb7ea10 MOBILE-3833 loading: Fix incorrect order of DOM on iOS 2022-04-07 13:43:29 +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 d3abd7176e
Merge pull request #3238 from dpalou/MOBILE-3833
Mobile 3833
2022-04-06 16:43:43 +02:00
Dani Palou 195c8d94e6 MOBILE-3833 core: Add '^' dynamically in link handlers 2022-04-06 16:25:55 +02:00
Pau Ferrer Ocaña 946292c0fd MOBILE-3833 user-tours: Fix flicking swipe tour 2022-04-06 15:53:10 +02:00
Pau Ferrer Ocaña 7236dd34c1 MOBILE-3833 user-tours: Listen to changes on scroll and resize 2022-04-06 15:40:43 +02:00
Pau Ferrer Ocaña 9de662f896 MOBILE-3833 timeline: Import styles from myoverview 2022-04-06 11:00:42 +02:00
Pau Ferrer Ocaña be8ed25daa MOBILE-3833 course: Deprecate skipListStatus on prefetch handlers 2022-04-06 09:53:54 +02:00
Dani Palou 8ca0325571
Merge pull request #3231 from crazyserver/MOBILE-3833
Mobile 3833
2022-04-05 16:16:54 +02:00
Dani Palou e8c94a3a80 MOBILE-4022 core: Use new setting autologinmintimebetweenreq 2022-04-05 15:52:24 +02:00
Pau Ferrer Ocaña cff39f065f MOBILE-3833 badges: Fix missing expired overlay 2022-04-05 15:49:23 +02:00
Pau Ferrer Ocaña f81ddb374d MOBILE-3833 files: Revert size of filetype assets
This reverts commit 1c2da44b44.
2022-04-05 15:25:32 +02:00
Pau Ferrer Ocaña 8f0c0bcfbb MOBILE-3833 storage: Show download buttons on downloadable modules 2022-04-05 15:15:55 +02:00
Pau Ferrer Ocaña de9a478633 MOBILE-3833 dev: Add the option to reset user tours 2022-04-05 15:15:55 +02:00
Pau Ferrer Ocaña 568f161550
Merge pull request #3230 from dpalou/MOBILE-3833
Mobile 3833
2022-04-05 12:37:10 +02:00
Dani Palou 2f39512552 MOBILE-3833 course: Make last access coherent with recent block 2022-04-05 12:19:37 +02:00
Dani Palou 525218a4a0 MOBILE-3833 comments: Don't display Sync option in offline 2022-04-05 11:46:31 +02:00
Pau Ferrer Ocaña 512422d21b
Merge pull request #3228 from alfonso-salces/MOBILE-3833
Mobile 3833
2022-04-05 11:26:51 +02:00
Alfonso dc4aabd2e3 MOBILE-3833 module-summary: Delete size when remove files 2022-04-05 11:03:41 +02:00
Dani Palou e6b76f705d MOBILE-3833 user-menu: Fix blink effect in handlers 2022-04-05 10:49:22 +02:00
Noel De Martin 78a51dbffa
Merge pull request #3221 from dpalou/MOBILE-4015
Mobile 4015
2022-04-05 10:03:18 +02:00
Dani Palou e85acc6868 MOBILE-4015 course: Fix keep scroll when refresh 2022-04-05 09:35:56 +02:00
Dani Palou dc6ca1f085 MOBILE-4015 core: Support refresh on resume with data-app-url 2022-04-05 09:35:56 +02:00
Pau Ferrer Ocaña bb523b1413 MOBILE-3833 collapsible: Revert to listen ionViewDidEnter again 2022-04-04 10:26:30 +02:00
Dani Palou 6504f29124
Merge pull request #3222 from crazyserver/MOBILE-3833
Mobile 3833
2022-04-01 14:58:48 +02:00
Pau Ferrer Ocaña 230e42ab5d MOBILE-3833 style: Small fix on empty box 2022-04-01 14:43:45 +02:00
Pau Ferrer Ocaña d776cbe054 MOBILE-3833 format-text: Change expand image icon 2022-04-01 14:38:12 +02:00
Pau Ferrer Ocaña dc934ffcb2 MOBILE-3833 my: Revert to basic filters with advanced option 2022-04-01 14:38:12 +02:00
Pau Ferrer Ocaña 50c3985822 MOBILE-3833 collapsible: Change collapsible visible strategy 2022-04-01 14:38:12 +02:00
Pau Ferrer Ocaña e3e54ec194 MOBILE-3833 collapsible: Fix collapsible header enabled 2022-04-01 13:29:20 +02:00
Pau Ferrer Ocaña 2ce808dfab MOBILE-3833 my: Move search to empty box on my overview 2022-04-01 13:29:20 +02:00
Pau Ferrer Ocaña 6d13fdf6a7 MOBILE-3833 style: Restyle spacers 2022-04-01 13:29:15 +02:00
Dani Palou 910d557b87 MOBILE-4015 core: Support data-app-url attribute 2022-03-31 17:16:19 +02:00
Dani Palou 74660541ed
Merge pull request #3220 from NoelDeMartin/MOBILE-3833
MOBILE-3833: Fix manual completion & update dependencies
2022-03-31 16:56:14 +02:00
Dani Palou c57d9f8237
Merge pull request #3219 from crazyserver/MOBILE-3833
Mobile 3833
2022-03-31 16:09:56 +02:00
Pau Ferrer Ocaña 82b350c105 MOBILE-3833 dom: Size does not depend on scroll position 2022-03-31 14:50:35 +02:00
Pau Ferrer Ocaña eeb67f3341 MOBILE-3833 navbar-buttons: Wait content to be ready before searching 2022-03-31 14:50:35 +02:00
Pau Ferrer Ocaña bc2e38dece MOBILE-3833 collapsible: Do not init collapsible heading if not needed 2022-03-31 13:24:51 +02:00
Dani Palou a690353ad7 MOBILE-3833 core: Fix collisions in link handlers
The /admin handlers haven't been modified because that folder can be moved to somewhere else in some Moodle versions
2022-03-31 13:02:52 +02:00
Pau Ferrer Ocaña 46dd468314 MOBILE-3833 styles: Improve offline notification styles 2022-03-31 12:46:41 +02:00
Pau Ferrer Ocaña c0a0d3bff6 MOBILE-3833 iframe: Fix iframe heights 2022-03-31 12:08:05 +02:00
Pau Ferrer Ocaña cdeb4af6da MOBILE-3833 collapsible: Wait tabs to be ready 2022-03-31 12:08:05 +02:00
Pau Ferrer Ocaña 23275c7903 MOBILE-3833 styles: Fix show password button position 2022-03-31 12:08:04 +02:00
Pau Ferrer Ocaña 73d5648cb0 MOBILE-3833 tabs: Reduce tabs layouts 2022-03-31 12:08:04 +02:00
Pau Ferrer Ocaña b2246a01c5 MOBILE-3833 tabs: Fix tab size calculations 2022-03-31 12:08:04 +02:00
Noel De Martin 5434a1a4f3 MOBILE-3833 course: Fix manual completion db
Issue introduced by mistake in b72e247f81 (diff-d5618a894713624722f8d892b9befe9b865f16cc00593ee23f420047917d3fcaR112)
2022-03-31 12:01:29 +02:00
Noel De Martin 7a7950f49c MOBILE-3833 dx: Expose app provider in devtools 2022-03-31 12:00:47 +02:00
Pau Ferrer Ocaña f56cfa3ab6 MOBILE-3833 tabs: Remove MAX_HEIGHT_TO_HIDE_TABS and scroll hide 2022-03-31 11:14:44 +02:00
Pau Ferrer Ocaña 0336ab0808 MOBILE-3833 module: Make module navigation less prominent 2022-03-31 11:14:44 +02:00
Pau Ferrer Ocaña 442a3ec856 MOBILE-3833 module: Disable visited module styles 2022-03-31 11:14:44 +02:00
Pau Ferrer Ocaña c40b792f5d MOBILE-3833 style: Normalize font-size on cards 2022-03-31 11:14:44 +02:00
Pau Ferrer Ocaña a17886ad53 MOBILE-3833 collapsible: Do not calculate if not visible 2022-03-31 11:14:44 +02:00
Pau Ferrer Ocaña 1ae5c6b3a7
Merge pull request #3213 from alfonso-salces/MOBILE-3833
MOBILE-3833 module-summary: format file size to readable size only wh…
2022-03-31 10:13:25 +02:00
Dani Palou 3cf267efcb
Merge pull request #3214 from NoelDeMartin/MOBILE-3833
MOBILE-3833: User tour improvements
2022-03-31 09:46:10 +02:00
Noel De Martin c530260abc
Merge pull request #3212 from alfonso-salces/MOBILE-4017
Mobile 4017
2022-03-31 08:25:14 +02:00