Commit Graph

87 Commits

Author SHA1 Message Date
skodak 436cfa9fb3 MDL-6987 assignment mod conversion to new forms lib 2007-01-10 13:38:04 +00:00
skodak 0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
toyomoyo 141a922c8c MDL-7861, xhtml strict issues 2007-01-08 03:34:44 +00:00
skodak a1c91f9a15 MDL-7861 assignment related xhtml strict fixes (client view and fixed quickgrading/grading) and admin tree CSS styling 2007-01-07 21:54:39 +00:00
toyomoyo d9cb14b885 MDL-7861, fixing xhtml strict problems 2007-01-05 04:57:58 +00:00
jamiesensei 18a7736107 added helpbuttons to htmleditors where needed. Further work on htmleditor helpbutton code. 2007-01-05 04:51:46 +00:00
skodak b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
jamiesensei 1d284fbd85 fixing all the form names as per new class naming convention (PHP class names are also used for html id for styling) 2006-12-28 15:43:47 +00:00
jamiesensei f07b9627b6 changes to how we generate the id attribute of forms and the naming convention of forms
migrate blog edit to formslib
2006-12-28 09:32:45 +00:00
jamiesensei a23f0aaf95 * 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
2006-12-19 07:03:08 +00:00
jamiesensei eca038b50b changed name of reset element in form from 'reset' to 'resetbutton' so that the element name doesn't conflict with js form method reset. 2006-12-05 11:58:43 +00:00
skodak d73e265e9a added cancel button to glossary comment form and fixed initialization of button arrays MDL-7778 2006-12-05 09:44:11 +00:00
skodak 5571b5f4f8 added cancel button to assignment forms MDL-7778 2006-12-05 09:37:31 +00:00
skodak 32776fef0e minor xhtml fixes 2006-11-30 09:50:01 +00:00
skodak 6117edc7c1 fix submission and notes edit to use new forms lib MDL-7740 2006-11-29 21:28:38 +00:00
jamiesensei 74e01e6281 changed name of submit buttons to submitbutton instead of sumbit as submit was conflicting with method form.submit() 2006-11-24 16:38:22 +00:00
skodak 6cb1b93e13 Online text assignment: on re-edit submission page provide a label for field so that screen-reader knows what it is for MDL-7479:
fixed format problems, converted to new forms library, whitespace cleanup, fixed redirection after saving
2006-11-22 21:45:39 +00:00
skodak 37aaf16c92 Response file not uploading when grading student submission when using secureforms MDL-7566; merged from MOODLE_17_STABLE 2006-11-15 20:57:42 +00:00
skodak e38204d175 fixed access check when editting notes in advanced upload assignment type; merged from MOODLE_17_STABLE 2006-10-18 21:34:06 +00:00
skodak 8d9425149f fixed directory creation issues in advanced upload assignment 2006-10-02 08:44:58 +00:00
skodak 8704af63b7 Student cannot see handed-in upload single assignment MDL-6770 2006-10-02 08:36:07 +00:00
skodak 8c408f8e46 assignment intro hiding before available date is now optional in advanced upload type ( MDL-6131 ), the rest of types will not be changed 2006-10-02 08:21:35 +00:00
skodak 29889a2a45 partially fixed - assignment intro always avaible even setting available date MDL-6131 2006-10-01 21:35:16 +00:00
skodak 55b4d09637 new advanced upload assignmet type - replaces old upload type, existing data and settings not fully compatible 2006-09-30 15:41:20 +00:00
skodak 7d47261645 towards new upload assignment - expect brand-new version tomorrow :-) 2006-09-29 21:45:04 +00:00
skodak 8ba4cbd2a3 reverting last commit, expect new fixes soon 2006-09-28 15:34:54 +00:00
jgraham909 6fc73d59b8 Merging in changes from Doug Dixon and Mike Lee to update the codebase 2006-09-27 22:57:33 +00:00
stronk7 db33348f53 When journal to assignment migration is performed, journal
upgrade hasn't been upgraded yet so the journal_entries->comment
field is still called "comment"
2006-09-21 10:04:49 +00:00
stronk7 ea6432fede Moved assignment_submission->comment to submissioncomment
(because comment is DB reserved word)
2006-09-21 09:35:20 +00:00
skodak 6124048972 major whitespace cleanup - fixed tabs 2006-09-20 20:31:09 +00:00
skodak 03f5a0f87c major whitespace cleanup - fixed \r\n line-ending 2006-09-20 19:46:52 +00:00
skodak 86a1ba04fd replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack 2006-09-02 11:44:04 +00:00
toyomoyo 4f83ae95ca adding capabilities 2006-08-31 08:51:09 +00:00
toyomoyo 8493ff6fd5 added acapability 2006-08-29 06:02:29 +00:00
toyomoyo be07f21b61 replaced isguest with capability calls 2006-08-29 03:36:31 +00:00
toyomoyo 38ac07d284 adding capability, indenting, putting in brackets etc 2006-08-29 03:20:51 +00:00
toyomoyo 1648afb278 changes to how to pull out a list of users (course/module participants) 2006-08-28 08:42:30 +00:00
moodler 0468976c9a 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
2006-08-14 05:55:40 +00:00
skodak f9d5371b28 new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +00:00
moodler bbbf2d4015 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.
2006-08-08 05:13:06 +00:00
moodler fcdcc372f1 Integrating the "AU Assignment type" into Moodle (which was based on
Upload&Review).

It's not tested and probably needs polishing, but people seem to love it
as it is.

    http://moodle.org/mod/forum/discuss.php?d=46829
2006-07-13 07:17:51 +00:00
moodler 418db328a0 Fixed: Bug #5164 - Assignment email lacks student name 2006-05-03 08:19:53 +00:00
skodak 54bb46f55b fixed undefined $course 2006-04-22 17:25:37 +00:00
moodler c125d80c3e Fixed Bug #5012 - assignment type uploadsingle does not log view actions 2006-04-21 07:01:01 +00:00
gustav_delius e8a4049ddd Removed some unnecessary code 2006-04-05 18:52:37 +00:00
moodler 15921df130 Extra fix for bug #4604. Guests see different message, instead of "You have not submitted anything" 2006-01-23 02:38:26 +00:00
skodak 8d8f70e5a6 remove upload form for guests 2006-01-19 15:24:25 +00:00
moodler 2eac7ec168 Removed submit online assignment button for guest. (bug: 4604) 2006-01-19 02:41:11 +00:00
moodler f7de547886 Guests can no longer submit an online assignment (Bug 4604) 2006-01-18 04:45:12 +00:00
stronk7 1884f2a6a7 Now it's possible to configure what is going to be counted (words or letters)
because some languages don't have word separators.

Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:27:20 +00:00