Steven
a5df36eff2
chore: update metrics
2023-10-17 23:44:16 +08:00
Steven
c58820fa64
chore: update username regexp
2023-10-14 13:42:27 +08:00
Steven
d95a6ce898
chore: add ar locale item
2023-10-14 00:25:01 +08:00
Steven
ab2c86640b
chore: move rate limiter to apiv1
2023-10-09 23:10:41 +08:00
Steven
31997936d6
chore: move resource public api
2023-10-08 19:40:30 +08:00
Steven
b938c8d7b6
chore: only show comments in memo detail page
2023-10-08 00:42:02 +08:00
Steven
6ffc09d86a
chore: remove unused httpmeta getter api
2023-10-06 23:03:36 +08:00
Steven
771fe394fd
chore: fix initial guide
2023-10-05 15:50:16 +08:00
Steven
34ae9b0687
chore: update default storage back to database
2023-10-05 13:36:33 +08:00
Steven
7dc4bc5714
chore: update resource service
2023-10-03 23:44:14 +08:00
Steven
be046cae8e
chore: add parent field to memo
2023-10-01 16:27:40 +08:00
Steven
7549c807ac
chore: update memo view activity
2023-10-01 14:14:33 +08:00
steven
a928c4f845
chore: update error format
2023-09-29 13:04:54 +08:00
Steven
9d1c9fc505
chore: regenerate swagger docs
2023-09-27 00:52:42 +08:00
Steven
6007f48b7d
chore: retire memo resource relation table
2023-09-27 00:40:16 +08:00
Steven
745902e8b1
chore: update access token order
2023-09-25 20:14:01 +08:00
Steven
ad3487a9ac
chore: update username matcher
2023-09-25 20:03:58 +08:00
Steven
5cec1a71da
chore: update access token generator
2023-09-20 20:48:34 +08:00
Steven
ae1e22931f
chore: auto remove current access token when sign out
2023-09-20 19:24:26 +08:00
Steven
b452d63fa6
chore: skip compose memo error
2023-09-18 22:41:49 +08:00
Steven
8fbd33be09
chore: update username matcher
2023-09-18 22:37:13 +08:00
Steven
bff41a8957
fix: invalid username checks
2023-09-18 22:34:31 +08:00
Vespa314
58026c52ea
fix: heatmap show on wrong date ( #2243 )
...
fix: heatmap show wrong date
2023-09-18 13:53:16 +08:00
Steven
cd0ea6558d
chore: update golangci-lint config
2023-09-17 22:55:13 +08:00
Steven
4424c8a231
chore: add resource service definition
2023-09-16 00:11:07 +08:00
Steven
e65282dcc5
chore: fix user state loader
2023-09-15 09:10:16 +08:00
Steven
f5802a7d82
chore: update access token ui
2023-09-15 08:18:30 +08:00
Steven
33d9c13b7e
chore: remove openid field from user
2023-09-14 22:57:27 +08:00
Steven
42bd9b194b
feat: impl user access token api
2023-09-14 20:16:17 +08:00
Athurg Gooth
c87df8791b
chore: optimize performance of /memo/stats ( #2218 )
...
Optimize performance of /memo/stats
2023-09-14 14:18:29 +08:00
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
2023-09-13 21:36:43 +08:00
Steven
3df550927d
chore: update user profile page
2023-09-10 10:33:22 +08:00
boojack
18fb02a1ec
chore: update swag docs ( #2178 )
...
* chore: update swag docs
* chore: update
2023-08-26 08:07:43 +08:00
boojack
4af0d03e93
chore: add user profile page ( #2175 )
...
chore: some enhancements
2023-08-25 23:10:51 +08:00
YuNing Chen
409d686f7d
chore: minor cleanup ( #2124 )
2023-08-11 22:34:08 +08:00
Jianwei Zhang
c835231d32
feat: add header into resource response ( #2120 )
...
Update - add header for get resource
2023-08-10 23:45:30 +08:00
boojack
723c444910
chore: update server tests ( #2118 )
2023-08-10 09:01:38 +08:00
boojack
35f2d399e2
chore: update api v1 docs ( #2117 )
...
* chore: update apiv1 docs
* chore: update
2023-08-09 22:30:27 +08:00
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
2023-08-09 21:53:06 +08:00
boojack
5d5d8de9fe
fix: get all memo api ( #2091 )
2023-08-06 10:14:30 +08:00
boojack
218159bf83
chore: remove openai setting section ( #2084 )
2023-08-05 21:39:12 +08:00
boojack
238f896907
feat: add system service ( #2083 )
...
* feat: add system service
* chore: update
2023-08-05 21:30:23 +08:00
boojack
57dd1fc49f
chore: initial memo service definition ( #2077 )
...
* chore: initial memo service definition
* chore: update
* chore: update
* chore: update
2023-08-05 09:32:52 +08:00
boojack
7c5296cf35
chore: update id type to int32 ( #2076 )
2023-08-04 21:55:07 +08:00
boojack
1ce82ba0d6
chore: remove shortcut related api ( #2072 )
2023-08-03 23:33:45 +08:00
boojack
5f819fc86f
chore: update auth middleware ( #2057 )
...
* chore: update auth middleware
* chore: update
* chore: update
2023-07-31 20:55:40 +08:00
boojack
cc3a47fc65
feat: impl auth interceptor ( #2055 )
...
* feat: impl auth interceptor
* chore: update
* chore: update
* chore: update
2023-07-30 23:49:10 +08:00
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>
2023-07-30 21:22:02 +08:00
boojack
d8d6de9fca
fix: get user by username api ( #2034 )
2023-07-26 22:41:21 +08:00
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
.
2023-07-26 21:11:13 +08:00