Erik Michaels-Ober
8572f113e2
Update rubocop to version 0.22.0
2014-05-22 04:03:34 -07:00
Moncef Belyamani
f0dd44a7ca
Update Google Analytics code and use env vars
...
The GA ID and domain name were hardcoded before. I moved them to environment variables and wrapped the script inside a conditional so that it only gets displayed in production if the env var has been set.
I also updated the README with instructions for setting the env vars on Heroku.
2014-04-20 20:20:48 -04:00
Erik Michaels-Ober
0cabaea043
Update rails to version 4.1.0
2014-04-10 23:08:59 +02:00
Erik Michaels-Ober
d4ad1a40f6
Fix RuboCop offenses
2014-04-01 10:18:02 +02:00
Erik Michaels-Ober
3b3fa3b127
Consistently use Ruby 1.9 hash syntax
2014-03-25 10:47:44 +01:00
Erik Michaels-Ober
cd7d63794b
Update geokit to version 1.8.3
2013-12-31 19:51:59 +01:00
Erik Michaels-Ober
0cfd86ab2d
Remove .gitkeep files
2013-12-03 00:54:34 +01:00
Erik Michaels-Ober
c12b2fb58a
Check whether the user is nil, in case the user has been deleted
2013-12-03 00:02:02 +01:00
Erik Michaels-Ober
4cfa9ad5c7
Update rails dependency to version 4.0.1
2013-12-02 22:47:02 +01:00
Erik Michaels-Ober
11ac7148c3
Update devise dependency to version 3.2.2
2013-12-02 22:46:46 +01:00
Erik Michaels-Ober
9fcd1cb5f8
Convert to Ruby 1.9 hash syntax
2013-12-02 12:37:32 +01:00
Erik Michaels-Ober
4d7d026fdd
Update http_accept_language dependency to version 2.0.0
2013-09-23 02:12:24 +02:00
Martndemus
712bd97e6c
corrected localisation keyword error
2013-08-06 10:32:37 +02:00
Michael Lawrence Evans
3c7aff39b4
Fixing typo
2013-02-12 12:39:58 -05:00
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