Commit Graph

166 Commits

Author SHA1 Message Date
Chirag Chhatrala 24276f0b95
Submission table pagination & migrate chart to vue3 (#254)
* Submission table Pagination in background

* migrate chart to vue3

* Form submissions pagination

* Form submissions

* Fix form starts

* Fix openSelect key issue

---------

Co-authored-by: Forms Dev <chirag+new@notionforms.io>
Co-authored-by: Julien Nahum <julien@nahum.net>
2023-12-07 14:31:56 +01:00
Julien Nahum 59c21511ad Fix form starts 2023-12-07 13:01:41 +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 0b57ab4cdd Better error message for Caddy authorization 2023-11-30 11:20:19 +01:00
Julien Nahum ac968403b6 Log caddy request, cache in vuex WS domain changes 2023-11-29 16:16:31 +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 57fdfb25a0
File input new design (#246)
Co-authored-by: Julien Nahum <julien@nahum.net>
2023-11-28 11:31:57 +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
formsdev e99a0552bb
Fix template limit slider (#239) 2023-11-15 10:08:53 +01:00
formsdev 6ffe614a0e
fix template api for public list (#237) 2023-11-10 14:47:07 +01:00
Julien Nahum 9e2bf1c280 Set user when upgrading from AppSumo 2023-11-08 22:18:22 +01:00
Julien Nahum 796b69f60f Fix license change AppSumo 2023-11-08 21:56:24 +01:00
formsdev 8de1c94291
Fix the template API (#234) 2023-11-06 10:35:21 +01:00
Julien Nahum 88a1e18055 Fix and improve license webhook controller 2023-11-01 20:36:03 +01:00
Julien Nahum 04a367d120 Added license webhook logs 2023-11-01 20:17:39 +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 2e52518aa7
fix submission confirmation mail submission_id (#230)
* fix submission confirmation mail submission_id

* fix condition
2023-10-27 09:18:08 +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
Julien Nahum 8e5acab8bf Fix AI generation + remove valet tls 2023-10-25 17:55:53 +02:00
formsdev 2d0d4a65c2
Industry & Types template pages (#226)
* Industry & Types template pages

* fix sitemap for templates
2023-10-24 20:55:15 +02: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
formsdev e6905b7bb4
URL input validation rule (#223) 2023-10-17 09:09:45 +02: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
formsdev f7ecd6f233
Phone input prefill country issue fixed (#213)
* fix prefill phone issue

* js phone parse fixes

* revert last change

* fix phone UI

* Code optimize

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2023-10-03 17:50:46 +02:00
Julien Nahum 54f92f844f Fix phone validation 2023-10-01 09:43:14 +02:00
Julien Nahum ae41af4f0e More precise phone number validation 2023-09-23 11:42:22 +02:00
formsdev 4c56e8ba85
Phone Input - option for simple text input (#207)
Co-authored-by: Julien Nahum <julien@nahum.net>
2023-09-20 12:14:08 +02:00
formsdev adcb20b715
Submissions table improvements (#203)
* Submissions table improvements

* expoert csv fixes

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2023-09-18 15:18:37 +02:00
formsdev d75975bdec
Fix phone input (#201)
* Fix phone input

* remove extra

* fix factory

* Fix phone input

* Validate phone number rule

* Prefill support for country only

* Fix phone input error

* fix tests

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2023-09-18 15:12:05 +02:00
Sutirtha Bharati Das a53677d2ed
ENH: Phone Input Component (#189)
* #170-ENH: Created custom dropdown phone input

* #170-ENH: Added phone_number rules

* #170-ENH: Added phone_number rules

* #170-ENH: Added separate Rule for phone number input, starting 0 phone number is ignored, added regex to ignore non digit phone input

* #170-ENH: Removed global registration of CountryFlag

* #170-ENH: Using VSelect component for country selection, added prop for dropdown styling

* #170-ENH: Updated phone number rule

* #170-ENH: Added margins to country selector

---------

Co-authored-by: Sutirtha <sdas@republicfinance.com>
Co-authored-by: Julien Nahum <julien@nahum.net>
2023-09-12 10:13:10 +02:00
Julien Nahum 7119ec2304 Increase template description limit 2023-09-08 15:30:57 +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 a06a43c01c
Customised email reply to (#186)
Co-authored-by: Julien Nahum <julien@nahum.net>
2023-09-06 10:04:08 +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 057bfde8b7
Field Logic Error Handling - frontend (#162)
* Field Logic Error Handling - frontend

* Fix test case

* fix expected_type for multi select

* fix variable

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2023-08-30 13:28:52 +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 3c71be5d45
Storage support for local disk (#165)
* Storage support for local disk

* UI change ai feature page

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2023-08-16 11:59:07 +03:00
formsdev c42c7ca97c
Validation logic bug, required with logic hidden (#164) 2023-08-16 11:50:51 +03:00
formsdev 7e75343495
If slack log url not set then not log to slack (#166) 2023-08-10 17:49:36 +03:00
formsdev 524d4db56e
Reply to for email notifications (#152)
* Reply to for email notifications

* Polish Code
2023-07-26 09:50:27 +02:00
formsdev 1bcd6390f9
image upload support SVG (#150) 2023-07-19 10:09:25 +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
formsdev 645a3712d6
Bug hidden date pre-fill adds time (#138) 2023-06-30 15:52:50 +02:00
formsdev e47dea7936
Safer slugs (#135)
* Safer slugs

* fix test case for slug
2023-06-19 14:50:31 +02:00
Chirag Chhatrala cd14084d7a
Block Temporary mail addresses (#116)
* Block Temporary mail addresses

* Update vapor, disable cache disposable mail

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2023-04-28 11:37:39 +02:00
Chirag Chhatrala 45fb114554
Fix Policy conditions (#117) 2023-04-28 11:33:16 +02:00
Chirag Chhatrala e165242e57
Editable submission File input support (#120) 2023-04-26 17:05:02 +02:00
Chirag Chhatrala 3f2fe352e8
Field Help as Html text & Help Position (#115)
* Field Help as Html text & Help Position

* Re-organize field options modal

* put margin for above help
2023-04-19 10:13:50 +02:00
Chirag Chhatrala 9784e873f2
Block hide, width, align (#109) 2023-04-12 13:36:12 +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
Julien Nahum f4ab98a2b0 WIP 2023-03-26 12:54:12 +02:00
Julien Nahum 4bb2b59132 WIP 2023-03-23 14:07:55 +01:00
Chirag Chhatrala 8d11d2c976
Logic for disable fields (#103)
* Feature: Disabled fields

* disable field for rating

* logic for disable fields

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2023-03-22 15:50:29 +01:00
Chirag Chhatrala db43b2825c
Required star rating (#106)
* Required star rating

* rating validation
2023-03-22 15:49:00 +01:00
Chirag Chhatrala 2b00137c76
Change Edit submission button text (#105) 2023-03-15 18:11:38 +01:00
Chirag Chhatrala 825492bf45
Fix logic operator issue (#104)
Co-authored-by: Julien Nahum <julien@nahum.net>
2023-03-15 18:11:25 +01:00
Julien Nahum 472b1a8061 Automated the generation of form templates 2023-03-14 12:01:36 +01:00
Chirag Chhatrala 29c09d9ea2
File upload fixes (#93)
Co-authored-by: Julien Nahum <julien@nahum.net>
2023-02-22 17:00:07 +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 eb3a11c992
webhooks & slack changes (#90) 2023-02-19 13:12:13 +01:00
Chirag Chhatrala d6930d0dc2
Form visibility closed (#91) 2023-02-19 13:11:50 +01:00
Chirag Chhatrala 9137282eba
Fix new date input timezone issue (#88)
* fix timezone issue on new date input

* date range validation error
2023-02-13 09:50:19 +01:00
Chirag 049649a81e
remove extra old code + fix middleware JS set layout (#82)
Co-authored-by: Julien Nahum <julien@nahum.net>
2023-01-28 12:55:15 +01:00
Chirag 1b15597e0e
Fix logic on hidden, loading on edit submission (#75) 2023-01-25 16:10:33 +01:00
Chirag e073ca02a8
Content Length Logic Condition (#63) 2023-01-21 12:58:01 +01:00
Chirag a0750573ff
31c1b database submission action update not working (#51)
* Editable Submissions

* Database submission action-Update Not Working

Co-authored-by: JhumanJ <julien@nahum.net>
2023-01-13 14:56:37 +01:00
Chirag 1d3541f785
Fix a logic check bug if value not in form param (#70)
* Fix a logic check bug if value not in form param

* Fix isEmpty condition checker
2023-01-13 14:47:44 +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
JhumanJ 977cd1647a Add hidden data to webhook payload 2023-01-09 14:12:24 +01:00
Chirag f5ff94b508
Mysql Support (#60) 2023-01-05 15:16:16 +01:00
Chirag 5486768125
Better SEO form previews (#61) 2023-01-05 15:16:06 +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
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
Chirag cc0a656223
Simple date input (#38) 2022-12-14 09:55:17 +01:00
Chirag a85708e787
fix create date issue for templates (#36) 2022-12-05 15:21:25 +01:00
Julien Nahum 75d3892e07 Cleaner templates 2022-12-01 13:13:32 +01:00
Chirag 567b7a44dc
SEO social meta (#35)
* SEO social meta

* Small wording changes

Co-authored-by: Julien Nahum <jhumanj@MacBook-Pro-de-Julien.local>
2022-11-29 15:17:30 +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
Chirag 0c0a9f1349
fix file name unicode issue (#28) 2022-11-15 11:07:07 +01:00
Chirag 0292dc0ec6
Remove branding in notifications emails - NEW (#25)
* Remove branding in notifications emails

* Inlcude files vendor email

* noBranding on email notify

Co-authored-by: Julien Nahum <jhumanj@MacBook-Pro-de-Julien.local>
2022-11-09 11:12:06 +01:00
Chirag d694c4d8ce
Option to block past/future dates (#24) 2022-11-06 12:34:19 +01:00
Chirag 8b6814c373
Code block (#21)
Co-authored-by: Julien Nahum <jhumanj@MacBook-Pro-de-Julien.local>
2022-11-06 12:25:38 +01:00