Giter Club home page Giter Club logo

ruby.mn-website's Introduction

Ruby.MN website

This repo is no longer maintained, or deployed. It exists mainly for historical purposes.

There are known security vulnerabilities, and as such, should not be deployed to a live server.


Setup

VAGRANT BOX:

For a Vagrant box customized to this project, go to https://github.com/jhsu802701/vagrant-debian-jessie-rvm-rubymn . Because Ruby 2.1.6 and Rails 3.2 are pre-installed, the process of setting up this project after you install or reinstall this box is much quicker.

DEVELOPMENT SETUP:

Just enter the following commands:

  1. git clone https://github.com/rubymn/ruby.mn-website.git
  2. cd ruby.mn-website
  3. Enter the command "sh test_app.sh".

DATABASE SEEDING

  • Running "rake db:seed" provides an admin user (username of "admin1" and password of "railsrocks") and a VERIFIED user (username of "007" and password of "railsrocks").

NOTES

  • recaptcha removed from user validation. Optionally add this back in if invalid/spam user signups really are a problem.
  • WARNING: ignoring activemailer delivery errors in production. This is because the new site is in a test mode. If merged back into the main site, will probably want to flip this back. This setting is in config/environments/production.rb.
  • If running rake gives you the error message "ERROR: encoding UTF8 does not match locale en_US Detail: The chosen LC_CTYPE setting requires encoding LATIN1.", then you need to execute the following commands to correct this: sudo -u postgres pg_dumpall > /tmp/postgres.sql sudo pg_dropcluster --stop 9.1 main sudo pg_createcluster --locale en_US.UTF-8 --start 9.1 main sudo -u postgres psql -f /tmp/postgres.sql

ruby.mn-website's People

Contributors

jrmehle avatar tomtoday avatar webandy avatar caseyhelbling avatar jhsu802701 avatar tonyc avatar krbullock avatar benovermyer avatar

Stargazers

 avatar Jon Phenow avatar Justin Bacon avatar Ken Earley avatar Ben Peirce avatar Phil Crissman avatar  avatar Sam Schroeder avatar Chris Warren avatar Barry Hess avatar

Watchers

 avatar  avatar  avatar cmdrRiker avatar James Cloos avatar Dan Carney avatar  avatar Kenneth Kebaara avatar

ruby.mn-website's Issues

Admin cannot see or approve new events submitted by users

test_admin_approve in test/functional/admin_controller_test.rb fails

I was able to log in as a verified user and submit an event. When I logged in as the admin, I was unable to see or approve the event I submitted as the verified user.

Minor css issues

These are for anyone to grab or for myself to fix up when I get a minute.

  • Line height on announcement copy should be reduced. too much spacing.
  • Members page URLs link styles. Perhaps hidden if no URL is provided. Could use a bit more contrast between items, maybe just a CSS3 gradient would be fine (same for home page announcements).
  • google map location could probably just always be displayed and not hidden with Javascript.
  • "for hire" page URLs are not linked
  • check the site in IE and make sure it is not too hideous. Have not opened it up in IE at all. While probably zero members use it, might be nice for other visitors looking to hire rubyists for example.

test_admin_approve fails

Although the admin user can approve events, the test for this fails and needs to be revised.

In test/functional/admin_controller_test.rb, the test_admin_approve portion fails at the line "get :approve, :id => e.id, :user_id => e.user.id". The error message is:
ActionController::RoutingError: No route matches {:id=>"2", :user_id=>"13", :controller=>"admin", :action=>"approve"}

An example of a URL for approving an event is http://localhost:3000/admin/events/958/approve . The "958" is the ID number of the event. The suspect get command in the test includes the ID number of the user who submitted the event but does not specify "events".

Add an about page

We need an about page, possibly with a place to display info about sponsors.

I would also like to have an explanation of the spoon bridge image. Obviously Minnesotans will recognize it but people from other parts of the world may not know what it means. This could go on the about page.

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.