Commit Graph

156 Commits

Author SHA1 Message Date
Erik Michaels-Ober 5ddd21847e Use protocol-relative URLs for external JavaScripts
Closes #24.
2013-01-21 16:35:57 -08:00
Mick Thompson 88ad9d9561 set jquery version at 1.8.3 2013-01-16 11:19:35 -08:00
Jason Jones 93fca60a59 Update marker display on zoom as well as pan
The app was using the 'dragend' event on the map to listen for
changes that should prompt the display of markers, but that event
only triggers when the map is panned. Changing to the 'idle' event
ensures that the display is updated on both zoom and pan instead
of requiring users to slightly pan the map after zooming to get
new data.

This has the side effect of making the initial markers display
immediately upon loading the page, rather than waiting for the user
to pan, as the idle event occurs when the map is initially loaded.
2012-12-11 12:39:52 -09:00
Erik Michaels-Ober 7004916347 Prevent mass assignment with strong_parameters instead of attr_accessible 2012-11-15 09:34:19 -08:00
Erik Michaels-Ober 0f0ae8ceaf Allow assignment of user ID 2012-10-19 15:24:46 -07:00
Michael Lawrence Evans f33a7f7ee2 Slight copy change 2012-10-15 11:24:55 -04:00
Erik Michaels-Ober 6b2c541f45 Remove support for Ruby 1.8 2012-06-18 15:08:19 -04:00
Erik Michaels-Ober 972ada6867 Always use === 2012-04-16 12:52:26 -07:00
Erik Michaels-Ober 32562c328b Revert "Update Google Analytics"
This reverts commit ac4aa2b98b.
2012-04-10 15:14:05 -07:00
Erik Michaels-Ober ac4aa2b98b Update Google Analytics 2012-04-10 15:07:56 -07:00
Erik Michaels-Ober ca8cefc74f Remove unused images 2012-03-31 07:08:11 -07:00
Erik Michaels-Ober c76da373a1 Upgrade to Bootstrap 2.0.2 2012-03-31 06:38:27 -07:00
Erik Michaels-Ober d4430ef794 Capitalize radians 2012-03-31 05:47:25 -07:00
Erik Michaels-Ober 68570f9603 Pass JavaScript run through the application controller for localization 2012-01-27 20:07:23 -08:00
Erik Michaels-Ober 6caf8ef8e8 Validate email using validates_formatting_of 2012-01-27 13:12:23 -08:00
Erik Michaels-Ober b311063ed7 Add uniqueness constraint on city_id 2012-01-27 13:11:44 -08:00
Erik Michaels-Ober 75ee2ab31d Update devise dependency to version 2.0.0 2012-01-27 13:11:29 -08:00
Erik Michaels-Ober 55e4fc6f28 Re-add zoom control 2012-01-25 15:59:40 -08:00
Erik Michaels-Ober c95ffefc3c Fix client-side validation email regex 2012-01-25 11:15:56 -08:00
Erik Michaels-Ober 31cefcd2d0 Replace locale middleware with http_accept_language 2012-01-24 11:26:39 -08:00
Erik Michaels-Ober ba630c5673 Add Mayor as a sponsor 2012-01-20 14:19:47 -08:00
Erik Michaels-Ober 7a02bfab8a Add City of Boston Seal 2012-01-19 19:59:43 -08:00
Erik Michaels-Ober 0d45efac05 Refactor in preparation for Bootstrap 2.0 2012-01-16 14:18:08 -08:00
Erik Michaels-Ober 5d8463c7ad Refactor JavaScript 2012-01-14 11:59:59 -08:00
Erik Michaels-Ober 09aac40d1c Set viewport for use on iPhone 2012-01-14 11:59:13 -08:00
Erik Michaels-Ober a34a86fdee Update rails dependency to version 3.2.0.rc2 2012-01-10 14:35:38 -08:00
Erik Michaels-Ober 7c9c295c54 Change email signature from "The Boston Fire Department" to "The Adopt-a-Hydrant Team" 2012-01-09 21:33:58 -08:00
Erik Michaels-Ober 25af6069ca Style tweaks 2012-01-03 00:29:08 -08:00
Erik Michaels-Ober 0cd8307c36 Update validates_formatting_of dependency to version 0.4.0
Add validation for phone numbers.
2012-01-02 11:37:57 -08:00
Erik Michaels-Ober ae805e9163 Add address fields 2012-01-02 10:46:44 -08:00
Erik Michaels-Ober d72a93843f Request Bootstrap directly from GitHub servers 2012-01-02 04:03:53 -08:00
Erik Michaels-Ober 627162bfef Add placeholders for phone numbers 2012-01-02 02:11:15 -08:00
Erik Michaels-Ober 234c4a9092 Display better error message after admin redirect 2012-01-02 02:04:49 -08:00
Erik Michaels-Ober 064469de68 Make "Terms of Service" modal scrollable
I'm hopeful this will be fixed in the next version of Bootstrap. See:
https://github.com/twitter/bootstrap/issues/849 and
https://github.com/twitter/bootstrap/issues/850
2011-12-25 20:37:05 -08:00
Erik Michaels-Ober f1540fcfb0 Replace SVG with PNG for IE compatibility 2011-12-25 14:30:46 -08:00
Erik Michaels-Ober 0dc2b11bca Use Bootstrap modal for Terms of Service 2011-12-25 13:55:34 -08:00
Erik Michaels-Ober d420b5fff9 Use Boostrap alerts 2011-12-25 09:08:28 -08:00
Erik Michaels-Ober 957f7804b0 Fix Firefox bug 2011-12-25 08:27:45 -08:00
Erik Michaels-Ober 23ec5c99eb Bootstrap 2011-12-24 23:33:09 -08:00
Erik Michaels-Ober afb2b1ab6b Add precompiled assets 2011-12-19 02:10:47 -08:00
Erik Michaels-Ober f022b12101 Use default tabindex
[Delivers #19500489]
2011-10-10 16:15:57 -07:00
Erik Michaels-Ober e9873f8846 Remove snowstorm 2011-10-10 15:32:43 -07:00
Erik Michaels-Ober 6462a62060 Rename reminder mailer 2011-10-10 14:27:31 -07:00
Erik Michaels-Ober 4d48e482fe Remove stealing feature 2011-10-10 14:09:51 -07:00
Erik Michaels-Ober f75225c82f Fix typo in internationalization 2011-10-10 13:09:59 -07:00
Karla 9b6684fffc chaged the color of the logo to match web app red 2011-10-10 11:59:55 -07:00
Erik Michaels-Ober 65feb23199 Add new logo, designed by @kmacedo 2011-10-10 07:41:12 -07:00
Erik Michaels-Ober d44ad4c246 Remove duplicate setContent 2011-09-19 11:21:15 -07:00
Erik Michaels-Ober e1d60ebded Finish hydrant refactoring 2011-09-15 22:29:38 -07:00
Erik Michaels-Ober 9ea3d90227 Set default limit to 40 2011-09-15 21:18:06 -07:00