CVS log for loncom/interface/coursecatalog.pm

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.88.2.9: download - view: text, markup, annotated - select for diffs
Sun Dec 12 21:47:58 2021 UTC (2 years, 4 months ago) by raeburn
Branches: version_2_11_X
CVS tags: version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4
Diff to previous 1.88.2.8: preferred, colored next main 1.89: preferred, colored
Changes since revision 1.88.2.8: +24 -18 lines
- For 2.11
  Backport 1.103, 1.104

Revision 1.88.2.8: download - view: text, markup, annotated - select for diffs
Sun Jun 20 17:49:08 2021 UTC (2 years, 10 months ago) by raeburn
Branches: version_2_11_X
Diff to previous 1.88.2.7: preferred, colored
Changes since revision 1.88.2.7: +39 -6 lines
- For 2.11
  Backport 1.105

Revision 1.105: download - view: text, markup, annotated - select for diffs
Tue Jun 15 20:52:26 2021 UTC (2 years, 10 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X, HEAD
Diff to previous 1.104: preferred, colored
Changes since revision 1.104: +39 -6 lines
- Support customization in localenroll.pm to eliminate ambiguity in extraction
  of institutional section from institutional course section for automated
  enrollment.

Revision 1.104: download - view: text, markup, annotated - select for diffs
Fri Apr 30 18:19:41 2021 UTC (2 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.103: preferred, colored
Changes since revision 1.103: +9 -8 lines
- Bug 6914
  Make $hostname available for passing to &Apache::lonnet::waf_allssl() to
  check whether access was via WAF alias, and WAF forwards both http + https
  requests to https (if so, skip usehttp=1 for 'http' externalsyllabus).

Revision 1.103: download - view: text, markup, annotated - select for diffs
Thu Apr 29 17:45:22 2021 UTC (2 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.102: preferred, colored
Changes since revision 1.102: +17 -12 lines
- Bug 6914
  Update domain config UI to support settings documented in
  Domain_Configuration_WAF_Proxy.tex

Revision 1.88.2.7: download - view: text, markup, annotated - select for diffs
Fri Aug 2 00:24:02 2019 UTC (4 years, 8 months 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.88.2.6: preferred, colored
Changes since revision 1.88.2.6: +2 -2 lines
- For 2.11
  Correction to 1.88.2.5 backport of 1.101

Revision 1.88.2.6: download - view: text, markup, annotated - select for diffs
Fri Jul 26 20:38:43 2019 UTC (4 years, 9 months ago) by raeburn
Branches: version_2_11_X
Diff to previous 1.88.2.5: preferred, colored
Changes since revision 1.88.2.5: +34 -9 lines
- For 2.11
  Backport 1.91, 1.92, 1.98

Revision 1.88.2.5: download - view: text, markup, annotated - select for diffs
Fri Jul 26 15:32:34 2019 UTC (4 years, 9 months ago) by raeburn
Branches: version_2_11_X
Diff to previous 1.88.2.4: preferred, colored
Changes since revision 1.88.2.4: +223 -22 lines
- For 2.11
  Backport 1.99, 1.100, 1.101, 1.102

Revision 1.102: download - view: text, markup, annotated - select for diffs
Tue Jul 23 13:58:53 2019 UTC (4 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.101: preferred, colored
Changes since revision 1.101: +8 -19 lines
- Self-cataloging of courses based on institutional code is cached for 1 hour.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Tue Jul 23 01:30:35 2019 UTC (4 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.100: preferred, colored
Changes since revision 1.100: +21 -28 lines
- Course categories defined in a domain are cached for 1 hour.
- Devalidate cats cache for domain if categories changed by DC.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Sun Jul 21 14:26:02 2019 UTC (4 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.99: preferred, colored
Changes since revision 1.99: +2 -2 lines
- Typo

Revision 1.99: download - view: text, markup, annotated - select for diffs
Sun Jul 21 14:04:39 2019 UTC (4 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.98: preferred, colored
Changes since revision 1.98: +222 -3 lines
- Input validation.

Revision 1.88.2.4: download - view: text, markup, annotated - select for diffs
Fri Jul 19 13:18:27 2019 UTC (4 years, 9 months ago) by raeburn
Branches: version_2_11_X
Diff to previous 1.88.2.3: preferred, colored
Changes since revision 1.88.2.3: +102 -11 lines
- For 2.11
  Backport 1.96

Revision 1.98: download - view: text, markup, annotated - select for diffs
Thu Dec 27 20:10:31 2018 UTC (5 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.97: preferred, colored
Changes since revision 1.97: +7 -3 lines
- For servers using Apache/SSL where External Resource points at http:// URL
  or syllabus is configured to use an external http:// URL, query string for
  links contains usehttp=1, unless server has Strict-Transport-Security set
  for Apache with max-age > 0.

Revision 1.88.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 16 03:19:47 2018 UTC (5 years, 4 months ago) by raeburn
Branches: version_2_11_X
CVS tags: version_2_11_2_msu
Diff to previous 1.88.2.2: preferred, colored
Changes since revision 1.88.2.2: +1 -2 lines
- For 2.11
  - Backport 1.97

Revision 1.97: download - view: text, markup, annotated - select for diffs
Sun Dec 16 03:17:07 2018 UTC (5 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.96: preferred, colored
Changes since revision 1.96: +1 -2 lines
- Unused after changes in rev. 1.95

Revision 1.96: download - view: text, markup, annotated - select for diffs
Tue Sep 18 02:18:43 2018 UTC (5 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.95: preferred, colored
Changes since revision 1.95: +103 -12 lines
- Ensure catalog_maxdepth form element has an appropriate (integer) value.

Revision 1.88.2.2: download - view: text, markup, annotated - select for diffs
Sun Apr 29 00:31:25 2018 UTC (5 years, 11 months ago) by raeburn
Branches: version_2_11_X
Diff to previous 1.88.2.1: preferred, colored
Changes since revision 1.88.2.1: +17 -11 lines
- For 2.11
  Backport 1.95

Revision 1.95: download - view: text, markup, annotated - select for diffs
Thu Feb 1 04:51:02 2018 UTC (6 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.94: preferred, colored
Changes since revision 1.94: +17 -11 lines
- Checking if enrollment data can be accessed for a course uses a single
  call to localenroll::check_instclasses(), mediated via lonnet/lond.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Tue Aug 8 15:32:30 2017 UTC (6 years, 8 months ago) by raeburn
Branches: MAIN
Diff to previous 1.93: preferred, colored
Changes since revision 1.93: +4 -2 lines
- Trust settings.
 - Use more versatile lonnet::will_trust() to determine if session-hosting
   server has catalalog access, according to domain's trust settings.
 - Eliminate lonnet::notcallable() -- no longer used.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Mon Aug 7 20:22:12 2017 UTC (6 years, 8 months ago) by raeburn
Branches: MAIN
Diff to previous 1.92: preferred, colored
Changes since revision 1.92: +16 -4 lines
- Trust Settings
  Check if action is permissible based on trust settings for:
  catalog, domroles, enroll, reqcrs, msg, othcoau, or coaurem for current context.

Revision 1.92: download - view: text, markup, annotated - select for diffs
Mon Feb 20 18:29:22 2017 UTC (7 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.91: preferred, colored
Changes since revision 1.91: +10 -4 lines
- For servers using Apache/SSL, and LON-CAPA syllabus requested is configured
  to use an external http:// URL, links to display of syllabus page use http://
  to avoid mixed active content issue, unless editing the syllabus (in which
  case https:// is used).

Revision 1.91: download - view: text, markup, annotated - select for diffs
Sat Feb 18 23:39:15 2017 UTC (7 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.90: preferred, colored
Changes since revision 1.90: +21 -6 lines
- Append ?usehttp=1 to link to syllabus where LON-CAPA syllabus is configured
  to use external http:// URL, but LON-CAPA server uses https:// to avoid
  mixed active content issue (see also bug 6662).
- Preview of external http:// URL displayed in separate pop-up window
  instead of in modal window on https:// server.

Revision 1.88.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 23 21:21:56 2016 UTC (7 years, 6 months ago) by raeburn
Branches: version_2_11_X
CVS tags: version_2_11_2_uiuc, version_2_11_2_educog, version_2_11_2
Diff to previous 1.88: preferred, colored
Changes since revision 1.88: +11 -7 lines
- For 2.11
  Backport 1.90

Revision 1.90: download - view: text, markup, annotated - select for diffs
Wed Oct 5 13:36:53 2016 UTC (7 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.89: preferred, colored
Changes since revision 1.89: +13 -9 lines
- Detailed course catalog view available to domain helpdesk staff

Revision 1.89: download - view: text, markup, annotated - select for diffs
Mon Apr 4 01:09:47 2016 UTC (8 years ago) by raeburn
Branches: MAIN
Diff to previous 1.88: preferred, colored
Changes since revision 1.88: +41 -14 lines
- Bug 6808. New course container -- "Placement" for Placement Tests.

Revision 1.88: download - view: text, markup, annotated - select for diffs
Tue Jun 9 21:22:55 2015 UTC (8 years, 10 months ago) by damieng
Branches: MAIN
Branch point for: version_2_11_X
Diff to previous 1.87: preferred, colored
Changes since revision 1.87: +2 -1 lines
fixed bug 6782, and escaped most localized messages used in Javascript blocks to make sure bugs like that do not happen again

Revision 1.87: download - view: text, markup, annotated - select for diffs
Tue May 19 18:07:35 2015 UTC (8 years, 11 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_1
Diff to previous 1.86: preferred, colored
Changes since revision 1.86: +3 -3 lines
- xhtml

Revision 1.86: download - view: text, markup, annotated - select for diffs
Mon May 4 15:43:48 2015 UTC (8 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.85: preferred, colored
Changes since revision 1.85: +54 -37 lines
- Display of Course/Community Catalog with enrollment data added to "server
  status" pages for which access can be IP-based or available to specified
  authenticated users (DC role not required).

Revision 1.85: download - view: text, markup, annotated - select for diffs
Sat May 17 23:14:41 2014 UTC (9 years, 11 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_0_RC3, version_2_11_0
Diff to previous 1.84: preferred, colored
Changes since revision 1.84: +4 -1 lines
- Catalog type defaults to 'std' if not set yet in domain configuration.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Mon Apr 28 22:12:55 2014 UTC (9 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.83: preferred, colored
Changes since revision 1.83: +2 -2 lines
- wording change.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Mon Apr 28 14:23:47 2014 UTC (10 years ago) by raeburn
Branches: MAIN
Diff to previous 1.82: preferred, colored
Changes since revision 1.82: +2 -2 lines
- Fix typo.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Mon Apr 28 01:48:04 2014 UTC (10 years ago) by raeburn
Branches: MAIN
Diff to previous 1.81: preferred, colored
Changes since revision 1.81: +197 -45 lines
- Domain configuration to determine course catalog style
  - Type of catalog can be different for authenticated and unauthenticated
    contexts.
  - Options are: No catalog, Look-up of six character code, Standard catalog
                 (with/without domain selector to switch to different domain
                 in cluster).
  - Default is standard course catalog with domain domain selector.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Tue Mar 18 02:03:16 2014 UTC (10 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.80: preferred, colored
Changes since revision 1.80: +6 -2 lines
- satisfy w3c validation.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Mar 17 18:20:32 2014 UTC (10 years, 1 month ago) by bisitz
Branches: MAIN
Diff to previous 1.79: preferred, colored
Changes since revision 1.79: +3 -3 lines
Fixed typos (rev. 1.1, 1.45)

Revision 1.79: download - view: text, markup, annotated - select for diffs
Mon Mar 17 01:48:34 2014 UTC (10 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.78: preferred, colored
Changes since revision 1.78: +6 -3 lines
- satisfy w3c validation.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed Jan 15 18:49:19 2014 UTC (10 years, 3 months ago) by bisitz
Branches: MAIN
Diff to previous 1.77: preferred, colored
Changes since revision 1.77: +26 -29 lines
- Improved and consistent navigation and layout by using actionbox
- Error style for error message
- Simplified code for "no match" message

Revision 1.77: download - view: text, markup, annotated - select for diffs
Mon Dec 30 01:33:21 2013 UTC (10 years, 3 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_0_RC2
Diff to previous 1.76: preferred, colored
Changes since revision 1.76: +2 -2 lines
- Do not split ellipsis from preceding text.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Dec 24 19:15:10 2013 UTC (10 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.75: preferred, colored
Changes since revision 1.75: +6 -5 lines
- New course request type -- textbook.
  - Can assign rights to request this type of course.
  - "textbook" can have different uploaded content quota, default credits etc.
    from official or unofficial course types.
  - Domain Coordinators can specify subject, tile, authors(s) and upload an
    image of the textbook cover.
- Work-in-progress.

Revision 1.58.4.9: download - view: text, markup, annotated - select for diffs
Thu Nov 21 16:34:23 2013 UTC (10 years, 5 months ago) by raeburn
Branches: version_2_10_X
Diff to previous 1.58.4.8: preferred, colored to branchpoint 1.58: preferred, colored next main 1.59: preferred, colored
Changes since revision 1.58.4.8: +8 -1 lines
- For 2.10
  - Backport 1.75.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Nov 20 18:40:09 2013 UTC (10 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.74: preferred, colored
Changes since revision 1.74: +8 -1 lines
- validation

Revision 1.74: download - view: text, markup, annotated - select for diffs
Mon Mar 4 02:33:21 2013 UTC (11 years, 1 month ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_0_RC1
Diff to previous 1.73: preferred, colored
Changes since revision 1.73: +6 -6 lines
- Wording changes.
  - Clarify what "count for past access" means for student counts and totals.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Mar 1 18:09:16 2013 UTC (11 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.72: preferred, colored
Changes since revision 1.72: +76 -18 lines
- Include totals for student credit hours, in DC view when "Show full details"
  checked, if credits enabled for official or unofficial courses.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Wed Jan 23 15:23:19 2013 UTC (11 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.71: preferred, colored
Changes since revision 1.71: +356 -62 lines
- More granular control over what is shown to Domain Coordinator in
  Course Catalog.
- Display totals for unique courses, sections, counts for current,
  future, and past students.
- Counts of "past" students can be based on: (a) default end access date,
  (b) auto-enrollment end date, or (c) active status on a specific date.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu Oct 4 13:41:10 2012 UTC (11 years, 6 months ago) by bisitz
Branches: MAIN
Diff to previous 1.70: preferred, colored
Changes since revision 1.70: +9 -3 lines
Use standard styles (info/warning/error)

Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Apr 18 19:47:36 2012 UTC (12 years ago) by raeburn
Branches: MAIN
Diff to previous 1.69: preferred, colored
Changes since revision 1.69: +3 -3 lines
- Change wording for course catalog headers - only ever one owner, but
  could be multiple co-owners.

Revision 1.58.4.8.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 14 00:29:50 2012 UTC (12 years, 2 months ago) by raeburn
Branches: loncapaMITrelate_1
Diff to previous 1.58.4.8: preferred, colored next main 1.58.4.9: preferred, colored
Changes since revision 1.58.4.8: +10 -8 lines
- Customization for MITrelate
  - No domain selector for catalog if default domain is "relate".

Revision 1.69: download - view: text, markup, annotated - select for diffs
Mon Nov 21 15:42:59 2011 UTC (12 years, 5 months ago) by raeburn
Branches: MAIN
CVS tags: language_hyphenation_merge, language_hyphenation, BZ4492-merge, BZ4492-feature_horizontal_radioresponse
Diff to previous 1.68: preferred, colored
Changes since revision 1.68: +3 -3 lines
- Bug 6470. Wording change.

Revision 1.58.4.8: download - view: text, markup, annotated - select for diffs
Mon Oct 3 01:35:46 2011 UTC (12 years, 6 months ago) by raeburn
Branches: version_2_10_X
CVS tags: version_2_10_1
Branch point for: loncapaMITrelate_1
Diff to previous 1.58.4.7: preferred, colored to branchpoint 1.58: preferred, colored
Changes since revision 1.58.4.7: +1 -2 lines
- Backport 1.68.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Fri Feb 25 05:52:03 2011 UTC (13 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.67: preferred, colored
Changes since revision 1.67: +1 -2 lines
- Remove hidden form element that is never used.

Revision 1.58.4.7: download - view: text, markup, annotated - select for diffs
Tue Jan 25 09:46:43 2011 UTC (13 years, 3 months ago) by raeburn
Branches: version_2_10_X
CVS tags: version_2_10_0
Diff to previous 1.58.4.6: preferred, colored to branchpoint 1.58: preferred, colored
Changes since revision 1.58.4.6: +3 -3 lines
- Backport 1.67.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Jan 25 02:49:42 2011 UTC (13 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.66: preferred, colored
Changes since revision 1.66: +3 -3 lines
- Eventual implementation of storage of co-owners in nohist_courseids.db
  (LON-CAPA 2.9.0) was to store as comma separated list, not as anonymous array.

Revision 1.58.4.6: download - view: text, markup, annotated - select for diffs
Wed Dec 22 04:14:09 2010 UTC (13 years, 4 months ago) by raeburn
Branches: version_2_10_X
CVS tags: version_2_10_0_RC2
Diff to previous 1.58.4.5: preferred, colored to branchpoint 1.58: preferred, colored
Changes since revision 1.58.4.5: +8 -2 lines
- Backport 1.66.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Dec 20 22:56:56 2010 UTC (13 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.65: preferred, colored
Changes since revision 1.65: +8 -2 lines
- Bug 5558 (comment 12).
  - Display end date for self-enrollment once self-enrollment is available.

Revision 1.58.4.5: download - view: text, markup, annotated - select for diffs
Thu Oct 7 14:47:59 2010 UTC (13 years, 6 months ago) by raeburn
Branches: version_2_10_X
Diff to previous 1.58.4.4: preferred, colored to branchpoint 1.58: preferred, colored
Changes since revision 1.58.4.4: +2 -2 lines
- Backport 1.65.

Revision 1.53.4.7: download - view: text, markup, annotated - select for diffs
Thu Oct 7 14:45:04 2010 UTC (13 years, 6 months ago) by raeburn
Branches: version_2_9_X
CVS tags: version_2_9_1
Diff to previous 1.53.4.6: preferred, colored to branchpoint 1.53: preferred, colored next main 1.54: preferred, colored
Changes since revision 1.53.4.6: +2 -2 lines
- Backport 1.65.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Thu Oct 7 14:41:49 2010 UTC (13 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.64: preferred, colored
Changes since revision 1.64: +2 -2 lines
- Bug 6381.

Revision 1.58.4.4: download - view: text, markup, annotated - select for diffs
Thu Sep 30 12:01:14 2010 UTC (13 years, 6 months ago) by raeburn
Branches: version_2_10_X
Diff to previous 1.58.4.3: preferred, colored to branchpoint 1.58: preferred, colored
Changes since revision 1.58.4.3: +1 -2 lines
- Fix to 1.58.4.3 backport.
 - Delete one more line.

Revision 1.58.4.3: download - view: text, markup, annotated - select for diffs
Tue Sep 14 03:10:00 2010 UTC (13 years, 7 months ago) by raeburn
Branches: version_2_10_X
Diff to previous 1.58.4.2: preferred, colored to branchpoint 1.58: preferred, colored
Changes since revision 1.58.4.2: +1 -4 lines
- Backport 1.64.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Tue Sep 7 03:00:38 2010 UTC (13 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.63: preferred, colored
Changes since revision 1.63: +1 -5 lines
- Eliminate duplicate inline menu when showing course details for official course.

Revision 1.53.4.6: download - view: text, markup, annotated - select for diffs
Fri Aug 20 03:59:11 2010 UTC (13 years, 8 months ago) by raeburn
Branches: version_2_9_X
Diff to previous 1.53.4.5: preferred, colored to branchpoint 1.53: preferred, colored
Changes since revision 1.53.4.5: +2 -2 lines
- Backport 1.61.

Revision 1.58.4.2: download - view: text, markup, annotated - select for diffs
Sat Aug 14 02:00:27 2010 UTC (13 years, 8 months ago) by raeburn
Branches: version_2_10_X
CVS tags: version_2_10_0_RC1
Diff to previous 1.58.4.1: preferred, colored to branchpoint 1.58: preferred, colored
Changes since revision 1.58.4.1: +20 -16 lines
- Backport 1.63.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Jul 8 23:19:19 2010 UTC (13 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.62: preferred, colored
Changes since revision 1.62: +20 -16 lines
- Bug 6333.
  Ensure that form element names for select boxes for institutional codes
  are always named Year, Semester, Department, Number, for consistency with
  names used in javascript to update select box items dynamically.
  - Names of categories in domain from localenroll::instcode_format():
    codetitles array can differ from these form element names.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Jun 8 16:37:20 2010 UTC (13 years, 10 months ago) by bisitz
Branches: MAIN
Diff to previous 1.61: preferred, colored
Changes since revision 1.61: +2 -5 lines
Removed leftovers of already removed alternative login mode (accessibility).

Revision 1.58.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 14:49:22 2010 UTC (13 years, 10 months ago) by raeburn
Branches: version_2_10_X
Diff to previous 1.58: preferred, colored
Changes since revision 1.58: +50 -18 lines
- Backport 1.60, 1.61.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun May 30 14:17:04 2010 UTC (13 years, 10 months ago) by raeburn
Branches: MAIN
Diff to previous 1.60: preferred, colored
Changes since revision 1.60: +2 -2 lines
- Second declaration for $brtextone should be for $brtexttwo.

Revision 1.53.4.5: download - view: text, markup, annotated - select for diffs
Wed Apr 14 18:58:37 2010 UTC (14 years ago) by raeburn
Branches: version_2_9_X
CVS tags: version_2_9_0, version_2_8_99_1
Diff to previous 1.53.4.4: preferred, colored to branchpoint 1.53: preferred, colored
Changes since revision 1.53.4.4: +50 -17 lines
- Backport 1.60.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Apr 4 15:38:34 2010 UTC (14 years ago) by raeburn
Branches: MAIN
CVS tags: PRINT_INCOMPLETE_base, PRINT_INCOMPLETE
Diff to previous 1.59: preferred, colored
Changes since revision 1.59: +50 -17 lines
- C(c)ourse -> C(c)ommunity if listing Communities in Catalog.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Mar 22 20:11:22 2010 UTC (14 years, 1 month ago) by droeschl
Branches: MAIN
Diff to previous 1.58: preferred, colored
Changes since revision 1.58: +3 -7 lines
In process of removing remote control, remote navmap and different icon modes code
- removed no_inline_link argument from loncommon::start_page, loncommon::bodytag
- removed subs
    o loncommon::head: it wasn't used
    o loncommon::endheadtag: functionality now covered by loncommon::headtag
    o lonmenu::registerurl: functionality moved to loncommon::headtag, because it was the only function that called registerurl
- removed remote control related translations in de.pm
- refactoring and cleanup

Revision 1.53.4.4: download - view: text, markup, annotated - select for diffs
Fri Feb 12 00:21:30 2010 UTC (14 years, 2 months ago) by raeburn
Branches: version_2_9_X
Diff to previous 1.53.4.3: preferred, colored to branchpoint 1.53: preferred, colored
Changes since revision 1.53.4.3: +2 -2 lines
- Change in rev 1.49 not in 2.9.

Revision 1.53.4.3: download - view: text, markup, annotated - select for diffs
Sat Jan 2 23:32:06 2010 UTC (14 years, 3 months ago) by raeburn
Branches: version_2_9_X
Diff to previous 1.53.4.2: preferred, colored to branchpoint 1.53: preferred, colored
Changes since revision 1.53.4.2: +139 -87 lines
- Backport 1.57, 1.58.

Revision 1.53.4.2: download - view: text, markup, annotated - select for diffs
Sat Jan 2 22:34:30 2010 UTC (14 years, 3 months ago) by raeburn
Branches: version_2_9_X
Diff to previous 1.53.4.1: preferred, colored to branchpoint 1.53: preferred, colored
Changes since revision 1.53.4.1: +8 -9 lines
- Backport 1.54, 1.55, 1.56.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon Nov 23 22:02:50 2009 UTC (14 years, 5 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_9_99_0, bz6209-base, bz6209, GCI_3
Branch point for: version_2_10_X
Diff to previous 1.57: preferred, colored
Changes since revision 1.57: +100 -84 lines
- Replace links in catalog trail of categories/sub-categories with select boxes to
  facilitate changing (sub-)category at higher level in hierarchy.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon Nov 23 21:45:18 2009 UTC (14 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.56: preferred, colored
Changes since revision 1.56: +48 -12 lines
- Accommodate Communities
  - Top Level Category: "Communities" defined in system
    (Domain control to hide/unhide).
    - Can only assign communities to this category (and its subcategories).
- Domain Coordinator definition of new top level categories:
   instcode and communities are reserved for system use
   (may not be used for names of additional top level categories).

Revision 1.48.2.2: download - view: text, markup, annotated - select for diffs
Wed Oct 28 17:28:17 2009 UTC (14 years, 6 months ago) by raeburn
Branches: version_2_8_X
CVS tags: version_2_8_2
Diff to previous 1.48.2.1: preferred, colored next main 1.49: preferred, colored
Changes since revision 1.48.2.1: +2 -2 lines
- Backport 1.53.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Oct 23 16:14:43 2009 UTC (14 years, 6 months ago) by bisitz
Branches: MAIN
Diff to previous 1.55: preferred, colored
Changes since revision 1.55: +5 -5 lines
Consistent wording "Course Catalog" -> "Course/Community Catalog"

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Oct 17 01:42:07 2009 UTC (14 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.54: preferred, colored
Changes since revision 1.54: +3 -4 lines
- Part of bug 6078.
- Use "Course/Community Catalog" universally on right side of breadcrumbs for course catalog.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Oct 1 17:24:23 2009 UTC (14 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.53: preferred, colored
Changes since revision 1.53: +2 -2 lines
- @_ not relevant here.

Revision 1.53.4.1: download - view: text, markup, annotated - select for diffs
Thu Aug 13 03:32:47 2009 UTC (14 years, 8 months ago) by raeburn
Branches: version_2_9_X
CVS tags: version_2_8_99_0, GCI_2
Diff to previous 1.53: preferred, colored
Changes since revision 1.53: +2 -2 lines
- Reverse change in 1.52 (not in 2.9.X).

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Jul 31 02:13:05 2009 UTC (14 years, 8 months ago) by raeburn
Branches: MAIN
CVS tags: bz2851
Branch point for: version_2_9_X
Diff to previous 1.52: preferred, colored
Changes since revision 1.52: +2 -2 lines
loncommon.pm
- Rename fifth arg to &select_dom_form() from $autosubmit to $onchange;
- More flexibility - $onchange arg now includes the javascript call executed following an
  onchange event.

coursecatalog.pm
- Replace $nochange arg in loncommon::select_dom_form() with function to execute.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed May 27 16:54:57 2009 UTC (14 years, 11 months ago) by www
Branches: MAIN
CVS tags: bz5969, BZ5971-printing-apage
Diff to previous 1.51: preferred, colored
Changes since revision 1.51: +2 -2 lines
Redesign: no separate accessibility interface, cleaning up a bit

Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri May 1 01:30:08 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
CVS tags: BZ5434-fox
Diff to previous 1.50: preferred, colored
Changes since revision 1.50: +10 -350 lines
Code reuse.
- Following routines: &recurse_options(), &build_javascript(),
                      &javascript_select_filler()
     moved from coursecatalog.pm to courseclassifier.pm for re-use.

- New routines: &instcode_selectors_data(), &build_instcode_selectors
    added to courseclassifier.pm to include code previously in
    coursecatalog::instcode_course_selector() --

- New routine:  &instcode_search_str() added to courseclassifier.pm to include
    code previously in coursecatalog::search_official_courselist().

Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Wed Mar 18 21:03:25 2009 UTC (15 years, 1 month ago) by raeburn
Branches: version_2_8_X
CVS tags: version_2_8_1, GCI_1
Diff to previous 1.48: preferred, colored
Changes since revision 1.48: +7 -3 lines
- Backport 1.50.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Mar 18 20:58:02 2009 UTC (15 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.49: preferred, colored
Changes since revision 1.49: +7 -3 lines
- Missing &mt() on text displayed by JS alert.
- Alert to display depends on current depth in category hierarchy.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Feb 26 16:17:30 2009 UTC (15 years, 2 months ago) by schafran
Branches: MAIN
Diff to previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2 lines
Box title is now the main title of the next page and the link text or the former page title will be set to the subtitle in the near future.
Group: consistent wording

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Feb 7 22:03:45 2009 UTC (15 years, 2 months ago) by raeburn
Branches: MAIN
Branch point for: version_2_8_X
Diff to previous 1.47: preferred, colored
Changes since revision 1.47: +2 -2 lines
- needs "return check_selected();" to prevent form submission.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Feb 7 20:45:27 2009 UTC (15 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.46: preferred, colored
Changes since revision 1.46: +10 -3 lines
loncommon.pm:
&select_dom_form() takes a fifth argument - $autosubmit.  If this is true, the domain selector includes an onchange action which will submit the form containing it.

coursecatalog.pm:
Fifth argument (set to 1) passed to &Apache::loncommon::select_dom_form() unless
 textual interface mode ("Change" button displayed in this case).

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Feb 7 18:15:44 2009 UTC (15 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.45: preferred, colored
Changes since revision 1.45: +57 -24 lines
Streamline the interface for category selection.
- If there is only one category at the top level, automatically pick it (both instcode and custom category cases).
- Text "Main Categories" eliminated in all but one case.
- Button text: "Change" replaced with "Pick main category", Pick subcategory, or  "Show subcategories" as appropriate.
- "Select" option in select box eliminated when there is only one available option.
- "Javascript function: "check_selected" displays alert if "Pick subcategory" button was pushed but not subcategory had been selected.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Feb 7 18:06:19 2009 UTC (15 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.44: preferred, colored
Changes since revision 1.44: +2 -1 lines
- Corner case: Main Categories set to include both "official courses" and one or more custom categories, but there are no courses with institutional codes.
  - Javascript function setCatDepth() needed for Main Categories link was absent in this one case.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Sep 23 20:31:09 2008 UTC (15 years, 7 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_8_0, version_2_7_X, version_2_7_99_1, version_2_7_99_0, version_2_7_1
Diff to previous 1.43: preferred, colored
Changes since revision 1.43: +3 -2 lines
Change the category breadcrumbs symbol from -> to a unicode arrow.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Sep 23 14:41:00 2008 UTC (15 years, 7 months ago) by bisitz
Branches: MAIN
Diff to previous 1.42: preferred, colored
Changes since revision 1.42: +4 -4 lines
Optimized output in course catalog for 'Student Counts' column:
  - Optimized output for no sections and changed German translation correspondingly
  - Corrected German translations for access output

Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Sep 23 13:14:32 2008 UTC (15 years, 7 months ago) by bisitz
Branches: MAIN
Diff to previous 1.41: preferred, colored
Changes since revision 1.41: +15 -12 lines
Localization - Optimized &mt() calls:
  - Excluded HTML tags and white spaces with separator function from &mt() calls
  - Included parameters
  - Re-use already existing translations

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Jul 17 12:00:28 2008 UTC (15 years, 9 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_7_0, version_2_6_99_1
Diff to previous 1.40: preferred, colored
Changes since revision 1.40: +21 -10 lines
- Change link to "Enroll in course" to javascript:ToSelfenroll() which submits linklaunch form.
- Filters used in coursecatalog display passed to selfenroll to allow breadcrumbs there.
- syllabuslaunch form renamed linklaunch form (no longer used for just syllabus).
- &syllabus_javascript() renamed courselink_javascript() - broader use.
- 'courseid' added as another element to exclude from echo of form input to avoid duplicate
   when coming from breadcrumb trail link in self-enroll.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Jul 15 19:43:15 2008 UTC (15 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.39: preferred, colored
Changes since revision 1.39: +32 -11 lines
Provide syllabus page with means to construct breadcrumbs to facilitate return to Catalog after viewing syllabus.
- new subroutine: &syllabus_javascript() includes javascrript to dynamically set form action to URL for syllabus page and to submit form (includes catalog search parameters as hidden input).
- Replace call to &Apache::loncommon::syllabuswrapper() for syllabus link with link including call to javascript:ToSyllabus(cdom,cnum).

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Jul 14 10:24:27 2008 UTC (15 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3 lines
- eliminate duplicate decalarations.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Jul 13 20:13:10 2008 UTC (15 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.37: preferred, colored
Changes since revision 1.37: +6 -5 lines
- Add form action.
- showdom could be passed as an argument in a query string
- unescape() category in subcategories? prompt

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Jul 8 09:23:38 2008 UTC (15 years, 9 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_6_99_0
Diff to previous 1.36: preferred, colored
Changes since revision 1.36: +5 -10 lines
- Add some white space after "Display courses" button.
- setCourseId() and changeSort() javascript functions always available on course listing page

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Jul 7 15:20:18 2008 UTC (15 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.35: preferred, colored
Changes since revision 1.35: +77 -26 lines
- Include extra checkbox "Include subcategories within ", if current category contains subcategories.
- Display of checkboxes used for filter modifiers suppressed when jumping back to "Main Categories" level.
- Category filter sent to lonnet::courseiddump() includes concatenation of current category with contained subcategories (if include subcat. checked), with & separator.
- Form input only echoed with echo_form_input() when displaying details for a single course, to avoid duplicate form elements.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Jul 6 17:59:25 2008 UTC (15 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.34: preferred, colored
Changes since revision 1.34: +61 -30 lines
- Course listings for searches based on categories include categories for each course instead of institutional code.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Jul 4 15:40:04 2008 UTC (15 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.33: preferred, colored
Changes since revision 1.33: +36 -10 lines
- xhtml
- &mt()
- Show access dates for self-enrollers on "details" page if different from general defaults for student access.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Mon Jun 30 04:07:06 2008 UTC (15 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.32: preferred, colored
Changes since revision 1.32: +96 -94 lines
- New subroutine: &additional_filters() generates checkboxes to apply in course
  search (self-enroll only, DC only: display hidden & show all details).
- "Go" buttons for updating domain used for coursecatalog and category to search
  replaced with "Change"
- "Display course" button displayed for both searches for official courses and
  for manually assigned categories.
- Some javascript changes so changeSort() and setCourseId() are available for
  both types of search. copy_filters() function no longer needed.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Jun 27 04:59:45 2008 UTC (15 years, 10 months ago) by raeburn
Branches: MAIN
Diff to previous 1.31: preferred, colored
Changes since revision 1.31: +98 -40 lines
- Checkboxes:
  - Show full details for each course (DC only)
  - Include courses set to be hidden from catalog (DC only)
  - Only show courses which allow self-enrollment
 moved to be available for both display of courses auto-catalogued by institutional code and display of courses catalogued manually.
- Some &mt().

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Jun 20 13:45:12 2008 UTC (15 years, 10 months ago) by bisitz
Branches: MAIN
Diff to previous 1.30: preferred, colored
Changes since revision 1.30: +4 -2 lines
Localization:
Optimized &mt() calls for "Note for students"

Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu May 29 19:58:32 2008 UTC (15 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.29: preferred, colored
Changes since revision 1.29: +13 -6 lines
Display catalog header in case where official classes catalog is being displayed, but there are no courses within this category.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu May 29 06:18:07 2008 UTC (15 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.28: preferred, colored
Changes since revision 1.28: +17 -3 lines
- Construct category breadcrumbs trail, and set appropriate filter in cases where "Go" button is clicked when category selection is set to "Select".

Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu May 29 04:29:33 2008 UTC (15 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.27: preferred, colored
Changes since revision 1.27: +189 -43 lines
Display available course categories.
- Either self-cataloguing scheme for "official courses" based on course code
  (up to four coupled dynamic select boxes available,e.g., Year, Semester, Department,
  Number - if localenroll::instcode_format() customized
- or categories defined by Domain Coordination in Domain Configuration Menu
- or both.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Mar 8 04:00:53 2008 UTC (16 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.26: preferred, colored
Changes since revision 1.26: +45 -10 lines
Can specify course display limited to courses which permit self enrollment.
- link provided if self-enrollment is active
- dates self-enrollment available if start date is in the future

Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Feb 15 02:30:14 2008 UTC (16 years, 2 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_6_X, version_2_6_3
Diff to previous 1.25: preferred, colored
Changes since revision 1.25: +5 -3 lines
- courseclassifier.pm
  - support cases where displayed values differ from corresponding keys in oursenumber options. (Useful if institutional code uses specific characters to separate components).
    e.g., for code: ACCT-202-2007Fall, cousenumber 202 maps to -202-

- coursecatalog.pm
  - check for array reference to avoid an ISE in the case where no coursecodes are defined even though categories exist in a customized localenroll::instcode_format().

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Jan 12 22:32:04 2008 UTC (16 years, 3 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_6_2, version_2_6_1
Diff to previous 1.24: preferred, colored
Changes since revision 1.24: +7 -2 lines
Bug 5569.  Eliminate non-word characters from the key to sort on, when courses are sorted by title.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Dec 10 23:54:40 2007 UTC (16 years, 4 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_6_0, version_2_5_99_1
Diff to previous 1.23: preferred, colored
Changes since revision 1.23: +10 -5 lines
Include row count as fits column in course catalog.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Oct 6 04:32:49 2007 UTC (16 years, 6 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_5_99_0
Diff to previous 1.22: preferred, colored
Changes since revision 1.22: +2 -10 lines
Bug 5191.  Decouple storage of last access time for a course in nohist_courseids.db from storage of course information.
- Retain backwards compatibility with legacy lonnet::courseiddump()

Other general change: uniform use of 'inst_code' as key in frozen hash instead of 'instcode'.

lond
&put_course_id_handler()
- last access stored in escaped lasttime:courseid key = value hash item
  if legacy lonnet::courseiddump() updates courseinfo.
&put_course_id_hash_handler()
- additional argument - $mode ('timeonly', 'notime' or 'all')
  - determines whether last access, or courseinfo (description,inst_code,owner,type) or both are stored
&dump_course_id_handler()
- documentation updated
- style (replacing unless)
- change location of unescaping when checking filters so double escaping no longer needed for courseinfo stored in frozen hash
- return courseinfo in hash form, if requested as hash, when record has yet to be converted to a frozen hash
&validate_class_access_handler()
- eliminate extra unescaping of $ownerlist

lonnet.pm
&flushcourselogs() includes 'timeonly' argument in call to courseidput().
&courseidput() - if in 'timeonly' mode only courseids are sent to lond in courseidputhash call.
&createcourse()
- courseinfo values in hash no longer escaped (freeze_hash handles this)
- call to flushcourselogs() replaced by call to courseidput()

lonmodifycourse.pm
- courseinfo values in hash no longer escaped
- call to courseidput() includes 'notime' as fourth arg.

coursecatalog.pm
- remove unneeded code, since entry for each course in %courses hash will now be a hash ref.

courseclassifier.pm
- remove unneeded code, since entry for each course in %courses hash will now be a hash ref.

lonpickcourse.pm
- Entry for each course in %courses hash should be a hash ref, when constructing for onlyown courses case.
- instcode to inst_code
- no need to unescape courseinfo value (thaw_hash in lonnet::courseiddump does it)

lonparmset.pm
- call to flushcourselogs() replaced by call to courseidput() after updating course description.
- appenv user's session with new course description.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:57:29 2007 UTC (16 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.21: preferred, colored
Changes since revision 1.21: +55 -31 lines
Store data in nohist_courseids.db as a hash.  Maintain backwards compatibility with writes to the db from legacy lonnet.pm, and also reads from the db from legacy lonnet.pm.

Start towards inclusion of co-owners as well as a single owner, for the purposes of verifying access to official classlist data.

lond
- &put_course_id_hash_handler() added to handle storage of data in nohist_courseids.db as a frozen hash.
- &put_course_id_handler() will add to an existing hash if update is from a legacy lonnet which supplies : separated data.
- &dump_course_id_handler() $as_hash flag extracted from tail. If set, data are returned as a hash.
- validate_class_access_handler() will extract comma-separated owner and co-owners from ownerlist passed to it, and send array ref to localenroll::check_section() to determine if at least one on the owners is authorized to view classlist list data for the institutional section.

lonnet.pm
- storage of hash via call to courseidputhash in lond.  If command is unrecognized on the lond side, subset of the data sent as : separated values
- retrieval of data from nohist_courseids.db - additional $as_hash argument included in courseiddump call to indicate that data should be returned as a frozen hash.
- auto_validate_class_sec() - if third argument is an array ref, then an owner list is built from the supplied owners and co-owners.
- lasttime set on lonnet side (FIXME) - to be changed to lond side.

lomodifycourse.pm
- updated course settings sent as a ref to a hash to lonnet::courseidput()
- include LC_error in span for error messages
- eliminate duplicate error message
- display error if storage of changes fails
- form name corrected to cmod.

coursecatalog.pm
- eliminate unused arg from call to courseclassifier::retrieve_instcodes
- display owner and co-owners (sort by lastname)
- institutional section access for multiple owners

courseclassifier.pm
- course codes from course data if hash, or if : separated string.

lonpickcourse.pm
- course info extracted from hash
- owner info displayed in a list if owner and co-owners exist.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Oct 2 01:10:27 2007 UTC (16 years, 6 months ago) by albertel
Branches: MAIN
Diff to previous 1.20: preferred, colored
Changes since revision 1.20: +3 -8 lines
- convert exisiting cookie reads/validations to use
   lonnet::check_for_valid_session

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Mar 8 01:58:44 2007 UTC (17 years, 1 month 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.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
- eliminating the domain hash globals in favor of functional access

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Jan 14 01:59:37 2007 UTC (17 years, 3 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_3_X, version_2_3_2, version_2_3_1
Diff to previous 1.18: preferred, colored
Changes since revision 1.18: +27 -11 lines
Move &additional_machine_domains() to lonnet.pm so it is more widely available

Move determination of default domain based on $ENV{'HTTP_HOST'} from lonlogin.pm to &default_login_domain() in lonnet.pm so it is more widely available

Default domain in coursecatalog now uses lonnet::default_login_domain() to display catlog for appropriate domain on a server with multiple domains, based on URL.

Bug 5136. If course catalog is displayed by a logged in user (other than public), catalog is shown for the domain of the current user's role, unless no role is selected, in which case catalog is shown for user's domain.

Non-logged in user and public users see course catalog of the domain of the machine, as determined from lonnet:::default_login_domain().

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Jan 12 23:37:22 2007 UTC (17 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.17: preferred, colored
Changes since revision 1.17: +67 -45 lines
bug 5135.  Addresses case where a domain has assigned institutional codes to at least one course, but has not customized the instcode_format() subroutine in localenroll.pm (provided as a stub).

If no category titles have been defined in localenroll::instcode_format(), coursecatalog now displays a listing of all courses in the domain which have
institutional codes.

In the absence of defined categories, there is no "Choose which course(s) to list.", no select boxes and no "Display courses" button.  Sorting by code, title or owner no longer generates javascript errors in this case.

The prior behavior - display of "No official courses to display for <Domain Name>" - when there are no courses with institutional codes, is still the same.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Jan 12 21:07:37 2007 UTC (17 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.16: preferred, colored
Changes since revision 1.16: +4 -0 lines
- missing parts of the full header

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Jan 10 03:57:51 2007 UTC (17 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.15: preferred, colored
Changes since revision 1.15: +30 -5 lines
Make life easier for Domain Coordinators by allowing display of full details for several courses at once, if user has an active DC role in the domain.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Jan 8 15:54:56 2007 UTC (17 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.14: preferred, colored
Changes since revision 1.14: +72 -55 lines
If SSO user is authenticated but has no LON-CAPA account provide information, including results of query of RO's LONCAPA_ClassList table for the user.

Some routines in coursecatalog modified to support use by sentinelonly.pm

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Jan 6 20:12:19 2007 UTC (17 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Display is better for large number of sections if a line break can occur.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Dec 11 17:21:04 2006 UTC (17 years, 4 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_3_0, version_2_2_99_1, version_2_2_99_0
Diff to previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
Split list of sections and crosslistings on /, / instead of just /,/

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Dec 11 15:13:26 2006 UTC (17 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.11: preferred, colored
Changes since revision 1.11: +1 -1 lines
scope

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Dec 5 02:55:51 2006 UTC (17 years, 4 months ago) by albertel
Branches: MAIN
Diff to previous 1.10: preferred, colored
Changes since revision 1.10: +1 -2 lines
- lots of \w -> probper regexp replacements

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Oct 18 14:07:47 2006 UTC (17 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.9: preferred, colored
Changes since revision 1.9: +1 -0 lines
Remove leading spaces from course titles.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Oct 18 13:52:17 2006 UTC (17 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.8: preferred, colored
Changes since revision 1.8: +29 -24 lines
Don't display 'No courses' unless a specific department has been selected, and there are no courses for the selected year and/or semester.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Oct 17 18:11:46 2006 UTC (17 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.7: preferred, colored
Changes since revision 1.7: +36 -10 lines
Only display "Show more details" link and allow retrieval of access dates, student counts and auto-enrollment status if user has authenticated. For the future: &user_is_known() should also return true if user has SSO session, but no LON-CAPA session.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Oct 16 19:39:51 2006 UTC (17 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.6: preferred, colored
Changes since revision 1.6: +301 -167 lines
Refactored so access dates, student counts and auto-enrollment status are additional details which are shown on a second page, and only for a single courseID. Search based on select box choices uses lonnet::auto_instcode_defaults() to construct appropriate regular expressions to pass to courseiddump() from selections made.  Breadcrumbs added, now there are multiple pages.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Oct 12 23:15:33 2006 UTC (17 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.5: preferred, colored
Changes since revision 1.5: +290 -59 lines
Using routines from courseclassifier instead of lonsupportreq. All ipossible values are now displayed in select boxes for Year, Semester and Department.  Options available in "Number" select box are set dynamically if a specific Department is selected.  Choices will vary depending on current selections for Year and Semester.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Sep 25 00:16:56 2006 UTC (17 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.4: preferred, colored
Changes since revision 1.4: +7 -1 lines
Need to return status code from the handler.  Also provide appropriate message when no courses have been assigned institutional codes.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Sep 13 21:35:46 2006 UTC (17 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.3: preferred, colored
Changes since revision 1.3: +11 -11 lines
- style

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Aug 31 12:30:30 2006 UTC (17 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.2: preferred, colored
Changes since revision 1.2: +4 -4 lines
- making the sub routines agree with each other

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Aug 29 21:20:05 2006 UTC (17 years, 8 months ago) by raeburn
Branches: MAIN
Diff to previous 1.1: preferred, colored
Changes since revision 1.1: +102 -31 lines
Some wording changes.  Column added for crosslistings. Syllabus link now hidden by default.  Auto-enrollment display modified to include check for valid sections and crosslistings. (Distillation of code shared with lonsupportreq.pm is next).

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Aug 29 21:03:11 2006 UTC (17 years, 8 months ago) by raeburn
Branches: MAIN
Display information about courses which have associated institutional codes, filtered by year, semester, department and course number.  Refactoring of this script and lonsupportreq.pm to follow (shared utility functions to move to a new module).

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>