Commit Graph

8 Commits (2da8784865588cde31f185bfeffb98a199633254)

Author SHA1 Message Date
Syed Ali Shahbaz e54e1aa72e
Updates Availability and Attendees swagger docs, hotfixes Booking API doc (#241)
- Adds swagger definition and swagger fixes to /availability and
/attendees
- Also fixes Booking API endpoint definition (startTime -> start,
endTime -> end)
2023-03-10 19:29:24 +05:30
Syed Ali Shahbaz d47fa578b7
Fixes _patch swagger paramters 2023-02-23 20:46:55 +05:30
zomars 42eb7041d4 New linting rules 2023-02-16 14:01:40 -07:00
Syed Ali Shahbaz 279c3da21f
Improves Booking docs in swagger (#219)
Adds definition to booking swagger definition, and fixes user _post
definition example
2023-02-07 08:41:08 -07:00
Hariom Balhara 9c23a8e5ab
Security Fixes (#224)
Fixes - 2,3,4 security vulnerabilities reported in this message.
https://calendso.slack.com/archives/C03127U5S5Q/p1671922033089329

More Fixes
- Dont't allow a user to add a random attendee to a booking not owned by
him
- Don't allow a user to add a random cal user as an organizer of the
booking.
- Membership deletion should be as per the Privileges of
Owner,Admin,Member
2023-01-04 15:17:47 -07:00
zomars 055699f612 Various import and type fixes 2022-11-25 06:58:21 -07:00
Omar López 8c24c5c714
Refactor/booking logic (#183)
refs #175 

Reuses the same logic for creating bookings from the web app.

Co-authored-by: Leo Giovanetti <hello@leog.me>
2022-10-13 12:29:30 -06:00
zomars 308c192912 Splits booking/[id] endpoint
# Conflicts:
#	pages/api/bookings/[id].ts
2022-07-08 11:22:08 -06:00