Commit Graph

279 Commits

Author SHA1 Message Date
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
Julien Nahum af256bfccc Fix navbar featurebase 2024-06-03 12:14:14 +02:00
Julien Nahum 32cda4be6b Merge branch 'main' of https://github.com/JhumanJ/OpnForm 2024-06-03 12:05:23 +02:00
Julien Nahum 71031d0a6d Style new changes badge 2024-06-03 12:05:18 +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
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 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
Favour Olayinka f9dacd0a74
B8e23 submission list UI fixes (#426)
* fix password reset bug

* fix vSwitch component, column toggle, table ordering
2024-05-29 11:00:27 +02:00
Favour Olayinka 289bdf93e0
improve ui (#421)
* improve  ui

* fix typo

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-05-28 13:13:56 +02:00
Julien Nahum ee92ffdfad Fix initServiceClients call 2024-05-27 15:32:15 +02:00
Julien Nahum ca159804f9 Simplify syntax of InputHelp 2024-05-27 11:27:46 +02:00
Favour Olayinka 53f2e99ec3
fix help url (#422) 2024-05-25 18:57:57 +02:00
Favour Olayinka 55d50a24e9
A2683 fix decimal value page crash on scale input (#420)
* fix scale step crashing bug

* cleanup fixes

* cleanup
2024-05-24 10:34:47 +02:00
Julien Nahum 4dacce0682 Fix field padding 2024-05-22 14:41:48 +02:00
Favour Olayinka 8760925007
fix field width offset (#417)
* fix store content bug

* fix: form field indexing bug on working form store

* fix column width on  form fied

* fix field width offset

* UI polishing

* Fix cursor grab

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-05-22 14:36:42 +02:00
Favour Olayinka 292e32959b
6f647 unable to add a block (#411)
* fix store content bug

* fix: form field indexing bug on working form store

* fix column width on  form fied

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-05-22 09:38:22 +02:00
Favour Olayinka 443f4ef7b9
Checkbox input color (#413)
* stule: checkbox input color

* fix toggle switch input color

* clean up console.log
2024-05-20 13:57:36 +02:00
Chirag Chhatrala 795fcfc973
Select Design Changes (#409)
* Select Design Changes

* update theme file for SelectInput

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-05-16 14:50:40 +02:00
Favour Olayinka 12e5546ff3
fix store content bug (#410) 2024-05-14 19:35:56 +02:00
Julien Nahum 017af5b847 Resolve field width issues 2024-05-14 17:17:28 +02:00
Julien Nahum a4b7bfdbe4 Fix Amplitude: 1 instanciation, track utm 2024-05-14 16:24:31 +02:00
Favour Olayinka 1ae0420656
drag and drop to add block (#404)
* drag and drop to add  block

* Change styling for drag & drop

* Improve dragging/reordering fields

* fix drag dropped bug

* Fix spacing between form elements

* fix sorting bug

* fix: move field

* fix page break bugs

* fix move and add logic implementation

* Changed cursor to grab

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-05-13 14:47:59 +02:00
Favour Olayinka 6a18615a84
add c ancel button for confirm alert (#407)
* add c ancel button for confirm alert

* Refactor the No alertConfirm button

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-05-13 14:33:23 +02:00
Chirag Chhatrala b4a5843de6
fix custom seo meta (#408) 2024-05-13 13:24:41 +02:00
Favour Olayinka 34f92a6f34
slider input color (#391)
* slider input color

* fix slider input  accent  color

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-05-07 13:29:19 +02:00
Chirag Chhatrala f8ad962e5b
fix create page go back click (#402) 2024-05-07 12:44:54 +02:00
Favour Olayinka 49e6382bbb
nuxt ui notifications (#390)
* nuxt ui notifications

* use crispInit function

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-05-06 14:19:06 +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
Favour Olayinka 6d50bba76b
fix date input (#399)
Co-authored-by: Julien Nahum <julien@nahum.net>
2024-05-06 12:42:21 +02:00
Favour Olayinka 301aec9ed6
fix data limit bug (#392)
Co-authored-by: Julien Nahum <julien@nahum.net>
2024-05-01 12:39:46 +02:00
Favour Olayinka 7cad0a0c3d
feat: custom page favicon upload (#380)
* feat: custom  page  favicon  upload

* fix helper text

* fix ios icon

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-04-22 16:46:19 +02:00
Favour Olayinka e70d0955d0
fix show character limit not working (#386)
* fix  show character limit not working

* Improve code for char limit issue

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-04-22 16:42:38 +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 f07f1d16d6
form extra menu update (#382)
Co-authored-by: Julien Nahum <julien@nahum.net>
2024-04-22 15:55:31 +02:00
Favour Olayinka 5eb2dea3ef
fix: prefill with today date bug (#385) 2024-04-22 12:49:03 +02:00
Julien Nahum fe367a784c Merge branch 'main' of https://github.com/JhumanJ/OpnForm 2024-04-18 09:51:53 +02:00
Julien Nahum 517a7a01b1 Remove paid block by defaults for self hosted setup 2024-04-18 09:51:49 +02:00
Chirag Chhatrala 8776414fac
form editor goback improvement (#379)
Co-authored-by: Julien Nahum <julien@nahum.net>
2024-04-17 16:37:13 +02:00
Chirag Chhatrala dbf5fd5bcc
Field’s setting sidebar UI improvement (#378) 2024-04-17 16:34:26 +02:00
Favour Olayinka bcd45ce8a6
0351d front end linting (#377)
* feat: disable custom script for  trial users

* after lint fix

* frontend linting

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-04-15 19:39:03 +02:00
Don Benjamin 75c2107b6c
#365 Use relative urls in the browser to avoid needing to hardcode the domain name (#375)
* #365 Updated documentation for changing ports.  Updated the nuxt config to use separate internal and external api urls

* #365 Switch to using relative urls

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-04-15 16:02:28 +02:00
Chirag Chhatrala ae18bcbb8d
Fix Dark mode (#376)
Co-authored-by: Julien Nahum <julien@nahum.net>
2024-04-15 15:19:37 +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 a7517252c1
Object.hasOwn & hasOwnProperty replace with lodash has (#367)
* Object.hasOwn & hasOwnProperty replace with lodash has

* fix _has
2024-04-03 11:49:33 +02:00
Julien Nahum b93f421e39 Fix slow HMR because of duplicated TW import 2024-04-01 13:26:22 +02:00
Julien Nahum a595972c88 Fix dark mode 2024-03-29 14:50:55 +01:00
Julien Nahum 762aaf3b0a Mark slack notification as pro 2024-03-28 18:58:45 +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