Commit graph

48072 commits

Author SHA1 Message Date
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
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
Faris Ansari
0ef8001102 fix: allow renaming autoincrement documents 2024-11-30 14:58:15 +05:30
Akhil Narang
1d5cfce6df
Merge pull request #28626 from akhilnarang/quiten-cypress-error
chore(ui-tests): don't print subprocess traceback
2024-11-29 18:35:32 +05:30
Hardik Zinzuvadiya
4fe6600fa4 fix: Allow read-only fields to display even without value 2024-11-29 12:40:41 +00:00
David
aec58a9ad0
chore(ui-tests): raise click Exit exception 2024-11-29 13:39:03 +01:00
Akhil Narang
318a47219c
chore(ui-tests): don't print subprocess traceback
We have the cypress error from its output above, just a simple error message is enough here

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-11-29 18:03:18 +05:30
Akhil Narang
88f553e37a
Merge pull request #28617 from aerele/validate-amended-from-record-
feat: validate amended from record docstatus
2024-11-29 17:22:45 +05:30
Akhil Narang
60f0b1d5c7
Merge pull request #28621 from akhilnarang/toml-py310
refactor: tomllib -> tomli
2024-11-29 12:06:21 +05:30
Akhil Narang
722c72a5bf
refactor: tomllib -> tomli
Need to maintain python3.10 compatibility

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-11-29 11:32:07 +05:30
David Arnold
e2a8c7fed3
test: fix universal type checker based on downstream use and more testing (#28619)
* test: fix universal type checker based on downstream use and more testing

* fix: type validation error reporting

* fix: types; various

* chore: switch off test-time type checking

still too many errors
2024-11-28 23:35:32 +01:00
David Arnold
9edd44de01
ci: this adds universal runtime typechecking during tests to test runners (#28554)
* ci: this adds universal runtime typechecking during tests to test runners

* ci: add configuration options for test-time type checking
2024-11-28 15:11:30 +00:00
l0gesh29
35d8ff40ec feat: validate amended from record docstatus 2024-11-28 17:04:44 +05:30
Akhil Narang
49fe842463
Merge pull request #28595 from akhilnarang/check-permission-before-merge
fix(rename): check for permissions for merged document as well
2024-11-28 16:27:22 +05:30
Akhil Narang
a70973b0c5
fix(rename): check for permissions for merged document as well
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-11-28 15:59:45 +05:30
UmakanthKaspa
0dcc6280e8
fix: enable fetching datetime fields from linked doctypes (#28602) 2024-11-28 10:27:12 +01:00
David Arnold
7748910ddc
ci: chore revert using forked bench (#28584)
* ci: chore revert using branched bench

merge after is released: https://github.com/frappe/bench/pull/1600

* ci: name downstream job
2024-11-28 09:32:12 +01:00
Vimal
c6c3d0af80
feat: Disable allow renaming country (#28596) 2024-11-28 08:51:45 +01:00
David Arnold
79ebc52b4a
ci: fix redirect (#28606) 2024-11-28 00:16:44 +00:00
David Arnold
0aa089b9f0
ci: remove obsolete helpers & fix coverage config setup (#28603)
* ci: remove obsolete helpers

* ci: fix coverage
2024-11-28 00:00:21 +00:00
David Arnold
762a8130e2
ci: finish off introduction of #28604 (#28605)
* ci: finish off introduction of #28604

* ci: add tmate session debug to ui tests
2024-11-27 21:43:24 +01:00
David Arnold
9ed08706a2
ci: make db-migration arifact part of the workflow inputs (#28604)
* ci: make db-migration arifact part of the workflow inputs

* ci: chore cleanup

* ci: introduce
2024-11-27 21:18:20 +01:00
David Arnold
d532ee95c1
ci: leanly invocate bench modules requiring less upstream refactor (#28600) 2024-11-27 15:26:44 +00:00
David Arnold
f2fd26a660
ci: revert erroneous, auto-merge mediated, commit and fix ui test trigger (#28599)
* ci: fix ui test trigger (inverted copy paste error)

* ci: revert erroneous, auto-merge mediated, commit
2024-11-27 15:18:20 +01:00
David Arnold
a4014ab1c4
fix(json-serialization): prioritize explicit __json__ before iterable (#28597) 2024-11-27 13:11:53 +00:00