CVS log for loncom/interface/lonrequestcourse.pm
Up to [LON-CAPA] / loncom / interface
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Current tag: MAIN
Revision 1.117: download - view: text, markup, annotated - select for diffs
Wed Mar 29 16:01:13 2023 UTC (16 months, 2 weeks ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X,
HEAD
Diff to previous 1.116: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.116: +2 -2
lines
- Accommodate argument changes in &selectbox() and &prettyinput() in lonmeta.pm
rev. 1.255.
Revision 1.116: download - view: text, markup, annotated - select for diffs
Sat Mar 11 04:44:51 2023 UTC (17 months ago) by raeburn
Branches: MAIN
Diff to previous 1.115: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.115: +14 -3
lines
- processing_javascript() subroutine removed in rev. 1.115
- support domains with multiple library servers and in which requester selects
'default' as new course's home server.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Wed Jun 8 01:00:57 2022 UTC (2 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.114: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.114: +20 -24
lines
- Reverse most of changes in rev. 1.84 and replace with progress indicator.
Revision 1.114: download - view: text, markup, annotated - select for diffs
Wed Feb 16 16:35:23 2022 UTC (2 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.113: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.113: +6 -6
lines
- Bug 6754
- When storing mapping of Consumer system's courseID to LON-CAPA's course
"number" include LTI item id verified from signed payload.
Revision 1.113: download - view: text, markup, annotated - select for diffs
Wed Nov 24 04:25:02 2021 UTC (2 years, 8 months ago) by raeburn
Branches: MAIN
Diff to previous 1.112: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.112: +13 -4
lines
- Bug 6754
- Storing mapping of Consumer course identifier to LON-CAPA courseID
honors rules for allowable course types, and also general Y/N option for
any type.
- When a course is created due to launch from LTI Consumer, course's
environment.db contains internal.lti set to 1, and extended course type
is identified as "lti".
Revision 1.112: download - view: text, markup, annotated - select for diffs
Tue Aug 31 17:21:24 2021 UTC (2 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.111: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.111: +4 -4
lines
- Bug 6959
Revision 1.111: download - view: text, markup, annotated - select for diffs
Tue May 4 18:47:36 2021 UTC (3 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.110: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.110: +5 -3
lines
- Bug 6914.
Replace hostname with alias when creating absolute URLs, if alias in use.
Revision 1.110: download - view: text, markup, annotated - select for diffs
Sat Mar 6 13:44:51 2021 UTC (3 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.109: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.109: +3 -3
lines
- Some missing localizations call added.
Revision 1.109: download - view: text, markup, annotated - select for diffs
Wed Jul 1 20:08:54 2020 UTC (4 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.108: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.108: +79 -13
lines
- Bug 6400
Options for transfer or creation of tiny URLs when cloning.
Revision 1.108: download - view: text, markup, annotated - select for diffs
Wed Feb 12 22:15:40 2020 UTC (4 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.107: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.107: +2 -2
lines
- Remove unwanted whitespace.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Thu Jul 25 20:23:52 2019 UTC (5 years ago) by raeburn
Branches: MAIN
Diff to previous 1.106: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.106: +43 -1
lines
- Devalidate cache for self-cataloging of courses based on institutional
code for institution's nodes, if creating/modifying an "official" course.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Sun Jan 27 15:46:26 2019 UTC (5 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.105: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.105: +3 -3
lines
- Trust settings for requesting course creation in another domain.
- Eliminate %trustchecked (never populated).
Revision 1.105: download - view: text, markup, annotated - select for diffs
Thu Dec 27 18:14:25 2018 UTC (5 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.104: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.104: +3 -2
lines
- Call Apache::lonnet::hostname($lonhost) before accessing
$Apache::lonnet::protocol{$lonhost) so %Apache::lonnet::protocol is populated.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Fri Aug 17 23:19:03 2018 UTC (5 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.103: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.103: +4 -1
lines
- In request form when choice was to clone a textbook course or a template
course, any date parameters will be deleted in the new course.
Revision 1.103: download - view: text, markup, annotated - select for diffs
Fri Mar 23 01:01:21 2018 UTC (6 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.102: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.102: +91 -41
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.102: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:26:38 2017 UTC (7 years ago) by raeburn
Branches: MAIN
Diff to previous 1.101: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.101: +2 -1
lines
- Typo in rev. 1.100
Revision 1.101: download - view: text, markup, annotated - select for diffs
Fri Aug 11 00:24:53 2017 UTC (7 years ago) by raeburn
Branches: MAIN
Diff to previous 1.100: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.100: +3 -3
lines
- Trust Settings
- lonnet::trusted_domains() returns array or array refs, for passing to
loncommon::select_dom_form() or lonnet::will_trust().
Revision 1.100: download - view: text, markup, annotated - select for diffs
Mon Aug 7 20:22:13 2017 UTC (7 years ago) by raeburn
Branches: MAIN
Diff to previous 1.99: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.99: +15 -10
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.99: download - view: text, markup, annotated - select for diffs
Mon Sep 5 01:46:08 2016 UTC (7 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.98: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.98: +21 -4
lines
- Domain Configuration for LON-CAPA Directory searches for user information
for users in a domain.
- Can disable for all, or can disable only for other domains.
- Default: enabled for all domains.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Mon Apr 4 01:09:48 2016 UTC (8 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.97: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.97: +3 -1
lines
- Bug 6808. New course container -- "Placement" for Placement Tests.
Revision 1.97: download - view: text, markup, annotated - select for diffs
Mon Apr 4 01:07:17 2016 UTC (8 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.96: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.96: +2 -2
lines
- Fix args in call to javascript:opencrsbrowser().
Revision 1.96: download - view: text, markup, annotated - select for diffs
Sat Apr 2 04:30:21 2016 UTC (8 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.95: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.95: +25 -10
lines
- Bug 6808. New course container -- "Placement" for Placement Tests.
Work in progress.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Tue Sep 1 16:40:20 2015 UTC (8 years, 11 months ago) by raeburn
Branches: MAIN
Branch point for: version_2_11_X
Diff to previous 1.94: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.94: +16 -14
lines
- Display co-owners in own courses table in course request form.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Tue Sep 1 14:11:26 2015 UTC (8 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.93: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.93: +17 -7
lines
- Display owner and co-owners in colleagues' courses table in course request
form.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Mon Aug 24 14:50:22 2015 UTC (8 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.92: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.92: +37 -13
lines
- Textbook/Template course requests
- Additional items can be sent to localenroll::crsreq_updates():
_LC_coursedescription, _LC_coursestartdate, _LC_courseenddate.
- clone options: datemode and dateshift use different element names
in "colleagues' courses" tab and "own courses" tab.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Tue Jul 14 00:11:48 2015 UTC (9 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.91: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.91: +2 -2
lines
- Fix typo.
Revision 1.91: download - view: text, markup, annotated - select for diffs
Mon Jun 22 14:27:13 2015 UTC (9 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.90: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.90: +2 -2
lines
- Eliminate duplicate declaration.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Sun Jun 14 00:02:43 2015 UTC (9 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.89: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.89: +288 -150
lines
- Textbook/Template course requests
- Additional content option -- select from colleagues' courses for which
requester has rights to clone.
- Existing single-use code moved to new routines: clone_selection_table()
and custom_formitems() to facilitate re-use.
- Prompts to request author role or create another course, on page
displayed after course request is processed can be suppressed, if
custom output is planned from localenroll::crsreq_updates().
- Additional items can be sent to localenroll::crsreq_updates():
(_LC_coursedomainname, _LC_ownerfullname, _LC_owneremail).
- Additional calls to lonnet::auto_crsreq_update() for new actions:
(a) initializereview and (b) prereview used to support custom
javascript in textbook request page, and custom onload action.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Tue Jun 9 21:22:57 2015 UTC (9 years, 2 months ago) by damieng
Branches: MAIN
Diff to previous 1.88: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.88: +28 -20
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.88: download - view: text, markup, annotated - select for diffs
Mon Jun 8 22:06:52 2015 UTC (9 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.87: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.87: +3 -3
lines
- Fix typo.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Thu May 21 23:40:09 2015 UTC (9 years, 2 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_1
Diff to previous 1.86: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.86: +13 -6
lines
- Support checking of course cloning rights based on (a) domain defaults
(where no course-specific rights set), or (b) course specific rights
for official courses, based on institutional code category/ies set in
courseprefs, e.g., department=phy etc.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Thu Mar 26 14:16:11 2015 UTC (9 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.85: preferred, unified
Changes since revision 1.85: +11 -1
lines
- If cloning, include courseID of course being cloned in information sent
sent to localenroll::validate_crsreq() and locallenroll::crsreq_updates()
(key is _LC_clonefrom) in $custominfo and $incoming hashrefs respectively.
Revision
1.85:
download - view:
text,
markup,
annotated -
[selected for diffs]
Mon Jun 16 01:42:22 2014 UTC (10 years, 2 months ago) by
raeburn
Branches:
MAIN
CVS tags:
version_2_11_0
Diff to previous 1.84:
preferred,
unified
Changes since revision 1.84: +49 -20
lines
- Add missing subroutine: &textbook_request_disabled()
- In &get_breadcrumbs() sanity checking -- $states->{$action} needs to be
a ref to an ARRAY.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Mon May 19 15:59:55 2014 UTC (10 years, 2 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_0_RC3
Diff to previous 1.83: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.83: +33 -8
lines
- Course creation can take some time if a course is being cloned.
- Display a message that processing is in progress, then flush the print
buffer. Hide messge when page loading completes.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Wed May 14 18:20:09 2014 UTC (10 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.82: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.82: +65 -42
lines
- Support display of queued "textbook" requests awaiting approval by DC.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri May 9 17:43:13 2014 UTC (10 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.81: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.81: +5 -3
lines
- Add "publisher" field to display of available "textbooks" whicn may bea
selected for cloning when requesting a textbook course.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Fri May 9 15:02:31 2014 UTC (10 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.80: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.80: +97 -52
lines
- "Textbook" course requests can specify cloning from one of two types of
prefabricated courses: either (a) "textbooks" or (b) "templates".
Revision 1.80: download - view: text, markup, annotated - select for diffs
Tue May 6 20:42:27 2014 UTC (10 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.79: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.79: +4 -10
lines
- Post-processing for course requests.
- localenroll::crsreq_updates() can populate hash ref:
$outgoing->{'createdactions'}->{'environment'} with a course's
self-enrollment settings when processing course request.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue May 6 18:09:40 2014 UTC (10 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.78: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.78: +16 -2
lines
- Eliminate javascript error when no textbooks have been assigned in the
domain.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed Apr 16 14:40:17 2014 UTC (10 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.77: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.77: +143 -32
lines
- Course requests for unofficial courses, textbook courses and communities
can include validation.
- lonrequestcourse.pm
- New subroutine: pending_validation_form() generates web form used to
proceed to validation (can be local script, or script on remote server)
- Prepended new arg to args passed to: &print_request_outcome() and
&process_request() -- $lonhost (lonHostID of current server).
- localenroll.pm
- &validate_crsreq() accepts additional (optional) arg -- ref to hash of
custominfo.
- &crsreq_updates() supports additional action type ('prevalidate') which
is used to generate form elements needed for validation of request.
- lond
- &validate_crsreq_handler() accepts additional -- $customdata
which is a frozen hash of custominfo passed in from lonnet.pm
- lonnet.pm
- &auto_courserequest_validation() accepts additional arg -- ref to hash of
custominfo (contains key => value for custm form elements retrieved from
course request review page.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Wed Apr 9 10:50:07 2014 UTC (10 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.76: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.76: +4 -5
lines
- Consistent naming for $context arg passed to loncoursequeuadmin::send_selfserve_notification()
via ¬ification_information().
- Eliminate duplication of output to screen from two calls to ¬ification_information()
(second to accommodate $postprocess) in case where request is queued for approval.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Wed Jan 8 17:18:12 2014 UTC (10 years, 7 months ago) by bisitz
Branches: MAIN
Diff to previous 1.75: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.75: +5 -5
lines
Consistent spelling (upper case): Authoring Space
Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun Jan 5 10:55:35 2014 UTC (10 years, 7 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_0_RC2
Diff to previous 1.74: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.74: +14 -5
lines
- No domain selector shown if there are no other domains to choose from.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Sat Jan 4 02:10:36 2014 UTC (10 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.73: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.73: +12 -11
lines
- Include course title in message sent to course requestor containing
unique code.
- Change args passed to ¬ification_information() to include course domain
as third arg. $dom is used to construct $cid argument when calling
loncoursequeueadmin::send_selfserve_notification(), where appropriate.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri Jan 3 18:39:51 2014 UTC (10 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.72: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.72: +252 -48
lines
- New routine in localenroll.pm -- &crsreq_updates() -- to support
domain-specific operations during course request process.
- Tabbed interface used for textbook-type course requests, one tab
for course creation, one for request logs.
- Column for unique codes included in user's request log display, if
domain has enabled use of unique codes.
- Correction to LON-CAPA messaging of unique code -- recipient should
be requestor.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Fri Dec 27 14:34:52 2013 UTC (10 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.71: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.71: +569 -47
lines
- Simplified course request form in case where only request type available
is "textbook".
- Single page: title, clone choice, student access dates.
- Code used to process course requests moved out of &print_request_outcome to separate
routine: &process_request to facilitate reuse
- Code used to suggest submission of request for author role moved to separate routine:
&print_author_prompt to facilitate reuse.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Dec 25 20:43:46 2013 UTC (10 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.70: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.70: +5 -4
lines
- Domain configuration used to set generation of unique six character code
as course identifier when processing course requests, can be set
separately for different request types - official, unofficial, community
or textbook.
- Where a unique code is set for a course store in nohist_courseids.db on
domain's library server(s).
Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Dec 25 09:52:42 2013 UTC (10 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.69: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.69: +29 -5
lines
- Unique six character identifier for a course can be created automatically,
when a course is created, if domain configuration set to include this for
course requests.
- Initial use case is for a separate portal (toke-based auth) where students
enter the code to sign up for a specific "textbook" course.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Dec 24 19:15:11 2013 UTC (10 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.68: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.68: +30 -15
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.68: download - view: text, markup, annotated - select for diffs
Mon Jul 22 18:06:51 2013 UTC (11 years ago) by bisitz
Branches: MAIN
CVS tags: version_2_11_0_RC1
Diff to previous 1.67: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.67: +3 -3
lines
Exclude HTML tags from translation phrases.
Update corresponding German translation file phrases and translations.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat May 11 21:10:31 2013 UTC (11 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.66: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.66: +4 -3
lines
- With perl-5.8.8-40.el5_9, escaped double quotes became doubly escaped in
javascript, resulting in a javascript error.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Mar 1 04:48:59 2013 UTC (11 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.65: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.65: +117 -39
lines
- Course credits for a particular institutional code can be provided as a
third item returned by localenroll::validate_instcode()
- Course credits can be specified for an official course (or retrieved from
localenroll::validate_instcode) or an unofficial course as part of a course
request
- Credits earned for a course can also be different for a specific student
(e.g., retrieved from institutional classlist data), or specified when
CC adds a student to a course via the web GUI.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Wed Aug 15 14:37:13 2012 UTC (12 years ago) by raeburn
Branches: MAIN
Diff to previous 1.64: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.64: +79 -11
lines
- Requests author roles by users who do not have them.
- Move code from lonroles.pm to new routines in loncoursequeueadmin.pm
is_active_author(), author_prompt(), reqauthor_check(), process_reqauthor()
to facilitate re-use.
- At conclusion of course/community request process, offer option to
request an author role to users without one, who have to rights to
request one.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Tue Aug 14 15:45:06 2012 UTC (12 years ago) by raeburn
Branches: MAIN
Diff to previous 1.63: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.63: +4 -3
lines
- Add ability for users to request creation of an author role in their
domain, if they do not already have an active author role.
- Domain defaults can be assigned based on institutional status.
- Defaults can be overridden for individual users by the DC.
- Requests can either be processed automatically or queued for DC
approval.
- Notification message can be sent to DCs when queued for approval
- Notification message sent to requester if approved/rejected.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Mar 6 21:17:15 2011 UTC (13 years, 5 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_10_1,
version_2_10_0,
loncapaMITrelate_1,
language_hyphenation_merge,
language_hyphenation,
BZ4492-merge,
BZ4492-feature_horizontal_radioresponse
Branch point for: version_2_10_X
Diff to previous 1.62: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.62: +2 -2
lines
- Bug 6287.
Processing of requests for official courses queued pending validation
by Autocreate.pl run by cron.
- Send LON-CAPA message (with notification e-mail to permanentemail)
to course requestor when course is created.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Mon Jan 24 00:59:50 2011 UTC (13 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.61: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.61: +45 -35
lines
- Checking of right to create new user and of format rules for new username
when processing personnel included in course request skipped for existing users.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Jan 11 04:28:52 2011 UTC (13 years, 7 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_10_0_RC2
Diff to previous 1.60: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.60: +75 -14
lines
- For official courses, where institutional code defined and auto-enroll enabled:
- include textboxes for input of institutional section if no official sections known.
- A single help icon for multiple crosslisting rows.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Jan 5 18:47:46 2011 UTC (13 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.59: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.59: +93 -10
lines
- Authentication type and authentication arg (optional) need to be stored
in course request for any users without existing accounts.
Will use domain defaults if no usertype determined (i.e., no username
format rules active).
Otherwise will use values defined in localenroll::username_rules() for "official"
users and internal auth with randomly generated password (e-mailed to new user)
for "unofficial" users.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Nov 19 00:01:25 2010 UTC (13 years, 8 months ago) by raeburn
Branches: MAIN
Diff to previous 1.58: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.58: +13 -11
lines
- Official courses without institutional code - review screen for DC consistent
with stored data for autoadds and autodrops.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Sep 10 20:25:51 2010 UTC (13 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.57: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.57: +5 -1
lines
- Server-side clean-up of LON-CAPA section names.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Aug 19 17:12:08 2010 UTC (13 years, 11 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_10_0_RC1
Diff to previous 1.56: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.56: +2 -5
lines
- Record autoadds and autodrops settings correctly.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Aug 11 13:00:45 2010 UTC (14 years ago) by raeburn
Branches: MAIN
Diff to previous 1.55: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.55: +3 -3
lines
- Bug 6338.
- When DC displays details of queued course request, checking of cloning
rights needs to be for course reqestor instead of current user (DC).
Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Aug 10 17:16:05 2010 UTC (14 years ago) by raeburn
Branches: MAIN
Diff to previous 1.54: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.54: +4 -1
lines
- bug 6338.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Jul 7 17:27:41 2010 UTC (14 years, 1 month ago) by raeburn
Branches: MAIN
Branch point for: version_2_9_X
Diff to previous 1.53: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.53: +2 -2
lines
- Bug 6332.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Jun 20 01:39:08 2010 UTC (14 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.52: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.52: +8 -7
lines
- bug 6288. Decrease likelihood of user error selecting course to clone.
- "Select Course" link moved to left of Course ID text box.
- Clicking inside Course ID text box launched pop-up window.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Jun 8 16:37:20 2010 UTC (14 years, 2 months ago) by bisitz
Branches: MAIN
Diff to previous 1.51: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.51: +2 -6
lines
Removed leftovers of already removed alternative login mode (accessibility).
Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Mar 31 18:58:34 2010 UTC (14 years, 4 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_9_0,
version_2_8_99_1,
PRINT_INCOMPLETE_base,
PRINT_INCOMPLETE
Diff to previous 1.50: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.50: +2 -2
lines
- Add escaped quotes to original phrase so translators will also escape them,
thereby avoiding javascript errors when language in use is other than English.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Mar 30 16:08:10 2010 UTC (14 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.49: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.49: +2 -2
lines
- Wording change: Course/Community created -> Created
Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Mar 30 15:01:17 2010 UTC (14 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.48: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.48: +28 -13
lines
- Default for cloning radiobutton to "No".
- Fix args in call to &header() when displaying warning message when displaying
existing request.
- Change args passed to &sorted_request_history()
- replace third and fourth args with a single arg (ref to Hash of current filters (status, before, after, crstype).
- Check for form.queue (either approval or pending) to allow manual approval/rejection official courses pendng validation of instructor of record.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Mar 19 13:23:05 2010 UTC (14 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.47: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.47: +365 -37
lines
- A user can generate a filtered display of all course/community requests the user has made, including current status of each request.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Mar 16 22:40:12 2010 UTC (14 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.46: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.46: +6 -2
lines
- Include course type (Course or Community) as second arg in call to &generate_coursenum().
Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon Mar 8 13:42:18 2010 UTC (14 years, 5 months ago) by wenzelju
Branches: MAIN
Diff to previous 1.45: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.45: +7 -5
lines
- Inserted texthash and &mt() for translation.
- Corrected pick_box-call.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Feb 25 08:18:32 2010 UTC (14 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.44: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.44: +60 -7
lines
- Bug 6050.
- Y/N radio buttons for cloning in course request -> additional options in div
block element displayed/hidden depending on radio button state.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Feb 21 23:38:51 2010 UTC (14 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.43: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.43: +10 -25
lines
- Code to update user's courserequests.db moved to &update_coursereq_status() in loncoursequeueadmin.pm
to be more widely available.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Jan 14 20:08:13 2010 UTC (14 years, 7 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_9_99_0,
bz6209-base,
bz6209
Diff to previous 1.42: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.42: +4 -92
lines
- Domain Coordinator Modify user screen.
- Rights to request different course types in user's domain
now shown if defaults apply to user.
- &get_processtype moved from lonrequestcourse.pm loncoursequeueadmin.pm
to be more widely available.
- Additional arguments prepended to &get_processtype() to allow use
where request rights are retrieved for a user different to the one
requesting the information (i.e., a DC).
Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Jan 1 23:17:31 2010 UTC (14 years, 7 months ago) by raeburn
Branches: MAIN
Diff to previous 1.41: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.41: +9 -2
lines
- Set start date for requestor's roles (excluding student) to
1 second before last role refresh time, so role switcher will be functional.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Dec 10 18:21:22 2009 UTC (14 years, 8 months ago) by raeburn
Branches: MAIN
Branch point for: GCI_3
Diff to previous 1.40: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.40: +58 -32
lines
- Accommodate Communities.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Nov 18 19:15:44 2009 UTC (14 years, 8 months ago) by raeburn
Branches: MAIN
Diff to previous 1.39: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.39: +157 -45
lines
- Accommodate Communities.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Nov 4 17:42:17 2009 UTC (14 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.38: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.38: +82 -30
lines
- Additional optional arg for loncommon::select_dom_form()
- can restrict available domains to those included in the array ref arg.
- Only display domains for which user can request courses in the domain select box
- Only included types of course a user can request in the Type select box
- Accommodate Communities
- text changed depending on whether requests are possible for courses only, communitiesonly or both.
- &loncoursequeueadmin::check_can_clone() - check user roles for active "co" role for a Community.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Oct 25 14:48:55 2009 UTC (14 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.37: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.37: +3 -3
lines
- Link to course request page if user has no active roles, and has rights to request creation of courses.
- Some wording changes to accommodate communities as well as courses.
- Additional argument for &lonnet::check_can_request() -
hashref: $request_domains used to accumulate domains for each course
type for which user has course request rights.
- New subroutine: &requestcourse_advice() in lonroles.pm
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Oct 24 03:24:13 2009 UTC (14 years, 9 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_8_99_0
Diff to previous 1.36: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.36: +8 -55
lines
- Facilitate re-use:
- move &check_can_request() from lonrequestcourse.pm to lonnet.pm
- move &course_types() from lonrequestcourse.pm to loncommon.pm
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Sep 13 03:13:55 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
Branch point for: GCI_2
Diff to previous 1.35: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.35: +16 -14
lines
- &Apache::lonnet::auto_validate_instcode() now returns an array containing:
- the outcome ('valid' - or some other message) and
- an (optional) brief description for the course retrieved from
localenroll::validate_instcode() which likewise returns an array of 2 items.
- Used to set cdescr form element in the course request form for official courses when the instcode has been validated.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Sep 11 12:53:10 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.34: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.34: +93 -91
lines
- If course is being created immediately, add CC role to assignment of new roles
to requestor's %env, if no additional personnel were included in the request.
- Some localization of course types.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu Sep 10 03:00:31 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.33: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.33: +54 -23
lines
- Contextual help for Course Requests.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Sep 9 15:49:26 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.32: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.32: +3 -3
lines
- Help item to explain privileges available to standard course roles.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Sep 8 13:20:27 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.31: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.31: +13 -4
lines
- Wording differences where request is for a community not a course.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Sep 8 13:05:00 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.30: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.30: +241 -33
lines
- Add javascript functions to check section names (in LON-CAPA) have a valif format (i.e., letters and/or numbers only) and are not the reserved word - 'none'.
- Used on enrollment page and personnel page.
- Exclude blank entries from section list on preview page (can originate from "None" option in official sections drop-down in personnel page).
Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Sep 7 06:30:49 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.29: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.29: +215 -23
lines
- Side effect of changes to address bug 5595 was that checking of user creation privileges etc. no longer guaranteed to have occurred via mechanisms in lonpickuser.pm.
- Check for user information for existing users, and if new user for rights to create one - &get_cancreate_status() and &check_newuser_rules() added.
- Messages displayed above review table if requested user was excluded.
- Earlier change (rev 1.27) to multiple forms on main menu page requires different javascript functions to set form elements on this page compred with all other pages - &mainmenu_javascript() provides this.
- onload call changed for main menu page accordingly.
- $loaditems included in call to print_main_menu for view action as well as new action.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Sep 6 19:09:54 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.28: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.28: +17 -16
lines
- Bug 5995.
- Username field in "Additional" personnel accepts type-in input from user.
- "Search for User" link provided for requestors who want to search.
- "Check username" link provided for requestors who know the username and
want to check it and/or complete the user information fields from stored data.
- Javascript function - openuserbrowser() takes additional argument - caller - to trigger immediate username search if "check username" link used.
- Javascript function - fix_domain() now fixes domain selector in opener
only after a username and domain have been set from the pickuser pop-up.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Sep 5 20:24:15 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.27: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.27: +117 -12
lines
- &update_requestors_roles()
- New routine to immediately add roles to course requestor's session
if request is processed immediately.
- Links to new course roles displayed following course creation.
- Change separators used in options in role selector from _ to /
Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Aug 31 14:57:06 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.26: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.26: +359 -185
lines
- move breadcrumb generation to &get_breadcrumbs().
- breadcrumb links point to request main menu if course request submission was
processed without error, or if course request was removed via cancel action.
- move validation of institutional code to &get_breadcrumbs() so trail is correct,
if re-display of course code setting table is needed.
- validate institutional codes for crosslisted courses
- xhtml: use three separate forms on request main menu to satisfy valid tag nesting.
- Add row_headlines in pick_box tables and aggregate items on each page into a single
pick_box table.
- Replace "Back" button on request outcome screen with link to "Make another request",
(and if request is queued - link to "Modify this request".
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Aug 27 00:06:18 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.25: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.25: +99 -27
lines
- Domain Coordinators approving requests can view details of request in a pop-up window.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Aug 25 14:59:53 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.24: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.24: +5 -4
lines
- courserequestqueue.db now stored in domainconfig user's directory.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Aug 23 03:51:53 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.23: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.23: +80 -71
lines
- Institutional section settings and crosslistings correctly displayed in request review screen when modifying an existing request.
- Section choices and crosslistings can also now be modified on a pending request.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Aug 22 21:08:39 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.22: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.22: +4 -2
lines
- Set $disposition for requests of process type 'validate'.
- Check for LC_adv override only if occurs if setting is not ''.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Aug 22 20:17:03 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.21: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.21: +4 -4
lines
- Typo in call to &extract_instcode().
- Store crosslist section separately from crosslist institutional code, so
form elements can be set when modifying a request which includes crosslistings.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Aug 22 18:12:37 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.20: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.20: +13 -18
lines
- For users with type 'validate', use lonnet::auto_courserequest_validation()
instead of auto_validate_instcode() to determine if request can be processed immediately.
- Change response expected from &auto_validate_instcode() when course code is valid from 'ok' to 'valid' for consistency with localenroll.pm.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Aug 21 13:18:46 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.19: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.19: +13 -7
lines
- Eliminate repeated line for HTTP header generation.
- coding style: unshift(), push()
- for an official course but with no institutional codes to pick from adjust pages reached by prev and next from courseinfo and access dates pages.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Aug 20 21:15:37 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.18: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.18: +54 -16
lines
- Change mechanism for choosing domain to default to on course request main menu.
- Missing punctuation.
- Use approval instead of approve for name of option, for consistency with
request processing.
- entries in reqcrsotherdom are in the form $dom:$value (where $value is approval, validate, autolimit etc.) not simply $dom.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Aug 19 20:12:04 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.17: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.17: +3 -3
lines
- Consistent wording.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Aug 18 20:06:51 2009 UTC (15 years ago) by raeburn
Branches: MAIN
Diff to previous 1.16: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.16: +46 -10
lines
- lonrequestcourse.pm uses lonnet::auto_validate_instcode() to check if request should be
processed:
- result (ultimately from localenroll.pm) will be one of: valid, pending, approval or
error.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Aug 18 01:41:37 2009 UTC (15 years ago) by raeburn
Branches: MAIN
Diff to previous 1.15: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.15: +512 -106
lines
- Can modify pending requests.
- Can cancel pending requests.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Aug 17 04:39:15 2009 UTC (15 years ago) by raeburn
Branches: MAIN
Diff to previous 1.14: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.14: +75 -39
lines
Course Requests
- Client-side javascript validation to check a course description was provided.
- Server-side checking that requestor has rights to clone a course selected for cloning.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Aug 16 19:16:16 2009 UTC (15 years ago) by raeburn
Branches: MAIN
Diff to previous 1.13: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.13: +170 -120
lines
Course Requests
- Move &build_batchcreatehash() from lonrequestcourse.pm to loncoursequeueadmin.pm
- Move call to LONCAPA::batchcreatecourse into a separate routine: &course_creation()
within loncoursequeueadmin.pm
- Code added for resolution of course requests subject to approval by DC.
- either approve and create course, or reject.
- formatting of LON-CAPA messages sent to notification list and requestor improved.
- Change in storage of status information for a request.
- Status now stored in a separate key => value in courserequests.db file belonging to requestor
- key is status:$cdom:$cnum
- User's display of pending requests now shows the required information.
(Select button to view/modify/cancel individual request currently inactive - work in progress).
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Aug 15 01:59:04 2009 UTC (15 years ago) by raeburn
Branches: MAIN
Diff to previous 1.12: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.12: +187 -106
lines
- Changing names of hash keys used in storage of request data for consistency with nomeclature used in details hash in &batchcreatecourse::build_course().
- Adding option to select a course home server if there are multiple library servers in the course's domain.
- Process course sections, crosslisted courses and course personnel into data structures expected by &batchcreatecourse::build_course().
- Institutional status type where no assigned status exists is "default" not "other".
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Aug 12 14:39:23 2009 UTC (15 years ago) by raeburn
Branches: MAIN
Diff to previous 1.11: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.11: +57 -1
lines
- placeholders for perldoc.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Aug 12 14:24:35 2009 UTC (15 years ago) by raeburn
Branches: MAIN
Diff to previous 1.10: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.10: +17 -22
lines
- Moving call to &print_request_status() inside &request_administration().
- Wording change in message displayed if there are no pending requests.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Aug 12 12:40:33 2009 UTC (15 years ago) by raeburn
Branches: MAIN
Diff to previous 1.9: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.9: +229 -50
lines
- Display user's pending and queued course requests,filtered by course type and course domain.
- Construct hashes of sections, crosslistings and personnel for storage in course request hash of a hash.
- If processing control is set to autolimit=N, accumulate numbers of prior course requests of each course type (where user still has active CC role) and compare witgh limit (N).
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Aug 12 02:04:38 2009 UTC (15 years ago) by raeburn
Branches: MAIN
Diff to previous 1.8: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.8: +13 -9
lines
- %domconfig needed to retrieve list of users to be notified if course request requires approval.
- Pass ref to hash as additional arg to &get_processtype().
Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Aug 11 01:39:34 2009 UTC (15 years ago) by raeburn
Branches: MAIN
Diff to previous 1.7: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.7: +264 -10
lines
- Course Requests
lonrequestcourse.pm
- &print_review() which displays details of a course request prior to submissi
on now includes a call to &Apache::lonnet::generate_coursenum() to retrieve a un
ique course number to be used for the requested course.
- &print_request_outcome() determines how a request should be processed, based on course type, and domain setting for requestor's instiutional affiliations(s), (overridden by user-specific settings), and performs the required actions.
- &get_processtype() retrieves the setting: norequest, approval, validate, or autolimit=N (N is requests per user).
- &check_autolimit() will check if requests per user limit reached.
- Call to &Apache::lonnet::auto_courserequest_validation() to perform institutional check - response is either process or pending.
- $disposition indicates how request should be handled
- approval, rejected, process, or pending.
- case: approval and pending - place in a queue (domain's courserequestqueue.db); approval means DC needs to approve; pending means institutional change ne
eded (e.g., assign owner as instructor of record)
- case: process - create the course using &build_course() in batchcreatecourse.pm
- case: rejected - course request not allowed
lonnet.pm
- &store_coursereq() is used to store (versioned) course requests in a courserequests.db file which belongs to the requestor. The unique key is the course number assigned to the (yet to be created) course.
Work in progress.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Aug 6 20:40:59 2009 UTC (15 years ago) by raeburn
Branches: MAIN
CVS tags: bz2851
Diff to previous 1.6: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.6: +4 -4
lines
- Provide domain of requested course to routines used for pop-up "Pick User" window used to add course personnel to the request.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Aug 6 04:01:36 2009 UTC (15 years ago) by raeburn
Branches: MAIN
Diff to previous 1.5: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.5: +17 -17
lines
- CDATA in Javascript call for xhtml compliance
- Unbalanced <tr> tag in review table
- Display "None" for Sections and Crosslistings if course is "official" and auto-enrollment is active, but no sections/crosslistings were selected.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Aug 6 00:49:31 2009 UTC (15 years ago) by raeburn
Branches: MAIN
Diff to previous 1.4: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.4: +32 -16
lines
- Use code_order for display of institutional code in crosslistings
- Add column titles for institutional section and LON-CAPA section for summary of Sections and Crosslistings.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Aug 5 23:44:52 2009 UTC (15 years ago) by raeburn
Branches: MAIN
Diff to previous 1.3: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.3: +269 -27
lines
- Display details of course request prior to submission.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Aug 5 12:46:44 2009 UTC (15 years ago) by raeburn
Branches: MAIN
Diff to previous 1.2: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.2: +53 -17
lines
- Add breadcrumbs.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Aug 4 20:15:50 2009 UTC (15 years ago) by raeburn
Branches: MAIN
Diff to previous 1.1: preferred, unified to selected 1.85: preferred, unified
Changes since revision 1.1: +638 -138
lines
- Add infrastructure to support stepping backwards or forwards across multiple pages in the course request form.
- For official courses, if auto-enrollment available in course's domain:
- Cross-listing of multiple course sections added to enrollment page
- Auto-adds and Auto-drops can be enabled.
- Course personnel page uses pop-up window containing lonpickuser.pm to search for users.
Saving my work.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Jul 27 22:58:24 2009 UTC (15 years ago) by raeburn
Branches: MAIN
Diff to selected 1.85: preferred, unified
- Ability to make course requests.
- Saving my work.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>