Commit Graph

133 Commits (05f73a2236ed44dfd27c4f80371d84a3f166fb0c)

Author SHA1 Message Date
Steven 72ca4e74ee refactor: impl part of grpcweb 2 years ago
Steven d5c1706e9c chore: update api middlewares 2 years 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
2 years 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
boojack 24b21aa9d7
chore: update version to `0.9.1` (#882) 2 years ago
boojack c9bb2b785d
chore: fix CSRF (#876) 2 years ago
boojack 99d9cc9168
fix: set csp header only for resource (#836) 2 years ago
boojack c07b4a57ca
feat: add secure middleware (#832) 2 years ago
boojack a467a7c173
feat: upgrade dev version to `0.8.1` (#656)
* feat: upgrade version to `0.8.1`

* chore: update
2 years ago
boojack 7c6d7226f5
feat: update appearance selector (#645) 2 years ago
boojack 013ded1e04
chore: code clean (#516) 2 years ago
boojack 878e0eabc8
feat: add crawler plugin (#492)
* feat: add crawler plugin

* chore: update

* chore: go mod tidy

* chore: update
2 years ago
boojack 95376f78f6
feat: add metric plugin (#361) 3 years ago
Zhou Yunliang 4e00b1b0cd
feat: rss support (#343)
* feat: rss support

* chore: go mod tidy

* chore: change route group prefix

* Update server/server.go

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

* Update server/rss.go

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

Co-authored-by: boojack <stevenlgtm@gmail.com>
3 years ago
Steven fbce43870f chore: update resource base url 3 years ago
Steven b1e6956441 chore: add cache for resource 3 years ago
Steven e3fac742c5 chore: update logger 3 years ago
boojack 99df4acfe9 chore: use `cors` middleware 3 years ago
boojack d83f204d8c chore: update acl middleware 3 years ago
boojack 46d7ecca88 feat: use go embed 3 years ago
boojack 1afc183458 feat: update memo visibility in frontend 3 years ago
boojack 6f32643d7c
refactor: visitor view (#107)
* refactor: update api

* refactor: visitor view

* chore: update seed data
3 years ago
boojack 011fcc7dd4 chore: rename module 3 years ago
Steven 9f81362027
feat: add `/api/tag` (#82) 3 years ago
boojack c3c2882dc5 chore: update server profile 3 years ago
boojack 7b668f17f5 chore: rename repo 3 years ago
boojack 7b8a825489 chore: add greeting banner 3 years ago
boojack fbf4afff8e refactor: store 3 years ago
boojack da94b96b0e chore: update mode flag 3 years ago
email b3a431570c feat: system api with profiles 3 years ago
email 1cebf1dbd0 feat: const session secret key in dev 3 years ago
email ef8034836c fix: get session handler 3 years ago
email 925773dbd6 chore: address comments 3 years ago
email 4535e0ce6d fix: resource api 3 years ago
email d6418f5ff9 chore(go): use `json` instead of `jsonapi` 3 years ago
email a8f0c9a7b1 fix: get&set session 3 years ago
email d661134b03 refactor: backend 3 years ago