Code Monkey home page Code Monkey logo

bszet-vplan's Introduction

Hi there πŸ‘‹!

About Me

My name is Marcel.

I'm mainly a Java Developer, who is currently trying to learn Rust. I deploy most of the stuff that I create or use using Docker.
Besides backends, I also work on frontends in the past mostly with the framework Angular but in the recent time I also used some NuxtJS.

πŸ‘· Check out what I'm currently working on

🌱 My latest projects

πŸ”­ Latest releases I've contributed to

πŸ”¨ Latest Pull Requests I published

bszet-vplan's People

Contributors

dependabot[bot] avatar fabiankachlock avatar marcelcoding avatar pbahner avatar tkfrvisionofficial avatar tollpatsch314 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bszet-vplan's Issues

JSON API inconsistent

Do not use variables that are some times undefined. Undefined means that they are not mentioned in the JSON dictionary at all. This is a pain if you don't use a template for parsing the JSON (not every language is strongly typed). And when it comes to the cancelled boolean: set it to false if it isn't set to true. If a variable is empty set it to null.

Keep in mind that this way the API documents itself and people who are trying to implement it don't have to read your code and don't need to use .get everytime.

Groups

As already mentioned in #35 there has been some problems with groups. Originally the group functionality was for the groups in the IGD21 which are the same through every subject. This was the main reason BK was split into BK_1 and BK_2 because those groups were not the same as the other groups.
Since trying to add the IG21 timetable it turned out that this group system is not working anymore because every subject has different groups. Also the Python API dosen't parse the groups at the time of writing this.
There are two options going forward:

  • we split every subject with multiple groups into multiple subjects
  • we implement group parsing into the python api ignoring the fact that a group could mean multiple things

Preview timetable for the next day

It dosen't help anybody to get the timetable of the current day at 1pm. Please preview the timetable for the next day. Maybe send the current timetable until 8am and then switch.

MAFAK

Mfs have some really weird abbreviation for math tutoring these days. (Might have to call it something else in the bot.)
Or ignore entirely cuz it's an optional curriculum.

Alias system needs to be overworked

In #44 and #42 there were some changes that will break ig21 support. Because INFO is actually a subject for ig21 and used to defie LF6 in igd21 there is a conflict. Certain classes need there own subject collections. A split between IG and IGD would suffice for now. Ofcourse we will keep the domain.ts for subjects that are shared between those two classes.

Error: Timetable change action "other" not implemented.

Sentry Issue: BSZET-VPLAN-24

Error: Timetable change action "other" not implemented.
  File "./src/timetable/changes.ts", line 66, in handleChange
    throw new Error(`Timetable change action "${change.action}" not implemented.`);
  File "./src/timetable/changes.ts", line 17, in forEach
    if (handleChange(timetable, change)) {
  File "./src/timetable/changes.ts", line 13, in applyChanges
    changes.forEach((change) => {
  File "./src/timetable/index.ts", line 50, in getActualTimetable
    applyChanges(clone, changes);
  File "./src/vplan.ts", line 50, in processClass
    day = await getActualTimetable(clazz, date, changes);
...
(1 additional frame(s) were not displayed)

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.