CVS log for loncom/enrollment/Autoenroll.pl

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Oct 2 21:01:22 2023 UTC (6 months, 2 weeks ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X, version_2_11_4_msu, HEAD
Diff to previous 1.37: preferred, colored
Changes since revision 1.37: +11 -3 lines
- Bug 6979.
  "View As" form in Functions menu includes domain dropdown list if users in
  course are from more than one domain. Use course's environment.db to store
  comma separated list of unique domains to which course users belong.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Jan 13 03:50:32 2022 UTC (2 years, 3 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_X, version_2_11_4_uiuc, version_2_11_4
Diff to previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2 lines
- Fix typo introduced in rev. 1.36

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Dec 28 02:04:35 2021 UTC (2 years, 3 months ago) by raeburn
Branches: MAIN
Diff to previous 1.35: preferred, colored
Changes since revision 1.35: +10 -3 lines
- Extend "zero enrollment failsafe" mechanism so it can also (optionally)
  protect against unwanted drops if partial data retrieved from institutional
  source for specific institutional section.

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

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Sep 14 20:58:27 2016 UTC (7 years, 7 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2
Diff to previous 1.33: preferred, colored
Changes since revision 1.33: +10 -3 lines
- Bug 5464
    Can set failsafe value in domain (or override in Auto-enrollment course
    configuration to avoid unwanted dropping of students when no data are
    retrieved for a particular inststitutional section.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Mar 1 05:20:01 2013 UTC (11 years, 1 month 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_RC1, version_2_11_0
Diff to previous 1.32: preferred, colored
Changes since revision 1.32: +16 -4 lines
- Set institutional status when auto-enrollment adds a new LON-CAPA user.
- Store credits earned for a course in classlist.db for students for whom
  credits are different from course default.
- Credits can be part of XML record for each student in course roster
  retrieved from institutional data course via customized localenroll.pm

Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Aug 19 22:36:59 2010 UTC (13 years, 8 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_9_X, version_2_9_1, version_2_10_X, version_2_10_1, version_2_10_0_RC2, version_2_10_0_RC1, version_2_10_0, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, BZ4492-merge, BZ4492-feature_horizontal_radioresponse, BZ4492-feature_Support_horizontal_radioresponse, BZ4492-Support_horizontal_radioresponse
Diff to previous 1.31: preferred, colored
Changes since revision 1.31: +7 -8 lines
- Protect regexp inside \Q\E.
- Simplified args in call to Enrollment::update_LC().
- use lonnet::coursedescription to retrieve course enrollment settings.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Jan 8 16:58:04 2009 UTC (15 years, 3 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_9_99_0, version_2_9_0, version_2_8_X, version_2_8_99_1, version_2_8_99_0, version_2_8_2, version_2_8_1, version_2_8_0, bz6209-base, bz6209, bz5969, bz2851, PRINT_INCOMPLETE_base, PRINT_INCOMPLETE, GCI_3, GCI_2, GCI_1, BZ5971-printing-apage, BZ5434-fox
Diff to previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
- Two renamings from $settings to $domsettings omitted in rev 1.30.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Jan 4 05:52:58 2009 UTC (15 years, 3 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_7_99_1
Diff to previous 1.29: preferred, colored
Changes since revision 1.29: +14 -11 lines
- Rename hash ref: $settings as $domsettings (clarifies distinction from %settings).
- Set $env{'form.can_reply'} to N so if an e-mail message is generated when a LON-CAPA message is sent to recipients in notifylist, it will include a "Do not reply" message.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Jan 2 03:39:50 2008 UTC (16 years, 3 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_7_X, 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
Diff to previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
Forgot the &mt().

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Dec 5 02:04:02 2007 UTC (16 years, 4 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_5_99_1
Diff to previous 1.27: preferred, colored
Changes since revision 1.27: +7 -6 lines
- Use lonnet::coursedescription() to extract cnum from cid instead of using custom regexp.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Tue May 15 06:19:53 2007 UTC (16 years, 11 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_5_X, version_2_5_99_0, version_2_5_2, version_2_5_1, version_2_5_0, version_2_4_X, version_2_4_99_0, version_2_4_2, version_2_4_1, version_2_4_0, version_2_3_99_0
Diff to previous 1.26: preferred, colored
Changes since revision 1.26: +71 -38 lines
Changes to notification messages sent as a result of enrollment changes:
- sender set to value in domain preferences (if one set).
- recipients recorded in nohist_emailrecip db
- courseid included in message
- storage of duplicate messages in set mail folder eliminated

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon May 14 17:35:01 2007 UTC (16 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.25: preferred, colored
Changes since revision 1.25: +16 -3 lines
Running of Autoenroll.pl and display of "Automated Enrollment Manager" link on ENRL menu now controlled by domain configuration setting.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Mar 2 21:38:18 2007 UTC (17 years, 1 month ago) by raeburn
Branches: MAIN
CVS tags: version_2_3_X
Diff to previous 1.24: preferred, colored
Changes since revision 1.24: +12 -13 lines
Localization for text
 - sent to screen (if enrollment changes resulted from running "Update Roster Now"), or
 - logged to autoenroll.log log file (if changes resulted from running Autoenroll.pl).

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Mar 1 18:58:42 2007 UTC (17 years, 1 month ago) by raeburn
Branches: MAIN
Diff to previous 1.23: preferred, colored
Changes since revision 1.23: +5 -2 lines
Fix bug 5162.
- Now parts of a notification e-mail sent in response to changes caused by running Autoenroll.pl will be translated into the default language of the domain, when lonmsg::sendnotification() is executed.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Jan 1 19:19:58 2007 UTC (17 years, 3 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_3_2, version_2_3_1, version_2_3_0
Diff to previous 1.22: preferred, colored
Changes since revision 1.22: +12 -5 lines
Bug 5123.  $env{user.name} used when sending notification e-mail was user:domain for course owners with username and domain. Now fixed and backwards compatibility retained.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Jul 21 17:47:36 2006 UTC (17 years, 9 months ago) by albertel
Branches: MAIN
CVS tags: version_2_2_X, version_2_2_99_1, version_2_2_99_0, version_2_2_2, version_2_2_1, version_2_2_0, version_2_1_99_3, version_2_1_99_2, version_2_1_99_1
Diff to previous 1.21: preferred, colored
Changes since revision 1.21: +2 -1 lines
- lonnet still has a need for loncommon in a few cases

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Jul 8 17:29:15 2006 UTC (17 years, 9 months ago) by raeburn
Branches: MAIN
Diff to previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
Autoenroll.pl should only perform auto-enrollment in standard courses.  Documentation corrected in batchcoursecreate.pm.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu May 18 01:09:14 2006 UTC (17 years, 11 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_1_99_0
Diff to previous 1.19: preferred, colored
Changes since revision 1.19: +2 -1 lines
&coursegroups() and &get_group_settings() moved to longroup.pm, which contains general utility functions for asking about groups.  Also contains &group_changes() which is used to add/drop group memberships as a result of role changes, as determined by group settings for auto-add and auto-drop. 'none' and 'all' are now reserved words which may not be used as section or group names, so they can be used instead of _all and _none  when specifying auto-add and auto-drop settings for all sections or no section roles.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed May 17 14:48:49 2006 UTC (17 years, 11 months ago) by albertel
Branches: MAIN
Diff to previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
- style police

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue May 16 21:55:56 2006 UTC (17 years, 11 months ago) by raeburn
Branches: MAIN
Diff to previous 1.17: preferred, colored
Changes since revision 1.17: +7 -2 lines
Use ':' as separator between username and domain instead of '@' in notifylist but retain backwards compatibility.  Replace "Section/Group ID" with "Section ID" now group is distinct from section. Use loncommon::*_data_table() routines instead of nested tables.  Prevent use of 'none' or 'all' (reserved words) or a group name for a section ID.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Apr 8 07:12:16 2006 UTC (18 years ago) by albertel
Branches: MAIN
Diff to previous 1.16: preferred, colored
Changes since revision 1.16: +1 -4 lines
- eliminate non-functional Apache2::compat

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Nov 15 20:53:50 2005 UTC (18 years, 5 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, version_2_0_99_1
Diff to previous 1.15: preferred, colored
Changes since revision 1.15: +4 -1 lines
- safely try to pull in the compat enviironment where needed

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Nov 7 15:43:22 2005 UTC (18 years, 5 months ago) by raeburn
Branches: MAIN
Diff to previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
Bug 4441. Accommodation of non-word characters in institutional codes. Sanity checking now needed.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Apr 12 00:20:01 2005 UTC (19 years ago) by raeburn
Branches: MAIN
CVS tags: version_2_0_X, version_2_0_2, version_2_0_1, version_2_0_0, version_1_99_3, version_1_99_2, version_1_99_1_tmcc, version_1_99_1, version_1_99_0_tmcc, version_1_99_0
Diff to previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Bug 3912.  DCs can use courseID (e.g., 257472759ae4061msul1) as a filter when using pickcourse.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Apr 7 06:56:21 2005 UTC (19 years ago) by albertel
Branches: MAIN
Diff to previous 1.12: preferred, colored
Changes since revision 1.12: +9 -9 lines
- ENV -> env

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Nov 27 17:23:09 2004 UTC (19 years, 4 months ago) by raeburn
Branches: MAIN
CVS tags: version_1_3_X, version_1_3_3, version_1_3_2, version_1_3_1, version_1_3_0, version_1_2_99_1
Diff to previous 1.11: preferred, colored
Changes since revision 1.11: +3 -2 lines
Adding storage of course owner to nohist_courseids.db.  Pick course can permits use of institutional code and/or username of course owner as filters.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jun 17 18:31:24 2004 UTC (19 years, 10 months ago) by raeburn
Branches: MAIN
CVS tags: version_1_2_X, version_1_2_99_0, version_1_2_1, version_1_2_0, version_1_1_99_5, version_1_1_99_4, version_1_1_99_3, version_1_1_99_2, version_1_1_99_1
Diff to previous 1.10: preferred, colored
Changes since revision 1.10: +117 -114 lines
Calls to functions in localenroll.pm mediated by lonc/lond now include domain
in the set of passed parameters to support domain-specific variants in a single
localenroll.pm file housed on a multi-domain library server.

Automated enrollment now sets first access and last access dates for student
roles based on defaults set on course creation, and modifiable via a number
of mechanisms in the Enrollment Manager, and Automated Enrollment Manager.

The Automated Enrollment Manager now provides a utility to allow enrollment type
to be toggled between 'auto' and 'manual', so that students added via CSV file
or singly can become liable for automated update (dropping, section switching
etc.).

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Jun 9 17:01:56 2004 UTC (19 years, 10 months ago) by raeburn
Branches: MAIN
Diff to previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Fix bug #3062

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Jun 8 22:09:44 2004 UTC (19 years, 10 months ago) by raeburn
Branches: MAIN
Diff to previous 1.8: preferred, colored
Changes since revision 1.8: +5 -4 lines
Changes to support autoenroll calls from a remote server.

lond on the homeserver for the course(s) handles requests from the remote
server for institutional data (e.g., classlists, valid institutional courseIDs,
institutional section numbers for a course code, validation of course owners), by
calling the appropriate functions in the homeserver's localenroll.pm

All replies are made directly with the exception of fetch_enrollment_query, which
is shipped over to lonsql, in case retrieval of institutional classlists is a
protracted process.

lonsql on the homeserver for the course(s) calls localenroll::fetch_enrollment()
and writes XML files of enrollment data to /home/httpd/perl/tmp

Transfer of classlist data occurs later following an autoretrieve call from the
remote server. It is planned to generalize this function and add encryption to the transfer back to the client.

Autoenroll.pl called by cron on a library server, now only carries out updates for
courses in its domain, for which the library server is the course's homeserver. If a domain has multiple library servers Autoenroll.pl will need to be run on each library server.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Mar 18 19:40:39 2004 UTC (20 years, 1 month ago) by raeburn
Branches: MAIN
CVS tags: version_1_1_99_0
Diff to previous 1.7: preferred, colored
Changes since revision 1.7: +10 -2 lines
Modified messages written to log when no student enrollment is retrieved.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Feb 8 15:47:45 2004 UTC (20 years, 2 months ago) by raeburn
Branches: MAIN
Diff to previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
Fix so Autoenroll.pl will now run update when end date has been set to "No end date". Commit of change previously made to s10 on 1/28/2004.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Dec 11 15:45:25 2003 UTC (20 years, 4 months ago) by albertel
Branches: MAIN
CVS tags: version_1_1_X, version_1_1_3, version_1_1_2, version_1_1_1, version_1_1_0, version_1_0_99_3, version_1_0_99_2, version_1_0_99_1
Diff to previous 1.5: preferred, colored
Changes since revision 1.5: +4 -1 lines
- setting things up so the nightly script has no effect

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Dec 11 15:39:37 2003 UTC (20 years, 4 months ago) by albertel
Branches: MAIN
Diff to previous 1.4: preferred, colored
Changes since revision 1.4: +26 -0 lines
- putting the GPL header back in

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Dec 11 03:24:20 2003 UTC (20 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.3: preferred, colored
Changes since revision 1.3: +20 -36 lines
Added e-mailing of usernames and passwords to new accounts if e-mail addresses provided for the new users, or to the course owner via a LON-CAPA message if no e-mail addresses available.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Dec 9 20:06:37 2003 UTC (20 years, 4 months ago) by albertel
Branches: MAIN
Diff to previous 1.2: preferred, colored
Changes since revision 1.2: +26 -0 lines
- adding GPL headers

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Dec 8 15:47:22 2003 UTC (20 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.1: preferred, colored
Changes since revision 1.1: +120 -82 lines
Added notification to course coordinators when automated enrollment update results in enrollment changes. Added saving of logfiles. Changed calling of LONCAPA::Enrollment.pm to support crosslisted courses.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Dec 5 17:08:09 2003 UTC (20 years, 4 months ago) by raeburn
Branches: MAIN
Automated enrollment script - called by cron to carry out nightly enrollment updates, for all courses on the library server on which it is running. Makes calls to localenroll.pm to retrieve institutional data, and LONCAPA::Enrollment.pm to parse the retrieved classlists (stored as XML in /home/httpd/perl/tmp) and carry out the required changes.

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>