Git Product home page Git Product logo

facss_carpool's Introduction

UNC Carpool

Carpool System used Internally in FACSS, UNC Chapel Hill

A Note on Security

This software was made with the basic level of security. I believe no common database attacks can occur to this software. Yet it is highly possible you can break the system somehow deliberately. I feel this is somewhat unnecessary, but if you ever were to attempt to break the system, please be reminded that you probably have something more useful to do than letting another student working overnight fixing the mess.

防君子不防小人的安全系统,黑客精神固然可贵,但是我也身为维护人希望可能的攻击者别专门制造麻烦。

Setup

Ruby Required

Install Padrino before dev

See app/views/ for the slim template files

bundler install
padrino s

Deployment

This app is currently hosted in the UNC Chapel Hill Openshift platform. You can host it anywhere where ruby deployment is supported.

License

MIT License

facss_carpool's People

Contributors

runeblaze avatar

Watchers

James Cloos avatar

facss_carpool's Issues

Sep 30 TODO

Riderize

Address => On Campus / Off Campus

Management

Disallow Volunteer Manual Selection

Allow manual match

UI

lhs: volunteers
rhs: riders[need-volunteer=true]

Fix nil errors

https://sentry.io/baqiao-liu/carpool/issues/342595988/

NoMethodError: undefined method `gender' for nil:NilClass
  app/views/volunteer/update.slim:18:in `block (2 levels) in singleton class'
    = f.select(:gender, :options => [['男性', 'male'], ['女性', 'female']], class: 'u-full-width', value: @user.gender)
  app/views/volunteer/update.slim:13:in `block in singleton class'
    = form_for :volunteer, '/volunteer/update', :id => 'update', :class => 'ui form' do |f|
  app/controllers/volunteer.rb:86:in `block (2 levels) in <top (required)>'
    render 'volunteer/update', layout: 'site'
  lib/identity_map_middleware.rb:9:in `block in call'
    @app.call(env)
  lib/identity_map_middleware.rb:8:in `call'
    ::DataMapper.repository(@name) do
...
(76 additional frame(s) were not displayed)

NoMethodError: undefined method `gender' for nil:NilClass

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.