Commit Graph

72 Commits

Author SHA1 Message Date
Julien Nahum 3280e38ee1
Docker compose setup (#513)
* fix password reset bug

* self hosted mode middleware changes on  pages

* fix lint

* wip: self hosted changes

* wip: self hosted frontend changes

* wip self hosted mode changes

* typo correction

* remove commented logic

* fix env variable names

* fix lint issues

* fix minor updates

* #445 Switched from single monolithic docker image to a docker-compose
 orchestrated network of services

* Automatically configures shared secret

* Working through some issues

* Use local file storage

* Moved the dockerfiles

* Fixed some issues when building from clean

* Corrected workflow

* Hopefully schedules everything correctly now

* Prep storage for worker process as well

* .env files are required

* Pinned dependency versions

* Disable self hosted in the client as well

* Removed double defaulting logic

* Using regexs is more succinct

* Added FRONT_URL environment variable

* Merge 236e4-self-hosted-mode-changes

* Improve inital user setup

* Finalized the new docker-compose setup

* Fix back-end formatting issues

---------

Co-authored-by: Frank <csskfaves@gmail.com>
Co-authored-by: Don Benjamin <don@webhammer.co.uk>
2024-08-05 12:06:20 +02:00
Favour Olayinka 90ff91b1e9
Team functionality (#459)
* add api enpoints for adding, removing, updating user to workspace and leaving workspace

* feat: updates client site workspace settings

* refactor and add domain setting ui in modal

* move workspace user functionality to its own component

* adds tests

* fix linting

* updates select input to FlatSelectInput

* moves workspace user role edit to seperated component

* move user adding to its own component

* adds check to usure users exist before checking is admin

* fix loading users

* feat: invite user to team functionality

* fix token coulmn

* fix self host mode changes

* tests for  user invite

* Refactor back-end

* Rename variables

* Improve some styling elements + refactor workspace settings

* More styling

* More UI polishing

* More UI fixes

* PHP linting

* Implemented most of the logic for team-functionnality

* Fix user avatar URL

* WIP remove users on cancellation

* Finished pricing for team functionality

* Fix tests

* Fix linting

* Added pricing_enabled helper

* Fix pricing_enabled shortcut

* Debug CI

* Disable pricing when testing

---------

Co-authored-by: LL-Etiane <lukongleinyuyetiane@gmail.com>
Co-authored-by: Lukong Etiane <83535251+LL-Etiane@users.noreply.github.com>
Co-authored-by: Julien Nahum <julien@nahum.net>
2024-07-04 17:21:36 +02:00
Julien Nahum 5a579893dc Fix sub type -> name | Laravel 11 upgrade 2024-06-15 12:10:41 +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
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 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 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
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
formsdev c73fcd226b
extramenu improvement (#353)
* extramenu improvement

* fix test cases
2024-03-19 15:17:23 +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 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 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 3a25178697 Fix impersonation for moderator 2024-01-24 17:45:29 +01:00
Julien Nahum d0dd1cfe39 Improve workspace creation 2024-01-22 14:40:17 +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 e0b6d422b1 Fix stripe redirect URL 2024-01-17 11:54:08 +01:00
Julien Nahum c6238d8880 Working on fixing form submissions 2024-01-16 17:41:01 +01:00
Julien Nahum 2ffc5311f9 Appsumo fix 2024-01-16 17:40:28 +01:00
Julien Nahum cc12a2dd1d API redirect to back-end from nuxt 2024-01-14 19:28:39 +01:00
Julien Nahum 91432c4aed Fix file submissions preview 2024-01-13 19:57:39 +01:00
Julien Nahum bf98497711 Fix local file upload 2024-01-13 18:17:24 +01:00
formsdev 57ce0e6114
remove api prefix from routes (#280)
* remove api prefix from routes

* PR changes

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-01-12 17:35:16 +01:00
Julien Nahum 5d78fc67c6 Merge branch 'main' into migrate-to-nuxt 2024-01-12 11:38:18 +01:00
Julien Nahum 5a3978874a URL generation (front&back) + fixed authJWT for SSR 2024-01-11 14:07:27 +01:00
Julien Nahum c01f566ba9 Unify domain validation regex to fix custom domain issues 2024-01-10 11:32:22 +01:00
Julien Nahum 6900fd572f Remove axios and commit backend changes to sitemap 2024-01-02 19:03:14 +01:00
Julien Nahum 3eed35e4c6 Add gb group link, pricing to sitemap 2023-12-11 14:00:42 +01:00
Julien Nahum 59c21511ad Fix form starts 2023-12-07 13:01:41 +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 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 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 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 2d0d4a65c2
Industry & Types template pages (#226)
* Industry & Types template pages

* fix sitemap for templates
2023-10-24 20:55:15 +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
JhumanJ c02af7800e Add extra pro users via env 2023-10-12 12:06:03 +02:00