<commit_before>Import plugin for Craft CMS
=================

Plugin that allows you to import data from CSV files.

Features:
 - Import Entries and Users
 - Map CSV columns onto Fields
 - Append, replace or delete data
   - When replacing or deleting, you can build your own criteria for finding
 - Has a hook "registerImportOperation" to parse special FieldType inputs if you want.
 - Has a hook "registerImportFinish" to run a custom function after finishing.
 - Uses the Task service to import while you work on.
 - Automatically detects CSV delimiters
 - Will connect Entries (also Structures), Users and Assets by searching for them
 - Will send a summary email when the task if finished
 - View your import history
 - Ability to revert imports
 
Todo:
 - Import more ElementTypes (currently only Entries and Users)
 - Support JSON and XML
 
Important:
The plugin's folder should be named "import"

###Screenshots###

History
![History](https://raw.githubusercontent.com/boboldehampsink/CraftImportPlugin/gh-pages/images/history.png)

Upload
![Upload](https://raw.githubusercontent.com/boboldehampsink/CraftImportPlugin/gh-pages/images/upload.png)

Map fields
![Map](https://raw.githubusercontent.com/boboldehampsink/CraftImportPlugin/gh-pages/images/map.png)

Map fields (2)
![Fields](https://raw.githubusercontent.com/boboldehampsink/CraftImportPlugin/gh-pages/images/fields.png)

Changelog
=================
###0.8.0###
 - Added the ability to import Users

###0.7.2###
 - Added the ability to run a custom hook on import finish
 - Added behaviour permissions and a section permissions check/warning
 - Added unit testing via phpunit

###0.7.1###
 - Added Number FieldType parsing (as float)<commit_msg>Added backport release 0.7.3 to 0.8.0's README<commit_after>Import plugin for Craft CMS
=================

Plugin that allows you to import data from CSV files.

Features:
 - Import Entries and Users
 - Map CSV columns onto Fields
 - Append, replace or delete data
   - When replacing or deleting, you can build your own criteria for finding
 - Has a hook "registerImportOperation" to parse special FieldType inputs if you want.
 - Has a hook "registerImportFinish" to run a custom function after finishing.
 - Uses the Task service to import while you work on.
 - Automatically detects CSV delimiters
 - Will connect Entries (also Structures), Users and Assets by searching for them
 - Will send a summary email when the task if finished
 - View your import history
 - Ability to revert imports
 
Todo:
 - Import more ElementTypes (currently only Entries and Users)
 - Support JSON and XML
 
Important:
The plugin's folder should be named "import"

###Screenshots###

History
![History](https://raw.githubusercontent.com/boboldehampsink/CraftImportPlugin/gh-pages/images/history.png)

Upload
![Upload](https://raw.githubusercontent.com/boboldehampsink/CraftImportPlugin/gh-pages/images/upload.png)

Map fields
![Map](https://raw.githubusercontent.com/boboldehampsink/CraftImportPlugin/gh-pages/images/map.png)

Map fields (2)
![Fields](https://raw.githubusercontent.com/boboldehampsink/CraftImportPlugin/gh-pages/images/fields.png)

Changelog
=================
###0.8.0###
 - Added the ability to import Users

###0.7.3###
 - Fixed a bug that led to not importing data and not failing import

###0.7.2###
 - Added the ability to run a custom hook on import finish
 - Added behaviour permissions and a section permissions check/warning
 - Added unit testing via phpunit

###0.7.1###
 - Added Number FieldType parsing (as float)
{'fraction_non_alphanumeric': 0.10567957050014128, 'fraction_numerical': 0.008194405199208816, 'mean_word_length': 4.421133231240429, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3535554', 'n_tokens_mistral': 1041, 'n_tokens_neox': 980, 'n_words': 383}