Commit graph

385 commits

Author SHA1 Message Date
Faris Ansari
7595fb75ba
New ListView 💥 + DataTable (#4577)
* first cut

* Code refactoring, styling

* Added Sorting

* Revert query_report to use slickgrid

* cleanup

* Edit cell working

* Add regrid, remove datatable

* Add clusterize

* Update lib, fix get_checked_items

* New ReportView

* wip

* Enable editing, fix styles

* update lib

* wip

* fix refresh rows and editable cells

* Refresh list_view every 3s, decouple refreshing logic

* Report editing fixes

* Cleanup loading fields, add column then refresh list

* [wip] New List View

* [working] Render results

* ListView is now BaseList, add new ListView and GanttView

* Create new page for each ListView

* GanttView working

* CalendarView working

* KanbanView working

* Cache list_view based on page_name

* Gantt view buttons on mobile

* Add ReportView

* Refresh datatable on render

* Setup like

* [start][filters] clean up FilterList

* [filters] refactor FilterList

* [filters] minor fix

* [filters] fix remove filter

* filter utils

* more utils, remove apply

* rewrite as class, remove 'me' references

* [filter] implement on_change to decouple parent functions

* Integrate new filters with new BaseList

* Setup freeze area for ListView

* Set breadcrumbs on setup_page

* Trigger list update from events

* Setup footnote area

* Fix Kanban Board filters

* Add filters to standard filters, then filter_list

* Remove old files

* Fix ImageView

* Some more fixes for BaseList.init

* Fix order_by on load

* Report View: remember columns

* Fix for hidden filters

* Fix for delete items

* InboxView

* Shift select checkboxes

* Fix ESLint errors

* More refactoring

- Move ListMenu to Listview
- New FileView
- Ability to add custom breadcrumbs

* FileManager working

* Tags, set filters from route options

* Custom Reports Working

* List Sidebar reports

* Report Name as title

* Fix ESLint errors

* Fix UI tests

* Fix Kanban test

* Format ID column

* [fix] Kanban cards title

* Checkbox fix

* Fix Activity Page

* Update rows in Report in place

* Child Table columns in Report View
2017-12-27 11:24:25 +05:30
Achilles Rasquinha
b31c4ed029 Remove jrumble from build.json, wiggle cleanup (#4643) 2017-12-18 11:40:21 +05:30
Prateeksha Singh
3030c6d212 replace rumble with simple cute wiggling (#4628) 2017-12-15 14:20:24 +05:30
Manas Solanki
520bfc2ae4 New data import (#4601)
* created/moved the files

* added the model for the downloading the data

* add the file with the error data

* changes added other changes and fix codacy

* changes in the config and utils files

* fixed the test cases

* minor changes in the data keys dict

* changed the test file location

* fixed the tests

* set the route in the list view and show only erors

* minor fixes in the childtable import and log tables rendering

* Refactor Download dialog to use MultiCheck
2017-12-15 12:17:24 +05:30
Manas Solanki
24cc7939c8 escape the user name in the show desktop page (#4599) 2017-12-11 14:29:27 +05:30
Rushabh Mehta
6470d26d19 [minor] import and assign 2017-12-08 15:51:25 +05:30
Zarrar
a0c1af4c11 [Fix] Data Import Tool (#4527)
* handle empty rows, validating naming-series

* Update importer.py
2017-12-07 11:47:41 +05:30
Saurabh
c042980765 Merge branch 'master' into develop 2017-11-29 11:14:05 +05:30
Saurabh
210685d39c [fix] jinja syntax error in usage info 2017-11-29 11:11:25 +05:30
Saurabh
91a87da6fb Merge branch 'master' into develop 2017-11-28 11:04:57 +05:30
Saurabh
4b5e347ea1 [fix] show upgrade button on usage page for free users too (#4535)
* [fix] show upgrade button on usage page for free users too

* Update usage_info.html
2017-11-27 11:49:48 +05:30
Saurabh
20fff6e874 Merge branch 'master' into develop 2017-11-22 18:02:53 +05:30
rohitwaghchaure
922b1237e7 [Fix] Desktop icon page not showing for french language (#4518) 2017-11-21 15:57:49 +05:30
Faris Ansari
e617dfbf98 Don't show submit, cancel, amend buttons for non submittable doctypes (#4448) 2017-11-10 14:21:06 +05:30
Saurabh
bdc87d437a [fix] set skip_errors params from data import tool (#4438) 2017-11-06 17:26:29 +05:30
Rohit Waghchaure
c47cce1cbc [Fix] Don't show upgrade button for paid site 2017-10-26 20:48:11 +05:30
Makarand Bauskar
da144db4ec [hotfix] no_socketio while uploading file for data-import-tool (#4306) 2017-10-13 10:47:11 +05:30
Prateeksha Singh
a9783a2e98 Upgrade button in sidebar, cleanup usage page (#4227)
* upgrade button in sidebar, cleanup usage page

* [fix] check if in trial for sidebar

* make upgrade box dismissable

* Update list_sidebar.js
2017-10-05 11:22:51 +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
Achilles Rasquinha
7dd2c1c941 [FIX] #4223 (#4226)
* [FIX] #4223

* codacy fix

* fixed codacy

* fixed codacy
2017-10-02 13:21:48 +05:30
Rushabh Mehta
2248dbc819 Merge pull request #4165 from achillesrasquinha/develop
[MAJOR] WebCamera attachments, Desktop Wiggling, bench command, minor UX, better dev workflow, MariaDB@10.2 fix
2017-09-29 15:09:41 +05:30
Achilles Rasquinha
0aa0e79aa7 [fix] wiggling 2017-09-29 11:07:42 +05:30
Achilles Rasquinha
aeb00b7afa fixed codacy 2017-09-28 12:58:39 +05:30
Achilles Rasquinha
da76dd5f7a added this.wiggling for scope call 2017-09-28 12:42:45 +05:30
Achilles Rasquinha
ea030bcb9e added setup_wiggle function 2017-09-28 12:37:16 +05:30
Aditya Hase
cd737debcb Open CSV file in binary mode while writing bytes 2017-09-27 01:08:07 +05:30
Aditya Hase
943f548c1e Use 'key' keyword argument with list.sort 2017-09-27 01:08:07 +05:30
Achilles Rasquinha
e8b6c95a6a [minor] wiggling needs to be falsified when cleared 2017-09-26 10:06:03 +05:30
Achilles Rasquinha
c1ab7eab45 codacy fix 2017-09-25 20:56:15 +05:30
Achilles Rasquinha
eb152073a7 fu codacy 2017-09-25 19:48:18 +05:30
Achilles Rasquinha
dae76e27a8 [FIX] fixed for desktop titles 2017-09-25 19:25:34 +05:30
Achilles Rasquinha
6a4dcb58af Wiggle Desktop Icons to have them removed, works for current user only - the iOS feel 2017-09-25 19:15:14 +05:30
Rushabh Mehta
adc7ad69cd [fix] desktop notifications 2017-09-25 11:06:54 +05:30
Rushabh Mehta
a52d393980 [fix] test 2017-09-21 17:22:11 +05:30
Rushabh Mehta
dcaf5f98af [fix] remove prints 2017-09-21 16:47:53 +05:30
Rushabh Mehta
1de26c939c [enhance] use socket-io to upload files 2017-09-14 13:07:29 +05:30
mbauskar
cf3ba70e3e Merge branch 'master' into develop 2017-09-07 11:49:20 +05:30
Makarand Bauskar
6e6fb684ec [hotfix] dont Patch Log, Module Def in Permission Manager (#4070) 2017-09-06 16:15:37 +05:30
Aditya Hase
f7b7387b46 Explicitly convert filter to list wherever necessary 2017-09-04 16:05:58 +05:30
Manas Solanki
899fe860d1 sorted the select in permission manager as per translated string 2017-08-28 11:38:46 +05:30
Rushabh Mehta
2377434d39 Merge branch 'master' into develop 2017-08-24 16:51:27 +05:30
Rushabh Mehta
4e456b4e42 [fix] importer.py, allow for truncated rows due to xls import 2017-08-24 15:49:47 +05:30
Rushabh Mehta
146247c17d [fix] notification filters, fixes frappe/erpnext#9982 (#3977) 2017-08-23 18:06:03 +05:30
mbauskar
bc603de8be resolved conflicts 2017-08-16 18:24:21 +05:30
Robert Kirschner
67668684ab [minor] fix of translatable terms 2017-08-14 13:12:30 +02:00
Aditya Hase
769338f136 Replaced all instances of basestring with six.string_types 2017-08-11 00:10:11 +05:30
Rushabh Mehta
3af5d51a41 [style] cleanup tags 2017-08-03 15:34:02 +05:30
Aditya Hase
e6bd1e4995 Replaced all instances of 'unicode' with 'six.text_type' (#3825) 2017-08-02 16:57:39 +05:30
Aditya Hase
774c5fd2c6 Replaced mixed usage of tabs and spaces for indents with tabs only (#3828) 2017-08-01 11:53:58 +05:30
mbauskar
b1e70892d3 Merge branch 'master' into develop 2017-07-31 12:20:10 +05:30