Commit Graph

116 Commits

Author SHA1 Message Date
Christian Krakau-Louis 43500ce66f feat: integrate OpenAI API with configurable settings for model and base URL 2025-03-28 13:50:10 +01:00
Christian Krakau-Louis de06fd1286 refactor: rename upload_to_s3 to process_document
- Rename upload_to_s3.py to process_document.py to better reflect its purpose
- Update all import statements across the codebase to use new module name
- Remove S3-specific code and references
- Keep the core document processing logic intact
- Update docstrings and comments to reflect new functionality

This change is part of removing AWS S3 dependencies and simplifying the
document processing pipeline.
2025-03-27 14:50:51 +01:00
Christian Krakau-Louis e1caa144f2 Merge pull request #21 from christianlouis/openhands-workspace-21smus5m
Add unit tests for utils.hash_file function
2025-03-26 21:10:00 +01:00
Christian Krakau-Louis d5b6cc009c Merge pull request #20 from christianlouis/file-view
added the /files view and auth for api and files
2025-03-26 17:28:40 +01:00
openhands b5c74dca4e Add unit tests for utils.hash_file function 2025-03-26 16:27:36 +00:00
Christian Krakau-Louis 5903c4b4a0 improved 500 error page 2025-03-26 03:46:41 +01:00
Christian Krakau-Louis e4ffa457db added grid.js 2025-03-26 03:22:41 +01:00
Christian Krakau-Louis 8c8c4d9063 made auth.py more robust 2025-03-26 03:11:29 +01:00
Christian Krakau-Louis d60dcbf54b added custom 500 error 2025-03-26 03:06:32 +01:00
Christian Krakau-Louis 48fce5d661 added the /files view and auth for api and files 2025-03-26 02:51:49 +01:00
Christian Krakau-Louis f754b25c76 Merge pull request #19 from christianlouis/ui-improvements
Refactored frontend + added template engine
2025-03-26 02:48:10 +01:00
Christian Krakau-Louis b4a8b04530 fixed typos 2025-03-26 02:38:32 +01:00
Christian Krakau-Louis ccba0d92c3 added routes back in 2025-03-26 02:35:45 +01:00
Christian Krakau-Louis e2907e7229 added logo 2025-03-26 02:31:49 +01:00
Christian Krakau-Louis e96e6920c0 Update app/frontend.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-03-26 02:29:39 +01:00
Christian Krakau-Louis d95f5babb8 Refactored frontend + added template engine 2025-03-26 02:17:05 +01:00
Christian Krakau-Louis c4634a984f Merge pull request #17 from christianlouis/auth-for-ui
added Authentik config and complete UI for that project
2025-03-25 22:14:30 +01:00
Christian Krakau-Louis ff1f6e042c fixed 404 2025-03-25 22:11:44 +01:00
Christian Krakau-Louis 426e3af0f6 Update frontend/index.html
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-03-25 22:05:43 +01:00
Christian Krakau-Louis efa4c9c3cd Update frontend/upload.html
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-03-25 22:05:10 +01:00
Christian Krakau-Louis f50177bfbf Update app/frontend.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-03-25 22:04:53 +01:00
Christian Krakau-Louis cd1230b8be Update app/frontend.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-03-25 22:04:40 +01:00
Christian Krakau-Louis 9570d499b4 change import 2025-03-25 22:02:19 +01:00
Christian Krakau-Louis 0f82defc01 added more pages and changed project name to DocuNova 2025-03-25 21:57:48 +01:00
Christian Krakau-Louis 0003daadb1 fixed import for Request in main.py 2025-03-25 21:33:55 +01:00
Christian Krakau-Louis e4101f690b added gravatar to user and added /api/whoami call 2025-03-25 21:31:32 +01:00
Christian Krakau-Louis 657861db26 removed fancy 404 2025-03-25 21:20:32 +01:00
Christian Krakau-Louis 2c7a185315 changed 404.html code 2025-03-25 21:18:25 +01:00
Christian Krakau-Louis b95d13df1f add 404.html and new upload page 2025-03-25 21:16:02 +01:00
Christian Krakau-Louis ff12e733ea made function async to include auth 2025-03-25 17:35:00 +01:00
Christian Krakau-Louis 6139a168d0 added fixes to frontend.py 2025-03-25 17:31:27 +01:00
Christian Krakau-Louis d00ee8cc3d added auth flag and auth to /upload 2025-03-25 16:22:59 +01:00
Christian Krakau-Louis 6beaa30e25 improved redirect upon login 2025-03-25 14:57:49 +01:00
Christian Krakau-Louis 398663595d Merge branch 'main' into auth-for-ui 2025-03-25 14:49:19 +01:00
Christian Krakau-Louis 5005f65f17 changes to the Authentik integration 2025-03-25 14:45:45 +01:00
Christian Krakau-Louis b814c88818 Merge pull request #18 from christianlouis/duplicate-checker
added duplicate check and database
2025-03-25 14:44:01 +01:00
Christian Krakau-Louis ae674e8fc4 added robust code to create the sqlite file 2025-03-25 14:33:46 +01:00
Christian Krakau-Louis 260358a78b added ForeignKey object 2025-03-25 13:58:54 +01:00
Christian Krakau-Louis 5eb8fa586b added duplicate check and database 2025-03-25 13:55:15 +01:00
Christian Krakau-Louis 8aa667fd48 removed proxymiddleware and moved to uvicorn startup command 2025-03-25 12:44:41 +01:00
Christian Krakau-Louis b9be5af407 adding starlette to requirements.txt 2025-03-25 12:26:33 +01:00
Christian Krakau-Louis bf4aa95f52 added support for correct url detection 2025-03-25 12:23:21 +01:00
Christian Krakau-Louis 1f510a18ca added authlib to requirements 2025-03-25 12:09:36 +01:00
Christian Krakau-Louis 6ca68126ed added Authentik config 2025-03-25 11:34:22 +01:00
Christian Krakau-Louis 19c763e595 added a favicon, updated the README.md file 2025-03-25 10:48:55 +01:00
Christian Krakau-Louis 50ba7989c5 added imports for FastAPI 2025-03-24 17:11:49 +01:00
Christian Krakau-Louis f4cacacd3a fixed typo 2025-03-24 17:04:53 +01:00
Christian Krakau-Louis 2891b335b0 added ui upload route 2025-03-24 17:02:56 +01:00
Christian Krakau-Louis 09db93f353 added frontend dir to Dockerfile 2025-03-24 16:57:35 +01:00
Christian Krakau-Louis e526f691ef added first draft of upload interface 2025-03-24 16:52:47 +01:00