Commit graph

47446 commits

Author SHA1 Message Date
Anes Fassih
35a02b8d0a
fix(link-preview): Correct synchronization of preview data on change. (#26641)
- Use 'config' attribute instead deprecated 'options' which is always undefined and prevent updating the preview data.

Co-authored-by: Anes Fassih <anes.fassih@nassej.com>
2024-06-03 09:38:34 +00:00
Ankush Menat
b1193675dd
fix: don't copy "Standard" on dashboard chart (#26649) 2024-06-03 08:14:10 +00:00
Corentin Flr
932c58f921
feat(commands): Add bypass-patch command (#26633)
* feat(commands): Add bypass-patch command

* chore: delete comments

---------

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2024-06-03 07:06:18 +00:00
mergify[bot]
65ce529a04
fix: front-end bug in 'customize_form.js', triggered by delete actions on child-tables (#26344) (#26644)
* fix: Doctype Links not updating #26041
https://github.com/frappe/frappe/issues/26041

In refresh_field(fieldname, txt) function of grid_row.js, added the comments :-
    // the below if statement is added to factor in the exception when this.doc is undefined -
    // - after row removals via customize_form.js on links, actions and states child-tables
    if (this.doc)
            field.docname = this.doc.name;

* fix: Doctype Links not updating frappe#26041

In customize_form.js :-
defined parent and parenttype as local variables in the event functions for child tables links, actions and states

* Revert "In customize_form.js :-"

This reverts commit 6732f0aec4733490da46d7bd5cbedf239d13ec89.

* fix: Doctype Links not updating #26041

* style: amended spacing as per 'prettier' in precommit

* style: added comma after last event definitions in child doctype, as per 'prettier' in precommit

(cherry picked from commit b9f48455be10b40ab53375d7aef9fbaac644aea6)

Co-authored-by: Karan Wilson <48678570+karanwilson@users.noreply.github.com>
2024-06-03 12:25:14 +05:30
Ankush Menat
b63295d25c
fix: contact link with autoincr (#26642) 2024-06-03 04:59:48 +00:00
Frappe PR Bot
673f45b3e9
chore: update POT file (#26639) 2024-06-03 10:16:46 +05:30
Frappe PR Bot
997c419c12 fix: Persian translations 2024-06-03 09:12:31 +05:30
Frappe PR Bot
cc1642b7b4 fix: Persian translations 2024-06-02 08:42:31 +05:30
David
153d7cb7a3
feat: support reraising with error cause 2024-06-01 14:57:07 +02:00
Corentin Flr
c770c8e216
fix(dev): developer_mode could be a boolean (#26631) 2024-06-01 12:26:16 +05:30
Frappe PR Bot
4ca3f0c79f fix: Turkish translations 2024-06-01 08:44:44 +05:30
Akhil Narang
7673397734
Merge pull request #26624 from akhilnarang/bypass-ip-restriction-realtime
fix: bypass IP restriction for the methods required for our socketio backend
2024-05-31 16:43:09 +05:30
Akhil Narang
68fd322955
fix: bypass IP restriction for the methods required for our socketio backend
Those requests are made from a separate backend, not by the user.

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-05-31 16:31:02 +05:30
Ankush Menat
1eab8c2f51
refactor!: Drop v1 style routing (using #) (#26626) 2024-05-31 15:21:02 +05:30
Corentin Flr
9c928ec483
feat(form): Set active tab based on URL hash (#26595) 2024-05-31 14:53:07 +05:30
Ankush Menat
fb27368a53
feat: Link fields with UUID datatype in DB (#26625)
Link fields that refer to doctypes with UUID naming will also be UUID.
2024-05-31 09:17:09 +00:00
Ankush Menat
1269e31170
fix: cast port to integer (#26623)
Not using cint to avoid converting bad input to 0.
2024-05-31 12:44:14 +05:30
Akhil Narang
68c5307fd9
Merge pull request #26611 from akhilnarang/fix-address-search-fields-link
fix(address_query): show search fields in description if set
2024-05-31 11:49:00 +05:30
Akhil Narang
1c6ba0cf82
fix(address_query): show search fields in description if set
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-05-31 11:36:10 +05:30
Frappe PR Bot
9017488d43 fix: Turkish translations 2024-05-31 08:05:45 +05:30
Dhia' Shalabi
e97a56b8c8
fix: delete old user notification settings when merging users (#26604) 2024-05-30 19:11:30 +05:30
Gursheen Anand
61807dda71 fix: allow creation of workspace based on desk role perms 2024-05-30 17:35:48 +05:30
Corentin Flr
847012e415
fix(checkbox): Fix checkbox size on small screens (#26596) 2024-05-30 13:44:17 +05:30
Rutwik Hiwalkar
d09ef5431f
fix: kanban filters fixes (#26605)
* fix(kanban): don't concat old cards after filter

- this was messing up rendering filtered cards

* fix: refresh not working without standard fields
2024-05-30 12:38:22 +05:30
Raffael Meyer
0c01da43e9
fix: toggle full width for more than 4 columns (#26607)
Resolves https://github.com/frappe/frappe/pull/26538#issuecomment-2137092812
2024-05-30 12:37:44 +05:30
Frappe PR Bot
15047048b6 fix: Persian translations 2024-05-30 07:41:49 +05:30
Frappe PR Bot
aff0e2ba35 fix: Turkish translations 2024-05-30 07:41:46 +05:30
Ankush Menat
80a3bf33cf
perf: rearrange some frequent jobs (#26591)
* perf: lower frequency of not so useful jobs

* fix: 4x deferred insert frequency
2024-05-29 17:41:06 +05:30
Akhil Narang
b866ee3ef6
Merge pull request #26600 from akhilnarang/fix-number-card-formatting
fix(number_card): ensure value is returned
2024-05-29 16:37:48 +05:30
Akhil Narang
7695a0d2ec
fix(number_card): ensure value is returned
In the case of a number card based on a query report, an integer with
a very basic DF is passed, leading to the "formatted" value being just
the integer as a string, which becomes an empty string after $().text()

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-05-29 16:22:20 +05:30
Ankush Menat
dce308bc65
perf: memory leak on kanban refresh (#26597) 2024-05-29 16:05:44 +05:30
Ankush Menat
5d753251ac
Merge pull request #26592 from ankush/todo_conc
fix: Avoid concurrent TODO updates
2024-05-29 11:32:02 +05:30
Frappe PR Bot
7eac9e591d fix: Turkish translations 2024-05-29 07:45:48 +05:30
Ankush Menat
e43205eb25 fix: Avoid concurrent TODO updates 2024-05-28 19:52:06 +05:30
Akhil Narang
aa5febfe43
Merge pull request #26570 from akhilnarang/fix-address-query-respect-custom-title
fix(address_query): use title field if set
2024-05-28 15:34:44 +05:30
Frappe PR Bot
2b6d18a933 fix: Esperanto translations 2024-05-28 07:05:30 +05:30
Frappe PR Bot
781c4aece3 fix: German translations 2024-05-28 07:05:27 +05:30
Frappe PR Bot
43650bb40d fix: Persian translations 2024-05-28 07:05:25 +05:30
Frappe PR Bot
3d68e91bd4 fix: Turkish translations 2024-05-28 07:05:22 +05:30
Raffael Meyer
d5f3bb5d2a
Merge pull request #26563 from barredterra/letter-head-link 2024-05-27 17:23:18 +02:00
Marica
135713a8c0
Merge pull request #26535 from frappe/dialog-grid-add-row
feat: Add `on_add_row` event for grid in Dialog
2024-05-27 20:38:43 +05:30
Ankush Menat
d14e544172
fix: Don't enable submit on quick entry with workflow (#26579) 2024-05-27 14:44:14 +00:00
gavin
a71df1839f
fix: Drop file_manager.download_file (#26575)
Closes https://github.com/frappe/frappe/issues/26424
2024-05-27 19:30:48 +05:30
Ankush Menat
148b3f771d
build: bump RQ to latest (#26576)
* build: Bump RQ

Latest version simplifies workerpool extension a bit

* fix: Disable RQ's scheduler

It's now enabled by default with no easy way to disable it except
upstream change or overriding the run_worker method. So better to
disable it with custom worker class.
2024-05-27 13:54:34 +00:00
RitvikSardana
394227a90f
fix: text editor fields exports HTML tags (#26571)
* fix: text editor fields exports HTML tags

* fix: use html2text to preserve text structure
2024-05-27 18:26:00 +05:30
Ankush Menat
c05bc8292f
Merge pull request #26574 from ankush/broken_scheduler_sync
fix: Broken scheduled job type sync
2024-05-27 18:25:17 +05:30
Ankush Menat
0dfff8375c fix: Broken scheduled job type sync
Jobs weren't gettng deleted if they were moved around in sections.

I feel we should just drop support for same job in multiple blocks. It's
trivial to get around this limitation by adding a separate function.
2024-05-27 17:26:11 +05:30
Akhil Narang
b0a7d62a9e
fix(address_query): use title field if set
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-05-27 13:56:12 +05:30
Ankush Menat
4893beee51
Merge pull request #26567 from frappe/pot_develop_2024-05-26
chore: update POT file
2024-05-27 13:01:00 +05:30
Ankush Menat
852dbd427f
Merge pull request #26562 from barredterra/migration-info
feat: increase verbosity of post_schema_updates
2024-05-27 13:00:42 +05:30