Taylor Griffin
e7bb285b8e
Merge pull request #448 from yoongkang/followerdev
...
Allow members to follow other members
2014-11-30 16:04:35 +11:00
Yoong Kang Lim
b06d48091e
Indentation problem
2014-11-30 15:50:13 +11:00
Skud
844791ead9
Allow multiple comma-separated scientific names
2014-11-30 15:48:58 +11:00
Yoong Kang Lim
73d6b5065b
Use factorygirl aliases
2014-11-30 15:25:48 +11:00
Yoong Kang Lim
7ddaca6e11
Use .size instead of .count
2014-11-30 15:19:50 +11:00
Yoong Kang Lim
2036a0f2e9
Used environment variable for site name instead
2014-11-30 15:18:13 +11:00
Yoong Kang Lim
27ad791f67
Merge remote-tracking branch 'upstream/dev' into followerdev
2014-11-30 15:16:48 +11:00
Yoong Kang Lim
13c98eac89
Wrapped tests around context blocks to clarify the purpose of the tests.
2014-11-30 15:14:56 +11:00
Justin Hamman
6d2d6a51d5
Merge branch 'dev' of https://github.com/Growstuff/growstuff into dev
2014-11-30 15:02:20 +11:00
Skud
4e19da56a0
Rearrange fields in crop uploads (sci names last)
2014-11-30 14:51:33 +11:00
Taylor Griffin
cf7ead3d84
Merge branch 'dev' of https://github.com/Growstuff/growstuff into rails4-upgrade
2014-11-30 14:36:10 +11:00
Yoong Kang Lim
969f7e7c23
Merge remote-tracking branch 'upstream/dev' into cancanredirect
2014-11-30 14:25:08 +11:00
Taylor Griffin
14e8c367e1
Merge pull request #456 from Skud/paidaccountbug
...
Fixed a bug which only occurs in the few months before February
2014-11-30 14:23:19 +11:00
Skud
924efe6af5
Fixed a bug which only occurs in the few months before February
...
This is the fundamental problem:
2.1.2 :005 > Time.zone.now + 3.months
=> Sat, 28 Feb 2015 03:17:24 UTC +00:00
2.1.2 :006 > Time.zone.now + 3.months + 3.months
=> Thu, 28 May 2015 03:17:32 UTC +00:00
2.1.2 :007 > Time.zone.now + 6.months
=> Sat, 30 May 2015 03:17:37 UTC +00:00
I changed the test to use the "3.months + 3.months" formulation and it
now passes.
2014-11-30 14:19:55 +11:00
Justin Hamman
23f524a236
Merge branch 'master' of https://github.com/Growstuff/growstuff into dev
2014-11-30 14:06:48 +11:00
Skud
39b47b0d08
Merge pull request #454 from krio/rearrange-rss-titles
...
Rearrange titles on RSS feeds
2014-11-30 13:37:30 +11:00
Taylor Griffin
18c40809a6
Merge branch 'dev' of https://github.com/Growstuff/growstuff into rails4-upgrade
2014-11-29 22:20:58 +11:00
Marlena Compton
8826b0137a
changed growtuff to growstuff which fixed tests
2014-11-26 13:55:27 -08:00
Marlena Compton
d4d76b2e8d
committing tests classes I thought I committed earlier :/
2014-11-26 13:48:22 -08:00
Yoong Kang Lim
81d1189203
Added a before_filter for any action that requires authentication. Will redirect to login page if not logged in
2014-11-24 22:12:42 +11:00
Kevin Rio
2111cddaef
RSS feed tests
2014-11-23 21:02:56 -05:00
Marlena Compton
994ee18f13
Merge remote-tracking branch 'upstream/master'
2014-11-23 14:36:21 -08:00
Kevin Rio
eb4fae463f
Comments RSS tests
2014-11-23 11:47:48 -05:00
Yoong Kang Lim
8c55a6101d
Formatting problem
2014-11-21 01:14:12 +11:00
Yoong Kang Lim
2ca42bbae3
Slight modification to the notification wording.
2014-11-21 01:05:23 +11:00
Yoong Kang Lim
5de6759917
Moved number of follows/followers under activity and added pagination.
2014-11-21 00:29:45 +11:00
Yoong Kang Lim
aeb7192f48
Break up tests into different scenarios. Defined cancan ability for follows and updated member profile view
2014-11-20 23:46:15 +11:00
Yoong Kang Lim
0ba6562d79
Added more model tests for following behaviour
2014-11-20 01:46:04 +11:00
Yoong Kang Lim
996043d8fb
Renamed get_follow_id to get_follow as it does not return id. Also added unit tests for the new methods in the member model.
2014-11-20 01:10:28 +11:00
Yoong Kang Lim
0eb5ae58aa
Renamed member_id column in Follow table to follower_id. Made necessary modifications to models and tests.
2014-11-20 00:42:46 +11:00
Skud
6aea16028e
Merge pull request #452 from wsmoak/negative-area
...
Prevent the creation of a garden with a negative number for the area.
2014-11-19 17:18:09 +11:00
Skud
5f2ca6bc9d
Merge pull request #450 from Skud/login_timeout
...
Login timeout
2014-11-19 17:18:02 +11:00
Skud
9861f8cf51
Merge pull request #447 from krio/add-edit-button-seeds-index
...
Add edit button to seeds index page
2014-11-19 17:17:52 +11:00
Skud
284c28ce9a
Merge pull request #441 from yoongkang/editprofile
...
Removed "Edit Profile" button from home page
2014-11-19 17:17:27 +11:00
Skud
c674f30eb8
Merge pull request #453 from Growstuff/dev
...
Production push: planting reminders, crop details, harvest photos, finished plantings, etc
2014-11-19 16:53:55 +11:00
Wendy Smoak
02994bd5cc
Added a test for the validator to show it doesn't accept negative numbers for garden area.
2014-11-18 20:58:00 -05:00
Wendy Smoak
53d782bc83
Prevent the creation of a garden with a negative number for the area. If entered, the area must be greater than or equal to zero.
2014-11-18 20:33:44 -05:00
Taylor Griffin
c83b01bbb7
catch up with dev
2014-11-18 22:59:43 +11:00
Taylor Griffin
fb595de457
edited configuration and dependencies
2014-11-18 22:24:58 +11:00
Taylor Griffin
acbd3f9a9e
implement strong parameters instead of protected attributes
2014-11-18 20:08:54 +11:00
Taylor Griffin
98c1680138
handle misc deprications
2014-11-17 07:16:02 +11:00
Taylor Griffin
0ffe9adc86
tests are green
2014-11-16 21:40:43 +11:00
Taylor Griffin
56b4f8a221
mimick old FriendlyId behavior when calling find on a model - therefore, Model.find not Model.friendly.find (this probably needs review)
2014-11-16 20:21:34 +11:00
Taylor Griffin
f1945151c7
update RSpec true / false matchers
2014-11-16 14:40:50 +11:00
Taylor Griffin
cc31e864d5
update webrat and webrat matchers
2014-11-16 14:31:33 +11:00
Taylor Griffin
868e5c2079
upgrade jquery-ui-rails gem and config
2014-11-16 12:41:57 +11:00
Taylor Griffin
70185156aa
use lambda instead of just relation in names scope
2014-11-16 12:11:56 +11:00
Taylor Griffin
7fc886f43c
implement custom Sweeper class as stop gap against errors when running specs
2014-11-16 12:01:27 +11:00
Skud
93e468876d
Remove old capistrano stuff, as we don't use it anymore
2014-11-16 10:17:22 +11:00
Skud
52cfa9f676
Changed staging environment hostname to staging.growstuff.org
2014-11-16 10:16:34 +11:00