[moodle] / moodle / course / edit.php Repository:

Log of /moodle/course/edit.php

Parent Directory Parent Directory


Links to HEAD: (view) (download) (annotate)
Sticky Tag:

Revision 1.128 - (view) (download) (annotate) - [select for diffs]
Thu Jan 28 15:00:16 2010 WST (7 weeks, 1 day ago) by samhemelryk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.127: +1 -1 lines
Diff to previous 1.127
course-edit MDL-20204 Fixed recent regression get_list_of_themes returns array of themes now not strings

Revision 1.127 - (view) (download) (annotate) - [select for diffs]
Sat Jan 16 23:39:58 2010 WST (2 months ago) by skodak
Branch: MAIN
Changes since 1.126: +3 -3 lines
Diff to previous 1.126
MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions

Revision 1.126 - (view) (download) (annotate) - [select for diffs]
Sun Dec 27 20:02:06 2009 WST (2 months, 3 weeks ago) by skodak
Branch: MAIN
Changes since 1.125: +1 -1 lines
Diff to previous 1.125
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

Revision 1.125 - (view) (download) (annotate) - [select for diffs]
Thu Dec 17 02:01:14 2009 WST (3 months ago) by skodak
Branch: MAIN
Changes since 1.124: +1 -1 lines
Diff to previous 1.124
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

Revision 1.124 - (view) (download) (annotate) - [select for diffs]
Wed Nov 4 16:11:02 2009 WST (4 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.123: +0 -1 lines
Diff to previous 1.123
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup

Revision 1.123 - (view) (download) (annotate) - [select for diffs]
Wed Nov 4 14:14:07 2009 WST (4 months, 2 weeks ago) by samhemelryk
Branch: MAIN
Changes since 1.122: +24 -9 lines
Diff to previous 1.122
files MDL-20601 Conversion of many of the uses of print_textarea, and the mforms htmleditor to the new editor
Please forgive me if I have missed converting any output statements. If you do find an output statement that is not formatting correctly please refere to the table I added to this bug in regards to how it should be formatted.

Revision 1.122 - (view) (download) (annotate) - [select for diffs]
Wed Sep 16 16:19:22 2009 WST (6 months ago) by samhemelryk
Branch: MAIN
Changes since 1.121: +8 -1 lines
Diff to previous 1.121
questions MDL-19820 Added set_url calls

Revision 1.121 - (view) (download) (annotate) - [select for diffs]
Fri Sep 4 11:12:25 2009 WST (6 months, 2 weeks ago) by samhemelryk
Branch: MAIN
Changes since 1.120: +3 -5 lines
Diff to previous 1.120
navigation MDL-20216 Refactored add arguments
Moved $action argument from arg5 to arg2

Revision 1.120 - (view) (download) (annotate) - [select for diffs]
Thu Sep 3 16:47:25 2009 WST (6 months, 2 weeks ago) by samhemelryk
Branch: MAIN
Changes since 1.119: +11 -16 lines
Diff to previous 1.119
course MDL-19794 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants

Revision 1.119 - (view) (download) (annotate) - [select for diffs]
Thu Aug 6 22:10:34 2009 WST (7 months, 1 week ago) by nicolasconnault
Branch: MAIN
Changes since 1.118: +2 -2 lines
Diff to previous 1.118
MDL-19794 Converted all print_footer() calls

Revision 1.118 - (view) (download) (annotate) - [select for diffs]
Thu Aug 6 16:15:45 2009 WST (7 months, 1 week ago) by nicolasconnault
Branch: MAIN
Changes since 1.117: +2 -2 lines
Diff to previous 1.117
MDL-19794 Migrated calls to print_heading

Revision 1.117 - (view) (download) (annotate) - [select for diffs]
Thu Jul 9 15:35:05 2009 WST (8 months, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.116: +2 -1 lines
Diff to previous 1.116
themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme

The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)

Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)

The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.

How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.

Further refinement for how the theme and block code gets initialised.

Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)

Things that are still broken:
 * some pages in lesson, quiz and resource. I'm working on it.
 * lots of developer debug notices pointing out things that
   need to be updated.

Revision 1.116 - (view) (download) (annotate) - [select for diffs]
Wed May 6 17:13:17 2009 WST (10 months, 1 week ago) by tjhunt
Branch: MAIN
Changes since 1.115: +1 -2 lines
Diff to previous 1.115
blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere

Revision 1.115 - (view) (download) (annotate) - [select for diffs]
Thu Mar 19 12:14:11 2009 WST (12 months ago) by tjhunt
Branch: MAIN
Changes since 1.114: +1 -18 lines
Diff to previous 1.114
course settings: MDL-18595: Fix regression caused by switching the course settings form to use the new date selector.

The bad commit was http://cvs.moodle.org/moodle/course/edit_form.php?r1=1.65&r2=1.66

Sorry everyone who was inconvenienced by this.

Revision 1.114 - (view) (download) (annotate) - [select for diffs]
Mon Jul 7 01:57:07 2008 WST (20 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.113: +1 -3 lines
Diff to previous 1.113
MDL-9983, MDL-13998 core events related cleanup; merged from MOODLE_19_STABLE

Revision 1.108.2.2 - (view) (download) (annotate) - [select for diffs]
Mon Jul 7 01:55:56 2008 WST (20 months, 1 week ago) by skodak
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_192, MOODLE_193, MOODLE_194, MOODLE_195, MOODLE_196, MOODLE_197, MOODLE_19_MERGED, MOODLE_19_WEEKLY
Changes since 1.108.2.1: +1 -3 lines
Diff to previous 1.108.2.1 , to branch point 1.108 , to next main 1.128
MDL-9983, MDL-13998, MDL-15552 core events related cleanup and potential sql injection problem fixed; please note the changes are not backwards compatible, 3rd party code will need to be updated  - sorry for the trouble

Revision 1.113 - (view) (download) (annotate) - [select for diffs]
Tue Jun 10 00:53:33 2008 WST (21 months, 1 week ago) by skodak
Branch: MAIN
Changes since 1.112: +2 -2 lines
Diff to previous 1.112
MDL-15189 magic quotes finally removed

Revision 1.112 - (view) (download) (annotate) - [select for diffs]
Sat May 31 00:47:22 2008 WST (21 months, 2 weeks ago) by skodak
Branch: MAIN
Changes since 1.111: +6 -6 lines
Diff to previous 1.111
MDL-14679 datalib conversion completed

Revision 1.111 - (view) (download) (annotate) - [select for diffs]
Wed May 7 14:02:52 2008 WST (22 months, 1 week ago) by dongsheng
Branch: MAIN
Changes since 1.110: +5 -5 lines
Diff to previous 1.110
"MDL-14129, fix print_error call under course/, see tracker"

Revision 1.110 - (view) (download) (annotate) - [select for diffs]
Fri Apr 4 10:54:24 2008 WST (23 months, 2 weeks ago) by dongsheng
Branch: MAIN
Changes since 1.109: +5 -5 lines
Diff to previous 1.109
MDL-14129, remove all the other error() call

Revision 1.109 - (view) (download) (annotate) - [select for diffs]
Mon Dec 3 21:23:24 2007 WST (2 years, 3 months ago) by poltawski
Branch: MAIN
Changes since 1.108: +7 -1 lines
Diff to previous 1.108
MDL-12409 - stop access to editing 'site course' with course edit form.

Merged from MOODLE_19_STABLE

Revision 1.108.2.1 - (view) (download) (annotate) - [select for diffs]
Mon Dec 3 21:12:15 2007 WST (2 years, 3 months ago) by poltawski
Branch: MOODLE_19_STABLE
CVS Tags: MOODLE_19, MOODLE_191
Changes since 1.108: +7 -1 lines
Diff to previous 1.108
MDL-12409 - stop access to editing 'site course' with course edit form.

Revision 1.108 - (view) (download) (annotate) - [select for diffs]
Wed Sep 19 15:13:20 2007 WST (2 years, 6 months ago) by martinlanghoff
Branch: MAIN
CVS Tags: MOODLE_19_BETA
Branch point for: MOODLE_19_STABLE
Changes since 1.107: +5 -1 lines
Diff to previous 1.107
course/edit: mark the course contextpath as dirty to force a reload

Combined with the path creation in create_context() we can now create
a course, enter and edit it immediately. Amazing.

Like - 21st century technology.

Revision 1.98.2.5 - (view) (download) (annotate) - [select for diffs]
Tue Sep 4 16:08:58 2007 WST (2 years, 6 months ago) by moodler
Branch: MOODLE_18_STABLE
CVS Tags: MOODLE_1810, MOODLE_1811, MOODLE_183, MOODLE_184, MOODLE_185, MOODLE_186, MOODLE_187, MOODLE_188, MOODLE_189, MOODLE_18_MERGED, MOODLE_18_WEEKLY
Changes since 1.98.2.4: +3 -1 lines
Diff to previous 1.98.2.4 , to branch point 1.98 , to next main 1.128
Merged fixes for MDL-10833 from HEAD

Revision 1.107 - (view) (download) (annotate) - [select for diffs]
Thu Aug 16 23:01:26 2007 WST (2 years, 7 months ago) by nicolasconnault
Branch: MAIN
Changes since 1.106: +25 -12 lines
Diff to previous 1.106
MDL-10870 All files updated to new build_navigation() method.

Revision 1.106 - (view) (download) (annotate) - [select for diffs]
Mon Aug 13 21:35:29 2007 WST (2 years, 7 months ago) by moodler
Branch: MAIN
Changes since 1.105: +4 -2 lines
Diff to previous 1.105
Make course themes work on course settings page MDL-10833

Revision 1.105 - (view) (download) (annotate) - [select for diffs]
Mon Jul 9 14:43:33 2007 WST (2 years, 8 months ago) by toyomoyo
Branch: MAIN
Changes since 1.104: +4 -3 lines
Diff to previous 1.104
MDL-9983, adding triggers for certain events, no handler implemented

Revision 1.104 - (view) (download) (annotate) - [select for diffs]
Mon Jun 11 04:43:43 2007 WST (2 years, 9 months ago) by skodak
Branch: MAIN
Changes since 1.103: +4 -2 lines
Diff to previous 1.103
MDL-9929 we need some other name for password field in course edit page

Revision 1.80.6.1 - (view) (download) (annotate) - [select for diffs]
Sun Mar 25 22:48:55 2007 WST (2 years, 11 months ago) by moodler
Branch: MOODLE_16_STABLE
CVS Tags: MOODLE_165, MOODLE_166, MOODLE_167, MOODLE_168, MOODLE_169, MOODLE_16_WEEKLY
Changes since 1.80: +2 -1 lines
Diff to previous 1.80 , to next main 1.128
Restoring changes all the changes in MOODLE_16_STABLE since MOODLE_16_BETA.

This had to be done because the MOODLE_16_STABLE branch tags were moved.

Hopefully after this MOODLE_16_STABLE will be back to how it was (and a
proper branch) but some of the history may look a bit odd.

See MDL-9032 for more discussion and details.

Revision 1.98.2.4 - (view) (download) (annotate) - [select for diffs]
Fri Mar 23 11:42:40 2007 WST (2 years, 11 months ago) by moodler
Branch: MOODLE_18_STABLE
CVS Tags: MOODLE_18, MOODLE_181, MOODLE_182
Changes since 1.98.2.3: +49 -136 lines
Diff to previous 1.98.2.3 , to branch point 1.98
Merged create_course and update_course changes from head   MDL-9015

Revision 1.103 - (view) (download) (annotate) - [select for diffs]
Fri Mar 23 11:29:05 2007 WST (2 years, 11 months ago) by moodler
Branch: MAIN
Changes since 1.102: +48 -170 lines
Diff to previous 1.102
Moved create_course and update_course into course/lib.php and cleaned them up to be more useful in general  MDL-9015

Revision 1.102 - (view) (download) (annotate) - [select for diffs]
Thu Mar 22 17:11:30 2007 WST (2 years, 11 months ago) by toyomoyo
Branch: MAIN
Changes since 1.101: +36 -1 lines
Diff to previous 1.101
fix for MDL-8966, customizable role names

Revision 1.101 - (view) (download) (annotate) - [select for diffs]
Thu Mar 15 06:42:38 2007 WST (3 years ago) by skodak
Branch: MAIN
Changes since 1.100: +10 -11 lines
Diff to previous 1.100
MDL-8867 Add setting to define role that is assigned to creators in new courses
MDL-8868 Set only minimal permissions for creator role

+ improved accesslib to handle changes of context levels in capability definitions

merged from MOODLE_18_STABLE

Revision 1.98.2.3 - (view) (download) (annotate) - [select for diffs]
Thu Mar 15 06:38:15 2007 WST (3 years ago) by skodak
Branch: MOODLE_18_STABLE
Changes since 1.98.2.2: +10 -11 lines
Diff to previous 1.98.2.2 , to branch point 1.98
MDL-8867 Add setting to define role that is assigned to creators in new courses
MDL-8868 Set only minimal permissions for creator role

+ improved accesslib to handle changes of context levels in capability definitions

Revision 1.100 - (view) (download) (annotate) - [select for diffs]
Wed Feb 28 15:25:24 2007 WST (3 years ago) by moodler
Branch: MAIN
Changes since 1.99: +2 -2 lines
Diff to previous 1.99
Merged Nicolas' changes from MDL-8582 into HEAD.

Revision 1.98.2.2 - (view) (download) (annotate) - [select for diffs]
Wed Feb 28 14:36:14 2007 WST (3 years ago) by nicolasconnault
Branch: MOODLE_18_STABLE
Changes since 1.98.2.1: +3 -3 lines
Diff to previous 1.98.2.1 , to branch point 1.98
Fixed MDL-8582
Not sure if the hotpot module is converting ampersands correctly. $heading and $title are set up differently than in other modules: instead of outputting $course->title, a temporary $title variable is created and assigned that value. That made it difficult for me to decide whether it was already formatted elsewhere or not.

Also I didn't format_string() any of the variables included in $navigation rings, because I assume these strings get processed by print_navigation(), which includes format_string().

Revision 1.99 - (view) (download) (annotate) - [select for diffs]
Fri Feb 16 17:46:55 2007 WST (3 years, 1 month ago) by vyshane
Branch: MAIN
Changes since 1.98: +1 -2 lines
Diff to previous 1.98
Merged from 1.8.

Revision 1.98.2.1 - (view) (download) (annotate) - [select for diffs]
Fri Feb 16 17:43:14 2007 WST (3 years, 1 month ago) by vyshane
Branch: MOODLE_18_STABLE
Changes since 1.98: +1 -2 lines
Diff to previous 1.98
Merged from 1.7.

Revision 1.92.2.2 - (view) (download) (annotate) - [select for diffs]
Fri Feb 16 17:15:09 2007 WST (3 years, 1 month ago) by vyshane
Branch: MOODLE_17_STABLE
CVS Tags: MOODLE_172, MOODLE_173, MOODLE_174, MOODLE_175, MOODLE_176, MOODLE_177, MOODLE_17_MERGED, MOODLE_17_WEEKLY
Changes since 1.92.2.1: +2 -2 lines
Diff to previous 1.92.2.1 , to branch point 1.92 , to next main 1.128
Fix for MDL-7796 "Default permissions for Course Creators are too permissive". Changed some permissions from allow to inherit. Changed course deletion checks to allow course creators to delete courses.

Revision 1.98 - (view) (download) (annotate) - [select for diffs]
Sat Jan 13 03:52:16 2007 WST (3 years, 2 months ago) by skodak
Branch: MAIN
CVS Tags: MOODLE_18_BETA
Branch point for: MOODLE_18_STABLE
Changes since 1.97: +3 -3 lines
Diff to previous 1.97
MDL-8166 rename in/out methods in formslib - HQ consensus

Revision 1.97 - (view) (download) (annotate) - [select for diffs]
Fri Jan 12 14:07:22 2007 WST (3 years, 2 months ago) by jamiesensei
Branch: MAIN
Changes since 1.96: +5 -1 lines
Diff to previous 1.96
moved set_defaults to main script out of definition method.

Revision 1.96 - (view) (download) (annotate) - [select for diffs]
Tue Dec 19 16:03:08 2006 WST (3 years, 3 months ago) by jamiesensei
Branch: MAIN
CVS Tags: MOODLE_18_GROUPS_PRE_MERGE
Changes since 1.95: +8 -3 lines
Diff to previous 1.95
* Added setAdvanced functionality see http://docs.moodle.org/en/Development:lib/formslib.php_setAdvanced
* Added MoodleQuickForm method closeHeaderBefore($elementName); http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#Use_Fieldsets_to_group_Form_Elements
* Added moodleform method add_action_buttons(); see http://docs.moodle.org/en/Development:lib/formslib.php_Form_Definition#add_action_buttons.28.24cancel_.3D_true.2C_.24revert_.3D_true.2C_.24submitlabel.3Dnull.29.3B
* is_cancelled method added to moodleform http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page
* added hidden labels to elements within groups such as the date_selector select boxes and other elements in 'groups'
* quiz/mod.html migrated to formslib
* glossary/edit.html migrated to formslib
* extended registerNoSubmitButton() functionality to automatically add js to onclick to bypass client side js input validation.
* added no_submit_button_pressed() function that can be used in a similar way to is_cancelled() as a test in the main script to see if some button in the page has been pressed that is a submit button that is used for some dynamic functionality within the form and not to submit the data for the whole form.
* added new condition for disabledIf which allows to disable another form element if no options are selected from within a select element.
* added default 'action' for moodleform  - strip_querystring(qualified_me()) http://docs.moodle.org/en/Development:lib/formslib.php_Usage#Basic_Usage_in_A_Normal_Page

Revision 1.92.2.1 - (view) (download) (annotate) - [select for diffs]
Tue Nov 21 11:22:33 2006 WST (3 years, 3 months ago) by toyomoyo
Branch: MOODLE_17_STABLE
CVS Tags: MOODLE_171
Changes since 1.92: +8 -4 lines
Diff to previous 1.92
fix for MDL-7540 wrong usage of context levels

Revision 1.95 - (view) (download) (annotate) - [select for diffs]
Fri Nov 10 06:08:30 2006 WST (3 years, 4 months ago) by skodak
Branch: MAIN
CVS Tags: MOODLE_18_GROUPS_PRE
Branch point for: MOODLE_18_GROUPS
Changes since 1.94: +1 -2 lines
Diff to previous 1.94
coding style fixes MDL-6949

Revision 1.94 - (view) (download) (annotate) - [select for diffs]
Fri Nov 10 05:29:31 2006 WST (3 years, 4 months ago) by skodak
Branch: MAIN
Changes since 1.93: +157 -254 lines
Diff to previous 1.93
course/edit.php now uses new forms lib, the old one is gone; please report any problems in MDL-6949

Revision 1.93 - (view) (download) (annotate) - [select for diffs]
Fri Oct 13 17:58:53 2006 WST (3 years, 5 months ago) by skodak
Branch: MAIN
Changes since 1.92: +6 -1 lines
Diff to previous 1.92
refactored course/edit2.php and edit_form MDL-6914 ; set $CFG->use_new_forms=1; in config.php if you want to test it ;-)

Revision 1.92 - (view) (download) (annotate) - [select for diffs]
Thu Sep 21 04:31:37 2006 WST (3 years, 5 months ago) by skodak
Branch: MAIN
CVS Tags: MOODLE_17, MOODLE_17_BETA, MOODLE_17_BETA2
Branch point for: MOODLE_17_STABLE
Changes since 1.91: +5 -5 lines
Diff to previous 1.91
major whitespace cleanup - fixed tabs

Revision 1.91 - (view) (download) (annotate) - [select for diffs]
Tue Sep 19 17:16:24 2006 WST (3 years, 6 months ago) by toyomoyo
Branch: MAIN
Changes since 1.90: +3 -3 lines
Diff to previous 1.90
replacing deprecated funciton calls with capability calls

Revision 1.90 - (view) (download) (annotate) - [select for diffs]
Tue Sep 19 14:35:53 2006 WST (3 years, 6 months ago) by skodak
Branch: MAIN
Changes since 1.89: +3 -3 lines
Diff to previous 1.89
moodle/course:managemetacourse is now singular

Revision 1.89 - (view) (download) (annotate) - [select for diffs]
Mon Sep 18 17:37:51 2006 WST (3 years, 6 months ago) by skodak
Branch: MAIN
Changes since 1.88: +22 -28 lines
Diff to previous 1.88
metacourse fixes for course editting

Revision 1.88 - (view) (download) (annotate) - [select for diffs]
Mon Sep 18 17:16:49 2006 WST (3 years, 6 months ago) by toyomoyo
Branch: MAIN
Changes since 1.87: +5 -6 lines
Diff to previous 1.87
validation should not watch out for teacher and students string anymore

Revision 1.87 - (view) (download) (annotate) - [select for diffs]
Mon Sep 18 17:10:03 2006 WST (3 years, 6 months ago) by toyomoyo
Branch: MAIN
Changes since 1.86: +8 -16 lines
Diff to previous 1.86
if the user has no capability, after creating a course we add him to the first role with legacy:edittingteacher, to make him a legacy editting teacher

Revision 1.86 - (view) (download) (annotate) - [select for diffs]
Sun Sep 17 17:22:34 2006 WST (3 years, 6 months ago) by moodler
Branch: MAIN
Changes since 1.85: +10 -4 lines
Diff to previous 1.85
$CFG->defaultcourseroleid defines a site default for the role given to
people who enrol in the course.

$course->defaultrole defines the value for each course for what role
should be used in the same case.   Naturally it defaults to the site config
(when it is zero).

This role is retained even when the person editing the course settings
doesn't actually have that role in their list of assignable rights (however
they are prevented from actually switching to any such role themselves).

Note that enrol plugins are free to ignore these values and use whatever
roles they like.  Generally, though, they should respect these settings.

Revision 1.85 - (view) (download) (annotate) - [select for diffs]
Fri Aug 25 16:27:30 2006 WST (3 years, 6 months ago) by toyomoyo
Branch: MAIN
Changes since 1.84: +5 -4 lines
Diff to previous 1.84
some (mainly admin realated) capabilities

Revision 1.84 - (view) (download) (annotate) - [select for diffs]
Mon Aug 14 13:55:41 2006 WST (3 years, 7 months ago) by moodler
Branch: MAIN
CVS Tags: MOODLE_17_NEWGROUPS_PRE
Branch point for: MOODLE_17_NEWGROUPS
Changes since 1.83: +2 -2 lines
Diff to previous 1.83
SWEEPING CLEANUP

The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied

Revision 1.83 - (view) (download) (annotate) - [select for diffs]
Sun Aug 13 15:01:57 2006 WST (3 years, 7 months ago) by moodler
Branch: MAIN
Changes since 1.82: +0 -6 lines
Diff to previous 1.82
Removed all of the "Restricted users" hack because Roles can do it all better.

Revision 1.82 - (view) (download) (annotate) - [select for diffs]
Tue Aug 8 13:13:10 2006 WST (3 years, 7 months ago) by moodler
Branch: MAIN
Changes since 1.81: +6 -3 lines
Diff to previous 1.81
ROLES AND PERMISSIONS  - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.

Revision 1.81 - (view) (download) (annotate) - [select for diffs]
Mon Jul 17 16:39:36 2006 WST (3 years, 8 months ago) by skodak
Branch: MAIN
Changes since 1.80: +2 -1 lines
Diff to previous 1.80
Bug #6120 - Course creation - loginproblem; merged from MOODLE_16_STABLE

Revision 1.80.2.1 - (view) (download) (annotate) - [select for diffs]
Mon Jul 17 16:38:45 2006 WST (3 years, 8 months ago) by skodak
CVS Tags: MOODLE_161, MOODLE_162, MOODLE_163, MOODLE_164, MOODLE_16_MERGED
Changes since 1.80: +2 -1 lines
Diff to previous 1.80 , to next main 1.128
Bug #6120 - Course creation - loginproblem

Revision 1.80.4.3 - (view) (download) (annotate) - [select for diffs]
Wed Jul 12 15:55:39 2006 WST (3 years, 8 months ago) by vyshane
Branch: MOODLE_17_ROLES
Changes since 1.80.4.2: +3 -3 lines
Diff to previous 1.80.4.2 , to branch point 1.80 , to next main 1.128
Updated capabilities

Revision 1.80.4.2 - (view) (download) (annotate) - [select for diffs]
Wed Jul 12 01:55:13 2006 WST (3 years, 8 months ago) by vyshane
Branch: MOODLE_17_ROLES
Changes since 1.80.4.1: +3 -3 lines
Diff to previous 1.80.4.1 , to branch point 1.80
Changed capability names to bring in line with format defined in wiki

Revision 1.80.4.1 - (view) (download) (annotate) - [select for diffs]
Thu Jul 6 13:34:50 2006 WST (3 years, 8 months ago) by toyomoyo
Branch: MOODLE_17_ROLES
Changes since 1.80: +6 -3 lines
Diff to previous 1.80
group permission

Revision 1.80 - (view) (download) (annotate) - [select for diffs]
Wed Apr 26 23:00:22 2006 WST (3 years, 10 months ago) by urs_hunkler
Branch: MAIN
CVS Tags: MOODLE_16, MOODLE_16_BETA
Branch point for: MOODLE_16_STABLE, MOODLE_17_ROLES
Changes since 1.79: +3 -3 lines
Diff to previous 1.79
bug #5347 - JS code after page end??? corrected

Revision 1.71.2.2 - (view) (download) (annotate) - [select for diffs]
Wed Apr 26 22:58:32 2006 WST (3 years, 10 months ago) by urs_hunkler
Branch: MOODLE_15_STABLE
CVS Tags: MOODLE_154, MOODLE_15_MERGED
Changes since 1.71.2.1: +4 -4 lines
Diff to previous 1.71.2.1 , to branch point 1.71 , to next main 1.128
bug #5347 - JS code after page end??? corrected

Revision 1.79 - (view) (download) (annotate) - [select for diffs]
Fri Apr 14 16:02:34 2006 WST (3 years, 11 months ago) by skodak
Branch: MAIN
Changes since 1.78: +5 -1 lines
Diff to previous 1.78
changes needed for new s() and p() - see bug #2338

Revision 1.78 - (view) (download) (annotate) - [select for diffs]
Thu Mar 9 10:48:27 2006 WST (4 years ago) by martinlanghoff
Branch: MAIN
Changes since 1.77: +2 -1 lines
Diff to previous 1.77
[multienrol]Initial commit for multi enrolment plugin feature

Revision 1.77 - (view) (download) (annotate) - [select for diffs]
Wed Mar 8 03:36:12 2006 WST (4 years ago) by skodak
Branch: MAIN
Changes since 1.76: +2 -2 lines
Diff to previous 1.76
parameter cleaup - round 8;  short php tag in group-edit.html

Revision 1.75.6.2 - (view) (download) (annotate) - [select for diffs]
Wed Dec 14 12:13:58 2005 WST (4 years, 3 months ago) by patrickslee
Branch: MOODLE_16_MULTIENROL
Changes since 1.75.6.1: +3 -5 lines
Diff to previous 1.75.6.1 , to branch point 1.75 , to next main 1.128
Merged with MOODLE_16_MULTIENROL_MP1

Revision 1.76 - (view) (download) (annotate) - [select for diffs]
Sun Oct 30 00:18:18 2005 WST (4 years, 4 months ago) by skodak
Branch: MAIN
CVS Tags: MOODLE_16_MULTIENROL_MP1, MOODLE_16_UTF8_PRE
Branch point for: MOODLE_16_UTF8
Changes since 1.75: +3 -5 lines
Diff to previous 1.75
cleaning of parameter, initialized variable SC#168; merged from MOODLE_15_STABLE

Revision 1.71.2.1 - (view) (download) (annotate) - [select for diffs]
Sun Oct 30 00:15:22 2005 WST (4 years, 4 months ago) by skodak
Branch: MOODLE_15_STABLE
CVS Tags: MOODLE_153
Changes since 1.71: +3 -6 lines
Diff to previous 1.71
cleaning of parameter, initialized variable SC#168

Revision 1.75.6.1 - (view) (download) (annotate) - [select for diffs]
Fri Oct 7 10:36:58 2005 WST (4 years, 5 months ago) by patrickslee
Branch: MOODLE_16_MULTIENROL
Changes since 1.75: +2 -1 lines
Diff to previous 1.75
Initial commit for multi enrolment plugin feature

Revision 1.75 - (view) (download) (annotate) - [select for diffs]
Tue Oct 4 09:59:19 2005 WST (4 years, 5 months ago) by patrickslee
Branch: MAIN
CVS Tags: MOODLE_16_AUTHREFACTOR_PRE, MOODLE_16_MULTIENROL_PRE
Branch point for: MOODLE_16_AUTHREFACTOR, MOODLE_16_MULTIENROL
Changes since 1.74: +17 -1 lines
Diff to previous 1.74
New feature: Course enrollable control with date range

Revision 1.74 - (view) (download) (annotate) - [select for diffs]
Tue Aug 16 14:15:49 2005 WST (4 years, 7 months ago) by mjollnir_
Branch: MAIN
Changes since 1.73: +40 -2 lines
Diff to previous 1.73
Course request feature. Allows normal users to 'request' courses they would like created,
and admins can approve or reject pending courses.

Also, contains the ability to restrict activity modules on a per course basic. Strict config options:
  enable restricting modules at ALL (for all courses, no courses, requested courses), what to do by default for newly created courses
  as well as what modules to enable for above category by default.

This feature was created for the aim of building a community side to moodle - for institutes that have strict courses and enrolments, allowing normal users to request interest courses is a good feature,
but some modules may be redundant (assignment, lesson, quiz etc)

  Please test!

Revision 1.73 - (view) (download) (annotate) - [select for diffs]
Sat Jul 23 02:52:58 2005 WST (4 years, 7 months ago) by moodler
Branch: MAIN
Changes since 1.72: +2 -1 lines
Diff to previous 1.72
Add currency to cost

Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Tue Jun 14 17:21:09 2005 WST (4 years, 9 months ago) by thepurpleblob
Branch: MAIN
Changes since 1.71: +3 -3 lines
Diff to previous 1.71
Replaced require_variable(), optional_variable() with approproate
required_param(), optional_param() etc.

Revision 1.71 - (view) (download) (annotate) - [select for diffs]
Mon Mar 14 15:31:47 2005 WST (5 years ago) by moodler
Branch: MAIN
CVS Tags: MOODLE_15, MOODLE_151, MOODLE_152, MOODLE_15_BETA
Branch point for: MOODLE_15_STABLE
Changes since 1.70: +2 -2 lines
Diff to previous 1.70
New courses are logged to the site log

Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Fri Feb 25 05:22:06 2005 WST (5 years ago) by martinlanghoff
Branch: MAIN
Changes since 1.69: +7 -2 lines
Diff to previous 1.69
Merged from MOODLE_14_STABLE - Provide an explicit sortorder for new courses in empty categories, and run fix_course_sortorder() after adding the course to make sure its in the appropriate range for the category. This mege adds fix specific to HEAD: it reverts an earlier bad fix.

Revision 1.54.2.6 - (view) (download) (annotate) - [select for diffs]
Fri Feb 25 05:20:29 2005 WST (5 years ago) by martinlanghoff
Branch: MOODLE_14_STABLE
CVS Tags: MOODLE_144, MOODLE_145, MOODLE_14_MERGED
Changes since 1.54.2.5: +6 -2 lines
Diff to previous 1.54.2.5 , to branch point 1.54 , to next main 1.128
Provide an explicit sortorder for new courses in empty categories, and run fix_course_sortorder() after adding the course to make sure its in the appropriate range for the category

Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Tue Feb 22 11:23:41 2005 WST (5 years ago) by martinlanghoff
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68
Fixes for null sortorder on empty categories.

Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Mon Jan 31 10:18:15 2005 WST (5 years, 1 month ago) by defacer
Branch: MAIN
Changes since 1.67: +3 -3 lines
Diff to previous 1.67
Dropping the use of MOODLE_PAGE_COURSE <gasp>!

The new constant is PAGE_COURSE_VIEW, and it's more streamlined with the
new CSS-related ids for 1.5. There are great possibilities for the future
here, so we 're getting ready.

On the other hand, this has to be the ugliest hack I 've ever inflicted
on any program (look at pagelib.php). Thankfully it will only stay for just
a little while.

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Tue Jan 25 22:03:41 2005 WST (5 years, 1 month ago) by moodler
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66
Removed THEME from many course files

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Tue Jan 25 13:03:43 2005 WST (5 years, 1 month ago) by martinlanghoff
Branch: MAIN
Changes since 1.65: +5 -1 lines
Diff to previous 1.65
Merged from MOODLE_14_STABLE - Ensuring correct sortorder at the beginning of the category when creating courses.

Revision 1.54.2.5 - (view) (download) (annotate) - [select for diffs]
Tue Jan 25 12:56:29 2005 WST (5 years, 1 month ago) by martinlanghoff
Branch: MOODLE_14_STABLE
Changes since 1.54.2.4: +6 -1 lines
Diff to previous 1.54.2.4 , to branch point 1.54
Ensuring correct sortorder at the beginning of the category when creating courses.

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Tue Jan 25 12:32:58 2005 WST (5 years, 1 month ago) by mjollnir_
Branch: MAIN
Changes since 1.64: +3 -3 lines
Diff to previous 1.64
Update for meta courses.   New table renamed from meta_course to course_meta (and upgrade script provided in mysql.php and postgres7.php) and new field in course table renamed from meta_course to metacourse.  Associated changes in code.  Please test me!

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Tue Jan 25 06:18:49 2005 WST (5 years, 1 month ago) by mjollnir_
Branch: MAIN
Changes since 1.63: +17 -1 lines
Diff to previous 1.63
Initial checkin for new meta courses feature.  Please test!
See http://moodle.org/mod/forum/discuss.php?d=17269 for description.

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Sat Jan 22 17:00:42 2005 WST (5 years, 1 month ago) by martinlanghoff
Branch: MAIN
Changes since 1.62: +3 -1 lines
Diff to previous 1.62
Merged from MOODLE_14_STABLE - Closing SC#66

Revision 1.54.2.4 - (view) (download) (annotate) - [select for diffs]
Sat Jan 22 16:59:26 2005 WST (5 years, 1 month ago) by martinlanghoff
Branch: MOODLE_14_STABLE
Changes since 1.54.2.3: +3 -1 lines
Diff to previous 1.54.2.3 , to branch point 1.54
Closing SC#66

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Mon Nov 29 12:19:04 2004 WST (5 years, 3 months ago) by defacer
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61
Fix for bug 2241:

I hope this time I got everything changed to the new Page interface! I 'm
really sorry for messing up and breaking new installations... :(

Also moved the only two functions of the API outside the page_base class.

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Tue Nov 9 03:36:06 2004 WST (5 years, 4 months ago) by defacer
Branch: MAIN
Changes since 1.60: +6 -13 lines
Diff to previous 1.60
MAJOR CHANGES:
--------------

Brand-new pagelib.php at your disposal! It slices, it dices, it makes your coffee.
It still doesn't understand women... Read the comments in pagelib.php for a first
impression. Feedback highly encouraged!

Blocks code has undergone significant changes to work with Pages. Flexibility is its
middle name, since I think (without having tried it) that adding e.g. a third
placeholder for "center" blocks in courses, with full support for moving around etc,
will now take about 15 lines of new or edited code. If you are not impressed yet, I
suggest watching a documentary on solar physics. :P

MINOR CHANGES:
--------------

Added instance_allow_config() in the blocks class hierarchy to supplement per-instance
configuration options. You can override it to return true and thus get configuration
amenities without allowing multiple instances.

Minor polishing to comments and documentation (whatever caught my eye was game).

Tightened up some code here and there by utilizing all the new features.

BUGFIXES:
---------

A bug in restore_execute.html caused hidden blocks to not be restored at all.

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Wed Oct 20 05:04:23 2004 WST (5 years, 5 months ago) by defacer
Branch: MAIN
Changes since 1.59: +13 -6 lines
Diff to previous 1.59
Da monster-commit of blocks version 2!

Code based on the work of Daryl Hawes for the blog module. Thanks, Daryl!

Please test the hell out of it as it's sure to have issues that need to be
ironed out.

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Sat Oct 9 02:13:05 2004 WST (5 years, 5 months ago) by stronk7
Branch: MAIN
Changes since 1.58: +4 -2 lines
Diff to previous 1.58
course/edit.php is using sesskey.

Merged from MOODLE_14_STABLE

Revision 1.54.2.3 - (view) (download) (annotate) - [select for diffs]
Sat Oct 9 02:10:37 2004 WST (5 years, 5 months ago) by stronk7
Branch: MOODLE_14_STABLE
CVS Tags: MOODLE_142, MOODLE_143
Changes since 1.54.2.2: +4 -2 lines
Diff to previous 1.54.2.2 , to branch point 1.54
edit.php is using sesskey

Revision 1.54.2.2 - (view) (download) (annotate) - [select for diffs]
Sat Oct 2 19:09:17 2004 WST (5 years, 5 months ago) by gustav_delius
Branch: MOODLE_14_STABLE
Changes since 1.54.2.1: +3 -3 lines
Diff to previous 1.54.2.1 , to branch point 1.54
provisional fix for bug reported by Timothy Allen in http://moodle.org/mod/forum/discuss.php?d=13388. Provisional because I am not sure I am using the new parameter functions correctly.

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Fri Oct 1 20:09:52 2004 WST (5 years, 5 months ago) by moodler
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57
Added optional_param and required_param just to get it on the plate

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Tue Sep 28 23:58:13 2004 WST (5 years, 5 months ago) by moodler
Branch: MAIN
Changes since 1.56: +3 -3 lines
Diff to previous 1.56
Merged from STABLE

Revision 1.54.2.1 - (view) (download) (annotate) - [select for diffs]
Tue Sep 28 23:48:16 2004 WST (5 years, 5 months ago) by moodler
Branch: MOODLE_14_STABLE
Changes since 1.54: +3 -3 lines
Diff to previous 1.54
Use the new parameter() function to check parameters better

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Sun Sep 12 20:14:41 2004 WST (5 years, 6 months ago) by gustav_delius
Branch: MAIN
Changes since 1.55: +1 -1 lines
Diff to previous 1.55
towards XHTML compliance

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Sat Sep 4 04:08:22 2004 WST (5 years, 6 months ago) by mchurch
Branch: MAIN
CVS Tags: MOODLE_15_LDAP_PRE
Branch point for: MOODLE_15_LDAP
Changes since 1.54: +2 -7 lines
Diff to previous 1.54
Added new default block definition functionality.

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Mon Aug 23 00:49:40 2004 WST (5 years, 6 months ago) by defacer
Branch: MAIN
CVS Tags: MOODLE_13_MERGED, MOODLE_14, MOODLE_141, MOODLE_14_BETA
Branch point for: MOODLE_14_STABLE
Changes since 1.53: +6 -1 lines
Diff to previous 1.53
Fix for bug 1678:

When a course's format is changed, blocks which are not appropriate for the
new format are automatically purged.

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Thu Aug 12 15:52:44 2004 WST (5 years, 7 months ago) by moodler
Branch: MAIN
Changes since 1.52: +6 -2 lines
Diff to previous 1.52
Avoiding a notice

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Wed Jul 28 14:27:10 2004 WST (5 years, 7 months ago) by moodler
Branch: MAIN
Changes since 1.51: +4 -2 lines
Diff to previous 1.51
FIxed some notices

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Fri Jun 4 14:17:26 2004 WST (5 years, 9 months ago) by moodler
Branch: MAIN
CVS Tags: MOODLE_14_RESOURCE_PRE
Branch point for: MOODLE_14_RESOURCE
Changes since 1.50: +2 -2 lines
Diff to previous 1.50
BRANCH MERGE

These are the changes from MOODLE_13_STABLE, merged into trunk

The tag MOODLE_13_MERGED on the MOODLE_13_STABLE branch now refers to this point

The biggest changes here are the fixes for HTML editor in all standard modules

Revision 1.49.4.1 - (view) (download) (annotate) - [select for diffs]
Thu Jun 3 21:07:44 2004 WST (5 years, 9 months ago) by moodler
Branch: MOODLE_13_STABLE
CVS Tags: MOODLE_131, MOODLE_134, MOODLE_135
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 , to next main 1.128
OK, for bug fixes this is a pretty big checkin!!   :-/

I finally was able to see the HTML Editor bug in IE/XP that everyone
was talking about, and it's a very serious bug as it makes Moodle 1.3
almost unusable for these people.  :-(  :-(

So, I eventually found out that the problem is that the Javascript that
attaches the editor has troubles when it is embedded within the table                                                   that course/mod.php puts around the mod.html forms in each module.
(Only in IE and only sometimes, mind you).

While testing I also had a good look at a long standing issue which is the
inconsistency of the mod.html forms when using the editor.

So, to fix both I decided to put the HTML editor calls OUTSIDE the mod.html
in the mod.php file.  This means that all modules get the HTML editor by default
on all text areas during activity module setup by default.

I've been running through this for the past few hours and it seems
pretty stable now and a lot more consistent, so I'm checking it in
as big fix towards the Moodle 1.3.1 we have to have.

Unfortunately it also means the API has changed a bit  ... I had to
update all the module dependencies to this exact version (or later).

Please test this "stable" version hard using the standard modules only
and I'll merge these changes over to the trunk in a day or so and update
all known third-party modules.

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Sun May 30 08:33:44 2004 WST (5 years, 9 months ago) by gustav_delius
Branch: MAIN
Changes since 1.49: +11 -11 lines
Diff to previous 1.49
List of courses is now always ordered according to sortorder, see http://moodle.org/mod/forum/discuss.php?d=7034

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Thu Apr 29 18:28:58 2004 WST (5 years, 10 months ago) by defacer
Branch: MAIN
CVS Tags: MOODLE_13, Moodle_13_Beta, Moodle_13_pre14merge
Branch point for: MOODLE_13_STABLE, Moodle_14_dev
Changes since 1.48: +6 -7 lines
Diff to previous 1.48
Fix for bug #1280: the "showrecent" course setting has to go.

Updated script and editing page.

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Mon Apr 19 07:20:36 2004 WST (5 years, 11 months ago) by stronk7
Branch: MAIN
Changes since 1.47: +10 -1 lines
Diff to previous 1.47
First Official realease of the "Blocks System".
Integrated with Moodle:
    - Install automatically.
    - Update course->blockinfo for each course at installation time.
    - Modified course creation to insert into blockinfo field.
    - Modified restore to insert into blockinfo field.
    - Admin options (hide, show, delete, config) from admin page.
    - Lang strings inserted (en only).
    - Database support to mysql and postgresql (not tested!!).
Moodle, backup and block versions updated to 2004041800.
Tested with mysql: Install fresh and upgrade from previous.
section_activities block renamed to social_activities and created
its own lang file to support name "Social Activities". This can
be changed at any time.

TODO:
=====
Support it really in backup/restore.
????

Enjoy!! Ciao :-)

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Wed Feb 4 20:45:35 2004 WST (6 years, 1 month ago) by moodler
Branch: MAIN
CVS Tags: Moodle_12, Moodle_121, PREBLOCKS
Changes since 1.46: +3 -1 lines
Diff to previous 1.46
Restricted users can't update course formats

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 01:18:05 2003 WST (6 years, 2 months ago) by moodler
Branch: MAIN
Changes since 1.45: +9 -1 lines
Diff to previous 1.45
This is the first check-in of support for groups.

It's very early (it doesn't actually do anything yet!) but you can
define groups and get an idea of how the interface is shaping up.
I also wanted to show that I have actually done something on this! :-)

From here my plan is to add group support to the modules, one by one
(forums first), then go back and clean up some of the central interfaces,
graphics etc.

Finally, test, test, test and get 1.2 out well before the end of February.

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sun Dec 21 12:52:25 2003 WST (6 years, 2 months ago) by moodler
Branch: MAIN
CVS Tags: PREGROUPS
Changes since 1.44: +8 -7 lines
Diff to previous 1.44
Modification of the course format plugin structures so that it
fits in with other plugin formats in Moodle.

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Mon Sep 8 21:01:47 2003 WST (6 years, 6 months ago) by moodler
Branch: MAIN
CVS Tags: Moodle_111
Changes since 1.43: +2 -1 lines
Diff to previous 1.43
Initialized showgrades

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Sat Aug 23 15:26:50 2003 WST (6 years, 6 months ago) by moodler
Branch: MAIN
CVS Tags: Moodle_11
Changes since 1.42: +13 -5 lines
Diff to previous 1.42
If the language is the same as the site, then default to using the
same terminology as the site does

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Fri Aug 22 20:15:35 2003 WST (6 years, 6 months ago) by moodler
Branch: MAIN
Changes since 1.41: +3 -3 lines
Diff to previous 1.41
Put in buttons so that course creators can create courses!  :-I

Also, category fix_sorting is done better now when a course is added.

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Sat Aug 16 13:40:27 2003 WST (6 years, 7 months ago) by moodler
Branch: MAIN
CVS Tags: Moodle_11b
Changes since 1.40: +6 -4 lines
Diff to previous 1.40
Teacher editors can edit courses, and course creators get
added as teacher-editors when they create a course

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Fri Aug 15 21:59:24 2003 WST (6 years, 7 months ago) by moodler
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39
WARNING: BIG CHANGES!

OK, this is a big check-in with some big changes, and needs work still.

It seems relatively stable, but I need help identifying the rough patches.

1) First grading scales support.  There is a now a new table called "scale"
   that contains grading scales.  There can be site scales (course=0) and
   custom course scales.  These can be used in modules - I've only done
   forums for now but that was the hard one.  Scales can be edited via
   the new item in the course admin menu.

   There is one default scale - the connected/separate knowing one that used
   to be in forum.  To build this I pull data from the language packs
   to create one during the upgrade, or anytime a scales menu is called
   and no scales are found.

2) New roles for course creator and teachers.  I've fixed up the course
   menus and some other things but there's a lot left to do on this to
   make it all smooth.  The idea is that teachers no longer can edit courses
   unless they are also course creators.  The interface for this needs to
   be smoothed out a fair bit and I need help with this.

   The upgrade will upgrade all teachers to be creators, but will default
   the new site config "creatornewcourses" to "no", so that effectively
   these new teachers have the same privileges.

3) Simplified teacher management.  There is no longer an "assign teachers"
   and a "teacher roles" page - it's all on one page in course/teacher.html.


Phew ... time for a shower and then back into it.

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Sun Aug 10 00:53:30 2003 WST (6 years, 7 months ago) by moodler
Branch: MAIN
Changes since 1.38: +7 -5 lines
Diff to previous 1.38
More moodling on the course categories, improving performance for
large categories and making it easier to move large numbers of
courses around.

Also cleaned up some of the navigation bars

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Fri Aug 8 01:00:06 2003 WST (6 years, 7 months ago) by moodler
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37
Little display tweaks

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Fri Aug 8 00:01:28 2003 WST (6 years, 7 months ago) by moodler
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36
Another big checkin.

This includes some significant cleanups to the new course categories
system.  The basic idea is that the categories/course browser is now
unified under one system, and admin features related to that have
all been moved into the browser (as little icons).

I'm much happier with this as a foundation that can scale and be
built upon.

Still to go:

  - searching
  - paging
  - polishing

Also in here are a lot of little cleanups around the place, such as
the initial setup process.

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Wed Jul 30 21:02:45 2003 WST (6 years, 7 months ago) by moodler
Branch: MAIN
Changes since 1.35: +3 -1 lines
Diff to previous 1.35
COURSE DISPLAY REVAMP

OK, some big changes here to the front end, particularly in
course categories and course display.

Course categories can now be nested (to any level).

Courses and course categories can now be manually sorted
any way required.

There is a groovy front end for managing these, and a better
range of options for formatting the front page.

It all still needs some polishing, which I'll be doing over
the next couple of days, including better auto-sorting.

I would not use this on production systems just yet.

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Mon Jul 21 15:31:01 2003 WST (6 years, 8 months ago) by moodler
Branch: MAIN
Changes since 1.34: +2 -1 lines
Diff to previous 1.34
New course parameter "visible" which makes the course available to
students.  Defaults to 1 (on).  Teacher can control this from settings page.

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Sat May 24 15:29:17 2003 WST (6 years, 9 months ago) by moodler
Branch: MAIN
CVS Tags: Moodle_109
Changes since 1.33: +3 -4 lines
Diff to previous 1.33
A bit of an audit and a clean up of require_login to add consistency.

No major problems found, just some code tidy-up

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Wed May 14 23:58:48 2003 WST (6 years, 10 months ago) by moodler
Branch: MAIN
CVS Tags: Moodle_109_B1
Changes since 1.32: +2 -2 lines
Diff to previous 1.32
Fixed up "Assign teacher" page, and moved it to admin directory.

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Thu Apr 17 21:20:26 2003 WST (6 years, 11 months ago) by moodler
Branch: MAIN
Changes since 1.31: +7 -2 lines
Diff to previous 1.31
Robustness for $course variable

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Thu Apr 10 21:46:51 2003 WST (6 years, 11 months ago) by moodler
Branch: MAIN
CVS Tags: dev-2003041600
Changes since 1.30: +3 -3 lines
Diff to previous 1.30
New $CFG->admin directory can override the location of the admin
directory.

Useful because some web hosts use /admin for other things.

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Sat Mar 1 20:52:03 2003 WST (7 years ago) by moodler
Branch: MAIN
Changes since 1.29: +16 -2 lines
Diff to previous 1.29
Courses are forced to have unique shortnames (see bug 299)

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Thu Feb 27 10:46:37 2003 WST (7 years ago) by moodler
Branch: MAIN
Changes since 1.28: +1 -2 lines
Diff to previous 1.28
Removed save_session() - no longer needed.

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Wed Feb 26 12:18:46 2003 WST (7 years ago) by moodler
Branch: MAIN
Changes since 1.27: +24 -19 lines
Diff to previous 1.27
Cleanups for course creator.

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Tue Feb 25 18:45:37 2003 WST (7 years ago) by paca70
Branch: MAIN
Changes since 1.26: +11 -6 lines
Diff to previous 1.26
Redirect teachers to course after coursecreation.

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Tue Feb 25 02:48:47 2003 WST (7 years ago) by paca70
Branch: MAIN
Changes since 1.25: +14 -4 lines
Diff to previous 1.25
Added support for nonadmin course creation.
Course creators are managed by /admin/creator.php , same way that admins.
Or if authetication module have 'auth_iscreator'-function (right now only ldap-module have) ,
users are added to creators at login time.

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Mon Jan 20 17:30:24 2003 WST (7 years, 1 month ago) by moodler
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24
Password had no default

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Mon Jan 13 20:16:46 2003 WST (7 years, 2 months ago) by moodler
Branch: MAIN
Changes since 1.23: +3 -2 lines
Diff to previous 1.23
More fixes for robustness

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sun Jan 5 22:19:17 2003 WST (7 years, 2 months ago) by moodler
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22
Clean sweep through all the important changing all include(), include_once()
and require() to require_once()

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Thu Jan 2 22:49:22 2003 WST (7 years, 2 months ago) by moodler
Branch: MAIN
Changes since 1.21: +2 -4 lines
Diff to previous 1.21
buggy_referer is dead!   Long live buggy_referer!

Should be fixed now.  As a bonus, I've removed all the uses of
HTTP_POST_VARS from all scripts.

All forms should use the new data_submitted() function to collect
form data (it does the match_referer thing internally now).

Much nicer.

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Mon Dec 30 14:07:03 2002 WST (7 years, 2 months ago) by moodler
Branch: MAIN
Changes since 1.20: +6 -2 lines
Diff to previous 1.20
Robustness fixes

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Fri Dec 20 22:43:59 2002 WST (7 years, 3 months ago) by moodler
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19
Many many changes lumped in here ... not finished yet either.

Basically all the Database functions are in lib/datalib.php
and the web functions are all in lib/weblib.php, so
moodlelib.php is much thinner than it was.

Data functions have been extended ... most old calls will
still work, but now many more SQL commands can be performed
using the datalib functions rather than using SQL.  I'm
currently moving through the whole tree replacing SQL
calls or at least concentrating them in one section of
mod/xxx/lib.php

Still working on forums, quizzes, surveys, resources.

The tree is currently not full working ... some things are
half-completed ... will resume tomorrow.

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Mon Dec 9 14:35:14 2002 WST (7 years, 3 months ago) by moodler
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18
Default with showrecent ON

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Fri Sep 27 22:26:02 2002 WST (7 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17
Tweaks to page titles to make them more consistent

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Thu Sep 19 21:55:40 2002 WST (7 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16
Some consistency in headers on editing forms

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Sun Sep 8 11:24:38 2002 WST (7 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.15: +3 -1 lines
Diff to previous 1.15
Changes to allow much better control over what "teachers" are called
in a course.  Firstly, the course settings page now allows the teachers
to specify the word they want to use in place of "teachers" and "students"
as well as "teacher" and "student".  Secondly, a new teacher admin tool
allows any teacher to modify the order and displayed role of teachers
in that course.  This affects the display on the course listings, the
participants page and so on.

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Sun Aug 11 23:41:54 2002 WST (7 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.14: +8 -1 lines
Diff to previous 1.14
Changes related to language support  ... get_string()
Minor little interface cleanups along the way

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Thu Aug 8 23:51:23 2002 WST (7 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.13: +9 -8 lines
Diff to previous 1.13
Further excellent tidy-ups to the admin pages.  They are actually starting
to look/work as slick as the rest of the site.  :-)

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sun Aug 4 10:10:00 2002 WST (7 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.12: +21 -21 lines
Diff to previous 1.12
MOre language updates

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sat Aug 3 16:16:31 2002 WST (7 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11
Lots of work on site display, over many files.  Improved front page
and display of site modules.

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Mon Jul 29 23:10:21 2002 WST (7 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.10: +3 -24 lines
Diff to previous 1.10
Much simpler date-setting using new moodlelib functions

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Fri Jul 19 20:01:35 2002 WST (7 years, 8 months ago) by martin
Branch: MAIN
Changes since 1.9: +7 -5 lines
Diff to previous 1.9
More language changes

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Thu Jul 11 13:30:10 2002 WST (7 years, 8 months ago) by martin
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8
Consistent use of get_site() instead of checking course->category directly

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Tue Jun 25 19:49:06 2002 WST (7 years, 8 months ago) by martin
Branch: MAIN
Changes since 1.7: +9 -18 lines
Diff to previous 1.7
Major changes throughout to change "week" notation to "section" notation.
Sections covers "weeks", "topics" and anything else that may come along.
Note, again, some databases have changed esp course_weeks -> course_sections
and several fields called "week" are now "section.  Also course no longer
has an enddate, but instead has a numsections field.

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Mon Jun 10 19:30:02 2002 WST (7 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.6: +3 -1 lines
Diff to previous 1.6
Make sure new courses set the timecreated field

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sun Jun 2 16:10:50 2002 WST (7 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.5: +20 -17 lines
Diff to previous 1.5
Added per-course config and use of a word for "student"

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sat Jun 1 21:47:42 2002 WST (7 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.4: +5 -5 lines
Diff to previous 1.4
Removed check for course format changing

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Fri May 31 17:27:30 2002 WST (7 years, 9 months ago) by martin
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3
Changes to support new logging format

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Wed Apr 3 14:36:04 2002 WST (7 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2
Fixed up use of isteacher (removed isadmin check because it's done in isteacher now)

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sat Mar 16 14:19:02 2002 WST (8 years ago) by martin
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1
Allow admin to do anything the teacher can do

Revision 1.1.1.1 - (view) (download) (annotate) - [select for diffs] (vendor branch)
Thu Nov 22 14:23:56 2001 WST (8 years, 3 months ago) by martin
Branch: moodle
CVS Tags: base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 , to next main 1.128
moodle

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Thu Nov 22 14:23:56 2001 WST (8 years, 3 months ago) by martin
Branch: MAIN
Branch point for: moodle
Initial revision

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Moodle CVS Admin
ViewVC Help
Powered by ViewVC 1.0.10