Skip to content

Commit

Permalink
refactor(s3): Remove unused settings fields
Browse files Browse the repository at this point in the history
- offsite_backups_provider
- data_40
  • Loading branch information
cogk committed Sep 17, 2024
1 parent 71f358b commit 28a422e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
15 changes: 1 addition & 14 deletions press/press/doctype/press_settings/press_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@
"backup_region",
"aws_s3_bucket",
"offsite_backups_endpoint",
"offsite_backups_provider",
"data_40",
"backup_rotation_scheme",
"column_break_35",
"offsite_backups_access_key_id",
Expand Down Expand Up @@ -405,22 +403,11 @@
"fieldtype": "Data",
"label": "Backup Region"
},
{
"default": "AWS S3",
"fieldname": "offsite_backups_provider",
"fieldtype": "Select",
"label": "Backup Provider",
"options": "AWS S3"
},
{
"fieldname": "aws_s3_bucket",
"fieldtype": "Data",
"label": "Bucket Name"
},
{
"fieldname": "data_40",
"fieldtype": "Data"
},
{
"fieldname": "backup_rotation_scheme",
"fieldtype": "Select",
Expand Down Expand Up @@ -1249,7 +1236,7 @@
],
"issingle": 1,
"links": [],
"modified": "2024-09-17 14:34:29.496884",
"modified": "2024-09-17 14:35:35.286062",
"modified_by": "Administrator",
"module": "Press",
"name": "Press Settings",
Expand Down
2 changes: 0 additions & 2 deletions press/press/doctype/press_settings/press_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ class PressSettings(Document):
code_server_password: DF.Data | None
commission: DF.Float
compress_app_cache: DF.Check
data_40: DF.Data | None
default_outgoing_id: DF.Data | None
default_outgoing_pass: DF.Data | None
disable_agent_job_deduplication: DF.Check
Expand Down Expand Up @@ -98,7 +97,6 @@ class PressSettings(Document):
offsite_backups_access_key_id: DF.Data | None
offsite_backups_count: DF.Int
offsite_backups_endpoint: DF.Data | None
offsite_backups_provider: DF.Literal["AWS S3"]
offsite_backups_secret_access_key: DF.Password | None
plausible_api_key: DF.Password | None
plausible_site_id: DF.Data | None
Expand Down

0 comments on commit 28a422e

Please sign in to comment.