5981858723
Merge pull request 'fix: fix docker build for CI' ( #30 ) from ci-fix into main
...
Reviewed-on: https://git.example.com/jarianc/FactsDB/pulls/30
2026-07-05 19:10:49 -05:00
ff894564b9
fix: fix docker build for CI
2026-07-05 23:59:32 +00:00
cef5057e43
Merge pull request 'Fix all open issues: security, code bugs, and infrastructure' ( #29 ) from fix/all-issues into main
...
Reviewed-on: https://git.example.com/jarianc/FactsDB/pulls/29
2026-07-05 08:08:59 -05:00
f4b84cc412
fix: security hardening, code fixes, and infrastructure improvements
...
- Replace eval() with json.loads() in database.py (RCE fix)
- Use json.dumps() for safe storage of list fields
- Add API key authentication middleware
- Remove hardcoded credentials, require env vars
- Disable Flask debug mode
- Restrict FTP homedir to /app/data with read-only perms
- Fix threading: Lock -> RLock, add WAL mode
- Fix API calls to use correct DatabaseManager methods
- Fix main.py FTP method names
- Fix click.click.echo typo
- Implement scheduler _run_all_jobs
- Add __main__.py for module execution
- Pin dependency versions
- Use .env vars in docker-compose, read-only DB for FTP
- Implement AI text chunking with overlap windows
- Add schema validation for AI responses
- Skip unsupported file types instead of fallback
2026-07-05 13:05:08 +00:00
398d23e2e9
Merge pull request 'CI: remove --no-cache for docker layer caching' ( #28 ) from ci-fix-nocache into main
...
Reviewed-on: https://git.example.com/jarianc/FactsDB/pulls/28
2026-07-04 22:22:39 -05:00
129f568db5
CI: remove --no-cache for docker layer caching
2026-07-05 03:12:08 +00:00
8094446fb3
CI: add generalized workflow
2026-07-05 02:46:27 +00:00
038bf2649a
Fix database path configuration - correct default path in Config class
2026-02-02 21:39:16 -06:00
5d9f755e61
Fix database path configuration - use relative path './facts.db' instead of 'facts.db'
2026-02-02 21:37:12 -06:00
11ba31de61
Add detailed database path debugging and file access testing
2026-02-02 21:35:54 -06:00
ef35b5e8ef
Fix database initialization - add directory creation for database file
2026-02-02 21:33:57 -06:00
c7cc1aca73
Change FTP default port to non-privileged port 2122
2026-02-02 21:30:44 -06:00
e93716b5f7
Fix FTP CLI command - correct method name and fix start/stop calls
2026-02-02 21:28:47 -06:00
b7eb603011
Fix FTP server - remove database initialization as it's not needed for basic FTP functionality
2026-02-02 21:27:37 -06:00
7d785538fc
Fix database initialization errors - add error handling to scheduler and CLI status command
2026-02-02 21:24:23 -06:00
eddfa7cb8e
Fix main.py FTP command - pass correct config object to FTPServerManager
2026-02-02 21:21:39 -06:00
58db3065a9
Fix FTP server initialization - correct config parameter passing and remove type hints
2026-02-02 21:19:58 -06:00
9c91188c09
Fix CLI FTP command - correct config attribute access for ftp_server
2026-02-02 21:15:43 -06:00
18fbb8250a
Fix YAML formatting in docker-compose.yml - ensure proper document start and structure
2026-02-02 21:04:06 -06:00
fdc1d178f6
Ensure proper port exposure in docker-compose.yml - API on 5000, FTP on 2122 and 2123
2026-02-02 21:03:16 -06:00
29e39713e5
Fix YAML formatting in docker-compose.yml - removed leading spaces that caused parsing error
2026-02-02 20:56:26 -06:00
11019d5ca3
Update docker-compose.yml - use different port numbers to avoid conflicts: factsdb on 2122, ftp on 2123
2026-02-02 20:55:42 -06:00
190c2461db
Fix docker-compose.yml - removed duplicate FTP service that was causing port conflict
2026-02-02 20:54:52 -06:00
332f49eeee
Implement optimized database schema and AI prompt - removed title field, summary to fact, removed financial_impact and main_points
2026-02-02 20:48:59 -06:00
9344a69636
Add detailed database schema documentation for default table structure
2026-02-02 20:40:38 -06:00
e775d8de81
Fix docker-compose.yml to ensure FTP service runs properly
2026-02-02 20:39:48 -06:00
9c7ca7209f
Move configuration from config.json to docker-compose.yml environment variables
2026-02-02 20:38:15 -06:00
993817317e
Update FTP server to ensure it's always running and properly manages onboarded directories
2026-02-02 20:36:46 -06:00
40cb5122bd
Update README.md with comprehensive documentation
2026-02-02 20:34:38 -06:00
1245326069
Remove sample data folder from repository
2026-02-02 20:33:06 -06:00
73867654db
Add gitignore to exclude sample data and database files
2026-02-02 20:32:14 -06:00
fc6eece076
Complete implementation of FactsDB service with AI integration, FTP server, scheduler, and monitoring
2026-02-02 20:31:02 -06:00
42f59df39b
first commit
2026-02-02 20:03:37 -06:00