Commit graph

16 commits

Author SHA1 Message Date
Prateeksha Singh
0285b8fb18 [migration-run] don't validate errored runs, postprocess on error too (#5998) 2018-08-22 11:00:36 +05:30
Faris Ansari
0e40b18ecc Allow guest connection in FrappeClient 2018-07-31 18:27:05 +05:30
Prateeksha Singh
c8c442ccef [data-mig-run][fix] publish complete 2018-07-31 10:43:14 +05:30
Prateeksha Singh
f33e3e1b43 [data-mig-run] publish realtime specified trigger 2018-07-30 16:23:16 +05:30
Prateeksha Singh
8ade18509c [data-mig-run] pass stats to postprocess 2018-07-29 17:58:30 +05:30
Prateeksha Singh
0ad04ce02b [migration-run] run Runs with a remote id
- to update status remotely in postprocess
2018-07-29 13:52:54 +05:30
Prateeksha Singh
158d324b76 [data-migration] Make Runs observable
- Allow Runs to execute a post-process specified in Migration Plan
2018-07-28 22:34:55 +05:30
Charles-Henri Decultot
f0ed11061d Calendar connector improvements (#5571)
* Calendar connector improvements

* Development cleanup
2018-05-21 12:21:15 +05:30
Saurabh
3d7e56d1ef [fix] added ignore_in_install flag to accommodate Gcal custom field (#5455) 2018-04-18 12:39:56 +05:30
Rushabh Mehta
c4e1b9e0c1
[enhance] Add condition in transitions and move workflow to server-side (#5399)
* [workflow] move to server side

* [workflow] tests

* [workflow] tests

* [minor] remove print

* [fixes] tests and lint

* [tests] fix typo

* [fix] tests
2018-04-11 00:38:13 -08:00
Charles-Henri Decultot
68720c2a4f [New Feature] Google Calendar Connector (#5266)
* Addition of a filter for last sync timestamp

* Google calendar connector wip

* Google calendar integration

* Add test for account creation

* Codacy corrections

* Remove unused import

* New section Google Services

* Add no_copy to migration custom field
2018-04-06 10:43:49 +05:30
Ameya Shenoy
7f9ec35391 [Bug] fixed install failure due to psycopg2 (#4566) 2017-12-01 14:59:54 +05:30
Faris Ansari
80054e0f28 Data Migration Tool Hotfix (#4396)
* Add get_source_value to utils, and use it to get value from object or dict

* GitHub connector

* fix codacy

* remove print statement

* Remove Github Connector

* Data Migration Connector

- Create new connection with boilerplate
- Add Run button in Data Migration Plan

* minor

* fix codacy

* remove pygithub

* Minor

- Remove button from form and add to custom button
- Remove is_custom field
- Add Connector Type 'Custom'
- Show New Connection button only in developer mode

* [fix] logging

- only store the name, not the whole json

* [fix] tests
2017-10-27 15:55:41 +05:30
Faris Ansari
9099747116 Add get_password, fix total_pages (#4285) 2017-10-09 17:24:09 +05:30
Faris Ansari
e83959a345 Fixes for Data Migration Tool (#4275) 2017-10-09 13:08:50 +05:30
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