psiie / Squidl.ink

Transfer file from A to B with ease (w/o the Cloud)
http://Squidl.ink/
13 stars 4 forks source link

Account Issues #2

Open Edward-Stryfe opened 7 years ago

Edward-Stryfe commented 7 years ago

So I registered an account and it worked find and logged my transfer information, but when I go to either the Login or Signup the logo in the top left errors out and after hitting the logout the button when I go to log back in I don't get any error messages and it doesn't log me in. So I cannot log in and there's no notification or signal that that is the case.

psiie commented 7 years ago

I do see that the logo breaks.

I see the same error. I'm investigating. For the time being, Facebook login does work.

Edward-Stryfe commented 7 years ago

I don't have a facebook account, but thank you for looking into it. I believe I figured out why the logo breaks, the logo appears (as far as viewing source in the browser shows) to be in the main website dir/img (ie http://squidl.ink/img/) and the img instead of using a complete url or of using ../ to backtrack to the previous directory when in the /auth/ directory(for signing in/out or registering) it looks forward again for a folder named "img" which isn't there. That can be fixed by changing

`

    Squidl
  </a>`

to

`

    Squidl
  </a>`

on pages that are included in the /auth/ directory. Since it appears you have permissions setup so that hotlinking isn't allowed for the main logo I'm sure you couldn't change the src to be http://squidl.ink/img/logo.png but if you changed those and did that for all pages globally that would also be a solution.

Also, but since we have an active issue and this is really just a suggestion but what about having it to where registered users can add files by just using the webtorrent infoHASH instead of having to have a plethora of tabs open in order to keep their files online.

It could be implemented by when you create a URL that you have the option to copy the infoHASH as the creator and you can then download it from the browser to the client so that you can seed multiple files at once, without the mess of having 2 dozen tabs. Or other users can seed via other sites like instant.io or btorrent.xyz to keep swarms healthy.

Edward-Stryfe commented 7 years ago

I believe the issue may be that the forms aren't operating correctly, have you seen any additions to the database for users, emails, or passwords? I'm fairly certain that it may be an issue either with or connecting to the database because I can't seem to find where else there's a problem.