GithubHelp home page GithubHelp logo

ledbelly's People

Contributors

robert-carroll avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ledbelly's Issues

Convert all dates to local time

LED creates an additional field called event_time_local in comparison to event_time which is in UTC. I would like to force all timestamp values to be local.

this
Time.parse(body['created_at']).utc.strftime(TIME_FORMAT).to_s
becomes
Time.parse(body['created_at']).utc.localtime.strftime(TIME_FORMAT).to_s

This would be similar to how I'm converting all timestamps to local timezone for our Canvas Data using Embulk. This saves on converting timestamps in SQL queries.

Since this affects all current users, I'm opening this up for discussion.

addition of body {user_login, user_sis_id} to user_created|updated

https://community.canvaslms.com/docs/DOC-15774-payload-example-usercreated
https://community.canvaslms.com/docs/DOC-15775-payload-example-userupdated

On Wednesday October 9, these 2 events will have the user_login and user_sis_id added to the body of the event message, these 2 fields already exist in the meta data.

Keeping with other duplicate field names between meta and body, I'll be releasing an update that adds the _meta suffix to the field names in the meta collection.
https://github.com/ccsd/ledbelly/blob/master/src/events/canvas_raw.rb#L31 and 32

The field values sent with meta data here, are the actor (user making the change), while the body values are that of the affected user.

I plan to release:
updates to the canvas raw parser
updates to the canvas raw schema
a way to easily update your database to reflect the changes.

Quizzes Events Deprecations

These events will be deprecated per Release Notes...
I see no reason to clean this up before the release, and will deprecate the schema/parser after the release date.

https://community.canvaslms.com/docs/DOC-18049-canvas-release-notes-2019-12-21#jive_content_id_Live_Events

Group Events Deprecations
Events in the following groups have been deprecated and will be removed on 2020-02-18:

Quizzes Next Quiz
Quizzes.item
Quizzes.quiz Clone Job
Quizzes.quiz
Quizzes.quiz Session
Quizzes.qti Import
Quizzes-lti.grade

Disconnect after idle/timeout

There's an issue with the DB being disconnected after the timeout, if the stream is delayed or inactive long enough for the DB timeout to expire. Increasing the timeout can help if you identify the length of the idle window. I will be working on a fix to reestablish a connection if the connection has timed out before attempting to insert a row.

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.