Jaime Melis
11520021f7
Bump to version 4.5.0
2014-01-09 11:51:20 +01:00
JensHoffmann
f7ecf6f8fc
Take advantage of delete not acting on null values
...
The code 'delete 0' does nothing. So you can shorten code
like:
if (x != 0) {
delete x
}
to simply: delete x
2013-12-09 17:56:25 +01:00
Carlos Martín
84ecfbeb7e
Remove outdated core tests
2013-10-25 16:05:53 +02:00
Tino Vazquez
3b269146bc
feature #2092 : Added hybrid mode, not triggering PROLOG
...
Still need to figure out EPILOG
2013-10-04 19:05:55 +02:00
Ruben S. Montero
b65afc38ee
feature #1879 : Check name for all pools
2013-04-10 14:50:00 +02:00
Ruben S. Montero
15ff8b16e9
bug #1813 : Storage type for BODY columns is now MEDIUMTEXT (this is only relevant for MySQL DBs)
...
(cherry picked from commit b68a8b6c83 )
2013-03-15 15:34:30 +01:00
Ruben S. Montero
8f3fdaf943
bug #1799 : Remove NAME from template in VMTemplate and Document classes
2013-03-08 14:37:03 +01:00
Jaime Melis
7357bffe34
Update copyright notice
2013-01-24 16:18:30 +01:00
Jaime Melis
af61e33f8c
Update year to 2013
2013-01-24 16:03:57 +01:00
Carlos Martín
d4245a6699
Feature #1681 : Add new oned.conf att. for a default umask
2013-01-18 18:34:51 +01:00
Ruben S. Montero
442e8d60c1
feature #1326 : Set TEMPLATE_NAME, TEMPLATE_ID only for instantiated VMs.
2012-12-24 01:41:20 +01:00
Ruben S. Montero
fdb5f09e89
Revert "Feature #1326 : VMs instantiated from a template are named template_name-<vmid>"
...
This reverts commit 8e80bfcf66 .
2012-12-23 23:31:00 +01:00
Carlos Martín
8e80bfcf66
Feature #1326 : VMs instantiated from a template are named template_name-<vmid>
2012-12-21 13:50:10 +01:00
Carlos Martín
e35567ee1d
Start to clean and update core unit tests.
2012-07-13 16:40:56 +02:00
Carlos Martín
5ea3d682ee
Feature #1112 : Fix tests compilation
2012-03-05 17:53:17 +01:00
Carlos Martín
03e9b52c55
Bug #1087 : Core tests
...
(cherry picked from commit f10e852fe4 )
2012-01-26 19:02:25 +01:00
Carlos Martín
01e0248929
Bug #1086 : Core tests for cache bug
...
(cherry picked from commit 7a5b42b184 )
2012-01-26 17:02:06 +01:00
Carlos Martín
cfb7ed5691
Update core tests for 3.2
2012-01-19 09:42:12 -08:00
Jaime Melis
a2b7cb6bc9
Bump to version 3.2.0
2012-01-12 12:29:18 +01:00
Ruben S. Montero
1830a284e1
feature #862 : Comment out Public related tests
2012-01-09 23:36:04 +01:00
Carlos Martín
3582843023
Feature #862 : RequestManagerPoolInfoFilter filters results by USE right
2012-01-04 22:12:39 +01:00
Carlos Martín
3f51dd48de
Feature #862 : Remove public attribute from core
2012-01-04 06:31:20 -08: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
a473b28052
Fix bug introduced in to_xml methods
2011-12-30 21:00:48 +01:00
Carlos Martín
f602cf62c9
Merge remote branch 'origin/master' into feature-862
...
Conflicts:
include/RequestManagerVirtualMachine.h
src/vnm/VirtualNetwork.cc
2011-12-30 17:11:55 +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
Carlos Martín
f0d8ac78d6
Bug #759 : Check if XML is valid before it is stored in the DB.
2011-12-19 17:09:31 +01:00
Carlos Martín
771a4ac8d9
Bug #848 : Set name columns to 128 chars. The name length is checked for new objects
2011-10-10 17:48:06 +02:00
Carlos Martín
4173fbd494
Feature #687 : Fix template tests for UNAME/GNAME, this continues commit:655d9f4a
2011-07-04 16:03:23 +02:00
Ruben S. Montero
1e9050a819
feature #687 : Fix compilation for pool tests
2011-07-04 00:57:40 +02:00
Ruben S. Montero
95cc8c31d5
feature #687 : Potentiall access to freed memory in Object_XML::get_nodes. Nodes must be disposed when not needed by the calling function
2011-07-03 01:57:39 +02:00
Ruben S. Montero
255c8ff886
feature #687 : user and group name are now stored in XML descriptions
2011-06-30 12:09:25 +02:00
Ruben S. Montero
8e33e4cded
feature #687 : Resources now stores the name of the owner and the group
2011-06-30 11:31:00 +02:00
Carlos Martín
99088df9b5
Feature #687 : Move acl classes to their own source dir
2011-06-27 19:11:34 +02:00
Ruben S. Montero
3a9a535518
feature #662 : Fixes vm template tests, as they now include the TEMPLATE_ID attribute
2011-06-09 11:06:51 +02:00
Carlos Martín
e28ad2a69d
Feature #662 , #407 : Delete operator<< from PoolObjectSQL classes. Remove Cluster objects.
2011-06-03 15:33:48 +02:00
Carlos Martín
fa46633339
Feature #662 : New update method for Images and Templates added to OCA and CLI (work in progress).
...
New template instantiate method in OCA and CLI.
Fix small bugs in RM.
2011-06-02 19:17:22 +02:00
Ruben S. Montero
d25384092b
feature #662 : VMTemplate now has TEMPLATE_ID to ease VMTemplate.instantiate method
2011-06-01 12:36:31 +02:00
Ruben S. Montero
b050a5da9f
feature #622 : Public is now an attribute of PoolObjectSQL. Redesign of authorization function
2011-05-26 12:20:56 +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
Carlos Martín
09c93c7528
Feature #407 : Remove usernames from owned resources, only user-id is stored now.
2011-05-12 17:10:35 +02:00
Carlos Martín
b7febc83da
Bug #408 : Better MySQL bootstrap, and fix vm_template tests
2011-05-06 18:53:31 +02:00
Carlos Martín
dce87a9fa8
Feature #487 : Change template pool XML root elem. to VMTEMPLATE_POOL, for consistency with the rest of the pools; & Fix bug in onetemplate create -v
2011-04-13 11:49:03 +02:00
Ruben S. Montero
e678b190ee
feature #487 : Better get_template_contents (now clone_template)
2011-04-10 23:55:49 +02:00
Carlos Martín
995159994d
Features #487 : VMTemplate code refactor, now it uses base class PoolObjectSQL's obj_template
2011-04-08 16:34:40 +02:00
Carlos Martín
a088af7d3e
Feature #487 , #488 : Templates now can't repeat name
2011-04-07 15:37:03 +02:00
Carlos Martín
d68fa4bba8
Feature #487 : Core Unit Testing for VMTemplatePool
2011-04-07 12:32:35 +02:00
Carlos Martín
b27c9372f5
Feature #487 : Small auth and DB bugfixes, and support to allocate a VM from a template using its TEMPLATE_ID
2011-04-01 17:17:26 +02:00
Carlos Martín
5b9fed52f7
Feature #487 : First version of TemplatePool added to the core: DB, Pool and RM methods.
2011-03-30 19:03:49 +02:00