Code Monkey home page Code Monkey logo

uottawasesa's Introduction

Software Engineering Student Association (SESA) | L'Association des Étudiants en Génie Logiciel (AÉGL)

Welcome

This is the repo for the SESA website. Want to know more about SESA? Go check our home page

Install guide

This project works perfectly with ruby 2.3.3 and rails 5.0.1, you will need to use these specific versions.

First step : install rbenv (ruby version manager)

For Windows

Windows 10, you can use Cygwin or Bash on Ubuntu on Windows to install rbenv.

Then you just have to run the following commands (from the Linux tutorial )

For linux

sudo apt-get update

sudo apt-get install git-core curl zlib1g-dev build-essential libssl1.0-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev nodejs

cd
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
exec $SHELL

git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
exec $SHELL

rbenv install 2.3.3

rbenv global 2.3.3

ruby -v

gem install bundler

gem install rails -v 5.0.1

cd [path to this project]

bundler install

For mac

First install Homebrew if it's not already installed

$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

Install rbenv

$ brew install rbenv ruby-build

Once done, add to your bash profile

$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile

Apply to your terminal session.

$ source ~/.bash_profile

Install ruby

rbenv install 2.3.3

rbenv global 2.3.3

ruby -v

gem install bundler

gem install rails -v 5.0.1

Install Gems

cd [path to this project]
bundler install

Second step : install postgresql

You will need to install postgresql and update the /config/database.yml to connect properly to the database.

Final step : Launch the server

Just start the server with rails from the root of the project. rails server

Original by

Maintained by

See an error? Feel free to submit a pull request, open up an issue, or post on our facebook page.

Live, Laugh, Learn.

uottawasesa's People

Contributors

akluew avatar allanelleuch avatar arsanig avatar bathlamos avatar charle692 avatar craigbryan avatar digized avatar edpoon avatar getaclue avatar getaclue00 avatar hnguy104 avatar iandesson avatar jonathangb avatar katdrobnjakovic avatar lazybuggy avatar mtuck063 avatar nelmarianna avatar shimmy568 avatar toluolubode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uottawasesa's Issues

validate email is wrong

This line:

validates :email, uniqueness: true, format: {with: /[a-zA-Z0-9]+@[a-zA-Z0-9]+\.[a-zA-Z0-9]+/, message: "invalid format"}

https://github.com/mtuck063/uottawasesa/blob/master/app/models/club_member.rb#L6

doesn't validate emails except the most trivial ones. For instance, none of those valid emails would be accepted:

The proper regexp to check for emails is crazy long and nowaday wrong, since new TLDs come out by the dozen everyday.

The only decent way to validate an email with a regexp is by checking the presence of a @ and then sending an email.

Add newsletter checkbox to email

So currently when someone signs up on our website an email gets sent to the person signed up and to us. But we don't include in the email whether or not they signed up for the newsletter(checkbox on the form). Can you add this?

Current-page links do not work in Firefox

In firefox (version 32) the first three links at the top of the main page do not work if you are currently on the main page. They work fine from other pages, and they work fine in other browsers.

The problem is with the call to jQuery's .animate() in application.js:

$('body').animate({
  scrollTop: target.offset().top
  }, 1000, function(){ console.log("Callback animate"); });

in both cases should be

$('html, body').animate({
  scrollTop: target.offset().top
  }, 1000, function(){ console.log("Callback animate"); });

Webkit browsers use 'body' and firefox uses 'html'.

You'll probably want to stop the animate call from running on both every time. See [http://stackoverflow.com/questions/4034659/is-it-possible-to-animate-scrolltop-with-jquery]

Mobile menu causing horizontal overflow on events page.

What I mean by this is that the addition of the mail icon in the navigation causes the mobile navigation to be wider. And thus causes horizontal overflow.

image

Here you can see that the "S" in EVENTS is cut off.

If you scroll over to the right, then you can see that the hamburger icon appears.

image

If you click on it you can see that the email icon fits perfectly in the overflow space.

image

Note that this happens only on the EVENTS page. It also seems to happen for most mobiles.

Add new RoR banner to event page

Move old RoR event to the bottom / under "archive/past events" to avoid confusion. Some people who look at the site only (not fb/twitter etc...) thought the RoR event was on wednesdays this semester too.

Heroku, Gmail Auth

Heroku stopped sending our mail around April and throws Net::SMTPAuthenticationError. Tried to investigate and couldn't figure out why it doesn't send the emails. Will need to look into it.

Events Page From Static to Dynamic

Our events page right now is hardcoded and we manually have to enter events. Each change we make requires a server update, which is not something we do often and therefore the page is outdated.

What needs to be done:
-MVC needs to be created for events
-Give access to logged in accounts to see the edit/new/delete options

Blog Scheduling

Can we look into creating the blog posts so they can be scheduled to go live for future dates?

how past events are displayed on the site

Can we update the website to have all the banners from past events - just to show off the artwork and to show case what events we have done in the past.. we can just keep archiving events at the bottom.. but maybe add an archive heading so its clear they are not current events

Move remainder of members to Objects

  • follow what I've done in StaticPagesController#home
  • continue adding to current_members
  • add @advisor_members variable to StaticPagesController#home and follow suite with advisor members
  • eventual goal - linked to #47

Review required gems

Our gemfile is pretty big. We should investigate which are no longer necessary and remove them. Also, find out any we could make small changes to remove.

Underline and Down Arrow Missing on Resources Tab

So on our menu the mouse over will underline each of the links except for resources. We should have the underline. Resources is also our only dropdown in the menu however you wouldn't know just by looking at it. It is common to have a downward facing arrow on a link that expands.
screen shot 2017-11-19 at 3 06 27 pm

Mobile menu breaks when expanding "COURSE ADVICE" or "READ MORE...".

On the first year tips page if you scroll down to to one of the "READ MORE..." buttons or the green "COURSE ADVICE" buttons and click them, it causes the screen to scroll down and break the mobile navigation.

First off, you can see that the hamburger icon is covering the collapse icon. So the user would first have to scroll down to close the section.

image

This is not the main problem. If you try to expand the mobile menu, nothing appears.

image

Even if you close the expanded section and scroll up, the mobile navigation doesn't seem to appear.

image

I'm thinking that a possible cause for this is that the expanding option moves the collapsible section to the front of the z-index, in front of the mobile nav and doesn't move it back after? Not sure. If anyone has any ideas for this please let us know!

Better events handling

I think it makes sense to be able to add and remove event banners without modifying the code. That way some subset of execs (maybe all) could add events to the event page, without needing to change the app and redeploy.

FYA broken JS?

All the collapsable info is not working (everything is expanded cannot be collapsed)

How many headshots are we missing?

I know we are missing Philippe's headshot for sure.

How many others are we missing? Are there any there that shouldn't be?

This is probably good to figure out before someone attempts to deal with issue #26.

The latest headshots are not live, so you'll have to use rails s to see it.

modify the route to 2015 Start Up Weekend

Hey!

We need the website to route 2015StartUp and 2015startup to the same place.
So I was thinking of just using an expression like

/2015(S|s)tart(U|u)p/

OR... I was also thinking of just matching any combination... just so they all work

/2015(S|s)(t|T)(a|A)(r|R)(t|T)(U|u)(p|P)/

So.. This might work?

get '/:startupweekend', to: 'SOMELINK', startupweekend: /2015(S|s)(t|T)(a|A)(r|R)(t|T)(U|u)(p|P)/

Seemed to catch whatever combination via http://rubular.com/

Wrong email accounts

When a user mistypes their email address there is no way for them to know that. We receive an email saying that the email address is invalid when we try to send it to them. So maybe we can give them a message on the form when they submit that they should receive something within 10 minutes (check spam etc) otherwise contact us or resubmit?

Events Gallery

Let's work on having a simple gallery section on our website.
I'm going to try a simple, bruce force way at first... and then work on a more elegant solution.... if we want that.

The plan is to create a generic view and use the controller to serve the view based on the pictures of an event. Hopefully, it will be executed via simple route rules.

Events organization / styling

I think we should find a better way to style the events page so that it has all the information about the event, rather than having the information on facebook. This will also make it easier to tweet about the event and direct people to our website rather than somewhere else. (Ill do this along with #4)

navigation spacing is not consistent

The main navigation (in full desktop view) has inconsistent spacing. For example, the item "SESA" has significantly more padding/margins than a larger item such as "First Year Tips". I understand this is because a fixed width is being used for all tabs, however I think there is merit in maintaining spacing even if the sizing of the nav buttons would differ. This seems to be a pretty commonly accepted standard and most websites with similar navigation functions seem to maintain spacing.

For an example implementation, check out my website: https://vedpetkar.com or Bootstrap's project website: http://getbootstrap.com/.

Fix slow loading

The site loads pretty slowly. I'm sure there are some good ways to improve this.

List of Sponsors

Currently we list Solace as a sponsor (with their old logo too) but they no longer are a sponsor. We need to add Genatec and Desjardins to our list of sponsors and remove Solace.

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.