chore(assets): retire the dead NO_IMAGING / imaging handling
servuo-plugins #39 made the Asset Bridge GDI+-free: the overlay no longer sends `imaging` on assets.sources and NO_IMAGING can no longer arise. Drop the consumer side: the model branches in shardAssets/shardItemArt, the `imaging` passthrough and normalisation, the /libgdiplus/ 503 mapping (a 503 is now always SHARD_DOWN), the admin Client Files banner, the `shard.imaging` schema and NO_IMAGING enum values, and the test stubs. Swagger fragment regenerated. Closes #49 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014HJEmd5sBSpNXicS4gmT1t
This commit is contained in:
@@ -116,7 +116,7 @@
|
||||
"Admin · Shard"
|
||||
],
|
||||
"summary": "Client asset import status: what is loaded, what the shard has, whether they differ (admin only)",
|
||||
"description": "What the site currently holds (the imported body catalogue, how many sprites are stored, how many atlas creatures resolved to a body id) beside what the shard reports for the client files those pictures come from. `drift: true` means the client files have changed since the last import — press Import. `shard.hashing: true` means a null hash is “not computed yet”, not “changed”: the shard hashes 195 MB anim files off the request path. `shard.imaging.ok: false` is the named NO_IMAGING state — a Linux shard host without libgdiplus cannot render a sprite at all, and the reason names the package to install. A shard with no link configured, or one that is down, is a reported state with a reason rather than an error.",
|
||||
"description": "What the site currently holds (the imported body catalogue, how many sprites are stored, how many atlas creatures resolved to a body id) beside what the shard reports for the client files those pictures come from. `drift: true` means the client files have changed since the last import — press Import. `shard.hashing: true` means a null hash is “not computed yet”, not “changed”: the shard hashes 195 MB anim files off the request path. A shard with no link configured, or one that is down, is a reported state with a reason rather than an error.",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Asset import status",
|
||||
@@ -9007,68 +9007,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"imaging": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"example": "object"
|
||||
},
|
||||
"nullable": {
|
||||
"type": "boolean",
|
||||
"example": true
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"example": "Whether the shard host can render an image at all. `ok: false` is the named NO_IMAGING state: ServUO under Mono needs libgdiplus, and without it a Linux shard cannot decode a sprite. Cliloc and atlas import are unaffected."
|
||||
},
|
||||
"properties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ok": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"example": "boolean"
|
||||
},
|
||||
"example": {
|
||||
"type": "boolean",
|
||||
"example": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"code": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"example": "string"
|
||||
},
|
||||
"nullable": {
|
||||
"type": "boolean",
|
||||
"example": true
|
||||
},
|
||||
"example": {}
|
||||
}
|
||||
},
|
||||
"reason": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"example": "string"
|
||||
},
|
||||
"nullable": {
|
||||
"type": "boolean",
|
||||
"example": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"families": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -9167,7 +9105,6 @@
|
||||
"SHARD_DOWN",
|
||||
"PROTOCOL",
|
||||
"BUSY",
|
||||
"NO_IMAGING",
|
||||
"SOURCE_CHANGED",
|
||||
"UNAVAILABLE"
|
||||
],
|
||||
@@ -9190,7 +9127,7 @@
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"example": "Outcome of an asset import. Reported rather than thrown, so a shard that is down or a host that cannot render images is an answer and not a 500."
|
||||
"example": "Outcome of an asset import. Reported rather than thrown, so a shard that is down is an answer and not a 500."
|
||||
},
|
||||
"properties": {
|
||||
"type": "object",
|
||||
@@ -9252,7 +9189,7 @@
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"example": "Machine-readable cause. `NO_IMAGING` is a shard host with no libgdiplus; `SOURCE_CHANGED` is a client patched partway through the walk, in which case nothing was applied."
|
||||
"example": "Machine-readable cause. `SOURCE_CHANGED` is a client patched partway through the walk, in which case nothing was applied."
|
||||
},
|
||||
"enum": {
|
||||
"type": "array",
|
||||
@@ -9262,7 +9199,6 @@
|
||||
"SHARD_DOWN",
|
||||
"PROTOCOL",
|
||||
"BUSY",
|
||||
"NO_IMAGING",
|
||||
"SOURCE_CHANGED",
|
||||
"INCOMPLETE",
|
||||
"STUCK",
|
||||
@@ -9906,7 +9842,7 @@
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"example": "Machine-readable cause. `NO_IMAGING` is a shard host with no libgdiplus. `UNSUPPORTED` is a plugin overlay that serves the creature catalogue but not item art — update the overlay."
|
||||
"example": "Machine-readable cause. `UNSUPPORTED` is a plugin overlay that serves the creature catalogue but not item art — update the overlay."
|
||||
},
|
||||
"enum": {
|
||||
"type": "array",
|
||||
@@ -9916,7 +9852,6 @@
|
||||
"SHARD_DOWN",
|
||||
"PROTOCOL",
|
||||
"BUSY",
|
||||
"NO_IMAGING",
|
||||
"UNSUPPORTED",
|
||||
"INCOMPLETE",
|
||||
"STUCK",
|
||||
|
||||
Reference in New Issue
Block a user