Commit graph

7199 commits

Author SHA1 Message Date
tjhunt
17312b83c5 Change group-by. I know what was there was equivalent, but Postgres is pedantic about these thigns, and was reporting an error. 2008-07-14 15:57:49 +00:00
tjhunt
baef998bb9 MDL-15622 - Add the quiz navigation panel to the review page
Also, improve the styling a bit.
2008-07-14 15:40:24 +00:00
sam_marshall
5309fd39f8 MDL-15648: Used existing functionality to ensure that forum 'mark read' only marks posts read if they are within the right group. 2008-07-14 15:39:55 +00:00
jamiesensei
fb94cd4848 MDL-15268 "Content for Quiz Statistics report table" some fixes to strings. 2008-07-14 06:40:36 +00:00
jamiesensei
04c8148a4f MDL-15102 "Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing." fixing a couple of typos which were causing errors. 2008-07-14 06:37:39 +00:00
gbateson
accb4c04eb improvements to generation of html from xml:
JCloze: set textbox size allowing for minimum gap size setting and longest answer;
JMatch: allow for duplicates and distractors in RHS items;
JQuiz: set textbox size allowing for longest answer, and use textarea if answer longer than 29 chars;
2008-07-13 12:22:32 +00:00
gbateson
a4856975fa MDL-14279 fixed typo in get_baseurl: get_file_url($this->filedir.'/') should be get_file_url($this->filedir).'/' 2008-07-12 22:59:45 +00:00
tjhunt
3c168fbb66 MDL-15543 - Display the quiz navigation on the attempt.php page
and most of

MDL-15540 - Write code to render the navigation panel - it does it all apart from working out the correct state in which to show each button, and apply appropriate styles as a result.
2008-07-11 17:03:43 +00:00
tjhunt
a0083206b8 MDL-15452 - Fix regressions introduced by my recent work on this bug and its children. Thanks to Paul Johnson for his testing. 2008-07-11 13:04:09 +00:00
jamiesensei
8b048aae0c MDL-14216 "Improvements to regrade report - improved reporting of actions and dry run / regrade" Install.xml was out of sync with upgrade script. 2008-07-11 07:56:33 +00:00
jamiesensei
57d6a267a6 MDL-14216 "Improvements to regrade report - improved reporting of actions and dry run / regrade" oops. Fixing notice about $this->context not being set in overview report table. 2008-07-11 07:48:25 +00:00
jamiesensei
314b8a20d4 MDL-14216 "Improvements to regrade report - improved reporting of actions and dry run / regrade" added some if conditions to not display regrade buttons if the user doesn't have the permission to grade. 2008-07-11 07:39:11 +00:00
jamiesensei
98f38217bb MDL-14216 "Improvements to regrade report - improved reporting of actions and dry run / regrade" 2008-07-11 07:27:14 +00:00
dongsheng
5ce66b1edd "MDL-15610, execute_sql is not available in moodle 2.0, use #DB->execute instead" 2008-07-11 05:27:46 +00:00
moodler
c1ac9e73b6 MDL-15610 Merged label log display fix from 1.9 2008-07-11 02:56:29 +00:00
tjhunt
e153801c1c Remove debug code. 2008-07-10 17:34:18 +00:00
tjhunt
793f3a0e69 MDL-15452 - Fix regressions introduced by my recent work on this bug and its children. Thanks to Paul Johnson for his testing. 2008-07-10 17:31:12 +00:00
tjhunt
b9b3aa9459 MDL-15452 - Fix regressions introduced by my recent work on this bug and its children. Thanks to Paul Johnson for his testing. 2008-07-10 17:23:56 +00:00
scyrma
5a254a2938 MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9) 2008-07-10 09:55:11 +00:00
dongsheng
51471f2ad5 MDL-15449, enrol multiple users to multiple courses, including bugs fix, see tracker, sent by Jonathan. 2008-07-10 09:16:43 +00:00
tjhunt
b1103f2bf2 MDL-15535 - URLs are changing from attempt.php?id=XXX to attempt.php?attempt =YYY - implement a sensible redirect if we recieve an old-style URL, since they are stored in a few places like the logs. Also update all URLs we generate that point to attempt.php. 2008-07-09 17:00:26 +00:00
tjhunt
453c96f68b Missing $this. 2008-07-09 16:58:47 +00:00
tjhunt
66d07f81a1 MDL-15538 - Rework attempt.php to use attemptlib.php - I had broken processing of submitted responses. Hopefully it is fixed again now. 2008-07-08 18:22:18 +00:00
tjhunt
4fc3d7e549 MDL-15539 - Rework review.php to use attemptlib.php - the bulk of the conversion. 2008-07-08 17:47:57 +00:00
tjhunt
1aab356193 MDL-15539 - Rework review.php to use attemptlib.php - clean up how review options are calculated, fix up some comments, and make some requires more robust. 2008-07-08 17:46:59 +00:00
tjhunt
10440b746a MDL-15538 - Rework attempt.php to use attemptlib.php - fix a comment. 2008-07-08 17:45:32 +00:00
tjhunt
72395e60cb MDL-15541 - Refactor starting a new attempt into a new file startattempt.php - slight improvement to the code. 2008-07-08 17:43:34 +00:00
tjhunt
78e7a3dd5d MDL-15452 - Put the OU quiz navigation improvements into the Moodle codebase - quite a lot of progress, sorry I am committing this as a big lump, but it took me a while to get the code back to a working state.
MDL-15537 - create oo attemptlib.php to hold shared code between attempt, summary and review.php
MDL-15541 - Refactor starting a new attempt into a new file startattempt.php
MDL-15538 - Rework attempt.php to use attemptlib.php
2008-07-08 16:33:47 +00:00
thepurpleblob
c0a578c071 MDL-15304
Default name 'label' is looked up from language pack.

Merged from STABLE_19
2008-07-08 09:39:18 +00:00
thepurpleblob
8f829910d6 MDL-15304
Remove the item number from the created label name. It doesn't work for new labels.

Merged from STABLE_19
2008-07-08 08:45:26 +00:00
skodak
739da48c01 MDL-15561 unsubscribe all option implemented 2008-07-07 21:51:01 +00:00
skodak
f5fc83e818 MDL-15516 prvent access to deleted profiles and other user areas 2008-07-05 14:52:39 +00:00
skodak
d02f193404 MDL-15304 fixed empty label names coming from restore; merged from MOODLE_19_STABLE 2008-07-05 09:37:30 +00:00
jamiesensei
67d4dfb84b MDL-15545 "sql to fetch question states in overview report should use a JOIN instead of passing attempt ids in IN clause when downloading data with no paging" 2008-07-05 05:57:22 +00:00
skodak
a38f12927e MDL-15304, MDL-15526 fixing regression; merged from MOODLE_19_STABLE 2008-07-03 23:01:32 +00:00
skodak
f6c7db283b MDL-15390 improved subscribe me option when posting to forum - see tracker for more info; merged from MOODLE_19_STABLE 2008-07-02 22:06:22 +00:00
robertall
30f54a9c16 [MDL-15426] Distinguish latlong value being zero from no value. Merged from MOODLE_19_STABLE. 2008-07-02 12:53:26 +00:00
dongsheng
449b1c1ab2 "MDL-12843, add proper html id, thanks ken" 2008-07-02 07:34:52 +00:00
skodak
559c9187f8 MDL-15387 fixing regression spotted by John Beedell; merged from MOODLE_19_STABLE 2008-07-01 22:26:38 +00:00
tjhunt
373f0afd24 MDL-15494 - No allowance for the possibility that something might go wrong when processing the response to a question. 2008-07-01 13:34:09 +00:00
sam_marshall
2bc710366d MDL-14679 minor dml conversion errors in quiz backup 2008-07-01 13:19:24 +00:00
gbateson
e5e02e4686 MDL-15184: fix sql injection vulnerability 2008-07-01 10:49:22 +00:00
tjhunt
b10c38a37b MDL-15452 - ongoing - Put the OU quiz navigation improvements into the Moodle codebase
* Javadoc comments for most of the code I committed on Friday.
* Implement the get_question_status method.
* Along the way, refactor duplicated logic between two of the question types, questionlib, and the new code - removing inconsistency while doing so.
2008-06-30 16:56:49 +00:00
jamiesensei
334edb71c1 MDL-15198 "non-standard sql in reportlib.php" fixed this with new sql that does not require a limit clause. 2008-06-30 11:53:47 +00:00
skodak
f62fdb21d7 MDL-15455 fixed incomplete dml query conversion 2008-06-28 11:10:33 +00:00
tjhunt
36e413e38c MDL-15452 - Put the OU quiz navigation improvements into the Moodle codebase
Part one, a first cut of a summary page, along with some classes that will allow me to eliminate more duplicated code between the new page, attempt.php and review.php.
2008-06-27 18:04:48 +00:00
tjhunt
ca3c89730e Fix typo. 2008-06-27 17:28:22 +00:00
jamiesensei
dc389ad9a3 MDL-15113 "Upgrade to DMLLIB 2.0." Fixed a call to a dml lib function where two of the params were the wrong way round which was causing a fatal error. 2008-06-27 10:54:45 +00:00
robertall
0721309f29 [MDL-15423] Remove useless latlong formatting operations. Merged from MOODLE_19_STABLE. 2008-06-26 08:07:05 +00:00
robertall
9c1ae6fc65 [MDL-14440] Show latlong field at list and single view in a prettier way. Merged from MOODLE_19_STABLE. 2008-06-26 06:15:55 +00:00