1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-08-21 05:49:26 +03:00
Commit Graph

8423 Commits

Author SHA1 Message Date
a759d95c59 feature #2465: virtualnetwork can update VLAN, VLAN_ID, BRIDGE and PHYDEV configuration attributes 2014-03-04 17:11:56 +01:00
2e8dc65fd6 Bug #2503: Add rollback in case of error 2014-03-04 17:09:04 +01:00
0a3ba8aca9 Bug #2503: Improve setting of password/auth_driver
UserChangePassword followed this strategy:
  a1. Eventually encrypt user password if the users
      auth_driver is CORE_AUTH
  a2. Set (probably encrypted) password with
      User::set_password
  a3. User::set_password tries to validate (probably
      encrypted) password instead of the raw password

UserChangeAuth did something similar:
  b1. If password is given (not empty) do a1 through a3
  b2. Set auth_driver

The change proposes the following:
 * In set_password:
    1. Validate the raw password
    2. Do encryption if needed
 * In UserChangePassword: simply call set_password
 * In UserChangeAuth: set auth_driver *before* calling
   set_password, such that set_password does the right thing
   if the auth_driver changes

Note: I needed to move the implementation of set_password
from User.h to User.cc since it seems impossible to access
UserPool::CORE_AUTH from within User.h.
2014-03-04 17:00:11 +01:00
91bb93157b Bug #2712: Fix shell characters for mysql commands in onedb. Thanks to Nicolas Belan for the patch. 2014-03-04 15:44:15 +01:00
d2b9792240 Bug #2735: Translate zone id in resource providers and acl rules 2014-03-04 15:33:22 +01:00
fce451fc72 Feature #2763: Add group/template to onedb import-slave 2014-03-04 15:33:22 +01:00
cee9188aaa Bug #2735: Fix bug in import-slave 2014-03-04 15:33:22 +01:00
03f577bbeb Bump version 2014-03-04 12:53:44 +01:00
68a7909348 Change Nebula.h version for bump version script 2014-03-04 12:49:42 +01:00
253d75ef0b Merge branch 'master' of git.opennebula.org:one 2014-03-04 12:02:47 +01:00
f8977e26c3 feature #1798: Get rid of HYPERVISOR_MEM as resources can be now limited host or cluster-wise 2014-03-04 12:02:08 +01:00
050c445cc3 Set same defaults for onezone list in code and yaml file 2014-03-04 11:46:51 +01:00
7577d6d6b9 feature #1798: Optionally reserve capacity from a host. Cluster defaults can be defined 2014-03-04 11:42:44 +01:00
8df6d07a48 Feature #2565: Fix bug in acl creation 2014-03-04 11:34:43 +01:00
e317c57a55 Feature #2743: onedb upgrade now has two set of migrator files, for shared and local tables 2014-03-03 19:11:17 +01:00
e1cde0733d Feature #2745: Make onedb fsck aware of the slave and master databases 2014-03-03 16:48:44 +01:00
8dcec74c42 Typo in oneacct help 2014-03-03 16:46:05 +01:00
417cf91089 Feature #2763: Add GROUP/TEMPLATE to migrator 2014-03-03 14:46:34 +01:00
26808f0efc Upgrade to ZURB Foundation 5 2014-03-03 12:36:10 +01:00
e8d556caed Merge branch 'bug-2723' 2014-03-01 23:16:05 +01:00
0927a5b881 Feature #2506: Change input to textarea to allow multiple lines 2014-02-28 18:35:56 +01:00
b2c8457999 feature #2453: add hostname configuration to context 2014-02-28 17:38:08 +01:00
34ac8ff03c Bug #2721: Add error check in onegroup creation 2014-02-28 17:09:38 +01:00
15af612918 Feature #2696: Improve Sunstone views assigments 2014-02-28 16:42:07 +01:00
f1e3d105af feature #2371: parse cdata with ox parser 2014-02-28 10:55:15 +01:00
1f80bb3b75 bug #2762: Prevent collitions between vlanid and vnetid
(cherry picked from commit ad1276927c8d6089f240a7bd8cf43f4ae7e57d96)
2014-02-27 13:11:59 +01:00
154279f24f bug #2762: Generate BRIDGE as "onebr<vlanid>" if vlan_id is defined
(cherry picked from commit d1ea5db93c2683727f408d920bdae9c95308ef47)
2014-02-27 12:46:25 +01:00
4cf97994a0 Feature #2696: Retrieve views from primary group template 2014-02-26 19:20:01 +01:00
7b0136523f Feature #2696: Sunstone support for Group template 2014-02-26 17:41:08 +01:00
c58cc19d01 Feature #2696: Add generic Template for Groups 2014-02-26 12:59:29 +01:00
7b972c09da bug #2744: fix bug generating fingerprint for econe keypair 2014-02-26 12:25:56 +01:00
16056fcce1 Feature #2743: Make the migrator aware of the new local_db_versioning table 2014-02-24 18:07:02 +01:00
7f409c7b7c bug #2546: fix bug with remotes rsync copy 2014-02-24 15:30:02 +01:00
be2ff24801 Merge branch 'feature-1484' 2014-02-23 19:40:04 +01:00
3ae612a3c6 feature #2743: Split logic to deal with local and shared table DB versions. 2014-02-23 19:31:08 +01:00
414fdf8fb6 bug #2560: add remote to kill wild collectd processes 2014-02-21 19:05:02 +01:00
46e6688706 Feature #2743: onedb keeps 3 different versions
1 the code version
2 the replicated (master) DB tables version
3 the slave (local) DB tables version
2014-02-21 18:08:41 +01:00
7744150944 Feature #2727: Delete acl rules that apply to a zone when that zone is deleted 2014-02-21 15:23:24 +01:00
3a0fefc1c1 Bug #2741: Do not use floats to calculate cpu quotas in fsck 2014-02-20 16:36:57 +01:00
1e096aa69c Update onedb fsck 2014-02-20 16:36:57 +01:00
4ac9c8126e Fix bug in 4.5.80 migrator 2014-02-20 16:36:57 +01:00
5ad7d82109 bug #2723: fix use of --user with --cluster in the cli
--cluster param needs to create a client to search for the cluster. This
happens while the parameters are being parsed so it fails if there is no
ONE_AUTH. To make it work the parameters user, password and endpoint
are saved as OneHelper class variables as soon as they are parsed. This way
they can be used to create the XMLRPC client before all parameters are parsed.
2014-02-20 16:24:08 +01:00
96c823c3af feature #2731: System DS can be added to a cluster through Sunstone 2014-02-20 15:54:43 +01:00
12a9b8db46 feature #2731: Datastores with ID < 100 can now be removed or added to a cluster 2014-02-20 15:48:13 +01:00
4d2a2528d6 Merge branch 'master' of git.opennebula.org:one 2014-02-20 13:29:34 +01:00
a52a66445e Fix onehost sync percentage bar bug 2014-02-20 13:00:47 +01:00
f01854f8d9 Merge branch 'master' of git.opennebula.org:one 2014-02-20 12:36:40 +01:00
d1a2b207f2 feature #2587: Added a DEFAULT_DEV_PREFIX for CD-ROM devices 2014-02-20 12:36:06 +01:00
2a8393b15d Merge branch 'bug-2645' 2014-02-19 22:58:18 +01:00
10a161eda7 Merge branch 'feature-2568' 2014-02-19 22:52:21 +01:00