Commit graph

41483 commits

Author SHA1 Message Date
AHasanin
ed5ce1241f fix(grid row): fix update_docfield_property function not updating grid row 2023-03-27 16:48:09 +02:00
Saqib Ansari
32dbbb47bf
feat: redis cache decorator (#20452)
* feat: redis cache decorator

* fix: review changes

* fix: remove unintentional changes

* fix: remove unintentional changes

* refactor: cleanup and simplify code for redis

AIs suck

* fix: bug

* test: redis cache

* fix: remove unused import

* feat: make redis cache user specific

redis cache utils already support this, extending so everyone can use it

* feat: support @redis_cache without params

* test: flake in request site cache test

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-03-27 17:03:20 +05:30
Ankush Menat
f089e9108e
fix: hard link environment variable (#20467)
On docker based deploys symlinking inside volume doesn't work.

[skip ci]
2023-03-27 15:58:43 +05:30
gavin
86f7219525
fix: Auto-Reload after changing time zone (#20456) 2023-03-24 21:02:30 +05:30
Ritwik Puri
d9383afae6
fix: exception handling for bulk email sending (#20451) 2023-03-24 13:45:46 +05:30
Ankush Menat
543a4c467b fix: social media links
[skip ci]
2023-03-24 12:50:36 +05:30
Himanshu Shivhare
0ec7ea45e9
fix: Update social media links (#20400)
* YouTube channel addded in about section. 

I have added ERPNext YouTube channel reference in the about section.
#Create an official Handle for YouTube Channel (Like @erpnext or erpnextofficial)

* chore: handle

[skip ci]

* Update about.js

YouTube channel name changed.

---------

[skip ci]
2023-03-24 12:49:42 +05:30
HarryPaulo
0374d37c62
feat: show if address is "Disabled" (#20446) 2023-03-24 12:43:09 +05:30
Ankush Menat
6b3d283cf7
fix: unsubscribe from list_update before resubbing (#20450)
resubbing can result in multiple events being fired, so unsubscribe all
of them before re-subscribing.

missed in https://github.com/frappe/frappe/pull/20423
2023-03-24 09:58:19 +05:30
Raffael Meyer
f7f575acbd
ci: copy docs checker from erpnext (#20441)
[skip ci]
2023-03-24 08:53:34 +05:30
Leonard Goertz
bd049a42a3
fix: fields are rendered empty after save (#20270)
Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-03-24 08:44:34 +05:30
Ankush Menat
f8533010da
Merge pull request #20442 from ankush/perf/can_subscribe
perf: dont re-initate session in realtime.py
2023-03-23 18:14:51 +05:30
Shariq Ansari
806df53222
Merge pull request #20432 from shariquerik/avoid-list-refresh-fix 2023-03-23 18:12:18 +05:30
Shariq Ansari
6763f63455
Merge branch 'develop' into avoid-list-refresh-fix 2023-03-23 17:53:52 +05:30
Shariq Ansari
6e3ef3dc3d test: fixed failing UI test 2023-03-23 17:53:18 +05:30
Ankush Menat
3f717f2fbd perf: Don't re-initate sessions in realtime.py
Session is already created for all requests in app.py -> init_request -> HTTPRequest()
2023-03-23 16:55:09 +05:30
Ankush Menat
5a91ac945c fix: doctype form - hide irrelevant fields 2023-03-23 16:16:14 +05:30
Ankush Menat
b39b2e7923 fix: consider JSON as Data for filters
closes https://github.com/frappe/frappe/issues/20433
2023-03-23 16:03:13 +05:30
Shariq Ansari
d7ec66ef51
Merge pull request #20437 from shariquerik/translated-print-format-child-table-value 2023-03-23 13:31:52 +05:30
Shariq Ansari
2036dd19b2 fix: Get translated value for child tables in print format 2023-03-23 12:30:50 +05:30
Ankush Menat
7ac6199213
feat: re-enable scheduler from desk (#20434)
[skip ci]
2023-03-23 11:54:24 +05:30
Shariq Ansari
064ef5a15a fix: Avoid list update if user is doing some bulk operation 2023-03-22 19:41:41 +05:30
Ankush Menat
516540ede9
perf: unsubscribe from list_update events (#20423) 2023-03-22 10:02:37 +05:30
Raffael Meyer
ef11d67bb3
chore: translations of "Login" and "Signup" (german) (#20409) 2023-03-21 17:04:28 +05:30
Ankush Menat
7fc6ae65ab
perf: Dont update list view data if list view not active (#20396)
Steps to reproduce:
1. visit a list view that's quite active
2. move to some other page
3. list view data keeps getting refreshed in background

Fix: Only refresh when user is back on list view
2023-03-21 14:11:26 +05:30
Bernhard Sirlinger
c5cfe8f5aa
feat(minor): log datetime in worker log (#20414) 2023-03-21 12:55:03 +05:30
Suraj Shetty
44d4010ea9
Merge pull request #20413 from surajshetty3416/website-analytics-enhancements 2023-03-21 11:36:17 +05:30
Suraj Shetty
02b661bbb9 fix: Remove mandatory and save URL params to localstorage
- Saving URL params to localstorage to avoid re-entering the data.
Usually only 1 or 2 param(s) change is required to generate new link
2023-03-21 11:31:05 +05:30
Suraj Shetty
1abcd5a11a feat: Add a simple tool to generate tracking URL 2023-03-20 23:53:42 +05:30
Suraj Shetty
ed7d6931ca fix: Update code to update links with campaign and medium 2023-03-20 23:42:50 +05:30
Suraj Shetty
c9e12edb42 feat: Add campaign and medium to web page view 2023-03-20 23:41:18 +05:30
Raffael Meyer
d48a1c9e7c
feat: make workflow state translatable (#20326) 2023-03-20 21:55:08 +05:30
Raffael Meyer
12144505bc
fix: clear contacts cache (#20397) 2023-03-20 21:15:53 +05:30
gavin
3da5a84d7c
fix(meta): get_permitted_fields with no field-columns (#20401) 2023-03-20 21:00:03 +05:30
gavin
eeeaedac65
fix(workspace): Setup Dynamic Link if value exists (#20402) 2023-03-20 20:44:32 +05:30
Ritwik Puri
6c6a89bcdd
Merge pull request #19793 from phot0n/dropbox-refresh-token
fix!: refresh access token for dropbox
2023-03-20 17:49:00 +05:30
phot0n
e032a5b69b fix: add back dropbox access token
reason: https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Long-lived-access-token-deprecation/m-p/630471/highlight/true\#M29128
2023-03-20 17:48:21 +05:30
phot0n
7445843bc2 refactor: remove dropbox_access_key and dropbox_access_secret fields
from dropbox settings
2023-03-20 14:17:48 +05:30
phot0n
14105e0816 fix: refresh access token for dropbox
- removed dropbox_access_token field
- added dropbox_refresh_token
- removed oauth2 access token generation from oauth1 logic
- removed code for dropbox_erpnext_broker

Auth logic has been changed a bit to generate access token(s) on the fly when taking backup from refresh token. This is due to the fact that backups are generally taken between long intervals which is generally greater than the access token expiry time.
2023-03-20 14:17:48 +05:30
Sagar Vora
98006eb5fb
chore: fix typo in error dump (#20393)
[skip ci]
2023-03-20 11:57:40 +05:30
Ankush Menat
9622c882a7
Merge pull request #20168 from resilient-tech/system-generated-field-fixes
fix!: create property setters for system generated custom fields
2023-03-17 17:55:45 +05:30
Ankush Menat
7ed43e2a68
fix: Drop message_id index before migrating email queue (#20376)
[skip c]
2023-03-17 15:57:51 +05:30
Ankush Menat
cad9228b6b feat: clear integration log request logs (#20373)
* fix: integration request should be cleared

THese are basically logs of requests and shouldn't stay forever.

* fix(UX): show retention policy message on sidebar

These doctypes were added to log settings later.
2023-03-17 14:38:26 +05:30
Ankush Menat
f2f7d43811
fix: tolerant newsletter view logging (#20369)
* fix: tolerant newsletter view logging

* Revert "fix: tolerant newsletter view logging"

This reverts commit 5a8567a9405f336c3dc8a481c27af70860334b2b.

* fix: use raw query for updating count
2023-03-16 20:07:43 +05:30
Shariq Ansari
4f2db72922
Merge pull request #20363 from shariquerik/5-column-form-layout 2023-03-16 18:04:44 +05:30
Shariq Ansari
f672391a95
Merge pull request #20360 from shariquerik/edit-comment-image-upload-fix 2023-03-16 18:04:04 +05:30
Shariq Ansari
d7ab46f7f8 fix: allow 5 column layout in doctype form 2023-03-16 17:16:32 +05:30
Suraj Shetty
0743225cd2
fix(patch): move desk prop patch to post model sync (#20361)
* fix(patch): Reload user_email to avoid failure

* fix: move patch to post sync

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>

[Skip ci]
2023-03-16 16:38:52 +05:30
Shariq Ansari
502ae9bd71
Merge branch 'develop' into edit-comment-image-upload-fix 2023-03-16 16:02:58 +05:30
Shariq Ansari
ba99f74660 fix: handle image extraction while editing comment 2023-03-16 16:00:06 +05:30