Commit graph

48690 commits

Author SHA1 Message Date
Ankush Menat
fbd3cadee2
revert: error/webhook logs on every document (#31096)
We serve millions of requests for reading a document, it doesn't make
sense to check error and webhooks on all of them. Not all documents even
have this configured.

If you need it, add it using "connections dashboard" or some custom code.
2025-02-04 06:42:33 +00:00
Ankush Menat
0397b32771
perf: client-cache webhooks (#31095) 2025-02-04 06:17:35 +00:00
Ankush Menat
551107bdcf
test: ensure utilization of idle threads is <5% (#31092)
All of following should have <2% utilization when idle:
- Redis invalidator thread
- Gunicorn workers and master
- RQ worker and horses
2025-02-04 05:57:38 +00:00
Rushabh Mehta
dd77f2c693
Merge pull request #31089 from rmehta/blog-image-extract-md
fix(minor): Extract images from markdown as well
2025-02-03 17:13:32 +05:30
Rushabh Mehta
e3b071dad7 fix(minor): Extract images from markdown as well 2025-02-03 17:03:46 +05:30
Shariq Ansari
a0b3b93751
Merge pull request #30943 from frappe/fc-billing-login 2025-02-03 12:49:39 +05:30
Bread Genie
ca1358689d fix: add is_fc_site endpoint back 2025-02-03 12:28:41 +05:30
Ankush Menat
c60f412c47
build: bump gunicorn (#31084) 2025-02-03 06:43:22 +00:00
Ejaaz Khan
0d1fe046c2
Merge pull request #30937 from iamejaaz/link-field-ui-30148
fix: link field overlapping issue
2025-02-03 10:40:07 +05:30
Ankush Menat
59784850d6 Revert "build: bump gunicorn (#30928)"
This reverts commit 7a7b318662.
2025-02-03 10:23:41 +05:30
Ankush Menat
58084184c3
Merge pull request #30938 from ankush/default_link
perf: Throttle UX features aggresively on large tables
2025-02-03 10:02:45 +05:30
Ankush Menat
34dd0d7290 fix: throttle list view refreshes for longer time
- 2s on small tables
- 15s on large tables

I don't want a huge range of numbers for this, this seems like a sane choice as
of now.
2025-02-03 09:39:38 +05:30
Ankush Menat
663930ca70 fix: don't apply "like" default on large tables 2025-02-03 09:33:11 +05:30
Ankush Menat
8eafe67805 feat: share table size heuristic with meta 2025-02-03 09:29:31 +05:30
Ankush Menat
4406116f86 feat: estimate table size 2025-02-03 09:21:56 +05:30
Soham Kulkarni
2d4d3c18f5
Merge pull request #30885 from sokumon/small-ui-fixes
fix: restrict image size in comments
2025-02-03 08:45:39 +05:30
Ejaaz Khan
faaac8c736
Merge pull request #31064 from iamejaaz/datepicker-ui-issue-tickets
fix: datetime picker ui issue
2025-01-31 23:47:20 +05:30
Ejaaz Khan
5fe80b79c2 fix: datepicker ui issue 2025-01-31 23:23:12 +05:30
Bread Genie
fb8731e10c fix: add horizontal padding to banner 2025-01-30 18:52:38 +05:30
Bread Genie
278e0e954b refactor: remove and change fc billing endpoints to accomodate new signup changes
- also make relevant changes in billing.bundle.js
2025-01-30 18:47:12 +05:30
Ejaaz Khan
0082b731a4 fix: link field overlapping issue 2025-01-30 12:17:12 +05:30
Akhil Narang
0612c011dc
chore: refactor for rq 2.x (#30935)
There's no `Connection` anymore - we need to explicitly pass it in everywhere

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-01-30 10:33:17 +05:30
Akhil Narang
22560c36f6
Merge pull request #28914 from samkit5495/patch-1
feat: add xss_sanitise to email fields
2025-01-29 17:45:52 +05:30
Akhil Narang
d7c3553714
chore: refactor for rq 2.x
There's no `Connection` anymore - we need to explicitly pass it in everywhere

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-01-29 17:38:23 +05:30
Akhil Narang
4717cc0bae
chore: move the logic into a separate function
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-01-29 17:22:45 +05:30
Ankush Menat
7a7b318662
build: bump gunicorn (#30928)
fast shutdown/restart fix: 4f74f4a4b8
2025-01-29 16:56:37 +05:30
Samkit Jain
dd48b54e3f
feat: add xss_sanitise to email fields 2025-01-29 16:48:54 +05:30
Akhil Narang
21ec09e4ef
fix(web_form): allow loading translations for more strings (#30931)
* Fix: Add more translation to web form

Fix that there is translation missing in frontend

* Fix missing translation context

* Adding left messages

* Fix typo

* Add even more missing translation

* chore: format

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

---------

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Co-authored-by: petnd <58605206+petnd@users.noreply.github.com>
2025-01-29 11:07:55 +00:00
Akhil Narang
17e3d12385
Merge pull request #30929 from akhilnarang/fix-sanitize-column
fix(sanitize_column): add newlines to the regex check
2025-01-29 16:22:43 +05:30
Akhil Narang
58268a6d8f
fix(sanitize_column): add newlines to the regex check
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-01-29 15:45:11 +05:30
Akhil Narang
60aa2f918a
Merge pull request #30896 from dhiashalabi/fix/reorder-setlang-initialization
fix: reorder session initialization in HTTPRequest to Fix Language Handling
2025-01-29 11:49:35 +05:30
Akhil Narang
d54f5e575a
Merge pull request #30910 from barredterra/timespan-days
feat: additional options for timespan filter
2025-01-29 11:27:20 +05:30
Akhil Narang
562f8212ec
Merge pull request #28955 from vishakhdesai/fix-idx-pagination
fix: update idx and name in table before rendering result rows
2025-01-29 11:22:22 +05:30
Akhil Narang
b94edc9d21
Merge pull request #30912 from cogk/patch-3
fix(blog): Fix typo in search query
2025-01-29 11:18:35 +05:30
Akhil Narang
7ee8b17ca8
chore: format
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-01-29 11:09:47 +05:30
Ankush Menat
2062a48ef8
fix: Respect no-cache header (#30921)
Browsers send this when user does ctrl+shift+r
2025-01-29 04:24:57 +00:00
Akhil Narang
4df2fbe615
Merge pull request #30913 from akhilnarang/fixup-30898
fix(attach): fix crash on web page builder
2025-01-28 22:01:20 +05:30
Akhil Narang
b0b0a4e36b
fix(attach): fix crash on web page builder
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-01-28 21:40:20 +05:30
Corentin Forler
cd68867535
fix(blog): Fix typo in search query 2025-01-28 17:03:14 +01:00
barredterra
aeb8ac1cb9 feat: additional options for timespan filter 2025-01-28 12:37:38 +01:00
Frappe PR Bot
443a81c8ab
fix: sync translations from crowdin (#29167) 2025-01-28 12:20:08 +01:00
Akhil Narang
9720ff2a8c
Merge pull request #30907 from akhilnarang/fixup-27805
fix(report_view): skip read_only condition checking for reportview
2025-01-28 10:35:59 +00:00
Ankush Menat
47fd3386fd
Revert "fix: Always reset globals on cached templates (#30897)" (#30906)
This reverts commit 32c1220c31.
2025-01-28 10:02:00 +00:00
Akhil Narang
531efc893f
Merge pull request #30899 from akhilnarang/fix-auto-repeat
fix(auto_repeat): take end date into consideration
2025-01-28 13:21:30 +05:30
Akhil Narang
41820d8f89
Merge pull request #30898 from akhilnarang/disable-attach-child-new-doc
fix: don't allow attaching a file to a child table in a new document
2025-01-28 13:13:55 +05:30
Akhil Narang
4b26b107a1
fix(auto_repeat): take end date into consideration
Otherwise we wouldn't add the end date in the schedule

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-01-28 13:10:48 +05:30
Akhil Narang
2fdc94840f
fix: don't allow attaching a file to a child table in a new document
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-01-28 12:37:18 +05:30
Ankush Menat
32c1220c31
fix: Always reset globals on cached templates (#30897) 2025-01-28 05:59:57 +00:00
Akhil Narang
baf884d31f
Merge pull request #29888 from akhilnarang/bench-browse-updates
feat: fixed session duration + better visibility of changes done via `bench browse`
2025-01-28 11:22:54 +05:30
DHia' A. SHalabi
8560764910 fix: reorder session initialization in HTTPRequest class 2025-01-27 18:49:13 +03:00