RaythaHQ / raytha

Raytha is a powerful CMS with an easy-to-use interface and fast performance. It offers custom content types, a template engine, and various access controls. It supports multiple storage providers and an automatically generated REST API. Upgrade your development workflow with Raytha.
MIT License
154 stars 30 forks source link

Bulk import enhancements #144

Closed apexdodge closed 11 months ago

apexdodge commented 1 year ago

We want to build the following enhancements to our Import from CSV feature.

smd-11 commented 1 year ago

@apexdodge ,would like to work on this.

apexdodge commented 1 year ago

@smd-11, yes, this is a good task, thank you.

Helpful example of file storage provider: https://github.com/RaythaHQ/raytha/blob/7a12f5685a66c2c75bdca8cc07edfdf45734535a/src/Raytha.Web/Areas/Admin/Controllers/MediaItemsController.cs#L77

Helpful example of validation of fields: https://github.com/RaythaHQ/raytha/blob/7a12f5685a66c2c75bdca8cc07edfdf45734535a/src/Raytha.Application/ContentItems/Commands/EditContentItem.cs#L42

You may want to rebase your fork from dev.

Let me know if you have any questions from that.

Thanks!

smd-11 commented 1 year ago

@apexdodge created PR for merging.

apexdodge commented 1 year ago

PR merged, moving to testing. Big thanks @smd-11

apexdodge commented 11 months ago

Fixed a blocker that was discovered during testing.

When choosing to use local storage instead of cloud storage, a crash occurs due to missing httpcontext in background task. This is now resolved and testing can be resumed.

apexdodge commented 11 months ago

Released with v1.1.3