Commit Graph

22 Commits

Author SHA1 Message Date
f99a866e13 feat: implement unified S3-compatible storage system
Consolidates storage backends into a single S3-compatible driver that supports:
- AWS S3 (native)
- Backblaze B2 (S3-compatible API)
- Cloudflare R2 (S3-compatible API)
- MinIO and other S3-compatible services
- Local filesystem for development

This replaces the previous separate B2 driver with a unified approach,
reducing dependencies and complexity while adding support for more services.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-01 23:07:44 +12:00
a87df47231 feat: register attachment API routes
- Add 5 RESTful endpoints for transaction attachment management
- Include proper authentication middleware for all attachment operations
- Follow existing URL pattern: /orgs/:orgId/transactions/:transactionId/attachments
- Support nested resource access with proper authorization

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-01 11:04:50 +12:00
8b0a72c81f feat: implement attachment REST API endpoints
- Add POST /attachments for secure multi-file upload with validation
- Add GET /attachments for listing transaction attachments
- Add GET /attachments/:id for attachment metadata retrieval
- Add GET /attachments/:id/download for secure file download
- Add DELETE /attachments/:id for soft deletion
- Include comprehensive security validation: file type, size, content detection
- Implement proper error handling and cleanup on failures

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-01 11:04:32 +12:00
0d1cb22044 refactor: update data access layer to use GORM repositories
- Replace SQL-based queries with GORM repository calls
- Update all model interfaces to use repository pattern
- Fix compilation errors in core/model/ files
- Update mocks to match new repository interfaces
- Modify API handlers to use new repository layer
- Maintain backward compatibility with existing interfaces

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-30 22:08:08 +12:00
Patrick Nagurny
0ea88b8e25 add elapsed time to logger 2020-01-15 12:06:56 -05:00
Patrick Nagurny
45fc45736d budget api doc fix 2020-01-14 14:51:27 -05:00
Patrick Nagurny
f2877230e2 format code 2020-01-14 14:29:00 -05:00
Patrick Nagurny
83f3cfc983 api version 1.4.0 2020-01-14 14:22:15 -05:00
Patrick Nagurny
0a91b19b5c add budget feature 2020-01-14 14:14:16 -05:00
Patrick Nagurny
553e639519 api version 1.3.0 2019-06-27 16:54:24 -04:00
Patrick Nagurny
a67f270b6d add timezone to org 2019-06-27 16:43:18 -04:00
Tarcisio Gruppi
cbb10098d3 Added GET /orgs/:orgId/accounts/:accountI API endpoint 2019-03-27 01:49:26 -03:00
Tarcisio Gruppi
e18cb8f6e0 Updated API changelog, added version 1.1.0 2019-01-18 18:12:37 -02:00
Tarcisio Gruppi
72c21482b8 Updated API version in api and ws files 2019-01-18 18:12:19 -02:00
Tarcisio Gruppi
09cd255bcc Updated API version 2019-01-18 12:39:21 -02:00
Tarcisio Gruppi
471afa4e0e Added GET /health-check and related files 2019-01-18 12:39:21 -02:00
Tarcisio Gruppi
27f15e3436 gofmt 2019-01-18 12:39:16 -02:00
Patrick Nagurny
1909985489 fix apikeys routes 2018-11-08 13:52:23 -05:00
Patrick Nagurny
f958f9c580 don't use prefix for /ws 2018-11-08 12:35:15 -05:00
Patrick Nagurny
edffa4b7c6 add api prefix option 2018-11-08 11:35:11 -05:00
Patrick Nagurny
2a827bac26 api 1.0.1 add signupSource 2018-11-05 09:37:08 -05:00
Patrick Nagurny
e2dd29259f initial commit 2018-10-19 15:31:41 -04:00