Commit graph

26918 commits

Author SHA1 Message Date
Suraj Shetty
a7b3afdff5 fix: Add enable in_test flag for ui_tests 2020-08-11 23:28:34 +05:30
Suraj Shetty
b7a5bcadfd
chore: Update redis to avoid unexpected exception (#11235) 2020-08-11 22:41:45 +05:30
mergify[bot]
dcddf20369
Merge pull request #11221 from scmmishra/feat-events-api
feat: add controller methods to add participants to event
2020-08-11 05:04:43 +00:00
Suraj Shetty
59da141e1a
Merge branch 'develop' into feat-events-api 2020-08-11 10:22:00 +05:30
Prssanna Desai
2317ffb217
Merge pull request #11083 from netchampfaris/dib-fixes-2020-07-22 2020-08-10 16:02:01 +05:30
Prssanna Desai
3b618c411c
Merge pull request #11224 from frappe/barredterra-patch-2 2020-08-10 15:46:08 +05:30
mergify[bot]
1135a92629
Merge pull request #11226 from saurabh6790/fix-frappe-logger
fix: cache all apps in local and switch to enable/disable frappe logger
2020-08-10 08:17:09 +00:00
Suraj Shetty
7e37591c79
Merge branch 'develop' into fix-frappe-logger 2020-08-10 13:25:27 +05:30
mergify[bot]
e7aa84f26c
Merge pull request #11190 from scmmishra/feat-allow-wide
feat: allow wide attribute in msgprint and throw
2020-08-10 07:04:22 +00:00
Saurabh
435b522dbf fix: cache all apps in local and switch to enable/disable frappe logger 2020-08-10 12:31:08 +05:30
Shivam Mishra
be4d3ae434 feat: allow wide attribute in msgprint and throw 2020-08-10 12:16:16 +05:30
Suraj Shetty
48634e131a
Merge branch 'develop' into dib-fixes-2020-07-22 2020-08-10 12:14:58 +05:30
Suraj Shetty
3f50d8d715
Merge branch 'develop' into barredterra-patch-2 2020-08-10 12:04:36 +05:30
Rushabh Mehta
10b3641cee
Merge pull request #11172 from surajshetty3416/fix-test
chore: Fix and cleanup travis builds
2020-08-10 11:35:51 +05:30
Raffael Meyer
be8566e1ac
feat: add currency Congolese franc 2020-08-09 14:23:25 +02:00
Suraj Shetty
0919dbeccd test: Manually delete jobs instead of deleting job type
- This removes unwanted traceback of "Scheduled Job Type" not found
while running tests
2020-08-09 00:06:25 +05:30
Suraj Shetty
7d8695c7d3 fix: Provide fallback array for test_mails to avoid unexpected trace in travis 2020-08-08 23:46:45 +05:30
Suraj Shetty
52d6925c49 test: Fallback to site URL if host_name is none 2020-08-08 19:47:54 +05:30
Suraj Shetty
4a33101631 fix: Check if frappe.local has "request" to avoid attribute error 2020-08-08 19:47:39 +05:30
Suraj Shetty
130cce8840
Merge branch 'develop' into fix-test 2020-08-08 17:04:37 +05:30
Shridhar Patil
80733d4124
fix: raise incorrect site path error instead of sys.exit (#11206) 2020-08-07 21:52:04 +05:30
Shivam Mishra
19118ba45f feat: add API to add participants to event 2020-08-07 20:55:07 +05:30
Prssanna Desai
ce9c23ba60
fix: return handler in _handler (#11215) 2020-08-07 14:48:59 +05:30
Mangesh-Khairnar
3575275917
Merge pull request #11216 from frappe/revert-11201-fix-files-backup
Revert "fix: add a distinct identifier for public files backup"
2020-08-07 13:17:26 +05:30
gavin
5b3fa971b5 Revert "fix: add a distinct identifier for public files backup (#11201)"
This reverts commit ef4a28e10c.
2020-08-07 13:14:29 +05:30
Rushabh Mehta
cbbb778053
Merge pull request #11200 from rmehta/web-form-document-permissions
feat(minor): Allow web form to follow document permissions
2020-08-07 10:58:15 +05:30
Deepesh Garg
b92ce9a245
feat: Allow sending emails via Server Script (#11162)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-07 09:25:37 +05:30
Suraj Shetty
4f37f9a452
test: Try committing after Role creation 2020-08-06 09:33:39 +05:30
Mangesh-Khairnar
ef4a28e10c
fix: add a distinct identifier for public files backup (#11201) 2020-08-06 09:32:04 +05:30
Shivam Mishra
34c3d57767
feat: validate json when saving desk page (#11095)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-06 00:01:11 +05:30
Suraj Shetty
21a0cafe62
fix: Validate and sanitise whitelisted search methods using decorator (#11197)
* fix: Validate and sanitize whitelisted search methods using decorator

Co-authored-by: Prssanna Desai <prssud@gmail.com>
Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>

* refactor: Replace decorator name

Co-authored-by: Prssanna Desai <prssud@gmail.com>
Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>

Co-authored-by: Prssanna Desai <prssud@gmail.com>
Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>
2020-08-05 19:42:19 +05:30
Suraj Shetty
cd1ab8e23c
feat: Add validate_and_sanitize_search_inputs decorator (#11194)
* feat: Add validate_and_sanitize_search_inputs decorator

Co-authored-by: Nabin Hait <nabinhait@gmail.com>
Co-authored-by: Prssanna Desai <prssud@gmail.com>
Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>

* refactor: Move validate_and_sanitize_search_inputs to init

* refactor: Move validate_and_sanitize_search_inputs to search.py

* test: validate_and_sanitize_search_inputs decorator

* chore: Add wrapt module

* refactor: Use @wrapt to define validate_and_sanitize_search_inputs decorator

* test: Add a case to make sure frappe.call works as well

Co-authored-by: Nabin Hait <nabinhait@gmail.com>
Co-authored-by: Prssanna Desai <prssud@gmail.com>
Co-authored-by: Shivam Mishra <scmmishra@users.noreply.github.com>
2020-08-05 19:41:41 +05:30
Rushabh Mehta
4225b55041 feat(minor): Allow web form to follow document permissions 2020-08-05 15:33:30 +05:30
Prssanna Desai
805e415502
fix: Dashboard fixes (#11186)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-05 14:57:48 +05:30
gavin
5d4feb5dbb
feat: Convenience APIs for tags (#11088)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-04 17:45:14 +05:30
Rucha Mahabal
cc22350b04
fix: remove Video DocType from Core module (#11151)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-04 17:42:47 +05:30
Aditya Hase
0748312e39
fix(werkzeug): Avoid duplicate lines from werkzeug in bench start logs (#11171)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-04 17:41:34 +05:30
Faris Ansari
f5c61d04da
fix: Patch to generate theme files in public folder (#11148)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-04 17:40:18 +05:30
Glen Whitney
34fdf63b90
fix(Link Card): refresh incomplete_dependencies as needed (#11169)
When _prepare_item in Workspace.get_cards notices that the dependencies
  for an item have been completed, it should clear the incomplete_dependencies
  field in case a value has been saved in that attribute.

  Fixes #11168.
2020-08-04 17:40:06 +05:30
gavin
dd157ba822
fix: dont show git errors in terminal (#11064)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-04 17:39:35 +05:30
Prssanna Desai
d5622f5410
fix: Permission query in Dashboard Chart (#10981)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-04 17:38:48 +05:30
Shivam Mishra
9b267027b5
feat: don't load user translation in make_dict_from_messages (#11120) 2020-08-04 13:25:49 +05:30
Suraj Shetty
c4aa9f5f2c
Merge branch 'develop' into fix-test 2020-08-04 12:57:03 +05:30
Prssanna Desai
645331799a
fix: whitelist functions called through search widget (#11153) 2020-08-04 12:17:33 +05:30
Suraj Shetty
86a9ceb29b
test: Clear role cache 2020-08-04 11:16:18 +05:30
Suraj Shetty
3c3b1037ea
fix: Import frappe.permissions 2020-08-04 10:44:45 +05:30
Suraj Shetty
744a9413fd fix: Use common function to get_roles 2020-08-04 10:36:16 +05:30
Suraj Shetty
6e9169a0aa test: Remove debug statements & clear-cache 2020-08-04 10:12:41 +05:30
Suraj Shetty
89dfd82134 chore: Add debug statement
- Uncomment innocent test
2020-08-04 00:36:42 +05:30
Suraj Shetty
88b68c6cf5 chore: Remove unwanted changes 2020-08-04 00:11:48 +05:30