Commit Graph

33 Commits

Author SHA1 Message Date
137e64b0dd chore: update metrics 2023-11-05 21:41:47 +08:00
2b7d7c95a5 chore: update inbox detect 2023-10-28 09:02:02 +08:00
3c36cc2953 feat: add inbox ui 2023-10-28 02:43:46 +08:00
36b4ba33fa chore: remove outdated activity definition 2023-10-27 23:11:56 +08:00
5b3af827e1 chore: move common packages to internal 2023-10-26 09:02:50 +08:00
6f2ca6c87a chore: update find memo api 2023-10-20 08:48:52 +08:00
21c70e7993 feat: update memo relations dialog 2023-10-19 00:18:07 +08:00
a5df36eff2 chore: update metrics 2023-10-17 23:44:16 +08:00
b938c8d7b6 chore: only show comments in memo detail page 2023-10-08 00:42:02 +08:00
be046cae8e chore: add parent field to memo 2023-10-01 16:27:40 +08:00
7549c807ac chore: update memo view activity 2023-10-01 14:14:33 +08:00
6007f48b7d chore: retire memo resource relation table 2023-09-27 00:40:16 +08:00
b452d63fa6 chore: skip compose memo error 2023-09-18 22:41:49 +08:00
58026c52ea fix: heatmap show on wrong date (#2243)
fix: heatmap show wrong date
2023-09-18 13:53:16 +08:00
cd0ea6558d chore: update golangci-lint config 2023-09-17 22:55:13 +08:00
33d9c13b7e chore: remove openid field from user 2023-09-14 22:57:27 +08:00
42bd9b194b feat: impl user access token api 2023-09-14 20:16:17 +08:00
c87df8791b chore: optimize performance of /memo/stats (#2218)
Optimize performance of /memo/stats
2023-09-14 14:18:29 +08:00
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
2023-09-13 21:36:43 +08:00
35f2d399e2 chore: update api v1 docs (#2117)
* chore: update apiv1 docs

* chore: update
2023-08-09 22:30:27 +08:00
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
2023-08-09 21:53:06 +08:00
5d5d8de9fe fix: get all memo api (#2091) 2023-08-06 10:14:30 +08:00
7c5296cf35 chore: update id type to int32 (#2076) 2023-08-04 21:55:07 +08:00
5f819fc86f chore: update auth middleware (#2057)
* chore: update auth middleware

* chore: update

* chore: update
2023-07-31 20:55:40 +08:00
cc3a47fc65 feat: impl auth interceptor (#2055)
* feat: impl auth interceptor

* chore: update

* chore: update

* chore: update
2023-07-30 23:49:10 +08:00
d8d6de9fca fix: get user by username api (#2034) 2023-07-26 22:41:21 +08:00
f91f09adea feat: use username instead of uid (#1977)
* #1916 replace userId to username

* resolve

---------

Co-authored-by: Александр Тумайкин <AATumaykin@tsum.ru>
2023-07-20 19:48:39 +08:00
3093f80d68 fix: visibility param override the user auth state (#1942)
fix visibility param override the user auth state
2023-07-13 15:20:15 +08:00
11aa01ee2e fix: visibility param override the user auth state (#1941)
fix visibility param override the user auth state
2023-07-13 14:56:43 +08:00
0e05c62a3b chore: update common utils (#1908) 2023-07-06 22:53:38 +08:00
a7573d5705 refactor: migrate memo to apiv1 (#1907)
* refactor: migrate memo to apiv1

* chore: update

* chore: update

* chore: update

* chore: upate

* chore: update

* chore: update
2023-07-06 21:56:42 +08:00
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
2023-07-02 18:56:25 +08:00
b44f2b5ffb chore: migrate user setting to api v1 package (#1855)
* chore: migrate to api v1 package

* chore: update
2023-06-26 23:06:53 +08:00