Git Product home page Git Product logo

relationships-googlecal-ktor's People

Contributors

sergeknystautas avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

relationships-googlecal-ktor's Issues

Many meetings show email rather than names

This is a function of the Google calendar API, but often for whatever factors I can't determine, the display_name field is not on the event data, so it falls back to the email address.

We are also getting access to the google people data to show the names in all cases. This would likely be hard to do some caching so we avoid slamming the people API.

Show relationships by small group encounters

I'm thinking that I don't generally want or desires recurrent 1:1s as a way to refresh social ties, but the idea "you have not been in a meeting with X in Y time" is interesting. I think when there are more than 8 people on VC it's broadcasting.

Can you create additional tabs for building and aging relationships based on meetings with 8 people (or fewer)?

Must login again every 60 minutes

The current KTOR OAuth2 implementation does not specify the URL parameters that Google wants to provide a refresh token. In OAuth2, in addition to an access token, an authorization provider can supply a refresh token to get a new access token after a certain amount of time has passed.

This is currently blocked by https://youtrack.jetbrains.com/issue/KTOR-2128. When this is fixed, we can incorporate this new version and then we can make changes to our code base to support refreshing the token if it expired. In addition to knowing to refresh if the time has expired, we will likely want to persist the access token and refresh token so restarting the application does not require yet another login.

Docs to get started

There should be instructions for how to set up a new machine, and also a new person to develop locally. This should be comparable to the README in the old version of this service.

Also do more documentation on the code so people can open the KT files and know what's up.

Use service accounts for directory & sheets access

Depending on how we are going to get data about Rioters in the future (whether directory or sheets or whatever), it would be nice to use Google's service accounts (https://developers.google.com/identity/protocols/oauth2/service-account) to access this data. The main benefits of this are:

  • The application can download the directory or sheets information on app start-up (if cached in memory) and refreshed whenever necessary.
  • The above means the first user will load their report faster because we do not need to scan and process the Rioter metadata.
  • All users will be able to use the site with providing future scopes, as in, they will just need to provide their calendar data rather than the other major scopes we ask for when you sign in.

Today is not calculated to the right time zone

At 16:57 in California, went to the report and it said:

Prepared Feb 19, 2021 12:56 AM

That's UTC, not California. I should look at the calendar time zone and use that to set the right time zone for "now" so that "today" is correctly defined.

Log of who has used the app

Right now I have no idea what users have accessed this. Either send an email each time someone uses it as a super dumb/start, or ideally create a database that stores who has signed in, and when the last time they signed in, and maybe track how many times they've signed in. I guess an authentication log might be better if that's the use case.

Anyway, see who is using it.

Incorporate crash reporting

Right now if someone else uses the website, we have no idea if it crashed for whatever reason. Install Sentry (or whatever library) and confirm error reports go back to there. Create a test page to manually verify crash reports.

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.