Skud
192196ae8e
added map to profile.
...
also making sure lat/long are zeroed if location is blanked
2013-02-12 22:38:48 +11:00
Skud
c50a652eb7
geocode locations when saved, using google API
2013-02-12 11:36:33 +11:00
Gnat
efd90e2d76
Add validation for uniqueness of login_name
2013-02-11 02:43:47 +00:00
Skud
d37e7a148d
Delete comments when post is deleted
2013-02-08 17:45:37 +11:00
Skud
801347976e
Added edit/delete buttons to comment display
2013-02-08 17:24:06 +11:00
Skud
93edede4da
Merged from mistaken branch on G/g
2013-02-08 16:11:38 +11:00
Skud
f66b4a64a3
added comment button to posts
2013-02-08 14:22:49 +11:00
Skud
363502a807
add show_email field to members
2013-02-06 16:25:17 +11:00
gnattery
6da3e4fae5
Added associations and tested them
2013-02-06 15:20:44 +11:00
gnattery
3cff543184
rails g scaffold Comment
2013-02-06 14:49:49 +11:00
Skud
ed2e73832d
sorta kinda works, but login/homepage are b0rked
2013-02-01 11:10:12 +11:00
Skud
f25729ce3b
First cut of a set of permissions
2013-02-01 10:41:38 +11:00
Skud
6113be1e69
sorting gardens alphabetically, so behaviour is clearer
2013-01-28 18:19:59 +11:00
Miles Gould
dc1ab0912f
Order crops case-insensitively by default.
2013-01-25 11:19:15 +00:00
gnattery
9f788ba8df
added friendly IDs for plantings, and tests
2013-01-18 16:06:20 +11:00
gnattery
d1e3f8ce32
Added description field to gardens
2013-01-18 15:11:11 +11:00
Skud
1da6c83fa1
Showing plantings on crops page. Ugly for now, but works.
2013-01-17 15:35:30 +11:00
Skud
501cad39f9
Plantings now show up on members and gardens pages
2013-01-17 15:12:37 +11:00
Skud
8da9a13eae
Changed garden.member_id to garden.owner_id
2013-01-13 21:29:28 +11:00
Skud
df76f2497a
renamed Post.member_id to Post.author
2013-01-13 20:57:28 +11:00
Skud
689448f87c
renamed Member.username to login_name
2013-01-13 19:14:46 +11:00
Skud
657ccf7cd8
s/users/members/g -- models and tests for them
2013-01-13 17:24:46 +11:00
Skud
dc9b8b8aa9
All spec tests now pass with s/update/post
...
Haven't done a full runthrough of the site yet, so will probably need to
make a few more changes.
2013-01-13 16:33:08 +11:00
Skud
21f0f39bf9
Model and controller spec files pass.
...
Views are another matter (and will explode badly at this point)
2013-01-13 16:12:45 +11:00
Skud
cf7c092220
FGified models/garden tests.
...
Also tweaked slug generation to be lowercase, and avoid spaces in slugs.
This probably needs more work to handle unusual characters, but I
punted on that for now.
2013-01-13 12:58:26 +11:00
Miles Gould
5d4ba46ce4
Move "is user confirmed" checks into model.
2012-12-28 13:29:46 +00:00
Skud
5f13567dd1
Added stringification for crops
...
to prevent plantings from having to know too much about the crop model
2012-12-19 21:31:17 +11:00
Skud
0b75494c50
added owner for gardens, and to_s for users
2012-12-19 21:08:32 +11:00
Skud
785aa8b178
Added accessor for 'owner'
2012-12-19 20:52:00 +11:00
Skud
f0b0b79906
made the plantings/ page look less crap
2012-12-19 15:45:57 +11:00
Skud
0af986021e
Generated scaffold for plantings
2012-12-19 13:30:40 +11:00
Miles Gould
febd78d77a
Use username-yyyymmdd-subject-line slugs.
2012-12-17 12:50:51 +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
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
Skud
59083882d6
Merging in changes from dev to mygarden branch
2012-12-05 21:05:40 +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
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
Skud
3b72a9ed17
Set up friendly IDs for crops aka slugs (eww!)
2012-10-27 15:08:30 +11:00
Miles Gould
1d9c1b14fc
Generate scaffold for Crops; refactor tests
...
Add link to Crops page from index
Refactored index/application tests to better reflect where things are.
2012-10-02 11:32:56 +01:00
Skud
9792abbf87
made user accounts confirmable by email
2012-09-03 13:16:24 +01:00
Skud
dcd4f79bdc
You can now login using either username or email
2012-09-03 12:38:58 +01:00
Skud
89cb3c276f
added devise and rspec, set up very basic login/signup links on homepage
2012-09-03 10:49:45 +01:00
Cesy Avon
95145f2869
Moving development to top level directory
2012-08-23 10:41:00 -07:00