Skip to content

Releases

notes-v0.1.9

Choose a tag to compare

@github-actions github-actions released this 12 Nov 18:13

Opening a note and switching to another no longer asks about unsaved changes. The host editor rewrites markdown in its own way (it escapes characters like ~ and adds a trailing newline), and the editor treated that rewrite as an edit. The clean state is now the editor output after loading the note, so the check only fires when you actually change the title or the body.

The extension tests also run in CI from now on.

What's Changed

  • docs: put the backend first and state that the app is two pieces by @gnacho in #59
  • fix(deps): force patched minimatch and zod in the extension by @gnacho in #61
  • fix(editor): ignore markdown normalization in dirty state by @gnacho in #63

Full Changelog: notes-v0.1.8...notes-v0.1.9

notes-v0.1.8

Choose a tag to compare

@github-actions github-actions released this 12 Nov 06:53

The README now documents the native Android client, and the release workflow fails when the tag and the package version disagree, so a zip can no longer carry a manifest with another version. No code change in the extension.

What's Changed

  • docs: document the Android client by @gnacho in #57
  • ci: fail the release when the tag and the manifest disagree by @gnacho in #58

Full Changelog: notes-v0.1.7...notes-v0.1.8

notes-v0.1.7

Choose a tag to compare

@github-actions github-actions released this 11 Nov 15:21

The notes editor now uses the WYSIWYG editor that ships with OpenCloud: bold, lists and quotes work on the rendered text, the source view is one click away, and the note is still stored as markdown so the Notes API and Iotas keep working. The rest of the release lines the app up with OpenCloud 9 (icon and button styling, column widths, typography, a single scroll container for the note list) and adds the CI that now builds, vets and scans the backend and typechecks the extension.

What's Changed

  • fix(extension): match the OpenCloud 9 app icon and button styling by @gnacho in #41
  • fix(ui): match the host column width and rework the notes sidebar and zen mode by @gnacho in #42
  • refactor(ui): unify the app sidebar styling by @gnacho in #43
  • style(ui): match the official app typography and row metrics by @gnacho in #44
  • fix(ui): use a single scroll container for the note list by @gnacho in #45
  • docs: document installing and updating with ocapps-ext by @gnacho in #46
  • feat: use the host WYSIWYG (tiptap) editor for notes by @gnacho in #48
  • ci: build, vet and scan the backend and typecheck the extension by @gnacho in #50
  • chore(deps-dev): bump dompurify from 3.4.16 to 3.4.17 in /extension by @dependabot[bot] in #39
  • chore(deps-dev): bump re2js from 2.8.6 to 2.10.0 in /extension by @dependabot[bot] in #40
  • chore(deps-dev): bump markdown-it from 15.0.2 to 15.0.3 in /extension by @dependabot[bot] in #36
  • chore(deps-dev): bump vite from 8.3.2 to 8.3.8 in /extension by @dependabot[bot] in #37
  • chore(deps): bump follow-redirects from 1.16.0 to 1.16.3 in /extension by @dependabot[bot] in #51
  • chore(deps-dev): bump qs from 6.16.0 to 6.17.1 in /extension by @dependabot[bot] in #54
  • chore(deps): bump fast-xml-parser from 5.11.2 to 5.12.0 in /extension by @dependabot[bot] in #52
  • chore(deps): bump @vitest/mocker and vitest in /extension by @dependabot[bot] in #53

New Contributors

Full Changelog: notes-v0.1.6...notes-v0.1.7

ocnotes v0.1.6

Choose a tag to compare

@gnacho gnacho released this 05 Oct 14:49

Dependency and security maintenance. Same refresh as ocnews: the extension moves to the OpenCloud 7.4 SDK line and npm audit goes from 51 vulnerabilities to zero, plus dompurify 3.4.16 and markdown-it 15.0.2. No functional changes.

Full changelog

  • #33/#34 Extension dependency refresh: @opencloud-eu/* 7.3.0 -> 7.4.0, dompurify 3.4.16, markdown-it 15.0.2, vite 8.3.2, vue 3.5.43, vue-router 5.3.1, vue-tsc 3.3.12, overrides axios ^1.20.0 / adm-zip ^0.6.1 / ws ^8.21.3
  • TypeScript stays at 6 (typescript-eslint peer < 6.1)
  • Verified: npm audit 0 vulnerabilities, build passes, vue-tsc 0 errors

ES: Mantenimiento de dependencias y seguridad: línea SDK 7.4, npm audit de 51 a 0, más dompurify 3.4.16 y markdown-it 15.0.2. Sin cambios funcionales.

notes-v0.1.6

Choose a tag to compare

@github-actions github-actions released this 05 Oct 14:48

Dependency and security maintenance. Same refresh as ocnews: the extension moves to the OpenCloud 7.4 SDK line and npm audit goes from 51 vulnerabilities to zero, plus dompurify 3.4.16 and markdown-it 15.0.2. No functional changes.

Full changelog

  • #33/#34 Extension dependency refresh: @opencloud-eu/* 7.3.0 -> 7.4.0, dompurify 3.4.16, markdown-it 15.0.2, vite 8.3.2, vue 3.5.43, vue-router 5.3.1, vue-tsc 3.3.12, overrides axios ^1.20.0 / adm-zip ^0.6.1 / ws ^8.21.3
  • TypeScript stays at 6 (typescript-eslint peer < 6.1)
  • Verified: npm audit 0 vulnerabilities, build passes, vue-tsc 0 errors

ES: Mantenimiento de dependencias y seguridad: línea SDK 7.4, npm audit de 51 a 0, más dompurify 3.4.16 y markdown-it 15.0.2. Sin cambios funcionales.

v0.1.4

Choose a tag to compare

@gnacho gnacho released this 13 Sep 11:55

English

Features

  • Drag a note onto a sidebar category to assign it
  • Attachments: the Notes API v1.4 upload and download endpoints, with de-duplicated names and a 32 MiB cap, plus the editor button that uploads a file and inserts its reference and the preview that renders it
  • Warn about unsaved changes before switching notes, with Save / Discard / Cancel
  • Notes and settings are scoped per user. The schema is migrated with versioned migrations (PRAGMA user_version) and pre-existing rows are assigned to the owner configured in OCNOTES_OWNER

Fixes

  • Notes API compatibility with Iotas: capabilities answer JSON when the client asks for it, favorite is accepted as 1/0, readonly is always returned, and pruneBefore returns {"id":N} stubs instead of dropping the recently modified notes, which made the client treat them as deleted and remove them
  • Discarding on the new-note path clears the pending edits immediately
  • The create buttons Tailwind utilities are generated by the extension build instead of relying on the host compiled CSS

Notes

  • Existing installations must set OCNOTES_OWNER to the owner user id before starting; the service refuses to start otherwise, rather than leaving the existing rows invisible
  • The first start after upgrading takes a verified pre-migration backup next to the database

Español

Novedades

  • Arrastrar una nota sobre una categoría de la barra lateral para asignarla
  • Adjuntos: endpoints de subida y descarga de la API v1.4, con nombres deduplicados y tope de 32 MiB, más el botón del editor que sube el fichero e inserta su referencia y la vista previa que lo muestra
  • Aviso de cambios sin guardar antes de cambiar de nota, con Guardar / Descartar / Cancelar
  • Las notas y los ajustes están separados por usuario. El esquema se migra con migraciones versionadas (PRAGMA user_version) y las filas existentes se asignan al propietario configurado en OCNOTES_OWNER

Correcciones

  • Compatibilidad de la API con Iotas: capabilities responde JSON cuando el cliente lo pide, favorite se acepta como 1/0, readonly se devuelve siempre y pruneBefore devuelve stubs {"id":N} en vez de omitir las notas modificadas recientemente, lo que hacía que el cliente las tomara por borradas y las eliminara
  • Descartar en la ruta de nota nueva limpia los cambios pendientes al instante
  • Las utilidades Tailwind de los botones de crear las genera el build de la extensión en vez de depender del CSS compilado del host

Notas

  • Las instalaciones existentes deben definir OCNOTES_OWNER con el id del propietario antes de arrancar; el servicio se niega a arrancar en caso contrario, para no dejar las filas existentes invisibles
  • El primer arranque tras actualizar deja un backup pre-migración verificado junto a la base de datos

Refs #6, #7, #18, #20, #22, #24, #26, #28

v0.1.2

Choose a tag to compare

@gnacho gnacho released this 13 Sep 08:08

English

Features

  • Three-column UI: category sidebar, grouped note list with search and a resizable width, and a markdown editor with toolbar, undo/redo, emoji picker, category selector, star, view modes and a 760px reading column
  • Markdown preview rendered with markdown-it and sanitized with DOMPurify; links open in a new tab
  • Embedded images in the preview are served through a signed image proxy (HMAC) with an SSRF guard and a disk cache
  • Editor settings: view type, notes folder, suffix, font family and font size
  • Creating a note now asks for the title before saving anything; Escape, Cancel and a blank title create nothing
  • Deleting a note now asks for confirmation

Fixes

  • Sporadic 502s: ReadHeaderTimeout was set to 10 microseconds instead of 10 seconds
  • Creating a note no longer leaves orphan empty notes behind (the two silent auto-creates are gone)
  • Zen mode: the dead 1440px width rule is gone, the reading column stays at 760px

Español

Novedades

  • Interfaz de tres columnas: barra lateral de categorías, lista de notas agrupada con búsqueda y ancho ajustable, y editor markdown con barra de herramientas, deshacer/rehacer, selector de emojis, selector de categoría, estrella, modos de vista y columna de lectura de 760px
  • Vista previa markdown con markdown-it y saneada con DOMPurify; los enlaces abren en pestaña nueva
  • Las imágenes incrustadas en la vista previa se sirven por un proxy firmado (HMAC) con protección SSRF y caché en disco
  • Ajustes del editor: tipo de vista, carpeta de notas, sufijo, fuente y tamaño
  • Al crear una nota ahora se pide el título antes de guardar nada; Escape, Cancelar y un título en blanco no crean nada
  • Al borrar una nota ahora se pide confirmación

Correcciones

  • 502 esporádicos: ReadHeaderTimeout estaba en 10 microsegundos en vez de 10 segundos
  • Crear una nota ya no deja notas vacías huérfanas (eliminadas las dos auto-creaciones silenciosas)
  • Modo zen: eliminada la regla muerta de 1440px, la columna de lectura se mantiene en 760px

Refs #5, #9, #10, #11, #12, #13

Notes v0.1.4

Choose a tag to compare

@gnacho gnacho released this 17 Sep 10:23

Store release zip for OpenCloud App Store.

v0.1.0

Choose a tag to compare

@gnacho gnacho released this 19 Aug 17:50
c82af76

First working release.

  • Backend: Nextcloud Notes API v1.4 with Iotas compatibility (notes CRUD with If-Match etags, settings, OCS capabilities stub)
  • Web extension for OpenCloud: three views (list, editor, settings), Bearer session auth
  • Fixes: Basic auth wired to the graph endpoint (#1), 404 on every web request due to double-slash URL join (#2), app stylesheet missing from the bundle (#2)

Verified end to end in production against the public URL.