indomitable / home-space Goto Github PK
View Code? Open in Web Editor NEWFile hosting service for home usages
License: Apache License 2.0
File hosting service for home usages
License: Apache License 2.0
When ever user enters wrong password twice, add 1 min cool down, if password is entered wrong again 2 mins, 4 time wrong 4 mins. Every next time double the cooldown period. Max cooldown 32 mins.
Whenever user wants to download multiple files or whole directory a zip file is created in the downloads
system folder. These files should be deleted to save space.
Add node locking table which prevents modifications in nodes during some operations:
Create new endpoint which returns status of a node:
Import algorithm:
Add background job to clean uploaded chunks: When user uploads big files they are uploaded on chunks once uploaded, the chunks are not needed. in order not to spend time to delete, they are left in the uploads folder.
Calculate file hash sum (SHA 512) when file is modified.
If user uploads same file multiple times it will create multiple versions of it but since there are no changes these versions are not needed. We need a clean command which packs versions and leave only versions with changes.
Currently when user's access token and refresh token are expired ( due to long inactivity ) renew request fails but user stays in the current page.
Expected result user should be redirected to the login page.
File operations usually consist from 2 operations: File system and Database these 2 operations should be done as one atomic operation. For example:
File move operation has 2 operations: move physical file, update db record.
If update db record fails we should revert file move to its original location. It is always better to do first the db operation which can be done in transaction and then to try the file system operation if fails rollback the db operation.
Depends on:
User should configure how long they want to keep the delete files, after this time they should be deleted.
When file is copied from one location to another the version entries are not copied but just references from the copied instance. Once file is deleted its history is not deleted because it maybe referenced from another file or if it is restored back to preserve the history. We need a clean command which deletes versions not referenced from any file.
Keep history if file in trash box still references them. If file is restored we want to preserved the history.
When trash item is deleted check if no other file in trash or in files references the history.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.