Stéphane Graber
5a4709d663
incusd: Document baseline error codes for endpoints using SmartError
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-07-28 18:32:51 -04:00
Stéphane Graber
876747133a
incusd: Document HTTP 201 return code in Swagger specs
...
Closes #3732
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-07-28 18:17:09 -04:00
Stéphane Graber
b7c3b66ca7
incusd/project: Add restricted.virtual-machines.nesting
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-07-08 15:39:46 -04:00
Joseph Maldjian
c9a2d2ee52
cmd/incusd: isolated on restricted.containers.privilege prevents setting security.privileged to true
...
Signed-off-by: Joseph Maldjian <joseph.maldjian@hyecompany.com>
2026-06-26 16:18:23 -05:00
Joseph Maldjian
a9dbaefeaa
cmd/incusd: isolated on restricted.containers.privilege prevents setting security.idmap.isolated to false
...
Signed-off-by: Joseph Maldjian <joseph.maldjian@hyecompany.com>
2026-06-25 18:03:02 -05:00
Stéphane Graber
65eb825b19
incusd: Replace gorilla/mux with http.ServeMux
...
Apply what we did to incus-agent but to incusd.
Closes #2451
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-06-05 08:10:57 -04:00
Stéphane Graber
9a8dcf5e98
incusd: Rename locals that shadow imports (revive:import-shadowing)
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-26 18:07:54 -04:00
Stéphane Graber
dcb035a495
incusd: Use tagged switch statements (staticcheck:QF1003)
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-26 18:07:52 -04:00
Stéphane Graber
3a104e4dc2
incusd/projects: Fix targeting on project delete
...
Closes #3260
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-04 20:45:53 -04:00
Stéphane Graber
40dd4f151d
Rewrite Go import path to v7
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-02 01:18:25 +02:00
Stéphane Graber
b69464a8e3
incusd: Add missing path parameters
...
Closes #3170
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-05-01 00:54:26 +02:00
Pranav Patil
d7cc9c59dd
incusd/project: Add support for restricted.storage-pools.access
...
Signed-off-by: Pranav Patil <pranavppatil767@gmail.com>
2026-04-17 12:43:15 -04:00
Stéphane Graber
ad05844c14
incusd/project: Introduce restricted.images.servers
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2026-02-24 19:58:25 -05:00
Benjamin Somers
3f9cb591d2
incusd/project: Add MAC address pattern key
...
Signed-off-by: Benjamin Somers <benjamin.somers@imt-atlantique.fr>
2025-10-28 15:08:33 +00:00
David Schneider
7c57da7fc0
incusd/project: Don't empty global default profile on force deletion
...
Signed-off-by: David Schneider <david@schndr.dev>
2025-08-21 16:36:22 +02:00
Stéphane Graber
75855f9150
incusd: Consistently validate object names
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-08-08 01:41:42 -04:00
Isidore Reinhardt
14ec50271d
incusd: Port to new database functions
...
Signed-off-by: Isidore Reinhardt <irhndt@privategarden.io>
2025-05-29 03:36:39 -04:00
Nathan Chase
bf0b67dda2
incusd: Don't needlessly use format string functions
...
Signed-off-by: Nathan Chase <ntc477@utexas.edu>
2025-05-23 01:46:13 -04:00
Stéphane Graber
ecbd13340b
incusd: Switch to new DeleteNetworkACL
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-05-06 01:29:21 -04:00
Stéphane Graber
cf09ee4dd9
incusd: Switch to new GetNetworkACLURIs
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-05-06 01:29:20 -04:00
Serge Hallyn
05fb0a81c7
Merge pull request #1892 from stgraber/doc
...
Update list of compresors
2025-04-05 08:09:08 -05:00
Stéphane Graber
72e693d98d
incusd/project: Update list of supported compressors
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-04-05 00:26:50 -04:00
Isidore Reinhardt
c9596879b6
incusd/projects: Clear address sets on delete
...
Signed-off-by: Isidore Reinhardt <pro.irhndt@4fk.fr>
2025-04-04 15:15:22 -04:00
Colin Watson
13a7e285a2
cmd: Fix spelling errors found by codespell
...
Signed-off-by: Colin Watson <cjwatson@debian.org>
2025-03-18 14:51:46 -04:00
Stéphane Graber
64f9c9f4d8
incusd: Fix gofumpt
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-03-17 20:56:22 -04:00
Gwendolyn
d4189bf1bc
incusd: Add filtering to /1.0/projects
...
Signed-off-by: Gwendolyn <me@gwendolyn.dev>
2025-02-27 16:43:33 -05:00
Stéphane Graber
6a0bcd76ec
global: Initial goimports run
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-11-19 17:32:18 +00:00
Stéphane Graber
d092279529
incusd/project: Don't fail project rename on authorizer
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-09-21 19:17:10 +01:00
Stéphane Graber
88ad75eaad
incusd/project: Don't fail project deletion on authorizer
...
We automatically re-sync authorizer entries in the background so a
failure to update the authorizer isn't critical.
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-09-21 19:17:09 +01:00
Stéphane Graber
802b7aff26
incusd/profiles: Empty default profile on forced deletion
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-09-03 16:07:49 -04:00
Stéphane Graber
655b36182d
incusd/project: Validate group names
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-09-01 01:20:46 -04:00
Stéphane Graber
b03f050ec9
incusd/projects: Don't fail project creation on missing pools
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-08-12 01:02:19 -04:00
Stéphane Graber
3c5bf91e1b
incusd/projects: Add new limits.disk.pool config key
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-08-08 19:20:32 -04:00
Stéphane Graber
50e623c0b2
incusd/project: Don't fail creation on authorizer
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-06-12 14:38:39 -04:00
Stéphane Graber
057428d8f7
incusd/api_project: Add force deletion logic
...
Closes #245
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-05-30 00:51:13 -04:00
Stéphane Graber
c188aab101
incusd/api_project: Fix UsedBy
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-05-30 00:48:36 -04:00
Stéphane Graber
59e53d5206
incusd/project: Simplify projectIsEmpty
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-05-30 00:45:44 -04:00
Mahesh Punjabi
d8a55e590d
incusd/api_project: Add force delete endpoint
...
Signed-off-by: Mahesh Punjabi <mahesh.punjabi86@gmail.com>
2024-05-30 00:45:39 -04:00
Jack Walker
d2adacef4d
incusd/project: Add access endpoint
...
Closes #724
Signed-off-by: Jack Walker <jack@bunkey.org>
2024-05-21 19:03:27 -04:00
Stéphane Graber
09dc3e60bc
global: Update Go package to v6
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-04-05 11:11:11 -04:00
Stéphane Graber
3a145b6329
incusd/project: Add restricted.networks.integrations
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Sponsored-by: Luizalabs (https://luizalabs.com )
2024-03-25 16:42:54 -04:00
Stéphane Graber
bbe24bfe58
incusd/project: Fix bad default value
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Sponsored-by: Luizalabs (https://luizalabs.com )
2024-03-25 12:04:58 -04:00
Stéphane Graber
7664df5da3
incusd/project: Re-format the comments
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Sponsored-by: Luizalabs (https://luizalabs.com )
2024-03-25 12:04:57 -04:00
Thomas Hipp
aea11ec150
cmd/incusd/api_project: Update context
...
Signed-off-by: Thomas Hipp <thomashipp@gmail.com>
2024-02-29 22:46:34 +01:00
Thomas Hipp
16095c9721
Replace util.ValueInSlice with slices.Contains
...
Signed-off-by: Thomas Hipp <thomashipp@gmail.com>
2024-02-23 22:28:37 +01:00
Thomas Hipp
6b689bb160
Move db network functions to ClusterTx
...
Signed-off-by: Thomas Hipp <thomashipp@gmail.com>
2024-01-13 23:43:28 +01:00
Stéphane Graber
deab6407b8
incusd/projects: Don't use request context in authorizer for background operations
...
Closes #275
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2023-12-04 22:56:09 -05:00
Mark Laing
17b5278310
[lxd-import] lxd: Update authorization for projects API.
...
Signed-off-by: Mark Laing <mark.laing@canonical.com>
2023-10-25 20:24:02 -04:00
Mark Laing
c48c99f0a7
[lxd-import] lxd: Updates project.Default to api.ProjectDefaultName.
...
Signed-off-by: Mark Laing <mark.laing@canonical.com>
2023-10-25 14:58:55 -04:00
Stéphane Graber
a047a6edbf
cmd/incusd: Update wording
...
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2023-10-07 01:12:41 -04:00