Commit Graph

451 Commits

Author SHA1 Message Date
Shubham Palriwala cce3a98f20 feat: add docs for management API (#930)
* feat: docs for management API

* fix: split api into client and management

* update navigation and pages

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-04 11:03:13 +02:00
Johannes d3779bd649 fix typos 2023-10-04 13:24:07 +05:45
Johannes 67217f4c75 Merge branch 'main' of github.com:formbricks/formbricks into shubham/for-1089-formulate-faqs-and-create-page 2023-10-04 11:33:09 +05:45
Johannes 76ecbb9e2f update leaderboard 2023-10-03 23:22:09 +05:45
tyjkerr a35d573884 feat: add single use survey links (#742)
* add uniqueResponseId to link survey

* add uniqueResponseId to survey response

* add singUseId to database and link survey

* add singleUseId to api

* add single use option in survey response options

* add single use to getSurvey

* add getResponseBySingleUseId

* add ZSurveySingleUse schema to survey schema

* add logic to check if link with suid has response

* pass singleUseId as props, revert SWR changes

* generation of single-use url in LinkSurveyModal

* add singleUseId to SingleResponseCard

* update SurveyInactive for invalid link

* add suId to ZResponse schema

* fix typo in SurveyInactive

* update ResponseOptionCard

* add suId to response select

* add default message for SurveyLinkUsed

* update logic to render SurveyLinkUsed

* add comment for suId in prisma schema

* fix types

* refresh server component on save survey

* update logic

* fix build errors

* fix prisma schema

* add db migration

* update wording

* add singleUseId to localstorage

* fix survey link used over thank you

* add suid to people responses

* fix preview and copy link on surveys page.

* update text and icon for link survey modal

* check survey not finished before setting question

* update show surveylink used logic

* add zodtype to prisma

* fix logic to render last question answered/stored

* add better comments

* update default message for single use surveys

* add LinkSingleUseSurveyModal

* add guard before getting response with suid

* fix build error

* add default message for link used page

* add key and group imports

* add suId encryption and validation

* make survey url encryption optional

* fix build errors

* move singleUseId to server side in surveyList

* added validation to getResponseBySingleUseId service

* restored env var names

* import FORMBRICKS_ENCRYPTION_KEY from constants

* check if encryption environment variable is set, add length validation for env variable

---------

Co-authored-by: Ty Kerr <tykerr@Tys-MacBook-Pro.local>
Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com>
2023-10-03 18:26:13 +02:00
Johannes 2d9f35f503 add gitpod prize 2023-10-03 14:06:59 +05:45
Johannes 0620829830 update how to section 2023-10-03 12:56:25 +05:45
Johannes 829d2f0297 update leaderboard 2023-10-02 17:04:12 +05:45
Johannes 7ef95bc284 update banner 2023-10-02 10:15:46 +05:45
Johannes 7d9617e27f update leaderboard 2023-10-02 10:05:40 +05:45
Johannes af1dc2c08b side quest tweaks 2023-10-01 23:43:49 +05:45
Johannes a032d8aad6 add button to issue 2023-10-01 23:42:28 +05:45
Johannes 5557f22a4b add leaderboard 2023-10-01 23:33:25 +05:45
Rotimi Best 48f1ed4d78 docs: update wording 2023-10-01 11:47:19 +00:00
Rotimi Best 81a6e92aed docs: add cla form to getting started doc 2023-10-01 11:29:45 +00:00
Johannes 15d75a2856 release side quests 2023-10-01 16:11:14 +05:30
Johannes 3af8a4e17d add gitpod docs page, tweak pricing table 2023-10-01 15:10:26 +05:30
Johannes 1faa74864c Merge branch 'main' of github.com:formbricks/formbricks into join-formtribe 2023-10-01 14:46:07 +05:30
Johannes 9bed96a22f Merge branch 'main' of github.com:formbricks/formbricks into how-we-code 2023-10-01 14:42:14 +05:30
Johannes 14e8c43214 Merge branch 'main' of github.com:formbricks/formbricks into how-we-code 2023-10-01 14:37:31 +05:30
Johannes d5b67f4a14 Merge branch 'main' of github.com:formbricks/formbricks into join-formtribe 2023-10-01 14:20:07 +05:30
Johannes e2c3686f2f add gitpod docs 2023-10-01 14:16:16 +05:30
Shubham Palriwala 13afba7615 feat: move env vars from build-time to run-time to better support self-hosting environments (#789)
* feat: privacy, imprint, and terms URL env vars now do not need rebuilding

* feat: disable_singup env var now do not need rebuilding

* feat: password_reset_disabled env var now do not need rebuilding

* feat: email_verification_disabled env var now do not need rebuilding

* feat: github_oauth & google_oauth env var now do not need rebuilding

* feat: move logic of env vars to serverside and send boolean client-side

* feat: invite_disabled env var now do not need rebuilding

* feat: rename vars logically

* feat: migration guide

* feat: update docker-compose as per v1.1

* deprecate: unused NEXT_PUBLIC_VERCEL_URL & VERCEL_URL

* deprecate: unused RAILWAY_STATIC_URL

* deprecate: unused RENDER_EXTERNAL_URL

* deprecate: unused HEROKU_APP_NAME

* fix: define WEBAPP_URL & replace NEXT_WEBAPP_URL with it

* migrate: NEXT_PUBLIC_IS_FORMBRICKS_CLOUD to IS_FORMBRICKS_CLOUD

* chore: move all env parsing to a constants.ts from page files

* feat: migrate client side envs to server side

* redo: isFormbricksCloud to navbar serverside page

* fix: constants is now a server only file

* fix: removal of use swr underway

* fix: move 1 tag away from swr to service

* feat: move away from tags swr

* feat: move away from surveys  swr

* feat: move away from eventClass swr

* feat: move away from event swr

* fix: make constants server-only

* remove comments from .env.example, use constants in MetaInformation

* clean up services

* rename tag function

* fix build error

* fix smaller bugs, fix Response % not working in summary

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-30 21:40:59 +02:00
Rotimi Best 7a9a4b9ffc docs: fix env poin without link 2023-09-30 10:13:59 +00:00
Matthias Nannt f3ef080ec6 downgrade next version to "fix" dev bug 2023-09-30 11:58:05 +02:00
Matthias Nannt a17e86bc91 fix docs page error, slight change to pricing 2023-09-30 11:12:30 +02:00
Matthias Nannt d5bb4d4365 Merge branch 'main' of github.com:formbricks/formbricks into how-we-code 2023-09-30 11:02:56 +02:00
Shubham Palriwala 48d8fc6aca feat: add new pricing table to formbricks-com (#869)
* init: pricing page

* fix: ux changes
2023-09-30 11:01:46 +02:00
Rotimi Best 810bd645f8 docs: more self cr 2023-09-30 06:25:59 +00:00
Rotimi Best 0f3aa9434a docs: self code review 2023-09-30 06:24:32 +00:00
Rotimi Best 2003bb64f6 docs: how we code documentation 2023-09-30 06:09:47 +00:00
Rotimi Best ef604e7660 doc: join the formtribe blog post 2023-09-30 05:25:34 +00:00
ShubhamPalriwala 9871b0bbe0 fix: metadata on faq & remove best practices due to compile issues 2023-09-28 16:14:54 +05:30
ShubhamPalriwala 35ee2925ec Merge branch 'main' of https://github.com/formbricks/formbricks into shubham/for-1089-formulate-faqs-and-create-page 2023-09-28 15:17:15 +05:30
Johannes 2ff7022368 tweaking docs page 2023-09-28 14:54:39 +05:30
Johannes c4b6d6d5f4 Merge branch 'main' of github.com:formbricks/formbricks into shubham/for-1346-docs-page-for-google-sheets-integration 2023-09-28 14:40:25 +05:30
Johannes 2083b68388 fix: add structured metadata to landing pages
fix: add structured metadata to landing pages
2023-09-28 14:35:09 +05:30
Johannes 3e2dcd8e74 fix build error 2023-09-28 14:34:09 +05:30
Dhruwang Jariwala 7e626e75a3 feat: Add Management API (#788)
* added some management APIs for response and surveys

* added management API endpoints

* refactored [responseId] route

* added authorisation and made refactors

* removed console logs

* fixed build issues

* remobed session check

* removed getEnvironmentBySession function

* made code refactors

* update variables in route

* add updated routes

* change underscore to hyphen notation

* peoples -> people

* fix build errors

* resolved build errors

* restored types in summary list

* add redirects for old responses and survey endpoints, update docs

* fixed not authenticated response

* update survey create endpoint to only accept necessary fields, clean up

---------

Co-authored-by: Dhruwang Jariwala <dhruwang@Dhruwangs-MacBook-Pro.local>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-28 10:57:45 +02:00
Ishan Avasthi 8a7f1ff680 fix: typo on FormTribe Landing Page (#859) 2023-09-27 15:48:48 +02:00
Matti Nannt 48921663be chore: update npm dependencies (#857)
* chore: update npm packages

* update formbricks-web packages

* update packages in demo

* update packages in formbricks-com

* fix survey status dropdown has no value
2023-09-27 11:42:49 +02:00
ShubhamPalriwala 4c45f13b5c fix: missed gdpr pages 2023-09-27 13:39:35 +05:30
Matti Nannt 48ba245336 fix: formtribe page should only be shown in light mode (#854) 2023-09-26 17:39:39 +09:00
Johannes 6c8d14409c feat: Introduce new Landing Page for FormTribe event (#853)
* formtribe lp v1

* fix apos

* responsiveness + tweaks

* add video
2023-09-26 16:50:21 +09:00
tanayvaswani f24bd9bfc0 Adds Papermark 2023-09-22 18:37:00 +05:30
ShubhamPalriwala 958f1960ae feat: everything google sheets integration docs' 2023-09-21 13:19:35 +05:30
ShubhamPalriwala f2bdeabec1 init: google sheet cloud instance integration 2023-09-21 12:14:40 +05:30
ShubhamPalriwala 5c7f4510e3 Merge branch 'main' of https://github.com/formbricks/formbricks into shubham/for-1089-formulate-faqs-and-create-page 2023-09-19 19:34:00 +05:30
ShubhamPalriwala 23971f33e7 feat: faq section on landing page as well as docs 2023-09-19 19:24:51 +05:30
Dhruwang Jariwala 21f393f402 feat: Add Google Sheets Integration (#735)
* added intro and surveySelect page

* added home page and  wrapper component

* added spreadsheet select

* added data write functionality and added integration schema model

* improved UX

* reworked UI

* added google sheet integration

* removed some unused code

* added user email

* UI tweaks

* fixed build issues and made added question to top of spreadsheets

* adds refreshSheets and added empty survey/spreadsheets text

* restored pnpm-lock

* added duplicate sheet warning

* move process.env to t3env

* move migration

* update docs link, add note to show that sheets integration is not configured

* Add simple docs page for google-sheets

* added session check

* restored pnpm-lock

* Merge branch 'main' of github.com:formbricks/formbricks into Integration/Google-sheet

* added google sheet  env variables to runtimeEnv

---------

Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-19 22:29:11 +09:00