Commit Graph

38 Commits

Author SHA1 Message Date
Boris Lepikhin 517bccc695
Zapier integration (#491)
* create zapier app

* install sanctum

* move OAuthProviderController

* make `api-external` middleware

* add zapier endpoints

* add tests

* token management

* zapier event handler

* add policy

* use `slug` instead of `id`

* wip

* check policies

* change api prefix to `external`

* ui tweaks

* validate token abilities

* open zapier URL

* zapier ui tweaks

* update zap

* Fix linting

* Added sample endpoints + minor UI changes

* Run PHP code linter

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-08-12 11:14:02 +02:00
Boris Lepikhin 24d33a9ebb
Google Sheet - OAuth "client" powered integrations (#415)
* fix `helpers.php`

* fix `.eslintrc.cjs`

* spreadsheet manager

* fetch providers. set `oauth_id` for integrations

* create spreadsheet on integration create event

* connect OAuth accounts

* display actions. connect account if missing

* cleanup

* handle form field change

* map integration data object to `SpreadsheetData`

* validate request

* wip

* redirect to integrations page

* fix refresh token

* add helper text

* add extra integration info

* refactor

* refresh google token

* fix validation

* add tests

* Fix linting issue

* Update composer lock file

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-06-05 15:35:46 +02:00
Chirag Chhatrala 4eec9aa02b
remove integration migration command (#400) 2024-05-06 12:34:45 +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 e1faba8239
Edit submissions file issue (#373)
* Edit submissions file issue fixed

* handleCompValChange with loader

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-04-15 15:12:36 +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
Julien Nahum 62971a2ef4 Lint PHP code psr-12, add GH action 2024-02-23 11:54:12 +01:00
Favour Olayinka e4531ac918
Form password customization (#286)
* feat: add seo, cover, logo and description to password protected forms

* add seo meta to password protected form

* fix: unused method and fixed form button color error

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-01-29 21:26:01 +01:00
Julien Nahum c0f01f4b84 Fix custom domain setting + fix maxFileSize preview 2024-01-22 14:28:22 +01:00
Julien Nahum 42c65ae06f Added moderator impersonation 2024-01-19 14:27:04 +01:00
Julien Nahum 07dbc3adf3 Fix form password + remove branding 2024-01-16 18:27:58 +01:00
Julien Nahum 91432c4aed Fix file submissions preview 2024-01-13 19:57:39 +01:00
Julien Nahum 0809200827 Fix form maxfile size + clean formResource 2024-01-08 16:50:22 +01:00
Julien Nahum 5ee599fba5 Fix dislpay of mb file upload size 2023-12-15 12:43:05 +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
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 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 4614dc0f18
Pre-fill support for file input (#222)
Co-authored-by: Julien Nahum <julien@nahum.net>
2023-10-20 11:00:35 +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 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 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 1d5c6f4895
Feature: Delete submission (#137)
* Feature: Delete submission

* Small polishing

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2023-06-30 15:53:04 +02: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 07f44ec048
Signature block (img) (#39)
* Signature block (img)

* Singature input UI changes

* Style the signature input

Co-authored-by: Julien Nahum <jhumanj@MacBook-Pro-de-Julien.local>
2022-12-22 11:53:33 +01:00
Julien Nahum 75d3892e07 Cleaner templates 2022-12-01 13:13:32 +01:00
JhumanJ 88812776db Added template editor separate role 2022-11-16 13:12:48 +01:00
Chirag 310df29e73
05444 save content of form in browser storage if not submitted (#26)
* Save content of form in browser storage if not submitted

* Rename key form + fix tests
2022-11-16 11:20:28 +01:00
JhumanJ 85b32cb0ea Fix last edited in formresource 2022-11-01 14:46:31 +01:00
Julien Nahum 42955ab9d0
E45fd new UI form editor (#17)
* New UI - Form Editor

* edit & create save form changes

* form editor changes

* form editor changes

* last updated human readable

* change nt-blue to blue for icon

* change icons color if block collapse open/close

* Working on form editor

* More polishing

* Finished working on the new form editor design

Co-authored-by: Chirag Chhatrala <chirag@notionforms.io>
Co-authored-by: Julien Nahum <jhumanj@MacBook-Pro-de-Julien.local>
2022-10-26 16:44:47 +02:00
Chirag 8f528155f5
Choose Visible columns & in csv with removed field (#11)
* Choose Visible columns & in csv with removed field

* toggle UI fixes
2022-10-17 09:45:28 +02:00
Chirag 36e038a23b
New feature visibility - public/draft (#10)
* New feature visibility - public/draft

* fix bg for dark mode
2022-10-16 19:27:14 +02:00
JhumanJ 0bded107d6 Merge branch 'main' of https://github.com/JhumanJ/OpnForm 2022-09-21 17:23:41 +02:00
JhumanJ 18ed28da2e Apply previous changes: slack webhooks, date range issue, 12h am/pm format, today preifl, api-keys 2022-09-21 17:23:37 +02:00
Chirag 8ac5f5b9d8
Improved DB performance & loading times (#1) 2022-09-21 14:59:32 +02:00
Julien Nahum f8e6cd4dd6 Initial commit 2022-09-20 21:59:52 +02:00