Giter Club home page Giter Club logo

phfs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

phfs's Issues

"Limiting bandwidth"

Implementing bandwidth limitation means doing a lot of works on lower-level things, and seems I can't do...
There are choices: let me try first; you help me; or give up.

What would to be mentioned is, PHFS have almost no performance bottlenecks, in a 1000Mbps network, it can transfer 90MiB data per second versus 13MiB with original HFS (to one client)

Where is this cookie from?

I've found a problem.

Create an account in hfs.ini, and specify a path for it. With Takeback template, launch PHFS, view the page with Firefox...

Go to the path, login to the account, back and go to the path again, one can view it;

Manage the account, logout, then re-login, after that go to the path, one got redirected to /~signin, cannot view the page successfully.

I've checked developer tool, and found that there's an unexpected cookie appeared in the request header of the path.

Cookie: HFS_SID_=d175938452acc151ca98b2a23055dd8b55c0ab0ea96548c332388c2d70b9c948;   HFS_SID_=38c8b2d82da82c951b04f210ea8c7f5b41434ca03f9c916b38a97c58c4404f25

The 38c8 one is from 2nd login, but, where is the d175 one from?

There's no trace of where is this cookie from though. Weird... ๐Ÿ˜ฆ

Now trying this in chromium-based browsers...

Configure methods -- choose which?

Currently PHFS is using a simple ini configure method for development.

Other choices:

  • An INI generator with a command line interface
  • An INI generator with a windowed interface, which will be a separate program/repo
  • An INI generator with a web interface, view it with browser at location /~
  • A command-line-window interface, I think few ones like
  • A full featured web interface that is familiar with original HFS
  • A full featured, separate windowed interface that is familiar with original HFS

Pros/Cons:

INI file Command line Windowed interface Web interface
User friendly โ“ โŒ โœ… โœ…
Flexibility โœ… โŒ โŒ โœ…
Modernity โŒ โŒ โŒ โœ…
Simplicity โœ… โœ… โŒ โŒ

Which pro would you prefer?

Discuss how to implement an account system?

I think this project should be a "core/lite" version of HFS, which means it should not be complex.
What in my mind is just to make a table (csv) that stores username, password hash, and also other things.
But, sometimes "simple" means "insecure", using big dependencies is also a way.
What do you think about? ๐Ÿ˜ƒ

P.S. I don't like using dependencies, especially which also depends on other dependencies...

Cannot make new folder, upload allowed

When trying to make a new folder in the web interface for a directory that is in the upload_allowed_paths, the following error occurs in the browser.

~lib.js:156 Uncaught TypeError: Cannot read property 'focus' of null
~lib.js:99 POST http://localhost:8090/uploads/?mode=section&id=ajax.mkdir 404 (NOT FOUND)

I'm guessing this is not meant to happen?

PHFS2 Plan ๐Ÿ™‚ -- eras later?

Just like HFS and CPython and many, the formal (non-experimental) version of a software may start at 2...
What I've not told is, PHFS is also an experimental project to test whether this idea can be successful.
Now that it's obvious "Yes". No need to tell reasons.

In my thoughts there will be Virtual File System & event scripts, and even new features that is good but not seen, in PHFS2, if that happens...

But this may be very late, at least for half a year, I will not start it early for personal life reasons...
Don't be upset! In the world of free/libre & open source, everyone can contribute, and make (at least) this initial version be better ๐Ÿ™‚

P.S. Once a guy tried to persuade me to give up on the entire project since "[HFS] is obsolete / old / not welcome / have technical limitations / have performance problems". You know I'll never be hopeless enough to follow such a negative attitude. Reasonable philosophy won't die. Just in case someone have doubts on you, shut him/her mouth up. No one can rule you, and your soul, your passion to learn, to develop, and to build a better world.

P.P.S. Also no need to response to someone that entirely negates you blindly & unfriendly. Just ignore those non-sense stuffs, as they really won't affect much, in any circumstances. You are unique and always the best.

-- last revise in May 2nd, 2022

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.