CVS log for loncom/metadata_database/parse_activity_log.pl
Up to [LON-CAPA] / loncom / metadata_database
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Nov 21 07:26:02 2024 UTC (4 weeks, 6 days ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X,
HEAD
Diff to previous 1.25: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.25: +4 -2
lines
- Where session launch was via LTI-mediated deep-linking from another CMS
and launch payload included URL and uniqueID for return of score:
(a) successful score transfer
- logged in course's activity log (action = EXPORT)
- passback information stored in student's $cdom_$cnum_lp_passback.db
(b) unsuccessful score transfer
- logged in student's activity log and lonnet.log
- passback information stored in course's linkprot_passback_pending.db
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Nov 24 02:36:34 2014 UTC (10 years, 1 month ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_X,
version_2_11_5_msu,
version_2_11_5,
version_2_11_4_uiuc,
version_2_11_4_msu,
version_2_11_4,
version_2_11_3_uiuc,
version_2_11_3_msu,
version_2_11_3,
version_2_11_2_uiuc,
version_2_11_2_msu,
version_2_11_2_educog,
version_2_11_2,
version_2_11_1
Diff to previous 1.24: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.24: +4 -2
lines
- Bug 6740 Out-of-order recording of submissions (by time).
- Check for new transactions made immediately before call to lonnet::cstore()
&Apache::inputtags::hidealldata() called if correct then incorrect,
where awarded >= 1 when correct (feedback on correctness enabled).
- Check for transactions made immediately after call to lonnet::cstore()
if reply from lond::store_handler() is delay:N (where N s the number of
transactions between the last retrieved in &initialize_storage() and the
last stored immediately before permanent storage of the current transaction.
&Apache::grades::makehidden() called if correct then incorrect,
where awarded >= 1 when correct (feedback on correctness enabled).
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Apr 8 07:10:10 2006 UTC (18 years, 8 months ago) by albertel
Branches: MAIN
CVS tags: version_2_9_X,
version_2_9_99_0,
version_2_9_1,
version_2_9_0,
version_2_8_X,
version_2_8_99_1,
version_2_8_99_0,
version_2_8_2,
version_2_8_1,
version_2_8_0,
version_2_7_X,
version_2_7_99_1,
version_2_7_99_0,
version_2_7_1,
version_2_7_0,
version_2_6_X,
version_2_6_99_1,
version_2_6_99_0,
version_2_6_3,
version_2_6_2,
version_2_6_1,
version_2_6_0,
version_2_5_X,
version_2_5_99_1,
version_2_5_99_0,
version_2_5_2,
version_2_5_1,
version_2_5_0,
version_2_4_X,
version_2_4_99_0,
version_2_4_2,
version_2_4_1,
version_2_4_0,
version_2_3_X,
version_2_3_99_0,
version_2_3_2,
version_2_3_1,
version_2_3_0,
version_2_2_X,
version_2_2_99_1,
version_2_2_99_0,
version_2_2_2,
version_2_2_1,
version_2_2_0,
version_2_1_99_3,
version_2_1_99_2,
version_2_1_99_1,
version_2_1_99_0,
version_2_11_0_RC3,
version_2_11_0_RC2,
version_2_11_0_RC1,
version_2_11_0,
version_2_10_X,
version_2_10_1,
version_2_10_0_RC2,
version_2_10_0_RC1,
version_2_10_0,
loncapaMITrelate_1,
language_hyphenation_merge,
language_hyphenation,
bz6209-base,
bz6209,
bz5969,
bz2851,
PRINT_INCOMPLETE_base,
PRINT_INCOMPLETE,
GCI_3,
GCI_2,
GCI_1,
BZ5971-printing-apage,
BZ5434-fox,
BZ4492-merge,
BZ4492-feature_horizontal_radioresponse
Diff to previous 1.23: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.23: +4 -6
lines
-removing non-functional use Apache2::compat
- removing extraneous uses
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Mar 30 06:57:50 2006 UTC (18 years, 9 months ago) by albertel
Branches: MAIN
CVS tags: version_2_1_X,
version_2_1_3
Diff to previous 1.22: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.22: +2 -2
lines
- max_row_count was never actually being intialized
Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Mar 30 05:29:01 2006 UTC (18 years, 9 months ago) by albertel
Branches: MAIN
Diff to previous 1.21: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.21: +2 -2
lines
- I can't believe Matthew did this. I feel very embarrassed for him. :-)
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Nov 15 20:52:02 2005 UTC (19 years, 1 month ago) by albertel
Branches: MAIN
CVS tags: version_2_1_2,
version_2_1_1,
version_2_1_0,
version_2_0_99_1
Diff to previous 1.20: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.20: +4 -2
lines
- safely try to pull in the compat enviironment where needed
Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Sep 20 18:01:01 2005 UTC (19 years, 3 months ago) by matthew
Branches: MAIN
CVS tags: version_2_0_X,
version_2_0_2
Diff to previous 1.19: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.19: +22 -9
lines
Use the same mechanism for logging chunks to store chunks from unparseable
log lines.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Sep 20 17:49:51 2005 UTC (19 years, 3 months ago) by matthew
Branches: MAIN
Diff to previous 1.18: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.18: +18 -13
lines
Better fix for last commit - if a $chunk is over 20k in length, store it
in a file, "activity.log.unprocessed_chunks", and skip inserting it into the
database.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Sep 20 16:50:40 2005 UTC (19 years, 3 months ago) by matthew
Branches: MAIN
Diff to previous 1.17: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.17: +14 -1
lines
Deal with uploaded files being stored in the activity.log by skipping them.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Sep 19 20:30:37 2005 UTC (19 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.16: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.16: +5 -3
lines
- typo fix
- calling &clean_up_and_ext() when we don;'t have the lock ends up deleting the file we have a lock on...
Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Sep 19 18:31:57 2005 UTC (19 years, 3 months ago) by matthew
Branches: MAIN
Diff to previous 1.15: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.15: +46 -50
lines
Now hold exclusive lock on activity.log.lock until script exits, and if unable
to lock throw a warning and exit.
Added &clean_up_and_exit to attempt to make sure we die gracefully.
Fixed bug with $newfilename not being set properly (scoping issue).
get_id now uses $dbh->{'mysql_insertid'} to grab the last updated auto-increment column value.
&load_backup_xml_tables now uses $dbh->quote to quote values properly
&xml_store_id_table also uses $dbh->quote as well.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Jul 11 05:16:19 2005 UTC (19 years, 5 months ago) by matthew
Branches: MAIN
CVS tags: version_2_0_1,
version_2_0_0,
version_1_99_3,
version_1_99_2
Diff to previous 1.14: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.14: +108 -30
lines
Read xml from a file using a regexp match intead of parsing the XML.
Made xml file an input parameter.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Mar 31 22:09:40 2005 UTC (19 years, 9 months ago) by matthew
Branches: MAIN
CVS tags: version_1_99_1_tmcc,
version_1_99_1,
version_1_99_0_tmcc,
version_1_99_0
Diff to previous 1.13: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.13: +285 -150
lines
Saves data in "xml" format. More to come.
Reworked process_courselog SQL insert code to use an accumulator so we can
use the same code to do inserts when loading xml data.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Feb 9 21:54:15 2005 UTC (19 years, 10 months ago) by matthew
Branches: MAIN
Diff to previous 1.12: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.12: +2 -2
lines
Fix comment.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Feb 9 21:24:33 2005 UTC (19 years, 10 months ago) by matthew
Branches: MAIN
Diff to previous 1.11: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.11: +36 -25
lines
Many changes:
corrected help text
changed command line option 'drop' to 'dropwhendone'
allow user to specify the name of the logfile
call lonmysql::fix_table_name
remove zero length files when done processing
use "--quote-names " with mysqldump
increase the amount of logging when table creation fails
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Dec 22 20:42:39 2004 UTC (20 years ago) by matthew
Branches: MAIN
CVS tags: version_1_3_X,
version_1_3_3,
version_1_3_2,
version_1_3_1,
version_1_3_0
Diff to previous 1.10: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.10: +10 -4
lines
Change storage of POST values to escape them and join with '&'. Also modified
error logging to use '&' instead of ':' as a delimiter.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Dec 22 19:25:42 2004 UTC (20 years ago) by matthew
Branches: MAIN
Diff to previous 1.9: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.9: +2 -2
lines
Use delimiters and escape for @values stored in db.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Dec 22 14:58:15 2004 UTC (20 years ago) by matthew
Branches: MAIN
Diff to previous 1.8: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.8: +10 -4
lines
More exit codes.
Re-included "use lib '/home/httpd/lib/perl/Apache';" because it doesn't
work without it :(
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Dec 20 19:53:36 2004 UTC (20 years ago) by matthew
Branches: MAIN
Diff to previous 1.7: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.7: +53 -28
lines
lonmysql:Added &table_information, which returns the metadata mysql keeps
about the tables.
Modified &update_table_info to turn the MySQL dates (creation,
update, and check times) into unix times.
parse_activity_log.pl: Use LONCAPA::Configuration to set configuration
options instead of the removed subroutine &initialize_configuration
Modified backup handling code - if a table is missing and any of the
current tables has been modified since the backup file was written,
back up the current tables (even though one or more is missing) to
a filename what will not be overwritten automatically, just to
be sure no data is being lost.
&load_backup_tables: Now actually use the filename we pass in instead of
hard coding a file which may not actually exist.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Dec 16 19:29:20 2004 UTC (20 years ago) by matthew
Branches: MAIN
Diff to previous 1.6: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.6: +14 -3
lines
Added file locking.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Dec 16 15:03:29 2004 UTC (20 years ago) by matthew
Branches: MAIN
Diff to previous 1.5: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.5: +18 -15
lines
Gzip activity log backup files.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Sep 15 21:11:06 2004 UTC (20 years, 3 months ago) by matthew
Branches: MAIN
CVS tags: version_1_2_99_1,
version_1_2_99_0
Diff to previous 1.4: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.4: +7 -3
lines
Added option to make a backup of the activity.log.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Aug 25 15:55:17 2004 UTC (20 years, 4 months ago) by matthew
Branches: MAIN
Diff to previous 1.3: preferred, unified to selected 1.2: preferred, unified
Changes since revision 1.3: +37 -29
lines
Removed $action_table as MySQL really did not like doing joins with it.
logfile now appears in the lonDaemons directory. Added indicies to
the activity table on the student_id and time columns.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Aug 19 21:08:46 2004 UTC (20 years, 4 months ago) by matthew
Branches: MAIN
Diff to previous 1.2: preferred, unified
Changes since revision 1.2: +78 -46
lines
Fix bug where it would read in the entirety of the activities table
instead of just reading in the id tables.
Revision
1.2:
download - view:
text,
markup,
annotated -
[selected for diffs]
Wed Aug 18 19:33:27 2004 UTC (20 years, 4 months ago) by
matthew
Branches:
MAIN
Diff to previous 1.1:
preferred,
unified
Changes since revision 1.1: +117 -27
lines
Added logging code.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Aug 11 18:37:23 2004 UTC (20 years, 4 months ago) by matthew
Branches: MAIN
Diff to selected 1.2: preferred, unified
Moved from modules/matthew to main LONCAPA directory structure.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>