calcom/apps/web/components
Agusti Fernandez faa67e0bb6
Feature: Adds api keys to cal.com webapp (#2277)
* feat: add ApiKey model for new Api auth, owned by a user

* fix: remove metadata:Json and add note:String instead in new apiKey model

* fix: rename apiKey to apiKeys in moder User relation in schema.prisma

* feat: add hashedKey to apiKey and lastUsedAt datetime to keep track of usage of keys and makiung them securely stored in db

* fix 30 day -> 30 days in expiresAt

* feat: api keys frontend in security page

* adds hashedKey to api key model, add frontend api keys in security page

* Make frontend work to create api keys with or without expiry, note, defaults to 1 month expiry

* remove migration for now, add env.example to swagger, sync api

* feat: hashed api keys

* fix: minor refactor and cleanup in apiKeys generator

* add api key success modal

* sync apps/api

* feat: We have API Keys in Security =)

* remove swagger env from pr

* apps api sync

* remove comments in password section

* feat: migration for api keys schema

* sync api w main

* delete apps/api

* add back apps/api

* make min date and disabled optional props in datepicker

* feat fix type check errors

* fix : types

* fix: rmeove renaming of verificationrequest token indexes in migration

* fix: remove extra div

* Fixes for feedback in PR

* fix button />

* fix: rename weird naming of translation for you_will_only_view_it_once

* fix: remove ternary and use && to avoid null for false

* fix sync apps/api with main not old commit

* fix empty className

* fix: remove unused imports

* fix remove commented jsx fragment close

* fix rename editing

* improve translations

* feat: adds beta tag in security tab under api keys

* fix: use api keys everywhere

* fix: cleanup code in api keys

* fix: use watch and controller for neverexpires/datepicker

* Fixes: improve api key never expires

* add back change password h2 title section in security page

* fix update env API_KEY_ prefix default to cal_

* fix: improve eidt api keys modal

* fix: update edit mutation in viewer.apiKeys

* Update apps/web/ee/components/apiKeys/ApiKeyListItem.tsx

Co-authored-by: Alex van Andel <me@alexvanandel.com>

* fix: item: any to pass build

Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2022-04-15 20:58:34 -06:00
..
apps Add app-store tests (#2465) 2022-04-14 09:30:38 +05:30
auth Migrates components and libs to packages (#2172) 2022-03-16 16:36:43 -07:00
availability Styling tweaks to inputs and Select (+ TimezoneSelect) (#2453) 2022-04-14 15:58:23 +01:00
booking small app store fixes (#2501) 2022-04-15 08:54:09 +00:00
dialog small app store fixes (#2501) 2022-04-15 08:54:09 +00:00
error Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
eventtype The Dotenv Refactor (#2275) 2022-03-25 17:39:38 -07:00
integrations App Store (#1869) 2022-03-23 15:00:30 -07:00
pages/eventtypes Styling tweaks to inputs and Select (+ TimezoneSelect) (#2453) 2022-04-14 15:58:23 +01:00
security Feature: Adds api keys to cal.com webapp (#2277) 2022-04-15 20:58:34 -06:00
seo Enables strict mode in nextjs apps (#2354) 2022-04-04 20:26:14 +00:00
team Fixes auth E2E tests (#2490) 2022-04-14 20:17:59 +00:00
ui Feature: Adds api keys to cal.com webapp (#2277) 2022-04-15 20:58:34 -06:00
webhook Enables strict mode in nextjs apps (#2354) 2022-04-04 20:26:14 +00:00
AddToHomescreen.tsx Add "light-brand" and "dark-brand" colors (add a second color picker) (#2028) 2022-03-05 15:37:46 +00:00
App.tsx Updating App-Infomation + pics (#2489) 2022-04-15 10:35:50 +01:00
AppsShell.tsx fixed a app store layout shift bugs (#2279) 2022-03-25 19:23:03 +00:00
BookingsShell.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
ClientSuspense.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
CustomBranding.tsx Embed Improvements (#2365) 2022-04-08 05:33:24 +00:00
DestinationCalendarSelector.tsx Styling tweaks to inputs and Select (+ TimezoneSelect) (#2453) 2022-04-14 15:58:23 +01:00
EmptyScreen.tsx Runs prettier 2022-02-10 14:22:45 -07:00
I18nLanguageHandler.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
ImageUploader.tsx Migrates components and libs to packages (#2172) 2022-03-16 16:36:43 -07:00
List.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
Loader.tsx Add "light-brand" and "dark-brand" colors (add a second color picker) (#2028) 2022-03-05 15:37:46 +00:00
Logo.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
NavTabs.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
SettingsShell.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
Shell.tsx Perf: Optimize event-types page (#2436) 2022-04-14 21:49:51 +00:00
Slider.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
Swatch.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
Tooltip.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
UpgradeToProDialog.tsx Feature: Support redirecting to an external URL on successful booking (#2087) 2022-04-05 08:05:40 +00:00