• Faris Ansari's avatar
    Data Migration Tool (for hub) (#4144) · d20f9e28
    Faris Ansari authored
    * migration tool
    
    * custom field for primary key added
    
    * foreign key and multiple linking F_key issue resolved
    
    * refined code
    
    * many-to-one mapping temp fix
    
    * added support for pre-process + cleaned up code
    
    * [various] fixes to setup wizard for developer mode, frappe.enqueue_doc, share with assign
    
    * Refactor data migration module
    
    * added migration for hub
    
    * Add "Skip errors" in data import tool
    
    * move db_set to document.py
    
    * Add Data Migration Run
    
    * Dynamic Migration ID
    
    * move run() from Mapping to Run
    
    * Push Deleted Documents
    
    * fixes
    
    * [migration] doc operation counts
    
    * insert and update instead of push in connection
    
    * fix count and total_pages, skip sync if total_pages is 0
    
    * [migration] child tables
    
    * fix complete()
    
    * [page] remove required libs
    
    * Add sidebar.js, rename old sidebar.js to form_sidebar.js
    
    * [minor] get_empty_state fixes
    
    * svg in icon
    
    * remove image check
    
    * fix codacy
    
    * fix is_child_table check
    
    * [connector] add get_list()
    
    * Add test for Data Migration Run
    
    * fix test
    
    * truncate tabNote
    
    * fix test
    
    * sync todo with event to fix test
    
    * fix db count
    
    * [mapping] export Mapping to json
    
    * Add docs for Data Migration Tool
    
    * [migration] pull data as list, test case
    
    * [hub] remove mapping export to files
    
    * Pull refactor
    
    * [test]
    
    * Add comments
    
    * [mapping] exec in mapping formula
    
    * fix codacy
    
    * fix codacy
    
    * Remove exec for pre-process and post-process
    
    * Add pre and post process for Push
    
    * Remove formula
    
    * fixes
    
    * [refactor] add failed_log to pull, handle error in pull
    
    * [test] Push, pull, update
    
    * Fix codacy, fix insert_doc for pull
    
    * Set migration id on successful insert
    
    * fix update_doc
    
    * fix update_doc
    
    * method is a function
    
    * child table mapping
    
    * Refactor logging
    
    * fix update_doc again
    
    * fix hostname, password
    
    * update docs, minors
    
    * Remove assign_if_none
    
    * Remove error handling from connection methods
    
    * [refactor] Data migration run
    
    * Break push stages into methods
    
    * Migration run refactor
    
    - fix test
    - add separate fields for logging
    
    * fix codacy
    
    * fix hostname password
    
    * fix test
    d20f9e28
app.py 6.58 KB