Permalink
Browse files

Importing Pinder 0.6.5

  • Loading branch information...
0 parents commit abedd0050cb9a1b62f211280d9220fb2186fc587 @defunkt committed Apr 25, 2009
Showing with 5,672 additions and 0 deletions.
  1. +41 −0 CHANGELOG.txt
  2. +10 −0 LICENSE.txt
  3. +27 −0 NEWS.txt
  4. +25 −0 PKG-INFO
  5. +44 −0 README.txt
  6. +56 −0 doc/api/api-objects.txt
  7. +120 −0 doc/api/class-tree.html
  8. BIN doc/api/crarr.png
  9. +322 −0 doc/api/epydoc.css
  10. +293 −0 doc/api/epydoc.js
  11. +272 −0 doc/api/help.html
  12. +324 −0 doc/api/identifier-index.html
  13. +138 −0 doc/api/index.html
  14. +114 −0 doc/api/module-tree.html
  15. +138 −0 doc/api/pinder-module.html
  16. +125 −0 doc/api/pinder-pysrc.html
  17. +132 −0 doc/api/pinder.campfire-module.html
  18. +356 −0 doc/api/pinder.campfire-pysrc.html
  19. +608 −0 doc/api/pinder.campfire.Campfire-class.html
  20. +127 −0 doc/api/pinder.room-module.html
  21. +368 −0 doc/api/pinder.room-pysrc.html
  22. +1,015 −0 doc/api/pinder.room.Room-class.html
  23. +38 −0 doc/api/redirect.html
  24. +8 −0 doc/faq.txt
  25. +87 −0 doc/usage.txt
  26. +11 −0 pinder/__init__.py
  27. +240 −0 pinder/campfire.py
  28. +251 −0 pinder/room.py
  29. +33 −0 setup.py
  30. 0 test/__init__.py
  31. +10 −0 test/fixtures/chat_rooms_empty.html
  32. +12 −0 test/fixtures/chat_rooms_not_empty.html
  33. +14 −0 test/fixtures/chat_rooms_one_empty.html
  34. +1 −0 test/fixtures/default.html
  35. +8 −0 test/fixtures/guest_url.html
  36. +7 −0 test/fixtures/no_guest_url.html
  37. +1 −0 test/fixtures/no_rooms.html
  38. +1 −0 test/fixtures/no_transcripts.html
  39. +3 −0 test/fixtures/room_info.html
  40. +10 −0 test/fixtures/rooms_names.html
  41. +11 −0 test/fixtures/transcripts.html
  42. +29 −0 test/runtests.py
  43. +151 −0 test/test_campfire.py
  44. +47 −0 test/test_room.py
  45. +44 −0 test/utils.py
@@ -0,0 +1,41 @@
+* May 18 2008: Pinder 0.6.5: third public release.
+
+* May 18 2008: trunk: Removed BeautifulSoup and httplib2 from internal packaging, now they are required dependencies
+
+* Feb 16 2008: trunk: Added a method to retrieve the topic of the room
+
+* Jan 27 2008: trunk: The interval to ping the server should be less than 60
+
+* Dec 26 2007: trunk:
+ - Updated prototype.js version
+ - Added room.ping() to ping the server
+
+* Sep 01 2007: trunk:
+ - Fixed a problem in the fake response object
+ - Added a proper mapping implementation in the fake object
+
+* Apr 14 2007: trunk: fixed a bug in room.leave() (thanks to Pinder codebase)
+
+* Apr 10 2007: trunk: Updated BeautifulSoup to 3.0.4
+
+* Apr 08 2007: Pinder 0.6.0: second public release.
+
+* Apr 08 2007: trunk:
+ - Fixed room regexp
+ - Added support for transcripts:
+ - Campfire.transcripts()
+ - Room.transcripts()
+ - Room.transcript()
+
+* Apr 03 2007: trunk:
+ - pinder now sends a proper user agent.
+ - Added guest_access_enabled() to the public API.
+ - Little fix in toggle_guest_access().
+
+* Mar 10 2007: trunk: Updated pinder to httplib2 0.3.0.
+
+* Mar 09 2007: trunk: Added find_or_create_room_by_name() to the public API.
+
+* Mar 07 2007: trunk: Added rooms_names() and rooms() to the public API.
+
+* Mar 07 2007: Pinder 0.5.0: first public release.
@@ -0,0 +1,10 @@
+Copyright (c) 2007, Lawrence Oluyede
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+ * Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,27 @@
+Pinder 0.6.5 [May 18 2007]:
+ - BACKWARDS INCOMPATIBLE CHANGE: BeautifulSoup and httplib2 are no longer
+ distributed with Pinder. You have to install them separately.
+
+ - Fixed a bug in Room.leave()
+
+ - Fixed a couple of bugs in the tests
+
+ - Room objects now have ping() to ping the server and topic() to retrieve
+ the topic of the room
+
+Pinder 0.6.0 [Apr 08 2007]:
+ - Campfire objects now have rooms() and rooms_names() methods to get the
+ list of the associated room objects and the names of all the rooms
+
+ - Campfire objects also have find_or_create_room_by_name(), an helper
+ method which combine find_room_by_name() and create_room()
+
+ - The whole library has been updated to httlibp2 0.3.0
+
+ - A proper user agent is sent during the requests
+
+ - Room objects now have guest_access_enabled() to know if the guests can
+ enter that room
+
+ - The support for transcripts has been added throughout the library. See
+ the changelog for details.
@@ -0,0 +1,25 @@
+Metadata-Version: 1.0
+Name: pinder
+Version: 0.6.5
+Summary: Python API for Campfire.
+Home-page: http://dev.oluyede.org/pinder/
+Author: Lawrence Oluyede
+Author-email: l.oluyede@gmail.com
+License: BSD
+Download-URL: http://dev.oluyede.org/download/pinder/0.6.5/
+Description: UNKNOWN
+Platform: UNKNOWN
+Classifier: Development Status :: 4 - Beta
+Classifier: Environment :: Console
+Classifier: Environment :: Web Environment
+Classifier: Intended Audience :: Developers
+Classifier: License :: OSI Approved :: BSD License
+Classifier: Natural Language :: English
+Classifier: Operating System :: MacOS :: MacOS X
+Classifier: Operating System :: Microsoft :: Windows
+Classifier: Operating System :: POSIX
+Classifier: Programming Language :: Python
+Classifier: Topic :: Communications :: Chat
+Classifier: Topic :: Internet :: WWW/HTTP
+Classifier: Topic :: Software Development :: Libraries
+Classifier: Topic :: Software Development :: Libraries :: Python Modules
@@ -0,0 +1,44 @@
+Pinder 0.6.5
+============
+
+Pinder is a client library for Campfire, the chat application from 37Signals.
+
+You can find Campfire here: <http://www.campfirenow.com/>
+
+Requirements
+------------
+
+* Python 2.3+
+* BeautifulSoup >= 3.0.4
+* httplib2 >= 0.3.0
+
+Installation
+------------
+
+
+$ easy_install -U BeautifulSoup
+$ easy_install -U httplib2
+
+Then:
+
+$ easy_install -U pinder
+
+- OR -
+
+Get the latest version from <http://dev.oluyede.org/download/pinder/>, unpack it, go inside the new directory and type the following in the shell:
+
+$ python setup.py install
+
+
+Documentation
+-------------
+
+See doc/usage.txt for usage documentation and doc/api/pinder.html for the API doc. There's also a faq in doc/faq.txt.
+
+
+Many thanks to Brandon Keepers <http://opensoul.org/> for Tinder.
+
+Subversion access
+-----------------
+
+See <http://dev.oluyede.org/trac/default/wiki/Pinder>
@@ -0,0 +1,56 @@
+pinder pinder-module.html
+pinder.campfire pinder.campfire-module.html
+pinder.room pinder.room-module.html
+pinder.campfire.Campfire pinder.campfire.Campfire-class.html
+pinder.campfire.Campfire._get_rooms_markup pinder.campfire.Campfire-class.html#_get_rooms_markup
+pinder.campfire.Campfire._verify_response pinder.campfire.Campfire-class.html#_verify_response
+pinder.campfire.Campfire._perform_request pinder.campfire.Campfire-class.html#_perform_request
+pinder.campfire.Campfire.create_room pinder.campfire.Campfire-class.html#create_room
+pinder.campfire.Campfire.rooms pinder.campfire.Campfire-class.html#rooms
+pinder.campfire.Campfire.rooms_names pinder.campfire.Campfire-class.html#rooms_names
+pinder.campfire.Campfire.__init__ pinder.campfire.Campfire-class.html#__init__
+pinder.campfire.Campfire.logged_in pinder.campfire.Campfire-class.html#logged_in
+pinder.campfire.Campfire._parse_transcript_date pinder.campfire.Campfire-class.html#_parse_transcript_date
+pinder.campfire.Campfire.subdomain pinder.campfire.Campfire-class.html#subdomain
+pinder.campfire.Campfire.users pinder.campfire.Campfire-class.html#users
+pinder.campfire.Campfire._get pinder.campfire.Campfire-class.html#_get
+pinder.campfire.Campfire.logout pinder.campfire.Campfire-class.html#logout
+pinder.campfire.Campfire._room_id_from_uri pinder.campfire.Campfire-class.html#_room_id_from_uri
+pinder.campfire.Campfire.login pinder.campfire.Campfire-class.html#login
+pinder.campfire.Campfire._uri_for pinder.campfire.Campfire-class.html#_uri_for
+pinder.campfire.Campfire._post pinder.campfire.Campfire-class.html#_post
+pinder.campfire.Campfire._prepare_request pinder.campfire.Campfire-class.html#_prepare_request
+pinder.campfire.Campfire.find_or_create_room_by_name pinder.campfire.Campfire-class.html#find_or_create_room_by_name
+pinder.campfire.Campfire.uri pinder.campfire.Campfire-class.html#uri
+pinder.campfire.Campfire.find_room_by_name pinder.campfire.Campfire-class.html#find_room_by_name
+pinder.campfire.Campfire._filter_rooms_markup pinder.campfire.Campfire-class.html#_filter_rooms_markup
+pinder.campfire.Campfire.cookie pinder.campfire.Campfire-class.html#cookie
+pinder.campfire.Campfire.transcripts pinder.campfire.Campfire-class.html#transcripts
+pinder.room.Room pinder.room.Room-class.html
+pinder.room.Room.rename pinder.room.Room-class.html#rename
+pinder.room.Room._send pinder.room.Room-class.html#_send
+pinder.room.Room.lock pinder.room.Room-class.html#lock
+pinder.room.Room.topic pinder.room.Room-class.html#topic
+pinder.room.Room.unlock pinder.room.Room-class.html#unlock
+pinder.room.Room.id pinder.room.Room-class.html#id
+pinder.room.Room.__init__ pinder.room.Room-class.html#__init__
+pinder.room.Room.speak pinder.room.Room-class.html#speak
+pinder.room.Room.__eq__ pinder.room.Room-class.html#__eq__
+pinder.room.Room.ping pinder.room.Room-class.html#ping
+pinder.room.Room.toggle_guest_access pinder.room.Room-class.html#toggle_guest_access
+pinder.room.Room.change_name pinder.room.Room-class.html#change_name
+pinder.room.Room.destroy pinder.room.Room-class.html#destroy
+pinder.room.Room.guest_invite_code pinder.room.Room-class.html#guest_invite_code
+pinder.room.Room.change_topic pinder.room.Room-class.html#change_topic
+pinder.room.Room.paste pinder.room.Room-class.html#paste
+pinder.room.Room.users pinder.room.Room-class.html#users
+pinder.room.Room._get_room_data pinder.room.Room-class.html#_get_room_data
+pinder.room.Room.guest_url pinder.room.Room-class.html#guest_url
+pinder.room.Room.transcript pinder.room.Room-class.html#transcript
+pinder.room.Room.guest_access_enabled pinder.room.Room-class.html#guest_access_enabled
+pinder.room.Room.join pinder.room.Room-class.html#join
+pinder.room.Room.name pinder.room.Room-class.html#name
+pinder.room.Room.uri pinder.room.Room-class.html#uri
+pinder.room.Room.leave pinder.room.Room-class.html#leave
+pinder.room.Room.__repr__ pinder.room.Room-class.html#__repr__
+pinder.room.Room.transcripts pinder.room.Room-class.html#transcripts
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="ascii"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>Class Hierarchy</title>
+ <link rel="stylesheet" href="epydoc.css" type="text/css" />
+ <script type="text/javascript" src="epydoc.js"></script>
+</head>
+
+<body bgcolor="white" text="black" link="blue" vlink="#204080"
+ alink="#204080">
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pinder-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th bgcolor="#70b0f0" class="navbar-select"
+ >&nbsp;&nbsp;&nbsp;Trees&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Project homepage -->
+ <th class="navbar" align="right" width="100%">
+ <table border="0" cellpadding="0" cellspacing="0">
+ <tr><th class="navbar" align="center"
+ ><a class="navbar" target="_top" href="http://dev.oluyede.org/pinder/index.html">Pinder</a></th>
+ </tr></table></th>
+ </tr>
+</table>
+<table width="100%" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td width="100%">&nbsp;</td>
+ <td>
+ <table cellpadding="0" cellspacing="0">
+ <!-- hide/show private -->
+ </table>
+ </td>
+ </tr>
+</table>
+<center><b>
+ [ <a href="module-tree.html">Module Hierarchy</a>
+ | <a href="class-tree.html">Class Hierarchy</a> ]
+</b></center><br />
+<h1 class="epydoc">Class Hierarchy</h1>
+<ul class="nomargin-top">
+ <li> <strong class="uidlink">object</strong>:
+ <em class="summary">The most base type</em>
+ <ul>
+ <li> <strong class="uidlink"><a href="pinder.campfire.Campfire-class.html">pinder.campfire.Campfire</a></strong>:
+ <em class="summary">Creates a connection to the Campfire account with the given
+ subdomain.</em>
+ </li>
+ <li> <strong class="uidlink"><a href="pinder.room.Room-class.html">pinder.room.Room</a></strong>:
+ <em class="summary">A Campfire room.</em>
+ </li>
+ </ul>
+ </li>
+</ul>
+<!-- ==================== NAVIGATION BAR ==================== -->
+<table class="navbar" border="0" width="100%" cellpadding="0"
+ bgcolor="#a0c0ff" cellspacing="0">
+ <tr valign="middle">
+ <!-- Home link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="pinder-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Tree link -->
+ <th bgcolor="#70b0f0" class="navbar-select"
+ >&nbsp;&nbsp;&nbsp;Trees&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Index link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Help link -->
+ <th>&nbsp;&nbsp;&nbsp;<a
+ href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
+
+ <!-- Project homepage -->
+ <th class="navbar" align="right" width="100%">
+ <table border="0" cellpadding="0" cellspacing="0">
+ <tr><th class="navbar" align="center"
+ ><a class="navbar" target="_top" href="http://dev.oluyede.org/pinder/index.html">Pinder</a></th>
+ </tr></table></th>
+ </tr>
+</table>
+<table border="0" cellpadding="0" cellspacing="0" width="100%%">
+ <tr>
+ <td align="left" class="footer">
+ Generated by Epydoc 3.0.1 on Sun May 18 15:07:02 2008
+ </td>
+ <td align="right" class="footer">
+ <a target="mainFrame" href="http://epydoc.sourceforge.net"
+ >http://epydoc.sourceforge.net</a>
+ </td>
+ </tr>
+</table>
+
+<script type="text/javascript">
+ <!--
+ // Private objects are initially displayed (because if
+ // javascript is turned off then we want them to be
+ // visible); but by default, we want to hide them. So hide
+ // them unless we have a cookie that says to show them.
+ checkCookie();
+ // -->
+</script>
+</body>
+</html>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.

0 comments on commit abedd00

Please sign in to comment.