Compare commits

..

13 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
github-actions[bot] 78fd4eb54c bump: version 0.2.1 → 0.2.2 2025-05-24 22:37:16 +00:00
Chris Coutinho 93092a94cc Merge pull request #32 from cbcoutinho/renovate/actions-checkout-4.x
chore(deps): update actions/checkout action to v4
2025-05-25 00:36:44 +02:00
renovate-bot-cbcoutinho[bot] 914aef2861 chore(deps): update actions/checkout action to v4 2025-05-24 22:05:46 +00:00
Chris Coutinho fab0f3ef05 bump: version 0.2.0 → 0.2.1 2025-05-24 22:54:30 +02:00
Chris Coutinho 0e6ff3bdda Merge pull request #30 from cbcoutinho/feature/locked
Feature/locked
2025-05-24 22:52:03 +02:00
Chris Coutinho 37f031d13e fix: Install deps before checking service 2025-05-24 22:51:13 +02:00
Chris Coutinho 02e05dc8d0 ci: comments 2025-05-24 22:41:09 +02:00
Chris Coutinho 21019c6cff ci: use locked in test 2025-05-24 22:36:33 +02:00
9 changed files with 38 additions and 20 deletions
+3 -3
View File
@@ -15,17 +15,17 @@ jobs:
packages: write
steps:
- name: Check out
uses: actions/checkout@v3
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
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 }}
@@ -11,7 +11,6 @@ jobs:
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
@@ -22,7 +21,6 @@ jobs:
with:
# list of Docker images to use as base name for tags
images: |
#cbcoutinho/nextcloud-mcp-server
ghcr.io/cbcoutinho/nextcloud-mcp-server
# generate Docker tags based on the following events/attributes
tags: |
+8 -12
View File
@@ -17,6 +17,14 @@ jobs:
with:
compose-file: "./docker-compose.yml"
- name: Install dependencies
run: |
sudo apt update -y && sudo apt install -y pipx
pipx install uv
uv sync --locked
env:
DEBIAN_FRONTEND: "noninteractive"
- name: Wait for service to be ready
run: |
echo "Waiting for service at http://localhost:8080/ocs/v2.php/apps/serverinfo/api/v1/info to return 401..."
@@ -33,18 +41,6 @@ jobs:
done
echo "Service is ready (returned 401)."
- name: Install notes app
run: |
docker compose exec app php occ app:enable notes
- name: Install dependencies
run: |
sudo apt update -y && sudo apt install -y pipx
pipx install uv
uv sync --frozen
env:
DEBIAN_FRONTEND: "noninteractive"
# Add subsequent steps here, e.g., running tests
- name: Run tests
env:
+20
View File
@@ -1,3 +1,23 @@
## v0.2.3 (2025-05-25)
### Fix
- Limit search results to notes with score > 0.5
## v0.2.2 (2025-05-24)
### Fix
- Install deps before checking service
## v0.2.1 (2025-05-24)
### Fix
- Install deps before checking service
## v0.2.1 (2025-05-24)
## v0.2.0 (2025-05-24)
### Feat
+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.0"
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.0"
version = "0.2.3"
source = { editable = "." }
dependencies = [
{ name = "httpx" },