CVS log for loncom/automation/batchcreatecourse.pm
Up to [LON-CAPA] / loncom / automation
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Current tag: MAIN
Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Jul 1 20:09:03 2020 UTC (4 years, 1 month ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X,
HEAD
Diff to previous 1.44: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.44: +60 -17
lines
- Bug 6400
Options for transfer or creation of tiny URLs when cloning.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri May 22 15:05:36 2020 UTC (4 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.43: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.43: +4 -2
lines
- "Open all assessments" option during course creation now allows the start
date to be chosen (default is current time) for the course-level opendate.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Jul 26 02:28:28 2019 UTC (5 years ago) by raeburn
Branches: MAIN
Diff to previous 1.42: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.42: +7 -4
lines
- Devalidate cache for self-cataloging of courses, based on institutional
code for institution's nodes, when creating an "official" course.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Aug 25 22:33:06 2016 UTC (7 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.41: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.41: +5 -3
lines
- Courses created by process a course request will have comment.email set
to username:domain of requester.
- XML file used for batch course creation can also include <setcomment> tag
which when set to 1 will have the same result.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Apr 2 04:30:47 2016 UTC (8 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.40: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.40: +9 -3
lines
- Bug 6808. New course container -- "Placement" for Placement Tests.
Work in progress.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Jan 3 18:42:16 2014 UTC (10 years, 7 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_1,
version_2_11_0_RC3,
version_2_11_0_RC2,
version_2_11_0
Branch point for: version_2_11_X
Diff to previous 1.39: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.39: +4 -1
lines
- Store title of textbook cloned for 'textbook' courses (as internal.textbook)
in course's environment.db.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Dec 25 09:52:47 2013 UTC (10 years, 8 months ago) by raeburn
Branches: MAIN
Diff to previous 1.38: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.38: +30 -14
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.38: download - view: text, markup, annotated - select for diffs
Fri Mar 1 04:49:15 2013 UTC (11 years, 5 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_0_RC1
Diff to previous 1.37: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.37: +24 -5
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.37: download - view: text, markup, annotated - select for diffs
Mon Jul 4 09:24:46 2011 UTC (13 years, 1 month ago) by foxr
Branches: MAIN
CVS tags: language_hyphenation_merge,
language_hyphenation,
BZ4492-merge,
BZ4492-feature_horizontal_radioresponse,
BZ4492-feature_Support_horizontal_radioresponse,
BZ4492-Support_horizontal_radioresponse
Diff to previous 1.36: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.36: +2 -2
lines
Centralize knowledge of where the tmp directory is within LONCAPA.pm
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon May 24 06:32:38 2010 UTC (14 years, 3 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_9_X,
version_2_9_1,
version_2_9_0,
version_2_10_X,
version_2_10_1,
version_2_10_0_RC2,
version_2_10_0_RC1,
version_2_10_0,
loncapaMITrelate_1
Diff to previous 1.35: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.35: +6 -2
lines
- A syllabus doesn't make sense for a Community.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Jan 30 22:16:50 2010 UTC (14 years, 6 months ago) by bisitz
Branches: MAIN
CVS tags: version_2_9_99_0,
version_2_8_99_1,
bz6209-base,
bz6209,
PRINT_INCOMPLETE_base,
PRINT_INCOMPLETE
Branch point for: GCI_3
Diff to previous 1.34: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.34: +2 -2
lines
Corrected typo in rev. 1.34
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Jan 30 15:47:01 2010 UTC (14 years, 6 months ago) by raeburn
Branches: MAIN
Diff to previous 1.33: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.33: +2 -2
lines
- &escape moved from lonnet.pm to LONCAPA.pm some time ago.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Oct 31 18:04:50 2009 UTC (14 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.32: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.32: +7 -6
lines
- Accommodate Communities.
- "co" is a possible role for Communities.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Oct 31 17:54:51 2009 UTC (14 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.31: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.31: +29 -13
lines
- Accommodate Communities.
- Coordinator role is "co".
- Role names depend on course type.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Sep 5 20:20:17 2009 UTC (14 years, 11 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_8_99_0,
GCI_2
Diff to previous 1.30: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.30: +100 -13
lines
- Batch course creation can now create custom roles in a course.
- Check requested roles are legitimate.
- Check requested custom role was defined by course owner.
- Ignore sections in batch request if defined for a CC role.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Aug 15 00:25:34 2009 UTC (15 years ago) by raeburn
Branches: MAIN
Diff to previous 1.29: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.29: +2 -2
lines
Course Requests.
- Pass additional arg to loncommon::construct_course() - category to identify whether requested course is official, unofficial or community.
- Pass two additional args to lonnet::createcourse() - context (e.g., requestcourses) and category
- used when checking that requestor has rights to request a course (check via &usertools_access())
- Additional role assgnment rights check in &lonnet::assignrole().
Support case where a requestor is creating a course, and as course owner needs CC role
These rights only applies where context is "requestcourses", and user is adding his/her own cc role, and is identified as course owner.
- Defalt to using $en{'user.name'} and $env{'user.domain'} if not supplied in the args to &store_userdata().
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Aug 15 00:05:54 2009 UTC (15 years ago) by raeburn
Branches: MAIN
Diff to previous 1.28: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.28: +104 -101
lines
- Simplify data structure in &build_course().
- Pass the (inner) hash reference of course details instead of a reference to the (outer) hash of a hash.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Aug 8 19:55:15 2009 UTC (15 years ago) by raeburn
Branches: MAIN
CVS tags: bz2851
Diff to previous 1.27: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.27: +11 -6
lines
Course Requests
- lonnet.pm
- generation of unique coursenum move to own routine: &generate_coursenum()
- prefacing of coursenum with number then letter added to second attempt
to generate an ID (to duplicate change in first attempt in rev 1.674).
- additional optional argument to &createcourse() - can use a previously
generated, but unused, coursenum (will be hashkey in a queued course request).
- loncommon.pm
- additional optional argument to &construct_course() - $cnum, previously
generated, but unused, coursenum.
- check_clone() - unrestricted cloning in course's in role's domain now
requires creator has ccc privilege in role's domain.
- batchcreatecourse.pm
- &build_course() - update documentation, and new optional arg
previously generated, but unused, coursenum
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Jul 2 18:44:16 2008 UTC (16 years, 1 month ago) by raeburn
Branches: MAIN
CVS tags: version_2_8_X,
version_2_8_2,
version_2_8_1,
version_2_8_0,
version_2_7_X,
version_2_7_99_1,
version_2_7_99_0,
version_2_7_1,
version_2_7_0,
version_2_6_99_1,
version_2_6_99_0,
bz5969,
GCI_1,
BZ5971-printing-apage,
BZ5434-fox
Diff to previous 1.26: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.26: +10 -3
lines
- default datemode and dateshift set for courses created via batch course creation and cloned from an existing course.
- datemode and dateshift can be specified in the XML course description file.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu May 1 02:48:49 2008 UTC (16 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.25: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.25: +2 -2
lines
Bug 5176. Record role changes for course in nohist_rolelog.db
- Include $context in call to &lonnet:;assignrole()
Revision 1.25: download - view: text, markup, annotated - select for diffs
Thu Feb 7 01:43:21 2008 UTC (16 years, 6 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_6_X,
version_2_6_3
Diff to previous 1.24: preferred, unified
Changes since revision 1.24: +2 -2
lines
- courseIDs include the domain, but $LONCAPA::match_courseid is a regexp for just the cnum part, so validation of the new courseID was failing.
Revision
1.24:
download - view:
text,
markup,
annotated -
[selected for diffs]
Mon Sep 3 15:34:16 2007 UTC (16 years, 11 months ago) by
raeburn
Branches:
MAIN
CVS tags:
version_2_6_2,
version_2_6_1,
version_2_6_0,
version_2_5_X,
version_2_5_99_1,
version_2_5_99_0,
version_2_5_2
Diff to previous 1.23:
preferred,
unified
Changes since revision 1.23: +4 -1
lines
bug 5378.
lonparmset.pm
- Users allowed to clone course:
- can use wildcards (*:domain and *) for unrestricted cloning within a domain, and unrestricted cloning in all domains respectively.
- warning messages about invalid data separated into (a) invlaid format, invalid domain, non-existent user.
loncommon.pm
- cloning rights check accommodates wildcards.
- let the user know the course was not created, when the specified course to clone was non-existent, or cloning rights were missing.
Autocreate.pl
- improve format of logged messages.
batchcreatecourse.pm
- Since loncommon::construct_course() now terminates course creation when cloning rights check is not passed, early out to stop user creation and attempted enrollment in an uncreated course.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Aug 23 21:54:37 2007 UTC (17 years ago) by albertel
Branches: MAIN
CVS tags: version_2_5_1
Diff to previous 1.22: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.22: +3 -3
lines
- BUG#5377 don't create a course if cloning rights check fails
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Jul 2 03:36:47 2007 UTC (17 years, 1 month ago) by raeburn
Branches: MAIN
CVS tags: version_2_5_0,
version_2_4_99_0
Diff to previous 1.21: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.21: +10 -10
lines
- move clone authorization check from loncreatecourse.pm to loncommon.pm
- more information stored in autocreation log
- include context as argument in loncommon::commit_standardrole and commit_studentrole
to set appropriate line feeds (with/without <br /> for web/auto context).
- more information displayed on screen after course creation from uploaded attributes file (XML)
- language handler for Autocreate.pl
Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri May 11 01:48:26 2007 UTC (17 years, 3 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_4_X,
version_2_4_2,
version_2_4_1,
version_2_4_0,
version_2_3_99_0
Diff to previous 1.20: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.20: +5 -2
lines
Bug 5134. If the course owner was not an existing user and needed to be added as a new user, this would fail for a user with auth type = localauth because no homeserver existed for the course for lonnet::auto_create_password().
- now pass an extra argument (domain of new user) and contact primary domain server for this domain to access localauth password cretion in localenroll.pm
- extra logging in Enrollment.pm to log case where authchk fails for localauth case
- batchcreatecourse.pm now checks whether a valid courseID was returned for the new course.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Mar 3 01:40:38 2007 UTC (17 years, 5 months ago) by albertel
Branches: MAIN
Diff to previous 1.19: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.19: +2 -2
lines
- switch to lonnet for get the library server for a domain
Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Dec 20 22:35:35 2006 UTC (17 years, 8 months ago) by albertel
Branches: MAIN
CVS tags: version_2_3_X,
version_2_3_2,
version_2_3_1,
version_2_3_0,
version_2_2_99_1
Diff to previous 1.18: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.18: +2 -2
lines
- updating doc on <keyauth>
Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Aug 11 22:08:06 2006 UTC (18 years ago) by albertel
Branches: MAIN
CVS tags: version_2_2_X,
version_2_2_99_0,
version_2_2_2,
version_2_2_1,
version_2_2_0,
version_2_1_99_3
Diff to previous 1.17: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.17: +8 -10
lines
- bug#4965
Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Aug 11 19:30:52 2006 UTC (18 years ago) by albertel
Branches: MAIN
Diff to previous 1.16: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.16: +1 -2
lines
- start of BUG#4965 - Apache2 and Autocreate.pl
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Jul 8 17:29:24 2006 UTC (18 years, 1 month ago) by raeburn
Branches: MAIN
CVS tags: version_2_1_99_2,
version_2_1_99_1
Diff to previous 1.15: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.15: +2 -2
lines
Autoenroll.pl should only perform auto-enrollment in standard courses. Documentation corrected in batchcoursecreate.pm.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Jun 27 21:28:21 2006 UTC (18 years, 2 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_1_99_0
Diff to previous 1.14: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.14: +13 -3
lines
XML used to describe courses can now include course type (Course or Group), and course disk quota (disk quota for all portfolio files in course groups).
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed May 31 12:57:26 2006 UTC (18 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.13: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.13: +3 -3
lines
Silly typos.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue May 30 20:05:10 2006 UTC (18 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.12: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.12: +3 -3
lines
When creating courses can choose to create as a course or as an ANGEL-style Group. Can also upload a file containing XML describing course(s) or group(s) to be created. Additional course environment parameter ('type') is now set to 'Course' or 'Group', and included in value in key=value pairs in nohist_courseids.db
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri May 26 15:37:14 2006 UTC (18 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.11: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.11: +7 -4
lines
- style
- leap year detector missed the special case years
Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue May 23 18:34:40 2006 UTC (18 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.10: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.10: +2 -2
lines
Fix typo.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu May 11 22:41:38 2006 UTC (18 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.9: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.9: +36 -1
lines
Prevent invalid dates from causing batchcreatecourse.pm to stop creating courses. &process_date() now includes code to ensure values passed to timelocal() fall inside valid range.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Jan 13 21:36:33 2006 UTC (18 years, 7 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_1_X,
version_2_1_3,
version_2_1_2
Diff to previous 1.8: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.8: +11 -9
lines
Fix some typos. Also new users were being created without first name and last name, because hash name did not match tag in XML file.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Aug 31 06:31:22 2005 UTC (18 years, 11 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_1_1,
version_2_1_0,
version_2_0_X,
version_2_0_99_1,
version_2_0_2,
version_2_0_1
Diff to previous 1.7: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.7: +9 -9
lines
Fix typo and unabbreviate hash keys, so that new LON-CAPA users can be created using all the provided user information.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Jul 12 15:44:01 2005 UTC (19 years, 1 month ago) by raeburn
Branches: MAIN
CVS tags: version_2_0_0,
version_1_99_3,
version_1_99_2
Diff to previous 1.6: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.6: +5 -3
lines
Key for domain in ownerargs and userargs hash is udom.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jul 11 20:02:02 2005 UTC (19 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.5: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.5: +5 -5
lines
Pass %courseinfo by ref. Minor ordering change to improve readability.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jun 1 19:20:32 2005 UTC (19 years, 2 months ago) by raeburn
Branches: MAIN
CVS tags: version_1_99_1,
version_1_99_0
Diff to previous 1.4: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.4: +21 -21
lines
Bug fixes and inclusion of class ID information for better integration with automated course creation.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Apr 7 03:58:02 2005 UTC (19 years, 4 months ago) by albertel
Branches: MAIN
CVS tags: version_1_99_1_tmcc,
version_1_99_0_tmcc
Diff to previous 1.3: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.3: +26 -0
lines
- adding missing GPL headers
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Mar 4 14:07:15 2005 UTC (19 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.2: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.2: +16 -12
lines
Pass along username and domain of Domain Coordinator creating course - used for DC notification of auto-enrollment changes. Also disposition of XML course description file after processing is now handled by the calling script.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Mar 2 19:50:52 2005 UTC (19 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.1: preferred, unified to selected 1.24: preferred, unified
Changes since revision 1.1: +2 -0
lines
Allow this to work from the command line.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jan 30 15:37:03 2005 UTC (19 years, 6 months ago) by raeburn
Branches: MAIN
Diff to selected 1.24: preferred, unified
Collection of routines for batch creation of courses from file(s) containing XML description of courses. Intended to be called from command line script, or from a web page by a Domain Coordinator.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>