Add a demo mode #77

Closed
silverwind opened this Issue Mar 5, 2014 · 13 comments

Projects

None yet

2 participants

@silverwind
Owner

With noLogin done, we'd just need something that regulary cleans up the files, and restores a basic set of demo files.

To get these demo files, we should implement the #38 first so the server can do outgoing HTTP requests.

@silverwind silverwind added the Feature label Mar 5, 2014
@ZombieHippie
Collaborator

Also make sure people can't upload files more than a couple mbs

@silverwind silverwind self-assigned this Mar 12, 2014
@silverwind
Owner

Testing the demo mode right now.

@silverwind
Owner

Demo

File deletion is disabled, maximum upload filesize 5MB, and it resets to it's initial state of basically hosting itself every hour. It'll probably have a few new bugs, as nodejitsu's node isn't totally up to date, but we'll see.

@silverwind
Owner

Folder creates and renames seem bugged, I'll take this offline until I can test more.

@ZombieHippie
Collaborator
@silverwind
Owner

Did you distribute a file link oder just the jit.su URL? In case it's the jit.su URL, that one won't ever change, file links thought would be of course be very volatile as the server cleans up hourly.

@silverwind
Owner

Alright, it's back up.

@ZombieHippie
Collaborator
@silverwind
Owner

Strangely though, on this machine, I can rename/create fine. Did you encounter any issues with renaming/folder creation yet on the demo?

@ZombieHippie
Collaborator
@silverwind
Owner

Yep that's what I was seeing too. The change goes through, but for some reason, the request never finishes.

@silverwind
Owner

Alright, the demo seems to work fine now, it actually wasn't a platform issue after all.

I'm thinking about adding a few more sample media files, which would need to be pulled through http requests on startup. If you have any suggestions for sample images/mp3's please post some URLs :)

@silverwind silverwind closed this Mar 14, 2014
@ZombieHippie
Collaborator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment