Commit Graph

83 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
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
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 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
boojack 218159bf83
chore: remove openai setting section (#2084) 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 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
CorrectRoadH d8b6e92813
feat: implement memos chat backend function (#1934)
* feat: implment backend function

* eslint

* eslint

* eslint
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
boojack 5b6c98582e
refactor: migrate storage to apiv1 (#1890)
* refactor: migrate storage to apiv1

* chore: update

* chore: update

* chore: update
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 5fe644a3b6
chore: add jwt middleware in apiv1 (#1869) 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 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>
2 years ago
Athurg Gooth 1282fe732e
feat: implement telegram bot plugin (#1740) 2 years ago
boojack b6564bcd77
feat: implement memo relation server (#1618) 2 years ago
boojack 0e70de4003
chore: split memo resource api (#1587) 2 years ago
boojack 994d5dd891
feat: server tests (#1556)
* feat: server tests

* chore: update
2 years ago
boojack 1cab30f32f
feat: add public id field to resource (#1451)
* feat: add public id field to resource

* feat: support reset resource link
2 years ago
boojack c7a57191bd
feat: add jwt auth (#1441)
* feat: add jwt auth

* chore: update
2 years ago
boojack 4335897367
chore: remove metrics plugin (#1276)
* chore: remove metrics plugin

* chore: update
2 years ago
boojack df04e852bf
feat: implement openai integration (#1245)
* feat: implement openai integration

* chore: update
2 years ago
boojack 0f57629d25
feat: implement idp server (#1111)
* feat: implement idp server

* chore: update
2 years ago
boojack 096a71c58b
feat: add `avatar_url` field to user table (#1106)
refactor: add `avatar_url` field to user table
2 years ago
Zeng1998 1e4a81dea9
feat: storage service backend (#1086)
* feat: storage service backend

* update go.mod

* update the column name (urlPrefix -> url_prefix)

* update

* update
2 years ago
boojack 870559046f
chore: update skipper name (#1080) 2 years ago
boojack 1ace332152
feat: graceful shutdown server (#1016) 2 years ago
boojack 4a7b764ab3
chore: remove unused flags for sqlite (#997) 2 years ago
boojack 6c3ff6de63
chore: get resource blob optional (#991) 2 years ago
boojack 40d25f7dca
fix: skip api error for static middleware (#941) 2 years ago
boojack e2e8130f4c
fix: sort version (#914) 2 years ago
boojack 46c13a4b7f
chore: add skipper for secure (#913) 2 years ago
boojack 491859bbf6
chore: update activity metrics (#908) 2 years ago
boojack d50ad9433f
feat: persistent session name (#902)
* feat: persistent session name

* chore: update
2 years ago
boojack 79180928d4
chore: update server activity (#898) 2 years ago
boojack e5550828a0
chore: update activity payload (#891) 2 years ago
boojack a797280e3f
chore: update middleware skipper (#887)
* chore: update middleware skipper

* chore: update
2 years ago
boojack 861eeb7b0f
chore: add skipper in CSRF (#885) 2 years ago