You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by li...@apache.org on 2025/01/10 02:50:06 UTC

(answer) branch test updated (16da18d3 -> dd4b3e86)

This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a change to branch test
in repository https://gitbox.apache.org/repos/asf/answer.git


    from 16da18d3 refactor(user_admin): reorganize import statements for better readability
     add 5cffab86 feat(service): implement file cleanup and deletion functionality
     new dd4b3e86 Merge branch 'feat/1.4.5/file' into test

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 cmd/wire_gen.go                                    |  12 +-
 configs/config.yaml                                |   3 +
 go.mod                                             |   2 +-
 internal/base/constant/upload.go                   |   1 +
 internal/base/cron/cron.go                         |  43 +++++-
 internal/controller/upload_controller.go           |   9 +-
 .../{meta_entity.go => file_record_entity.go}      |  24 +--
 internal/migrations/migrations.go                  |   1 +
 internal/migrations/{v23.go => v25.go}             |   4 +-
 internal/repo/answer/answer_repo.go                |  19 ++-
 internal/repo/file_record/file_record_repo.go      |  84 ++++++++++
 internal/repo/provider.go                          |   2 +
 internal/repo/question/question_repo.go            |  17 ++
 internal/repo/revision/revision_repo.go            |  12 +-
 internal/router/static_router.go                   |  12 +-
 internal/service/content/question_service.go       |   2 +
 .../service/file_record/file_record_service.go     | 172 +++++++++++++++++++++
 internal/service/object_info/object_info.go        |   3 +-
 internal/service/provider.go                       |   2 +
 internal/service/revision/revision.go              |   1 +
 internal/service/service_config/service_config.go  |   5 +-
 internal/service/tag_common/tag_common.go          |   9 +-
 internal/service/uploader/upload.go                |  52 +++++--
 pkg/writer/writer.go                               |   5 +
 24 files changed, 442 insertions(+), 54 deletions(-)
 copy internal/entity/{meta_entity.go => file_record_entity.go} (69%)
 copy internal/migrations/{v23.go => v25.go} (87%)
 create mode 100644 internal/repo/file_record/file_record_repo.go
 create mode 100644 internal/service/file_record/file_record_service.go


(answer) 01/01: Merge branch 'feat/1.4.5/file' into test

Posted by li...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/answer.git

commit dd4b3e86329839efc9cb1ae61221eb40ba314ce6
Merge: 16da18d3 5cffab86
Author: LinkinStars <li...@foxmail.com>
AuthorDate: Fri Jan 10 10:49:51 2025 +0800

    Merge branch 'feat/1.4.5/file' into test

 cmd/wire_gen.go                                    |  12 +-
 configs/config.yaml                                |   3 +
 go.mod                                             |   2 +-
 internal/base/constant/upload.go                   |   1 +
 internal/base/cron/cron.go                         |  43 +++++-
 internal/controller/upload_controller.go           |   9 +-
 internal/entity/file_record_entity.go              |  45 ++++++
 internal/migrations/migrations.go                  |   1 +
 .../service_config.go => migrations/v25.go}        |  13 +-
 internal/repo/answer/answer_repo.go                |  19 ++-
 internal/repo/file_record/file_record_repo.go      |  84 ++++++++++
 internal/repo/provider.go                          |   2 +
 internal/repo/question/question_repo.go            |  17 ++
 internal/repo/revision/revision_repo.go            |  12 +-
 internal/router/static_router.go                   |  12 +-
 internal/service/content/question_service.go       |   2 +
 .../service/file_record/file_record_service.go     | 172 +++++++++++++++++++++
 internal/service/object_info/object_info.go        |   3 +-
 internal/service/provider.go                       |   2 +
 internal/service/revision/revision.go              |   1 +
 internal/service/service_config/service_config.go  |   5 +-
 internal/service/tag_common/tag_common.go          |   9 +-
 internal/service/uploader/upload.go                |  52 +++++--
 pkg/writer/writer.go                               |   5 +
 24 files changed, 483 insertions(+), 43 deletions(-)