Commit graph

167 commits

Author SHA1 Message Date
tundebabzy
6fbe20caaa Except and raise statement python 3 compatible style (#3216)
* changes exception and raise statements to python 3 style

* changes except statement to python 3 style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* adds six.reraise to fix python 3 style raise statements with traceback

* fixes indentation
2017-05-11 10:51:59 +05:30
Rushabh Mehta
1b13539b4f [fix] covert to unicode before sanitizing #8347 2017-05-10 14:24:55 +05:30
Nabin Hait
d836d1367f Fixed merge conflict 2017-03-15 11:26:55 +05:30
mbauskar
5cd886b8cf [hook] added before_change hook to trigger email_alerts before db_set 2017-03-10 09:51:01 +05:30
paurosello
583100ac51 Set Only Once for Datetime (#2621)
The same problem that Date was facing appears with Datetime, otherwise it fails as it is comparing different types.
2017-01-24 10:58:33 +05:30
Rushabh Mehta
e223c5b740 Merge branch 'develop' into custom-perms-1 2017-01-13 19:04:49 +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
636c662048 [patch] added patch for migration 2017-01-12 15:48:49 +05:30
Nabin Hait
8c7bd2f76f Merge pull request #2341 from rmehta/fetch-server-side
[fix] fetch values server side for link fields
2016-12-05 16:41:07 +05:30
Nabin Hait
47ecf4c513 Merge branch 'master' into develop 2016-11-30 12:13:56 +05:30
shreyas
684bb80f8e [Minor] convert date type to string when field is set as 'set_only_once' or constant 2016-11-28 17:15:41 +05:30
Rushabh Mehta
349e803bd1 [fix] fetch values server side for link fields 2016-11-18 14:49:27 +05:30
Rushabh Mehta
9ef8f18fcf [fix] for tests, and db_set now accepts dict 2016-11-17 09:45:44 +05:30
Rushabh Mehta
8f6d3d9a11 [fix] in_standard_filter should be in docfield, not doctype 2016-10-26 19:33:04 +05:30
Rushabh Mehta
f124354250 [fix] default value for check 2016-10-26 19:33:04 +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
Nabin Hait
b2908df91b get the default value of check field if none, for insert / update 2016-10-19 14:20:50 +05:30
Rushabh Mehta
7b69625cbe [fix] tests 2016-10-19 09:21:55 +05:30
Rushabh Mehta
8a87064541 [fix] get_valid_dict use default if none 2016-10-18 17:46:09 +05:30
Rushabh Mehta
1026a48a97 [refactor] code for integration service scheduled events 2016-10-13 14:59:23 +05:30
Rushabh Mehta
bae97cfed4 Email Alert on any controller method (#2157)
* [docs] typo

* [email alert] now on any standard controller method

* [minor] install customizations with intall;

* [test] [fix] and truncate subject in email;

* [fix] error log seen issue
2016-10-08 11:11:36 +05:30
Rushabh Mehta
9353303be6 Exporting Customizations docs and other minor fixes (#2136)
* [fix] email alert in sync

* [fixes] web form mandatory and docs for exporting customizations
2016-10-03 12:18:57 +05:30
Rushabh Mehta
83eee92692 [fix] route too long 2016-07-28 11:13:13 +05:30
Rushabh Mehta
7c870d6ba4 [fix] dont update modified timestamp if called from post save methods 2016-07-20 12:55:19 +05:30
Rushabh Mehta
22c3f7966d [enhance] run actions in background doc.queue_action("submit") 2016-07-19 17:12:37 +05:30
Nabin Hait
bbb3391300 removed print statement 2016-07-04 11:40:32 +05:30
Anand Doshi
aaabd81329 [enhancement] auto-link URLs in Text Editor using bleach.linkify 2016-06-29 12:49:20 +05:30
Anand Doshi
26f379e08b [fix] doc.get_password 2016-06-15 17:39:03 +05:30
Anand Doshi
526e9ea2d7 [security] encrypt passwords that need to be retrievable, except User password which should be hashed 2016-06-13 17:18:59 +05:30
Anand Doshi
8d8b58d5ee [fix] doc.flags.ignore_validate_constants 2016-06-09 16:08:51 +05:30
Rushabh Mehta
fe8a3b2b0c [minor] added doc.update_modified() 2016-04-13 18:21:28 +05:30
Rushabh Mehta
acff9c6288 [fix] run_method 2016-04-11 12:43:20 +05:30
Rushabh Mehta
addda4a30c [fix] open filtered list when clicked on notifications circle 2016-04-11 12:42:12 +05:30
Anand Doshi
7132935fef Merge branch 'master' into develop 2016-04-07 17:39:51 +05:30
Rushabh Mehta
78607beeee [cleanup] print format css and default print view 2016-04-06 15:29:55 +05:30
Anand Doshi
398235f5c7 [fix] don't update name during db_update 2016-04-05 18:26:47 +05:30
Rushabh Mehta
61218f7a80 Merge pull request #1661 from rmehta/link-count
[enhancement] count number of times a link is used and show most popular links on thei top
2016-03-30 13:16:04 +05:30
Rushabh Mehta
78262a2a04 [cleanup] grid, multiple items 2016-03-21 13:04:16 +05:30
Rushabh Mehta
8b20788579 [enhancement] count number of times a link is used and show most popular links on thei top 2016-03-11 14:32:25 +05:30
Anand Doshi
e2ee48150e [fix] check field values should be either 0 or 1 2016-03-10 15:30:16 +05:30
Anand Doshi
e9bd127c9a [fix] like for a single doctype
Fixes #1607
2016-03-09 13:24:26 +05:30
Rushabh Mehta
db128e6c3a [minor] add translated get_formatted 2016-03-03 10:44:30 +05:30
Rushabh Mehta
4113888e60 [fix] [tests] 2016-03-02 16:24:23 +05:30
Anand Doshi
acc5c7ef09 [fix] apply xss filter only if docstatus is draft or submit with update after submit enabled for the field 2016-03-01 17:14:31 +05:30
Anand Doshi
353e8a9d1f [fix] Sanitize form_dict and doc values to prevent XSS 2016-02-23 12:11:28 +05:30
Nabin Hait
d429af9a7e [fix] No need of sanitization while creating new_doc 2016-01-19 16:51:20 +05:30
Rushabh Mehta
831e71db32 [fix] print hide in print format builder should take preceedence 2016-01-12 12:02:32 +05:30
Anand Doshi
106e281608 [fix] don't allow import for child tables 2016-01-06 12:22:03 +05:30
Anand Doshi
3241a0969f [feature] Ability to like a document, comment or communication, see notifications about it and view it on activity feed 2016-01-01 12:50:14 +05:30
Anand Doshi
bbc66be54c [fix] update modified in db_set 2015-12-10 17:16:57 +05:30