2009-07-27 Toshio Kuratomi <toshio@fedoraproject.org> - r523 A few doc updates 2009-07-27 Toshio Kuratomi <toshio@fedoraproject.org> - r522 Update ChangeLog for new release. 2009-07-27 Toshio Kuratomi <toshio@fedoraproject.org> - r521 Update release date in NEWS file. 2009-07-27 Toshio Kuratomi <toshio@fedoraproject.org> - r520 Bump release for the 0.3.14 release. 2009-07-27 Toshio Kuratomi <toshio@fedoraproject.org> - r519 Summary of app changes works as a guide to getting CSRF protection working. Removing work in progress marker. 2009-07-25 Toshio Kuratomi <toshio@fedoraproject.org> - r518 Fix some errors in sqlobject provider. 2009-07-24 Toshio Kuratomi <toshio@fedoraproject.org> - r517 Update NEWS for socsrf provider. 2009-07-24 Toshio Kuratomi <toshio@fedoraproject.org> - r516 Link the CSRF middleware doc into the tree. 2009-07-24 Toshio Kuratomi <toshio@fedoraproject.org> - r515 CSRF protecting sqlobject identity provider. 2009-07-24 Toshio Kuratomi <toshio@fedoraproject.org> - r514 Initial, very rough documentation for the CSRF middleware layer. 2009-07-23 Toshio Kuratomi <toshio@fedoraproject.org> - r513 Correct PackageDB.user_packages() to default to not showing EOL distro information. 2009-07-22 Toshio Kuratomi <toshio@fedoraproject.org> - r512 Merge wiki and CSRF middleware from trunk. 2009-07-22 Toshio Kuratomi <toshio@fedoraproject.org> - r511 Fix docstring example on using fedora.tg.controllers.login()/logout() 2009-07-16 Toshio Kuratomi <toshio@fedoraproject.org> - r510 Update NEWS file with pkgdb addition. 2009-07-16 Toshio Kuratomi <toshio@fedoraproject.org> - r509 Add user_packages() method to determine the packages owned by a user. 2009-07-16 Toshio Kuratomi <toshio@fedoraproject.org> - r508 Update for change in FAS server (backwards compatible). 2009-07-16 Ian Weller <ianweller@deathray.ianweller.org> - r507 Add self to AUTHORS file because I am the WIKI CZAR 2009-07-16 Ian Weller <ianweller@deathray.ianweller.org> - r506 Merge wiki changes from ianweller branch 2009-07-09 Luke Macken <lmacken@tomservo> - r505 [bodhi] Pull our candidate tags from a new bodhi API, instead of guessing. 2009-07-09 transifex user <transifex@app1.fedora.phx.redhat.com> - r504 Sending translation for Brazilian Portuguese 2009-07-01 Toshio Kuratomi <toshio@fedoraproject.org> - r503 Mrge in italian translation. 2009-07-01 Toshio Kuratomi <toshio@fedoraproject.org> - r502 Addsome people that use @fp.o in bugzilla. 2009-06-22 Toshio Kuratomi <toshio@fedoraproject.org> - r501 Add a separate bugzilla address for arxs 2009-06-22 Toshio Kuratomi <toshio@fedoraproject.org> - r500 Rework the tg_url saver. It's better to always have it, I think. 2009-06-22 Toshio Kuratomi <toshio@fedoraproject.org> - r499 Update NEWS with enduser visible change. 2009-06-21 Toshio Kuratomi <toshio@fedoraproject.org> - r498 Save the original tg.url function as fedora.tg.tg_url. 2009-06-14 Toshio Kuratomi <toshio@fedoraproject.org> - r497 Fix a few documentation warnings in docstring. 2009-06-13 Toshio Kuratomi <toshio@fedoraproject.org> - r496 Change dates in changelog so it builds 2009-06-13 Toshio Kuratomi <toshio@fedoraproject.org> - r495 Require paver >= 1.0. 2009-06-11 Toshio Kuratomi <toshio@fedoraproject.org> - r494 Update ChangeLog. 2009-06-11 Toshio Kuratomi <toshio@fedoraproject.org> - r493 Add email map for nb@fp.o 2009-06-11 Toshio Kuratomi <toshio@fedoraproject.org> - r492 Add note about DJango auth fix. 2009-06-11 Ricky Zhou <ricky@fedoraproject.org> - r491 Fix person_by_id call. 2009-06-11 Ricky Zhou <ricky@fedoraproject.org> - r490 Sync the spec file for that patch. 2009-06-11 Ricky Zhou <ricky@fedoraproject.org> - r489 Add bugzilla_email for ceski. 2009-06-08 transifex user <transifex@app1.fedora.phx.redhat.com> - r488 Sending translation for German 2009-06-06 Toshio Kuratomi <toshio@fedoraproject.org> - r487 Merge changes from 0.3.12.1 release. 2009-06-06 Toshio Kuratomi <toshio@fedoraproject.org> - r486 merge force_refresh() for fas and ca translation from -devel. 2009-06-06 Toshio Kuratomi <toshio@fedoraproject.org> - r485 0.3.13.1 prep. 2009-05-20 Toshio Kuratomi <toshio@fedoraproject.org> - r484 New translations. 2009-05-20 Toshio Kuratomi <toshio@fedoraproject.org> - r483 Fix changelog line 2009-05-20 Toshio Kuratomi <toshio@fedoraproject.org> - r482 Port a method to apply root directory additions to the install root from the packagedb install. 2009-05-13 Toshio Kuratomi <toshio@fedoraproject.org> - r481 Update ChangeLog for next release. 2009-05-13 Toshio Kuratomi <toshio@fedoraproject.org> - r480 Add Jef to AUTHORS 2009-05-13 Toshio Kuratomi <toshio@fedoraproject.org> - r479 Update for 0.3.13. 2009-05-13 Toshio Kuratomi <toshio@fedoraproject.org> - r478 Capitalize first word in exception message. 2009-05-13 Toshio Kuratomi <toshio@fedoraproject.org> - r477 Update pot and po files for a couple string changes. 2009-05-13 Toshio Kuratomi <toshio@fedoraproject.org> - r476 Correct a few minor stylistic issues for pylint. 2009-05-13 Toshio Kuratomi <toshio@fedoraproject.org> - r475 Move compat24 to compat25. We're providing compat to py2.5. Translate strings in defaultdict.py 2009-05-13 Toshio Kuratomi <toshio@fedoraproject.org> - r474 Merge changes from trunk with changes: * Docstring changes in pkgdb.py * Cannot require pycurl in pavement.py as it only has egg-info in python-2.5+ 2009-05-13 Toshio Kuratomi <toshio@fedoraproject.org> - r473 Note why we're using 403 instead of 401 in the documentation. 2009-05-13 Toshio Kuratomi <toshio@fedoraproject.org> - r472 401 response code causes problems for konqueror and also our usage is contrary to the http specification. 2009-05-12 Toshio Kuratomi <toshio@fedoraproject.org> - r471 Correct a space in a comment. 2009-04-22 Toshio Kuratomi <toshio@fedoraproject.org> - r470 Merge edit_package() change to mirror the server and spanaish translation update. 2009-04-20 Toshio Kuratomi <toshio@fedoraproject.org> - r469 Add a bz email address for bochecha. 2009-04-16 Toshio Kuratomi <toshio@fedoraproject.org> - r468 Merge spanish and Hungarian translations. 2009-04-09 Toshio Kuratomi <toshio@fedoraproject.org> - r467 Now that Paver-1.0 is in all Fedora versions, update the spec file. 2009-04-09 Toshio Kuratomi <toshio@fedoraproject.org> - r466 Update for last minute changes before release. 2009-04-09 Toshio Kuratomi <toshio@fedoraproject.org> - r465 Fix de.po format strings. 2009-04-09 transifex user <transifex@app1.fedora.phx.redhat.com> - r464 Sending translation for Spanish 2009-04-02 transifex user <transifex@app1.fedora.phx.redhat.com> - r463 Sending translation for po/es.po 2009-03-30 kolesov <kolesov@fedora10.jde-vlad.ru> - r462 Dmitry Kolesov 2009-03-30 Added check of the parameters in remove_user() 2009-03-30 kolesov <kolesov@fedora10.jde-vlad.ru> - r461 2009-03-30 Dmitry Kolesov: Added check of the parameters in remove_user() 2009-03-23 kolesov <kolesov@fedora10.jde-vlad.ru> - r460 Dmitry Kolesov 2009-03-23 Added the remove_user() 2009-03-23 kolesov <kolesov@fedora10.jde-vlad.ru> - r459 2009-03-24 Dmitry Kolesov Added the remove_user() 2009-03-23 Toshio Kuratomi <toshio@fedoraproject.org> - r468 Fix reversed comparison for when to run the extra paver command. 2009-03-23 Toshio Kuratomi <toshio@fedoraproject.org> - r467 Fix a syntax error and a little documentation cleanup. 2009-03-23 Toshio Kuratomi <toshio@fedoraproject.org> - r466 pkgdb.remove_users() method from kolesovdv. 2009-03-23 Toshio Kuratomi <toshio@fedoraproject.org> - r465 * Workaround a limitation of paver - 0.8 by not overriding the setuptools install command if we detect that.paver - 0.8 users will have to call install_catalogs explicitly. * Set mode on locale files. 2009-03-23 Toshio Kuratomi <toshio@fedoraproject.org> - r464 * Fix directory modes * Some paver-0.8 compat fixes. 2009-03-23 Toshio Kuratomi <toshio@fedoraproject.org> - r463 Couple new buildrequirement. 2009-03-23 Toshio Kuratomi <toshio@fedoraproject.org> - r462 Update ChangeLog for the new release. 2009-03-23 Toshio Kuratomi <toshio@fedoraproject.org> - r461 Update for new release. 2009-03-23 Toshio Kuratomi <toshio@fedoraproject.org> - r460 * Build and install message catalogs. * Port to paver-1.0 2009-03-23 Toshio Kuratomi <toshio@fedoraproject.org> - r459 Correct paver-minilib include. 2009-03-20 Toshio Kuratomi <toshio@fedoraproject.org> - r458 Update pot file with strings from genshi templates. 2009-03-20 Toshio Kuratomi <toshio@fedoraproject.org> - r457 Add setup.py so that easy_install will work. 2009-03-19 Toshio Kuratomi <toshio@fedoraproject.org> - r456 Fix some pylint warnings and a few errors. 2009-03-19 Toshio Kuratomi <toshio@fedoraproject.org> - r455 Update pot and po files with new strings. 2009-03-19 Toshio Kuratomi <toshio@fedoraproject.org> - r454 Merge translations. 2009-03-19 Toshio Kuratomi <toshio@fedoraproject.org> - r453 Mark strings for translation. 2009-03-19 Toshio Kuratomi <toshio@fedoraproject.org> - r452 Fix jsonfasprovider2 so that username + password actually is sufficient with Cherrypy >= 2.3. 2009-03-19 Toshio Kuratomi <toshio@fedoraproject.org> - r451 Fix proyclient so that sending query params in the action argument will work. 2009-03-18 Toshio Kuratomi <toshio@fedoraproject.org> - r450 David no longer has a @fp.o address. 2009-03-12 Toshio Kuratomi <toshio@fedoraproject.org> - r449 No longer need to import HttpResponse. 2009-03-12 Ignacio Vazquez-Abrams <ivazqueznet+bzr@gmail.com> - r448 The smart way doesn't work, the dumb way didn't work, so we'll try the brain-dead way 2009-03-12 Toshio Kuratomi <toshio@fedoraproject.org> - r447 Update ChangeLog for release. 2009-03-12 Toshio Kuratomi <toshio@fedoraproject.org> - r446 Update for new release. 2009-03-12 Toshio Kuratomi <toshio@fedoraproject.org> - r445 Docstring updates to eliminate sphinx errors 2009-03-12 Ignacio Vazquez-Abrams <ivazqueznet+bzr@gmail.com> - r444 Django fix for redirects 2009-03-09 Toshio Kuratomi <toshio@fedoraproject.org> - r443 Add trove classifiers for pypi. 2009-03-09 Toshio Kuratomi <toshio@fedoraproject.org> - r442 Update for release. 2009-03-09 Toshio Kuratomi <toshio@fedoraproject.org> - r441 Update pavement to have entry_points for both old and new jsonfasproviders 2009-03-09 Toshio Kuratomi <toshio@fedoraproject.org> - r440 Update ChangeLog for release. 2009-03-09 Toshio Kuratomi <toshio@fedoraproject.org> - r439 Remove hosted changes for now. We need to work out some isues with this on a feature branch first. 2009-03-09 Toshio Kuratomi <toshio@fedoraproject.org> - r438 Merge from trunk 2009-03-09 Toshio Kuratomi <toshio@fedoraproject.org> - r437 Bump for new release. 2009-03-09 Toshio Kuratomi <toshio@fedoraproject.org> - r436 Re add the old jsonfaprovider so we can handle the transitional period while people are updating their code to be CSRF protected. 2009-03-06 Toshio Kuratomi <toshio@fedoraproject.org> - r435 sync with fedora spec. 2009-03-06 Toshio Kuratomi <toshio@fedoraproject.org> - r434 Change %define to %global; $RPM_BUILD_ROOT => %buildroot 2009-03-06 Toshio Kuratomi <toshio@fedoraproject.org> - r433 Update ChangeLog. 2009-03-06 Toshio Kuratomi <toshio@fedoraproject.org> - r432 Update for 0.3.10 release. 2009-03-06 Toshio Kuratomi <toshio@fedoraproject.org> - r431 Merge update of the django auth provider from ivazquez. 2009-03-06 Toshio Kuratomi <toshio@fedoraproject.org> - r430 Minor docstring update. 2009-03-06 Toshio Kuratomi <toshio@fedoraproject.org> - r429 Remove tg.url call from forward_url. This is already doneinside the controller (by redirect()). If it's done here as well, we sometimes end up with server.webpath prepended twice. 2009-03-06 Toshio Kuratomi <toshio@fedoraproject.org> - r428 Add coutry_code to user fields. 2009-03-06 Toshio Kuratomi <toshio@fedoraproject.org> - r427 Remove an extra "accounts" from a URL. 2009-03-04 Toshio Kuratomi <toshio@fedoraproject.org> - r426 Fix a typo. 2009-03-02 Toshio Kuratomi <toshio@fedoraproject.org> - r425 Few fixes to the auth provider. 2009-03-01 Toshio Kuratomi <toshio@fedoraproject.org> - r424 Add the genshi template files to the build. 2009-03-01 Toshio Kuratomi <toshio@fedoraproject.org> - r423 Bump versions for another pre-release. 2009-03-01 Toshio Kuratomi <toshio@fedoraproject.org> - r422 Formatting change. 2009-02-28 Toshio Kuratomi <toshio@fedoraproject.org> - r421 Joseph Smidt has corrected his bugzilla email. 2009-02-28 Toshio Kuratomi <toshio@fedoraproject.org> - r420 Add a new bugzilla address for David Nielsen 2009-02-27 Ignacio Vazquez-Abrams <ivazqueznet+bzr@gmail.com> - r419 Minor style and bug fixes 2009-02-27 Ignacio Vazquez-Abrams <ivazqueznet+bzr@gmail.com> - r418 Much hard-won Django/FAS integration knowledge 2009-02-27 Toshio Kuratomi <toshio@fedoraproject.org> - r417 0.3.9.91 alpha release. 2009-02-27 Toshio Kuratomi <toshio@fedoraproject.org> - r416 CSRF updates. 2009-02-27 Toshio Kuratomi <toshio@fedoraproject.org> - r415 Add jsglobals template to get variables into javascript. 2009-02-27 Ignacio Vazquez-Abrams <ivazqueznet+bzr@gmail.com> - r414 Experimental FAS single sign-on for Django 2009-02-27 Ignacio Vazquez-Abrams <ivazqueznet+bzr@gmail.com> - r413 Add support for specifying Django superusers 2009-02-26 Toshio Kuratomi <toshio@fedoraproject.org> - r412 Add GPLv2 header to the Django files. 2009-02-25 Toshio Kuratomi <toshio@fedoraproject.org> - r411 Merge ivazquez's django changes. 2009-02-25 Toshio Kuratomi <toshio@fedoraproject.org> - r410 * Add Ignacio to AUTHORS * Move some client docs to new existing.rst file * Move identity provider docs to auth.rst * Link Django docs to auth.rst 2009-02-23 Ignacio Vazquez-Abrams <ivazqueznet+bzr@gmail.com> - r409 Preliminary Django FAS authentication support 2009-02-23 Toshio Kuratomi <toshio@fedoraproject.org> - r408 Merge the csrf-fix branch. 2009-02-20 Toshio Kuratomi <toshio@fedoraproject.org> - r407 Fix ServerError and AppError to return details about the cause of an error in a traceback. 2009-02-18 Toshio Kuratomi <toshio@fedoraproject.org> - r406 Add Joseph Smidt to bugzilla emails. 2009-02-16 Toshio Kuratomi <toshio@fedoraproject.org> - r405 And add one more piece of the insecure flag fix. 2009-02-16 Toshio Kuratomi <toshio@fedoraproject.org> - r404 Add an insecure flag. 2009-02-16 Toshio Kuratomi <toshio@fedoraproject.org> - r403 Fix ProxyClient to not throw an error on py2.4 when an http response code is unknown. 2009-02-16 Toshio Kuratomi <toshio@fedoraproject.org> - r402 Undeprecate AccountSystem.people_by_id() for now -- we need the fas server to be upgraded before we can use people_by_key(). 2009-02-16 Ricky Zhou <ricky@fedoraproject.org> - r401 Apply jcollie's speling fix. 2009-02-09 Toshio Kuratomi <toshio@fedoraproject.org> - r400 Update ChangeLog for new release. 2009-02-09 Toshio Kuratomi <toshio@fedoraproject.org> - r399 Updates for 0.3.9.1 release. 2009-02-09 Toshio Kuratomi <toshio@fedoraproject.org> - r398 Standard GPLv2 license header. 2009-02-09 Toshio Kuratomi <toshio@fedoraproject.org> - r397 Fix for python-2.4 ocmpat. Convert from defaultdict to dict().setdefault() 2009-02-08 Toshio Kuratomi <toshio@fedoraproject.org> - r396 New task to publish the tarball. 2009-02-08 Toshio Kuratomi <toshio@fedoraproject.org> - r395 Merge with fedora spec file. 2009-02-08 Toshio Kuratomi <toshio@fedoraproject.org> - r394 Update ChangeLog for 0.3.9 2009-02-08 Toshio Kuratomi <toshio@fedoraproject.org> - r393 Bump release for 0.3.9. 2009-02-08 Toshio Kuratomi <toshio@fedoraproject.org> - r392 Update copyright date. 2009-02-08 Toshio Kuratomi <toshio@fedoraproject.org> - r391 Update NEWS for a new bugfix release. 2009-02-08 Toshio Kuratomi <toshio@fedoraproject.org> - r390 * Fix a bug where fas2.py::AccountSystem::verify_password() always returns True. 2009-01-22 Toshio Kuratomi <toshio@fedoraproject.org> - r389 Minor bugfix for when the session file is unreadable. 2008-12-14 Toshio Kuratomi <toshio@fedoraproject.org> - r388 Add a task to publish the documentation to the website. 2008-12-14 Luke Macken <lmacken@x300> - r387 Simplify the Wiki.get_recent_changes API. 2008-12-14 Luke Macken <lmacken@x300> - r386 Rename FedoraWiki to just Wiki, since it should work with any MediaWiki instance 2008-12-14 Luke Macken <lmacken@x300> - r385 Make our docstrings a bit more generic, since the scope of the BaseClient has widened. Also, remove duplicate author information. 2008-12-13 Luke Macken <lmacken@x300> - r384 Add an initial FedoraWiki.login method. It does not work yet, but it's a start. We can easily inject the session cookie (which may or may not be named properly), but I'm thinking that we need to also inject the username cookie in there as well. If so, we will need to add support for injecting arbitrary cookies into the ProxyClient. 2008-12-13 Luke Macken <lmacken@x300> - r383 Pull in the FedoraWiki in top level fedora.client module 2008-12-13 Luke Macken <lmacken@x300> - r382 Add an initial fedora.client.wiki module. 2008-12-12 Luke Macken <lmacken@x300> - r381 Remove duplicate module author information 2008-12-12 Toshio Kuratomi <toshio@fedoraproject.org> - r380 Remove sys.modules changing code... This was apparently some debugging code committed by mistake. 2008-12-12 Toshio Kuratomi <toshio@fedoraproject.org> - r379 Documentation fixups so sphinx works again. 2008-12-03 Toshio Kuratomi <toshio@fedoraproject.org> - r378 New function people_by_key() that makes use of updated fas method /user/list to return information about all people in one request. Needs a new fas server. Deprecate people_by_id() since this function can do that job. 2008-11-26 Toshio Kuratomi <toshio@fedoraproject.org> - r377 Set collections in add_edit_packages only if branches are given. 2008-11-25 Toshio Kuratomi <toshio@fedoraproject.org> - r376 Follow redirects 2008-11-20 Toshio Kuratomi <toshio@fedoraproject.org> - r375 Update ChangeLog for 0.3.8. release. 2008-11-20 Toshio Kuratomi <toshio@fedoraproject.org> - r374 Update NEWS and bump release number. 2008-11-20 Toshio Kuratomi <toshio@fedoraproject.org> - r373 Yield individual updates instead of whole BaseClient.send_request() responses. 2008-11-17 Toshio Kuratomi <toshio@fedoraproject.org> - r372 Fix httplib stuff for exceptions. 2008-11-17 Luke Macken <lmacken@x300> - r371 Fix a typo 2008-11-16 Toshio Kuratomi <toshio@fedoraproject.org> - r370 Throw ServerError when an error code is returned from the HTTP Server. 2008-11-15 Toshio Kuratomi <toshio@fedoraproject.org> - r369 Update proxyclient to accept either 403 or 401 as needing a new username/password. 2008-11-15 Toshio Kuratomi <toshio@fedoraproject.org> - r368 * Require pycurl 2008-11-15 Toshio Kuratomi <toshio@fedoraproject.org> - r367 New fas methods from ricky. 2008-11-15 Toshio Kuratomi <toshio@fedoraproject.org> - r366 * Port from urllib2 to pycurl. * Change internals of send_request() to save a session_id instead of a Cookie. 2008-11-15 Toshio Kuratomi <toshio@fedoraproject.org> - r365 Add license note. 2008-11-06 Toshio Kuratomi <toshio@fedoraproject.org> - r364 Fix AppError on python-2.4 2008-11-05 Toshio Kuratomi <toshio@fedoraproject.org> - r363 Update with a bugzilla email for romal. 2008-11-04 Toshio Kuratomi <toshio@fedoraproject.org> - r362 Fix some docstrings forsphinx errors. 2008-11-04 Toshio Kuratomi <toshio@fedoraproject.org> - r361 Update log for 0.3.7 release. 2008-11-04 Toshio Kuratomi <toshio@fedoraproject.org> - r360 Update version for 0.3.7 release. 2008-11-01 Toshio Kuratomi <toshio@fedoraproject.org> - r359 Fix canonical name for collection when the short name is devel. 2008-11-01 Toshio Kuratomi <toshio@fedoraproject.org> - r358 * Make clone_branch only clone a single branch. * No need to try to decide on make an AppError here as BaseClient figures it out for this method. 2008-11-01 Toshio Kuratomi <toshio@fedoraproject.org> - r357 Fix messsage => message typo. 2008-11-01 Toshio Kuratomi <toshio@fedoraproject.org> - r356 Remove parsing of exception as that's occurred in BaseClient. 2008-10-31 Toshio Kuratomi <toshio@fedoraproject.org> - r355 Import redirect 2008-10-31 Toshio Kuratomi <toshio@fedoraproject.org> - r354 Doc fixes. 2008-10-31 Toshio Kuratomi <toshio@fedoraproject.org> - r353 __all__ needs to come after the things it lists are defined. 2008-10-31 Toshio Kuratomi <toshio@fedoraproject.org> - r352 Require the decorator module. 2008-10-31 Toshio Kuratomi <toshio@fedoraproject.org> - r351 Update NEWSfor 0.3.7 release. 2008-10-31 Toshio Kuratomi <toshio@fedoraproject.org> - r350 Add a mass branch method. 2008-10-31 Toshio Kuratomi <toshio@fedoraproject.org> - r349 Add Requires on python-decorator. 2008-10-31 Toshio Kuratomi <toshio@fedoraproject.org> - r348 New json_or_redirect decorator that lets you return adict for json or redirect to a different URL. 2008-10-30 Toshio Kuratomi <toshio@fedoraproject.org> - r347 Add some authentication clarifications. 2008-10-21 Toshio Kuratomi <toshio@fedoraproject.org> - r346 More instructions for building translations. 2008-10-21 Toshio Kuratomi <toshio@fedoraproject.org> - r345 Allow email notification of clone_branch to be turned off. Note that this method is only open to cvsadmins on the server. 2008-10-21 Toshio Kuratomi <toshio@fedoraproject.org> - r344 Allow exceptions passed back by the server to contain extra information. 2008-10-20 Toshio Kuratomi <toshio@fedoraproject.org> - r343 Update clone_branch() for a new server method that makes this faster. 2008-10-20 Toshio Kuratomi <toshio@fedoraproject.org> - r342 Correct minor typo in a string. 2008-10-14 Toshio Kuratomi <toshio@fedoraproject.org> - r341 * fedora/client/fas2.py: Add email change for Simon Wesp. 2008-10-09 Luke Macken <lmacken@x300> - r340 Add a 'username' argument to the BodhiClient.query method 2008-10-07 Luke Macken <lmacken@x300> - r339 Fix a typo in a proxyclient deprecation warning 2008-09-23 Toshio Kuratomi <badger@Clingman> - r338 Add documentation for generating i18n files. Add pot and po files to MANIFEST. Updated pot. 2008-09-23 Toshio Kuratomi <badger@Clingman> - r337 Add more mismatch bugzilla email addresses. 2008-09-15 Toshio Kuratomi <badger@Clingman> - r336 Some more updates for 0.3.6 2008-09-15 Toshio Kuratomi <badger@Clingman> - r335 Include conf.py and static files needed to build docs. 2008-09-15 Toshio Kuratomi <badger@Clingman> - r334 Install the html docs. 2008-09-15 Toshio Kuratomi <badger@Clingman> - r333 Bump version in spec file as well. 2008-09-15 Toshio Kuratomi <badger@Clingman> - r332 Update ChangeLog for release. 2008-09-15 Toshio Kuratomi <badger@Clingman> - r331 * Update for 0.3.6 2008-09-15 Toshio Kuratomi <badger@Clingman> - r330 Fix syntax error introduced when changing branches to a keyword arg. 2008-09-15 Toshio Kuratomi <badger@Clingman> - r329 Merge from stable. 2008-09-15 Toshio Kuratomi <badger@Clingman> - r328 import _() for localization of error messages. 2008-09-15 Toshio Kuratomi <badger@Clingman> - r327 * Finish documenting pkgdb.py * Update add_edit_package() to have keyword arguments. 2008-09-11 Toshio Kuratomi <badger@Clingman> - r326 fedora/client/fas2.py: Fix raise of AppError. 2008-09-10 Toshio Kuratomi <badger@Clingman> - r325 Raise an AppError in group_by_name() when the server returns an error condition. 2008-09-05 Toshio Kuratomi <badger@Clingman> - r324 Move iniparser into the methods as well. 2008-09-05 Toshio Kuratomi <badger@Clingman> - r323 Case of :raises: and :returns: matters. 2008-09-05 Toshio Kuratomi <badger@Clingman> - r322 Update bodhi URL, add Toshio as an author, update Copyright year. 2008-09-05 Toshio Kuratomi <badger@Clingman> - r321 Delay import of yum and koji so we don't need to have a strict dependence on them. 2008-09-05 Toshio Kuratomi <badger@Clingman> - r320 * fedora/client/__init__.py: Fix a typo. 2008-09-03 Toshio Kuratomi <badger@Clingman> - r319 Clean up pylint warnings. This also changes some of the public variable names. We need to do this now, before the API is public. 2008-09-03 Toshio Kuratomi <badger@Clingman> - r318 Use enumerate() instead of xrange() -- better python 2008-09-03 Toshio Kuratomi <badger@Clingman> - r317 Correct some syntax errors in my pkgdb client changes. 2008-09-03 Toshio Kuratomi <badger@Clingman> - r316 Add json and util modules to documentation generated on api.html. 2008-09-03 Toshio Kuratomi <badger@Clingman> - r315 * Check return from send_request() for errors and raise AppError if so. * Add PackageDBError to __init__ 2008-09-03 Toshio Kuratomi <badger@Clingman> - r314 Mark all strings for i18n 2008-09-03 Toshio Kuratomi <badger@Clingman> - r313 Merge client.pkgdb from Mike Watters. 2008-09-02 Toshio Kuratomi <badger@Clingman> - r312 * Changes from Luke 2008-08-23 Toshio Kuratomi <badger@Clingman> - r311 Add Michael DeHaan to the bugzilla email list. 2008-08-22 Toshio Kuratomi <badger@Clingman> - r310 Fix for fas2.py so that we don't traceback on unknonw username. 2008-08-11 Toshio Kuratomi <badger@Clingman> - r309 Update query() to use sphinx param format. 2008-08-11 Luke Macken <lmacken@redhat.com> - r308 [bodhi] Fix the query module's docstring 2008-08-11 Toshio Kuratomi <badger@Clingman> - r307 Enhance some docstrings: * Add moduleauthor to all files. * Move most bodhi docstrings to the sphinxparam format. 2008-08-09 Toshio Kuratomi <badger@Clingman> - r306 Minor docstring fix. 2008-08-09 Toshio Kuratomi <badger@Clingman> - r305 Docstring fixes so sphinx can read and format the parameter lists. 2008-08-09 Toshio Kuratomi <badger@Clingman> - r304 * Fix for exceptions showing as classes. * Separate ProxyClient/BaseClient from other clients. 2008-08-09 Toshio Kuratomi <badger@Clingman> - r303 * Fix to work with the uninstalled library for generating docs, etc. * PyLint task. 2008-08-09 Toshio Kuratomi <badger@Clingman> - r302 Merge update to BodhiClient from lmacken. 2008-08-09 Toshio Kuratomi <badger@Clingman> - r301 Fix a few docstrings to be valid to the restructured text parser. 2008-08-09 Toshio Kuratomi <badger@Clingman> - r300 Cosmetic change to password obscuring output. 2008-08-09 Toshio Kuratomi <badger@Clingman> - r299 First cut at api docs. This won't be how it's presented forever but I need to whip up something simple so I can get the docstrings working. 2008-08-09 Toshio Kuratomi <badger@Clingman> - r298 Modify the sphinx conf to use values from the modules release. 2008-08-09 Toshio Kuratomi <badger@Clingman> - r297 remove the sphinx Makefile as paver knows the steps to take. 2008-08-09 Toshio Kuratomi <badger@Clingman> - r296 Move from using setup.py/setuptools to manage builds to paver. 2008-08-06 Toshio Kuratomi <badger@Clingman> - r295 * Take the value attribute of the morsels so we get the string from cookies. * __load_cookies() => __load_ids(). 2008-08-06 Toshio Kuratomi <badger@Clingman> - r294 Fix a couple syntax errors and update NEWS file. 2008-08-06 Toshio Kuratomi <badger@Clingman> - r293 * Deprecate cookie auth in favor of authentication via session_id (the value inside of the cookie) * Save session_id to the session file instead of session_cookie * Session file is now at ~/.fedora/.fedora_session * Internally, handle all session information as a session_id (the value of the tg-visit cookie) * Maintain compatibility with 0.3.0 while implementing auth parameters for session_id. 2008-07-28 Toshio Kuratomi <badger@Clingman> - r292 Correct tag for last version in ChangeLog. 2008-07-28 Toshio Kuratomi <badger@Clingman> - r291 * Update ChangeLog again for release. 2008-07-28 Toshio Kuratomi <badger@Clingman> - r290 Add people_by_groupname() to NEWS and Paul Frields to AUTHORS. 2008-07-28 Toshio Kuratomi <badger@Clingman> - r289 * Update ChangeLog for release. 2008-07-28 Toshio Kuratomi <badger@Clingman> - r288 Update for 0.3.4 release. 2008-07-25 Toshio Kuratomi <badger@Clingman> - r287 Fixbug in sending lists through a URL. 2008-07-24 Paul W. Frields <stickster@gmail.com> - r286 Added new people_by_groupname() method 2008-07-24 Toshio Kuratomi <badger@Clingman> - r285 Pull in tags from stable branch. 2008-07-23 Toshio Kuratomi <badger@Clingman> - r284 Update version for the 0.3.3 release. 2008-07-23 Toshio Kuratomi <badger@Clingman> - r283 Fix wrong key value used in json_props handling. 2008-07-23 Toshio Kuratomi <badger@Clingman> - r282 Whitespace. 2008-07-23 Toshio Kuratomi <badger@Clingman> - r281 Remove unused imports. 2008-07-23 Toshio Kuratomi <badger@Clingman> - r280 Fix a bug when using json_props. 2008-07-22 Toshio Kuratomi <badger@Clingman> - r279 turn an error message into a debug message. 2008-07-21 Toshio Kuratomi <badger@Clingman> - r278 * Remove jsonProps compat stuff as it's broken and we've ported everything that used it. * Change algorithm that looks for matches for json_props to understand inheritance. 2008-07-19 Luke Macken <lmacken@redhat.com> - r277 More bodhi s/type/type_/ changes 2008-07-19 Luke Macken <lmacken@redhat.com> - r276 Update our NEWS file === 0.3.2 === 2008-07-19 Luke Macken <lmacken@redhat.com> - r275 0.3.2 2008-07-18 Luke Macken <lmacken@redhat.com> - r274 [bodhi] Add a latest_builds method 2008-07-18 Luke Macken <lmacken@redhat.com> - r273 [bodhi] Change 'type' argument to save() and query() to 'type_' 2008-07-17 Toshio Kuratomi <badger@Clingman> - r272 New group_members() method to return people's status in a group. 2008-07-17 Toshio Kuratomi <badger@Clingman> - r271 Merge fix from the repo. 2008-07-17 Toshio Kuratomi <badger@Clingman> - r270 Fix debug method to not traceback when there's no data being sent. 2008-07-17 Toshio Kuratomi <badger@Clingman> - r269 Spell PackageDBClient right. 2008-07-17 Toshio Kuratomi <badger@Clingman> - r268 Make the client Exceptions use FedoraClientError as their base class. 2008-07-17 Toshio Kuratomi <badger@Clingman> - r267 Import gettext into json.py since it has translatable error messages. 2008-07-17 Toshio Kuratomi <badger@Clingman> - r266 Add all of our clients to this level so from fedora.client import FooClient works. 2008-07-17 Toshio Kuratomi <badger@Clingman> - r265 * Move DictContainer to client.__init__() nad let people import it. * Use DictContainer for the result of fas2.people_by_id(). 2008-07-15 Toshio Kuratomi <badger@Clingman> - r264 Slight simplification of the error message construction. === 0.3.1 === 2008-07-14 Luke Macken <lmacken@redhat.com> - r263 Update our spec and release module for 0.3.1 2008-07-14 Luke Macken <lmacken@redhat.com> - r262 [bodhi] Support older bodhi instances that only return update strings 2008-07-14 Luke Macken <lmacken@redhat.com> - r261 [bodhi] Bugfixes in the update template file parsing code 2008-07-14 Toshio Kuratomi <badger@Clingman> - r260 And a regex fix. 2008-07-14 Toshio Kuratomi <badger@Clingman> - r259 Once more. This time use th evariable that we've removed the password from. 2008-07-14 Toshio Kuratomi <badger@Clingman> - r258 Oops. The previous change was done in the wrong place. Need to change it in send_request(), *not* in _set_debug(). 2008-07-14 Toshio Kuratomi <badger@Clingman> - r257 Fix last patch to use self.debug. 2008-07-14 Toshio Kuratomi <badger@Clingman> - r256 Make sure we don't log a user's password. 2008-07-11 Toshio Kuratomi <badger@Clingman> - r255 Fix some errors in ReStructuredText syntax. 2008-07-11 Toshio Kuratomi <badger@Clingman> - r254 Update changeLog for last minute bugfixes. 2008-07-11 Toshio Kuratomi <badger@Clingman> - r253 Create a function to jsonify sets. 2008-07-10 Toshio Kuratomi <badger@Clingman> - r252 Make validation errors set a flash message for both html and json. 2008-07-10 Toshio Kuratomi <badger@Clingman> - r251 Fix an unported portion of the jsonfasvisit manager. 2008-07-10 Toshio Kuratomi <badger@Clingman> - r250 Add information about a caveat to service.rst documentation. 2008-07-08 Toshio Kuratomi <badger@Clingman> - r249 * Update ChangeLog for release. 2008-07-08 Toshio Kuratomi <badger@Clingman> - r248 * NEWS: Fill in more detail on what to expect. 2008-07-08 Toshio Kuratomi <badger@Clingman> - r247 * NEWS: Note which incompatibilities are merely deprecated rather than will fail to work with the old methods. 2008-07-08 Luke Macken <lmacken@redhat.com> - r246 Update the news, release module, and spec for a 0.3 release 2008-07-08 Luke Macken <lmacken@redhat.com> - r245 Remove a stray '}' character 2008-07-08 Toshio Kuratomi <badger@Clingman> - r244 Merge Luke's changes from the repository. 2008-07-08 Toshio Kuratomi <badger@Clingman> - r243 * fedora/client/baseclient.py: _get_session_cookie(): Return an empty string when no username is specified. - send_request(): If only one of username or password do not send either to proxyclient.send_request(). 2008-07-05 Luke Macken <lmacken@redhat.com> - r242 Remove the unnecessary __description__ from the bodhi module 2008-07-05 Luke Macken <lmacken@redhat.com> - r241 Give the fedora.client.bodhi module a real API 2008-07-05 Luke Macken <lmacken@redhat.com> - r240 Add a fedora.client.bodhi module === 0.3 === 2008-07-05 Toshio Kuratomi <badger@Clingman> - r239 * fedora/client/fas2.py: Add Roozbeh to the list of bugzilla emails that differ. 2008-07-03 Toshio Kuratomi <badger@Clingman> - r238 * fedora/client/baseclient.py: deprecate input in send_request() instead of just getting rid of it. --------------This line and the following will be ignored -------------- modified: fedora/client/baseclient.py 2008-07-03 Toshio Kuratomi <badger@Clingman> - r237 * fedora/tg/json.py: Issue a DeprecationWarning instead of outright failing if a program hasn't been ported from using jsonProps to json_props. 2008-07-02 Luke Macken <lmacken@redhat.com> - r236 Switch to using absolute imports, as the .relative style throw SyntaxErrors that cannot be caught in Python2.4. 2008-07-02 Toshio Kuratomi <badger@Clingman> - r235 Add a bunch of log messages to debug why we're creating more than one identity per request. 2008-06-21 Toshio Kuratomi <badger@Clingman> - r234 Clean up whitespace. 2008-06-19 Toshio Kuratomi <badger@Clingman> - r233 Fix the import so we're importing fas2 instead of clients in general. 2008-06-17 Toshio Kuratomi <badger@Clingman> - r232 Fix a bug when someone sends a non-valid url string to send_request(). 2008-06-17 Toshio Kuratomi <badger@Clingman> - r231 Fix URL for config set. 2008-06-17 Toshio Kuratomi <badger@Clingman> - r230 Fix passing req_params to send_request. 2008-06-17 Toshio Kuratomi <badger@Clingman> - r229 * Lots of new fixes to the ProxyClient/BaseClient/configs stack. 2008-06-17 Toshio Kuratomi <badger@Clingman> - r228 Add an __init__ to AppError to fix saving the message. 2008-06-17 Toshio Kuratomi <badger@Clingman> - r227 * New URL for gettings configs: configs => configs/list * get_config(): Return None if no config was returned * get_configs_like(): Move unicodification and change to wildcards from client to the server. * get_configs_like(): Move dictifying of results onto the server as well. * Add new method set_configs() * Comment headers for different parts of AccountSystem class * Move group_by_name near the other group methods. 2008-06-17 Toshio Kuratomi <badger@Clingman> - r226 Whitespace normalization. 2008-06-17 Toshio Kuratomi <badger@Clingman> - r225 * doc/service.rst: Add allow_json=True to the validation example 2008-06-16 Toshio Kuratomi <badger@Clingman> - r224 Finish get_config() and get_configs_like(). 2008-06-16 Toshio Kuratomi <badger@Clingman> - r223 Remove DictContainer from here as it should now be taken care of in the base class. 2008-06-16 Toshio Kuratomi <badger@Clingman> - r222 Add DictContainer to proxyclient. This means that anything returning data via send_request() will now return a DictContainer. 2008-06-16 Toshio Kuratomi <badger@Clingman> - r221 Split a line for a pylint warning. 2008-06-16 Toshio Kuratomi <badger@Clingman> - r220 * Few changes for the port that weren't in the last commit. 2008-06-16 Toshio Kuratomi <badger@Clingman> - r219 * Port jsonfas identity provider to new BaseClient. 2008-06-16 Toshio Kuratomi <badger@Clingman> - r218 Switch BaseClient.sen_request()'s default for auth to False to match previous versions (and common sense). 2008-06-16 Toshio Kuratomi <badger@Clingman> - r217 Fix remaining pylint messages including three that were errors. 2008-06-15 Toshio Kuratomi <badger@Clingman> - r216 * Fix a bunch of new pylint issues including two actual errors where variable names had to be updated. 2008-06-14 Toshio Kuratomi <badger@Clingman> - r215 * Move fas2 from fedora.accounts to fedora.client. * Add a pkgdb.py module. 2008-06-14 Toshio Kuratomi <badger@Clingman> - r214 Start using sphinx markup for some things. 2008-06-14 Toshio Kuratomi <badger@Clingman> - r213 * Add empty definitions of config functions to fas2.py. We need to fill these in for myfedora to work. 2008-06-14 Toshio Kuratomi <badger@Clingman> - r212 * Move BaseClient and ProxyClient to their own files. Import them into __init__ and use __all__ to make them appear properly. 2008-06-14 Toshio Kuratomi <badger@Clingman> - r211 * fedora/tg/client.py: Make DeprecationWarning a little more clear. 2008-06-14 Toshio Kuratomi <badger@Clingman> - r210 * fedora/client/__init__.py: Implement threadsafe ProxyClient and reimplement BaseClient on top of that. 2008-06-14 Toshio Kuratomi <badger@Clingman> - r209 * doc/service.rst: Note about login via POST parameters and @expose("json") bug being fixed. 2008-06-09 Toshio Kuratomi <badger@Clingman> - r208 * doc/Makefile, doc/conf.py, doc/index.rst: MAke documentation buildable via sphinx. 2008-06-04 Toshio Kuratomi <badger@Clingman> - r207 * Fixdocumentation for change in BaseClient parameter names. 2008-06-03 Toshio Kuratomi <badger@Clingman> - r206 * NEWS: List of incompatibilities between 0.2.99.11.1 and 0.3. 2008-06-03 Toshio Kuratomi <badger@Clingman> - r205 * camelCase and pylint changes. All variables and parameters have been converted from camelCae to foo_bar conventions per PEP8. - A few remaining pylint warnings have been dealt with. 2008-06-02 Toshio Kuratomi <badger@Clingman> - r204 Make the AttributeError raisefd by DictContainer more verbose. 2008-06-01 Toshio Kuratomi <badger@Clingman> - r203 Rearrange imports of gettext and release because of dependencies in circular import. 2008-06-01 Toshio Kuratomi <badger@Clingman> - r202 Merge changes from the stable branch. 2008-06-01 Toshio Kuratomi <badger@Clingman> - r201 Add docstrings. 2008-06-01 Toshio Kuratomi <badger@Clingman> - r200 One more file that has gettext unification. 2008-06-01 Toshio Kuratomi <badger@Clingman> - r199 Unify gettext setup in fedora/__init__.py. Now any module can from fedora import _ and use that for marking translatable strings. 2008-06-01 Toshio Kuratomi <badger@Clingman> - r198 Remove redundant definition of Fedora Service. 2008-06-01 Toshio Kuratomi <badger@Clingman> - r197 Update README for changes in the API leading to 0.3 and the documentation that now lives in doc/service.rst 2008-06-01 Toshio Kuratomi <badger@Clingman> - r196 * fedora/accounts/fas2.py: Rename of send_request()'s input to reqParam. 2008-06-01 Toshio Kuratomi <badger@Clingman> - r195 * fedora/client/__init__.py: Remove munging of input => reqParams as we are now passing reqParams. 2008-06-01 Toshio Kuratomi <badger@Clingman> - r194 * Finish documentation of BaseClient. * Spell check BaseClient and Service documentation. 2008-05-30 Toshio Kuratomi <badger@Clingman> - r193 * fedora/tg/util.py: request_format(): Simplify the logic a little - jsonify_validation_errors(): Fix bug where we tracebacked instead of returning None when json was requested but no errors were returned. This won't be triggered with TG-1.0.4.4 but will be triggered in TG-1.0.4.5 or later. 2008-05-30 Toshio Kuratomi <badger@Clingman> - r192 * fedora/client/__init__.py: Rename input => reqParams in send_request() as we're breaking backwards compatibility anyway. 2008-05-28 Toshio Kuratomi <badger@Clingman> - r191 * doc/service.rst: Documentation on jsonify_validation_errors(). 2008-05-28 Toshio Kuratomi <badger@Clingman> - r190 * fedora/tg/util.py: New function jsonify_validation_errors() that returns a dictionary for returning from a @error_handler() method if validation errors occurrred and we're expecting json. 2008-05-15 Luke Macken <lmacken@x300> - r189 Fix a syntax error in fedora.tg.json 2008-05-14 Toshio Kuratomi <badger@Clingman> - r188 * fedora/tg/util.py: Fix up handling of requests. New algorithm: first check tg_format because people are more apt to use the query param when they want to override other things going on. Then use Accept Header. 2008-05-12 Toshio Kuratomi <badger@Clingman> - r187 * Merge from python-fedora-stable 2008-05-12 Toshio Kuratomi <badger@Clingman> - r186 * python-fedora.spec: Change download URL to fedorahosted.org. 2008-05-12 Toshio Kuratomi <badger@Clingman> - r185 * fedora/tg/json.py: Add a jsonify for ResultProxy. 2008-05-12 Toshio Kuratomi <badger@Clingman> - r184 * fedora/client/__init__.py: Fix to not traceback in case of a corrupted session file. - Fix to set permissions to only the user on the session file. 2008-04-23 Toshio Kuratomi <badger@Clingman> - r183 * fedora/accounts/fas2.py: Add a default baseURL. Since this is a client specifically for FAS, we should give a default value for that. 2008-04-23 Toshio Kuratomi <badger@Clingman> - r182 * Merge bz fixes from -stable. 2008-04-20 Toshio Kuratomi <badger@Clingman> - r181 * fedora/client/__init__.py: New exception hierarchy. FedoraServiceError is at the base. AuthError is for authentication problems, ServerError for unexpected errors from the request or the http server returning an error. AppError is for exceptions raised by the Fedora Service that the application could handle. + BaseClient::send_request(): Process exceptions using the new standard instead of our old kludges. - Add a useragent property that lets the script set a custom useragent string. * fedora/accounts/fas2.py: Rename authenticate() to verify_password() since that's the actual usage of the function. Use the BaseClient._authenticate() function to verify the legitimacy of the username/password. * fedora/tg/identity/jsonfasprovider.py: Port to new BaseClient exceptions. === 0.2.99.9 === 2008-04-20 Toshio Kuratomi <badger@Clingman> - r180 * Bump version for 0.2.99.9 backwards compat release. === 0.2.99.8 === 2008-04-12 Toshio Kuratomi <badger@Clingman> - r179 * ChangeLog, NEWS: Update ChangeLog and NEWS for new release. 2008-04-12 Toshio Kuratomi <badger@Clingman> - r178 * fedora/release.py, python-fedora.spec: Bump for new release. 2008-04-12 Toshio Kuratomi <badger@Clingman> - r177 * fedora/client/__init__.py: BaseClient::send_request(): Fix the bugfix. We need to re-raise the error if we've already been through the loop. Otherwise, return the data we got from the recursive call to ourselves. 2008-04-12 Toshio Kuratomi <badger@Clingman> - r176 More changes pointed out by pylint including two bugs. * fedora/accounts/fas2.py: AccountSystem::person_by_username(): Fix returning bugzilla_email when the email differs. Would have tracebacked on an undefined variable before. * fedora/client/__init__.py: BaseClient::send_request(): Fix to not return a ServerError when we have to try two methods to authenticate but get authenticated on the second try. 2008-04-12 Toshio Kuratomi <badger@Clingman> - r175 * fedora/tg/util.py: Fix arguments as pointed out by pylint. 2008-04-12 Toshio Kuratomi <badger@Clingman> - r174 * fedora/accounts/__init__.py, fedora/tg/client.py, fedora/tg/identity/jsonfasprovider.py, fedora/tg/json.py, fedora/tg/visit/jsonfasvisit.py: Trivial pylint cleanups. === 0.2.99.7 === 2008-04-11 Toshio Kuratomi <badger@Clingman> - r173 * Update ChangeLog for release. 2008-04-11 Toshio Kuratomi <badger@Clingman> - r172 * fedora/tg/json.py: Work around an architectural limitation of simplejson. 2008-04-11 Toshio Kuratomi <badger@Clingman> - r171 * fedora/accounts/fas2.py: Add the userid to the information returned from fas2.py:people_by_id(). 2008-04-11 Toshio Kuratomi <badger@Clingman> - r170 * python-fedora.spec: Fix mixed tabs/spaces. 2008-04-11 Toshio Kuratomi <badger@Clingman> - r169 Merge default value fix from Ricky. 2008-04-11 Toshio Kuratomi <badger@Clingman> - r168 * fedora/release.py, python-fedora.spec: Update for new release. 2008-04-11 Toshio Kuratomi <badger@Clingman> - r167 * fedora/accounts/fas2.py: Add a people_by_id() method that returns a dict of people indexed by ID. The people structure contains username, email, and human_name... what we need for most of our lookups. === 0.2.99.6 === 2008-04-07 Toshio Kuratomi <badger@Clingman> - r166 * fedora/tg/identity/jsonfasprovider.py, fedora/tg/visit/jsonfasvisit.py: Fix two deprecated imports. 2008-04-07 Toshio Kuratomi <badger@Clingman> - r165 * fedora/tg/visit/jsonfasvisit.py: Fixhow we call BaseVisitManager.__init__(). 2008-04-07 Toshio Kuratomi <badger@Clingman> - r164 * MANIFEST.in: Include the localisation files. 2008-04-07 Toshio Kuratomi <badger@Clingman> - r163 * fedora/release.py: Bump for next release. * python-fedora.spec: Merge -infrastrucutre subpackage. - Bump release. 2008-04-07 Toshio Kuratomi <badger@Clingman> - r162 * README, doc/client.rst, doc/services.rst: Documentation update. 2008-04-07 Toshio Kuratomi <badger@Clingman> - r161 * fedora/tg/visit/jsonfasvisit.py: Fix a race and thread the visit queue. - JsonFasVisitManager inherits from the threaded BaseVisitManager instead of BaseClient. - new_visit_with_key(), visit_for_key(): Create a new BaseClient everytime this is invoked to prevent races when setting the _sessionCookie. - update_queued_visit(): Create a BaseClient and ask the server to update the visit. - update_visit(), shutdown(), run(): Use the default versions now that we have an asynchronous update_queued_visit() that does this. 2008-04-07 Toshio Kuratomi <badger@Clingman> - r160 * fedora/client/__init__.py: Make the log issue a warning instead of an error for if the client can't read the session file. 2008-04-07 Toshio Kuratomi <badger@Clingman> - r159 * fedora/accounts/fas.py: Remove the last file dedicated to talking with fas1. 2008-04-07 Toshio Kuratomi <badger@Clingman> - r158 * fedora/accounts/fas2.py: Fix deprecated import. - Fix a few copy/paste errors. - AccountSystem::user_id(): Use an int for the user_id key instead of str. 2008-04-07 Toshio Kuratomi <badger@Clingman> - r157 * fedora/accounts/fas2.py: Re-add code to map email addresses that are different from bugzilla email addresses. This will go into the configs table in the FAS2 database a t a later date. 2008-04-05 lmacken <lmacken@crow> - r156 Update hosted url 2008-04-04 Toshio Kuratomi <badger@Clingman> - r155 * Finish off unwritten sections. 2008-04-04 Toshio Kuratomi <badger@Clingman> - r154 * fedora/tg/json.py: Fix imports of sqlalchemy.orm and sqlalchemy.ext. 2008-04-02 Toshio Kuratomi <badger@Clingman> - r153 * MANIFEST.in, NEWS, setup.py: Update for no fas1 modules and the docs directory. 2008-04-02 Toshio Kuratomi <badger@Clingman> - r152 * doc/service.rst: Make the example for doing something different for json reflect a real-world problem. 2008-04-02 Toshio Kuratomi <badger@Clingman> - r151 * doc/service.rst: Typos and rst conformance fixes. - Change error handling to return an exception name in exc. - Add code for doing something different if json data was requested. 2008-04-02 Toshio Kuratomi <badger@Clingman> - r150 * fedora/accounts/tgfas.py, fedora/accounts/util.py: Remove more files that were only needed for accessing FAS1's database. 2008-04-02 Toshio Kuratomi <badger@Clingman> - r149 * fedora/tg/util.py: Utility functions for tuurbogears servers. Currently has request_format() that tells what the requested output format is. 2008-04-02 Toshio Kuratomi <badger@Clingman> - r148 * fedora/tg/client.py: Add a DeprecationWarning. 2008-04-02 Toshio Kuratomi <badger@Clingman> - r147 * fedora/tg/client.py, fedora/client/__init__.py: Moved fedora.tg.client to fedora.client. Created a compatibility module in fedora.tg.client for now. 2008-04-02 Toshio Kuratomi <badger@Clingman> - r146 * doc/client.rst, doc/service.rst: Begin documenting BaseClient and the server side support that makes it work. 2008-04-02 Toshio Kuratomi <badger@Clingman> - r145 * fedora/accounts/tgfas2.py, fedora/tg/identity/safasprovider.py, fedora/tg/visit/safasvisit.py, fedora/tg/identity/jsonfasprovider.py, fedora/tg/visit/jsonfasvisit.py: Remove fas1 and database access code. 2008-04-02 Toshio Kuratomi <badger@Clingman> - r144 Add license information. 2008-03-21 Ricky Zhou <ricky@Max> - r143 Correct raise in fas2.py, add logout method to client.py. 2008-03-20 Ricky Zhou <ricky@Max> - r142 Add gencert for fedora-packager-setup (will probably want to do some cleaning up before actual use). 2008-03-19 Ricky Zhou <ricky@Max> - r141 Add authenticate method. === 0.2.99.5 === 2008-03-18 Ricky Zhou <ricky@Max> - r140 Add fas2.py 2008-03-12 Toshio Kuratomi <badger@Clingman> - r139 * fedora/tg/visit/safasvisit.py: Fix a silly typo. 2008-03-11 Toshio Kuratomi <badger@Clingman> - r138 * fedora/tg/client.py: - Fix url handling so joining URLs can have or lack leading and trailing slashes without repurcussions. - Fix the try: except block for retrieving the session cookie in send_request() to work with python 2.3. === 0.2.99.4 === 2008-03-11 Toshio Kuratomi <badger@Clingman> - r137 * ChangeLog: Update for new release. 2008-03-11 Toshio Kuratomi <badger@Clingman> - r136 * fedora/release.py, python-fedora.spec: Bump version for new release. 2008-03-11 Toshio Kuratomi <badger@Clingman> - r135 * fedora/tg/identity/jsonfasprovider.py: Changes from ricky to enable both user.human_name and user['human_name']. === 0.2.99.3 === 2008-03-11 Toshio Kuratomi <badger@Clingman> - r134 * ChangeLog: Update for new release. 2008-03-11 Toshio Kuratomi <badger@Clingman> - r133 * fedora/release.py, python-fedora.spec: Bump version for a new bugfix release. 2008-03-06 Toshio Kuratomi <badger@Clingman> - r132 * fedora/tg/client.py: Fix problem of not having a sessionCookie when trying to authenticate for the very first time. 2008-03-04 Toshio Kuratomi <badger@Clingman> - r131 * README: Add the fas.url config option to the install instructions for FASv2. 2008-03-04 Toshio Kuratomi <badger@Clingman> - r130 * NEWS: Update with the latest changes. * README: Update: FAS2 will have a JSON Provider and is not based on LDAP. 2008-03-04 Toshio Kuratomi <badger@Clingman> - r129 * fedora/tg/identity/jsonfasprovider.py, fedora/tg/visit/safasvisit.py: - Remove display_name. It's not in the TurboGears identity so we won't provide it in ours. - Mark various strings for gettext. 2008-03-04 Toshio Kuratomi <badger@Clingman> - r128 * fedora/tg/client.py: Don't issue an error if we can't write to the session file. The session file just makes it so we don't have to keep typing our password. It shouldn't be fatal. 2008-03-04 Toshio Kuratomi <badger@Clingman> - r127 * fedora/tg/identity/safas2provider.py: Remove safas2. FAS2 has a private identity module that builds on this. It's private because the public auth provider will either be based on json (written) or OpenID (not written). === 0.2.99.2 === 2008-03-04 Toshio Kuratomi <badger@Clingman> - r126 * python-fedora.spec: Remove confusing comment. 2008-03-04 Toshio Kuratomi <badger@Clingman> - r125 * Merge from trunk. 2008-02-25 Toshio Kuratomi <badger@Clingman> - r124 * fedora/accounts/fasLDAP.py: No LDAP for FAS2. We'll be replacing this with an SQLAlchemy model for FAS2's db. 2008-02-25 Toshio Kuratomi <badger@Clingman> - r123 * fedora/tg/identity/safas2provider.py: We're no longer going to use LDAP for fas2. New fasprovider to work with the FAS2 DB tables. 2008-02-25 Toshio Kuratomi <badger@Clingman> - r122 * fedora/accounts/fas.py: Ajax's email is fixed in the db. 2008-02-19 Toshio Kuratomi <badger@Clingman> - r121 * fedora/tg/visit/safasvisit.py: Remove check whether a mapper exists as we don't want to fallback on a visit session in the app local db. 2008-02-19 Toshio Kuratomi <badger@Clingman> - r120 * fedora/accounts/fas.py: Add a few more people who have separate bugzilla and primary email addresses. 2008-02-18 Toshio Kuratomi <badger@Clingman> - r119 * fedora/tg/visit/safasvisit.py: Correct capitalization. === 0.2.99.1 === 2008-02-17 Toshio Kuratomi <badger@Clingman> - r118 * ChangeLog: Update for release. 2008-02-17 Toshio Kuratomi <badger@Clingman> - r117 * python-fedora.spec: Add the visit provider. 2008-02-17 Toshio Kuratomi <badger@Clingman> - r116 * setup.py: Fix missing comma. 2008-02-17 Toshio Kuratomi <badger@Clingman> - r115 * ChangeLog: Update for release. 2008-02-17 Toshio Kuratomi <badger@Clingman> - r114 * python-fedora.spec: Add json.py to the files. 2008-02-17 Toshio Kuratomi <badger@Clingman> - r113 * fedora/release.py, python-fedora.spec: Bump release. 2008-02-15 Toshio Kuratomi <badger@Clingman> - r112 * fedora/tg/visit/, fedora/tg/visit/__init__.py, fedora/tg/visit/safasvisit.py: Re-add the visit plugin. We need to make two changes to the Visit class in order to work so we have to import it here. 2008-02-15 Toshio Kuratomi <badger@Clingman> - r111 * fedora/tg/json.py: Add a json module that let's us transform things into json. For now it has the SQLAlchemy functions from the packagedb. === 0.2.99.0 === 2008-02-13 Toshio Kuratomi <badger@Clingman> - r110 * python-fedora.spec: Add the release.py file. 2008-02-13 Toshio Kuratomi <badger@Clingman> - r109 * ChangeLog: Update for a new release. 2008-02-13 Toshio Kuratomi <badger@Clingman> - r108 * Merge the changes to make python-fedora compatible with TG-1.0.4 and SA-0.4. 2008-02-05 Toshio Kuratomi <badger@Clingman> - r107 * fedora/accounts/fasLDAP.py, fedora/accounts/util.py, fedora/tg/client.py, fedora/tg/identity/safasprovider.py: gettext fixes just like the fix to fas.py. 2008-02-04 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r106 * fedora/accounts/fas.py: Fix gettext setup to not traceback when no translation is available. 2008-02-03 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r105 * fedora/accounts/fas.py: Add MáirÃn Duffy to the list of differing email addresses. 2007-12-21 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r104 * First cut at i18n for python-fedora. Mark all strings for extraction and check in a pot file. 2007-12-21 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r103 * fedora/tg/identity/sabzprovider.py, fedora/tg/identity/sobzprovider.py: Remove unused modules from use. 2007-12-15 Luke Macken <lmacken@redhat.com> - r102 Join our request URLs properly with urlparse.urljoin === 0.2.90.22 === 2007-12-14 Toshio ããã¨ã¿ <toshio@publictest10.fedoraproject.org> - r101 * ChangeLog: Update for release. 2007-12-14 Toshio ããã¨ã¿ <toshio@publictest10.fedoraproject.org> - r100 * python-fedora.spec: Add python-ldap to the list of requirements. 2007-12-14 Toshio ããã¨ã¿ <toshio@publictest10.fedoraproject.org> - r99 * fedora/accounts/fasLDAP.py, fedora/accounts/util.py: Move FASError, AuthError, and retrieve_db_info() to their own file. * fedora/accounts/fas.py: Use exceptions and retrieve_db_info() from util.py. - get_users(): Fix a syntax error in the database retrieval. 2007-12-14 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r98 * fedora/accounts/fas.py: AccountSystem::get_users(): add a method to retrieve common public information for all users. This lets us query the database once to get user information instead of almost once for every user in some situations with some packages. 2007-12-14 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r97 * fedora/tg/client.py: Merge client exception fix. 2007-12-14 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r96 * fedora/tg/widgets.py: Add a widgetId to all the widgets. This allows us to have more than one of a widget on a page and perform operations on them separately. 2007-12-13 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r95 * README: Initial widget docs. 2007-12-13 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r94 * fedora/tg/widgets.py: Give the widgets some classes so styles can be set via stylesheets. 2007-12-13 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r93 * fedora/tg/widgets.py: Add a __json__ method to each widget so we can return the data as json as well as returning a widget. - Set limits on the data in the widget's display code rather than in the widget's data. This is better but probably not wuite what we want either. Instead, how many entries to return maybe should be determined when we call the widget. 2007-12-13 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r92 * fedora/tg/widgets.py: Add GPL header. 2007-12-13 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r91 * python-fedora.spec: 0.2.90.22 hasn't been released yet so keep that version. - Move the widgets to the infrastructure subpackage because they'll be used serverside. Also keeps the extra Requires: out of the client package. 2007-12-13 Luke Macken <lmacken@redhat.com> - r90 * Thu Dec 13 2007 Luke Macken <lmacken@redhat.com> - 0.2.90.23-1 - Add requirements for python-feedparser and python-bugzilla - Add fedora.tg.widgets module containing a few proof-of-concept Fedora TurboGears widgets 2007-12-13 Luke Macken <lmacken@redhat.com> - r89 Add fedora.tg.widgets module containing a few proof-of-concept Fedora TurboGears widgets 2007-12-13 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r88 * fedora/__init__.py, python-fedora.spec, setup.py: Bump version to 0.2.90.22 2007-11-29 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r87 * fedora/accounts/fas.py, fedora/accounts/fasLDAP.py: Fix import of os module for retrieve_db_info(). 2007-11-29 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r86 * Merge fixes for multiple users from upstream. 2007-11-29 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r85 * fedora/accounts/fas.py, fedora/accounts/fasLDAP.py: Move retrieve_db_info() to fasLDAP.py. - Use retrieve_db_info() to get the connectoin information to talk to the LDAP server. 2007-11-29 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r84 * fedora/accounts/fasLDAP.py: Change the password in this file. === 0.2.90.21 === 2007-11-15 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r83 * setup.py: Bump version. 2007-11-15 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r82 * Final ChangeLog for release. 2007-11-15 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r81 * fedora/__init__.py, python-fedora.spec: Bump for new version. 2007-11-15 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r80 * README: Enhance the documentation for using BaseClient. 2007-11-15 Toshio ããã¨ã¿ <toshio@publictest1.fedora.phx.redhat.com> - r79 * fedora/tg/client.py: BaseClient::_authenticate(): Clear the session if we force reauthentication. - BaseClient::send_request(): If we are told by the server that our request is Forbidden, attempt to reauthenticate. 2007-11-14 Luke Macken <lmacken@redhat.com> - r78 Handle our SQLAlchemy requirement differently for Fedora 8+, until TurboGears can use SQLAlchemy >= 0.4 === 0.2.90.20 === 2007-11-07 Toshio Kuratomi <badger@Clingman> - r77 * Final ChangeLog for the release. 2007-11-07 Luke Macken <lmacken@redhat.com> - r76 More 0.2.90.20 changes 2007-11-07 Luke Macken <lmacken@redhat.com> - r75 Require SQLAlchemy 0.3 for python-fedora-infrastructure 2007-11-07 Luke Macken <lmacken@redhat.com> - r74 0.2.90.20 2007-11-07 Toshio Kuratomi <badger@Clingman> - r73 * fedora/accounts/fasLDAP.py: Simplify code that just duplicates dict.items(). 2007-10-31 Ricky Zhou <ricky@fedoraproject.org> - r72 Store timestamps in LDAP instead of date strings. 2007-10-29 Luke Macken <lmacken@redhat.com> - r71 Merge with new bzr.fedoraproject.org branch 2007-10-18 Ricky Zhou <ricky@fedoraproject.org> - r70 Make output of Groups.byGroupName() always a dict. 2007-10-17 Ricky Zhou <ricky@fedoraproject.org> - r69 Add fedoraPersonCertSerial field. 2007-10-02 Ricky Zhou <ricky@fedoraproject.org> - r68 Fix possible unicode problems (hope I did this right). 2007-09-26 Ricky Zhou <ricky@fedoraproject.org> - r67 Fix typo in AUTHORS 2007-09-26 Ricky Zhou <ricky@fedoraproject.org> - r66 Fix move str() and encode() out of add. 2007-09-26 Ricky Zhou <ricky@fedoraproject.org> - r65 Remove leftover debugging statement. 2007-09-26 Ricky Zhou <ricky@fedoraproject.org> - r64 Add a few str() and encode() 2007-09-25 Toshio Kuratomi <badger@Clingman> - r63 * ChangeLog: Update to final ChangeLog for the release. === 0.2.90.19 === 2007-09-25 Toshio Kuratomi <badger@Clingman> - r62 * fedora/__init__.py, setup.py: Update to version 0.2.90.19. * python-fedora.spec: Fixes from the Fedora review process. 2007-09-24 Ricky Zhou <ricky@fedoraproject.org> - r61 Make fasLDAP.py handle None values properly, move encode('utf8') into modify. 2007-09-20 Toshio Ernie Kuratomi <toshio@publictest1.fedora.phx.redhat.com> - r60 * README: Bump version (really, this commit is to try and stop trac from spewing false commit notices.) 2007-09-18 Toshio Kuratomi <badger@Clingman> - r59 * ChangeLog: Update ChangeLog after final changes. === 0.2.90.18 === 2007-09-18 Toshio Kuratomi <badger@Clingman> - r58 * fedora/__init__.py, python-fedora.spec, setup.py: Bump to new release. 2007-09-18 Toshio Kuratomi <badger@Clingman> - r57 * fedora/accounts/fas.py: Add control-center-maint to the list of bugzilla email exceptions. 2007-09-18 Toshio Kuratomi <badger@Clingman> - r56 * ChangeLog: Final after testing. === 0.2.90.17 === 2007-09-18 Toshio Kuratomi <badger@Clingman> - r55 * fedora/accounts/fas.py: Fix silly error calling function instead of subscripting an array. 2007-09-18 Toshio Kuratomi <badger@Clingman> - r54 * ChangeLog: Sync up with last mintue changes. 2007-09-17 Toshio Kuratomi <badger@Clingman> - r53 * python-fedora.spec: Fix some minor file path problems with the spec. 2007-09-17 Toshio Kuratomi <badger@Clingman> - r52 * ChangeLog: Add a changelog. 2007-09-17 Toshio Kuratomi <badger@Clingman> - r51 * MANIFEST.in: Add ChangeLog * README, fedora/__init__.py, python-fedora.spec, setup.py: Version 0.2.90.17. 2007-09-17 Toshio Kuratomi <badger@Clingman> - r50 * fedora/accounts/fas.py: Simplify conversion to utf-8 of all person and group information. 2007-09-14 Ricky Zhou <ricky@fedoraproject.org> - r49 Add fedoraGroupRequires, fix empty value issues with LDAP, and catch more LDAP exceptions. === 0.2.90.16 === 2007-09-10 Toshio Kuratomi <badger@Clingman> - r48 * fedora/accounts/fasLDAP.py: Server(): Bugfix calling ldapServer instead of self.ldapConn. * python-fedora.spec, setup.py: Bump to 0.2.90.16. === 0.2.90.15 === 2007-09-08 Toshio Kuratomi <badger@Clingman> - r47 * setup.py: Update to 0.2.90.14. 2007-09-08 Toshio Kuratomi <badger@Clingman> - r46 * AUTHORS: Add Ricky Zhou for his work on fasLDAP. * README: Add the config for the fas2 visit table. * python-fedora.spec: Update the changelog. * fassession.sql, fassession2.sql, fedora/accounts/fas.py, fedora/accounts/fasLDAP.py, fedora/accounts/tgfas.py, fedora/accounts/tgfas2.py, fedora/tg/client.py, fedora/tg/identity/sabzprovider.py, fedora/tg/identity/safas2provider.py, fedora/tg/identity/safasprovider.py, fedora/tg/identity/sobzprovider.py, fedora/tg/visit/safasvisit.py: Update the License information to standard Red Hat boilerplate for GPLv2 only. 2007-09-08 Toshio Kuratomi <badger@Clingman> - r45 * fedora/accounts/fas.py: Fix error message to reference database by its key. * fedora/tg/client.py: Update to save sessionCookies according to username in case someone uses more than one username from the same unix account. * fedora/tg/identity/safas2provider.py, fedora/tg/identity/safasprovider.py: - Fix importing fas2 AuthError. - Fix long standing issue losing auth by flushing and clearing the visit_identity mapper before retrieving information about the user. - Fix issue with identity not being reset when changing users due to a traceback from the db. * python-fedora.spec: Update the install command. 2007-09-08 Toshio Kuratomi <badger@Clingman> - r44 * fedora/accounts/fasLDAP.py: Cleanups and restructuring. - Move all imports to the top of the file. - All new-style classes. - Add short docstrings for most methods. - Change all instances of filter into ldapFilter as filter is a builtin. - Server class: Now defaults to opening an admin connection to the ldap server. + Contains all the LDAP related functions which were formerly loose in the file. - Group class: Has a class level __server connection to the ldap server and __base string for getting group information from the class. + Add fedoraGroupDesc from mmcgrath's tree. + __json__(): Method to translate the data structure to json. + newGroup(): classmethod to create a new group. - Groups class: __server class variable to connect to the ldap server. + Make __userName an instance variable and note that it's probably not something we want to use. + Groups::byGroupName(): Surroung getting the users in a try: block. Might want to make this more fine grained in the future. - Person class: Make __filter and instance variable. + Person::__getattr__(): Note that getattr has a performance penalty and is easy to get wrong. * remove a recursive call to __getattr__(). + Person::auth(): Change to only throw an AuthError if no password is given. Are we sure this works? 2007-08-02 Toshio Kuratomi <toshio@tiki-lounge.com> - r43 * fedora/tg/identity/sopwith-fas-identity.py: Remove as we've never used this for real, just as an example to build ur own identity provider. * Add GPLv2+ statements to all the other source files. 2007-08-02 Toshio Kuratomi <toshio@tiki-lounge.com> - r42 * AUTHORS, COPYING: Licensed under GPLv2+ by lmacken, mmcgrath, and myself. * MANIFEST.in: Add COPYING and AUTHORS * fedora/tg/identity/safas2provider.py: Fix the create_provider routine here like it was fixed in safasprovider.py. * python-fedora.spec, setup.py: Bump to version 0.2.90.14. 2007-07-30 Toshio Kuratomi <toshio@tiki-lounge.com> - r41 * fedora/tg/client.py: BaseClient::_authenticate(): Take a force argument to force a new session. + Fix the login request with another '/'. + Reraise a HTTPError when it isn't 'Forbidden'. - BaseClient::send_request(): If our request is sent back because it needs to login, force a reauthentication. 2007-07-30 Toshio Kuratomi <toshio@tiki-lounge.com> - r40 * fedora/tg/client.py: Fix handling of other arguments to send_request(). 2007-07-30 Toshio Kuratomi <badger@Clingman> - r39 * fedora/tg/identity/safasprovider.py: Fix SqlAlchemyIdentityProvider:: create_provider_model() to only create visit_identity as the information in the other classes is saved directly in FAS. * python-fedora.spec: Update the changelog. 2007-07-30 Toshio Kuratomi <badger@Clingman> - r38 * fedora/tg/client.py: s/"/'/ for consistency. - BaseClient()::__init__(): make the username and password optional. - BaseClient()::_authenticate(): Raise an AuthError if the username or password is not set. 2007-07-30 Toshio Kuratomi <badger@Clingman> - r37 * fedora/tg/client.py: Bugfixes - Fix os.path import. - BaseClient::__init__(): Fix call to _load_session(). - BaseClient::_authenticate(): Update simplejson.read() => simplejson.load(). - BaseClient::send_request(): Minor changes so we don't throw an exception if we use json rather than simplejson. 2007-07-21 Toshio Kuratomi <toshio@tiki-lounge.com> - r36 * README: tab-> space fixes. * fedora/tg/client.py: Typo corrections. 2007-07-21 Toshio Kuratomi <toshio@tiki-lounge.com> - r35 * fedora/tg/clent.py: Fix a tab. 2007-07-21 Toshio Kuratomi <toshio@tiki-lounge.com> - r34 * fedora/tg/client.py: BaseClient() class to eases writing a client that can connect to a TG server. * README: Updated for client integration. * python-fedora.spec, setup.py: New version. 2007-07-10 Toshio Kuratomi <toshio@tiki-lounge.com> - r33 * fedora/accounts/fasLDAP.py: Remove unneeded bang path. 2007-07-10 Toshio Kuratomi <toshio@tiki-lounge.com> - r32 * fedora/accounts/fas.py: Fix issues with Unicode data not being properly encoded when returned from the db. * fedora/tg/identity/safasprovider.py: Fix a traceback when the db is not available. * python-fedora.spec, setup.py: Update to 0.2.90.12. 2007-07-03 Toshio Kuratomi <toshio@tiki-lounge.com> - r31 * python-fedora.spec, setup.py: Update to 0.2.90.11. 2007-07-03 Toshio Kuratomi <toshio@tiki-lounge.com> - r30 * fedora/accounts/fas.py: AccountSystem::dbCmd(): Change from defining this with a property decorator to property function syntax. This makes it python 2.3 compatible. * fedora/tg/identity/safas2provider.py, fedora/tg/identity/safasprovider.py: Add __json__() methods so we can output FASUser and FASGroups when the tg_format is set to json. 2007-06-25 Toshio Kuratomi <toshio@tiki-lounge.com> - r29 * fedora/accounts/fas.py: Fix a bug when we lose a database connection while an app is running. * python-fedora.spec: Update changelog. 2007-06-25 Toshio Kuratomi <toshio@tiki-lounge.com> - r28 * fedora/accounts/fas.py: berrange has changed his email address in the account system, no longer need to special case his bugzilla address. * fedora/tg/identity/safas2provider.py: Update fas2 integration with changes from mmcgrath. * python-fedora.spec, setup.py: New version 0.2.90.10. 2007-06-08 Toshio Kuratomi <toshio@tiki-lounge.com> - r27 * python-feora.spec, setup.py: Update to next version 0.2.90.9. 2007-06-08 Toshio Kuratomi <toshio@tiki-lounge.com> - r26 * fedora/accounts/fasLDAP.py: Create an AuthError exception to hide the implementation details when we are unable to authenticate a user. - auth(): Raise AuthError whenever LDAP canot auth the user. * fedora/tg/identity/safas2provider.py: - validate_identity: No need to chek for AuthError as validate_password() does that already. - validate_password(): Check for AuthError instead of a generic exception. 2007-06-08 Toshio Kuratomi <toshio@tiki-lounge.com> - r25 * fedora/accounts/fasLDAP.py, fedora/tg/identity/safas2provider.py: fas2 updates from mmcgrath. 2007-05-31 Toshio Kuratomi <toshio@tiki-lounge.com> - r24 * fedora/accounts/fas.py: - Up the maximum number of concurrent db connections to 15. - Add a DBError exception that is thrown when the connection to the db has problems. - AccountSystem::_raise_dberror(): Method to clear the connections from the pool and raise a DBError. - Surround all database calls with try: except blocks that call _raise_dberror() when a problem connecting to the db occurs. * fedora/tg/identity/safasprovider.py: Catch and process DBErrors as well as AuthErrors. * python-fedora.spec, setup.py: Bump version to 0.2.90.8. 2007-05-04 Toshio Kuratomi <toshio@tiki-lounge.com> - r23 * fedora/accounts/fas.py: a psycopg2 DictCursor bug means we can't save a value into values returned using dict keys. Recraft selects to be able to use list notation to save bugzilla_email instead. 2007-05-04 Toshio Kuratomi <toshio@tiki-lounge.com> - r22 * fedora/accounts/fas.py: Make email part of the publically available information so that bugzilla email has something to pull from. * python-fedora.spec, setup.py: New version 0.2.90.7 2007-04-14 Toshio Kuratomi <toshio@tiki-lounge.com> - r21 * fedora/accounts/fas.py: Fix a problem with the bugzilla email address code. * python-fedora.spec, setup.py: Update version to 0.2.90.6. 2007-04-03 Toshio Kuratomi <toshio@tiki-lounge.com> - r20 * fedora/accounts/fas.py: Return the bugzilla email address as part of retrieving user information. - Add a method to lookup by email address which also checks against bugzilla email addresses given in owners.list. * fedora/accounts/fasLDAP.py: Update to latest fasLDAP.py from accounts2. * python-fedora.spec, setup.py: Bump version to 0.2.90.5. 2007-03-15 Toshio Kuratomi <toshio@tiki-lounge.com> - r19 * fedora/tg/identity/safas2provider.py, fedora/tg/identity/safasprovider.py: Pull in the AuthError definition from fas2.py/fas.py. * python-fedora.spec, setup.py: 0.2.90.4. 2007-03-14 Toshio Kuratomi <toshio@tiki-lounge.com> - r18 * fedora/accounts/fas.py: Fix get_group_info(). 2007-03-14 Toshio Kuratomi <toshio@tiki-lounge.com> - r17 * fedora/accounts/fas.py: We actually have to have a separate connection for each thread, not just a separate cursor. Use sqlalchemy.pool to do this efficiently. - Fix a typo in selecting from project_group. * python-fedora.spec: Add the sqlalchemy requirement. 2007-03-14 Toshio Kuratomi <toshio@tiki-lounge.com> - r16 * fedora/accounts/fas.py: Fix a syntax error in the group info function. 2007-03-14 Toshio Kuratomi <toshio@tiki-lounge.com> - r15 * fedora/accounts/fas.py: Delete a stray period that was inerted in the last edit. * python-fedora.spec: Add changelog. 2007-03-14 Toshio Kuratomi <toshio@tiki-lounge.com> - r14 * fedora/accounts/fas.py: Have each function retrieve its own cursor on the database connection. Reusing the same cursor never gets new information from the database. This is a problem when another process (like the accounts system) uses a different interface to update account information. 2007-03-13 Toshio Kuratomi <toshio@tiki-lounge.com> - r13 * python-fedora.spec, setup.py: Bump the version to 0.2.90.3 2007-03-13 Toshio Kuratomi <toshio@tiki-lounge.com> - r12 * fedora/tg/identity/safas2provider.py: Save the whole group information again now that I realize that group is a dict. 2007-03-13 Toshio Kuratomi <toshio@tiki-lounge.com> - r11 * fedora/accounts/fas.py: Implement get_group_info() to return group information from the fas. 2007-02-27 Toshio Kuratomi <toshio@tiki-lounge.com> - r10 * safas2provider.py: Fix the group definition to set the group name properly. - catch the proper exception when the password does not validate. * safasprovider.py: Catch the proper exception when the password does not validate. 2007-02-26 Toshio Kuratomi <toshio@tiki-lounge.com> - r9 * MANIFEST.in: List additional files to include in the source tarball. * README: Short intro to using the fas v2 features. * fedora/accounts/tgfas2.py: fix the database name to be fassession2. * python-fedora.spec: Bump the version to 0.2.90.2. * setup.py: Bump version to 0.2.90.2. 2007-02-26 Toshio Kuratomi <toshio@tiki-lounge.com> - r8 * fassession.sql: Database to store web session information for fas v1. This is used by TurboGears at the moment. * fassession2.sql: Database to store web session information for fas v2. This is used by TurboGears at the moment. * fedora/accounts/fasLDAP.py: Module from Mike McGrath to connect to fas2. * fedora/accounts/tgfas2.py: The new version of tgfas uses a TEXT column for user_id as LDAP uses the username as the "primary key". * fedora/tg/identity/safas2provider.py: First attempt to use fas v2 to authenticate the users. * setup.py: Bump version to 0.2.90.1 - Add the safas2 entrypoint. 2007-02-10 Toshio Kuratomi <toshio@tiki-lounge.com> - r7 * README: Update with note that sqlalchemy.dburi must be set. * fedora/accounts/fas.py: AccountSystem::validate_password(): Be sure to fail anyone attempting to login with one of the system accounts (accounts with ids below 10000). * fedora/accounts/tgfas.py: Rename the database we'll be accessing fassession. - Properly case dbUri everywhere so we can connect to the database. 2007-02-09 Toshio Kuratomi <toshio@tiki-lounge.com> - r6 * fedora/accounts/fas.py: Move the __retrieve_auth_db() method to a module level function retrieve_db_info(). * fedora/accounts/tgfas.py: Start work on retrieving the database from /etc/sysconfig. - Remove all commented out mappers as we're not going to use them. * fedora/tg/__init__.py: Empty the file of version info. * python-fedora.spec: Bump to 0.2.1 * setup.py: Bump to 0.2.1 - Make the identity.providers a list so we include all of them as entry_points. 2007-02-09 Toshio Ernie Kuratomi <toshio@test3.fedora.phx.redhat.com> - r5 * fedora/__init__.py: Remove the version from here as this will become a namespace package. * fedora/tg/identity/safasprovider.py: - Define global visit_identity_class and fas. - SaFasIdentity::__init__(): No longer initialize the fas as we'll use the global fas for this. - Rename visit_class to visit_identity_class. - Use SessionContext mappers to save, delete, etc. - SaFasIdentity::logout(): Return a SaFasIdentity instead of SqlAlchemyIdentity. - SaFasIdentityProvider::validate_identity(): flush and clear the session right off the bat. This takes care of an error where the sqlalchemy unit of work was holding onto deleted identities but not registering them as deleted. - Override anonymous_identity() and authenticated_identity() so we return SaFasIdentity's instead of SqlAlchemyIdentity's. * fedora/tg/visit/safasvisit.py: Define global visit_class. - Use SessionContext mappers to save. * python-fedora.spec: New version 0.2 * setup.py: New version 0.2 2007-01-21 Toshio Kuratomi <toshio@tiki-lounge.com> - r4 * fedora/tg/identity/safasprovider.py: Bugfix: Access the userId directly from the local userId variable instead of trying to get it from a nonexistent user mapper. 2007-01-20 Toshio Kuratomi <toshio@tiki-lounge.com> - r3 * python-fedora.spec: Add a spec file so this can be turned into an rpm. * fedora/accounts/fas.py: - adminUserId: Set a constant for the adminUserId. This allows us to check if the logged in user is the accounts system admin. - __retrieve_auth_db(): Initialize dbInfo = None. + Scan for the passed in dbkey rather than global dbName. - __init__(): Fix syntax so .get() uses parens instead of brackets. - get_user_info(): + Note that we should make sure all the information we're returning will map to the FAS2 schema. + Instead of using the condition var to select on either userid or username set the userid from the username. + Move userDist initialization, retrieving groups from the cursor, and returning to the toplevel of the method. * fedora/accounts/tgfas.py: Create the tables if they don't yet exist in the database. * fedora/tg/identity/safasprovider.py: SaFasIdentity::__init__(): When using super, __init__() doesn't need to be called with an explicit "self". - _get_user(): Make sure we try to return a cached _user before loading the a new one. * fedora/tg/visit/safasvisit.py: - get some imports I missed: datetime, Visit, and logging. - SaFasVisitManager::__init__(): We have to include the __init__() function because TG uses global variables to hold the class information. Globals don't pass with inheritance, they are global to the file in which they're defined. - flush the visit_class after we've added the new session. * setup.py: Include package data. 2007-01-18 Toshio Kuratomi <toshio@tiki-lounge.com> - r2 * README: seutp.py should now work. 2007-01-18 Toshio Kuratomi <toshio@tiki-lounge.com> - r1 * Initial checkin.