Commit Graph

1255 Commits

Author SHA1 Message Date
Petr Skoda 6770330d17 MDL-21235 support for optgroups in select 2010-01-16 19:48:01 +00:00
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 5c2ed7e215 MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements 2010-01-03 15:46:14 +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
Petr Skoda 191b267bcd MDL-20790 more page layouts -see base theme for full list; also added new css body class for describing current layout; base layout is now default for beter BC; require_login() now sets 'incourse' layout automatically 2009-12-27 12:02:04 +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
Penny Leach df3466045c portfolio/assignment MDL-21035 added updated & published fields to leap2a.
also fixed files support in online type
2009-12-18 14:38:22 +00:00
Sam Hemelryk 007772d65d mod-assignment MDL-21106 Changed user->id to submission->id, big thanks Penny for spotting 2009-12-18 08:45:00 +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
Petr Skoda 78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
Sam Hemelryk fb1ee4d548 mod-assignment MDL-21106 Changed itemid for online assignment from assignment->id to user->id 2009-12-16 01:48:48 +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 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