Git Product home page Git Product logo

rocketchat-google-calendar's People

Contributors

koyan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rocketchat-google-calendar's Issues

Events are not posted to channel

Hi,

I set up the integration with Rocket.Chat 0.62.2 (can't use any higher version as long as the node problem is not fixed).

Everything went fine, including OAuth authentication. That is, I set up the integration as described in Rocket.Chat, I can run the python script, it finishes without error, and creates a file sentEvents with some cryptic content. However, the event is not posted to the corresponding channel.

Any suggestion for how to debug this?

Improve rendering of all-day events.

Our integration is showing messages like these for all-day events:

Start: 2020-07-31 01:00:00
End: 2020-08-01 01:00:00

Would it be possible to instead show:

Full Day: 2020-07-31

and for multi-day events:

Start: 2020-07-31 01:00:00
End: 2020-08-06 01:00:00

becomes

First Day: 2020-07-31
Last Day: 2020-08-05

The current system shows the end date as after the actual event, and includes an arbitrary time in the output.

webhook url and calendar id

Hi,

I am trying to implement this and read that I have to fill in the webhook url on line 18 and the calendar ID on line 21 in the Python script, but there are no variables on those lines that I can edit?

What am I doing wrong?

Regards,

Stef

googleapiclient.errors.HttpError

Fire up the OAuth authentication process by running it once on shell/terminal

was the most complicated process for me on Debian server, without luck:

# python calendarWebhook.py
Traceback (most recent call last):
  File "calendarWebhook.py", line 116, in <module>
    main()
  File "calendarWebhook.py", line 81, in main
    calendarId=calendarId).execute()
  File "/usr/local/lib/python2.7/dist-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/googleapiclient/http.py", line 840, in execute
    raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 404 when requesting https://www.googleapis.com/calendar/v3/calendars/d2V...?alt=json returned "Not Found">

Event start and end times 2 hours out

A 2 hour offset seems to be hard coded in webhook.js:

 62         var dateStartText       = getFormattedDate(dateStart,2);
 69         var dateEndtText        = getFormattedDate(dateEnd,2);

Formatting of calendar events [feature request]

Hi,

it would be really nice to have a simple means of formatting/modifying the appearance of calendar events posted in Rocket.Chat, e.g. removing the Google URL to the event, disable individual fields such as duration.

javascript error on initial run.

Trying to install this. Following the instructions, when i open calendarWebhook.py, your descriptions for calendarid and webhook url are flipped
calendarId is on line 17
and
url is on line 21

when i get down to running calendarWebhook.py manually to get the initial OAuth token, i get the following result
"
Couldn't sign you in

The browser that you're using doesn't support JavaScript, or has JavaScript turned off.

To keep your Google Account secure, try signing in on a browser that has JavaScript turned on. Learn more
* Google
* Privacy
* Terms
"

thus, no token.

Help needed

I do all the 7 steps, create an event on Google Calendar and it shows in my desired chat when I run the python code.
Now next events are not run automatically. I checked step 8, set this to run every 5 minutes.
I need some help with this process. Also for this step my native computer needs to be online constantly?

Help

Hey,

Does this still work? I cant post to rocketchat... The linux system (ubuntu) says nth back... and i dont get a notification.. but i disable the script tab and just do a test one it works..

Where to put files ?

Hello !
Maybe my request is unfounded but can somebody tell me where, in which folder do I have to put theses files in my server ?

client_secret.json
calendarWebhook.py

Thank you all for your support !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.