CVS log for loncom/auth/switchserver.pm

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.35.2.6.2.6: download - view: text, markup, annotated - select for diffs
Wed Jul 5 21:13:07 2023 UTC (9 months, 1 week ago) by raeburn
Branches: version_2_11_4_msu
Diff to previous 1.35.2.6.2.5: preferred, colored to branchpoint 1.35.2.6: preferred, colored next main 1.36: preferred, colored
Changes since revision 1.35.2.6.2.5: +39 -2 lines
- For 2.11.4 (modified)
  Include changes in 1.38, 1.39, 1.40, 1.49, 1.62 (part), 1.65.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Jun 2 01:20:26 2023 UTC (10 months, 2 weeks ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X, HEAD
Diff to previous 1.64: preferred, colored
Changes since revision 1.64: +2 -2 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.35.2.6.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 23 01:59:24 2023 UTC (14 months, 3 weeks ago) by raeburn
Branches: version_2_11_4_msu
Diff to previous 1.35.2.6.2.4: preferred, colored to branchpoint 1.35.2.6: preferred, colored
Changes since revision 1.35.2.6.2.4: +7 -1 lines
- For 2.11.4 (modified)
  Include changes in 1.64

Revision 1.35.2.6.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 19 19:18:42 2022 UTC (18 months, 3 weeks ago) by raeburn
Branches: version_2_11_4_msu
Diff to previous 1.35.2.6.2.3: preferred, colored to branchpoint 1.35.2.6: preferred, colored
Changes since revision 1.35.2.6.2.3: +61 -23 lines
- For 2.11.4 (modified)
  Include changes in 1.63 (part).

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Sep 17 23:38:50 2022 UTC (18 months, 4 weeks ago) by raeburn
Branches: MAIN
Diff to previous 1.63: preferred, colored
Changes since revision 1.63: +7 -1 lines
- Support access to specific LON-CAPA message after login in cases where a
  LON-CAPA loadbalancer node is used as the portal for a domain.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Sep 13 12:22:14 2022 UTC (19 months ago) by raeburn
Branches: MAIN
Diff to previous 1.62: preferred, colored
Changes since revision 1.62: +66 -23 lines
- In course context, switch server to resource's home server opens new tab
  when editing published resource, and ca role is loaded,  when user's domain
  (by default) disallows session hosting of domain's users in resource's domain.
- New arg (skip_enc_check) in redirect args , used by loncommon::headtag()
  it true, omit application of check_encrypt().
- New seventh item ($shownsymb) in args for lonhtmlcommon::jump_to_editres()

Revision 1.35.2.6.2.3: download - view: text, markup, annotated - select for diffs
Tue Aug 30 16:20:17 2022 UTC (19 months, 2 weeks ago) by raeburn
Branches: version_2_11_4_msu
Diff to previous 1.35.2.6.2.2: preferred, colored to branchpoint 1.35.2.6: preferred, colored
Changes since revision 1.35.2.6.2.2: +17 -10 lines
- For 2.11.4 (modified)
  Include changes in 1.62

Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Aug 24 20:58:50 2022 UTC (19 months, 3 weeks ago) by raeburn
Branches: MAIN
Diff to previous 1.61: preferred, colored
Changes since revision 1.61: +17 -10 lines
- Dual SSO and non-SSO login from /adm/login
  - Display of domain configuration for each server split into two tables
    so input textboxes can be longer.
  - "Pop-up if iframe" (Y/N) item added.  If Y, when login page is in an
    iframe, SSO log-in dialog will be displayed in a new window, i.e.,
    not within the iframe, e.g., to satisfy sameorigin requirement in
    x-frame-options in header sent by SSO server.

Revision 1.35.2.6.2.2: download - view: text, markup, annotated - select for diffs
Fri Jul 8 15:52:52 2022 UTC (21 months, 1 week ago) by raeburn
Branches: version_2_11_4_msu
Diff to previous 1.35.2.6.2.1: preferred, colored to branchpoint 1.35.2.6: preferred, colored
Changes since revision 1.35.2.6.2.1: +7 -2 lines
- For 2.11.4 (modified)
  Include changes in 1.60, 1.61

Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Jun 30 21:04:13 2022 UTC (21 months, 2 weeks ago) by raeburn
Branches: MAIN
Diff to previous 1.60: preferred, colored
Changes since revision 1.60: +5 -3 lines
- Bug 6907
  "Exit Tool" button available to logout a session launched via deep link
  and escape iframe and redirect (for LTI-protected link).

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Jun 18 02:10:18 2022 UTC (21 months, 4 weeks ago) by raeburn
Branches: MAIN
Diff to previous 1.59: preferred, colored
Changes since revision 1.59: +5 -2 lines
- Bug 6907
  For LTI-protected deep links in which username is included in launch payload
  compare username in payload with username for any existing LON-CAPA session
  in current web browser and expire old session, if different user.

Revision 1.35.2.6.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 1 16:33:13 2022 UTC (2 years, 3 months ago) by raeburn
Branches: version_2_11_4_msu
Diff to previous 1.35.2.6: preferred, colored
Changes since revision 1.35.2.6: +9 -1 lines
- For 2.11.4 (modified)
  Include changes in 1.47, 1.48, 1.57, 1.59

Revision 1.35.2.6: download - view: text, markup, annotated - select for diffs
Sun Dec 12 21:07:21 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
Branch point for: version_2_11_4_msu
Diff to previous 1.35.2.5: preferred, colored to branchpoint 1.35: preferred, colored next main 1.36: preferred, colored
Changes since revision 1.35.2.5: +23 -6 lines
- For 2.11
  Backport 1.54, 1.55, 1.56, 1.58

Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue Oct 26 14:20:40 2021 UTC (2 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.58: preferred, colored
Changes since revision 1.58: +2 -2 lines
- 0 is a valid linkkey.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Wed Aug 11 17:03:03 2021 UTC (2 years, 8 months ago) by raeburn
Branches: MAIN
Diff to previous 1.57: preferred, colored
Changes since revision 1.57: +2 -4 lines
- Remove unused scalar and duplicate line added in rev. 1.56

Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Aug 10 15:28:13 2021 UTC (2 years, 8 months ago) by raeburn
Branches: MAIN
Diff to previous 1.56: preferred, colored
Changes since revision 1.56: +3 -4 lines
- Bug 6907
  - Deep-linking when user has an existing LON-CAPA session, need to support
    case where role change is not needed, but course session update needed to
    enforce link protection (lti-based or key-based access control).

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Jun 27 17:25:47 2021 UTC (2 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.55: preferred, colored
Changes since revision 1.55: +18 -3 lines
- Support case where SSO is used on a LON-CAPA loadbalancer node.
  Optional lonSSOUserLogoutScriptFile PerlVar can be defined in the Apache
  config file (e.g. loncapa_apache_local.conf) e.g., to load custom javascript
  into the switchserver page to when switching. (e.g., an XMLHttpRequest call).

Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue May 4 18:47:37 2021 UTC (2 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.54: preferred, colored
Changes since revision 1.54: +4 -4 lines
- Bug 6914.
  Replace hostname with alias when creating absolute URLs, if alias in use.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon May 3 15:27:43 2021 UTC (2 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.53: preferred, colored
Changes since revision 1.53: +5 -1 lines
- Bug 6914
 - Check whether WAF proxy alias should be used when using switchserver.
 - Requests for /adm/dns/hosts and /adm/dns/domain from other nodes in the
   network do not require redirecting to an alias (if in use).

Revision 1.35.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 4 03:54:38 2021 UTC (3 years, 3 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.35.2.4: preferred, colored to branchpoint 1.35: preferred, colored
Changes since revision 1.35.2.4: +4 -3 lines
- For 2.11
  Backport 1.52, 1.53

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Jan 3 23:53:15 2021 UTC (3 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.52: preferred, colored
Changes since revision 1.52: +2 -2 lines
- Retrieval of requestor's IP address centralized in lonnet::get_requestor_ip()

Revision 1.52: download - view: text, markup, annotated - select for diffs
Fri Dec 18 15:23:03 2020 UTC (3 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.51: preferred, colored
Changes since revision 1.51: +3 -2 lines
- Retrieval of requestor's IP address centralized in lonnet::get_requestor_ip()
- Domain configuration to allow domain's LON-CAPA nodes to operate behind a
  WAF/Reverse Proxy using aliased hostname (CNAME).
- Web requests from other nodes bypass the WAF as their requests are made
  directly to the server hostname (A record); same for internal LON-CAPA
  connections for lonc -> lond.

Revision 1.35.2.4: download - view: text, markup, annotated - select for diffs
Sun Oct 25 02:25:27 2020 UTC (3 years, 5 months ago) by raeburn
Branches: version_2_11_X
Diff to previous 1.35.2.3: preferred, colored to branchpoint 1.35: preferred, colored
Changes since revision 1.35.2.3: +2 -2 lines
- For 2.11
  Include one change in backport of 1.51 omitted in rev. 1.35.2.3

Revision 1.35.2.3: download - view: text, markup, annotated - select for diffs
Fri Oct 23 21:26:32 2020 UTC (3 years, 5 months ago) by raeburn
Branches: version_2_11_X
Diff to previous 1.35.2.2: preferred, colored to branchpoint 1.35: preferred, colored
Changes since revision 1.35.2.2: +11 -5 lines
- For 2.11
  Backport 1.50, 1.51

Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Oct 22 19:23:22 2020 UTC (3 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.50: preferred, colored
Changes since revision 1.50: +8 -3 lines
- If $env{'request.balancercookie'} set for user's session, and switch made
  to a different node, update hostID in cookie on balancer node once migrated.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Oct 20 01:38:12 2020 UTC (3 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.49: preferred, colored
Changes since revision 1.49: +4 -4 lines
- For non-SSO login on a balancer node, check for balancer cookie in lonauth.pm
  after login credentials validated. (Same as lonacc::sso_login for SSO login).
- Not all calls to check_loadbalancing() require determination of a server
  to which to offload, even when $is_balancer is true.

Revision 1.35.2.2: download - view: text, markup, annotated - select for diffs
Sat Aug 3 23:27:39 2019 UTC (4 years, 8 months ago) by raeburn
Branches: version_2_11_X
Diff to previous 1.35.2.1: preferred, colored to branchpoint 1.35: preferred, colored
Changes since revision 1.35.2.1: +26 -8 lines
- For 2.11
  Backport 1.36, 1.41

Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Thu Aug 1 15:20:06 2019 UTC (4 years, 8 months ago) by raeburn
Branches: version_2_11_X
Diff to previous 1.35: preferred, colored
Changes since revision 1.35: +51 -9 lines
- For 2.11
  Backport 1.42, 1.44, 1.45

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Jun 15 02:50:04 2019 UTC (4 years, 10 months ago) by raeburn
Branches: MAIN
Diff to previous 1.48: preferred, colored
Changes since revision 1.48: +12 -5 lines
- Bug 6754
  - Domain config for load balancer to use cookie to record offload target
    will apply when LON-CAPA is an LTI Provider, and launch URL is a load
    balancer.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Jan 27 16:02:43 2019 UTC (5 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.47: preferred, colored
Changes since revision 1.47: +7 -1 lines
- Bug 6400
  - Enforce access restrictions for content which is deeplink-only (users
    with "advanced priv for current role are exempt).
  - Support "key" link type in deeplink parameter (requested link must either
    be sent with linkkey as element in POSTed data, or with linkkey in query
    string).  Corresponding value must match key set in deeplink parameter.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Wed Dec 26 20:10:21 2018 UTC (5 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.46: preferred, colored
Changes since revision 1.46: +4 -1 lines
- Bug 6400 Deep-linking
  - URLs like /adm/lti/tiny/domain/uniqueID can be used to restrict use of
    deep links to access from another LTI-enabled application (no user data
    passed in this context).

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Dec 8 15:16:03 2018 UTC (5 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.45: preferred, colored
Changes since revision 1.45: +3 -3 lines
- Trust settings
  - Fix logic for checking whether co-author role admissible
  - Correct key for: "Co-author roles for this domain's users elsewhere".

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Dec 2 13:56:10 2018 UTC (5 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.44: preferred, colored
Changes since revision 1.44: +22 -16 lines
- Cookie creation moved to &balancer_cookieid() to facilitate re-use.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Dec 2 13:52:56 2018 UTC (5 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.43: preferred, colored
Changes since revision 1.43: +1 -2 lines
- Use of Apache::lonmenu::close() was eliminated in rev. 1.23

Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Nov 28 05:05:30 2018 UTC (5 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.42: preferred, colored
Changes since revision 1.42: +21 -8 lines
- Bug 6876
  If node switched to from balancer can't connect to lond on user's
  homeserver, then session is switched to another node in the original list
  of usable nodes sent by the balancer.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Nov 24 16:19:04 2018 UTC (5 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.41: preferred, colored
Changes since revision 1.41: +36 -5 lines
- Domain config for load balancer to use cookie to record offload target.
  Subsequent requests by same user/browser will send requests to same target
  if remote session still active, and remote node not overloaded.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Jul 4 16:58:19 2018 UTC (5 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.40: preferred, colored
Changes since revision 1.40: +17 -18 lines
- Use 'secure' attribute for session cookie on servers using Apache/SSL.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Apr 14 02:30:11 2018 UTC (6 years ago) by raeburn
Branches: MAIN
Diff to previous 1.39: preferred, colored
Changes since revision 1.39: +7 -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.39: download - view: text, markup, annotated - select for diffs
Fri Mar 23 01:01:29 2018 UTC (6 years ago) by raeburn
Branches: MAIN
Diff to previous 1.38: preferred, colored
Changes since revision 1.38: +17 -1 lines
- Bug 6754 LON-CAPA as LTI Provider
  - Creation of new LON-CAPA user account available from an LTI Consumer.
  - Creation of new LON-CAPA course available from an LTI Consumer.
  - Self-enrollment in a LON-CAPA course available from an LTI Consumer.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Nov 30 15:14:51 2017 UTC (6 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.37: preferred, colored
Changes since revision 1.37: +16 -1 lines
- Bug 6754 LTI Integration: LON-CAPA as LTI Provider
  - Work in progress

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Aug 8 20:10:55 2017 UTC (6 years, 8 months ago) by raeburn
Branches: MAIN
Diff to previous 1.36: preferred, colored
Changes since revision 1.36: +7 -3 lines
- Take into account trust settings for:
  - othcoau ("Co-author roles in this domain for others")
  - coaurem ("Co-author roles for this domain's users elsewhere")
  when displaying "Switch Server" link to Authoring Space's home server,
  and whether to skip check for ability to host a user on a remote server.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Feb 25 20:00:36 2017 UTC (7 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.35: preferred, colored
Changes since revision 1.35: +21 -2 lines
- Use 'secure' attribute for session cookie on servers using Apache/SSL.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Dec 16 15:31:11 2016 UTC (7 years, 4 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2
Branch point for: version_2_11_X
Diff to previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
- If requested role is not an active role assisgned to the user, delete role
  form item and allow switch to the otherserver, instead of returning a 403.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Jan 22 22:45:06 2015 UTC (9 years, 2 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_1
Diff to previous 1.33: preferred, colored
Changes since revision 1.33: +9 -3 lines
- Make switch server entries in a user's activity.log file less confusing
  by only including the phrase "with role", if a role was passed to
  /adm/switchserver.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Jan 8 21:18:29 2015 UTC (9 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.32: preferred, colored
Changes since revision 1.32: +10 -3 lines
- Replace two instances of protocols statically defined as http with
  protocol retrieved from value for key for target host, as defined in
  %Apache::lonnet::protocol.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Sep 29 00:49:24 2013 UTC (10 years, 6 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0
Diff to previous 1.31: preferred, colored
Changes since revision 1.31: +4 -2 lines
- Bug 6675
- Case where $env{'REMOTE_ADDR'} as reported to server selected to host
  user session, is different from $env{'REMOTE_ADDR'} as reported to
  server which handled original authentication request.
  - Domain configuration for a load balancing server can be set to one of
    the following, if an IP mismatch is detected by /adm/migrateuser
    during credentials checking after redirect via /adm/switchserver
    (i) Session will be hosted on Load Balancer
    (ii) Session will be hosted on offload server
    for each of (a) SSO users from load balancer's domain, (b) non-SSO users
  - Setting to host on load balancer will be ignored if switch server was called
    by an author or co-author switching to server housing the authoring space.

Revision 1.28.2.4: download - view: text, markup, annotated - select for diffs
Tue Aug 2 14:20:42 2011 UTC (12 years, 8 months ago) by raeburn
Branches: version_2_10_X
CVS tags: version_2_10_1, loncapaMITrelate_1
Diff to previous 1.28.2.3: preferred, colored next main 1.29: preferred, colored
Changes since revision 1.28.2.3: +2 -2 lines
- Backport 1.31.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Aug 2 14:17:13 2011 UTC (12 years, 8 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_0_RC1, language_hyphenation_merge, language_hyphenation, BZ4492-merge, BZ4492-feature_horizontal_radioresponse, BZ4492-feature_Support_horizontal_radioresponse, BZ4492-Support_horizontal_radioresponse
Diff to previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
- Bug 6436.  Typo in regexp added in rev 1.28 so switching server to the
  home server for Construction Space for: ca or aa role takes precedence
  over any session hosting restictions.

Revision 1.28.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 6 15:45:08 2010 UTC (13 years, 7 months ago) by raeburn
Branches: version_2_10_X
CVS tags: version_2_10_0_RC2, version_2_10_0
Diff to previous 1.28.2.2: preferred, colored
Changes since revision 1.28.2.2: +9 -2 lines
- Backport 1.30.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Sep 6 15:44:05 2010 UTC (13 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.29: preferred, colored
Changes since revision 1.29: +8 -2 lines
- Move lonnet::flushcourselogs() call to cleanup phase, so delivery of
  content to user is not delayed.

Revision 1.28.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 18 19:40:23 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.28.2.1: preferred, colored
Changes since revision 1.28.2.1: +6 -2 lines
- Backport 1.29.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Aug 18 19:25:12 2010 UTC (13 years, 8 months ago) by raeburn
Branches: MAIN
Diff to previous 1.28: preferred, colored
Changes since revision 1.28: +6 -2 lines
- lonnet::get_internet_names() returns a reference to an array.

Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 13 00:06:27 2010 UTC (13 years, 8 months ago) by raeburn
Branches: version_2_10_X
Diff to previous 1.28: preferred, colored
Changes since revision 1.28: +7 -3 lines
- For 2.10, reverse changes in 1.23, 1.24 and 1.25.
  - Remote Control still retained for LON-CAPA 2.10.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Jul 22 21:44:25 2010 UTC (13 years, 8 months ago) by raeburn
Branches: MAIN
Branch point for: version_2_10_X
Diff to previous 1.27: preferred, colored
Changes since revision 1.27: +42 -23 lines
- Switching server to the home server for Construction Space for:
  co-author or assistannt co-author role
  takes precedence over anysession hosting restictions which
  may apply to the user's domain.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue Jul 20 02:42:33 2010 UTC (13 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.26: preferred, colored
Changes since revision 1.26: +14 -8 lines
- Control hosting of user sessions.
  - To accommodate multi-domain library servers, use internet domain names (e.g., msu.edu)
    instead of LON-CAPA domains in interface DC uses to set options for session hosting.

  - Provide mechanism to retrieve lonHostID for a hostname, so we can tell which
    domain determines session hosting config for external users on a multi-domain
    machine.

  - New routines in lonnet.pm:
     &get_server_homeID()  -- gets lonHostID for a hostname
     &internet_dom() -- gets internet domain name for a LON-CAPA Host ID
     &get_internet_names() -- gets internet domain names for all domains
                              for a server given one of the LC host IDs for the server.

   - New file in /home/httpd/lonTabs:
     - serverhomeIDs.tab (populated by loncron). : paired hostname:lonHostID

   - New subroutine in loncron: &write_serverhomeIDs() -- populates serverhomeIDs.tab
   - New subroutine in lond: &server_homeID_handler() -- returns LON-CAPA Host ID of server
   - New scalar in lond: $clienthomedom -- set to domain of LON-CAPA Host ID of client
   - New subroutine in domainprefs.pm: &build_location_hashes()
       -- used to set up options for session hosting as internet domain names
           - where two names (e.g., msu.edu, loncapa.org) are controlled by the same
             institution these will receive a single checkbox.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Jul 17 20:02:02 2010 UTC (13 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.25: preferred, colored
Changes since revision 1.25: +16 -2 lines
- Following the switch to 2.10, domains may prefer that their users do not have sessions hosted on older versions of LON-CAPA.
- Domain Coordinators can control:
  (a) where their users may have sessions hosted (by domain and/or LON-CAPA version).
  (b) which other domains will have user sessions hosted on servers in the domain.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Mar 22 20:11:08 2010 UTC (14 years ago) by droeschl
Branches: MAIN
CVS tags: PRINT_INCOMPLETE_base, PRINT_INCOMPLETE
Diff to previous 1.24: preferred, colored
Changes since revision 1.24: +1 -2 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.24: download - view: text, markup, annotated - select for diffs
Tue Mar 16 19:55:31 2010 UTC (14 years, 1 month ago) by droeschl
Branches: MAIN
Diff to previous 1.23: preferred, colored
Changes since revision 1.23: +2 -4 lines
In process of removing remote control, remote navmap and different icon modes code
- mostly remote navmap related code and files removed
- some minor refactoring
- some translations added/removed

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Mar 10 21:25:29 2010 UTC (14 years, 1 month ago) by droeschl
Branches: MAIN
Diff to previous 1.22: preferred, colored
Changes since revision 1.22: +1 -2 lines
In process of removing remote control, remote navmap and different icon modes code
Also some minor refactoring.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Apr 14 23:52:07 2009 UTC (15 years ago) by raeburn
Branches: MAIN
CVS tags: version_2_9_X, version_2_9_99_0, version_2_9_1, version_2_9_0, version_2_8_99_1, version_2_8_99_0, bz6209-base, bz6209, bz5969, bz2851, GCI_3, GCI_2, BZ5971-printing-apage, BZ5434-fox
Diff to previous 1.21: preferred, colored
Changes since revision 1.21: +8 -2 lines
- HTML documents uploaded directly to a course can be edited by a Course Coordinator (mdc priv).
- "Edit this resource" link displayed in inline menu.
- Link will switch server to course's home server if session is currently hoosted elsewehere (unless a lock is in place).

- Deep linking:
  - origurl and symb args can be included in query string for switchserver call, so switched session will go to the same resource on the new server.

Work in progress.
Logging needed: changes, and by whom.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Nov 15 01:17:16 2007 UTC (16 years, 5 months ago) by albertel
Branches: MAIN
CVS tags: version_2_8_X, version_2_8_2, version_2_8_1, version_2_8_0, version_2_7_X, version_2_7_99_1, version_2_7_99_0, version_2_7_1, version_2_7_0, version_2_6_X, version_2_6_99_1, version_2_6_99_0, version_2_6_3, version_2_6_2, version_2_6_1, version_2_6_0, version_2_5_99_1, version_2_5_99_0, GCI_1
Diff to previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3 lines
- xhtml

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Nov 15 01:16:32 2007 UTC (16 years, 5 months ago) by albertel
Branches: MAIN
Diff to previous 1.19: preferred, colored
Changes since revision 1.19: +6 -3 lines
- BUG#5519 - switch server was outputing headers twice

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Nov 14 02:55:07 2007 UTC (16 years, 5 months ago) by albertel
Branches: MAIN
Diff to previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
- don't insert an extra / into public redirects

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Nov 14 02:54:11 2007 UTC (16 years, 5 months ago) by albertel
Branches: MAIN
Diff to previous 1.17: preferred, colored
Changes since revision 1.17: +4 -11 lines
- use the check_for_valid session code

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Sep 29 04:03:46 2007 UTC (16 years, 6 months ago) by albertel
Branches: MAIN
CVS tags: version_2_5_X, version_2_5_2
Diff to previous 1.16: preferred, colored
Changes since revision 1.16: +10 -3 lines
- when offloading a user session to a different server, check the remote
  servers for an existing session and pick one of those first
  - new lond command that checks if a session file exists for a specific user
  - new lonnet routines to probe servers for one

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Sep 8 02:43:33 2007 UTC (16 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.15: preferred, colored
Changes since revision 1.15: +4 -4 lines
Use redirect arg in call to start_page so there is a "Continue" link as well as the meta refresh.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Aug 25 01:24:05 2007 UTC (16 years, 7 months ago) by albertel
Branches: MAIN
CVS tags: version_2_5_1
Diff to previous 1.14: preferred, colored
Changes since revision 1.14: +4 -4 lines
- remove changes that affected the monitoring script

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Aug 25 00:52:47 2007 UTC (16 years, 7 months ago) by albertel
Branches: MAIN
Diff to previous 1.13: preferred, colored
Changes since revision 1.13: +29 -11 lines
- public users it switch ed just need redirecting, not full switchservering

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Mar 2 23:17:48 2007 UTC (17 years, 1 month ago) by albertel
Branches: MAIN
CVS tags: 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.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
- starting work on moving to distributed DNS, eliminate usage of the lonnet hostanme global

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Mar 1 23:14:12 2007 UTC (17 years, 1 month ago) by albertel
Branches: MAIN
Diff to previous 1.11: preferred, colored
Changes since revision 1.11: +7 -1 lines
- BUG#5212 unset the cookie when logging out.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Jan 12 15:44:27 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.10: preferred, colored
Changes since revision 1.10: +4 -1 lines
Look for lonSSOReloginServer set in an apache conf file (e.g., sentinel.conf at MSU), so the "login again" link displayed on logout points to a SSO-enabled server if the user's login was originally SSO-authenticated.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Nov 23 01:49:41 2006 UTC (17 years, 4 months ago) by albertel
Branches: MAIN
CVS tags: version_2_3_0, version_2_2_99_1, version_2_2_99_0
Diff to previous 1.9: preferred, colored
Changes since revision 1.9: +2 -3 lines
- swithc to using helper cleaing functions and helper matchi re

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Aug 30 16:13:37 2006 UTC (17 years, 7 months ago) by albertel
Branches: MAIN
CVS tags: version_2_2_X, version_2_2_2, version_2_2_1
Diff to previous 1.8: preferred, colored
Changes since revision 1.8: +3 -2 lines
- don't need the inline link when switching servers

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Jun 2 19:38:21 2006 UTC (17 years, 10 months ago) by albertel
Branches: MAIN
CVS tags: 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.7: preferred, colored
Changes since revision 1.7: +4 -1 lines
- preserve the fact that we ssoed in

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Apr 5 22:39:55 2006 UTC (18 years ago) by albertel
Branches: MAIN
Diff to previous 1.6: preferred, colored
Changes since revision 1.6: +5 -12 lines
- start_page

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Dec 28 16:46:47 2005 UTC (18 years, 3 months ago) by albertel
Branches: MAIN
CVS tags: version_2_1_X, version_2_1_3, version_2_1_2, version_2_1_1, version_2_1_0
Diff to previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
- BUG #4524 swtchserver works in a backward to 2.0 and before manner

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Nov 29 20:59:37 2005 UTC (18 years, 4 months ago) by albertel
Branches: MAIN
CVS tags: version_2_0_99_1
Diff to previous 1.4: preferred, colored
Changes since revision 1.4: +10 -6 lines
-making switchserver work when something has already loaded the env

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Oct 28 21:51:43 2005 UTC (18 years, 5 months ago) by albertel
Branches: MAIN
Diff to previous 1.3: preferred, colored
Changes since revision 1.3: +9 -2 lines
- switch server can now pick a destination server if one isn't specified
- migrate user can redirect to roles screen if no role specified

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Oct 25 19:14:32 2005 UTC (18 years, 5 months ago) by albertel
Branches: MAIN
Diff to previous 1.2: preferred, colored
Changes since revision 1.2: +7 -2 lines
- migrateuser checks the input data more carefully
- tmpput and tmpget now have lonnet implementations

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Oct 24 21:35:16 2005 UTC (18 years, 5 months ago) by albertel
Branches: MAIN
Diff to previous 1.1: preferred, colored
Changes since revision 1.1: +3 -8 lines
- removing some debug

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Oct 24 21:32:43 2005 UTC (18 years, 5 months ago) by albertel
Branches: MAIN
- 'switch server' now really does

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>