Skip to content

History / Controller

Revisions

  • Add FragmentResponse and region docs Introduce FragmentResponse as the explicit Pair v4 HTML fragment response and document progressive region usage. Adds a new FragmentResponse.md, expands Controller, PageResponse, ResponseInterface, Home and index docs to reference fragment behavior, and updates PairUI.js (version bump to 0.4.1) with a new section describing progressive regions, actions and filters. Also includes examples and controller helper notes (fragment, pageOrFragment, pageOrFragments) to guide usage for SPA-like server-rendered regions.

    @viames viames committed Jun 12, 2026
  • Document mobile auth, ApiToken, and auth limits Add comprehensive docs for the new mobile authentication flow and related helpers. New pages: ApiToken, AuthAttemptLimiter, AuthorizationHeader, Mobile-auth-app-setup, UiLogBarRenderer, and UiTheme. Updated API, ApiController, ApiResponse, Application, Configuration-file, Env, Home, LogBar, Mobile iOS/Android stack pages and others to describe: built-in mobile auth endpoints (/auth/*), short-lived access tokens with optional rotating refresh tokens stored in api_tokens, refresh rotation behavior, token lifetimes (env vars), auth resolution order (session header, ApiToken, OAuth2Token), rate-limiting for auth attempts and invalid bearer tokens, and OpenAPI/spec hints. Includes migration reminder (migrations/20260510_api_tokens.sql) and guidance for overriding registration/registration hooks and admin revocation endpoints.

    @viames viames committed May 10, 2026
  • Docs: add LogEvent and DB logging docs Introduce structured logging docs and JSON response conventions. Added DatabaseLogWriter, LogEvent, LogEventFingerprint, and LogEventSanitizer documentation and described the DB snapshot/writer, sanitization, fingerprinting, and migration. Update Logger, Log, Observability, ErrorLog, JsonResponse, Controller, and Home index docs to use LogEvent (ErrorLog is now a backward-compatible alias), to describe the new DB writer pipeline, sanitization, tracing/fingerprint behavior, and to prefer data/meta envelopes and RFC Problem Details for JSON endpoints. Removed legacy ElkLogger and InsightHub docs and updated references and examples accordingly.

    @viames viames committed May 5, 2026
  • Add docs: observability, cache, adapters, and APIs Add and update framework documentation to introduce runtime features and integrations. New pages: AdapterRegistry, Cache, CloudflareTurnstile, CrudIncludePreloader, CrudResourceMetadata, EmptyResponse, FilesystemMetadata, HttpCache, MeilisearchClient, Observability, ObservabilityEvent*, OpenAIClient, OpenTelemetryHttpExporter, ResendMailer, UiRenderer, and others. Update API, Application, Env, Configuration-file, CrudController, CrudResourceConfig, ApiExposable, Database, Form, FormControl, ErrorCodes and related docs to reference these additions: adapter registry usage, process-local metadata/cache (FilesystemMetadata, CrudResourceMetadata, Env caching), include preloader for bulk relation loading, explicit HttpCache/EmptyResponse examples, observability spans and debug headers, and expanded .env variables for cache, observability, exporters, Stripe/OpenAI/Resend/Meilisearch/Cloudflare Turnstile. Also document best practices for clearing process-local caches in long-running processes and note that DB/cache helpers emit spans when observability is enabled.

    @viames viames committed Apr 22, 2026
  • Add UI framework selection (bootstrap/bulma) Introduce Application::uiFramework(string) to select a runtime UI framework (default: bootstrap, supported: bulma). Add Pair v4 design and migration docs Revise framework docs to describe the Pair v4 design and migration path. ApiExposable, CrudController, Controller and View docs were updated to prefer explicit readModel contracts and response-oriented controllers, while keeping legacy resource/controller/view behavior as migration bridges. Added Pair-v4-Design.md to explain core v4 decisions (read models, immutable input, response objects) and Upgrade-to-v4.md with an upgrader guide, examples, and recommended migration steps.

    @viames viames committed Apr 21, 2026
  • Docs: expand API & Aircall docs, add Google pages Large documentation updates and additions: expanded the API, ApiController and ApiResponse guides with clearer lifecycle, middleware, idempotency and JSON handling examples; clarified ActiveRecord behavior, forms and pagination notes; refactored Aircall integration docs into an AircallAPI cookbook and enriched AircallClient reference with usage examples, error-handling guidance, and production patterns; added Google-related pages (GoogleAddress, GoogleGeocoder, GoogleMaps, GoogleMapsClient, GooglePlacesService). Various examples and small clarifications added across many markdown pages to improve developer guidance.

    @viames viames committed Mar 26, 2026
  • Add Aircall API docs and page struct update Adds a new AircallAPI.md and wires it into the docs, plus several documentation updates.

    @viames viames committed Feb 26, 2026
  • Add extensive Pair framework docs and update indexes Add dozens of new markdown docs for Pair framework components (ACL, exceptions, services, mailers, form controls, helpers, models, integrations and more). Update API.md and Home.md to reference the new pages. Extend ActiveRecord.md with a modern quick reference and practical recipes, add additional Database usage examples, and include minor updates to Query.md, Model.md and View.md to reflect the expanded documentation. These changes populate the docs/wiki with usage examples, main methods, and implementation notes for each component.

    @viames viames committed Feb 24, 2026
  • Add API docs and update core documentation Add comprehensive API documentation and related reference pages. Also update existing docs: refine .env/config guidance in Configuration-file.md, restructure and simplify Controller.md, refresh Home.md and Router.md and update index.md. These changes expand the framework docs to cover the API layer, middleware, idempotency, database utilities, push delivery, and developer-facing configuration best practices.

    @viames viames committed Feb 22, 2026
  • Revise and expand of classes documentation The Pair’s Wiki has been expanded. The new documentation provides a comprehensive overview of the classes, with a more detailed method references, usage examples, and explanations for each feature.

    @viames viames committed Jan 9, 2026
  • Updated to Pair 2

    @viames viames committed Mar 14, 2025
  • Created Controller (markdown)

    @viames viames committed Mar 14, 2025