Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: refactor content import #732

Open
wants to merge 127 commits into
base: main
Choose a base branch
from
Open

Conversation

Emnaghz
Copy link
Collaborator

@Emnaghz Emnaghz commented Feb 9, 2025

Motivation

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change:

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added unit tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@Emnaghz Emnaghz linked an issue Feb 9, 2025 that may be closed by this pull request
@marrouchi
Copy link
Contributor

marrouchi commented Feb 10, 2025

@Emnaghz Thanks, can you please rebase your PR, also if you could plz update the PR description?

},
@CsrfCheck(true)
@Post('import')
@UseInterceptors(FileInterceptor('file'))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we set a limit for file size ? if not we should stream it and pipe it

Copy link
Collaborator

@IkbelTalebHssan IkbelTalebHssan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Emnaghz
Nice work 👏
Left you some minor comments

api/src/cms/services/content.service.ts Outdated Show resolved Hide resolved
api/src/cms/services/content.service.ts Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🤔 [Enhancement] - Content Import
5 participants