Commit Graph

126 Commits

Author SHA1 Message Date
Julien Nahum 0adce5a2ff
Migrate front-end to Nuxt app (#284)
* wip

* Managed to load a page

* Stuck at changing routes

* Fixed the router, and editable div

* WIP

* Fix app loader

* WIP

* Fix check-auth middleware

* Started to refactor input components

* WIP

* Added select input, v-click-outside for vselect

* update vselect & phone input

* Fixed the mixin

* input component updates

* Fix signature input import

* input component updates in vue3

* image input in vue3

* small fixes

* fix useFormInput watcher

* scale input in vue3

* Vue3: migrating from vuex to Pinia (#249)

* Vue3: migrating from vuex to Pinia

* toggle input fixes

* update configureCompat

---------

Co-authored-by: Forms Dev <chirag+new@notionforms.io>

* support vue3 query builder

* Refactor inpus

* fix: Vue3 Query Builder - Logic Editor (#251)

* support vue3 query builder

* upgrade

* remove local from middleware

* 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>

* Vue 3 better animation (#257)

* vue-3-better-animation

* Working on migration to vueuse/motion

* Form sidebar animations

* Clean code

* Added animations for modal

* Finished implementing better animations

---------

Co-authored-by: Forms Dev <chirag+new@notionforms.io>

* Work in progress

* Migrating amplitude and crisp plugin/composable

* Started to refactor pages

* WIP

* vue3-scroll-shadow-fixes (#260)

* WIP

* WIP

* WIP

* Figured out auth & middlewares

* WI

* Refactoring stores and templates pages to comp. api

* Finishing the templates pages

* fix collapsible

* Finish reworking most templates pages

* Reworked workspaces store

* Working on home page and modal

* Fix dropdown

* Fix modal

* Fixed form creation

* Fixed most of the form/show pages

* Updated cors dependency

* fix custom domain warning

* NuxtLink migration (#262)

Co-authored-by: Forms Dev <chirag+new@notionforms.io>

* Tiny fixes + start pre-rendering

* migrate-to-nuxt-useappconfig (#263)

* migrate-to-nuxt-useappconfig

* defineAppConfig

---------

Co-authored-by: Forms Dev <chirag+new@notionforms.io>

* Working on form/show and editor

* Globally import form inputs to fix resolve

* Remove vform - working on form public page

* Remove initform mixin

* Work in progress for form create guess user

* Nuxt Migration notifications (#265)

* Nuxt Migration notifications

* @input to @update:model-value

* change field type fixes

* @update:model-value

* Enable form-block-logic-editor

* vue-confetti migration

* PR request changes

* useAlert in setup

* Migrate to nuxt settings page AND remove axios (#266)

* Settings pages migration

* remove axios and use opnFetch

* Make created form reactive (#267)

* Remove verify pages and axios lib

---------

Co-authored-by: Julien Nahum <julien@nahum.net>

* Fix alert styling + bug fixes and cleaning

* Refactor notifications + add shadow

* Fix vselect issue

* Working on page pre-rendering

* Created NotionPages store

* Added sitemap on nuxt side

* Sitemap done, working on aws amplify

* Adding missing module

* Remove axios and commit backend changes to sitemap

* Fix notifications

* fix guestpage editor (#269)

Co-authored-by: Julien Nahum <julien@nahum.net>

* Remove appconfig in favor of runtimeconfig

* Fixed amplitude bugs, and added staging environment

* Added amplify file

* Change basdirectory amplify

* Fix loading bar position

* Fix custom redirect (#273)

* Dirty form handling - nuxt migration (#272)

* SEO meta nuxt migration (#274)

* SEO meta nuxt migration

* Polish seo metas, add defaults for OG and twitter

---------

Co-authored-by: Julien Nahum <julien@nahum.net>

* migrate to nuxt useClipboard (#268)

* Set middleware on pages (#278)

* Se middleware on pages

* Se middleware on account page

* add robots.txt (#276)

* 404 page migration (#277)

* Templates pages migration (#275)

* NuxtImg Migration (#279)

Co-authored-by: Julien Nahum <julien@nahum.net>

* Update package json

* Fix build script

* Add loglevel param

* Disable page pre-rendering

* Attempt to allow svgs

* Fix SVGs with NuxtImage

* Add .env file at AWS build time

* tRGIGGER deploy

* Fix issue

* ANother attrempt

* Fix typo

* Fix env?

* Attempt to simplify build

* Enable swr caching instead of prerenderign

* Better image compression

* Last attempt at nuxt images efficiency

* Improve image optimization again

* Remove NuxtImg for non asset files

* Restore templates pages cache

* Remove useless images + fix templates show page

* image optimization caching + fix hydratation issue form template page

* URL generation (front&back) + fixed authJWT for SSR

* Fix composable issue

* Fix form share page

* Embeddable form as a nuxt middleware

* Fix URL for embeddable middleware

* Debugging embeddable on amplify

* Add custom domain support

* No follow for non-production env

* Fix sentry nuxt and custom domain redirect

* remove api prefix from routes (#280)

* remove api prefix from routes

* PR changes

---------

Co-authored-by: Julien Nahum <julien@nahum.net>

* nuxt migration -file upload - WIP (#271)

Co-authored-by: Julien Nahum <julien@nahum.net>

* Fix local file upload

* Fix file submissions preview

* API redirect to back-end from nuxt

* API redirect to back-end from nuxt

* Remove old JS app, update deploy script

* Fix tests, added gh action nuxt step

* Updated package-lock.json

* Setup node in GH Nuxt action

* Setup client directory for GH workflow

---------

Co-authored-by: Forms Dev <chirag+new@notionforms.io>
Co-authored-by: Chirag Chhatrala <60499540+chiragchhatrala@users.noreply.github.com>
Co-authored-by: Rishi Raj Jain <rishi18304@iiitd.ac.in>
Co-authored-by: formsdev <136701234+formsdev@users.noreply.github.com>
2024-01-15 12:14:47 +01:00
Julien Nahum c01f566ba9 Unify domain validation regex to fix custom domain issues 2024-01-10 11:32:22 +01:00
Julien Nahum dd83528a3a JWT token IP restriction 2024-01-09 10:43:07 +01:00
Julien Nahum 0809200827 Fix form maxfile size + clean formResource 2024-01-08 16:50:22 +01:00
Julien Nahum 22f2fb6685 Add console to generate tax exports 2024-01-08 13:15:56 +01:00
Julien Nahum 32f98d3d18 Fixed custom domain issues 2024-01-05 11:11:27 +01:00
Julien Nahum 6a0aef864b Allow longer TLDs 2023-12-29 12:26:59 +01:00
Julien Nahum f3e4dcd272 Fix validation select issue 2023-12-18 10:52:29 +01:00
Julien Nahum 5ee599fba5 Fix dislpay of mb file upload size 2023-12-15 12:43:05 +01:00
Julien Nahum 77ff8637b3 Fix domain limit count caching 2023-12-12 11:57:13 +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 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