Commit Graph

452 Commits

Author SHA1 Message Date
Julien Nahum b19baaf8f3 Fix user impersonation 2024-01-16 11:23:16 +01:00
Julien Nahum a6d3dc0c80 Fix user domain lowercase header 2024-01-16 10:54:12 +01:00
Julien Nahum d7f6cf439e More debugging 2024-01-16 10:47:09 +01:00
Julien Nahum d796341758 Fix custom domain forward header name 2024-01-16 10:38:31 +01:00
Julien Nahum c35c505114 Debugging custom domain 2024-01-15 16:49:24 +01:00
Julien Nahum 47c779fd9a Remove error log for getDomain 2024-01-15 16:41:50 +01:00
Julien Nahum e41929e4c8 Debug getDomain in prod 2024-01-15 16:17:10 +01:00
Julien Nahum cf499e7274 Fix Navbar help button 2024-01-15 13:18:02 +01:00
Julien Nahum 95b34ab680 Fix sitemap source URL 2024-01-15 13:00:18 +01:00
Julien Nahum ce83534f95 Cleaned up nuxt migration 2024-01-15 12:27:50 +01:00
Julien Nahum 70abfe45f5 Cleaning up 2024-01-15 12:26:22 +01:00
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 e889d68e9f Setup client directory for GH workflow 2024-01-15 11:41:39 +01:00
Julien Nahum 496f65040a Setup node in GH Nuxt action 2024-01-15 11:34:41 +01:00
Julien Nahum 104f722bc1 Updated package-lock.json 2024-01-15 11:28:43 +01:00
Julien Nahum 80962678c1 Fix tests, added gh action nuxt step 2024-01-14 20:52:14 +01:00
Julien Nahum 675b88f75a Remove old JS app, update deploy script 2024-01-14 20:05:02 +01:00
Julien Nahum cc12a2dd1d API redirect to back-end from nuxt 2024-01-14 19:28:39 +01:00
Julien Nahum 1cfd6ef163 API redirect to back-end from nuxt 2024-01-14 19:28:30 +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 ff7e1ac7c3
nuxt migration -file upload - WIP (#271)
Co-authored-by: Julien Nahum <julien@nahum.net>
2024-01-13 14:34:50 +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 be43c5cae3 Fix sentry nuxt and custom domain redirect 2024-01-12 17:32:10 +01:00
Julien Nahum b29cdf8d8a No follow for non-production env 2024-01-12 15:59:01 +01:00
Julien Nahum ea7041be28 Add custom domain support 2024-01-12 15:43:28 +01:00
Julien Nahum a0513c4458 Debugging embeddable on amplify 2024-01-12 12:00:01 +01:00
Julien Nahum 4115b44f1d Fix URL for embeddable middleware 2024-01-12 11:44:59 +01:00
Julien Nahum 5d78fc67c6 Merge branch 'main' into migrate-to-nuxt 2024-01-12 11:38:18 +01:00
Julien Nahum 198aac246c Embeddable form as a nuxt middleware 2024-01-12 11:36:52 +01:00
Julien Nahum 838ddcf2e7 Fix form share page 2024-01-11 17:29:11 +01:00
Julien Nahum aa0b9ae02c Fix composable issue 2024-01-11 17:16:50 +01:00
Julien Nahum 5a3978874a URL generation (front&back) + fixed authJWT for SSR 2024-01-11 14:07:27 +01:00
Julien Nahum 630ae1df1d image optimization caching + fix hydratation issue form template page 2024-01-11 09:48:57 +01:00
Julien Nahum 668b0217d2 Remove useless images + fix templates show page 2024-01-10 17:22:25 +01:00
Julien Nahum 7665539657 Restore templates pages cache 2024-01-10 16:18:23 +01:00
Julien Nahum 9750406025 Remove NuxtImg for non asset files 2024-01-10 16:17:47 +01:00
Julien Nahum 158dba64dc Improve image optimization again 2024-01-10 14:53:52 +01:00
Julien Nahum 32c09635ac Last attempt at nuxt images efficiency 2024-01-10 14:20:51 +01:00
Julien Nahum c01f566ba9 Unify domain validation regex to fix custom domain issues 2024-01-10 11:32:22 +01:00
Julien Nahum 5647fba946 Merge main 2024-01-09 10:55:32 +01:00
Julien Nahum dd83528a3a JWT token IP restriction 2024-01-09 10:43:07 +01:00
Julien Nahum 77532f8cf4 Better image compression 2024-01-08 22:55:26 +01:00
Julien Nahum 26ca536e87 Enable swr caching instead of prerenderign 2024-01-08 22:34:21 +01:00
Julien Nahum aba61b28d6 Attempt to simplify build 2024-01-08 22:30:58 +01:00
Julien Nahum f26d02c333 Fix env? 2024-01-08 22:23:13 +01:00
Julien Nahum d83c51f4eb Fix typo 2024-01-08 21:34:12 +01:00
Julien Nahum f1755fc117 ANother attrempt 2024-01-08 21:21:57 +01:00
Julien Nahum 7329367130 Fix issue 2024-01-08 21:18:21 +01:00
Julien Nahum fcc5e5b580 tRGIGGER deploy 2024-01-08 21:13:42 +01:00