Commit graph

17150 commits

Author SHA1 Message Date
Frappe Bot
306ca0f446 Merge branch 'staging-fixes' into staging 2018-12-10 13:05:59 +00:00
Frappe Bot
d6667da7ed bumped to version 11.0.3-beta.35 2018-12-10 13:05:59 +00:00
rohitwaghchaure
8c0fead00e feat: Added disabled field in the address (#6548) 2018-12-10 18:19:09 +05:30
Saif
58d0e8507d Allow setting MariaDB root user and pass (#6599) 2018-12-10 17:53:00 +05:30
Faris Ansari
e71d412fc8 fix: Totals row in Query Report (#6590)
* fix: Totals row in Query Report

* fix: Remove quotes around Total
2018-12-10 17:21:02 +05:30
rohitwaghchaure
19453b8862 [Fix] Component not getting in the refresh event in the employee transfer doctype (#6601) 2018-12-10 16:56:03 +05:30
Saurabh
dc2cc5c177 bumped to version 11.0.3-beta.34 2018-12-07 17:53:24 +06:00
Faris Ansari
c2c13f1e5c
Merge pull request #6482 from adityahase/prepared-report-fix
fix(prepared-report): Prepared Report Enhancements
2018-12-07 16:49:26 +05:30
Faris Ansari
3cb3bc4bb6
Merge pull request #6589 from netchampfaris/query-report-fixes-4
fix: Update Datatable to 1.6.1
2018-12-07 16:33:26 +05:30
Faris Ansari
58dc851e8f
Merge branch 'staging-fixes' into prepared-report-fix 2018-12-07 16:15:43 +05:30
Faris Ansari
5d3c739145 fix(Quill): Use pre tag instead of div (#6585) 2018-12-07 15:55:43 +05:30
Faris Ansari
a4e30abac2 fix: Update Datatable to 1.6.1 2018-12-07 15:30:18 +05:30
Aditya Hase
8006fe4e83 style: Linting fixes 2018-12-06 21:20:46 +05:30
Aditya Hase
521d5a982c fix(prepared-report): UX Improvements
- Update primary action according to the Report's status

 - Automatically refresh report view if report generation is finished

 - Correctly translate message strings

Co-authored-by: Faris Ansari <netchamp.faris@gmail.com>
2018-12-06 19:52:35 +05:30
Aditya Hase
28e36b201d fix(prepared-report): Do not lose the first row in Prepared Report data 2018-12-06 17:27:50 +05:30
Faris Ansari
7660ac8f98 fix: Use frappe.as_json instead of json.dumps 2018-12-06 17:24:54 +05:30
Faris Ansari
304a563c25 style: Linting fixes 2018-12-06 17:22:57 +05:30
Aditya Hase
dbf9f15f1a fix(prepared-report): Fix typo in a comment 2018-12-06 16:03:22 +05:30
Aditya Hase
49e5d4e21f fix(prepared-report): Set prepared_report_name query param in Link to query report
Since visiting the query report URL will show most recently generated report
that matches given filters, Explicitly mention which Prepared Report is going
to be rendered.
2018-12-06 16:01:42 +05:30
Aditya Hase
013f6ceffc fix(prepared-report): Uncompress Prepared Report data files before downloading 2018-12-06 16:01:42 +05:30
Aditya Hase
0467719466 fix(prepared-report): Disable filters when showing a Prepared Report doc 2018-12-06 16:01:41 +05:30
Aditya Hase
fc48597694 fix(prepared-report): Python 2 compatibility fix
gzip.compress and gzip.decompress were introduced in Python 3.2

Added gzip_compress and gzip_decompress to frappe.utils to add this functionality
to both Python 2 and 3
2018-12-06 16:01:41 +05:30
Aditya Hase
fe657b2f73 fix(prepared-report): Delete all prepared reports
Changes made to Prepared Report aren't backwards compatible.
Let's get rid of existing prepared reports and files associated with them.
2018-12-06 16:01:41 +05:30
Aditya Hase
9ced1a2886 fix(prepared-report): Show data from report matching filters and owner
This fixes permission issues since users can only see the
report that they themselves have generated.

Also report filters and data won't mismatch.
2018-12-06 16:01:41 +05:30
Aditya Hase
d76a0136dd refactor(prepared-report): Do not serialize JSON serialized filters
Prepared report filters were being JSON serialized twice.
There isn't any apparent need to do this. So don't do it.
2018-12-06 16:01:41 +05:30
Aditya Hase
0919234b66 fix(prepared-report): Serialize Prepared Report data to JSON
CSV serialization causes information loss for erpnext reports like P&L Statement,
rendering such reports unusable.

Also stored files are gzip compressed to reduce space requirement

Note: This will cause all previously generated reports to break, this should be fixed
2018-12-06 16:01:41 +05:30
Frappe Bot
bc3934ac68 Merge branch 'staging-fixes' into staging 2018-12-06 09:30:26 +00:00
Frappe Bot
af89f23882 bumped to version 11.0.3-beta.33 2018-12-06 09:30:26 +00:00
Frappe Bot
b39bbe9baf Merge branch 'master' into staging-fixes 2018-12-06 09:09:06 +00:00
Frappe Bot
be52744453 Merge branch 'hotfix' 2018-12-06 08:54:30 +00:00
Frappe Bot
bd3b14ac18 bumped to version 10.1.67 2018-12-06 08:54:30 +00:00
Faris Ansari
9d13d3cd07 fix[filters]: Load filters from report doc & more(#6556)
* fix(Custom Report): Load filters from report doc

For Custom Report, load filters only from the report doc. For the report
builder, filters should load similar to listview.

* fix(Kanban): Explicit menu action to save filters

* fix: indent

* fix: Always route to the List view from dashboard
2018-12-03 15:52:53 +05:30
Deepesh Garg
17e3e6f557 Add after_render hook in query_report.js (#6565)
* Check first row in datatable

* row check bug fix
2018-12-03 13:01:59 +05:30
Faris Ansari
4d1a557fa3 fix: Only apply saved filters on page load (#6574) 2018-12-02 12:01:27 +05:30
Faris Ansari
7e5decc9f7 fix(QueryReport): Dynamic Total Row in Query Report (#6566)
The total row sent by the server does not update when rows are filtered.
Datatable now has a bulit-in dynamic total row
2018-11-30 18:51:32 +05:30
Aditya Hase
cc1698c927 fix(website-chat): Show chat window if chat alert is clicked (#6558)
* fix(website-chat): Show chat window if chat alert is clicked

* fix: Add cursor pointer to make it look clickable
2018-11-29 22:16:47 +05:30
Aditya Hase
e3ae0722c4 fix(security): Make Jinja tighter (#6564) 2018-11-29 17:24:46 +05:30
Ameya Shenoy
0ecad79fd1 bumped to version 11.0.3-beta.32 2018-11-29 09:48:47 +00:00
Ameya Shenoy
5857b9266b bumped to version 10.1.66 2018-11-29 09:45:15 +00:00
Suraj Shetty
5d477ff6e9 Update gantt library (#6541)
* Update gantt library
- Current version is ver 0.3.0

* Add frappe-gantt.css
2018-11-29 12:49:26 +05:30
Zarrar
aff557914e fix: delete event if its reference doc is deleted (#6453)
* delete events associated with any reference doctype

* fix query, remove whitelist
2018-11-29 12:19:26 +05:30
Ameya Shenoy
79bd1ed9d6 fix: identify production mode for PDF generation (#6559)
In regards to PDF generation, if developer_mode was set to true, the PDF
generated used to lack css styling. This was because the URL to the CSS
assets used to contain the webserver port number, but given the system
was running in production, the URL was invalid, thereby not being able
to load CSS assets. This fix does not rely on the value of
developer_mode to identify if the system is running in production,
rather, it uses the value of restart_superviosor or systemd_on_update,
to check for the same.
2018-11-29 10:31:53 +05:30
Saurabh
087e401c78 Customize payment success message (#6460)
* Provision to set custom payment success message

* typo fix

* Fix formatting
2018-11-29 09:07:38 +05:30
Shreya Shah
6f550c5c1e fix: Hide print for single doctypes (#6553) 2018-11-29 09:07:21 +05:30
Suraj Shetty
6aef726beb
fix: check if key exists (with python3 support) (#6557)
https://stackoverflow.com/a/1323426/5955589
2018-11-29 01:18:04 +05:30
Ameya Shenoy
cfc3c60acc bumped to version 11.0.3-beta.31 2018-11-28 08:14:06 +00:00
Ameya Shenoy
f513739d1a
Merge branch 'master' into staging-fixes 2018-11-28 07:53:35 +00:00
Ameya Shenoy
bb585e59d2 bumped to version 10.1.65 2018-11-28 07:42:16 +00:00
Saurabh
4738a9711a fix: tighten protection against sql injection (#6546) 2018-11-28 10:22:30 +05:30
rohitwaghchaure
1cb64cf06e fix: Web form grid view for Text Editor showing toolbar (#6547) 2018-11-28 10:14:11 +05:30