Commit Graph

95 Commits (e60e47f76fe26a40e5060f1027b75f2d110f80fc)

Author SHA1 Message Date
Steven 36b4ba33fa chore: remove outdated activity definition
Athurg Gooth 0f4e5857f0
chore: remove gRPC listener ()
Disable gRPC listener
Steven 5b3af827e1 chore: move common packages to internal
Steven a5df36eff2 chore: update metrics
Athurg Gooth d3e32f0d5a
chore: add latency in log ()
* Print profile.Data in boot log

* Add latency in request log
Steven ab2c86640b chore: move rate limiter to apiv1
Athurg Gooth c00dac1bbf
fix: index page failed with 429 ()
Steven 7549c807ac chore: update memo view activity
Athurg Gooth ca98367a0a
chore: store vacuum and clean ()
* Move all vacuum code into driver

* Remove db from Store
Steven 7da10cd367 chore: update telegram integration folder
Steven 6d45616dbe chore: add cors middleware
Steven cd0ea6558d chore: update golangci-lint config
Steven 72ca4e74ee refactor: impl part of grpcweb
Steven d5c1706e9c chore: update api middlewares
Athurg Gooth 626ff5e3a7
feat: notify by telegram while new memo create by HTTP ()
* Inject telegram bot into API service

* Add support for send telegram message

* Send notification by telegram while new memo post
boojack 0d50f5bd08
chore: update comments ()
boojack 18fb02a1ec
chore: update swag docs ()
* chore: update swag docs

* chore: update
Sandu Liviu Catalin 6c01e84099
feat: add configuration option to bind server to specific address ()
boojack 35f2d399e2
chore: update api v1 docs ()
* chore: update apiv1 docs

* chore: update
Lincoln Nogueira 4491c75135
feat: add SwaggerUI and v1 API docs ()
* - 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
boojack 218159bf83
chore: remove openai setting section ()
boojack cc3a47fc65
feat: impl auth interceptor ()
* feat: impl auth interceptor

* chore: update

* chore: update

* chore: update
boojack 9ef0f8a901
feat: add user setting field ()
boojack 470fe1df49
feat: implement part of user service ()
* feat: implement part of user service

* chore: update

* chore: update
boojack 89ba2a6540
feat: implement part of tag service ()
* feat: add grpc gateway tempalte

* chore: update

* chore: move directory

* chore: update
boojack 40a30d46af
chore: update db connection params ()
Athurg Gooth d9b3501fae
feat: add support for auto backup db file ()
Add support for auto backup db file
CorrectRoadH 39351970d0
feat: implement memo chat frontend ()
* 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>
CorrectRoadH d8b6e92813
feat: implement memos chat backend function ()
* feat: implment backend function

* eslint

* eslint

* eslint
boojack 0e05c62a3b
chore: update common utils ()
boojack a7573d5705
refactor: migrate memo to apiv1 ()
* refactor: migrate memo to apiv1

* chore: update

* chore: update

* chore: update

* chore: upate

* chore: update

* chore: update
boojack 1fa9f162a5
refactor: migrate resource to apiv1 ()
boojack 5b6c98582e
refactor: migrate storage to apiv1 ()
* refactor: migrate storage to apiv1

* chore: update

* chore: update

* chore: update
boojack 66e65e4dc1
refactor: migrate definition to api v1 ()
* 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
boojack 5fe644a3b6
chore: add jwt middleware in apiv1 ()
boojack b34aded376
refactor: migration idp api ()
* refactor: migration idp api

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

* chore: migrate auth to v1

* chore: update test
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 1282fe732e
feat: implement telegram bot plugin ()
boojack b6564bcd77
feat: implement memo relation server ()
boojack 0e70de4003
chore: split memo resource api ()
boojack 994d5dd891
feat: server tests ()
* feat: server tests

* chore: update
boojack 1cab30f32f
feat: add public id field to resource ()
* feat: add public id field to resource

* feat: support reset resource link
boojack c7a57191bd
feat: add jwt auth ()
* feat: add jwt auth

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

* chore: update
boojack df04e852bf
feat: implement openai integration ()
* feat: implement openai integration

* chore: update
boojack 0f57629d25
feat: implement idp server ()
* feat: implement idp server

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

* update go.mod

* update the column name (urlPrefix -> url_prefix)

* update

* update
boojack 870559046f
chore: update skipper name ()