Giter Club home page Giter Club logo

disciple-tools-import's People

Contributors

cairocoder01 avatar chrischasm avatar corsacca avatar cwuensche avatar kodinkat avatar prykon avatar sjnlabs2013 avatar viktorsheep avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

disciple-tools-import's Issues

post_type value gets translated and results in error

If you change the DT system settings to Spanish, the post_type value for 'contacts' becomes 'contactos', and results in the following error.

Screen Shot 2021-07-05 at 10 31 48

Failed to load resource: the server responded with a status of 400 () {"code":"rest_invalid_param","message":"Par\u00e1metro(s) no v\u00e1lido(s): post_type","data":{"status":400,"params":{"post_type":"contactos is not a valid post type"},"details":{"post_type":{"code":"rest_invalid_param","message":"contactos is not a valid post type","data":{"status":400}}}}}

Expected behavior
The post_type field should have the non-locale name: in this case, 'contacts'

Group standard address field

On the groups tab when mapping an address column
Choosing the Address field from the "standard fields" list does not seem to work,
but choosing the Address field from the "other fields" does work
image

Error warning on import is insufficient

I recently did an import and got an error warning that two rows weren't formatted right. I almost completely missed the warning and just clicked the green import button. I went ahead and clicked import and it imported lots of rows until it hit the error...looked like it even completed a few rows after the error, but not all the properly formatted rows.

I think it should throw a pop-up error warning if you click the green import button and it is unlikely to import properly.

A partial import seems worse than a failed import.

Also, it wasn't easy to identify the improperly formatted records, though the warning knew it was 2 out of 150... it didn't highlight or show which two it was or what/where the error was.

Mapping fields verification back goes back to existing settings instead of new slate

After selecting your file and default source and assigned to, etc, you map the fields and then go to the verification page.

If on the verification page you notice something isn't right, or the notes tell you that there is an error (which should be highlighted in a pop-up modal or something more than the little text line above the green import button [separate issue]), when you click "Back - something's wrong" it takes you back to the complete start of mapping rather than letting you fix the mapping settings you were just verifying.

Can the back button take you back to the mapping page and retain all your settings so you can edit one and verify again rather than re-mapping 20 fields some with lots of sub-options?

Feature: Tags

Allow Tags to be set in the csv with will map to the Tags field.

CSV

Uploaded CSVs currently stay publicly available in the uploads/ folder.
The csv file contains sensitive information so it should never be public and should be deleted when the process is complete.

Warning on import

When importing a file
( ! ) Deprecated: auto_detect_line_endings is deprecated in /wp-content/plugins/disciple-tools-import/includes/admin/class-dt-import.php on line 706

Bulk import of users from csv

Create the ability to bulk import users from a csv.

Test on single site and multisite.
Test when some of the usernames and emails address are already present on the subsite or on a different subsite.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.