Commit graph

16513 commits

Author SHA1 Message Date
Prateeksha Singh
2b672d2ee7 Add Vue Support (#6025)
* [frappe][build] Add Vue

* chore(rollup): add node_modules path for all apps

- also remove rollup-plugin-alias

* feat: Add EventEmitter

Usage:

```
frappe.utils.make_event_emitter(obj);

obj.trigger('event');
obj.on('event', fn);
```

* chore: Update rollup

* fix: add comment_when to frappe.datetime

* feat: Add img-loading class

* feat: Add .vue files for translation extraction

* [frappe][build] Add Vue

* chore(rollup): add node_modules path for all apps

- also remove rollup-plugin-alias

* feat: Add EventEmitter

Usage:

```
frappe.utils.make_event_emitter(obj);

obj.trigger('event');
obj.on('event', fn);
```

* chore: Update rollup

* fix: add comment_when to frappe.datetime

* feat: Add img-loading class
2018-08-29 12:03:27 +05:30
Faris Ansari
c564b4b00a
Merge pull request #6023 from netchampfaris/async-keyword-fix
fix(async): Pass async param using dict
2018-08-28 18:50:24 +05:30
Faris Ansari
3838247f4d
Merge branch 'develop' into async-keyword-fix 2018-08-28 18:47:17 +05:30
Faris Ansari
116a0bc99c fix(async): Pass async param using dict 2018-08-28 18:45:56 +05:30
Ameya Shenoy
682c8cd4c6
Merge pull request #6022 from codingCoffee/rq
rq: lock version 0.12.0
2018-08-28 11:15:42 +00:00
Ameya Shenoy
f379e2fe7f
rq: lock version 0.12.0 2018-08-28 11:04:50 +00:00
Nabin Hait
d8b3fcb347 [fix] Rename property setter for fetch_from 2018-08-28 16:15:19 +05:30
Aditya Hase
f3b959b1fe frappe: refactor async to realtime (#6015)
* frappe: refactor async to realtime

* frappe: refactor async to is_async
2018-08-28 15:31:20 +05:30
Rushabh Mehta
7362a0151f
ux(timeline): different background for comment (#6021) 2018-08-28 15:29:27 +05:30
Saurabh
e88cbee727 add missing methods from google_maps to google_maps_settings (#6020) 2018-08-28 15:23:05 +05:30
Rushabh Mehta
d3be20047d ux(filters): dont validate in list filters 2018-08-28 14:57:21 +05:30
Saurabh
b8923b0c08
Merge pull request #6014 from saurabh6790/v11_patch_fixes
[fix] v11 patch fixes
2018-08-27 18:17:49 +05:30
Saurabh
99b102dc25 [fix] v11 patch fixes 2018-08-27 18:13:46 +05:30
Ameya Shenoy
6cf350bcdc
Merge pull request #6013 from codingCoffee/gridjs
grid_list: fixed event binding on paging
2018-08-27 11:11:23 +00:00
Ameya Shenoy
6ebc9581fc
grid_list: fixed event binding on paging 2018-08-27 11:04:19 +00:00
Ameya Shenoy
fcb28d36ee Reverting file permissions (#6012) 2018-08-27 16:20:37 +05:30
Rushabh Mehta
ad9ce8a3a3 fix(test): test_scheduler.py 2018-08-27 11:20:25 +05:30
Valmik
9f61c47bc1 Rename google maps doctype, add helper methods (#6001)
* rename google maps doctype, add helper methods

* fixed patch to use correct check
2018-08-27 11:13:44 +05:30
Faris Ansari
0ad9b4b910
Merge pull request #6010 from pratu16x7/show_alert
[alerts] add data-actions in show_alert()
2018-08-26 11:50:41 +05:30
Prateeksha Singh
7448ea1938 [alerts] add data-actions in show_alert() 2018-08-26 09:41:00 +05:30
Charles-Henri Decultot
dab491e55f Doctype links in foreign language (#5745)
* Doctype search in foreign language

* List comprehension slightly faster

* Remove obsolete comment

* Remove trailing whitespace

* Test case for address and contact query

* Refactor search and add tests

* Travis test debug

* Remove debug print

* Search limit removal for untranslated docs and tests refactor

* Remove old comments

* Test modification for Travis

* remove unused import

* Correct Role doctype
2018-08-24 15:23:20 +05:30
Charles-Henri Decultot
6bb36a8c0e Possibility to set custom calendar options (#5957)
* Possibility to set custom calendar options

* Codacy corrections

* Codacy correction

* Codacy corrections

* Set now indicator as default

* Weekend options as a button

* Codacy corrections

* Move preferences to localStorage

* Codacy corrections

* Update calendar.js
2018-08-24 15:22:40 +05:30
Zarrar
565c4b24d4 [Enhance] Data Import (#5962)
* fix checkbox toggling for mandatory option

* update / insert functionality added

* minor changes for naming_series and with_data_download

* changes related to insert record

* show name field as mandatory for update records

* codacy fix

* add parent field to file incase of importing only child table for new records

* test case fixes for Data Import

* added select option instead of checkbox for inert/update

* make action field mandatory
2018-08-24 15:18:20 +05:30
Neil Trini Lasrado
aef4e03b3d Use email title hook to fetch subject in Welcome Emails sent to new users (#5984)
* Fix email title hook

* Welcome email code cleanup
2018-08-24 15:15:48 +05:30
Faris Ansari
aeed1979f6 Portal list filters (#6007)
* Add list filters in portal

* Show label on input
2018-08-24 15:14:31 +05:30
Ameya Shenoy
c60e976fdc
Merge pull request #5992 from codingCoffee/print
[feature] print multiple docs from multiple doctypes
2018-08-24 08:26:15 +00:00
Ameya Shenoy
8776376c13
multi fixes
- [fix] removed _ as a variable since it is used in translations
- linting fixes
- added error logging for permission errors
2018-08-23 10:47:01 +00:00
Rushabh Mehta
b672cba9dc
enhance(control): eval expression in numeric fields (#5995)
* enhance(control): eval expression in numeric fields

* fix(control): handle bad expression
2018-08-23 16:01:05 +05:30
Himanshu Mishra
c5323fd536 [fix]: decorate get_sidebar_stats with frappe.read_only (#6003) 2018-08-23 15:54:34 +05:30
Faris Ansari
e2582c6306 fix(meta): Load assets only once in meta (#6004) 2018-08-23 15:40:19 +05:30
Prateeksha Singh
fc7c749727
Merge pull request #6005 from pratu16x7/attach-issue
[webform][attachments] allow saving filename, insert file path later
2018-08-23 10:34:44 +05:30
Prateeksha Singh
9f04cfc968 [webform][attachments] allow saving filename, insert file path later 2018-08-23 10:03:28 +05:30
Himanshu Mishra
78d061ced5 [feature] bench jupyter command (#5983)
* [feature]: bench jupyter

* fix: sites path in init

* fix: handle OSError instead of all
2018-08-22 11:03:08 +05:30
Benji
aee86f7bc0 python3 minor bugfix (#5988)
* Update receive.py

* Update receive.py

* Update receive.py
2018-08-22 11:01:03 +05:30
Prateeksha Singh
0285b8fb18 [migration-run] don't validate errored runs, postprocess on error too (#5998) 2018-08-22 11:00:36 +05:30
Benji
e166817c3c minor bugfix python 3 (#5997)
bugfix
2018-08-22 10:58:34 +05:30
Ameya Shenoy
65e96ff7a4 added docstring to download multi pdf
- also made the PDF name as a parameter which is passed by the user
2018-08-21 14:59:47 +05:30
rohitwaghchaure
a5d7182817 [Fix] Ascii code issue while downloading report (#5990) 2018-08-21 11:21:40 +05:30
Prateeksha Singh
67c9f94470 [refactor] Dialog to ES6 class, secondary/hide action (#5987)
* [refactor] Dialog to ES6 class, secondary/hide action

* [flex] add utility classes
2018-08-21 11:09:34 +05:30
Ameya Shenoy
4504bc1ebc
[feature] print multiple docs from multiple doctypes 2018-08-20 18:57:59 +00:00
Prateeksha Singh
5769af1d72
Merge pull request #5991 from pratu16x7/heatmap-fix
[fix][heatmap] pass data array in dashboard
2018-08-20 21:01:23 +05:30
Prateeksha Singh
02a1990844 [fix][heatmap] pass data array in dashboard 2018-08-20 20:40:28 +05:30
Nabin Hait
dc782ecfb2 Fieldtype changed for filters in prepared report 2018-08-20 16:59:18 +05:30
Zarrar
c5ffec6c69 fix argument pass to class (#5989) 2018-08-20 12:38:10 +05:30
Mohamed_Alsum
893b7e0980 remove duplicate error mgs on submit web_form (#5972)
* remove dublicate error mgs on submit web_form

* show side-bar in RTL lang
2018-08-20 10:39:54 +05:30
Faris Ansari
3be33b8854 fix(handler): check if data is None explicitly (#5982)
If the returned data is empty list or string it was a failed response.
But these are all valid responses, so now we check explicitly for None.
2018-08-20 10:39:24 +05:30
Neil Trini Lasrado
6177c1f4ad Changed email domain to example.com (#5985) 2018-08-20 10:36:58 +05:30
Himanshu Mishra
10361383c1 [fix]: use is_async in background jobs instead of async (#5986) 2018-08-20 10:36:26 +05:30
rohitwaghchaure
5ae255405a
Merge pull request #5981 from rohitwaghchaure/prepared_export_report_not_working
[Fix] Prepared report is not able to export
2018-08-17 13:22:32 +05:30
rohitwaghchaure
d13afe3e79
Merge pull request #5980 from rohitwaghchaure/download_report_not_working
[Fix] Download report not working
2018-08-17 13:22:17 +05:30