Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ per Windows (portatile e installabile), Mac e Android, e va online su [GitHub Pa
- **Clear** (licenza source-available, non permissiva) si può spegnere dal Centro AI.
- **Nota onesta**: i modelli veri non sono stati scaricati né eseguiti; prove con motori finti (`test/unit/funzioni-ai.test.mjs`, `test/unit/motore_ai_server*.py`).

## [1.8.1] — 2026-10-30 · Aggiornamenti di nuovo funzionanti

- **Aggiorna** non diceva più «indirizzo non valido»: il progetto su GitHub ora si chiama DaProdEditorVideo e l'app accetta il nome nuovo (e anche quello vecchio). Anche i link a GitHub dentro l'app puntano al nome nuovo.

## [1.8.0] — 2026-10-30 · Grafica «Banco», LIVE con le scene, Montage che monta da solo, AI locali

- **Grafica «Banco» ovunque**: metallo scuro, spie che si accendono solo quando serve (oro = azione, ciano = scelta, rosso = REC, verde = pronto), niente magenta nei comandi. Il Montaggio è solo rifinito.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[![▶ PROVA ORA](https://img.shields.io/badge/%E2%96%B6_PROVA_ORA-DaProd_Video-ffd54a?style=for-the-badge&labelColor=1a1428)](https://cammo22.github.io/DaProdVideo/app/)

[![Home](https://img.shields.io/badge/GitHub_Pages-la_home-success?style=flat-square)](https://cammo22.github.io/DaProdVideo/)
[![Release](https://img.shields.io/github/v/release/cammo22/DaProdVideo?style=flat-square&label=release&color=ff3df2)](https://github.com/cammo22/DaProdVideo/releases/latest)
[![Release](https://img.shields.io/github/v/release/cammo22/DaProdEditorVideo?style=flat-square&label=release&color=ff3df2)](https://github.com/cammo22/DaProdEditorVideo/releases/latest)
[![Changelog](https://img.shields.io/badge/📅_Changelog-mantenuto-ffab00?style=flat-square)](CHANGELOG.md)
[![Tauri 2](https://img.shields.io/badge/Tauri_2-Rust-24c8db?style=flat-square&logo=tauri)](https://tauri.app/)
[![Licenza MIT](https://img.shields.io/badge/Licenza-MIT-blue?style=flat-square)](LICENSE)
Expand Down Expand Up @@ -110,7 +110,7 @@ Sul telefono: tocco = cursore, **tieni premuto** e trascina per spostare, **due

## 📥 App: Windows, poi Linux e Mac

I file delle [release](https://github.com/cammo22/DaProdVideo/releases/latest):
I file delle [release](https://github.com/cammo22/DaProdEditorVideo/releases/latest):

| | File | Come si usa |
| --- | --- | --- |
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "daprod-video",
"productName": "DaProd Video",
"version": "1.8.0",
"version": "1.8.1",
"description": "DaProd Video: il montaggio video vecchio stile, moderno dentro. Timeline, due monitor, pulsantiera e VU a lancetta.",
"author": "DaProd",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "daprod-video"
version = "1.8.0"
version = "1.8.1"
description = "DaProd Video: il montaggio vecchio stile, moderno dentro"
authors = ["DaProd"]
license = "MIT"
Expand Down
10 changes: 6 additions & 4 deletions src-tauri/src/aggiorna.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ use tauri::{AppHandle, Manager};

type Esito<T> = Result<T, String>;

const RELEASE: &str = "https://github.com/cammo22/DaProdVideo/releases/download/";
const API: &str = "https://api.github.com/repos/cammo22/DaProdVideo/releases/latest";
const FEED: &str = "https://github.com/cammo22/DaProdVideo/releases/latest/download/aggiornamento.json";
// Il repository si chiama DaProdEditorVideo dal 30/10/2026; il vecchio nome resta accettato (GitHub reindirizza).
const RELEASE: &str = "https://github.com/cammo22/DaProdEditorVideo/releases/download/";
const RELEASE_VECCHIO: &str = "https://github.com/cammo22/DaProdVideo/releases/download/";
const API: &str = "https://api.github.com/repos/cammo22/DaProdEditorVideo/releases/latest";
const FEED: &str = "https://github.com/cammo22/DaProdEditorVideo/releases/latest/download/aggiornamento.json";

fn leggi_release(url: &str) -> Esito<serde_json::Value> {
let mut c = Command::new("curl");
Expand Down Expand Up @@ -120,7 +122,7 @@ fn senza_finestra(c: &mut Command) -> &mut Command {
/// Scarica la versione nuova. Ritorna il percorso del file (a download finito).
#[tauri::command]
pub async fn aggiornamento_scarica(app: AppHandle, url: String, nome: String, accanto: bool) -> Esito<String> {
if !url.starts_with(RELEASE) || nome.contains('/') || nome.contains('\\') || nome.contains("..") {
if !(url.starts_with(RELEASE) || url.starts_with(RELEASE_VECCHIO)) || nome.contains('/') || nome.contains('\\') || nome.contains("..") {
return Err("indirizzo non valido".into());
}
let dest = destinazione(&app, &nome, accanto)?;
Expand Down
2 changes: 1 addition & 1 deletion src/home/home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import './home.css';
import changelog from '../../CHANGELOG.md?raw';

declare const __VERSIONE__: string;
const REPO = 'cammo22/DaProdVideo';
const REPO = 'cammo22/DaProdEditorVideo';
const $ = (id: string) => document.getElementById(id)!;
$('versione').textContent = __VERSIONE__;
$('versionePiede').textContent = __VERSIONE__;
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if (problema) {
h('span', { class: 'marchio-grande' }, 'Da', h('b', null, 'Prod'), ' Video'),
h('p', null, problema),
h('p', null, 'Usa Chrome, Edge, Brave, Opera (anche su Android) o Safari 26, oppure scarica l\'app per Windows, Mac o Android.'),
h('a', { class: 'btn primario', href: 'https://github.com/cammo22/DaProdVideo/releases/latest' }, 'Scarica l\'app'))));
h('a', { class: 'btn primario', href: 'https://github.com/cammo22/DaProdEditorVideo/releases/latest' }, 'Scarica l\'app'))));
} else {
// le barre colore all'accensione, come le macchine della sala
const avvio = h('div', { class: 'avvio' }, h('div', { class: 'avvio-targa' }, h('span', { class: 'marchio-grande' }, 'Da', h('b', null, 'Prod'), ' Video'), h('small', null, '00:00:00:00')));
Expand Down
4 changes: 2 additions & 2 deletions src/pacchetto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ DaProd Editor Video (File → Apri, o doppio clic) e ritrovi il montaggio identi
un altro computer. Non serve scompattarlo.

Dentro: progetto.json (il montaggio) e la cartella media/ (i video, le musiche, le immagini).
https://github.com/cammo22/DaProdVideo
https://github.com/cammo22/DaProdEditorVideo
`;

/** il progetto come sta dentro il pacchetto: i media puntano ai file di media/, niente percorsi di questo computer */
Expand Down Expand Up @@ -487,7 +487,7 @@ Questo file è un progetto di DaProd Editor Video con dentro TUTTO: il montaggio
tutti i file (media/: video, musiche, immagini, registrazioni, audio lavorato) e le copie
leggere per il monitor (proxy/). Aprilo con DaProd Editor Video (File → Apri, o doppio clic),
anche su un altro computer: ritrovi tutto identico. Non serve scompattarlo.
https://github.com/cammo22/DaProdVideo
https://github.com/cammo22/DaProdEditorVideo
`;

/** il progetto come sta dentro il .dap: i media puntano ai loro file dentro, niente percorsi di questo computer */
Expand Down
6 changes: 3 additions & 3 deletions src/ui/aggiornamenti.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { avviso, dialogo, h } from './dom';
import { VERSIONE } from './dialoghi';
import { apriLink, invoke, isAndroid, isTauri } from '../platform';

const API = 'https://api.github.com/repos/cammo22/DaProdVideo/releases/latest';
const PAGINA = 'https://github.com/cammo22/DaProdVideo/releases/latest';
const API = 'https://api.github.com/repos/cammo22/DaProdEditorVideo/releases/latest';
const PAGINA = 'https://github.com/cammo22/DaProdEditorVideo/releases/latest';
const CONTROLLO_OGNI = 4 * 3600 * 1000;
const DOPO_ERRORE = 20 * 60 * 1000;

Expand Down Expand Up @@ -99,7 +99,7 @@ export function finestraNovita(versione = VERSIONE) {
if (n) d.corpo.append(h('div', { class: 'novita-titolo' }, n.titolo.replace(/^\[[^\]]+\]\s*—?\s*/, '')), markdown(n.note));
else d.corpo.append(h('p', null, 'Le novità di questa versione sono nel CHANGELOG su GitHub.'));
d.piede.append(
h('button', { class: 'btn', on: { click: () => apriLink('https://github.com/cammo22/DaProdVideo/blob/main/CHANGELOG.md') } }, 'Tutte le versioni'),
h('button', { class: 'btn', on: { click: () => apriLink('https://github.com/cammo22/DaProdEditorVideo/blob/main/CHANGELOG.md') } }, 'Tutte le versioni'),
h('button', { class: 'btn primario', on: { click: d.chiudi } }, 'Si parte'));
}

Expand Down
4 changes: 2 additions & 2 deletions src/ui/dialoghi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export function finestraInfo() {
// la licenza di Clear chiede la scritta e il collegamento in un posto che si trova
h('p', { class: 'nota info-crediti' }, 'Togli rumori "Podcast": Clear, ', h('a', { href: 'https://desertant.com', on: { click: (e: MouseEvent) => { e.preventDefault(); apriLink('https://desertant.com'); } } }, 'Powered by Desert Ant Labs'), ' (Desert Ant Labs Source-Available License 1.0).'));
d.piede.append(
h('button', { class: 'btn', on: { click: () => apriLink('https://github.com/cammo22/DaProdVideo') } }, 'Codice su GitHub'),
h('button', { class: 'btn', on: { click: () => apriLink('https://github.com/cammo22/DaProdVideo/releases/latest') } }, 'Ultima versione'),
h('button', { class: 'btn', on: { click: () => apriLink('https://github.com/cammo22/DaProdEditorVideo') } }, 'Codice su GitHub'),
h('button', { class: 'btn', on: { click: () => apriLink('https://github.com/cammo22/DaProdEditorVideo/releases/latest') } }, 'Ultima versione'),
h('button', { class: 'btn primario', on: { click: d.chiudi } }, 'OK'));
}
2 changes: 1 addition & 1 deletion src/ui/menuBanco.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export function menuBanco(b: ContestoMenu): MenuBanco[] {
{ sep: true },
{ nome: `Novità della ${VERSIONE}`, fn: () => finestraNovita() },
...(isTauri ? [{ nome: 'Aggiornamenti…', fn: () => void finestraAggiornamenti() }] : []),
{ nome: 'Scarica le app (Windows, Mac, Android)', fn: () => apriLink('https://github.com/cammo22/DaProdVideo/releases/latest') },
{ nome: 'Scarica le app (Windows, Mac, Android)', fn: () => apriLink('https://github.com/cammo22/DaProdEditorVideo/releases/latest') },
{ nome: 'Informazioni su DaProd Editor Video', fn: () => finestraInfo() },
]],
];
Expand Down
Loading