Commit Graph

12623 Commits

Author SHA1 Message Date
Manoj Kumar a1eca74de1
work on updateDnsServer ui screen, fixed acl issue for dns server and zone and cleanup methods for dns server and zone 2026-03-18 18:45:03 +05:30
Manoj Kumar d8cca73780
resolve conflict with main 2026-03-17 19:35:19 +05:30
Manoj Kumar 7f5e2a7d30
continue UI component work, fix minor issue with apis 2026-03-17 19:33:30 +05:30
Pearl Dsilva 3bd5410f9a
Add support to clone existing offerings and update them (#12357)
* Add support to clone existing offerings and update them

* add support for vpc & backup offerings to be cloned

* fix capability list and mapping of params

* Add support to clone network and vpc offering with the right parameters

* make fields non mandatory for clone offerings APIs

* Add UI support for cloning Compute and System Service offerings

* remove unnecessary changes

* fix license and pre-ccommit issues

* Add UI support to clone disk and network offering

* vpc & backup offering clone api

* add unit tests

* fix pre-commit checks

* increase test coverage

* combine add/clone disk/compute offering forms

* update license

* fix unit tests

* fix test failures

* fix test failure - unnecessary stubbings

* pre-commit check failure

* add recently added domain id for bkp offering to be inherited in clone operation

* extract common code wrt service capability in network & vpc offering in add/clone operations

* add some checks to prevent networkmode change when provider is nsx/netris from the source networkmode

* address copilot comments

* address comments

* combine check

* use appropriate zoneId during clone bkp offering

* add check

* fix issue with test

* remove unused imports

* prevent creating a bkp offering of a bkp repo that already exists

* extend clone disk and service offerings to domain admins
2026-03-17 12:01:43 +05:30
Nicolas Vazquez 93239e09f1
Add conserve mode for VPC offerings (#12487) 2026-03-16 09:39:42 +01:00
Manoj Kumar 6bcfbc6dfc
resolve conflict with main 2026-03-13 22:34:46 +05:30
Daman Arora 8c579538f9
CKS: Allow affinity group selection during cluster creation (#12386)
Co-authored-by: Daman Arora <daman.arora@shapeblue.com>
2026-03-13 10:58:55 +01:00
Manoj Kumar a9afbce186
UI related work and fixes in updateDnsServer cmd 2026-03-10 13:10:24 +05:30
Klaus de Freitas Dornsbach 74af9b9875
API key pair restructure (#9504)
Co-authored-by: Bernardo De Marco Gonçalves <bernardomg2004@gmail.com>
2026-03-09 14:20:17 +01:00
GaOrtiga 7ad68aafa5
Enable defining a network as redundant during restart through the UI (#7405)
Co-authored-by: Gabriel <gabriel.fernandes@scclouds.com.br>
Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
2026-03-04 17:00:54 +01:00
Suresh Kumar Anaparti 75620309c2
Merge branch '4.22' 2026-03-04 21:13:01 +05:30
Suresh Kumar Anaparti 65e54091ff
Merge branch '4.20' into 4.22 2026-03-04 21:12:15 +05:30
Manoj Kumar 0df50cedf8
fix list dnsservers api, ui screens for dns servers, generate events 2026-03-04 19:40:37 +05:30
Manoj Kumar 369bb16d0d
fix lint issue 2026-03-03 17:44:24 +05:30
Manoj Kumar 928db650e3
resolve merge conflict with main 2026-03-03 17:11:54 +05:30
Manoj Kumar caf85330bb
1. implement event processing for vm start/stop/destroy, nic create/delete events
2. add dnsrecordurl in nic_details table
3. add dnsrecordurl in vm response
2026-03-03 14:08:50 +05:30
Manoj Kumar 1c1eef3cc7
Add Listener for VM lifecycle to add dnsrecords for associated dns zone 2026-03-02 17:17:13 +05:30
Suresh Kumar Anaparti 56dc11980f
test_accounts.py failure fix - keep the camelCase parameter "domainId" (#12689) 2026-02-27 11:36:18 +01:00
Manoj Kumar 6ca9d5ace8
add views for dns_server and dns_zone 2026-02-26 13:05:08 +05:30
Suresh Kumar Anaparti da85858e93
unit test fix (after merge) 2026-02-26 12:01:15 +05:30
Suresh Kumar Anaparti a8bd02f8ba
Merge branch '4.22' 2026-02-26 11:12:20 +05:30
Suresh Kumar Anaparti b74f21b967
Merge branch '4.20' into 4.22 2026-02-26 11:11:41 +05:30
Manoj Kumar 1fe79bdfb6
fixes related to acl, dao 2026-02-25 19:52:50 +05:30
Manoj Kumar add77636d9
acl related changes, fixes, mistakes 2026-02-25 11:38:38 +05:30
Erik Böck c748b69e70
Fix NPE during public IP listing when a removed network or VPC ID is informed for associatenetworkid parameter (#12372) 2026-02-23 13:03:36 +01:00
Erik Böck d0543449a6
Changes to the error message displayed during the removal of public templates that are used (#12373) 2026-02-23 11:21:04 +01:00
dahn da7ac80dc4
prevent user.uuid from being regenerated on each operation by reading it from the DB (#12632) 2026-02-23 11:12:13 +01:00
Manoj Kumar 582b6876d4
add ACL annotation, entitytype, minor cleanup 2026-02-21 22:15:08 +05:30
Manoj Kumar 857436e7f9
enable apis for all roles 2026-02-21 14:36:25 +05:30
Manoj Kumar 4df11a4198
normalize dns zone and record in svc layer, always use dotless data in svc and handle dot version in client 2026-02-21 09:25:28 +05:30
Manoj Kumar c64cf81db3
include:
1. port for dns_server
2. remove hard coded localhost for server_id
3. resolve and store server id if not passed in the api request
4. restrict public dns_server for domain admins and admins
2026-02-20 12:45:21 +05:30
Manoj Kumar 4a9f66d532
following changes are done:
1. refactored client
2. added exceptions
3. enhanced updateZone
4. ownership check for deleteDnsServer
2026-02-19 23:48:57 +05:30
Suresh Kumar Anaparti 30e6c224bd
Merge branch '4.22' 2026-02-19 13:20:04 +05:30
Suresh Kumar Anaparti 5caf6cd043
Merge branch '4.20' into 4.22 2026-02-19 13:19:14 +05:30
Suresh Kumar Anaparti 9dd93cef76
Support for custom SSH port for KVM hosts from the host url on add host and the configuration (#12571) 2026-02-18 20:05:51 +01:00
Suresh Kumar Anaparti 8c12a13216
Fix NPE during reset password (#12585) 2026-02-18 20:03:36 +01:00
Manoj Kumar e011ce1186
add missing license, cleanup, log std 2026-02-18 11:20:22 +05:30
Manoj Kumar 99f8c7dad8
following things are done:
1. Registerdnsrecordforvm api
2. removednsrecordforvm api
3. cleanup; fixed license, dao logic
2026-02-17 17:21:26 +05:30
Daan Hoogland a7dc5efad5 Merge release branch 4.22 to main
* 4.22:
  Fix issue when restoring backup after migration of volume (#12549)
  Usage: Heartbeat should not schedule usage job when a job is already running (#12616)
  Allow limit queries without random ordering (#12598)
  engine/schema: fix cluster/zone settings with encrypted values (#12626)
  Fix injection of preset variables into the JS interpreter (#12515)
  Fix issue with multiple KVM Host entries in host table (#12589)
  Add a Prometheus metric to track host certificate expiry (#12613)
  ssvm: delete temp directory while deleting entity download url (#12562)
2026-02-17 11:55:04 +01:00
Daan Hoogland 11df71e55c Merge branch '4.20' into '4.22' 2026-02-17 11:53:08 +01:00
Manoj Kumar c5972aea4e
Add associate and disassociate zone to network APIs 2026-02-16 18:38:48 +05:30
Manoj Kumar 9b77c3708e
Tested following flow:
1. Add dns server
2. create zone
3. add records
4. verify in powerdns
5. verify using dig
2026-02-16 16:40:19 +05:30
Manoj Kumar c79b33c1fb
Allow enforcing password change for a user after reset by admin (root/domain) (#12294)
* API modifications for passwordchangerequired

* ui login flow for passwordchangerequired

* add passwordchangerequired in listUsers API response, it will be used in UI to render reset password form

* cleanup redundant LOGIN_SOURCE and limiting apis for first time login

* address copilot comments

* allow enforcing password change for all role types and update reset pwd flow for passwordchangerequired

* address review comments

* add unit tests

* cleanup ispasswordchangerequired from user_view

* address review comments

* 1. Allow enforcing password change while creating user
2. Admin can enforce password change on next login with out resetting password

* address review comment, add unit test

* improve code coverage

* fix pre-commit license issue

* 1. allow enter key to submit change password form
2. hide force password reset for disabled/locked user in ui

* 1. throw exception when force reset password is done for locked/disabled user/account
2. ui validation on current and new password being same
3. allow enforce change password for add user until saml is not enabled

* allow oauth login to skip force password change
2026-02-16 16:01:42 +05:30
Manoj Kumar f29b8be24d
following dns zone apis are integrated:
1. creatednszone
2. listdnszone
3. updatednszone
4. deletednszone
2026-02-15 15:17:54 +05:30
Pearl Dsilva ae5308bdd2
Fix issue when restoring backup after migration of volume (#12549) 2026-02-13 15:14:58 +01:00
Manoj Kumar df2131810f
1. Setup Dns zone schema
2. added relevant changes in dao and vo
3. worked on creatednszone, integration with mgr
4. powerdns create zone api call
2026-02-13 13:52:08 +05:30
Manoj Kumar 9911c280e1
Changes done to AddDnsServer, ListDnsServer, DeleteDnsServer and UpdateDnsServer 2026-02-12 19:27:32 +05:30
Fabricio Duarte 34f6f413a1
Fix injection of preset variables into the JS interpreter (#12515) 2026-02-11 16:12:09 +01:00
Nicolas Vazquez b7c970f45f
Fix issue with multiple KVM Host entries in host table (#12589) 2026-02-11 13:47:21 +01:00
Manoj Kumar 6ef7f9bcd4
add powerdns module in plugins 2026-02-11 11:19:07 +05:30