CVS log for loncom/interface/loncoursedata.pm

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.209: download - view: text, markup, annotated - select for diffs
Sat Nov 4 00:06:00 2023 UTC (5 months, 2 weeks ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X, HEAD
Diff to previous 1.208: preferred, colored
Changes since revision 1.208: +2 -1 lines
- Bug 5273. Authors can show which unexpired co-author roles are managers via:
  People > "Manage Co-authors"

Revision 1.201.2.6.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 7 23:53:12 2023 UTC (7 months, 1 week ago) by raeburn
Branches: version_2_11_4_msu
Diff to previous 1.201.2.6: preferred, colored next main 1.202: preferred, colored
Changes since revision 1.201.2.6: +2 -2 lines
- For 2.11.4 (modified)
  Include changes in 1.202

Revision 1.201.2.6: download - view: text, markup, annotated - select for diffs
Thu Sep 16 16:20:36 2021 UTC (2 years, 7 months ago) by raeburn
Branches: version_2_11_X
CVS tags: version_2_11_4_uiuc, version_2_11_4
Branch point for: version_2_11_4_msu
Diff to previous 1.201.2.5: preferred, colored to branchpoint 1.201: preferred, colored next main 1.202: preferred, colored
Changes since revision 1.201.2.5: +2 -2 lines
- For 2.11
  Backport 1.208

Revision 1.208: download - view: text, markup, annotated - select for diffs
Thu Sep 16 16:02:41 2021 UTC (2 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.207: preferred, colored
Changes since revision 1.207: +2 -2 lines
- Support for Ubuntu 20 LTS.
  Explicitly include ORDER BY, as an implicit sort based on GROUP BY was
  eliminated in MySQL 8.

Revision 1.201.2.5: download - view: text, markup, annotated - select for diffs
Fri Mar 5 17:18:40 2021 UTC (3 years, 1 month ago) by raeburn
Branches: version_2_11_X
CVS tags: version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3
Diff to previous 1.201.2.4: preferred, colored to branchpoint 1.201: preferred, colored
Changes since revision 1.201.2.4: +62 -15 lines
- For 2.11
  Backport 1.207

Revision 1.207: download - view: text, markup, annotated - select for diffs
Fri Mar 5 17:17:57 2021 UTC (3 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.206: preferred, colored
Changes since revision 1.206: +62 -15 lines
- Bug 6949
  - Store placeholder in place of actual submission in md5_*_responsedata table
    if length of submission > max_allowed_packet size for MySQL server.
  - Length of insert statement should not exceed max_allowed_packet size
    when making SQL inserts into md5_*_responsedata table.

Revision 1.201.2.4: download - view: text, markup, annotated - select for diffs
Thu Mar 4 23:55:05 2021 UTC (3 years, 1 month ago) by raeburn
Branches: version_2_11_X
Diff to previous 1.201.2.3: preferred, colored to branchpoint 1.201: preferred, colored
Changes since revision 1.201.2.3: +20 -10 lines
- For 2.11
  Backport 1.206

Revision 1.206: download - view: text, markup, annotated - select for diffs
Thu Mar 4 23:54:36 2021 UTC (3 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.205: preferred, colored
Changes since revision 1.205: +20 -10 lines
- Bug 6949
  Store placeholder in place of actual submission in md5_*_parameter table if
  data length of submission > max_allowed_packet size for MySQL server.

Revision 1.201.2.3: download - view: text, markup, annotated - select for diffs
Tue Mar 2 20:00:50 2021 UTC (3 years, 1 month ago) by raeburn
Branches: version_2_11_X
Diff to previous 1.201.2.2: preferred, colored to branchpoint 1.201: preferred, colored
Changes since revision 1.201.2.2: +102 -24 lines
- For 2.11
  Backport 1.205

Revision 1.205: download - view: text, markup, annotated - select for diffs
Tue Mar 2 19:51:02 2021 UTC (3 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.204: preferred, colored
Changes since revision 1.204: +102 -24 lines
- Bug 6949
  Length of insert statement should not exceed max_allowed_packet size
  when making SQL inserts into md5_*_performance or md5_*_parameters tables

Revision 1.201.2.2: download - view: text, markup, annotated - select for diffs
Wed Mar 14 17:07:29 2018 UTC (6 years, 1 month ago) by raeburn
Branches: version_2_11_X
CVS tags: version_2_11_2_msu
Diff to previous 1.201.2.1: preferred, colored to branchpoint 1.201: preferred, colored
Changes since revision 1.201.2.1: +1 -10 lines
- For 2.11
  Backport 1.204.

Revision 1.204: download - view: text, markup, annotated - select for diffs
Tue Mar 13 16:48:18 2018 UTC (6 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.203: preferred, colored
Changes since revision 1.203: +1 -10 lines
- Bug 6601

Revision 1.201.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 11 12:49:53 2018 UTC (6 years, 1 month ago) by raeburn
Branches: version_2_11_X
Diff to previous 1.201: preferred, colored
Changes since revision 1.201: +2 -2 lines
- For 2.11
  - Backport 1.203

Revision 1.203: download - view: text, markup, annotated - select for diffs
Sun Mar 11 12:44:22 2018 UTC (6 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.202: preferred, colored
Changes since revision 1.202: +2 -2 lines
- For &rank_students_by_scores_on_resources() include a secondary sort
  (arbitrarily chosen to be by username) so rank for users with the same score
  is invariant between calls.

Revision 1.202: download - view: text, markup, annotated - select for diffs
Mon Dec 18 23:51:14 2017 UTC (6 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.201: preferred, colored
Changes since revision 1.201: +2 -2 lines
- Bug 6754 LON-CAPA as LTI Consumer
  - Grading screens can be used to display passback transactions, and
    for override of scores etc., for external tools set to be "gradable".

Revision 1.201: download - view: text, markup, annotated - select for diffs
Tue Aug 16 00:46:58 2016 UTC (7 years, 8 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_2_uiuc, version_2_11_2_educog, version_2_11_2
Branch point for: version_2_11_X
Diff to previous 1.200: preferred, colored
Changes since revision 1.200: +54 -6 lines
- Preserve student_id (originally from auto increment) when ensuring course's
  "temporary" MySQL tables for student information are current.

Revision 1.200: download - view: text, markup, annotated - select for diffs
Sun Aug 14 16:13:21 2016 UTC (7 years, 8 months ago) by raeburn
Branches: MAIN
Diff to previous 1.199: preferred, colored
Changes since revision 1.199: +39 -1 lines
- Ensure course's "temporary" MySQL tables for student information are
  current when Chart or Statistics web GUI is used.

Revision 1.199: download - view: text, markup, annotated - select for diffs
Sun Jul 24 14:34:59 2016 UTC (7 years, 8 months ago) by raeburn
Branches: MAIN
Diff to previous 1.198: preferred, colored
Changes since revision 1.198: +14 -13 lines
- Bug 5464
  Can set failsafe value in domain (or override in Auto-enollment course
  configuration to avoid unwanted dropping of students when no data are
  retrieved for a particular inststitutional section.

Revision 1.198: download - view: text, markup, annotated - select for diffs
Tue Apr 26 13:51:38 2016 UTC (7 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.197: preferred, colored
Changes since revision 1.197: +11 -5 lines
- Only need to ensure course's "temporary" MySQL tables for groupnames and
  studentgroups are current if tables exist.
- Remove two debug lines.

Revision 1.197: download - view: text, markup, annotated - select for diffs
Mon Apr 25 23:00:58 2016 UTC (7 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.196: preferred, colored
Changes since revision 1.196: +100 -2 lines
- Ensure course's "temporary" MySQL tables for groupnames and studentgroups
  are current when Chart or Statistics web GUI are used in course with groups.

Revision 1.193.6.1: download - view: text, markup, annotated - select for diffs
Tue Mar 10 05:13:11 2015 UTC (9 years, 1 month ago) by raeburn
Branches: version_2_10_X
Diff to previous 1.193: preferred, colored next main 1.194: preferred, colored
Changes since revision 1.193: +3 -1 lines
- For 2.10
  - Backport 1.196

Revision 1.196: download - view: text, markup, annotated - select for diffs
Tue Mar 10 02:45:56 2015 UTC (9 years, 1 month ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_1
Diff to previous 1.195: preferred, colored
Changes since revision 1.195: +3 -1 lines
Bug 5674

Revision 1.195: download - view: text, markup, annotated - select for diffs
Mon Dec 9 21:33:32 2013 UTC (10 years, 4 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0
Diff to previous 1.194: preferred, colored
Changes since revision 1.194: +3 -1 lines
- Columns for disk usage (%) and disk quota (MB) available for selection
  when listing users with Author roles (domain context).
- User listing can be sorted by disk usage or disk quota (sorts numerically),
  whereas lexical sort used for other sortable fields.

Revision 1.194: download - view: text, markup, annotated - select for diffs
Fri Mar 1 04:58:08 2013 UTC (11 years, 1 month ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_0_RC1
Diff to previous 1.193: preferred, colored
Changes since revision 1.193: +16 -12 lines
- Records in classlist.db file can contain an additional item (credits), if
  credits are in use in the domain, and the credits earned by the particular
  student are different from the course default.

Revision 1.193: download - view: text, markup, annotated - select for diffs
Mon Oct 3 13:27:17 2011 UTC (12 years, 6 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_10_1, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, BZ4492-merge, BZ4492-feature_horizontal_radioresponse
Branch point for: version_2_10_X
Diff to previous 1.192: preferred, colored
Changes since revision 1.192: +2 -2 lines
- Fix POD.

Revision 1.192: download - view: text, markup, annotated - select for diffs
Mon Oct 3 13:11:39 2011 UTC (12 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.191: preferred, colored
Changes since revision 1.191: +2 -2 lines
- Fix typo in POD.

Revision 1.191: download - view: text, markup, annotated - select for diffs
Tue Jun 28 09:38:05 2011 UTC (12 years, 9 months ago) by foxr
Branches: MAIN
Diff to previous 1.190: preferred, colored
Changes since revision 1.190: +21 -1 lines
Some desultory adding of POD comments.

Revision 1.190: download - view: text, markup, annotated - select for diffs
Thu Nov 20 21:22:21 2008 UTC (15 years, 5 months ago) by jms
Branches: MAIN
CVS tags: version_2_9_X, version_2_9_99_0, version_2_9_1, version_2_9_0, version_2_8_99_1, version_2_8_99_0, version_2_10_0_RC2, version_2_10_0_RC1, version_2_10_0, bz6209-base, bz6209, bz5969, bz2851, PRINT_INCOMPLETE_base, PRINT_INCOMPLETE, GCI_3, GCI_2, BZ5971-printing-apage, BZ5434-fox
Diff to previous 1.189: preferred, colored
Changes since revision 1.189: +725 -904 lines
Reworked a lot of the POD comments

Revision 1.189: download - view: text, markup, annotated - select for diffs
Mon Nov 17 14:16:55 2008 UTC (15 years, 5 months ago) by jms
Branches: MAIN
Diff to previous 1.188: preferred, colored
Changes since revision 1.188: +2 -9 lines
Comment tweaks

Revision 1.188: download - view: text, markup, annotated - select for diffs
Thu Sep 11 14:47:21 2008 UTC (15 years, 7 months ago) by bisitz
Branches: MAIN
CVS tags: version_2_8_X, 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, GCI_1
Diff to previous 1.187: preferred, colored
Changes since revision 1.187: +8 -8 lines
Past tense of "occur" is "occurred" (rr!)
Also added some missing &mt() calls and corrected some other little typos

Revision 1.187: download - view: text, markup, annotated - select for diffs
Thu Apr 17 14:51:43 2008 UTC (16 years ago) by raeburn
Branches: MAIN
CVS tags: version_2_7_0, version_2_6_99_1, version_2_6_99_0
Diff to previous 1.186: preferred, colored
Changes since revision 1.186: +5 -5 lines
Modify calls to &lonnet::GetFileTimestamp() to us the updated routine, which makes no assumptions session-server side about the directory structure for userfiles on the homeserver.

Revision 1.186: download - view: text, markup, annotated - select for diffs
Mon Jan 7 03:00:00 2008 UTC (16 years, 3 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_6_X, version_2_6_3, version_2_6_2, version_2_6_1, version_2_6_0
Diff to previous 1.185: preferred, colored
Changes since revision 1.185: +2 -1 lines
- &section_group_filter(): move initialization of @options inside loop, in case additional filters are added.
- call to lonnet::retrievestudentphoto() for full size image occurs immediately before call for thumbnail, during initial parse of %userlist.
- Add additional index to array, for each userlist item, (for thumbnail of student photo).

Revision 1.185: download - view: text, markup, annotated - select for diffs
Sat Jan 5 18:36:26 2008 UTC (16 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.184: preferred, colored
Changes since revision 1.184: +2 -1 lines
bugs 5661, 5662.
- request for urls to access photos (both thumbnails and full size images) served from library server (via token mechanism), moved to occur during first pass of %userlist.
- eliminates timing problems caused when tokens were being requested as table display was being generated.

Revision 1.184: download - view: text, markup, annotated - select for diffs
Tue Nov 6 04:39:19 2007 UTC (16 years, 5 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_5_99_1, version_2_5_99_0
Diff to previous 1.183: preferred, colored
Changes since revision 1.183: +4 -1 lines
Bug 5422
More comprehensive listing of LON-CAPA users.  Available to Domain Coordinators, Authors and Course Coordinators. Lists displayable in HTML, CSV or Excel formats.
- filter by status and role.
- DCs can specify a subset of courses for display of course roles.

lonuserutils.pm
- Elimination of &domain_form() -- generates linked selectboxes for domain and server selection -- no longer required (as new users can now only be created in the domain of the user's current role).
- Added &domain_roles_select() - used for linked role type and role selection boxes for DC, when displaying user roles.
- Display of active advanced roles when viewing course classlist eliminated
  - replaced with selectable advanced roles in role filter for user lists.

loncommon.pm
- &linked_select_forms() can take an additional argument ($menuorder) which specifies order of items in the first select box.
  - %menuhash can include hash key,value pair: order = reference to array
    (order of contents of the second select box) as optional item.
- get_course_users() has new optional arg (statushash) to return information about status (Expired, Active or Future) for each section for user's roles.
  - studentID information now included in optional hash of user information for course users.

lonhtmlcommon.pm
- &course_selection() routine split from &course_select_row() to allow reuse when selecting course filter for DC's listing of user roles.

loncoursedata.pm
- Three subroutines added to return indices for permanentemail, role and extent, so user listings in lonuserutils:;show_user_lists() can sort by these using the existing sorting code.

loncreateuser.pm
- display of user lists included in menu on first page.
- some wording changes (as per bug 5506)
- switches on $env{'form.state'} for call to &print_userlist() eliminated (not needed).
- course selector included when in DC context

lonpickcourse.pm
- domain selector defaults to domain of user's role when course selector used for studentform.

Work in progress - role expiration and section switching still to be added to interface.

Revision 1.183: download - view: text, markup, annotated - select for diffs
Wed Oct 3 18:22:50 2007 UTC (16 years, 6 months ago) by banghart
Branches: MAIN
Diff to previous 1.182: preferred, colored
Changes since revision 1.182: +3 -2 lines
	Set group index to constant.

Revision 1.182: download - view: text, markup, annotated - select for diffs
Wed May 2 01:33:48 2007 UTC (16 years, 11 months ago) by albertel
Branches: MAIN
CVS tags: version_2_5_X, 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
Diff to previous 1.181: preferred, colored
Changes since revision 1.181: +5 -5 lines
- switch Store to Save

Revision 1.181: download - view: text, markup, annotated - select for diffs
Tue Apr 3 20:04:54 2007 UTC (17 years ago) by albertel
Branches: MAIN
Diff to previous 1.180: preferred, colored
Changes since revision 1.180: +23 -19 lines
- with - and . allowed in courseids (and much longer domain/lonids allowed)
  need to do something to keep under the 64 character limit on table names,
  reverting to md5ing them

Revision 1.180: download - view: text, markup, annotated - select for diffs
Tue Jan 16 22:50:12 2007 UTC (17 years, 3 months ago) by albertel
Branches: MAIN
CVS tags: version_2_3_X, version_2_3_2, version_2_3_1
Diff to previous 1.179: preferred, colored
Changes since revision 1.179: +3 -3 lines
- bug#5150 was looking in wrong columns for updatetimes

Revision 1.179: download - view: text, markup, annotated - select for diffs
Thu Jan 11 21:09:39 2007 UTC (17 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.178: preferred, colored
Changes since revision 1.178: +3 -1 lines
- dumping of lonnet::stored info has only the symb and the
  parameter escaped so need to push the unescaping off into
  the users of the dumped info (as a result resources with :
  in the symb work in STAT again)

Revision 1.178: download - view: text, markup, annotated - select for diffs
Thu Dec 28 21:01:39 2006 UTC (17 years, 3 months ago) by albertel
Branches: MAIN
CVS tags: version_2_3_0
Diff to previous 1.177: preferred, colored
Changes since revision 1.177: +37 -17 lines
- bug 5003 - STAT caches not noticing change in student status

Revision 1.177: download - view: text, markup, annotated - select for diffs
Thu Dec 21 02:51:53 2006 UTC (17 years, 4 months ago) by albertel
Branches: MAIN
CVS tags: version_2_2_99_1
Diff to previous 1.176: preferred, colored
Changes since revision 1.176: +11 -8 lines
- propagate back ourt any errors taht occur while trying to fetch
  data (and don't cache the failed get)

Revision 1.176: download - view: text, markup, annotated - select for diffs
Fri Oct 6 19:02:20 2006 UTC (17 years, 6 months ago) by albertel
Branches: MAIN
CVS tags: version_2_2_X, version_2_2_99_0, version_2_2_2
Diff to previous 1.175: preferred, colored
Changes since revision 1.175: +3 -3 lines
- switch from using static numbers to using the constants so as to not break
   when the table changes (BUG#5050)

Revision 1.175: download - view: text, markup, annotated - select for diffs
Thu Aug 10 21:07:01 2006 UTC (17 years, 8 months ago) by albertel
Branches: MAIN
CVS tags: version_2_2_1, version_2_2_0, version_2_1_99_3
Diff to previous 1.174: preferred, colored
Changes since revision 1.174: +1 -7 lines
- eliminating unneed group_id fetches (BUG#4958)

Revision 1.174: download - view: text, markup, annotated - select for diffs
Tue Aug 8 19:02:04 2006 UTC (17 years, 8 months ago) by albertel
Branches: MAIN
Diff to previous 1.173: preferred, colored
Changes since revision 1.173: +4 -1 lines
- BUG#4954 - adding future to the coursedata view of students status

Revision 1.173: download - view: text, markup, annotated - select for diffs
Tue May 30 12:46:09 2006 UTC (17 years, 10 months ago) by www
Branches: MAIN
CVS tags: version_2_1_99_2, version_2_1_99_1, version_2_1_99_0
Diff to previous 1.172: preferred, colored
Changes since revision 1.172: +5 -4 lines
&Apache::lonnet::unescape -> &unescape
&Apache::lonnet::escape -> &escape

Revision 1.172: download - view: text, markup, annotated - select for diffs
Thu May 18 18:37:23 2006 UTC (17 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.171: preferred, colored
Changes since revision 1.171: +4 -1 lines
- was bombing when no stdnet enrolled in the course

Revision 1.171: download - view: text, markup, annotated - select for diffs
Thu May 18 01:08:51 2006 UTC (17 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.170: preferred, colored
Changes since revision 1.170: +4 -3 lines
&coursegroups() and &get_group_settings() moved to longroup.pm, which contains general utility functions for asking about groups.  Also contains &group_changes() which is used to add/drop group memberships as a result of role changes, as determined by group settings for auto-add and auto-drop. 'none' and 'all' are now reserved words which may not be used as section or group names, so they can be used instead of _all and _none  when specifying auto-add and auto-drop settings for all sections or no section roles.

Revision 1.170: download - view: text, markup, annotated - select for diffs
Thu May 11 20:05:03 2006 UTC (17 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.169: preferred, colored
Changes since revision 1.169: +8 -3 lines
Include keylist as argument passed to loncoursedata::get_group_memberships().  Used to add comma-separated list of active groups to a students classlist data in $classlist->{$student}->[index], where index is set so as to add to the end of the existing array.

Revision 1.169: download - view: text, markup, annotated - select for diffs
Tue May 9 14:38:09 2006 UTC (17 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.168: preferred, colored
Changes since revision 1.168: +7 -9 lines
- changing loncommon::coursegroups to be easier to use

Revision 1.168: download - view: text, markup, annotated - select for diffs
Fri May 5 21:35:31 2006 UTC (17 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.167: preferred, colored
Changes since revision 1.167: +3 -3 lines
A couple of ANDs missing from the SQL WHERE conditions for group limits.

Revision 1.167: download - view: text, markup, annotated - select for diffs
Fri May 5 20:03:54 2006 UTC (17 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.166: preferred, colored
Changes since revision 1.166: +330 -63 lines
Adding groups filter to STATS functionality. New tables added (dom_course_groupnames and dom_course_studentgroups).

Revision 1.166: download - view: text, markup, annotated - select for diffs
Mon May 1 05:27:28 2006 UTC (17 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.165: preferred, colored
Changes since revision 1.165: +83 -2 lines
Functions to retrieve information about group affiliation of students. Groups for students are classified as previous, future, active or aftercourse.  The aftercourse category includes groups in which a student's membership has expired, but in which the expiration time was less than 24 hours before the default access end date for the course, for students for whom access to the course has expired.

Revision 1.165: download - view: text, markup, annotated - select for diffs
Sat Apr 29 18:00:17 2006 UTC (17 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.164: preferred, colored
Changes since revision 1.164: +55 -2 lines
- adding task support to the cached data tables for response level data

Revision 1.164: download - view: text, markup, annotated - select for diffs
Fri Apr 28 21:58:37 2006 UTC (17 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.163: preferred, colored
Changes since revision 1.163: +14 -2 lines
- .task 'version' is really tries for them
- 'correct_by_override' is the normal stat of affairs for a .task

Revision 1.163: download - view: text, markup, annotated - select for diffs
Fri Apr 28 21:55:26 2006 UTC (17 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.162: preferred, colored
Changes since revision 1.162: +1 -0 lines
- II'm just goign dumb today

Revision 1.162: download - view: text, markup, annotated - select for diffs
Fri Apr 28 21:51:35 2006 UTC (17 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.161: preferred, colored
Changes since revision 1.161: +2 -2 lines
- typo

Revision 1.161: download - view: text, markup, annotated - select for diffs
Fri Apr 28 21:22:10 2006 UTC (17 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.160: preferred, colored
Changes since revision 1.160: +12 -5 lines
- need to make sure awrded ends up in the awarded column and solved ends up in the solved column

Revision 1.160: download - view: text, markup, annotated - select for diffs
Fri Apr 28 21:18:15 2006 UTC (17 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.159: preferred, colored
Changes since revision 1.159: +3 -2 lines
- add the part award to the response_data_by_student

Revision 1.159: download - view: text, markup, annotated - select for diffs
Fri Apr 28 21:14:03 2006 UTC (17 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.158: preferred, colored
Changes since revision 1.158: +31 -19 lines
- adding a response_specific_2 column to the response data table for supporting tasks
- adding the response specific data to the result of the &get_response_data_by_student()

Revision 1.158: download - view: text, markup, annotated - select for diffs
Sat Apr 8 06:51:47 2006 UTC (18 years ago) by albertel
Branches: MAIN
Diff to previous 1.157: preferred, colored
Changes since revision 1.157: +1 -2 lines
- doesn't need this

Revision 1.157: download - view: text, markup, annotated - select for diffs
Sat Mar 4 06:12:40 2006 UTC (18 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.156: preferred, colored
Changes since revision 1.156: +2 -2 lines
- switching two uses of dump to dump store

Revision 1.156: download - view: text, markup, annotated - select for diffs
Sat Mar 4 06:11:08 2006 UTC (18 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.155: preferred, colored
Changes since revision 1.155: +1 -25 lines
- removing some old unused code

Revision 1.155: download - view: text, markup, annotated - select for diffs
Sun Feb 5 19:14:58 2006 UTC (18 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.154: preferred, colored
Changes since revision 1.154: +2 -3 lines
- style police

Revision 1.154: download - view: text, markup, annotated - select for diffs
Sun Feb 5 19:10:19 2006 UTC (18 years, 2 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.153: preferred, colored
Changes since revision 1.153: +27 -10 lines
Fix bug 4537; degree of discrimation should be much more useful and
accurate now.

Revision 1.153: download - view: text, markup, annotated - select for diffs
Sun Feb 5 18:49:47 2006 UTC (18 years, 2 months ago) by albertel
Branches: MAIN
Diff to previous 1.152: preferred, colored
Changes since revision 1.152: +4 -3 lines
- style police

Revision 1.152: download - view: text, markup, annotated - select for diffs
Sat Feb 4 20:03:30 2006 UTC (18 years, 2 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.151: preferred, colored
Changes since revision 1.151: +4 -2 lines
* If the SQL fails to become a $sth, try to provide a better error
message.

* Correct an SQL query that needed an "AS a" in it. This should never
have worked; this may have failed on my system because I recently
upgraded to MySQL 5.

Revision 1.151: download - view: text, markup, annotated - select for diffs
Fri Nov 11 23:23:24 2005 UTC (18 years, 5 months ago) by albertel
Branches: MAIN
CVS tags: version_2_1_X, version_2_1_3, version_2_1_2, version_2_1_1, version_2_1_0, version_2_0_99_1
Diff to previous 1.150: preferred, colored
Changes since revision 1.150: +4 -4 lines
- BUG#4448

Revision 1.150: download - view: text, markup, annotated - select for diffs
Tue Oct 4 18:27:32 2005 UTC (18 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.149: preferred, colored
Changes since revision 1.149: +14 -9 lines
- remove course_id as an argument to loncoursedata::get_classlist

Revision 1.149: download - view: text, markup, annotated - select for diffs
Thu Jul 14 02:28:25 2005 UTC (18 years, 9 months ago) by albertel
Branches: MAIN
CVS tags: version_2_0_X, version_2_0_2, version_2_0_1, version_2_0_0, version_1_99_3, version_1_99_2
Diff to previous 1.148: preferred, colored
Changes since revision 1.148: +3 -2 lines
- stop tring to store data if there isn't any to store

Revision 1.141.2.3: download - view: text, markup, annotated - select for diffs
Thu Apr 21 17:35:58 2005 UTC (19 years ago) by albertel
Branches: version_1_3_X
Diff to previous 1.141.2.2: preferred, colored to branchpoint 1.141: preferred, colored next main 1.142: preferred, colored
Changes since revision 1.141.2.2: +3 -3 lines
- switching the logic so that it persists as long as ->next returns something

Revision 1.141.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 19 21:41:17 2005 UTC (19 years ago) by albertel
Branches: version_1_3_X
Diff to previous 1.141.2.1: preferred, colored to branchpoint 1.141: preferred, colored
Changes since revision 1.141.2.1: +2 -1 lines
- more defensive

Revision 1.141.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 19 21:13:24 2005 UTC (19 years ago) by albertel
Branches: version_1_3_X
Diff to previous 1.141: preferred, colored
Changes since revision 1.141: +2 -2 lines
- I am' 90% cure this wants to be a 1, but I would be unable to explain why

Revision 1.148: download - view: text, markup, annotated - select for diffs
Tue Apr 19 15:44:40 2005 UTC (19 years ago) by matthew
Branches: MAIN
CVS tags: version_1_99_1_tmcc, version_1_99_1, version_1_99_0
Diff to previous 1.147: preferred, colored
Changes since revision 1.147: +2 -2 lines
Caching bug - loading chart or spreadsheet would update the cache with the
most current submissions but would pretend that a full update (all
submissions) was done.

Revision 1.147: download - view: text, markup, annotated - select for diffs
Tue Apr 19 00:44:31 2005 UTC (19 years ago) by matthew
Branches: MAIN
Diff to previous 1.146: preferred, colored
Changes since revision 1.146: +29 -23 lines
&store_student_data: Bug 4025: store data in cache if awarded or solved is set.

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

Revision 1.145: download - view: text, markup, annotated - select for diffs
Mon Mar 7 20:12:08 2005 UTC (19 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.144: preferred, colored
Changes since revision 1.144: +12 -26 lines
Bug 3529: correct problems plot now shows scores instead of parts correct.

Revision 1.144: download - view: text, markup, annotated - select for diffs
Thu Mar 3 18:57:36 2005 UTC (19 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.143: preferred, colored
Changes since revision 1.143: +30 -155 lines
Removed the hideous blight that was &get_sequence_assessment_data.
Refactored &populate_weight_table to use navmaps instead of the afforemented
subroutine.  Minor documentation changes.

Revision 1.143: download - view: text, markup, annotated - select for diffs
Tue Mar 1 00:07:20 2005 UTC (19 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.142: preferred, colored
Changes since revision 1.142: +3 -3 lines
loncoursedata.pm: changed &get_sum_of_scores to take symb instead of a
'resource' hash.
lonproblemstatistics: navmapification is complete.  Required addition of
package variables $navmap and @sequences.

Revision 1.142: download - view: text, markup, annotated - select for diffs
Mon Feb 28 20:00:23 2005 UTC (19 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.141: preferred, colored
Changes since revision 1.141: +26 -12 lines
Changed &get_response_time_data inputs to be section & enrollment status
(like the rest of the statistics calls).  Added error logging.

Revision 1.141: download - view: text, markup, annotated - select for diffs
Tue Nov 2 20:48:02 2004 UTC (19 years, 5 months ago) by albertel
Branches: MAIN
CVS tags: version_1_3_3, version_1_3_2, version_1_3_1, version_1_3_0, version_1_2_99_1, version_1_2_99_0
Branch point for: version_1_3_X
Diff to previous 1.140: preferred, colored
Changes since revision 1.140: +4 -75 lines
consolidate some of the multitude of functions out there that try to format and display the student's 'fullname'

Revision 1.140: download - view: text, markup, annotated - select for diffs
Thu Oct 7 22:12:47 2004 UTC (19 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.139: preferred, colored
Changes since revision 1.139: +1 -2 lines
- fixes bug#3350 hopefully for good.
    - $navmaps objects never actaully got cleaned up due the resource objects in it holding a reference back to the navmap object, this meant the hashes didn't get untied and that we leaked memory
    - needs WeakRef

Revision 1.139: download - view: text, markup, annotated - select for diffs
Thu Sep 23 14:46:03 2004 UTC (19 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.138: preferred, colored
Changes since revision 1.138: +3 -13 lines
modified &get_sequence_assessment_data to use $res->compTitle

Revision 1.138: download - view: text, markup, annotated - select for diffs
Thu Jul 22 15:55:57 2004 UTC (19 years, 9 months ago) by matthew
Branches: MAIN
CVS tags: version_1_2_X, version_1_2_1, version_1_2_0, version_1_1_99_5, version_1_1_99_4
Diff to previous 1.137: preferred, colored
Changes since revision 1.137: +24 -8 lines
&get_sum_of_scores: Added checks on validity of $students input.
Modified error logging code in various subroutines to give unique error
messages so I can tell where the messages came from and what was going
on when they occured.  I do not believe this will lead to a signifignant
increase in the size of the log files.

Revision 1.137: download - view: text, markup, annotated - select for diffs
Tue Jul 6 15:50:03 2004 UTC (19 years, 9 months ago) by matthew
Branches: MAIN
CVS tags: version_1_1_99_3, version_1_1_99_2
Diff to previous 1.136: preferred, colored
Changes since revision 1.136: +9 -1 lines
Added error checks in &get_response_data.

Revision 1.136: download - view: text, markup, annotated - select for diffs
Tue Jun 29 04:30:00 2004 UTC (19 years, 9 months ago) by raeburn
Branches: MAIN
CVS tags: version_1_1_99_1
Diff to previous 1.135: preferred, colored
Changes since revision 1.135: +7 -6 lines
AUtomated Enrollment Manager now provides automatic switching from 'manual' to 'auto' enrollment type when a manually enrolled student is detected in the institution's classlist.  Auto switching can be prevented on a per-student basis by 'locking' the type to 'manual'. Also changes to Enrollment.pm to make it more modular.

Revision 1.135: download - view: text, markup, annotated - select for diffs
Tue Jun 15 14:12:56 2004 UTC (19 years, 10 months ago) by matthew
Branches: MAIN
Diff to previous 1.134: preferred, colored
Changes since revision 1.134: +2 -1 lines
lonnavmaps: Added is_survey method
loncoursedata: get_sequence_assessment_data: checks for surveys.

Revision 1.134: download - view: text, markup, annotated - select for diffs
Fri Jun 4 17:46:10 2004 UTC (19 years, 10 months ago) by matthew
Branches: MAIN
CVS tags: version_1_1_99_0
Diff to previous 1.133: preferred, colored
Changes since revision 1.133: +8 -5 lines
&init_dbs now takes a parameter, $drop, which indicates if the system
should drop all the cache tables before trying to recreate them.  Modified
&populate_student_table to call &init_dbs with $drop = 0.  Modified
&ensure_tables_are_set_up to call &init_dbs with $drop = 1.  This means that
additions to the student table will not cause the caches to be cleared, but
the lack of any single table in a cache set will cause all the remaining
tables to be dropped and recreated.

Revision 1.133: download - view: text, markup, annotated - select for diffs
Thu May 13 13:55:35 2004 UTC (19 years, 11 months ago) by matthew
Branches: MAIN
Diff to previous 1.132: preferred, colored
Changes since revision 1.132: +4 -2 lines
Bug 3007: Degree of Difficulty should not be negative.  #YES (aka $Solved)
was being computed as the sum of the awards on the problem.  Now it is
computed as the sum of the awards on the problem minus the sum of the
awards given by override.

Revision 1.112.2.2: download - view: text, markup, annotated - select for diffs
Fri Apr 30 20:09:18 2004 UTC (19 years, 11 months ago) by matthew
Branches: version_1_1_X
Diff to previous 1.112.2.1: preferred, colored next main 1.113: preferred, colored
Changes since revision 1.112.2.1: +8 -8 lines
Bug 2954.  MySQL CHAR columns need to be BINARY to be case-sensitive.

Revision 1.132: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:36:52 2004 UTC (19 years, 11 months ago) by matthew
Branches: MAIN
Diff to previous 1.131: preferred, colored
Changes since revision 1.131: +8 -8 lines
Bug 2954: MySQL CHAR/VARCHAR are case insensitive by default, so use
'BINARY' to make them behave the way we expect.

Revision 1.131: download - view: text, markup, annotated - select for diffs
Tue Apr 6 19:02:00 2004 UTC (20 years ago) by matthew
Branches: MAIN
Diff to previous 1.130: preferred, colored
Changes since revision 1.130: +3 -3 lines
Remove debug spew.

Revision 1.130: download - view: text, markup, annotated - select for diffs
Tue Apr 6 15:45:13 2004 UTC (20 years ago) by matthew
Branches: MAIN
Diff to previous 1.129: preferred, colored
Changes since revision 1.129: +11 -18 lines
Moved storage of dynamic metadata from loncoursedata to lonproblemstatistics.
lonproblemstatistics now only stores the dynamic metadata when the stats are
computed for all sections.
Discrimination factor computations now respect start and end times.
Modified loncoursedata::rank_students_by_scores_on_resources and
loncoursedata::get_sum_of_scores to support time constraints.

Revision 1.129: download - view: text, markup, annotated - select for diffs
Thu Apr 1 20:02:55 2004 UTC (20 years ago) by matthew
Branches: MAIN
Diff to previous 1.128: preferred, colored
Changes since revision 1.128: +174 -1 lines
Bug 539: Report KR-21 reliability statistic

loncoursedata.pm:
  Added &limit_by_start_end_time to consolidate $starttime and $endtime code.
  Added &score_stats and &count_stats to return summary data on the scores
    and problem correct counts.

lonproblemstatistics:
  Added description of @Fields data structures
  Added @SeqFields, &output_sequence_statistics, &sequence_html_header,
    &sequence_html_output, and &compute_sequence_statistics.

Reporting statistics on sequences (instead of problems) is still being
fleshed out, interface wise.  No Excel output is available for sequence
statistics at this time.

Revision 1.128: download - view: text, markup, annotated - select for diffs
Fri Mar 26 22:01:30 2004 UTC (20 years ago) by matthew
Branches: MAIN
Diff to previous 1.127: preferred, colored
Changes since revision 1.127: +27 -6 lines
Modified &get_problem_statistics to return the number of students with the
problem wrong as well as the percent of students.

Revision 1.127: download - view: text, markup, annotated - select for diffs
Tue Mar 23 16:35:15 2004 UTC (20 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.126: preferred, colored
Changes since revision 1.126: +257 -21 lines
First stab at degree of discrimination computation.
loncoursedata:
    Added $weight_table, &populate_weight_table,
    &rank_students_by_scores_on_resources, &get_sum_of_scores, and
    &limit_by_section_and_status
lonproblemstatistics:
    Added degree of discrimination to @Fields,
    &compute_discrimination_factor, and modified &get_statistics to call
    the latter.

Revision 1.126: download - view: text, markup, annotated - select for diffs
Mon Mar 22 17:25:26 2004 UTC (20 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.125: preferred, colored
Changes since revision 1.125: +23 -9 lines
loncoursedata: reworked &get_response_data to take section and enrollment
as inputs instead of a list of students.
lonproblemanalysis: Rewrote calls to get_response_data to provide new inputs.
Modified numerical response analysis to analyzse an entire problem, not just
one response.  This will probably need to be changed in the future.
Added &text, which produces <drawimage> text elements.

Revision 1.125: download - view: text, markup, annotated - select for diffs
Tue Mar 16 15:54:09 2004 UTC (20 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.124: preferred, colored
Changes since revision 1.124: +2 -2 lines
Remove debugging spew.

Revision 1.112.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 9 21:42:01 2004 UTC (20 years, 1 month ago) by albertel
Branches: version_1_1_X
CVS tags: version_1_1_3, version_1_1_2
Diff to previous 1.112: preferred, colored
Changes since revision 1.112: +6 -6 lines
- backport 1.116 and 1.117

Revision 1.124: download - view: text, markup, annotated - select for diffs
Mon Mar 8 16:14:37 2004 UTC (20 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.123: preferred, colored
Changes since revision 1.123: +6 -4 lines
POD update for get_problem_statistics

Revision 1.123: download - view: text, markup, annotated - select for diffs
Mon Mar 8 16:12:35 2004 UTC (20 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.122: preferred, colored
Changes since revision 1.122: +19 -15 lines
Added comments to &get_problem_statistics.

Revision 1.122: download - view: text, markup, annotated - select for diffs
Sun Mar 7 21:42:19 2004 UTC (20 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.121: preferred, colored
Changes since revision 1.121: +20 -3 lines
loncoursedata: &get_problem_statistics now supports limiting statistics
    by time.
lonproblemstatistics: Now supports limiting statistics by time.
    Made text of output options more concise to save real estate.

Revision 1.121: download - view: text, markup, annotated - select for diffs
Sun Mar 7 20:53:40 2004 UTC (20 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.120: preferred, colored
Changes since revision 1.120: +19 -6 lines
loncoursedata.pm: &get_student_scores modified to limit by time.
loncorrectproblemplot.pm: Added time limits, corrected "bin"ing bug which
    caused the last data set to be missed, plot title is now the sequence
    being analyzed or "Multiple Sequences", added "N", the number of students,
    to the title.  Added the maximum possible number of correct problems to
    the x-axis label.

Revision 1.120: download - view: text, markup, annotated - select for diffs
Wed Feb 18 20:48:21 2004 UTC (20 years, 2 months ago) by matthew
Branches: MAIN
Diff to previous 1.119: preferred, colored
Changes since revision 1.119: +2 -2 lines
Removed log spew by &get_response_data_by_student

Revision 1.119: download - view: text, markup, annotated - select for diffs
Wed Feb 18 19:15:48 2004 UTC (20 years, 2 months ago) by matthew
Branches: MAIN
Diff to previous 1.118: preferred, colored
Changes since revision 1.118: +6 -2 lines
Modified &get_response_data_by_student to return the 'awarded' value.

Revision 1.118: download - view: text, markup, annotated - select for diffs
Wed Feb 18 17:33:35 2004 UTC (20 years, 2 months ago) by matthew
Branches: MAIN
Diff to previous 1.117: preferred, colored
Changes since revision 1.117: +54 -1 lines
Added &get_response_data_by_student and associated routines.

Revision 1.117: download - view: text, markup, annotated - select for diffs
Tue Feb 17 19:56:30 2004 UTC (20 years, 2 months ago) by matthew
Branches: MAIN
Diff to previous 1.116: preferred, colored
Changes since revision 1.116: +5 -1 lines
When calling dbh->quote() on the submissions before insert, we have to
remember to unquote on retrieval.  This was messing up problem analysis.

Revision 1.116: download - view: text, markup, annotated - select for diffs
Fri Feb 6 19:35:00 2004 UTC (20 years, 2 months ago) by matthew
Branches: MAIN
Diff to previous 1.115: preferred, colored
Changes since revision 1.115: +3 -7 lines
Clean up do-it-yourself quoting.

Revision 1.115: download - view: text, markup, annotated - select for diffs
Tue Feb 3 20:44:06 2004 UTC (20 years, 2 months ago) by matthew
Branches: MAIN
Diff to previous 1.114: preferred, colored
Changes since revision 1.114: +15 -11 lines
Further changes reflecting new MySQL table structure.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Mon Feb 2 21:45:12 2004 UTC (20 years, 2 months ago) by matthew
Branches: MAIN
Diff to previous 1.113: preferred, colored
Changes since revision 1.113: +38 -23 lines
Added: loncorrectproblems plot: produce a histogram of the number of students
having N problems correct.
loncoursedata: Modified &get_student_scores to accept enrollment status and
section as inputs.  No longer works at a student level.  At worst the
SQL queries generated are cleaner, at best the queries run faster.
lonstatistics: Modified to export the selected enrollment status.
    Added the correct problems plot to the statistics menu.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Mon Feb 2 19:50:33 2004 UTC (20 years, 2 months ago) by matthew
Branches: MAIN
Diff to previous 1.112: preferred, colored
Changes since revision 1.112: +156 -59 lines
Added &get_student_scores(), which returns the sum of student scores in the
course.
Restructured tables:
   Removed $studentdata_table and merged its functionality into an expanded
   $student_table.
   $student_table now includes the students section and status.
   Modified get_student_id() to call the new function &populate_student_table
   which loads the results of &get_classlist into $student_table.
   Added &store_updatetime to encapsulate the table structure a little bit.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Mon Jan 19 16:31:25 2004 UTC (20 years, 3 months ago) by matthew
Branches: MAIN
Branch point for: version_1_1_X
Diff to previous 1.111: preferred, colored
Changes since revision 1.111: +16 -8 lines
Properly quote student submission data when inserting into the response
table.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Tue Dec 16 16:47:16 2003 UTC (20 years, 4 months ago) by raeburn
Branches: MAIN
CVS tags: version_1_1_1, version_1_1_0, version_1_0_99_3
Diff to previous 1.110: preferred, colored
Changes since revision 1.110: +7 -6 lines
Added CL_TYPE subroutine to retrieve user type.
User type is either 'auto' (if added via automated enrollment or via the
'Update roster now' function in lonpopulate) or '' otherwise.

Revision 1.110: download - view: text, markup, annotated - select for diffs
Thu Dec 11 22:18:04 2003 UTC (20 years, 4 months ago) by matthew
Branches: MAIN
CVS tags: version_1_0_99_2
Diff to previous 1.109: preferred, colored
Changes since revision 1.109: +5 -1 lines
get_sequence_assessment_data: make sure we have a title for the resource
by using the filename if the title is not set.

Revision 1.109: download - view: text, markup, annotated - select for diffs
Tue Dec 9 21:14:23 2003 UTC (20 years, 4 months ago) by matthew
Branches: MAIN
CVS tags: version_1_0_99_1
Diff to previous 1.108: preferred, colored
Changes since revision 1.108: +18 -25 lines
Bug 2371 is fixed!

Revision 1.108: download - view: text, markup, annotated - select for diffs
Thu Oct 30 16:20:18 2003 UTC (20 years, 5 months ago) by matthew
Branches: MAIN
CVS tags: version_1_0_99
Diff to previous 1.107: preferred, colored
Changes since revision 1.107: +18 -3 lines
Taking a que from Jeremy, using subroutines to indicate the array entries
in which data resides.  Also renamed get_optionresponse_data to
get_response_data and added the students name:domain as a return value.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Mon Oct 27 21:07:22 2003 UTC (20 years, 5 months ago) by matthew
Branches: MAIN
Diff to previous 1.106: preferred, colored
Changes since revision 1.106: +7 -7 lines
Overhaul of &get_response_time_data().

Revision 1.106: download - view: text, markup, annotated - select for diffs
Fri Oct 24 13:34:45 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.105: preferred, colored
Changes since revision 1.105: +46 -2 lines
Added &get_response_time_data.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Mon Oct 20 20:42:39 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.104: preferred, colored
Changes since revision 1.104: +37 -5 lines
Excel output for optionresponse analysis.

loncoursedata.pm:
Added &get_student_data.
Modified return values of get_optionresionse_data it now logs errors and
(on error) no longer returns a reference to useless data.

lonproblemanalysis.pm:
Added 'Produce Excel Data Sheet' button.  Wording will probably change, as
will page which presents the spreadsheet for download.
Added a bunch of routines associated with excel output, including two
routines 'calc_serial' and '_adjustment' copied from Andrew Benham's
datecalc1.pl, part of the Spreadsheet::WriteExcel CPAN module (GPL).
Read through some of the comments on these to learn a little about date
handling in Excel.

Revision 1.104: download - view: text, markup, annotated - select for diffs
Fri Oct 17 21:36:10 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.103: preferred, colored
Changes since revision 1.103: +3 -2 lines
&get_optionresponse_data modified to return 'awarddetail'.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Thu Oct 9 14:50:01 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.102: preferred, colored
Changes since revision 1.102: +7 -5 lines
Changes I forgot to commit so it may work now.  get_optionresponse_data
now returns a pointer, restricts by students properly, and returns
undef explicitly on errors.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Tue Oct 7 15:30:09 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.101: preferred, colored
Changes since revision 1.101: +2 -1 lines
We need to escape single quotes as these are used to enclose the strings
when inserted.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Fri Oct 3 16:39:17 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.100: preferred, colored
Changes since revision 1.100: +2 -2 lines
Removed 'tries' from the wrong insert list.  update_full_student_data now
works again.

Revision 1.81.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 3 15:33:25 2003 UTC (20 years, 6 months ago) by albertel
Branches: version_1_0_X
CVS tags: version_1_0_3, version_1_0_2
Diff to previous 1.81.2.1: preferred, colored to branchpoint 1.81: preferred, colored next main 1.82: preferred, colored
Changes since revision 1.81.2.1: +31 -1 lines
- backport 1.99

Revision 1.100: download - view: text, markup, annotated - select for diffs
Thu Oct 2 20:48:57 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.99: preferred, colored
Changes since revision 1.99: +43 -7 lines
Removed 'tries' from $fulldump_response_table as 'tries' only applies to
parts, not responses.
Added &get_optionresponse_data to retrieve option response data.  This
routine is evolving, which is my excuse for not documenting it futher
and continuing to log the MySQL request.
Added paranoid call to &setup_table_names in &get_problem_statistics which
is completely unneccessary and utterly benign.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Thu Oct 2 17:07:41 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.98: preferred, colored
Changes since revision 1.98: +31 -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.98: download - view: text, markup, annotated - select for diffs
Thu Oct 2 14:11:36 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.97: preferred, colored
Changes since revision 1.97: +6 -6 lines
Use 'INSERT IGNORE INTO' instead of 'INSERT INTO' so we don't bail on
all of a students data because something is redundant.  Not for 1.0.2.

Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 1 21:41:47 2003 UTC (20 years, 6 months ago) by albertel
Branches: version_1_0_X
Diff to previous 1.81: preferred, colored
Changes since revision 1.81: +28 -1 lines
- backport 1.97

Revision 1.97: download - view: text, markup, annotated - select for diffs
Wed Oct 1 20:50:13 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.96: preferred, colored
Changes since revision 1.96: +28 -1 lines
&get_student_data_from_performance_cache:
Pick up all parameters all the time when asked for student data, instead of
just returning the known relevant ones.
Include in 1.0.2

Revision 1.96: download - view: text, markup, annotated - select for diffs
Tue Sep 30 15:47:40 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.95: preferred, colored
Changes since revision 1.95: +2 -2 lines
Should be 'okay', not simply not begin with 'error'.

Revision 1.95: download - view: text, markup, annotated - select for diffs
Tue Sep 30 15:45:57 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.94: preferred, colored
Changes since revision 1.94: +4 -2 lines
Only store the update time if the updates were successful.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Tue Sep 30 15:35:56 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.93: preferred, colored
Changes since revision 1.93: +8 -8 lines
Store the performance table first since it has the highest priority.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Tue Sep 30 15:34:34 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.92: preferred, colored
Changes since revision 1.92: +2 -6 lines
Remove 'awarded' column from fulldump_response_table.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Tue Sep 30 12:09:48 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.91: preferred, colored
Changes since revision 1.91: +2 -2 lines
'correct_by_scantron' is now the same as 'correct_by_student'

Revision 1.91: download - view: text, markup, annotated - select for diffs
Mon Sep 29 19:48:17 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.90: preferred, colored
Changes since revision 1.90: +5 -1 lines
Added count of response types to the part data stored in
&get_sequence_assessment_data().

Revision 1.90: download - view: text, markup, annotated - select for diffs
Fri Sep 26 19:23:14 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.89: preferred, colored
Changes since revision 1.89: +27 -5 lines
In full updates we need to pick up and store the response specific parameters
'submissiongrading' and 'molecule'.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Fri Sep 26 18:31:31 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.88: preferred, colored
Changes since revision 1.88: +532 -43 lines
Implement storing of student performance data in the MySQL cache database.
Added 3 tables: $fulldump_part_table, $fulldump_response_table, and
$fulldump_timestamp_table.  Added &update_full_student_data to do a
lonnet::dump, load the data into the new tables, and then update the old
tables used for Chart, Spreadsheet, and the current implementation of
Statistics.  Reworked some existing code to avoid duplication.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Wed Sep 24 18:01:01 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.87: preferred, colored
Changes since revision 1.87: +5 -3 lines
Update to get_sequence_assessment_data to expect arrays from responseType
and responseIds.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Wed Sep 24 15:14:41 2003 UTC (20 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.86: preferred, colored
Changes since revision 1.86: +38 -26 lines
1. get_sequence_assessment_data now stores away response id and type data.
2. Replaced MySQL table $courseid.'_updatetime' with $courseid.'_studentdata'.
   Added 2 columns, section and classification which are currently unused.
   Changed primary key from student (name:domain) to student_id (unsigned int).

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

Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Aug 27 21:34:24 2003 UTC (20 years, 7 months ago) by matthew
Branches: MAIN
Diff to previous 1.84: preferred, colored
Changes since revision 1.84: +4 -2 lines
Added 'classification' field to student table in MySQL.  Very preliminary...

Revision 1.84: download - view: text, markup, annotated - select for diffs
Thu Aug 21 21:03:38 2003 UTC (20 years, 8 months ago) by matthew
Branches: MAIN
Diff to previous 1.83: preferred, colored
Changes since revision 1.83: +3 -1 lines
Bug 2065: colons in sequence names become &colon;  This does not address
the problem sufficiently in the future, but it does address the problem
for existing data.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Thu Aug 7 17:26:44 2003 UTC (20 years, 8 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.82: preferred, colored
Changes since revision 1.82: +1 -1 lines
lonnavmaps are now maximally lazy; no processing is performed until it
is needed, except in cases where it makes sense to grab all data for the
course at a time.

As a result, the Apache::lonnavmaps::navmap->new() call no longer needs
any arguments; it assumes you're using the current user's navmaps and
generates the other data as needed.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Thu Aug 7 14:29:43 2003 UTC (20 years, 8 months ago) by bowersj2
Branches: MAIN
Diff to previous 1.81: preferred, colored
Changes since revision 1.81: +2 -3 lines
Remove the requirement to pass in the nav hash and the param hash;
nobody ever does it and I'm pretty sure it will never be useful. (If it
is, it can be easily added back in as an optional parameter later;
meanwhile it just confuses things.)

Revision 1.81: download - view: text, markup, annotated - select for diffs
Mon Jul 14 13:10:39 2003 UTC (20 years, 9 months ago) by matthew
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_X
Diff to previous 1.80: preferred, colored
Changes since revision 1.80: +12 -8 lines
Make sure get_sequence_assessment_data gives a title, even if there is none
returned by the navmaps resource object.
Trivial whitespace changes.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Wed Jun 25 19:25:54 2003 UTC (20 years, 9 months ago) by www
Branches: MAIN
CVS tags: version_0_99_3
Diff to previous 1.79: preferred, colored
Changes since revision 1.79: +20 -1 lines
Bug 1638: Problem statistics stored in metadata again.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Thu Jun 19 12:45:54 2003 UTC (20 years, 10 months ago) by matthew
Branches: MAIN
Diff to previous 1.78: preferred, colored
Changes since revision 1.78: +12 -13 lines
Bug 1497 - random crashes in spreadsheet caused by loncoursedata.pm.
The error was due to some unexpected return data being passed to
&get_current_state from &ensure_current_data.  Now explicitly return
undef for the second parameter if appropriate.  Extra code has been put in
&get_current_state to prevent it from trying to cast undef as a hash.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Tue Jun 17 21:45:36 2003 UTC (20 years, 10 months ago) by matthew
Branches: MAIN
Diff to previous 1.77: preferred, colored
Changes since revision 1.77: +9 -1 lines
Address to some degree the bug we saw today with instructors getting the
white page of death when they view stats or chart.  Now the white page
of death does not appear but the chart and stats think there are no
resources in the course.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Mon Jun 16 15:55:27 2003 UTC (20 years, 10 months ago) by matthew
Branches: MAIN
Diff to previous 1.76: preferred, colored
Changes since revision 1.76: +6 -6 lines
Comment out some debugging info.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Jun 3 18:14:07 2003 UTC (20 years, 10 months ago) by matthew
Branches: MAIN
CVS tags: version_0_99_2, conference_2003
Diff to previous 1.75: preferred, colored
Changes since revision 1.75: +2 -2 lines
Title for course level sequence was not being returned by the $top_level_map.
Set it explicitly to course description.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Mon Jun 2 17:18:33 2003 UTC (20 years, 10 months ago) by matthew
Branches: MAIN
Diff to previous 1.74: preferred, colored
Changes since revision 1.74: +14 -5 lines
Towards Bug 1251 - get_sequence_assessment_data keeps track of randompick.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Mon Jun 2 17:09:09 2003 UTC (20 years, 10 months ago) by matthew
Branches: MAIN
Diff to previous 1.73: preferred, colored
Changes since revision 1.73: +2 -2 lines
Fix asinine bug I wrote.  This bug caused an 'excused' problem status to
not be stored in the cache.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon Jun 2 16:57:41 2003 UTC (20 years, 10 months ago) by matthew
Branches: MAIN
Diff to previous 1.72: preferred, colored
Changes since revision 1.72: +21 -5 lines
Address Bug 1538 (read it for a description) in two ways by
   a) deleting ALL the tables associated with a cache if any one is missing.
   b) storing the part as well as the part_id in the performance table.
Thus if the part_id table goes missing we should either remove all the other
tables and begin caching again or, if that does not occur, be able to serve
up all the data anyway.  This is an improvement over the current behavior.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue May 27 15:48:12 2003 UTC (20 years, 10 months ago) by matthew
Branches: MAIN
CVS tags: version_0_99_1
Diff to previous 1.71: preferred, colored
Changes since revision 1.71: +6 -1 lines
Debugging info to help track down white screen of death from spreadsheet.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon May 19 15:44:15 2003 UTC (20 years, 11 months ago) by matthew
Branches: MAIN
CVS tags: version_0_99_0
Diff to previous 1.70: preferred, colored
Changes since revision 1.70: +36 -1 lines
Added &GetUserName($name,$domain) to wrap around lonnet calls to find out
a users full name.
There probably should be a 'lonuserdata.pm' file for this sort of thing...

Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Apr 21 15:12:37 2003 UTC (21 years ago) by matthew
Branches: MAIN
Diff to previous 1.69: preferred, colored
Changes since revision 1.69: +31 -1 lines
Added 'Clear Caches' button to statistics which results in
&Apache::loncoursedata::delete_caches() being called.  delete_caches()
executes a 'drop table' for every table used to do local caching for
the given course.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Fri Apr 18 19:05:30 2003 UTC (21 years ago) by matthew
Branches: MAIN
Diff to previous 1.68: preferred, colored
Changes since revision 1.68: +3 -4 lines
Fix for bug 1379 where not all sequences were found in
    &get_sequence_assessment_data().
Fixed bug where user submissions were not quoted properly when being stored
in the MySQL database.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Fri Apr 11 15:14:25 2003 UTC (21 years ago) by matthew
Branches: MAIN
Diff to previous 1.67: preferred, colored
Changes since revision 1.67: +6 -2 lines
Fix: was returning all data the first time data was requested regardless of
whether a specific symb was requested.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Apr 9 14:51:29 2003 UTC (21 years ago) by matthew
Branches: MAIN
Diff to previous 1.66: preferred, colored
Changes since revision 1.66: +5 -2 lines
Fix get_current_state and get_student_performance_data to work when requesting
a specific symb.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Tue Apr 1 16:53:50 2003 UTC (21 years ago) by matthew
Branches: MAIN
Diff to previous 1.65: preferred, colored
Changes since revision 1.65: +35 -20 lines
Modified &get_problem_statistics to return a hash reference.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Mar 28 18:14:59 2003 UTC (21 years ago) by bowersj2
Branches: MAIN
Diff to previous 1.64: preferred, colored
Changes since revision 1.64: +2 -2 lines
Take the request parameter out of the navmap->new call.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Mar 28 15:19:35 2003 UTC (21 years ago) by matthew
Branches: MAIN
Diff to previous 1.63: preferred, colored
Changes since revision 1.63: +46 -1 lines
&get_problem_statistics
Added POD.
Implemented limiting of the stats to selected students.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Mar 27 19:29:36 2003 UTC (21 years ago) by matthew
Branches: MAIN
Diff to previous 1.62: preferred, colored
Changes since revision 1.62: +6 -15 lines
Removed 'weight' from local caching.  If you have looked at the chart or
stats you will need to run

/home/httpd/perl/cleanup_database.pl --killtime 0

to clean out your old caches.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Mar 26 16:25:06 2003 UTC (21 years ago) by matthew
Branches: MAIN
Diff to previous 1.61: preferred, colored
Changes since revision 1.61: +1 -5 lines
Removed debugging code from statistics subroutine.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Mar 25 22:29:31 2003 UTC (21 years ago) by matthew
Branches: MAIN
Diff to previous 1.60: preferred, colored
Changes since revision 1.60: +192 -1347 lines
Removed &DownloadClasslist, &DownloadCourseInformation, &ProcessTopResourceMap,
&ProcessClasslist, &ProcessStudentData, &ExtractStudentData,
&CheckDateStampError, &TestCacheData, &DownloadStudentCourseData,
&DownloadStudentCourseDataSeparate, and &CheckForResidualDownload

Local Caching:
Added flags to &get_part_id, &get_symb_id, and &get_student_id to fix a bug
where they automatically added the part/symb/student to the table the first
time they were called instead of reading the table to get the value.
&get_current_state was reduced in size by moving its initialization code
to &setup_table_names.  &setup_table_names was relocated to the tail of the
local caching code.

Statistics:
Added &get_problem_statistics.  It does not currently limit the statistics
to a set of students, but will soon.  Classification of students is also
unimplemented.

Added SQL helper function &execute_SQL_request to encapsulate the
'prepare request, execute request, get returned row' sequence and make
debugging easier.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Mar 21 16:04:10 2003 UTC (21 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.59: preferred, colored
Changes since revision 1.59: +33 -15 lines
Local caching:
    Added 'weight' to performance_table and EXT call to get the weight.
    Added timestamp checking for cache devalidation.

The addition of 'weight' (and the EXT call) seem to have slowed the caching
down considerably (it now takes 50% longer to store the data).  The timestamp
checking appears to have had a much more modest effect on data retrieval
( < 0.02 sec/student is my estimate).

get_classlist:
    Added slightly more verbose error logging.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu Mar 20 19:58:37 2003 UTC (21 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.58: preferred, colored
Changes since revision 1.58: +1 -4 lines
Removed debugging logthis calls.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Thu Mar 20 19:27:26 2003 UTC (21 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.57: preferred, colored
Changes since revision 1.57: +2 -1 lines
Fix the 'Cannot initialize course' error.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon Mar 17 22:52:04 2003 UTC (21 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.56: preferred, colored
Changes since revision 1.56: +869 -89 lines
&get_current_state has been rewritten to use MySQL via lonmysql.pm.  Lots
of comments and POD documentation and a heck of a lot of new code.  Some
of it may even make sense!

Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Mar 5 14:39:08 2003 UTC (21 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.55: preferred, colored
Changes since revision 1.55: +8 -10 lines
&get_current_state() now uses a cache file per student per class instead
of one for the entire course.  Removed old lonnet::logthis() calls as well.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon Mar 3 21:52:24 2003 UTC (21 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.54: preferred, colored
Changes since revision 1.54: +21 -18 lines
- adding timing info to the popwin, and adding new functionality,
- converted stats to use new interface

Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Feb 28 23:19:01 2003 UTC (21 years, 1 month ago) by bowersj2
Branches: MAIN
Diff to previous 1.53: preferred, colored
Changes since revision 1.53: +15 -2 lines
Corrects documentation for get_classlist, and adds constants that can
be used to future-proof clients against later changes to the order.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Feb 28 20:41:27 2003 UTC (21 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.52: preferred, colored
Changes since revision 1.52: +5 -2 lines
&get_sequence_assessment_data:
    Added 'num_assess_parts' to sequence data structure
    Added 'parts' and 'num_parts' to assessment data structure
    Cleaned up POD a little bit.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Feb 25 20:36:29 2003 UTC (21 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.51: preferred, colored
Changes since revision 1.51: +8 -9 lines
&get_sequence_assessment_data() handles top level map better:
   title is set to course description
   symb is set to 'top'
   src is set (which is new) to 'not applicable' (which is stupid)

Revision 1.51: download - view: text, markup, annotated - select for diffs
Tue Feb 25 16:05:24 2003 UTC (21 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.50: preferred, colored
Changes since revision 1.50: +4 -4 lines
Remove development code.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Feb 25 15:55:15 2003 UTC (21 years, 1 month ago) by matthew
Branches: MAIN
Diff to previous 1.49: preferred, colored
Changes since revision 1.49: +24 -15 lines
Fixed bugs in &get_sequence_assessment_data() which caused it to report the
data for the first item in a sequence instead of the sequence itself.
Fixed related bug which caused it to not report an assessment which appeared
as the first item in a sequence.
Minor indention change.
Some POD additions/subtractions/mangling occured as well.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Feb 20 14:28:25 2003 UTC (21 years, 2 months ago) by matthew
Branches: MAIN
Diff to previous 1.48: preferred, colored
Changes since revision 1.48: +10 -2 lines
&get_sequence_assessment_data() now additionally returns array refs holding
the sequences and assessments which appear in the course.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Feb 14 21:45:19 2003 UTC (21 years, 2 months ago) by matthew
Branches: MAIN
Diff to previous 1.47: preferred, colored
Changes since revision 1.47: +7 -4 lines
&get_current_state() now uses DIFFERENT keys to store different information
instead of using THE SAME KEY EVERY TIME it stores anything for a student.
Most errors seem to be caused by something between my chair and my keyboard.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Feb 14 21:02:05 2003 UTC (21 years, 2 months ago) by matthew
Branches: MAIN
Diff to previous 1.46: preferred, colored
Changes since revision 1.46: +111 -16 lines
Implemented caching scheme for &get_current_state().  This routine has not
been tested for retrieval of data for a single symb.  It has been tested
with the spreadsheet which requests all of the students current data.
The cache file is prepended with the users name and domain in order to
prevent collisions between concurrent instructors.  The use of this function
does not appreciably modify the performance of the spreadsheet.
Added helper function &make_into_hash.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Feb 13 22:52:48 2003 UTC (21 years, 2 months ago) by matthew
Branches: MAIN
Diff to previous 1.45: preferred, colored
Changes since revision 1.45: +65 -4 lines
Added loncoursedata::get_current_state, which is currently a simple
wrapper for currentdump.  Changed loncoursedata to use $Apache::lonnet::tmpdir
and changed lonspreadsheet to use loncoursedata::get_current_state.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Feb 13 14:49:16 2003 UTC (21 years, 2 months ago) by matthew
Branches: MAIN
Diff to previous 1.44: preferred, colored
Changes since revision 1.44: +104 -2 lines
Added &get_sequence_assessment_data(), which is entirely experimental and
should not be used at this time.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Feb 5 01:39:32 2003 UTC (21 years, 2 months ago) by albertel
Branches: MAIN
CVS tags: version_0_6_2
Diff to previous 1.43: preferred, colored
Changes since revision 1.43: +2 -2 lines
- looks like there are situations in which to_idnumber is supposed to be undefined?

Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Jan 31 22:34:38 2003 UTC (21 years, 2 months ago) by matthew
Branches: MAIN
Diff to previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
Caching enabled version.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Jan 31 22:30:16 2003 UTC (21 years, 2 months ago) by matthew
Branches: MAIN
Diff to previous 1.41: preferred, colored
Changes since revision 1.41: +6 -5 lines
Backdoor disableing of caching, for a 0.6.2 release.
Also no longer treat the string 'Not downloaded' as a number....

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Jan 10 21:50:17 2003 UTC (21 years, 3 months ago) by matthew
Branches: MAIN
Diff to previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2 lines
Error logs should probably contain actual information instead of
variable names....

Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Dec 11 21:41:02 2002 UTC (21 years, 4 months ago) by minaeibi
Branches: MAIN
CVS tags: version_0_6
Diff to previous 1.39: preferred, colored
Changes since revision 1.39: +2 -1 lines
try to fix bug 1039
I am not sure it has benn fixed.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Oct 22 16:34:24 2002 UTC (21 years, 6 months ago) by minaeibi
Branches: MAIN
Diff to previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3 lines
Fixed bug #752,
Added total points to each homework set total

Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Oct 17 19:36:30 2002 UTC (21 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.37: preferred, colored
Changes since revision 1.37: +3 -1 lines
Log failed attempts to get students environment.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Oct 16 14:48:45 2002 UTC (21 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
Fix to use &Apache::lonnet::getsection.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Oct 16 13:43:34 2002 UTC (21 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.35: preferred, colored
Changes since revision 1.35: +14 -4 lines
changed &get_classlist to update the classlist if the users information is
available.  Tested on data and appears to work properly.  If the users
information is not found the file is not updated.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Oct 14 19:06:21 2002 UTC (21 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.34: preferred, colored
Changes since revision 1.34: +77 -1 lines
Added &get_classlist, which gets the classlist for the current class in
a simple manner and does not bother with caching at all.  It will get
data from a students environment if the classlist does not contain the
needed information.  The data is *not* rewritten to the classlist at this
time.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Oct 9 17:25:23 2002 UTC (21 years, 6 months ago) by matthew
Branches: MAIN
Diff to previous 1.33: preferred, colored
Changes since revision 1.33: +15 -30 lines
Rewrite of ProcessFullName to be a little easier to understand and to
strip off leading and trailing whitespace from name components.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Sep 20 22:33:54 2002 UTC (21 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
- if there is an error getting the class list return nothing.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Sep 17 15:34:42 2002 UTC (21 years, 7 months ago) by matthew
Branches: MAIN
Diff to previous 1.31: preferred, colored
Changes since revision 1.31: +23 -6 lines
POD added to &ProcessClasslist describing the fields in the hash.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Sep 14 18:57:59 2002 UTC (21 years, 7 months ago) by www
Branches: MAIN
Diff to previous 1.30: preferred, colored
Changes since revision 1.30: +3 -2 lines
Should call 'clutter' (which adds /res/ if necessary) instead of adding
it by hand.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Sep 3 12:27:05 2002 UTC (21 years, 7 months ago) by stredwic
Branches: MAIN
CVS tags: version_0_5_1
Diff to previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
Incorrect parameters for CheckForResidualDownload.  This explains a couple
of oddities when using the stop button, which is why the status display
didn't always show up.  When that occurred, it was probably just skipping
the already downloaded data, but would just be downloaded again in the
next step so no data was missed.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Tue Sep 3 02:22:40 2002 UTC (21 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.28: preferred, colored
Changes since revision 1.28: +3 -2 lines
- perl 5.005 desn't like the original line

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Sep 1 06:23:19 2002 UTC (21 years, 7 months ago) by stredwic
Branches: MAIN
Diff to previous 1.27: preferred, colored
Changes since revision 1.27: +71 -27 lines
First, fixed a typo in lonstudentassessment.  Also, fixed the updating of
the statistics information if the resource tree changes.  Note, in
student assessment it will show up as a blank space unless an attempt
was made for that problem.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Aug 31 18:31:15 2002 UTC (21 years, 7 months ago) by stredwic
Branches: MAIN
Diff to previous 1.26: preferred, colored
Changes since revision 1.26: +3 -2 lines
Fixed the problem where lonstudentassessment would not update after the
data had been downloaded once, even though the student had done more
work.  Now it updates properly.  Simply set the value to false instead
of checking to see if it was defined, since I define it if it true.  I
noticed the columns getting off a little now, so I will look at it next

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Aug 30 17:11:43 2002 UTC (21 years, 7 months ago) by stredwic
Branches: MAIN
Diff to previous 1.25: preferred, colored
Changes since revision 1.25: +38 -1 lines
First, was getting a strange warning for doing scalar(split(...)) in
lonpercentage.  Second I think I fixed the updating of symbols in
chart after they have been changed.  I tried it out and it work for
my test case.  We will see if it works for everyone.  The problem
is as I suspected, and because I didn't remove the keys when the
students data was updated it was still using old data.  This
would occur if the data didn't overwrite, but changed supporting
information.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Aug 29 03:04:10 2002 UTC (21 years, 7 months ago) by stredwic
Branches: MAIN
Diff to previous 1.24: preferred, colored
Changes since revision 1.24: +6 -6 lines
Now, when the refresh button is pressed or you switch to a report, the
student's information datestamp will be check.  It will be downloaded if
the datestamp is newer than the stored datestamp.  There may still be
issues with problem statistics due to the fact that there isn't a way
to signal the update of the statistical cached data.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Aug 28 22:42:15 2002 UTC (21 years, 7 months ago) by stredwic
Branches: MAIN
Diff to previous 1.23: preferred, colored
Changes since revision 1.23: +25 -25 lines
Now I untie the hash before I try to download the data.

Update all students was not working because the untie that was performed
before the call to DownloadStudentCourseData did nothing because it
was not on the same level as its associated tie :(  Moved ties onto
the same level in DownloadStudentCourseData and lonstatistics::PrepareData.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Aug 28 22:02:47 2002 UTC (21 years, 7 months ago) by stredwic
Branches: MAIN
Diff to previous 1.22: preferred, colored
Changes since revision 1.22: +9 -9 lines
Fixed some single quote problems in my documentation

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Aug 28 21:50:27 2002 UTC (21 years, 7 months ago) by stredwic
Branches: MAIN
Diff to previous 1.21: preferred, colored
Changes since revision 1.21: +104 -45 lines
First, I think there was a typo in the last submit for loncoursedata.  One
too many paranthesis.  Fixed that.  Moved GetDatestamp function to lonnet,
like Guy wanted a while ago.  Added documentation to loncoursedata.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Aug 28 18:29:22 2002 UTC (21 years, 7 months ago) by matthew
Branches: MAIN
Diff to previous 1.20: preferred, colored
Changes since revision 1.20: +7 -5 lines
A few comments added and check to see if $c is defined before using it.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Aug 15 18:16:29 2002 UTC (21 years, 8 months ago) by stredwic
Branches: MAIN
CVS tags: version_0_5
Diff to previous 1.19: preferred, colored
Changes since revision 1.19: +23 -20 lines
Played a little bit more with the downloading regular expression and
changed error checking for lonnet::get.  There is a problem in lonnet::get
that needs to be fixed, and then statistics will properly catch get errors.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Aug 15 16:11:34 2002 UTC (21 years, 8 months ago) by stredwic
Branches: MAIN
Diff to previous 1.18: preferred, colored
Changes since revision 1.18: +4 -3 lines
fixed status display for CheckForResidualDownload

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Aug 15 16:03:11 2002 UTC (21 years, 8 months ago) by stredwic
Branches: MAIN
Diff to previous 1.17: preferred, colored
Changes since revision 1.17: +17 -21 lines
Modified regular expression, still needs more work.  Added while each
instead of foreach for the keys in a hash.  That reduced the size
of the httpd to its normal size instead of ballooning.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Aug 14 21:51:51 2002 UTC (21 years, 8 months ago) by stredwic
Branches: MAIN
Diff to previous 1.16: preferred, colored
Changes since revision 1.16: +17 -10 lines
Fixed the number not updating in the status window for update all students
button.  Also fixed some tieing to hash problems for lonproblemstatistics
and lonproblemanalysis.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Aug 14 16:18:55 2002 UTC (21 years, 8 months ago) by stredwic
Branches: MAIN
Diff to previous 1.15: preferred, colored
Changes since revision 1.15: +5 -4 lines
Added section selection to problem statistics and problem analysis.
Fixed some divide by zeros in lonproblemstatistics.
Broke up the table of option response problems and gave them the
heading of the sequence in which they lie.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Aug 14 13:16:31 2002 UTC (21 years, 8 months ago) by stredwic
Branches: MAIN
Diff to previous 1.14: preferred, colored
Changes since revision 1.14: +4 -4 lines
Fixed a part problem

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Aug 14 13:13:37 2002 UTC (21 years, 8 months ago) by stredwic
Branches: MAIN
Diff to previous 1.13: preferred, colored
Changes since revision 1.13: +7 -1 lines
Discriminant factors now work again.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Aug 13 00:37:18 2002 UTC (21 years, 8 months ago) by stredwic
Branches: MAIN
Diff to previous 1.12: preferred, colored
Changes since revision 1.12: +404 -44 lines
First, added unescaping of $key in lond dump command.
Next, I added a new way to download student course data.  There are now
two functions for storing data, DownloadStudentCourseData and
DownloadStudentCourseDataSeparate.  These two functions base their running
on input parameters.  The option parameters are whether or not to check
the date for downloading, whether or not to store all the dumped data or
extract out the data you want, whether or not to display a status window.
The extracting data parameter will be best utilized if someone adds in the
ability to send a list of what parameters are desired and perhaps some simple
commands to affect how that data is processed, like tries, sum would
sum record the sum of all the tries for a student.  This is just an idea.

Currently, I have all the statistics modules using the extract ability.
This slightly increases in download time, but drastically reduces cache
size.  Possible ideas include pushing the extract to the lond side with a
list of parameter/commands, or even downloading everything to a temp cache,
then extract the necessary data into the cache then removing the temp
cache.  There are lots of other possibilities, which can change the download
time, cache size, and other factors.  Now, only loncoursedata handles the
downloading of data to a hash.

lonstudentassessment was changed slightly to remove ' ' as a link if the
student actually hadn't attempted the problem.

lonproblemanalysis was updated for the new str2hash type functions.  There
are a couple of (cludges/fixes) for it.  Depending on whether or not the
str2hash type functions are changed, these may or may not need to be
updated.

lonproblemstatistics was drastically overhauled.  Most of the processing
was removed.  Now, it just does its few statistics functions and outputs
the table.  Currently, I broke the graph, discussion column, and
discriminant factor columns.  These will be fixed on the next commit soon.
There is also no caching done.  This will also be remedied soon.  The
problem that will need attention with caching is to know when to update
the statistics cached data when a student's course data is updated.

Lastly, I plan to add perhaps a toggle legend display button, another graph
button(percentage correct), a button to send the CSV format(not just display),
and add a toggle button for sorting within a sequence and sorting all
the problems.

Also, I changed the look and feel to be the same as the class list page.
Also, the displaying of sequence headers and child sequences are not
working.  This will be fixed, but thought will be put into how best to
make it look and have a similiar fill for all the table combinations.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Aug 5 14:16:19 2002 UTC (21 years, 8 months ago) by stredwic
Branches: MAIN
Diff to previous 1.11: preferred, colored
Changes since revision 1.11: +21 -9 lines
Fixed the problem where not all the problems were showing up for BS111.  The
problem was that sequences in the start resource were being skipped.  By
simply adding a next in the process sequence block, it will process a
sequence right away instead of trying to move to the next resource.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Aug 3 18:47:24 2002 UTC (21 years, 8 months ago) by stredwic
Branches: MAIN
Diff to previous 1.10: preferred, colored
Changes since revision 1.10: +25 -6 lines
Was not handling branches and circle resource paths correctly.  Adding
in checks for already visited sequences and problems seemed to fix it.
I get all the sequences in student assessment for BS111 now.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Aug 1 20:49:06 2002 UTC (21 years, 8 months ago) by stredwic
Branches: MAIN
Diff to previous 1.9: preferred, colored
Changes since revision 1.9: +6 -7 lines
First, added the parenthesis thing to the GDBM stuff.  Fixed the interface
problem statistics so that the buttons work correctly.  How the data
is interpretted is not finished.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Jul 30 23:07:10 2002 UTC (21 years, 8 months ago) by minaeibi
Branches: MAIN
Diff to previous 1.8: preferred, colored
Changes since revision 1.8: +3 -1 lines
Added some stuff to cache for make link to problem resource.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jul 30 21:31:48 2002 UTC (21 years, 8 months ago) by stredwic
Branches: MAIN
Diff to previous 1.7: preferred, colored
Changes since revision 1.7: +42 -27 lines
Fixed the problem gathering the correct data to be used for the analysis.
The problem stemmed mostly to the correct use of the result from ssi.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Jul 26 16:22:09 2002 UTC (21 years, 8 months ago) by stredwic
Branches: MAIN
Diff to previous 1.6: preferred, colored
Changes since revision 1.6: +31 -19 lines
Added section selection.  I added a new multiselect box for sections.  All
students without a section number or a space or undefined will fall under
the none category.  A list of possible sections for a course will be displayed.
Only students with a section number matching one of the selected sections
will be selectable in the students menu and/or display their report.  If
the currently view student doesn't have the correct section when the section
selection changes, the student selection will revert to no student selected.

Note: To refresh the reports after changing which sections to display, press
the refresh button or any of the other onchange interface controls.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Jul 25 21:23:51 2002 UTC (21 years, 8 months ago) by stredwic
Branches: MAIN
Diff to previous 1.5: preferred, colored
Changes since revision 1.5: +14 -1 lines
Updating lonstudentassessment to add in features of lonchart.  Now the
data display is like lonchart with formatted columns of data.  The next
step will be to add in the column removal check boxes and a multiselect
box for sections.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jul 25 19:31:32 2002 UTC (21 years, 8 months ago) by minaeibi
Branches: MAIN
Diff to previous 1.4: preferred, colored
Changes since revision 1.4: +31 -34 lines
removing global variables

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jul 24 14:52:32 2002 UTC (21 years, 9 months ago) by stredwic
Branches: MAIN
Diff to previous 1.3: preferred, colored
Changes since revision 1.3: +37 -87 lines
Broke lonstatistics up.  Now the bulk of the code that generate the
html pages for the different forms have there own module.  Some minor
modifications were necessary to accomplish this.

Also added default student selected on student assessment page is now
all students.  The full name links on the classlist page now take
you to the student assessment page with that student selected.  I
had forgotten to put the post data in the get_unprocessed_cgi
function call.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Jul 22 20:35:05 2002 UTC (21 years, 9 months ago) by stredwic
Branches: MAIN
Diff to previous 1.2: preferred, colored
Changes since revision 1.2: +150 -147 lines
Lonchart is now part of lonstatistics.  When the CHRT button is pressed on
the remote control it will take you to the student assessment page.  In
the next commit or two, the student assessment page and lonchart will
gradually merge, or I will make chart its own report.

I added another perl module, lonhtmlcommon which will contain a series of
functions that create controls and data layouts for various different
pieces of information.  This is just a fledgling module.

The biggest feature of this commit is that the downloading of student course
data has changed slightly.  Now, the classlist will contain all students,
but will only display the appropriate ones.  Different reports require
different amounts of data, so some may only download student course data
when selected and some will download it all at once.  The downloading
will first grab the time stamp on the course.db file for the student and
compare it will the cached timestamp for that file.  It will only do a
dump if the data is not yet cached or the timestamp is newer than the one
stored.  Only when the data is processed is the timestamp update, not
when downloaded.  The Download/Process duo of function work hand in hand.
Calling both will be typical even if there was nothing actually downloaded.

The is now a new form, which is a class list with different information.
This list also contain the timestamp for each student, when their course
data was downloaded last.  Having this page is both informational, and
hopefully will mean that it is not necessary for all the other pages, at least
as defaults.

Each report now has a common header.  There is currently some white space,
but it can be filled.  The header has a refresh button, update all student
data button, a selection of forms and a selection of student status.  The
update all student data button will download all students (active and expired)
for the given course.  This allows someone to come to the entry page(
class list) update all the students while they do stuff and come back.
The two selection boxes are special in that they will update the
document when changed.  The onchange attribute was tested on mac,
linux and pc, for the different browsers.  The only noticed difference
was netscape 4.7 executes the javascript if it you select the same thing,
where all others do not.  Also, the same browser causes the first
button in the form to be pressed when the document.form.submit()
javascript is executed for the onchange of the selection box.

There was other cosmetic changes, but were minor.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jul 17 12:38:25 2002 UTC (21 years, 9 months ago) by stredwic
Branches: MAIN
Diff to previous 1.1: preferred, colored
Changes since revision 1.1: +85 -33 lines
Gather some extra data about the resource tree in ProcessTopLevelMap.  The
problem title and option response information are needed in lonstatistics.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jul 9 15:43:49 2002 UTC (21 years, 9 months ago) by stredwic
Branches: MAIN
Removed general functions for downloading and processing of student course
data from lonchart into loncoursedata.  loncoursedata will be usable in
lonstatistics and perhaps lonspreadsheet.

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>