Commit Graph

432 Commits (439cd1682648f445ee9b58bad0c7619241b907e2)

Author SHA1 Message Date
Juan Leyva 6cc3d90d44
Merge pull request #1899 from dpalou/MOBILE-3010
Mobile 3010
2019-05-10 11:35:55 +02:00
Dani Palou 38a7dd355e MOBILE-3010 core: Support Bootstrap tooltips 2019-05-08 11:36:51 +02:00
Pau Ferrer Ocaña d550f1d18d MOBILE-2959 ionic: Add a shade to Android status bar 2019-05-08 10:28:23 +02:00
Juan Leyva 9b4da3e474
Merge pull request #1895 from dpalou/MOBILE-3008
MOBILE-3008 core: Filter undefined in objectToArrayOfObjects
2019-05-07 20:46:24 +02:00
Dani Palou 6ae25efd51 MOBILE-3008 core: Filter undefined in objectToArrayOfObjects 2019-05-07 17:07:58 +02:00
Pau Ferrer Ocaña 470dbf2cba MOBILE-2964 styles: Improve alert styling 2019-05-07 11:51:40 +02:00
Dani Palou be5cbfd728 MOBILE-2964 message: Support delete messages for all users 2019-05-06 14:44:03 +02:00
Juan Leyva 8f8457d6ee
Merge pull request #1880 from dpalou/MOBILE-2963
Mobile 2963
2019-05-06 11:00:56 +02:00
Dani Palou 4490dc94c8 MOBILE-2963 message: Highlight search results 2019-05-02 09:05:35 +02:00
Dani Palou 7723648638 MOBILE-2961 push: Group push notifications in foreground 2019-05-02 08:23:51 +02:00
Juan Leyva e854306d57
Merge pull request #1865 from dpalou/MOBILE-2984
MOBILE-2984 config: Allow overriding site name
2019-04-30 20:43:07 +02:00
Dani Palou 407a33b5cd MOBILE-2907 resource: Use customdata and afterlink if possible 2019-04-26 16:16:15 +02:00
Juan Leyva 6e69bebc02
Merge pull request #1853 from dpalou/MOBILE-2947
MOBILE-2947 notification: Apply color to small icon
2019-04-26 16:03:22 +02:00
Dani Palou b2cf777bec MOBILE-2947 notification: Apply color to small icon 2019-04-26 15:43:00 +02:00
Tim Hunt 6243eda097 MOBILE-2951 web-services: make it easier to debug web service calls
We add a redundant &wsfunction=web_service_method_name to the URL
for web service requests, so that it is easier to find the call you
are interested in when debugging using brower tools.

Similarly, we add info= to calls to lib/ajax/service.php, matching what
is done in Moodle web application JavaScript.
2019-04-26 14:33:45 +01:00
Juan Leyva af4635ed3a
Merge pull request #1846 from crazyserver/MOBILE-2873
Mobile 2873
2019-04-26 12:20:04 +02:00
Juan Leyva 3e71f6f2a7
Merge pull request #1837 from albertgasset/MOBILE-2838
Mobile 2838
2019-04-25 16:53:21 +02:00
Dani Palou dd4688f3d4 MOBILE-2984 config: Allow overriding site name 2019-04-18 08:51:28 +02:00
Dani Palou e01dfefbe7 MOBILE-2982 lang: Fix load lang strings for plugins 2019-04-11 16:05:08 +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
Albert Gasset 9134933217 MOBILE-2838 ws: Don't store POST request promises
Since MOBILE-2900 POST request promises are not reused in CoreWSProvider.
2019-04-04 12:04:30 +02:00
Pau Ferrer Ocaña af7872f862 MOBILE-2873 sync: Force manual sync 2019-04-01 10:57:53 +02:00
Dani Palou 489094598a MOBILE-2915 core: Try to fix freezes when clicking push 2019-03-28 16:28:21 +01:00
Dani Palou 9978bd0cae MOBILE-2915 file: Fix delete files with special chars 2019-03-27 13:38:58 +01:00
Dani Palou 8b2ed818fa MOBILE-2919 forum: Handle forum discussion notification clicks 2019-03-14 09:25:29 +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 513c7e452b
Merge pull request #1799 from dpalou/MOBILE-2912
MOBILE-2912 lang: Fix coumpound langs for site plugins
2019-03-11 13:26:03 +01:00
Dani Palou a4349077df MOBILE-2912 lang: Fix coumpound langs for site plugins 2019-03-08 10:13:01 +01:00
Albert Gasset f2784cb659 MOBILE-2908 site: Check for duplicate requests 2019-03-07 16:42:39 +01:00
Juan Leyva aac8ee7b3a
Merge pull request #1789 from dpalou/MOBILE-2850
Mobile 2850
2019-03-04 13:21:57 +01:00
Dani Palou 0cec1cc01e MOBILE-2850 lesson: Prefetch data after syncing lesson 2019-03-04 12:25:01 +01:00
Dani Palou 0dd4ac1a22 MOBILE-2850 feedback: Prefetch data after syncing feedback 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
Dani Palou cca7dee8eb MOBILE-2831 push: Handle notification channels 2019-02-28 12:23:19 +01:00
Pau Ferrer Ocaña 04bc8fd81b MOBILE-1973 sync: Do not sync logged out sites 2019-02-26 11:04:43 +01:00
Pau Ferrer Ocaña a53066d935 MOBILE-2822 utils: Make word count aware of block tags 2019-02-21 15:28:01 +01:00
Juan Leyva 6d829452c6
Merge pull request #1772 from dpalou/MOBILE-2827
Mobile 2827
2019-02-18 16:50:40 +01:00
Juan Leyva cc9ba9204c
Merge pull request #1771 from crazyserver/MOBILE-2796
Mobile 2796
2019-02-18 16:06:02 +01:00
Pau Ferrer Ocaña c8bb1647c6 MOBILE-2796 calendar: Fix default time issues 2019-02-18 16:03:37 +01:00
Juan Leyva aa3d1fd2d0
Merge pull request #1769 from dpalou/MOBILE-2875
MOBILE-2875 core: Map remoteAddOn_ to sitePlugin_
2019-02-18 15:12:01 +01:00
Juan Leyva ef4d35e9dd
Merge pull request #1767 from dpalou/MOBILE-2861
MOBILE-2861 core: Fix error when dismissing a loading modal twice
2019-02-18 15:08:04 +01:00
Juan Leyva 6cdc80a104
Merge pull request #1766 from dpalou/MOBILE-2785
Mobile 2785
2019-02-18 12:21:18 +01:00
Dani Palou a6d429f756 MOBILE-2875 core: Map remoteAddOn_ to sitePlugin_ 2019-02-15 15:49:23 +01:00
Pau Ferrer Ocaña 1d6b79f33a MOBILE-2820 calendar: Add multiple reminders to calendar events 2019-02-15 13:33:04 +01:00
Dani Palou d6f5b5738c MOBILE-2827 icon: Use small icon for Android notifications 2019-02-15 11:13:56 +01:00
Dani Palou 0454a7dcf3 MOBILE-2785 assign: Ignore cache when prefetching 2019-02-13 08:37:37 +01:00
Dani Palou c9a536f1b5 MOBILE-2861 core: Fix error when dismissing a loading modal twice 2019-02-08 15:08:47 +01:00
Juan Leyva e8e7099a1c
Merge pull request #1759 from albertgasset/MOBILE-2842
Mobile 2842
2019-02-08 14:11:38 +01:00
Albert Gasset 95326d4da0 MOBILE-2842 core: Use site schemas for all modules 2019-02-08 12:28:05 +01:00
Albert Gasset d3246e6900 MOBILE-2842 core: Site schema migration 2019-02-08 12:27:07 +01:00
Albert Gasset fb29050627 MOBILE-2842 core: Interfaces for DB schemas 2019-02-08 12:27:07 +01:00
Dani Palou 3bcfd01282 MOBILE-2807 message: Add setting to configure send 2019-02-06 16:05:21 +01:00
Juan Leyva f792c84ee0
Merge pull request #1747 from moodlehq/desktop
Desktop
2019-02-04 15:16:13 +01:00
Dani Palou bf786ba596 MOBILE-2844 course: Display size instead of are you sure in prefetch 2019-01-28 10:26:30 +01:00
Dani Palou 3f84adca9a MOBILE-2814 localnotif: Adapt the code to the new API 2019-01-24 10:33:42 +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
Pau Ferrer Ocaña f4d3ab4c6c MOBILE-2795 notifications: Check is triggered on plugin 2019-01-10 14:43:18 +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 43d727a526 MOBILE-2795 login: Trigger login event on reconnect 2019-01-10 10:32:16 +01:00
Pau Ferrer Ocaña 5128880d6d MOBILE-2795 notifications: Handle duplication event detection 2019-01-09 16:14:28 +01:00
Juan Leyva b55ca46c4c
Merge pull request #1711 from dpalou/MOBILE-2795
Mobile 2795
2019-01-08 12:45:46 +01:00
Dani Palou b8526f585b MOBILE-2795 ws: Fix handle exception in ajax request 2019-01-08 08:20:10 +01:00
Juan Leyva 756fce9a84
Merge pull request #1707 from dpalou/MOBILE-2795
Mobile 2795
2019-01-07 13:37:10 +01:00
Dani Palou 49d283c22d MOBILE-2795 core: Allow setting several dismiss callbacks to alerts 2019-01-07 13:19:21 +01:00
Pau Ferrer Ocaña 5520598e31 MOBILE-2795 debug: Show error message trace when debug is on 2019-01-07 12:42:57 +01:00
Dani Palou 2a439224f2 MOBILE-2795 login: Fix forgot password in 3.3 or older 2019-01-04 13:02:28 +01:00
Dani Palou 7ced9ccd5d MOBILE-2795 lang: Use fallback for countries list 2019-01-04 13:02:28 +01:00
Dani Palou 588ceaac71 MOBILE-2795 date: Fix format for datetime inputs 2019-01-04 13:02:28 +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 597480c48f MOBILE-2722 site: Add version class when adding site 2018-12-21 13:42:37 +01:00
Dani Palou 0475b77dcc MOBILE-2754 core: Fix 24 hour format used when it shouldn't 2018-12-20 10:07:52 +01:00
Dani Palou a3fe5869d4 MOBILE-2794 login: Don't trigger login event if logged out 2018-12-18 11:38:46 +01:00
Dani Palou 02a7f39080 MOBILE-2791 core: Prevent repeated alerts 2018-12-17 15:01:44 +01:00
Dani Palou d37acccee8 MOBILE-2754 core: Use Moodle strings for dates 2018-12-14 12:47:26 +01:00
Juan Leyva 584e1cdb1f
Merge pull request #1660 from dpalou/MOBILE-2786
MOBILE-2786 desktop: Allow downloading old version in Win and Linux
2018-12-14 12:37:59 +01:00
Juan Leyva d76022e721
Merge pull request #1659 from dpalou/MOBILE-2777
Mobile 2777
2018-12-14 12:35:50 +01:00
Dani Palou 01b24e3e80 MOBILE-2786 desktop: Allow downloading old version in Win and Linux 2018-12-11 16:25:27 +01:00
Juan Leyva e8a85c8f3f
Merge pull request #1653 from dpalou/MOBILE-2701
Mobile 2701
2018-12-11 12:52:23 +01:00
Dani Palou 65e368af20 MOBILE-2777 core: Use new version of keyboard plugin 2018-12-11 12:21:25 +01:00
Juan Leyva d6a8406f78
Merge pull request #1651 from dpalou/MOBILE-1748
MOBILE-1748 core: Read file data in chunks to prevent crashes
2018-12-10 17:29:42 +01:00
Juan Leyva 6276a888a3
Merge pull request #1650 from crazyserver/MOBILE-2779
MOBILE-2779 course: Display the icon of unsupported activities
2018-12-10 17:05:57 +01:00
Dani Palou 971112c7d3 MOBILE-2764 assign: Improve text and separator handling in grades 2018-12-05 15:32:23 +01:00
Dani Palou 14eb35927c MOBILE-1748 core: Read file data in chunks to prevent crashes 2018-12-05 12:23:57 +01:00
Pau Ferrer Ocaña d91b181b0d MOBILE-2779 course: Display the icon of unsupported activities 2018-12-04 13:07:18 +01:00
Dani Palou da799faf6e MOBILE-2701 resource: Always show refresh for external files 2018-12-03 17:05:14 +01:00
Juan Leyva 292fdb82ff
Merge pull request #1645 from dpalou/MOBILE-2750
MOBILE-2750 file: Fix error reading file in Android
2018-12-03 16:59:01 +01:00
Dani Palou 5e31377f10 MOBILE-2750 file: Fix error reading file in Android 2018-12-03 12:25:30 +01:00
Dani Palou 271aa2345d MOBILE-2764 assign: Fix comma decimals in Android 4 & 5 2018-11-29 15:43:52 +01:00
Dani Palou 3931107c94 MOBILE-2764 assign: Display right decimal separator in gradebook grade 2018-11-29 15:26:37 +01:00
Juan Leyva 3e10a1c47f
Merge pull request #1635 from crazyserver/MOBILE-2744
Mobile 2744
2018-11-28 12:45:09 +01:00
Juan Leyva 42111fcdf6
Merge pull request #1634 from crazyserver/MOBILE-2761
Mobile 2761
2018-11-28 12:25:35 +01:00
Pau Ferrer Ocaña 5c39bda748 MOBILE-2744 file: Avoid having null basePath 2018-11-28 10:48:38 +01:00
Juan Leyva ffb53b34c5
Merge pull request #1631 from crazyserver/MOBILE-2753
MOBILE-2753 lang: Use british english as default on moment.js
2018-11-27 16:09:21 +01:00
Pau Ferrer Ocaña 8ccd5a65ae MOBILE-2761 mainmenu: Avoid reloading menu when going to phantom tab 2018-11-27 09:11:10 +01:00
Pau Ferrer Ocaña 1d89539a51 MOBILE-2753 lang: Use british english as default on moment.js 2018-11-26 12:34:49 +01:00
Dani Palou 7261841edd MOBILE-2752 iframe: Handle window.open with target _self 2018-11-23 13:22:54 +01:00
Pau Ferrer Ocaña d35f0e2ffc MOBILE-2738 tabs: Control navigation when backbutton is actioned 2018-11-23 11:01:12 +01:00
Juan Leyva c3b6144c70
Merge pull request #1622 from crazyserver/MOBILE-2739
MOBILE-2739 site: Add site version to body tag
2018-11-23 10:52:47 +01:00
Pau Ferrer Ocaña b47a373382 MOBILE-2676 ux: Fix top margin when rotating 2018-11-22 16:50:22 +01:00
Pau Ferrer Ocaña 5514e56f00 MOBILE-2739 site: Add site version to body tag 2018-11-21 16:10:49 +01:00
Pau Ferrer Ocaña cfb6ac4f86 MOBILE-1486 course: Log view when course is viewed 2018-11-20 16:51:57 +01:00
dpalou 95edf619f0 MOBILE-2728 iframe: Allow navigating in online frames 2018-11-13 13:54:36 +01:00
Juan Leyva 9e95285f62
Merge pull request #1591 from dpalou/MOBILE-2719
MOBILE-2719 login: Don't send fake credentials
2018-11-09 13:39:55 +01:00
dpalou a98d414058 MOBILE-2719 login: Don't send fake credentials 2018-11-09 13:00:14 +01:00
Pau Ferrer Ocaña 0f90be3926 MOBILE-2698 calendar: Reduce core_group_course_user_groups requests 2018-11-06 16:20:00 +01:00
Albert Gasset 8a4563aa28 MOBILE-2675 iframe: Open site content in the app in offline 2018-11-06 16:05:06 +01:00
dpalou f465cdb4fe MOBILE-2699 login: Fix detailed error messages with http 2018-10-23 15:18:10 +02:00
dpalou b903108a38 MOBILE-1874 block: Implement activity modules block 2018-10-23 08:51:06 +02:00
Juan Leyva 80503d8b08
Merge pull request #1568 from crazyserver/MOBILE-2616
Mobile 2616
2018-10-16 13:20:58 +02:00
Juan Leyva de8d24b76a
Merge pull request #1566 from dpalou/MOBILE-2553
Mobile 2553
2018-10-16 12:25:29 +02:00
dpalou e5b013f203 MOBILE-2553 login: Detect redirect if login fails 2018-10-16 12:22:00 +02:00
dpalou 8f76caad92 MOBILE-2653 iframe: Display warning in offline if needed 2018-10-16 11:55:42 +02:00
Pau Ferrer Ocaña f66c8375ea MOBILE-2616 timeline: Filter events by days 2018-10-16 11:24:23 +02:00
dpalou 871b47369c MOBILE-2553 login: Improve error handling in check site 2018-10-16 10:52:15 +02:00
Albert Gasset ab8fddaaf3 MOBILE-2650 utils: Do not create Window objects, it throws an exception 2018-10-09 10:58:54 +02:00
Albert Gasset 82ca471c5b MOBILE-2650 utils: Fix links inside iframes created after page load 2018-10-09 10:58:54 +02:00
Pau Ferrer Ocaña 89332fdd20 MOBILE-2656 lang: Fix non existing parentlanguage 2018-10-05 16:46:51 +02:00
dpalou 15b4b6b8d1 MOBILE-2061 sync: Fix errors displayed while syncing 2018-10-05 16:07:37 +02:00
Juan Leyva 9b833ab46d
Merge pull request #1556 from dpalou/MOBILE-2640
Mobile 2640
2018-10-05 15:46:20 +02:00
dpalou e7e48ee78a MOBILE-2640 errors: Display backtrace for AJAX calls 2018-10-05 15:35:59 +02:00
Juan Leyva cdab6b3657
Merge pull request #1555 from dpalou/MOBILE-2539
Mobile 2539
2018-10-05 12:54:08 +02:00
dpalou 910f92e5ef MOBILE-2640 errors: Display full WS error if enabled 2018-10-04 17:01:05 +02:00
Pau Ferrer Ocaña bb23a319c8 MOBILE-2383 lang: Load parent lang if found 2018-10-04 14:38:18 +02:00
Juan Leyva 3b526366ab
Merge pull request #1549 from crazyserver/MOBILE-2654
qMOBILE-2654 settings: Fix wifi connection check
2018-10-04 12:39:19 +02:00
Pau Ferrer Ocaña 5faf831480 MOBILE-2654 settings: Fix wifi connection check 2018-10-03 16:11:09 +02:00
Albert Gasset c770fb9014 MOBILE-2611 utils: Function to check whether HTML content is blank 2018-10-01 17:52:12 +02:00
dpalou 302f58b56d MOBILE-2601 calendar: Display location in calendar events 2018-09-27 12:24:55 +02:00
Dani Palou f090f8f33a MOBILE-2539 url: Support appearance settings 2018-09-25 14:51:07 +02:00
Juan Leyva a5b79f6d6c
Merge pull request #1520 from dpalou/MOBILE-2574
MOBILE-2574 file: Fix avatar not seen when logged out
2018-09-20 14:30:31 +02:00
Juan Leyva ff60574ff0
Merge pull request #1518 from dpalou/MOBILE-2577
MOBILE-2577 quiz: Fix position of drags when question contains images
2018-09-20 14:00:51 +02:00
dpalou 03cc175723 MOBILE-2574 file: Fix avatar not seen when logged out 2018-09-17 09:43:58 +02:00
dpalou c14d7ad04a MOBILE-2577 quiz: Fix position of drags when question contains images 2018-09-14 08:36:31 +02:00
dpalou 7544b0addd MOBILE-2587 login: Don't send fake credentials in desktop apps 2018-09-13 14:53:13 +02:00
Dani Palou 97bb43604b MOBILE-2567 ios: Fix local notifications in iOS 2018-09-05 15:34:40 +02:00
Dani Palou b67a2900eb MOBILE-2567 core: Fix local notification events 2018-09-04 16:16:59 +02:00
Juan Leyva ee88e015b8
Merge pull request #1499 from albertgasset/MOBILE-2567
MOBILE-2567 sqlite: Revert Escape multi-byte characters
2018-09-03 09:08:15 +01:00
Dani Palou 8257341d13 MOBILE-2567 ios: Fix download of streamed media 2018-09-03 08:44:47 +02:00
Dani Palou 13307322fa MOBILE-2567 settings: Don't display free space 2018-08-31 13:58:48 +02:00
Albert Gasset 2b9e617d6a MOBILE-2567 sqlite: Revert Escape multi-byte characters 2018-08-31 11:38:10 +02:00
Juan Leyva 0c436820bb
Merge pull request #1496 from dpalou/MOBILE-2568
Mobile 2568
2018-08-30 10:32:35 +01:00
Dani Palou bb40d1652b MOBILE-2568 login: Improve legacy error in desktop apps 2018-08-30 11:21:49 +02:00
Juan Leyva d72005f0bb
Merge pull request #1495 from albertgasset/MOBILE-2471
Mobile 2471
2018-08-30 09:49:43 +01:00
Dani Palou 3c44cee0ee MOBILE-2568 login: Display button to download Moodle Classic 2018-08-29 08:45:12 +02:00
Albert Gasset e3db4afe22 MOBILE-2471 sqlite: Escape multi-byte characters 2018-08-28 13:31:28 +02:00
Dani Palou e000151ab1 MOBILE-2557 core: Recalculate format-text when core-loading changes 2018-08-27 15:21:45 +02:00
Juan Leyva 47f15ebf9d
Merge pull request #1485 from crazyserver/MOBILE-2558
MOBILE-2558 utils: Check scroll is not destroyed before perform
2018-08-23 13:16:28 +01:00
Pau Ferrer Ocaña cd9f747b7a MOBILE-2558 utils: Check scroll is not destroyed before perform 2018-08-23 13:51:57 +02:00
Juan Leyva 5e4e951352
Merge pull request #1483 from dpalou/MOBILE-2533
MOBILE-2533 core: Apply auto-login to embedded iframes
2018-08-23 12:11:18 +01:00