You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(486) |
Jul
(201) |
Aug
(194) |
Sep
(87) |
Oct
(72) |
Nov
(72) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(6) |
Feb
(41) |
Mar
(22) |
Apr
(4) |
May
(12) |
Jun
|
Jul
|
Aug
(42) |
Sep
(21) |
Oct
(14) |
Nov
(10) |
Dec
|
2007 |
Jan
(14) |
Feb
(34) |
Mar
(61) |
Apr
(54) |
May
(140) |
Jun
(184) |
Jul
(164) |
Aug
(130) |
Sep
(241) |
Oct
(175) |
Nov
(148) |
Dec
(96) |
2008 |
Jan
(5) |
Feb
(38) |
Mar
(30) |
Apr
(46) |
May
(25) |
Jun
(22) |
Jul
(5) |
Aug
(17) |
Sep
(2) |
Oct
(100) |
Nov
(83) |
Dec
(33) |
2009 |
Jan
(127) |
Feb
(43) |
Mar
(86) |
Apr
(34) |
May
(50) |
Jun
(168) |
Jul
(48) |
Aug
(66) |
Sep
(38) |
Oct
(75) |
Nov
(113) |
Dec
(72) |
2010 |
Jan
(123) |
Feb
(68) |
Mar
(26) |
Apr
(11) |
May
(39) |
Jun
(131) |
Jul
(56) |
Aug
(79) |
Sep
(69) |
Oct
(17) |
Nov
(166) |
Dec
(32) |
2011 |
Jan
(21) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
(1) |
Nov
(8) |
Dec
|
2012 |
Jan
(2) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Chris S. <san...@us...> - 2012-04-20 13:26:29
|
Update of /cvsroot/stack/stack-dev/install In directory vz-cvs-3.sog:/tmp/cvs-serv11895 Modified Files: index.php p1.php Log Message: Index: p1.php =================================================================== RCS file: /cvsroot/stack/stack-dev/install/p1.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** p1.php 25 Jun 2009 09:27:53 -0000 1.14 --- p1.php 20 Apr 2012 13:26:26 -0000 1.15 *************** *** 40,44 **** } - if(!function_exists('get_string')) { --- 40,43 ---- Index: index.php =================================================================== RCS file: /cvsroot/stack/stack-dev/install/index.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** index.php 11 Dec 2008 11:39:36 -0000 1.14 --- index.php 20 Apr 2012 13:26:26 -0000 1.15 *************** *** 1,2 **** --- 1,9 ---- + <h1> STACK V.2 no longer supported </h2> + + As of April 2012, we have moved development of STACK to GitHub, and are working on version 3. Please see + <a href = "https://github.com/sangwinc/moodle-qtype_stack">https://github.com/sangwinc/moodle-qtype_stack</a>. + + + <?php /** |
From: Renate M. <re...@as...> - 2012-01-31 04:28:59
|
How do I reset the admin password? Renate Renate Mittelmann Arizona State University Leader Scientific Computing Environment School of Mathematical&Statistical Sciences Mathematical, Computational & Modeling Sciences Center Tempe, AZ 85287 re...@as... http://plato.asu.edu/renate/ (480)965-0096 fax:(480)965-0461 |
From: Chris S. <san...@us...> - 2012-01-22 19:36:53
|
Update of /cvsroot/stack/stack-dev/install In directory vz-cvs-3.sog:/tmp/cvs-serv7259/install Modified Files: answer_test_testsuite.php Log Message: Patch to PartFrac Index: answer_test_testsuite.php =================================================================== RCS file: /cvsroot/stack/stack-dev/install/answer_test_testsuite.php,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -d -r1.62 -r1.63 *** answer_test_testsuite.php 24 Jan 2011 15:22:26 -0000 1.62 --- answer_test_testsuite.php 22 Jan 2012 19:36:50 -0000 1.63 *************** *** 366,369 **** --- 366,370 ---- $testsuite[] = stack_testsuite_construct('PartFrac','1/(x+1) + 1/(x+2)','1/(x+3) + 1/(x+2)',0,'x','Denominator Error'); $testsuite[] = stack_testsuite_construct('PartFrac','(2*x+1)/(x^2+1)-2/(x-1)','(2*x+1)/(x^2+1)-2/(x-1)',1,'x',''); + $testsuite[] = stack_testsuite_construct('PartFrac','(-5/(x+3))+(16/(x+3)^2)-(2/(x+2))+4','(-5/(x+3))+(16/(x+3)^2)-(2/(x+2))+4',1,'x',''); |
From: Chris S. <san...@us...> - 2011-11-23 15:04:40
|
Update of /cvsroot/stack/stack-dev/lang/de In directory vz-cvs-3.sog:/tmp/cvs-serv32422 Added Files: opaque-moodleModule-opaque-lang-de_utf8.tar.gz opaque-moodleModule-stack-lang-de_utf8.tar.gz Log Message: --- NEW FILE: opaque-moodleModule-opaque-lang-de_utf8.tar.gz --- (This appears to be a binary file; contents omitted.) --- NEW FILE: opaque-moodleModule-stack-lang-de_utf8.tar.gz --- (This appears to be a binary file; contents omitted.) |
From: Chris S. <san...@us...> - 2011-11-23 14:54:23
|
Update of /cvsroot/stack/stack-dev/lang/de In directory vz-cvs-3.sog:/tmp/cvs-serv28011/de Added Files: README ignoreWords.txt stack.php synonyms.txt Log Message: Language support added for nl & de. --- NEW FILE: README --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ignoreWords.txt --- (This appears to be a binary file; contents omitted.) --- NEW FILE: stack.php --- <?php /** * Diese Textbausteine sieht der Benutzer. * * @package languages * @subpackage Stack */ $string['YourMarkFor'] = 'Die Bewertung für diesen Versuch ist'; $string['WithPenaltiesAnd'] = 'Mit Abzügen und Vorversuchen ergibt das {$a[\'mark\']} von {$a[\'QuVal\']}'; $string['YourMarkIs'] = 'Ihre Bewertung sind {$a[\'mark\']} von {$a[\'QuVal\']} Punkten.'; $string['InvalidNoMark'] = 'Diese Antwort ist ungültig, daher wird sie nicht bewertet und nicht gezählt.'; $string['InvalidPreviousMark'] = 'Aus vorherigen Versuchen ist die Bewertung {$a[\'mark\']} von {$a[\'QuVal\']}'; $string['InputTool'] = 'Eingabewerkzeug'; $string['SyntaxHint'] = 'Hinweis zur Syntax'; $string['TeacherAnsIs'] = 'Die Antwort des Lehrers lautet'; $string['ThisCanDisplay'] = 'Das kann eingegeben werden als'; [...1205 lines suppressed...] /****************************************************************************** * Input type strings. * * * ******************************************************************************/ $string['ddl_values'] = 'Werte z.B. 'a,b,c''; $string['ddl_empty'] = 'Keine gültigen Werte gefunden. Bitte geben Sie eine Wertemenge, also z.B. a,b,c,d ein.'; $string['matrix_noParam'] = ''; $string['matrix_noDim'] = 'Martixdimension nicht gefunden. Bitte überprüfen Sie Ihre Antwort. Die Lehrerantwort ist eine Matrix.'; $string['list_label'] = 'Bezeichnung'; $string['list_display'] = 'Angezeigt'; $string['list_input_type'] = 'Anzeigetyp'; $string['list_no_display'] = 'Anzahl der angezeigten Optionen'; $string['list_values'] = 'Ablenkungen'; $string['list_correct_ans'] = 'Richtige Antwort'; //get_string('ThisSTACKVer','stack','') ?> --- NEW FILE: synonyms.txt --- (This appears to be a binary file; contents omitted.) |
From: Chris S. <san...@us...> - 2011-11-23 14:53:13
|
Update of /cvsroot/stack/stack-dev/lang/de/doc/developer In directory vz-cvs-3.sog:/tmp/cvs-serv27899/developer Log Message: Directory /cvsroot/stack/stack-dev/lang/de/doc/developer added to the repository |
From: Chris S. <san...@us...> - 2011-11-23 14:49:53
|
Update of /cvsroot/stack/stack-dev/lang/de/doc In directory vz-cvs-3.sog:/tmp/cvs-serv26500/doc Log Message: Directory /cvsroot/stack/stack-dev/lang/de/doc added to the repository |
From: Chris S. <san...@us...> - 2011-11-23 14:49:36
|
Update of /cvsroot/stack/stack-dev/lang/de In directory vz-cvs-3.sog:/tmp/cvs-serv26463/de Log Message: Directory /cvsroot/stack/stack-dev/lang/de added to the repository |
From: Chris S. <san...@us...> - 2011-11-23 14:20:25
|
Update of /cvsroot/stack/stack-dev/lang/nl In directory vz-cvs-3.sog:/tmp/cvs-serv20004/nl Log Message: Directory /cvsroot/stack/stack-dev/lang/nl added to the repository |
From: Chris S. <san...@us...> - 2011-11-21 19:14:38
|
Update of /cvsroot/stack/stack-dev/lib/items In directory vz-cvs-3.sog:/tmp/cvs-serv20062/lib/items Modified Files: InstantiatedItem.php PotentialResponse.php StudentAns.php Log Message: Important changes to improve robustness to student errors. Index: PotentialResponse.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/items/PotentialResponse.php,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** PotentialResponse.php 29 Nov 2010 18:06:51 -0000 1.50 --- PotentialResponse.php 21 Nov 2011 19:14:36 -0000 1.51 *************** *** 976,979 **** } - - ?> \ No newline at end of file --- 976,977 ---- Index: StudentAns.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/items/StudentAns.php,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** StudentAns.php 13 Oct 2010 12:15:19 -0000 1.47 --- StudentAns.php 21 Nov 2011 19:14:36 -0000 1.48 *************** *** 267,271 **** if ($casCommands === false) { ! //Errors have occured. Error log contains details $valid = $this->errorLog->getLastError(); } --- 267,271 ---- if ($casCommands === false) { ! //Errors have occurred. Error log contains details $valid = $this->errorLog->getLastError(); } *************** *** 403,408 **** } ! /*commands are send with insert stars on and strict syntax off, the least strict settings ! * this is to allow us to send all students answers through at the same time to the cas * regardless of their individual settings. If strict syntax is turned on, any problems should be * caught at the syntax checking phase. --- 403,408 ---- } ! /*commands are sent with insert stars on and strict syntax off, the least strict settings ! * this is to allow us to send all students answers through at the same time to the CAS * regardless of their individual settings. If strict syntax is turned on, any problems should be * caught at the syntax checking phase. *************** *** 478,481 **** --- 478,482 ---- $i = 0; + foreach($validLabels as $vLabel) { *************** *** 502,505 **** --- 503,513 ---- //echo "<pre>";print_r($errs);echo "</pre>"; + if (strpos($displayResults["caschat$i"],'CAS Error')) { + + $errText = '<span class="errorMsg">'.get_string('stackCas_invalidCommand','stack','').' </span><span class="SyntaxExample">'.$this->studentAnswers[$vLabel]->getRawAns().'</span>'; + $this->studentAnswers[$vLabel]->setFeedback($errText); + $this->studentAnswers[$vLabel]->setStatus('invalid'); + } + if($errs["caschat$i"] == NULL) { *************** *** 513,518 **** { // Automatically translate Maxima's "division by zero" error for internationalisation ! if (strpos($errText,'Division') === FALSE) ! { } else { $errText = get_string('DivisionZero', 'stack', ''); } --- 521,525 ---- { // Automatically translate Maxima's "division by zero" error for internationalisation ! if (strpos($errText,'Division') !== FALSE or strpos($errText,'0 to a negative exponent') !== FALSE){ $errText = get_string('DivisionZero', 'stack', ''); } *************** *** 803,805 **** } - ?> \ No newline at end of file --- 810,811 ---- Index: InstantiatedItem.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/items/InstantiatedItem.php,v retrieving revision 1.82 retrieving revision 1.83 diff -C2 -d -r1.82 -r1.83 *** InstantiatedItem.php 30 Sep 2010 16:56:15 -0000 1.82 --- InstantiatedItem.php 21 Nov 2011 19:14:36 -0000 1.83 *************** *** 909,911 **** } - ?> \ No newline at end of file --- 909,910 ---- |
From: Chris S. <san...@us...> - 2011-11-17 08:48:20
|
Update of /cvsroot/stack/stack-dev/lang/en In directory vz-cvs-3.sog:/tmp/cvs-serv7181/lang/en Modified Files: stack.php Log Message: Index: stack.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lang/en/stack.php,v retrieving revision 1.163 retrieving revision 1.164 diff -C2 -d -r1.163 -r1.164 *** stack.php 24 Jan 2011 09:47:20 -0000 1.163 --- stack.php 17 Nov 2011 08:48:17 -0000 1.164 *************** *** 860,864 **** $string['stackInstall_dbPriviliges'] = 'Please check you have read and write privileges on the database {$a}'; $string['stackInstall_fillin'] = 'Please complete {$a}'; ! $string['stackInstall_moodlePath'] = 'Full Path to Moodle'; $string['stackInstall_moodleDBSetting'] = 'Moodle Database Settings'; $string['stackInstall_moodleDesc1'] = 'STACK can use Moodle\'s database for student\'s details. Student\'s who register on the Moodle site won\'t need to register again with STACK.'; --- 860,864 ---- $string['stackInstall_dbPriviliges'] = 'Please check you have read and write privileges on the database {$a}'; $string['stackInstall_fillin'] = 'Please complete {$a}'; ! $string['stackInstall_moodlePath'] = 'Full Path to Moodle. (Please note STACK does not currently install with Moodle 2.1. STACK v.3 is under development)'; $string['stackInstall_moodleDBSetting'] = 'Moodle Database Settings'; $string['stackInstall_moodleDesc1'] = 'STACK can use Moodle\'s database for student\'s details. Student\'s who register on the Moodle site won\'t need to register again with STACK.'; *************** *** 1342,1344 **** //get_string('ThisSTACKVer','stack','') ! ?> \ No newline at end of file --- 1342,1344 ---- //get_string('ThisSTACKVer','stack','') ! ?> \ No newline at end of file |
From: Chris S. <san...@us...> - 2011-10-27 19:20:41
|
Update of /cvsroot/stack/stack-dev/maxima In directory vz-cvs-3.sog:/tmp/cvs-serv5484 Modified Files: initMaxima.php Log Message: Index: initMaxima.php =================================================================== RCS file: /cvsroot/stack/stack-dev/maxima/initMaxima.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** initMaxima.php 30 Sep 2010 16:56:14 -0000 1.6 --- initMaxima.php 27 Oct 2011 19:20:37 -0000 1.7 *************** *** 174,178 **** // Enable students to use any Greek letters as part of an answer. ! $greek = array(alpha,nu,beta,xi,gamma,omicron,delta,pi,epsilon,rho,zeta,sigma,eta,tau,theta,upsilon,iota,phi,kappa,chi,lambda,psi,mu,omega); foreach ($greek as $gl) { $gl = strtoupper($gl); --- 174,178 ---- // Enable students to use any Greek letters as part of an answer. ! $greek = array('alpha','nu','beta','xi','gamma','omicron','delta','pi','epsilon','rho','zeta','sigma','eta','tau','theta','upsilon','iota','phi','kappa','chi','lambda','psi','mu','omega'); foreach ($greek as $gl) { $gl = strtoupper($gl); |
From: Chris S. <san...@us...> - 2011-08-06 08:20:01
|
Update of /cvsroot/stack/stack-dev/lib/items In directory vz-cvs-3.sog:/tmp/cvs-serv20244 Modified Files: PotentialResponseTree.php Log Message: Index: PotentialResponseTree.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/items/PotentialResponseTree.php,v retrieving revision 1.73 retrieving revision 1.74 diff -C2 -d -r1.73 -r1.74 *** PotentialResponseTree.php 6 Aug 2011 08:19:02 -0000 1.73 --- PotentialResponseTree.php 6 Aug 2011 08:19:58 -0000 1.74 *************** *** 1449,1451 **** } - ?> \ No newline at end of file --- 1449,1450 ---- |
From: Chris S. <san...@us...> - 2011-08-06 08:19:04
|
Update of /cvsroot/stack/stack-dev/lib/items In directory vz-cvs-3.sog:/tmp/cvs-serv20188 Modified Files: PotentialResponseTree.php Log Message: Bug patch... Index: PotentialResponseTree.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/items/PotentialResponseTree.php,v retrieving revision 1.72 retrieving revision 1.73 diff -C2 -d -r1.72 -r1.73 *** PotentialResponseTree.php 30 Sep 2010 16:56:15 -0000 1.72 --- PotentialResponseTree.php 6 Aug 2011 08:19:02 -0000 1.73 *************** *** 301,305 **** } ! while($nextPR != -1) { //echo "PR = $nextPR<br >"; --- 301,305 ---- } ! while($nextPR != -1 and $this->PResponses[$nextPR] !=NULL) { //echo "PR = $nextPR<br >"; *************** *** 1449,1451 **** } ! ?> \ No newline at end of file --- 1449,1451 ---- } ! ?> \ No newline at end of file |
From: Chris S. <san...@us...> - 2011-05-03 08:33:18
|
Update of /cvsroot/stack/stack-dev/maxima In directory vz-cvs-3.sog:/tmp/cvs-serv2012/maxima Modified Files: assessment.mac Log Message: Index: assessment.mac =================================================================== RCS file: /cvsroot/stack/stack-dev/maxima/assessment.mac,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** assessment.mac 16 Dec 2010 13:36:55 -0000 1.4 --- assessment.mac 3 May 2011 08:33:15 -0000 1.5 *************** *** 90,94 **** /* Write the number x in n decimal places */ ! decimalplaces(x,n) := block([fpprintprec],fpprintprec:n,ev(float(round(10^n*float(x))/(10^n)),simp))$ /* Write numbers in significant figures */ --- 90,94 ---- /* Write the number x in n decimal places */ ! decimalplaces(x,n) := ev(float(round(10^n*float(x))/(10^n)),simp)$ /* Write numbers in significant figures */ |
From: Chris S. <san...@us...> - 2011-01-24 18:26:13
|
Update of /cvsroot/stack/stack-dev/lib/ui In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv25683/lib/ui Modified Files: questionDeploy.php Log Message: Index: questionDeploy.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/ui/questionDeploy.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** questionDeploy.php 24 Jan 2011 17:20:50 -0000 1.12 --- questionDeploy.php 24 Jan 2011 18:26:05 -0000 1.13 *************** *** 81,85 **** if($latestVersion == $earliest || false == $earliest) { echo "<form method='POST' action='?id=".$id."'>".$deployment->formXHTML()."</form>"; ! echo '<p><a href="?id='.$id.'&dropall='.$latestVersion.'">'.get_string('FE_deployQuestion_undeployAll', 'stack').'</a>'; } else { echo get_string('FE_deployQuestion_oldVersionDeployed', 'stack'); --- 81,85 ---- if($latestVersion == $earliest || false == $earliest) { echo "<form method='POST' action='?id=".$id."'>".$deployment->formXHTML()."</form>"; ! //echo '<p><a href="?id='.$id.'&dropall='.$latestVersion.'">'.get_string('FE_deployQuestion_undeployAll', 'stack').'</a>'; } else { echo get_string('FE_deployQuestion_oldVersionDeployed', 'stack'); |
From: Chris S. <san...@us...> - 2011-01-24 17:20:58
|
Update of /cvsroot/stack/stack-dev/lib/ui In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv15240/lib/ui Modified Files: questionDeploy.php Log Message: Index: questionDeploy.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/ui/questionDeploy.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** questionDeploy.php 2 Dec 2010 19:25:54 -0000 1.11 --- questionDeploy.php 24 Jan 2011 17:20:50 -0000 1.12 *************** *** 81,84 **** --- 81,85 ---- if($latestVersion == $earliest || false == $earliest) { echo "<form method='POST' action='?id=".$id."'>".$deployment->formXHTML()."</form>"; + echo '<p><a href="?id='.$id.'&dropall='.$latestVersion.'">'.get_string('FE_deployQuestion_undeployAll', 'stack').'</a>'; } else { echo get_string('FE_deployQuestion_oldVersionDeployed', 'stack'); |
From: Chris S. <san...@us...> - 2011-01-24 16:03:50
|
Update of /cvsroot/stack/worksheets In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv436 Modified Files: index.php Log Message: Index: index.php =================================================================== RCS file: /cvsroot/stack/worksheets/index.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** index.php 24 Jan 2011 15:30:53 -0000 1.15 --- index.php 24 Jan 2011 16:03:42 -0000 1.16 *************** *** 84,103 **** echo "</table></p>\n\n"; - echo '<h1>TEST</h1>'; - - $res=db_get_questions("TEST-"); - - echo "\n\n<p><table border='0'>\n"; - $i=0; - foreach($res as $qkey => $qu) { - if (''!=trim($qu['description'])) { - $i++; - echo ' <tr><td align="right">'.$i.'.</td>'; - echo '<td><span class="small_links">('.$qu['name'].')</span></td>'; - echo '<td><a href="'.$ws_location.'/worksheets.php?qkey='.$qu[name].'">'.$qu[description]."</a></td></tr>\n"; - } - } - echo "</table></p>\n\n"; - ?> --- 84,87 ---- |
From: Chris S. <san...@us...> - 2011-01-24 16:03:06
|
Update of /cvsroot/stack/worksheets/lib In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv32740/lib Modified Files: db.php Log Message: Index: db.php =================================================================== RCS file: /cvsroot/stack/worksheets/lib/db.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** db.php 6 Jan 2010 15:30:46 -0000 1.3 --- db.php 24 Jan 2011 16:02:58 -0000 1.4 *************** *** 53,57 **** // Build the query to the database. ! $query = 'SELECT questionName, questionID, questionDescription FROM stackquestion WHERE questionName LIKE "'.$qkey.'%" ORDER BY questionName'; $result = db_query($query); --- 53,59 ---- // Build the query to the database. ! ! $query = 'SELECT stackquestion.questionName, stackquestion.questionID, stackquestion.questionDescription FROM stackquestion, question_lines WHERE stackquestion.questionName LIKE "'.$qkey.'%" AND question_lines.latestVersion = stackquestion.questionID ORDER BY questionName'; ! $result = db_query($query); |
From: Chris S. <san...@us...> - 2011-01-24 15:31:01
|
Update of /cvsroot/stack/worksheets In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv26818 Modified Files: config.php.dist index.php Added Files: .cvsignore Log Message: --- NEW FILE: .cvsignore --- .project Index: config.php.dist =================================================================== RCS file: /cvsroot/stack/worksheets/config.php.dist,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** config.php.dist 6 Jan 2010 14:36:59 -0000 1.5 --- config.php.dist 24 Jan 2011 15:30:53 -0000 1.6 *************** *** 28,30 **** $dbArray["database"] = 'stack-dev'; - ?> \ No newline at end of file --- 28,29 ---- Index: index.php =================================================================== RCS file: /cvsroot/stack/worksheets/index.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** index.php 9 Feb 2010 17:09:57 -0000 1.14 --- index.php 24 Jan 2011 15:30:53 -0000 1.15 *************** *** 84,87 **** --- 84,103 ---- echo "</table></p>\n\n"; + echo '<h1>TEST</h1>'; + + $res=db_get_questions("TEST-"); + + echo "\n\n<p><table border='0'>\n"; + $i=0; + foreach($res as $qkey => $qu) { + if (''!=trim($qu['description'])) { + $i++; + echo ' <tr><td align="right">'.$i.'.</td>'; + echo '<td><span class="small_links">('.$qu['name'].')</span></td>'; + echo '<td><a href="'.$ws_location.'/worksheets.php?qkey='.$qu[name].'">'.$qu[description]."</a></td></tr>\n"; + } + } + echo "</table></p>\n\n"; + ?> |
From: Chris S. <san...@us...> - 2011-01-24 15:31:01
|
Update of /cvsroot/stack/worksheets/lib In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv26818/lib Modified Files: stackLib.php Log Message: Index: stackLib.php =================================================================== RCS file: /cvsroot/stack/worksheets/lib/stackLib.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** stackLib.php 19 Dec 2009 16:04:56 -0000 1.1 --- stackLib.php 24 Jan 2011 15:30:53 -0000 1.2 *************** *** 678,680 **** } - ?> \ No newline at end of file --- 678,679 ---- |
From: Chris S. <san...@us...> - 2011-01-24 15:22:35
|
Update of /cvsroot/stack/stack-dev/lang/en/doc In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv25243/lang/en/doc Modified Files: student_factsformula.php Log Message: Index: student_factsformula.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lang/en/doc/student_factsformula.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** student_factsformula.php 20 Oct 2009 13:54:06 -0000 1.4 --- student_factsformula.php 24 Jan 2011 15:22:27 -0000 1.5 *************** *** 292,295 **** d}x}\left\{\int g(x){\rm d}x\right\}{\rm d}x $$'; - - ?> \ No newline at end of file --- 292,293 ---- |
From: Chris S. <san...@us...> - 2011-01-24 15:22:35
|
Update of /cvsroot/stack/stack-dev/install In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv25243/install Modified Files: answer_test_testsuite.php Log Message: Index: answer_test_testsuite.php =================================================================== RCS file: /cvsroot/stack/stack-dev/install/answer_test_testsuite.php,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -d -r1.61 -r1.62 *** answer_test_testsuite.php 20 Jan 2011 18:17:17 -0000 1.61 --- answer_test_testsuite.php 24 Jan 2011 15:22:26 -0000 1.62 *************** *** 507,512 **** $testsuite[] = stack_testsuite_construct('StringSloppy','hello','heloo',0,'',''); ! $testsuite[] = stack_testsuite_construct('RegExp','3.1415927','3.1415927',1,'[0-9]*\.[0-9]*',''); ! $testsuite[] = stack_testsuite_construct('RegExp','cxcxcz','3.1415927',0,'[0-9]*\.[0-9]*',''); $testsuite[] = stack_testsuite_construct('LowestTerms','1/0','0',0,'',''); --- 507,512 ---- $testsuite[] = stack_testsuite_construct('StringSloppy','hello','heloo',0,'',''); ! $testsuite[] = stack_testsuite_construct('RegExp','3.1415927','3.1415927',1,'{[0-9]*\.[0-9]*}',''); ! $testsuite[] = stack_testsuite_construct('RegExp','cxcxcz','3.1415927',0,'{[0-9]*\.[0-9]*}',''); $testsuite[] = stack_testsuite_construct('LowestTerms','1/0','0',0,'',''); |
From: Chris S. <san...@us...> - 2011-01-24 15:22:35
|
Update of /cvsroot/stack/stack-dev/lib/answertests In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv25243/lib/answertests Modified Files: ATRegExp.php Log Message: Index: ATRegExp.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/answertests/ATRegExp.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** ATRegExp.php 19 Jan 2010 18:01:05 -0000 1.8 --- ATRegExp.php 24 Jan 2011 15:22:27 -0000 1.9 *************** *** 61,65 **** else { ! if(ereg($this->ATOption, $this->sAnsKey, $pattern)) { $this->ATMark = 1; --- 61,67 ---- else { ! // Removed 24/1/11 ! // ereg($this->ATOption, $this->sAnsKey, $pattern) ! if(preg_match($this->ATOption, $this->sAnsKey, $pattern)) { $this->ATMark = 1; |
From: Chris S. <san...@us...> - 2011-01-24 15:22:35
|
Update of /cvsroot/stack/stack-dev In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv25243 Modified Files: vista.php Log Message: Index: vista.php =================================================================== RCS file: /cvsroot/stack/stack-dev/vista.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** vista.php 9 Oct 2007 11:14:40 -0000 1.2 --- vista.php 24 Jan 2011 15:22:27 -0000 1.3 *************** *** 55,59 **** } ! // (1) Check that the userID exists. // If so, then login as this user // If not then create an account fully, including authentication and login. --- 55,59 ---- } ! // (1) Check that the userID exists. // If so, then login as this user // If not then create an account fully, including authentication and login. *************** *** 62,66 **** //1st attempt Moodle login see if it fails. ! $username = moodle_strtolower($username); //$password = 'stack'.$userID; //fake up a password $password = 'stack'.userID; --- 62,66 ---- //1st attempt Moodle login see if it fails. ! $username = moodle_strtolower($username); //$password = 'stack'.$userID; //fake up a password $password = 'stack'.userID; *************** *** 90,94 **** echo 'Need to add user to db. <br />'; //need to add the user to moodle. ! //create user object $dbUser = new stdClass(); --- 90,94 ---- echo 'Need to add user to db. <br />'; //need to add the user to moodle. ! //create user object $dbUser = new stdClass(); *************** *** 107,114 **** $dbUser->country= 'GB'; $dbUser->description = 'Vista User'; ! //insert record $result = insert_record('user', $dbUser, true); ! if($result == false) { --- 107,114 ---- $dbUser->country= 'GB'; $dbUser->description = 'Vista User'; ! //insert record $result = insert_record('user', $dbUser, true); ! if($result == false) { *************** *** 117,121 **** } echo 'User added to database: '.$result.'<br />'; ! $USER->id = $result; //attempt logon again --- 117,121 ---- } echo 'User added to database: '.$result.'<br />'; ! $USER->id = $result; //attempt logon again *************** *** 137,146 **** { //getting somewhere.. set up the users sessions and redirect. ! $USER = $user; global $user; add_to_log(SITEID, 'user', 'login', "view.php?id=$USER->id&course=".SITEID, $USER->id, 0, $USER->id); ! ! update_user_login_times(); if (empty($CFG->nolastloggedin)) { --- 137,146 ---- { //getting somewhere.. set up the users sessions and redirect. ! $USER = $user; global $user; add_to_log(SITEID, 'user', 'login', "view.php?id=$USER->id&course=".SITEID, $USER->id, 0, $USER->id); ! ! update_user_login_times(); if (empty($CFG->nolastloggedin)) { *************** *** 153,166 **** } set_login_session_preferences(); ! /// This is what lets the user do anything on the site :-) load_all_capabilities(); ! //redirect to requested course $courseURL = $CFG->wwwroot.'/course/view.php?id='.$subjectID; ! //echo 'Would redirect to '.$courseURL.' at this point.'; echo "Redirecting to: <a href=\"$courseURL\">$courseURL</a>"; redirect($courseURL); } - ?> \ No newline at end of file --- 153,165 ---- } set_login_session_preferences(); ! /// This is what lets the user do anything on the site :-) load_all_capabilities(); ! //redirect to requested course $courseURL = $CFG->wwwroot.'/course/view.php?id='.$subjectID; ! //echo 'Would redirect to '.$courseURL.' at this point.'; echo "Redirecting to: <a href=\"$courseURL\">$courseURL</a>"; redirect($courseURL); } |