Mark Huang [Wed, 8 Nov 2006 22:07:29 +0000 (22:07 +0000)]
- remove array_to_string() casts; psycopg2 automatically converts
PostgreSQL array types to Python lists
Mark Huang [Wed, 8 Nov 2006 21:56:32 +0000 (21:56 +0000)]
build and install psycopg2
Mark Huang [Wed, 8 Nov 2006 21:53:50 +0000 (21:53 +0000)]
Unicode array elements are always cast to regular Python strings; always cast strings to unicode objects for now
Mark Huang [Wed, 8 Nov 2006 21:37:49 +0000 (21:37 +0000)]
This commit was generated by cvs2svn to compensate for changes in r431,
which included commits to RCS files with non-trunk default branches.
Thierry Parmentelat [Wed, 8 Nov 2006 17:35:53 +0000 (17:35 +0000)]
testing peers - mostly a convenience for cut&paste right now
Thierry Parmentelat [Wed, 8 Nov 2006 17:34:31 +0000 (17:34 +0000)]
regenerate
Thierry Parmentelat [Wed, 8 Nov 2006 17:34:07 +0000 (17:34 +0000)]
federation in progress - associate a local slice to a foreign node
Mark Huang [Tue, 7 Nov 2006 19:14:39 +0000 (19:14 +0000)]
- clarify Row doc
- add fill() class method to Table
Mark Huang [Tue, 7 Nov 2006 19:13:16 +0000 (19:13 +0000)]
allow admins to manually update boot_nonce
Thierry Parmentelat [Tue, 7 Nov 2006 11:06:11 +0000 (11:06 +0000)]
add target tags
Mark Huang [Mon, 6 Nov 2006 22:05:44 +0000 (22:05 +0000)]
use Makefile to build and install
Mark Huang [Mon, 6 Nov 2006 22:04:58 +0000 (22:04 +0000)]
add install command for development
Mark Huang [Mon, 6 Nov 2006 22:04:30 +0000 (22:04 +0000)]
regenerate
Mark Huang [Mon, 6 Nov 2006 21:29:00 +0000 (21:29 +0000)]
- boot manager passes ints instead of bools
Mark Huang [Mon, 6 Nov 2006 20:48:33 +0000 (20:48 +0000)]
- allow enabled to be specified as a filter
Mark Huang [Mon, 6 Nov 2006 20:48:08 +0000 (20:48 +0000)]
- fix conf_files handling
Mark Huang [Mon, 6 Nov 2006 18:25:08 +0000 (18:25 +0000)]
- Boot Manager cannot marshal None
Mark Huang [Mon, 6 Nov 2006 18:12:52 +0000 (18:12 +0000)]
- #!#$! boot manager cannot handle '=' in node keys
Mark Huang [Mon, 6 Nov 2006 16:17:50 +0000 (16:17 +0000)]
- provide a global $adm PLCAPI() object
Thierry Parmentelat [Sun, 5 Nov 2006 15:38:05 +0000 (15:38 +0000)]
selection on foreign nodes : either on id or hostname, undoes selection on peername
Mark Huang [Fri, 3 Nov 2006 23:44:51 +0000 (23:44 +0000)]
- raise the last fault if a mixed type check fails, to avoid confusing
error messages
Thierry Parmentelat [Fri, 3 Nov 2006 20:36:05 +0000 (20:36 +0000)]
for federation : Peers and ForeignNodes
Mark Huang [Fri, 3 Nov 2006 16:11:42 +0000 (16:11 +0000)]
add messages interface
Mark Huang [Fri, 3 Nov 2006 16:05:31 +0000 (16:05 +0000)]
add messages table and interface
Mark Huang [Fri, 3 Nov 2006 15:01:16 +0000 (15:01 +0000)]
- half-implement BootNotifyOwners
Mark Huang [Fri, 3 Nov 2006 15:00:46 +0000 (15:00 +0000)]
- add node to accepted roles
Mark Huang [Fri, 3 Nov 2006 15:00:32 +0000 (15:00 +0000)]
- add node to acceptable roles
Mark Huang [Fri, 3 Nov 2006 14:59:16 +0000 (14:59 +0000)]
fix insert
Mark Huang [Thu, 2 Nov 2006 22:12:47 +0000 (22:12 +0000)]
- fix check for if xml-rpc options have been specified
Mark Huang [Thu, 2 Nov 2006 22:07:22 +0000 (22:07 +0000)]
- fix interactive check
Mark Huang [Thu, 2 Nov 2006 18:32:55 +0000 (18:32 +0000)]
unset None fields, if allowed
Mark Huang [Thu, 2 Nov 2006 18:32:19 +0000 (18:32 +0000)]
- implement for backward compatibility
Mark Huang [Thu, 2 Nov 2006 18:04:19 +0000 (18:04 +0000)]
- use "" if dns2 is not specified
Mark Huang [Thu, 2 Nov 2006 15:31:02 +0000 (15:31 +0000)]
- fix interactive case
- add begin() and commit() multicall support
Mark Huang [Thu, 2 Nov 2006 15:05:07 +0000 (15:05 +0000)]
- do not parse command line arguments if called by a script
- get method list from cwd API implementation, not from system.listMethods
Tony Mack [Thu, 2 Nov 2006 14:57:25 +0000 (14:57 +0000)]
- if a node has no nodenetworks, make the first one added primary
Mark Huang [Tue, 31 Oct 2006 23:21:21 +0000 (23:21 +0000)]
update docs
Mark Huang [Tue, 31 Oct 2006 23:08:17 +0000 (23:08 +0000)]
- allow to be called by nodes
Mark Huang [Tue, 31 Oct 2006 23:08:02 +0000 (23:08 +0000)]
- fix call
Mark Huang [Tue, 31 Oct 2006 23:07:43 +0000 (23:07 +0000)]
- node sessions do not expire
Mark Huang [Tue, 31 Oct 2006 21:48:10 +0000 (21:48 +0000)]
- try in myplc directory
Mark Huang [Tue, 31 Oct 2006 21:47:47 +0000 (21:47 +0000)]
- commit last
Mark Huang [Tue, 31 Oct 2006 21:47:21 +0000 (21:47 +0000)]
- fix logging of Boot* methods and others that can be called by nodes
- redact passwords and sessions
- use Event class
Mark Huang [Tue, 31 Oct 2006 21:46:14 +0000 (21:46 +0000)]
- whitespace nits
- move Method.log() SQL here
Mark Huang [Tue, 31 Oct 2006 21:45:45 +0000 (21:45 +0000)]
- add node_id to view_events
- cast events.time to unix timestamp
Mark Huang [Mon, 30 Oct 2006 19:19:41 +0000 (19:19 +0000)]
- just take .pdf and .html out, cvs import honors the line even if it's commented...
Mark Huang [Mon, 30 Oct 2006 16:39:24 +0000 (16:39 +0000)]
- set charset in Content-type header
Mark Huang [Mon, 30 Oct 2006 16:38:33 +0000 (16:38 +0000)]
- unicmp() unnecessary, fixed PostgreSQL.py interface to cast 8-bit
looking strings to unicode objects
Mark Huang [Mon, 30 Oct 2006 16:37:49 +0000 (16:37 +0000)]
pgdb returns raw UTF-8 strings. Wrap pgdb.typecast so that it casts
strings that appear to contain non-ASCII characters to Python unicode
objects.
Mark Huang [Mon, 30 Oct 2006 16:37:11 +0000 (16:37 +0000)]
xmlrpclib does not handle invalid 7-bit control characters. This
function augments xmlrpclib.escape, which by default only replaces '&',
'<', and '>' with entities.
Mark Huang [Mon, 30 Oct 2006 14:38:22 +0000 (14:38 +0000)]
do not ignore the generated .pdf and .html files for now
Mark Huang [Sun, 29 Oct 2006 16:08:33 +0000 (16:08 +0000)]
fix calling convention
Mark Huang [Sun, 29 Oct 2006 04:38:41 +0000 (04:38 +0000)]
don't build docbook for now
Mark Huang [Sun, 29 Oct 2006 04:34:23 +0000 (04:34 +0000)]
pregenerated documentation
Mark Huang [Sun, 29 Oct 2006 02:36:34 +0000 (02:36 +0000)]
- fix oasis-open.org
Mark Huang [Sun, 29 Oct 2006 02:35:28 +0000 (02:35 +0000)]
- python 2.2 compatibility
Mark Huang [Fri, 27 Oct 2006 20:08:46 +0000 (20:08 +0000)]
- install schema
Mark Huang [Fri, 27 Oct 2006 19:56:55 +0000 (19:56 +0000)]
- include system. methods
Mark Huang [Fri, 27 Oct 2006 19:53:25 +0000 (19:53 +0000)]
- install scripts
Mark Huang [Fri, 27 Oct 2006 19:42:41 +0000 (19:42 +0000)]
- obsolete plcapilib
Mark Huang [Fri, 27 Oct 2006 19:37:40 +0000 (19:37 +0000)]
PLCAPI RPM spec file
Mark Huang [Fri, 27 Oct 2006 19:37:33 +0000 (19:37 +0000)]
append PLC to sys.path
Mark Huang [Fri, 27 Oct 2006 19:33:16 +0000 (19:33 +0000)]
- grr...XML catalog URI rewriting is not working and oasis-open.org is
down
Mark Huang [Fri, 27 Oct 2006 18:57:32 +0000 (18:57 +0000)]
import pgdb at the last minute to avoid requiring pgdb at doc build time
Mark Huang [Fri, 27 Oct 2006 18:54:21 +0000 (18:54 +0000)]
distutils setup file for PLCAPI package
Mark Huang [Fri, 27 Oct 2006 15:40:43 +0000 (15:40 +0000)]
rename output file to plc_api.php
Mark Huang [Fri, 27 Oct 2006 15:40:20 +0000 (15:40 +0000)]
- whitespace nits
Mark Huang [Fri, 27 Oct 2006 15:38:09 +0000 (15:38 +0000)]
(most) all functions now take SessionAuth in addition to PasswordAuth
Mark Huang [Fri, 27 Oct 2006 15:37:26 +0000 (15:37 +0000)]
- BootGetNodeDetails implementation
Mark Huang [Fri, 27 Oct 2006 15:37:05 +0000 (15:37 +0000)]
session handling functions
Mark Huang [Fri, 27 Oct 2006 15:34:43 +0000 (15:34 +0000)]
- also accept SessionAuth
Mark Huang [Fri, 27 Oct 2006 15:33:17 +0000 (15:33 +0000)]
- add Session support
Mark Huang [Fri, 27 Oct 2006 15:33:05 +0000 (15:33 +0000)]
- interface to sessions table
Mark Huang [Fri, 27 Oct 2006 15:32:56 +0000 (15:32 +0000)]
- clean up person_session on delete()
Mark Huang [Fri, 27 Oct 2006 15:32:43 +0000 (15:32 +0000)]
- get session value from node_session join table
Mark Huang [Fri, 27 Oct 2006 15:32:29 +0000 (15:32 +0000)]
- add SessionAuth support
- make Auth() equivalent to Mixed(SessionAuth(), PasswordAuth())
Mark Huang [Fri, 27 Oct 2006 15:31:28 +0000 (15:31 +0000)]
- add session support
- whitespace nits
Mark Huang [Fri, 27 Oct 2006 15:26:44 +0000 (15:26 +0000)]
- append parent directory to sys.path
- automagically add SessionAuth, too
Mark Huang [Thu, 26 Oct 2006 14:51:12 +0000 (14:51 +0000)]
- id_list is optional
Mark Huang [Wed, 25 Oct 2006 21:05:40 +0000 (21:05 +0000)]
also make php bindings
Mark Huang [Wed, 25 Oct 2006 21:05:05 +0000 (21:05 +0000)]
- set Content-type header
Mark Huang [Wed, 25 Oct 2006 20:33:07 +0000 (20:33 +0000)]
- send HTTP headers
Mark Huang [Wed, 25 Oct 2006 20:32:44 +0000 (20:32 +0000)]
generate PHP API
Mark Huang [Wed, 25 Oct 2006 19:35:36 +0000 (19:35 +0000)]
- add Returns: section for each method
Mark Huang [Wed, 25 Oct 2006 19:34:46 +0000 (19:34 +0000)]
- fix return value documentation
Mark Huang [Wed, 25 Oct 2006 19:34:12 +0000 (19:34 +0000)]
- fix AddPCU() call
Mark Huang [Wed, 25 Oct 2006 19:33:52 +0000 (19:33 +0000)]
- check lists correctly
Mark Huang [Wed, 25 Oct 2006 16:58:19 +0000 (16:58 +0000)]
- only allow addition of nodes at the same site
Mark Huang [Wed, 25 Oct 2006 16:58:00 +0000 (16:58 +0000)]
- fix can_update and return value
Mark Huang [Wed, 25 Oct 2006 16:57:46 +0000 (16:57 +0000)]
- add ConfFiles, Keys, and PCUs tests
Mark Huang [Wed, 25 Oct 2006 14:32:31 +0000 (14:32 +0000)]
- fix calling convention for Add() and Update()
- delete addresses and address types
Mark Huang [Wed, 25 Oct 2006 14:32:01 +0000 (14:32 +0000)]
- remove default attribute from Parameter
- handle unknown optional attribute
Mark Huang [Wed, 25 Oct 2006 14:31:13 +0000 (14:31 +0000)]
- change calling convention for Add slightly; if the Add function for
an entity implicitly implies a join with another entity, require a
reference to that entity in the function arguments itself,
e.g. AddNode(auth, site, node)
Mark Huang [Wed, 25 Oct 2006 14:29:13 +0000 (14:29 +0000)]
- remove optional sub-parameter; we use these fields in both Add() and
Update() methods, saying that a field is mandatory in Update() is both
confusing and wrong
Mark Huang [Wed, 25 Oct 2006 14:27:12 +0000 (14:27 +0000)]
- remove "default" attribute
- allow "optional" to be None (and set it to None by default), which
means "unknown whether this sub-parameter is optional or not"
Mark Huang [Wed, 25 Oct 2006 14:26:08 +0000 (14:26 +0000)]
- type_check(): don't type check Mixed types twice
- move authentication to type_check(), so that we can support Mixed Auth types
Mark Huang [Wed, 25 Oct 2006 14:22:14 +0000 (14:22 +0000)]
- add BootAuth (backward compatible Boot Manager authentication scheme)
Mark Huang [Wed, 25 Oct 2006 14:13:14 +0000 (14:13 +0000)]
do not support ipv6 for now
Mark Huang [Tue, 24 Oct 2006 20:02:22 +0000 (20:02 +0000)]
- make Add() calling convention consistent among all functions that
deal with objects, e.g. Add(auth, object_fields)
- some functions such as AddSiteAddress and AddPersonKey may still
take an additional argument, e.g. AddSiteAddress(auth, site, address)
- to support this convention, clear optional bit on mandatory
object_fields, and set it for Update() functions
Mark Huang [Tue, 24 Oct 2006 20:02:09 +0000 (20:02 +0000)]
- fix typo