Akhil Narang
3d615b613a
Merge pull request #28676 from mahsem/patch-2
...
fix: add label for translation in shortcut_widget.js
2024-12-05 13:15:59 +05:30
mahsem
3dcc327060
fix: add label for translation in shortcut_widget.js
2024-12-05 08:30:02 +01:00
David Arnold
75377aaaf5
refactor(typing): type filters ( #28218 )
...
* chore(typing): type filters
* chore(typing): type filters for get_list et al
* fix: dashboard chart filter expression
* test: fix case with new-style right hand object to equality check
* chore: place new typed filter under typing verification
* chore: remove debug print statment
* chore: inverse logic of type guard
* fix: add float to filter value types
* chore: clarify value naming
2024-12-04 23:18:53 +00:00
David Arnold
d3cbd2d4be
fix: type narrowing ( #28673 )
2024-12-04 16:58:37 +00:00
Akhil Narang
a390992408
chore: python3.13 support ( #28624 )
...
* chore: python3.13 support
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
* chore: bump pydantic
```
error: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12)
= help: please check if an updated version of PyO3 is available. Current version: 0.21.2
= help: set PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 to suppress this check and build anyway using the stable ABI
```
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
* chore: bump uuid-utils
https://katb.in/ahaqabugefo
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
* chore: bump RestrictedPython
7.4 has support for py3.13
https://restrictedpython.readthedocs.io/en/latest/changes.html#id1
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
* fix(deprecation_dumpster): import functools uncondtionally
Used here: 60f0b1d5c7/frappe/deprecation_dumpster.py (L177C10-L177C19)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
* chore(docref): improve error message
* fix: error on unability to hash; TypeError expected
* fix: migrate from 3.10 onwards
---------
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Co-authored-by: David <dgx.arnold@gmail.com>
2024-12-04 15:35:06 +00:00
Raffael Meyer
5c4dc84bad
fix: handle empty images ( #28669 )
...
Resolves #28668
2024-12-04 16:16:42 +01:00
Akhil Narang
a1296433b0
Merge pull request #28655 from akhilnarang/change-default-max-module-depth
...
chore: set default `max_module_depth` to 0
2024-12-04 17:33:19 +05:30
Akhil Narang
c3bcfdead5
chore: set default max_module_depth to 0
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-04 17:19:02 +05:30
Frappe PR Bot
a847ef14d7
fix: sync translations from crowdin ( #28635 )
...
* fix: French translations
* fix: Spanish translations
* fix: Arabic translations
* fix: German translations
* fix: Swedish translations
* fix: Turkish translations
* fix: Persian translations
* fix: Bosnian translations
* fix: Esperanto translations
* fix: Hungarian translations
* fix: Chinese Simplified translations
* fix: Polish translations
* fix: Russian translations
* fix: Spanish translations
* fix: German translations
* fix: Swedish translations
* fix: Persian translations
* fix: Swedish translations
2024-12-04 16:09:39 +05:30
Akhil Narang
bd42b5df9f
Merge pull request #28656 from UmakanthKaspa/fix/no-copy-child-duplicate
...
Fix: Exclude "No Copy" Fields in Child Table Duplication
2024-12-04 16:09:19 +05:30
Akhil Narang
a073984926
Merge pull request #28660 from akurungadam/tab-ms-events
...
feat: add, before_remove and remove event triggers for Table MultiSelect
2024-12-04 16:06:43 +05:30
Akhil Narang
1b8ee6917c
Merge pull request #28661 from akhilnarang/cint-explicit-handle-nonetype
...
chore(cint): explicitly handle NoneTypes
2024-12-04 15:51:13 +05:30
Akhil Narang
1a45cd3ab0
chore(cint): explicitly handle NoneTypes
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-04 15:36:25 +05:30
Akhil Narang
9c9349b74f
Merge pull request #28658 from akhilnarang/flt-explicit-handle-nonetype
...
chore(flt): explicitly handle NoneTypes
2024-12-04 15:21:42 +05:30
Akhil Narang
372d3953ae
Merge pull request #28659 from akhilnarang/bump-ruff
...
chore(deps): bump ruff
2024-12-04 15:21:08 +05:30
Anoop Kurungadam
07944b7181
feat: add option to add cscript for Table MultiSelect
2024-12-04 13:35:49 +05:30
Akhil Narang
74e13df979
chore: exclude the refactor from blame
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-04 13:28:14 +05:30
Akhil Narang
72d658a256
fix(desktop): manual fixup on top of ruff's changes
...
This seems like what the original code wanted to do, I think
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-04 13:23:52 +05:30
Akhil Narang
84ef6ec677
refactor: fixup with ruff 0.8.1
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-04 13:18:04 +05:30
Akhil Narang
df584ab891
chore: bump ruff
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-04 13:17:59 +05:30
Akhil Narang
cfeb1224e6
chore(flt): explicitly handle NoneTypes
...
These were implicitly handled due to the catch-all 0.0 return, but type checkers break here, and a lot of places depend on this behaviour
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-04 12:54:46 +05:30
Akhil Narang
a61b3d5b2a
Merge pull request #28657 from akhilnarang/fix-datetime
...
fix: our system setting date formats aren't compatible with moment
2024-12-04 12:25:33 +05:30
Akhil Narang
7a23f5579a
fix: our system setting date formats aren't compatible with moment
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-04 12:14:28 +05:30
Anoop Kurungadam
cd8a7c6853
feat: trigger child table events for Table MultiSelect add, remove operations
2024-12-04 12:10:23 +05:30
UmakanthKaspa
3934f119f9
fix: exclude 'no copy' fields when duplicating child table rows
2024-12-04 06:16:01 +00:00
Suraj Shetty
2fda32887c
Merge pull request #28651 from surajshetty3416/print-asset-failure-exception
2024-12-03 21:44:04 +05:30
Sumit Bhanushali
3e74559617
Merge pull request #28622 from Z4nzu/develop
...
fix: Allow read-only fields to display even without value
2024-12-03 18:37:29 +05:30
Hardik Zinzu
634961d020
feat: Add system setting to control visibility of empty read-only fields
2024-12-03 16:43:49 +05:30
Suraj Shetty
3cf4d9f370
Merge branch 'develop' into print-asset-failure-exception
2024-12-03 16:41:05 +05:30
Suraj Shetty
225cc5bb4f
fix: Print exception if asset linking is failed
2024-12-03 16:36:39 +05:30
Nguyễn Dương
cca62e1bc1
fix: remove duplicate mobile button creation in add_custom_button
2024-12-03 14:49:58 +05:30
Sumit Bhanushali
46ef193ade
Merge pull request #28647 from frappe/mergify/bp/develop/pr-28646
...
fix: workflow should also support queue_in_background (backport #28646 )
2024-12-03 12:47:30 +05:30
Sumit Bhanushali
e967b37c78
fix: workflow should also support queue_in_background
...
(cherry picked from commit 3d51e725c6bd89af4cd215a858ab25725b24c847)
2024-12-03 07:02:27 +00:00
Akhil Narang
d8c84c7b2e
Merge pull request #28642 from akhilnarang/fixup-28636
...
fix: don't prompt users unless we have a TTY
2024-12-02 21:05:31 +05:30
Akhil Narang
267e58a819
fix: don't prompt users unless we have a TTY
...
This can break automated runs (which earlier worked)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-02 20:49:11 +05:30
Shariq Ansari
b6cfedaa1c
Merge pull request #28638 from shariquerik/app-translations
...
fix: added api to get translation messages for portal apps
2024-12-02 19:11:21 +05:30
Shariq Ansari
dfe427b8d0
fix: added api to get translation messages for portal apps
2024-12-02 17:47:43 +05:30
lbrandh
03ccad59cb
fix: get_datetime_as_string should respect time_format ( #28333 )
...
* fix: get_datetime_as_string should respect time_format
* Update frappe/public/js/frappe/utils/datetime.js
Co-authored-by: Akhil Narang <me@akhilnarang.dev>
---------
Co-authored-by: Akhil Narang <me@akhilnarang.dev>
2024-12-02 16:50:08 +05:30
Akhil Narang
3b6ff70d76
Merge pull request #28636 from akhilnarang/separate-db-config-keys
...
refactor: allow setting mariadb/postgres specific root credentials in site config
2024-12-02 15:52:44 +05:30
Faris Ansari
f7c005dc09
Merge pull request #28629 from netchampfaris/autoincrement-renaming
...
fix: allow renaming autoincrement documents
2024-12-02 14:25:05 +05:30
Faris Ansari
d33b1ac695
chore: formatting
2024-12-02 13:40:16 +05:30
Akhil Narang
5e1146e216
fix(installer): don't set defaults for frappe.flags.root_username
...
Its set anyway when calling `setup_database()` (inside `get_root_connection()`)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-02 13:32:06 +05:30
Faris Ansari
94b051e05f
fix: cast name in UserSettings query
2024-12-02 13:29:36 +05:30
Akhil Narang
d77abb2663
refactor: allow setting mariadb/postgres specific root credentials in site config
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-02 13:24:31 +05:30
Frappe PR Bot
d9ed458d29
fix: sync translations from crowdin ( #28532 )
...
* fix: Persian translations
* fix: Persian translations
* fix: Chinese Simplified translations
* fix: Swedish translations
* fix: Persian translations
* fix: Persian translations
* fix: French translations
* fix: Spanish translations
* fix: Arabic translations
* fix: German translations
* fix: Swedish translations
* fix: Turkish translations
* fix: Persian translations
* fix: Bosnian translations
* fix: Esperanto translations
* fix: Hungarian translations
* fix: Chinese Simplified translations
* fix: Polish translations
* fix: Russian translations
* fix: Turkish translations
* fix: Persian translations
* fix: Spanish translations
* fix: Turkish translations
* fix: Swedish translations
* fix: Turkish translations
* fix: Turkish translations
* fix: Swedish translations
2024-12-01 18:57:21 +01:00
Frappe PR Bot
3a20a42b02
chore: update POT file ( #28632 )
2024-12-01 18:56:48 +01:00
Faris Ansari
3b014a2548
test: rename autoincrement document
2024-11-30 16:49:04 +05:30
Faris Ansari
188f9f9650
fix: show Allow Rename field always
2024-11-30 16:48:49 +05:30
Faris Ansari
46022ff257
chore: formatting
2024-11-30 16:08:10 +05:30
Faris Ansari
e76c33cdbc
fix: cast values for renaming autoincrement documents
...
- cast `name` values to integer
- cast `link_field` values to string
2024-11-30 14:59:59 +05:30