Commit graph

2573 commits

Author SHA1 Message Date
Igor Ilic
0d80ec49a2
Merge branch 'dev' into merge-main-vol3 2025-07-08 14:32:19 +02:00
Igor Ilic
e51de46163
feat: Add test for permissions, change Cognee search return value (#1058)
<!-- .github/pull_request_template.md -->

## Description
Add tests for permissions for Cognee

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-07-08 13:33:03 +02:00
Igor Ilic
cb45897d7d
Secure api v2 (#1050)
<!-- .github/pull_request_template.md -->

## Description
Modify endpoints to allow better security for different infrastructure
needs and setups

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-07-07 20:41:43 +02:00
Vasilije
ef1aecd835
fix: Update README.md (#1055)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-07-06 15:06:48 +02:00
Vasilije
29b5d8b39e
Update README.md 2025-07-06 15:04:32 +02:00
hajdul88
3c3c89a140
fix: Adds graceful handling quick fix for damaged pdf files (#1047)
<!-- .github/pull_request_template.md -->

## Description
fix: Adds graceful handling quick fix for damaged pdf files

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-07-06 13:09:42 +02:00
Vasilije
4e77485a1d
Update README.md 2025-07-05 10:41:46 +02:00
Vasilije
c936f5e0a3
feat: adding docstrings (#1045)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-07-03 21:24:47 +02:00
Vasilije
ada3f7b086
fix: Logger suppresion and database logs (#1041)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.

---------

Co-authored-by: Igor Ilic <30923996+dexters1@users.noreply.github.com>
Co-authored-by: Igor Ilic <igorilic03@gmail.com>
2025-07-03 20:08:27 +02:00
Boris
b8ea699abe
fix: Fixes pdf cut type None bug by introducting default cut type (#1044)
…cut type

<!-- .github/pull_request_template.md -->

## Description
 Fixes pdf cut type None bug by introducting default cut type

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-07-02 10:54:13 +02:00
hajdul88
7510c6f572 Fix: fixes None last_cut_type pydantic errors by introducing default cut type 2025-07-02 09:51:07 +02:00
hajdul88
6078b35b87
chore: Removes .env copy from mcp dockerfile (#1042)
<!-- .github/pull_request_template.md -->

## Description
Removes env copy from mcp docker file

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-07-01 14:14:38 +02:00
Igor Ilic
acd05e2ba5
Fix write permission different user (#1040)
<!-- .github/pull_request_template.md -->

## Description
Resolve issue with write permission for different users

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-07-01 13:29:42 +02:00
Vasilije
91168829ad
feat: add mcp switch (#1039)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-07-01 13:15:32 +02:00
Igor Ilic
691086b9b0 Merge branch 'dev' into fix-write-permission-different-user 2025-07-01 13:04:39 +02:00
Boris
9467034e49
chore: upgrade cognee package (#1037)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-07-01 11:07:47 +02:00
Igor Ilic
5a7b0d4985
refactor: Name local cognee version local instead of dev (#1032)
<!-- .github/pull_request_template.md -->

## Description
Change Cognee extracted version info when used locally from dev to local

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-07-01 10:30:07 +02:00
Boris Arzentar
b2a51dcf50
chore: upgrade cognee package 2025-07-01 10:15:12 +02:00
Igor Ilic
58aeb03688 fix: resolve issue with write permission on datasets not owned by current user 2025-06-30 19:15:18 +02:00
Vasilije
a3827f5884
Merge branch 'dev' into change-dev-version-to-local 2025-06-30 16:26:26 +02:00
Boris
cb905bba45
fix: Resolve pipeline id issue (#1035)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-06-30 16:18:39 +02:00
Igor Ilic
0e02f75636 fix: Resolve pipeline id issue 2025-06-30 16:00:42 +02:00
Boris
da14497ddc
fix: authorize in swagger (#1034)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-06-30 15:56:30 +02:00
Boris
00685bda58
fix: mcp server (#1033)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-06-30 15:16:05 +02:00
Boris Arzentar
64edb38c43
fix: add custom openauth schema 2025-06-30 15:09:13 +02:00
Boris Arzentar
72ac4bce43
Merge remote-tracking branch 'origin/dev' into fix/aithorize-in-swagger 2025-06-30 14:34:10 +02:00
Boris Arzentar
9b5ea631c6
Merge remote-tracking branch 'origin/dev' into fix/mcp-and-ui 2025-06-30 14:22:42 +02:00
Boris Arzentar
3da2bf381a
fix: try importing local module 2025-06-30 14:22:29 +02:00
vasilije
cf9b5a2977 added update 2025-06-30 14:20:06 +02:00
vasilije
3e43a4726f notebooks and poetry lock update 2025-06-30 14:20:06 +02:00
Boris Arzentar
9b9e332f28
Merge remote-tracking branch 'origin/dev' into fix/mcp-and-ui 2025-06-30 13:42:25 +02:00
Boris Arzentar
ce8203e2d3
fix: update cognee in mcp and use stdio server 2025-06-30 13:42:13 +02:00
Igor Ilic
f810434aa6 refactor: Name local cognee version local instead of dev 2025-06-30 13:24:51 +02:00
hajdul88
0ee77b788a
chore: adds docker description to cognee-mcp (#1031)
<!-- .github/pull_request_template.md -->

## Description
Adds docker description to cognee-mcp

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-06-30 13:19:35 +02:00
Igor Ilic
9c26c5a969
Main merge (#1030)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-06-30 13:00:51 +02:00
Igor Ilic
a3fe9c6a5e fix: resolve rdflib issue 2025-06-30 12:40:27 +02:00
Boris Arzentar
5e6bbef0b3
fix: add auth methods to swagger authtorize 2025-06-30 12:27:53 +02:00
Igor Ilic
2c7eecc93d refactor: format file 2025-06-30 12:26:43 +02:00
Igor Ilic
d4d12ab7b7 refactor: Update package lock 2025-06-30 12:25:28 +02:00
Igor Ilic
0d75b6dc76 Merge branch 'main' into main-merge 2025-06-30 12:24:24 +02:00
hajdul88
f291743311
fix: sets cognee mcp server to sse mode (#1028)
…isible

<!-- .github/pull_request_template.md -->

## Description
Sets cognee mcp server to sse mode 

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-06-30 11:58:27 +02:00
hajdul88
c18dc39f28
Feat: adds cursor developer rules demo (#1021)
<!-- .github/pull_request_template.md -->

## Description
Adds cursor developer rules demo and functionality to mcp server

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.

---------

Co-authored-by: Boris <boris@topoteretes.com>
2025-06-30 11:57:22 +02:00
Hashem Aldhaheri
fd77e92cc4
Fix: Handle file:// URLs in open_data_file function (#1019)
## Summary
This PR fixes an asymmetry issue where files saved with `file://`
prefixes could not be read back, causing "file not found" errors.

## Problem
The Cognee framework has a bug where:
- `save_data_to_file.py` adds `file://` prefix when saving files
- `open_data_file.py` doesn't handle the `file://` prefix when reading
files
- This causes saved files to appear as "lost" with cryptic "file not
found" errors

## Solution
Added proper handling for `file://` URLs in `open_data_file.py` by:
- Checking if the file path starts with `"file://"`
- Stripping the prefix using `replace("file://", "", 1)`
- Following the same pattern as S3 URL handling

## Changes
- Modified
`cognee/modules/data/processing/document_types/open_data_file.py` to
handle `file://` URLs
- Added comprehensive unit tests in
`cognee/tests/unit/modules/data/test_open_data_file.py`

## Testing
Added 6 test cases covering:
- Regular file paths (ensuring backward compatibility)
- file:// URLs in text mode
- file:// URLs in binary mode
- file:// URLs with specific encoding
- Nonexistent files with file:// URLs
- Edge case with multiple file:// prefixes

All tests pass successfully.

## Notes
- This is a minimal fix that maintains backward compatibility
- The fix follows the existing pattern used for S3 URL handling
- No breaking changes to the API

I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.

Signed-off-by: Hashem Aldhaheri <aenawi@gmail.com>
2025-06-30 11:55:34 +02:00
Igor Ilic
14be2a5f5d
feat: Add dataset_id to pipeline run info and status (#1009)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-06-30 11:53:17 +02:00
Boris
e44840c601
feat: set default database name based on provider (#1026)
<!-- .github/pull_request_template.md -->

## Description
Default graph name will consider provider when being created

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-06-30 09:46:54 +02:00
Boris
9fcd645684
fix: resolve check permission on dataset Role and Tenant permission (#1020)
…ssue

<!-- .github/pull_request_template.md -->

## Description
Resolve checking of Role and Tenant permissions for coginify task

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.
2025-06-28 14:50:54 +02:00
Igor Ilic
3d7318e9ab
Merge branch 'dev' into check-permissions-on-dataset-fix 2025-06-27 15:01:12 +02:00
Igor Ilic
2ba06cc98c refactor: solve json serializable issue 2025-06-27 14:32:06 +02:00
Igor Ilic
d70bab1c3c Merge branch 'dev' into default-db-name-based-on-provider 2025-06-27 14:26:21 +02:00
Igor Ilic
a993cbe7eb refactor: add comment 2025-06-27 14:17:10 +02:00