Syed Ali Shahbaz
36a0ebfbad
Adds safe json parse of the body
...
It ensures that the body complies with the safe parsing of the JSON so that if the body sent is not a valid JSON, we convert it into an empty JSON. Would improve in handling the response of such cases as a follow up for improved UX
2022-10-07 12:46:35 +05:30
Syed Ali Shahbaz
12f54773f9
Adds safeParseJSON.ts file
2022-10-07 12:43:47 +05:30
Joe Au-Yeung
da88beb1f5
Fix type errors
2022-10-06 15:06:07 -04:00
Joe Au-Yeung
00ccb4ffd1
Simplify get /schedules
2022-10-06 14:41:50 -04:00
Joe Au-Yeung
2a7a111855
Safe parse for userId
2022-10-06 14:38:17 -04:00
Joe Au-Yeung
4ac9c1e6dd
Remove old comment
2022-10-06 10:02:35 -04:00
Joe Au-Yeung
372e188228
Pass userId as a single value or an array
2022-10-06 09:55:34 -04:00
Joe Au-Yeung
77b89fda05
Add return statements
2022-10-05 16:02:34 -04:00
Joe Au-Yeung
a5413b40ab
Add ability to get, post, and delete for other users if admin
2022-10-05 11:04:58 -04:00
Joe Au-Yeung
95fc04a453
Add check for userId and admin to top
2022-10-05 10:05:04 -04:00
Joe Au-Yeung
1adace1c0d
Create new availability on new schedule
2022-10-05 09:56:27 -04:00
Joe Au-Yeung
7e9226fabc
Merge pull request #165 from calcom/hotfix/connect-user-on-new-event-type
2022-10-04 09:11:22 -04:00
Joe Au-Yeung
362d8ca769
Connect user to new event type
2022-10-03 14:26:00 -04:00
Peer Richelsen
d14c8404e7
Update index.ts
2022-09-24 13:23:10 +00:00
Omar López
a36b6fa923
Merge pull request #163 from calcom/fix/admin-me
...
fix: userId not 0 for fixing /me endpoint
2022-09-07 13:31:50 -06:00
Agusti Fernandez Pardo
be200cd076
fix: userId not 0 for fixing /me endpoint
2022-09-07 18:18:43 +02:00
Agusti Fernandez Pardo
fcb9ca6ace
Merge pull request #162 from calcom/fix/no-prisma-defined
2022-09-06 19:40:48 +02:00
Agusti Fernandez Pardo
fc4d0ab3ea
fix: prisma not defined
2022-09-06 19:40:23 +02:00
Agusti Fernandez Pardo
5d09739966
Merge pull request #161 from calcom/fix/me
2022-09-06 19:20:41 +02:00
Agusti Fernandez Pardo
80bd5068d4
fix: don't use defaultHandler w promise in api yet, was from console
2022-09-06 19:20:04 +02:00
Agusti Fernandez Pardo
7707275f94
Merge branch 'main' into production
2022-09-06 19:06:44 +02:00
Agusti Fernandez Pardo
d210623fbd
Merge pull request #160 from calcom/fix/build-issues
2022-09-06 19:06:29 +02:00
Agusti Fernandez Pardo
3caee6c697
fix: removes daily-event-reference endpoints and types
2022-09-06 19:04:16 +02:00
Agusti Fernandez Pardo
22359dda1b
Merge branch 'main' into production
2022-09-06 18:13:06 +02:00
Omar López
ddc084044a
Merge pull request #158 from calcom/feat/me-endpoint
...
feat: adds me endpoint that returns session info
2022-09-05 14:07:51 -06:00
Agusti Fernandez Pardo
731288bcb6
fix: use middleware, refactor into _get
2022-09-05 21:31:12 +02:00
Agusti Fernandez Pardo
4d74a6c896
feat: dont use ensureSession, but userId from req
2022-09-05 21:16:45 +02:00
Agusti Fernandez Pardo
bc8623edb8
feat: adds me endpoint that returns session info
2022-09-05 21:01:55 +02:00
zomars
181921f9c7
Fixes mismatches
2022-08-17 11:40:12 -06:00
Omar López
0a331ff093
Merge pull request #154 from calcom/upgrade/deps
...
Fixes mismatches
2022-08-17 11:38:45 -06:00
zomars
1de91a5124
Fixes mismatches
2022-08-15 18:38:25 -06:00
zomars
188ad55686
Update README
2022-08-12 12:58:32 -06:00
Omar López
c1b897c39a
Merge pull request #153 from calcom/feat/license
...
Feat/license
2022-08-11 13:40:27 -06:00
zomars
db937ce00a
Matches local lint with CI lint
2022-08-11 12:47:36 -06:00
zomars
7560fdbfc5
Squashed commit of the following:
...
commit fc87557902
Author: zomars <zomars@me.com>
Date: Fri Aug 5 15:08:36 2022 -0600
Fixes callbackUrl
2022-08-09 17:36:18 -06:00
Agusti Fernandez Pardo
8dfc62386d
fix: add CALCOM_LICENSE_KEY in env vars section in readme
2022-08-09 19:39:43 +02:00
Agusti Fernandez Pardo
87d8417dd9
feat: add license and readme about copyright
2022-08-09 19:17:42 +02:00
zomars
fc87557902
Fixes callbackUrl
2022-08-05 15:08:36 -06:00
Agusti Fernandez Pardo
244f64d8e7
fix: remove unneeded dep from api package.json app-store-cli
2022-08-04 19:57:20 +02:00
Agusti Fernandez Pardo
12fe6af995
feat: adds license check
2022-08-04 19:54:25 +02:00
zomars
915610763e
Build fixes
2022-08-03 11:49:45 -06:00
Omar López
0f13e80785
Merge pull request #150 from calcom/monorepo/ee
...
Fixes import
2022-07-28 13:58:36 -06:00
zomars
60c2f73607
Migrates EE code
2022-07-28 13:51:20 -06:00
zomars
159792831a
New import
2022-07-22 20:32:10 -06:00
zomars
aba7b1ec1c
Linting
2022-07-21 22:21:24 -06:00
Agusti Fernandez Pardo
a8e8acd053
Merge pull request #149 from calcom/fix/users-pagination
...
fix: users pagination remove min/max as its a string not a number
2022-07-14 19:57:22 +02:00
Agusti Fernandez Pardo
aa12f893e8
fix: users pagination remove min/max as its a string not a number, also add new env var to example
2022-07-14 19:44:24 +02:00
zomars
80500ebaf0
Fixes lint:fix script
2022-07-13 15:13:24 -06:00
zomars
7a53c5bb85
Adds missing lint scripts
2022-07-12 15:24:19 -06:00
Agusti Fernandez Pardo
60e9c26dfe
Merge pull request #148 from calcom/production
...
rebase dayjs fix in Production to main
2022-07-12 20:37:24 +02:00