CVS log for loncom/interface/spreadsheet/assesscalc.pm

[BACK] Up to [LON-CAPA] / loncom / interface / spreadsheet

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Mar 2 14:14:21 2016 UTC (8 years, 2 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X, HEAD
Diff to previous 1.60: preferred, unified
Changes since revision 1.60: +48 -2 lines
- Bug 4373. Ability to set map-level parameters which apply recursively
  to subfolders.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Tue Feb 11 19:11:30 2014 UTC (10 years, 2 months ago) by bisitz
Branches: MAIN
CVS tags: version_2_11_X, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, version_2_11_1, version_2_11_0_RC3, version_2_11_0
Diff to previous 1.59: preferred, unified
Changes since revision 1.59: +7 -7 lines
Internationalization: Added missing &mt() calls

Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Oct 12 13:56:38 2012 UTC (11 years, 6 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_0_RC2, version_2_11_0_RC1
Diff to previous 1.58: preferred, unified
Changes since revision 1.58: +2 -2 lines
- Check $navmap is an object.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Jan 23 01:36:26 2007 UTC (17 years, 3 months ago) by albertel
Branches: MAIN
CVS tags: version_2_9_X, version_2_9_99_0, version_2_9_1, version_2_9_0, version_2_8_X, version_2_8_99_1, version_2_8_99_0, version_2_8_2, version_2_8_1, version_2_8_0, version_2_7_X, version_2_7_99_1, version_2_7_99_0, version_2_7_1, version_2_7_0, version_2_6_X, version_2_6_99_1, version_2_6_99_0, version_2_6_3, version_2_6_2, version_2_6_1, version_2_6_0, version_2_5_X, version_2_5_99_1, version_2_5_99_0, version_2_5_2, version_2_5_1, version_2_5_0, version_2_4_X, version_2_4_99_0, version_2_4_2, version_2_4_1, version_2_4_0, version_2_3_99_0, version_2_10_X, version_2_10_1, version_2_10_0_RC2, version_2_10_0_RC1, version_2_10_0, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, bz6209-base, bz6209, bz5969, bz2851, PRINT_INCOMPLETE_base, PRINT_INCOMPLETE, GCI_3, GCI_2, GCI_1, BZ5971-printing-apage, BZ5434-fox, BZ4492-merge, BZ4492-feature_horizontal_radioresponse
Diff to previous 1.57: preferred, unified
Changes since revision 1.57: +3 -3 lines
- allow [&EXPANDSUM()] to span lines

Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Dec 21 02:54:19 2006 UTC (17 years, 4 months ago) by albertel
Branches: MAIN
CVS tags: version_2_3_X, version_2_3_2, version_2_3_1, version_2_3_0, version_2_2_99_1
Diff to previous 1.56: preferred, unified
Changes since revision 1.56: +9 -4 lines
- notice and announce when errors occur trying to calculate spreadsheets

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Sep 3 00:39:57 2006 UTC (17 years, 8 months ago) by albertel
Branches: MAIN
CVS tags: version_2_2_X, version_2_2_99_0, version_2_2_2, version_2_2_1
Diff to previous 1.55: preferred, unified
Changes since revision 1.55: +2 -2 lines
- replacing incorrect E-oh-FFDD with E-zero-FFDD

Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Mon May 15 23:44:46 2006 UTC (17 years, 11 months ago) by albertel
Branches: version_2_1_X
Diff to previous 1.51: preferred, unified next main 1.52: preferred, unified
Changes since revision 1.51: +3 -1 lines
- backport 1.55

Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon May 15 23:40:47 2006 UTC (17 years, 11 months ago) by albertel
Branches: MAIN
CVS tags: version_2_2_0, version_2_1_99_3, version_2_1_99_2, version_2_1_99_1, version_2_1_99_0
Diff to previous 1.54: preferred, unified
Changes since revision 1.54: +3 -1 lines
- the map url in the parameter definition is without a version

Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon May 1 17:30:20 2006 UTC (18 years ago) by raeburn
Branches: MAIN
Diff to previous 1.53: preferred, unified
Changes since revision 1.53: +2 -2 lines
typo

Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon May 1 06:17:16 2006 UTC (18 years ago) by raeburn
Branches: MAIN
Diff to previous 1.52: preferred, unified
Changes since revision 1.52: +19 -18 lines
Determination of parameters for spreadsheet now correctly cascades for cases where a user has multiple active groups. Also groups are passed in argument list for Spreadsheet object as array reference. Lastly lonnet::get_users_groups function modified to only return user's active groups, except in case when user status has expired (and default end access date for students has also passed), in which case user's groups which were still active less than 24 hours before default end date are also included in user's groups. [For consistency with students groups returned by loncoursedata::get_students_groups()].

Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Apr 6 20:24:13 2006 UTC (18 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.51: preferred, unified
Changes since revision 1.51: +20 -8 lines
Making group-based parameters apply in spreadsheet, using same cascading precedence scheme as used for parmset.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Oct 12 21:29:49 2005 UTC (18 years, 7 months ago) by albertel
Branches: MAIN
CVS tags: version_2_1_3, version_2_1_2, version_2_1_1, version_2_1_0, version_2_0_X, version_2_0_99_1
Branch point for: version_2_1_X
Diff to previous 1.50: preferred, unified
Changes since revision 1.50: +11 -9 lines
- BUG#4410 was not doing an exhaustive search for possible part info

Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue May 17 20:14:19 2005 UTC (18 years, 11 months ago) by albertel
Branches: MAIN
CVS tags: version_2_0_2, version_2_0_1, version_2_0_0, version_1_99_3, version_1_99_2, version_1_99_1_tmcc, version_1_99_1, version_1_99_0
Diff to previous 1.49: preferred, unified
Changes since revision 1.49: +7 -1 lines
- remove any formulas that don't have an associated const

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue May 17 18:04:40 2005 UTC (18 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.48: preferred, unified
Changes since revision 1.48: +3 -3 lines
- didn't mean to commit that, it makes things faster, but likely can cause problems

Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue May 17 18:01:58 2005 UTC (18 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.47: preferred, unified
Changes since revision 1.47: +24 -28 lines
- only go get the pretty names of the parameters if we are going to actually show them

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun May 15 03:45:42 2005 UTC (18 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.46: preferred, unified
Changes since revision 1.46: +5 -4 lines
- err got the arg order wrong there

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun May 15 02:49:40 2005 UTC (18 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.45: preferred, unified
Changes since revision 1.45: +4 -2 lines
- some formatting changes

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun May 15 02:49:07 2005 UTC (18 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.44: preferred, unified
Changes since revision 1.44: +5 -2 lines
- mimize the size of sheet_values

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun May 15 02:40:26 2005 UTC (18 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.43: preferred, unified
Changes since revision 1.43: +9 -5 lines
- moving the decode_symb out of the way inner loop saves us about 2 seconds, down to about 11.5 secodns to complet calc a student now (from 93)

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun May 15 02:28:23 2005 UTC (18 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.42: preferred, unified
Changes since revision 1.42: +2 -2 lines
- slightly better test

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun May 15 02:19:49 2005 UTC (18 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.41: preferred, unified
Changes since revision 1.41: +1 -11 lines
- connection aborted only changes after trying to do $r->rflush( or enough $r->print()) no need tocheck hundreds of times a second

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun May 15 02:18:12 2005 UTC (18 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.40: preferred, unified
Changes since revision 1.40: +10 -13 lines
- checking if a partid is hidden can be 'expensive' only chek if we have a parmaeter sitting there

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri May 13 21:14:46 2005 UTC (19 years ago) by albertel
Branches: MAIN
Diff to previous 1.39: preferred, unified
Changes since revision 1.39: +4 -2 lines
- minimizing the number of elments in %t, and moving sheet_values to be out int Spreadsheet not in the safe space (student level sheet not taking aroun 0.5 seconds to compute)

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Apr 7 06:56:23 2005 UTC (19 years, 1 month ago) by albertel
Branches: MAIN
CVS tags: version_1_99_0_tmcc
Diff to previous 1.38: preferred, unified
Changes since revision 1.38: +14 -14 lines
- ENV -> env

Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Mar 10 17:33:57 2005 UTC (19 years, 2 months ago) by matthew
Branches: MAIN
Diff to previous 1.37: preferred, unified
Changes since revision 1.37: +4 -4 lines
Updated to use loncommon::create_workbook.  Spreadsheets were slightly
modified to use formats.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Mar 3 17:52:36 2005 UTC (19 years, 2 months ago) by matthew
Branches: MAIN
Diff to previous 1.36: preferred, unified
Changes since revision 1.36: +13 -3 lines
Changed to use navmaps.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Feb 5 06:56:24 2005 UTC (19 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.35: preferred, unified
Changes since revision 1.35: +5 -4 lines
- sprs cascade changes for bug#1444

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Dec 8 00:15:18 2004 UTC (19 years, 5 months ago) by albertel
Branches: MAIN
CVS tags: version_1_3_X, version_1_3_3, version_1_3_2, version_1_3_1, version_1_3_0, version_1_2_99_1
Diff to previous 1.34: preferred, unified
Changes since revision 1.34: +2 -2 lines
- parameter identifiers can conatin things more interesting then \w

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Nov 2 20:48:02 2004 UTC (19 years, 6 months ago) by albertel
Branches: MAIN
CVS tags: version_1_2_99_0
Diff to previous 1.33: preferred, unified
Changes since revision 1.33: +3 -6 lines
consolidate some of the multitude of functions out there that try to format and display the student's 'fullname'

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Feb 24 20:47:14 2004 UTC (20 years, 2 months ago) by matthew
Branches: MAIN
CVS tags: version_1_2_X, version_1_2_1, version_1_2_0, version_1_1_X, version_1_1_99_5, version_1_1_99_4, version_1_1_99_3, version_1_1_99_2, version_1_1_99_1, version_1_1_99_0, version_1_1_3, version_1_1_2
Diff to previous 1.32: preferred, unified
Changes since revision 1.32: +5 -1 lines
These fixes should go on S10 as soon as possible.

Spreadsheet.pm: Fix to handle the case when a spreadsheet object is
created without a valid username/domain passed to new().

assesscalc.pm: Fix to ignore stored data which does not contain the username
and domain.

lonspreadsheet.pm: Fix to not do stupid things that got us in this mess
in the first place (only accept form parameters which have values and do not
send out form parameters without values).

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Feb 3 22:44:02 2004 UTC (20 years, 3 months ago) by matthew
Branches: MAIN
Diff to previous 1.31: preferred, unified
Changes since revision 1.31: +2 -2 lines
Fix: now specifies what a non number is instead of specifying what a number
is.  Needs to go on all production servers if Guy has a chance to look it
over.  Also for 1.1.x.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Feb 3 22:19:47 2004 UTC (20 years, 3 months ago) by matthew
Branches: MAIN
Diff to previous 1.30: preferred, unified
Changes since revision 1.30: +5 -2 lines
Fixes horrible bug.  Should go on production servers immediately and
definately in 1.1.x.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Dec 8 19:58:39 2003 UTC (20 years, 5 months ago) by matthew
Branches: MAIN
CVS tags: version_1_1_1, version_1_1_0, version_1_0_99_3, version_1_0_99_2, version_1_0_99_1
Diff to previous 1.29: preferred, unified
Changes since revision 1.29: +5 -4 lines
Fix parameters passed in to excel_rows and csv_rows.  Should go in 1.1

Revision 1.17.2.3: download - view: text, markup, annotated - select for diffs
Fri Dec 5 22:24:20 2003 UTC (20 years, 5 months ago) by matthew
Branches: version_1_0_2
Diff to previous 1.17.2.2: preferred, unified to branchpoint 1.17: preferred, unified next main 1.18: preferred, unified
Changes since revision 1.17.2.2: +24 -8 lines
Backport of changes to make spreadsheet report calculation errors and not
save bogus data.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Nov 17 19:55:41 2003 UTC (20 years, 5 months ago) by matthew
Branches: MAIN
CVS tags: version_1_0_99
Diff to previous 1.28: preferred, unified
Changes since revision 1.28: +32 -12 lines
Fix bug in error reporting where errors in computation of the spreadsheet
were not reported and bad cache values were stored away.
Added in Spreadsheet: &set_badcalc, &badcalc, &set_calcerror, &calcerror,
and &html_report_error.  These are used to keep track of computation errors
and to report them to the user.  The &save_export_data routines were all
modified to not store data when an error has occured.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Nov 11 15:36:28 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.27: preferred, unified
Changes since revision 1.27: +60 -1 lines
Fix bug 55: Hide part information from spreadsheet for hidden parts.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Nov 10 15:09:13 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.26: preferred, unified
Changes since revision 1.26: +1 -2 lines
Remove redundant aborted connect check.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Oct 14 18:36:54 2003 UTC (20 years, 6 months ago) by www
Branches: MAIN
Diff to previous 1.25: preferred, unified
Changes since revision 1.25: +12 -7 lines
Internationalize/localize

Revision 1.17.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 3 15:39:46 2003 UTC (20 years, 7 months ago) by albertel
Branches: version_1_0_2
CVS tags: version_1_0_3
Diff to previous 1.17.2.1: preferred, unified to branchpoint 1.17: preferred, unified
Changes since revision 1.17.2.1: +4 -1 lines
- backport 1.25

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Oct 2 17:07:41 2003 UTC (20 years, 7 months ago) by matthew
Branches: MAIN
Diff to previous 1.24: preferred, unified
Changes since revision 1.24: +4 -1 lines
Added loncoursedata::clear_internal_caches() and calls to it in
&lonstatistics::Gather_Student_Data (used by statistics),
lonstudentassessment.pm (chart), assesscalc.pm (spreadsheet).  Should
go into 1.0.2 if possible.

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Tue Sep 23 01:52:57 2003 UTC (20 years, 7 months ago) by albertel
Branches: version_1_0_2
Diff to previous 1.17: preferred, unified
Changes since revision 1.17: +5 -2 lines
- backport changes to make problemstatus work better

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Sep 22 21:03:25 2003 UTC (20 years, 7 months ago) by matthew
Branches: MAIN
Diff to previous 1.23: preferred, unified
Changes since revision 1.23: +2 -2 lines
Fix error in blackout dates so we no longer show the forbidden data when
there is no answerdate set.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Sep 17 17:32:56 2003 UTC (20 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.22: preferred, unified
Changes since revision 1.22: +2 -2 lines
- decode_symb

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Sep 12 19:00:54 2003 UTC (20 years, 8 months ago) by matthew
Branches: MAIN
Diff to previous 1.21: preferred, unified
Changes since revision 1.21: +51 -18 lines
Cache student performance data (only make 1 call to get_current_state)
Cache export rows and write them only when asked to or when the computations
are done.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Sep 10 18:33:35 2003 UTC (20 years, 8 months ago) by matthew
Branches: MAIN
Diff to previous 1.20: preferred, unified
Changes since revision 1.20: +76 -31 lines
1. Be more vigilent about clearing user parameter caches (%useropt)
2. Added 'loadtime' value to %useropt which prevents it from being requested
   again and again just because the student did not have any data...
   (how many times will I create and fix the same bug?)
3. Break compute method down to facilitate testing.
4. More fatal warning enduced robustness in a few if statements.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Sep 9 18:46:28 2003 UTC (20 years, 8 months ago) by www
Branches: MAIN
Diff to previous 1.19: preferred, unified
Changes since revision 1.19: +3 -3 lines
Hiding symb-splitting behind &decode_symb

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Sep 5 01:57:54 2003 UTC (20 years, 8 months ago) by matthew
Branches: MAIN
Diff to previous 1.18: preferred, unified
Changes since revision 1.18: +21 -2 lines
Clear package variables on both normal completion and on interruption.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Sep 5 01:06:45 2003 UTC (20 years, 8 months ago) by matthew
Branches: MAIN
Diff to previous 1.17: preferred, unified
Changes since revision 1.17: +7 -4 lines
Minor modifications brought about due to making warnings fatal.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Jul 29 05:22:56 2003 UTC (20 years, 9 months ago) by albertel
Branches: MAIN
CVS tags: version_1_0_1, version_1_0_0, version_0_99_5, version_0_99_4
Branch point for: version_1_0_2
Diff to previous 1.16: preferred, unified
Changes since revision 1.16: +6 -3 lines
- Fixes for BUG#1991, (maybe packages.tab will finally be handled correctly? One can only hope)
- Made thes changes I said I was going to in the bugreport (copied below for conviene and commit padding)
1) stop metadata from parsing packages.tab values and sticking them in the
metadata of the problem
2) add new function get pacakages_tab_default() to lonnet, takeas a full parm
signifier (resource.partid_responseid.name) (just like EXT takes) figures out
what kind of response/part the things is and returns the proper default value
from packages.tab
3) add to EXT to check this new function for the packages.tab default for
anythings it can't find a value for
4) check that all other parmval funtions also do this

4) turned out to be assesscalc.pm and lonnavmaps.pm, and executive decision was made to leave lonparmset.pm out of the fix, as there is nothing the user can do about these values, adn they see the defaults appear in the 'Current session value' column.

(as it is it would be difficult to add these values to the parmset screen, one would need a colun at the very end that said "if ther are no other values set anywhere else, we'll use this one.)

Anyhoo.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Jul 16 16:35:45 2003 UTC (20 years, 9 months ago) by matthew
Branches: MAIN
Diff to previous 1.15: preferred, unified
Changes since revision 1.15: +6 -6 lines
Fix bug which caused discussion/evaluation/feedback/tutoring to not
be picked up for titles.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Jun 23 20:47:00 2003 UTC (20 years, 10 months ago) by matthew
Branches: MAIN
CVS tags: version_0_99_3
Diff to previous 1.14: preferred, unified
Changes since revision 1.14: +2 -2 lines
Paler yellow.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Jun 23 19:58:18 2003 UTC (20 years, 10 months ago) by matthew
Branches: MAIN
Diff to previous 1.13: preferred, unified
Changes since revision 1.13: +12 -9 lines
Bug 1729 - color hints on export/import rows.  The color of the export
row of the assessment sheet is the same as the import row of the
student sheet.  The export row of the student sheet is the same color
as the import rows of the course level sheet.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Jun 12 21:17:11 2003 UTC (20 years, 11 months ago) by matthew
Branches: MAIN
CVS tags: version_0_99_2
Diff to previous 1.12: preferred, unified
Changes since revision 1.12: +6 -4 lines
Handle course data caching properly.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu May 29 18:31:27 2003 UTC (20 years, 11 months ago) by matthew
Branches: MAIN
CVS tags: version_0_99_1, conference_2003
Diff to previous 1.11: preferred, unified
Changes since revision 1.11: +2 -1 lines
Fixes bugs 1513 and 1516. Every time a new row is added to a spreadsheet
the spreadsheet will be saved.
&set_row_numbers now actually keeps track of the maximum row found, which
can be useful if you need to add a new row...
Also fixed bug in caching of spreadsheets - was storing the 'join'd version
of the formulas when I expected a hash reference.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu May 29 13:39:38 2003 UTC (20 years, 11 months ago) by matthew
Branches: MAIN
Diff to previous 1.10: preferred, unified
Changes since revision 1.10: +19 -2 lines
Added $spreadsheet->initialize() subroutine to take care of specific
initialization needed for each sheet.  assesscalc now has a list of
mandatory parameters (Bug 1514) but is running in to problems with
bug 1513.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue May 27 20:20:25 2003 UTC (20 years, 11 months ago) by matthew
Branches: MAIN
Diff to previous 1.9: preferred, unified
Changes since revision 1.9: +13 -5 lines
Fix display/editability of cells in assessment sheet.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri May 23 21:03:29 2003 UTC (20 years, 11 months ago) by matthew
Branches: MAIN
CVS tags: version_0_99_0
Diff to previous 1.8: preferred, unified
Changes since revision 1.8: +21 -4 lines
CSV output implemented.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri May 23 19:36:04 2003 UTC (20 years, 11 months ago) by matthew
Branches: MAIN
Diff to previous 1.7: preferred, unified
Changes since revision 1.7: +49 -33 lines
Added output selector and implemented excel output.

Moved $spreadsheet->display() to Spreadsheet.pm instead of having it reside
    three times in the descendents of the spreadsheet object.
Moved $spreadsheet->outsheet_excel() to Spreadsheet.pm for the same reason.
Created Spreadsheet::output_selector, which allows the user to select the
    output mode they desire.
Created $spreadsheet->excel_output_row which takes care of writing a row
    to an excel worksheet.
classcalc.pm, studentcalc.pm, and assesscalc.pm each had the same work done
on them:
  Created &excel_rows(), which writes the body of the spreadsheets to
     an excel file.
  Rewrote &get_title to return an array of title lines.
  Created &get_html_title to return an HTML version of the results of
     &get_title.

classcalc.pm and Spreadsheet.pm each have the following change:
    Created &html_header to return appropriate HTML for the spreadsheet.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri May 23 14:52:51 2003 UTC (20 years, 11 months ago) by matthew
Branches: MAIN
Diff to previous 1.6: preferred, unified
Changes since revision 1.6: +2 -1 lines
No longer save the results of computation of temporary spreadsheets.
Added Spreadsheet->temporary() to handle the getting and setting of the flag
which indicates a spreadsheet is temporary.  studentcalc.pm and assesscalc.pm
check this flag before saving their export rows.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri May 23 14:08:40 2003 UTC (20 years, 11 months ago) by matthew
Branches: MAIN
Diff to previous 1.5: preferred, unified
Changes since revision 1.5: +5 -7 lines
Perl does not automagically convert the string '"1"' to 1, so we must only
quote those parameters which are non-numeric.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu May 22 21:16:35 2003 UTC (20 years, 11 months ago) by matthew
Branches: MAIN
Diff to previous 1.4: preferred, unified
Changes since revision 1.4: +16 -1 lines
Added 'blackout' support.  A blackout occurs when an assessment has a part
flagged with 'problemstatus' equal to 'no'.  This prevents the display of
the students performance on the part until the answerdate has passed.

Spreadsheet.pm contains &blackout, which returns the blackout status of
the current spreadsheet.

assesscalc.pm contains code which
    a) causes the computation of the spreadsheet to determine the
       blackout status
    b) forces the recomputation of the spreadsheet if the user is a student.
  Obviously (b) is less than ideal and a new approach should be found.

studentcalc.pm's outsheet_html subroutine now supresses the display of the
export (aka 'summary') row, as well as the rows of any assessments which
are under blackout.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu May 22 20:23:56 2003 UTC (20 years, 11 months ago) by matthew
Branches: MAIN
Diff to previous 1.3: preferred, unified
Changes since revision 1.3: +5 -2 lines
If the value is '', we should store away '' and not "''".

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu May 22 20:06:09 2003 UTC (20 years, 11 months ago) by matthew
Branches: MAIN
Diff to previous 1.2: preferred, unified
Changes since revision 1.2: +19 -16 lines
All parameters are treated as strings, which fixes a most insidious bug.
Course level parameter data is no longer cached with the students name
prepended.  &parmval reflects this change as well.
Removed excess &logthis call.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon May 19 15:48:18 2003 UTC (20 years, 11 months ago) by matthew
Branches: MAIN
Diff to previous 1.1: preferred, unified
Changes since revision 1.1: +13 -2 lines
Modified $spreadsheet->title() subroutines to look prettier, link to the
students 'aboutme' page, and call &Apache::loncoursedata::GetUserName.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri May 16 20:55:11 2003 UTC (20 years, 11 months ago) by matthew
Branches: MAIN
Nearly complete reworking of spreadsheet.

lonspreadsheet.pm holds a few utility functions and the handler, which
creates a spreadsheet and tells it to display itself.

Spreadsheet.pm is the base definition of the spreadsheet object.
classcalc.pm, studentcalc.pm, and assesscalc.pm are implementations of the
spreadsheets.

There are missing pieces - excel and csv output, limiting by section
permissions, the ability to add extra 'header' rows to the student and
course level sheets, and students are still allowed to view the assessment
level sheets (will disable this soon).

Computing and editing of the spreadsheet have been tested and have been
given a preliminary seal of approval.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>