Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Changelog

All notable changes to this project will be documented in this file.

## [1.2.0] - 2026-07-19

### Added

- Added a URL inventory dashboard with filtering, sorting, pagination, and import-status tracking.
- Added CSV URL imports with column mapping, row filters, duplicate updates, and progressive chunk processing.
- Added tools to assign URLs to batches, unassign or remove them, and manually associate URLs with imported pages.
- Added automatic URL status synchronization from batch import logs.
- Added transformers for converting relative file, image, and link URLs to absolute URLs in attributes and HTML content.

### Changed

- Kept URL inventory assignments synchronized with batch source paths.
- Normalized `.` and `..` path segments before importing files.
- Updated the package version to 1.2.0.
2 changes: 1 addition & 1 deletion controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Controller extends Package

protected $pkgHandle = 'md_content_importer';

protected $pkgVersion = '1.1.1';
protected $pkgVersion = '1.2.0';

protected $pkgAutoloaderRegistries = [
'src' => '\Macareux\ContentImporter',
Expand Down
13 changes: 13 additions & 0 deletions controllers/element/dashboard/urls/header.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

namespace Concrete\Package\MdContentImporter\Controller\Element\Dashboard\Urls;

use Concrete\Core\Controller\ElementController;

class Header extends ElementController
{
public function getElement()
{
return 'dashboard/urls/header';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
use Macareux\ContentImporter\Http\PreviewResponse;
use Macareux\ContentImporter\Repository\ImportBatchLogRepository;
use Macareux\ContentImporter\Search\BatchList;
use Macareux\ContentImporter\Service\UrlBatchAssigner;
use Macareux\ContentImporter\Traits\EntityTrait;
use Macareux\ContentImporter\Traits\PermissionCheckerTrait;
use Macareux\ContentImporter\Transformer\TransformerManager;
Expand Down Expand Up @@ -162,6 +163,10 @@ public function submit_batch()
$this->entityManager->persist($batch);
$this->entityManager->flush();

/** @var UrlBatchAssigner $assigner */
$assigner = $this->app->make(UrlBatchAssigner::class);
$assigner->syncFromBatchSourcePath($batch);

$this->flash('success', t('Batch saved successfully.'));

if ($batchID) {
Expand Down
Loading