Commit Graph

63 Commits

Author SHA1 Message Date
mattc-catalyst
07aa205712 MDL-10888: groupings - mod/survey - updated to use groupings 2007-08-28 00:12:01 +00:00
skodak
1d68419596 MDL-10383 - deprecated groups_members_from_sql and friends - we do not need them anymore because we reverted to 1.7 style groups in 1.9 2007-08-15 19:28:11 +00:00
stronk7
87f47bec94 Fixing one SQL that could cause problems with coincidences
in the associative array. MDL-10787

Merged from MOODLE_18_STABLE
2007-08-10 01:46:17 +00:00
moodler
4bcd49bebd Patch from Chris Holmes for MDL-10027, merged from 1.8 2007-06-25 09:21:49 +00:00
toyomoyo
038bf62143 MDL-8425 related fixes 2007-02-08 03:04:41 +00:00
toyomoyo
795b56b3f1 MDL-7861, xhtml strict for survey 2007-01-08 05:47:12 +00:00
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
skodak
7150b8ae20 MDL-7434 all images that convey information should have alt text to convey that information - part 3 2006-11-26 16:20:19 +00:00
toyomoyo
3a2e0fe97a fix for MDL-7472, explicitly label radio buttons in survey. Note you need $USER->screenreader flag for this to be active 2006-11-23 04:49:48 +00:00
toyomoyo
5d1a5ef436 incrementing qnum so that questions numbers in multi will be unique 2006-11-23 03:01:16 +00:00
toyomoyo
f40aee6fd0 fix for MDL-7501, accessiblity of survey questions, duplicating row context 2006-11-22 03:58:00 +00:00
moodler
f274fe073c Merged AS keyword fixes from stable MDL-7207 2006-10-25 09:04:25 +00:00
vyshane
583b57b42d Changed <module>_print_recent_activity() functions so that they don't use $isteacher. However, I've left the $isteacher parameter in the functions, for backward compatibility so as not to break thrid party modules. Should we remove the parameter now? 2006-09-24 14:01:50 +00:00
skodak
8f414ab8aa fixed some long standing and some new problems and SC#249, please consider backporting into STABLE 2006-04-27 21:30:18 +00:00
mjollnir_
f3221af9e5 Initial checkin of stats (from processing the log table).
I will write up some information about it for the developers wiki.
2005-09-01 04:14:31 +00:00
stronk7
8a12a13250 Tabs are out 2005-05-16 23:42:48 +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
stronk7
95e72c12d0 Now retrieving only needed fields! 2005-02-13 00:42:29 +00:00
moodler
f1c1d2f166 Removing the THEME variable and adding in classes where appropriate 2005-02-10 10:41:22 +00:00
moodler
caf261b0c3 Changes for XHTML and accessibility compatibility 2004-11-26 07:07:06 +00:00
paca70
90c6ded264 Lib.php postgresql compatibly fix
graph.php $virtualscales was used uninitilized, fixed.
2004-10-22 13:20:35 +00:00
paca70
cfa56cffef Added missing , 2004-10-09 06:27:17 +00:00
moodler
d7d21c383c Minor changes for XHTML compatibility 2004-10-08 13:58:33 +00:00
gustav_delius
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius
e0b7b090d3 towards XHTML compliance 2004-09-14 20:39:28 +00:00
gustav_delius
d1290cec39 fixed capitalization and quoting of attribute values 2004-09-12 17:34:35 +00:00
gustav_delius
a9ef4a630a closed <input /> <br /> <hr /> 2004-09-12 14:41:49 +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
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
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
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
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
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
stronk7
7be61a22e8 Included survey_get_participants() function. 2003-09-07 22:09:23 +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
moodler
734d2c9887 Fixes to survey_get_responses() to make it work better with PostgreSQL
(from Petri Asikainen)
2003-02-17 08:35:51 +00:00
moodler
dcde9f020a Displayed time formats are now stored in lang files
(see the new strftime* strings) so they can be customised per language
2003-01-15 10:55:54 +00:00
moodler
607809b3ba OK a number of small changes here.
Firstly, I'm replacing all use of old-style global variables like
$HTTY_REFERER with their new-style equivalent $_SERVER["HTTP_REFERER"]
Also using $_POST instead $HTTP_POST_VARS  etc

Secondly, if gdversion == 0 (ie GD is not installed) then:

 - users are not even allowed to upload new images
 - graphs now just print a message instead of failing.

this allows Moodle to still be used even if GD is not present
2003-01-05 06:45:20 +00:00
moodler
ebc3bd2b24 Changes throughout Moodle to remove any reserved words from the
Moodle tables.

ie user -> userid in many tables, plus in user_students
   start -> starttime and end -> endtime

I've just done all this as carefully as I could ... I don't think
I missed anything but it's pretty intensive work and I'd be fooling myself
if I didn't think I'd missed a couple.

Note that this version should pretty much be able to bootstrap itself
using PostgreSQL now ... but this is untested
2002-12-23 09:39:26 +00:00
moodler
e323955db8 Changes to use new database stuff 2002-12-23 05:57:05 +00:00
moodler
62c13a2f3e Changed all references of %e to %d to fix strftime on Windows 2002-11-19 14:27:57 +00:00
moodler
f762c448ef FINALLY! Surveys are now translatable! :-) 2002-11-09 06:22:57 +00:00
martin
66ea15f3cc Reaaranged the functions into standard and other 2002-09-22 04:27:45 +00:00
martin
7bca79576f Fixed stupidity 2002-09-22 03:58:41 +00:00