Commit Graph

16 Commits

Author SHA1 Message Date
Skud
2ecbd8315d bugfix: don't say 'not yet set' in planting form
PT: https://www.pivotaltracker.com/story/show/51457917

Maco found this. The problem was that if you had a blank planting date,
and then re-edited the planting, it would say "not yet set" in the form
field, then die when it later tried to convert that to a date.

I replaced Miles's planted_at_string stuff in the model with a simpler
parse_date method in the application helper.
2013-06-11 16:08:02 +10:00
Miles Gould
6b487ab1f6 Escaped_Markdown HAML filter, for use in RSS.
I tried to do this using Haml::Filters::Markdown so it would be
independent of our Markdown renderer, but I couldn't get
Haml::Filters::Markdown.render to work programmatically - whatever I
did, it returned its input unchanged. So I hardcoded a dependence on
bluecloth.
2013-05-16 15:08:50 +01:00
Skud
d006854a6c added omniauth-flickr gem 2013-04-30 22:55:40 +10:00
Skud
c2dbebb046 Merge pull request #189 from pozorvlak/nearby
Find users within a given distance; allow specification of units.
2013-04-30 03:04:29 -07:00
Miles Gould
8bc4d8f4ce Use km by default. 2013-04-30 10:39:57 +01:00
Skud
5b2dbc571e security fix: check ENV for rails secret token 2013-04-27 10:23:32 +10:00
Miles Gould
83ac83a076 Add omniauth to our middleware. 2013-04-09 16:39:46 +01:00
Skud
0ec01ab259 improved date/time formatting
we set defaults for date and time formatting (and override them in a few
places)
2013-04-02 12:30:05 +11:00
Miles Gould
f21df1dbb9 Method to send email notifications. 2013-03-27 11:23:52 +00:00
Skud
68a36310b7 make login names remember case (so I can have Skud)
... but don't let anyone take "skud" if I'm "Skud"

don't allow 'staff' as a login_name either
2013-03-18 20:48:06 +11:00
Skud
1503cbddad Plantings show on members, gardens, and crops pages
Created a thumbnail to standardise the display.  It's not pretty but it
has the basic info.
2013-01-18 13:40:30 +11:00
Skud
689448f87c renamed Member.username to login_name 2013-01-13 19:14:46 +11: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