hhc7
|
9234d80246
|
fix: scope JSON 500 to API routes, skip rewriting already-flushed responses
|
2026-07-10 10:19:39 +08:00 |
|
hhc7
|
10be96814e
|
feat: add recovery middleware to handle panic gracefully
|
2026-07-10 10:19:39 +08:00 |
|
LinkinStars
|
90022ce039
|
fix: integrate API key authentication into existing services and routes
|
2026-01-29 16:50:25 +08:00 |
|
LinkinStars
|
4fd96675f3
|
fix: improve Brotli compression handling and validate user input in vote status
|
2026-01-28 12:11:28 +08:00 |
|
liruohrh
|
d468e2ba8d
|
feat: add env for glob load template files by gin debug render
|
2025-12-11 10:49:32 +08:00 |
|
ferhat elmas
|
670aa32325
|
refactor(lint): add new linters and fix their issues
* gocritic
* misspell
* modernize (aside, bumping go would be nice)
* testifylint
* unconvert
* unparam
* whitespace
related to #1432
Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
|
2025-12-05 10:45:55 +08:00 |
|
LinkinStars
|
5e705a124b
|
refactor(lint): improve error handling and code consistency across multiple files
|
2025-12-01 12:27:25 +08:00 |
|
ferhat elmas
|
f723d120d9
|
feat: add golangci-lint into lint target
* replace empty interface with any
* run fmt via golangci-lint
related to #1432
Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
|
2025-12-01 11:14:38 +08:00 |
|
LinkinStars
|
e470b63f42
|
feat(server): add API base URL configuration and update routes
|
2025-02-28 17:07:46 +08:00 |
|
LinkinStars
|
0618947350
|
refactor(name): rename incubator-answer
|
2025-01-07 10:39:23 +08:00 |
|
LinkinStars
|
c6d43e92c1
|
feat(base): add base path for ui page
|
2024-04-24 15:31:03 +08:00 |
|
LinkinStars
|
937de43978
|
Release/1.2.5 (#759)
Signed-off-by: Adam Vollrath <adam.d.vollrath@gmail.com>
Co-authored-by: shuai <lishuailing@sifou.com>
Co-authored-by: kelvinkuo <kelvinkuo224@gmail.com>
Co-authored-by: hgaol <dhangao@hotmail.com>
Co-authored-by: sy-records <52o@qq52o.cn>
Co-authored-by: Adam Vollrath <adam.d.vollrath@gmail.com>
Co-authored-by: kumfo <kumfo@sifou.com>
Co-authored-by: Yang Wong <yang wang>
Co-authored-by: hbsciw <hbsciw@gmail.com>
|
2024-01-29 17:19:41 +08:00 |
|
Eng Zer Jun
|
b6f0c70874
|
refactor: remove redundant len and nil check
From the Go specification [1]:
"1. For a nil slice, the number of iterations is 0."
`len` returns 0 if the slice [2]. Therefore, checking `len(v) > 0`
around a loop is unnecessary.
[1]: https://go.dev/ref/spec#For_range
[2]: https://pkg.go.dev/builtin#len
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
|
2023-11-09 11:37:40 +08:00 |
|
LinkinStars
|
a458f3409c
|
rename all old answerdev/answer link to apache/incubator-answer (#603)
Co-authored-by: shuai <lishuailing@sifou.com>
|
2023-11-01 14:48:35 +08:00 |
|
tison
|
3d2187d849
|
chore: add license headers
Signed-off-by: tison <wander4096@gmail.com>
|
2023-10-26 11:11:23 +08:00 |
|
LinkinStars
|
c2b4a49dc0
|
feat(visit): only login user can access upload file in private mode.
|
2023-10-10 16:23:10 +08:00 |
|
LinkinStars
|
f4e4e0b93c
|
fix(login): move action record api to may auth router
|
2023-08-18 10:58:57 +08:00 |
|
LinkinStars
|
1c2151d710
|
refactor(shortid): remove short id variable
|
2023-06-02 16:53:49 +08:00 |
|
aichy126
|
779bd86e1d
|
add static cache-control
|
2023-04-25 10:57:34 +08:00 |
|
LinkinStars
|
f04d5a03f8
|
fix(plugin): fix plugin auth router
|
2023-04-25 10:54:35 +08:00 |
|
LinkinStars
|
8800b376d5
|
feat(privilege): add privileges API
|
2023-04-17 18:04:28 +08:00 |
|
LinkinStars
|
a2ba1144ee
|
feat(plugin): add user center config user role API
|
2023-04-16 12:39:02 +08:00 |
|
LinkinStars
|
e280358b7c
|
Merge remote-tracking branch 'github/feat/1.1.2/ui' into feat/1.1.2/user-center
# Conflicts:
# Makefile
# cmd/answer/main.go
# go.mod
# go.sum
# i18n/en_US.yaml
# internal/base/reason/reason.go
# internal/service/uploader/upload.go
|
2023-04-14 18:17:28 +08:00 |
|
LinkinStars
|
a3cc0ac38a
|
feat(usercenter): add user center plugin and agent
|
2023-04-14 17:33:22 +08:00 |
|
aichy126
|
5fc73a3277
|
update seo template
|
2023-04-10 15:20:44 +08:00 |
|
LinkinStar
|
29aa3f7ef2
|
feat(plugin): add connector API
|
2023-01-16 16:27:23 +08:00 |
|
LinkinStar
|
154fa84bbb
|
feat(plugin): github connector
|
2023-01-03 18:31:32 +08:00 |
|
杨光富
|
ff79cc9bf5
|
Merge branch 'fix/seo' into 'test'
fix(seo/render): fixed seo template variable replace: {{v}} || {{ v }}
See merge request opensource/answer!379
|
2022-12-23 03:10:58 +00:00 |
|
kumfo
|
d3bd190aca
|
fix(seo/render): fixed seo template variable replace: {{v}} || {{ v }}
|
2022-12-23 11:07:24 +08:00 |
|
aichy
|
bcfeef1490
|
update name modification
|
2022-12-21 16:55:16 +08:00 |
|
aichy126
|
7473b50469
|
Merge branch 'feat/0.7.0/seo' into test
|
2022-12-15 16:48:19 +08:00 |
|
aichy126
|
4fd208ba46
|
fix dev code
|
2022-12-15 16:48:07 +08:00 |
|
aichy126
|
04f048b829
|
Merge branch 'feat/0.7.0/seo' into test
|
2022-12-14 17:34:46 +08:00 |
|
aichy126
|
85691e9143
|
update index.html
|
2022-12-14 17:31:33 +08:00 |
|
LinkinStar
|
c946b08b23
|
feat(theme): site info add theme options
|
2022-12-13 17:44:24 +08:00 |
|
LinkinStar
|
033cbc50a5
|
merge(seo): merge seo
|
2022-12-13 14:01:45 +08:00 |
|
aichy126
|
b9db22e9f6
|
xml template
|
2022-12-12 16:33:08 +08:00 |
|
aichy126
|
2e1cd3faa4
|
fix question url
|
2022-12-09 17:10:15 +08:00 |
|
LinkinStar
|
c09d861b5d
|
feat(seo): seo update
|
2022-12-09 10:35:49 +08:00 |
|
LinkinStar
|
c42b3e1c3a
|
feat(login): add must login middle
|
2022-12-07 18:15:46 +08:00 |
|
kumfo
|
46bff9e4f9
|
fix(template/render): fix template footer / time
|
2022-12-07 15:44:41 +08:00 |
|
aichy126
|
149751153c
|
fix FuncMap
|
2022-12-06 17:16:42 +08:00 |
|
kumfo
|
d8b50b482f
|
style(template/i18n): add todo
|
2022-12-06 12:17:37 +08:00 |
|
kumfo
|
67d93e196f
|
feat(template/i18n): backend template render synchronous with frontend
|
2022-12-06 12:16:43 +08:00 |
|
aichy126
|
6e000bb5f1
|
update seo config
|
2022-12-05 17:18:56 +08:00 |
|
kumfo
|
aee0baba92
|
feat(template/timeformat): backend time render synchronous with frontend
|
2022-12-05 14:56:18 +08:00 |
|
kumfo
|
19f119423f
|
feat: template render time i18n
|
2022-12-05 11:27:37 +08:00 |
|
aichy126
|
332ec7c966
|
add language
|
2022-12-02 12:12:27 +08:00 |
|
aichy126
|
972d11b0e5
|
update homepage
|
2022-11-30 17:39:19 +08:00 |
|
aichy126
|
8e240b677e
|
add template
|
2022-11-29 18:02:42 +08:00 |
|