Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
af1527d
feat(filey-erp): redesign to Filey Inventory Management design system
claude May 16, 2026
0978184
feat(filey-erp): local PDF toolkit, Company Details settings, 10 invo…
claude May 16, 2026
634266c
feat(filey-erp): promote PDF tools to top-level Tools nav tab
claude May 16, 2026
f80e3a9
fix(filey-erp): PDF toolkit bug fixes and UX polish
claude May 16, 2026
34b36d4
feat(filey-erp): mockup invoice builder, CRM drag-drop pipeline, FTA …
claude May 17, 2026
28bfb8f
feat(filey-erp): split-screen sign-in (easemize-style)
claude May 17, 2026
65d765a
fix(filey-erp): design-system consistency pass across the app
claude May 17, 2026
9a99fbe
feat(filey-erp): Tools & CRM dashboards + Quotation builder
claude May 17, 2026
addbdc1
feat(filey-erp): Supabase tables for quotations & tool runs + wiring
claude May 17, 2026
29863c7
chore(filey-erp): production hardening — tests, CI, error boundary, b…
claude May 17, 2026
93b659e
fix(filey-erp): align profiles schema with auth code
claude May 17, 2026
09a5f6f
feat(filey-erp): remove non-functional sidebar storage + quick-access…
claude May 17, 2026
4e8eb9c
fix(filey-erp): main content fits the screen (flex min-w-0 + overflow)
claude May 17, 2026
cd5fd37
fix(filey-erp): tables & builders fit width — no horizontal scrolling
claude May 17, 2026
1b1a481
feat(filey-erp): make VAT optional on invoices & quotations
claude May 17, 2026
81983b5
feat(filey-erp): full Settings page + company auto-fill; input polish
claude May 17, 2026
b61a2b9
feat(filey-erp): rich Account & Profile (mockup parity)
claude May 17, 2026
088b30b
chore(filey-erp): release pipeline, hardened Tauri config, component …
claude May 17, 2026
55437fa
feat(filey-erp): Odoo-style module registry + toggle, MIT license
claude May 17, 2026
513db08
docs(filey-erp): real README + CONTRIBUTING for open-source release
claude May 17, 2026
a789308
chore(filey-erp): self-contained CI/release workflows for standalone …
claude May 17, 2026
bfeeabd
feat(filey-erp): org multi-tenancy + RBAC foundation
claude May 17, 2026
0c39144
feat(filey-erp): People (HR) & Accounting modules + sidebar icons
claude May 17, 2026
8a53ab8
feat(filey-erp): build out the 5 placeholder Settings sections
claude May 17, 2026
05ef98f
fix(filey-erp): scope local read-cache per organization
claude May 17, 2026
0367cab
feat(filey-erp): Gmail SMTP email — connect & send invoices/quotes/co…
claude May 18, 2026
822aa33
feat(filey-erp): bold yellow/orange dashboard cards (design.md §05)
claude May 18, 2026
8340d68
fix(filey-erp): invoice preview fits the column (auto scale-to-width)
claude May 18, 2026
8b6d3b9
fix(filey-erp): remove remaining fake "storage" UI
claude May 18, 2026
924cb3b
chore(filey-erp): remove unrelated Telegram bot
claude May 18, 2026
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
91 changes: 91 additions & 0 deletions .github/workflows/filey-erp-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
name: filey-erp release build

# Builds signed-or-unsigned desktop installers for macOS, Windows and Linux.
# Trigger: push a tag like `filey-erp-v1.0.0`, or run manually.
on:
push:
tags:
- "filey-erp-v*"
workflow_dispatch:

jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- os: macos-latest
args: "--target universal-apple-darwin"
- os: ubuntu-22.04
args: ""
- os: windows-latest
args: ""
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- name: Linux build deps
if: matrix.os == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev \
libayatana-appindicator3-dev librsvg2-dev build-essential \
libssl-dev libxdo-dev file

- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: filey-erp/package-lock.json

- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.os == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}

- uses: swatinem/rust-cache@v2
with:
workspaces: filey-erp/src-tauri

- name: Install dependencies
working-directory: filey-erp
run: npm ci

- name: Typecheck & unit tests
working-directory: filey-erp
run: |
npm run typecheck
npm test

- name: Build desktop app
uses: tauri-apps/tauri-action@v0
with:
projectPath: filey-erp
args: ${{ matrix.args }}
tagName: ${{ github.ref_type == 'tag' && github.ref_name || '' }}
releaseName: ${{ github.ref_type == 'tag' && 'Filey ERP ${{ github.ref_name }}' || '' }}
releaseDraft: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Optional code signing — populate these repo secrets to ship signed builds.
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}

- name: Upload installers as workflow artifacts
uses: actions/upload-artifact@v4
with:
name: filey-erp-${{ matrix.os }}
path: |
filey-erp/src-tauri/target/**/release/bundle/**/*.dmg
filey-erp/src-tauri/target/**/release/bundle/**/*.app
filey-erp/src-tauri/target/**/release/bundle/**/*.AppImage
filey-erp/src-tauri/target/**/release/bundle/**/*.deb
filey-erp/src-tauri/target/**/release/bundle/**/*.rpm
filey-erp/src-tauri/target/**/release/bundle/**/*.msi
filey-erp/src-tauri/target/**/release/bundle/**/*.exe
if-no-files-found: ignore
39 changes: 39 additions & 0 deletions .github/workflows/filey-erp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: filey-erp CI

on:
push:
paths:
- "filey-erp/**"
- ".github/workflows/filey-erp.yml"
pull_request:
paths:
- "filey-erp/**"
- ".github/workflows/filey-erp.yml"

defaults:
run:
working-directory: filey-erp

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: filey-erp/package-lock.json

- name: Install dependencies
run: npm ci

- name: Typecheck
run: npm run typecheck

- name: Unit tests
run: npm test

- name: Production build
run: npm run build
8 changes: 8 additions & 0 deletions filey-erp/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Filey ERP — Supabase cloud connection
# 1. Create a project at https://supabase.com
# 2. Project Settings → API → copy the values below
# 3. Copy this file to `.env` and fill them in
# 4. Run filey-erp/supabase/schema.sql in the Supabase SQL Editor

VITE_SUPABASE_URL=https://your-project.supabase.co
VITE_SUPABASE_ANON_KEY=your-anon-key-here
20 changes: 20 additions & 0 deletions filey-erp/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI

on:
push:
branches: ["**"]
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run typecheck
- run: npm test
- run: npm run build
85 changes: 85 additions & 0 deletions filey-erp/.github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
name: release build

# Desktop installers for macOS, Windows and Linux.
# Trigger: push a tag like `v1.0.0`, or run manually.
on:
push:
tags:
- "v*"
workflow_dispatch:

jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- os: macos-latest
args: "--target universal-apple-darwin"
- os: ubuntu-22.04
args: ""
- os: windows-latest
args: ""
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- name: Linux build deps
if: matrix.os == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev \
libayatana-appindicator3-dev librsvg2-dev build-essential \
libssl-dev libxdo-dev file

- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm

- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.os == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}

- uses: swatinem/rust-cache@v2
with:
workspaces: src-tauri

- run: npm ci

- name: Typecheck & unit tests
run: |
npm run typecheck
npm test

- name: Build desktop app
uses: tauri-apps/tauri-action@v0
with:
args: ${{ matrix.args }}
tagName: ${{ github.ref_type == 'tag' && github.ref_name || '' }}
releaseName: ${{ github.ref_type == 'tag' && 'Filey ERP ${{ github.ref_name }}' || '' }}
releaseDraft: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}

- name: Upload installers as workflow artifacts
uses: actions/upload-artifact@v4
with:
name: filey-erp-${{ matrix.os }}
path: |
src-tauri/target/**/release/bundle/**/*.dmg
src-tauri/target/**/release/bundle/**/*.app
src-tauri/target/**/release/bundle/**/*.AppImage
src-tauri/target/**/release/bundle/**/*.deb
src-tauri/target/**/release/bundle/**/*.rpm
src-tauri/target/**/release/bundle/**/*.msi
src-tauri/target/**/release/bundle/**/*.exe
if-no-files-found: ignore
29 changes: 29 additions & 0 deletions filey-erp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Local environment / secrets
.env
.env.*
!.env.example

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
46 changes: 46 additions & 0 deletions filey-erp/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Contributing to Filey ERP

Thanks for your interest in improving Filey ERP! It's MIT-licensed and
built for small businesses to use and extend freely.

## Getting set up

See the [README quick start](README.md#quick-start). In short: create a
free Supabase project, run `supabase/schema.sql`, copy `.env.example` to
`.env`, then `npm ci && npm run dev`.

## Before you open a PR

Run the same checks CI runs:

```bash
npm run typecheck # must pass
npm test # must pass
npm run build # must pass
```

- Keep changes focused; one feature/fix per PR.
- Match the existing design system (Tailwind tokens, the `card` / `btn-*`
/ `chip` classes, Lucide line icons).
- New screens should be added as a **module** in
`src/modules/registry.tsx` (see the existing entries).
- Don't commit secrets. `.env` is gitignored — never add real keys.
- Be honest in code and PRs about what is real vs. placeholder.

## Good first contributions

- Flesh out a placeholder Settings section (Preferences, Notifications…).
- Add tests (pure logic in `src/lib`, components via Testing Library).
- New invoice/quotation templates.
- Accessibility and i18n improvements.

## Bigger initiatives (discuss in an issue first)

- Org/team multi-tenancy + role-based access control.
- Deeper accounting / procure-to-pay / warehouse inventory.
- A third-party plugin SDK on top of the module registry.

## Reporting issues

Open a GitHub issue with steps to reproduce, expected vs. actual
behaviour, and your OS / build (`dev` vs. desktop).
21 changes: 21 additions & 0 deletions filey-erp/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 Filey

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading
Loading