Code Monkey home page Code Monkey logo

intel's People

Contributors

codacy-badger avatar kleberbaum avatar pinterid avatar schettn avatar signorcc avatar simonprast avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

signorcc

intel's Issues

There should be a way to get all GitHub organizations when generating talks

Describe the feature or change you'd like
It is currently not possible to filter organization by platform name. Therefore, all organizations are selected for the process of generating talks, including those from Gitlab. This leads to an error because the talk util currently only works with GitHub organizations.

To achieve this following changes are required:

    1. Add the platformName to the organizations in reducer
    1. Adjust query statements for organizations
    1. Adjust platform name filter in talk generating process

OAuth is always redirecting to localhost

Describe the bug
OAuth util has implemented a switch which recognises whether you are on localhost or not.
The correct config detail is chosen accordingly. That doesn't work correctly.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://snek.at'
  2. Click on 'Software Engineer'
  3. Click on the GitHub icon and sign in
  4. See error

Expected behavior
The Github redirect should work on snek and localhost.

Screenshots
telegram-cloud-photo-size-4-5877248843328893730-y

Desktop (please complete the following information):

  • OS: MacOS, windows
  • Browser: safari, chrome

Additional context

  • Ref: ๐Ÿ

There should be multiple ways to call the intel append

Describe the feature or change you'd like
There should be a way to hand over a list of source objects and a single source object to intel.

Source object:
user: e.g. "schettn"
authorization: e.g. "xxx"
platform: e.g. "github"

The Github util should be converted to typescript

Describe the feature or change you'd like
Currently the Github util is fully implemented in javascript. This leads to incompatibility with seek-front which uses typescript. In order to fix that issue the reducer should be converted to typescript.

The OSM is not working with JavaScript compression

Describe the bug
The OSM uses the constructor name of a statement object as a reference to the database table name. This variant works without JS JavaScript compression.
After react-script build compresses the code, the OSM can no longer resolve the table names with the help of the model constructor.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://snek.at/'
  2. Login
  3. Wait
  4. See error

Expected behavior
The page should load without errors. The caching must be carried out without falsifying data.

Screenshots
image

Desktop (please complete the following information):

  • OS: MacOS, Windows
  • Browser: chrome, safari

Additional context

  • Ref: ๐Ÿ

There are no dates in the calendar object

Describe the feature or change you'd like
Currently there is no start and end date in the calendar object. This should be implemented
in order to check where the year starts without selecting the first and last calendar entry.

There should be a gitlab implementation

Describe the feature or change you'd like
Currently the gitlab util is not implemented in the intel. Therefore it cannot be used. It should be implemented in order to support source objects with gitlab as platform type.

There should be reducer in order to transform data

Describe the feature or change you'd like
Currently there is no reducer which can be used to transform raw snek-client data to the needed format. There should be a reducer which takes that data and allows it to get certain types of transformed data blocks.

Additional context
All reducers should contain:

  • all() => gets all data
  • getRecent() => gets last added data
  • getBySource() => gets data filtered by source

There should be a way to get the source types

Describe the feature or change you'd like
Currently there is no way to get information about which platforms a user has connected.
It should be possible to get a statistic about the source types which should include the platform name and the total platforms.

E.g: name: "Github", total: 5 --> The user has five GitHub platforms connected.

The reducer object should be improved

Describe the feature or change you'd like
Currently the reduced object contains a profile, calendar, statistic and language object.
This should be reduced by moving the calendar and language object in the statistic object.

GitHub username can be invalid after a user changed it.

Describe the bug
If a user changes his name on GitHub his profile can no longer be found by SNEK.

To Reproduce
Steps to reproduce the behavior:

  1. Link a GitHub account to SNEK
  2. Go to GitHub
  3. Change your GitHub username
  4. Got to SNEK
  5. Login with your SNEK credentials
  6. Wait for re-querying
  7. See bug

Expected behavior
The username should be automatically updated using the GitHub access token.

Desktop (please complete the following information):

  • Any

Smartphone (please complete the following information):

  • Any

Additional context
Add any other context about the problem here.

When appending a source list, it should be filtered by platform name

Describe the feature or change you'd like
Currently when attaching a source list with mixed Github and Gitlab orders, the source objects are attached by order. Since the basic data of the profile should be taken from a github source object, these must also be appended first.

To achieve this following changes are required:

  • Sort the source list by platform name in order ["github", "gitlab"]

Fetch and process necessary gitlab data

Describe the feature or change you'd like
Currently the web scraped data is not processed. This should be changed. The data should be
filled using the OSM models.

Gitlab util paths are invalid and lead to 404 errors

Describe the bug
The endpoints defined in the paths file of the gitlab util seems to be invalid now. This could be because of Gitlab related updates.
Therefore it is not possible to query a gitlab user via web scraping anymore.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://snek-at'
  2. Register with Github and Gitlab user
  3. Open debugger -> Network Tab
  4. See error -> 404 errors

Expected behavior
The requests to the selected gitlab servers should pass without errors.

Screenshots
image

Additional context
Ref: ๐Ÿ

The reducer should be converted to typescript

Describe the feature or change you'd like
Currently the reducer is fully implemented in javascript. This leads to incompatibility with seek-front which uses typescript. In order to fix that issue the reducer should be converted to typescript.

The licence tag should be changed

Describe the feature or change you'd like
All files should be updated with a new version tag due to the change of the licence agreement.

Additional context
New tag:
...
SPDX-License-Identifier: (EUPL-1.2)
Copyright ยฉ Simon Prast
...

The squeezer should support excluding keys

Describe the feature or change you'd like
Currently the squeezer only supports key filtering. It does not support excluding keys. This functionallity should be added.

There should be a support for resolving json modules

Describe the bug
Currently it is not possible to build a package because OAuth uses a JSON config file which leads to an error because resolving json modules is not activated.

To Reproduce
Steps to reproduce the behavior:

  1. type "npx tsc"

Expected behavior
It should build without errors.
Additional context
image

The reducer should use a database to fulfil the needs

Describe the feature or change you'd like
There should be a AlaSQL database implemented in the reducer in order to handle the data. Due to that feature it should be easier to merge the data into the needed format.

Wrong authorization header in snek-client interface

Describe the bug
Due to an error it is not possible for the snek-client to interact with the APIs because the authorisation headers cannot be set correctly.

Expected behavior
It should be possible to use the snek-client in order interact with the APIs.

Screenshots
Wrong:
image

Correct:
image

There should be a snek-client interface for GitHub

Describe the feature or change you'd like
Currently there is no interface to the snek-client. In order to query data from GitHub's api, there should be predefined entry point.

Additional context

  • It should be necessary to provide a GitHub API token.
  • The interface should accept a GQL wrapped query string.
  • The interface should accept optional variables.

There should be a way to reset the reducer

Describe the feature or change you'd like
Currently it is not possible to reset the reducer without resetting the whole intel. This should be changed. It should be possible to reinit the reducer separately.

There should be a contribution share

Describe the feature or change you'd like
Currently there is only a number which represents the contribution types. There should be
a combination of number and percentage e.g size => Share

JSDoc should be added to the existing code

Describe the feature or change you'd like
Currently there is an insufficient documentation of the existing code. This should be improved by adding JSdoc to the intel.

There should be no spelling errors in the README

Is your feature request related to a problem? Please describe.
Minor to major problems with spelling

Describe the solution you'd like
Better English skills

Additional context
I was asked by a colleague to fix this

There should be repository owner information without losing organization information

Describe the feature or change you'd like
A repository is owned by the organization in which it is located. Therefore, the organization is rendered to the extent that it only contains the data that match a member. Then this rendered organization is saved as the owner.

It is important that the original data of the organization remain.

This does not happen. All data that do not match the member data are deleted during the rendering process. Therefore information like the members of an organisation is lost.

To solve this, a deep copy of a organisation must be made. This is then rendered and used as the owner.

Thus, the original data remain. ๐ŸŽ‰

Additional context
Ref: https://www.npmjs.com/package/lodash.clonedeep

There should be a OSM reconstructor

Describe the feature or change you'd like
There should be a reconstructor which provides basic operations (GET,ALL,FILTER,CREATE).
To achieve general operations for each statement object a SOAssambler which provides these functions and access to the database is required.

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.