Giter VIP home page Giter VIP logo

graasp-plugin-file-item's People

Contributors

ahgentil avatar julien-torrent avatar pyphilia avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

graasp-plugin-file-item's Issues

periodic calculation of how much storage space a user is taking

some way of going trough all the fileItems (and s3 file item (?)) and calculating how much space a member is taking.

should this be something separate? it's own plugin? so that it works for both file-item and s3-file-item?
the plugin could take as options the item types to look into and the size property in them, and this way it could work for both item types.

Refactor plugin given new task manager

Do not forget to handle public endpoints.

Ideally it should provide all the logic but let the possibility to provide the item/do not check the memberships.

Invalid content-disposition

Related to graasp#67

When trying to retrieve a file with non ASCII characters, the backend throws the following error :

"err":{"type":"NodeError","message":"Invalid character in header content [\"content-disposition\"]"

This can be solved by generating valid content-disposition header. There are tools that allows to generate headers with non-ASCII chars :
ex : content-disposition package

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.