Commit Graph

352 Commits (d09e3c3658d603f0e686c05d0b80f94ca99fe147)

Author SHA1 Message Date
Steven 72ca4e74ee refactor: impl part of grpcweb 1 year ago
Steven d5c1706e9c chore: update api middlewares 1 year ago
Steven 178a5c0130 chore: upgrade version to `0.15.0` 1 year ago
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
1 year ago
boojack 0d50f5bd08
chore: update comments (#2195) 2 years ago
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
2 years ago
boojack 18fb02a1ec
chore: update swag docs (#2178)
* chore: update swag docs

* chore: update
2 years ago
Sandu Liviu Catalin 6c01e84099
feat: add configuration option to bind server to specific address (#2165) 2 years ago
boojack 19e7731abb
chore: generate ts definition (#2156)
* chore: generate ts definition

* chore: update
2 years ago
boojack 95588542f9
chore: upgrade version to `0.14.4` (#2132) 2 years ago
boojack 35f2d399e2
chore: update api v1 docs (#2117)
* chore: update apiv1 docs

* chore: update
2 years ago
Lincoln Nogueira 4491c75135
feat: add SwaggerUI and v1 API docs (#2115)
* - Refactor several API routes from anonymous functions to regular definitions. Required to add parseable documentation comments.

- Add API documentation comments using Swag Declarative Comments Format

- Add echo-swagger to serve Swagger-UI at /api/index.html

- Fix error response from extraneous parameter resourceId to relatedMemoId in DELETE("/memo/:memoId/relation/:relatedMemoId/type/:relationType")

- Add an auto-generated ./docs/api/v1.md for quick reference on repo (generated by swagger-markdown)

- Add auxiliary scripts to generate docs.go and swagger.yaml

* fix: golangci-lint errors

* fix: go fmt flag in swag scripts
2 years ago
Derek Reiff f9d1080a7d
fix: minor spelling and wording changes for en and de (#2096)
Minor spelling and wording changes

I went through some of english and german localizations to correct or add minor things.

Added `invalid-tag-name` to json. Which also means it should be translated elsewhere.
2 years ago
boojack e097e8331e
chore: upgrade version `0.14.3` (#2086) 2 years ago
boojack 218159bf83
chore: remove openai setting section (#2084) 2 years ago
boojack 7c5296cf35
chore: update id type to int32 (#2076) 2 years ago
boojack cc3a47fc65
feat: impl auth interceptor (#2055)
* feat: impl auth interceptor

* chore: update

* chore: update

* chore: update
2 years ago
boojack 9ef0f8a901
feat: add user setting field (#2054) 2 years ago
boojack 470fe1df49
feat: implement part of user service (#2053)
* feat: implement part of user service

* chore: update

* chore: update
2 years ago
boojack 89ba2a6540
feat: implement part of tag service (#2051)
* feat: add grpc gateway tempalte

* chore: update

* chore: move directory

* chore: update
2 years ago
boojack 8328b5dd4a
chore: upgrade version to `0.14.2` (#2035)
* chore: upgrade version to `0.14.2`

* chore: remove TestConcurrentReadWrite test
2 years ago
boojack 4231ec5a1a
chore: upgrade version to `0.14.1` (#2004) 2 years ago
boojack 589b104671
chore: upgrade version to `v0.14.0` (#1970)
* chore: upgrade version

* chore: update

* chore: update
2 years ago
boojack 40a30d46af
chore: update db connection params (#1960) 2 years ago
Athurg Gooth d9b3501fae
feat: add support for auto backup db file (#1950)
Add support for auto backup db file
2 years ago
CorrectRoadH 39351970d0
feat: implement memo chat frontend (#1938)
* feat: implment backend function

* feat: implment frontend component

* stash

* eslint

* eslint

* eslint

* delete node

* stash

* refactor the style

* eslint

* eslint

* eslint

* fix build error

* add dep

* Update web/src/components/MemosChat/ConversationTab.tsx

Co-authored-by: boojack <stevenlgtm@gmail.com>

* Update web/src/components/MemosChat/ConversationTab.tsx

Co-authored-by: boojack <stevenlgtm@gmail.com>

* feat: change the name

* disable for vistor

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
Athurg Gooth 06dbd87311
chore: split save resource asset (#1939)
* Move resource blob save into a independent function

* Support save resouce blob from Telegram like HTTP API

* Support save resouce blob download from URL to LocalStorage or S3

* fix typo
2 years ago
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>
2 years ago
CorrectRoadH d8b6e92813
feat: implement memos chat backend function (#1934)
* feat: implment backend function

* eslint

* eslint

* eslint
2 years ago
boojack 7e391bd53d
chore: remove resource public id (#1912)
* chore: remove resource public id

* chore: update
2 years ago
boojack 0e05c62a3b
chore: update common utils (#1908) 2 years ago
boojack a7573d5705
refactor: migrate memo to apiv1 (#1907)
* refactor: migrate memo to apiv1

* chore: update

* chore: update

* chore: update

* chore: upate

* chore: update

* chore: update
2 years ago
boojack 1fa9f162a5
refactor: migrate resource to apiv1 (#1901) 2 years ago
Athurg Gooth 5ea561af3d
feat: add support for purged resource link (#1897)
Add support for purged resource link
2 years ago
boojack 5b6c98582e
refactor: migrate storage to apiv1 (#1890)
* refactor: migrate storage to apiv1

* chore: update

* chore: update

* chore: update
2 years ago
Athurg Gooth 0af14fc81a
fix: invalid orientation of image thumbnail in Apple devices (#1891) 2 years ago
boojack 66e65e4dc1
refactor: migrate definition to api v1 (#1879)
* refactor: user api v1

* refactor: system setting to apiv1

* chore: remove unused definition

* chore: update

* chore: refactor: system setting

* chore: update

* refactor: migrate tag

* feat: migrate activity store

* refactor: migrate shortcut apiv1

* chore: update
2 years ago
boojack 9a8d43bf88
chore: update user store names (#1877)
* chore: update user store names

* chore: update
2 years ago
boojack ca770c87d6
chore: upgrade version to `v0.13.2` (#1873) 2 years ago
CorrectRoadH 30fae208c2
fix: pin memos of other people (#1870) 2 years ago
boojack 5fe644a3b6
chore: add jwt middleware in apiv1 (#1869) 2 years ago
CorrectRoadH c9aa2eeb98
fix: validate access token (#1867)
* fix/to_valid_token

* eslint

* revert

* Update server/jwt.go

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
boojack 6a78887f1d
chore: update store types name (#1862) 2 years ago
boojack b44f2b5ffb
chore: migrate user setting to api v1 package (#1855)
* chore: migrate to api v1 package

* chore: update
2 years ago
boojack b34aded376
refactor: migration idp api (#1842)
* refactor: migration idp api

* chore: update
2 years ago
boojack 4ed9a3a0ea
refactor: migrate auth routes to v1 package (#1841)
* feat: add api v1 packages

* chore: migrate auth to v1

* chore: update test
2 years ago
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>
2 years ago
Athurg Gooth e6c9f2a00e
feat: add support for download resource from link (#1800)
* Add support for download resource from link

* Parse external link and add file ext name from mime info

* Add zh-Hans locale for `download-link`

* fix typo on code and comments

* Update server/resource.go

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
boojack 11a385cda6
chore: update upgrade version view (#1791) 2 years ago
boojack 32e2f1d339
chore: update page routes (#1790)
chore: update routers
2 years ago