Giter Club home page Giter Club logo

blackboard's People

Contributors

constri avatar devel484 avatar huiibuh avatar moritzflu avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

blackboard's Issues

Changing blackboard name

If we want to be able to change the name of a blackboard we have to assign every blackboard an id. Otherwise the routing of the blackboards would change which is not desirable.

Content length limit

if content is not None and Blackboard._MIN_CONTENT_LENGTH < len(content) < Blackboard._MAX_CONTENT_LENGTH:
            raise ValueError(f"Content size should be: "
                             f"{Blackboard._MIN_CONTENT_LENGTH} < length < {Blackboard._MAX_CONTENT_LENGTH}")

This stops me from having test as content

Renaming blackboards

After renaming a blackboard once I cannot rename it again.

Error: {"status":406,"message":{"detail":"Blackboard with name 'Kkkk' already exists!"}}

Edit:
You cannot edit the content of a blackboard without renaming it

Can't see blackboard 'Esklappt' on website. Reason

Uvicorn uses workers to run the ASGI application.
In this case you load all the existing dicts in one process and Uvicorn starts another process with fastapi in it and there the static _BLACKBOARDS is of course {} because processes don't share memory.

Add the loading of the blackboards in the __init__.py.

@app.on_event("startup")
async def startup_event():
    items["foo"] = {"name": "Fighters"}
    items["bar"] = {"name": "Tenders"}

Pydantic model

Use the same pydantic base model for the same format.

{
    "token" : "something"
}

should not have two classes which describe the same

Entring edit-mode of blackboard

When selecting a blackboard on page 'HOME', i should be routed to the page, where you can see the content. When clicking on the pen, i will be routed to the edit page, where can change content and name.
Sometimes it jumps directly to the edit page. If i then try to change something, one of the following errors occure:

  • "[object Object]"
  • "Your are not allowed to edit the blackboard!"

Requirements

Die Blackboard Namen sowie die Nachrichten können in ihrer maximalenLänge beschränkt werden. Mindestanforderung:

  • Namen: 32 ASCII-Zeichen
  • Nachrichten: 255 ASCII-Zeichen

Ich glaube wir haben maximal 32 Zeichen als Name


Die Anzahl an zu erstellende Blackboards kann begrenzt werden. Mindestens 32 Blackboards sollen unterstützt werden.


3.3 CLEAR_BLACKBOARD
Löscht den Inhalt eines Blackboards.

Error message setting name

When entering a invalid name (to short or invalid characters), i get the inconcret error:
"Internal server errror"

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.