Commit Graph

56 Commits

Author SHA1 Message Date
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 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
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 c76da373a1 Upgrade to Bootstrap 2.0.2 2012-03-31 06:38:27 -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 0d45efac05 Refactor in preparation for Bootstrap 2.0 2012-01-16 14:18:08 -08:00
Erik Michaels-Ober 09aac40d1c Set viewport for use on iPhone 2012-01-14 11:59:13 -08:00
Erik Michaels-Ober d72a93843f Request Bootstrap directly from GitHub servers 2012-01-02 04:03:53 -08:00
Erik Michaels-Ober 234c4a9092 Display better error message after admin redirect 2012-01-02 02:04:49 -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 23ec5c99eb Bootstrap 2011-12-24 23:33:09 -08:00
Erik Michaels-Ober e9873f8846 Remove snowstorm 2011-10-10 15:32:43 -07:00
Erik Michaels-Ober 688b408308 Begin refactoring to allow Adopt-a-Whatever 2011-09-15 14:06:08 -07:00
Erik Michaels-Ober d253fbd34b Internationalize all strings
[Delivers #14154783]
2011-09-14 16:50:39 -07:00
Erik Michaels-Ober ea0b98e504 Embed minified Google Analytics code in header 2011-09-03 13:58:18 -07:00
Erik Michaels-Ober 8d14295ffc Re-run rails generator for 3.1.0 final 2011-09-03 13:09:58 -07:00
Erik Michaels-Ober 34f9b75e79 Add flash messages 2011-08-29 14:51:44 -07:00
Erik Michaels-Ober dc44fa17d9 Revert "Revert to old skool asset management"
This reverts commit b74ff06722.

Conflicts:

	Gemfile
2011-06-23 20:17:01 -07:00
Erik Michaels-Ober b74ff06722 Revert to old skool asset management 2011-06-21 18:07:41 -07:00
Erik Michaels-Ober bb02f26d3e Convert views to haml 2011-05-08 01:29:21 -07:00
Erik Michaels-Ober 36a8ba9320 Rename main -> application 2011-05-07 20:51:36 -07:00
Erik Michaels-Ober 112b165625 Add Google Analytics 2011-05-07 19:03:45 -07:00
Erik Michaels-Ober 33b36c97e8 Upgrade to Rails 3.1.0.beta1 2011-05-05 19:38:25 -07:00
Erik Michaels-Ober d502b4693e Add spinners to all AJAX requests and prevent accidental double-clicks 2011-04-03 18:20:52 -07:00
Erik Michaels-Ober a587c5c08f Refactor 2011-03-27 11:45:58 -07:00
Erik Michaels-Ober e92b91eb6d Zoom to address and drop pins using JavaScript 2011-03-17 13:53:05 -07:00
Erik Michaels-Ober 46a665b7d6 Move location form handling into head 2011-03-17 12:11:56 -07:00
Erik Michaels-Ober 8f61d2d207 [Delivers #10897619] Serve all forms dynamically 2011-03-17 11:46:06 -07:00
Erik Michaels-Ober 200e683f91 Wire up adoption form 2011-03-08 00:44:27 -08:00
Erik Michaels-Ober 80994fa76b Create adoption form 2011-03-07 00:56:32 -08:00
Erik Michaels-Ober 428995778d Fix bug in regex 2011-03-06 23:56:55 -08:00
Erik Michaels-Ober 6027e5c6f9 AJAX error handling 2011-03-06 18:40:29 -08:00
Erik Michaels-Ober b61f81a9d0 Wire up forgot password action 2011-03-06 18:32:11 -08:00
Erik Michaels-Ober 135d017d2c Wire up sign in action 2011-03-06 17:46:06 -08:00
Erik Michaels-Ober 0da5ed46cd Wire up sign-up form 2011-03-06 10:28:00 -08:00
Erik Michaels-Ober 4f0fe7d428 Stubs for AJAX posts 2011-03-05 09:22:42 -08:00
Erik Michaels-Ober 27fc84552d Update email regex to match Rails 2011-03-05 08:46:26 -08:00
Erik Michaels-Ober 48b6e84013 Refactor error handling 2011-03-05 08:39:05 -08:00
Erik Michaels-Ober 56de9ac888 Added validation 2011-03-04 20:22:52 -08:00
Erik Michaels-Ober 7810faaa63 Add validation 2011-03-04 17:43:25 -08:00
Erik Michaels-Ober 013eed231c Hosted snowstorm 2011-03-04 15:21:08 -08:00
Erik Michaels-Ober e643e5c315 Update markers 2011-03-03 10:26:41 -08:00
Erik Michaels-Ober 46a79f2c66 New markers with shadows 2011-03-01 00:20:55 -08:00
Erik Michaels-Ober a30d0b26d0 Factor HTML into templates 2011-02-28 22:42:16 -08:00
Erik Michaels-Ober 6b78540653 Optimize 2011-02-28 21:11:07 -08:00
Erik Michaels-Ober b37c237d67 Create hybrid signup/signin form 2011-02-28 20:13:31 -08:00
Erik Michaels-Ober 2210857387 Display hydrants on the map 2011-02-25 16:49:45 -05:00