Commit graph

64 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
b8825ca116 Pure Python MySQL instead mysqlclient (with Python C API) (#4280)
* added PyMYSQL instead mysqlclient-python

* added pymysql import

* fixed db module import

* foxed self._conn wrapper

* updated cursor migration

* removed existent converters

* some more fixes towards API port

* modified travis

* updated doctype and revereted yml

* modified travis

* refreshed logging

* raw fix

* moved from hard coded constants to declarable instances

* moved from hard coded constants to declarable instances

* refactoring and logging

* moved to global import declaration

* fixed codacy

* unfixed codacy

* minor fix

* binary_type has a single

* deprecated alternative

* merged with latest

* fixed merge conflicts

* using deprecated alternative

* raw fix

* stupid fix

* using StringTypes instead

* brutal hack

* log

* tundebazy to the rescue

* fixed content_hash error

* frappe/database.py

* frappe/database.py

* updated database.py

* updated requirements

* updated requirements

* fixed codacy

* fixed codacy

* moved from DatabaseOperationalError to pymysql.InternalError

* moved from DatabaseOperationalError to pymysql.InternalError

* fixed codacy

* empty commit

* fixed codacy

* fixed codacy
2017-11-06 16:42: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
KanchanChauhan
8c8e9fdd98 No Tags was not counting emtpy tags (#4231) 2017-10-02 16:56:27 +05:30
Nabin Hait
18cd78e7d7 Fixed encoding issue on exporting report in csv 2017-09-11 16:17:39 +05:30
Makarand Bauskar
2495f06aba [hotfix] fixes for UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 17: ordinal not in range(128) (#4082)
* [hotfix] fixes for UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 17: ordinal not in range(128)

* [hotfix] datetime field filters issue
2017-09-07 20:00:00 +05:30
Manas Solanki
48e7d5d87e remove the markup while exporting the reports in csv format 2017-08-24 16:36:56 +05:30
mbauskar
7efd470c0d Merge branch 'master' into develop 2017-08-23 13:05:20 +05:30
mbauskar
1481f03905 [hotfix] check if the operator is passed in filters for get-filter-conditions 2017-08-22 17:32:39 +05:30
mbauskar
bc603de8be resolved conflicts 2017-08-16 18:24:21 +05:30
mbauskar
1b99d82856 [hotfix] filters with the special characters are escaped twice 2017-08-14 16:34:20 +05:30
Aditya Hase
769338f136 Replaced all instances of basestring with six.string_types 2017-08-11 00:10:11 +05:30
mbauskar
e4675498bb Merge branch 'master' into staging 2017-08-04 11:02:07 +05:30
Faris Ansari
76a12ca5b6 Handle error when _user_tags column is added on the fly (#3854) 2017-08-03 17:02:30 +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
d3395dfd28 Replaced StringIO and cStringIO imports with six.StringIO (#3810)
StringIO and cStringIO modules are replaced with io.StringIO in
Python 3. six.StringIO is an alias for StringIO.StringIO in
Python 2 and io.StringIO in Python 3
2017-07-31 10:54:17 +05:30
rohitwaghchaure
8c8385a37b [Fix] Calender view broken if filters has not applied (#3737) 2017-07-19 12:32:55 +05:30
rohitwaghchaure
019619958a [Fix] Unable to open calendar view of the task (#3727) 2017-07-18 16:37:09 +05:30
Rushabh Mehta
368bbeeb29 [fix] filters for calendars frappe/erpnext#9850 (#3686)
* [fix] filters for calendars frappe/erpnext#9850

* [add] tests
2017-07-18 10:50:26 +05:30
Manas Solanki
64262dc635 error in the reports while downloading in the mobile app (#3551) 2017-06-23 17:53:42 +05:30
tundebabzy
6e29d9e925 xrange to range (#3237)
* introduces build status for local fork

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range

* converts xrange to range using six.moves.range

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* Revert "introduces build status for local fork"

This reverts commit 61f40983d0b3c6725369171ab850a18e5c029cc4.
2017-05-11 10:55:34 +05:30
Rushabh Mehta
262f361021 [minor] ignore permissions option for filters in db_query (#3234) 2017-05-06 12:43:47 +05:30
Faris Ansari
fa07de3870 [fix] frappe/erpnext#8485 (#3107) 2017-04-18 12:48:25 +05:30
Faris Ansari
ed601f51cc Page length always 20, frappe/erpnext#8256 2017-03-31 11:46:45 +05:30
Nabin Hait
d8b7a4417d Minor fix in reportview 2017-03-30 19:23:45 +05:30
Nabin Hait
916d4d2ebe Merge branch 'develop_customize_form_report_hide_fixes' of https://github.com/bohlian/frappe into bohlian-develop_customize_form_report_hide_fixes 2017-03-30 14:23:11 +05:30
Javier Wong
42d04337c2 [fix] Missing field declaration for hiding fields with report_hide set 2017-03-29 00:59:51 +08:00
Rushabh Mehta
cd4fd8363c Revert "[fix] Customize Form - Report Hide" (#2940)
* Revert "[fix] Doctype List in User Permissions (#2785)"

This reverts commit 156393c9fc.

* Revert "[minor]  translation related: Address document autoname and Search box placeholder (#2918)"

This reverts commit 9e8896d3c1.

* Revert "Fix total sum report (#2921)"

This reverts commit 344e87db83.

* Revert "[fix] Allow Print and Cancel during a Workflow (#2935)"

This reverts commit d57612bbe8.

* Revert "[enhancement] Email Alert - Allow email_by_document_field to have multiple emails separated by comma (#2936)"

This reverts commit f7ffcbf423.

* Revert "[fix] Customize Form - Report Hide (#2937)"

This reverts commit e50e5f15ef.
2017-03-27 15:42:44 +05:30
Javier Wong
e50e5f15ef [fix] Customize Form - Report Hide (#2937)
- Hide fields from report builder selection if report hide is selected
- Remove field from being shown in the report builder if report hide is selected
2017-03-27 15:05:47 +05:30
Makarand Bauskar
c18828b158 [minor] fixed error while exporting the report to csv (#2927) 2017-03-27 15:01:05 +05:30
Javier Wong
0a2331fca3 [fix] Customize Form - Report Hide
- Hide fields from report builder selection if report hide is selected
- Remove field from being shown in the report builder if report hide is selected
2017-03-26 21:42:17 +08:00
robulik
d0a35cd7da [Minor] fix of translatable strings ("No Tags", "Profile") (#2892)
* Slovak translations

* New strings pulled

* Slovak translations for Desktop terms

* Slovak translations'

* Slovak translations

* Slovak translations

* Slovak translations

* Slovak translations

* Quick entry window now with translatable footer notes

* Slovak translation waits for bulk pull request

* Slovak translations

* Slovak translations

* Slovak translations

* Slovak translations

* Button Make a new {0} in list view - which is already translated string

* Translatable strings 'No Tags' and 'Profile'

* Minor fix of translatable strings (No Tags, Profile)

* [fix] translations for strings in templates
2017-03-23 14:52:18 +05:30
KanchanChauhan
37574d67d1 Export selected items in Report Builder (#2890) 2017-03-23 14:51:11 +05:30
Rushabh Mehta
d453dea055 [minor] catch tag count exception for filters that include child tables 2017-03-15 15:02:08 +05:30
Faris Ansari
1a76d64781 ListView refactor (#2715)
* [list_settings] save last_view, kanban_board, gantt_mode

* listview.js cleanup

* image_view refactor

* image_view done

* wip

* [photoswipe] wip

* show view for calendar, kanban even if no results

* [gantt_view] refactor into separate file

* [imageview] 3 column border fix

* [imageview] gallery working

* delete old libs

* indentation to tabs

* [gantt] update lib, custom popup html

* custom fontawesome checkbox

* reset gantt state when not permitted

* checkbox styling fix

* working commit

* image, calendar, gantt view working

* more refactoring, kanban view

* minor

* removed old files

* user settings improved

* filters and sort selector de-coupling

* wip

* [imageview] white pswp background

* kanban filters saving fixed

* fixed reportview

* minor

* removed listing.js

* minor fixes and cleanup

* patch for UserSettings table

* patch fix
2017-03-06 11:32:27 +05:30
Manas Solanki
a9d5715f8a Fix for opening the file in mac and some styling in excel file 2017-02-14 18:34:35 +05:30
Manas Solanki
59917bc2af Query Report export in excel file format 2017-02-14 18:34:35 +05:30
Manas Solanki
6cdf8ec86c Export Reports in Excel file format 2017-02-14 18:34:35 +05:30
Rushabh Mehta
d6c3c9a8e7 [enhance] moved contact to frappe 💥 2017-01-13 18:52:41 +05:30
robert schouten
48dc91a59f Email inbox (#2485)
* Communication_reconciliation

* Email inbox

* added collapsed timeline for communication

* new email prefill from when only one address

* timeline duplication and notifcation and stability fixs

* add subject to timeline

* email system v7 fixes

* added password required validation

* use proper email datetime

* email inbox v7.1 fixes

* email inbox communication_date used instead of created

* email inbox communication data cleanup

* remove old patch

* email inbox permit unlinking

* [fix] duplication queue and rename domain to email domain

* fix rename domain

* email inbox index optimisation

* email inbox relink doctype query usability fix

* email_inbox Set attachment variable for forwards and replies based on whether it exists or not

* uidnext fixes and cleanup

* email inbox fix tests

* fix rebase timeline issue

* email inbox threading and cleanup

* email inbox cleanup

* bring inbox into frappe and cleanup

* fix missed path

* inbox cleanup

* email-inbox move service back to account

* separate to erpnext contact match

* email inbox cleanup and move relink and timeline fix

* relink optimisation

* inbox fix footer

* keep email drafts on pages not just forms

* email inbox add sent items

* email inbox allow not save list settings on query

* email inbox cleanup and remove communications recon

* add suspend sending button in email queue

* fix rebase error

* email inbox assorted fixes

* email inbox fixes and relink option only when linked otherwise link;

* email inbox fix sender fullname as administrator

* create user email to custom button

* email inbox sent no match and seen

* email inbox fix unicode issues with subject recipient and sender
2017-01-13 14:45:11 +05:30
Rushabh Mehta
a5b4f8ce7d [cleanup] for kanban 2017-01-10 15:43:26 +05:30
Neil Trini Lasrado
c53bd84c9f Use get_list instead of get_all in filters so that it honours permissions. (#2483) 2016-12-22 11:32:17 +05:30
Nabin Hait
c52dc83256 Fixed merge conflict 2016-12-06 16:12:32 +05:30
Rohit Waghchaure
82ac63e5ac [Fix] Total row not working in the report for the report builder type 2016-12-06 16:05:26 +05:30
robert schouten
6917dea00e remove filter dash limit as no performance increase (#2318) 2016-11-22 10:55:59 +05:30
Rushabh Mehta
95fdfe44d3 [minor] added default standard filters (#2270)
* [minor] added default standard filters

* [fix] frappe.sendmail

* [fix] frappe.sendmail
2016-11-07 17:18:49 +05:30
Rushabh Mehta
98a7d8e2d0 [feature] Add totals row in report (#2249)
* Fixes issues with old branch

* [fixes] remember totals row option and calculate in the browser if possible
2016-11-04 13:33:08 +05:30
Rushabh Mehta
aece05a792 [fix] default for checks in db_insert and show top 20 filter values 2016-10-26 19:33:04 +05:30
Rushabh Mehta
424f99e6f3 [cleanup] dashboard filters 2016-10-26 19:33:04 +05:30
robert schouten
01a4845ce7 assorted cleanup and v7.1 fixes 2016-10-26 19:33:04 +05:30