seitime-frappe/frappe/model
Faris Ansari d20f9e2895 Data Migration Tool (for hub) (#4144)
* 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
2017-10-05 11:15:35 +05:30
..
utils Replaced all instances of basestring with six.string_types 2017-08-11 00:10:11 +05:30
__init__.py [fix] socket io limit doc_open and other minor fixes 2017-02-24 14:46:34 +05:30
base_document.py Data Migration Tool (for hub) (#4144) 2017-10-05 11:15:35 +05:30
create_new.py [refactor] user permissions (#3713) 2017-07-28 14:33:31 +05:30
db_query.py Merge pull request #3912 from adityahase/fix-raise 2017-08-11 13:01:40 +05:30
db_schema.py Make sure that max_length[0][0] is comparable with new_length 2017-08-11 00:38:01 +05:30
delete_doc.py Changed order to avoid deadlock 2017-09-11 19:22:58 +05:30
docfield.py Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
document.py Data Migration Tool (for hub) (#4144) 2017-10-05 11:15:35 +05:30
dynamic_links.py Added order by in_create for dynamic link query (#3849) 2017-08-04 10:55:38 +05:30
mapper.py Replaced all instances of basestring with six.string_types 2017-08-11 00:10:11 +05:30
meta.py Data Migration Tool (for hub) (#4144) 2017-10-05 11:15:35 +05:30
naming.py Replaced all instances of basestring with six.string_types 2017-08-11 00:10:11 +05:30
rename_doc.py [Fix] Not able to rename the company if it's linked with the single doctype which has mandatory fields (#3614) 2017-07-05 13:47:17 +05:30
sync.py Data Migration Tool (for hub) (#4144) 2017-10-05 11:15:35 +05:30
workflow.py Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30