Commit graph

6713 commits

Author SHA1 Message Date
tjhunt
f9a2cf86a9 MDL-7308 - Check all the DB columns used to store grades, and make sure they all use a consistent type. 2008-08-15 11:15:08 +00:00
tjhunt
2a683cfb00 DEVELOPER_DEBUG messages to help you diagnose broken prev/next links in XMDBD files. 2008-08-15 11:09:45 +00:00
tjhunt
4f089b2155 MDL-6095 - Question bank tables are created by the quiz module. The really core tables are now created by lib/db, the datasetdependent tables are not created by the datasetdependent question type, and the question_numerical_units table is now created by the numerical question type. The last two are shared by the calculated question type, but there is no problem with them being created in the order they are now created in. In the past, before the policy that upgrade to 2.0 woudl have to go via 1.9, there would have been bit problems to do with the order of updates, but fortunately that is no longer an issue. 2008-08-15 07:23:18 +00:00
tjhunt
f88fb62c40 MDL-10682 - Ensure quiz and question grades are formatted consisently and correctly. While testing, I also fixed a few XHTML Strrrict errors. 2008-08-15 06:42:38 +00:00
peterbulmer
809e0a7599 MDL-16021 dont force mnethost restriction forloading user data based on id 2008-08-14 23:36:37 +00:00
mjollnir_
866d543fde MDL-15758 - slight change to the portfolio_add_button contract to be more flexible. 2008-08-14 16:01:12 +00:00
mjollnir_
f812bbe834 MDL-14591 - fixed a bug and a notice 2008-08-13 15:37:02 +00:00
tjhunt
14d701d67e MDL-15819 - Review the RISK_XXX flags on all quiz and question capabilites. 2008-08-13 07:05:42 +00:00
dongsheng
4a65c39a46 MDL-15402, add admin setting page, to meet requirement, make some changes to repository base class. 2008-08-13 04:09:13 +00:00
dongsheng
d7e122d69f MDL-13766, add default vaule for cache expired time. 2008-08-13 01:40:09 +00:00
mjollnir_
dadd943808 MDL-16015 - detect iceweasel as firefox 2008-08-12 17:23:38 +00:00
skodak
b27c485572 MDL-16012 improved mime handling in zip packer, this does not fix the linked bug though 2008-08-12 15:52:58 +00:00
skodak
29e3d7e2dc MDL-16011 improved inline docs and removed obsoleted readfile_chunked() 2008-08-12 15:33:16 +00:00
mjollnir_
15325f557d MDL-16007 - fix up calls to ignore_user_abort 2008-08-12 15:15:38 +00:00
skodak
45c0d22490 MDL-16007 remoevd dontdie param from sent_temp_file() 2008-08-12 15:09:46 +00:00
mjollnir_
62a99deabe MDL-14591 just a small tidyup and extra phpdocs 2008-08-12 14:48:32 +00:00
mjollnir_
c775cf25cc MDL-16009 - reworked the portfolio admin settings page to not redirect in write_setting 2008-08-12 13:49:55 +00:00
mjollnir_
8512f577dc MDL-15768 - added general capability for exporting any content to portfolio 2008-08-12 13:31:02 +00:00
mjollnir_
d96a1acc0b MDL-15777 more fixes for portfolio to use file api
this introduces portfolio/file.php to serve portfolio related files - access check is delegated to the plugin.
and also two new classes in the portfolio plugin tree - push vs pull.
2008-08-12 13:17:34 +00:00
mjollnir_
b379f7d99b MDL-16007 - add new $dontdie parameter to the send_ file functions 2008-08-12 12:54:54 +00:00
skodak
593bb2ebf5 inline docs improvements 2008-08-12 11:00:13 +00:00
tjhunt
552adc27d7 XHTML strrrict! 2008-08-12 04:11:36 +00:00
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