Commit Graph

909 Commits (630d44c52046f46f14909834bfc45c4f3993c195)

Author SHA1 Message Date
Albert Gasset 8f1c66445f MOBILE-2949 compile: Event that notifies compilation status 2019-04-10 13:12:13 +02:00
Albert Gasset 19143109c3 MOBILE-2949 compile: Do not update data before compiling template
This prevents errors when the templata and data are changed and they
have different properties than the old template and data.
2019-04-10 13:02:14 +02:00
Dani Palou 38b1308f0b MOBILE-2901 file: Support offline files for Nextcloud 2019-04-08 10:45:14 +02:00
Albert Gasset 76bbc30ed9 MOBULE-2838 ws: convertValuesToString improvements
- Skip null and undefined values. They were ignored when sent as POST parameters but are not accepted when sent as JSON.
- Return null instead if some string become empty after stripping Unicode. Previously we were throwing an exception.
- Convert boolean to "0" and "1". Previously we wre using "true" and "false", which are only accepted as POST parameters.
2019-04-04 14:47:21 +02:00
Dani Palou 65702106f7 MOBILE-2953 notifications: Pass customdata to link actions 2019-04-03 15:38:34 +02:00
Dani Palou c982017029 MOBILE-2927 emulator: Adapt push simulation to new behaviour 2019-04-01 16:04:14 +02:00
Dani Palou 9e831bdf7a MOBILE-2921 lesson: Support lesson grade push clicks 2019-04-01 16:03:10 +02:00
Dani Palou a83ebdfec8 MOBILE-2921 course: Support course request push clicks 2019-04-01 16:03:10 +02:00
Dani Palou e8ab5edc2a MOBILE-2921 enrol: Support enrolment expiry push clicks 2019-04-01 16:03:10 +02:00
Dani Palou 3182f0ff06 MOBILE-2921 push: Use new code for push click handlers 2019-04-01 16:03:10 +02:00
Dani Palou 727fe58a52 MOBILE-2921 push: Move pushnotifications to core 2019-04-01 16:03:10 +02:00
Pau Ferrer Ocaña b6a6dd13f6 MOBILE-2873 sync: Sync before prefetch single module 2019-04-01 12:24:23 +02:00
Pau Ferrer Ocaña d767b7514e MOBILE-2873 sync: Sync fixes 2019-04-01 10:57:53 +02:00
Pau Ferrer Ocaña 2469d903a7 MOBILE-2873 blog: Show blog icon on the tab bar if needed 2019-04-01 10:57:53 +02:00
Pau Ferrer Ocaña 910ee50600 MOBILE-2873 sync: Sync activities on course prefetch 2019-04-01 10:57:53 +02:00
Pau Ferrer Ocaña a26fbeab92 MOBILE-2873 sync: Fix course log syncing 2019-04-01 10:57:53 +02:00
Pau Ferrer Ocaña af7872f862 MOBILE-2873 sync: Force manual sync 2019-04-01 10:57:53 +02:00
Pau Ferrer Ocaña 0a2b197cd4 MOBILE-2851 users: Show participants last course access when available 2019-03-29 13:31:17 +01:00
Dani Palou 201a703258 MOBILE-2915 core: Show file not found error if no files 2019-03-29 12:46:04 +01:00
Dani Palou b16eb29ac0 MOBILE-2915 core: Fix redirect to logged out sites 2019-03-29 11:07:36 +01:00
Dani Palou 489094598a MOBILE-2915 core: Try to fix freezes when clicking push 2019-03-28 16:28:21 +01:00
Dani Palou 3f370f97ca MOBILE-2915 login: Mark recaptcha as required 2019-03-27 16:35:34 +01:00
sam marshall bc931df813 MOBILE-2906 Add course option type that appears in menu
This allows addons to add items to the course menu. The items work
in the same way as other course options, except that instead of
appearing as a tab, they appear as an option in the course menu.
2019-03-27 12:51:37 +00:00
Dani Palou ba27f75324 MOBILE-2915 login: Fix signup errors not displayed 2019-03-27 12:01:27 +01:00
Dani Palou 63cfc0604a MOBILE-2915 ios: Fix shared files treated twice in iOS 12 2019-03-26 16:13:23 +01:00
Dani Palou b3663e591c MOBILE-2915 desktop: Fix 'push' click in desktop apps 2019-03-26 12:05:37 +01:00
Dani Palou 0449c63c71 MOBILE-2915 course: Fix title not displayed for guest courses 2019-03-22 07:02:08 +01:00
Dani Palou 88a0a2851f MOBILE-2819 a11y: Fix image description read twice 2019-03-15 11:36:32 +01:00
Albert Gasset a0bac9301e MOBILE-2915 rating: Change string "No rating" to "None" 2019-03-14 12:40:26 +01:00
Albert Gasset b23881299c MOBILE-2900 courses: Exclude enrolled user count from WS call 2019-03-13 11:30:33 +01:00
Juan Leyva 07e4be4391
Merge pull request #1804 from dpalou/MOBILE-2831
Mobile 2831
2019-03-12 16:08:00 +01:00
Juan Leyva 7e6b260154
Merge pull request #1801 from dpalou/MOBILE-2913
Mobile 2913
2019-03-11 13:44:59 +01:00
Juan Leyva c882ad7138
Merge pull request #1800 from dpalou/MOBILE-2663
MOBILE-2663 quiz: Try to fix sequencecheck error
2019-03-11 13:32:46 +01:00
Dani Palou f5f04b35c1 MOBILE-2913 course: Fix section progress when an error happens 2019-03-11 12:25:59 +01:00
Dani Palou 900c9b741e MOBILE-2913 course: Fix section download button disappear on PTR 2019-03-11 10:29:32 +01:00
Albert Gasset 1e59e22a6e MOBILE-2908 core: Fix duplicate schema name 2019-03-07 16:44:04 +01:00
Juan Leyva 1d53ca3823
Merge pull request #1792 from albertgasset/MOBILE-2486
Mobile 2486
2019-03-06 16:33:00 +01:00
Dani Palou 61d264f515 MOBILE-2663 quiz: Try to fix sequencecheck error 2019-03-06 14:37:27 +01:00
Dani Palou 2ec4b536a5 MOBILE-2831 settings: Display push ID in about page 2019-03-06 12:47:20 +01:00
Juan Leyva c11cfa336b
Merge pull request #1791 from crazyserver/MOBILE-2819
MOBILE-2819 a11y: Apply aria attributes to components
2019-03-06 11:48:17 +01:00
Albert Gasset af6694c915 MOBILE-2486 glossary: Ratings 2019-03-05 16:11:21 +01:00
Albert Gasset 8fe3e09e9b MOBILE-2486 forum: Invalidate discussion when a rating is updated 2019-03-05 13:58:30 +01:00
Albert Gasset f6c2babd77 MOBILE 2486 core: Fix offline rating schema name 2019-03-05 13:58:30 +01:00
Juan Leyva 7eaf05766a
Merge pull request #1790 from albertgasset/MOBILE-1633
Mobile 1633
2019-03-04 14:14:58 +01:00
Juan Leyva aac8ee7b3a
Merge pull request #1789 from dpalou/MOBILE-2850
Mobile 2850
2019-03-04 13:21:57 +01:00
Albert Gasset beaab9d2f6 MOBILE-1633 core: Rating components and providers 2019-03-04 12:47:52 +01:00
Dani Palou c6b51873f1 MOBILE-2850 quiz: Prefetch data after syncing quiz 2019-03-04 12:25:01 +01:00
Dani Palou 0cec1cc01e MOBILE-2850 lesson: Prefetch data after syncing lesson 2019-03-04 12:25:01 +01:00
Pau Ferrer Ocaña b95de260ee MOBILE-2819 a11y: Apply aria attributes to components 2019-03-04 09:04:18 +01:00
Dani Palou 0dd4ac1a22 MOBILE-2850 feedback: Prefetch data after syncing feedback 2019-02-28 15:10:36 +01:00
Dani Palou 88b5eb7af0 MOBILE-2850 survey: Prefetch data after syncing survey 2019-02-28 15:10:36 +01:00
Dani Palou ceca8cb5c6 MOBILE-2850 choice: Prefetch data after sync choice 2019-02-28 15:10:36 +01:00
Dani Palou 10f54e7149 MOBILE-2831 core: Fix local notifications in iOS 2019-02-28 12:24:38 +01:00
Juan Leyva 0ebc5d02d3
Merge pull request #1786 from dpalou/MOBILE-2527
Mobile 2527
2019-02-26 16:57:51 +01:00
Juan Leyva 64a60740d4
Merge pull request #1779 from crazyserver/MOBILE-2888
Mobile 2888
2019-02-25 17:51:18 +01:00
Dani Palou 890a8105e9 MOBILE-2527 course: Prefetch section summary files 2019-02-25 09:30:47 +01:00
Dani Palou 5c176b93b8 MOBILE-2527 label: Prefetch label files when downloading course 2019-02-25 09:30:47 +01:00
Juan Leyva 2291de34c0
Merge pull request #1776 from dpalou/MOBILE-2799
MOBILE-2799 user: Update site info if avatar changed
2019-02-21 12:32:05 +01:00
Dani Palou e45ca59d91 MOBILE-2799 user: Update site info if avatar changed 2019-02-21 11:28:59 +01:00
Pau Ferrer Ocaña a9c39d93a0 MOBILE-2888 login: Add a heading style 2019-02-20 15:48:47 +01:00
Pau Ferrer Ocaña 6663fe0bb4 MOBILE-2888 login: Make url optional in multi site selector 2019-02-20 13:37:47 +01:00
Juan Leyva 019c7ab73f
Merge pull request #1775 from crazyserver/MOBILE-2386
Mobile 2386
2019-02-19 09:39:14 +01:00
Juan Leyva bc5f4488f4
Merge pull request #1774 from crazyserver/MOBILE-2858-1
MOBILE-2858 grades: Add unkown type grade items
2019-02-19 09:29:39 +01:00
Juan Leyva 212bc572e6
Merge pull request #1773 from dpalou/MOBILE-2882
MOBILE-2882 mac: Restore browser SSO in Mac app
2019-02-18 17:03:00 +01:00
Pau Ferrer Ocaña 3cf70c83f7 MOBILE-2386 course: Migrate logs database schema 2019-02-18 16:09:54 +01:00
Pau Ferrer Ocaña f11892f93c MOBILE-2386 blog: Add blog entries page 2019-02-18 16:09:54 +01:00
Juan Leyva a1271ac2c0
Merge pull request #1768 from dpalou/MOBILE-2869
MOBILE-2869 core: Support '*' as accepted file types
2019-02-18 15:10:30 +01:00
Juan Leyva 8ecf48caa4
Merge pull request #1765 from crazyserver/MOBILE-1979
Mobile 1979
2019-02-18 12:09:19 +01:00
Juan Leyva 2db4565688
Merge pull request #1764 from marxjohnson/MOBILE-2746_integration
MOBILE-2746 UX: Only refresh page if completion value is used
2019-02-18 12:06:59 +01:00
Dani Palou 7f7d5a54dc MOBILE-2882 mac: Restore browser SSO in Mac app 2019-02-18 10:22:00 +01:00
Pau Ferrer Ocaña 6c2eeee6bb MOBILE-2858 grades: Add unkown type grade items 2019-02-14 16:15:53 +01:00
Dani Palou 5f96d3d259 MOBILE-2869 core: Support '*' as accepted file types 2019-02-13 09:29:53 +01:00
Juan Leyva e8e7099a1c
Merge pull request #1759 from albertgasset/MOBILE-2842
Mobile 2842
2019-02-08 14:11:38 +01:00
Juan Leyva bccf9ca576
Merge pull request #1758 from dpalou/MOBILE-2807
MOBILE-2807 message: Add setting to configure send
2019-02-08 14:01:15 +01:00
Juan Leyva ffd97fc9b4
Merge pull request #1757 from dpalou/MOBILE-2799
Mobile 2799
2019-02-08 13:53:07 +01:00
Juan Leyva e21d9f3cd2
Merge pull request #1756 from dpalou/MOBILE-2818
MOBILE-2818 siteplugins: Allow specifying the component supported
2019-02-08 12:42:02 +01:00
Albert Gasset 95326d4da0 MOBILE-2842 core: Use site schemas for all modules 2019-02-08 12:28:05 +01:00
Albert Gasset fb29050627 MOBILE-2842 core: Interfaces for DB schemas 2019-02-08 12:27:07 +01:00
Pau Ferrer Ocaña 9143507284 MOBILE-1979 sync: Sync activity logs 2019-02-08 12:02:32 +01:00
Pau Ferrer Ocaña 56eaafdeda MOBILE-1979 course: Save offline log calls 2019-02-08 10:32:41 +01:00
Mark Johnson 6338005c94 MOBILE-2746 UX: Only refresh page if completion value is used
Now that completion data includes valueused, we can refresh the page in
response to a completion change only when valueused is true.
It is is false, we can update the checkbox and
progress bar client-side.
2019-02-07 08:33:23 +00:00
Dani Palou 3bcfd01282 MOBILE-2807 message: Add setting to configure send 2019-02-06 16:05:21 +01:00
Dani Palou 552b2d5a4a MOBILE-2799 user: Check user avatar changed when opening profile 2019-02-06 12:18:37 +01:00
Juan Leyva b7d56bf641
Merge pull request #1752 from albertgasset/MOBILE-2825
Mobile 2825
2019-02-05 18:52:57 +01:00
Juan Leyva 1b13ffd444
Merge pull request #1751 from crazyserver/MOBILE-2858
Mobile 2858
2019-02-05 18:44:45 +01:00
Dani Palou 73f449245e MOBILE-2818 siteplugins: Allow specifying the component supported 2019-02-05 13:13:07 +01:00
Juan Leyva c1326f70da
Merge pull request #1749 from dpalou/MOBILE-2847
Mobile 2847
2019-02-04 18:35:02 +01:00
Juan Leyva f792c84ee0
Merge pull request #1747 from moodlehq/desktop
Desktop
2019-02-04 15:16:13 +01:00
Juan Leyva 6e9b7114de
Merge pull request #1745 from crazyserver/MOBILE-2812
Mobile 2812
2019-02-04 13:57:23 +01:00
Albert Gasset bd1fb5bd54 MOBILE-2825 core: Don't delete local files after upload 2019-02-04 10:49:41 +01:00
Pau Ferrer Ocaña e891fcb1a1 MOBILE-2858 courses: Do not check course options on empty list 2019-02-01 12:12:33 +01:00
Pau Ferrer Ocaña 442c184ac0 MOBILE-2858 grades: Improve course grades preformat 2019-02-01 12:12:22 +01:00
Dani Palou 108fd65aa0 MOBILE-2847 shortanswer: Handle inline answer boxes 2019-01-31 13:16:10 +01:00
Dani Palou cba4f2271a MOBILE-2114 scorm: Prefetch after sending data 2019-01-30 12:12:35 +01:00
Dani Palou 97d4f6d4ed MOBILE-2844 assign: Fix prefetch error if grader was -1 2019-01-29 13:03:31 +01:00
Pau Ferrer Ocaña 9d320b5914 MOBILE-2812 quiz: Update styles to match web version 2019-01-29 12:28:34 +01:00
Pau Ferrer Ocaña d2fc0ed420 MOBILE-2812 ux: Imrpove module icons sizes 2019-01-29 12:27:41 +01:00
Juan Leyva 65a38ebbce
Merge pull request #1739 from crazyserver/MOBILE-2843
Mobile 2843
2019-01-28 19:07:49 +01:00
Juan Leyva b98146f83b
Merge pull request #1738 from dpalou/MOBILE-2824
Mobile 2824
2019-01-28 18:56:48 +01:00
Dani Palou edcc26f2c5 MOBILE-2844 desktop: Display download button in SSO legacy site 2019-01-28 09:55:32 +01:00
Dani Palou 05c552c343 MOBILE-2844 mac: Use inappbrowser for oauth in Mac 2019-01-25 11:56:45 +01:00
Dani Palou 336b50cc92 MOBILE-2829 mac: Use inappbrowser for SSO in Mac 2019-01-25 11:30:46 +01:00
Pau Ferrer Ocaña 4aa5d4a6a1 MOBILE-2843 course: Improve show prefetch group of courses 2019-01-24 14:29:57 +01:00
Dani Palou 5c85a3345a MOBILE-2814 localnotif: Adapt emulator to the new API 2019-01-24 10:33:42 +01:00
Travis CI User 8436162fb6 Update lang files [ci skip] 2019-01-23 12:14:47 +01:00
Dani Palou dde19b17a6 MOBILE-2824 course: Allow passing params when navigate to module 2019-01-22 12:22:04 +01:00
Pau Ferrer Ocaña 4cbb7d417b MOBILE-2795 more: Fix more item color css 2019-01-16 11:02:29 +01:00
Mark Johnson ba89f9cb30 MOBILE-2800 course: Wait for format before opening course 2019-01-11 12:20:39 +01:00
Pau Ferrer Ocaña 65d048c494 MOBILE-2795 compile: Show error on template parsing 2019-01-11 10:16:38 +01:00
Juan Leyva b5867fd011
Merge pull request #1719 from crazyserver/MOBILE-2795
Mobile 2795
2019-01-10 14:54:34 +01:00
Juan Leyva ecf47eb1e2
Merge pull request #1718 from dpalou/MOBILE-2795
Mobile 2795
2019-01-10 14:54:26 +01:00
Dani Palou 971aebd658 MOBILE-2795 ios: Handle files shared through iCloud 2019-01-10 13:30:27 +01:00
Pau Ferrer Ocaña bf509a7fae MOBILE-2795 course: Scroll top on section change 2019-01-10 12:01:55 +01:00
Juan Leyva 49615641af
Merge pull request #1717 from albertgasset/MOBILE-2795
MOBILE-2795 qtype: Fix drag and drop questions in 3.6 sites
2019-01-10 11:10:36 +01:00
Pau Ferrer Ocaña 43d727a526 MOBILE-2795 login: Trigger login event on reconnect 2019-01-10 10:32:16 +01:00
Pau Ferrer Ocaña 51b2c94cde MOBILE-2795 course: Load course image from course section without showing it 2019-01-10 10:32:16 +01:00
Albert Gasset 0cef912704 MOBILE-2795 qtype: Fix drag and drop questions in 3.6 sites 2019-01-09 16:54:14 +01:00
Pau Ferrer Ocaña cb4f6c196a MOBILE-2795 ux: Fix margin on item-start img or icon 2019-01-09 10:26:36 +01:00
Dani Palou 49d283c22d MOBILE-2795 core: Allow setting several dismiss callbacks to alerts 2019-01-07 13:19:21 +01:00
Dani Palou 13872e2209 MOBILE-2795 mainmenu: Fix tab loaded without params 2019-01-07 11:17:17 +01:00
Pau Ferrer Ocaña 7f357ddde0 MOBILE-2795 comments: Detect changes on component 2019-01-04 17:03:55 +01:00
Pau Ferrer Ocaña 64a812f822 MOBILE-2795 ux: Fix fab button placement 2019-01-04 16:47:45 +01:00
Juan Leyva 49d0b3a121
Merge pull request #1704 from dpalou/MOBILE-2795
Mobile 2795
2019-01-04 16:21:02 +01:00
Dani Palou c5440811dd MOBILE-2795 course: Fix disable download course 2019-01-04 15:29:27 +01:00
Dani Palou c41cb6bb19 MOBILE-2795 core: Fix redirect to other sites 2019-01-04 14:27:34 +01:00
Pau Ferrer Ocaña 1bb6a35d8c MOBILE-2795 comments: Fix uncaught exception 2019-01-04 14:23:02 +01:00
Pau Ferrer Ocaña 34f88f92c4 MOBILE-2795 lang: Review text strings 2019-01-04 14:16:24 +01:00
Dani Palou 2a439224f2 MOBILE-2795 login: Fix forgot password in 3.3 or older 2019-01-04 13:02:28 +01:00
Pau Ferrer Ocaña e0f2610ad8 MOBILE-2795 user: Update profile picture when changed 2019-01-04 11:46:56 +01:00
Pau Ferrer Ocaña 70694c839a MOBILE-2795 ux: Control divider color from css 2019-01-02 14:31:52 +01:00
Pau Ferrer Ocaña e91f9d0ef5 MOBILE-2795 login: Hide oAuth provider image on error in reconnect 2019-01-02 13:56:20 +01:00
Pau Ferrer Ocaña 75d6cde7a4 MOBILE-2795 login: Add placeholder to country selector 2019-01-02 13:45:31 +01:00
Pau Ferrer Ocaña bb9578b493 MOBILE-2795 course: Improve label rendering 2019-01-02 12:31:15 +01:00
Pau Ferrer Ocaña 35a4d6d3a2 MOBILE-2687 courses: Fix course sorting 2019-01-02 11:49:09 +01:00
Juan Leyva 11babee5fe
Merge pull request #1698 from dpalou/MOBILE-2803
MOBILE-2803 course: Prefetch course options
2019-01-02 11:01:40 +01:00
Juan Leyva 44a5645afc
Merge pull request #1696 from crazyserver/MOBILE-2790-2
MOBILE-2790 dashboard: Add download toggle to block input
2018-12-21 21:55:52 +01:00
Juan Leyva 1767c2833e
Merge pull request #1695 from dpalou/MOBILE-2801
MOBILE-2801 course: Fix update displayname in overview
2018-12-21 21:35:04 +01:00
Dani Palou cee98a94fa MOBILE-2803 course: Prefetch course options 2018-12-21 16:35:37 +01:00
Pau Ferrer Ocaña 5407657f13 MOBILE-2790 dashboard: Add download toggle to block input 2018-12-21 15:45:03 +01:00
Juan Leyva c67ac67270
Merge pull request #1693 from dpalou/MOBILE-2754
MOBILE-2754 core: Fix words in PHP time formats
2018-12-21 15:03:32 +01:00
Dani Palou 78636f2e97 MOBILE-2754 core: Fix words in PHP time formats 2018-12-21 13:48:22 +01:00
Pau Ferrer Ocaña 84d6ea5118 MOBILE-2722 sitehome: Reset blocks list when not suported 2018-12-21 13:28:47 +01:00
Pau Ferrer Ocaña 973af81fcc MOBILE-2688 course: Show message error when starring in offline 2018-12-21 12:11:08 +01:00
Dani Palou cd582f4f87 MOBILE-2801 course: Fix update displayname in overview 2018-12-21 11:57:56 +01:00
Juan Leyva e498897848
Merge pull request #1688 from dpalou/MOBILE-2061
MOBILE-2061 course: Fix offline completion in 3.6
2018-12-21 10:25:23 +01:00
Dani Palou 4529d5f688 MOBILE-2061 course: Fix offline completion in 3.6 2018-12-21 09:59:22 +01:00
Juan Leyva 0e73a853fd
Merge pull request #1687 from dpalou/MOBILE-2754
Mobile 2754
2018-12-20 17:22:28 +01:00
Dani Palou 9ab4665ee2 MOBILE-2754 core: Make all times match web formats 2018-12-20 17:16:33 +01:00
Juan Leyva 6ce9d7bec5
Merge pull request #1686 from marxjohnson/MOBILE-2721_integration
MOBILE-2721 Keep existing displayname if not set
2018-12-20 13:02:42 +01:00
Mark Johnson a6fb4a51bc MOBILE-2721 Keep existing displayname if not set
core_enrol_get_users_courses does not return displayname before MDL-63523,
which causes the page title to revert to fullname after the course
has fully loaded.
2018-12-20 09:42:00 +00:00