151 Commits

Author SHA1 Message Date
gustav_delius
8f6b80b90c Merging from stable branch 2004-08-24 18:38:14 +00:00
gustav_delius
f950af3c43 All modules are now suitable for the site page. They now all follow the same rules, namely that any students enrolled in at least one course is considered to be a student on the site.
All the page headers work correctly also on the site course.

On the site page the modules don't require login unless necessary or required by $CFG->forcelogin.
2004-08-22 14:38:47 +00:00
gustav_delius
90fcc576ea Removed notices by introducing new function print_header_simple() which works on site as well as in courses without extra logic. 2004-08-21 20:20:58 +00:00
moodler
070528fc79 MOdules are dependent on this version of course/mod.php 2004-06-04 07:28:34 +00:00
moodler
7613890851 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
2004-06-04 06:17:30 +00:00
stronk7
2127fedda8 Step 2 of Bug 1223 done.
(http://moodle.org/bugs/bug.php?op=show&bugid=1223)
2004-05-16 00:36:00 +00:00
stronk7
0f1a97c2fb Step 1 of Bug 1223 done.
(http://moodle.org/bugs/bug.php?op=show&bugid=1223)
2004-05-15 23:18:24 +00:00
moodler
58259e3217 Can use $CFG->journal_showrecentactivity to hide recent activity for journals 2004-04-30 04:50:41 +00:00
moodler
d5a2ccadb9 New function journal_count_entries() and more accurate counting of
journal entries for different grouping scenarios
2004-03-13 16:15:02 +00:00
moodler
a12f686b62 Function name change ... hope it doesn't break any third-party code,
sorry if it does!

  get_users_in_group --->  get_group_users

  ... more consistent with other functions
2004-03-13 14:24:34 +00:00
stronk7
7399316518 Now journal logs are restored too :-) 2004-02-18 22:30:35 +00:00
moodler
2969a73c00 Fixed bug getting group users 2004-02-15 14:51:24 +00:00
moodler
424aef6aef Use the new short way of setting up groups 2004-02-15 07:18:07 +00:00
moodler
9867144441 Group suport for Journals.
This module also has a crappy interface and must be fixed.  But not today.
2004-02-14 08:52:28 +00:00
moodler
e1aaf05de9 Working around that PHP bug - thanks for the confirmation Henrik! 2004-02-14 08:17:01 +00:00
moodler
fe412041b5 Don't print blank journal intros 2004-02-13 03:40:57 +00:00
moodler
80e376a20d Use format_text instead of text_to_html (so filtering works) 2004-02-08 09:47:29 +00:00
moodler
34050fd84a Removing old log upgrades (too slow) 2004-02-05 08:36:48 +00:00
moodler
8a55b99805 UPgrade logs to new format 2004-02-05 05:16:29 +00:00
moodler
a7f4452d11 Updating version numbers of all Modules to make things a bit clearer 2004-02-01 04:42:39 +00:00
moodler
9423833cd9 All modules now require the very latest because of the changes to add_to_log 2004-01-31 15:25:00 +00:00
moodler
037f99aa2d Upgraded add_to_log to send cm->id 2004-01-31 15:22:04 +00:00
moodler
a80a772821 Fixed some hard-coded strings http://moodle.org/bugs/bug.php?op=show&bugid=1011 2004-01-31 05:55:11 +00:00
moodler
a698fc0e92 Simplified logic a bit 2004-01-30 04:02:17 +00:00
moodler
7008b03ca3 Fixed typo bug when getting users 2004-01-30 04:01:19 +00:00
moodler
5c09be163c Don't always use arraymerge in journal_get_users_done() - was causing
bad data sometimes ...
2004-01-30 01:57:00 +00:00
moodler
83f007bf39 Define minimum required versions of Moodle 2004-01-28 04:27:57 +00:00
gustav_delius
d7143408df replaced incorrectly closed html tags, see bug 365 2004-01-25 20:34:54 +00:00
moodler
34a2293e08 Journal questions can now use HTML editor, plus new field 'introformat' 2004-01-14 02:24:42 +00:00
moodler
19090101a9 Bug #966 - journal_grades should return NULL if no grade 2004-01-12 02:36:45 +00:00
moodler
9450cb6561 Use fullname function for displaying names 2003-11-28 15:45:46 +00:00
moodler
26e40578f8 Removed text focus to avoid errors in IE 2003-11-10 01:49:00 +00:00
moodler
126f0da58d Just moodling ... tidied up the horrible interface a little 2003-11-03 16:27:46 +00:00
moodler
6a1e688f83 Some fixes for using the new editor 2003-11-03 16:12:59 +00:00
moodler
fb7a194e6b Removed blank lines at the end (!) 2003-11-03 02:59:09 +00:00
moodler
d94ee341e5 Undoing Greg's UNION hack ... it was causing problems on Mysql 3 2003-10-31 03:25:37 +00:00
gregb_cc
dcfa857df2 This is a massive speed increase in journal_get_users_done.
The fix requires UNION support in the database.  I've added a simple little
test to see if UNION queries work.

This change very much needs to be tested out by someone using MySQL 3.  If
it tests out there successfully, the supports_union code should be moved out
of this file and into datalib.  Ideally, someone will extend that test and
creatle get_records_union_sql, a function that would split up UNION queries
for databases that don't support them and do an array_merge (and proper
sorting, which is missing from my fix) on the result sets.
2003-10-22 20:06:44 +00:00
stronk7
0585509135 Simply, move the XXXX_get_participants() function from
bottom to the common function area.
See bug 807
2003-09-29 15:27:30 +00:00
les_kopari
c5c71888bc Sorry...brainphart...corrected glossary to journal. 2003-09-24 23:15:41 +00:00
les_kopari
861a1b96bc Initial add for Oracle...does nothing. 2003-09-24 23:09:49 +00:00
les_kopari
96c1e116e6 Oracle tables, etc converted from mysql, plus test transactions. 2003-09-13 08:05:21 +00:00
moodler
c559bcf6f0 Fixed some PHP short_tags 2003-09-09 12:34:51 +00:00
stronk7
058a2215ef Included journal_get_participants() function. 2003-09-07 21:36:03 +00:00
moodler
9f50e9a667 Typo in date calculation! 2003-09-02 02:02:14 +00:00
moodler
949cf8670c More cleanups for teacher view in particular 2003-08-27 09:03:10 +00:00
moodler
3b10decf84 Slight tidy 2003-08-27 08:28:13 +00:00
moodler
2a0d8c5b05 Fairly radical improvement to the Journal index, putting all the
information on one page.
2003-08-27 08:13:16 +00:00
moodler
5884d4e2fd Fixed some array indices 2003-08-25 02:48:09 +00:00
moodler
e3f4e47a19 More robust when a journal is unused 2003-08-20 15:01:06 +00:00
moodler
44d3044b77 Forgot to check this slight fix in to fix the default days 2003-08-20 12:03:26 +00:00