Commit graph

16032 commits

Author SHA1 Message Date
Suraj Shetty
092807cb18 User permission patch (#5718)
* Add patch to replicate old user permissions

* Add comments and refactor code
- Rename patch file
- Add patch entry

* Fix codacy

* Remove unwanted code and code format
2018-06-26 10:16:20 +05:30
Suraj Shetty
8ef543fdcc Update doctype names in skip_for_doctype field on doctype rename (#5719) 2018-06-26 10:13:37 +05:30
Ameya Shenoy
a7de780715
Merge pull request #5722 from frappe/codingCoffee-patch-1
to make web forms visible to the guest user
2018-06-25 20:47:55 +05:30
Ameya Shenoy
29fcb3c9fc
to make web forms visible to the guest user 2018-06-25 20:47:29 +05:30
Prateeksha Singh
150de75faf
Merge pull request #5720 from pratu16x7/global-search-fixes
[global-search] trim to varchar length
2018-06-25 17:42:32 +05:30
Prateeksha Singh
fdde12b85a [global-search] trim to varchar length 2018-06-25 17:41:27 +05:30
Prateeksha Singh
d7131326b7
Merge pull request #5717 from pratu16x7/date-control-fix
[date-control] fix Date initiation
2018-06-25 15:58:56 +05:30
Prateeksha Singh
04974fddb6 [date-control] fix Date initiation 2018-06-25 15:57:55 +05:30
Rushabh Mehta
c0502b41d1 [minor] fix for moment defaults 2018-06-25 15:00:52 +05:30
Rushabh Mehta
4a80525414 [fix] for datepicker formatting 2018-06-25 14:27:15 +05:30
Prateeksha Singh
9d1439a8c3
Update kinder stale-bot config 2018-06-25 11:07:58 +05:30
Zarrar
2fadff05b5 clear toolbar & button before loading a new report (#5702)
* clear toolbar & button before loading a new report

* refresh field on change
2018-06-22 11:43:02 +05:30
Prateeksha Singh
a0f497edcf [Refactor] Webforms (#5537)
* [webform] login and date control working

* [webform] text editor and autocomplete imports

* [webform] add utils (before commons) to web js

* [website][init] messages in website

* [webform][wip] date field

* [webform][purge] form via controls and values

* [webform] remove old extraneous get_data code

* [webform][purge] remove upload handler and other listeners

* [webform][new] WebForm object

* [webform] save docs

* [webform] edit profile

* [controls] import awesomplete in multiselect

* [webform] handle existing doc or new form

* [es-module] independence of grid control by import structure

* [webform] grid on website! Stage I

* [webform][grid] include meta, model and perm on website >.<

* [webform] fix payment details

* [webform][fix] get table fields

* [webform][test] remove server field html test as not required

* [webform] check document permission

* Rename WebForm.js to webform.js
2018-06-22 11:35:52 +05:30
Ameya Shenoy
b40c04a571
Merge branch 'master' into develop 2018-06-22 05:08:21 +00:00
Ameya Shenoy
3679fb3464
Merge branch 'hotfix' 2018-06-22 05:08:14 +00:00
Ameya Shenoy
a8172434de bumped to version 10.1.37 2018-06-22 05:08:14 +00:00
Prateeksha Singh
4bf683606a
Merge pull request #5708 from pratu16x7/css-fixes
[style] max-width class to fulfill ellipsis usage requirement
2018-06-21 22:47:30 +05:30
Prateeksha Singh
f6472ba0b7 [style] max-width class to fulfill ellipsis usage requirement 2018-06-21 22:45:12 +05:30
Ameya Shenoy
da53a30b9e
minor fix 2018-06-21 18:38:28 +05:30
Ameya Shenoy
e6f3b5d8ac
Merge pull request #5705 from codingCoffee/mariadb_10_3
[fix] for mariadb version 10.3
2018-06-21 16:57:21 +05:30
Prateeksha Singh
4de1414c21
Merge pull request #5706 from pratu16x7/grid-fixes
[fix][grid] static area value update
2018-06-21 16:26:42 +05:30
Prateeksha Singh
2455745d91 [fix][grid] static area value update 2018-06-21 16:24:56 +05:30
Ameya Shenoy
6c02aaf16c [fix] for mariadb version 10.3 2018-06-21 15:01:42 +05:30
Saurabh
8957600e53
Merge pull request #5703 from rohitwaghchaure/error_in_dropbox_settings
[Fix] Dropbox backup not working
2018-06-21 11:42:50 +05:30
Rohit Waghchaure
b7db543316 [Fix] Dropbox backup not working 2018-06-21 11:35:25 +05:30
Frappe PR Bot
0363a64c21 [Translation] Updated Translations (#5699) 2018-06-21 09:10:10 +05:30
Charles-Henri Decultot
27b4b86b27 Stripe corrections (#5700) 2018-06-21 09:09:05 +05:30
Suraj Shetty
26c6e2928c Move allow self approval check to transisition for more control (#5691)
* Move allow self approval check to transisition for more control

* Disable email alert from workflow test

* Add allow_self_approval to each transition of test workflow

* Remove print statement

* Remove extra blank lines
2018-06-21 09:08:27 +05:30
Prateeksha Singh
bb675ae622 [probot-stale] add config (#5701) 2018-06-21 09:08:05 +05:30
Shreya Shah
29831c833f
Merge pull request #5697 from shreyashah115/fix-fetch
Fetch from for dates
2018-06-20 15:34:09 +05:30
Shreya
ae8b203808 Fetch from for dates 2018-06-20 14:24:30 +05:30
Suraj Shetty
3dd5520784 Select status field by default if available during bulk edit (#5696)
* Select status field by default if available during bulk edit

* Call done before modal hide
2018-06-20 14:16:30 +05:30
KanchanChauhan
3990e770d4 [Bug Fix]Last line missing in report export fix (#5690) 2018-06-20 12:44:33 +05:30
Ameya Shenoy
c1bcc4c29f
Merge pull request #5695 from codingCoffee/session
incorrect import fix
2018-06-20 12:42:16 +05:30
Nabin Hait
1128f63bad Fixed import issue 2018-06-20 12:40:51 +05:30
Ameya Shenoy
83a8b33aab incorrect import fix 2018-06-20 12:35:39 +05:30
Suraj Shetty
071196a8d5 Add self doctype to the linked doctype multicheck (#5694)
- This will add the ability to skip user permission for the
selected doctype list and the user permission
will only be applicable to the link fields
- Enable ignore_user_permission for
dynamic field `for_value` in User permission
2018-06-20 12:22:20 +05:30
Rushabh Mehta
90188a99c5
[feature] add website_redirects hook (#5692) 2018-06-20 12:10:07 +05:30
Shreya Shah
9862619ca5 Make fetch_from applicable for Float and Int (#5689)
* Make fetch_from applicable for float and int

* Update script_manager.js
2018-06-19 10:52:50 +05:30
Zarrar
4e468c7251 unique and index shouldn't be enabled together (#5688) 2018-06-18 16:37:21 +05:30
Suraj Shetty
a50aeb2b23 Added patch to delete duplicate user permissions (#5684)
* Add patch to delete duplicate user permission

* Update code to make it less exotic 😛
2018-06-15 15:21:34 +05:30
Nabin Hait
1977cef02a fixes in add_user_permissions 2018-06-15 13:18:55 +05:30
Shreya Shah
3135f38716 Check if hasattr track_views (#5685) 2018-06-15 11:07:20 +05:30
ci2014
7c9d03235d Consider default print language when sending mail (#5649)
* Consider default print language when sending mail

As users are allowed to define a default print language for a print format, this change is bringing support for that feature to the Communication Composer / Mail Form.

Related to https://github.com/frappe/frappe/pull/4777

* Update communication.js

* Update communication.js

* Update communication.js

Fix codacy
2018-06-15 09:10:50 +05:30
Shridhar Patil
3f731e904a [feature] Document View logs (#5627)
* Added track view checkbox in doctype

* Add comment to communication whenever user views a document

* typo fixed

* add view log after permission check

* doctype for view logs

* client side changes

* view log doctype updated

* add to view_log whenever a user views a document

* view log changed fields to set only once

* get and retun view logs if available

* add view logs to time line

* doctype view_log: update

* removed print statement

* View log: changed column data to link

* created joint index on reference_doctype and reserence_name

* codacy issues fixed

* changed for loop to es6

* removed frappe.db.commit

check if a doctype has track_views and then get view logs

* view logs made translatable

* set commit flag to true

* Add track views for Event doctype to run test

* test for view log

* test for view log
2018-06-15 09:08:59 +05:30
Sachin Mane
e47b03af69 Automatically create unique index on autoname field (#5674)
* Automatically create unique index on autoname field

* Update doctype.py

* Indentation fix.
2018-06-15 09:03:22 +05:30
Suraj Shetty
2489bf4c7a Check if user permission already exists (#5676)
* Check if user permission already exists

* Optimize code to check duplicate

* Replace frappe.db.exists with frappe.db.getall

since ['!=', name] filter was not working with frappe.db.exists
2018-06-14 10:53:58 +05:30
asbasawaraj
705bb43ee8 Pick subject from URL and assign it to subject field (#5679) 2018-06-14 10:53:34 +05:30
Rushabh Mehta
a5f8878b3a [fixes] for website 2018-06-14 09:23:25 +05:30
Prateeksha Singh
b4e97cfc9c [docs] remove docs folder 💥, update docs app to frappe.io (#5682)
* [docs] build docs from app specified in hooks

* [docs] remove docs folder 💥
2018-06-14 09:10:26 +05:30