Commit graph

48184 commits

Author SHA1 Message Date
dependabot[bot]
240da6fb24
chore(deps): bump nanoid from 3.3.7 to 3.3.8
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.3.7...3.3.8)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-14 09:38:29 +00:00
Akhil Narang
9fd891d01e
Merge pull request #28769 from akhilnarang/fix-unbound-local-widgets
fix(save_new_widget): prevent `UnboundLocalError`
2024-12-13 15:14:24 +05:30
Akhil Narang
ccde8a1922
fix(save_new_widget): prevent UnboundLocalError
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-13 14:59:09 +05:30
Akhil Narang
058702bd3c
Merge pull request #28765 from akhilnarang/jinja-boot-json
fix: convert frappe.boot to JSON properly
2024-12-13 12:23:28 +05:30
Akhil Narang
4509e75179
fix: convert frappe.boot to JSON properly
We have `frappe.as_json` set as the jinja filter for json

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-13 11:45:57 +05:30
Corentin Forler
50020cffda
fix(web): Ensure that header values are strings (#28760) 2024-12-12 19:32:12 +05:30
Akhil Narang
0c8e49b72b
Merge pull request #28759 from blaggacao/fix/test-breakpoint-honoring
fix(testing): clarify --pdb to --debug from a users perspective and also attach pdb on any exception
2024-12-12 18:04:32 +05:30
David
1d31663f4b
fix(testing): clarify --pdb to --debug from a users perspective; also attach pdb on any exception
prior, the implementation attached to AssertionErrors
and the flag did not represent that this disables the buffer so that normal breakpoints work
2024-12-12 13:19:20 +01:00
Ankush Menat
82264e7986
fix: keep a large enough limit on group-by query (#28754)
Small change on top of https://github.com/frappe/frappe/pull/28740

Reason: Site with many many users might still have huge # of rows being
returned. E.g. FC.

This just makes UX slightly bad, but there's easy workaround for it.
Users can just apply this filter -> "Owner = Self", whether users know
it or not is a different question.
2024-12-12 05:11:46 +00:00
Raffael Meyer
7c06c845ea
Merge pull request #28674 from frappe/l10n_develop
fix: sync translations from crowdin
2024-12-12 02:39:35 +01:00
barredterra
b2ec589390 test: make test translation independent from real ones 2024-12-12 00:57:14 +01:00
barredterra
8acd5568c4 Merge remote-tracking branch 'upstream/develop' into l10n_develop 2024-12-12 00:50:46 +01:00
Frappe PR Bot
4581729c95 fix: Swedish translations 2024-12-12 01:31:50 +05:30
Frappe PR Bot
5ba244f6a2 fix: Spanish translations 2024-12-12 01:31:47 +05:30
Sumit Bhanushali
6d034bb92b
Merge pull request #28740 from frappe/quick_filters_fix
fix: in case of owner, always include owner in count data
2024-12-12 01:21:30 +05:30
Akhil Narang
264155635a
Merge pull request #28745 from akhilnarang/set-webform-sysdefaults-currency
fix: set `currency` system setting in webform `frappe.boot.sysdefaults`
2024-12-11 18:15:48 +05:30
Akhil Narang
a63cd10387
fix: set currency system setting in webform frappe.boot.sysdefaults
Otherwise this resulted in the fallback `USD` showing for some currency fields in webforms

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-11 17:59:13 +05:30
Sumit Bhanushali
602e05a5f8 fix: in case of owner, always include owner in count data 2024-12-11 17:49:09 +05:30
Ankush Menat
2295d3108d
chore: make bench_helper executable (#28742)
I need a real entry point that isn't wrapped by bench CLI.
2024-12-11 10:52:58 +00:00
Akhil Narang
c59933fe70
Merge pull request #28734 from barredterra/validate_from_to_dates
fix: clarify error message for child tables
2024-12-11 11:07:54 +05:30
Frappe PR Bot
aa7c9bff9a fix: Turkish translations 2024-12-11 01:35:14 +05:30
barredterra
beab110ce9 fix: clarify error message for child tables 2024-12-10 17:06:55 +01:00
Akhil Narang
e92d10a0b0
Merge pull request #28729 from akhilnarang/fixup-28093
fix(convert_utc_to_timezone): set UTC if tzinfo undefined
2024-12-10 16:28:38 +05:30
Akhil Narang
4cf18d37bd
fix(convert_utc_to_timezone): set UTC if tzinfo undefined
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-10 16:12:01 +05:30
Frappe PR Bot
a330348d4a fix: Persian translations 2024-12-10 01:31:02 +05:30
Frappe PR Bot
3285b902c1 fix: Swedish translations 2024-12-10 01:30:57 +05:30
Rushabh Mehta
c4792204df
Merge pull request #28720 from netchampfaris/remove-justify
fix: remove text align justify from newsletter
2024-12-09 18:19:04 +05:30
Faris Ansari
4eafaea3e7 fix: remove text align justify from newsletter 2024-12-09 16:59:33 +05:30
Ankush Menat
1b1126c1c8
perf: index document name (#28718)
Moved index from doctype to docname. Docname always has higher
cardinality. Even if you filter by both it shouldn't matter as
cross-doctype name conflicts are rather rare.

Perf impact of this change should be net 0 but it does addresses problem
of indeterministic load times based on how many errors exist in db.

closes https://github.com/frappe/frappe/issues/28713
2024-12-09 09:08:59 +00:00
Ankush Menat
60bc472ab6
revert: restore JSON files (#28717)
* Revert: bring back JSON files

* chore: re-apply changes to new files

* chore: remove old TOML files

* chore: delete empty files
2024-12-09 08:41:56 +00:00
Sumit Bhanushali
fcd79d7075
Merge pull request #28715 from frappe/mergify/bp/develop/pr-28663
fix: check at doc level when if owner role permission is checked during export (backport #28663)
2024-12-09 13:06:52 +05:30
Sumit Bhanushali
9a331d30c6 chore: fix for failing test
(cherry picked from commit 0f3dad71e69e829171ac7c48de065f797a1357bd)
2024-12-09 07:22:33 +00:00
Sumit Bhanushali
1bb26f68d3 fix: check at doc level when if owner role permission is checked during export from list view
(cherry picked from commit 1ed45ceb97868c9b517dd3066f0b4ea2cd5358f5)
2024-12-09 07:22:32 +00:00
Sumit Bhanushali
5d22ee7b2b fix: check at doc level when if owner role permission is checked during export from report view
(cherry picked from commit c7ad3296c9664f5d6b2946f46082f57b91c1bac8)
2024-12-09 07:22:32 +00:00
Sumit Bhanushali
f8df660854
Merge pull request #28714 from frappe/patch-expr
fix(Patch): only insert expression key if not exists
2024-12-09 12:52:16 +05:30
Sumit Bhanushali
5b8bde97bb fix(Patch): only insert expression key if not exists 2024-12-09 12:36:11 +05:30
Rushabh Mehta
839477e422
Merge pull request #28446 from rmehta/fix-reply-icon
fix(minor): fix reply icon, group buttons
2024-12-09 12:29:59 +05:30
Rushabh Mehta
eb15de4873 fix(minor): fix reply icon, group buttons 2024-12-09 12:15:10 +05:30
Sumit Bhanushali
91d553c9cf
Merge pull request #28363 from frappe/expr-series
fix(NamingExpression): series should be separate for different format expressions instead of global
2024-12-09 12:13:28 +05:30
Sumit Bhanushali
c32703549f chore: added patch to create missing keys and update counter 2024-12-09 11:32:50 +05:30
Frappe PR Bot
260efcf39e fix: Spanish translations 2024-12-09 01:30:39 +05:30
Frappe PR Bot
bfba34c895 fix: French translations 2024-12-09 01:30:37 +05:30
David Arnold
d17136cd04
fix: redirect cssutils logger to file (#28692) 2024-12-08 13:42:18 +05:30
Sumit Bhanushali
4bb972e0b9
Merge pull request #28690 from iamejaaz/select-all-column-child-table
feat: add select all button to select all column in child table
2024-12-08 10:14:11 +05:30
Sumit Bhanushali
8233c2ffce fix: naming tests should consider pattern for generating series 2024-12-08 10:04:50 +05:30
David Arnold
1e6208a774
fix: pending deprecations with unspecified graduation (#28704) 2024-12-08 02:19:19 +00:00
David Arnold
0ff4c73e18
fix: bencher scoping (#28703)
* fix(bench_interface): sites loading

* feat(bench_interface): guard against naive scoping back to all sites

* refactor(bench_interface): remove 'scope' methods for (newer) site_name
2024-12-08 01:37:42 +00:00
David Arnold
8c7f3fac6c
ci: fix type check for manual trigger 2 (#28702) 2024-12-08 00:36:14 +00:00
David Arnold
0fbac0927b
ci: fix type check for manual trigger (#28701) 2024-12-08 01:15:47 +01:00
Frappe PR Bot
584ed6360c fix: Persian translations 2024-12-08 01:33:52 +05:30