Commit Graph

228 Commits

Author SHA1 Message Date
LinkinStars b44824cf78 feat(plugin): If user has only one external login and never set password, he can't unbind it 2023-03-10 10:42:45 +08:00
LinkinStars adcb47a5e1 fix(plugin): Add cache plugin interface 2023-03-08 17:14:55 +08:00
LinkinStars 4a8ae2b166 Merge branch 'dev' into feature-plugin 2023-03-07 15:39:07 +08:00
LinkinStars f319b43412 Merge remote-tracking branch 'github/dev' into feat/1.0.7/user-avatar 2023-03-07 15:24:08 +08:00
LinkinStars b7437e3c5b docs(i18n): reformat i18n yaml 2023-03-07 11:36:37 +08:00
LinkinStars bbba11f5b1 Merge remote-tracking branch 'github/feat/1.0.7/tag' into feat/1.0.7/user-avatar 2023-03-03 17:05:23 +08:00
LinkinStars 4759e8778f feat(tag): Add revision when add tag 2023-03-03 16:59:34 +08:00
LinkinStars 8c871f1399 feat(avatar): Set default user avatar by config 2023-03-02 17:28:48 +08:00
LinkinStars ee3fb56d54 feat(tag): Add create tag API 2023-03-02 17:00:16 +08:00
LinkinStars b9d2c58bad Merge branch 'feat/1.0.6/i18n' into test 2023-03-01 12:31:21 +08:00
LinkinStars 9727e89218 feat(i18n): Add translation progress 2023-03-01 12:30:50 +08:00
LinkinStars 9a07489475 Merge remote-tracking branch 'github/feat/1.0.6/object-not-found' into test 2023-02-27 14:47:45 +08:00
LinkinStars 88e11d117e feat(question): Only the admin and author can view the deleted post. 2023-02-27 14:45:08 +08:00
LinkinStars 0d1b043557 Merge remote-tracking branch 'github/fix/1.0.6/admin-permission' into test 2023-02-23 17:13:09 +08:00
LinkinStars 4ca2429d19 fix(admin): add restriction about admin modify their status 2023-02-23 11:44:05 +08:00
LinkinStars 15390adbfc fix(admin): add restriction about admin modify their password 2023-02-23 11:37:42 +08:00
LinkinStars 29da80a11e fix(tr): return original data when translator not exist 2023-02-22 15:05:03 +08:00
LinkinStars 593ffad92d Merge branch 'github-main' into feature-plugin
# Conflicts:
#	go.mod
#	go.sum
#	ui/src/hooks/index.ts
#	ui/src/router/index.tsx
2023-02-21 17:37:36 +08:00
LinkinStars b229d12bb4 feat(plugin): plugin internationalization 2023-02-21 17:28:05 +08:00
aichy126 36cc86aeb0 update validator 2023-02-21 11:29:54 +08:00
aichy126 edc06942d5 add input sanitizer 2023-02-15 15:51:12 +08:00
aichy126 cbc300ee19 update tag delete 2023-02-14 15:29:07 +08:00
LinkinStars 2fe00d4630 Merge branch 'github-dev' into feature-plugin 2023-02-08 12:01:27 +08:00
aichy126 860b1a3bd8 update img header 2023-02-07 17:55:31 +08:00
LinkinStars a8c2982a91 Merge branch 'github-main' into release/1.0.4
# Conflicts:
#	i18n/en_US.yaml
2023-02-07 17:38:58 +08:00
LinkinStars 964e6bd2d4 fix(upload): add image file check 2023-02-06 19:04:05 +08:00
LinkinStars fc396ef987 fix(i18n): Resolve an issue that causes unexpected errors when translation files for unsupported languages are not properly initialized. 2023-02-06 15:51:44 +08:00
LinkinStars 9c2d2b1df4 Merge branch 'github-main' into feature-plugin 2023-02-06 11:25:53 +08:00
aichy126 000a0b5f70 update sqlite 2023-02-03 15:37:58 +08:00
aichy126 af5e3f4e48 update question validate 2023-02-02 17:01:52 +08:00
LinkinStar 6a8d5e5984 Merge branch 'feat/1.0.4/comment' into feat/plugin/connector/github
# Conflicts:
#	internal/migrations/migrations.go
#	internal/migrations/v6.go
#	internal/service/user_common/user.go
#	internal/service/user_service.go
#	pkg/checker/reserved_username.go
#	ui/build/index.html
2023-02-01 17:02:00 +08:00
aichy126 35a370dbd4 Merge branch 'feat/1.1.0/compile' into feat/1.0.4/comment 2023-02-01 16:46:35 +08:00
LinkinStar ec871efc75 feat(validator): add notblank validation 2023-02-01 11:08:56 +08:00
LinkinStar 92a82e1673 feat(comment): Add comment modification time limit condition 2023-01-28 16:53:12 +08:00
LinkinStar 8d0bd2be20 feat(plugin): Add plugin config repo 2023-01-18 10:39:55 +08:00
aichy126 0265c9f554 update sqlite 2023-01-16 16:59:03 +08:00
LinkinStar 29aa3f7ef2 feat(plugin): add connector API 2023-01-16 16:27:23 +08:00
LinkinStar 06db2bd091 feat(plugin): The third-party login send binding email 2023-01-09 16:54:20 +08:00
LinkinStar 5c2723e617 fix(i18n): If the translation content is not found, use the default language for translation 2023-01-06 18:00:51 +08:00
LinkinStar 1db4f5586b fix(plugin): add external login binding send email interface 2023-01-06 17:22:09 +08:00
LinkinStar 81d786ff66 feat(plugin): add user external login service 2023-01-06 14:34:53 +08:00
LinkinStar 154fa84bbb feat(plugin): github connector 2023-01-03 18:31:32 +08:00
LinkinStar 6b9fa98e48 feat(question): If user edit question, update last edit user id 2022-12-30 18:07:23 +08:00
LinkinStar 48a54e8139 fix(smtp): Check From Name in SMTP is not a Email 2022-12-26 11:49:38 +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 b8077d37b3 update Adopt to Accept 2022-12-22 11:04:19 +08:00
aichy bcfeef1490 update name modification 2022-12-21 16:55:16 +08:00
LinkinStar 305a50cee7 fix(i18n): use full language name as the translator key 2022-12-19 18:15:17 +08:00
LinkinStar e395de3099 feat(i18n): Add more supported languages. 2022-12-19 17:07:34 +08:00
LinkinStar b8d2d6e279 Merge branch 'feat/0.7.0/user-manage' into test
# Conflicts:
#	internal/service/search_parser/search_parser.go
2022-12-16 16:48:47 +08:00
LinkinStar 6e1f4841f1 style(simple): Properly handle unhandled errors 2022-12-16 16:35:55 +08:00
LinkinStar a4f5f8ecc3 style(simple): Simplify code 2022-12-16 14:46:10 +08:00
LinkinStar 7331353b51 style(io): replace deprecated io function 2022-12-16 14:31:38 +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 7450c4cad7 Merge remote-tracking branch 'origin/feat/0.6.0/seo' into feat/0.7.0/user-manage
# Conflicts:
#	internal/service/siteinfo_common/siteinfo_service.go
2022-12-13 17:07:32 +08:00
aichy126 3cc7f9fbb0 start cron 2022-12-13 14:15:44 +08:00
LinkinStar 392806b146 Merge remote-tracking branch 'origin/feat/0.6.0/seo' into feat/0.7.0/user-manage 2022-12-13 14:11:49 +08:00
LinkinStar 033cbc50a5 merge(seo): merge seo 2022-12-13 14:01:45 +08:00
LinkinStar 456c8207db fix(user): Does not intercept the registered login interface when in private mode 2022-12-13 12:11:29 +08:00
aichy126 07d4b8b803 add cron 2022-12-13 10:40:07 +08:00
aichy126 d0bff13d8a sitemap cache 2022-12-12 18:21:03 +08:00
LinkinStar 526f00f16d feat(cron): add scheduled task manager 2022-12-12 17:03:04 +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 87bb3c72b0 feat(theme): add theme and custom css html interface 2022-12-09 14:20:50 +08:00
LinkinStar 0954b5ff11 feat(err): add error handler function 2022-12-09 10:55:53 +08:00
LinkinStar c09d861b5d feat(seo): seo update 2022-12-09 10:35:49 +08:00
aichy126 17cf69f916 Merge branch 'feat/0.6.0/seo' of git.backyard.segmentfault.com:opensource/answer into feat/0.6.0/seo 2022-12-08 11:15:50 +08:00
aichy126 bad5e855a0 add path 2022-12-08 11:15:45 +08:00
LinkinStar b9ed2e5050 fix(tag): can not set synonym as tag itself 2022-12-08 10:43:45 +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
LinkinStar 1fe69bcb65 feat(login): add private mode and allowed user sign up config 2022-12-07 15:23:22 +08:00
LinkinStar 00dd6e9f0c feat(i18n): Try to return to the original text when translation is not possible 2022-12-07 11:45:41 +08:00
aichy126 149751153c fix FuncMap 2022-12-06 17:16:42 +08:00
LinkinStar f3e42f72ac Merge remote-tracking branch 'origin/feat/0.6.0/seo' into test
# Conflicts:
#	docs/docs.go
#	docs/swagger.json
#	docs/swagger.yaml
#	internal/controller/controller.go
2022-12-06 16:56:30 +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
LinkinStar 5088c3a9ef feat(role): log out user when user was changed role 2022-12-05 17:34:53 +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
LinkinStar 4983482b32 feat(i18n): parse all translation file 2022-12-05 12:06:51 +08:00
kumfo 19f119423f feat: template render time i18n 2022-12-05 11:27:37 +08:00
LinkinStar 2b0634e2e6 feat(rank): Modify all permission restriction controls 2022-12-02 15:08:18 +08:00
aichy126 332ec7c966 add language 2022-12-02 12:12:27 +08:00
LinkinStar 74015c13eb Merge branch 'feat/0.5.0/timeline' into feat/0.6.0/user-role
# Conflicts:
#	internal/controller/tag_controller.go
#	internal/schema/activity.go
#	internal/service/activity/activity.go
2022-12-02 11:27:16 +08:00
LinkinStar 505fa7e6d3 fix(tr): Fix translation errors 2022-11-30 19:19:01 +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
aichy126 9839272d95 update template 2022-11-29 17:20:28 +08:00
aichy126 e445415ab9 update review permission 2022-11-25 11:13:58 +08:00
aichy126 3d532533cc 版本审核 2022-11-25 10:46:39 +08:00
LinkinStar afa66cb9f6 refactor: extract is admin flag from context 2022-11-24 15:24:04 +08:00
aichy126 977f9999a9 update tag revision 2022-11-24 15:02:31 +08:00
LinkinStar 4e8283eac9 fix: timeline accept answer activity type format, parse the close problem correctly 2022-11-24 10:48:30 +08:00