Skip to content

Implemented the ability for users to modify their locale and timezone#8

Closed
emrysal wants to merge 3 commits intocalcom:mainfrom
emrysal:main
Closed

Implemented the ability for users to modify their locale and timezone#8
emrysal wants to merge 3 commits intocalcom:mainfrom
emrysal:main

Conversation

@emrysal
Copy link
Copy Markdown
Contributor

@emrysal emrysal commented Apr 14, 2021

Which can later be used in conjunction with their calendar to have international appointments / future multilingual support.

…, which can later be used in conjunction with their calendar to have international appointments / future multilingual support
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 14, 2021

@emrysal is attempting to deploy a commit to the calendso Team on Vercel.

To accomplish this, @emrysal needs to request access to the Team.

Afterwards, an owner of the Team is required to accept their membership request.

pumfleet and others added 2 commits April 14, 2021 23:33
Also takes the viewer timezone properly into account booking an agent (e.g. when available 8am-17pm in central europe, when viewing from the UK, 7am-3pm is shown, and mapped back in the calendar booking)
@emrysal emrysal mentioned this pull request Apr 15, 2021
@emrysal emrysal closed this Apr 16, 2021
@sean-brydon
Copy link
Copy Markdown
Member

Test comment
Kamal Malik on Linear

@sean-brydon
Copy link
Copy Markdown
Member

Test tag @ted
Kamal Malik on Linear

@sean-brydon
Copy link
Copy Markdown
Member

another test comment
Ted Spare on Linear

@sean-brydon
Copy link
Copy Markdown
Member

one more comment
Ted Spare on Linear

@sean-brydon
Copy link
Copy Markdown
Member

testing another
Ted Spare on Linear

@sean-brydon
Copy link
Copy Markdown
Member

sorry kamal
Ted Spare on Linear

@sean-brydon
Copy link
Copy Markdown
Member

API is lying to us
Ted Spare on Linear

@sean-brydon
Copy link
Copy Markdown
Member

testing with Bearer auth header
Ted Spare on Linear

zomars pushed a commit that referenced this pull request May 23, 2023
…-attendees

feat: adds availabilities and attendees endpoints
devin-ai-integration bot added a commit that referenced this pull request Nov 12, 2025
Fixes identified issues while maintaining PR objective of removing
@calcom/web dependencies from packages via dependency injection:

1. Code Duplication (Comment #2):
   - Extracted buildLegacyRequest to packages/lib/legacy-request.ts
   - Uses generic interfaces (HeadersLike, CookiesLike) instead of Next.js types
   - Both apps/web and packages can now import from shared location
   - Removed unused NextApiRequest import from calcomHandler.ts

2. Missing Cache Revalidation (Comments #3, #5, #8):
   - Added onInvalidate prop to NewWebhookView and wired from webhooks/new page
   - Added onInvalidate prop to EventWebhooksTab (needs wiring from apps/web)
   - Added onInvalidate prop to DuplicateDialog (needs wiring from apps/web)
   - Pattern: server actions with revalidatePath at call sites

3. Promise Handling Bug (Comments #6, #12):
   - Fixed MemberInvitationModal clipboard promise to handle rejections
   - Added reject handler to prevent promise hanging on mutateAsync failure

Note: EventWebhooksTab and DuplicateDialog onInvalidate props are added
but not yet wired from apps/web pages. This requires threading through
multiple component layers and will be completed in follow-up commits.

Platform DI changes (UserDropdown, PlatformMembersView, InviteMemberModal)
were reverted in previous commit to prevent regressions.

Co-Authored-By: Volnei Munhoz <volnei.munhoz@gmail.com>
devin-ai-integration bot pushed a commit that referenced this pull request Jan 14, 2026
- Fix #1: Weekly schedule now shows multiple time slots per day in AvailabilityTab
- Fix #2: Allow numeric input fields to be empty with proper validation
- Fix #3: Add native iOS date picker for date range in Limits tab
- Fix #4: Change 'Email verification' to 'Booker email verification' in Advanced tab
- Fix #5: Fix Requires confirmation comparison logic in buildPartialUpdatePayload
- Fix #6: Forward parameters toggle already working, verified wiring
- Fix #7: Add toggles for redirect booking URL and interface language in Advanced tab
- Fix #8: Increase scroll padding at bottom from 200 to 350 for better keyboard access
dhairyashiil added a commit that referenced this pull request Jan 14, 2026
* fix(companion): iOS event type detail fixes

- Fix #1: Weekly schedule now shows multiple time slots per day in AvailabilityTab
- Fix #2: Allow numeric input fields to be empty with proper validation
- Fix #3: Add native iOS date picker for date range in Limits tab
- Fix #4: Change 'Email verification' to 'Booker email verification' in Advanced tab
- Fix #5: Fix Requires confirmation comparison logic in buildPartialUpdatePayload
- Fix #6: Forward parameters toggle already working, verified wiring
- Fix #7: Add toggles for redirect booking URL and interface language in Advanced tab
- Fix #8: Increase scroll padding at bottom from 200 to 350 for better keyboard access

* fix(companion): conditional scroll padding for limits and advanced tabs only

* fix(companion): remove static date text from iOS date picker, keep only picker

* fix(companion): simplify iOS date picker to match RescheduleScreen pattern

* update code
pedroccastro added a commit that referenced this pull request Feb 21, 2026
* feat: add abuse scoring schema, types, and data model

Foundational layer for the abuse scoring pipeline:

- Extend WatchlistType enum (SPAM_KEYWORD, SUSPICIOUS_DOMAIN, EMAIL_PATTERN, REDIRECT_DOMAIN)
- Add dedicated User columns: abuseScore (Int) + abuseData (Json?)
- Use dedicated columns instead of metadata JSONB to prevent API data leakage
- Define abuseMetadataSchema owned by the feature (zero @calcom/prisma dependency)
- Derive types via z.infer with Zod safeParse validation
- Register abuse-scoring feature flag in AppFlags

* fix: tighten abuseMetadata schema and seed feature flag

- Fix zod import to named import (codebase convention)
- Add .datetime() validation on at/lockedAt/lastAnalyzedAt fields
- Document why REDIRECT_DOMAIN is excluded from flags enum
- Seed abuse-scoring feature flag (enabled: false)

* feat: add scoring engine, alert system, and DTOs (#9)

* feat: add scoring engine, alert system, and DTOs

- Pure calculateScore() function with seven signal types (signup flags, malicious redirects, forward params, content spam, high/elevated booking velocity, self-booking pattern). Signal caps prevent stacking
- Score range 0-100 with thresholds at 50 (alert) and 80 (lock)
- Slack alerter with admin user link and DI interface for testability
- Zod-validated DTOs at repository-service boundary
- 20 tests, zero mocks for scoring (pure function), full coverage for alert payloads and error resilience

* fix: tighten scoring types and parse abuseData at DTO boundary

- Add const arrays as source of truth for flag/signal/lockedReason types
- Use z.enum() in abuseMetadataSchema from const arrays
- Parse abuseData at DTO boundary with .catch(null) (fail-open)
- Remove getAbuseMetadata indirection from scoring — DTO handles it
- Type ABUSE_SIGNAL_CAPS with AbuseSignalType

* refactor: inject webhook URL into SlackAbuseAlerter via constructor

* Migrate user abuse score to it's own table

---------

Co-authored-by: Joe Au-Yeung <j.auyeung419@gmail.com>
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants