Commit graph

2534 commits

Author SHA1 Message Date
Boris Arzentar
3d7457c594
Merge remote-tracking branch 'origin/dev' into dataset-permissions-auth-refactor-simplify-data-creation 2025-06-10 12:37:43 +02:00
pensarapp[bot]
7fab2e51ff
Pensar - auto fix for 1 issues (CWE-489, CWE-284 (#937)
![Secured with
Pensar](https://pensar-brand-assets.s3.us-east-1.amazonaws.com/secured-by-pensar-large.svg)

The critical vulnerability involved exposing the debugpy debugger server
on 0.0.0.0:5678 (all network interfaces) when certain environment
variables were set, which allowed unauthenticated remote code execution.
This was fixed by changing the debugpy --listen argument from
0.0.0.0:5678 to 127.0.0.1:5678, ensuring the debug server is bound only
to localhost and is not externally accessible. All other code and logic
were left unchanged.
      
<details>
<summary>More Details</summary>

| Type | Identifier | Message | Severity | Link |
|------|------------|---------|----------|------|
| <pre>Application</pre> | <pre>CWE-489, CWE-284</pre> | When both
ENVIRONMENT=dev/local and DEBUG=true are set, the script launches
`debugpy` bound to 0.0.0.0:5678 and waits for a client to attach.
`debugpy` shells allow full, arbitrary code execution inside the running
container/process. If the container or host network is exposed—even
inadvertently—an attacker can connect to this port and gain RCE. Because
only environment variables gate this behavior, a mis-configuration,
leaked compose file, or SSRF that sets these variables could
unintentionally expose the debugger in production.<br>Impact: Remote
Code Execution, full compromise of the application and underlying
data.<br>Severity is elevated as the issue provides unauthenticated
code-level access to the live service. | <pre>critical</pre> |
[Link](https://console.pensar.dev/cognee/projects/cognee/a3838758-8ac3-4f46-8d34-035abb845e91)
|


</details>

Co-authored-by: pensarapp[bot] <182705637+pensarapp[bot]@users.noreply.github.com>
2025-06-09 21:51:51 +02:00
Vasilije
ecbabbd261
fix: Add getting started tutorial to git (#870)
<!-- .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: hajdul88 <52442977+hajdul88@users.noreply.github.com>
2025-06-09 16:57:33 +02:00
pensarapp[bot]
ce3a37f61b
Pensar - Upgrade next from 14.2.3 to 14.2.26 (#895)
![Secured with
Pensar](https://pensar-brand-assets.s3.us-east-1.amazonaws.com/secured-by-pensar-large.svg)

Upgrading `next` from `14.2.3` to `14.2.26`
      
## Fixes Summary

| File | Fix Explanation |
| --------- | ---------------- |
| <pre> /cognee-frontend/package.json </pre> |  |
| <pre> /cognee-frontend/package-lock.json </pre> |  |
| <pre> /cognee-frontend/src/app/layout.tsx </pre> | No changes are
needed. The code uses the `Metadata` type and the `Inter` font from
`next` in a manner compatible with recent Next.js versions, including
the updated versions that patch the vulnerabilities. The usage of
`Metadata`, the font import, and the RootLayout structure matches the
current Next.js app router conventions. There are no breaking API
changes or deprecations here requiring code modifications for
compatibility. |

---------

Co-authored-by: pensarapp[bot] <182705637+pensarapp[bot]@users.noreply.github.com>
2025-06-09 16:11:27 +02:00
hajdul88
4d60bed94b
Adds agentic procurement example (#932)
<!-- .github/pull_request_template.md -->

## Description
Adds agentic procurement example

## 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-09 15:57:12 +02:00
hajdul88
ac0711defb
Adds description to context in graph completion and its subclasses (#934)
<!-- .github/pull_request_template.md -->

## Description
Adds description to context in graph completion and its subclasses

## 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-09 15:54:07 +02:00
Daniel Molnar
4eb71ccaf4
feat: remote kuzu adapter (#781)
<!-- .github/pull_request_template.md -->

## Description
Enables the use of a remote Kuzu instance via a RESTful API.

## 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: hajdul88 <52442977+hajdul88@users.noreply.github.com>
2025-06-09 15:27:16 +02:00
lxobr
3da893c131
fix: deepeval retry (#918)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->
- Implemented retries when deepeval's evaluation fails
- Updated metric aggregation to ignore Nones

## 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-09 15:15:09 +02:00
hajdul88
82c0279f45
Fix: adds and invokes Neo4jAdapter initialize for schema setup (#933)
<!-- .github/pull_request_template.md -->

## Description
adds and invokes Neo4jAdapter initialize for schema setup

## 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-09 13:40:30 +02:00
Igor Ilic
84c7aeb1a5
Merge dev with main (#921)
<!-- .github/pull_request_template.md -->

## Description
Merge changes on main to dev

## 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-07 07:48:47 -07:00
Igor Ilic
1ed6cfd918
feat: new Dataset permissions (#869)
<!-- .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: Boris Arzentar <borisarzentar@gmail.com>
Co-authored-by: Boris <boris@topoteretes.com>
2025-06-06 14:20:57 +02:00
Hande
ebebbb8958
chore: update mcp readme (#914)
<!-- .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-06 12:16:01 +02:00
Tomaz Bratanic
e8487a06b5
Neo4j base node label (#903)
Adds base node label to Neo4j Adapter

## 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.

---------

Signed-off-by: Diego B Theuerkauf <diego.theuerkauf@tuebingen.mpg.de>
Co-authored-by: Boris <boris@topoteretes.com>
Co-authored-by: vasilije <vas.markovic@gmail.com>
Co-authored-by: Igor Ilic <30923996+dexters1@users.noreply.github.com>
Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
Co-authored-by: Igor Ilic <igorilic03@gmail.com>
Co-authored-by: Hande <159312713+hande-k@users.noreply.github.com>
Co-authored-by: Matea Pesic <80577904+matea16@users.noreply.github.com>
Co-authored-by: hajdul88 <52442977+hajdul88@users.noreply.github.com>
Co-authored-by: Daniel Molnar <soobrosa@gmail.com>
Co-authored-by: Diego Baptista Theuerkauf <34717973+diegoabt@users.noreply.github.com>
Co-authored-by: Dmitrii Galkin <36552323+dm1tryG@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: lxobr <122801072+lxobr@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
2025-06-05 18:15:40 +02:00
Boris Arzentar
d11f6ad5cb
fix: add data to dataset if not there 2025-06-05 17:06:02 +02:00
Boris Arzentar
4f910e9dc9
fix: lint error 2025-06-05 16:51:23 +02:00
Boris Arzentar
a3ec5a465f
fix: simplify Data creation 2025-06-05 16:47:31 +02:00
Boris Arzentar
3dced5f16e
fix: qdrant health check 2025-06-05 15:32:59 +02:00
Boris Arzentar
0314d3b63d
fix: correct qdrant image version 2025-06-05 15:15:27 +02:00
Boris Arzentar
5472975557
fix: use docker qdrant for tests 2025-06-05 15:07:37 +02:00
Igor Ilic
f58a8edac6 refactor: set proper GH action order to have test be valid 2025-06-03 20:54:25 +02:00
Igor Ilic
0be496ed73 refactor: Have db examples run in parallel 2025-06-03 20:44:07 +02:00
Igor Ilic
1052a58c45 refactor: Update cognee lib versions 2025-06-03 20:21:24 +02:00
Igor Ilic
1fb0aeea79 Merge branch 'dataset-permissions-auth-refactor' of github.com:topoteretes/cognee into dataset-permissions-auth-refactor 2025-06-03 11:48:03 +02:00
Igor Ilic
294c2a4c22 refactor: Resolve different unit test logic 2025-06-03 11:47:43 +02:00
Igor Ilic
87a2b841c0
Merge branch 'dev' into dataset-permissions-auth-refactor 2025-06-03 11:38:05 +02:00
Igor Ilic
172aea611a Revert "fix: add auth0 authorization"
This reverts commit bcb5b12964.
2025-06-03 11:36:05 +02:00
Hande
d720a4dbb2
feat: add relational db migration and dlt example (#843)
<!-- .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>
Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
2025-06-03 06:35:26 +02:00
Hande
e0aa7c9a61
fix: memgraph adapter (#899)
<!-- .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-02 22:38:23 +02:00
Boris Arzentar
450d9ada33
Merge remote-tracking branch 'origin/dev' into dataset-permissions-auth-refactor 2025-06-02 16:59:05 +02:00
Boris Arzentar
748671484e
Merge remote-tracking branch 'origin/dataset-permissions-auth-refactor' into dataset-permissions-auth-refactor 2025-06-02 16:58:23 +02:00
Boris Arzentar
bcb5b12964
fix: add auth0 authorization 2025-06-02 16:58:03 +02:00
Igor Ilic
7f3aebd06d fix: Resolve issue with searching datasets by UUID 2025-06-02 15:41:15 +02:00
Igor Ilic
8e85cd2ae3 fix: resolve failing unit test 2025-06-02 15:13:58 +02:00
Igor Ilic
e14609bc4f refactor: Allow using dataset name for search endpoint 2025-06-02 15:07:18 +02:00
Igor Ilic
f0022e2f07 refactor: keep old search datasets parameter 2025-06-02 14:46:24 +02:00
Igor Ilic
939aaf1b5e refactor: change endpoint to use url data 2025-06-02 13:34:38 +02:00
Igor Ilic
a500aeba80 fix: Resolve issue with wrong permission variable name 2025-06-02 13:23:14 +02:00
Igor Ilic
880f7d4c5d refactor: Handle PR comments 2025-06-02 12:48:30 +02:00
Igor Ilic
55943630bd Merge branch 'dataset-permissions-auth-refactor' of github.com:topoteretes/cognee into dataset-permissions-auth-refactor 2025-06-02 11:15:58 +02:00
Igor Ilic
35c554f337
refactor: Make relational db migration example clearer [dev branch] (#882)
<!-- .github/pull_request_template.md -->

## Description
Update relational db migration example so it's more understandable

## 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-02 04:38:46 -04:00
Boris Arzentar
e644c3b86d
Merge remote-tracking branch 'origin/dev' into dataset-permissions-auth-refactor 2025-05-31 12:17:59 +02:00
vasilije
8a23a94699 Merge remote-tracking branch 'origin/main' into dev 2025-05-30 17:30:02 -07:00
Vasilije
b58d7d44f3
fix: 0.1.41 Release (#894)
<!-- .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.

---------

Signed-off-by: Diego B Theuerkauf <diego.theuerkauf@tuebingen.mpg.de>
Co-authored-by: Igor Ilic <30923996+dexters1@users.noreply.github.com>
Co-authored-by: Boris Arzentar <borisarzentar@gmail.com>
Co-authored-by: Boris <boris@topoteretes.com>
Co-authored-by: Igor Ilic <igorilic03@gmail.com>
Co-authored-by: Hande <159312713+hande-k@users.noreply.github.com>
Co-authored-by: Matea Pesic <80577904+matea16@users.noreply.github.com>
Co-authored-by: hajdul88 <52442977+hajdul88@users.noreply.github.com>
Co-authored-by: Daniel Molnar <soobrosa@gmail.com>
Co-authored-by: Diego Baptista Theuerkauf <34717973+diegoabt@users.noreply.github.com>
Co-authored-by: Dmitrii Galkin <36552323+dm1tryG@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: lxobr <122801072+lxobr@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
2025-05-31 02:19:29 +02:00
vasilije
6c2848cc46 Merge remote-tracking branch 'origin/main' into dev
# Conflicts:
#	CONTRIBUTING.md
#	Dockerfile
#	README.md
#	cognee-mcp/pyproject.toml
#	cognee-mcp/src/server.py
#	cognee-mcp/uv.lock
#	cognee/infrastructure/databases/graph/memgraph/memgraph_adapter.py
#	cognee/infrastructure/databases/graph/networkx/adapter.py
#	cognee/infrastructure/databases/vector/chromadb/ChromaDBAdapter.py
#	cognee/infrastructure/databases/vector/milvus/MilvusAdapter.py
#	cognee/infrastructure/databases/vector/qdrant/QDrantAdapter.py
#	cognee/infrastructure/databases/vector/weaviate_db/WeaviateAdapter.py
#	cognee/modules/retrieval/graph_completion_retriever.py
#	cognee/modules/retrieval/utils/brute_force_triplet_search.py
#	cognee/tests/test_neo4j.py
#	entrypoint.sh
#	pyproject.toml
#	uv.lock
2025-05-30 14:17:27 -07:00
Boris
57b0e0ef0b
Merge with main (#892)
<!-- .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: vasilije <vas.markovic@gmail.com>
Co-authored-by: Igor Ilic <30923996+dexters1@users.noreply.github.com>
Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
Co-authored-by: Igor Ilic <igorilic03@gmail.com>
Co-authored-by: Hande <159312713+hande-k@users.noreply.github.com>
Co-authored-by: Matea Pesic <80577904+matea16@users.noreply.github.com>
Co-authored-by: hajdul88 <52442977+hajdul88@users.noreply.github.com>
Co-authored-by: Daniel Molnar <soobrosa@gmail.com>
Co-authored-by: Diego Baptista Theuerkauf <34717973+diegoabt@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions@users.noreply.github.com>
2025-05-30 23:13:04 +02:00
Boris
5a04421065
version: v0.1.41 (#890)
<!-- .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-05-30 22:59:07 +02:00
Boris
d91602e24b
0.1.41 Release fixes (#889)
<!-- .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-05-30 22:06:14 +02:00
Boris Arzentar
29ec092520
Merge remote-tracking branch 'origin/dev' into dataset-permissions-auth-refactor 2025-05-30 15:45:46 +02:00
hajdul88
d8ef2903ba
feat: removes unused properies from node and edge pydantic models (#884)
<!-- .github/pull_request_template.md -->

## Description
Removes unused properies from node and edge pydantic models.

## 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-05-30 15:35:32 +02:00
Boris Arzentar
f0f3a5de5f
Merge remote-tracking branch 'origin/dev' into dataset-permissions-auth-refactor 2025-05-30 15:00:21 +02:00