Commit graph

50544 commits

Author SHA1 Message Date
Sagar Vora
db246c0aa2 refactor: use global imports 2025-07-03 17:29:31 +05:30
Akhil Narang
ad948c9b98
Revert "Merge pull request #32327 from akhilnarang/allow-passing-name-in-api"
This reverts commit 1e30db26dc, reversing
changes made to 8da72e91e3.
2025-07-03 17:23:48 +05:30
Sagar Vora
274708b544
Merge pull request #33213 from sagarvora/typeadapater-cleanup 2025-07-03 10:57:46 +00:00
Sagar Vora
fa7e9ebb75 chore: simplify TypeAdapter 2025-07-03 16:14:00 +05:30
18alantom
933ec04074
chore: fix typo 2025-07-03 15:12:25 +05:30
Alan
c174e9cbdc
fix: apply fixes on accepted Copilot suggestions
Update frappe/integrations/oauth2.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Update frappe/integrations/README.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Update frappe/integrations/utils.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Update frappe/integrations/utils.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-03 15:01:47 +05:30
Ankush Menat
35c1cc0276
fix(DX): print execution time after printing query (#33207)
Who reads it the other way around 🗿
2025-07-03 09:18:19 +00:00
18alantom
befca37299
chore: README for integrations with OAuth2 docs
- Update descriptionsi in OAuth Settings
2025-07-03 14:42:28 +05:30
Akhil Narang
a1dae98560
fix(data_import): make our link field checks case-insensitive (#33196)
MariaDB query is case insensitive, so our check should be as well, else we get warnings that aren't real.

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-07-03 14:41:55 +05:30
18alantom
5ca8ad9d84
refactor: deprecate OAuth Provider Settings
OAuth Settings has its fields now (only one)
2025-07-03 14:07:38 +05:30
18alantom
1215afdf96
feat(OAuth2): support RFC 9728
adds OAuth Settings to configure settings pertaining to Frappe used as
an OAuth auth server and resource server
2025-07-03 13:20:52 +05:30
Ejaaz Khan
0cd1965aad
Merge pull request #33178 from iamejaaz/report-print-format
feat: print format for Reports
2025-07-03 12:01:43 +05:30
ruthra kumar
f19bd7c915
Merge pull request #33189 from ruthra-kumar/get_existing_procedures_and_functions
refactor: utility method to fetch custom sql functions and procedure
2025-07-03 10:22:51 +05:30
sokumon
6a2c400222 fix: configure to show values on top of bar and line graphs 2025-07-02 19:00:45 +05:30
Akhil Narang
b607500daf
build(deps): bump pillow (#33193)
Resolves PYSEC-2025-61
2025-07-02 17:31:30 +05:30
ruthra kumar
1ceea953fb refactor: utility method to fetch custom sql functions and procedure 2025-07-02 17:07:34 +05:30
Diptanil Saha
df950df470
fix: play_sound api replay media from beginning for same media (#33190) 2025-07-02 15:47:46 +05:30
18alantom
4cd8115c4c
refactor: unify how .well-known routes are handled 2025-07-02 15:17:42 +05:30
18alantom
3a47801598
feat(OAuth2): support RFC 7591
This allows a client to be registered without manual intervention.
2025-07-02 13:01:37 +05:30
Ejaaz Khan
4da190ca8b fix: minor fix and adds validation 2025-07-02 12:12:04 +05:30
Sagar Vora
e51308cc0a
Merge pull request #33184 from sagarvora/fix-typo 2025-07-01 14:26:47 +00:00
Sagar Vora
406aae7432 chore: fix typo 2025-07-01 19:43:04 +05:30
rohitwaghchaure
e3e9afb769
Merge pull request #33179 from rohitwaghchaure/fixed-support-42560
fix: setup wizard issue
2025-07-01 19:15:57 +05:30
Ankush Menat
2118ad737c
fix: Delete single doctypes from DB when uninstalling app (#33180)
This is different from dropping code and collecting orpahn doctype.

This is consistent with current behaviour:
- orphaned - drop metadata, keep data.
- uninstall - drop metadata and data.

Co-authored-by: Ritvik Sardana <ritvik.sardana11@gmail.com>
2025-07-01 13:17:12 +00:00
Rohit Waghchaure
41c2f49bd1 fix: setup wizard issue 2025-07-01 18:05:36 +05:30
Ejaaz Khan
c48b801c2e fix: remove default mandatory 2025-07-01 18:02:50 +05:30
Ejaaz Khan
924ca85e59 feat: print format for Reports 2025-07-01 17:33:59 +05:30
rohitwaghchaure
c94c56af24
Merge pull request #33168 from rohitwaghchaure/fixed-suupport-42511-1
fix: setup wizard broken during site restoration (v14->v15)
2025-07-01 14:42:49 +05:30
18alantom
f8425b6520
feat(OAuth2): support RFC 8414
This allows an OAuth client to get metadata about the auth server, i.e.
the frappe bench being used as an OAuth2 auth server.

Metadata includes values for auth server urls and endpoints and
supported types and modes.
2025-07-01 13:40:18 +05:30
Soham Kulkarni
0e46eb6228
fix: handle fraction units being zero (#33137)
* fix: handle fraction units being zero

* Revert "fix: handle fraction units being zero"

This reverts commit 912a031b16fb1e1951093d5b384976f4dc2968e6.

* fix: remove bad fallbacks from money_in_words

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2025-07-01 11:56:42 +05:30
Sagar Vora
2e310c97b1
Merge pull request #33172 from sagarvora/perf-copy_doc 2025-06-30 18:35:36 +00:00
Sagar Vora
28f8ed0fbd perf: remove unnecessary hasattr call 2025-06-30 23:51:45 +05:30
Rohit Waghchaure
5fe780dfd5 fix: setup wizard broken during site restoration (v14->v15) 2025-06-30 20:17:00 +05:30
Niraj Gautam
38b99c702b
chore: Fix failing test 2025-06-30 18:45:13 +05:30
Ankush Menat
f6567dabee
Revert: Keep None check (#33167)
No idea why, but some numeric fields can have unspecified defaults.
2025-06-30 12:45:38 +00:00
Soham Kulkarni
baca028f83
Merge pull request #33164 from sokumon/handle-logout
fix: handle abort while logout
2025-06-30 17:34:24 +05:30
sokumon
eeae4f8646 fix: handle abort while logout 2025-06-30 17:19:16 +05:30
Corentin Forler
e94361e12b
fix(schema): Fix default value change detection for Time fields (#33142)
* fix(schema): Handle "NULL" in default_changed_for_decimal

* fix(schema): Fix default value change detection for Time fields

* chore: format

* fix: Don't set zero default during change

This makes the check more aggresive. We by default set 0 on all numeric
fields, so we should ideally only migrate default between numbers and
not check `NULL` ever.

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2025-06-30 11:34:01 +00:00
rohitwaghchaure
c21ac6030c
fix: setup wizard broken during site restoration (#33161) 2025-06-30 11:14:33 +00:00
Ejaaz Khan
77da8506e2
Merge pull request #32664 from mahsem/clear_all
fix: clear_all_translatability
2025-06-30 11:00:05 +05:30
Niraj Gautam
d102437708
test: Update test cases for new functionality 2025-06-30 10:20:00 +05:30
Niraj Gautam
97bcfa2849
feat: Add Option to assign documents to users
Added a option to create separate documents for each users and assign
document based on the setting
2025-06-30 10:19:59 +05:30
Niraj Gautam
85730ee460
feat: Add Auto Repeat User DocType 2025-06-30 10:19:57 +05:30
avc
caf1065863
fix: add translatable strings for file upload dialog on webform (#33156)
* fix: add webform translatable strings

* fix: linters
2025-06-30 10:15:31 +05:30
MochaMind
4ae71ab618
fix: sync translations from crowdin (#33153)
* fix: French translations

* fix: Spanish translations

* fix: Arabic translations

* fix: German translations

* fix: Swedish translations

* fix: Turkish translations

* fix: Persian translations

* fix: Croatian translations
2025-06-29 23:10:28 +02:00
Ejaaz Khan
9097901f5c
Merge pull request #33150 from VishalSindham/feat-add-show_hide-toggle-option-password-reset-form
feat(password-reset-form): add show/hide toggle option to password reset form
2025-06-29 20:57:09 +05:30
Vishal Sindham
e1217282ac feat(password-reset-form): Add show/hide toggle option to password reset form 2025-06-29 19:47:02 +05:30
MochaMind
7884a660da
fix: sync translations from crowdin (#33143) 2025-06-29 16:01:41 +02:00
Ejaaz Khan
6329bf2479
Merge pull request #33146 from iamejaaz/start-rating-editable-alignment
fix(minor): alignment issue on rating field while editing
2025-06-28 23:00:25 +05:30
Ejaaz Khan
4d8fdb93f1 fix(minor): alignmet issue on ratng field while editing 2025-06-28 14:32:42 +05:30