Commit Graph

447 Commits (3dddd3ec4c32f3ad7b0d2acc2fb0fe950bbf291a)

Author SHA1 Message Date
Steven 671551bdc1 chore: update memo detail page 1 year ago
Steven 9361613f23 chore: update timeline page 1 year ago
Steven b64e2ff6ff chore: implement list memo resources api 1 year ago
Steven 762cb25227 chore: update memo service 1 year ago
Steven feb700f325 chore: clear access token when user not found 1 year ago
Steven 5334fdf1b2 chore: use api v2 in archived page 1 year ago
Steven af68cae6ea chore: regenerate swagger docs 1 year ago
Steven e0cacfc6d6 chore: retire auto backup for sqlite 1 year ago
Steven d8a0528135 chore: tweak variable names 1 year ago
Steven 770607f93f fix: add markdown service to acl 1 year ago
Steven 28c0549705 feat: add markdown service 1 year ago
Steven 1c7fb77e05 chore: update user setting names 1 year ago
Steven e8ca2ea5a0 chore: rename renderer package 1 year ago
Steven 7b0ceee57b chore: update memo metadata description 1 year ago
Steven a10b3d3821 chore: tweak custom profile 1 year ago
Steven 89ef9b8531 chore: add instance url system setting 1 year ago
Steven e0290b94b4 chore: use gomark in rss api 1 year ago
Steven 4f05c972d5 chore: fix jwt acl 1 year ago
Steven 7fc7b19d64 chore: deprecate user setting legacy api 1 year ago
steven c68bfcc3b9 chore: fix user setting store 1 year ago
Steven 33dda9bf87 chore: fix auth status checks 1 year ago
Steven fa6693a7ae chore: update list memos 1 year ago
Steven b944418257 fix: register auth service 1 year ago
Steven 4ddd3caec7 chore: update user setting api 1 year ago
Steven c1f55abaeb chore: update user setting api 1 year ago
Steven fff42ebc0d fix: check auth status 1 year ago
Steven 2437419b7f fix: add auth status checks 1 year ago
Steven 5069476dcc chore: add webhook metric 1 year ago
Steven 0026f9e54f chore(frontend): add webhooks section 1 year ago
Steven bc965f6afa chore: implement webhook dispatch in api v1 1 year ago
Steven db95b94c9a chore: implement webhook service 1 year ago
Steven 45d7d0d5f6 chore: migrate get current user 1 year ago
Athurg Gooth 91296257fc
chore: remove invalid access token from db (#2539)
Remove invalid access token from db
1 year ago
Steven c0b5070e46 chore: migrate delete user 1 year ago
Steven bcd8a5a7a9 chore: migrate get tag suggestions 1 year ago
Steven ec2995d64a chore: fix order by pinned 1 year ago
Steven 7f7ddf77b8 chore: update allow sign up default value 1 year ago
Steven 4da3c1d5e5 chore: fix update user 1 year ago
Vespa314 d758ba2702
fix: allow host role update user info (#2515) 1 year ago
Athurg Gooth 52fdf8bccd
fix: persist jwt expires by cookie (#2509)
fix pesist jwt expires by cookie
1 year ago
ti777777 38f05fd6f2
chore: fix tag in http_getter.go (#2500)
Update http_getter.go

fix tag in  http_getter.go
1 year ago
Steven 7e545533cf chore: update resource cache control 1 year ago
Steven 834b58fbbd feat: add version update inbox message 1 year ago
Steven 21ad6cc871 chore: update tag service creator 1 year ago
Steven c24181b2be chore: fix jwt checks 1 year ago
Steven 39a0e69b04 chore: update function name 1 year ago
Steven e60e47f76f chore: update user definition 1 year ago
Steven e67820cabe chore: update list user api permission 1 year ago
Steven 137e64b0dd chore: update metrics 1 year ago
Steven ac81d856f6 chore: delete resource file sync 2 years ago
Steven 480c53d7a2 chore: fix id converter 2 years ago
Steven 2b7d7c95a5 chore: update inbox detect 2 years ago
Steven 0ee938c38b chore: remove unused inbox status 2 years ago
Steven 3c36cc2953 feat: add inbox ui 2 years ago
Steven 79bb3253b6 chore: add activity service 2 years ago
Steven 18107248aa chore: rename list inbox 2 years ago
Steven 36b4ba33fa chore: remove outdated activity definition 2 years ago
Steven 58e771a1d7 chore: combine v2 services 2 years ago
Steven e876ed3717 feat: impl part of inbox service 2 years ago
Athurg Gooth 215981dfde
chore: remote context.Context pointer (#2448)
remote context.Context pointer
2 years ago
Steven 5b3af827e1 chore: move common packages to internal 2 years ago
Athurg Gooth 064c930aed
fix: validate username before create token (#2439)
Validate username before create token
2 years ago
Athurg Gooth 043357d7dc
fix: list token for others failed (#2440)
Fix list token for others failed
2 years ago
Athurg Gooth 496cde87b2
feat: list access tokens by admin (#2434)
* Allow admin user list access_tokens of anyone

* fix undefined variable

* Update api/v2/user_service.go

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
Athurg Gooth 79bbe4b82a
feat: support filter creator in /api/v2/memos (#2432)
* Add creator_id param in /api/v2/memos

* make creator_id optional
2 years ago
Steven bfd2dbfee2 chore: fix update resource api 2 years ago
Steven 89a073adc0 chore: implement create user api v2 2 years ago
Athurg Gooth fd5d51ee54
fix: some fields of profile leaked without auth (#2408)
* fix some fields of profile leaked without auth

* protect driver and dsn of profile
2 years ago
Steven 6f2ca6c87a chore: update find memo api 2 years ago
Athurg Gooth 0bfcff676c
feat: add support for remember sign in (#2402) 2 years ago
Steven 21c70e7993 feat: update memo relations dialog 2 years ago
Steven a5df36eff2 chore: update metrics 2 years ago
guopeng 73f59eaf09
fix: storage setting changed don't take effect (#2385)
* fix: Storage setting changed don't take effect

* fix: Storage setting changed don't take effect

* fix: Storage setting changed don't take effect
2 years ago
Steven c58820fa64 chore: update username regexp 2 years ago
Steven d95a6ce898 chore: add ar locale item 2 years ago
Athurg Gooth ed2e299797
fix: invalid type convert in apiv2 (#2380)
fix invalid type convert in apiv2
2 years ago
boojack bacc529391
chore: fix linter errors (#2381)
* chore: fix linter errors

* chore: update

* chore: update
2 years ago
Steven ed1ff11e80 chore: update 2 years ago
Steven ab2c86640b chore: move rate limiter to apiv1 2 years ago
Steven 31997936d6 chore: move resource public api 2 years ago
Steven b938c8d7b6 chore: only show comments in memo detail page 2 years ago
Steven 6ffc09d86a chore: remove unused httpmeta getter api 2 years ago
Steven 15eb95f964 chore: delete resource file synchronously 2 years ago
Steven 771fe394fd chore: fix initial guide 2 years ago
Steven 34ae9b0687 chore: update default storage back to database 2 years ago
Steven 7dc4bc5714 chore: update resource service 2 years ago
Steven 1542f3172a chore: update tag service 2 years ago
Steven be046cae8e chore: add parent field to memo 2 years ago
Steven 922de07751 feat: impl memo comment api 2 years ago
Steven 7549c807ac chore: update memo view activity 2 years ago
steven a928c4f845 chore: update error format 2 years ago
Steven 53090a7273 chore: show unused resources in dashboard 2 years ago
Steven 9d1c9fc505 chore: regenerate swagger docs 2 years ago
Steven 6007f48b7d chore: retire memo resource relation table 2 years ago
Steven 745902e8b1 chore: update access token order 2 years ago
Steven ad3487a9ac chore: update username matcher 2 years ago
Steven 5cec1a71da chore: update access token generator 2 years ago
Steven ae1e22931f chore: auto remove current access token when sign out 2 years ago
Steven 9bf1979fa8 fix: list resources 2 years ago
Steven b452d63fa6 chore: skip compose memo error 2 years ago
Steven 8fbd33be09 chore: update username matcher 2 years ago
Steven bff41a8957 fix: invalid username checks 2 years ago
Steven 2375001453 chore: fix acl interceptor 2 years ago
Vespa314 58026c52ea
fix: heatmap show on wrong date (#2243)
fix: heatmap show wrong date
2 years ago
Steven cd0ea6558d chore: update golangci-lint config 2 years ago
Steven 72ca4e74ee refactor: impl part of grpcweb 2 years ago
Steven fb1490c183 feat: impl resources list page 2 years ago
Steven 4424c8a231 chore: add resource service definition 2 years ago
steven e6a90a8be8 chore: register reflection grpc server 2 years ago
Steven e65282dcc5 chore: fix user state loader 2 years ago
Steven f5802a7d82 chore: update access token ui 2 years ago
Steven 33d9c13b7e chore: remove openid field from user 2 years ago
Steven 42bd9b194b feat: impl user access token api 2 years ago
Steven 8a796d12b4 chore: add user access token setting definition 2 years ago
Athurg Gooth c87df8791b
chore: optimize performance of /memo/stats (#2218)
Optimize performance of /memo/stats
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
Steven d63715d4d9 feat: implement list memos filter 2 years ago
Steven 3ad0832516 chore: use user v2 api in frontend 2 years ago
Steven 93f062d0b9 chore: update user v2 api 2 years ago
Steven 3df550927d chore: update user profile page 2 years ago
boojack 8b1f7c52aa
choer: add system setting api (#2194) 2 years ago
boojack 18fb02a1ec
chore: update swag docs (#2178)
* chore: update swag docs

* chore: update
2 years ago
boojack 4af0d03e93
chore: add user profile page (#2175)
chore: some enhancements
2 years ago
boojack e266d88edd
chore: add acl config (#2128) 2 years ago
YuNing Chen 409d686f7d
chore: minor cleanup (#2124) 2 years ago
Jianwei Zhang c835231d32
feat: add header into resource response (#2120)
Update - add header for get resource
2 years ago
boojack 723c444910
chore: update server tests (#2118) 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 5d5d8de9fe
fix: get all memo api (#2091) 2 years ago
boojack 218159bf83
chore: remove openai setting section (#2084) 2 years ago
boojack 238f896907
feat: add system service (#2083)
* feat: add system service

* chore: update
2 years ago
boojack 3df9da91b4
chore: update get memo api (#2079) 2 years ago
boojack 57dd1fc49f
chore: initial memo service definition (#2077)
* chore: initial memo service definition

* chore: update

* chore: update

* chore: update
2 years ago
boojack 7c5296cf35
chore: update id type to int32 (#2076) 2 years ago
boojack 1ce82ba0d6
chore: remove shortcut related api (#2072) 2 years ago
boojack 5f819fc86f
chore: update auth middleware (#2057)
* chore: update auth middleware

* chore: update

* chore: update
2 years ago
boojack cc3a47fc65
feat: impl auth interceptor (#2055)
* feat: impl auth interceptor

* chore: update

* chore: update

* chore: update
2 years ago
Lilith c1cbfd5766
feat: add system setting to disable password-based login (#2039)
* system setting to disable password login

* fix linter warning

* fix indentation warning

* Prohibit disable-password-login if no identity providers are configured

* Warnings and explicit confirmation when en-/disabling password-login

- Disabling password login now gives a warning and requires a second
  confirmation which needs to be explicitly typed.
- (Re)Enabling password login now also gives a simple warning.
- Removing an identity provider while password-login is disabled now
  also warns about possible problems.

* Fix formatting

* Fix code-style

---------

Co-authored-by: traumweh <5042134-traumweh@users.noreply.gitlab.com>
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 d8d6de9fca
fix: get user by username api (#2034) 2 years ago
boojack 56c321aeaa
revert: fix: exclude all punctuation chars except underscore in tags (#2033)
Revert "fix: exclude all punctuation chars except underscore in tags (#1974)"

This reverts commit 8c61531671.
2 years ago
Mason Sun a9eb605b0f
fix: auth api json format (#2021)
Update auth.go

api/v1/auth/相关接口未应用convertUserFromStore方法,会导致User对象获得类型存在问题,导致User定义的`json:`相关的字段转化失效。
导致输出json未被正确格式化
2 years ago
boojack 04b7a26c03
chore: fix request path (#2014) 2 years ago
boojack 28203bbaf9
chore: fix rss route (#2010) 2 years ago
boojack 9138ab8095
fix: rss route (#2008)
* fix: rss route

* chore: update
2 years ago
Ajay Kumbhare 55975a46d8
feat: add hindi language translation for i18n support (#2001) 2 years ago
Alexandr Tumaykin f91f09adea
feat: use username instead of uid (#1977)
* #1916 replace userId to username

* resolve

---------

Co-authored-by: Александр Тумайкин <AATumaykin@tsum.ru>
2 years ago