CVS log for loncom/lti/ltiutils.pm

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.17.2.5: download - view: text, markup, annotated - [selected for diffs]
Tue Feb 27 04:13:34 2024 UTC (8 months ago) by raeburn
Branches: version_2_11_4_msu
CVS tags: version_2_11_5_msu
Diff to previous 1.17.2.4: preferred, colored next main 1.18: preferred, colored
Changes since revision 1.17.2.4: +2 -2 lines
- For 2.11.4 (modified)
  Include changes in 1.20

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Feb 27 04:04:06 2024 UTC (8 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X, HEAD
Diff to previous 1.20: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.20: +52 -52 lines
- Remove trailing white space
- Indenting -- replace tab with spsces

Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Feb 27 03:55:55 2024 UTC (8 months ago) by raeburn
Branches: MAIN
Diff to previous 1.19: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.19: +2 -2 lines
- When scoretype is decimal, send value with 4 decimal places, i.e., a
  number between 0.0000 and 1.0000

Revision 1.17.2.4: download - view: text, markup, annotated - select for diffs
Wed Jul 5 21:25:10 2023 UTC (15 months, 3 weeks ago) by raeburn
Branches: version_2_11_4_msu
Diff to previous 1.17.2.3: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.17.2.3: +918 -10 lines
- For 2.11.4 (modified)
  - Reverse changes in 1.17.2.1. Include changes in 1.19.
  - Replace use of LONCAPA::LWPReq (in 2.12) with LWP::UserAgent (in 2.11).

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Jun 2 01:20:28 2023 UTC (17 months ago) by raeburn
Branches: MAIN
Diff to previous 1.18: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.18: +86 -49 lines
- Bugs 6754 and 6907
  - Return of grades to launcher CMS supported for resources or folders
    accessed via LTI-mediated deep link.
  - Support option: "Encrypt stored consumer secrets defined in domain"
  - Signing of LTI payloads for roster retrieval, passback of grades,
    and callback to logput launcher CMS session all now occur on
    primary library server for course's domain.

Revision 1.17.2.3: download - view: text, markup, annotated - select for diffs
Mon Jan 23 18:39:46 2023 UTC (21 months, 1 week ago) by raeburn
Branches: version_2_11_4_msu
Diff to previous 1.17.2.2: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.17.2.2: +3 -2 lines
- For 2.11.4 (modified)
  Include changes in 1.18

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Mar 29 20:12:46 2022 UTC (2 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.17: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.17: +3 -2 lines
- Bug 6754
  Documentation says to use Encode::decode('UTF-8',$string) instead of
  Encode::decode_utf8($string) for data exchange.

Revision 1.17.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 20 00:35:00 2022 UTC (2 years, 9 months ago) by raeburn
Branches: version_2_11_4_msu
Diff to previous 1.17.2.1: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.17.2.1: +7 -2 lines
- For 2.11.4 (modified)
  - Reverse one change in 1.17.2.1 to support call to md5_hex().
  - Replace use of LONCAPA::LWPReq (in 2.12) with LWP::UserAgent (in 2.11).

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 3 18:35:27 2022 UTC (2 years, 9 months ago) by raeburn
Branches: version_2_11_4_msu
Diff to previous 1.17: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.17: +1 -870 lines
- For 2.11.4 (modified)
  Retain only those routines needed for LTI Consumer without grade passback
  or roster enrollment and LTI Provider without username (re-authentication
  needed).

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 9 23:17:19 2020 UTC (4 years, 6 months ago) by raeburn
Branches: version_2_11_2_uiuc
CVS tags: version_2_11_3_msu
Diff to previous 1.9: preferred, colored next main 1.10: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.9: +2 -329 lines
- For 2.11.2 (modified)
  Retain only those routines used to support LON-CAPA as LTI Consumer.
  Remove passback and roster options, and related routines.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Jul 18 18:28:46 2019 UTC (5 years, 3 months ago) by raeburn
Branches: MAIN
Branch point for: version_2_11_4_msu
Diff to previous 1.16: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.16: +40 -7 lines
- Bug 6754. LON-CAPA as LTI Provider.
  Domain configuration to support session expiration in LON-CAPA,
  after user logs out of LTI Consumer which originally launched session,
  (if Consumer supports logoutServiceUrl; e.g. custom_logout_url in Canvas).

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Mar 31 18:48:33 2019 UTC (5 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.15: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.15: +2 -1 lines
- Bug 6754 LON-CAPA as LTI Provider
  - Support LTI Basic Outcomes Service (1.1) in which grade (a decimal) is
    included in XML in the request body (with oauth_body_hash in the header).

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Aug 14 21:42:36 2018 UTC (6 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.14: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.14: +152 -36 lines
- Bug 6754 LON-CAPA as LTI Provider
  - Support requests to /adm/service/passback and /adm/service/roster in
    which OAuth data in request header.
  - Support LTI Basic Outcomes Service (1.1) in which grade (a decimal) is
    included in XML in the request body (with oauth_body_hash in the header).
  - LTI Provider domain configuration to set grade passback using either
    Outcomes Service (1.1) -- the default -- or Outcomes extension (1.0).

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Aug 14 17:24:21 2018 UTC (6 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.13: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.13: +5 -5 lines
- Bug 6754 LON-CAPA as LTI Provider
  - Checking if gradesecret has expired.
    - config in days; convert to seconds
    - config items are gradesecret & gradesecretdate

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Aug 12 02:24:42 2018 UTC (6 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.12: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.12: +16 -12 lines
- Bug 6754 LON-CAPA as LTI Provider
  - create a real symb from the launch URL.
  - calls to &sign_params() need to include 4 args before the fifth one
    (params hashref).

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed May 30 17:22:30 2018 UTC (6 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.11: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.11: +140 -5 lines
- Bug 6754 LON-CAPA as LTI Provider
  - Add documentation.
  - Seed rand() in create_passwd routine.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon May 28 23:26:04 2018 UTC (6 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.10: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.10: +509 -1 lines
- Bug 6754 LON-CAPA as LTI Provider
  - Support LTI Extension: Context Memberships Service, whereby launch of
    Consumer can trigger Provider to request course roster.
  - Code moved from ltiauth.pm to routines in ltiutils.pm:
    &get_lc_roles(), &create_user() and &enrolluser(); &create_passwd() routine
    also moved.
  - Code moved from &parse_roster() to &get_roster() in ltiutils.pm.
  - New routines: &batchaddroster(), &datechange_check(), &store_passbackurl()
    added to support roster updates, (including saving user-specific values
    for: lis_result_sourcedid, used for passback of grades to Consumer.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue May 15 04:59:22 2018 UTC (6 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.9: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.9: +68 -7 lines
- Bug 6754 LON-CAPA as LTI Provider
  - Pass grades back to the LTI Consumer which launched the LTI session.
  - Any problemstatus settings of "No" are ignored.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue May 15 04:33:17 2018 UTC (6 years, 5 months ago) by raeburn
Branches: MAIN
Branch point for: version_2_11_2_uiuc
Diff to previous 1.8: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.8: +2 -1 lines
- Seed rand before generating nonce.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Apr 17 14:03:01 2018 UTC (6 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.7: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.7: +16 -1 lines
- Bug 6754 LON-CAPA as LTI Provider
  - LTI launch can be for a published .sequence or .page
  - LTI launch can be for a composite page.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Apr 14 17:52:48 2018 UTC (6 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.6: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.6: +6 -13 lines
- Bug 6754 LON-CAPA as LTI Provider
  - No page flip arrows in inline menu if LTI launch was or a resource
  - No forward arrow if LTI launch was for map and this is last resource.
  - No reverse arrow if LTI launch was for map and this is first resource.
  - No Contents in inline breadcrumbs if LTI launch was for resource or map.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Apr 14 02:30:07 2018 UTC (6 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.5: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.5: +82 -1 lines
- Bug 6754 LON-CAPA as LTI Provider
  - Original LTI launch of LON-CAPA is for a resource, a map, or an entire
    course, and display is for iframe, tab or window; retain this in %env.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jan 4 12:19:25 2018 UTC (6 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.4: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.4: +3 -3 lines
- Extract signature from string returned by &get_service_id() for comparison
  with signature in the sourcedid received from an LTI provider.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Jan 4 12:09:42 2018 UTC (6 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.3: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.3: +3 -3 lines
- Fix typos in comments

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Dec 30 14:04:00 2017 UTC (6 years, 10 months ago) by raeburn
Branches: MAIN
Diff to previous 1.2: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.2: +7 -4 lines
- Bug 6754 LON-CAPA as LTI Consumer
  - Signature method can be HMAC-SHA1 (default), or HMAC-SHA256, if LTI
    Provider supports it.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Dec 9 16:24:03 2017 UTC (6 years, 10 months ago) by raeburn
Branches: MAIN
Diff to previous 1.1: preferred, colored to selected 1.17.2.5: preferred, colored
Changes since revision 1.1: +5 -5 lines
- Sequential numbering of errors when requesting service from LTI Consumer
  to store grades or retrieve roster.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Dec 7 15:36:25 2017 UTC (6 years, 10 months ago) by raeburn
Branches: MAIN
Diff to selected 1.17.2.5: preferred, colored
Bug 6754 LTI Integration
- ltiutils.pm contains common LTI routines (to facilitate re-use).
  - &check_nonce() moved from ltiauth.pm to ltiutils.pm.
  - &set_callback_secret() moved from lonexttool.pm to ltiutils.pm, and
    renamed &set_service_secret().
  - &sign_params(), &get_tool_lock(), and &release_tool_lock() moved from
    lonexttool.pm to ltiutils.pm
- ltiroster.pm will service requests for course membership information
  from an LTI Provider, where domain configuration for Tool permits this
  service, and launch (by Instructor( included ext_ims_lis_memberships_id.

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>