Commit Graph

91 Commits

Author SHA1 Message Date
LinkinStar 96e292462e feat(question): Adjust the home page problem list display rules 2022-12-30 17:09:32 +08:00
LinkinStar 913a78a1af fix(user): Check whether the username meets the requirements when the user update it. 2022-12-30 11:23:10 +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
杨光富 54a2a6256d Merge branch 'fix/excerpt' into 'test'
fix(htmltext): FetchExcerpt if actual string length <= expected string length, no need trim marker

See merge request opensource/answer!390
2022-12-28 10:15:36 +00:00
LinkinStar 72f512553a refactor(code): replace outdated function 2022-12-28 17:20:55 +08:00
LinkinStar 427753a161 feat(user): user can't use reserved username 2022-12-28 17:12:20 +08:00
LinkinStar 81f914d72f feat(notification): Email notice when a user answers or comment 2022-12-27 17:42:23 +08:00
kumfo 83a78737c3 fix(htmltext): FetchExcerpt if actual string length <= expected string length, no need trim marker 2022-12-27 10:46:34 +08:00
LinkinStar 5a348fd66d fix(markdown): Replace markdown parser. 2022-12-23 13:56:16 +08:00
LinkinStar 98810da807 fix(markdown): Try to add extensions in markdown parser 2022-12-23 13:12:07 +08:00
aichy126 703aacf0cf Merge branch 'feat/0.7.0/seo' into test 2022-12-18 00:33:35 +08:00
aichy126 58acb3229e update favicon.ico 2022-12-18 00:33:17 +08:00
LinkinStar fdde89cbb1 feat(markdown): convert markdown to html in backend 2022-12-14 15:41:08 +08:00
aichy126 fad8acbe16 fix urltitle 2022-12-09 10:43:54 +08:00
kumfo 46bff9e4f9 fix(template/render): fix template footer / time 2022-12-07 15:44:41 +08:00
kumfo 67d93e196f feat(template/i18n): backend template render synchronous with frontend 2022-12-06 12:16:43 +08:00
kumfo 892d76928f feat(template/timeformat): backend time render synchronous with frontend 2022-12-05 15:20:51 +08:00
kumfo 23bb488731 feat(template/timeformat): backend time render synchronous with frontend 2022-12-05 15:06:41 +08:00
aichy126 8e0607470b update Canonical 2022-12-02 16:42:40 +08:00
aichy126 79ba518810 Merge branch 'ai_0.3_dashboard' into test 2022-11-11 11:55:46 +08:00
aichy126 ffec3a0b9c update dashboard cache 2022-11-11 11:53:44 +08:00
杨光富 5c90f99397 Merge branch 'feat/cut-text' into 'test'
Feat/cut text

See merge request opensource/answer!215
2022-11-10 03:32:16 +00:00
kumfo 42f3154233 fix: fetch excerpt, if contain link, show link name 2022-11-10 11:23:07 +08:00
aichy126 62a9eaaebe fix uploads dir 2022-11-09 15:22:50 +08:00
kumfo c7ee44d33c feat: get text excerpt 2022-11-07 14:32:17 +08:00
kumfo ad8cb70d49 feat: get text excerpt 2022-11-07 14:29:49 +08:00
kumfo 8f567e0abd feat: get text excerpt 2022-11-07 14:27:54 +08:00
LinkinStar 23b4a44ce3 feat: rewrite config file when install config 2022-11-04 11:30:53 +08:00
LinkinStar 6e5d89d593 Merge branch 'github-main'
# Conflicts:
#	go.mod
#	internal/entity/answer_entity.go
#	internal/schema/question_schema.go
#	internal/service/user_service.go
2022-11-01 15:37:22 +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 5a16859e6b fix: set gravatar size parameter is s 2022-10-28 11:01:42 +08:00
LinkinStar 97ab26663f feat: support gravatar avatar 2022-10-28 10:50:36 +08:00
LinkinStar 43cc77f9d4 Merge branch 'github-main' into pr/github 2022-10-25 10:39:28 +08:00
K8sCat f77e455e27 update(pkg): make functions in dir more clear
Signed-off-by: K8sCat <k8scat@gmail.com>
2022-10-25 10:31:54 +08:00
LinkinStar adc760e874 refactor: rename go mod package to answerdev 2022-10-24 16:51:05 +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
LinkinStar b99150c081 feat: add data dir command function 2022-10-12 11:14:58 +08:00
LinkinStar b90ec5e11e feat: all users display part Add user status 2022-09-29 15:27:56 +08:00
mingcheng 8e6c49a531 initial commit 2022-09-27 17:59:05 +08:00