Commit Graph

1267 Commits (92247d04e16dff6854f7bd9f21928e6eda375ec8)

Author SHA1 Message Date
Noel De Martin 2e69497c13 MOBILE-3286 utils: Refactor CoreUrl and expose to plugins 2020-01-21 10:43:49 +01:00
Noel De Martin 28404f8b25 MOBILE-3286 login: Parse url domain if site wasn't found 2020-01-16 15:45:32 +01:00
Dani Palou 16daf6661f MOBILE-3302 desktop: Fix unzip files in desktop apps 2020-01-16 15:19:42 +01:00
Pau Ferrer Ocaña f4fdafefc6 MOBILE-3266 language: Fix some missing translations 2020-01-14 16:44:20 +01:00
Juan Leyva dbac7520ed
Merge pull request #2232 from dpalou/MOBILE-3242
MOBILE-3242 ui: Display different cursor in all clickable elements
2020-01-14 14:47:21 +01:00
Dani Palou 00544125e4 MOBILE-3239 block: Don't fetch data in invalidate for site plugin blocks 2020-01-14 12:59:16 +01:00
Dani Palou 7dadd08a30 MOBILE-3277 siteplugins: Don't clone the js result of init
The init JS can return providers with dependencies, making this clone extremely slow
2020-01-14 09:58:36 +01:00
Dani Palou f2f17a4d1b MOBILE-3277 siteplugins: Let site plugins use the fetchContent function 2020-01-14 09:58:36 +01:00
Dani Palou 2cd6ef5347 MOBILE-3267 more: Filter site name in more tab 2020-01-13 13:00:37 +01:00
Dani Palou e35bebd9af MOBILE-3242 ui: Display different cursor in all clickable elements 2020-01-10 10:41:36 +01:00
Travis CI User 9b6d227de3 Update lang files [ci skip] 2019-12-19 20:17:11 +00:00
Juan Leyva c6dee63be5
Merge branch 'master' into integration 2019-12-19 21:12:14 +01:00
Juan Leyva c485afee02
Merge pull request #2218 from dpalou/MOBILE-3213
Mobile 3213
2019-12-17 12:31:48 +01:00
Dani Palou e92a615fd5 MOBILE-3213 h5p: Fix closing tag in content validator 2019-12-17 11:47:47 +01:00
Juan Leyva 6976e489c4
Merge pull request #2217 from NoelDeMartin/MOBILE-3213
Mobile 3213
2019-12-17 11:45:20 +01:00
Noel De Martin 89e90624b3 MOBILE-3213 files: Improve download message with 0 bytes. 2019-12-17 10:11:11 +01:00
Tien Nguyen 450cffd7f8 MOBILE-3253 course: Fix completion's accessibility issue with VoiceOver 2019-12-17 16:03:16 +07:00
Dani Palou 3d5041de7c MOBILE-3213 ios: Add timestamp to some files in iOS 2019-12-17 10:01:09 +01:00
Pau Ferrer Ocaña 5fa8f61d9d MOBILE-3213 scorm: Fix unzip using emulator 2019-12-16 15:47:24 +01:00
Pau Ferrer Ocaña 75ea013503 MOBILE-3213 course: Fix section selector padding 2019-12-16 15:47:24 +01:00
Juan Leyva fb1096381e
Merge pull request #2213 from dpalou/MOBILE-3213
Mobile 3213
2019-12-13 18:53:14 +01:00
Juan Leyva d103f50769
Merge pull request #2212 from crazyserver/MOBILE-3213
Mobile 3213
2019-12-13 18:50:15 +01:00
Juan Leyva 60598528b8
Merge pull request #2211 from NoelDeMartin/MOBILE-3245
Mobile 3245
2019-12-13 15:05:43 +01:00
Pau Ferrer Ocaña 1d8cf13348 MOBILE-3213 course: Pass section on activities block 2019-12-13 13:22:44 +01:00
Pau Ferrer Ocaña 9ee135e0b5 MOBILE-3213 settings: Hide space usage values when loading 2019-12-13 12:13:33 +01:00
Dani Palou 5053274a85 MOBILE-3213 resource: Fix PTR on mod resource 2019-12-13 09:30:17 +01:00
Juan Leyva 11a91c4cb6
Merge pull request #2207 from dpalou/MOBILE-3213
MOBILE-3213 core: Fix exception when invalidate site plugin content
2019-12-12 10:07:15 +01:00
Dani Palou ee4bf2944c MOBILE-3213 core: Fix exception when invalidate site plugin content 2019-12-12 09:26:40 +01:00
Juan Leyva a317925844
Merge pull request #2205 from dpalou/MOBILE-3213
MOBILE-3213 h5p: Send a resize event instead of a ready event
2019-12-11 14:05:56 +01:00
Noel De Martin 5ba3c03d91 MOBILE-3245 naming: Prefix ReadingStrategy name with CoreSites 2019-12-11 13:33:31 +01:00
Noel De Martin accb83b339 MOBILE-3245 grades: Fix network methods calls when populating grades 2019-12-11 13:32:00 +01:00
Dani Palou cb4c666cb7 MOBILE-3213 h5p: Send a resize event instead of a ready event 2019-12-11 11:47:00 +01:00
Juan Leyva 40fac1b6a3
Merge pull request #2203 from dpalou/MOBILE-3213
Mobile 3213
2019-12-11 10:53:49 +01:00
Noel De Martin 5337c77b7e MOBILE-3245 grades: Fix course data population in grades 2019-12-11 10:50:10 +01:00
Dani Palou 8d30c0be97 MOBILE-3213 core: Run script that removes types from JSDoc 2019-12-11 08:21:20 +01:00
Dani Palou b427c8a52a MOBILE-3213 h5p: Support fullscreen in H5P iframe 2019-12-10 16:20:06 +01:00
Dani Palou 49d33fb9e4 MOBILE-3213 h5p: Fix resize in h5p.org packages 2019-12-10 13:29:20 +01:00
Pau Ferrer Ocaña 6e5f8319e4 MOBILE-3213 lang: Use a variable to determine minimum version 2019-12-10 12:27:15 +01:00
Dani Palou e0849668e3 MOBILE-2235 h5p: Support and use isEnabled function in file delegate 2019-12-09 15:37:00 +01:00
Dani Palou 40fc0e2b00 MOBILE-2235 core: Use isStateDownloaded where it should 2019-12-09 15:34:28 +01:00
Dani Palou 5dae06ff81 MOBILE-2235 h5p: Fix issues identified during PeerReview 2019-12-09 15:34:28 +01:00
Dani Palou 1a2ea9485f MOBILE-2235 h5p: Fix check download for external h5p packages 2019-12-09 14:24:32 +01:00
Dani Palou 56faa66adc MOBILE-2235 h5p: Implement and use content validator 2019-12-09 14:24:32 +01:00
Dani Palou 3da7c99fd8 MOBILE-2235 h5p: Download in background after play 2019-12-09 14:24:32 +01:00
Dani Palou 5903975e8c MOBILE-2235 h5p: Handle display options 2019-12-09 14:24:32 +01:00
Dani Palou ad716ce07e MOBILE-2235 h5p: Delete content data if original file is deleted 2019-12-09 14:24:32 +01:00
Dani Palou d5e12fb136 MOBILE-2235 h5p: Delete index files when updating libs 2019-12-09 14:24:32 +01:00
Dani Palou ea2aa48d77 MOBILE-2235 h5p: Include resizer scripts 2019-12-09 14:24:32 +01:00
Dani Palou fb898f6f05 MOBILE-2235 h5p: Save content and create player 2019-12-09 14:24:32 +01:00
Dani Palou ef5f96a643 MOBILE-2235 h5p: Include core H5P libraries and assets 2019-12-09 14:24:32 +01:00
Dani Palou 93259097d6 MOBILE-2235 h5p: Install H5P libraries and save content 2019-12-09 14:24:32 +01:00
Dani Palou c4a58d9ee8 MOBILE-2235 h5p: Implement H5P download and unzip 2019-12-09 14:24:32 +01:00
Dani Palou 9b637fc496 MOBILE-2235 h5p: Display download button in H5P placeholder 2019-12-09 14:17:08 +01:00
Dani Palou 690544afbf MOBILE-2235 h5p: Show placeholder instead of H5P directly 2019-12-09 14:17:08 +01:00
Juan Leyva 0305dce991
Merge pull request #2197 from crazyserver/MOBILE-3201
Mobile 3201
2019-12-09 11:53:37 +01:00
Dani Palou 82eded5e5f MOBILE-3095 core: Make easier to support label site plugins 2019-12-09 11:37:47 +01:00
Pau Ferrer Ocaña c94c319225 MOBILE-3201 log: Delete logs if WS call fails 2019-12-05 17:19:15 +01:00
Juan Leyva 0d4b990332
Merge pull request #2187 from dpalou/MOBILE-3227
Mobile 3227
2019-12-04 15:54:32 +01:00
Juan Leyva 24197e3657
Merge pull request #2186 from NoelDeMartin/MOBILE-3235
Mobile 3235
2019-12-04 15:48:31 +01:00
Pau Ferrer Ocaña 05fafe3e67 MOBILE-3210 myoverview: Add custom filters 2019-12-04 15:27:27 +01:00
Juan Leyva 4114603bda
Merge pull request #2182 from crazyserver/MOBILE-3217
Mobile 3217
2019-12-04 15:08:45 +01:00
Pau Ferrer Ocaña bc33ae3bf8 MOBILE-3217 course: Check colors array is populated 2019-12-04 15:07:22 +01:00
Pau Ferrer Ocaña 5a7bff9bb9 MOBILE-2877 comments: Fix comments offline load 2019-12-04 12:04:31 +01:00
Dani Palou dca93cb6e4 MOBILE-3227 filter: Get all course blocks filters at once 2019-12-04 11:50:53 +01:00
Dani Palou 466da5c7af MOBILE-3227 filter: Get all enrolled courses filters at once 2019-12-04 11:32:04 +01:00
Pau Ferrer Ocaña 1daa5c57c9 MOBILE-3205 forum: Refresh info after pin or star 2019-12-04 10:17:28 +01:00
Dani Palou 3f842b8483 MOBILE-1501 participants: Select first when search or clear 2019-12-03 15:08:35 +01:00
Pau Ferrer Ocaña ce602321ff MOBILE-3218 links: Adapt links to new handler functions 2019-12-03 13:06:48 +01:00
Pau Ferrer Ocaña ed1fc4c09d MOBILE-3218 course: Add general navigation to module by instance 2019-12-03 13:06:48 +01:00
Pau Ferrer Ocaña 2a6a3876b9 MOBILE-3217 course: Support custom course card colors 2019-12-03 11:00:26 +01:00
Noel De Martin cf4331bc89 MOBILE-3235 core: Rename 'category' context level to 'coursecat'
Renamed in order to remain consistent with the LMS.
2019-12-02 13:25:47 +01:00
Pau Ferrer Ocaña f16042ee7d MOBILE-2877 assign: Leave feedback comment enabled 2019-12-02 12:31:54 +01:00
Noel De Martin 31c4595bbd MOBILE-3235 core: Rename ContextLevel enum keys 2019-12-02 11:17:24 +01:00
Noel De Martin 46cc61cc01 MOBILE-3235 core: Add enumeration defining available context levels 2019-11-28 17:18:13 +01:00
Pau Ferrer Ocaña 85b4395909 MOBILE-2877 comments: Sync comments views 2019-11-28 14:16:11 +01:00
Travis CI User 3cefd6b557 Update lang files [ci skip] 2019-11-28 09:54:48 +00:00
Juan Leyva ba16e1ca61
Merge pull request #2172 from crazyserver/MOBILE-3228
MOBILE-3228 login: Match login and reconnect pages
2019-11-27 17:08:37 +01:00
Pau Ferrer Ocaña f5fdac6df9 MOBILE-3228 login: Match login and reconnect pages 2019-11-27 14:28:32 +01:00
Noel De Martin a401649b94 MOBILE-3206 lang: Update invalid moodle version message 2019-11-27 10:54:27 +01:00
Juan Leyva 128f683feb
Merge pull request #2168 from crazyserver/MOBILE-2972
MOBILE-2972 blocks: Show categories when configured to be shown
2019-11-26 16:42:21 +01:00
Juan Leyva 9846e40c8c
Merge pull request #2166 from dpalou/MOBILE-1501
MOBILE-1501 participants: Empty split view when new search
2019-11-25 14:54:22 +01:00
Pau Ferrer Ocaña c35cdd04f8 MOBILE-2972 blocks: Show categories when configured to be shown 2019-11-25 10:41:02 +01:00
Juan Leyva 659539c8a2
Merge pull request #2165 from dpalou/MOBILE-3211
MOBILE-3211 siteplugins: Use current page title if not defined
2019-11-22 16:19:59 +01:00
Pau Ferrer Ocaña 69fc9d2d84 MOBILE-3215 style: Add styles to improve bma handling 2019-11-22 10:32:06 +01:00
Juan Leyva c35f9311d7
Merge pull request #2161 from crazyserver/MOBILE-3190
MOBILE-3190 block_myoverview: Add 3.8 course filters except custom
2019-11-22 09:51:00 +01:00
Pau Ferrer Ocaña e3e559da6f MOBILE-3157 utils: Add shortcut for delete confirmations 2019-11-21 16:14:59 +01:00
Pau Ferrer Ocaña 1507b0f846 MOBILE-3190 block_myoverview: Add 3.8 course filters except custom 2019-11-21 12:56:47 +01:00
Dani Palou 77577a665e MOBILE-1501 participants: Empty split view when new search 2019-11-14 12:32:19 +01:00
Dani Palou 961c873d80 MOBILE-3164 files: Use tokenpluginfile if possible 2019-11-08 13:48:37 +01:00
Juan Leyva 44df1d4c2b
Merge pull request #2149 from dpalou/MOBILE-1501
MOBILE-1501 participants: Allow searching participants
2019-11-08 12:51:21 +01:00
Juan Leyva f223857bda
Merge pull request #2148 from dpalou/MOBILE-3121
MOBILE-3121 UX: Add label to "Remove files" menu item
2019-11-08 12:37:02 +01:00
Dani Palou 481110e5d2 MOBILE-3211 siteplugins: Use current page title if not defined 2019-11-08 08:32:11 +01:00
Dani Palou d8a1d2d956 MOBILE-3195 login: Allow to disable forgotten password 2019-11-07 17:45:16 +01:00
Mark Johnson f4017797db MOBILE-3121 UX: Add label to "Remove files" menu item 2019-11-07 10:09:33 +01:00
Juan Leyva 53a91a77c6
Merge pull request #2140 from dpalou/MOBILE-1611
Mobile 1611
2019-11-07 10:02:14 +01:00
Dani Palou 127e391cf4 MOBILE-1611 filter: Don't force cache when getting modules 2019-11-07 10:01:21 +01:00
Juan Leyva 65afcc87c3
Merge pull request #2138 from dpalou/MOBILE-3182
MOBILE-3182 core: Fix message when module is disabled
2019-11-06 15:53:04 +01:00
Juan Leyva c5f237001d
Merge pull request #2136 from sammarshallou/MOBILE-3180
MOBILE-3180 Site plugins: Plugin pages offline can break navigation
2019-11-06 15:49:03 +01:00
Dani Palou 7876d75ac2 MOBILE-1611 filter: Don't filter other sites 2019-10-29 14:52:44 +01:00
Dani Palou c18d8b1d12 MOBILE-1611 mathjax: Support MathJax in the app 2019-10-29 14:52:44 +01:00
Dani Palou 4b3c18d03d MOBILE-1501 participants: Allow searching participants 2019-10-25 15:19:40 +02:00
Dani Palou a2e37d26c8 MOBILE-3182 core: Fix message when module is disabled 2019-10-25 09:58:45 +02:00
Pau Ferrer Ocaña 31a7716a6b MOBILE-3144 settings: Avoid auto color scheme on iOS 2019-10-24 14:09:32 +02:00
Pau Ferrer Ocaña 74e3a4c55c MOBILE-3093 login: Fix string typo 2019-10-24 08:28:40 +02:00
Pau Ferrer Ocaña ca6a50e8e4 MOBILE-3177 login: Support new minimum version setting 2019-10-24 08:28:12 +02:00
Dani Palou 45a05c261c MOBILE-3163 core: Remove Classic app warning 2019-10-17 17:32:23 +02:00
Juan Leyva eb19e61a2d
Merge pull request #2128 from dpalou/MOBILE-2491
Mobile 2491
2019-10-16 11:01:32 +02:00
Dani Palou 8a57a0a590 MOBILE-3167 dashboard: Set fallback blocks visibility to true 2019-10-15 11:45:21 +02:00
Dani Palou 85cd3a748a MOBILE-2491 filter: Pass filter providers to compile 2019-10-09 15:08:13 +02:00
Dani Palou 0d41e7206c MOBILE-2491 filter: Prefetch filters 2019-10-08 12:40:01 +02:00
Dani Palou b99d31ca61 MOBILE-2491 filter: Use instanceid 0 for system context 2019-10-08 12:40:01 +02:00
Dani Palou 6c219b5246 MOBILE-2491 filter: Change copyright of filter files 2019-10-08 12:40:01 +02:00
Dani Palou 08c8487646 MOBILE-2491 filter: Add memory caches to speed up filter 2019-10-08 12:40:01 +02:00
Dani Palou 30a5e83056 MOBILE-2491 filter: Minimize WS calls for module context 2019-10-08 12:40:01 +02:00
Dani Palou 31caccc396 MOBILE-2491 filter: Support wsNotFiltered option and filter in chart 2019-10-08 12:40:01 +02:00
Dani Palou 952ce4939b MOBILE-2491 filter: Apply filters to all views that need it 2019-10-08 12:40:01 +02:00
Dani Palou 88323319bc MOBILE-2491 filter: Implement basic filters 2019-10-08 08:17:40 +02:00
Albert Gasset 7e6a46b028 MOBILE-3093 login: Change password page 2019-10-07 09:51:56 +02:00
Dani Palou 26a3b4a9de MOBILE-2491 filter: Create filter delegate 2019-10-03 11:28:29 +02:00
Dani Palou 456426ac6d MOBILE-2491 filter: Create filter provider 2019-10-03 11:28:29 +02:00
Albert Gasset ef40dfe74c MOBILE-2159 core: Geolocation support 2019-10-02 10:12:19 +02:00
Pau Ferrer Ocaña a809f624fe MOBILE-3175 other: Change Copyright author 2019-10-02 09:08:21 +02:00
Juan Leyva eaee7e5152
Merge pull request #2119 from crazyserver/MOBILE-3026
Mobile 3026
2019-10-01 17:31:24 +02:00
Juan Leyva 3ec572362d
Merge pull request #2118 from crazyserver/MOBILE-3166
MOBILE-3166 tags: Remove auto focus from search box
2019-10-01 17:23:43 +02:00
Juan Leyva 4634e5e0ea
Merge pull request #2117 from crazyserver/MOBILE-3131
MOBILE-3131 signup: Propagate country from age verification
2019-10-01 17:22:32 +02:00
Juan Leyva ed7a212a8f
Merge pull request #2116 from crazyserver/MOBILE-3123
MOBILE-3123 style: Add some safe areas for notch
2019-10-01 17:20:44 +02:00
sam marshall c86bec7db2 MOBILE-3180 Site plugins: Plugin pages offline can break navigation
For pages served via a site plugin, if the page has never been viewed
(there is no cached version) then if you try to view the page when
offline, the navigation broke because page loading never finished.

This change makes it finish page loading (with a blank page) if it
shows the error about failing to load it.
2019-10-01 14:23:20 +01:00
Pau Ferrer Ocaña 4b1ce3b234 MOBILE-3166 tags: Remove auto focus from search box 2019-10-01 13:04:22 +02:00
Pau Ferrer Ocaña bc569030b0 MOBILE-3131 signup: Propagate country from age verification 2019-10-01 13:03:33 +02:00
Pau Ferrer Ocaña 588d616d3c MOBILE-3026 network: Show offline and back online messages 2019-10-01 13:03:23 +02:00
Pau Ferrer Ocaña 86987a2b65 MOBILE-3026 menu: Change more icon 2019-10-01 13:03:23 +02:00
Juan Leyva bcb41032f5
Merge pull request #2113 from crazyserver/MOBILE-3167
MOBILE-3167 blocks: Check block visibility
2019-10-01 13:01:55 +02:00
Pau Ferrer Ocaña 4b98a592c7 MOBILE-3123 style: Add some safe areas for notch 2019-10-01 13:00:54 +02:00
Juan Leyva 3c905e4fbe
Merge pull request #2111 from dpalou/MOBILE-3173
MOBILE-3173 quiz: Fix get amd data in ddmarker questions
2019-10-01 12:42:44 +02:00
Juan Leyva 3491d9cc49
Merge pull request #2110 from crazyserver/MOBILE-2862
MOBILE-2862 forum: Update discussion template
2019-10-01 12:39:31 +02:00
Juan Leyva 62b7780d51
Merge pull request #2108 from crazyserver/MOBILE-3119
Mobile 3119
2019-10-01 12:20:12 +02:00
Juan Leyva e1e1a212d3
Merge pull request #2106 from sammarshallou/MOBILE-3140
MOBILE-3140 Blocks: Make blocks work if displaydata not specified
2019-10-01 11:38:55 +02:00
Pau Ferrer Ocaña be6824d58c MOBILE-3167 blocks: Check block visibility 2019-10-01 10:05:27 +02:00
Pau Ferrer Ocaña fe4b760283 MOBILE-3091 signup: Sort countries by name 2019-10-01 09:56:39 +02:00
Pau Ferrer Ocaña 932f00cf1b MOBILE-3119 mainmenu: Show site name and URL on the menu 2019-10-01 09:55:40 +02:00
Pau Ferrer Ocaña 0e9b3dcbe1 MOBILE-3119 settings: Show site URL on about page 2019-10-01 09:55:40 +02:00
Pau Ferrer Ocaña 4302f70c38 MOBILE-2862 forum: Update discussion template 2019-10-01 09:55:17 +02:00
Pau Ferrer Ocaña 7f882a67ae MOBILE-3144 theme: Dark mode 2019-09-30 16:35:02 +02:00
Pau Ferrer Ocaña 716f76f969 MOBILE-3144 settings: Add color scheme setting 2019-09-30 16:35:01 +02:00
Pau Ferrer Ocaña 3b15b1a0fb MOBILE-3130 comments: Use count field to get real comment count 2019-09-25 17:14:07 +02:00
Dani Palou 346c8a42ff MOBILE-3109 addon: Add 'since' tags in WS return types 2019-09-25 13:15:54 +02:00
Dani Palou b2497a1dd0 MOBILE-3109 addon: Add return types to all addons except mod 2019-09-25 13:15:54 +02:00
Dani Palou 6c56a83ede MOBILE-3173 quiz: Fix get amd data in ddmarker questions 2019-09-23 10:16:42 +02:00
Dani Palou 9196371f50 MOBILE-3163 core: Remove Classic app warning 2019-09-19 16:24:11 +02:00
Albert Gasset a7c2d22cb8 MOBILE-3147 doc: Remove jsdoc types from all typescript files 2019-09-12 11:15:56 +02:00