Commit graph

32733 commits

Author SHA1 Message Date
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
Suraj Shetty
b9d4974360 fix: Clear hash once the scrolling is done 2023-05-29 17:34:38 +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
Suraj Shetty
e86df2ecf6 feat: Scroll to field via URL 2023-05-29 17:19:11 +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
Shariq Ansari
08f0f8beb1 fix: make desk css available i shadow html 2023-05-29 15:56:38 +05:30
Ankush Menat
e5878b0c68 test: reduce duplication 2023-05-29 15:35:38 +05:30
Ankush Menat
30c8661063 fix(UX): add title for documentation link 2023-05-29 15:05:46 +05:30
Ankush Menat
b262d13f36
Merge pull request #21151 from ankush/form_tour_fixes
fix: misc form tour fixes
2023-05-29 13:36:21 +05:30
Ankush Menat
2ed2f8747d chore: track doc creation
This is alternate to "Activation" level that already exists, activation
level will be phased out over time.
2023-05-29 13:34:24 +05:30
Ankush Menat
a2a84215b1 fix: render first incomplete step instead of first step 2023-05-29 12:53:25 +05:30
Ankush Menat
b1433af3d7 fix: Dont show save step if frm is not dirty
Use case: single doctype review, in all other cases document will be
dirty and hence save step will be added
2023-05-29 12:43:55 +05:30
Raphael Krupinski
b66d8e8a40
chore(DX): add type hints to Document, BaseDocument and get_doc (#21060)
* chore: add type hints to Document, BaseDocument and get_doc

* refactor: better type hints

get_doc has multiple ways to use it, added all known ways

---------

Co-authored-by: Raphael Krupinski <10319569-mattesilver@users.noreply.gitlab.com>
Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-05-29 11:01:51 +05:30
Sagar Vora
38c1207abe
fix: multiple fixes to Engine.get_query (#21135) 2023-05-29 10:48:26 +05:30
Sagar Vora
d6d5d488a2 fix: ensure correct return value for get_values_from_single 2023-05-29 10:06:49 +05:30
Gavin D'souza
b00aac92ba
feat: Allow setting cron as Server Script frequency 2023-05-27 16:52:09 +05:30
Shariq Ansari
064caaa3b4 fix: only show menu button if it contains action items 2023-05-27 14:59:58 +05:30
Shariq Ansari
7fdc6007ba refactor: show/hide form builder action buttons 2023-05-27 14:47:52 +05:30
Shariq Ansari
1e47282d86 fix: only init doctype for doctype form 2023-05-27 14:46:43 +05:30
Shariq Ansari
b308e000ef fix: init doctype to trigger doctype_list events on redirecting 2023-05-27 13:00:31 +05:30
Shariq Ansari
0c90d1748f fix: go back instead of opening select_doctype dialog 2023-05-26 21:12:05 +05:30
Shariq Ansari
25a243aa6d fix: replaced add doctype button with select group button 2023-05-26 21:03:52 +05:30
Shariq Ansari
3baaea0086 fix: css fix for select group button 2023-05-26 21:02:37 +05:30
Shariq Ansari
7bdd8ee003 Merge branch 'develop' of https://github.com/frappe/frappe into select-btn-in-doctype-list 2023-05-26 20:59:27 +05:30
Shariq Ansari
ac3fb73702 fix: replaced add doctype button with select group button 2023-05-26 20:42:43 +05:30
Shariq Ansari
2af7e74eb9 fix: made select_doctype accessable gobally which can be used to change doctype from form-builder 2023-05-26 20:41:28 +05:30
Shariq Ansari
17f25aab93 fix: form-builder/new-doctype opens separate dialog
refactored form_builder.js
2023-05-26 20:38:43 +05:30
Shariq Ansari
f91bc1bde6 fix: added left icon option 2023-05-26 19:56:12 +05:30
Shariq Ansari
78f3d9c241 fix: make dropdown item label bold 2023-05-26 19:55:06 +05:30
Shariq Ansari
61dcd09172 fix: add selected on current dropdown-item 2023-05-26 18:35:08 +05:30
Shariq Ansari
e09a72dc95
Merge branch 'develop' into clear-n-add-email-template 2023-05-26 18:24:21 +05:30
Shariq Ansari
f06449adaf fix: make option toggle button smaller 2023-05-26 18:20:05 +05:30
Shariq Ansari
b1b05ee05b fix: clear & add email template using select group btn 2023-05-26 18:18:52 +05:30
Shariq Ansari
28f6ef74a6 feat: select group button 2023-05-26 18:12:30 +05:30
Doridel Cahanap Mendez
4b2730642d refactor: attach txt file in received emails
(cherry picked from commit a36d6a9df02e9a86e3701fcc6861c9c64bd40c66)
2023-05-26 11:45:03 +00:00
Ritwik Puri
d099c9376b
feat(minor): db.get_column_type for postgres (#21125) 2023-05-26 16:03:28 +05:30
Ankush Menat
43714825b0
fix: sync importable doctype before documents (#21131) 2023-05-26 15:58:26 +05:30
Suraj Shetty
898de69054
Merge pull request #21127 from s-aga-r/qb-func-round-and-truncate 2023-05-26 15:26:47 +05:30