Commit graph

3898 commits

Author SHA1 Message Date
Akhil Narang
c14e9d5d20
fix(response): set content-disposition header correctly again
Broke in ee2c4c20ce

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2026-01-12 11:49:35 +05:30
Akhil Narang
5dcb05541f
Merge pull request #35683 from akhilnarang/fix-ipv6-connection-check
fix(connections): try all available interfaces, not just ipv4
2026-01-08 19:38:51 +05:30
marcosppca
6ef39f3253
refactor: rejuvenation using match/case in format_value (#34594)
* Refactor: Rejuvenation using match/case in format_value

* refactor(format_value): rejuvenation using match/case (PEP 634) (#34594)

* refactor: if for match

* style: fix code formatting and indentation for consistency

* chore: format

Signed-off-by: Akhil Narang <me@akhilnarang.dev>

---------

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Co-authored-by: Akhil Narang <me@akhilnarang.dev>
2026-01-08 12:44:50 +00:00
Akhil Narang
a64834b444
fix(connections): try all available interfaces, not just ipv4
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2026-01-08 18:10:02 +05:30
Saqib Ansari
727c862208
fix: whitelist is_enabled function (#35721) 2026-01-07 12:10:05 +05:30
sokumon
990329d23b fix(desktop_icon): adapt new schema in auto generation 2026-01-06 17:35:58 +05:30
mergify[bot]
efc236ef37
Merge branch 'develop' into capture-client-events 2026-01-05 07:22:11 +00:00
Akhil Narang
f8443020ca
fix(error): don't return in a finally block (PEP-765) (#35610)
https://docs.python.org/3/whatsnew/3.14.html#pep-765-control-flow-in-finally-blocks

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2026-01-05 06:41:16 +00:00
Saqib Ansari
61679295aa chore: move common utility functions to frappe.utils 2026-01-04 14:20:40 +05:30
Saqib Ansari
142367c9b7 fix: preserve old behaviour
* is_enabled wasn't cached before
2026-01-04 13:40:16 +05:30
Saqib Ansari
43d71dd02b fix: handle string input for bulk_capture events 2026-01-04 13:34:27 +05:30
Saqib Ansari
e51ce12b90 feat: add test cases 2026-01-04 13:31:44 +05:30
Saqib Ansari
23c8673c45 refactor: implement retry logic 2026-01-04 13:09:51 +05:30
Saqib Ansari
f3cc4301f8 refactor: create event queue class 2026-01-04 12:39:08 +05:30
Saqib Ansari
1f762c316a refactor: avoid guest event capture for now 2026-01-03 20:50:55 +05:30
Saqib Ansari
aea1e86627 fix: is_enabled is not updated on system settings change 2026-01-03 20:49:52 +05:30
Saqib Ansari
018d01fe77 chore: remove unused import 2026-01-03 20:38:34 +05:30
Saqib Ansari
80205d5d59 feat: whitelist capture methods for client side events 2026-01-03 20:31:11 +05:30
Saqib Ansari
ee7c91599d refactor: telemetry with posthog and pulse providers 2026-01-03 16:21:49 +05:30
Akhil Narang
936e7947c2
Merge pull request #35565 from akhilnarang/simplify-chromium-setup
fix: ensure `bench setup-chrome` respects site config path for chromium
2025-12-31 18:32:27 +05:30
Ankush Menat
987be17ea1
perf: Reduce memory usage of exif stripping (#35566)
This was at least 4x inefficient because of:

- Way too many copies of same buffers
- Serialization of binary data to python integers :woozy: using `list()`
2025-12-31 11:30:13 +00:00
Akhil Narang
19ccfcc453
fix: ensure bench setup-chrome respects site config path for chromium
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-31 16:49:23 +05:30
Akhil Narang
873a12827c
Merge pull request #35505 from akhilnarang/fix-ruff-autofix
fix: correct some type annotations changed by ruff
2025-12-30 15:34:30 +05:30
Sagar Vora
e6f867da74
Merge pull request #35391 from akhilnarang/qb-fixes 2025-12-30 13:44:43 +05:30
Sagar Vora
26b3e6363e chore: deprecate validate_filters 2025-12-30 13:02:49 +05:30
Akhil Narang
bfc0e416b2
Merge pull request #35507 from akhilnarang/fix-msgprint
fix(msgprint): correct typehint, and only use HTML-stripped version for printing to terminal
2025-12-29 17:46:21 +05:30
Akhil Narang
bebec109a5
fix(msgprint): correct typehint, and only use HTML-stripped version for printing to terminal
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-29 17:33:30 +05:30
Akhil Narang
b80ef0d89e
fix: correct some type annotations changed by ruff
Reference: commit 8723a2b6ee

These didn't need to be forward references

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-29 17:02:17 +05:30
Akhil Narang
344d8cbead
Merge pull request #35424 from akhilnarang/oauth-fix-mixed-case-email
fix(oauth): convert email to lowercase
2025-12-29 16:24:31 +05:30
Akhil Narang
bc94ef1381
Merge pull request #35483 from Packeting1/fix/secure-git-call-changelog
fix: avoid shell in changelog git calls
2025-12-29 13:45:56 +05:30
Ankush Menat
f6873fec0a
perf: Remove unused empty table checks (#35469) 2025-12-29 07:28:41 +00:00
Packeting
03aa9ca1f8 fix: avoid shell in changelog git calls 2025-12-29 10:29:55 +08:00
Akhil Narang
6204ff351c
fix(oauth): convert email to lowercase
All user emails are stored as lowercase, but OAuth provider could have it in mixed case.
We pass the email as-is to LoginManager, which could result in a session with an incorrect email.

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-23 18:15:30 +05:30
Akhil Narang
659b3bac8e
fix(msgprint): cleanup checks
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-23 17:33:54 +05:30
Akhil Narang
a7cfb11e4b
fix(msgprint): let as_table work properly
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-23 17:30:03 +05:30
Sabu Siyad
4f0e303f18
fix(types): msgprint: use Sequence instead of list 2025-12-23 17:26:06 +05:30
Sabu Siyad
7c4d64157c
fix(types): msgprint can take of list of strings
`msg` argument to `msgprint` can be either a string, a list of strings
or a list of list of strings.
2025-12-23 17:26:06 +05:30
Ankush Menat
5b87d55b7e perf: Cache get_apps and internals 2025-12-23 16:06:10 +05:30
Akhil Narang
0ac52c1bb4
chore: update boilerplate
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-23 13:27:48 +05:30
Akhil Narang
e859b1d312
fix: disable UP040, revert some instances to TypeAlias
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-23 13:12:04 +05:30
Akhil Narang
90a40dbfe0
fix: ruff manual fixes
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-22 21:06:48 +05:30
Akhil Narang
f7feeea0a0
fix: ruff "unsafe" fixes
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-22 21:06:48 +05:30
Akhil Narang
8723a2b6ee
fix: ruff fixes
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-22 21:06:48 +05:30
Akhil Narang
588cb1e44d
refactor: tomli -> tomllib
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-22 21:06:48 +05:30
sokumon
0ea047a776 fix: reroute portal users correctly 2025-12-19 20:34:28 +05:30
Abdeali Chharchhodawala
a333241d95
fix: handle password feedback for common words and suggestions (#35156)
* fix: handle password feedback for common words and suggestions

* refactor: enhance password strength failure msg

* refactor: keep suggestion html align with title
2025-12-19 14:44:22 +05:30
sokumon
dd2dc053ca chore: more renames to /desk 2025-12-18 20:45:04 +05:30
sokumon
0e3ff92996 chore: rename app to desk in get url methods 2025-12-18 19:56:04 +05:30
Ankush Menat
dc3e598be8
fix: Always show traceback on dev server (#35263) 2025-12-16 07:13:28 +00:00
Akhil Narang
ec615fe9aa
fix(goal): improve validation (#35186) 2025-12-12 13:50:12 +05:30