Ankush Menat
a09e29cfa0
Merge pull request #21173 from resilient-tech/safe-filters
...
fix!: improved filter validation in `Engine.get_query`
2023-06-02 11:45:06 +05:30
Maharshi Patel
6fd9c44391
fix: ui tour popover when outside viewport ( #21164 )
...
* fix: ui tour always popover inside viewport
There are times when popover will go outside viewport this updates the style on highlight to make sure it doesn't.
* fix: don't run form ui tours on small screens.
* Revert "fix: don't run form ui tours on small screens."
This reverts commit b11aaf8d182fa07369f17b914e8a0cb3e7327a18.
[skip ci]
2023-06-02 10:53:05 +05:30
Dhia' Alhaq Shalabi
efff6ebba7
fix: doctype name localization ( #21197 )
...
[skip ci]
2023-06-01 12:09:25 +05:30
Ankush Menat
83e3a20901
feat: allow clearing web page views
2023-05-31 17:50:10 +05:30
Ankush Menat
3bbe4498a0
feat: allow re-running patches in developer mode
...
Simpler debugging.
2023-05-31 16:39:29 +05:30
Ankush Menat
4104e7d733
feat: show db table utilization on doctype ( #21193 )
...
* feat: show db table utilization on doctype
* fix: nicer error message with docs
2023-05-31 16:28:44 +05:30
Ankush Menat
950277a88d
chore: increase logging level
2023-05-31 16:04:56 +05:30
Ankush Menat
48539dc0a3
feat: log all DDL queries ( #21107 )
2023-05-31 16:00:59 +05:30
Suraj Shetty
8750d39141
Merge pull request #21183 from surajshetty3416/print-letterhead-warning
2023-05-31 15:46:38 +05:30
Suraj Shetty
eda8be74ca
fix: Hide font-size from print format
...
- Since it is only used in new print format builder
and it can be set via new print format builder's interface
2023-05-31 15:44:05 +05:30
Suraj Shetty
1fd84f6b09
fix: Remove field_id from URL
...
- scroll to field is not yet supported
2023-05-31 15:42:50 +05:30
Sagar Vora
1b2d1dd567
chore: move statement to set validate_filters property
2023-05-31 14:20:26 +05:30
Sagar Vora
81d5160ac1
test: ensure stricter filters when validate_filters is passed
2023-05-31 14:16:52 +05:30
Sagar Vora
9f5a994f70
fix!: improved filter validation in Engine.get_query
2023-05-31 14:16:52 +05:30
Ankush Menat
fd232805fe
chore: capture frappe version in heartbeat
2023-05-31 12:44:41 +05:30
Ankush Menat
4a81d9f8e3
feat!: populate fields from kwargs in frappe.new_doc ( #21190 )
...
This makes it similar to `get_doc` API BUT still signifies intent that
it's a "NEW" document.
Minor Breaking Change: positional arguments are now forcefully keyword
arguments. Only seems to be used internally from what I can tell.
https://sourcegraph.com/search?q=context:global+repo:%5Egithub%5C.com/frappe/.*+/frappe.new_doc%5C%28.*%3F%2C.*%3F%5C%29/+lang:python+&patternType=regexp&case=yes&sm=0&groupBy=repo
2023-05-31 12:29:31 +05:30
Saurabh
aabaab0fd2
feat: used cached version of document in mapper ( #21186 )
...
* fix: in get_mapped_doc return cached version if available
* feat: specify explicitly cached version of doc in doc_mapper
[skip ci]
2023-05-31 11:15:33 +05:30
Suraj Shetty
6321e2ac0b
Merge pull request #21187 from surajshetty3416/duplicate-signature-in-communication-box
2023-05-31 10:12:12 +05:30
Suraj Shetty
abb479f89f
fix: Check if signature already exist
2023-05-31 09:55:39 +05:30
Suraj Shetty
55455cef4e
fix: Update label
...
"in PDF" is not required as it is already under PDF settings.
2023-05-31 09:03:07 +05:30
Suraj Shetty
a13592a66a
fix: Warn users if "Repeat Header and Footer" is disabled
...
- and if the user still sets Letterhead
Also, add label to the print options
2023-05-31 08:55:59 +05:30
Ankush Menat
ca85524f91
fix: skip form tours on mobile ( #21180 )
...
[skip ci]
2023-05-30 16:33:08 +05:30
Ankush Menat
77db84a2be
fix: reset tour
...
[skip ci]
2023-05-30 15:39:14 +05:30
Ankush Menat
1e0daa6edc
fix: correct abbreviation for lakh (L)
...
[skip ci]
2023-05-30 15:21:55 +05:30
Shariq Ansari
ea45d27de0
Merge pull request #21172 from shariquerik/css-for-web-form-mobile
2023-05-30 15:02:22 +05:30
Shariq Ansari
498a51fbb5
Merge branch 'develop' into css-for-web-form-mobile
2023-05-30 13:27:04 +05:30
Maharshi Patel
7727f294e5
fix: form tour set parent tab active. ( #21163 )
...
form tours were broken due to tabs i have added support for it by setting tab active on next and previous.
2023-05-30 13:17:10 +05:30
Shariq Ansari
fb26b39dc2
Merge pull request #21167 from shariquerik/private-custom-html-block
2023-05-30 13:05:57 +05:30
Shariq Ansari
abcc7b1870
style: make text smaller and reduced some spacings for webform for mobile view
2023-05-30 13:05:20 +05:30
Maharshi Patel
e6e59cbe07
fix(ux): re routes based on setup_complete ( #21118 )
...
* fix(ux): re routes based on setup_complete
If Setup Wizard is not complete re_route any route to setup_wizard and if it complete re_route setup-wizard to app
* fix: only re_route if not on setup-wizard.
* fix: remove hardcoded slide number
---------
Co-authored-by: Sagar Sharma <sagarsharma.s312@gmail.com>
2023-05-30 12:16:27 +05:30
Shariq Ansari
96e45d9d2a
Merge branch 'develop' into private-custom-html-block
2023-05-30 12:09:41 +05:30
Shariq Ansari
474186c264
fix: only show public and user's private blocks in dropdown
2023-05-30 12:08:43 +05:30
Shariq Ansari
07781eefe9
fix: create private custom html block
2023-05-30 12:07:43 +05:30
Corentin Flr
66eb377492
fix(role): Set desk properties (e.g. search_bar) to 1 for roles with desk access ( #21162 )
...
Replace get_doc with new_doc, because default values are not retrieved when using get_doc. Some roles with desk_access had no access to most features of the desk, such as the search bar or the form's sidebar.
2023-05-30 10:37:26 +05:30
Ankush Menat
50a8c4423e
fix: remove hacky/broken like/unlike toggle code
2023-05-29 21:52:16 +05:30
mergify[bot]
95fc535f1a
Merge pull request #21142 from gavindsouza/server_script-cron
...
feat: Allow setting cron as Server Script frequency
2023-05-29 13:26:11 +00:00
Gavin D'souza
cdef2ccdd6
fix: Clear scheduled events if cron_format is changed
2023-05-29 18:34:39 +05:30
Ankush Menat
9f53b56bdb
test: save server script
2023-05-29 18:30:17 +05:30
Gavin D'souza
a1b16792f9
fix: Pass cron format only if frequency is Cron
2023-05-29 18:16:23 +05:30
Ankush Menat
888209f6d2
test: cron/scheduled scripts
2023-05-29 17:45:26 +05:30
Ankush Menat
15aec06d13
Merge pull request #21156 from ankush/desc_self
...
fix!: inclusive descendants for tree link fields
2023-05-29 17:26:01 +05:30
Shariq Ansari
659e4718e8
Merge pull request #21157 from shariquerik/custom-html-block-global-css
2023-05-29 17:08:08 +05:30
Ankush Menat
a1c40d9158
feat: support tree-link-fields filtering in QB
2023-05-29 17:00:37 +05:30
Ankush Menat
842195ce29
fix: simplify plucking
...
no idea why itertools are used for this dumb operation
2023-05-29 17:00:37 +05:30
Ankush Menat
f858c41137
fix!: consider list view filters inclusive by default
...
It rarely makes sense to match treeview directly against internal nodes.
- In case of leaf node: behaviour is same, though SLIGHTLY slower
- In case of internal nodes: all child nodes are added in results.
Co-Authored-By: Faris Ansari <netchamp.faris@gmail.com>
2023-05-29 17:00:30 +05:30
Ankush Menat
3df13ca392
feat: new operator - descendants of (inclusive)
...
Co-Authored-By: Faris Ansari <netchamp.faris@gmail.com>
2023-05-29 16:59:57 +05:30
Shariq Ansari
d00e41d725
refactor: rearranged code
2023-05-29 16:21:00 +05:30
Shariq Ansari
7776f85cb0
Merge branch 'develop' into custom-html-block-global-css
2023-05-29 16:02:24 +05:30
Shariq Ansari
2a97e3b19f
fix: removed html message since we no longer have no ristrictions
2023-05-29 15:59:41 +05:30
Shariq Ansari
62565b5191
fix: made a util to create shadow element
2023-05-29 15:57:58 +05:30