Suraj Shetty
ccc82e2c4c
Merge pull request #15538 from noahjacob/phone_field_control
...
feat: Phone Control Type
2022-04-28 10:27:52 +05:30
barredterra
8f53a039a6
refactor: Sync fixtures
2022-04-26 23:43:07 +02:00
Raffael Meyer
5d61482fb3
fix: Replace password with asterisks before logging ( #16743 )
2022-04-26 10:30:46 +00:00
Saurabh
e2d3d1d0be
feat: provision to handle payment authorization event in server script for custom documents ( #16712 )
...
Currently, there is no provision to handle payment authorization events via server script. So it's not possible if a user wants to link payments against custom documents.
Thus adding a provision in server script
- Setup checkout for custom doc
<img width="1299" alt="Screenshot 2022-03-11 at 2 44 19 PM" src="https://user-images.githubusercontent.com/3784093/157838010-989f6009-83d6-4329-92a6-bb2b6b38438b.png ">
- Handle payment callback
<img width="1051" alt="Screenshot 2022-04-22 at 11 28 19 AM" src="https://user-images.githubusercontent.com/3784093/164612613-d321edb3-c7f8-4063-b809-8ae5fe46ee66.png ">
## Documentation
https://frappeframework.com/docs/v13/user/en/desk/scripting/server-script/edit?wiki_page_patch=bbed0fcd9a
2022-04-26 10:02:30 +00:00
Shadrak Gurupnor
e0c89cdc73
fix: properly validate google sheets url ( #16683 )
...
* fix: properly validate google sheets url
* fix: check for spreadsheets in path
* fix(minor): error should throw if any of the cond fails
2022-04-26 15:17:19 +05:30
gavin
5f2f387a9c
Merge pull request #16130 from gavindsouza/bg-rename_doc
...
feat: Async Document Renaming
2022-04-26 12:57:31 +05:30
gavin
2da85fa8da
Merge pull request #16698 from gavindsouza/traceback-with-context
...
feat: Traceback with context
2022-04-22 13:04:07 +05:30
Gavin D'souza
ffc2b9427f
Merge branch 'develop' of github.com:frappe/frappe into bg-rename_doc
2022-04-22 12:14:21 +05:30
Gavin D'souza
ab1f893e41
feat: Add get_mapped_doc in safe_exec under frappe
2022-04-21 16:52:06 +05:30
Gavin D'souza
9823e51512
feat(safe_exec): Allow new_doc, get_last_doc, rename_doc, delte_doc
...
* rename_doc points to the unwhitelisted method which supports
ignore_permissions check
* Allowed other safe utils for better DX
2022-04-21 16:00:24 +05:30
Gavin D'souza
418dcdd2f4
fix!: Use event as a differentiator for frappe.utils.log
2022-04-21 13:33:40 +05:30
Gavin D'souza
4e533682ba
feat: get_traceback with context
2022-04-21 13:26:12 +05:30
Gavin D'souza
892e05fdc1
Merge branch 'develop' of github.com:frappe/frappe into bg-rename_doc
2022-04-20 16:04:27 +05:30
Suraj Shetty
8f94cb655f
Merge branch 'develop' into phone_field_control
2022-04-19 16:28:18 +05:30
Rushabh Mehta
6e6fe9521e
fix(linting): no single quotes :'|
2022-04-18 17:29:03 +05:30
Rushabh Mehta
57a55e4225
feat(minor): Add document reference to Error Log and doc.log_error
2022-04-18 17:29:03 +05:30
Deepesh Garg
2af2b80ba6
feat: Expose add index in exec_globals ( #16605 )
...
* feat: Expose add index in exec_globals
* fix: Linting issues
2022-04-14 18:59:39 +05:30
Suraj Shetty
a396afc7d4
fix: Validation error
2022-04-14 17:05:07 +05:30
Suraj Shetty
48cd1c2ad4
refactor: Fix naming and simpify code
...
- Ability to clear code, by hiting backspace
2022-04-14 14:14:00 +05:30
Gavin D'souza
66655eb8ed
Merge branch 'develop' of github.com:frappe/frappe into bg-rename_doc
2022-04-14 13:41:56 +05:30
Noah Jacob
1637e3af08
fix: linting
2022-04-12 21:06:59 +05:30
Noah Jacob
c2f2fc10e7
Merge branch develop into phone_field_control
2022-04-12 20:40:29 +05:30
Ankush Menat
3fb1eaf13b
perf: dont query for impossible child/ancestor ( #16577 )
...
Also avoid manual plucking
2022-04-12 13:31:57 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black ( #16453 )
...
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
Noah Jacob
2d3c1053a0
refactor(ui): updated validation messages with fieldname
2022-04-11 15:25:27 +05:30
Noah Jacob
bf92b363e2
Merge branch 'develop' into phone_field_control
2022-04-07 15:04:47 +05:30
Noah Jacob
7d49693a33
refactor: updated error messages for invalid phone numbers
2022-04-07 15:04:26 +05:30
gavin
62ca3b6edb
Merge pull request #16502 from gavindsouza/nestedset-fixes
...
fix(nestedset): Fix rgt value via update_add_node
2022-04-04 16:00:56 +05:30
Gavin D'souza
9e01a022b8
fix(nestedset): update_move_node
...
Revert to past-like structure and maintain only query conversions
2022-04-04 15:14:37 +05:30
Gavin D'souza
5ff587fc40
fix(nestedset): Fix rgt value via update_add_node
...
This bug was introduced via 3358fdf9a9
2022-04-04 12:36:18 +05:30
Sagar Vora
830a925b82
feat: allow enqueue at front of Redis Queue
2022-04-03 11:50:02 +05:30
Suraj Shetty
b8212501fb
Merge branch 'develop' into fix-flaky-test
2022-04-01 19:05:50 +05:30
Suraj Shetty
42643c3faa
fix: Follow FIFO while inserting global search record
...
the latest enqueued value should override the value of the existing document
2022-04-01 18:47:05 +05:30
Gavin D'souza
1728db8428
fix(file_manager): Correct and => or usage in refactored query
2022-04-01 17:50:33 +05:30
gavin
278827cb18
Merge pull request #16468 from gavindsouza/misc-fixes-8
...
fix(utils): Misc fixes
2022-04-01 17:28:40 +05:30
Gavin D'souza
eaa332e901
fix(goal): Make sure history field contains a JSON dump
2022-04-01 16:43:25 +05:30
Suraj Shetty
bb98e47e11
Merge pull request #16470 from netchampfaris/refactor-background-jobs-page
2022-04-01 12:06:13 +05:30
Faris Ansari
c7dbb61e55
fix: Refactor Background Jobs page
...
- Jobs/Worker view
- Filter by Queue Timeout and Job Status
- Toggle Auto Refresh
- Consistent theme
2022-03-31 16:35:54 +05:30
Gavin D'souza
69df3edba3
fix(query): Typo in OPERATOR_MAP
2022-03-31 16:24:03 +05:30
Gavin D'souza
b99cd7ab3b
refactor: frappe.utils.user
...
* Refactored raw SQLs and outdated APIs to use newer DB + QB APIs
* Simplified Python & Query logic
* Added type hints
* Styled with Black
2022-03-31 16:19:27 +05:30
Gavin D'souza
d0bd4730da
refactor(file_manager): Refactor raw SQLs to use qb & db_query APIs
2022-03-31 16:12:54 +05:30
Sagar Vora
e02e640497
perf: dont cache assets_json in Redis for developer_mode
2022-03-31 14:50:15 +05:30
Gavin D'souza
b4485665ad
refactor: frappe.utils.goal
...
* Deprecate filter_str in whitelisted get_monthly_goal_graph_data API;
use filter Dict instead
* Simplify logic
* Use qb notation instead of raw SQLs
* Raise 403 if user does not have access to document
Note: This includes a security fix
2022-03-31 14:48:47 +05:30
gavin
590a25ef78
Merge pull request #16465 from resilient-tech/refactor-get_assets_json
...
perf: cache parsed `assets_json` instead of string
2022-03-31 14:38:26 +05:30
Gavin D'souza
2d806b5d6d
fix: Ported subqry to branch for compatibility
...
Via https://github.com/frappe/frappe/pull/16107
2022-03-31 13:41:08 +05:30
Sagar Vora
987b47557d
perf: cache parsed assets_json instead of string
2022-03-31 12:28:23 +05:30
Gavin D'souza
459c179916
refactor(utils): Use qb & db APIs inplace of raw SQls
2022-03-30 17:59:22 +05:30
Gavin D'souza
3358fdf9a9
refactor(nestedset): Using qb or db APIs inplace of raw SQLs
2022-03-30 17:59:22 +05:30
gavin
e6e9370b59
Merge pull request #16450 from gavindsouza/drop-bots
...
fix!: Remove dead functionality
2022-03-30 17:58:13 +05:30
Sagar Vora
6993f51bf9
fix: ignore DoesNotExistError inside get_cached_value
2022-03-30 15:40:09 +05:30