Commit graph

941 commits

Author SHA1 Message Date
Penny Leach
5fb2911515 portfolio MDL-21079 updated a few more portfolio_callers
fixed a few more that were pointing to lib.php rather than locallib.php
2009-12-15 12:37:06 +00:00
Penny Leach
ff284987c7 online assignment / send_file: MDL-21104 fixed two missing variables 2009-12-14 10:18:31 +00:00
Penny Leach
24ba58ee9a portfolio MDL-21079 be more selective about including libraries.
this involves moving all formslib includes to where they're actually needed.
it also moves the portfolio stuff from assignment,data,chat,forum and glossary
into a locallib.php which involved creating it for many of those modules.
2009-12-12 11:27:07 +00:00
Penny Leach
59dd457e4b portfolio: MDL-21030 - leap2a portfolio format support.
This commit includes:

- leap2a portfolio format, and xml writer
- proof of concept implementation in forum and assignment modules
- a lot of refactoring of the portfolio formats in general:
    - addition of "abstract" formats - this is necessary for plugins to be able to support groups of formats
    - addition of the idea of portfolio formats conflicting with eachother - eg richhtml & plainhtml

it touches modules other than assignment and forum, because the format api
changed and now each place in moodle that exports portfolio content has to deal
with the formats it supports slightly differently.

At the moment the Mahara portfolio still doesn't support this format, because I
haven't done the Mahara side yet. The "file download" plugin supports it
though.

Still todo:

- Add support for the other places in Moodle (glossary, data, etc)
- Write tests, once the rest of the portfolio tests have been updated to use the new DB mocking stuff
- Fix a bunch of TODOs
2009-12-03 14:26:37 +00:00
Sam Marshall
f1035deb97 MDL-21009 Group selector must use absolute links in order to work with javascript off 2009-11-30 17:12:48 +00:00
Petr Skoda
a19dffc021 MDL-20901 fixed input validation, unfortunately the assignment in HEAD is borked in several places 2009-11-20 08:25:11 +00:00
Sam Hemelryk
9e6b608fcb assignment MDL-15904 Tidied up unused globals and removed reliance on $PAGE->course->maxbytes 2009-11-20 07:21:42 +00:00
Sam Hemelryk
c561f44c4e assignment MDL-15904 Converted final htmleditor elements and fixed a couple of VERY minor regressions 2009-11-20 06:57:03 +00:00
Sam Hemelryk
9b72d37e93 assignment MDL-19803 Converted deprecated calendar functions 2009-11-20 06:44:36 +00:00
Penny Leach
887160c7cb portfolio MDL-20896 added mimetype checking for portfolio plugins for single-file exports 2009-11-18 15:34:58 +00:00
Penny Leach
b07e1666c0 Portfolio: MDL-20884 - make assignment portfolio implementation use paths relative to dirroot 2009-11-18 09:37:33 +00:00
Petr Skoda
7c7d3afab5 MDL-20766 message_send() used intead of events, it will enable us to improve performance and solve db transactions issues independedntly from events, hopefully this will give us more options in future too because the events are designed specifically for communication "moodle-->external systems" 2009-11-07 10:27:57 +00:00
Petr Skoda
0ac940b3bf MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported 2009-11-04 19:24:12 +00:00
Petr Skoda
e7521559ed MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 13:17:47 +00:00
Dan Poltawski
40fcf70c3d mod/assignment: MDL-16796 Support non-core assignment type titles
Without this patch, the add actvitiy drop down displays ugly
broken lang strings.

This is ugly - hopefully in Moodle 2.0 we will eventually support fully
pluggable architecture in a clean way.
2009-10-30 21:13:31 +00:00
Nicolas Connault
1a96363a9d MDL-15050 Grades entered/updated through grader report now get correctly displayed in course user activity reports (commenting on last commit). Merged from MOODLE_19_STABLE 2009-10-27 12:37:15 +00:00
skodak
d18e0fe646 MDL-20353 adding missing data types of hidden form fields 2009-09-26 17:07:08 +00:00
samhemelryk
816250281e mod-assignment MDL-19803 Upgraded deprecated functions and added set_url calls 2009-09-23 02:46:55 +00:00
nicolasconnault
5f4d4d801c MDL-19676 Removed blog assignment code 2009-09-11 01:45:16 +00:00
samhemelryk
47c96a774e mod-assignment MDL-20241 Upgraded assignment to use new navigation blocks 2009-09-09 08:23:41 +00:00
samhemelryk
b98b15d7cc mod-assignment MDL-19803 Fixed regression, missing global PAGE 2009-09-08 03:19:11 +00:00
samhemelryk
55c7042d8d assignments MDL-19803 Updated print_header and build_navigation to OUTPUT and PAGE equivalents 2009-09-07 06:23:46 +00:00
samhemelryk
83a7f058f8 assignment MDL-19803 Upgraded print_header and build_navigation calls to OUTPUT/PAGE equivilants 2009-09-04 07:15:26 +00:00
nicolasconnault
cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +00:00
nicolasconnault
a9573c0859 MDL-19803 Upgraded calls to link_to_popup_window() 2009-08-20 13:15:46 +00:00
nicolasconnault
75d47fa90c MDL-19803 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:42:12 +00:00
nicolasconnault
3a003eadbb MDL-19803 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:01:20 +00:00
nicolasconnault
782c84e939 MDL-19803 Upgraded calls to choose_from_menu 2009-08-17 15:19:31 +00:00
mjollnir_
9e4f83bd8c MDL-19142 assignment/restore small fix to pass $info to subtypes relative to current assignment rath
er than the full array

Merged from MOODLE_19_STABLE
2009-08-15 07:58:37 +00:00
mjollnir_
3b804d2d09 MDL-19142 assignment/backup&restore: support backing up and restoring third party subtypes if they need it.
Merged from MOODLE_19_STABLE
2009-08-13 09:38:04 +00:00
mjollnir_
69547cc5ae MDL-19142 assignment/backup: reverting earlier patch while I figure out a better way to deal with course_modules during restore
Merged from MOODLE_19_STABLE
2009-08-11 13:54:40 +00:00
mjollnir_
f390280665 MDL-19142: assignment/backup add support for third party subtypes
Now third party assignment type subplugin authors can implement backup/restore

This adds four hooks, backup_one_mod, backup_one_submission, restore_one_mod, restore_one_submission,
all of which are implemented in the assignment_base parent class and documented there.


Merged from MOODLE_19_STABLE.  Backup is broken in HEAD but Eloy asked me to merge it anyway.
2009-08-11 12:20:08 +00:00
nicolasconnault
01e0da5815 MDL-19803 Converted print_box* to $OUTPUT->box* 2009-08-10 04:58:28 +00:00
nicolasconnault
256d2850a5 MDL-19803 Converted all print_footer() calls 2009-08-06 14:20:49 +00:00
nicolasconnault
867aeead81 MDL-19803 Migrated calls to print_heading 2009-08-06 08:21:39 +00:00
nicolasconnault
4d4200b8d7 MDL-19803 Migrated calls to close_window_button() 2009-08-06 02:52:17 +00:00
nicolasconnault
8af46c3b15 MDL-19803 Upgraded calls to print_headline 2009-08-06 01:37:16 +00:00
skodak
0a8a7b6c24 MDL-14589 added missing require_login() 2009-07-19 08:56:45 +00:00
samhemelryk
19c9f09430 filelib MDL-19707 Converted existing ...str_replace('png','gif')... to use file_extension_icon and file_mimetype_icon 2009-07-07 06:16:01 +00:00
Moodle HQ git importer
005a41a3ee Fixing drift between CVS and git 2009-07-06 00:38:18 +00:00
tjhunt
d436d197d1 MDL-19690 - the last lot of $CFG->pixpath to $OUTPUT->old_icon_url
Including MDL-19693

RIP $CFG->pixpath
2009-07-03 07:55:30 +00:00
tjhunt
e63f88c9a6 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
and $CFG->modpixpath to $OUTPUT->mod_icon_url
2009-07-02 12:07:58 +00:00
tjhunt
f2a1963c43 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 11:09:15 +00:00
samhemelryk
8f36c245ed mod-assignment MDL-16706 Eliminated inline scripts to use PAGE methods 2009-07-02 06:37:30 +00:00
moodler
cadf365256 mod/assignment/type/online MDL-14045 Just tidying up code and removing inappropriate styles 2009-06-30 07:40:08 +00:00
stronk7
ce40c8ff2b MDL-19579 code coverage - add more initial $includecoverage attributes 2009-06-26 18:12:05 +00:00
nicolasconnault
a52c344aab MDL-16438 Reverting upgrade of assignment/lib.php. get_plugin_types() is not fully implemented and doesn't yet support assignment types. 2009-06-25 01:32:44 +00:00
skodak
17da2e6f28 MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
skodak
0bcf8b6f0d MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:55:51 +00:00
skodak
9d7493399d MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:35:10 +00:00