Rucha Mahabal
aed3586095
fix: enable syntax highlighting for PythonExpression code fields ( #24669 )
2024-02-01 17:10:21 +05:30
Ankush Menat
4553de8ba0
fix: never show virtual fields in list view ( #24666 )
...
* fix: never render virtual fields in list view
* fix: Hide "in list view" for virtual columns
2024-02-01 16:22:07 +05:30
Raffael Meyer
855202d20a
Merge pull request #24614 from barredterra/data-import-transatability
2024-02-01 11:37:41 +01:00
Raffael Meyer
833d108614
fix: remove _lt from frappe.model.std_fields ( #24662 )
2024-02-01 16:05:25 +05:30
14987
cd24f32239
fix: Resolve lint issue
2024-02-01 16:01:36 +05:30
Raffael Meyer
2de2b59f00
Merge pull request #24663 from barredterra/translate-data-export
2024-02-01 11:10:30 +01:00
barredterra
281c1de639
fix(Data Export): translate multiselect
2024-02-01 10:51:57 +01:00
Raffael Meyer
b5f3873177
Merge pull request #24465 from barredterra/extract-js-microtemplate
2024-02-01 10:32:42 +01:00
14987
ff6d64baa7
fix: Remove debug statement
2024-02-01 14:33:15 +05:30
14987
7ccba9f9ca
fix(patch): Update patch file
2024-02-01 14:27:38 +05:30
14987
f47d8859d0
feat(patch): Update existing role profiles
2024-02-01 13:19:42 +05:30
Akhil Narang
ea65d86d72
Merge pull request #24625 from blaggacao/fix/shell-escaping
...
fix: shell escaping on external commands
2024-02-01 12:45:21 +05:30
jll-02
12a246d697
chore(deps): removes unused cariocffi dependency
2024-02-01 08:15:00 +01:00
14987
4549975dd2
fix: Update the user method to store multiple role according to role profile
2024-02-01 12:38:02 +05:30
14987
c06d205ea2
feat: Add child doctype for storing role profile of users
2024-02-01 12:36:34 +05:30
Ankush Menat
bedf5ba65e
Merge pull request #24656 from ankush/retry_contact
...
fix: outgoing email account handlng
2024-02-01 11:52:07 +05:30
Ankush Menat
dae99eb53c
fix: Fetch SMTP server inside context
...
Currently if smtp server creation fails email queue is endlessly
retried. It should just fail if there's no outgoing account.
2024-02-01 11:10:57 +05:30
Ankush Menat
78665d98b2
fix: Bail if no SMTP acccount can be found
...
Currently we give this weird error instead of just saying no outgoing email account is configured.
```
AttributeError: 'NoneType' object has no attribute 'get_smtp_server'
File "frappe/email/queue.py", line 154, in flush
email_queue.send()
File "frappe/email/doctype/email_queue/email_queue.py", line 160, in send
with SendMailContext(self, smtp_server_instance) as ctx:
File "frappe/email/doctype/email_queue/email_queue.py", line 236, in __init__
self.smtp_server: SMTPServer = smtp_server_instance or self.email_account_doc.get_smtp_server()
```
2024-02-01 11:10:57 +05:30
Ankush Menat
3634d11b6a
fix: Retry contact update if it fails due to conflict ( #24654 )
2024-02-01 05:14:00 +00:00
David Arnold
cad020e08c
Merge remote-tracking branch 'origin/develop' into chore/cleanup-esbuild-path-resolution
2024-01-31 21:05:43 +01:00
Ankush Menat
0458544c3b
refactor!: Simplify asset caching ( #24649 )
...
Few changes:
1. Client side asset caching is needlessly complicated with 2 layer of
caching. Browser already caches things, moving them again to
localstorage is uselss and counterproductive because of limits on localstorage.
2. `frappe.assets` was an object that should've been a class.
3. lots of old js syntax.
2024-01-31 21:23:04 +05:30
Ankush Menat
a69aad85b2
Merge pull request #24647 from ankush/dynamic_link_deletion
...
fix: Enqueue deletion of dynamic link after comitting
2024-01-31 18:57:06 +05:30
Ankush Menat
5e904d407e
Merge pull request #24474 from blaggacao/fix/run-tests-module-def
...
fix: run-tests --module-def as not all doctypes are guaranteed to have test_*.py files
2024-01-31 18:52:45 +05:30
Ankush Menat
fc942856e0
Merge pull request #24641 from barredterra/fix-permcheck
...
fix: use the correct doc method
2024-01-31 18:49:41 +05:30
Ankush Menat
dd6f20b301
Merge pull request #24644 from ankush/clear_sitemap_cache
...
fix: clear sitemap cache periodically
2024-01-31 18:41:54 +05:30
Ankush Menat
ca293c9aa3
fix: Enqueue deletion of dynamic link after comitting
2024-01-31 18:37:12 +05:30
Ankush Menat
3962b6ff24
Merge pull request #24642 from ankush/fix_no_notify
...
fix: don't notify links if not public
2024-01-31 18:26:14 +05:30
Ankush Menat
ffb9c9cf6a
fix: clear sitemap cache periodically
2024-01-31 18:25:28 +05:30
Ankush Menat
d2d669b720
fix: don't notify links if not public
2024-01-31 18:09:20 +05:30
barredterra
09919a3e58
fix: use the correct doc method
2024-01-31 12:55:41 +01:00
marination
4d2c4f020b
fix: Check if header/footer html exists before trying to extract
...
- issue: AttributeError: 'NoneType' object has no attribute 'extract', when no letterhead html was present
2024-01-31 12:54:20 +01:00
Shariq Ansari
96f35300a2
Merge pull request #24637 from shariquerik/typeerror
...
fix: typeerror in onboarding_tours.js
2024-01-31 16:31:18 +05:30
Shariq Ansari
e7b3a785c1
fix: typeerror in onboarding_tours.js
2024-01-31 16:12:56 +05:30
Ankush Menat
a25e68a763
fix: make rate_limiter respect multitenancy ( #24634 )
...
* fix: make rate_limiter respect multitenancy
* fix: lower rate limit window for password reset
* refactor: Use redis_wrapper
2024-01-31 09:16:27 +00:00
David Arnold
161bb42508
fix: deprioritize precedence of db_name argument to connect
2024-01-31 09:59:14 +01:00
Rucha Mahabal
53d6d156ec
chore: cleanup doctype descriptions ( #24609 )
2024-01-31 12:00:39 +05:30
Ankush Menat
b2abc2c9d1
Merge pull request #24624 from ankush/fix_private_file
...
perf: optional faster perm check for files
2024-01-31 11:06:09 +05:30
Ankush Menat
dedadbb0d9
perf: optional faster perm check for files
2024-01-31 10:49:18 +05:30
David Arnold
3abbde3284
fix: shell escaping on external commands
2024-01-30 18:23:05 +01:00
Ankush Menat
40438b400f
ci: set node env as production in tests
2024-01-30 21:55:51 +05:30
mergify[bot]
5031e9dbf4
Merge branch 'develop' into chore/cleanup-frappe-connect-2
2024-01-30 15:48:28 +00:00
Ankush Menat
e1f20f7305
Merge pull request #24621 from ankush/short_circuit_guest
...
fix: short circuit private files perm check
2024-01-30 20:48:42 +05:30
Ankush Menat
d838da51dd
fix: short circuit private files perm check
...
For guest users there's no point in checking permissions, they'll eventually fail... instead just fail immediately.
2024-01-30 20:31:28 +05:30
Akhil Narang
075ce78fbe
Merge pull request #24616 from akhilnarang/fix-import-log-success-rows
...
fix: show successful rows in the import log
2024-01-30 17:26:36 +05:30
Akhil Narang
db1e692d4f
chore: reword checkbox
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-01-30 17:08:14 +05:30
Akhil Narang
ba64285c66
Revert "fix(data_import): respect the value of show_failed_logs checkbox"
...
This reverts commit 34f03a2de2 .
2024-01-30 17:07:47 +05:30
barredterra
b59ba82ae6
fix(Data Import): translatability
2024-01-30 11:48:19 +01:00
David Arnold
b57dbe2dbc
Merge remote-tracking branch 'origin/develop' into chore/cleanup-frappe-connect-2
2024-01-30 10:47:19 +01:00
Shariq Ansari
dc7637991e
Merge pull request #24582 from shariquerik/if_owner_and_report_perm_fix
...
fix: do not allow to set if_owner & report perm together
2024-01-30 14:28:37 +05:30
Ankush Menat
d53a0ae45e
Revert "fix(module_map): only include apps installed on the site - not everything on the bench" ( #24605 )
2024-01-30 07:39:09 +00:00