Alex Johansson
f63aa5d550
add linting in CI + fix lint errors ( #473 )
...
* run `yarn lint --fix`
* Revert "Revert "add linting to ci""
This reverts commit 0bbbbee4be
.
* Fixed some errors
* remove unused code - not sure why this was here?
* assert env var
* more type fixes
* fix typings og gcal callback - needs testing
* rename `md5.ts` to `md5.js`
it is js.
* fix types
* fix types
* fix lint errors
* fix last lint error
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2021-08-19 14:27:01 +02:00
Alex Johansson
2af160a13e
make `pages/[user]/[type].tsx` type-safe ( #484 )
...
* make `pages/[user]/[type].tsx` type-safe
* deprecate `whereAndSelect`
2021-08-18 12:21:52 +00:00
Alex Johansson
aed9757409
fix bad auth commit ( #487 )
2021-08-18 12:15:22 +00:00
Alex Johansson
a0a0ec86f0
add type-safe `getSession()` ( #486 )
...
* fix types for auth
* implement safer to use `getSession`
2021-08-18 11:52:25 +00:00
Peer_Rich
a162949cf1
added useNotification @lib, using it in EventType ( #468 )
2021-08-18 10:18:18 +02:00
femyeda
49e7cbf803
fix issue where user could not connect to caldav
...
Uses base caldav adapter to ensure connectivity
rethrows all errors on CalDavCalendarAdapter
2021-08-16 09:34:49 -05:00
Bailey Pumfleet
06dce130b2
Merge pull request #450 from emrysal/bugfix/custom-inputs
2021-08-16 10:35:28 +01:00
Peer_Rich
83bef7d95e
Merge pull request #448 from femyeda/team-pages
...
Team pages
2021-08-15 18:44:42 +02:00
Femi Odugbesan
65d6791a36
url input has incorrect label props ( #455 )
2021-08-15 09:32:29 -05:00
femyeda
19ef588fa5
fix issue where client side vali
...
dation not happening
show error message from server
2021-08-15 09:22:05 -05:00
Femi Odugbesan
65366b7c5b
cal-101-caldav-integration ( #419 )
...
* add generic calendar icon for caldav
* module for symmetric encrypt/decrypt
* caldav integration
* use Radix dialog
* Move caldav components to /caldav
* remove duplicate cancel button, unused function
* ensure app can connect to caldav server before adding
* fix calendar clients can possibly return null
* fix: add caldav dialog does not close when submitted
* safely attempt all caldav operations
* clarify variable name, fix typo
* use common helper for stripping html
* remove usage of request lib until "completed"
* add types and usage comments to crypto lib
* add encryption key to example env file
2021-08-14 20:53:59 -05:00
Alex van Andel
252a329f09
Fixed issues relating to custom-inputs
...
* Don't duplicate custom input when editing before db persist
* Remove correct custom input during delete pre db persist (id undefined)
* Moved typings to prisma, keeping backwards compatibility with @map
* Updated all usages of the enum
2021-08-14 17:03:50 +00:00
femyeda
216a7c0c48
prevent duplicate team names
2021-08-13 14:50:11 -05:00
femyeda
60a4b8b29e
add page for teams
2021-08-13 14:46:42 -05:00
nicolas
560bd19472
Merge branch 'main' into bugfix/unify-email-sending
2021-08-08 21:21:33 +02:00
Bailey Pumfleet
b175fd9bcc
Merge pull request #397 from javereec/main
...
Use calendarView instead of events for Office 365 calendars
2021-08-06 07:59:13 +01:00
nicolas
bd07a93f06
Removed full stop
2021-08-05 21:49:32 +02:00
Peer Richelsen
8340fce157
extracted classNames into helpers
2021-08-03 10:30:35 +02:00
nicolas
d2bc02e6fc
Further renaming
2021-08-01 23:38:38 +02:00
nicolas
19374d38f7
Renamed isVideo to isDedicated; hard-coded logic for zoom meetings for now
2021-08-01 23:29:15 +02:00
nicolas
c8a53d7f29
Merge branch 'main' into bugfix/unify-email-sending
2021-08-01 22:59:43 +02:00
Jan Vereecken
04d7a280ef
Use calendarView instead of events
...
When calling Microsoft Graph use calendars/calendarView instead of calendars/events to allow occurences to be returned.
2021-07-31 15:00:27 +02:00
Alex van Andel
e3ad889c54
Fixes Shifting the selected working days
2021-07-29 16:08:35 +00:00
nicolas
082281bdd0
Added type for credential
2021-07-28 22:44:52 +02:00
nicolas
f948370bef
Fixed codacy issues
2021-07-28 22:05:37 +02:00
nicolas
bd28636af5
Merge branch 'main' into bugfix/unify-email-sending
2021-07-28 22:01:58 +02:00
Peer Richelsen
a08e502d01
changed hardcoded email reminders to 10 vs 60 minutes. adding ability to change reminder time soon
2021-07-27 13:45:53 +02:00
Bailey Pumfleet
5df4fe413e
Merge pull request #343 from emrysal/feature/minimize-o365-calls-batching-list-events
...
Minimized msgraph calls while event listing by batching
2021-07-26 12:56:08 +01:00
Bailey Pumfleet
3c55660537
Merge pull request #384 from emrysal/feature/minimum-booking-notice
...
Feature/minimum booking notice
2021-07-26 11:54:22 +01:00
Bailey Pumfleet
ca5fac4203
Merge pull request #378 from Nico-J/bugfix/remove-fancy-html
...
(Conditionally) remove HTML from event description
2021-07-26 10:15:44 +01:00
nicolas
47ee0334db
Use better Regex to strip down html
2021-07-25 23:22:34 +02:00
nicolas
2b38638d84
Added maybeUid to CalEventParser
2021-07-25 19:15:31 +02:00
nicolas
b0ac65b0f6
Added maybeUid to createEvent and createMeeting
2021-07-25 17:05:18 +02:00
nicolas
4dd8359a15
Made location optional
2021-07-25 14:40:02 +02:00
nicolas
a97862d4b8
Process event location in EventManager
2021-07-25 14:19:49 +02:00
nicolas
d7d1b79d0e
Added JSDoc
2021-07-24 22:30:14 +02:00
nicolas
86e2add30f
Resolved conflicts; included reference creation into EventManager; use EventManager everywhere
2021-07-24 22:24:00 +02:00
nicolas
749693b6bf
Always use plain text event descriptions for now
2021-07-24 21:23:15 +02:00
Alex van Andel
9234f74bec
Added accompanying frontend
2021-07-23 20:19:23 +00:00
Alex van Andel
4368ad0289
Implement minimum booking notice
2021-07-22 22:52:27 +00:00
nicolas
936338db3e
Added condition when updating event
2021-07-22 01:11:25 +02:00
nicolas
0a60a62910
Conditionally use HTML
2021-07-22 00:46:31 +02:00
nicolas
13a6b9b549
Use regex to remove br tag
2021-07-21 18:20:08 +02:00
nicolas
39f16d95cb
Properly replace a link tags
2021-07-21 14:25:28 +02:00
nicolas
e5d94e74a2
No HTMl in rich event description
2021-07-21 14:01:48 +02:00
nicolas
cf52df5662
Use entrypoint to make zoom location more beautiful
2021-07-20 20:40:41 +02:00
nicolas
7aff32fb50
Only send single mail when booking zoom
2021-07-20 20:07:59 +02:00
nicolas
a40a5c04fe
Retain rescheduleUid when picking a date
2021-07-18 22:17:18 +02:00
Malte Delfs
f5516ed427
added reminder emails for opt-in bookings
2021-07-18 21:12:35 +02:00
Malte Delfs
a2bf242c9e
opt in booking
2021-07-18 20:28:54 +02:00