6691 Commits

Author SHA1 Message Date
mjollnir_
7e51bbcee9 MDL-15995 - portfolio cron. currently just cleans up any orphaned transfer data
Later should be extended to add hooks in the plugins
2008-08-11 12:50:26 +00:00
mjollnir_
513e0bed18 MDL-15911 - reverting previous change to odslib - needs a proper rework to use files api. 2008-08-11 10:15:16 +00:00
dongsheng
64be2d6ce1 MDL-13766, some small changes for repository api. 2008-08-11 03:30:09 +00:00
mjollnir_
d67bfc32a1 MDL-15777 - updated most of the portfolio code to use files api.
Not done:

- forum (the rest of the module isn't using files api yet)
- database mod (touches other parts of the code (ods and excel libs)
- portfolio download plugin (needs discussion with petr about userfiles)

all of these have been disabled in the meantime.
2008-08-09 14:24:58 +00:00
mjollnir_
5035a8b486 MDL-15991 - allow curl library to POST files by integrating with stored_file object. 2008-08-09 13:35:33 +00:00
mjollnir_
ebcac6c68b MDL-15990 - fixing bug in file_storage::create_file_from_storedfile - missing ! 2008-08-09 13:33:20 +00:00
skodak
4284e1cc17 MDL-14589 adding function get_contenthash() - thanks Penny 2008-08-08 13:11:32 +00:00
skodak
145a0a317b MDL-14589 more local --> stored renaming 2008-08-08 11:50:45 +00:00
nicolasconnault
06a546bdae MDL-15837 Finished sql_ helper unit tests for mysql and postgres 2008-08-08 11:03:03 +00:00
skodak
0b0bfa9345 MDL-15919, MDL-15920 reworked support for archiving 2008-08-08 10:22:59 +00:00
skodak
3501d96b8b MDL-14589 more local --> stored renaming 2008-08-08 09:34:12 +00:00
nicolasconnault
3440ec1234 MDL-12198 2008-08-08 05:25:54 +00:00
stronk7
f697a4217d Allow font-family "protocol" to avoid kses cleaning it. MDL-15963 ; merged from 19_STABLE 2008-08-07 22:38:46 +00:00
nicolasconnault
1ddfd4ec23 MDL-15837 Started sql_ helper function tests for mysqli, mysql and postgres7 2008-08-07 14:55:03 +00:00
skodak
a0df358a47 MDL-15928 reverting previous commit - we might still need the binary zips because PHP ext is buggy on 64bit OS 2008-08-07 13:36:20 +00:00
nicolasconnault
c824e1e16d MDL-15924 Added CLOB and BLOB tests 2008-08-07 12:59:44 +00:00
stronk7
e9017adcf4 Missing NEXT attribute in previous commit breaking install. MDL-13766
(I'd suggest to always check those changes in the XMLDB Editor)
2008-08-07 10:17:47 +00:00
dongsheng
348c350b98 MDL-13766, new field for repository table 2008-08-07 07:48:14 +00:00
dongsheng
c8a5c6a4e0 MDL-11789, apply $CFG->filelifetime in send_file function. 2008-08-07 06:09:58 +00:00
dongsheng
b6558c3b0c MDL-13766
1. Pass context information to repository
TODO
Not sure about the way to get context, hard to find where we are, because print_textarea and moodle may be used in any place in moodle.
2. Change parameter type in ws.php
2008-08-07 03:33:47 +00:00
skodak
b48f3e0682 MDL-14589 improved method names 2008-08-06 20:51:14 +00:00
mjollnir_
84a449853f MDL-15777 - move all portfolio storage to portfolio_tempdata rather than session.
This allows us to always have a unique id for a portfolio export which can be used as itemid for files api.
Also it makes the session smaller :)
2008-08-06 15:27:42 +00:00
skodak
5ce29396ff MDL-15928 comment improvement 2008-08-06 11:28:17 +00:00
dongsheng
f3a6f85b94 MDL-13766, use a better value for itemid. 2008-08-06 08:09:01 +00:00
skodak
44df8fa94c MDL-15941 block view permissions override regression fixed 2008-08-06 05:07:46 +00:00
jerome
dc633c9900 MDL-15402 finally we decided that the repository activation will be done with capabilities, and that there is no need to have a administration page for enable/disable repository, neither sort, neither settings. In administration we will just be able to setup an instance for Moodle context. 2008-08-06 03:30:55 +00:00
dongsheng
e1f2936860 MDL-13766, fix bugs in formlib 2008-08-06 03:26:57 +00:00
mjollnir_
8f182eef86 MDL-15935 - print a different message to the user when their portfolio export has been queued 2008-08-05 17:39:35 +00:00
mjollnir_
294b4928fe MDL-14591 - fixing bug related to queued transfers 2008-08-05 17:35:08 +00:00
mjollnir_
0b1ebfb744 MDL-15934 - fix small bug in cleanup 2008-08-05 13:30:53 +00:00
mjollnir_
04f35360ac MDL-15934 - new table and infastructure for portfolio callers to store export data that is too big to put in the session. 2008-08-05 13:24:47 +00:00
dongsheng
765943edc6 MDL-13766, mulit-filepicker in htmleditor worked. 2008-08-05 08:12:21 +00:00
dongsheng
77a2e1461b MDL-13766, fix for filepicker in moodleform 2008-08-05 05:58:06 +00:00
dongsheng
4b844d63ef MDL-13766, more changes to mulit-filepicker in one page. 2008-08-05 05:49:33 +00:00
dongsheng
c2762f06b7 MDL-13766
1. Make mulit-filepicker in one page possible
2. fix lang strings
3. use itemid specify a draft file
TODO
itemid should use a better value.
2008-08-05 05:12:30 +00:00
stronk7
eae02f59b0 Make custom checks BC, so any test about future releases doesn't fail
with error it the file and/or function is missing (highly possible). MDL-15939 ; merged from 18_STABLE
2008-08-05 00:22:41 +00:00
skodak
ed94cb66c6 MDL-15928 switched to zip PHP extensions 2008-08-04 16:45:08 +00:00
mjollnir_
6fdd8fa76f MDL-14591 portfolio: small fixes and improvements. 2008-08-04 16:07:37 +00:00
skodak
4b5dd7f143 MDL-15928 prevent parsing errors when zip ext missing 2008-08-04 13:25:27 +00:00
skodak
744b64ff5d MDL-14589 filedir location now fully configurable through file storage constructor 2008-08-04 13:21:38 +00:00
scyrma
2953d1b68f MDL-15688: Fix to make it work with IE (it was already doing fine in Firefox, Safari and Opera). 2008-08-04 06:26:19 +00:00
dongsheng
d8eb6e180c "MDL-13766, use file api to move files" 2008-08-04 05:53:53 +00:00
scyrma
c5a04d1282 MDL-12558: small fix to upgrade code 2008-08-04 02:20:43 +00:00
peterbulmer
1ce2da5836 MDL-12558 modify emails as they are being sent
replace urls in-place to direct users to their idp first
2008-08-03 23:24:12 +00:00
skodak
b1897a6d68 MDL-15920 initial zipping support 2008-08-03 21:37:50 +00:00
skodak
ee03a6514e MDL-14589 implemented directory listing 2008-08-03 17:05:09 +00:00
skodak
cf7ec8e978 MDL-14589 course cat areas not writable 2008-08-03 17:03:39 +00:00
skodak
0c6d2dd41a MDL-15919 deprecated old unzip_files() 2008-08-02 18:59:00 +00:00
skodak
d4858e5cd1 MDL-15919 minor tmpfile cleanup fixes 2008-08-02 18:49:23 +00:00
skodak
7c53e3e5de MDL-15919 unzipping support 2008-08-02 18:42:38 +00:00