Skip to content

Commit 7499036

Browse files
authored
Merge pull request #27 from nextcloud/release/3.1.0
chore: prepare 3.1.0 release
2 parents 7710a11 + 27cb95b commit 7499036

File tree

5 files changed

+33
-13
lines changed

5 files changed

+33
-13
lines changed

.run/AssistantTalkBot.run.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<env name="APP_ID" value="talk_bot_ai" />
99
<env name="APP_PORT" value="10034" />
1010
<env name="APP_SECRET" value="12345" />
11-
<env name="APP_VERSION" value="3.0.2" />
12-
<env name="NEXTCLOUD_URL" value="http://stable30.local" />
11+
<env name="APP_VERSION" value="3.1.0" />
12+
<env name="NEXTCLOUD_URL" value="http://stable31.local" />
1313
<env name="PYTHONUNBUFFERED" value="1" />
1414
</envs>
1515
<option name="SDK_HOME" value="" />

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: 2023-2025 Nextcloud GmbH and Nextcloud contributors
22
# SPDX-License-Identifier: AGPL-3.0-or-later
33

4-
FROM python:3.12-bookworm
4+
FROM python:3.12-slim-bookworm
55

66
RUN \
77
apt-get update && \
@@ -25,7 +25,7 @@ RUN set -ex; \
2525
rm -rf /tmp/frp /tmp/frp.tar.gz
2626

2727
COPY requirements.txt /
28-
COPY healthcheck.sh /
28+
COPY --chmod=775 healthcheck.sh /
2929
COPY --chmod=775 start.sh /
3030
ADD /src/ /app/
3131

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@ help:
2121
@echo " "
2222
@echo " run installs $(APP_NAME) for Nextcloud Latest"
2323
@echo " run30 installs $(APP_NAME) for Nextcloud 30"
24+
@echo " run31 installs $(APP_NAME) for Nextcloud 31"
2425
@echo " "
2526
@echo " > Commands for manual registration of ExApp ($(APP_NAME) should be running!):"
2627
@echo " "
2728
@echo " register performs registration of running $(APP_NAME) into the 'manual_install' deploy daemon."
2829
@echo " register30 performs registration of running $(APP_NAME) into the 'manual_install' deploy daemon."
30+
@echo " register31 performs registration of running $(APP_NAME) into the 'manual_install' deploy daemon."
2931
@echo " "
3032

3133

@@ -47,6 +49,12 @@ run30:
4749
docker exec master-stable30-1 sudo -u www-data php occ app_api:app:register $(APP_ID) \
4850
--info-xml https://raw.githubusercontent.com/nextcloud/$(APP_ID)/main/appinfo/info.xml
4951

52+
.PHONY: run31
53+
run31:
54+
docker exec master-stable31-1 sudo -u www-data php occ app_api:app:unregister $(APP_ID) --silent --force || true
55+
docker exec master-stable31-1 sudo -u www-data php occ app_api:app:register $(APP_ID) \
56+
--info-xml https://raw.githubusercontent.com/nextcloud/$(APP_ID)/main/appinfo/info.xml
57+
5058
.PHONY: register
5159
register:
5260
docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister $(APP_ID) --silent --force || true
@@ -56,3 +64,8 @@ register:
5664
register30:
5765
docker exec master-stable30-1 sudo -u www-data php occ app_api:app:unregister $(APP_ID) --silent --force || true
5866
docker exec master-stable30-1 sudo -u www-data php occ app_api:app:register $(APP_ID) manual_install --json-info $(JSON_INFO) --wait-finish
67+
68+
.PHONY: register31
69+
register31:
70+
docker exec master-stable31-1 sudo -u www-data php occ app_api:app:unregister $(APP_ID) --silent --force || true
71+
docker exec master-stable31-1 sudo -u www-data php occ app_api:app:register $(APP_ID) manual_install --json-info $(JSON_INFO) --wait-finish

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,20 @@
55

66
## Nextcloud Assistant Talk Bot
77

8-
**A talk bot using [`AppAPI`], Task Processing API, and Talk Bot API.**
8+
**A talk bot using [`AppAPI`],
9+
the [OCS TaskProcessing API],
10+
and [Talk Bot API].**
911

10-
The bot answers questions in chat based on the model set by Nextcloud Assistant.
12+
The bot is capable of answering questions in [Nextcloud Talk] chat conversations
13+
using the large language model set by [Nextcloud Assistant].
1114

1215
## How to install:
1316

1417
1. Install [`AppAPI`]
1518
and set up a deploy daemon by following the [AppAPI instructions].
1619
_(Automatically created with AIO)_
1720
2. Go to the `Apps` menu in Nextcloud,
18-
find this app (`Assistant Talk Bot`) in the `Tools` category,
21+
find this app (`Assistant Talk Bot`) in the `AI` or `Tools` category,
1922
and click `Deploy and Enable`.
2023
3. In Nextcloud Talk,
2124
open a conversation and enable the bot in `Conversation settings`.
@@ -25,4 +28,8 @@ The bot answers questions in chat based on the model set by Nextcloud Assistant.
2528
<!-- Links -->
2629

2730
[`AppAPI`]: https://github.com/nextcloud/app_api
31+
[OCS TaskProcessing API]: https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-taskprocessing-api.html
32+
[Talk Bot API]: https://cloud-py-api.github.io/nc_py_api/reference/TalkBot.html
33+
[Nextcloud Talk]: https://nextcloud.com/talk/
34+
[Nextcloud Assistant]: https://nextcloud.com/assistant/
2835
[AppAPI instructions]: https://docs.nextcloud.com/server/latest/admin_manual/exapps_management/AppAPIAndExternalApps.html

appinfo/info.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
<summary>Nextcloud Assistant Talk Bot</summary>
1010
<description>
1111
<![CDATA[
12-
**A talk bot using [`AppAPI`](https://github.com/nextcloud/app_api), Task Processing API, and Talk Bot API.**
12+
**A talk bot using [`AppAPI`](https://github.com/nextcloud/app_api), the [OCS TaskProcessing API](https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-taskprocessing-api.html), and [Talk Bot API](https://cloud-py-api.github.io/nc_py_api/reference/TalkBot.html).**
1313
14-
The bot is capable of answering questions in chat depending on the model set by Nextcloud Assistant.
14+
The bot is capable of answering questions in Nextcloud Talk chat conversations using the large language model set by Nextcloud Assistant.
1515
16-
**The [`AppAPI`](https://github.com/nextcloud/app_api) application needs to be enabled to install and use this bot.**
16+
**The [`AppAPI`](https://apps.nextcloud.com/apps/app_api), [Nextcloud Talk](https://apps.nextcloud.com/apps/spreed), and [Nextcloud Assistant](https://apps.nextcloud.com/apps/assistant) apps needs to be enabled to install and use this bot.**
1717
]]></description>
18-
<version>3.0.2</version>
18+
<version>3.1.0</version>
1919
<licence>agpl</licence>
2020
<author mail="[email protected]" homepage="https://github.com/andrey18106">Andrey Borysenko</author>
2121
<author mail="[email protected]" homepage="https://github.com/bigcat88">Alexander Piskun</author>
@@ -28,13 +28,13 @@ The bot is capable of answering questions in chat depending on the model set by
2828
<bugs>https://github.com/nextcloud/talk_bot_ai/issues</bugs>
2929
<repository type="git">https://github.com/nextcloud/talk_bot_ai.git</repository>
3030
<dependencies>
31-
<nextcloud min-version="30" max-version="31"/>
31+
<nextcloud min-version="30" max-version="32"/>
3232
</dependencies>
3333
<external-app>
3434
<docker-install>
3535
<registry>ghcr.io</registry>
3636
<image>nextcloud/talk_bot_ai</image>
37-
<image-tag>3.0.2</image-tag>
37+
<image-tag>3.1.0</image-tag>
3838
</docker-install>
3939
</external-app>
4040
</info>

0 commit comments

Comments
 (0)