Commit graph

45563 commits

Author SHA1 Message Date
Ankush Menat
0fff2755d6
test: separate out risky tests (#25179) 2024-02-29 16:10:08 +00:00
Ankush Menat
f7bff58935
fix: use name for RQ worker instead of PID (#25175)
Also avoid complex naming schemes.
2024-02-29 14:38:48 +00:00
Ankush Menat
39c511a9b3
Merge pull request #25170 from ankush/delete_conflict
fix: race condition on deletes
2024-02-29 18:17:24 +05:30
Ankush Menat
b4fe7223c1 fix(postgres): treat LockNotAvailable as timeout
It's a lock timeout in a way.
2024-02-29 18:04:05 +05:30
Ankush Menat
0c9cc2e6ce test: NOWAIT functionality 2024-02-29 17:46:30 +05:30
Ankush Menat
5116768a54 test: utils for simulating two connections 2024-02-29 17:31:46 +05:30
Ankush Menat
fc5ce044e6 fix: prevent deletion if document is locked 2024-02-29 16:34:39 +05:30
Ankush Menat
e810fb7eca feat: nowait to skip blocking locks 2024-02-29 16:30:24 +05:30
Ankush Menat
8f00aae160 fix: lock the doc before deleting
Locking only prevents this kinda race conditions:
- User A deletes doc
- User B modifies doc so that it's not deletable anymore.
2024-02-29 16:22:02 +05:30
Ankush Menat
f2b07d6c13
Merge pull request #25162 from frappe/pot_develop_2024-02-29
chore: update POT file
2024-02-29 10:29:17 +05:30
frappe-pr-bot
0129770957 chore: update POT file 2024-02-29 04:42:35 +00:00
Ankush Menat
1061793b8d
Merge pull request #24467 from barredterra/potfile-ci
ci: auto-generate potfile
2024-02-29 10:10:26 +05:30
Ankush Menat
9c93d86294 ci: use bot's PAT 2024-02-29 10:00:39 +05:30
Ankush Menat
69dad391e4 Merge branch 'develop' into potfile-ci 2024-02-29 09:58:02 +05:30
Ankush Menat
af69dab130
fix(UX): reload form after renaming field (#25159) 2024-02-29 04:26:52 +00:00
Frappe PR Bot
a15ddf8d1b
chore: sync translations from crowdin (#25158)
* New translations main.pot (German)

* New translations main.pot (Persian)
2024-02-29 04:26:35 +00:00
Ankush Menat
b044ffedf1 fix: Only validate fetch from when user modifies it 2024-02-28 20:42:49 +05:30
Raffael Meyer
5d8383e724
Merge pull request #25155 from barredterra/lang-fa 2024-02-28 15:57:51 +01:00
barredterra
142d2d4249 feat: add persian language 2024-02-28 15:39:13 +01:00
barredterra
e61424bdeb chore: remove locale dir from .gitignore 2024-02-28 15:38:45 +01:00
Raffael Meyer
ac05c7db6e
fix: escape single quotes (#25104)
Resolves https://github.com/frappe/frappe/pull/25078#discussion_r1504084483
2024-02-28 19:52:57 +05:30
Akhil Narang
88c5da4d62
Merge pull request #25149 from akhilnarang/minor-fixes
fix(setup_module_map): fix caching
2024-02-28 17:53:32 +05:30
Akhil Narang
e6be7d6648
fix(setup_module_map): fix caching
Use a separate cache key depending on the arguments passed

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-28 17:41:18 +05:30
Ankush Menat
bab3ee33f0
fix: always show is_standard on web form (#25144)
This causes more confusion when it's hidden.
2024-02-28 12:07:28 +00:00
Ankush Menat
99a6883e5c
fix(UX): correctly disable standard web form form (#25143) 2024-02-28 17:33:46 +05:30
Ankush Menat
84642a6f4e
Merge pull request #25132 from Shankarv19bcr/file_update
fix: update file attached_to details in submitted doc
2024-02-28 17:07:15 +05:30
Ankush Menat
9bbb5ea409
Merge pull request #25137 from ankush/print_failure_ux
fix: escalate print failures
2024-02-28 17:01:02 +05:30
Ankush Menat
dbc2e092f1 fix: escalate print failures
Print failures shouldn't generate PDF with failure message but instead escalate the error.

This prevent all the PDFs that just contain "PermissionError" from being sent.
2024-02-28 16:42:03 +05:30
Ankush Menat
3237abdc7b
Merge pull request #25135 from ankush/guess_default_language
fix(UX): set default print language from print format
2024-02-28 15:31:34 +05:30
Ankush Menat
c00a34d023 fix(UX): set default print language from print format 2024-02-28 15:25:58 +05:30
Ankush Menat
c293a35dda
Merge pull request #25131 from ankush/specify_lang_communication
fix: specify print_language in communication attachments
2024-02-28 14:32:28 +05:30
Shankarv19bcr
5ef208d1f1 fix: update file attached_to details in submitted doc 2024-02-28 14:21:42 +05:30
Ankush Menat
a4ddb7491d fix: specify print_language in communication attachments 2024-02-28 14:19:28 +05:30
Ankush Menat
91d10ffb31
Merge pull request #25128 from ankush/lang_print_format
fix: Use current language in attachment prints
2024-02-28 14:03:06 +05:30
Ankush Menat
870c92f7ea fix: Use current language in attachment prints 2024-02-28 13:50:48 +05:30
Akhil Narang
16489b342b
Merge pull request #25125 from akhilnarang/bg-job-docstring
refactor: update docstring and typehints for functions
2024-02-28 11:30:43 +05:30
Rucha Mahabal
82179f908d
Merge pull request #24114 from tanmoysrt/integrate_frappe_notification
feat: add frappe push notification client
2024-02-28 11:27:57 +05:30
Rucha Mahabal
8305affddd chore: Add Push Notification Settings to Integrations workspace 2024-02-28 11:07:22 +05:30
Rucha Mahabal
3450c1ae1e chore: fix type hints 2024-02-28 01:10:43 +05:30
Rucha Mahabal
2e79f6acb4 feat: add descriptions to Push Notification Settings
- mark it as beta

- validate relay server url key
2024-02-28 01:09:46 +05:30
Ankush Menat
3ac30956c9
fix: Check perm for library file before cloning (#25117) 2024-02-27 18:15:20 +00:00
Ankush Menat
fe9fbf82d0
fix: validate fetch from (#25116) 2024-02-27 23:38:49 +05:30
Ankush Menat
c60edc9a77
refactor: file perm check (#25106) 2024-02-27 16:45:29 +00:00
Ankush Menat
bb7c3c289c
feat: support array request type (#25109)
There can be external APIs like webhooks that only send array request,
in which case Frappe has no mechanism to accept such requests.

After this PR such request data can be accessed using `data` list
argument on function.

I've considered directly storing list in form_dict but it's not
feasible:
1. It breaks semantics, "form_dict" can't be a list. That ship has long
   sailed.
2. Way too much code expects form_dict to be a dict.
2024-02-27 16:41:33 +00:00
Niraj Gautam
911846368f
feat: Add doc rename hook in server script (#25085)
* feat: Add doc rename hook in server script

* feat: Add test case for doc event in server script
2024-02-27 22:07:22 +05:30
Ankush Menat
01d29283f1
fix: restrict method for security critical endpoints (#25105) 2024-02-27 16:10:33 +00:00
David Arnold
c66d35fe5b
fix(notification): ensure outgoing mail is set on comms (#24814) 2024-02-27 16:47:46 +05:30
Ankush Menat
f086b7febd
fix: Avoid add "null" to cc in communication in timeline (#25092)
* Avoid add "null" to cc

* chore: extend fix to BCC

---------

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2024-02-27 14:45:37 +05:30
Ankush Menat
2f6ec63447
chore: extend fix to BCC 2024-02-27 14:44:21 +05:30
Md Hussain Nagaria
9aa6eb39da
chore: replace fb link with frappe school link in about dialog (#25093) 2024-02-27 08:52:54 +00:00