Commit graph

42389 commits

Author SHA1 Message Date
Shariq Ansari
ba6a969f3c
Merge pull request #19787 from shariquerik/ui-test-fix-1 2023-01-26 17:23:25 +05:30
Shariq Ansari
177ca618eb test: fix flaky control_link UI test 2023-01-26 17:05:24 +05:30
Shariq Ansari
114db456f8 test: fix flaky navigation UI test 2023-01-26 16:44:47 +05:30
Shariq Ansari
28e9b44dbc test: fix flaky folder_navigation UI test 2023-01-26 16:19:23 +05:30
Shariq Ansari
ea306db2a2 test: fix flaky view_routing UI test 2023-01-26 16:11:49 +05:30
barredterra
4bcb12617c fix: assertAlmostEqual with precision 2023-01-26 11:39:41 +01:00
Shariq Ansari
ed86da416f test: fixed failing web_form UI test 2023-01-26 15:50:12 +05:30
Shariq Ansari
586613d94c test: fixed failing control_color UI test 2023-01-26 15:36:18 +05:30
V Shankar
9bccedc761
feat: change quick entry dialog size based on column breaks (#19715)
Co-authored-by: Shariq Ansari <30859809+shariquerik@users.noreply.github.com>
2023-01-26 15:30:47 +05:30
Ritwik Puri
fb9ae0823e
Merge pull request #19716 from resilient-tech/simpler-doc-cache
chore!: remove special local cache for documents (and related `cache_locally` parameter)
2023-01-25 22:21:12 +05:30
Ankush Menat
ffc5447548
fix: set-config without -g must specify site (#19782) 2023-01-25 20:33:55 +05:30
Shariq Ansari
1492f84041
Merge pull request #19732 from riandrys/fix_set_df_property_child_table 2023-01-25 19:55:19 +05:30
Shariq Ansari
f0ad75708e
Merge branch 'develop' into fix_set_df_property_child_table 2023-01-25 19:36:16 +05:30
Shariq Ansari
6a5ee6018a
Merge pull request #19781 from shariquerik/bump-datatable-1 2023-01-25 19:04:26 +05:30
Shariq Ansari
2a1c5f1fa9 build(deps): Bump frappe-datatable to 1.17.1 2023-01-25 18:45:10 +05:30
Shariq Ansari
664fa3ac15
Merge pull request #19778 from shariquerik/bump-datatable 2023-01-25 17:49:02 +05:30
Shariq Ansari
599f5a0ce5 build(deps): Bump frappe-datatable to 1.17.0 2023-01-25 17:25:26 +05:30
Sabu Siyad
cf92c5ac84
fix(translation): empty string passed gets passed (#19776)
It is reserved by GNU gettext: gettext("") returns the header entry with
meta information, not the empty string
2023-01-25 16:05:36 +05:30
Gavin D'souza
31049b705e fix(db_query): With as_list, pass NULL to maintain order 2023-01-25 14:01:02 +05:30
Gavin D'souza
895f1d3f3a fix(db_query): Check if params in sql fn call are all permitted access 2023-01-25 12:45:36 +05:30
Gavin D'souza
4accf0ed9d fix: Consider virtual fields in fields with values conditionally 2023-01-25 12:38:15 +05:30
Gavin D'souza
6b0e4695a8 Merge branch 'develop' into permlevel-apis 2023-01-25 12:08:47 +05:30
Gavin D'souza
4c1b2ae67c refactor: get_valid_dict
* Util get_permitted_fields checks for valid columns instead of planned logic
* Remove virtual field from dict if not in permitted fields
* Remove reliance on sentinel object _DOC_DELETED_ATTR
2023-01-25 12:04:34 +05:30
Sagar Vora
0fd3c5a0f0
perf(DX): use cached Meta to create FormMeta (#19736) 2023-01-25 11:56:11 +05:30
Ankush Menat
c24cd12a27
Merge pull request #19755 from gavindsouza/maxsplit-as-needed
refactor: Add a maxsplit limit to string splits
2023-01-25 11:10:48 +05:30
Ankush Menat
ca0cb9335c
Merge pull request #19756 from barredterra/password-strength-for-long-passwords
fix: Password strength check for long passwords
2023-01-25 10:51:00 +05:30
Gavin D'souza
e75bfd0e73 refactor: Split objects just once
Co-authored-by: Ritwik Puri <ritwikpuri5678@gmail.com>
2023-01-25 10:45:30 +05:30
Shariq Ansari
643ed3fb66
Merge branch 'develop' into fix_set_df_property_child_table 2023-01-24 21:15:47 +05:30
Raffael Meyer
ad77a74df9
Merge branch 'develop' into password-strength-for-long-passwords 2023-01-24 15:06:05 +01:00
barredterra
a33e34519a feat: add test case for long passwords 2023-01-24 15:04:47 +01:00
Gavin D'souza
d357af1533 refactor: Add a maxsplit limit to string splits 2023-01-24 19:22:51 +05:30
Shariq Ansari
72ae670b88
Merge pull request #19754 from shariquerik/ldap-test-fix 2023-01-24 18:47:58 +05:30
barredterra
92e684d4fc fix: use new source for zxcvbn 2023-01-24 14:07:34 +01:00
Shariq Ansari
b4ff826711 fix: default_user_type should be Website User if not set 2023-01-24 18:30:51 +05:30
barredterra
2148dc745e refactor: assign instead of update 2023-01-24 13:51:47 +01:00
barredterra
e61d87827b refactor: imports
- remove unused imports
- import only the required patterns, not the entire file
2023-01-24 13:50:17 +01:00
barredterra
d5a72b16ce fix: trim long passwords before check
In order for the check to pass in a reasonable amount of time.
2023-01-24 13:48:07 +01:00
barredterra
8aa8ea0ee2 feat: bump zxcvbn version
zxcvbn 4.4.28 no longer crashes on long, random passwords.
2023-01-24 13:46:57 +01:00
Shariq Ansari
0173d2abfb test: fixed failing LDAP test 2023-01-24 17:56:10 +05:30
Ankush Menat
46ffda6045
Merge pull request #19744 from ankush/incorrect_link
fix: incorrect link when std field has problem
2023-01-24 16:16:18 +05:30
Gavin D'souza
e41f005daa fix(db_query): Remove naive field in sql func check 2023-01-24 13:59:48 +05:30
Gavin D'souza
2ae6b7f016 fix: Handle * fields after field iterations 2023-01-24 13:52:33 +05:30
Gavin D'souza
54ff630c77 fix(db_query): Permit optional_fields without checking in permitted
fields
2023-01-24 13:27:07 +05:30
Gavin D'souza
5c5bd2b104 refactor: Meta.get_permitted_fieldnames
* Remove older API that returned list[df]
* Rename fields in usage scope & Meta internals
2023-01-24 13:09:43 +05:30
Shariq Ansari
7d2d276d3c
Merge pull request #19743 from shariquerik/grid-in-3-column-ux
Fixes https://github.com/frappe/frappe/issues/19275
2023-01-24 13:07:09 +05:30
Gavin D'souza
550261b3dc fix(db_query): Set & use existing constants 2023-01-24 13:01:05 +05:30
Ankush Menat
be7fd7a58d fix: point to custom field link instead 2023-01-24 12:41:05 +05:30
Ankush Menat
479e0c1439 fix: clear cache on every update in notifications
This feels like duplicate but ensures that it gets cleared in every
case. E.g. Some class might have overridden validate or ignore_validate
might be set in which case cache doesn't get cleared.
2023-01-24 12:41:05 +05:30
Shariq Ansari
aabe357ebf
Merge branch 'develop' into grid-in-3-column-ux 2023-01-24 12:36:29 +05:30
Shariq Ansari
1d97023b34 fix(UX): Grid in 3 column layout is broken 2023-01-24 12:34:31 +05:30