cal.pub0.org/packages/prisma/migrations
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
..
20210605225044_init Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210605225507_added_bookings Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210606013704_made_booking_uid_unique Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210613133618_add_team_membership_verification Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210615140247_added_selected_calendar Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210615142134_added_custom_event_name Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210615153546_added_buffer_time Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210615153759_add_email_verification_column Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210618140954_added_event_type_custom Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210628153550_password_reset_request Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210629160507_hide_branding Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210630014738_schedule_availability Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210709231256_add_user_theme Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210714151216_event_type_period_settings Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210717120159_booking_confirmation Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210718184017_reminder_mails Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210722225431_minimum_booking_notice Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210725123357_add_location_to_booking Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210813142905_event_payment Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210813194355_add_slug_to_team Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210814175645_custom_inputs_type_enum Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210820130519_add_placeholder_to_custom_event_types Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210824054220_add_bio_branding_logo_to_team Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210825004801_schedule_schema Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210830064354_add_unique_to_team_slug Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210902112455_event_type_unique_user_id_slug Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210902121313_user_plan Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210902125945_user_username_unique Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210904162403_add_booking_status_enum Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210908042159_teams_feature Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210908220336_add_daily_data_table Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210908235519_undo_unique_user_id_slug Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210913211650_add_meeting_info Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210918013258_add_two_factor_fields Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210918152354_user_id_slug_fix Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210919174415_add_user_locale Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210922004424_add_disable_guests_to_event_type Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211004231654_add_webhook_model Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211011152041_non_optionals Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211028233838_add_user_webhooks_relation Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211101151249_update_rejected_bookings Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211105200545_availability_start_and_end_time_as_time Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211106121119_add_event_type_position Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211110063531_add_custom_brand_color Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211110142845_add_identity_provider_columns Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211111013358_period_type_enum Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211112145539_add_saml_login Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211115182559_availability_issue Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211120211639_add_payload_template Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211207010154_add_destination_calendar Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211209201138_membership_admin_role Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211210182230_add_invited_to Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211217201940_upgrade_to_v3 Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211217215952_added_slot_interval_to_event_type Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211220192703_email_to_lowercase Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211222174947_placeholder Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211222181246_add_sc_address Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211228004752_adds_user_metadata Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211231142312_add_user_on_delete_cascade Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220105104913_add_away_field Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220113145333_rename_column_sc_address_to_smart_contract_address Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220117193242_trial_users_by_default Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220121210720_add_cancellation_reason Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220125035907_add_attendee_locale Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220131170110_add_metadata_column_to_event_type Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220205135022_add_verified_column Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220209082843_add_rejection_reason Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220217093836_add_webhook_for_event Revert "Revert "Webhooks to support event type association"" (#2033) 2022-03-02 09:24:57 -07:00
20220228122419_add_time_format Let users set 12/24 hour time format (#2002) 2022-02-28 16:24:47 +00:00
20220302035831_add_before_and_after_event_buffer Set buffer time before/after event type (#2015) 2022-03-04 10:19:03 +00:00
20220302110201_add_dark_mode_brand_color Add "light-brand" and "dark-brand" colors (add a second color picker) (#2028) 2022-03-05 15:37:46 +00:00
20220303171305_adds_user_trial_ends_at Admin/team billing downgrader (#2040) 2022-03-03 19:29:19 +00:00
20220305233635_availability_schedules Feature/multiple schedules post turbo (#2150) 2022-03-17 09:48:23 -07:00
20220305233635_rename_indexes Add index rename migration (#2162) 2022-03-24 09:53:15 -07:00
20220323033335_reschedule_fields_to_bookings_table Feature/reschedule bookings (#2351) 2022-04-14 15:25:24 -06:00
20220323162642_events_hide_notes Feat - disable notes (#2249) 2022-03-28 18:07:13 +00:00
20220328185001_soft_delete_booking_references Feature/reschedule bookings (#2351) 2022-04-14 15:25:24 -06:00
20220330071743_add_dynamic_group_booking dynamic group links (#2239) 2022-04-06 10:20:30 -07:00
20220404132522_redirect_url Feature: Support redirecting to an external URL on successful booking (#2087) 2022-04-05 08:05:40 +00:00
20220412172742_payment_on_delete_cascade Feature/reschedule bookings (#2351) 2022-04-14 15:25:24 -06:00
20220413002425_adds_api_keys Feature: Adds api keys to cal.com webapp (#2277) 2022-04-15 20:58:34 -06:00
migration_lock.toml Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00