* Added S3 Integration, need to add backup limit * Fix validation in s3 doctype * Added auto-deletion of old backups and backup_limit usage * Fixes for codacy PR review * Improved exception handling. * Update s3_backup_settings.py
88 lines
1.9 KiB
Python
88 lines
1.9 KiB
Python
from __future__ import unicode_literals
|
|
from frappe import _
|
|
|
|
def get_data():
|
|
return [
|
|
{
|
|
"label": _("Payments"),
|
|
"icon": "fa fa-star",
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Stripe Settings",
|
|
"description": _("Stripe payment gateway settings"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "PayPal Settings",
|
|
"description": _("PayPal payment gateway settings"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Razorpay Settings",
|
|
"description": _("Razorpay Payment gateway settings"),
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Backup"),
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Dropbox Settings",
|
|
"description": _("Dropbox backup settings"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "S3 Backup Settings",
|
|
"description": _("S3 Backup Settings"),
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("Authentication"),
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "Social Login Keys",
|
|
"description": _("Enter keys to enable login via Facebook, Google, GitHub."),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "LDAP Settings",
|
|
"description": _("Ldap settings"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "OAuth Client",
|
|
"description": _("Register OAuth Client App"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "OAuth Provider Settings",
|
|
"description": _("Settings for OAuth Provider"),
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"label": _("External Documents"),
|
|
"items": [
|
|
{
|
|
"type": "doctype",
|
|
"name": "GSuite Settings",
|
|
"description": _("Enter keys to enable integration with Google GSuite"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "GSuite Templates",
|
|
"description": _("Google GSuite Templates to integration with DocTypes"),
|
|
},
|
|
{
|
|
"type": "doctype",
|
|
"name": "Webhook",
|
|
"description": _("Webhooks calling API requests into web apps"),
|
|
}
|
|
|
|
]
|
|
}
|
|
]
|