CVS log for loncom/publisher/testbankimport.pm
Up to [LON-CAPA] / loncom / publisher
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Jul 23 01:09:04 2023 UTC (17 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X,
HEAD
Diff to previous 1.45: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.45: +25 -10
lines
- Breadcrumbs text when displaying/editing resource in Course Authoring Space.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Nov 12 23:08:58 2017 UTC (7 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_msu
Diff to previous 1.44: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.44: +4 -4
lines
- Use three-argument open() to separate file mode from the filename.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Feb 11 19:11:18 2014 UTC (10 years, 10 months ago) by bisitz
Branches: MAIN
CVS tags: version_2_11_2_uiuc,
version_2_11_2_educog,
version_2_11_2,
version_2_11_1,
version_2_11_0_RC3,
version_2_11_0
Diff to previous 1.43: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.43: +7 -4
lines
Internationalization: Added missing &mt() calls
Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Oct 10 00:46:50 2013 UTC (11 years, 2 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_0_RC2
Diff to previous 1.42: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.42: +28 -17
lines
- Support 'a ' and 'A ' (i.e., letter+space) as foil identifiers.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Jul 15 14:32:59 2013 UTC (11 years, 5 months ago) by bisitz
Branches: MAIN
CVS tags: version_2_11_0_RC1
Diff to previous 1.41: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.41: +4 -4
lines
XHTML: JavaScript event handlers in lower case
Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Jul 2 19:04:49 2013 UTC (11 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.40: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.40: +2 -2
lines
- Disk quotas for authoring spaces.
- Default is 500 MB, unless set at domain level, or individual user level.
- Domain default set via "Blogs, personal web pages, webDAV/quotas, portfolio" in
"Set domain configuration" by DC.
- Quota for individual user's authoring space set via:
"Create users or modify the roles and privileges of users" by DC
- &display_usage() moved from portfolio.pm to lonhtmlcommon.pm to
facilitate re-use. In portfolio.pm &display_portfolio_usage() now calls
lonhtmlcommon::display_usage().
Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Jun 7 16:07:49 2013 UTC (11 years, 6 months ago) by bisitz
Branches: MAIN
Diff to previous 1.39: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.39: +2 -2
lines
- Replace terms: "Construction Space" with "Authoring Space"
for consistency with type of role used to access it, and action taken there.
- de.pm: Update related phrases and remove some duplicate entries
Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Jun 4 22:20:16 2013 UTC (11 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.38: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.38: +3 -3
lines
- Replace term: "Construction Space" with "Authoring Space" for
consistency with type of role used to access it, and action taken there.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Apr 11 14:59:58 2013 UTC (11 years, 8 months ago) by bisitz
Branches: MAIN
Diff to previous 1.37: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.37: +3 -3
lines
Consistent wording: "file name" vs. "filename"
Use "filename" since this is more commonly used.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun Dec 16 20:06:44 2012 UTC (12 years ago) by raeburn
Branches: MAIN
Diff to previous 1.36: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.36: +2 -1
lines
- Essay and T/F return 'ok' if import successful.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Dec 16 19:04:35 2012 UTC (12 years ago) by raeburn
Branches: MAIN
Diff to previous 1.35: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.35: +14 -14
lines
- Localization - HTML mark-up in &mt().
Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Oct 29 17:38:55 2012 UTC (12 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.34: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.34: +2 -3
lines
- &constructaccess() moved from loncacc.pm to lonnet.pm
- to facilitate re-use, and separate from handler,
- for use in lonnet.pm (use Apache::Constants() not supported there.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Nov 14 00:20:31 2011 UTC (13 years, 1 month ago) by raeburn
Branches: MAIN
CVS tags: language_hyphenation_merge,
language_hyphenation,
BZ4492-merge,
BZ4492-feature_horizontal_radioresponse
Diff to previous 1.33: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.33: +2 -2
lines
- &authorspace() routine now takes an argument: $uri
so "Construction Space" breadcrumb points at appropriate author space
for resource/directory being viewed or acted om.
- current role could be different or ("no role" - i.e., cm), so is only
used to determine authorspace when $uri is unavailable.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Nov 2 23:43:37 2011 UTC (13 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.32: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.32: +58 -66
lines
- Clean-up for bug 1320.
- Restore support for import of testbanks to Construction Space.
- Eliminate unused arg - $uname - in &display_zero(), &display_one()
&display_two(), &display_three(), &final_display(), &parse_datafile,
&file_error, &page_footer().
- Coding style
- URL of directory containing testbank file now consistently identified
as scalar: $webpath.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Oct 31 01:25:32 2011 UTC (13 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.31: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.31: +3 -4
lines
- loncacc::constructaccess() args changed in rev 1.55.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Oct 23 01:27:34 2011 UTC (13 years, 2 months ago) by www
Branches: MAIN
Diff to previous 1.30: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.30: +5 -6
lines
... bug 1320 ...
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Mar 5 22:25:09 2011 UTC (13 years, 9 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_10_X,
version_2_10_1,
loncapaMITrelate_1
Diff to previous 1.29: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.29: +6 -2
lines
- Bug 6157.
- Parameter for maxtries automatically set to 2 when creating
radiobuttonresponse from testbank import of MC (Multiple Choice)
question (same default as used in radiobuttonresponse template).
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Jan 31 17:49:13 2011 UTC (13 years, 10 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_10_0
Diff to previous 1.28: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.28: +2 -1
lines
- Reverse one change in 1.27, so "Next Page" button will be displayed
when plain text testbank file has been uploaded.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Tue Dec 14 16:26:04 2010 UTC (14 years ago) by www
Branches: MAIN
CVS tags: version_2_10_0_RC2
Diff to previous 1.27: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.27: +2 -2
lines
That we are a co-author is additional information, not a warning
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Nov 28 00:04:10 2010 UTC (14 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.26: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.26: +23 -7
lines
- Work on upload of HTML file with references to embedded objects etc.
- Replace &process_secondary_uploads() in londocs with general purpose routines
in loncommon.pm.
- More comprehensive feedback on reference detection.
- Reference updates in HTML file for changed paths originally only available
for upload of HTML file in course, now available for uploads in all contexts.
- Directory traversal in original HTML file via ../ etc. accommodated.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Nov 27 22:43:32 2010 UTC (14 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.25: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.25: +40 -6
lines
- Breadcrumbs for testbank import to Construction Space.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Nov 30 16:53:54 2009 UTC (15 years ago) by bisitz
Branches: MAIN
CVS tags: version_2_9_99_0,
version_2_10_0_RC1,
bz6209-base,
bz6209,
PRINT_INCOMPLETE_base,
PRINT_INCOMPLETE,
GCI_3
Diff to previous 1.24: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.24: +7 -18
lines
Replaced local topic_bar by standard topic_bar (lonhtmlcommon.pm)
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu May 14 14:24:18 2009 UTC (15 years, 7 months ago) by bisitz
Branches: MAIN
CVS tags: version_2_9_X,
version_2_9_1,
version_2_9_0,
version_2_8_99_1,
version_2_8_99_0,
bz5969,
bz2851,
GCI_2,
BZ5971-printing-apage
Diff to previous 1.23: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.23: +2 -2
lines
Don't translate separator character between and domain.
Advantages: No need to change the translation files, if...
- different separator character should be used
- different output is wanted, e.g. just username, plainname, both, etc.
- different style should be used for output
(work in progress to make this even more flexible by introducing a global function usernamewrapper)
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed May 6 13:13:00 2009 UTC (15 years, 7 months ago) by bisitz
Branches: MAIN
CVS tags: BZ5434-fox
Diff to previous 1.22: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.22: +5 -5
lines
- Corrected two typos in HTML attribute "checked" (leading quotation mark not allowed)
- XHTML conform checked and selected <input> attributes
- Eliminate white space between HTML attribute and value
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon May 4 16:46:05 2009 UTC (15 years, 7 months ago) by bisitz
Branches: MAIN
Diff to previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3
lines
XHTML:
- XHTML conform <img> tag closure
- Added some missing alt attributes to <img>
Revision
1.21:
download - view:
text,
markup,
annotated -
[selected for diffs]
Sat Apr 4 21:45:57 2009 UTC (15 years, 8 months ago) by
bisitz
Branches:
MAIN
Diff to previous 1.20:
preferred,
colored
Changes since revision 1.20: +7 -7
lines
XHTML conform tags (input, br, hr)
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Mar 26 16:50:12 2009 UTC (15 years, 9 months ago) by bisitz
Branches: MAIN
Diff to previous 1.19: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.19: +4 -3
lines
Optimized Co-Author warnings:
- Replaced error style by warning style which fits much better here
- Don't use headline tag anymore as style to highlight message
- Optimized &mt usage
- Consistent/standard output of username:domain
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Dec 19 03:53:00 2008 UTC (16 years ago) by raeburn
Branches: MAIN
CVS tags: version_2_8_X,
version_2_8_2,
version_2_8_1,
version_2_8_0,
version_2_7_99_1,
version_2_7_99_0,
GCI_1
Diff to previous 1.18: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.18: +2 -2
lines
- Regular Expressions for both http and https.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Sep 24 19:48:29 2008 UTC (16 years, 3 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_7_X,
version_2_7_1
Diff to previous 1.17: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.17: +21 -13
lines
- Store embedded images in a directory named with current timestamp to avoid overwriting existing files with the same name when importing a testbank RTF file.
- Set uri used in <img> tag for embedded images in testbank RTF translated to HTML to a relative URL instead of an absolute URL.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Sep 22 01:53:33 2008 UTC (16 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.16: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.16: +13 -7
lines
- Provide information about file type of uploaded testbank file, if format was not identified as plain text, RTF or HTML.
- Prevent ISE by allowing &file_error() to retrieve arguments passed to it.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Jul 8 07:17:46 2008 UTC (16 years, 5 months 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.15: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.15: +2 -2
lines
- Make textarea used to display contents of uploaded testbank file readonly.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Jun 17 13:00:19 2008 UTC (16 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.14: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.14: +941 -920
lines
Bug 5727. Testbank import now accepts RTF and HTML formatted files, so text formatting (e.g., superscript, subscript etc. are preserved). Images embedded in the page will also be preserved:
(i) for RTF documents, the images are extracted from the RTF using RTF::HTMLConverter
(ii) for HTML documents, user will be prompted to upload images referenced in file during the initial file upload.
- font tags eliminated
- datatable functions form loncommon replace table tags
- "Create directory" moved from penultimate page to first page, and now optional.
- File names to be used for individual problems can be set by user
- User can choose which of the problems identified in the testbank are to be converted
Some perl modules from CPAN are used: File::Magic, XML::DOM and RTF::HTMLConverter. A new LONCAPA-prerequisites.rpm will be built, rpms will be created for these modules, and added to the repositories in msu/testing/
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Jun 5 01:24:59 2008 UTC (16 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.13: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.13: +72 -14
lines
- Stop processing of testbanks containing ranking/ordering question types causing an ISE.
- Also, ranking/ordering testbank questions may now contain multiple foils with the same rank (identified in the answers with an equals sign - e.g., (b),(e)=(a),(d),(c) ).
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Apr 17 15:58:45 2008 UTC (16 years, 8 months ago) by raeburn
Branches: MAIN
Diff to previous 1.12: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.12: +3 -1
lines
Add tags to wrap around answer text.
- part of bug 5332.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed May 2 01:34:23 2007 UTC (17 years, 8 months ago) by albertel
Branches: MAIN
CVS tags: version_2_6_X,
version_2_6_3,
version_2_6_2,
version_2_6_1,
version_2_6_0,
version_2_5_X,
version_2_5_99_1,
version_2_5_99_0,
version_2_5_2,
version_2_5_1,
version_2_5_0,
version_2_4_X,
version_2_4_99_0,
version_2_4_2,
version_2_4_1,
version_2_4_0,
version_2_3_99_0
Diff to previous 1.11: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.11: +5 -5
lines
- switch Store to Save
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Dec 6 22:22:39 2006 UTC (18 years ago) by albertel
Branches: MAIN
CVS tags: version_2_3_X,
version_2_3_2,
version_2_3_1,
version_2_3_0,
version_2_2_99_1,
version_2_2_99_0
Diff to previous 1.10: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.10: +3 -2
lines
- more re fix ups
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Apr 10 22:30:31 2006 UTC (18 years, 8 months ago) by albertel
Branches: MAIN
CVS tags: version_2_2_X,
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
Diff to previous 1.9: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.9: +12 -7
lines
- rest of the add_entries conversion
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Apr 6 22:15:19 2006 UTC (18 years, 8 months ago) by albertel
Branches: MAIN
Diff to previous 1.8: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.8: +2 -2
lines
- start_page
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Apr 6 19:31:03 2006 UTC (18 years, 8 months ago) by albertel
Branches: MAIN
Diff to previous 1.7: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.7: +21 -12
lines
- start_page
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Nov 8 17:58:35 2005 UTC (19 years, 1 month 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.6: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.6: +1 -2
lines
- eliminating the inclusion of Apache::Log (it annoys Apache 2 and aache 1 doesn't need it)
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Apr 7 06:56:27 2005 UTC (19 years, 8 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,
version_1_99_1_tmcc,
version_1_99_1,
version_1_99_0_tmcc,
version_1_99_0
Diff to previous 1.5: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.5: +49 -49
lines
- ENV -> env
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Aug 5 21:08:24 2004 UTC (20 years, 4 months ago) by raeburn
Branches: MAIN
CVS tags: version_1_3_X,
version_1_3_3,
version_1_3_2,
version_1_3_1,
version_1_3_0,
version_1_2_X,
version_1_2_99_1,
version_1_2_99_0,
version_1_2_1,
version_1_2_0,
version_1_1_99_5,
version_1_1_99_4
Diff to previous 1.4: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.4: +45 -12
lines
Fix bugs 3272, 3273, 3275. Support for more formats and multiple spaces between foil identifiers and foils in testbank file.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Apr 23 22:42:05 2004 UTC (20 years, 8 months ago) by raeburn
Branches: MAIN
CVS tags: version_1_1_99_3,
version_1_1_99_2,
version_1_1_99_1,
version_1_1_99_0
Diff to previous 1.3: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.3: +3 -3
lines
Fix lowercasing of testbank answers.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Feb 20 18:18:27 2004 UTC (20 years, 10 months ago) by albertel
Branches: MAIN
Diff to previous 1.2: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.2: +36 -10
lines
- GPL headers
- retabinate
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Feb 18 21:50:00 2004 UTC (20 years, 10 months ago) by raeburn
Branches: MAIN
Diff to previous 1.1: preferred, colored to selected 1.21: preferred, colored
Changes since revision 1.1: +5 -5
lines
Corrected method for setting tolerance for numerical response built from fill-in-blank.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Feb 17 23:03:34 2004 UTC (20 years, 10 months ago) by raeburn
Branches: MAIN
Diff to selected 1.21: preferred, colored
Utility to convert testbank questions to LON-CAPA problems. Localization still required.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>