This is an automated email from the ASF dual-hosted git repository.
shuai pushed a change to branch feat/1.3.6/ui
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
from 9ed0ab48 fix: delete log
add 795febe0 feat(hot): change frequent to hot
add 4e4c149d fix(hot): fixed translate
add b144fc67 website information in the template file now supports
multiple languages
add fd768698 fix typo
add db540ac6 feat(cdn-plugin): add cdn plugin
add 885406dd Feat/1.3.6/UI (#1015)
add 912bc7a8 feat(template): add custom html in template #895
add 6c553f52 feat(admin): update recommend_tags and reserved_tags filed in
site write req
add b7ebe308 feat(tag): update tags search API
add c4318f1d feat(tag): recommend tags can't contain reserved tag
add 8df8f8ca Merge remote-tracking branch 'origin/feat/1.3.6/template'
into test
add e527d55b Merge branch 'test' into feat/1.3.6/hottest
add 16b8d019 feat(hot): merge from test
add ec16ac9a chore(scripts): Remove humps dependency
add dae37a44 Merge branch 'test' into feat/1.3.6/ui
No new revisions were added by this update.
Summary of changes:
cmd/wire_gen.go | 2 +-
{i18n => dev/i18n}/zh_CN.yaml | 126 ++++++++++++++++++++-
docs/docs.go | 2 +-
i18n/af_ZA.yaml | 2 +-
i18n/ar_SA.yaml | 2 +-
i18n/az_AZ.yaml | 2 +-
i18n/bal_BA.yaml | 2 +-
i18n/ban_ID.yaml | 2 +-
i18n/bn_BD.yaml | 2 +-
i18n/bs_BA.yaml | 2 +-
i18n/ca_ES.yaml | 2 +-
i18n/cs_CZ.yaml | 2 +-
i18n/cy_GB.yaml | 2 +-
i18n/da_DK.yaml | 2 +-
i18n/de_DE.yaml | 2 +-
i18n/el_GR.yaml | 2 +-
i18n/es_ES.yaml | 2 +-
i18n/fa_IR.yaml | 2 +-
i18n/fi_FI.yaml | 2 +-
i18n/fr_FR.yaml | 2 +-
i18n/he_IL.yaml | 2 +-
i18n/hi_IN.yaml | 2 +-
i18n/hu_HU.yaml | 2 +-
i18n/hy_AM.yaml | 2 +-
i18n/id_ID.yaml | 2 +-
i18n/it_IT.yaml | 2 +-
i18n/ja_JP.yaml | 2 +-
i18n/ko_KR.yaml | 2 +-
i18n/nl_NL.yaml | 2 +-
i18n/no_NO.yaml | 2 +-
i18n/pl_PL.yaml | 2 +-
i18n/pt_BR.yaml | 2 +-
i18n/pt_PT.yaml | 2 +-
i18n/ro_RO.yaml | 2 +-
i18n/ru_RU.yaml | 2 +-
i18n/sk_SK.yaml | 2 +-
i18n/sq_AL.yaml | 2 +-
i18n/sr_SP.yaml | 2 +-
i18n/sv_SE.yaml | 2 +-
i18n/te_IN.yaml | 2 +-
i18n/tr_TR.yaml | 2 +-
i18n/uk_UA.yaml | 2 +-
i18n/vi_VN.yaml | 2 +-
i18n/zh_TW.yaml | 2 +-
internal/base/cron/cron.go | 10 ++
internal/controller/tag_controller.go | 15 +--
internal/controller/template_controller.go | 11 +-
internal/entity/question_entity.go | 1 +
internal/migrations/v18.go | 9 +-
internal/repo/answer/answer_repo.go | 11 ++
internal/repo/question/question_repo.go | 4 +-
internal/router/ui.go | 11 ++
internal/schema/question_schema.go | 11 +-
internal/schema/siteinfo_schema.go | 16 ++-
internal/schema/tag_schema.go | 9 +-
internal/service/answer_common/answer.go | 1 +
.../service/content/question_hottest_service.go | 89 +++++++++++++++
internal/service/content/question_service.go | 10 +-
internal/service/siteinfo/siteinfo_service.go | 21 +++-
internal/service/tag/tag_service.go | 25 ++--
internal/service/tag_common/tag_common.go | 55 +++++----
plugin/{embed.go => cdn.go} | 26 ++++-
plugin/plugin.go | 4 +
ui/package.json | 1 -
ui/pnpm-lock.yaml | 7 --
ui/scripts/plugin.js | 7 +-
ui/template/footer.html | 3 +
ui/template/header.html | 6 +
68 files changed, 457 insertions(+), 118 deletions(-)
copy {i18n => dev/i18n}/zh_CN.yaml (94%)
create mode 100644 internal/service/content/question_hottest_service.go
copy plugin/{embed.go => cdn.go} (66%)