~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: drtomc
  • Date: 2008-02-20 09:41:48 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:522
Add quite a lot of stuff to get usrmgt happening.

login.py: A little bit of robustifying logic that logs you out if your account
    is still pending when you try to auth. Basically, this forces usrmgt-server
    to have another try.

authenticate.py: A small code rearrangement to produce the right behaviour
    (a generic login/passwd error) when an unknown user logs in (better than
    an internal server error :-) ).

usrmgt-server, makeuser.py: Lots of stuff to setup users. Quite a bit of stuff
    that should be db-driven is hard coded at the moment. (Only a week and a
    half till students will be hitting it, and we can't do everything!)

setup.py: Add an extra bit of svn related config.

users.sql,user.py,db.py: Add the svn_pass column to allow ivle to auth to the
    subversion server.

studpath.py: update a couple of comments to reflect a newer view of the world.

python-console: Add some timeout magic. Actually, I don't think this works,
    but it's well after bedtime, and I've still got to ride home from work.
    The morning will be soon enough.

Show diffs side-by-side

added added

removed removed

Lines of Context:
270
270
    (Caution: This password is stored in plaintext in lib/conf/conf.py)""",
271
271
    """
272
272
# Database password"""))
273
 
 
274
273
config_options.append(ConfigOption("ldap_url", "ldaps://www.example.com",
275
274
    """URL for LDAP authentication server:""",
276
275
    """
282
281
    """
283
282
# Format string for LDAP auth request
284
283
# (Must contain a single "%s" for the user's login name)"""))
285
 
 
 
284
config_options.append(ConfigOption("svn_addr", "http://svn.localhost/",
 
285
    """The base url for accessing subversion repositories:""",
 
286
    """
 
287
# The base url for accessing subversion repositories."""))
286
288
config_options.append(ConfigOption("svn_conf", "/opt/ivle/svn/svn.conf",
287
289
    """The location of the subversion configuration file used by apache
288
290
to host the user repositories:""",