Commit Graph
115 Commits
Author SHA1 Message Date
apairon 1233bd393d fix(schema): latencyWindow ist ein String, duration-Muster folgt der Go-Grammatik
Review-Nachbefunde am neuen embedding-Schema:
- latencyWindow war als integer/number deklariert, ist in Go aber ein String
  (ConfigEmbeddingGroup.OnSingleQuery.LatencyWindow, per Atoi geprüft) — Schema
  und index.d.ts auf digits-String (>0) umgestellt.
- duration-Pattern erlaubte nur eine Einheit und akzeptierte Unsinn wie "1ss":
  jetzt (Zahl+Einheit)+, damit auch 1m30s/1h1m/1.5h gelten und 1ss/8/abc fallen.
- Beispiel examples/server/embedding.yml übt latencyWindow und Mehrfach-Einheiten
  aus (npm test: 5 YAML gegen 17 Schemas, tsc --noEmit --strict grün).
2026-10-17 14:07:30 +00:00
apairon 5a45c4dd3f feat(types): Embedding-Abschnitt der Server-Config (Provider, Failover-Gruppen, goldener Pfad) + Status-Payloads
index.d.ts: EmbeddingProviderConfig/EmbeddingGroupConfig (onSingleQuery, onBulkWrite,
health), EmbeddingConfig für config.server().embedding (Roh-JSON von config.Server.
Embedding) sowie die Status-Payloads von GET …/admin/embedding/status (Projekt- und
Server-Scope, Zustände live|degraded|quarantined|offline, Breaker closed|open|half-open).
VectorConfig.provider dokumentiert jetzt, dass dort auch ein Gruppenname stehen darf.

schemas/config/embedding.schema.json: validierbares Schema des Server-Abschnitts
(Enums für Policies/Distributionen, Go-Duration-Muster, Pflichtfelder, keine
erfundenen Properties); Beispiel examples/server/embedding.yml, per
scripts/validate-schemas.mjs mitgeprüft (npm test: 5 YAML gegen 17 Schemas).

Quelle der Wahrheit: internal/config/server.go + internal/config/embedding_group.go
(tibi-server). Typecheck: tsc --noEmit --strict über index.d.ts grün.
2026-10-17 14:00:53 +00:00
LeanAgent 4c55f82446 feat(schema): meta.query in Collection-Meta + designGuide-Einrückung
continuous-integration/drone/push Build is passing
Hooks lesen oft zusätzliche Query-Parameter (ctx.request().query(name)).
Mit meta.query werden sie deklariert, für Agenten dokumentiert
(REST _meta/OpenAPI, MCP collection_describe) und bei MCP-Calls
validiert. Vergleiche docs 04-collections (meta.query).
2026-10-12 16:12:01 +00:00
LeanAgent ca684fb4b3 feat(schema): meta.agent in Collection- und Projekt-Schema
continuous-integration/drone/push Build is passing
Die Starter-Collections dokumentieren Editor-Workflows in meta.agent
(tibi-server spielt das ueber MCP/REST _meta aus), die Schemas kannten
den Schlüssel aber nicht – YAML-LS meldete 'Property agent is not
allowed'. agent ist bewusst freiform (additionalProperties: true),
damit die Doku nicht wieder hinterherhinkt.
2026-10-12 16:10:18 +00:00
apaironandClaude Opus 4.8 1934cf9b89 feat(schema): neues Section-Format — position: "section:<group>" + meta.sections
Feld-Meta position erlaubt jetzt section und section:<group> neben main/sidebar.
Collection-Meta bekommt sections: [{ group, label, collapsible, collapsed }] als
Pendant zu sidebar.

Ohne das Pattern-Update schlaegt die YAML-Validierung im Editor fehl und
position: "section:x" wird als ungueltig markiert.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-10-01 00:17:33 +00:00
apairon 7870253b73 merge: dynamic pagebuilder schemas (templateProps, schemaRef, designGuide, blockStudio)
# Conflicts:
#	schemas/config/collection-meta.schema.json
2026-09-30 20:37:08 +00:00
apairon 6720efbee2 feat(schema): collection meta exports (custom scripted exports)
Wiederhergestellt aus dem Arbeitsstand vor dem Dynamic-Blocks-Branch.
2026-09-30 20:36:46 +00:00
apairon 0fa213f3b6 feat(schema): templateProps + schemaRef + designGuide + blockStudio
Vorbereitung fuer dynamische Pagebuilder-Bloecke (nova feature/dynamic-pagebuilder-blocks):
- field-meta: Widget templateProps, meta.schemaRef {ref?, field required}
  (statische subFields / Sibling-Schema / FK-Schema fuer type:any-Felder)
- collection-meta: meta.designGuide (i18nText) als KI-Hinweis pro Collection
- collection-meta: viewHint.blockStudio {previewField, lint, renderer.file}
  (Spezial-View wie navigation/media, inkl. oneOf-Zweig)
2026-09-30 20:36:22 +00:00
apairon 19601b1f0f fix(schema): allow dashes in field names, i18n sections, number widget 2026-09-21 19:38:44 +00:00
apairon 1de0d67992 fix(schema): add cors to collection and action schemas 2026-09-21 16:47:03 +00:00
apairon 5e04a1ca3a fix(schema): allow !include string for choices (tibi-server YAML include)
choices previously only array|object, now also string to allow
choices: !include ../../choices/icon-choices.yml
which tibi-server resolves via yamlResolveIncludes before validation
2026-09-03 12:29:47 +00:00
apairon 3abdc52fef fix(schema): add audit to action schema (enabled + actions[post,get]) 2026-09-03 10:59:06 +00:00
apairon c1cdb6bdcc ✨ feat(schema): add project-level audit (only enabled) 2026-09-02 16:45:36 +00:00
apairon 7775164e6a fix(schema): allow openapi in project meta
- project.meta now accepts openapi: { $ref: openapi.schema.json }
- needed for renz-einfo legacy config (servers/info/tags) to validate
2026-08-25 12:59:26 +00:00
apairon 39aac68595 ✨ feat: add new JSON schemas for Tibi configuration including fields, hooks, jobs, and permissions
continuous-integration/drone/push Build is passing
- Introduced `field-list.schema.json`, `field-meta.schema.json`, and `field.schema.json` for field configurations.
- Added `hooks.schema.json` for defining hooks in the Tibi project.
- Created `image-filter.schema.json` for image processing configurations.
- Implemented `job.schema.json` for job scheduling configurations.
- Added `openapi.schema.json` for OpenAPI metadata generation.
- Introduced `permissions.schema.json` for managing permissions in the project.
- Created `project.schema.json` for overall project configuration.
- Added `projections.schema.json` for defining projections in the project.
- Implemented a validation script `validate-schemas.mjs` to ensure schema compliance.
2026-07-01 14:17:06 +00:00
apairon ca1b80acca Merge remote-tracking branch 'origin/master'
continuous-integration/drone/push Build is passing
# Conflicts:
#	schemas/config/project.schema.json
2026-07-01 14:13:53 +00:00
apairon 40b441df04 ✨ feat: add new JSON schemas for Tibi configuration including fields, hooks, jobs, and permissions
- Introduced `field-list.schema.json`, `field-meta.schema.json`, and `field.schema.json` for field configurations.
- Added `hooks.schema.json` for defining hooks in the Tibi project.
- Created `image-filter.schema.json` for image processing configurations.
- Implemented `job.schema.json` for job scheduling configurations.
- Added `openapi.schema.json` for OpenAPI metadata generation.
- Introduced `permissions.schema.json` for managing permissions in the project.
- Created `project.schema.json` for overall project configuration.
- Added `projections.schema.json` for defining projections in the project.
- Implemented a validation script `validate-schemas.mjs` to ensure schema compliance.
2026-07-01 09:23:43 +00:00
apairon 0804c3c3c4 ✨ feat: add new JSON schemas for Tibi configuration including fields, hooks, jobs, and permissions
continuous-integration/drone/push Build is passing
- Introduced `field-list.schema.json`, `field-meta.schema.json`, and `field.schema.json` for field configurations.
- Added `hooks.schema.json` for defining hooks in the Tibi project.
- Created `image-filter.schema.json` for image processing configurations.
- Implemented `job.schema.json` for job scheduling configurations.
- Added `openapi.schema.json` for OpenAPI metadata generation.
- Introduced `permissions.schema.json` for managing permissions in the project.
- Created `project.schema.json` for overall project configuration.
- Added `projections.schema.json` for defining projections in the project.
- Implemented a validation script `validate-schemas.mjs` to ensure schema compliance.
2026-07-01 09:21:26 +00:00
apairon 4b588d1269 feat(types): add action api types to ApiInfo 2026-04-16 15:59:32 +00:00
apairon 025a7ccca4 ✨ feat(schema): enhance API configuration schemas with new properties and validations
continuous-integration/drone/push Build is passing
- Updated collection.json to include upload defaults, audit logging, query limits, and more.
- Enhanced collectionNavigation.json with viewHint configurations.
- Added project-wide upload defaults and hook configurations in config.json.
- Expanded field.json to support new field types, validations, and properties.
- Improved fieldMeta.json with additional widget configurations and properties.
- Updated hooks.json to include new bulk operation hooks and audit logging.
- Enhanced imageFilter.json with additional image processing options.
- Added timeout properties to job.json for better execution control.
- Refined permissions.json to allow more granular control over HTTP method permissions and added filter and field visibility options.
2026-03-30 12:28:50 +00:00
apairon afa7c9b238 ✨ feat(schemas): format JSON schema properties for better readability
continuous-integration/drone/push Build is passing
2026-02-11 13:34:18 +00:00
apairon c2a54a4474 ✨ feat(index.d.ts): update CollectionDocument to use generic types for insertTime and updateTime
continuous-integration/drone/push Build is passing
2026-01-21 14:36:06 +00:00
apairon 1bb16ad994 ✨ feat(index.d.ts): add base64 property to global context for Base64Package interface 2026-01-21 13:57:14 +00:00
apairon 8696b25e9b ✨ feat(index.d.ts): add Base64Package interface for encoding and decoding data
continuous-integration/drone/push Build is passing
2025-08-28 14:31:06 +00:00
apairon 102a93f20c ✨ feat(index.d.ts): add includeHeader option to create method
continuous-integration/drone/push Build is passing
2025-08-27 16:51:08 +00:00
apairon 99e7d940ee ✨ feat(index.d.ts): extend create method options to include rootElement parameter
continuous-integration/drone/push Build is passing
2025-08-27 16:32:38 +00:00
apairon c4d4a2f6e0 ✨ feat(index.d.ts): update create method parameter type for XML string creation
continuous-integration/drone/push Build is passing
2025-08-27 14:36:04 +00:00
apairon fe548c0537 ✨ feat(index.d.ts): add ExecPackage interface to global context
continuous-integration/drone/push Build is passing
2025-08-27 09:06:57 +00:00
apairon b724100477 ✨ feat(index.d.ts): add ExecPackage interface for command execution with options
continuous-integration/drone/push Build is passing
2025-08-27 08:55:15 +00:00
apairon 40446e13bb feat(config.json): füge admin-Konfiguration mit Token-Management hinzu
continuous-integration/drone/push Build is passing
2025-04-24 14:48:16 +00:00
apairon 303652101b feat(index.d.ts): erweitere Bildverarbeitungsoptionen um Resampling, Anker, und Dimensionseinsparungen
continuous-integration/drone/push Build is passing
2025-04-24 10:04:10 +00:00
apairon 592ee4a42b feat(index.d.ts): add outputType option for image processing configuration
continuous-integration/drone/push Build is passing
2025-04-23 17:07:51 +00:00
apairon ca8d37815b feat(index.d.ts): add lossless option to image processing configuration
continuous-integration/drone/push Build is passing
2025-04-23 16:49:52 +00:00
apairon 9beb4d3a43 feat(index.d.ts): add sameSite option to set cookie's SameSite attribute
continuous-integration/drone/push Build is passing
2024-09-26 13:18:14 +00:00
apairon 2b0edd2c9f sleep in hook and cors in config
continuous-integration/drone/push Build is passing
2024-08-23 14:01:15 +00:00
apairon 1b48015c98 context.cyrpto.md5
continuous-integration/drone/push Build is passing
2024-06-26 14:58:39 +00:00
apairon c6abfc9f07 image filter with skipLargerDimension and skipLargerFilesize
continuous-integration/drone/push Build is passing
2024-04-23 09:52:27 +00:00
apairon b0771bdfb5 📝 docs(index.d.ts): add server config object definition for better documentation
continuous-integration/drone/push Build is passing
The server config object definition has been added to the global declaration file to provide clear documentation on the structure of the server configuration object. This will help developers understand the expected format of the server configuration object and its properties.
2024-02-23 10:56:56 +00:00
apairon 380bd89787 🚀 feat(index.d.ts): add ConfigPackage interface to provide utility functions for configuration management
continuous-integration/drone/push Build is passing
The ConfigPackage interface is added to provide utility functions for configuration management. It includes methods to get the current namespace string and the current project object, enhancing the flexibility and ease of managing configurations within the application.
2024-02-23 10:40:10 +00:00
apairon 194cd2eba8 🚀 feat(index.d.ts): add copy method to the global declaration to enable file or directory copying
continuous-integration/drone/push Build is passing
The copy method is added to the global declaration in order to provide a convenient way to copy files or directories. This method takes the source path and destination path as parameters and performs the copy operation. This addition enhances the functionality of the global declaration and allows for easier file management within the application.
2024-01-09 14:25:14 +00:00
robin beff5c2fe1 🔨 refactor(fieldMeta.json): remove unnecessary code duplication and reorganize fieldMeta schema
🌟 feat(fieldMeta.json): add new properties for folding configuration, hiding field widget, direction, pathStep, and metaElements
The changes in the fieldMeta.json schema remove unnecessary code duplication by removing a section that was already defined elsewhere. The schema is also reorganized to group related properties together for better readability. New properties for folding configuration, hiding field widget, direction, pathStep, and metaElements are added to enhance the flexibility and customization options of the fieldMeta schema.
2023-08-06 09:35:49 +00:00
robin 791ef2639c 🔧 chore(schemas): update collectionNavigation.json and fieldMeta.json schemas
continuous-integration/drone/push Build is passing
🔀 Merge branch 'feature/schema-update' into 'master'
The collectionNavigation.json schema was updated to include a new enum value "MANUALLY" for the "order" property in the "defaultSort" object. This allows for manual sorting of items in the admin UI lists. The fieldMeta.json schema was updated to include new properties and definitions related to folding configuration for array fields, hiding field widgets, direction of fields, path steps, and meta elements. These updates enhance the flexibility and customization options for the field widgets in the application.
2023-08-06 09:31:19 +00:00
robin 7e01225447 final dashboard
continuous-integration/drone/push Build is passing
2023-07-23 21:30:36 +00:00
robin 3a69cf5e34 really final changes
continuous-integration/drone/push Build is passing
2023-07-23 21:26:41 +00:00
robin 83d346dfec hopefully final changes
continuous-integration/drone/push Build is passing
2023-07-23 21:20:46 +00:00
robin 4b5dbec747 hopefully final changes
continuous-integration/drone/push Build is passing
2023-07-23 21:09:31 +00:00
robin 59c269f0c4 dashboard fixes
continuous-integration/drone/push Build is passing
2023-07-23 20:57:50 +00:00
robin 5d6fc43f44 schemas updated
continuous-integration/drone/push Build is passing
2023-07-23 20:32:50 +00:00
apairon c0c3b2b593 🚀 feat(index.d.ts): add api(), project(), and collection() methods to global declaration
continuous-integration/drone/push Build is passing
This commit adds three new methods to the global declaration file: api(), project(), and collection(). These methods return an object with any key-value pairs, allowing for more flexibility in the codebase.
2023-05-25 12:47:34 +00:00
apairon 65626872e3 📝 docs(index.d.ts): add timeout property to RequestOptions interface
continuous-integration/drone/push Build is passing
The RequestOptions interface now includes a timeout property, which specifies the number of seconds before the request times out. This improves the usability of the interface by allowing developers to specify a timeout for requests.
2023-05-02 16:23:55 +00:00