Commit Graph
13034 Commits
Author SHA1 Message Date
Skud 4457300b0b Merge pull request #180 from Skud/travis-deploy
actually let's have a specific deploy user for this
2013-04-28 18:02:46 -07:00
Skud 9ba86cd674 actually let's have a specific deploy user for this 2013-04-29 11:01:22 +10:00
Skud 8e40b0fccd Merge pull request #179 from Skud/travis-deploy
Added continuous deployment script
2013-04-28 17:40:57 -07:00
Skud c98ff6a879 Added continuous deployment script
Also:
- removed notifications (they weren't really working for us)
- added rvm line as per suggestion by travis-lint
2013-04-29 10:39:29 +10:00
Skud b471ce7576 removed Courtney from about section 2013-04-29 09:43:50 +10:00
Skud 58482bfbc9 added contact link to footer 2013-04-29 09:39:30 +10:00
Cesy cead5e0f0f Merge pull request #176 from Skud/secrettoken
security fix: check ENV for rails secret token
2013-04-27 01:34:00 -07:00
Skud 5b2dbc571e security fix: check ENV for rails secret token 2013-04-27 10:23:32 +10:00
Miles Gould 70fa93ab42 Replace tabs with spaces. 2013-04-26 14:27:35 +01:00
Skud ddde2d30e3 minor wording changes 2013-04-26 13:23:44 +10:00
Skud 59a44be34b added CONTRIBUTING.md 2013-04-26 13:18:53 +10:00
Miles Gould 38246bd00b Add a dropdown to select units on members/nearby. 2013-04-25 23:48:25 +01:00
Miles Gould 2421126825 Put locations in geolocated_member factory names. 2013-04-25 23:27:52 +01:00
Miles Gould 643c8f0917 Rename local vars in tests for greater clarity. 2013-04-25 23:17:29 +01:00
Miles Gould a8fd75492a Units: be less trusting of user input. 2013-04-25 23:05:08 +01:00
Miles Gould a16d07cfef Fix tests for units in Members#nearby 2013-04-25 22:53:07 +01:00
Gary 00573d5d8a Removed duplicate stylesheet_link_tag 2013-04-24 20:11:21 -04:00
Cesy Avon cebd49271a Finding nearby members by distance
Distance is now configurable
Units framework is there but it's not working yet
2013-04-23 10:13:21 -07:00
Cesy Avon 6caf8e4160 Writing tests first 2013-04-23 09:05:12 -07:00
Cesy 50e0a88992 Merge pull request #172 from Skud/omniauth_twitter
Connect to twitter
2013-04-19 09:34:20 -07:00
Skud f05a8f9ce6 added twitter link to profile page 2013-04-19 00:00:56 +10:00
Skud 2418be18d3 added connections to settings page, fixed tests 2013-04-18 23:41:04 +10:00
Skud 0afbb704c3 Merge pull request #171 from Growstuff/dev
Production push: search nearby members, link to gravatar on settings page, other small tweaks
2013-04-17 03:54:55 -07:00
Samuel Cochran 41135f3869 Fix some email formatting issues 2013-04-15 11:32:26 +10:00
Miles Gould 612b966678 Disallow duplicate authentications.
You can authenticate multiple times against a server, but you must
supply different uids each time.
2013-04-09 17:56:48 +01:00
Miles Gould f2b2f12f67 Delete specs for unused views and controller methods. 2013-04-09 17:56:34 +01:00
Miles Gould 707bae2475 Make the authentication into a link to your Twitter page.
When we support other authentication providers, we'll need to make this
into a callback or something.
2013-04-09 17:38:30 +01:00
Miles Gould 7be173eea9 Store name with authentications 2013-04-09 17:38:17 +01:00
Miles Gould 36c509cc90 Add "link to another account" link to authentications/index 2013-04-09 17:32:03 +01:00
Miles Gould 0db5826898 Remove unused methods on authentications. 2013-04-09 17:26:47 +01:00
Miles Gould ff80b63743 Add a "name" column to authentications. 2013-04-09 17:23:59 +01:00
Miles Gould a3ac6343c7 Only show current member's authentications on index. 2013-04-09 17:20:40 +01:00
Miles Gould 0697d5a5ea Restrict ability to create authentications. 2013-04-09 17:19:38 +01:00
Miles Gould 89d8390a6f Added authbuttons-rails gem
Provides pretty icons for Twitter, FB, GitHub, etc. No Flickr :-(
2013-04-09 16:50:09 +01:00
Miles Gould 087a0cf176 Store token on creating a new authentication. 2013-04-09 16:46:31 +01:00
Miles Gould 82998ddfd4 Create an authentication object on successful callback. 2013-04-09 16:39:46 +01:00
Miles Gould b3154b8592 Fix stub authentications#create method
As per comment at
http://railscasts.com/episodes/235-omniauth-part-1?view=comments#comment_153390
2013-04-09 16:39:46 +01:00
Miles Gould 8647cd5315 Fix typo in models/member.rb 2013-04-09 16:39:46 +01:00
Miles Gould 83ac83a076 Add omniauth to our middleware. 2013-04-09 16:39:46 +01:00
Miles Gould dcbe944683 Removed unneeded generated files. 2013-04-09 16:39:45 +01:00
Miles Gould a3ad8c7bf9 Stub "authentications#create" method. 2013-04-09 16:39:45 +01:00
Miles Gould 5ea91bf56a Added an Authentications table.
Connects users to remote web services, as recommended at
http://asciicasts.com/episodes/235-omniauth-part-1

In addition, we store "token" and "secret" fields.
2013-04-09 16:39:09 +01:00
Miles Gould 2187972b47 Gitignore the local credentials.sh script.
This contains API keys and secrets and so should not be kept in Git.

Example script (edit as required):

export MANDRILL_USERNAME=xxxxxxxxxxxxxxxxxxxxx
export MANDRILL_APIKEY=xxxxxxxxxxxxxxxxxxxxx
export TWITTER_KEY=xxxxxxxxxxxxxxxxxxxxx
export TWITTER_SECRET=xxxxxxxxxxxxxxxxxxxxx
2013-04-04 18:38:56 +01:00
Miles Gould e6e8398038 Install omniauth-twitter
You lied to us, RailsCasts! You lied!

Specifically, http://asciicasts.com/episodes/235-omniauth-part-1 lied to
us about which gem we needed to install. See also
https://github.com/intridea/omniauth/issues/641 for the issues this
caused.
2013-04-04 18:35:34 +01:00
Miles Gould 25130fcb7f Install Omniauth 2013-04-04 18:17:01 +01:00
Skud f574bbb11f Merge pull request #169 from attlebish/fixsenderlink
Fixed link to sender profile in notifications
2013-04-03 21:02:14 -07:00
Lilly 9ed7a66c1c Fixed link to sender profile in notifications 2013-04-04 14:52:59 +11:00
Skud 8a82fa1655 Merge pull request #168 from attlebish/gravatarlink
Put avatar on settings page with link to gravatar.com
2013-04-03 20:15:03 -07:00
Lilly 5ae524baad Put avatar on settings page with link to gravatar.com 2013-04-04 13:59:05 +11:00
Skud ef91cc30b7 Merge pull request #167 from attlebish/signupswap
Swapped "sign up" and "sign in" links on navbar
2013-04-03 18:34:49 -07:00