ralree: is it possible to make a "view only" version or make it configurable somehow?
it would be very useful if you wanted to create a anubis site where others could view it without having to worry about them screwing up your configuration.
Thanks for this contribution.
Tom
That's in my plans. Right now I just have it hosted over SSL with HTTP Basic Authentication, but I want to make it so for non-authorized clients (people clicking cancel on the HTTP Basic Auth), they can see the view-only version like you're suggesting. I messed around with copying/symlinking the code to a different location and modifying configs, but then I realized it's hard to configure it so it's view-only without turning off API writing in cgminer. I'll figure out a way to do that soon when I have time.
2 things:
1. config.inc.php is missing - had to copy from my version (mybe there's a better way of doing this)
2. For those upgrading from existing installation, you need to add the extra columns to the database.
1. Thanks for the tip - I meant to commit a config.inc.php.example file like I did with the auth file, but I must have forgotten to. I'll fix that up shortly.
2. It would be nice to make some scripts for upgrading the schema - keeping a schema version in the database and making the right alter table statements to upgrade. Of course, I don't expect the schema to change all that often, and it's so quick to configure it's probably not worth the effort. For now, I'm just going to keep it as is, but if I end up developing this a lot I'll add in DB migrations.