Steven
cd0ea6558d
chore: update golangci-lint config
2023-09-17 22:55:13 +08:00
Athurg Gooth
626ff5e3a7
feat: notify by telegram while new memo create by HTTP ( #2215 )
...
* Inject telegram bot into API service
* Add support for send telegram message
* Send notification by telegram while new memo post
2023-09-13 21:36:43 +08:00
Athurg Gooth
9987337eca
fix: all ID from int to int64 to avoid 32bits machine break ( #2191 )
...
Fix all ID from int to int64 to avoid 32bits machine break
2023-09-06 21:14:07 +08:00
boojack
a5b3fb2a6a
chore: move cron package to internal ( #2180 )
2023-08-26 23:13:03 +08:00
boojack
ad1822d308
chore: update db utils ( #2177 )
2023-08-26 07:33:45 +08:00
YuNing Chen
409d686f7d
chore: minor cleanup ( #2124 )
2023-08-11 22:34:08 +08:00
boojack
723c444910
chore: update server tests ( #2118 )
2023-08-10 09:01:38 +08:00
Alexandr Tumaykin
c5a1f4c839
feat: format message from telegram and upload attachments ( #1924 )
...
* 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>
2023-07-14 00:18:44 +08:00
Athurg Gooth
4d59689126
feat: set memo visibility in telegram ( #1824 )
...
* 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>
2023-06-14 22:10:01 +08:00
Athurg Gooth
c27c6cea13
fix: failed to upload OSS with S3 SDK ( #1792 )
...
Fix failed to upload OSS with S3 SDK
Co-authored-by: Athurg Feng <athurg@gooth.org>
2023-06-03 14:38:28 +08:00
Athurg Gooth
845297ec03
refactor: change all Robot
to Bot
( #1767 )
...
* 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>
2023-05-29 19:49:05 +08:00
Athurg Gooth
ce64894abe
feat: add telegram proxy support ( #1764 )
...
* Add support for reverse proxy of telegram API
* Add Telegram API proxy hint
---------
Co-authored-by: Athurg Feng <athurg@gooth.org>
2023-05-29 13:29:21 +08:00
Athurg Gooth
8628d1e4b2
feat: add Telegram bot config UI ( #1747 )
...
* 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>
2023-05-26 19:16:51 +08:00
Athurg Gooth
1282fe732e
feat: implement telegram bot plugin ( #1740 )
2023-05-26 09:43:51 +08:00
boojack
a07d11e820
feat: tag parser ( #1745 )
2023-05-26 09:05:17 +08:00
boojack
dbc85fe7e4
feat: image and link parser ( #1744 )
...
* feat: image and link parser
* chore: update
2023-05-26 08:43:37 +08:00
boojack
65890bc257
feat: implement code block parser ( #1727 )
2023-05-24 00:31:37 +08:00
boojack
42c653e1a4
feat: implement paragraph and italic parsers ( #1725 )
2023-05-23 21:11:01 +08:00
boojack
8c34be92a6
feat(gomark): add bold parser ( #1724 )
2023-05-23 20:49:32 +08:00
boojack
fa53a2550a
feat: add heading tokenizer ( #1723 )
2023-05-23 19:52:31 +08:00
boojack
88799d469c
chore: initial gomark plugin ( #1678 )
...
chore: initial gomark folder
2023-05-18 21:33:18 +08:00
Alex Zhao
d0c40490a7
feat: add HostnameImmutable
to aws endpoint config ( #1230 )
...
* add config to support S3-compatible urls like minio
* add comment for HostnameImmutable
* fix linting
2023-04-15 00:17:48 +08:00
boojack
c7a57191bd
feat: add jwt auth ( #1441 )
...
* feat: add jwt auth
* chore: update
2023-04-02 09:28:02 +08:00
Xudong Cai
d21abfc60c
feat: add URLSuffix resource option with S3 ( #1428 )
...
* feat: add URLSuffix resource option with S3
* feat: add URLSuffix resource option with S3
* fix: eslint
2023-04-01 15:28:00 +08:00
boojack
ff8851fd9f
fix: golangci-lint version ( #1381 )
...
* chore: update interface declare
* chore: update args
* chore: update
* chore: update
2023-03-18 22:34:22 +08:00
boojack
573f07ec82
feat: support messages to ask AI ( #1380 )
2023-03-18 22:07:14 +08:00
boojack
29f784cc20
feat: update find resource with linked memo amount ( #1354 )
...
* feat: update find resource with linked memo amount
* chore: remove unused test
2023-03-15 00:04:52 +08:00
boojack
8d88477538
chore: rename http getter package ( #1349 )
2023-03-14 08:38:54 +08:00
boojack
ccf6af4dc3
fix: request body format in openai api ( #1309 )
2023-03-08 19:37:50 +08:00
Wujiao233
003161ea54
feat: support set openai api host ( #1292 )
...
* 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
2023-03-06 20:10:53 +08:00
Zeng1998
fd99c5461c
feat(s3): customize filenames via placeholders ( #1285 )
...
* 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
2023-03-06 12:04:19 +00:00
boojack
4335897367
chore: remove metrics plugin ( #1276 )
...
* chore: remove metrics plugin
* chore: update
2023-03-05 21:42:32 +08:00
boojack
31399fe475
fix: s3 custom path ( #1249 )
2023-03-04 20:06:32 +08:00
boojack
df04e852bf
feat: implement openai integration ( #1245 )
...
* feat: implement openai integration
* chore: update
2023-03-04 18:22:10 +08:00
Alex Zhao
9d4bb5b3af
feat: add support for s3 path ( #1233 )
...
* add support for path
* fix typo and switch positions with Path and Bucket
* using path method instead of string concatenation
2023-03-04 07:59:44 +08:00
boojack
977e7f55e5
feat: add visibility field to resource ( #1185 )
2023-02-27 21:26:50 +08:00
Zhizhen He
50a99e9120
fix: correct comments for exported functions and variables ( #1158 )
2023-02-25 20:48:38 +08:00
boojack
9c5b44d070
feat: update storage schema ( #1142 )
2023-02-24 00:02:51 +08:00
boojack
69726c3925
feat: implement oauth2 plugin ( #1110 )
2023-02-18 10:50:13 +08:00
boojack
7e8011ba34
chore: support deleting storage ( #1095 )
2023-02-15 22:54:46 +08:00
Zeng1998
1e4a81dea9
feat: storage service backend ( #1086 )
...
* feat: storage service backend
* update go.mod
* update the column name (urlPrefix -> url_prefix)
* update
* update
2023-02-13 19:36:48 +08:00
boojack
491859bbf6
chore: update activity metrics ( #908 )
2023-01-05 20:56:50 +08:00
boojack
29880be283
chore: update tests ( #572 )
2022-11-25 21:51:53 +08:00
boojack
2d49e96a8a
feat: get image blob in backend ( #495 )
...
* feat: get image blob in backend
* chore: update
2022-11-19 18:43:56 +08:00
boojack
878e0eabc8
feat: add crawler plugin ( #492 )
...
* feat: add crawler plugin
* chore: update
* chore: go mod tidy
* chore: update
2022-11-19 16:58:55 +08:00
boojack
cf75054106
feat: add system setting to allow user signup ( #407 )
2022-11-03 21:47:36 +08:00
boojack
95376f78f6
feat: add metric plugin ( #361 )
2022-10-29 03:15:39 +00:00