Commit graph

626 commits

Author SHA1 Message Date
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Petr Skoda
812dbaf7d5 MDL-21198 improved/simplified $OUTPUT->user_picture() + regression fixes, performance fixes and detected performance problems when printing user avatars 2009-12-27 19:47:21 +00:00
Sam Hemelryk
92059c7ee5 mod MDL-21169 Removed update this module button and ensured there was a link in the settings block for it. 2009-12-23 01:57:55 +00:00
Petr Skoda
4454447d56 MDL-20700 whitespace terror returns 2009-12-16 22:14:17 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda
683c01d2c8 MDL-20787 removed mod_icon_url() completely 2009-12-16 20:30:24 +00:00
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
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
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
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
samhemelryk
816250281e mod-assignment MDL-19803 Upgraded deprecated functions and added set_url calls 2009-09-23 02:46:55 +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
83a7f058f8 assignment MDL-19803 Upgraded print_header and build_navigation calls to OUTPUT/PAGE equivilants 2009-09-04 07:15:26 +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_
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
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
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
samhemelryk
8f36c245ed mod-assignment MDL-16706 Eliminated inline scripts to use PAGE methods 2009-07-02 06:37:30 +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
skodak
7826abc79f MDL-18293 $DB->something is using exceptions, no need for ifs there, removing useless strings 2009-06-03 20:25:27 +00:00
samhemelryk
b2d5a79a35 mod MDL-19294 Corrected package tags to docs spec 2009-05-27 05:33:12 +00:00
samhemelryk
256578f645 assignment MDL-19294 Corrected PhpDoc 2009-05-26 09:13:14 +00:00
skodak
4eef139962 MDL-14589 file browsing refactoring - moving url encoding to filelib.php for now 2009-05-20 22:32:02 +00:00
skodak
9b010a102e MDL-18910 full support for module intro editor with embedded images 2009-04-21 21:33:08 +00:00
skodak
dc5c2bd9eb MDL-18910 full support for module intro editor with embedded images 2009-04-21 21:17:21 +00:00
skodak
42f103be4c MDL-18910 moving modedit features to modname_supports() 2009-04-21 08:57:20 +00:00