LinkinStars
cfc3e54f30
fix(image): enhance image decoding by implementing format-specific checks for JPEG, PNG, and GIF
2026-03-25 19:31:31 +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
Sonui
93e183be62
feat: Add resetPassword cli tool
2025-10-28 14:52:53 +08:00
Luffy
cd24c91fb1
fix: update admin name validation and username regex
2025-03-17 10:37:00 +08:00
LinkinStars
47c666200e
Merge remote-tracking branch 'origin/main' into dev
...
# Conflicts:
# internal/base/middleware/accept_language.go
# internal/schema/answer_schema.go
# internal/schema/comment_schema.go
# internal/service/user_admin/user_backyard.go
2025-01-07 12:48:13 +08:00
LinkinStars
0618947350
refactor(name): rename incubator-answer
2025-01-07 10:39:23 +08:00
LinkinStars
57b153c9a9
feat(user): add FilterEmptyString function and apply to user ID filtering
2024-12-25 16:00:08 +08:00
LinkinStars
a955ba0658
feat(upload): add support for file attachments and enhance image upload
2024-12-09 11:52:18 +08:00
LinkinStars
f29b43b956
feat(file): update the max image size
2024-12-09 11:52:18 +08:00
Sonui
62b9104a68
fix: support short id
2024-10-12 10:17:18 +08:00
Sonui
f575aa9b5f
docs: add Apache License headers to source files
2024-10-12 10:17:18 +08:00
Sonui
3eb9822c09
feat(question): support linking question
2024-10-12 10:17:18 +08:00
zahash
3e91f03b40
change minimum username length to 2 instead of 4
2024-10-12 09:59:17 +08:00
LinkinStars
e53c7b3c8a
docs(asf): add ASF header
2024-03-22 17:30:48 +08:00
LinkinStars
abe0680641
Release/1.3.0 ( #876 )
...
Co-authored-by: shuai <lishuailing@sifou.com >
Co-authored-by: Han Gao <dhangao@hotmail.com >
Co-authored-by: wzy <770954908@qq.com >
Co-authored-by: zahash <zahash.z@gmail.com >
Co-authored-by: Hosein Beigi <hbsciw@gmail.com >
Co-authored-by: kumfo <kumfo@sifou.com >
Co-authored-by: sy-records <52o@qq52o.cn >
Co-authored-by: 而立 <cuihengqing@cai-inc.com >
Co-authored-by: foxzero-007 <chq2549603631@gmail.com >
Co-authored-by: easy <58644520+foxzero-007@users.noreply.github.com >
Co-authored-by: robin <robin@rnode.me >
Co-authored-by: Akhil <surapuramakhil@gmail.com >
Co-authored-by: Shaobiao Lin <whalevocal@gmail.com >
2024-03-22 17:25:46 +08:00
LinkinStars
0849e8f540
refactor(file): refactor file format check function
2024-01-30 16:36:39 +08:00
LinkinStars
968f23db7f
Release/1.2.5 ( #761 )
...
Build Binary For Release / build-goreleaser (push) Has been cancelled
Build Docker Image For Release / build (push) Has been cancelled
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 19:14:13 +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
b2d5781633
feat(user): support upload webp image
2023-09-22 14:36:40 +08:00
LinkinStars
ad6e282416
feat(upload): support upload gif image
2023-09-20 11:37:42 +08:00
buttercannfly
de6a633248
Update file_type.go
2023-09-19 18:05:46 +08:00
buttercannfly
541c35e827
fix(image): support upload jog images
2023-09-19 15:30:56 +08:00
LinkinStars
fcb48b86ee
refactor(repo): refactor some repo test
2023-07-06 12:28:33 +08:00
LinkinStars
7e9becd8f5
refactor(path): remove init for path ignore var
2023-05-29 12:14:33 +08:00
LinkinStars
7d23b17cdb
fix(password): password can't contains space.
2023-05-22 15:09:42 +08:00
LinkinStars
a3cc0ac38a
feat(usercenter): add user center plugin and agent
2023-04-14 17:33:22 +08:00
LinkinStars
964e6bd2d4
fix(upload): add image file check
2023-02-06 19:04:05 +08:00
LinkinStar
d355c823c3
fix(user): Add rules to restrict username during installation. fix #181
2023-01-28 10:40:01 +08:00
LinkinStar
96e292462e
feat(question): Adjust the home page problem list display rules
2022-12-30 17:09:32 +08:00
LinkinStar
8a0cf37955
fix(user): Check whether the username meets the requirements when the user update it.
2022-12-30 10:51:54 +08:00
LinkinStar
427753a161
feat(user): user can't use reserved username
2022-12-28 17:12:20 +08:00
Tai Groot
59e2e1f304
Running gofumpt against repo ( #49 )
...
* starting on gofumpt
* continuing on gofumpt
* continuing on gofumpt
* finish gofumpt review
* added changes requested by LinkinStars' review
Co-authored-by: LinkinStars <linkinstar@foxmail.com >
2022-11-01 15:25:44 +08:00
Brandon Hansen
e1d320a047
Update chinese.go
...
There is no reason to keep a count of Chinese characters only to do a count check and return a bool. Simply return true the first char we find. Otherwise return false.
2022-11-01 15:13:02 +08:00
LinkinStar
a28a2c5bb6
style: remove unnecessary functions
2022-10-22 18:40:12 +08:00
aichy126
ec950da888
update Annotation document
2022-10-21 12:00:50 +08:00
mingcheng
8e6c49a531
initial commit
2022-09-27 17:59:05 +08:00