Commit graph

48645 commits

Author SHA1 Message Date
Ayush Chaudhari
e166b71fe4 Merge branch 'develop' of https://github.com/frappe/frappe into develop 2025-01-09 18:22:33 +05:30
Ayush Chaudhari
133d27d8a6 fix: Reports were not viewable from desk due to improper routing 2025-01-09 18:20:05 +05:30
sokumon
c11215318b fix(style): fix right sidebar height 2025-01-09 17:51:22 +05:30
Ejaaz Khan
9714a8d305 fix: hide seperator in destkop view 2025-01-09 17:45:28 +05:30
Akhil Narang
62bec2f605
Merge pull request #29092 from akhilnarang/check-export-path
fix(export_file): check paths before writing
2025-01-09 16:32:18 +05:30
Akhil Narang
22a9e41955
Merge pull request #29058 from akhilnarang/drop-create-new-route-options-field-check
feat(create_new): drop fieldtype check for filling from route
2025-01-09 16:26:28 +05:30
Ejaaz Khan
93c33de489 fix: splash logo is not rendering properly 2025-01-09 16:24:04 +05:30
sokumon
446a8ad100 fix: flex added to filters 2025-01-09 16:14:45 +05:30
sokumon
6749aef6ba fix: dropdowns open to right 2025-01-09 16:14:07 +05:30
Ankush Menat
e67bbf8bb8 fix: Avoid indefinitely waiting for metadata locks 2025-01-09 15:09:33 +05:30
Akhil Narang
1e7e83124d
fix(export_file): check paths before writing
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-01-09 14:56:10 +05:30
Akhil Narang
369629147f
feat(create_new): drop fieldtype check for filling from route
__Seems__ to be fine now, maybe caused issues when added in 2016

Tried a few scenarios, route options is cleared going from list -> create page
Only issue __may__ be quick entry

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-01-09 14:21:28 +05:30
Ankush Menat
2a5c778235
perf: speedup date parsing (#29090) 2025-01-09 06:55:13 +00:00
mergify[bot]
9733ad313a
fix: frappe license added in report.js (#29084)
frappe license added in report.js

(cherry picked from commit 63ea6d42eae895fa0ca93f74cea1009eb80e06d0)

Co-authored-by: Indrajith.vs <91895505+Gubbu77@users.noreply.github.com>
2025-01-09 11:48:51 +05:30
Frappe PR Bot
5d4b1e6c5b
fix: sync translations from crowdin (#29048) 2025-01-08 16:43:29 +01:00
Ejaaz Khan
b53fbd3fba
fix: misalignment of attachment icon and title (#29086) 2025-01-08 20:40:47 +05:30
Ejaaz Khan
b8aea5fbcf
fix: active tab minor misalignment issue (#29083) 2025-01-08 20:40:06 +05:30
Soham Kulkarni
8efd35768d
Merge pull request #29032 from sokumon/report-padding
fix(style): padding added in query-report view
2025-01-08 14:22:12 +05:30
Akhil Narang
4380216a82
Merge pull request #29072 from iamejaaz/field-alignment-issue
fix: spacing issue between field and label
2025-01-08 11:50:41 +05:30
sokumon
3d47953847 feat: add treeview filter on the toolbar/page head 2025-01-08 11:24:50 +05:30
sokumon
1ea299b8df feat: add divider to button group 2025-01-08 11:24:50 +05:30
sokumon
20bde77953 fix: include disabled checkbox in expand button group 2025-01-08 11:24:50 +05:30
sokumon
cba8be102c fix(style): group expand/collapse in tree view 2025-01-08 11:24:50 +05:30
sokumon
210ae482f3 fix(style): align page head content 2025-01-08 11:24:50 +05:30
Ankush Menat
59309f8164
perf: do not validate user on session resume (#29074)
* fix: Consume sid from arguments

* perf: do not validate user on resume

Errr, why would we ever need to validate if user with active session is
"disabled"?

When active user is disabled, their sessions are wiped from cache and DB.
2025-01-07 12:52:23 +00:00
Ankush Menat
77c9c9ee93
perf: hard-code /app routing even more aggresively (#29073)
Dynamic route evaluation is insanely slow and done on each request. I'll
likely remove that over time but in meantime, this resolution should be
much higher.
2025-01-07 12:32:28 +00:00
Ankush Menat
fdba41c682
perf: misc client cache improvements (#29070)
* perf: Reduce penalty for lack of redis connection

If redis isn't running than this client cache is slower than default
implementation because of the extra locking overhead.

* test: update perf redis counts

* perf: cache table columns in client-cache

* fix: race condition on cache-client_cache init

Rare but apparant in synthetic benchmarks.

Cache is set but client cache is still being initialized then request
will fail.

* perf: Don't run notifications when loading document

WHAT?

* fix: use cached doc to repopulate

* perf: reduce get_meta calls
2025-01-07 16:14:43 +05:30
Ejaaz Khan
213b76a9e9 fix: spacing issue between field and label 2025-01-07 16:12:11 +05:30
Deepesh Garg
8e101182f2
Merge pull request #29038 from deepeshgarg007/linked_doctypes
perf: Ignoring linked doctypes on cancel
2025-01-07 15:49:42 +05:30
Deepesh Garg
0acee8a947 chore: linting issues 2025-01-07 14:19:38 +05:30
Ankush Menat
f50518c17e
Merge pull request #29066 from ankush/skip_client_cache
fix: Make client cache work without redis too
2025-01-07 13:57:32 +05:30
Ankush Menat
b9c0662de6 fix: Make client cache work without redis too 2025-01-07 13:46:47 +05:30
Ankush Menat
939f832e01
Merge pull request #28992 from ankush/perf/client_side_redis_cache
feat(cache): server-assisted client-side caching
2025-01-07 13:20:58 +05:30
Ankush Menat
06816f2817 perf: client-cache for defaults 2025-01-07 12:51:10 +05:30
Ankush Menat
d3dd7651dc perf: cache parsed fields aggresively
These are just simple strings, and default of 128 isn't enough. Just 4-5
list views will fill that up.
2025-01-07 12:10:11 +05:30
Akhil Narang
146adbed68
Merge pull request #29063 from barredterra/two-lines-in-img-view
feat: display two lines in image view
2025-01-07 12:00:41 +05:30
Ankush Menat
33bd1bc09b fix: Flushall shouldn't attempt reading keys 2025-01-07 11:56:22 +05:30
Ankush Menat
b5e2569c0c feat: statistics for cache performance
These can be used for logging or debugging the behaviour of the cache.
2025-01-07 11:47:52 +05:30
Ankush Menat
8dd4ad53e2 fix: data race between GET and INVALIDATE
Fix for the documented example given here: https://redis.io/docs/latest/develop/reference/client-side-caching/#avoiding-race-conditions
2025-01-07 11:09:42 +05:30
barredterra
a0b9f02acf feat: display two lines in image view 2025-01-06 22:02:07 +01:00
Ankush Menat
73dc99275d refactor: move get_system_settings
- This should not be in init.py
- set_single_value is not a good alternate for properly cleaning up cache.
2025-01-06 20:31:38 +05:30
Ankush Menat
b7ddd1df92 perf: cache hooks in client-side cache 2025-01-06 20:24:27 +05:30
Ankush Menat
e37219ef39 perf: Store languages in client cache 2025-01-06 19:52:43 +05:30
Ankush Menat
b60a1292bd perf: store app-module mappings in client cache 2025-01-06 19:46:42 +05:30
Ankush Menat
dfc6dcb6b8 Revert "perf: Avoid checking server script map (#29057)"
This reverts commit 55a55e7f7b.
2025-01-06 19:43:53 +05:30
Ankush Menat
c76b23a050 perf: cache server script map in client cache 2025-01-06 19:43:28 +05:30
Ankush Menat
7ea0421624 perf: cache system settings in client side cache 2025-01-06 19:40:07 +05:30
Ankush Menat
c14d416d19 docs: add usage / notes in code 2025-01-06 19:28:37 +05:30
Ankush Menat
15f5adc25a refactor: use namedtuple for readability 2025-01-06 19:28:33 +05:30
Ankush Menat
b51cfc1705 perf: minimize penalty for broken client cache 2025-01-06 18:57:57 +05:30