graasp-plugin-file-item's People
graasp-plugin-file-item's Issues
Enable plugin for apps
Edit the plugin to also be used by the apps to store files
Setup yarn
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.
Fix upload limiter to throw correctly
Refactor to Typescript
Remove promisify when possible
Use new file plugin
Update package-lock
Update package-local and migrate to npm 7 and node 16
Set hasThumbnail setting
Update dependencies
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.
Use graasp sdk
block file upload (or discard file) if storage limit is crossed
on upload check if member's storage usage + new file's size crosses the limit for the member.
Refactor public endpoints
Update plugin to use stream instead of buffer
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
Update dependencies
Update dependencies
Update dependencies
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.