Slack-Discord extra feature (#176)

* Enable Pro plan - WIP

* no pricing page if have no paid plans

* Set pricing ids in env

* views & submissions FREE for all

* extra param for env

* form password FREE for all

* Custom Code is PRO feature

* Replace codeinput prism with codemirror

* Better form Cleaning message

* Added risky user email spam protection

* fix form cleaning

* Custom SEO

* fix custom seo formcleaner

* Better webhooks

* Slack-Discord extra feature

* fix conflict
This commit is contained in:
formsdev
2023-08-30 17:50:14 +05:30
committed by GitHub
parent 057bfde8b7
commit 662088e20f
12 changed files with 248 additions and 111 deletions

View File

@@ -41,6 +41,7 @@ class Form extends Model
'notifications_include_submission',
'slack_webhook_url',
'discord_webhook_url',
'notification_settings',
// integrations
'webhook_url',
@@ -83,10 +84,7 @@ class Form extends Model
// Security & Privacy
'can_be_indexed',
'password',
// Custom SEO
'seo_meta'
'password'
];
protected $casts = [
@@ -95,7 +93,8 @@ class Form extends Model
'closes_at' => 'datetime',
'tags' => 'array',
'removed_properties' => 'array',
'seo_meta' => 'object'
'seo_meta' => 'object',
'notification_settings' => 'object'
];
protected $appends = [