plcapi.git
18 years ago- added initscripts table
Tony Mack [Mon, 2 Apr 2007 20:45:49 +0000 (20:45 +0000)]
- added initscripts table

18 years ago- make sure 'verification_expires' is converted to an int in postgres before being...
Tony Mack [Thu, 29 Mar 2007 20:14:46 +0000 (20:14 +0000)]
- make sure 'verification_expires' is converted to an int in postgres before being returned

18 years ago- return peer_id, peer_person_id
Tony Mack [Thu, 29 Mar 2007 13:17:09 +0000 (13:17 +0000)]
- return peer_id, peer_person_id

18 years ago- No longer use view_persons. Query tables directly and aggregate in python (reduces...
Tony Mack [Wed, 28 Mar 2007 19:15:34 +0000 (19:15 +0000)]
- No longer use view_persons. Query tables directly and aggregate in python (reduces db load).

18 years agoadd Id tag
Thierry Parmentelat [Wed, 28 Mar 2007 14:00:27 +0000 (14:00 +0000)]
add Id tag

18 years agoadds Id tag
Thierry Parmentelat [Fri, 23 Mar 2007 19:06:07 +0000 (19:06 +0000)]
adds Id tag

18 years agoBug fix
Thierry Parmentelat [Fri, 23 Mar 2007 19:00:33 +0000 (19:00 +0000)]
Bug fix
a new issue occurred with a OneLab member who had registered on both platforms
this fix allows the rest of the refresh to happen
Clearly something smarter should be done in this case

18 years ago- raise PLCPermissionDenied when a session auth'd api call fails due to role restrict...
Tony Mack [Thu, 8 Mar 2007 22:22:21 +0000 (22:22 +0000)]
- raise PLCPermissionDenied when a session auth'd api call fails due to role restrictions. Now users no longer lose their web session if they make a call without the appropriate role.

18 years ago- now using event_objects to log affected objects
Tony Mack [Tue, 27 Feb 2007 19:31:56 +0000 (19:31 +0000)]
- now using event_objects to log affected objects

18 years ago- added GetEventObjects backwards compat. AnonAdmGetNodeGroups
Tony Mack [Tue, 27 Feb 2007 19:24:46 +0000 (19:24 +0000)]
- added GetEventObjects backwards compat. AnonAdmGetNodeGroups

18 years ago- now using event_objects to log affected objects
Tony Mack [Tue, 27 Feb 2007 19:19:39 +0000 (19:19 +0000)]
- now using event_objects to log affected objects

18 years ago- now using event_objects to log affected objects
Tony Mack [Tue, 27 Feb 2007 19:10:16 +0000 (19:10 +0000)]
- now using event_objects to log affected objects

18 years ago- clean up unnecessary code
Tony Mack [Tue, 27 Feb 2007 19:08:30 +0000 (19:08 +0000)]
- clean up unnecessary code

18 years ago- Initial checkin of new API implementation
Tony Mack [Tue, 27 Feb 2007 19:04:04 +0000 (19:04 +0000)]
- Initial checkin of new API implementation

18 years ago- Initial checkin of new API implementation
Tony Mack [Tue, 27 Feb 2007 18:54:32 +0000 (18:54 +0000)]
- Initial checkin of new API implementation

18 years ago- replace Event.object_type with Event.object_types (a list which corresponds to...
Tony Mack [Tue, 27 Feb 2007 18:52:14 +0000 (18:52 +0000)]
- replace Event.object_type with Event.object_types (a list which corresponds to the Event.object_ids list)

18 years ago- changed how event_objects are logged.
Tony Mack [Tue, 27 Feb 2007 18:46:23 +0000 (18:46 +0000)]
- changed how event_objects are logged.

18 years ago- move 'object_type' field from 'events' to 'event_objects' table
Tony Mack [Tue, 27 Feb 2007 18:41:24 +0000 (18:41 +0000)]
- move 'object_type' field from 'events' to 'event_objects' table
- updated 'view_events'

18 years ago- add backward compat. method for old NodeManager
Tony Mack [Mon, 26 Feb 2007 22:47:19 +0000 (22:47 +0000)]
- add backward compat. method for old NodeManager

18 years ago- send notification emails only to pi's that are enabled
Tony Mack [Fri, 23 Feb 2007 17:48:02 +0000 (17:48 +0000)]
- send notification emails only to pi's that are enabled

18 years agocosmetic changes in convenience-print functions
Thierry Parmentelat [Fri, 23 Feb 2007 16:30:44 +0000 (16:30 +0000)]
cosmetic changes in convenience-print functions

18 years agochecks for existence of keys before deleting with non-admin users
Thierry Parmentelat [Fri, 23 Feb 2007 16:30:07 +0000 (16:30 +0000)]
checks for existence of keys before deleting with non-admin users

18 years agoextended documentation to describe pattern-matching and negation features
Thierry Parmentelat [Fri, 23 Feb 2007 16:28:10 +0000 (16:28 +0000)]
extended documentation to describe pattern-matching and negation features

18 years ago- added 'ext_consortium_id' to can_update list
Tony Mack [Wed, 21 Feb 2007 21:01:57 +0000 (21:01 +0000)]
- added 'ext_consortium_id' to can_update list

18 years ago- add 'ext_consortium_id' to Site.fields
Tony Mack [Wed, 21 Feb 2007 20:00:41 +0000 (20:00 +0000)]
- add 'ext_consortium_id' to Site.fields

18 years ago- add 'ext_consortium_id' field to 'sites' table and 'view_sites' view
Tony Mack [Wed, 21 Feb 2007 20:00:12 +0000 (20:00 +0000)]
- add 'ext_consortium_id' field to 'sites' table and 'view_sites' view

18 years agoregenerate
Mark Huang [Tue, 20 Feb 2007 00:57:20 +0000 (00:57 +0000)]
regenerate

18 years ago- simplify doc output; use itemizedlists instead of tables to further
Mark Huang [Mon, 19 Feb 2007 18:02:39 +0000 (18:02 +0000)]
- simplify doc output; use itemizedlists instead of tables to further
  describe structs/array/mixed types. If an array is composed of just
  one subtype, abbreviate the list generation by one level.

18 years ago- add introduction and general discussion
Mark Huang [Mon, 19 Feb 2007 17:59:45 +0000 (17:59 +0000)]
- add introduction and general discussion

18 years ago- No longer delete account if verification expires
Tony Mack [Wed, 14 Feb 2007 18:40:18 +0000 (18:40 +0000)]
- No longer delete account if verification expires

18 years ago- fixed call() params. now includes self
Tony Mack [Mon, 12 Feb 2007 19:57:49 +0000 (19:57 +0000)]
- fixed call() params. now includes self

18 years agoShut down database connection, otherwise up to MaxClients DB
Mark Huang [Mon, 12 Feb 2007 18:42:49 +0000 (18:42 +0000)]
Shut down database connection, otherwise up to MaxClients DB
connections will remain open.

18 years ago- close cursors after use
Mark Huang [Mon, 12 Feb 2007 18:41:27 +0000 (18:41 +0000)]
- close cursors after use

18 years ago- do not reuse cursors!
Mark Huang [Sun, 11 Feb 2007 18:34:06 +0000 (18:34 +0000)]
- do not reuse cursors!
- add .close() method to shut down DB connection

18 years ago- try obtaining another cursor once if it appears to be closed
Mark Huang [Sun, 11 Feb 2007 04:53:40 +0000 (04:53 +0000)]
- try obtaining another cursor once if it appears to be closed

18 years agoadd missing import of NodeNetworks
Mark Huang [Sat, 10 Feb 2007 18:39:09 +0000 (18:39 +0000)]
add missing import of NodeNetworks

18 years agofilters out PLC_ROOT_USER as well
Thierry Parmentelat [Fri, 9 Feb 2007 21:48:43 +0000 (21:48 +0000)]
filters out PLC_ROOT_USER as well

18 years agofixes transcoding issue for nodes - local nodes were transcoded to None
Thierry Parmentelat [Fri, 9 Feb 2007 21:27:47 +0000 (21:27 +0000)]
fixes transcoding issue for nodes - local nodes were transcoded to None

18 years agofilters out system slices and maintenance account
Thierry Parmentelat [Fri, 9 Feb 2007 20:08:26 +0000 (20:08 +0000)]
filters out system slices and maintenance account

18 years agoattempt to fix key error issue
Thierry Parmentelat [Fri, 9 Feb 2007 20:01:56 +0000 (20:01 +0000)]
attempt to fix key error issue

18 years ago- changed how Slices formats 'expires' variable in the sql string. This seems to...
Tony Mack [Fri, 9 Feb 2007 19:26:56 +0000 (19:26 +0000)]
- changed how Slices formats 'expires' variable in the sql string. This seems to make psycopg happy and solves some database exceptions we were seeing when tyring to use wildcard searches in slice_filter.

18 years agolog revisited for showing plain info rather than abstruse ids
Thierry Parmentelat [Fri, 9 Feb 2007 01:04:09 +0000 (01:04 +0000)]
log revisited for showing plain info rather than abstruse ids

18 years ago- fixed bug in generate_temp_table() having to do with deleteing records with null...
Tony Mack [Thu, 8 Feb 2007 21:51:05 +0000 (21:51 +0000)]
- fixed bug in generate_temp_table() having to do with deleteing records with null primary keys

18 years agoadd -k, --insecure option to skip checking SSL cert
Mark Huang [Thu, 8 Feb 2007 21:49:41 +0000 (21:49 +0000)]
add -k, --insecure option to skip checking SSL cert

18 years agoonly use cert defined in /etc/planetlab/plc_config if url is not specified on the...
Mark Huang [Thu, 8 Feb 2007 21:49:24 +0000 (21:49 +0000)]
only use cert defined in /etc/planetlab/plc_config if url is not specified on the command line

18 years ago- check for field existence before accessing
Mark Huang [Thu, 8 Feb 2007 20:44:13 +0000 (20:44 +0000)]
- check for field existence before accessing

18 years agoset deprecated status on old functions
Mark Huang [Thu, 8 Feb 2007 20:12:15 +0000 (20:12 +0000)]
set deprecated status on old functions

18 years agochecked set of fields that may be passed
Thierry Parmentelat [Thu, 8 Feb 2007 19:34:03 +0000 (19:34 +0000)]
checked set of fields that may be passed

18 years agologs changes in the xrefs as well
Thierry Parmentelat [Thu, 8 Feb 2007 17:14:06 +0000 (17:14 +0000)]
logs changes in the xrefs as well

18 years ago- fields(): cache table field names
Mark Huang [Thu, 8 Feb 2007 15:15:21 +0000 (15:15 +0000)]
- fields(): cache table field names

18 years agofixes push target
Thierry Parmentelat [Wed, 7 Feb 2007 23:05:12 +0000 (23:05 +0000)]
fixes push target

18 years agosolves xrefs person->key slice->node slice->person linearly
Thierry Parmentelat [Wed, 7 Feb 2007 23:04:33 +0000 (23:04 +0000)]
solves xrefs person->key slice->node slice->person linearly

18 years agoregenerated pdf
Mark Huang [Wed, 7 Feb 2007 21:01:59 +0000 (21:01 +0000)]
regenerated pdf

18 years ago- back out accidental checkin
Mark Huang [Wed, 7 Feb 2007 19:41:40 +0000 (19:41 +0000)]
- back out accidental checkin

18 years agosafely copies all crt files
Thierry Parmentelat [Wed, 7 Feb 2007 19:27:21 +0000 (19:27 +0000)]
safely copies all crt files

18 years agoupdate predef slice attribute name
Thierry Parmentelat [Wed, 7 Feb 2007 19:26:32 +0000 (19:26 +0000)]
update predef slice attribute name

18 years agomust query certain fields in order to filter
Mark Huang [Wed, 7 Feb 2007 05:56:52 +0000 (05:56 +0000)]
must query certain fields in order to filter

18 years agoclose nonstandard fds before forking
Mark Huang [Wed, 7 Feb 2007 04:35:20 +0000 (04:35 +0000)]
close nonstandard fds before forking

18 years ago- import Site, Sites
Mark Huang [Wed, 7 Feb 2007 03:19:40 +0000 (03:19 +0000)]
- import Site, Sites

18 years ago- modified PasswordAuth.check to be case insensitive when checking email address
Tony Mack [Mon, 5 Feb 2007 19:20:38 +0000 (19:20 +0000)]
- modified PasswordAuth.check to be case insensitive when checking email address

18 years ago- add onelab peer as part of post upgrade fixup
Mark Huang [Mon, 5 Feb 2007 16:23:34 +0000 (16:23 +0000)]
- add onelab peer as part of post upgrade fixup

18 years agoadd our custom yum.conf PlanetLabConf entries
Mark Huang [Sun, 4 Feb 2007 04:34:26 +0000 (04:34 +0000)]
add our custom yum.conf PlanetLabConf entries

18 years ago- don't bother converting conf_files (db-config sets these up properly)
Mark Huang [Sun, 4 Feb 2007 00:15:28 +0000 (00:15 +0000)]
- don't bother converting conf_files (db-config sets these up properly)

18 years agoregenerate PDF
Mark Huang [Sat, 3 Feb 2007 23:41:07 +0000 (23:41 +0000)]
regenerate PDF

18 years agoadd backward compatible SliceGetTicket and SliceTicketGet functions for Emulab during...
Mark Huang [Sat, 3 Feb 2007 23:35:06 +0000 (23:35 +0000)]
add backward compatible SliceGetTicket and SliceTicketGet functions for Emulab during migration

18 years ago- Update plc_ticket_pubkey attribute
Mark Huang [Sat, 3 Feb 2007 23:33:43 +0000 (23:33 +0000)]
- Update plc_ticket_pubkey attribute

18 years ago- base64 decode the old initscript
Mark Huang [Sat, 3 Feb 2007 21:42:39 +0000 (21:42 +0000)]
- base64 decode the old initscript

18 years ago- remove max length from slice attribute values
Mark Huang [Sat, 3 Feb 2007 00:45:32 +0000 (00:45 +0000)]
- remove max length from slice attribute values

18 years ago- add Proper ops
Mark Huang [Sat, 3 Feb 2007 00:43:37 +0000 (00:43 +0000)]
- add Proper ops

18 years agoConvert old planetlab3 slice attributes and initscripts to new
Mark Huang [Fri, 2 Feb 2007 23:55:31 +0000 (23:55 +0000)]
Convert old planetlab3 slice attributes and initscripts to new
planetlab4 ones.

18 years ago- add AutoReqProv: no (don't automatically search for deps)
Mark Huang [Fri, 2 Feb 2007 04:46:52 +0000 (04:46 +0000)]
- add AutoReqProv: no (don't automatically search for deps)

18 years ago- remove rpm dependencies on postgresql-server and SOAPpy, so that we
Mark Huang [Fri, 2 Feb 2007 04:40:46 +0000 (04:40 +0000)]
- remove rpm dependencies on postgresql-server and SOAPpy, so that we
  can install this as a client package on nodes

18 years ago- add -s, --session option to specify session key
Mark Huang [Fri, 2 Feb 2007 04:39:03 +0000 (04:39 +0000)]
- add -s, --session option to specify session key

18 years ago- allow session key to be specified (for use on nodes)
Mark Huang [Fri, 2 Feb 2007 04:38:28 +0000 (04:38 +0000)]
- allow session key to be specified (for use on nodes)

18 years ago- fix typo
Mark Huang [Thu, 1 Feb 2007 23:05:59 +0000 (23:05 +0000)]
- fix typo

18 years agoadd GetSliceTicket
Mark Huang [Thu, 1 Feb 2007 22:32:08 +0000 (22:32 +0000)]
add GetSliceTicket

18 years ago- return signed slice tickets in the format that new NM
Mark Huang [Thu, 1 Feb 2007 22:31:52 +0000 (22:31 +0000)]
- return signed slice tickets in the format that new NM
  expects them to be in (signed/encrypted XML-RPC methodResponses)

18 years ago- changed gpg_sign() calling convention
Mark Huang [Thu, 1 Feb 2007 22:28:59 +0000 (22:28 +0000)]
- changed gpg_sign() calling convention

18 years ago- changed gpg_verify() calling convention
Mark Huang [Thu, 1 Feb 2007 22:28:48 +0000 (22:28 +0000)]
- changed gpg_verify() calling convention

18 years ago- support signing XML-RPC methodResponses as well (for GetSliceTicket())
Mark Huang [Thu, 1 Feb 2007 22:28:12 +0000 (22:28 +0000)]
- support signing XML-RPC methodResponses as well (for GetSliceTicket())
- gpg_sign() and gpg_verify() can now sign/verify string blobs
- gpg_sign() and gpg_verify() now support non-detached signatures (for
  GetSliceTicket())
- gpg_verify(): print errors if they happen

18 years ago- support updating 'enabled' field
Tony Mack [Thu, 1 Feb 2007 22:00:45 +0000 (22:00 +0000)]
- support updating 'enabled' field

18 years ago- pull bulk of functionality into get_slivers() utility function so that
Mark Huang [Thu, 1 Feb 2007 21:56:57 +0000 (21:56 +0000)]
- pull bulk of functionality into get_slivers() utility function so that
  GetSliceTicket() can use it too

18 years agoadd Boot
Mark Huang [Thu, 1 Feb 2007 05:38:01 +0000 (05:38 +0000)]
add Boot

18 years agoregenerate pdf
Mark Huang [Thu, 1 Feb 2007 05:37:41 +0000 (05:37 +0000)]
regenerate pdf

18 years agoadd NotifyPersons method to e-mail specified users
Mark Huang [Thu, 1 Feb 2007 05:36:04 +0000 (05:36 +0000)]
add NotifyPersons method to e-mail specified users

18 years agoallow node authentication
Mark Huang [Thu, 1 Feb 2007 05:03:24 +0000 (05:03 +0000)]
allow node authentication

18 years agoallow node and anonymous authentication
Mark Huang [Thu, 1 Feb 2007 05:01:04 +0000 (05:01 +0000)]
allow node and anonymous authentication

18 years ago- Auth() now implies BootAuth()
Mark Huang [Wed, 31 Jan 2007 22:41:34 +0000 (22:41 +0000)]
- Auth() now implies BootAuth()

18 years ago- fix Auth so that it parses AuthMethod and doles out the actual
Mark Huang [Wed, 31 Jan 2007 22:41:00 +0000 (22:41 +0000)]
- fix Auth so that it parses AuthMethod and doles out the actual
  authentication check to the appropriate subclass (so that users get a
  sensible error message, rather than the error message returned from
  the last Auth subclass to be checked (usually GPGAuth))
- check that the method allows nodes to call it before allowing BootAuth
- check that the method allows anonymous users to call it before
  allowing AnonymousAuth
- fix PasswordAuth documentation

18 years ago- NULL out invalid creator_person_ids
Mark Huang [Wed, 31 Jan 2007 20:57:28 +0000 (20:57 +0000)]
- NULL out invalid creator_person_ids

18 years agoset subversion
Mark Huang [Wed, 31 Jan 2007 19:55:27 +0000 (19:55 +0000)]
set subversion

18 years ago- Remove NOT NULL constraint from creator_person_id in case the
Mark Huang [Wed, 31 Jan 2007 19:55:12 +0000 (19:55 +0000)]
- Remove NOT NULL constraint from creator_person_id in case the
  creator is deleted.

18 years ago- remove NOT NULL constraint from slices.creator_person_id in case
Mark Huang [Wed, 31 Jan 2007 19:54:42 +0000 (19:54 +0000)]
- remove NOT NULL constraint from slices.creator_person_id in case
  creator is deleted
- ensure that encoding is UNICODE
- make plc_db_version.subversion part of the schema, and bump to 2

18 years ago- modify person_key and keys table definitions to ignore deleted keys
Tony Mack [Wed, 31 Jan 2007 18:58:09 +0000 (18:58 +0000)]
- modify person_key and keys table definitions to ignore deleted keys

18 years ago- revert back to old fix_row()
Tony Mack [Wed, 31 Jan 2007 18:56:45 +0000 (18:56 +0000)]
- revert back to old fix_row()

18 years ago- allow digits in login_base
Mark Huang [Wed, 31 Jan 2007 17:04:21 +0000 (17:04 +0000)]
- allow digits in login_base

18 years ago- modified fix_row(): skip records in person_keys table marked as deleted
Tony Mack [Wed, 31 Jan 2007 17:00:09 +0000 (17:00 +0000)]
- modified fix_row(): skip records in person_keys table marked as deleted

18 years agoDumps the planetlab3 database on zulu, fixing a few things on the way
Mark Huang [Wed, 31 Jan 2007 16:13:44 +0000 (16:13 +0000)]
Dumps the planetlab3 database on zulu, fixing a few things on the way

18 years ago- allow digits in login_base
Mark Huang [Wed, 31 Jan 2007 15:00:25 +0000 (15:00 +0000)]
- allow digits in login_base

18 years agofor executable migration scripts
Thierry Parmentelat [Wed, 31 Jan 2007 10:03:17 +0000 (10:03 +0000)]
for executable migration scripts