Commit Graph
45 Commits
Author SHA1 Message Date
Incido Developer ed9d8d0ce2 fix(release): generate keystore on-the-fly, no KEYSTORE_BASE64 secret needed
dev / Build debug APK (push) Successful in 30s
release / Build & attach release APK (push) Failing after 2m3s
2026-08-20 13:47:22 +12:00
Incido Developer 486e2d01cf fix(release): remove duplicate chmod/ls and duplicate APK check
dev / Build debug APK (push) Successful in 35s
release / Build & attach release APK (push) Failing after 2m1s
2026-08-20 13:39:44 +12:00
Incido Developer a0be9f8123 fix(release): align SDK setup with working dev.yml
dev / Build debug APK (push) Successful in 21s
release / Build & attach release APK (push) Failing after 52s
2026-08-20 13:35:21 +12:00
Incido Developer 04f9cda95a fix(release): verbose build output + set JAVA_HOME before sdkmanager
dev / Build debug APK (push) Successful in 33s
release / Build & attach release APK (push) Failing after 1m7s
2026-08-20 13:31:03 +12:00
Incido Developer 594525ed10 fix(release): use correct APK filenames (app-debug.apk, app-release.apk)
dev / Build debug APK (push) Successful in 32s
release / Build & attach release APK (push) Failing after 33s
2026-08-20 13:27:56 +12:00
Incido Developer 3c8d01cca9 fix(release): fix checkout step, remove duplicate git checkout
dev / Build debug APK (push) Successful in 30s
release / Build & attach release APK (push) Failing after 43s
2026-08-20 13:24:33 +12:00
Incido Developer c4c8ef365f debug(release): add verbose build output
dev / Build debug APK (push) Successful in 37s
release / Build & attach release APK (push) Failing after 1s
2026-08-20 13:21:06 +12:00
Incido Developer 3911bd07f2 fix(release): correct APK path structure
dev / Build debug APK (push) Successful in 33s
release / Build & attach release APK (push) Failing after 1s
2026-08-20 13:18:54 +12:00
Incido Developer 28a8a4e6cc fix(release): quote 'on' key, ensure heredoc indentation
dev / Build debug APK (push) Successful in 36s
release / Build & attach release APK (push) Failing after 2s
2026-08-20 13:15:49 +12:00
Incido Developer 5b1d7cbaf0 test tag trigger
dev / Build debug APK (push) Successful in 28s
2026-08-20 13:09:09 +12:00
Incido Developer 7b298aa6e7 chore: trigger release workflow with new code
dev / Build debug APK (push) Successful in 47s
2026-08-20 13:04:58 +12:00
Incido Developer 7a808c37d5 ci(release): rewrite release workflow — json via python, get-or-create, asset replace
dev / Build debug APK (push) Successful in 28s
2026-08-20 13:02:47 +12:00
Incido Developer 8651a4020f ci(release): write JSON payload via python -c to avoid shell quoting errors
dev / Build debug APK (push) Successful in 37s
2026-08-20 12:54:43 +12:00
Incido Developer 06b4c208a6 ci(release): robust release creation — get-or-create + delete stale assets before re-upload
dev / Build debug APK (push) Successful in 23s
release / Build & attach release APK (push) Failing after 34s
2026-08-20 12:44:06 +12:00
Incido Developer 734f9aecca ci(release): add --max-time 300 --retry 3 to APK asset uploads
dev / Build debug APK (push) Successful in 51s
2026-08-20 12:23:00 +12:00
Incido Developer a39c52cf89 feat(trash): v0.3.7.0 — Trash / soft delete + release docs backfill
dev / Build debug APK (push) Successful in 1m7s
release / Build & attach release APK (push) Failing after 28s
- Deleting a note now soft-deletes it (trashed flag on NoteEntity,
  additive schema, auto-migrated); trashed notes are hidden from Home,
  Favorites, Untagged, tag views, and ordinary search.
- New Trash drawer entry lists soft-deleted notes; each Trash card's
  overflow menu exposes Restore and Delete permanently.
- NoteFilter gains a Trash case; repository gains moveToTrash /
  restoreFromTrash / deletePermanently; backups round-trip the
  trashed state.
- Version bump (lockstep): versionCode 30->31, versionName
  0.3.6.3->0.3.7.0, SettingsViewModel.APP_VERSION, README intro +
  changelog, ReleaseNotes.kt 5-most-recent window.
- Development Plan §10: fix the merged 0.3.4.0/0.3.3.8 table row and
  backfill the missing 0.3.6.2/0.3.6.3 rows; add the 0.3.7.0 row.
- README changelog: backfill the missing 0.3.6.2 row; promote the
  Unreleased Trash row to 0.3.7.0.
2026-08-20 11:52:43 +12:00
Incido Developer 4bbe29851a fix: use doFirst instead of onlyIf for keystore validation task
dev / Build debug APK (push) Failing after 18s
2026-08-20 08:10:06 +12:00
Incido Developer 06d647cf72 fix: defer keystore existence check to assembleRelease execution time, not config time
dev / Build debug APK (push) Failing after 18s
2026-08-20 08:07:29 +12:00
Incido Developer f153ad8702 fix(release): inline keystore gen into build step so gradle can see it
dev / Build debug APK (push) Failing after 23s
2026-08-20 08:04:39 +12:00
Incido Developer c73cd4c816 ci: build both debug and release APKs, attach both to release
dev / Build debug APK (push) Failing after 17s
2026-08-20 07:31:05 +12:00
Incido Developer b95d1814f9 fix(build): v0.3.6.3 — fail-fast on missing keystore
release / Build & attach release APK (push) Successful in 2m21s
- signingConfigs.release now throws GradleException at config time
    when keystore/release.jks is missing, printing the exact keytool
    command from keystore/README.md instead of letting packageRelease
    die later with the cryptic
    "SigningConfig release is missing required property storeFile".

  - .gitea/workflows/release.yml now mints the dev keystore on the
    runner before assembleRelease (previously the signing config
    was empty on a fresh runner, so the release APK was never
    produced).

  - versionCode 29 → 30, versionName "0.3.6.2" → "0.3.6.3";
    APP_VERSION in SettingsViewModel bumped in lockstep; README
    "Current release" + intro paragraph + Changelog row updated.

  Refs: Incido Development Plan §11.
2026-08-20 05:28:00 +12:00
Incido Developer ef5a45201e fix(editor): v0.3.6.1 — left-anchor editor title, balance colour-chooser spacing
dev / Build debug APK (push) Successful in 52s
release / Build & attach release APK (push) Failing after 38s
Two emergency-patch UX fixes on the New/Edit screen:

1. Title left-aligned against the back arrow.
   NoteEditorScreen used CenterAlignedTopAppBar, but with six
   actions on the right (camera, attach, tag, favourite, save, more)
   the visually-centred title landed right next to the action cluster.
   Swap for Material 3's standard TopAppBar so 'New' / 'Edit' sits
   flush right of the back arrow on the left.

2. Colour chooser is now equally spaced between the title bar
   and the top of the note. The picker Row had padding(vertical = 4.dp)
   (4dp above + 4dp below), but the OutlinedTextField below has an
   intrinsic top inset (~16dp) inside its border, so the perceived
   gap from the picker to the first line of the note dwarfed the
   gap from the title bar's bottom to the picker's top. Remove the
   vertical = 4.dp and bracket the Row with two explicit
   Spacer(Modifier.height(12.dp)) siblings so the picker sits 12dp
   from the title bar AND 12dp from the field's top border.

versionCode 27 → 28
versionName 0.3.6.0 → 0.3.6.1
APP_VERSION 0.3.6.0 → 0.3.6.1
2026-08-20 04:06:47 +12:00
Incido Developer 722548176c fix: use TOKEN secret name per Gitea restrictions
dev / Build debug APK (push) Successful in 19s
2026-08-20 03:15:01 +12:00
Incido Developer 998878f174 fix: release upload uses raw binary API (Gitea correct format)
dev / Build debug APK (push) Successful in 18s
2026-08-20 03:07:42 +12:00
Incido Developer 9cc3a1e872 ci: limit gradle heap to 1536m (LXC container has 4GB RAM)
dev / Build debug APK (push) Successful in 2m16s
release / Build & attach release APK (push) Failing after 2m19s
2026-08-20 03:02:23 +12:00
Incido Developer e573d139d8 ci: split into dev (push/PR) and release (tags) workflows
dev / Build debug APK (push) Successful in 1m21s
2026-08-20 02:57:19 +12:00
Incido Developer 1d0994c540 ci: remove step timeout, use explicit env vars in gradle step
build / Assemble debug APK (push) Successful in 54s
2026-08-20 02:36:09 +12:00
Incido Developer d77a408d14 ci: add 30min timeout, use --no-daemon gradle flag
build / Assemble debug APK (push) Successful in 1m28s
2026-08-20 02:32:02 +12:00
Incido Developer ceb0406b14 ci: add Android SDK setup via commandlinetools
build / Assemble debug APK (push) Successful in 4m30s
2026-08-20 02:23:52 +12:00
Incido Developer b75bbe0c39 ci: JDK install to runner workdir (no root, cached)
build / Assemble debug APK (push) Failing after 4m15s
2026-08-20 02:17:55 +12:00
Incido Developer 97c3afa86e ci: JDK install path /home/gitea/jdk (no root), fixed URL encoding
build / Assemble debug APK (push) Failing after 57s
2026-08-20 02:16:10 +12:00
Incido Developer 90c3409373 ci: JDK download via wget (no apt-get, no root)
build / Assemble debug APK (push) Failing after 1m7s
2026-08-20 02:14:07 +12:00
Incido Developer 7830812a25 ci: remove unnecessary --unshallow (full clone is fast)
build / Assemble debug APK (push) Failing after 5s
2026-08-20 02:12:18 +12:00
Incido Developer a6269a821e ci: fix git fetch depth (--depth=0 -> --unshallow)
build / Assemble debug APK (push) Failing after 6s
2026-08-20 02:11:09 +12:00
Incido Developer 5f46579a66 ci: Gitea-native workflow (no GitHub actions API)
build / Assemble debug APK (push) Failing after 6s
2026-08-20 02:09:45 +12:00
Incido Developer 14d61c78d3 feat: v0.3.6.0 — AES-GCM field encryption, PIN/passphrase security, encryption verifier, backup codec
build / Assemble debug APK (push) Failing after 2s
2026-08-20 01:14:15 +12:00
Incido Developer 089926377c fix: move card favourite star to bottom-right so it no longer overlaps the overflow button (v0.3.3.4)
build / Assemble debug APK (push) Failing after 9s
2026-08-17 12:59:10 +12:00
Incido Developer 5b82d2a9fe fix: v0.3.0.3 — batched hashtag snapshot so Recent Tags fills promptly
The user reported the drawer's Recent Tags list eventually rendered,
but only after a couple of minutes. Root cause was inside
NoteRepositoryImpl:

  1. hashtagUsageSnapshot() called noteBox.get(x.noteId) once per
     cross-ref row. Most notes have multiple hashtags, so each note
     was fetched many times — O(M) Box.get calls where M is the xref
     count.

  2. observeHashtagsByRecentUse() called trySend(snapshot()) BEFORE
     setting up the ObjectBox subscription, then also inside the
     observer. The first emission doubled the work; if the first
     trySend ran before the upstream was warm, the data path itself
     was slow.

Two surgical fixes inside NoteRepositoryImpl.kt:

  - hashtagUsageSnapshot(): batch-load notes by id (one Box.get per
    distinct noteId, not per xref) and tags by id (one Box.get per
    distinct tagId). Net reads drop from (M + N) to
    (distinct noteIds + distinct tagIds) — typically a 5–20×
    reduction.

  - observeHashtagsByRecentUse(): rely solely on the ObjectBox
    observer's first fire (ObjectBox delivers the current query
    state immediately on subscribe). Drop the manual pre-subscribe
    trySend.

VERSION
  - app/build.gradle.kts: versionCode 7 → 8, versionName '0.3.0.2' →
    '0.3.0.3'.
  - README.md changelog: new 0.3.0.3 row.
  - Incido Development Plan.txt §10: new 0.3.0.3 row.

VERIFIED
  - ./gradlew assembleDebug assembleRelease both green.
  - versionCode=8, versionName='0.3.0.3'.
  - No INTERNET permission.
  - Release signed (v2 scheme verified).
2026-08-15 03:18:29 +12:00
Incido Developer a4651b3d63 fix: v0.3.0.2 — drop redundant '#' from AddTagSheet placeholder
The placeholder text in AddTagSheet's OutlinedTextField read
'#tag-name', but the field already has a leading '#' icon to
indicate the format — the extra '#' in the placeholder was
redundant. Changed it to 'hashtag-name'.

No data, viewmodel, or storage changes; this is a pure UI string
fix.

VERSION
  - app/build.gradle.kts: versionCode 6 → 7, versionName '0.3.0.1' →
    '0.3.0.2'.
  - README.md changelog: new 0.3.0.2 row.
  - Incido Development Plan.txt §10: new 0.3.0.2 row.

VERIFIED
  - ./gradlew assembleDebug assembleRelease both green.
  - versionCode=7, versionName='0.3.0.2'.
  - No INTERNET permission.
  - Release signed (v2 scheme verified).
2026-08-15 02:56:36 +12:00
Incido Developer dbc4e7acba fix: v0.3.0.1 — editor chip-row to bottom + centred colour picker + hashtags on list cards + dog-ear colour accent
Urgent UI polish patch on top of v0.3.0.0.

EDITOR (NoteEditorScreen.kt)
  - Drop the '+ add' chip from the hashtag row. The '#' icon in the
    top bar is now the only way to add tags.
  - Move the hashtag chip row to the bottom of the editor. The text
    field now uses weight(1f) instead of fillMaxSize() so the row stays
    visible below it.
  - Hide the chip row entirely when the note has no hashtags (no 'No
    tags' placeholder).
  - Centre the colour picker horizontally. Switched from a left-aligned
    LazyRow to a plain Row with Arrangement.spacedBy(12.dp,
    Alignment.CenterHorizontally).

LIST CARDS (NoteListScreen.kt)
  - Replace the small 10 dp colour circle chip (next to the star) with
    a 'dog-ear' colour accent overlaid on the top-right corner of the
    card (a 28 dp right-triangle filled with the note's colour).
  - Add a hashtag row to each card. Shows up to three tags as a
    FlowRow of label-styled text; an '+N' indicator appears when
    there are more than three. Hidden when the note has no tags.
  - Wrap the Card in a Box so the dog-ear can be aligned to
    Alignment.TopEnd.

VERSION + DOCS
  - app/build.gradle.kts: versionCode 5 → 6, versionName '0.3.0.0' →
    '0.3.0.1'. The MAJOR.MINOR.MAINTENANCE.EMERGENCY scheme validator
    remains in place.
  - README.md changelog: new 0.3.0.1 row.
  - Incido Development Plan.txt §10: new 0.3.0.1 row.

VERIFIED
  - ./gradlew assembleDebug assembleRelease both green.
  - Debug 25.7 MB, release 19.8 MB.
  - versionCode=6, versionName='0.3.0.1'.
  - No INTERNET permission in either APK.
  - Release signed (v2 scheme).
2026-08-15 02:46:17 +12:00
Incido Developer d616ce3021 feat: v0.3.0.0 — hashtags (visible on editor) + bolder colour accent + centred title + nav drawer + new version scheme
v0.3.0.0 bundles four user-facing features, the plan-compliance polish
that was deferred from v0.2, and a permanent change to how we name
releases going forward.

VERSION SCHEME (app/build.gradle.kts)
  - versionName = '0.3.0.0' (MAJOR.MINOR.MAINTENANCE.EMERGENCY)
  - versionCode = 5
  - New gradle taskGraph validator fails the build if versionName
    doesn't match ^\d+\.\d+\.\d+\.\d+$ — we can't accidentally
    regress the scheme.
  - History re-keyed across README, Plan §10, CONTRIBUTING.md.

HASHTAGS
  - value class Hashtag (domain/model) with normalise/parseOrNull
    helpers; pattern: ^[a-z0-9][a-z0-9._-]{0,30}$
  - data class HashtagUsage (name, noteCount, lastUsedAt)
  - sealed class NoteFilter { Home, Favorites, Untagged, ByTag(name) }
  - Note gains hashtags: List<String> (sorted ascending)
  - Repository:
      - new entities HashtagEntity (@Index on name) and
        NoteHashtagCrossRef (many-to-many junction)
      - new methods: observeFavorites / observeUntagged /
        observeNotesForHashtag / observeHashtagsByRecentUse /
        observeAllHashtags / searchHashtags / addHashtag / removeHashtag
      - search() now matches content OR hashtag-name (case-insensitive)
      - ObjectBox queries use explicit StringOrder + type annotations
        (kapt's stubs are finicky around Property<String> overloads)

UI
  - CenterAlignedTopAppBar on both list and editor screens
  - List:
      - Hamburger top-left opens a ModalNavigationDrawer (Home /
        Favorites / Untagged / divider / scrollable Recent tags)
      - Drawer selection drives a NoteFilter state held at root
      - Search bar visible only when filter == Home
      - NoteCard redesign — 14 dp vertical gradient stripe +
        tinted surface (12 % colour blend) + 10 dp corner chip
      - Empty-state copy is filter-aware
  - Editor:
      - Persistent hashtag chip row above the text field
      - Tag # icon in the top bar + '+ add' chip opens a ModalBottomSheet
      - Autocomplete suggestions live from repository.searchHashtags
      - '+ Create name' button when the typed value is valid + new
      - Snackbar 'Maximum 5 tags reached.' when the cap is hit
      - Reconciled on save via addHashtag / removeHashtag diff

DOCS
  - README v0.3.0.0 section + re-keyed changelog
  - Development Plan §10 history re-keyed (0.1.0.0 / 0.1.1.0 /
    0.2.0.0 / 0.2.0.1 / 0.3.0.0)
  - CONTRIBUTING.md release-process note updated for the new scheme

VERIFIED
  - ./gradlew assembleDebug assembleRelease both green
  - Debug 25.7 MB, release 19.8 MB (v2-signed)
  - versionCode=5, versionName='0.3.0.0'
  - No INTERNET permission
  - Validator regression: setting versionName='0.3' causes
    assembleDebug to fail with the new scheme error message
2026-08-15 02:02:53 +12:00
Incido Developer 84900838f7 fix(notelist): search icon now actually opens the search bar
In v0.2 the search-active flag lived on a separate StateFlow that
the composable never observed: 'if (state.isSearchActive)' in
NoteListScreen was always false, so tapping the search icon toggled
the internal flag but never updated the UI.

Refactor NoteListViewModel.uiState to use combine() over (notes,
isSearchActive, rawQuery) so the flag and the current query are
folded into the same emitted NoteListUiState. The composable already
reads state.isSearchActive, so no changes are needed there.

Result: tapping the search icon shows the search field; typing filters
the list via the existing ObjectBox 'contains' query; tapping again
closes.
2026-08-14 23:48:54 +12:00
Incido Developer 5e1b77bedf feat: v0.2 - polish, favourites, search, colours, checklists, signing
v0.2 bundles all four phases from the planning session into a single
shippable release. versionCode 2 -> 3, versionName 0.1.1 -> 0.2.

DOMAIN
  - Add NoteColor enum (NONE / BLUE / GREEN / AMBER / RED / PURPLE).
  - Note: isFavorite + color fields; checklistCounts / checklistSummary
    helpers parsing '- [ ]' / '- [x]' lines.
  - NoteRepository: new search(query) + setFavorite(id, value) methods.

DATA
  - NoteEntity: additive @Index isFavorite + colorKey (Short).
  - NoteRepositoryImpl: search uses ObjectBox 'contains' case-insensitive;
    observeAll + search sort favourites-first then updatedAt DESC.

UI
  - NoteListViewModel: debounced(150ms) query -> repository.search;
    openSearch / closeSearch helpers; toggleFavorite.
  - NoteListScreen: search bar in top app bar; star icon + 4dp colour
    stripe per card; checklist summary line ('N open - M done').
  - NoteEditorViewModel: toggleFavorite + setColor; initial-snapshot
    fields captured on first non-null observeById for dirty detection.
  - NoteEditorScreen: BackHandler + AlertDialog 'Discard changes?' on
    unsaved edits; star toggle in top bar; LazyRow of colour swatches.

POLISH
  - Discard-confirm dialog implements Development Plan §5.2.
  - Real release signing config (signingConfigs.release pointing at the
    dev keystore in keystore/); keystore/release.jks gitignored;
    keystore/README.md documents generation & rotation.
  - KMP migration deferred to v0.5 (tracked in plan §10).

COMMUNITY / GITEA
  - .gitea/workflows/build.yml: assembleDebug on push & PR, APK as
    artefact.
  - CONTRIBUTING.md, CODE_OF_CONDUCT.md (Contributor Covenant v2.1),
    .gitea/ISSUE_TEMPLATE/{bug_report,feature_request}.yml,
    .gitea/PULL_REQUEST_TEMPLATE.md.
  - README: v0.2 changelog + Gitea remote-setup instructions.

VERIFIED
  - ./gradlew assembleDebug assembleRelease both green.
  - Debug APK 25.6 MB, release 19.8 MB, both v0.2 / versionCode 3.
  - apksigner verify: 'Verifies' / v2 scheme true.
  - No INTERNET permission in either APK (privacy posture unchanged).
2026-08-14 23:27:27 +12:00
Incido Developer 2215c3447b fix: add missing padding import in NoteEditorScreen
Required after introducing contentWindowInsets + .padding(padding) for
the v0.1.1 IME fix; otherwise the composeApp module fails to compile.
2026-08-14 22:54:44 +12:00
Incido Developer 1477e2426d Initial v0.1.1 scaffold
- Multi-module Android project: app/ (entry point), composeApp/ (UI),
  core/domain/ (pure-Kotlin interfaces), core/data/ (ObjectBox-backed
  repository).
- Privacy-first: no INTERNET permission, no analytics, auto-backup
  disabled (data_extraction_rules.xml excludes all domains).
- AGPL-3.0 licensed with full LICENSE + NOTICE files.
- Material 3 UI with dynamic color on Android 12+, dark/light theme
  follows system.
- v0.1.1 polish:
    * Editor text field shrinks above the soft keyboard (Scaffold
      contentWindowInsets union(systemBars, ime) + windowSoftInputMode
      adjustResize).
    * List cards now render title (first non-empty line, titleMedium)
      plus abbreviated body preview (max 2 lines, ellipsised). Empty
      notes display as 'Untitled'.
    * versionCode 1 -> 2, versionName 0.1.0 -> 0.1.1.
2026-08-14 22:51:59 +12:00