424 Commits

Author SHA1 Message Date
moodler
ff8f7015e3 Added formatting for comments 2005-04-17 17:58:51 +00:00
moodler
52436fe1cc Added a new format field for comments 2005-04-17 17:51:25 +00:00
moodler
70b2c772b3 Tweaks and so on, making it pretty 2005-04-17 17:11:41 +00:00
moodler
3a3643df79 DIsplay numerical grades with total grade: 9 / 10 2005-04-17 15:56:40 +00:00
moodler
a2f41849cf Fix for secure forms 2005-04-17 15:55:07 +00:00
moodler
73097f0711 A very big batch of changes. Everything sort of works: now I'm mopping up. 2005-04-17 15:38:02 +00:00
stronk7
9b6618b9bc timeavailable was missing in backup and restore. :-) 2005-04-17 09:27:05 +00:00
moodler
72778c9a5a Two new general-purpose fields in assignment_submissions, so that
most assignment types won't need to create new tables for data

The fields are data1 and data2.

Backup/restore handled, Eloy   ;-)
2005-04-15 14:51:15 +00:00
moodler
6d4ecaec60 Tidied up the feedback - offline assignments are pretty much done 2005-04-15 14:19:24 +00:00
moodler
0f7d4e5e8a Cleaner updating of buttons and scales 2005-04-15 13:41:57 +00:00
ikawhero
5c95906e03 Redundant parameters removed 2005-04-14 23:15:07 +00:00
moodler
55fcc21e4d Forgot some debugging 2005-04-14 17:59:25 +00:00
moodler
be86672db2 Better updating of the parent page when grading, now works even when
columns are closed
2005-04-14 17:56:03 +00:00
moodler
df5e748b63 Same color as "unread" posts 2005-04-14 17:11:58 +00:00
moodler
9437c85446 Shane and I have been working on this vastly improved grading interface :-D 2005-04-14 17:10:40 +00:00
moodler
d59269cfa6 Better updating of table from popup 2005-04-14 15:23:48 +00:00
moodler
14a4e0283a Fixed a typo 2005-04-14 14:13:50 +00:00
ikawhero
5eefbc3b3c Oops! Removed debug echo line. 2005-04-14 14:13:19 +00:00
ikawhero
306dc7e5c5 SQL update to use JOIN rather than seperate queries 2005-04-14 14:09:06 +00:00
moodler
1017b8a5c6 Fixed the assignment upgrade 2005-04-14 13:37:06 +00:00
moodler
b0f2597e17 Refactored Assignment Module
============================

This new assignment module allows Plugin Assignment types.  This should
allow a whole lot of new stuff to easily be placed in Moodle without
making the modules list longer for no good reason.

This checkin is still a really rough version that needs work on it.
Normally I would want it better than this to check in, but I need
to collaborate with Shane on the remaining code and CVS is the best
way.

Give it a day or two to settle in.  :-)

This is the last thing I wanted to get into 1.5.  Getting close now!!

Cheers!
Martin
2005-04-14 13:24:40 +00:00
moodler
7f3f41ecfb Added some reportlink classed to the report links 2005-04-13 07:45:47 +00:00
stronk7
85b9471fb4 Now all the wiki formated texts are converted to markdown
by the restore process. Such conversion is performed for
every backup file prior to 2005041100.
Wiki internal links are dinamically changed and then,
converted to Markdown. Bye, Wiki! ;-)
2005-04-12 23:42:56 +00:00
thepurpleblob
f74d035f2a Now 2005041100: Update wiki-like description to Markdown. 2005-04-11 12:44:57 +00:00
thepurpleblob
6fd831d6c4 Update converts all wiki-like descriptions to Markdown. 2005-04-11 12:43:35 +00:00
stronk7
95c67e2fe1 Now xxx_print_recent_mod_activity() supports filterall.
(assignment, forum, quiz and workshop)
2005-04-02 23:19:01 +00:00
stronk7
ac21ad392d Now course/recent.php works under PHP5.
See bug 2828
(http://moodle.org/bugs/bug.php?op=show&bugid=2828)

Merged from MOODLE_14_STABLE
2005-04-02 11:32:22 +00:00
stronk7
2500b88bab Now assignment->name works under filterall. 2005-03-26 18:14:46 +00:00
moodler
b846ac39ff Standardise the intro box using an ID 2005-03-13 16:17:55 +00:00
moodler
8f7dc7f1c7 Variety of small fixes, but mostly related to how the recent activity
block is constructed.  A new function exists to pump these notes out
in a standard way :  print_recent_activity_note.

Module dependencies also updated because of this.
2005-03-10 13:30:57 +00:00
moodler
f1e0649c1c Removed files/mimetype.php and put it into lib/filelib.php instead
where it always should have been.
2005-03-07 11:32:03 +00:00
moodler
f8dd016412 Removing these to avoid confusion.
Yes, my assignment refactoring is going to make it into 1.5
2005-02-22 12:56:20 +00:00
gustav_delius
ec81373f50 In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
gustav_delius
f622d17759 Fix bug 1998 2005-02-14 00:05:00 +00:00
stronk7
95e72c12d0 Now retrieving only needed fields! 2005-02-13 00:42:29 +00:00
gustav_delius
48e535bc35 Activities can now be hidden/shown from the activity editing page. Also for modules that know about groups the groupmode can be set from there. See bug 2533. This required adding to the mod.html files calls to new functions print_visible_setting() and print_groupmode_setting() which are combined in print_standard_coursemodule_settings().
The visibility of coursemodules is now always set through the function set_coursemodule_visible() in order to make sure that the associated events get updated in the calendar appropriately.

If moving a coursemodule to a hidden section then the module is set to hidden as well and its events are hidden in the calendar.

If deleting a coursemodule its events are deleted from the calendar.

The function choose_from_menu() has an extra optional argument $disabled which, when set to true, will disable the menu.

For the sake of consistency the function set_groupmode_for_module has been renamed to set_coursemodule_groupmode and the functions show_course_module() and hide_course_module() have been combined to set_coursemodule_visible().
2005-02-12 21:41:22 +00:00
moodler
f1c1d2f166 Removing the THEME variable and adding in classes where appropriate 2005-02-10 10:41:22 +00:00
moodler
b61aed4297 Fixed up some layout issues in the configuration files 2005-02-08 09:23:21 +00:00
stronk7
e09087bc76 Some minor changes to each module to XHTMLise the restore process 2005-02-07 23:33:17 +00:00
stronk7
626138c9b6 Added suppor for assignment->emailteachers 2005-01-30 19:03:46 +00:00
moodler
da2bf59020 Fixed a typo 2005-01-28 17:35:43 +00:00
moodler
d3c8056258 Changes for XHTML and accessibility compatibility.
Tidied up layout and other minor changes.
2005-01-25 09:39:29 +00:00
stronk7
1082105205 Modify sesskey behaviour. SC#73 2005-01-22 18:53:44 +00:00
moodler
f3f7d9e409 Changes for XHTML and accessibility compatibility. General tidy up. 2005-01-21 05:07:51 +00:00
moodler
32503db1c6 FIxes for bug 2379 (merged from stable) 2005-01-13 03:02:23 +00:00
moodler
1c394da4f6 Removing a notice on PHP 5 2005-01-06 13:23:02 +00:00
moodler
c30b1bc038 FIxed a few silly bugs. Seems to test out OK now. 2005-01-06 13:15:10 +00:00
moodler
59c005b76e Email alerts to teachers
------------------------

Added a small new feature to the assignment module to alert teachers when
new emails come in.  This feature adds one new field (which is tested) but
the operation of the new code has not been tested yet at all (apart from
PHP syntax) and very likely has bugs in it.

I'm checking this in so I can do tests on test.moodle.com which has email
set up properly.

I'm off to bed right now but if anyone else wants to test this feature
before tomorrow please do!   :-)

While I'm rambling here in CVS, I need to have a good look soon at Pablo's work
on Assignment and see if I can merge it all in...
2005-01-05 17:13:44 +00:00
mjollnir_
d66122e2a8 Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - assignment module 2004-11-18 02:33:49 +00:00
mjollnir_
ce64ebf9b7 Merged from MOODLE_14_STABLE: Indexes and version bump for assignment 2004-11-17 21:49:48 +00:00