Commit Graph

40 Commits (756e6a150cc507fa11495b84a8e50b08e877b51a)

Author SHA1 Message Date
Alexandr Tumaykin c5a1f4c839
feat: format message from telegram and upload attachments ()
* feat: format message from telegram and download documents

* fix: remove bool in expression

* refactor: convert to markdown

* refactor: resolve remarks and add support new message types

* refactor: resolve remarks

* feat: add test for mime type

---------

Co-authored-by: Александр Тумайкин <AATumaykin@tsum.ru>
Athurg Gooth 4d59689126
feat: set memo visibility in telegram ()
* Add telegram.Bot in MessageHandler

* Change single message handler like group messages

* Move message notify wrapper from plugin to server

* Add keyboard buttons on Telegram reply message

* Add support to telegram CallbackQuery update

* Set visibility in callbackQuery

* Change original reply message after callbackQuery

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
Athurg Gooth c27c6cea13
fix: failed to upload OSS with S3 SDK ()
Fix failed to upload OSS with S3 SDK

Co-authored-by: Athurg Feng <athurg@gooth.org>
Athurg Gooth 845297ec03
refactor: change all `Robot` to `Bot` ()
* Change all `Robot` to `Bot`

* Change all `r` of `Bot` to `b`

* Change `Robot` to `bot` in comments

* Fix typo

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
Athurg Gooth ce64894abe
feat: add telegram proxy support ()
* Add support for reverse proxy of telegram API

* Add Telegram API proxy hint

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
Athurg Gooth 8628d1e4b2
feat: add Telegram bot config UI ()
* Add retry wait for telegram.GetUpdates

* Add support to set telegram robot token from UI

* Change validator of UserSettingTelegramUserID

* Add support to set telegram user id from UI

* Fix typescript check

* Add validator for SystemSettingTelegramRobotTokenName

* Optimize error notice while config telegram params

* Change for review

* Fix telegram user id could not be empty

* Fix telegram robot could not be empty

* Fix for eslint (again)

* Update web/src/components/Settings/SystemSection.tsx

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
Co-authored-by: boojack <stevenlgtm@gmail.com>
Athurg Gooth 1282fe732e
feat: implement telegram bot plugin ()
boojack a07d11e820
feat: tag parser ()
boojack dbc85fe7e4
feat: image and link parser ()
* feat: image and link parser

* chore: update
boojack 65890bc257
feat: implement code block parser ()
boojack 42c653e1a4
feat: implement paragraph and italic parsers ()
boojack 8c34be92a6
feat(gomark): add bold parser ()
boojack fa53a2550a
feat: add heading tokenizer ()
boojack 88799d469c
chore: initial gomark plugin ()
chore: initial gomark folder
Alex Zhao d0c40490a7
feat: add `HostnameImmutable` to aws endpoint config ()
* add config to support S3-compatible urls like minio

* add comment for HostnameImmutable

* fix linting
boojack c7a57191bd
feat: add jwt auth ()
* feat: add jwt auth

* chore: update
Xudong Cai d21abfc60c
feat: add URLSuffix resource option with S3 ()
* feat: add URLSuffix resource option with S3

* feat: add URLSuffix resource option with S3

* fix: eslint
boojack ff8851fd9f
fix: golangci-lint version ()
* chore: update interface declare

* chore: update args

* chore: update

* chore: update
boojack 573f07ec82
feat: support messages to ask AI ()
boojack 29f784cc20
feat: update find resource with linked memo amount ()
* feat: update find resource with linked memo amount

* chore: remove unused test
boojack 8d88477538
chore: rename http getter package ()
boojack ccf6af4dc3
fix: request body format in openai api ()
Wujiao233 003161ea54
feat: support set openai api host ()
* Docker

* feat: support set openai api host

* fix css

* fix eslint

* use API in backend & put host check in plugin/openai

* fix go-static-checks
Zeng1998 fd99c5461c
feat(s3): customize filenames via placeholders ()
* feat(s3): customize filenames via placeholders

* fix go-static-checks

* add tips on the frontend

* fix eslint check

* remove yarn.lock

* remove Config.Path

* update tips

* fix

* update
boojack 4335897367
chore: remove metrics plugin ()
* chore: remove metrics plugin

* chore: update
boojack 31399fe475
fix: s3 custom path ()
boojack df04e852bf
feat: implement openai integration ()
* feat: implement openai integration

* chore: update
Alex Zhao 9d4bb5b3af
feat: add support for s3 path ()
* add support for path

* fix typo and switch positions with Path and Bucket

* using path method instead of string concatenation
boojack 977e7f55e5
feat: add visibility field to resource ()
Zhizhen He 50a99e9120
fix: correct comments for exported functions and variables ()
boojack 9c5b44d070
feat: update storage schema ()
boojack 69726c3925
feat: implement oauth2 plugin ()
boojack 7e8011ba34
chore: support deleting storage ()
Zeng1998 1e4a81dea9
feat: storage service backend ()
* feat: storage service backend

* update go.mod

* update the column name (urlPrefix -> url_prefix)

* update

* update
boojack 491859bbf6
chore: update activity metrics ()
boojack 29880be283
chore: update tests ()
boojack 2d49e96a8a
feat: get image blob in backend ()
* feat: get image blob in backend

* chore: update
boojack 878e0eabc8
feat: add crawler plugin ()
* feat: add crawler plugin

* chore: update

* chore: go mod tidy

* chore: update
boojack cf75054106
feat: add system setting to allow user signup ()
boojack 95376f78f6
feat: add metric plugin ()