mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 15:50:36 -05:00
Blackstone oil analysis, .sam.zip export/import, AI logbook transcription
- Oil analysis: Blackstone PDF import (20 elements, oil properties, universal averages), results stored per element, oil type, "leave out of trends", the original app's statuses; AvLab fixes (multi-line comments, unrelated labels no longer steal values). Existing records migrate. - Aircraft archives in the original app's .sam.zip format (schema v2): export from Access & Sharing, background import from the Fleet page, rake tasks. Archives move both ways between this app and the original. - Scanned logbook pages (images or PDFs) upload as a document; with ANTHROPIC_API_KEY set, Claude transcribes them into logbook entries. - Fix: deleting a component or aircraft failed when AD compliances or inspection records pointed at a component. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2d068e1a63
commit
1c6c2f88c0
54 files changed
+2794
-286
No files matched your search
@@ -9,6 +9,7 @@ Rails.application.routes.draw do
|
||||
post :map_airport
|
||||
end
|
||||
|
||||
resources :aircraft_imports, path: "imports", only: %i[new create show]
|
||||
resources :aircraft do
|
||||
member do
|
||||
patch :hours, action: :update_hours
|
||||
@@ -40,6 +41,7 @@ Rails.application.routes.draw do
|
||||
resources :oil_analyses, path: "oil_analysis" do
|
||||
collection { post :import }
|
||||
end
|
||||
resources :logbook_imports, path: "logbook/import", only: %i[new create show]
|
||||
resources :logbook_entries
|
||||
resources :documents
|
||||
resources :document_collections, except: %i[index show]
|
||||
@@ -56,6 +58,7 @@ Rails.application.routes.draw do
|
||||
resources :major_records
|
||||
resources :aircraft_roles, path: "access", only: %i[index create update destroy]
|
||||
resources :share_tokens, only: %i[create destroy]
|
||||
resource :export, controller: "aircraft_exports", only: :show
|
||||
resources :events, only: :index
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user