Commit graph

56 commits

Author SHA1 Message Date
Prateeksha Singh
51fd6fa2b7
[hotfix] remove setup fail message
Else it also appears for non-cloud users, where we don't receive an email: https://discuss.erpnext.com/t/initial-setup-failed-dont-worry-its-not-you-its-us/31948/5
2017-12-25 18:47:41 +05:30
Prateeksha Singh
d5ad0ff2e8 Setup stages (#4618)
* setup complete stages

* [setup] better setup-in-progress card

* restructure setup exception flow

* use setup_stages hook

* Add message for non-dev mode, fail instead of error

* message to not include commits in app setup stages
2017-12-21 11:55:49 +05:30
Prateeksha Singh
d1aa5c60b4 [Multicheck control] (#4529)
* multicheck control

* [checkboxes] replace in domain settings

* [checkboxes] use in setup_wizard domains

* [multicheck] minor

* [multicheck] set and get value as an array

* [multicheck] make controls.less

* basic view control with value as array object

* load active domains

* selenium helper: multicheck

* [multicheck] make field if not present

* [multicheck] append control in an HTML field
2017-12-06 13:25:33 +05:30
Rushabh Mehta
5a9d38f767
[enhance] bench run-tests --doctype-list app/path/to/test.txt (#4561)
* [enhance] bench run-tests --doctype-list app/path/to/test.txt

* [fix] tests for doctype-list-path

* [fix] tests for doctype-list-path
2017-12-01 12:05:06 +05:30
pratu16x7
e9209151cf [fix] setup complete state colors 2017-11-06 10:10:01 +05:30
Rushabh Mehta
f0e23a5a6c [refactor] domain and domain settings (#4163)
* [refactor] domain and domain settings

* [fix] test_domain.py

* [fix] patches

* [fix] domain activation after setup

* [fix] tests and lint

* [fix] tests and lint

* [enhance] better prompt naming

* [fix] setup wizard test

* [fix] testing

* [minor] new item in quick entry from form dashboard
2017-10-17 12:29:08 +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
Nabin Hait
b2945fd5b5 Fixed merge conflict 2017-09-26 16:05:38 +05:30
pratu16x7
a15c2a53a2 [minor] 2017-09-26 12:27:47 +05:30
pratu16x7
40e57efa52 [setup] indicator and check color 2017-09-26 12:05:50 +05:30
Faris Ansari
5162d2d3e9 Better keyboard navigation in setup wizard
- call action_complete when enter is pressed on last slide
- disable keyboard navigation on action_complete
- fixed eslint
2017-09-23 14:45:47 +05:30
pratu16x7
70e1158c45 [fix] don't make toolbar while in setup 2017-09-22 03:07:44 +05:30
Rushabh Mehta
da0a4ea7fd Merge pull request #4065 from pratu16x7/page-fixes
[page] add empty state, required libs, callback
2017-09-14 11:24:47 +05:30
Nabin Hait
1d2525d6ce [refactor] Load languages on load of slide 2017-09-13 19:41:33 +05:30
pratu16x7
3589a0b8b1 [page] add empty state, required libs, callback 2017-09-13 09:21:11 +05:30
pratu16x7
c87710f25b [fix] remove reload after setup 2017-09-06 12:06:32 +05:30
pratu16x7
11709b31ec [setup] keyboard nav 2017-09-05 13:31:04 +05:30
pratu16x7
0776e79cb2 [setup] new loading state, remove setup_wizard.css 2017-09-04 10:29:14 +05:30
pratu16x7
bf4eab3bc2 [progress] dismiss on completion 2017-09-01 17:48:09 +05:30
pratu16x7
7d2c96b2d4 [progress] add is_first_startup flag to show dialog 2017-08-31 14:57:14 +05:30
pratu16x7
ce8d3e6871 [user-progress] route post setup route 2017-08-29 10:20:30 +05:30
pratu16x7
91c2e57fdb [setup wiz] fixes 2017-08-29 10:03:06 +05:30
pratu16x7
e847ffce30 [user-progress] cleanup 2017-08-29 10:03:05 +05:30
pratu16x7
674308958a [setup-wiz] UI test command 2017-08-29 10:03:04 +05:30
pratu16x7
89aff93a5e [setup-wiz] fix setup complete state 2017-08-29 10:03:04 +05:30
pratu16x7
c17bf0a04d [slides] setup wizard refactor 2017-08-29 10:03:04 +05:30
pratu16x7
af169b6e4b [slides][wip] setup wizard slide container 2017-08-29 10:03:03 +05:30
pratu16x7
347cd50db8 [slides] container controls slides 2017-08-29 10:03:03 +05:30
pratu16x7
6527a17251 [user-progress] Slides as container object, dismiss button 2017-08-29 10:03:03 +05:30
pratu16x7
5f988c3d7b [user-progress] first cut 2017-08-29 10:03:03 +05:30
Rushabh Mehta
c63cdc5adf [minor] remove 2fa from setup wizar 2017-08-08 14:59:22 +05:30
ckosiegbu
cbee42f2d6 Merge branch 'develop' into twofactor 2017-07-27 21:52:42 +01:00
Prateeksha Singh
05a542d7cc Set image control alignment via df (#3754)
* image control alignment via df

* [wiz] remove application brand name
2017-07-25 10:59:39 +05:30
ckosiegbu
3329618a14 Merge branch 'develop' into twofactor 2017-07-22 19:05:18 +01:00
Rushabh Mehta
c3598c2521 [minor] setup wizard fixes 2017-07-20 15:54:34 +05:30
B H Boma
cde8001369 Show twofactor auth in setup wizard 2017-07-18 17:30:11 +01:00
Prateeksha Singh
a309b5696a [wiz][minor] style fixes, static label, first entry mandatory (#3647) 2017-07-11 12:36:10 +05:30
Saurabh
3dd60a1d1f [fix] for disable next button 2017-07-07 16:28:06 +05:30
Prateeksha Singh
afed0c9374 Setup wizard refactor (#3548)
* [wizard] refactor and UI cleanups

* [wip] attach image control cleanup

* try and detect lang, country, gravatar

* password control

* frappe.wiz to frappe.setup

* cleaned up slides, yet to decide on master data

* Add function to add dynamic fields in layout

* [fix] independent slide fields numbering by deep-cloning initial fields

* refresh only appended fields, autofill user_details

* [wizard] UI test

* [wizard] frappe icon, reuse get_geo_ip_country, cleanups
2017-07-03 18:15:40 +05:30
Faris Ansari
e1b243996a Added files in .eslintignore, updated globals 2017-06-02 15:00:15 +05:30
Rushabh Mehta
772adf4199 [style] style fixes for setup wizard and charts 2017-02-09 17:46:15 +05:30
Rushabh Mehta
7bc7e3bc63 Upgrade Font Awesome (#2410)
* Font-Awesome V3.x to V4.x

Font-Awesome V3.x to V4.x

* Font Tidy

Font Tidy

* FA4 Upgrade - Html Js & Json

FA4 Upgrade - Html Js & Json

* Minor

Minor
2016-12-05 13:07:03 +05:30
Faris Ansari
3ed6bef17e [setupwizard] mouseless operation (#2244) 2016-11-03 13:10:10 +05:30
Rushabh Mehta
9570eecc4d [fix] setup wizard redesign for schools 2016-07-21 16:01:37 +05:30
Anand Doshi
857ac090b0 [fix] added disable future setup wizard access 2016-07-05 21:35:40 +05:30
Anand Doshi
3854bcad04 [fix] limits variables and how usage is stored within limits + additional fixes 2016-06-25 17:41:19 +05:30
Rushabh Mehta
75c0d581d5 [fixed] frappe.require is now async 💥 2016-04-29 17:22:16 +05:30
Anand Doshi
23deb7deb1 [fix] Setup Wizard: freeze when loading language and translations
Fixes frappe/erpnext#4874
2016-03-08 16:59:19 +05:30
Rushabh Mehta
b698124ae8 [fix] multi-lingual print formats 2016-03-02 15:44:36 +05:30
Neil Trini Lasrado
53f3e15e92 Fixes in Setup Wizard 2016-02-24 18:06:57 +05:30