Commit graph

1032 commits

Author SHA1 Message Date
Mike Bonnet
cad33475dc don't fork/exec just to get the hostname 2007-07-06 19:19:47 -04:00
Jesse Keating
fb272f87f8 We don't use these files anymore 2007-06-12 14:24:21 -04:00
Mike McLean
5339ff80d8 improve text of RetryError in ClientSession 2007-03-30 15:08:21 -04:00
Mike Bonnet
5251f7e3c9 - default to a larger block size in uploadWrapper(), but make it overrideable
- use a lower blocksize when uploading from the cli, for better interactivity
2007-03-29 12:32:29 -04:00
Mike Bonnet
6ae04b1a32 support for sparc builds (patch by Dennis Gilmore) 2007-03-29 11:35:31 -04:00
Mike Bonnet
e2b6749ee7 set a timeout of 12 hours when communicating over SSL, instead of the default (20 seconds) 2007-03-28 14:55:06 -04:00
Mike Bonnet
e96a8687a0 - fix koji mock-config to use sensible defaults for **opts
- add --topurl option to koji mock-config
- upload in 64k chunks in incrementalUpload
- best-effort to check when mock has truncated a file and started writing from 0 in BuildRoot.mock()
- improvements to cmdline parsing in koji call
2007-03-27 18:56:17 -04:00
Mike Bonnet
4b5df841c8 remove references to the runroot task 2007-03-26 12:49:04 -04:00
Mike Bonnet
9aef1e1a04 decrease upload chunk size so we don't overflow a buffer in mod_ssl 2007-03-22 18:40:58 -04:00
Mike Bonnet
54cd667959 copy opts in ClientSession.__init__() because we modify it in setSession()
undo state changes by ssl_login() in setSession(None)
remove some extraneous session options
2007-03-22 18:27:46 -04:00
Mike Bonnet
3d2a99f61e make callers of createUser() responsible for checkin permissions 2007-03-22 13:07:40 -04:00
Michael McLean
fe2e866d83 test 2007-03-21 11:45:13 -04:00
Michael McLean
b1599470f7 test 2007-03-21 11:43:27 -04:00
Michael McLean
e7fa43b63b test 2007-03-21 11:11:43 -04:00
Michael McLean
f26f77a2e9 test 2007-03-20 23:05:47 -04:00
Mike McLean
d263540f5a Merge branch 'master' of ssh://mikem@git.fedoraproject.org/git/hosted/koji 2007-03-20 17:07:35 -04:00
Mike Bonnet
3632182163 package up the files in koji/ssl as well 2007-03-20 16:59:58 -04:00
Mike McLean
906534cd86 option to use http instead of nfs in kojid (except createrepo handler) 2007-03-20 14:21:37 -04:00
Mike Bonnet
1ab7d2c898 allow the username component of the client's DN to be configurable 2007-03-20 10:56:52 -04:00
Mike Bonnet
27100cd914 provide some more defaults for httpd options 2007-03-20 10:34:56 -04:00
Mike Bonnet
acd7cde21c - centralize user creation in the Session class
- check user status on login as well as session creation
  - don't even create sessions for blocked users
2007-03-19 17:27:48 -04:00
Mike Bonnet
4f100047eb clean up httpd options handling in a couple places 2007-03-19 13:29:42 -04:00
Michael Bonnet
20ca1a8f84 - don't try to guess what kind of authentication we want to use in ClientSession.login() - allow clients to call login() (for user/password), krb_login() (for Kerberos), or ssl_login() (for client certificates)
- update all clients to call ssl_login() directly when appropriate
- rename references to NotAllowed -> ActionNotAllowed, because NotAllowed had already been renamed
- raise an error in CreateSSLContext instead of immediately exiting
2007-03-16 21:39:02 -04:00
Michael Bonnet
2cb2f3684d enable authentication via SSL client certificates in the web interface 2007-03-16 21:39:02 -04:00
Michael Bonnet
108e4da8c8 expand user paths before returning options 2007-03-16 21:39:02 -04:00
Michael Bonnet
8f8d48cde1 remove redundant expansions 2007-03-16 21:39:01 -04:00
Michael Bonnet
95db5c1f63 enable authentication from the cli via SSL client certificates 2007-03-16 21:39:01 -04:00
Jesse Keating
9f3c4b9830 Set vendor, packager and _host for mock config. 2007-03-14 17:35:06 -04:00
Jesse Keating
d802163348 Use -p with install to preserve timestamps, etc... 2007-02-20 10:01:29 -05:00
Jesse Keating
203b2a8acc Install context.py as a script 2007-02-19 14:02:27 -05:00
Jesse Keating
3aba07e0a5 Make context.py executable, it has a main 2007-02-19 13:55:29 -05:00
Jesse Keating
5d7e66a17e Initial code drop 2007-02-14 11:25:01 -05:00