Commit Graph
24 Commits
Author SHA1 Message Date
JustZoe101 1ee0f95b3f feat: demo mode + demo end-to-end tests
- built-in mock Gitea backend (src/core/demo): repositories, issues, comments,
  reactions, labels/milestones, pulls, files, diff, reviews, inline comments,
  releases, notifications, activity, Actions runs/jobs/logs/artifacts/workflows,
  repo settings, orgs/teams/packages/credentials/admin, and benign writes
- session wires demoFetch for the demo instance; welcome screen 'Try the demo'
- demo E2E (16 tests over the real endpoint layer) + UI render E2E; minimal
  reanimated jest mock; README demo-mode section
2026-10-09 19:18:41 +02:00
JustZoe101 fbefa0d345 test/docs: endpoint tests for label/milestone/workflow/package-link; refresh docs
- endpoint tests for createLabel/createMilestone/setWorkflowEnabled/link+unlink (129 total)
- FEATURE_PARITY, ROADMAP and README updated: CodeMirror 6, search/replace,
  labels/milestones CRUD, filters/sorting, workflow enable/disable, package
  link/unlink are done
2026-10-09 19:10:17 +02:00
JustZoe101 883440b8be feat: CodeMirror 6 editor with in-editor search/replace
- bundle CodeMirror 6 (+ langs/search) via scripts/build-editor.mjs into a
  generated TS module (inlined into the WebView; no remote code, no asset
  pipeline)
- CodeEditor now renders CodeMirror 6 with line numbers, language modes and a
  search/replace panel exposed from a toolbar button
- npm run build:editor; language mapping by file extension
2026-10-09 19:08:38 +02:00
JustZoe101 a104d65978 feat: labels/milestones CRUD, issue filters+sort, workflow enable/disable, package link/unlink
- labels screen (create/edit/delete) and milestones screen (create/close/delete)
- repo issues: label + milestone server-side filters and client-side sorting
- Actions settings: list workflows with enable/disable toggle
- packages: link/unlink to a repository
- endpoints/hooks/i18n (en/nl)
2026-10-09 19:06:07 +02:00
JustZoe101 1226f154cc docs: refresh parity matrix, roadmap and README for full phase coverage
Reflect all implemented features (transfer, Actions secrets/variables/dispatch/
artifacts, asset upload, admin, teams/projects, file search, reactions,
subscriptions) and document the remaining honest gaps (OAuth, content search,
in-editor search/replace, detached diff-position caveat).
2026-10-09 18:47:31 +02:00
JustZoe101 207ac723af feat: issue subscriptions and Actions workflow dispatch
- subscribe/unsubscribe to an issue from the detail screen
- dispatch a workflow_dispatch run (workflow + ref) from Actions settings
- i18n (en/nl)
2026-10-09 18:45:47 +02:00
JustZoe101 eed9c91274 feat: inline review-comment composer + WebView code editor
- diff lines are tappable; PullDiff opens a composer that posts a positioned
  inline review comment (path + new_position)
- CodeEditor: self-contained WebView editor with line numbers, tab handling and
  lightweight syntax highlighting (no remote code / bundled editor assets);
  used by Quick Edit
- i18n (en/nl) for inline comments
2026-10-09 18:43:05 +02:00
JustZoe101 587bf732b5 feat: release asset upload, transfer, Actions secrets/variables/artifacts, admin, teams/projects, file search, reactions, attachments, package version delete
- client: multipart postForm; expo-document-picker + react-native-webview deps
- release assets: upload (DocumentPicker) and delete; run artifacts list
- repository transfer; Actions secrets + variables management screen
- admin (users/orgs/repos) screen gated on is_admin
- org teams, repo projects (read-only); find-file via recursive git tree
- issue reactions toggle and attachments list; package version delete
- endpoint tests (126 total)
2026-10-09 18:40:08 +02:00
JustZoe101 b2b44bca73 docs: mark phases 3-5 complete, update parity matrix and limitations 2026-10-09 18:20:24 +02:00
JustZoe101 cd448bdd52 feat(phase5): Actions re-run/cancel, package deletion, inline-comment tests
- action run controls (re-run / cancel) with cache invalidation
- package deletion from the Packages screen
- endpoint tests for inline review comments + replies (121 tests)
2026-10-09 18:19:14 +02:00
JustZoe101 b810292b1f feat(phase5): inline review comments, credentials write, deploy keys, org create, profile edit
- inline (line-level) review comments: list per review + reply API/hook,
  rendered under each review on the PR detail screen
- credentials: SSH key/GPG key/token create+delete endpoints and hooks;
  deploy keys (repo keys) management screen
- user profile edit (GET/PATCH /user/settings) screen
- organization creation screen; wired into Settings and Organizations
- endpoints.test.ts extended to 120 tests
2026-10-09 18:16:51 +02:00
JustZoe101 6d0b536009 feat(phase5): deploy keys, profile editing, organization creation
- API: repo deploy keys (list/add/delete), user settings GET/PATCH, org create
- hooks: useRepoKeys/useAddRepoKey/useDeleteRepoKey; useUserSettings,
  useUpdateUserSettings, useCreateOrg
- screens: DeployKeys, Profile (edit), CreateOrg; wired into RepoSettings,
  Settings and Organizations
- endpoint body-shape tests for repo update, release, deploy key, user settings,
  org create and Action run filters (120 tests total)
2026-10-09 18:13:54 +02:00
JustZoe101 fa1ebc9184 feat(phase5): actions, repo settings, collaborators, webhooks, protections, orgs, packages, credentials, release management
- API: Actions (workflows/runs/jobs/logs getText), repo create/edit/delete,
  collaborators, webhooks, branch protections, orgs, packages, user keys/GPG
  keys/tokens, release create/edit/delete
- hooks: features/actions, repositories/settings-queries, features/profile
- screens: Actions + run detail (expandable job logs), RepoSettings,
  Collaborators, Webhooks, Protections, CreateRepo, Organizations, OrgRepos,
  Packages, Credentials, ReleaseCompose; releases list/detail management
- navigation + i18n (en/nl) wired for all new screens
2026-10-09 18:10:04 +02:00
JustZoe101 5e8c9492b3 feat(phase5): star/watch/fork, releases, wiki fallback, capability probe
- endpoints: is-starred (404→false), star/unstar, subscription watch/unwatch,
  fork, releases list/detail
- hooks: useIsStarred/useToggleStar, useSubscription/useToggleWatch,
  useForkRepository, useReleases/useRelease
- repo overview: star/watch/fork actions, Releases + Wiki entries
  (wiki via explicit browser fallback gated by capability probe)
- screens: Releases list, Release detail with downloadable assets
- core/capabilities: version parsing + per-capability minimum versions + tests
- i18n (en/nl); README/ROADMAP/FEATURE_PARITY updated for phases 3-5
2026-10-09 17:34:15 +02:00
JustZoe101 c9dd49446a feat(phase4): Quick Edit, Contents API commit flow, editor workspace
- portable UTF-8 base64 helpers (Hermes-safe), used for file round-trips
- endpoints: updateFileContents, createFileContents, createPull
- hooks: useCommitFile (invalidates repo cache), useCreatePull
- FileEdit screen: native monospace editor, dirty/discard, branch picker,
  commit-to-new-branch, protected-branch handling, post-commit PR creation;
  stale-SHA 409 surfaces as a conflict message
- settings: editor URL template; repo overview 'Open in editor' (no token)
- tests: base64 round-trips (accents/emoji), editor URL expansion
2026-10-09 17:19:06 +02:00
JustZoe101 ddd834b7ac feat(phase3): comments, issue compose, PR diff viewer, reviews, merge, checks
- API: comments CRUD, create/edit issue, milestones, collaborators, pull files,
  raw unified diff (getText), reviews, merge, combined commit status
- hooks: comment thread + composer mutations, issue compose mutations,
  pull files/diff/reviews, create review, merge, combined status
- UI: TextArea, ChipSelect, CommentItem, CommentComposer, native DiffView
  (parseDiff), StatusChecks
- screens: IssueCompose (create/edit), PullFiles, PullDiff, PullReview; issue
  detail gains thread + close/reopen; PR detail gains reviews, merge, files,
  checks; commit detail shows checks
- navigation/types + i18n (en/nl) updated; centralized safeHost helper
- tests: diff parser, endpoint body shapes (merge capitalisation), client getText
2026-10-09 17:02:08 +02:00
JustZoe101 f641238b6f docs: README, architecture, security, feature parity and roadmap
- README: features, tech stack, install/run, config, commands, structure,
  security summary, known limitations
- ARCHITECTURE: navigation graph, state model, data flow, cross-cutting notes
- SECURITY: credential storage, transport, biometrics, account isolation
- FEATURE_PARITY: implemented vs planned matrix per API area
- ROADMAP: Phase 3 read paths marked done; write paths still planned
2026-10-09 16:41:24 +02:00
JustZoe101 df0ac71bc3 test(types): bridge the Jest global value for typechecking
@types/jest v29 declares the jest namespace without a global value; reference
it explicitly and re-add the global used by setup/test files.
2026-10-09 16:41:21 +02:00
JustZoe101 0a889ebfed feat(features): auth, accounts, home, repositories, issues, notifications
- auth: welcome/connect screens, shared connect form, connect flow, app lock
- accounts: session hook, actions, switcher + add-account screens
- home: dashboard (identity, shortcuts, recent repos, assigned issues,
  review requests, activity, unread badge)
- repositories/repository: list+search, overview, files, file viewer,
  commits, commit detail, branches, tags, repo issues/pulls, issue/pull detail
- issues/notifications: cross-repo search, query hooks, inbox with read
  marking and lifecycle-aware polling
- settings: theme/language/biometrics/poll interval/cache/about
2026-10-09 16:41:21 +02:00
JustZoe101 ad81db07b3 feat(app): React Navigation shell and i18next setup
- React Navigation 7: conditional root stack (Auth | Main | Repository |
  Settings | Accounts modal), 5 bottom tabs with nested native stacks
- typed param lists, deep-link config, header options, root-nav helper
- providers: gesture handler, safe area, theme, persisted query client, app lock
- i18next + expo-localization (en/nl), persisted language preference
2026-10-09 16:41:17 +02:00
JustZoe101 08229fdf86 feat(ui): component kit, layout primitives and git components
- UI kit: button, card, field, avatar, badge, list-item, segmented, skeleton,
  empty/error/loading state views, icon + icon-button, search bar
- layout: Screen, SectionHeader, header buttons, QueryList with pull-to-refresh
- git components: repo list item, file rows/breadcrumbs, commit row, issue row,
  native Markdown renderer, notification row with subject-URL parsing
2026-10-09 16:41:17 +02:00
JustZoe101 e0ca502cc9 feat(core): API client, account registry, secure token store, security
- typed transport-only Gitea client (auth header, timeouts, pagination, ApiError)
- instance URL normalization/validation: HTTPS enforced, creds rejected
- pure account registry with deterministic active-account reassignment
- SecureStore token store (token.<id> under gitea-native.credentials)
- account-scoped TanStack query keys + purgeAccountCache
- Zustand accounts store, biometric helper, error/format utils
2026-10-09 16:41:10 +02:00
JustZoe101 7b89c594ea feat(theme): semantic design system and light/dark provider
- brand tokens (primary #609926), light/dark semantic colour palettes
- spacing/radius/typography tokens, monospace font for code and git data
- AppThemeProvider applying persisted light/dark/system preference
2026-10-09 16:41:10 +02:00
JustZoe101 26a6eba1e5 chore: scaffold Expo app with tooling, config, original icons and licence
- Expo SDK 57 / React Native 0.86 / TypeScript strict
- ESLint (expo config), Prettier, jest-expo setup
- app identifiers org.giteanative.app, deep-link scheme giteanative
- original git-branch app icons generated from scratch (scripts/generate-icons.py)
- MIT licence for the Gitea Native contributors (unofficial project)
2026-10-09 16:41:06 +02:00