Ankush Menat
fa6dc03cc8
refactor: frappe.cache() usage to frappe.cache ( #21282 )
2023-06-08 11:47:17 +05:30
Ankush Menat
e30b823eeb
fix!: Webhook naming should be prompt
2023-06-04 10:46:38 +05:30
Suraj Shetty
e1c23ef4f3
Merge pull request #21064 from frappe/feat-dynamic-webhook-url
2023-06-02 13:02:12 +05:30
Nabin Hait
af7502bba7
refactor: Workspace cleanup ( #21100 )
...
* refactor: Workspace cleanup
* fix: Resolved conflict
2023-05-26 14:42:31 +05:30
Hussain Nagaria
9fa2655bd9
fix: bring back modified field in json file
2023-05-22 23:11:21 +05:30
Mohammad Hussain Nagaria
a45eb9c8b7
Merge branch 'develop' into feat-dynamic-webhook-url
2023-05-22 23:08:10 +05:30
Hussain Nagaria
3f08e80d88
style: lint test file
2023-05-21 16:44:34 +05:30
Hussain Nagaria
8f8c6b51e8
test: tests for dynamic URL
2023-05-21 16:36:08 +05:30
Hussain Nagaria
77e73ccea4
feat: support for dynamic URL in webhook
...
Closes #11921
2023-05-21 16:35:57 +05:30
Hussain Nagaria
c1d90b1d6a
fix(ui): rearrange fields in webhook request log doctype
2023-05-21 15:50:52 +05:30
Hussain Nagaria
d31d07ed23
fix(ux): set language to enable syntax highlighting JSON
2023-05-21 15:44:33 +05:30
Hussain Nagaria
cb1dce5ef5
fix(ux): add description for jinja support
2023-05-21 15:44:03 +05:30
Hussain Nagaria
cf49369d14
feat(minor): add request log to connections
2023-05-21 15:31:37 +05:30
Raffael Meyer
caeaa3bdf0
Merge branch 'develop' into gc-perms
2023-04-14 17:27:11 +02:00
Ankush Menat
3e95c00fd0
fix: dont track webhook request log ( #20663 )
...
logs dont change
[skip ci]
2023-04-12 11:51:24 +05:30
Raffael Meyer
ea6c1f763e
Merge branch 'develop' into gc-perms
2023-04-11 11:31:20 +02:00
Mohammad Hussain Nagaria
a48b0f3cf8
fix: minor oauth doctypes enhancements ( #20613 )
...
* fix: remove extra`/` from description
* fix(ux): show bearer token status in list view
2023-04-07 14:33:41 +05:30
barredterra
54ec1a764c
fix(Google Calendar): authorize_access
2023-03-30 11:55:09 +02:00
barredterra
fcb6fa8233
refactor(Google Contact): authorize_access
2023-03-30 11:47:52 +02:00
barredterra
2cfe3622d4
fix: role perms on Google Contacts
2023-03-30 11:34:11 +02:00
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
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
Ritwik Puri
41685ff014
fix: dont use get_datetime for enddate when startdate is in future for google calendar event ( #20309 )
2023-03-13 15:20:57 +05:30
barredterra
b2e36634d6
refactor: rename get_time_zone to get_system_timezone
2023-03-04 19:30:03 +01:00
Ritwik Puri
b17af2c329
fix: token cache expiry calculation ( #20228 )
2023-03-02 23:23:36 +05:30
Ankush Menat
6022705093
fix: log raw text reponse instead of parsing JSON ( #20226 )
...
Not every service responds in JSON, we shouldn't expect a JSON response.
[Skip ci]
2023-03-02 16:59:29 +05:30
Ankush Menat
34beb65009
fix: link webhook logs with webhook document ( #20155 )
2023-02-24 16:30:29 +05:30
Jannat Patel
19249aec4e
fix: send updates from google calendar events ( #20075 )
2023-02-23 18:10:08 +05:30
Ankush Menat
22f5a60ebb
feat: make webhook requests log clearable
2023-02-23 15:56:13 +05:30
Ankush Menat
1fbd6badd1
fix: log full traceback
2023-02-23 15:56:06 +05:30
Ankush Menat
e6d5f1fe2e
revert: engine change
2023-02-23 15:56:06 +05:30
Deepesh Garg
66ef29907f
chore: Better webhook loging
2023-02-23 15:56:06 +05:30
RJPvT
8be98718f7
fix: ldap with 2fa ( #19753 )
...
Because we pop password 2fa fails when used with ldap
Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-01-30 14:44:53 +05:30
Shariq Ansari
b4ff826711
fix: default_user_type should be Website User if not set
2023-01-24 18:30:51 +05:30
Shariq Ansari
0173d2abfb
test: fixed failing LDAP test
2023-01-24 17:56:10 +05:30
Shariq Ansari
229ca404ae
fix: LDAP - default user role mandatory logic broken
2023-01-24 11:22:05 +05:30
Suraj Shetty
f9496ff7e5
fix: Initialize "r" to avoid UnboundLocalError ( #19630 )
...
fixes https://github.com/frappe/frappe/issues/19608
2023-01-17 18:29:07 +05:30
Ritwik Puri
1e6086fd75
fix(minor): only show authorization message if connected app is set ( #19605 )
2023-01-16 16:22:38 +05:30
Ritwik Puri
50327203ce
Merge pull request #18750 from revant/oauth-email
...
feat: use Connected App for OAuth based Email Account
2023-01-16 15:24:05 +05:30
phot0n
88d4d5e10d
chore: minor cleanup - removed unnecessary branches and comments
2023-01-15 21:02:21 +05:30
phot0n
c2ceceea6e
fix: use OAUTHLIB_RELAX_TOKEN_SCOPE for ignoring scope change
...
without this we get an error regarding the mismatch of scopes from microsoft
2023-01-15 21:02:21 +05:30
Ankush Menat
266b9a05e1
docs: clarify what s3 endpoint does ( #19566 )
...
Endpoint is used for calling non-AWS s3 compatible backends. You dont
need to fiddle with this for AWS S3.
[skip ci]
2023-01-11 15:43:24 +05:30
Gughan Ravikumar
4654db6e26
fix: use file name for backups to Google Drive ( #19504 )
...
Currently, backups to Google Drive are uploaded with the absolute path as the filenames. This fix changes that.
[skip ci]
2023-01-06 17:06:51 +05:30
phot0n
481d72c0ae
fix: only pull from email accoutns which have token
...
* removed unnecessary after_save client hook from email account
* renamed check_active_token -> has_token (no need to refresh the access token)
* removed oauthentication error from email oauth - now just a simple validation error
2023-01-06 13:07:13 +05:30
Ritwik Puri
b78452dc00
Merge pull request #19472 from ankush/set_value_bad
...
refactor: deprecate usage of set_value with None as docname
2023-01-04 11:44:57 +05:30
Ankush Menat
e00023deb1
refactor: replace bad usage of db.set_value
2023-01-04 11:13:53 +05:30
phot0n
6bed904bf7
fix: only validate oauth if tokens are set
...
* also brough back oauth authorization message
2023-01-03 18:05:49 +05:30
phot0n
f50be4bbf5
chore: log any exception while refreshing access token in connected apps
2023-01-01 23:52:33 +05:30