Commit Graph

2432 Commits

Author SHA1 Message Date
Miles Gould
1fc2170a10 Fix Y10K bug in update tests, at @zoeimogen's insistence.
See https://twitter.com/zoeimogen/status/280699989674577921
2012-12-17 17:05:31 +00:00
Miles Gould
febd78d77a Use username-yyyymmdd-subject-line slugs. 2012-12-17 12:50:51 +00:00
Gnat
d6f55f9b0b Wrote some tests for Skud's gravatar code 2012-12-17 03:40:16 +00:00
Miles Gould
b02eced9b7 Include dates in update URLs.
/update/:slug still works, though.
2012-12-15 00:18:53 +00:00
Miles Gould
d2de7bc6f2 Add slugs to updates.
- add column to Update table
 - add a slug to all old updates
 - use slugs in URLs
 - make update slugs unique (we'll need them for delete URLs)
2012-12-15 00:18:46 +00:00
cephLpod
5a81e90005 Added update counts to Updates page 2012-12-14 16:16:33 -06:00
cephLpod
2f36e9a0cc Added member count to Members page 2012-12-14 16:11:37 -06:00
cephLpod
8790c0a2b0 Added crop count to Crops page 2012-12-14 16:07:29 -06:00
Miles Gould
bf58ff22a6 Give each user a default garden, called "Garden"
- created by an after_create callback on the user object
 - added test on model object
 - changed test of GET /gardens to expect Garden.all
2012-12-11 15:50:28 +00:00
Miles Gould
c3940969c9 Remove "pending" tests
Most we deleted, because we couldn't think of any interesting tests to
write.
We added a test for the garden_slug method of Garden.
2012-12-11 00:53:39 +00:00
Miles Gould
05a09ac428 Merged "mygarden". 2012-12-09 15:22:20 +00:00
Miles Gould
19f8d70f94 Fix size of boxes on /members; truncate long names 2012-12-06 13:00:14 +00:00
Skud
3548d8f4ee Added edit button to garden page 2012-12-05 21:54:29 +11:00
Skud
18f25a5217 Fixed broken tests. 2012-12-05 21:45:37 +11:00
Skud
59083882d6 Merging in changes from dev to mygarden branch 2012-12-05 21:05:40 +11:00
Skud
a0855fd563 Removed wiki link in footer ("About" goes there already) 2012-12-05 16:47:10 +11:00
Skud
7ed0a75788 Added TOS link to footer 2012-12-05 16:43:45 +11:00
Skud
382128c511 Added community guidelines to the app, plus tests 2012-12-05 16:37:20 +11:00
Skud
64724231e9 Fixed tests to work with TOS agreement 2012-12-05 16:13:08 +11:00
Skud
91e24e4ac2 fixed broken tests 2012-11-26 22:36:50 +11:00
Skud
08302a4864 Randomly display 8 crops on the garden page 2012-11-26 21:34:23 +11:00
Skud
760cf03b2c Fixed tests by getting rid of valid_session 2012-11-26 19:04:43 +11:00
Miles Gould
26e4699812 Merged "bootstrap". 2012-11-15 23:22:40 +00:00
Skud
b6675fa8cb Added a link to "Members" on the homepage.
The members' index page was another story (#39029449) but it ended
up getting done as a side effect of the RSS story.
2012-11-12 17:44:17 +11:00
Skud
1d3df3cba9 Added an feed for crops, too (PT #37282795) 2012-11-12 17:29:37 +11:00
Skud
cdc356fc73 Added RSS auto-discovery to the <head> of each page
Note: no tests because we haven't yet figured out how to test things
that appear in the HEAD section. Suggestions welcome.
2012-11-12 16:57:37 +11:00
Skud
8006f75275 RSS feeds for each member, plus tests. 2012-11-12 16:15:13 +11:00
Skud
5a379a40ab Merge pull request #46 from Skud/updates2
Updates
2012-11-11 16:16:15 -08:00
Juliet
3cca99155b Link 'you are logged in as' to profile page (ID 38703855) 2012-11-09 14:56:33 +00:00
Skud
c68ff5424e Added tests for markdown formatting 2012-11-09 23:29:58 +11:00
Miles Gould
78532ca2aa Link to list of recent updates from homepage. 2012-11-09 10:35:50 +00:00
Miles Gould
c77badaa58 Show updates in divs instead of tables
Using a partial to DRY out the rendering.
2012-11-09 10:32:12 +00:00
Miles Gould
e6eb30fbbf Fetch updates in reverse chronological order by default. 2012-11-09 10:13:16 +00:00
Miles Gould
ed896dd7a5 Add "Post an update" link to the header 2012-11-08 14:01:33 +00:00
Miles Gould
a8cd45f97c Defuglify the "show updates" page. 2012-11-08 13:13:24 +00:00
Miles Gould
e12bea06c3 Defuglify the "Edit update" page. 2012-11-08 12:53:53 +00:00
Miles Gould
287a964e87 Post new updates
- always use the ID of the logged-in user
2012-11-08 12:32:07 +00:00
Miles Gould
f3a590fb96 Create Update table and associated gubbins 2012-11-08 11:04:42 +00:00
Skud
6d7b04e734 Only logged in users can add/edit scientific names
Some small tweaks to crops tests along the way
2012-11-07 13:46:01 +11:00
Skud
4e3c47a82f Showing scientific names on the crop page 2012-11-07 13:19:59 +11:00
Skud
a122613ba3 added scientific names table/model/etc 2012-11-07 12:45:35 +11:00
Skud
42c7f86d6d Added friendly URLs (/members/skud) for each member 2012-11-06 21:31:16 +11:00
Maia Sauren
af47daa1a4 changed profile URL to members (#38934935) 2012-11-06 20:59:14 +11:00
Norman Ancajas
b39ee792b4 give each user a garden. note: tests broken! 2012-11-05 14:29:04 +08:00
Norman Ancajas
77c2e83c64 wrote migration to add test users, fixed tests 2012-11-05 13:03:19 +08:00
Norman Ancajas
f89815b6b3 added gardens table 2012-11-05 11:45:56 +08:00
Miles Gould
946b3236bb Added spec for profile view. 2012-10-30 09:25:32 +00:00
Skud
3b72a9ed17 Set up friendly IDs for crops aka slugs (eww!) 2012-10-27 15:08:30 +11:00
Maia Sauren
2273e28992 added 'development site' to header 2012-10-25 22:23:22 +11:00
Skud
140852afed You can now reconfirm using email or username.
Also, cleaned up the standard devise links that show up everywhere, removing signup/signin as they duplicate what's in our header.
2012-10-06 14:53:50 +01:00