Code Monkey home page Code Monkey logo

schiller-lib's People

Contributors

nwrenger avatar wrenger avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

schiller-lib's Issues

Adding users

When somebody is adding a user, automatically look if that user is a iServ account. When it is not, don't let to add the user (maybe give a list with similar iserv users). (Students are getting their iServ account directly when enrolling in school)

Too Many Requests

The frontend sends too many and duplicate/unneeded requests on fast list scrolling, here a Pic:
Bildschirmfoto 2023-11-25 um 21 13 20
(The rows with the same color are duplicate/unneeded requests)

Sadly, I cannot really recall in your code whats causing this but I think this should be fixed.

Godot 4

Convert the Project to Godot 4.

Rework

I think we're pretty finished with the rework, only the README isn’t finished yet. We should be making the rework branch the default and the main the old/deprecated branch and shouldn't be merging rework into main. What do you think?

Auto Convert umlauts

A lot of younger students are using ä, ü and ö. We have to auto convert them when somebody creates a user because iServ uses ae, ue and oe for umlauts.

benutzer.data file bug

The benutzer.txt file was read wrongly and the user's was updated(Grade) wrongly. Has something with the formatting of the benutzer.txt.

Update User Roles

The Update User Roles doesn't work correctly. Please fix (idk why).

Error on Sending Emails

I am getting an error when I want to send mails using the "/api/notify" route:

The data which I am sending:

{
    "account":"nils.wrenger",
    "subject":"'\"... und mich - mich ruft das Flügeltier\"' ist nun verfügbar!",
    "body":"Hallo Nils Wrenger,\nDu hast dich für das Buch '\"... und mich - mich ruft das Flügeltier\"' interessiert.\nDas Buch war ausgeliehen und liegt nun wieder in der Schülerbücherei.\nWenn du willst, kannst du es jetzt ausleihen.\n\nViele Grüße vom Schülerbüchereiteam."
}

The console of the Server:

2023-11-02T18:06:46.739156Z  INFO schiller_lib::db::structure: Start migration of 0.8.3
2023-11-02T18:06:46.739262Z  INFO schiller_lib::db::structure: Applying patch 0.8.4
2023-11-02T18:06:46.741374Z ERROR schiller_lib::server::auth: SECURITY: Missing OAuth configuration!
2023-11-02T18:10:44.205167Z ERROR schiller_lib::mail: Invalid Mail Address InvalidUser
2023-11-02T18:10:44.205269Z ERROR tower_http::trace::on_failure: response failed classification=Status code: 500 Internal Server Error latency=0

The Server response to the client:

Arguments

which is equal to Error::Arguments

Requesting Large Data

I would like to have the total count of the elements in server requests for arrays, which also can be limited. For example for the book list so that I can display something like: Loaded 250 of 2291 Results.

Fetching User Data v2

The current way of fetching user data from a large CSV file (generated by ISERV) might not be sufficient for a web server anymore.

We could use the ISERV API directly to fetch usernames and emails. However, we then would specifically depend on ISERV, and schools without ISERV couldn't use this project.

The alternative would be to keep the CSV import and specify a path for this file when starting the webserver. In the UI, we only need a button to update all roles from the user file.

Error on Data Request

Can the Server please send on errors fitting data for translations, the current translations can be found here: locales.

Add German date

A lot of users are confused about the dates, which are English dates. We have to add German dates.

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.