plcapi.git
17 years agosupport marshalling NULL as <nil/>
Mark Huang [Fri, 10 Nov 2006 06:31:50 +0000 (06:31 +0000)]
support marshalling NULL as <nil/>

17 years agobuild xmlrpc.so PHP extension
Mark Huang [Fri, 10 Nov 2006 06:30:44 +0000 (06:30 +0000)]
build xmlrpc.so PHP extension

17 years agoThis commit was generated by cvs2svn to compensate for changes in r467,
Mark Huang [Fri, 10 Nov 2006 02:41:39 +0000 (02:41 +0000)]
This commit was generated by cvs2svn to compensate for changes in r467,
which included commits to RCS files with non-trunk default branches.

17 years agoadd pldistro and date to release tag
Mark Huang [Thu, 9 Nov 2006 19:56:23 +0000 (19:56 +0000)]
add pldistro and date to release tag

17 years agoregenerate
Mark Huang [Thu, 9 Nov 2006 19:49:23 +0000 (19:49 +0000)]
regenerate

17 years ago- re-enable return_fields specification
Mark Huang [Thu, 9 Nov 2006 19:43:57 +0000 (19:43 +0000)]
- re-enable return_fields specification
- since the primary key of each table may not be specified in
  return_fields, Table is now a list instead of a dict, which
  mirrors the actual return type of the Get() functions anyway

17 years ago- selectall: key_field implies hashref
Mark Huang [Thu, 9 Nov 2006 19:34:04 +0000 (19:34 +0000)]
- selectall: key_field implies hashref

17 years ago- Filters can be null
Mark Huang [Thu, 9 Nov 2006 19:32:20 +0000 (19:32 +0000)]
- Filters can be null

17 years agoallow tuples and sets as sequence filters
Mark Huang [Thu, 9 Nov 2006 03:07:42 +0000 (03:07 +0000)]
allow tuples and sets as sequence filters

17 years agooops, allow nodes to be specified by node_id for now
Mark Huang [Thu, 9 Nov 2006 03:07:20 +0000 (03:07 +0000)]
oops, allow nodes to be specified by node_id for now

17 years ago- fix clean rule
Mark Huang [Wed, 8 Nov 2006 23:27:52 +0000 (23:27 +0000)]
- fix clean rule

17 years agoregenerate
Mark Huang [Wed, 8 Nov 2006 23:15:10 +0000 (23:15 +0000)]
regenerate

17 years ago- use Filter to select rows
Mark Huang [Wed, 8 Nov 2006 23:13:11 +0000 (23:13 +0000)]
- use Filter to select rows
- psycopg2 obviates the need for manual aggregation
- remove from pcu_node when deleting

17 years agoallow filters to be specified in most Get() calls
Mark Huang [Wed, 8 Nov 2006 23:11:49 +0000 (23:11 +0000)]
allow filters to be specified in most Get() calls

17 years agoimplement slice_instantiatins modification
Mark Huang [Wed, 8 Nov 2006 23:11:35 +0000 (23:11 +0000)]
implement slice_instantiatins modification

17 years agoadded Filter
Mark Huang [Wed, 8 Nov 2006 23:11:25 +0000 (23:11 +0000)]
added Filter

17 years ago- fix documentation
Mark Huang [Wed, 8 Nov 2006 23:08:47 +0000 (23:08 +0000)]
- fix documentation
- don't accept node_ids, only hostnames
- if caller is a node, just return that node's slivers

17 years ago- no need for os
Mark Huang [Wed, 8 Nov 2006 23:06:08 +0000 (23:06 +0000)]
- no need for os
- use Filter to select rows
- should be admin-only

17 years ago- don't validate creator_person_id; if creator is deleted, then slice
Mark Huang [Wed, 8 Nov 2006 23:04:44 +0000 (23:04 +0000)]
- don't validate creator_person_id; if creator is deleted, then slice
  cannot be updated
- use Filter to select rows
- psycopg2 obviates the need for manual aggregation

17 years ago- implement for real
Mark Huang [Wed, 8 Nov 2006 23:03:18 +0000 (23:03 +0000)]
- implement for real

17 years ago- use Filter to select rows
Mark Huang [Wed, 8 Nov 2006 23:03:05 +0000 (23:03 +0000)]
- use Filter to select rows

17 years ago- use Filter to select rows
Mark Huang [Wed, 8 Nov 2006 23:02:39 +0000 (23:02 +0000)]
- use Filter to select rows
- psycopg2 obviates the need for manual aggregation

17 years ago- use Table.selectall()
Mark Huang [Wed, 8 Nov 2006 23:02:10 +0000 (23:02 +0000)]
- use Table.selectall()

17 years ago- timestamp is r/o
Mark Huang [Wed, 8 Nov 2006 22:55:55 +0000 (22:55 +0000)]
- timestamp is r/o
- use Filter to select rows
- psycopg2 obviates the need for manual aggregation

17 years ago- Auth does not need to be a subclass of dict
Mark Huang [Wed, 8 Nov 2006 22:53:30 +0000 (22:53 +0000)]
- Auth does not need to be a subclass of dict
- use dict filter for looking up accounts

17 years ago- use Filter to select rows
Mark Huang [Wed, 8 Nov 2006 22:45:20 +0000 (22:45 +0000)]
- use Filter to select rows
- psycopg2 obviates the need for manual aggregation

17 years ago- use Filter to select rows
Mark Huang [Wed, 8 Nov 2006 22:44:02 +0000 (22:44 +0000)]
- use Filter to select rows

17 years ago- support psycopg2
Mark Huang [Wed, 8 Nov 2006 22:43:02 +0000 (22:43 +0000)]
- support psycopg2
- fix quote() (require it to be map()-ed onto lists of parameters, so
  that we can quote arrays)

17 years ago- use Filter to select rows
Mark Huang [Wed, 8 Nov 2006 22:34:05 +0000 (22:34 +0000)]
- use Filter to select rows

17 years ago- move python_type and xmlrpc_type to Parameter
Mark Huang [Wed, 8 Nov 2006 22:11:26 +0000 (22:11 +0000)]
- move python_type and xmlrpc_type to Parameter
- allow min and max for list parameters

17 years ago- move python_type() and xmlrpc_type() here
Mark Huang [Wed, 8 Nov 2006 22:10:00 +0000 (22:10 +0000)]
- move python_type() and xmlrpc_type() here

17 years ago- add generic Filter class for Get() requests: eases filtering on one
Mark Huang [Wed, 8 Nov 2006 22:09:41 +0000 (22:09 +0000)]
- add generic Filter class for Get() requests: eases filtering on one
  or more columns of a table, for a specific value for each column, or a
  list of possible values for each column

17 years ago- rename fill to selectall
Mark Huang [Wed, 8 Nov 2006 22:08:09 +0000 (22:08 +0000)]
- rename fill to selectall

17 years ago- remove array_to_string() casts; psycopg2 automatically converts
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

17 years agobuild and install psycopg2
Mark Huang [Wed, 8 Nov 2006 21:56:32 +0000 (21:56 +0000)]
build and install psycopg2

17 years agoUnicode array elements are always cast to regular Python strings; always cast strings...
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

17 years agoThis commit was generated by cvs2svn to compensate for changes in r431,
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.

17 years agotesting peers - mostly a convenience for cut&paste right now
Thierry Parmentelat [Wed, 8 Nov 2006 17:35:53 +0000 (17:35 +0000)]
testing peers - mostly a convenience for cut&paste right now

17 years agoregenerate
Thierry Parmentelat [Wed, 8 Nov 2006 17:34:31 +0000 (17:34 +0000)]
regenerate

17 years agofederation in progress - associate a local slice to a foreign node
Thierry Parmentelat [Wed, 8 Nov 2006 17:34:07 +0000 (17:34 +0000)]
federation in progress - associate a local slice to a foreign node

17 years ago- clarify Row doc
Mark Huang [Tue, 7 Nov 2006 19:14:39 +0000 (19:14 +0000)]
- clarify Row doc
- add fill() class method to Table

17 years agoallow admins to manually update boot_nonce
Mark Huang [Tue, 7 Nov 2006 19:13:16 +0000 (19:13 +0000)]
allow admins to manually update boot_nonce

17 years agoadd target tags
Thierry Parmentelat [Tue, 7 Nov 2006 11:06:11 +0000 (11:06 +0000)]
add target tags

17 years agouse Makefile to build and install
Mark Huang [Mon, 6 Nov 2006 22:05:44 +0000 (22:05 +0000)]
use Makefile to build and install

17 years agoadd install command for development
Mark Huang [Mon, 6 Nov 2006 22:04:58 +0000 (22:04 +0000)]
add install command for development

17 years agoregenerate
Mark Huang [Mon, 6 Nov 2006 22:04:30 +0000 (22:04 +0000)]
regenerate

17 years ago- boot manager passes ints instead of bools
Mark Huang [Mon, 6 Nov 2006 21:29:00 +0000 (21:29 +0000)]
- boot manager passes ints instead of bools

17 years ago- allow enabled to be specified as a filter
Mark Huang [Mon, 6 Nov 2006 20:48:33 +0000 (20:48 +0000)]
- allow enabled to be specified as a filter

17 years ago- fix conf_files handling
Mark Huang [Mon, 6 Nov 2006 20:48:08 +0000 (20:48 +0000)]
- fix conf_files handling

17 years ago- Boot Manager cannot marshal None
Mark Huang [Mon, 6 Nov 2006 18:25:08 +0000 (18:25 +0000)]
- Boot Manager cannot marshal None

17 years ago- #!#$! boot manager cannot handle '=' in node keys
Mark Huang [Mon, 6 Nov 2006 18:12:52 +0000 (18:12 +0000)]
- #!#$! boot manager cannot handle '=' in node keys

17 years ago- provide a global $adm PLCAPI() object
Mark Huang [Mon, 6 Nov 2006 16:17:50 +0000 (16:17 +0000)]
- provide a global $adm PLCAPI() object

17 years agoselection on foreign nodes : either on id or hostname, undoes selection on peername
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

17 years ago- raise the last fault if a mixed type check fails, to avoid confusing
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

17 years agofor federation : Peers and ForeignNodes
Thierry Parmentelat [Fri, 3 Nov 2006 20:36:05 +0000 (20:36 +0000)]
for federation : Peers and ForeignNodes

17 years agoadd messages interface
Mark Huang [Fri, 3 Nov 2006 16:11:42 +0000 (16:11 +0000)]
add messages interface

17 years agoadd messages table and interface
Mark Huang [Fri, 3 Nov 2006 16:05:31 +0000 (16:05 +0000)]
add messages table and interface

17 years ago- half-implement BootNotifyOwners
Mark Huang [Fri, 3 Nov 2006 15:01:16 +0000 (15:01 +0000)]
- half-implement BootNotifyOwners

17 years ago- add node to accepted roles
Mark Huang [Fri, 3 Nov 2006 15:00:46 +0000 (15:00 +0000)]
- add node to accepted roles

17 years ago- add node to acceptable roles
Mark Huang [Fri, 3 Nov 2006 15:00:32 +0000 (15:00 +0000)]
- add node to acceptable roles

17 years agofix insert
Mark Huang [Fri, 3 Nov 2006 14:59:16 +0000 (14:59 +0000)]
fix insert

17 years ago- fix check for if xml-rpc options have been specified
Mark Huang [Thu, 2 Nov 2006 22:12:47 +0000 (22:12 +0000)]
- fix check for if xml-rpc options have been specified

17 years ago- fix interactive check
Mark Huang [Thu, 2 Nov 2006 22:07:22 +0000 (22:07 +0000)]
- fix interactive check

17 years agounset None fields, if allowed
Mark Huang [Thu, 2 Nov 2006 18:32:55 +0000 (18:32 +0000)]
unset None fields, if allowed

17 years ago- implement for backward compatibility
Mark Huang [Thu, 2 Nov 2006 18:32:19 +0000 (18:32 +0000)]
- implement for backward compatibility

17 years ago- use "" if dns2 is not specified
Mark Huang [Thu, 2 Nov 2006 18:04:19 +0000 (18:04 +0000)]
- use "" if dns2 is not specified

17 years ago- fix interactive case
Mark Huang [Thu, 2 Nov 2006 15:31:02 +0000 (15:31 +0000)]
- fix interactive case
- add begin() and commit() multicall support

17 years ago- do not parse command line arguments if called by a script
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

17 years ago- if a node has no nodenetworks, make the first one added primary
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

17 years agoupdate docs
Mark Huang [Tue, 31 Oct 2006 23:21:21 +0000 (23:21 +0000)]
update docs

17 years ago- allow to be called by nodes
Mark Huang [Tue, 31 Oct 2006 23:08:17 +0000 (23:08 +0000)]
- allow to be called by nodes

17 years ago- fix call
Mark Huang [Tue, 31 Oct 2006 23:08:02 +0000 (23:08 +0000)]
- fix call

17 years ago- node sessions do not expire
Mark Huang [Tue, 31 Oct 2006 23:07:43 +0000 (23:07 +0000)]
- node sessions do not expire

17 years ago- try in myplc directory
Mark Huang [Tue, 31 Oct 2006 21:48:10 +0000 (21:48 +0000)]
- try in myplc directory

17 years ago- commit last
Mark Huang [Tue, 31 Oct 2006 21:47:47 +0000 (21:47 +0000)]
- commit last

17 years ago- fix logging of Boot* methods and others that can be called by nodes
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

17 years ago- whitespace nits
Mark Huang [Tue, 31 Oct 2006 21:46:14 +0000 (21:46 +0000)]
- whitespace nits
- move Method.log() SQL here

17 years ago- add node_id to view_events
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

17 years ago- just take .pdf and .html out, cvs import honors the line even if it's commented...
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...

17 years ago- set charset in Content-type header
Mark Huang [Mon, 30 Oct 2006 16:39:24 +0000 (16:39 +0000)]
- set charset in Content-type header

17 years ago- unicmp() unnecessary, fixed PostgreSQL.py interface to cast 8-bit
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

17 years agopgdb returns raw UTF-8 strings. Wrap pgdb.typecast so that it casts
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.

17 years agoxmlrpclib does not handle invalid 7-bit control characters. This
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.

17 years agodo not ignore the generated .pdf and .html files for now
Mark Huang [Mon, 30 Oct 2006 14:38:22 +0000 (14:38 +0000)]
do not ignore the generated .pdf and .html files for now

17 years agofix calling convention
Mark Huang [Sun, 29 Oct 2006 16:08:33 +0000 (16:08 +0000)]
fix calling convention

17 years agodon't build docbook for now
Mark Huang [Sun, 29 Oct 2006 04:38:41 +0000 (04:38 +0000)]
don't build docbook for now

17 years agopregenerated documentation
Mark Huang [Sun, 29 Oct 2006 04:34:23 +0000 (04:34 +0000)]
pregenerated documentation

17 years ago- fix oasis-open.org
Mark Huang [Sun, 29 Oct 2006 02:36:34 +0000 (02:36 +0000)]
- fix oasis-open.org

17 years ago- python 2.2 compatibility
Mark Huang [Sun, 29 Oct 2006 02:35:28 +0000 (02:35 +0000)]
- python 2.2 compatibility

17 years ago- install schema
Mark Huang [Fri, 27 Oct 2006 20:08:46 +0000 (20:08 +0000)]
- install schema

17 years ago- include system. methods
Mark Huang [Fri, 27 Oct 2006 19:56:55 +0000 (19:56 +0000)]
- include system. methods

17 years ago- install scripts
Mark Huang [Fri, 27 Oct 2006 19:53:25 +0000 (19:53 +0000)]
- install scripts

17 years ago- obsolete plcapilib
Mark Huang [Fri, 27 Oct 2006 19:42:41 +0000 (19:42 +0000)]
- obsolete plcapilib

17 years agoPLCAPI RPM spec file
Mark Huang [Fri, 27 Oct 2006 19:37:40 +0000 (19:37 +0000)]
PLCAPI RPM spec file

17 years agoappend PLC to sys.path
Mark Huang [Fri, 27 Oct 2006 19:37:33 +0000 (19:37 +0000)]
append PLC to sys.path

17 years ago- grr...XML catalog URI rewriting is not working and oasis-open.org is
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

17 years agoimport pgdb at the last minute to avoid requiring pgdb at doc build time
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

17 years agodistutils setup file for PLCAPI package
Mark Huang [Fri, 27 Oct 2006 18:54:21 +0000 (18:54 +0000)]
distutils setup file for PLCAPI package

17 years agorename output file to plc_api.php
Mark Huang [Fri, 27 Oct 2006 15:40:43 +0000 (15:40 +0000)]
rename output file to plc_api.php

17 years ago- whitespace nits
Mark Huang [Fri, 27 Oct 2006 15:40:20 +0000 (15:40 +0000)]
- whitespace nits