Commit graph

17162 commits

Author SHA1 Message Date
Prateeksha Singh
76386603a4 [setup] Address template message if setup complete 2018-12-11 16:10:02 +05:30
Prateeksha Singh
f05486f814 [comment][fix] add pre-existing clear method 2018-12-11 16:10:02 +05:30
Prateeksha Singh
7b4a4bc5b7 [setup] startup setup dialog if setup not complete 2018-12-11 16:10:02 +05:30
Prateeksha Singh
0ccb159c6f Add make_records() 2018-12-11 16:10:02 +05:30
Prateeksha Singh
50af0dc388 remove setup progress 2018-12-11 16:10:02 +05:30
Saurabh
5dceb7fb42 provision to setup password while adding system manager 2018-12-11 16:10:02 +05:30
Saurabh
8dafb6dc05 [fix] toggle title based on setup status 2018-12-11 16:10:02 +05:30
Frappe Bot
6859a73d32 Merge branch 'staging-fixes' into staging 2018-12-11 09:53:52 +00:00
Frappe Bot
01b91003f3 bumped to version 11.0.3-beta.36 2018-12-11 09:53:52 +00:00
Faris Ansari
41b7267e4e fix: Email Reply Behaviour (#6578)
* fix: Email Reply Behaviour

- Now email will be appended to the next reply but it would be clipped
at 20k characters.
- The reply part of the email would not be shown in  the timeline.
- If the email is composed using the "New Email", the last email is not
appended to the email

* fix: Convert into multiline string

* fix: var to let

* fix: var to let
2018-12-11 13:40:25 +05:30
Rushabh Mehta
dad0b84847
fix(patch): check if table exists for old prepared reports (#6605)
* debug(test): test_scheduler_events

* fix(patch): check if table exists for old prepared reports

* debug(tests): add comments for debug
2018-12-11 11:08:50 +05:30
Faris Ansari
c1bd405afc Fix: Query Report (#6603)
* fix: Update frappe-datatable to 1.7.0

- Fix filtering with sorting
- Equals keyword for numeric columns

* fix: Show tip for inline filtering
2018-12-11 10:14:21 +05:30
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