Commit Graph

157 Commits (3a1677f653d51487738f78ef02c0d14717c992ce)

Author SHA1 Message Date
Dani Palou 1071e9208e MOBILE-3033 core: Fix collisions in site plugin stored data 2019-05-16 13:06:15 +02:00
Dani Palou e413c95698 MOBILE-2851 core: Fix promise never finished when retry request 2019-05-14 14:02:35 +02:00
Albert Gasset 3cbc07e376 MOBILE-2900 core: Update Moodle 3.7 version number 2019-05-10 15:02:35 +02:00
Dani Palou 8723e5b684 MOBILE-2975 blocks: Allow disabling blocks and always show courses 2019-05-02 08:38:22 +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
Juan Leyva 0daf5191ff
Merge pull request #1855 from albertgasset/MOBILE-2838
MOBILE-2838 site: Fix checking whether no response is expected
2019-04-29 10:03:48 +02:00
Albert Gasset 44eb98da3e MOBILE-2838 site: Fix checking whether no response is expected 2019-04-26 16:51:43 +02:00
Juan Leyva a11a194b33
Merge pull request #1842 from albertgasset/MOBILE-2900
MOBILE-2900 courses: Exclude enrolled user count from WS call
2019-04-26 11:15:33 +02:00
Dani Palou dd4688f3d4 MOBILE-2984 config: Allow overriding site name 2019-04-18 08:51:28 +02:00
Albert Gasset c682ff8673 MOBILE-2838 site: Skip request queue for "core_webservice_get_site_info" calls 2019-04-04 15:13:02 +02:00
Albert Gasset c3e0164038 MOBILE-2838 site: Use "tool_mobile_call_external_functions" for all calls 2019-04-04 15:06:29 +02:00
Albert Gasset 21971a9ab4 MBOILE-2838 site: Batch WS calls to reduce the number of HTTP requests 2019-04-04 14:47:21 +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 732e3fccb6 MOBILE-2838 site: Index functions by name to speed up wsAvailable 2019-04-04 12:04:30 +02:00
Dani Palou 5c4fcaf09e MOBILE-2915 core: Fix multiple change password errors 2019-03-27 17:06:38 +01:00
Albert Gasset a9299b1560 MOBILE-2915 site: Fix clearing of cached request promises 2019-03-25 17:15:55 +01:00
Dani Palou 2f56db4511 MOBILE-2915 core: Fix Uncaught promise error if request fails 2019-03-20 14:49:15 +01:00
Albert Gasset b5a75a4108 MOBILE-2915 site: Don't clone errors, they might contain cyclic references 2019-03-13 16:50:56 +01:00
Albert Gasset b23881299c MOBILE-2900 courses: Exclude enrolled user count from WS call 2019-03-13 11:30:33 +01:00
Dani Palou 5cc5394f8e MOBILE-2911 site: Clone response when reusing cache promise 2019-03-12 09:47:38 +01:00
Pau Ferrer Ocaña 5846898422 MOBILE-2911 animation: Modal slide from lateral animation 2019-03-11 14:51:33 +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 ceca8cb5c6 MOBILE-2850 choice: Prefetch data after sync choice 2019-02-28 15:10:36 +01:00
Pau Ferrer Ocaña 04bc8fd81b MOBILE-1973 sync: Do not sync logged out sites 2019-02-26 11:04:43 +01:00
Albert Gasset 2420e3a6fb MOBILE-1928 ws: Save "notingroup" errors to the cache 2019-02-25 10:12:09 +01:00
Albert Gasset 95326d4da0 MOBILE-2842 core: Use site schemas for all modules 2019-02-08 12:28:05 +01:00
Albert Gasset db46635262 MOBILE-2842 core: New SQLiteDB methods 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 49d283c22d MOBILE-2795 core: Allow setting several dismiss callbacks to alerts 2019-01-07 13:19:21 +01:00
Juan Leyva 74c59f3254
Merge pull request #1666 from albertgasset/MOBILE-2788
Mobile 2788
2018-12-14 16:40:47 +01:00
Albert Gasset 1fcc4dbfd5 MOBILE-2788 ws: Save permission errors to the cache 2018-12-14 14:03:23 +01:00
Dani Palou d37acccee8 MOBILE-2754 core: Use Moodle strings for dates 2018-12-14 12:47:26 +01:00
Juan Leyva 5257514c8c
Merge pull request #1644 from dpalou/MOBILE-2727
MOBILE-2727 core: Use right version number for 3.6
2018-12-03 16:46:15 +01:00
Dani Palou a97a6b2f6d MOBILE-2727 core: Use right version number for 3.6 2018-12-03 11:46:22 +01:00
Pau Ferrer Ocaña fea9ec5f9e MOBILE-2767 login: Fix sitepolicynotagreederror translation 2018-11-30 13:24:31 +01:00
dpalou 38031ebdd5 MOBILE-2618 message: Support new contactable setting 2018-11-12 10:41:14 +01:00
Juan Leyva 56bbcd7edf
Merge pull request #1573 from crazyserver/MOBILE-2614
Mobile 2614
2018-10-22 14:15:05 +02:00
Pau Ferrer Ocaña 0024f701d0 MOBILE-2614 blocks: Improve some WS checks 2018-10-22 12:43:36 +02:00
dpalou c74b8bbcb3 MOBILE-2502 course: Don't pass includestealth if not supported 2018-10-18 12:33:37 +02:00
Pau Ferrer Ocaña 6b5c9416db MOBILE-2681 dashboard: Save user preferences on timeline and overview 2018-10-17 13:18:39 +02:00
Albert Gasset 2b9e617d6a MOBILE-2567 sqlite: Revert Escape multi-byte characters 2018-08-31 11:38:10 +02:00
Albert Gasset e3db4afe22 MOBILE-2471 sqlite: Escape multi-byte characters 2018-08-28 13:31:28 +02:00
Dani Palou 23b93986aa MOBILE-2533 core: Apply auto-login to embedded iframes 2018-08-23 13:08:13 +02:00
Dani Palou b8cbbd872c MOBILE-2161 menu: Support auto-login in embedded menu items 2018-07-17 16:10:29 +02:00
Albert Gasset 463d78a3b3 MOBILE-2482 core: Fix concurrent delegate handler updates 2018-07-12 09:43:04 +02:00
Dani Palou 9c46b441c8 MOBILE-2441 login: Fix SSO issues with local_mobile 2018-07-02 10:43:28 +02:00
Dani Palou 4cb669ee6a MOBILE-2431 login: Fix tool_mobile_disabledfeatures error 2018-06-26 09:05:40 +02:00
Juan Leyva 78a92e5509
Merge pull request #1340 from dpalou/MOBILE-2428
Mobile 2428
2018-06-15 11:08:38 +02:00
Dani Palou f6d30fb7cb MOBILE-2428 dom: Format content of Alerts 2018-06-14 15:01:11 +02:00
Pau Ferrer Ocaña 0eaa5b4183 MOBILE-2430 navigation: Fix transitions 2018-06-13 16:52:38 +02:00
Dani Palou 0bb2f25f20 MOBILE-2163 core: Fix ngc warnings when compiling 2018-06-12 12:43:25 +02:00
Dani Palou 30f850a9b3 MOBILE-2404 site: Fallback to old cache ID if not found 2018-06-01 12:33:33 +02:00
Pau Ferrer Ocaña bbc6fcdff5 MOBILE-2338 data: Implement index page 2018-05-30 11:53:42 +02:00
Juan Leyva d241e1d253
Merge pull request #1322 from dpalou/MOBILE-2380
Mobile 2380
2018-05-23 12:55:07 +02:00
Dani Palou 5c4f11a9bf MOBILE-2380 offline: Support disabling offline browsing 2018-05-23 12:44:02 +02:00
Dani Palou dccfb64e1f MOBILE-2376 core: Fix issues with pluginfile.php
- Improve how to detect if the URL has params.
- Replace & with &
- Only add webservice to the URL if it's the core pluginfile
2018-05-22 16:37:47 +02:00
Dani Palou 28dc1232ad MOBILE-2333 siteplugins: Rename bootstrap to init & treat exceptions 2018-05-02 12:16:15 +02:00
Juan Leyva 1346f86372
Merge pull request #1291 from dpalou/MOBILE-2348
Mobile 2348
2018-04-13 15:36:48 +02:00
Albert Gasset 99af917816 MOBILE-2329 settings: Migrate preferences 2018-04-09 13:20:45 +02:00
Dani Palou ad1e564600 MOBILE-2348 quiz: Fix problems in prefetch and offline 2018-04-09 12:42:55 +02:00
Dani Palou 02f25f50ac MOBILE-2348 quiz: Implement sync provider and handler 2018-04-05 10:27:57 +02:00
Dani Palou 3e1089adba MOBILE-2348 quiz: Implement access rules delegate 2018-04-03 11:04:15 +02:00
Dani Palou 0b52f98960 MOBILE-2391 core: Use different property for modName/etc in delegates 2018-03-23 14:37:03 +01:00
Dani Palou c1cf6e5b21 MOBILE-2391 core: Use new nomenclature in disabled features 2018-03-23 13:33:20 +01:00
Dani Palou a6ea996778 MOBILE-2319 db: Use REPLACE in inserts 2018-03-20 15:44:26 +01:00
Albert Gasset d29712258a MOBILE-2319 notes: Migrate notes 2018-03-20 11:47:59 +01:00
Pau Ferrer Ocaña d02b97b913 MOBILE-2349 ws: Fix expected type of WS post calls 2018-03-14 13:41:25 +01:00
Dani Palou 489de4fc09 MOBILE-2333 core: Use parseJSON from text utils 2018-03-13 09:13:31 +01:00
Dani Palou 046b300051 MOBILE-2333 siteplugins: Rename site addons to site plugins 2018-03-12 13:45:14 +01:00
Dani Palou 7d3162585c MOBILE-2333 siteaddons: Fetch and register basic site addons 2018-03-12 13:28:12 +01:00
Pau Ferrer Ocaña f938b37f73 MOBILE-2327 messages: Fix errors from Peer review 2018-03-09 10:49:47 +01:00
Pau Ferrer Ocaña 11d052e659 MOBILE-2327 core: Change all import paths 2018-03-01 17:08:05 +01:00
Pau Ferrer Ocaña 7c42b886b1 MOBILE-2327 messages: Add messages handlers 2018-02-22 12:13:41 +01:00
Pau Ferrer Ocaña c1b4d435c2 MOBILE-2327 messages: Add discussion page 2018-02-21 16:52:25 +01:00
Dani Palou aa95a20287 MOBILE-2335 book: Support single activity format with book 2018-02-06 08:46:49 +01:00
Dani Palou 698e2cf8f6 MOBILE-2335 core: Fix issues with DB and restore media 2018-02-06 08:46:49 +01:00
Dani Palou 7379ca3e71 MOBILE-2335 book: Implement prefetch handler 2018-02-06 08:46:49 +01:00
Dani Palou 01ddf7019c MOBILE-2317 core: Fix tslint warnings 2018-01-29 10:09:34 +01:00
Pau Ferrer Ocaña 2319cf8074 MOBILE-2317 core: Migrate delegates to CoreDelegate 2018-01-26 08:55:08 +01:00
Pau Ferrer Ocaña debfb5c6c6 MOBILE-2317 user: Solve PR errors and lints 2018-01-25 15:48:18 +01:00
Pau Ferrer Ocaña d7c6c25292 MOBILE-2317 login: Add custom user profile field to sign-up 2018-01-25 15:47:22 +01:00
Pau Ferrer Ocaña e836171c02 MOBILE-2317 user: Add User Delegate 2018-01-25 15:47:22 +01:00
Dani Palou 97ae1b3f9d MOBILE-2355 sync: Implement sync provider and base class 2018-01-25 10:11:41 +01:00
Dani Palou 64f1551d56 MOBILE-2310 course: Implement prefetch delegate and base handler 2018-01-19 10:11:33 +01:00
Dani Palou 0960ce92d4 MOBILE-2310 core: Improve documentation of interfaces 2018-01-19 10:11:33 +01:00
Dani Palou 2194c8e294 MOBILE-2310 core: Apply constant and protected guidelines 2018-01-19 10:11:33 +01:00
Dani Palou 5aef9af45b MOBILE-2310 core: Fix issues with WS cache 2018-01-19 10:11:32 +01:00
Pau Ferrer Ocaña 3ef367db76 MOBILE-2308 events: Adapt events to new functions 2018-01-18 14:33:34 +01:00
Pau Ferrer Ocaña a9a63e5668 MOBILE-2308 calendar: List events page 2018-01-18 14:33:34 +01:00
Dani Palou efb47aa58e MOBILE-2312 sharedfiles: Implement helper and upload handler 2018-01-15 09:30:18 +01:00
Dani Palou d7994eea9a MOBILE-2312 uploader: Implement file uploader provider 2018-01-15 09:30:18 +01:00
Dani Palou 2b03bcf3e4 MOBILE-2302 core: Implement core-file component 2018-01-11 09:19:29 +01:00
Dani Palou 86a9d0dcea MOBILE-2302 core: Pass undefined instead of null for missing params
TypeScript does not use the default value if it receives a null
2018-01-11 09:19:29 +01:00
Dani Palou 2d29cc2da6 MOBILE-2302 courses: Implement My Courses 2018-01-11 09:19:28 +01:00
Dani Palou c950d7dd40 MOBILE-2302 mainmenu: Implement More page 2018-01-11 09:18:48 +01:00
Dani Palou 03f1614856 MOBILE-2253 core: Use core prefix instead of mm in lang strings 2017-12-18 11:07:13 +01:00
Dani Palou 26d5690c36 MOBILE-2253 login: Restore session in init, handle SSO and other events 2017-12-18 11:07:13 +01:00
Dani Palou 7893d718a2 MOBILE-2253 login: Implement site policy page 2017-12-18 11:07:13 +01:00
Dani Palou a4adffe94d MOBILE-2253 core: Implement HTTP interceptor for WS calls 2017-12-15 08:09:28 +01:00