120 Commits

Author SHA1 Message Date
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
moodler
b6b3deb48c Fix for Bug 1383. Added support for the Critical Incident Survey type in the Complete Activity Reports
(Shane Elliott)
2004-05-13 08:57:39 +00:00
moodler
deba41af8c Clean filenames to prevent possible problems with IE 2004-04-17 03:27:27 +00:00
moodler
e80a8db7e0 Fixed GHEIGHT, GWIDTH typos ... thanks Prince Eloy! 2004-03-22 07:48:38 +00:00
moodler
840c178193 Fix from Bernard Boucher for situation when no groups members defined
http://moodle.org/mod/forum/discuss.php?d=6335#29657
2004-03-22 02:57:27 +00:00
moodler
ba163fa231 Cleaner pages when there are no responses yet 2004-03-20 09:39:17 +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
moodler
a30f997e4c Some fixes for display of survey reports 2004-03-13 13:33:20 +00:00
moodler
a9ccbf60bf Groups support on Surveys. Phew. 2004-02-20 16:03:05 +00:00
moodler
f4da2ed4d7 Don't specify id on upgrades! Thanks, Eloy! 2004-02-17 03:58:06 +00:00
stronk7
4130af7552 Now label, quiz, resource and survey logs
are restored properly (I think) :-)
2004-02-16 20:42:16 +00:00
stronk7
8f583218df Added missing cmid parameter when calling add_to_log() function. 2004-02-16 19:31:26 +00:00
moodler
0e27a3ae71 Allow longer answers to support text fields better 2004-02-16 17:58:06 +00:00
moodler
1d8063adbc Some spacing 2004-02-16 17:15:59 +00:00
moodler
f14a311ec3 Minor tify up 2004-02-16 17:14:07 +00:00
moodler
c9b1af4d42 Make sure the update happens (some of this new code is actually really
old and sort of got bypassed)
2004-02-16 16:15:21 +00:00
moodler
7c8c335fa3 Complete clean-up of the survey reports.
Frames are GONE.  :-)

Also, a new survey: CIQ = Critical Incident Questionnaire
2004-02-16 16:13:31 +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
83f007bf39 Define minimum required versions of Moodle 2004-01-28 04:27:57 +00:00
moodler
8eb675a555 Added dividers 2004-01-26 12:29:02 +00:00
gustav_delius
d7143408df replaced incorrectly closed html tags, see bug 365 2004-01-25 20:34:54 +00:00
moodler
ff0b0de96d Use fullname function for names 2003-11-28 15:47:11 +00:00
moodler
1bdcef1051 Worksheet name can't be longer than 31 characters 2003-11-27 07:10:27 +00:00
moodler
091333e091 Removed a blank line 2003-11-03 03:00:45 +00:00
moodler
329cbe682b Excel report now uses the new library. Conversion by Russell Jungwirth - thanks! 2003-09-30 13:23:05 +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
ff74d85283 Initial add for Oracle. 2003-09-25 02:11:31 +00:00
les_kopari
96c1e116e6 Oracle tables, etc converted from mysql, plus test transactions. 2003-09-13 08:05:21 +00:00
moodler
145cb8f9ab More short tags 2003-09-11 13:21:56 +00:00
moodler
c559bcf6f0 Fixed some PHP short_tags 2003-09-09 12:34:51 +00:00
stronk7
7be61a22e8 Included survey_get_participants() function. 2003-09-07 22:09:23 +00:00
moodler
5884d4e2fd Fixed some array indices 2003-08-25 02:48:09 +00:00
stronk7
902142c079 Added language support 2003-07-28 19:32:51 +00:00
moodler
cccb016ae4 When displaying index lists of a particular module's activities,
ensure that the order they are displayed in is always the same as the
order they have been defined in.   See bug 553.

This involved API changes to the function get_all_instances_in_course()
2003-07-12 05:19:18 +00:00
moodler
d7c93ec8fa Moving the backup libraries for each module into their new homes.
There's some beer and pies in the fridge, guys, settle in.
2003-07-09 04:40:35 +00:00
moodler
717f40c6d8 Some fixes to avoid pointless uses of $ME 2003-06-16 14:40:51 +00:00
moodler
21b1125f63 Make form destinations relative (to course/mod.php) to avoid
some form problems on mis-configured servers (wwwroot not quite right)
2003-06-10 05:33:58 +00:00
moodler
60ffb53a7d Minor code cleanup 2003-05-20 08:01:40 +00:00
moodler
b1f505771e Fixed the bug I introduced in the last checkin (it was related to the
re-introduction of text fields in surveys)   See bug 441
2003-05-20 04:26:57 +00:00
moodler
3a4c2fd089 I knew there was something else I'd forgotten!
Added a check to all modules (well view.php anyway) to check whether a
module is hidden or not.  If it is, then students get a message.
2003-05-15 18:03:22 +00:00
moodler
813ec7ad65 Prevent guests from taking surveys 2003-05-06 03:06:06 +00:00
moodler
1b5910c4a5 Trying a different tack for recent_activity since the old way was
still producing too much data and overflowing PHP memory on busier
sites (eg moodle.org).

Now, there are more database queries, which is unfortunate, but the
data is much more specific, and no sorting needs to be done, so
this is a performance boost.

I don't know how these will cancel out ... my guess is that very
small sites may be very slightly slower on the course page, but
that large sites will be much faster.

Let's see.
2003-04-26 15:08:34 +00:00
moodler
ad08fdc277 Performance improvements
- better checking of data before processing
  - used logs are removed to avoid re-processing by other modules
2003-04-26 12:59:41 +00:00
moodler
3d89198946 Cleaned up definition of constant COURSE_* values in course/lib.php
Moved COURSE_TEACHER_COLOR out to style sheets where it belongs (.teacheronly)

Added some efficiency when printing recent activity

 - don't print more than one weeks worth of updates
  - don't keep re-parsing logs once they've been used
2003-04-26 12:17:30 +00:00
stronk7
fbca88e692 Show activity log only from visible surveys. Bug #367. 2003-04-26 11:04:46 +00:00
stronk7
c37053ea2f Changed to show the hidden surveys dimmed (bug #364) 2003-04-24 18:28:30 +00:00
moodler
f82c2d428a Modified Greg's work to:
- rename the main_frame variable to framename, because it
       - might have caused some confusion
       - none of the global variables have underscores
  - put the config in the config table, with a default of _top
2003-03-12 07:36:22 +00:00