Ankush Menat
fb0cd4c3a9
Merge pull request #16649 from ankush/testing_overhaul
...
test: better test utils
2022-04-26 12:02:06 +05:30
Ankush Menat
da32a2615e
Merge pull request #16741 from phot0n/remove-null-tabseries-pg
...
fix: remove default null definition for name column in tabSeries for postgres
2022-04-26 10:08:27 +05:30
phot0n
4418c03237
fix: remove default null definition for name column in tabSeries
...
for postgres
2022-04-25 20:13:10 +05:30
Ankush Menat
20fc654648
Merge pull request #16615 from ankush/fix/ux_kb_driven_animations
...
fix: avoid animating "Jump to field" and escape to blur
2022-04-25 18:41:26 +05:30
Suraj Shetty
dc60d7d7f0
Merge branch 'develop' into fix/ux_kb_driven_animations
2022-04-25 18:17:38 +05:30
Nikhil Kothari
2767ea9d25
feat: more color options for form alerts ( #16729 )
...
* Added green and orange color options for message
2022-04-25 15:07:04 +05:30
Suraj Shetty
eb92acfbf3
Merge pull request #16718 from shariquerik/flaky-ui-test-3
2022-04-25 11:15:29 +05:30
Faris Ansari
5f68716303
Merge pull request #16730 from netchampfaris/client-insert
...
fix(client): better validation for child insert
2022-04-25 08:40:40 +05:30
Faris Ansari
95816f0340
fix: better validation for child insert
2022-04-24 10:38:58 +05:30
Ankush Menat
1fa60ba3e7
test: explicitly start transaction
...
Postgres for some reason is going in autocommit mode if transaction
isn't started with BEGIN... will fix it separately.
2022-04-23 13:08:02 +05:30
Sagar Vora
fa7ea4bce8
perf(BaseDocument): ~50% faster as_dict ( #16549 )
...
Co-authored-by: Pruthvi Patel <pruthvipatel145@gmail.com>
2022-04-23 09:01:20 +05:30
Ankush Menat
7274014b3b
test: improve FrappeTestCase
...
- discard state after test finishes
- add assertDocumentEqual for quick document check
- add commit "watcher" to find commits during tests
- add tests for tests. who watches the watchmen?
2022-04-22 19:47:54 +05:30
Ankush Menat
8a0a5c54da
test!: dont autocommit on test object recreation
2022-04-22 19:47:54 +05:30
Ankush Menat
f748ae85fc
fix: set docstatus to 0 if None present
2022-04-22 19:47:54 +05:30
Ankush Menat
6ac1d95584
test: fix badly written tests
2022-04-22 19:47:54 +05:30
Shariq Ansari
042f98bcc5
fix: Workspace Miscellaneous fixes ( #16578 )
2022-04-22 18:00:44 +05:30
Shariq Ansari
d558f16e71
test: fixed flaky test for form, timeline_email
2022-04-22 17:43:20 +05:30
Shariq Ansari
ff6f4c93c3
Merge branch 'develop' into flaky-ui-test-3
2022-04-22 17:14:33 +05:30
Shariq Ansari
09a0077079
style: fixed indentation
2022-04-22 17:13:46 +05:30
Shariq Ansari
8c953b4f74
test: removing drag drop test(flaky)
2022-04-22 16:59:42 +05:30
Shariq Ansari
7f83178556
test: flaky markdown editor fix
2022-04-22 16:59:22 +05:30
Shariq Ansari
5c3b448c09
refactor: used list comprehension
2022-04-22 16:59:03 +05:30
Shariq Ansari
e1db9bf653
fix: Grid layout broken for some grids ( #16702 )
2022-04-22 15:37:00 +05:30
Ankush Menat
64b0da3620
Merge pull request #16711 from ChillarAnand/v3.11
...
chore: Bump wrapt to 1.14.0
2022-04-22 14:37:48 +05:30
Ankush Menat
a245cb51a2
feat: configurable auto email reports limit ( #16684 )
...
- The previous limit was 3 per user which is way too less, no known reason to
restrict this other than hogging of system with too many reports. Bumped
default limit to 20.
- site config is not easily discoverable or editable, added config in
system settings.
- Moved auto email report background job form daily queue to `daily_long` queue.
closes https://github.com/frappe/frappe/issues/16681
<img width="1049" alt="Screenshot 2022-04-20 at 12 33 06 PM" src="https://user-images.githubusercontent.com/9079960/164170117-5612d9df-da91-441b-a4f6-acd89d30336e.png ">
`no-docs` (error message is sufficient to explain to user what to do without referring docs)
ref:
ISS-21-22-10245
ISS-21-22-07742
ISS-20-21-10850
ISS-20-21-10112
and many more times. This is such a stupid validation 🤦
2022-04-22 08:02:31 +00:00
gavin
2da85fa8da
Merge pull request #16698 from gavindsouza/traceback-with-context
...
feat: Traceback with context
2022-04-22 13:04:07 +05:30
chillaranand
7d9695a0d2
chore: Bump wrapt to 1.14.0
2022-04-22 11:10:54 +05:30
Ankush Menat
eb6ec33df2
Merge pull request #16704 from gavindsouza/safe_exec-updates
...
feat(safe_exec): Allow more APIs
2022-04-21 18:21:34 +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
03d02ae11c
Merge branch 'develop' into safe_exec-updates
2022-04-21 16:11:54 +05:30
Gavin D'souza
b6683db57e
refactor: frappe.rename_doc definition
...
Use explicit naming of args, kwargs and don't accept cmd and
ignore_permissions explicitly
2022-04-21 16:09:08 +05:30
KrutikaBhatt
e565deb88e
fix(UI): Duration Filter overlapping issue ( #16599 )
2022-04-21 16:00:56 +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
Ankush Menat
dfef7192da
refactor: remove duplicate code from db.get_descendants ( #16699 )
2022-04-21 15:27:59 +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
c691537e61
chore: Add typing for ease of development
2022-04-21 13:32:13 +05:30
Gavin D'souza
5ecc9fe4ff
refactor(log_error): de-clutter & log context with traceback
2022-04-21 13:27:01 +05:30
Gavin D'souza
4e533682ba
feat: get_traceback with context
2022-04-21 13:26:12 +05:30
Suraj Shetty
c1e477ce5d
Merge pull request #16697 from surajshetty3416/fix-field-group
...
fix: Do not use `set_value` for default to avoid change event
2022-04-21 12:52:56 +05:30
Suraj Shetty
b5c3ff16ee
fix: Do not use set_value for default to avoid change event
2022-04-21 12:43:46 +05:30
mergify[bot]
cc8d096bd1
Merge pull request #16582 from alyf-de/fix-open-count-no-data
...
fix: handle no data in set_open_count
2022-04-21 06:15:56 +00:00
Suraj Shetty
acbbeb1de5
Merge pull request #16693 from surajshetty3416/fix-rtl-table
2022-04-21 10:16:06 +05:30
Suraj Shetty
56bb11dc17
fix: Do not change direction of text if already in RTL mode
2022-04-21 08:49:48 +05:30
gavin
5e707d3527
Merge pull request #16689 from gavindsouza/bulk_insert-fix
...
fix(bulk_insert): Cast values as list before subscripting
2022-04-20 16:59:28 +05:30
Gavin D'souza
35c606707e
fix(bulk_insert): Cast values as list before subscripting
2022-04-20 16:43:19 +05:30
Rushabh Mehta
78bddb4127
Merge pull request #16653 from rmehta/error-log-ref
...
feat(minor): Add document reference to Error Log and doc.log_error
2022-04-20 15:54:59 +05:30
Ankush Menat
296a6bd02f
test: show locals on test failure ( #16687 )
...
- Show locals always in CI
- Show locals locally when running in verbose mode
2022-04-20 15:37:54 +05:30
Rushabh Mehta
248c3555e3
fix(minor): add error_log for failed webhooks and web pages
2022-04-20 15:16:44 +05:30
Ankush Menat
dcee40046a
perf!: simpler frappe.get_system_setting ( #16685 )
...
Not sure why this needs to be "cached" in locals again when db object
already caches it in value_cache.
2022-04-20 15:16:04 +05:30
Faris Ansari
620a944104
Merge pull request #16622 from netchampfaris/less-flaky-date-test
...
test: less flaky date control test
2022-04-20 14:10:55 +05:30