public/pyceo-broken.git
13 years agoFix typo in accounts.py.
Michael Spang [Mon, 16 Jul 2007 10:02:56 +0000 (06:02 -0400)]
Fix typo in accounts.py.

13 years agoIgnore build files in .gitignore files.
Michael Spang [Mon, 16 Jul 2007 09:59:56 +0000 (05:59 -0400)]
Ignore build files in .gitignore files.

13 years agoInclude ldap.cf in members.cf by default.
Michael Spang [Mon, 28 May 2007 06:17:45 +0000 (02:17 -0400)]
Include ldap.cf in members.cf by default.

13 years agoNew release (0.2.4). v0.2.4
Michael Spang [Mon, 28 May 2007 05:49:07 +0000 (01:49 -0400)]
New release (0.2.4).

Updates in this version:

  * Added csc.schema.
  * Vim-style keybindings for CEO menus.
  * Bug fix: call setreuid(euid, euid) in csc-chfn and csc-chsh.
  * Bug fix: run less in "secure" mode.
  * Renamed package to ceo.

13 years agoSwitching Python module dependencies to current package names.
Michael Spang [Mon, 28 May 2007 05:41:19 +0000 (01:41 -0400)]
Switching Python module dependencies to current package names.

13 years agoRun less in "secure" mode.
Michael Spang [Wed, 23 May 2007 21:04:18 +0000 (17:04 -0400)]
Run less in "secure" mode.

13 years agoCall setreuid(euid, euid) in csc-chfn and csc-chsh on setup
Michael Spang [Sat, 5 May 2007 05:32:16 +0000 (01:32 -0400)]
Call setreuid(euid, euid) in csc-chfn and csc-chsh on setup

This fixes an important bug in these utilities, in that
they didn't actually work for regular users.

13 years agoUpdate to GIT-HOWTO and INSTALLING docs
Michael Spang [Fri, 4 May 2007 19:10:28 +0000 (15:10 -0400)]
Update to GIT-HOWTO and INSTALLING docs

13 years agoMake 'studentid' attribute optional for members
Michael Spang [Fri, 4 May 2007 19:09:58 +0000 (15:09 -0400)]
Make 'studentid' attribute optional for members

Many members in the database have NULL studentids, so requiring
this attribute makes migration of those accounts impossible.

13 years agoAdd dependency on python-pam.
Michael Spang [Thu, 3 May 2007 22:07:51 +0000 (18:07 -0400)]
Add dependency on python-pam.

13 years agoAccept 'j' and 'k' for 'down' and 'up' in CEO menus.
Michael Spang [Mon, 30 Apr 2007 21:30:09 +0000 (17:30 -0400)]
Accept 'j' and 'k' for 'down' and 'up' in CEO menus.

13 years agoInstall csc.schema with the package.
Michael Spang [Mon, 19 Feb 2007 03:12:23 +0000 (22:12 -0500)]
Install csc.schema with the package.

13 years agoNew release (0.2.3). v0.2.3
Michael Spang [Mon, 19 Feb 2007 02:56:36 +0000 (21:56 -0500)]
New release (0.2.3).

Updates in this version:

  * Added "ceoquery", a utility to retrieve lists of members and users.
  * Added "csc-chsh" and "csc-chfn" utilities.
  * Bug fix: build_gecos() did not include enough commas between fields.
  * Member attributes are now added to LDAP as well as the PgSQL database.

13 years agoMerge branch 'ldap'
Michael Spang [Mon, 19 Feb 2007 02:50:51 +0000 (21:50 -0500)]
Merge branch 'ldap'

13 years agoPgSQL to LDAP transition - Phase 1: Added LDAP support for member data.
Michael Spang [Mon, 19 Feb 2007 00:46:15 +0000 (19:46 -0500)]
PgSQL to LDAP transition - Phase 1: Added LDAP support for member data.

This is the first major update for the PgSQL to LDAP transition. We will be
deprecating the members table in PostgreSQL and moving that information into
the LDAP directory.

With this commit, all newly created members will have their attributes added
to LDAP in addition to the members table in the database. The database is still
used as the canonical source of this information: the information in LDAP is
kept up-to-date but almost never referenced.

13 years agoChanged 'studentid' attribute from integer to IA5 string in schema.
Michael Spang [Mon, 12 Feb 2007 09:08:25 +0000 (04:08 -0500)]
Changed 'studentid' attribute from integer to IA5 string in schema.

13 years agoUpdated OIDs of schema to reflect assignment of PEN 27934 to the CSC.
Michael Spang [Sat, 10 Feb 2007 01:07:10 +0000 (20:07 -0500)]
Updated OIDs of schema to reflect assignment of PEN 27934 to the CSC.

13 years agoAdded CSC LDAP schema.
Michael Spang [Sun, 4 Feb 2007 00:27:50 +0000 (19:27 -0500)]
Added CSC LDAP schema.

13 years agoAdded csc-chsh and csc-chfn to build and install scripts.
Michael Spang [Mon, 19 Feb 2007 02:30:46 +0000 (21:30 -0500)]
Added csc-chsh and csc-chfn to build and install scripts.

13 years agoImproved error handling in LDAP module.
Michael Spang [Thu, 15 Feb 2007 06:44:56 +0000 (01:44 -0500)]
Improved error handling in LDAP module.

13 years agoUpdated LDAP backend tests.
Michael Spang [Wed, 14 Feb 2007 05:38:22 +0000 (00:38 -0500)]
Updated LDAP backend tests.

13 years agoAdded "csc-chsh" and "csc-chfn" utilities.
Michael Spang [Sun, 4 Feb 2007 12:04:38 +0000 (07:04 -0500)]
Added "csc-chsh" and "csc-chfn" utilities.

13 years agoUpdate of setuid cleanup code.
Michael Spang [Sun, 4 Feb 2007 05:46:05 +0000 (00:46 -0500)]
Update of setuid cleanup code.

13 years agoAdded "ceoquery", a utility to retrieve lists of members and users.
Michael Spang [Sat, 3 Feb 2007 02:45:24 +0000 (21:45 -0500)]
Added "ceoquery", a utility to retrieve lists of members and users.

13 years agoBug fix: build_gecos() did not include enough commas between fields.
Michael Spang [Sat, 3 Feb 2007 02:27:50 +0000 (21:27 -0500)]
Bug fix: build_gecos() did not include enough commas between fields.

13 years agoAdded list_all() to members module.
Michael Spang [Sat, 3 Feb 2007 01:29:55 +0000 (20:29 -0500)]
Added list_all() to members module.

13 years agoNew release (0.2.2). v0.2.2
Michael Spang [Mon, 29 Jan 2007 06:53:14 +0000 (01:53 -0500)]
New release (0.2.2).

Updates in this version:

  * Added "addhomedir", a utility to create home directories for new users.
  * Bug fix: CEO still referenced an exception that changed name in 0.2.
  * Documentation updates.

13 years agoAdded "addhomedir", a utility to create home directories for new users.
Michael Spang [Mon, 29 Jan 2007 06:42:42 +0000 (01:42 -0500)]
Added "addhomedir", a utility to create home directories for new users.

13 years agoDocstring update: documented parameters and exceptions of conf.read().
Michael Spang [Mon, 29 Jan 2007 03:54:56 +0000 (22:54 -0500)]
Docstring update: documented parameters and exceptions of conf.read().

13 years agoAdded octal support to configuration module.
Michael Spang [Mon, 29 Jan 2007 02:27:16 +0000 (21:27 -0500)]
Added octal support to configuration module.

13 years agoMinor update of getting started documents.
Michael Spang [Sun, 28 Jan 2007 11:06:34 +0000 (06:06 -0500)]
Minor update of getting started documents.

13 years agoDocstring update: fixed exception list of accounts.create()
Michael Spang [Sun, 28 Jan 2007 07:01:46 +0000 (02:01 -0500)]
Docstring update: fixed exception list of accounts.create()

13 years agoBug fix: CEO (main.py) still referenced an exception that changed name in 0.2
Michael Spang [Sun, 28 Jan 2007 06:58:57 +0000 (01:58 -0500)]
Bug fix: CEO (main.py) still referenced an exception that changed name in 0.2

13 years agoNew release (version 0.2.1). v0.2.1
Michael Spang [Sun, 28 Jan 2007 06:38:33 +0000 (01:38 -0500)]
New release (version 0.2.1).

Updates in this version:

  * Added docs/GIT-HOWTO and docs/INSTALLING

13 years agoAdded GIT-HOWTO and INSTALLING docs.
Michael Spang [Sun, 28 Jan 2007 06:37:38 +0000 (01:37 -0500)]
Added GIT-HOWTO and INSTALLING docs.

These docs are intended to help potential contributors get started.

GIT-HOWTO explains how to set up a new repository. It also suggests several
resources to help users learn git or cogito.

INSTALLING suggests a procedure for coordinating the building and installing
of new versions of the Debian package.

13 years agoNew release (version 0.2). v0.2
Michael Spang [Sun, 28 Jan 2007 00:23:18 +0000 (19:23 -0500)]
New release (version 0.2).

Updates in this version:

  * Tests added to most Python modules.
  * Split configuration files.
  * Added maintainer scripts to manage permissions during install and purge.
  * Added functions for use by tools planned for next release (chfn, etc).

ceo:

  * Added support for account "repair", which will recreate LDAP entries
    and Kerberos principals if necessary.
  * The recreate account menu option is now active.

Miscellaneous:

  * Replaced instances of "== None" and "!= None" with "is None" and
    "is not None", respectively (thanks to: Nick Guenther).
  * Renamed terms.valid() to terms.validate() (thanks to: Nick Guenther).

13 years agoMoved files into their new locations prior to commit of 0.2.
Michael Spang [Sat, 27 Jan 2007 23:48:26 +0000 (18:48 -0500)]
Moved files into their new locations prior to commit of 0.2.

The changes in most files between 0.1 and 0.2 are so large that git is unable
to automatically detect the renames that took place. This commit moves files
into their new locations so that the history is accurate.

13 years agoInitial import (version 0.1). v0.1
Michael Spang [Sat, 27 Jan 2007 23:41:51 +0000 (18:41 -0500)]
Initial import (version 0.1).