Ankush Menat
2b1df9aa56
perf: cache get_events on desk load
2025-01-24 18:35:26 +05:30
Ankush Menat
f177bb28a7
perf: cache notifications for 1 minute
...
+ SWR for 5 minutes
2025-01-24 18:35:26 +05:30
Ankush Menat
378b638d34
feat: Decorator to cache API response using cache-control headers
2025-01-24 18:35:26 +05:30
Ankush Menat
32054b0757
refactor: use response_headers to set cache control headers
2025-01-24 18:35:26 +05:30
Ankush Menat
f30159adc6
feat: custom response header support
2025-01-24 18:35:26 +05:30
Ankush Menat
33d6ea94b8
fix: update instead of extend
...
None of these are supposed to be extended over defaults.
2025-01-24 18:35:26 +05:30
Akhil Narang
bea4dc68fe
Merge pull request #30042 from akhilnarang/fix-printview-check-order
...
refactor(printview): first check for doc permissions, then for website
2025-01-24 17:01:04 +05:30
Akhil Narang
bbfb26aaab
refactor(printview): first check for doc permissions, then for website
...
This broke for some cases because people had doc permissions, but `has_website_permission()` returns False
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-01-24 16:51:16 +05:30
Akhil Narang
c188505a48
Merge pull request #30041 from akhilnarang/bump-restrictedpython
...
chore(deps): bump RestrictedPython
2025-01-24 16:50:38 +05:30
Akhil Narang
00a6101780
chore(deps): bump RestrictedPython
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-01-24 16:40:10 +05:30
Akhil Narang
1e8a1f64c5
Merge pull request #30031 from netchampfaris/fix-grid-row-field-onchange
...
fix: call grid_row field onchange with current row
2025-01-24 15:17:56 +05:30
Raffael Meyer
4a0ccf6d76
fix: don't skip perm check when Apply Strict User Permissions is enabled ( #29916 )
2025-01-24 14:43:46 +05:30
Soham Kulkarni
b12c418011
Merge pull request #30029 from sokumon/fix-sendgrid
...
fix: Make sending emails via Sengrid work
2025-01-24 14:23:50 +05:30
Faris Ansari
da28303fa0
fix: call grid_row field onchange with current row
...
Co-authored-by: Akhil Narang <me@akhilnarang.dev>
2025-01-24 13:27:42 +05:30
sokumon
c63edc1022
fix: set login_id for sengrid
2025-01-24 12:20:55 +05:30
Ejaaz Khan
a4614da805
refactor: modify error message for query report with insufficient permissions ( #29884 )
...
* refactor: modify error message of not permitted report
* refactor: show the name of the report whose permission is being checked
2025-01-24 11:47:58 +05:30
Ejaaz Khan
25e214e7f5
refactor: translate tooltip text of page ( #29885 )
2025-01-24 11:46:30 +05:30
Md Hussain Nagaria
f4741e7310
chore(SocketIO): log connect error to console ( #29911 )
2025-01-23 07:38:44 +00:00
Corentin Forler
53e86379fe
fix(website): Clear cached list of child top bar items ( #29223 )
2025-01-22 20:52:40 +05:30
Ankush Menat
8071d38ad2
fix: Set prepared report even if req times out ( #29874 )
2025-01-22 08:23:41 +00:00
Abdeali Chharchhodawala
bebc40087c
chore: Update raise_error_on_no_output documentation and example
2025-01-22 08:12:08 +00:00
Ankush Menat
b9479e21e1
fix: Clear all cache after rebuilding assets ( #29876 )
...
We don't know where this is cached indirectly, this is a rare activity
in production, so dropping all cache isn't such a big deal.
2025-01-21 18:57:10 +05:30
Ankush Menat
930d006f4c
perf: HTTP cache list view counts when count is >1000 ( #29871 )
...
This allows for caching the count which are frequently requested but
rarely change and even if they changed, UI doesn't show accurate value
to begin with.
After this change any filters that result in "1,000+" response will be
just cached by client and won't be requested again and again (for at
least 30 minutes, it's SWR after that so UI should still be snappy)
2025-01-21 14:55:58 +05:30
Ankush Menat
e4a2b8db38
refactor: trim init.py ( #29866 )
...
* refactor: Trim `__init__.py`
We strayed from the goal here: https://github.com/frappe/frappe/pull/29181
So making up for it.
* chore!: Delete unused get_version
Not used anywhere
* refactor: move few more functions to relevant place
* asd
2025-01-20 13:05:02 +00:00
Sagar Vora
e7073a5f28
perf: faster LocalProxy ( #29181 )
...
* perf: faster `LocalProxy`
* refactor: use callable style local
* test: add some tests for local proxy override
---------
Co-authored-by: Ankush Menat <ankush@frappe.io>
2025-01-20 12:49:55 +00:00
Raffael Meyer
ec57061e63
refactor: hide sidebar ( #29061 )
2025-01-20 17:51:43 +05:30
rachapipe
d6a4b7858e
Merge pull request #29215 from rachapipe/DatepickerAddLanguageThai
...
fix(i18n): Datepicker Thai translations
2025-01-20 09:08:27 +00:00
Soham Kulkarni
7587c4666d
Merge pull request #29226 from sokumon/email-account-ux
...
fix(UX) :Email account ux
2025-01-20 12:59:40 +05:30
Soham Kulkarni
341fd3a4c7
Merge pull request #29201 from sokumon/better-sidebar
...
fix: Sidebar on mobile and small improvement in dark mode
2025-01-20 12:59:26 +05:30
sokumon
6e84651c36
fix: made mobile sidebar a overlay
2025-01-20 11:10:14 +05:30
sokumon
50b354f959
fix: small refactor to apps switcher
2025-01-20 11:10:14 +05:30
sokumon
69f28b088f
chore: bump version of upload artifact to v4
2025-01-20 11:10:14 +05:30
sokumon
9906b6ede8
fix: minor icon fixes
2025-01-20 11:10:14 +05:30
sokumon
6561aa37ae
fix: apps switcher menu is consistent across pages
2025-01-20 11:10:14 +05:30
sokumon
f71fb668d4
fix(style): minor dark mode changes to apps-switcher-menu
2025-01-20 11:10:14 +05:30
sokumon
97f811325c
fix: hover action setup after apps switch
2025-01-20 11:10:14 +05:30
sokumon
218c06e489
fix: remove ctrl + h shortcut
2025-01-20 11:10:14 +05:30
sokumon
8741ef7fd1
fix: ctrl + h shortuct doesnt toggle sidebar , routes to home
2025-01-20 11:10:14 +05:30
sokumon
69d11a0530
fix(style): collapse button visible without scroll in mobile
2025-01-20 11:10:14 +05:30
sokumon
dbdc584895
fix(style): dark mode suport for sidebar
2025-01-20 11:10:14 +05:30
sokumon
04fd2317ae
fix: sidebar sorting only in edit mode
2025-01-20 11:10:13 +05:30
Akhil Narang
ec1aba71bf
Merge pull request #28944 from Tebayaki/set_datepicker_language
...
fix: set datepicker language
2025-01-20 10:55:49 +05:30
Akhil Narang
a8f986e89f
Merge pull request #29766 from frappe/pot_develop_2025-01-19
...
chore: update POT file
2025-01-20 10:39:55 +05:30
Akhil Narang
6a4f4e7b39
Merge pull request #29189 from mahsem/datepicker_bosnian
...
feat: datepicker_bosnian_croatian
2025-01-20 10:37:20 +05:30
Tebayaki
b0fc7f4ab9
fix: set datepicker language
2025-01-20 11:08:20 +08:00
frappe-pr-bot
db8383d574
chore: update POT file
2025-01-19 09:33:11 +00:00
Sumit Bhanushali
33e855a578
Merge pull request #29227 from frappe/f-16
...
fix(NamingPatch): convert numerics to str for regex match
2025-01-18 14:59:26 +05:30
Sumit Bhanushali
6e488f8e3b
fix(NamingPatch): convert numerics to str for regex match
2025-01-18 14:49:33 +05:30
sokumon
8ce7b212de
fix: refactored helpful links
2025-01-18 13:08:30 +05:30
Ankush Menat
320798d390
perf: add cache-control headers on private files ( #29221 )
...
* perf: add cache-control headers on private files
- Client(browser) side cache
- 1 hr expiry
- 1 day revalidation
- etagged by nginx in default config (so no data transfer on expiry still)
In conjunction with https://github.com/frappe/agent/pull/157
* fix: Don't override existing headers
2025-01-17 18:51:34 +05:30