Commit Graph

59 Commits

Author SHA1 Message Date
Favour Olayinka 68b610bc15
remove branding for subscribed users (#424)
* removebrandingfor subscribed users

* backend  changes, test

* fix test  name

* fix disable branding

* Fix linting

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-05-29 12:03:41 +02:00
Favour Olayinka 8d35fc8b1a
feat: disable custom script for trial users (#371)
* feat: disable custom script for  trial users

* fix: logic error for trial users

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-04-15 16:14:21 +02:00
Chirag Chhatrala 35efd6711d
Remove old code related to notifications (#363)
* Integrations Refactoring - WIP

* integrations list & edit - WIP

* Fix integration store binding issue

* integrations refactor - WIP

* Form integration - WIP

* Form integration Edit - WIP

* Integration Refactor - Slack - WIP

* Integration Refactor - Discord - WIP

* Integration Refactor - Webhook - WIP

* Integration Refactor - Send Submission Confirmation - WIP

* Integration Refactor - Backend handler - WIP

* Form Integration Status field

* Integration Refactor - Backend SubmissionConfirmation - WIP

* IntegrationMigration Command

* skip confirmation email test case

* Small refactoring

* FormIntegration status active/inactive

* formIntegrationData to integrationData

* Rename file name with Integration suffix for integration realted files

* Loader on form integrations

* WIP

* form integration test case

* WIP

* Added Integration card - working on refactoring

* change location for IntegrationCard and update package file

* Form Integration Create/Edit in single Modal

* Remove integration extra pages

* crisp_help_page_slug for integration json

* integration logic as collapse

* UI improvements

* WIP

* Trying to debug vue devtools

* WIP for integrations

* getIntegrationHandler change namespace name

* useForm for integration fields + validation structure

* Integration Test case & apply validation rules

* Apply useform changes to integration other files

* validation rules for FormNotificationsMessageActions fields

* Zapier integration as coming soon

* Update FormCleaner

* set default settings for confirmation integration

* WIP

* Finish validation for all integrations

* Updated purify, added integration formatData

* Fix testcase

* Ran pint; working on integration errors

* Handle integration events

* Remove old code related to notifications

* command for Delete Old Integration Events

* Display Past Events in Modal

* on Integration event create with status error send email to form creator

* Polish styling

* Minor improvements

* Finish badge and integration status

* Fix tests and add an integration event test

* Run linters

---------

Co-authored-by: Forms Dev <chirag+new@notionforms.io>
Co-authored-by: Julien Nahum <julien@nahum.net>
2024-03-28 18:46:29 +01:00
formsdev 6f61faa9ef
Notification & Integrations refactoring (#346)
* Integrations Refactoring - WIP

* integrations list & edit - WIP

* Fix integration store binding issue

* integrations refactor - WIP

* Form integration - WIP

* Form integration Edit - WIP

* Integration Refactor - Slack - WIP

* Integration Refactor - Discord - WIP

* Integration Refactor - Webhook - WIP

* Integration Refactor - Send Submission Confirmation - WIP

* Integration Refactor - Backend handler - WIP

* Form Integration Status field

* Integration Refactor - Backend SubmissionConfirmation - WIP

* IntegrationMigration Command

* skip confirmation email test case

* Small refactoring

* FormIntegration status active/inactive

* formIntegrationData to integrationData

* Rename file name with Integration suffix for integration realted files

* Loader on form integrations

* WIP

* form integration test case

* WIP

* Added Integration card - working on refactoring

* change location for IntegrationCard and update package file

* Form Integration Create/Edit in single Modal

* Remove integration extra pages

* crisp_help_page_slug for integration json

* integration logic as collapse

* UI improvements

* WIP

* Trying to debug vue devtools

* WIP for integrations

* getIntegrationHandler change namespace name

* useForm for integration fields + validation structure

* Integration Test case & apply validation rules

* Apply useform changes to integration other files

* validation rules for FormNotificationsMessageActions fields

* Zapier integration as coming soon

* Update FormCleaner

* set default settings for confirmation integration

* WIP

* Finish validation for all integrations

* Updated purify, added integration formatData

* Fix testcase

* Ran pint; working on integration errors

* Handle integration events

* command for Delete Old Integration Events

* Display Past Events in Modal

* on Integration event create with status error send email to form creator

* Polish styling

* Minor improvements

* Finish badge and integration status

* Fix tests and add an integration event test

* Lint

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-03-28 18:14:30 +01:00
Favour Olayinka 24200123cc
feat: form progress bar (#334)
* feat: form progress bar

* complete progress bar implementation

* fix  lint

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-03-18 16:28:01 +01:00
Julien Nahum 62971a2ef4 Lint PHP code psr-12, add GH action 2024-02-23 11:54:12 +01:00
Julien Nahum 42c65ae06f Added moderator impersonation 2024-01-19 14:27:04 +01:00
Julien Nahum 5a3978874a URL generation (front&back) + fixed authJWT for SSR 2024-01-11 14:07:27 +01:00
Julien Nahum 5647fba946 Merge main 2024-01-09 10:55:32 +01:00
Julien Nahum dd83528a3a JWT token IP restriction 2024-01-09 10:43:07 +01:00
Julien Nahum 8346fe7093 Merge changes from main 2024-01-05 11:12:25 +01:00
Julien Nahum e2dd0295ff Remove vform - working on form public page 2023-12-24 20:19:59 +01:00
Julien Nahum 5ee599fba5 Fix dislpay of mb file upload size 2023-12-15 12:43:05 +01:00
Julien Nahum 77ff8637b3 Fix domain limit count caching 2023-12-12 11:57:13 +01:00
Julien Nahum a5c7ed0d64 Fix form cached subscribe status 2023-12-04 10:43:24 +01:00
Julien Nahum 2bc319424c Fix custom domain limit for free users 2023-12-03 15:33:29 +01:00
Julien Nahum 901682e7dd Change workspace custom domains limits 2023-12-03 15:31:34 +01:00
Julien Nahum 8725977068 Fix owns user methods 2023-12-03 15:21:24 +01:00
Julien Nahum 57c695e976 Flush cache on subscription changes 2023-12-03 15:02:48 +01:00
Julien Nahum 508358d020 Disable form submissions count cache + increase ttl 2023-12-02 20:35:44 +01:00
Julien Nahum a6e208a88e Remove disable cache in favor flush/forget 2023-12-02 19:15:16 +01:00
Julien Nahum a18077934c
Cached some model properties and remove useless eager loading (#253)
* Cached some model properties and remove useless eager loading

* Remove ray call

* Remove double loading of forms

* Add disableCache feature when needed
2023-12-02 14:51:08 +01:00
Julien Nahum b50f579155
Adding Custom domains (#247)
* WIP

* wip

* Finished doing most of the work
2023-11-29 14:53:08 +01:00
formsdev d65c1be9b5
Create common function for userIsFormOwner & rewrite protected form (#244)
* Create common function for userIsFormOwner & rewrite protected form

* fix testcase
2023-11-28 11:23:04 +01:00
Julien Nahum dc5a828b8e Fix the user issue 2023-11-01 18:14:01 +01:00
Julien Nahum e9174238e4
Appsumo (#232)
* Implemented webhooks

* oAuth wip

* Implement the whole auth flow

* Implement file upload limit depending on appsumo license
2023-11-01 16:58:10 +01:00
formsdev 8a2e071c56
Combine integrations & notifications sections (#229)
* Combine integrations & notifications sections

* New section Form Access
2023-10-26 12:22:16 +01:00
formsdev 82d7be3235
Allow users to create private form templates (#210)
* Allow users to create private form templates

* Improve back-end efficiency

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2023-10-13 12:11:03 +02:00
Julien Nahum f0939f3992 Fix removed properties casting 2023-10-13 11:43:53 +02:00
Julien Nahum ebedaaf796 Various bug fixes 2023-10-13 10:05:10 +02:00
formsdev a297f2db50
Auto save form response based on form config (#217)
* Auto save form response based on form config

* Move confetti and autosave to customization

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2023-10-12 13:26:02 +02:00
JhumanJ c02af7800e Add extra pro users via env 2023-10-12 12:06:03 +02:00
Chirag Chhatrala 8e47b49e9a
Improve Templates (#183)
* Improve Templates

* Fix test case

* Update AI GenerateTemplate

* update openai client and GPT completer

* composer.lock

* Update types and list json with script

* Template changes

* fix on draft template

* Finish opnform templates

---------

Co-authored-by: Forms Dev <chirag+new@notionforms.io>
Co-authored-by: Julien Nahum <julien@nahum.net>
2023-09-08 13:00:28 +02:00
formsdev c0a8f0d2bd
Alert for Draft Form (#180)
* 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

* Alert for Draft Form/View
2023-08-31 10:56:14 +02:00
formsdev 662088e20f
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
2023-08-30 14:20:14 +02:00
formsdev ec26c211d6
Better webhooks (#155)
* 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

* fix test case
2023-08-30 12:37:08 +02:00
formsdev 01a01a8c72
Custom SEO (#154)
* 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

* remvoe fix condition
2023-08-30 11:43:11 +02:00
formsdev fb79a5bf3e
Enable pricing (#151)
* 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

* Pricing page new UI

* form cleaner

* Polish changes

* Fixed tests

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2023-08-30 09:58:29 +02:00
formsdev e47dea7936
Safer slugs (#135)
* Safer slugs

* fix test case for slug
2023-06-19 14:50:31 +02:00
Chirag Chhatrala df68b20f82
Confetti on form submission (#113) 2023-04-12 13:17:05 +02:00
Julien Nahum d5d5521a90 Queue AI processing to avoid request > 30 sec 2023-03-27 19:58:05 +02:00
Julien Nahum fd0ba3f2e0 Merge branch 'ai-forms' 2023-03-27 15:22:10 +02:00
Chirag Chhatrala 2b00137c76
Change Edit submission button text (#105) 2023-03-15 18:11:38 +01:00
Julien Nahum 472b1a8061 Automated the generation of form templates 2023-03-14 12:01:36 +01:00
Leonard Selvaraja b101a5daba
[Added] Discord Webhook Notification (#81) (#83)
* [Feature] Added Discord Webhook feature to forms

* Remove commented out svg

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2023-02-19 13:19:16 +01:00
Chirag Chhatrala d6930d0dc2
Form visibility closed (#91) 2023-02-19 13:11:50 +01:00
Chirag 0a33581c0a
Editable Submissions (#49)
* Editable Submissions

* refactor some code

* Update composer.lock

Co-authored-by: JhumanJ <julien@nahum.net>
2023-01-10 14:52:14 +01:00
Chirag f5ff94b508
Mysql Support (#60) 2023-01-05 15:16:16 +01:00
Brian Davis 771e3b01c5
Form views count compatible with mysql (#58)
getViewsCountAttribute is using a raw SQL statement that is specific to pgsql, it fails on MySQL/MariaDB.  Added a conditional to use mysql specific code to access data in the json array.  Crude, but no more so than the original?
2023-01-04 13:59:25 +01:00
JhumanJ 88812776db Added template editor separate role 2022-11-16 13:12:48 +01:00