Compare commits

...

5 Commits

Author SHA1 Message Date
github-actions[bot] 85b9a14fc6 bump: version 0.2.2 → 0.2.3 2025-05-25 08:57:33 +00:00
Chris Coutinho e53f4dc2dc Merge pull request #33 from cbcoutinho/feature/search
Limit search results to notes with score > 0.5
2025-05-25 10:57:05 +02:00
Chris Coutinho 8147f237cd fix: Limit search results to notes with score > 0.5
Add hooks to docker-compose rather than in CICD step
2025-05-25 10:48:59 +02:00
Chris Coutinho d4966fc925 Merge pull request #31 from cbcoutinho/renovate/pin-dependencies
chore(deps): pin dependencies
2025-05-25 08:51:19 +02:00
renovate-bot-cbcoutinho[bot] f173e957f3 chore(deps): pin dependencies 2025-05-25 04:03:51 +00:00
8 changed files with 15 additions and 9 deletions
+2 -2
View File
@@ -20,12 +20,12 @@ jobs:
fetch-depth: 0
token: "${{ secrets.GITHUB_TOKEN }}"
- name: Create bump and changelog
uses: commitizen-tools/commitizen-action@0.24.0
uses: commitizen-tools/commitizen-action@5b0848cd060263e24602d1eba03710e056ef7711 # 0.24.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
changelog_increment_filename: body.md
- name: Release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2
with:
body_path: "body.md"
tag_name: v${{ env.REVISION }}
-4
View File
@@ -41,10 +41,6 @@ jobs:
done
echo "Service is ready (returned 401)."
- name: Install notes app
run: |
docker compose exec app php occ app:enable notes
# Add subsequent steps here, e.g., running tests
- name: Run tests
env:
+6
View File
@@ -1,3 +1,9 @@
## v0.2.3 (2025-05-25)
### Fix
- Limit search results to notes with score > 0.5
## v0.2.2 (2025-05-24)
### Fix
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
php /var/www/html/occ app:enable notes
+1
View File
@@ -34,6 +34,7 @@ services:
- db
volumes:
- nextcloud:/var/www/html
- ./app-hooks/post-installation:/docker-entrypoint-hooks.d/post-installation:ro
environment:
- NEXTCLOUD_TRUSTED_DOMAINS=app
- NEXTCLOUD_ADMIN_USER=admin
+1 -1
View File
@@ -211,7 +211,7 @@ class NextcloudClient:
score = self.calculate_score(query_tokens, title_tokens, content_tokens)
# Only include notes with a non-zero score
if score > 0:
if score >= 0.5:
search_results.append({
"id": note.get("id"),
"title": note.get("title"),
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "nextcloud-mcp-server"
version = "0.2.2"
version = "0.2.3"
description = ""
authors = [
{name = "Chris Coutinho",email = "chris@coutinho.io"}
Generated
+1 -1
View File
@@ -492,7 +492,7 @@ wheels = [
[[package]]
name = "nextcloud-mcp-server"
version = "0.2.2"
version = "0.2.3"
source = { editable = "." }
dependencies = [
{ name = "httpx" },