Mihai C
1ab9d1797a
fix: organizer/attendee timezones in emails ( #543 )
2021-09-01 21:39:24 +01:00
Mihai C
a37411b8af
refactor: add next-seo ( #531 )
...
* refactor: add next-seo
* refactor: change naming of seo component
2021-08-27 15:35:20 +03:00
Mihai C
fc50821282
feat: add react-query and navigate to edit after event-type creation ( #528 )
...
* feat: add react-query and navigate to edit after event-type creation
* fix: add types/toasts and add react-query mutations on event-types
Co-authored-by: Mihai Colceriu <colceriumi@gmail.com>
2021-08-27 15:11:24 +03:00
Femi Odugbesan
2d127a5316
improve speed of caldav event fetching ( #501 )
...
* improve speed of caldav event fetching
use forked version of tsDav
* use dayjs to format timerange
* apply calendar timezone to event dates
2021-08-23 16:15:03 +00:00
Alex Johansson
a77a15056a
`<Button>`-component ( #480 )
...
-`<Button/>` component
- Uses `next/link` + `<a/>` if you supply a `href` otherwise `<button/>`
- Add UI sandbox
- Change the `event-types/index` to use a query param for deciding if modal is open or not
2021-08-23 14:45:25 +02:00
Alex van Andel
ce64080160
Implement the new Avatar interface to the teams page ( #512 )
2021-08-23 10:40:57 +01:00
Alex van Andel
bc97237858
Remove image from session, add /api/me, update Avatar component ( #493 )
...
* Remove image from session, add /api/me, update Avatar component
* Fixed Avatar on Desktop
* Added emailMd5 to session + load md5 from props on /settings/profile
* Explicitly select which fields to expose in /api/me
* Abstracted Gravatar, defaults avatar for /api/me, removed session dep from UserDropdown
* Delete md5.js :)
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
2021-08-22 14:16:42 +01:00
Alex Johansson
a8ef195546
add query params parser util ( #496 )
2021-08-19 12:32:51 +00:00
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