Commit Graph
86 Commits
Author SHA1 Message Date
Jaime Melis a2b7cb6bc9 Bump to version 3.2.0 2012-01-12 12:29:18 +01:00
Carlos Martín d88fc7fc9b Add ORDER BY sorting in pool dumps 2012-01-11 06:41:58 -08:00
Carlos Martín 38f494855b Feature #862: Add one.*.chmod xml-rpc methods in the core 2012-01-04 20:14:09 +01:00
Carlos Martín 0ccd269a87 Feature #862: Fix bug in PoolObjectSQL::get_permissions 2012-01-03 10:08:11 -08:00
Carlos Martín 42aa9b9dcb Feature #862: Fix tests 2012-01-03 18:24:15 +01:00
Ruben S. Montero e6628a1f75 Feature #862: Re-factor PoolObjectAuth. Moved ObjectType to PoolObjectSQL. simplified interface for AuthManger::add_auth. 2012-01-03 02:58:23 +01:00
Carlos Martín 75d5e7a1fb Add the Object type to the PoolObjectAuth class 2012-01-02 22:14:43 +01:00
Carlos Martín fef8cdbf08 Rename Permissions class to PoolObjectAuth and move it to its own .h file 2012-01-02 21:17:20 +01:00
Carlos Martín eaa257103e Refactor PoolObjectSQL::Permissions to be a separate class. Use pointers for Permissions arguments 2012-01-02 19:21:54 +01:00
Carlos Martín 417ba7d0dc Add an exception in PoolObjectSQL::select.
Now that the User is its owner (see User::from_xml), when retrieving the user
by name (PoolSQL::get) the owner's ID is unknown
2011-12-30 20:31:30 +01:00
Carlos Martín 58b831c471 New class PoolObjectSQL::Permissions to move objects ownership and permission attributes to the Auth & ACL Managers 2011-12-29 22:05:11 +01:00
Carlos Martín 39ca07268a New owner/group/other USE, MODIFY, ADMIN permissions attributes for PoolObjectSQL 2011-12-29 09:14:20 -08:00
Ruben S. Montero ee3682bd2c bug: fix pool tests 2011-11-27 01:01:03 +01:00
Ruben S. Montero c046ad0d5a bug: Solve search by name when deleting and creating resources with the same name 2011-11-26 23:49:59 +01:00
Ruben S. Montero cf4f66069e Bug: Uses wrong variable for SQL statement 2011-10-22 22:43:47 +02:00
Carlos Martín 1b20904032 Bug #820: Execute the ALLOCATE hooks only if the allocation is successful 2011-09-21 04:16:27 -07:00
Ruben S. Montero 5f873771ec bug #721: unlock objects if returned as invalid in get operations 2011-07-28 11:56:49 +02:00
Carlos Martín dcf4ce4a5e Bug #721: Add tests for cache when objects are gotten by name 2011-07-27 18:20:29 +02:00
Carlos Martín 033b96dfa9 Bug #721: Make the PoolSQL cache be aware that an invalid cached object may have the same name as a non-cached valid object. 2011-07-27 18:19:17 +02:00
Jaime Melis 9f3919b0ac Bump version to 2.9.80 2011-07-12 15:36:41 +02:00
Ruben S. Montero 1e9050a819 feature #687: Fix compilation for pool tests 2011-07-04 00:57:40 +02:00
Ruben S. Montero 72a26d476f feature #687: Made ObjectCollection::from_xml_node more efficient 2011-07-03 03:27:21 +02:00
Ruben S. Montero 2249929171 Merge branch 'feature-476'
Conflicts:
	src/vnm/VirtualNetwork.cc
2011-06-23 17:00:56 +02:00
Jaime Melis cefb00c9ea feature #476: unit testing for the phydev attribute in the core 2011-06-03 16:53:11 +02:00
Ruben S. Montero 3cf5d5e7cd feature #407: Moved implementation of ObjectCollection to cc file 2011-06-03 12:11:33 +02:00
Ruben S. Montero c7625b4836 feature #662, #607: Replace function for templates, Added VMTemplate functions 2011-06-02 00:20:42 +02:00
Ruben S. Montero 3efc2abdc1 Merge branch 'master' into feature-407
Conflicts:
	install.sh
2011-05-21 02:28:23 +02:00
Ruben S. Montero e77a5f5b13 feature #407: LastOID is private for the pools. Minor changes in Group classes 2011-05-21 02:06:29 +02:00
Carlos Martín 3fa10a2ddf Feature #407: Add 'GID' attribute to some pool objects; change *pool.info XML-RPC flag meaning; update onedb migrator; fix tests.
* VM, VMTEMPLATE, VNET & IMAGE objects have a GID attribute, and a table column. The group id is inherited from the user creating the object, except for VMs created from Templates, that inherit the Template's group.
  * The new flag meaning has been modified in src/rm sources and CLI commands for one.(vm,template,vnet,image)pool.info . It changes from
      -2 all,  -1 mine & public,  >=0 UID
    to
      -3 mine,  -2 all,  -1 mine & group
  * USER has a group, but not secondary ones. The user_pool table doesn't have a GID column, we'll deal with it later when the group-users relations are implemented.
  * onedb migrator 1.rb: deleted USERNAME, and GID added.
2011-05-16 17:00:27 +02:00
Ruben S. Montero 5483a1ba92 feature #523: New to_xml64 method for objects that generates a base64 encoded version of the object 2011-05-13 00:47:21 +02:00
Ruben S. Montero bde842ed88 Merge branch 'feature-591'
Conflicts:
	install.sh
2011-05-12 14:50:22 +02:00
Carlos Martín 691c965312 Bug #566: New control table to store the last used oid
Feature #591: Add new control table, and fix SQL syntax for MySQL
2011-05-09 16:09:56 +02:00
Ruben S. Montero 9c0fcc9702 feature #575: Fix wrong stream while printing error in HookManager. Changed name of ERROR attribute 2011-04-22 01:19:16 +02:00
Ruben S. Montero 4929de32ba feature #575: Error message is now a vector attribute 2011-04-22 01:05:40 +02:00
Ruben S. Montero db8aa7f5bf feature #575: Improved log messages for drivers. Error string also propagated to images 2011-04-15 01:51:38 +02:00
Ruben S. Montero 35de55685d Merge branch 'feature-407'
Conflicts:
	src/host/ClusterPool.cc
2011-03-29 00:01:00 +02:00
Carlos Martín cd8c19f930 Feature #407: Refator of PoolObjectSQL class 2011-03-09 12:44:39 +01:00
Carlos Martín b2f1051e07 Feature #407: Refactor of pool dumps to be performed in PoolSQL class 2011-03-09 11:25:46 +01:00
Ruben S. Montero 9288a79aa3 feature #407: Several bug fixes. Better index for names. 2011-03-05 03:24:11 +01:00
Ruben S. Montero fadbe3a4d7 feature #407: All resources now uses the base classes and index 2011-03-04 23:26:55 +01:00
Ruben S. Montero 0fcf98db16 Merge branch 'feature-407' of dsa-research.org:one into feature-407 2011-03-04 22:38:16 +01:00
Ruben S. Montero e18675bf67 feature #407: Refactor of base classes to include names and uid. Also the pool now has an index to get objects by name 2011-03-04 22:37:21 +01:00
Carlos Martín de03c2859f Feature #407: User object modified for new XML DB schema 2011-03-04 17:04:28 +01:00
Jaime Melis 4980255942 Update copyright year to 2011 2011-02-25 14:34:44 +01:00
Carlos Martín ebf66e0fda Feature #407: Host object uses new DB schema, storing the contents as XML 2011-02-24 18:12:26 +01:00
Ruben S. Montero 3433820b94 feature #457: Refactor Sconstruct files 2011-01-27 23:12:48 +01:00
Carlos Martín 43b4340177 Feature #457: Refactor of tests build process 2011-01-27 16:53:11 +01:00
Carlos Martín 01f40276ca Features #379 & #457: Code refactor to homogenize tests 2011-01-21 18:24:27 +01:00
Carlos Martín 33e01f53b1 Feature #377: MySQL port is now defined in oned.conf 2010-11-11 11:38:16 +01:00
Javi Fontan 2bf89b9143 Added xml output to cppunit tests 2010-09-17 18:38:38 +02:00