6845 Commits

Author SHA1 Message Date
agrabs
efc5916754 fixed issue MDL-14531
added an option to switch autonumbering on or off
2008-04-30 22:17:04 +00:00
agrabs
914061abe1 a small cosmetic change. the save/cancel buttons now are displayed in a single row 2008-04-30 18:58:25 +00:00
agrabs
d0390cf8e2 adding the tab-row in edit_item.php 2008-04-30 18:48:16 +00:00
agrabs
64da83c6cc changed the sql-statement "CONCAT..." with the abstract SQL-build-funtion sql_concat() 2008-04-30 18:38:24 +00:00
poltawski
1cc2110b68 MDL-12614 - Bad regular expression matching was causing syntactically
invalid js when returning to previously attempted SCORM package.

Credit to Peter Chamberlin of ljcreate.com
merged from MOODLE_19_STABLE
2008-04-30 11:59:41 +00:00
agrabs
446739247e removed the wrong call require_once('blank_form.php') 2008-04-30 08:28:09 +00:00
jamiesensei
2018fb15ae MDL-7772 "Quiz results overview: not all combinations of Show attempts with ... & Groups settings work properly"
Second patch, found a bug while merging and testing in 1.9.
2008-04-30 08:22:20 +00:00
agrabs
62a0ae1064 used deprecated function modify_database changed to insert_record 2008-04-30 06:40:15 +00:00
jamiesensei
86a1f1d5b9 MDL-7772 "Quiz results overview: not all combinations of Show attempts with ... & Groups settings work properly"
This patch is based on Ann Adamcik's latest code, thanks Ann. Made a couple of small changes.
2008-04-30 04:47:39 +00:00
dongsheng
083acd24db "MDL-14465, add a setfocus() function, see tracker, thanks, Ralf" 2008-04-30 03:42:24 +00:00
dongsheng
846fb67937 "MDL-14262, fix optional_param, and fix link in restorelib.php, merged from MOODLE_19_STABLE" 2008-04-30 01:47:50 +00:00
dongsheng
95bc81ebf4 "MDL-14262, fix wrong logged link, see tracker, merged from MOODLE_19_STABLE" 2008-04-30 01:15:30 +00:00
agrabs
a78b88e738 added missing log_display entries 2008-04-29 21:38:13 +00:00
dongsheng
54c1f2d5fe "MDL-14548, modify the notification field in data module to NOT NULL and default value 0, the version is incorrect, fix it." 2008-04-29 06:49:14 +00:00
dongsheng
f430641247 "MDL-14548, modify the notification field in data module to NOT NULL and default value 0, see tracker" 2008-04-29 06:42:18 +00:00
dongsheng
3f32807d97 MDL-14303, add missing cmidnumber parameter. merged from MOODLE_19_STABLE 2008-04-29 02:11:27 +00:00
stronk7
ed3bd1974b Fixed old-glorious typo in wiki backup. MDL-10811 ; merged from 19_STABLE 2008-04-28 23:09:57 +00:00
agrabs
6178c62a9a fixed required_sesskey missing on complete_guest.php
added grouping feature (it have to be tested yet)
2008-04-28 21:19:27 +00:00
poltawski
2385bf0686 MDL-12614 - Bad regular expression matching was causing syntactically
invalid js when returning to previously attempted SCORM package.
Credit to Peter Chamberlin of ljcreate.com
2008-04-28 16:52:50 +00:00
agrabs
6ee09cfe8b merge the items dropdown, radio and check to multiplechoice item
merge the items dropdownrated, radiorated to multiplechoicerated item
the creating or editing of an item now use the formslib
2008-04-28 09:58:09 +00:00
skodak
39f563ed5b MDL-14564 pg null trouble fixed by David Mudrak; merged from MOODLE_18_STABLE 2008-04-27 22:41:07 +00:00
dongsheng
db1b15ce0e MDL-14262, fix incorrect link, see tracker, merged from MOODLE_19_STABLE 2008-04-27 17:11:20 +00:00
skodak
d00adf8605 MDL-14484 rerun asearchtemplate upgrade - there were reported problems on some sites; merged from MOODLE_19_STABLE 2008-04-25 15:20:14 +00:00
stronk7
05ac14ca68 Prevent wrong data->notifications to be stored. Default to 0 if empty. MDL-14540 ; merged from 19_STABLE 2008-04-24 17:11:40 +00:00
tjhunt
3192d014f3 Eliminate direct references to $_REQUEST and $_POST in the quiz code.
Also, when you edit the quiz, and therefore any preview attempts are deleted automatically, make sure the attempts are deleted properly by calling quiz_delete_attempt on each one, rathern than leaving orphaned junk in the database.
2008-04-23 14:49:22 +00:00
tjhunt
bfecee473a Revert bogus error -> print_error changes that were stopping my patch from merging. 2008-04-23 14:45:45 +00:00
tjhunt
97344ae331 Improve PHPdocs on a function. 2008-04-23 14:31:21 +00:00
tjhunt
d20e702956 Tidy up whitespace. 2008-04-23 10:54:51 +00:00
moodler
c70ad9f736 MDL-14493 First checkin of Feedback module into HEAD.
I made a number of small tidy-ups to the contrib version before adding this here:

  - fixed some language string names
  - renamed a capability from deletecompleteds to deletesubmissions (can we use "submissions" everywhere?)
  - got rid of language packs (moved english to correct location)
  - deleted 'pics' type (it needs to be rewritten to use user files in moodledata)
  - moved changelog into README.txt
  - moved captcha font out of subdir
  - bumped version to today

Thanks very much to Andreas Grabs for all your work on this module so far, and congratulations!   :-)
2008-04-23 09:33:54 +00:00
jamiesensei
58ffdbb883 MDL-14471 - when attempt data is generated by a script then sometimes quiz_get_latest_attempt_by_user fetches the wrong attempt since timestart for the attempt is not a second apart from the last attempt - "patch to quiz/locallib.php function quiz_get_latest_attempt_by_user which makes the query simpler and also makes it more robust.
In the case that there are two attempts started in the same second, which can happen if you are generating random attempt data then the id field is used to tell which is the later attempt."
2008-04-23 06:45:11 +00:00
tjhunt
44847eb868 MDL-14363 - Fix a broken redirect from mod/quiz/ attempt.php to edit.php when the quiz has not questions.
Also, when the quiz has no questions, disable the Info, Reports and Preview tabs, which, in this case, just redirect back to the Edit tab anyway.

Finally, change a redirect in quiz view.php, which used a relative URL, to a full url starting $CFG->wwwroot.
2008-04-22 15:19:50 +00:00
skodak
b4c8d1ea9c MDL-14424 approve icon now bigger + css class added; merged from MOODLE_19_STABLE 2008-04-22 13:35:51 +00:00
skodak
cff611fc19 MDL-8188 fixed missing global $CFG; merged from MOODLE_19_STABLE 2008-04-22 13:04:35 +00:00
skodak
52f2776d3c MDL-14137 adding minor fix for quotes in fieldname; merged from MOODLE_19_STABLE 2008-04-22 07:31:28 +00:00
stronk7
ce7373f85c Replace custom casting code by proper sql_cast_char2int() core function. MDL-12893 ; merged from 19_STABLE 2008-04-21 18:10:09 +00:00
skodak
3239b0104e MDL-14458 - optgroups Fields and Other in search menu; removed unused search code, html labels, added option to sort by time modified; merged from MOODLE_19_STABLE 2008-04-21 14:17:02 +00:00
skodak
ea6073bb48 MDL-13025 added data intro text formatting without cleaning - manage activity cap already marked with XSS risk; merged from MOODLE_19_STABLE 2008-04-21 13:26:08 +00:00
skodak
3b4756653a MDL-14446 fixed inverted read flag in threaded view; merged from MOODLE_19_STABLE 2008-04-20 19:38:33 +00:00
skodak
eaa3081807 MDL-14336 defaultsort now stored as field name in preset.xml; merged from MOODLE_19_STABLE 2008-04-20 19:22:06 +00:00
skodak
8528bf260b MDL-12861 overriding of database settings now optional when using presets; merged from MOODLE_19_STABLE 2008-04-20 10:09:28 +00:00
skodak
2dc6be3f77 MDL-13188 asearchtemplate.htlm in presets implemented; merged from MOODLE_19_STABLE 2008-04-20 09:29:57 +00:00
skodak
a4e3818f2a MDL-14417 fixed sql for menu adv search - multimenu already fixed today; merged from MOODLE_19_STABLE 2008-04-19 21:22:03 +00:00
skodak
029cf8469b MDL-14018 fixed ##more## icon regression, thanks Robert Allerstorfer for all the testing!; merged from MOODLE_19_STABLE 2008-04-19 21:02:10 +00:00
skodak
bb5740f4c8 MDL-14424 - approval icon is bigger again, it is possible to sort by Approved status now; merged from MOODLE_19_STABLE 2008-04-19 20:48:48 +00:00
skodak
33b8ead904 MDL-14018 fixed ugly query - thanks Eloy; merged from MOODLE_19_STABLE 2008-04-19 18:03:32 +00:00
skodak
9a36be0212 MDL-14018 fixed regression, proper LIKE meta quoting, fix displaying when options changed; merged from MOODLE_19_STABLE 2008-04-19 16:47:35 +00:00
skodak
bc16bd57ac MDL-9907 xhtml strict; merged from MOODLE_19_STABLE 2008-04-19 16:44:08 +00:00
skodak
eeeb4f2ad9 MDL-12089 several search related problems fixed in data module; merged from MOODLE_19_STABLE 2008-04-19 15:33:06 +00:00
skodak
8b79a625b6 MDL-13936 forum reply refactoring and bugfixing - the forum_user_can_post() did not have discussion parameter which was a problem because the login depends on discussion group - there was a hack in discussion.php and view.php working around this, but it was not present in cron; sorry for the change of API, but it was required; merged from MOODLE_19_STABLE 2008-04-19 10:49:53 +00:00
skodak
d0e422c45a MDL-13936 indicate that user needs group membership to add new discussion, but only if having the capability to add new discussion - previously the message was incorrectly shown even when not having the cap in separate mode, visible mode needs this message too after previous commit; new lang string added in case user selects all participants in group selector and does not have accessallgroups - the existing group membership string could not be reused; merged from MOODLE_19_STABLE 2008-04-18 19:30:19 +00:00