Commit Graph

439 Commits

Author SHA1 Message Date
Petr Skoda 596509e431 MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help 2010-04-13 20:34:27 +00:00
Petr Skoda 98da60215e MDL-22033 groupings now enabled unconditionally, groupmembersonly kept as experimental - this simplifies groups code logic a bit, user interface changes should not be significant because the groupings are not visible much until at least one created; hopefully the new description of groupmembersonly will have to preventsome gradebook complaints 2010-04-07 07:37:12 +00:00
Petr Skoda 846e4e177e MDL-16438 separating subplugin detection from the plugin_supports code because it was running into infinite loops in get_string() which is often incorrectly used in lib.php files, but the get_string() itself needs to know about subplugins 2010-04-04 19:58:03 +00:00
Tim Hunt 9baf267016 tablelib: MDL-22011 refactor flexible_table::get_sql_sort into several smaller methods.
Also, change assignemnt to use a separate static method, rather than overloading get_sql_sort.
2010-04-01 13:09:24 +00:00
Petr Skoda 4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Sam Hemelryk 0b29477be9 navigation MDL-21565 Update this xxx is now automatically added to the nav for all modules by default and is renamed to settings as that is what was being used in the tabs system presently anyway.
The following minor changes were also made:
* Added roles links to the navigation automatically
* Handling of block context for settings navigation
* Tidied up init code for settings navigation
2010-03-22 03:04:00 +00:00
Andrew Davis 1d50dd13f6 gradebook MDL-19133 Make grading settings part of mod_edit form. first of several commits. 2010-03-16 06:33:16 +00:00
Petr Skoda 9bf163146b MDL-20204 more html_link converstions 2010-02-11 18:50:55 +00:00
Petr Skoda 57cd3739a4 MDL-20204 converting link to html_writer or action_link 2010-02-11 16:56:00 +00:00
Petr Skoda 93af06be28 MDL-20204 converted more selects in forms 2010-02-11 08:43:39 +00:00
Petr Skoda e92b7f60a6 MDL-21403 hardcoded JS legacy code should not use new $PAGE->requires-> api, switching to html_writer instead 2010-01-26 09:52:30 +00:00
Petr Skoda 9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +00:00
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 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