Carlos Martín
53d7982564
Bug #1322 : Do not create objects with negative ID
...
(cherry picked from commit c1d8dc72a4 )
2012-06-28 13:22:27 +02:00
Ruben S. Montero
e192b6348b
feature #1288 : Moved AuthRequest to its own file to prepare a generic synchronous request interface
2012-05-31 16:51:07 +02:00
Ruben S. Montero
7ad3ce1965
feature #1099 : Moved SQL filters to the corresponding pools
2012-05-05 03:18:25 +02:00
Carlos Martín
c178601623
Feature #1099 : Add new one.vmpool.accounting XMLRPC method
2012-05-04 17:27:57 +02:00
Ruben S. Montero
1696bb669e
bug #1237 : Move access to uses_name_pool to critical section
2012-04-20 11:04:49 +02:00
Carlos Martín
05f93acb38
Bug #1237 : Disable the cache name index for the VM pool
2012-04-20 10:23:51 +02:00
Ruben S. Montero
2ca77fb845
bug: Fix deadlock when deleting the same object multiple times
2012-03-29 19:17:30 +02:00
Carlos Martín
e522dabcc1
Feature #1112 , #962 : Fix a bunch of typos in error messages
2012-03-07 17:45:08 +01:00
Carlos Martín
f736af49e4
Merge branch 'feature-1095'
...
Conflicts:
src/pool/PoolObjectSQL.cc
2012-02-08 07:22:04 -08:00
Ruben S. Montero
0f1195e336
bug #1115 : Remove error messages from templates before inserting new ones
2012-02-07 23:36:58 +01:00
Carlos Martín
309390a0f1
Bug #1097 : free error message in PoolObjectSQL::replace_template
...
(cherry picked from commit 85149f77d2 )
2012-01-30 19:59:14 +01:00
Carlos Martín
5cf1b27e2a
Feature #1095 : Templates in one.*.allocate, one.*.update & one.vn.add/rmleases can be in XML
2012-01-30 19:31:21 +01:00
Ruben S. Montero
404b34c98a
bug #1087 : More work on the cache
...
(cherry picked from commit f05942f6e4 )
2012-01-26 11:34:20 +01:00
Carlos Martín
b081743902
Bug #1087 : Update cache name index after a chown operation
...
(cherry picked from commit def2de2a68 )
2012-01-25 15:58:34 +01:00
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