Commit Graph

207 Commits

Author SHA1 Message Date
Favour Olayinka 3ddb08a571
D4310 new input section (#446)
* fix password reset bug

* bottom margin

* fix implicit custom validation, field margin
2024-06-10 18:06:11 +02:00
Favour Olayinka bec8e86b59
2f3fd laravel 11 upgrade (#436)
* fix password reset bug

* upgrade to  laravel 11

* composer.lock

* fix migration issues

* use ValidationRule Contract

* rename password_resets table

* implemented casts as protected function

* update env variables

* fix optional property

* fix validation issues

* use <env> on php unit xml

* fix pint

* cmposer.lock

* composer json fixes

* fix composer dependencies, remove  faker

* remove unused class

* remove test class

* fix default value for mysql migration

* linting

* expression syntax fix

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-06-10 16:10:14 +02:00
Chirag Chhatrala ca0864d0c0
Improve google sheet integration (#437)
* fix integration modal error

* Provider card icon dynamic

* Google Sheets Integration Actions fetch integration data till interval

* fix show form tablist - params slug issue

* validation on delete connection

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-06-07 12:12:24 +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 817b2f392f
Fixed - Guest users can’t upload images (#435) 2024-06-05 15:01:23 +02:00
Chirag Chhatrala 31455e7c24
confirmation email integration fixes (#434) 2024-06-03 10:14:59 +02:00
Chirag Chhatrala 4b9db042ed
fix lint error (#431) 2024-05-30 06:04:55 +02:00
Julien Nahum 530f05d228 Fix validation for existing forms 2024-05-29 16:54:26 +02:00
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
Julien Nahum 0cb7f86d93
D4310 new input section (#427)
* wip: validation condition input

* form custom validation condition

* Default message on form condition validation

* field validation condition test

* fix linting

* update tests,  add pass test

* Polish UI

* Re-order validation + fix logic issue

* Move custom validation after default validation

---------

Co-authored-by: Frank <csskfaves@gmail.com>
2024-05-29 11:53:09 +02:00
Favour Olayinka 6673dff504
Conditioned field validation (#418)
* wip: validation condition input

* form custom validation condition

* Default message on form condition validation

* field validation condition test

* fix linting

* update tests,  add pass test

* Polish UI

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-05-29 11:40:14 +02:00
Julien Nahum 4f3b37e485 Bump GPT version 2024-05-14 17:26:38 +02:00
Favour Olayinka 9f7cdd09fd
fix date validation (#395)
Co-authored-by: Julien Nahum <julien@nahum.net>
2024-05-06 14:16:26 +02:00
Favour Olayinka 80cdce9502
A227b new admin features (#388)
* wip: adminfeatures

* wip: admin features

* wip: admin features, password reset, deleted forms

* fix linting

* fix pinting

* fix bug

* fix bug

* remove testing

* fixes on deleted forms, removed unused functions

* fix pint

* admin  feature updated

* fix linting warning

* fix workspace subscription tag

* Final touches

* Clean console.log

* Added admin logs

* Fix linting

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-05-06 14:12:05 +02:00
Chirag Chhatrala 4eec9aa02b
remove integration migration command (#400) 2024-05-06 12:34:45 +02:00
Julien Nahum 8cca48e419 Change estonia vat rate to 22% 2024-04-30 17:59:34 +02:00
Chirag Chhatrala 053a4a4976
Refactor Admin Panel with more features (#384)
Co-authored-by: Julien Nahum <julien@nahum.net>
2024-04-22 16:11:21 +02:00
Favour Olayinka eeb3ec3b77
re-enable custom scripts while trialing (#383)
* feat: disable custom script for  trial users

* fix: logic error for trial users

* disable trialing check for  custom script

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-04-22 15:59:02 +02:00
Chirag Chhatrala 56b7ca9ad6
fix store signature (#381) 2024-04-18 10:29:02 +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 4f4f7128fa
New Date input (#368)
Co-authored-by: Julien Nahum <julien@nahum.net>
2024-04-15 15:09:19 +02:00
Chirag Chhatrala 615ac88f89
Integration cleanings (#366)
Co-authored-by: Forms Dev <chirag+new@notionforms.io>
2024-04-02 13:29:00 +02:00
Julien Nahum 3420216205 Email notifications in the free plan 2024-03-28 19:03:09 +01: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 2191f46214
fix loading show form page (#361)
Co-authored-by: Julien Nahum <julien@nahum.net>
2024-03-25 16:05:24 +01:00
Julien Nahum e517cba88a
Fix issue with form analytics for submissions (#362)
* Password not working when Notion embed - Fixed (#360)

* fix tests

---------

Co-authored-by: formsdev <136701234+formsdev@users.noreply.github.com>
2024-03-25 11:30:00 +01:00
Julien Nahum 31e5624aec Skip jwt token security when impersonating 2024-03-21 17:55:15 +01:00
Julien Nahum 7006220ee2 Remove migration script for number input 2024-03-19 15:34:35 +01:00
formsdev c8628ed840
Separate input type for Rating,Scale,Slider (#351)
* Separate input type for Rating,Scale,Slider

* rating, scale, slider add in test cases

* Allow field type change for new types

* Added options to db factory

* Fix linting

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-03-19 15:27:21 +01:00
formsdev c73fcd226b
extramenu improvement (#353)
* extramenu improvement

* fix test cases
2024-03-19 15:17:23 +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
formsdev 26ad93a230
Add S3KeyCleaner (#348) 2024-03-18 16:24:48 +01:00
Julien Nahum 868d88bd4c Fix conversion export issue 2024-03-15 11:43:50 +01:00
Favour Olayinka 7b89ebdcb9
file upload max size feature (#328)
* file upload max size feature

* Change label

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-03-12 18:27:09 +01:00
Favour Olayinka 29fdc961fc
move form to another workspace (#339)
* move form to another workspace

* style: apply lint

* fix typo error

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-03-12 17:55:19 +01:00
Julien Nahum 2ac9b96284 Fix file type case sensitive validation 2024-02-29 10:49:55 +01:00
Favour Olayinka 8a067012e5
fix email reply to issue (#326)
* fix email reply to issue

* fix: email  test  issue

* fix: phpunit  file

* style: fix lint
2024-02-27 15:20:50 +01:00
Julien Nahum 62971a2ef4 Lint PHP code psr-12, add GH action 2024-02-23 11:54:12 +01:00
Julien Nahum e85e4df7fe Fix CSV exports (missing data, add id, column name clash) 2024-02-23 10:50:35 +01:00
Favour Olayinka e8aa1ac103
fix: signed url for webhooks (#325) 2024-02-20 12:49:30 +01:00
Julien Nahum 3fd5077491 Change tax output prefix filename 2024-02-19 17:23:15 +01:00
Julien Nahum b7c4f8e010 Fix layout block actions + z index editor sidebar 2024-02-10 13:20:41 +01:00
Favour Olayinka ef83ffcf77
3a703 admin edit submission (#305)
* wip: admin submission edit feature

* wip: refresh form submission after update

* wip: connect submissions page data to store

* Fixed the submission loading issue

* test: admin edit submission feature test

* Fix pending submission, editabe submission & more (#306)

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-02-03 12:50:57 +01:00
Favour Olayinka 38cb133e52
Fa005 submissions file link in notifications (#298)
* fix: unsigned url in form email

* fix: signed file link in email

* fix: use limit function for file  label name

* feat: use signed url  for files in email and csv export

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-01-31 12:21:28 +01:00
Julien Nahum f7b6411383 Fix template generation using gpt4 2024-01-30 12:32:33 +01:00
Julien Nahum d0a7c4d2c3 Merge branch 'main' of https://github.com/JhumanJ/OpnForm 2024-01-30 08:59:34 +01:00
Julien Nahum 05a5c75dd0 Fix Generate Template 2024-01-30 08:59:28 +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