Commit graph

47446 commits

Author SHA1 Message Date
Akhil Narang
def1791421
fix: update country name from Turkey to Türkiye (#27054)
fix: update country name from Turkey to Türkiye
2024-07-10 11:15:36 +05:30
Akhil Narang
d9495ff146
Merge pull request #27034 from blaggacao/docs/adapt-to-reworked-payment-hook-api
docs: fix server script on payment hooks
2024-07-10 11:06:40 +05:30
priyanshshah2442
342de10c50 fix: remove unsetting of in trigger_onload 2024-07-10 10:45:33 +05:30
Rushabh Mehta
1a5085b023
Merge pull request #27057 from elshafei-developer/develop
Fix: Map icon color in dark mode
2024-07-10 09:29:05 +05:30
Rushabh Mehta
8e38c50f93
Merge pull request #26162 from Nihantra-Patel/multiple_btn_listview
feat: add multiple buttons (dropdown) in listview row
2024-07-10 07:15:47 +05:30
Sumit Bhanushali
d476cbdf84 fix(Duration): save null for empty value 2024-07-09 16:43:29 +05:30
El-Shafei H
0ebe4a2448
Fix: Map icon color in dark mode
When toggling to dark mode, all the icons in the dropdown button change to white in the list view, except for the map icon, which remains black.

Upon reviewing the code for this icon, I found that it had a fixed white color assigned (stroke=#111). I replaced it with the variable color value var(--icon-stroke) to ensure it changes appropriately with the theme toggle.
2024-07-09 11:53:54 +03:00
barredterra
d3374d824d docs: add type hints and docstrings 2024-07-09 10:45:20 +02:00
barredterra
34264a34e6 refactor: save one variable and line 2024-07-09 10:33:44 +02:00
priyanshshah2442
551d511789 fix: unset cscript.is_onload flag after the form is rendered 2024-07-09 12:52:00 +05:30
Kerem Kurtuldu
386803eab2
Update: Country name from Turkey to Türkiye
Updated the country name from 'Turkey' to 'Türkiye' following the official name change announced by Türkiye in 2021. This change aligns with the United Nations' updated designation and ensures the framework reflects the correct country name.
2024-07-09 03:59:43 +03:00
barredterra
90d850ee2b feat: new report "User Doctype Permissions"
This report shows the aggregated perms a user has on a DocType, considering all of their roles.
2024-07-08 22:14:59 +02:00
Gursheen Kaur Anand
32ecbcca84
Merge pull request #27047 from GursheenK/currency-number-format
fix: use currency number format if present
2024-07-08 21:52:21 +05:30
Gursheen Anand
454e48c397 fix: use currency number format if present 2024-07-08 19:42:16 +05:30
Philipp Gruener
7df4185f87 fix: removed TODO marks 2024-07-08 15:16:51 +02:00
Akhil Narang
f9cb856c8f
Merge pull request #27044 from akhilnarang/data-exporter-dont-sort-multiselect-fields
fix(data_exporter): don't sort multiselect dialog fields
2024-07-08 17:57:16 +05:30
Akhil Narang
afa5b6b7e7
fix(data_exporter): don't sort multiselect dialog fields
By default we currently sort all by default, doesn't make sense to do here
Better to leave it in the order the fields in the doctype are

Reference: support ticket 18084

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-07-08 17:42:58 +05:30
David
4e26353793
docs: fix server script on payment hooks 2024-07-08 12:50:41 +02:00
David
c8ef58f7f4
fix: input mode for numbers 2024-07-08 12:38:51 +02:00
Akhil Narang
813033b848
Merge pull request #27041 from maharshivpatel/check-image-url
fix: check image before trying to load in print.
2024-07-08 14:02:19 +05:30
Maharshi Patel
82a86fd046 fix: check image before trying to load in print. 2024-07-08 13:45:23 +05:30
Gursheen Kaur Anand
96219d9f5e
Merge pull request #27037 from GursheenK/data-filter-from-indicator
fix: data filter for status indicator in list
2024-07-08 12:48:36 +05:30
Gursheen Anand
b34bdc007a fix: data filter value for status indicator 2024-07-08 12:10:50 +05:30
frappe-pr-bot
30736ef0e8 chore: update POT file 2024-07-07 09:33:58 +00:00
Philipp Gruener
c19e844516 fix: Re-establish orig connection in tearDown for failing cases, that following specs dont rely on broken connection 2024-07-05 16:43:15 +02:00
Philipp Gruener
ea3d1365fe fix: Adjusted the retrieved dbms errors to also handle mariadb errors correctly in specs. 2024-07-05 16:26:51 +02:00
Philipp Gruener
1b56b4f3f7 fix: Reset to orig env vars in specs 2024-07-05 15:44:04 +02:00
Sagar Vora
1ed87246d5
Merge pull request #27019 from barredterra/align-filter-values-in-print 2024-07-05 16:04:51 +05:30
Philipp Gruener
abba28be3b feat: Added env db options for db, password and pg_schema 2024-07-05 12:05:20 +02:00
barredterra
835e1fa270 fix: align filter values in print 2024-07-05 12:03:19 +02:00
David
b0c57843c4
fix: plus quoting for better mta compatibility 2024-07-05 11:03:21 +02:00
David
d56430da53
fix: email record linking via rfc5233 & rfc5322 2024-07-05 11:03:20 +02:00
Sagar Vora
15f188e41a
Merge pull request #27006 from sagarvora/wh-type-hint
fix: add type hint to whitelisted function
2024-07-05 09:06:49 +05:30
Sagar Vora
a1b34a87fe fix: add type hint to whitelisted function 2024-07-05 08:53:41 +05:30
s-aga-r
2488642746 chore: connected app - show title in link field 2024-07-05 08:28:20 +05:30
Sagar Vora
f737867de1
Merge pull request #27001 from frappe/revert-26893-query-report-filters
Revert "fix: query report filters"
2024-07-05 08:12:41 +05:30
Sagar Vora
2d69466eb1
Revert "fix: query report filters" 2024-07-05 07:58:23 +05:30
Philipp Gruener
2e0ca7d3a7 fix: simplified functional call to iterator (semgrep) 2024-07-04 23:25:55 +02:00
gruener
c6af3ab8d3
Merge branch 'frappe:develop' into feature/db_env_credentials 2024-07-04 23:16:19 +02:00
gruener
2fce72bbad
Merge branch 'frappe:develop' into bugfix/postgres_schema_support 2024-07-04 23:16:02 +02:00
Philipp Gruener
d3591c7170 fix: Added missing ruff adjustments 2024-07-04 23:13:14 +02:00
Philipp Gruener
afd95691e9 fix: Fixed schema isolation/support for postgres connectivity. 2024-07-04 22:40:47 +02:00
Philipp Gruener
a63cd89607 fix: Fixed wrong quotes for changes 2024-07-04 22:24:42 +02:00
Philipp Gruener
442ad03d7b feat: Adds possibility of permitting DB credentials via ENV vars instead of persisting them on the volume. 2024-07-04 22:24:21 +02:00
Akhil Narang
55904c3596
Merge pull request #26992 from akhilnarang/fix-form
fix: Revert "fix: refresh fields after changing form to read-only (#26439)"
2024-07-04 17:44:11 +05:30
Akhil Narang
216015f49e
fix: Revert "fix: refresh fields after changing form to read-only (#26439)"
This reverts commit cc8c0f917c.

This also reverts the attemped fix: #26983

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-07-04 17:29:26 +05:30
Akhil Narang
b91612bfa3
Merge pull request #26988 from akhilnarang/fix-grid-typeerror
fix(grid): TypeError from undefined return value
2024-07-04 16:25:37 +05:30
Akhil Narang
70b9e25190
fix(grid): TypeError from undefined return value
Sentry: FRAPPE-634

TypeError: this.frm.get_docfield(...) is undefined
  at Grid.setup_allow_bulk_edit(../../../../../apps/frappe/frappe/public/js/frappe/form/grid.js:1073:28)
  at Grid.make(../../../../../apps/frappe/frappe/public/js/frappe/form/grid.js:138:8)
  at Grid.refresh(../../../../../apps/frappe/frappe/public/js/frappe/form/grid.js:399:25)
  at frappe.ui.form.ControlTablerefresh_input(../../../../../apps/frappe/frappe/public/js/frappe/form/controls/table.js:141:13)
  at frappe.ui.form.Controlrefresh(../../../../../apps/frappe/frappe/public/js/frappe/form/controls/base_control.js:140:9)
  at frappe.ui.form.Layoutattach_doc_and_docfields(../../../../../apps/frappe/frappe/public/js/frappe/form/layout.js:480:59)
  at frappe.ui.form.Layoutrefresh(../../../../../apps/frappe/frappe/public/js/frappe/form/layout.js:342:8)
  at GridRowForm.render(../../../../../apps/frappe/frappe/public/js/frappe/form/grid_row_form.js:26:15)
  at GridRow.show_form(../../../../../apps/frappe/frappe/public/js/frappe/form/grid_row.js:1328:18)
  at GridRow.toggle_view(../../../../../apps/frappe/frappe/public/js/frappe/form/grid_row.js:1310:9)
  at this.open_form_button(../../../../../apps/frappe/frappe/public/js/frappe/form/grid_row.js:346:11)
  at jQuery.event.dispatch(../../../../../apps/frappe/node_modules/jquery/dist/jquery.js:5135:27)
  at elemData.handle(../../../../../apps/frappe/node_modules/jquery/dist/jquery.js:4939:28)
  at sentryWrapped(../../../../../apps/frappe/node_modules/src/helpers.ts:98:1)

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-07-04 16:00:44 +05:30
Akhil Narang
08eb40de51
Merge pull request #26983 from akhilnarang/fix-undefined-refresh
fix(form): check that we can refresh the layout
2024-07-04 15:56:54 +05:30
Akhil Narang
e156ee1c14
fix(form): check that we can refresh the layout
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-07-04 15:42:55 +05:30