Commit Graph

146 Commits

Author SHA1 Message Date
David Bartley 5778d003c2 Added console app
* Added 'ceo --help' stub
* Added 'ceo memberlist' command
2008-01-10 23:59:25 -05:00
David Bartley 9d3119274b Release 0.4.3 2008-01-08 19:59:29 -05:00
David Bartley 0cf2970d7f Fix group modification code 2008-01-07 13:55:47 -05:00
David Bartley 23adc7db5f Fix typo 2008-01-07 13:45:21 -05:00
David Bartley 677a83ef8b Add cro to positions 2008-01-06 22:16:40 -05:00
Michael Spang 4919539405 Release 0.4.2 2007-12-24 13:44:36 -05:00
Michael Spang d5793c37a4 Add git-buildpackage configuration 2007-12-24 13:44:34 -05:00
Michael Spang 087fc12908 Conditionally shows terms 2007-12-23 19:56:20 -05:00
Michael Spang 92fc45c97c Show "Rep Terms" when displaying member 2007-12-20 17:06:01 -05:00
Michael Spang 34b2aa1028 Add club representative support
The only difference between a club representative account and a member account
is how they are registered for terms.  If you are already a representative for
the current term, you need only go through the membership renewal process to
become a full fledged member.
2007-12-20 16:55:22 -05:00
Michael Spang e28b159cdc POSIX ACL support in addhomedir and addclub 2007-12-20 02:27:51 -05:00
Michael Spang 3307bfc56e Remove obsolete function ceo_add_club() 2007-12-20 00:35:36 -05:00
David Bartley c7aea5c7cf Add sudo entry to ldap when creating clubs 2007-12-19 21:51:20 -05:00
David Bartley a2a5e3771a Improved tab-completion 2007-12-18 15:58:07 -05:00
David Bartley 5a504220aa Improve exception handling 2007-12-18 01:49:13 -05:00
David Bartley d4c47073e0 Clarify group failure 2007-12-18 01:37:44 -05:00
David Bartley 7a282739e2 Add tab completion for userid fields 2007-12-18 01:24:58 -05:00
David Bartley 7c6c3d00a7 Remove extraneous whitespace 2007-12-18 01:22:09 -05:00
Michael Spang 92513f4587 Allow init of MemberException with no arguments 2007-12-17 18:44:55 -05:00
David Bartley f37a9452d5 Merge branch 'master' of /users/git/public/pyceo 2007-12-16 18:34:44 -05:00
David Bartley c22b6e91a3 Only allow 3 password attempts 2007-12-16 18:34:42 -05:00
Michael Spang 6acb5c0f93 Merge branch 'master' of caffeine:/srv/git/public/pyceo 2007-12-16 18:32:26 -05:00
Michael Spang 14069b2c08 Add manpages and remove TODO 2007-12-16 18:31:55 -05:00
Michael Spang 06d1e8b48b Remove ceoquery
Just use the GUI's search feature or ldapsearch directly.
2007-12-16 18:11:42 -05:00
David Bartley 40cf5ec2f3 Add password prompt 2007-12-16 18:06:09 -05:00
Michael Spang ba05827977 Remove python-pam dependency
Only chsh and chfn depended on it.
2007-12-16 15:54:54 -05:00
Michael Spang 97b72fc4e7 Don't try to install chsh and chfn
They are gone!
2007-12-16 01:20:33 -05:00
Michael Spang fb829d6687 Enlarge the shells list 2007-12-16 01:19:16 -05:00
Michael Spang 9470a42998 Remove chfn and chsh and allow shell changes in the gui
The chsh and chfn programs were broken anyway.
2007-12-16 01:16:21 -05:00
Michael Spang 1231cddf56 Display "Connecting..." during gui startup 2007-12-15 16:18:26 -05:00
Michael Spang b94a9fb5bc Fix list by term and list by name
The list comprehension was incorrect.
2007-12-15 16:07:02 -05:00
Michael Spang 36413de090 Better error handling in the gui 2007-12-14 02:09:18 -05:00
Michael Spang 9110a41969 Cleanup warnings: unused imports, etc 2007-12-14 00:46:09 -05:00
Michael Spang 217c9806f1 Use python-ldap directly in members
This leaves only utility functions in ldapi.
2007-12-14 00:46:09 -05:00
Michael Spang b8be0f8149 Reorganize namespace
There were too many packages with only a couple of modules
in them. It took minimum four tab completes to find an
interesting file. This halves that.
2007-12-13 23:34:16 -05:00
Michael Spang 9a56175919 Reorganize build process
Now using Python's distutils for installing the Python modules
into the wrong place and python-support for moving them into
the right place, byte-compiling, and all that jazz.
2007-12-13 23:34:09 -05:00
Michael Spang 986151bca6 Bump version again 2007-12-12 03:41:37 -05:00
Michael Spang f0f65e4409 No connection needed for create_member() 2007-12-12 03:41:26 -05:00
Michael Spang 3bfa5002ab Merge branch 'master' of caffeine:/srv/git/public/pyceo 2007-12-12 03:39:23 -05:00
Michael Spang d822f029a7 Invert the sense of the return from addmember() or addclub()
It didn't quite work as-is. Whoops.
2007-12-12 03:39:17 -05:00
David Bartley ccfcdbb3cf Remove remaining bits of uid check 2007-12-12 03:33:09 -05:00
Michael Spang 2d7801864f Fix another return in addmember 2007-12-12 03:09:31 -05:00
Michael Spang a13412403c Bump version to 0.4.0 2007-12-12 03:07:42 -05:00
Michael Spang ed26812d98 Avoid trying to delete terms
Office staffers do not have permission to unregister members
from terms in the current setup. This breaks with the way
python-ldap's modifyModlist function works, as it attempts
to delete the terms then re-add them. Use David Bartley's
function instead, as it does not have this problem.
2007-12-12 03:04:46 -05:00
Michael Spang 8c19dc63b6 Make CEO non-SUID
It now binds to the directory as the invoking user.
2007-12-12 02:38:13 -05:00
Michael Spang 618bfa2d8d Set the login shell of new members
Somehow this got left out of addmember. The default
is sh which isn't terribly friendly.
2007-12-12 02:12:14 -05:00
Michael Spang 5bca2288af Merge accounts and members
This really only moves two functions: create_member and
create_club. Nothing else is left in accounts. Eventually,
it might make sense to separate it out again in a more
sane way (e.g. they should share the connection somehow).
2007-12-12 01:28:11 -05:00
Michael Spang 8782e58118 Remove unused cruft 2007-12-12 01:25:45 -05:00
Michael Spang fddc135056 Remove addhomedir
Yes, it's builtin now.
2007-12-12 01:25:44 -05:00
Michael Spang 3977cab631 Fix return in addmember and addclub 2007-12-12 01:25:44 -05:00