Commit graph

18 commits

Author SHA1 Message Date
prssanna
3aa3832bd3 feat: sync dashboards from json files 2020-07-06 12:11:57 +05:30
Saif Ur Rehman
6b427705be fix: codacy 2019-04-24 17:06:24 +05:00
Saif Ur Rehman
fc410ee950 fix: Move field_order sync logic to DocType controller and introduce hooks
before_export, before_import and prepare_docdict_for_import
2019-04-24 17:05:21 +05:00
Saif Ur Rehman
d30ec73d43 feat: Use field_order attr in DocType JSON file for cleaner git diffs 2019-04-24 17:05:01 +05:00
Aditya Hase
6b72faf44f style: Linting fixes (#6809)
* style: Remove unused imports

* style: Remove unused local variables
2019-01-23 16:39:55 +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
Rushabh Mehta
3fea731e62 Revert "minifiying doctype json's" 2016-08-10 14:30:29 +05:30
RobertSchouten
2c9df678a0 minifiying doctype json's
sick and tired of a change to the doctype meaning one small change to a doctype adds all the fields to the json 
strips out the values that doesnt contain value's
2016-08-08 14:54:24 +08:00
Anand Doshi
c10e3ec75e frappe.as_json 2015-03-18 16:21:41 +05:30
Anand Doshi
2995f02f3b Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
Pratik Vyas
7993f8c1e8 new cli 2015-03-02 17:13:42 +05:30
Rushabh Mehta
e888d86d9d added header to website and language fixes 2014-04-18 15:59:54 +05:30
Rushabh Mehta
ec010462b6 removed control panel 2014-04-04 12:00:37 +05:30
Rushabh Mehta
4f304cfc6a frappe/frappe#478, frappe tests pass, .txt renamed to .json 2014-03-31 17:27:12 +05:30
Anand Doshi
ddff84d216 Fixed import, export, delete doc #478 2014-03-28 12:22:19 +05:30
Rushabh Mehta
caed23686c minor fixes 2014-03-18 19:21:18 +05:30
Anand Doshi
edbadc18b2 Changed frappe.conn to frappe.db 2014-02-26 12:35:02 +05:30
Rushabh Mehta
024ddfcc5b -webnotes +frappe 💥 2014-02-14 14:55:11 +05:30
Renamed from webnotes/modules/export_file.py (Browse further)