Commit 30e3d1ef authored by Kourser's avatar Kourser
Browse files

Release 1.2.0 for Linux with an interface aligned on the Mac

The Linux client now looks and works like the Mac app:
- a sidebar with the vault switcher, "Nouvelle entrée", Journal, Agenda,
  Souvenirs vocaux, Pages, tags and collections, Corbeille and Réglages;
- a timeline of cards grouped by month, with cropped photos (rounded with
  cairo, since GTK 3 does not clip children), title, excerpt, tags and date,
  and the "Question du jour" card;
- writing in the page with autosave at each pause instead of a modal dialog
  with a Save button. Saves run one at a time on a separate worker, each on
  the revision the previous one published, so typing is never blocked and no
  concurrent branch is created; moving to the trash goes through the same
  queue. Voice memos keep their dialog;
- floating "micro" and "Écrire" buttons on the timeline only, search in the
  header bar, sync and import actions in the ⋮ menu.

The bridge now reports whether an entry has a photo (from its media
inventory, since the fast listing leaves photos aside) and a plain excerpt.

Version 1.2.0: project.yml, the Linux user agent, CHANGELOG (also the GitLab
release notes), Linux/README and the Linux links of the download page in the
24 languages; macOS and Android links stay on 1.1.0. build-deb.sh takes the
Debian revision from ENVORENN_DEB_REVISION (1 by default) and depends on
python3-gi-cairo.

Checks: the bridge builds in the Debian 12 image; the arm64 package installs,
/usr/bin/envorenn starts and the installed engine reads the vault; the
timeline, editor, autosave, filters and navigation were checked in
screenshots under Xvfb. Not tried on a real Linux desktop.

Co-Authored-By: default avatarClaude Opus 5.5 <noreply@anthropic.com>
parent dd63f0e9
Loading
Loading
Loading
Loading
+18 −4
Changes for CHANGELOG.md: 18 added lines, 4 removed lines.
Original line number Diff line number Diff line
# Historique des versions

## Non publié
## 1.2.0 — 20 novembre 2026

Cette version est publiée pour Linux (Debian 12, amd64 et arm64). Les applications
iOS et macOS suivront avec le même numéro.

- Plusieurs coffres sur un même appareil, un ouvert à la fois, chacun avec ses
  notes, ses brouillons et sa propre synchronisation. Sous Linux, le sélecteur
  en tête de la barre latérale ouvre, ajoute, renomme ou retire un coffre ;
  retirer un coffre de la liste ne supprime pas ses fichiers.
- Synchronisation avec un dossier synchronisé par le système (Syncthing, client
  Nextcloud ou OneDrive de bureau) : menu ⋮ › « Dossier synchronisé… ». Le coffre
  reste sur l'appareil ; les envois sont vérifiés par leur empreinte SHA-256.
- Nouvelle interface Linux, alignée sur celle du Mac : barre latérale (journal,
  agenda, souvenirs vocaux, pages, tags, collections), chronologie de cartes
  illustrées par mois, question du jour, boutons « micro » et « Écrire ».
- Écriture dans la page, avec enregistrement automatique à chaque pause : plus
  de bouton « Enregistrer ». Tags et collections se modifient sous le texte.
- Synchronisation Nextcloud plus rapide sans changement : les dossiers distants
  sont explorés par lots de requêtes simultanées, et un dossier dont l'ETag n'a
  pas bougé est rejoué depuis un cache local avec toute sa descendance. Sur un
  coffre réel, une synchronisation sans changement envoyait 140 requêtes
  successives (environ 20 s). Le cache est lié au serveur, au compte et au
  dossier, et oublié régulièrement pour imposer une exploration complète.
  coffre réel, une synchronisation sans changement passe de 409 requêtes en
  51 s à 108 requêtes en 5 s.

## 1.1.0 — 14 novembre 2026

+1 −1
Changes for Linux/README.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ même format de coffre que les applications iOS et macOS.
Depuis le dossier du paquet, lancer la commande correspondant à la machine.

```sh
sudo apt install ./envorenn_1.1.0-2_amd64.deb
sudo apt install ./envorenn_1.2.0-1_amd64.deb
```

Utiliser le fichier `arm64` sur ARM 64 bits. Ouvrir **Envorenn** depuis le menu
+12 −3
Changes for Linux/Sources/EnvorennLinuxCore/Bridge.swift: 12 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -34,6 +34,10 @@ private struct Item: Encodable {
    let audio: String?
    var conflict = false
    var search = ""
    /// Pour les cartes du journal : une photo à afficher, et le texte sans
    /// son titre ni sa syntaxe Markdown.
    var photo = false
    var preview = ""
}

private struct Reply: Encodable {
@@ -259,9 +263,12 @@ private struct Vault {
            do {
                let heads = try journal.currentFiles(revisions)
                for file in heads {
                    let entry = try journal.readListing(file).entry
                    let (entry, media) = try journal.readListing(file)
                    guard entry.document?.kind != .folder else { continue }
                    var item = row(file, entry)
                    // La lecture rapide laisse les photos à part : leur
                    // inventaire suffit à savoir qu'une carte en montrera une.
                    item.photo = media.photoCount > 0
                    item.conflict = heads.count > 1
                    items.append(item)
                }
@@ -276,11 +283,13 @@ private struct Vault {
    }

    private func row(_ file: JournalEntryFile, _ entry: JournalEntry) -> Item {
        let title = JournalMarkdown.previewText(entry.text).split(whereSeparator: \.isNewline).first.map(String.init)
        let lines = JournalMarkdown.previewText(entry.text).split(whereSeparator: \.isNewline).map(String.init)
        let title = lines.first
        return Item(id: file.relativePath, entryID: file.id, group: entry.document?.kind.rawValue ?? "journal",
                    title: String((title ?? "Sans titre").prefix(120)), tags: entry.organization?.tags ?? [],
                    collections: entry.organization?.collections ?? [], date: entry.createdAt, deleted: entry.isDeleted,
                    audio: nil, search: entry.text)
                    audio: nil, search: entry.text, photo: entry.photo != nil,
                    preview: String(lines.dropFirst().joined(separator: " ").prefix(280)))
    }

    private func row(_ memo: Memo, deleted: Bool) -> Item {
+1 −1
Changes for Linux/Sources/EnvorennLinuxCore/NetworkBridge.swift: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ struct NetworkReply: Encodable {
}

struct NetworkBridge {
    static let userAgent = "Envorenn Linux/1.0.0"
    static let userAgent = "Envorenn Linux/1.2.0"
    let layout: VaultLayout
    let deviceID: String
    let client = CurlHTTPClient()
+4 −2
Changes for Linux/build-deb.sh: 4 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -9,7 +9,9 @@ output=$(CDPATH= cd -- "$output" && pwd)
arch=$(dpkg --print-architecture)
version=$(sed -n 's/^[[:space:]]*MARKETING_VERSION: "\([^"]*\)".*/\1/p' "$root_dir/project.yml" | head -n 1)
test -n "$version"
version="$version-2"
# Révision Debian : 1 pour une nouvelle version, à augmenter pour reconstruire
# un paquet de la même version.
version="$version-${ENVORENN_DEB_REVISION:-1}"

work=$(mktemp -d)
trap 'rm -rf "$work"' EXIT HUP INT TERM
@@ -73,7 +75,7 @@ Priority: optional
Architecture: $arch
Maintainer: Envorenn
Installed-Size: $(du -sk "$stage/usr" | cut -f1)
Depends: python3, python3-gi, gir1.2-gtk-3.0, ffmpeg, curl, ca-certificates, libsecret-tools, $libraries
Depends: python3, python3-gi, python3-gi-cairo, gir1.2-gtk-3.0, ffmpeg, curl, ca-certificates, libsecret-tools, $libraries
Description: journal personnel et souvenirs vocaux
 Écrivez et retrouvez vos notes Markdown et vos mémos vocaux.
 Avec synchronisation Nextcloud, agenda CalDAV et transcription locale.
Loading