27 Commits

Author SHA1 Message Date
Damyon Wiese
57cef30e42 Merge branch 'wip-MDL-40038-master' of git://github.com/abgreeve/moodle
Conflicts:
	files/tests/externallib_test.php
2013-08-20 15:51:57 +08:00
Adrian Greeve
196c8b71f1 MDL-40038 - web services: Added unit tests for core_files_external::get_files(). 2013-08-15 15:28:38 +08:00
Adrian Greeve
dbb8cd36bd MDL-40038 - web services: Added an alternative to using the context id.
Context id is more of an internal Moodle identifier, so we have now included
contextlevel and instanceid in the funciton core_files_external::get_files().
2013-08-15 15:28:38 +08:00
Sam Hemelryk
8b7378cff0 Merge branch 'MDL-22236-master' of git://github.com/damyon/moodle
Conflicts:
	version.php
2013-08-12 12:11:07 +12:00
Damyon Wiese
9ffa4cb3a6 MDL-22236 user webservice: add_user_private_files
Add webservice for adding files to user private files.
2013-08-08 12:05:40 +08:00
Petr Škoda
eb459f7192 MDL-40642 set more restrictive umask and use proper permission for new dirs and files 2013-07-19 09:18:44 +02:00
Ankit Agarwal
0601e0eef6 MDL-40402 libraries: Replace get_system_context() with context_system::instance() in core 2013-07-04 15:41:06 +08:00
Ankit Agarwal
57d16acd74 MDL-40039 webservices: Add support for alternate to contextid parameter to core_files_external::upload() 2013-06-28 10:51:01 +08:00
Jerome Mouneyrac
63c7be350b MDL-34434 Change the texts saying that we'll be removing web service deprecated functions from 2.5 2013-04-17 12:13:04 +08:00
Ankit Agarwal
d197ea4300 MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id() 2012-08-24 11:30:10 +08:00
Jerome Mouneyrac
ecd1bdf420 MDL-31863 fix responseerror when no files are found 2012-06-11 14:12:00 +08:00
Aparup Banerjee
fef6b15ad9 MDL-31863 Web Service : get_files() optional $modified timestamp returns files changed after given time. 2012-06-11 14:06:56 +08:00
Yang Yang
8f3039576a MDL-31863 Web service : added modified to parameters and modifiedtime to description 2012-06-11 14:06:46 +08:00
Jerome Mouneyrac
4615817d1c MDL-30986 external API, check and update DocBlock
Conflicts:

	group/externallib.php
2012-04-30 15:11:56 +08:00
Jerome Mouneyrac
5d1017e11d MDL-29106 new web service naming convention 2011-10-24 11:06:00 +08:00
Petr Skoda
aff24313be MDL-29401 introduce new frankenstyle PARAM types
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
Sam Hemelryk
f8adfe6cc0 Merge branch 'w36_MDL-28701_m22_tempcachedir' of git://github.com/skodak/moodle 2011-09-12 18:26:09 +12:00
Petr Skoda
af08a48b2d MDL-29257 use more entropy in ws upload 2011-09-10 12:06:59 +02:00
Tom Lanyon
af9b14446d MDL-28701 Change uses of make_upload_directory(temp) to make_temp_directory(). 2011-09-10 10:43:49 +02:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Petr Skoda
89877fdf5f adding missing $dir 2010-09-17 18:36:14 +00:00
Petr Skoda
c426ef3aa5 MDL-23984 improvements of check_dir_exists() - replacing by make_upload_directory() in cases where we want to be sure that the dir is writable; removning now default create and recursive params to make code easier to read 2010-08-29 14:51:09 +00:00
Petr Skoda
882efc3c8a MDL-23984 using standard check_dir_exists() in extlib 2010-08-29 10:12:20 +00:00
Dongsheng Cai
218a7c5f9b MDL-20904, upload function now upload to user private only, remove file_stroage code, using file_browser, added validate_parameters to validate ws parameters 2010-07-09 08:57:03 +00:00
Petr Skoda
d811bd84b4 fixed incorrect comments, thanks Dongsheng 2010-07-07 07:43:28 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
Dongsheng Cai
249c4f606d "MDL-20904, web services for files" 2010-03-16 08:29:08 +00:00