Commit Graph
170 Commits
Author SHA1 Message Date
Valentyn Bohdan bfbc4c16c6 B OpenNebula/one#6892: Add check for password upper limit (#3460)
Signed-off-by: Valentyn Bohdan <vbohdan@opennebula.io>
2025-03-18 17:28:02 +01:00
Tino Vázquez a64f071808 M #-: Bump year 2025 2025-02-28 11:56:18 +01:00
Valentyn Bohdan c1725ddfbb M #-: Replace raw pointers with references/smart pointers. (#3285)
* M #-: Replace raw pointers with references/smart pointers.
- Change PoolSQL::allocate method's signature to accept reference instead of pointer and fix all method calls.
- Remove some of the error-handling goto, to be able initialize some variables during declaration.

Signed-off-by: Valentyn Bohdan <vbohdan@opennebula.io>
2024-11-21 13:19:12 +01:00
Tino Vázquez 05d147c524 M #-: Bump version 6.10.0
Also bump copyright year to 2024
2024-07-29 14:27:11 +02:00
Pavel Czerný 2fe396ae15 L #-: Add Astyle linting
* Add AStyle to smoke tests
* Format C++ files using AStyle
2024-06-03 11:40:24 +02:00
Pavel Czerný 8e7ff2ed36 F #6103: Last set of CppCheck issues (#2481)
(cherry picked from commit 4a9662a551)
(cherry picked from commit d7b7303f8f)
2023-02-07 08:56:52 +01:00
Pavel Czerný 6ee3a5ef5b F #6103: More CppCheck issues solved (#2477)
(cherry picked from commit 3fd059c543)
2023-02-02 12:54:45 +01:00
Tino Vázquez 3376afdaf0 M #-: Bump year 2023 2023-01-09 12:23:19 +01:00
Jan OrelandPavel Czerný a7fd43d9f5 B #5676: Create LDAP user without password (#2399)
* Create LDAP user without password
* Update oneuser CLI tool
* Update opennebula_configuration.xsd

Co-authored-by: Pavel Czerný <pczerny@opennebula.io>
2022-12-07 10:03:15 +01:00
Jan Orel 479bfd0807 B #5946: Fix parsing * in the group list (#2261)
Regression introduced by68ce7dc0 

With the addition to skipws, peek() will read the next whitespace in the buffer. The logic has been changed to use the extraction operator so ws are consumed. The peek - get is now changed by >> - unget calls
2022-08-22 11:10:56 +02:00
Ruben S. Montero 6591620fcc commit 84fb0bb65a24afe860c6d32d111a38438a932ff6
Author: vickmp <vpalma@opennebula.io>
Date:   Thu Jul 7 17:31:56 2022 +0200

    B #1276: Remove ec2/occi auth references
2022-08-02 11:39:12 +02:00
Ruben S. MonteroandChristian González f006341931 F #5838, #5886: Required changes for ubuntu 22.04
* Support for system ds disks of type BLOCK, required by newer versions
  of libvirt/qemu
* Improved parsing of driver messages
* Explicit set of backing file type for newer versions of qemu-img
* Conform to new openssl command output
* Add lock file for ubuntu2204 ruby gems and new dependencies

co-authored-by: Christian González <cgonzalez@opennebula.io>
2022-06-22 13:23:05 +02:00
Tino Vazquez f7d53e75ff M #-: Bump version 6.3.85 2022-04-07 19:49:58 +02:00
Pavel Czerný 507f2f0c7f F #5431: User encrypted attributes (#1574)
(cherry picked from commit 9aa26b295d)
2021-11-24 10:59:06 +01:00
Vlastimil Holer 096754b63f M #-: Bump year to 2021 (#778) 2021-02-09 16:07:56 +01:00
Jan Orel 960380acf8 B #5210: Make LDAP group_admin configurable (code) 2020-12-18 09:59:18 +01:00
Pavel Czerný 0153314e3f F #649: Disable users (#545) 2020-12-11 16:10:02 +01:00
Pavel Czerný 123e08cfd6 F #4936: Replace long iterator definition by auto (#215) 2020-09-17 11:10:55 +02:00
Ruben S. MonteroandPavel Czerný 5ce49ed404 F #4936: Refactor pools to use unique_ptr
co-authored-by: Pavel Czerný <pczerny@opennebula.systems>
2020-09-10 09:08:29 +02:00
Ruben S. Montero c95d03cb9f B #4992: Fix user IDs on group updates
(cherry picked from commit 10c9e17b66)
2020-07-29 12:10:17 +02:00
Ruben S. MonteroandPavel Czerny 325db91bcb F #4936:Refactor ActionManager and Timers
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2020-07-24 16:00:59 +02:00
Pavel Czerný daaf132a43 F #4936: Remove 'using namespace std' from headers (#60) 2020-07-02 22:42:10 +02:00
Ruben S. MonteroandPavel Czerny a3d8d4a65e F #4936: Refactor Driver and Message classes in OpenNebula daemon
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2020-06-29 12:14:00 +02:00
Carlos J. Herrera 80fdcd96fd M #~: fix typo in UserPool.cc (#4891)
Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
2020-06-05 19:31:12 +02:00
Jan Orel 4155ab5ec6 M #-: Validate username before authentication 2020-05-26 16:58:44 +02:00
Vlastimil Holer f3c50a5d89 M #-: Year bump to 2020 (#4634) 2020-04-30 15:00:02 +02:00
Ruben S. Montero 9aa1041103 F #3600: Initial PostgreSQL Support
co-authored-by: Igor Sivy <igorsivy@gmail.com>
co-authored-by: Pavel Czerny <pczerny@opennebula.io>
co-authored-by: Vlastimil Holer <vholer@opennebula.io>
(cherry picked from commit c52f62018c32281c6e418211f33f1bba46388e98)
2020-04-13 17:35:06 +02:00
Pavel Czerný 91234e0ba4 B 4416: Fix restricted params for UserTemplate (#4433)
* B #4416: Fix restricted params for UserTemplate

* M #-: Fix crash on VM action with wrong user

(cherry picked from commit f652a5fbb8)
2020-03-26 11:17:47 +01:00
Ruben S. MonteroandJan Orel 151e7a7580 F #4056: Add user to LDAP group as admin
Author: Jan Orel <jorel@opennebula.systems>
co-authored-by: Jan Orel <jorel@opennebula.systems>
2020-01-28 12:21:26 +01:00
Ruben S. MonteroandChristian González 6143dd95ce F #3380: New Hook system. Drivers, oned and command line tool
Co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-09-09 14:47:42 +02:00
Ruben S. MonteroandPavel Czerny 500e45dbd6 F #1401: Configurable VM_*_OPERATIONS per group and user. Restructure of the API
authorization levels and initialization logic.

Co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2019-09-09 13:13:52 +02:00
Alejandro Huertas 90425c2559 F #2899: Replace SHA1 by SHA256
* Add new SHA256 hashing function
   * Change user password from SHA1 to SHA256 automatically
2019-03-04 15:14:55 +01:00
Ruben S. Montero a48d00d6eb B #2575: encode the EGID in the authentication token when a user (#2893)
* B #2575: encode the EGID in the authentication token when a user
authenticates with a scoped user token

* Update OpenNebulaCloudAuth.rb

* Update OpenNebulaCloudAuth.rb
2019-02-05 15:32:17 +01:00
Vlastimil Holer 441cf1f7f9 Bump version to 5.7.85, year to 2019 2019-01-16 11:47:59 +01:00
Ruben S. Montero f54e066949 F #2489: Improve performance of oned:
* Reduce memory footprint
    * Improve connection handling in the RequestManager
    * Reduce the number of locking calls
    * Reduce the size of the VM pool
2018-10-09 11:15:59 +02:00
Ruben S. Montero 21fe311681 F #2183: Use pager for list commands (e.g. onevm list). Support for
custom ordering (by ID) in list API calls, this can be set per user,
group and default in oned.conf
2018-08-06 14:16:00 +02:00
juanmont 4f880598e9 B #1869: Checked if token has expired to not ask external drivers
(cherry picked from commit 92df02542e)
2018-03-23 11:08:58 +01:00
Ruben S. Montero 37222d65dc F #1792: Greatly improve concurrency by: Remove big lock on pool control class. Increase number of MySQL connections (new configuration variable). Make all parser reentrants. This commit also simplifies the pool references.
(cherry picked from commit a3d3ceb771034794c4fb453dcd9aaff64c53baed)
2018-03-17 23:35:21 +01:00
Vlastimil Holer a4c0447ccf Bump year to 2018 (#1623) 2018-01-02 18:27:37 +01:00
Ruben S. Montero b12113e5aa B #5425: License and minor formatting 2017-10-20 14:17:55 +02:00
juanmont 3c46ff3366 B #5425: Changed UserPool and HostPool for to work with CachePool 2017-10-19 16:41:42 +02:00
juanmont 3cbda46ec1 B #5316: Given token password of the owner of creator user doesn't exist (#507) 2017-09-28 16:55:57 +02:00
Ruben S. Montero a2c5a4cbaa F #4809. Fix index in PoolSQL. Update interface in all classes 2017-06-21 03:22:56 +02:00
Javi Fontan 8de979e42c Bump version 5.3.80 2017-05-25 16:07:35 +02:00
Ruben S. Montero a6d4ab3c9f F #4809: Update Sql database interface to include read/write/bootstrap
operations
2017-04-18 17:12:19 +02:00
Ruben S. Montero 7a2face60c F #5005: New interface of ActionManager to accommodate additional arguments. Updates managers to the new interface 2017-02-03 20:39:34 +01:00
Ruben S. Montero 9d90f12602 B #4850: Invoke federation master when creating users from the driver callbacks 2016-10-06 17:09:51 +02:00
Ruben S. Montero 2dc9ddea40 F #4775: Consolidate authorization requests for User creates. User
groups are always managed as a set
2016-09-29 12:22:59 +02:00
Carlos Martín d17818a32b F #4775: Add Group membership to one.user.allocate API call 2016-09-23 13:28:44 +02:00
Ruben S. Montero e83994bb47 Feature #4714: Add expired token collector 2016-09-08 12:03:24 +02:00