Commit Graph

61 Commits

Author SHA1 Message Date
bertybuttface
c7b9cbf962 Add MATRIX_BLACKLIST and MATRIX_WHITELIST 2023-01-07 21:58:30 +00:00
bertybuttface
aaa527bed3
Merge pull request #39 from matrixgpt/config-tidy
Tidy up env settings
2023-01-07 21:58:02 +00:00
bertybuttface
1770e1f1db Tidy up env settings
Only leave what we are currently using.
2023-01-07 19:09:59 +00:00
bertybuttface
a3c828c9fa Lookup rootEvent to check prefix in thread. 2023-01-07 18:17:13 +00:00
bertybuttface
5e7695f448 Update README.md 2023-01-07 00:32:15 +00:00
bertybuttface
49d0ae0d60 Hotfix last PR
We still need that util function for now, can remove later. Also we don't need MATRIX_BOT_USERNAME any more if we have MATRIX_ACCESS_TOKEN set.
2023-01-07 00:30:09 +00:00
bertybuttface
16f2852303
Merge pull request #37 from matrixgpt/fix-invocations
Fix invocations
2023-01-07 00:12:42 +00:00
bertybuttface
19a8dfb0e4 Cache details for mentions. 2023-01-06 23:59:52 +00:00
bertybuttface
2f6c0379ab Update handlers.ts so we ignore edit messages 2023-01-06 23:15:28 +00:00
bertybuttface
bcaf9850f7
Merge pull request #30 from matrixgpt/configurable-prefix
Allow changing the MATRIX_DEFAULT_PREFIX
2023-01-06 16:23:09 +00:00
bertybuttface
0c4f3303a9 Make MATRIX_PREFIX configurable at conversation level
At the conversation level.
2023-01-05 22:24:19 +00:00
bertybuttface
0ed4a5e43c
Merge pull request #29 from matrixgpt/dependabot/npm_and_yarn/dotenv-16.0.3
Bump dotenv from 14.2.0 to 16.0.3
2023-01-03 15:05:32 +00:00
bertybuttface
d51603091b
Merge pull request #28 from matrixgpt/dependabot/npm_and_yarn/typescript-4.9.4
Bump typescript from 4.5.2 to 4.9.4
2023-01-03 15:05:15 +00:00
dependabot[bot]
6d625353fa
Bump typescript from 4.5.2 to 4.9.4
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.2 to 4.9.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.2...v4.9.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-03 15:04:39 +00:00
dependabot[bot]
95d0f44242
Bump dotenv from 14.2.0 to 16.0.3
Bumps [dotenv](https://github.com/motdotla/dotenv) from 14.2.0 to 16.0.3.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v14.2.0...v16.0.3)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-03 15:04:28 +00:00
bertybuttface
8521496318
Merge pull request #26 from matrixgpt/dependabot/npm_and_yarn/chatgpt-3.3.10
Bump chatgpt from 2.0.5 to 3.3.10
2023-01-03 15:02:23 +00:00
dependabot[bot]
7a271c685c
Bump chatgpt from 2.0.5 to 3.3.10
Bumps [chatgpt](https://github.com/transitive-bullshit/chatgpt-api) from 2.0.5 to 3.3.10.
- [Release notes](https://github.com/transitive-bullshit/chatgpt-api/releases)
- [Commits](https://github.com/transitive-bullshit/chatgpt-api/compare/v2.0.5...v3.3.10)

---
updated-dependencies:
- dependency-name: chatgpt
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-03 02:59:10 +00:00
bertybuttface
831e591858
Create dependabot.yml 2023-01-03 02:58:41 +00:00
bertybuttface
a5da083eb1
Merge pull request #25 from matrixgpt/code-tidy
Add types to variable and tidy code
2023-01-03 02:56:40 +00:00
bertybuttface
65b9b28435 Add types to variable and tidy code 2023-01-03 02:49:59 +00:00
bertybuttface
71d77358d4
Merge pull request #23 from bertybuttface/fix-prefix-reply
Fix prefix reply
2023-01-03 02:39:27 +00:00
bertybuttface
f7f55412a6 Fix MATRIX_PREFIX_REPLY 2023-01-03 02:38:46 +00:00
bertybuttface
8115dd4779
Update main.yml 2023-01-03 02:35:38 +00:00
bertybuttface
e217111f4e
Merge pull request #24 from bertybuttface/main
Add GitHub actions to build Docker images
2023-01-03 02:34:42 +00:00
bertybuttface
340ff49457 Add GitHub actions to build Docker images 2023-01-03 01:56:35 +00:00
bertybuttface
ec793d01fb
Merge pull request #22 from bertybuttface/main
Fixes for Docker and Permissions
2023-01-02 15:49:11 +00:00
bertybuttface
2183b623bb Fix Docker permissions issue
Update Dockerfile and README
2023-01-02 15:46:45 +00:00
bertybuttface
88c952f618
Merge pull request #21 from mpiscaer/patch-1
Add description about OPENAI_LOGIN_TYPE
2023-01-02 15:37:37 +00:00
Michiel Piscaer
e54d0c47d1
Add description about OPENAI_LOGIN_TYPE
Add description about OPENAI_LOGIN_TYPE
2023-01-01 21:09:55 +01:00
Jake Coppinger
80b6927fbd
Merge pull request #18 from bertybuttface/main
A large, non-atomic pull request to get us back in sync
2023-01-01 21:59:19 +11:00
bertybuttface
4946ac5fc1 Various fixes 2022-12-31 22:09:14 +00:00
Jake Coppinger
57af80d5e8
Merge pull request #16 from bertybuttface/storage-fixes 2022-12-29 18:00:41 +11:00
bertybuttface
c949b37359
Merge pull request #7 from bertybuttface/conversation-rebased
Add support for ChatGPT conversations via Matrix threads
2022-12-29 03:42:44 +00:00
bertybuttface
c1b78d8d0e Add support for ChatGPT conversations via Matrix threads 2022-12-29 03:30:56 +00:00
bertybuttface
b3af083b80 Fix isGoogleLogin after merge. 2022-12-29 03:29:59 +00:00
bertybuttface
72fe67312d Fix missing cryptoStore after merge 2022-12-29 03:29:10 +00:00
bertybuttface
7ff44a663a
Merge pull request #6 from bertybuttface/bump-dependencies
Bump dependencies.
2022-12-29 03:23:57 +00:00
bertybuttface
94d638c8a9 Bump dependencies. 2022-12-29 03:22:16 +00:00
bertybuttface
81bf953b94 Merge branch 'jcromero-matrix-prefix' 2022-12-29 03:13:12 +00:00
Juan Carlos Romero
42c8ce02f1 Add a prefix to make the bot reply 2022-12-29 03:12:18 +00:00
bertybuttface
bb1637e459
Merge pull request #4 from bertybuttface/storage-fixes
Fix storage, e2e and add feature flags
2022-12-29 02:48:57 +00:00
bertybuttface
d92ba25c18
Merge branch 'main' into storage-fixes 2022-12-29 02:48:50 +00:00
bertybuttface
159f14b807
Merge pull request #3 from bertybuttface/matrix-login-fix
Use matrix access token if we have it, print one if we don't.
2022-12-29 02:46:12 +00:00
bertybuttface
0a8f6d04a8
Merge pull request #2 from bertybuttface/patch-3
Patch 3
2022-12-29 02:44:48 +00:00
bertybuttface
e5965a45a6
Merge pull request #1 from bertybuttface/patch-1
Patch 1
2022-12-29 02:43:50 +00:00
bertybuttface
f33d01e531 Fix storage, e2e and add feature flags 2022-12-29 02:38:29 +00:00
bertybuttface
c5793ec12b Use matrix access token if we have it, print one if we don't. 2022-12-29 01:34:51 +00:00
bertybuttface
5fba831d94
Bump chatgpt to 3.3.6 (latest) 2022-12-28 22:48:35 +00:00
bertybuttface
1a80e1daf9
Bump chatgpt dependency to 3.3.5 (latest) 2022-12-28 02:57:45 +00:00
bertybuttface
0b55624710
Fix for when isGoogleLogin undefined 2022-12-26 00:40:56 +00:00