Ruben S. Montero
b0cee246a7
feature #2796 : Support for not-expiring tokens
2014-09-24 16:44:50 +02:00
Ruben S. Montero
0f44677325
feature #2796 : Client side utilities to manage tokens: Ruby OCA, oneuser CLI. Also the token management across drivers (SSH & X509 included) is now homogenous
2014-09-06 22:22:40 +02:00
Ruben S. Montero
91e15fb377
feature #2796 : Add login token to User object, the LoginToken is persistent
2014-09-03 17:15:13 +02:00
Ruben S. Montero
75889814f1
feature #2796 : Add LoginToken class to abstract token management both for sessions and tokens
2014-09-03 14:10:45 +02:00
Ruben S. Montero
b752dd6dfb
feature #3159 : Added comments and replace rollback code
2014-09-03 11:57:20 +02:00
Carlos Martín
9c0f2bd86a
Feature #3159 : Core gets group IDs from external auth drivers
2014-09-01 17:26:13 +02:00
Carlos Martín
1b668757fe
Feature #2964 : unlimited quota is now -2, in core
2014-07-03 12:16:29 +02:00
Ruben S. Montero
88987631d9
feature #2858 : Add umask to Request attributes
2014-05-27 12:58:46 +02:00
Ruben S. Montero
3b4e1a89e4
bug #2794 : Init oneadmin_name in UserPool()
2014-03-23 21:09:38 +01:00
Carlos Martín
2e8dc65fd6
Bug #2503 : Add rollback in case of error
2014-03-04 17:09:04 +01:00
JensHoffmann
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
Javi Fontan
03f577bbeb
Bump version
2014-03-04 12:53:44 +01:00
Ruben S. Montero
953f11d699
feature #2693 : Do not register hooks in federation slaves
2014-02-12 23:03:54 +01:00
Carlos Martín
9b7a1120d5
Feature #2693 : A federation slave can now bootstrap the remaining local tables
2014-02-05 19:30:35 +01:00
Carlos Martín
c36bc33fd4
Feature #2665 : More DB write checks for federation slaves
2014-01-29 13:04:07 +01:00
Carlos Martín
025092f157
Feature #2672 : Disable cache for federation slave nodes
2014-01-24 18:27:36 +01:00
Ruben S. Montero
03914330a4
Fix merge of master branch
2014-01-23 17:07:52 +01:00
Ruben S. Montero
7686ca93e0
Merge branch 'master' into vdc-federation
...
Conflicts:
include/GroupPool.h
include/UserPool.h
2014-01-23 16:36:22 +01:00
Carlos Martín
0a33f08de1
Feature #2632 : Make two separate methods to update user/group, or its quotas
2014-01-22 18:54:48 +01:00
Ruben S. Montero
cda9fa28e7
feature #2632 : Moved DB implementation to its own class
2014-01-21 23:21:18 +01:00
Carlos Martín
d5d904b114
Feature #2632 : Extract user quotas to another table
2014-01-15 16:27:50 +01:00
Jaime Melis
11520021f7
Bump to version 4.5.0
2014-01-09 11:51:20 +01:00
Ruben S. Montero
b99d0c294a
Merge branch 'feature-1678'
...
Conflicts:
src/im_mad/remotes/common.d/collectd-client_control.sh
src/onedb/4.2.0_to_4.3.80.rb
2013-10-25 21:23:27 +02:00
Carlos Martín
84ecfbeb7e
Remove outdated core tests
2013-10-25 16:05:53 +02:00
Carlos Martín
5f8af5cf39
Feature #1678 : Make all disk related variables long long
2013-10-17 17:38:45 +02:00
Carlos Martín
b7234a4c37
Feature #1612 : Add volatile disk quotas for attach/detach operations
2013-10-15 13:45:16 +02:00
Carlos Martín
4020d536cb
Feature #1612 : Add VOLATILE_SIZE to VM quotas
2013-10-09 12:13:23 +02:00
Ruben S. Montero
983804df18
feature #1742 : Redo parsers, clear set of group ids in case of failed authN
2013-08-30 16:50:04 +02:00
Carlos Martín
7bfb930292
Feature #1742 : Add a set of group IDs to Users
2013-08-23 12:39:14 +02:00
Ruben S. Montero
9d995f881a
bug #2200 : Number of VMS can be set in quota del operation. Prevents updating VMS_USED if set to 0 in
...
update
(cherry picked from commit df4d7db2ad )
2013-07-22 23:36:24 +02:00
Ruben S. Montero
00e38376a9
Revert "Bug #2200 : VM Resize uses the same quota mechanism as all the other methods"
...
This reverts commit 886346606d .
(cherry picked from commit 9126e8a8f6 )
2013-07-22 23:36:24 +02:00
Carlos Martín
7658e9cd94
Bug #2200 : VM Resize uses the same quota mechanism as all the other methods
...
(cherry picked from commit 886346606d )
2013-07-22 15:50:34 +02:00
Carlos Martín
9c60a90fca
Feature #2027 : Create oneflow_auth on bootstrap
2013-07-10 19:10:31 +02:00
Carlos Martín
3a16a58c0c
Feature #2054 : Add TOKEN_PASSWORD to all users
2013-06-27 15:49:23 +02:00
Carlos Martín
2d7674138b
Feature #2054 : Create onegate_auth file on bootstrap
2013-06-27 13:02:17 +02:00
Ruben S. Montero
5dc50875d4
feature #1879 : New function to check object names.
2013-04-10 12:56:06 +02:00
Ruben S. Montero
b68a8b6c83
bug #1813 : Storage type for BODY columns is now MEDIUMTEXT (this is only relevant for MySQL DBs)
2013-03-15 15:23:30 +01:00
Carlos Martín
9179e73a83
Feature #1611 : Insert default quotas element in the USER & USER_POOL xmls
...
This saves the extra xmlrpc call each time the pool/user is shown
2013-02-28 14:53:34 +01:00
Ruben S. Montero
dcfa0a1773
feature #1772:Resize VM capacity (cpu, memory and vcpu) offline
2013-02-23 19:49:06 +01:00
Ruben S. Montero
b84a0350a7
Merge branch 'feature-1739'
...
Conflicts:
src/common/NebulaUtil.cc
src/common/SConstruct
2013-02-17 00:07:07 +01:00
Ruben S. Montero
b8b3f6434d
feature #1739 : Moved SSL functions to one_util namespace. oned decodes messages from information drivers
2013-02-09 16:38:54 +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
Ruben S. Montero
c5044cd51b
feature #1681 : Conversions from string to mask (binary) are made in User::get_umask
2013-01-22 15:37:07 +01:00
Carlos Martín
780d7742f2
Feature #1681 : Read User template's UMASK attribute to create new objects
2013-01-21 14:38:07 +01:00
Ruben S. Montero
8c9498132e
bug #1723 : Install user hooks after bootstrapping the database.
2013-01-11 11:36:40 +01:00
Ruben S. Montero
2178d9defe
bug #1659 : Better check for integerness
2012-12-15 00:58:47 +01:00
Carlos Martín
085fa15535
Bug #1659 : Write quota numbers with the fixed format flag
2012-12-10 17:19:02 +01:00
Ruben S. Montero
d6091c439e
feature #1611 : Abstracts system properties and system DB management
2012-11-30 02:59:26 +01:00
Ruben S. Montero
e4a601dde8
feature #1611 : Default attribute for quotas can only be set at initialization
2012-11-30 00:16:52 +01:00