Commit graph

45770 commits

Author SHA1 Message Date
Akhil Narang
6c767bf8d6
fix: skip setting of contact full name if its too long (#25509)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-18 18:38:23 +05:30
David Arnold
56f1ed4fb3
fix: exclude irrelevant regional links (#25510) 2024-03-18 18:37:43 +05:30
Ankush Menat
0a81407304
perf: Skip running webhook code if method is not supported (#25498)
E.g. `doc.run_method("autoname")` triggers webhook code for no reason.
2024-03-18 10:01:15 +05:30
Frappe PR Bot
59ba66f004
chore: update POT file (#25493) 2024-03-17 20:56:39 +05:30
Ankush Menat
adf24b24d4
perf: use base32 space for random names instead of base16 (#25497) 2024-03-17 20:02:57 +05:30
Ankush Menat
ef6af0b0ad
test: setup signal and faulthandler to debug stuck tests (#25494) 2024-03-17 11:01:34 +00:00
Ankush Menat
2f87a09ad9
test: fix timeout decorator (#25489) 2024-03-16 15:59:04 +05:30
Raffael Meyer
21cc09e28a
fix: allow page length 2500 (#25062) 2024-03-15 21:10:53 +05:30
Frappe PR Bot
f66ea45e29
fix: sync translations from crowdin (#25286)
* fix: Spanish translations

* fix: Spanish translations
2024-03-15 14:08:00 +00:00
Ankush Menat
ce124d8ec2
fix: Skip virtual doctype rename for dynamic links (#25479) 2024-03-15 14:01:40 +00:00
Ankush Menat
b28db475fd
fix: Skip virtual doctypes while renaming (#25473) 2024-03-15 18:56:22 +05:30
Ankush Menat
d4bb72b74f
Merge pull request #25419 from frappe/cust_form_text
fix: allow transitioning to long text
2024-03-15 18:14:10 +05:30
Ankush Menat
48c24c7c5b test: fixup timeouts
The tests were failing because they weren't able to complete in 20
seconds. Ugh!
2024-03-15 17:58:57 +05:30
Ankush Menat
0ca0e22376 ci: setup ssh if test failed 2024-03-15 16:25:51 +05:30
Ankush Menat
05f23dc4a9
test: return string (#25466)
Looks like formatted by mistake :dead:
2024-03-15 16:16:34 +05:30
Corentin Flr
71cfeb14c0
fix(ControlText): Preserve indentation when read only (#25262) 2024-03-15 16:15:12 +05:30
Corentin Flr
1b67db7aa1
feat(kb): Add list for help article (#25102) 2024-03-15 16:12:54 +05:30
Corentin Flr
e30fdb66a4
fix(QuickEntry): Don't allow Tab Breaks (#24950) 2024-03-15 16:11:26 +05:30
Corentin Flr
0cf58cac07
chore(weblist): Fix data-txt encoding, remove notxt (#25101) 2024-03-15 15:51:39 +05:30
Exequiel Arona
7042a6f63d
feat: add extractor for label of number card (#25414) 2024-03-15 15:48:10 +05:30
Raffael Meyer
bac6de26c0
fix: deterministic ordering (#25278)
* fix: deterministic ordering

* perf: use same order to avoid full table scan

* fix: Skip unique-ish keys from tie breaking

---------

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
Co-authored-by: Ankush Menat <ankush@frappe.io>
2024-03-15 15:46:02 +05:30
Ankush Menat
7640ebad55
Merge pull request #24828 from marination/txt-attachment-privacy
fix: Use doctype setting to set auto-extracted file as private
2024-03-15 15:06:50 +05:30
Ankush Menat
02fd017204 fix: allow transitioning to long text 2024-03-15 15:00:07 +05:30
Ankush Menat
aa51492697 Merge branch 'develop' into txt-attachment-privacy 2024-03-15 14:53:45 +05:30
Kevin Shenk
396bc4102e
fix: default filter setup on todo list (#25455)
* fix: default filter setup on todo list

Since `frappe.route_options` is an empty object by default, the condition needs updated from `!frappe.route_options` to `!Object.keys(frappe.route_options).length`.

Also, `allocated_to` is a better default filter for the To Do list compared to the previous `owner` filter.

Further, this contained the only use of `page.add_sidebar_item()` in all of the current Frappe and ERPNext codebase, and that function neither makes sense or works anymore, so it should be removed.

* refactor: remove deprecated add_sidebar_item

* style: format files

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2024-03-15 09:20:54 +00:00
Ankush Menat
b6f65eaff7
Merge pull request #25459 from ankush/post_hog_memory_hog
perf: avoid importing posthog if not required
2024-03-15 11:43:36 +05:30
Ankush Menat
b7a5884344 perf: import sentinal locally 2024-03-15 11:31:04 +05:30
Ankush Menat
0d6ec13b0b perf: preload modules in worker pool 2024-03-15 11:23:04 +05:30
Ankush Menat
322671766d perf: avoid importing posthog if not required
Avoids 7MB of overhead and cleanup costs for each background job 🎉
2024-03-15 10:51:17 +05:30
Ankush Menat
df2b9c0983
fix(recorder): handle frappe.db.sql(run=0) (#25450) 2024-03-14 17:47:37 +00:00
Ankush Menat
dbe55d4ace
perf: Avoid ordering in count query (#25451)
Order doesn't matter for count. This PR now actually makes https://github.com/frappe/frappe/pull/25348 effective
2024-03-14 15:03:27 +00:00
Ankush Menat
8e3175f3e8
fix: show attachments on notifications too (#25443) 2024-03-14 13:01:10 +00:00
Ankush Menat
69f7753dbd
fix: proper tooltip for read only banner (#25442) 2024-03-14 18:13:24 +05:30
Ankush Menat
e76c29fcec
feat: Store printed PDF attachments on communication (#25439) 2024-03-14 11:45:03 +00:00
Ankush Menat
997d4a8285
perf: skip useless perm check (#25440) 2024-03-14 11:42:57 +00:00
Ankush Menat
bd661688e9
fix: dont allow querying files to website users (#25094)
* test: create desk user in file tests

* fix: dont allow querying files to website users

* test: make commiting test user optional
2024-03-14 16:43:21 +05:30
Ankush Menat
2f94dd4ba1
ci: limit timeout to 30 minutes (#25437)
Sometimes tests get stuck and never end, cause unknown.
2024-03-14 09:33:12 +00:00
Ankush Menat
f6e58f229c
fix: child table rating fields (#25433) 2024-03-14 09:19:29 +00:00
Revant Nandgaonkar
77618cde1f
feat: connect to redis sentinel for redis cache (#25398) 2024-03-14 13:54:46 +05:30
Ankush Menat
6d89d54880
fix: consider all datepicker elements (#25426) 2024-03-14 07:31:16 +00:00
Ankush Menat
3d8e8463a8
Merge pull request #25413 from ankush/fix_time_ctl
fix: wait for datepicker changes to propogate
2024-03-14 12:48:34 +05:30
Akhil Narang
3a7dd3a1db
Merge pull request #25417 from akhilnarang/psql-history-log
fix: log psql console usage as well
2024-03-14 12:33:24 +05:30
Ankush Menat
f417fd9add
Merge pull request #25420 from ankush/fix_virtual_tags
fix: skip virtual doctype in tags
2024-03-14 12:21:51 +05:30
Ankush Menat
8315d2ac3e fix: avoid closing filter popover on any date picker interactions 2024-03-14 12:15:33 +05:30
Ankush Menat
00030a3c1c fix: skip virtual doctype in tags 2024-03-14 12:09:35 +05:30
Ankush Menat
0a9f6ca4e7 fix: hide datepicker after picking date 2024-03-14 12:02:23 +05:30
Ankush Menat
51f1a5fea3 fix: Avoid setting filter on now/today button 2024-03-14 12:02:23 +05:30
Ankush Menat
6ecac9da98 fix: debounce filter refresh 2024-03-14 12:02:20 +05:30
Akhil Narang
d0923b0cd9
refactor: move histfile setting into helper function
This will ensure even users of `bench db-console` can use it

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-14 11:12:17 +05:30
Akhil Narang
afdb455b5a
fix: log psql console usage as well
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-14 10:56:17 +05:30