public
Description:
Home | Edit | New

Home

Users and passwords

Rehash is for you if you want to run a single website for yourself, and have no plans to add users or more websites. Perhaps you are a Ruby web developer and want to use a well-tested app you can modify and customize easily.

No user records are saved in the database, only a site record with an associated password. The website password is stored as a hashed value. The variable website in the code refers to the single website that was set up initially. There is no feature to host multiple sites from one installation.

File uploads

File uploads are limited to the Project model at this time, though database column names of attachable_type and attachable_id were chosen with polymorphism in mind.

Multiple file uploads

Multiple file uploads are made possible by the Uploadify jQuery plugin which uses Flash and JavaScript. If either are disabled or not working, uploading a single file at a time is still possible. Since Cucumber/webrat do not use JavaScript, they work in this way and test uploading a single file at a time.

Themes

Two themes are available with Rehash. Customizing the themes requires editing the stylesheets in a text editor and viewing the results in a browser. There is no mechanism to customize themes within the application or upload new themes at this time.

For developers

Rails’ built-in request forgery protection doesn’t work out of the box with Flash uploaders. A middleware file has been added to facilitate getting request information that is needed to ensure flash file uploads that are still protected and authenticated. Run rake middleware to see the installed middlewares for the application.

Last edited by webandy, Sun Oct 18 16:57:25 -0700 2009
Home | Edit | New
Versions: