Commit graph

46163 commits

Author SHA1 Message Date
barredterra
353a6c8d6e feat: doctype extractor 2023-10-15 20:25:44 +02:00
barredterra
1fd7e84f90 feat: javascript extractor 2023-10-15 20:25:14 +02:00
barredterra
6c4184afc2 feat: python extractor 2023-10-15 20:25:01 +02:00
barredterra
e212cad44e refactor: move navbar and help items to hooks 2023-10-15 19:23:44 +02:00
Nabin Hait
04c2944886 fix: Delete from cache after deleting a server script 2023-10-15 19:16:13 +05:30
Florian HENRY
e738428d93 Merge branch 'develop' of https://github.com/frappe/frappe into dev_fr_translation_cleanup 2023-10-15 10:39:52 +02:00
Ankush Menat
e9629bc04e
Merge pull request #22700 from akhilnarang/failed-email-notification
fix(UX): send out a system notification when email sending + retries fail
2023-10-14 13:15:39 +05:30
Ankush Menat
fb34d49703
Merge pull request #22724 from ankush/oauth_signups_exc
feat: let social login keys control signups
2023-10-14 13:07:10 +05:30
Ankush Menat
e1f2f4bb54 fix: Let social login key control signups
There are cases where certain social login keys

- Should not allow signups at all and only allow logins. E.g. social media login keys.
- Should allow signups even if global sign ups are disabled. e.g. internal SSO like setups.
2023-10-14 12:43:48 +05:30
Ankush Menat
65455ffa89 fix(DX): Add simple cron explanation next to cron fields
closes https://github.com/frappe/frappe/issues/21166
2023-10-14 11:27:18 +05:30
Bernd Oliver Sünderhauf
da6c42bb63 fix(UX): Add 'Due Date' to Quick Entry Form, default to Today. 2023-10-14 01:17:41 +02:00
Maharshi Patel
125a025235 fix(minor): remove count from url
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2023-10-13 18:22:46 +05:30
Akhil Narang
41d524c9a0
chore: add in a test for failed email notification
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-10-13 18:16:32 +05:30
Ankush Menat
c6f7c1f709
Merge pull request #22720 from cogk/fix-dont-mutate-df-in-frappe-format
fix: Don't mutate `df` object in frappe.format
2023-10-13 17:56:28 +05:30
Corentin Forler
7c9954e724
fix: Don't mutate df object in frappe.format
When customizing the **Communication** DocType by setting the property `in_list_view` for the field `_user_tags` to `1`, the *fieldtype* of the `_user_tags` docfield can be mutated to `"Tag"` by the `frappe.format` function called during the list view rendering. Then, when opening a Communication form view, the layout tries to render the `_user_tags` field which has the invalid fieldtype `"Tag"`, which crashes the rendering of the form.
2023-10-13 12:16:57 +02:00
Ankush Menat
083aa8a11c
Merge pull request #22659 from barredterra/like-in-list
feat(listview): move likes to the right
2023-10-13 15:40:34 +05:30
Ankush Menat
29544fb971
Merge pull request #22650 from barredterra/form-sidebar-stats
fix: like/comment icons and count
2023-10-13 15:39:30 +05:30
Ankush Menat
52d6bd67e4 fix: Always return document from doc.insert 2023-10-13 15:34:03 +05:30
Ankush Menat
e72b03adaf refactor: handle notification failure 2023-10-13 14:59:00 +05:30
Ankush Menat
497807cbbc
Merge pull request #22713 from akhilnarang/fix-docstring
fix(model/document): add missing parameters to docstring and fix return type annotation
2023-10-13 14:53:42 +05:30
Akhil Narang
1482ad68c9 fix(model/document): add missing parameters to docstring
[skip ci]

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-10-13 14:51:39 +05:30
Ankush Menat
ce0c2fc41b
Merge pull request #22716 from akhilnarang/hide-image-upload-if-no-permission
fix: hide `sidebar-image-actions` if the user doesn't have write permission
2023-10-13 14:47:28 +05:30
Maharshi Patel
1de07a8357 fix(minor): remove __temporary_name after relink
removed __temporary_name as after relink file there is no need to keep it
2023-10-13 10:35:49 +05:30
Maharshi Patel
d9a8b7ee78 chore: rename __temporary_name & check temp_doc_name
* renamed file_relink_temp_docname to __temporary_name
* added check for temp_doc_name in relink_files in case someone
    calls the function it directly
2023-10-13 10:20:03 +05:30
mergify[bot]
0934f05cb6
Merge pull request #22714 from akhilnarang/type-exporter-cleanup
fix: method name typo and return type annotation
2023-10-13 04:25:50 +00:00
Akhil Narang
8b3359520a
fix: hide sidebar-image-actions if the user doesn't have write permission
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-10-12 18:50:01 +05:30
Akhil Narang
85c3be814d
fix(exporter): some methods had the wrong return types
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-10-12 13:57:48 +05:30
Akhil Narang
92218e443b
chore(exporter): fix typo in method name
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-10-12 13:57:48 +05:30
Akhil Narang
65d6c20d9e
feat: send out a system notification when email sending + retries fail
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-10-12 13:34:50 +05:30
Maharshi Patel
e888e49cc2
fix: don't update unnecessary fields
removed attached_to_doctype and attached_to_field from set_value as those are not required.

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2023-10-12 08:42:42 +05:30
mergify[bot]
c9bba3c1b2
Merge pull request #22705 from akhilnarang/drop-deprecated-method
chore: drop usage of the deprecated `distutils.version.LooseVersion`
2023-10-11 15:04:34 +00:00
Akhil Narang
0be3b61aec
chore: drop usage of the deprecated distutils.version.LooseVersion
Use `packaging.version.Version` instead

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-10-11 20:13:59 +05:30
Ankush Menat
fc16af2ac9 fix: fallback to mysqldump if mariadb-dump isn't available 2023-10-11 19:30:36 +05:30
Ankush Menat
e47492b4db
Merge pull request #22703 from ankush/restore
fix: backward compatible get_site_path
2023-10-11 19:00:54 +05:30
Ankush Menat
404f3fbeec test: add better test for backup restoration
Before restore:
- Wipe DB, files.

After restore:
- Actually check if things got restored.
2023-10-11 18:39:12 +05:30
Ankush Menat
9983bf82e6 fix: backward compatible get_site_path
Before: `./sitename`
After:  `sitename`

This used to return `.` before, even though these are paths identical
they aren't REALLY. Tar command strips 2 subpaths so this ended up
breaking file restores.
2023-10-11 17:30:13 +05:30
Shariq Ansari
bad161ad89
Merge pull request #22655 from maharshivpatel/fix-workspace-filters 2023-10-11 15:57:57 +05:30
Shariq Ansari
7d4de5675c
chore: remove deprecated message 2023-10-11 15:35:53 +05:30
Shariq Ansari
0c4021a1a5
Merge pull request #22701 from shariquerik/permission-table-getting-empty 2023-10-11 15:33:12 +05:30
Shariq Ansari
f8c090ffa8 fix: load doctype model instead of using frappe.model.with_doctype 2023-10-11 15:01:26 +05:30
Suraj Shetty
9d21848c60
Merge pull request #22484 from frappe/SaiFi0102-patch-2 2023-10-11 13:50:40 +05:30
Suraj Shetty
dfed8f353e
Merge pull request #22485 from frappe/SaiFi0102-patch-3 2023-10-11 13:49:20 +05:30
Saif Ur Rehman
24206de0d0
fix(Email Inline Embed): Unescape embed path (#22291) 2023-10-11 13:47:27 +05:30
Maharshi Patel
d80e0a10df fix(minor): don't update docname
instead of updating docname use docname_title.

https://github.com/frappe/frappe/pull/22693#discussion_r1354297835
2023-10-11 13:06:01 +05:30
Sambasiva Suda
7165f94148
fix: validate_email_addr should return email id as it is if it is valid (#22613) 2023-10-11 12:37:48 +05:30
Ankush Menat
05d7646ab2 chore: disable beta releases 2023-10-11 12:21:29 +05:30
Ankush Menat
2118fcd257
Merge pull request #22696 from ankush/addr_perm
fix: Apply address all perm only if owner
2023-10-11 11:52:00 +05:30
Ankush Menat
bac5f76247 fix: Apply address all perm only if owner 2023-10-11 11:48:51 +05:30
Ankush Menat
6a78e064fe chore: fix translations 2023-10-11 11:38:11 +05:30
Akhil Narang
7474397ee4
feat: enable tabSelect for awesomplete (#22687)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-10-10 23:59:25 +05:30