Skud
561b7c45ac
b3ify and improve design of edit profile page
2014-08-11 14:42:00 +10:00
Miles Gould
05a2c9080f
Delete commented-out code.
2014-05-03 16:21:08 +01:00
Skud
b489fda18e
revert to devise 3.0.x due to confirmable misbehaviour
...
as documented here: https://github.com/plataformatec/devise/issues/3009
also update mailer to use letter_opener and also localhost:8080 since
we're mostly using unicorn at this point.
2014-05-01 22:48:52 +10:00
Skud
72ce69ea8f
moved flickr and twitter api config to figaro
2014-04-29 13:14:47 +10:00
Skud
74e1e07567
tweaking secret key settings to match what heroku already has
2014-04-28 12:42:23 +10:00
Skud
28c789f85c
Update to ruby 2.1.1 and various gem tweaks to go with it
2014-04-28 12:33:43 +10:00
Skud
8620236cb0
Use growstuff markdown everywhere (except policy)
2013-11-11 10:33:20 +11:00
Skud
96b5a6cd94
Added new garden fields to gardens/show
2013-10-25 22:48:02 +11:00
Skud
803f8244c9
Added various fields to garden
...
- active (default: true)
- location, latitude and longitude (because when you move house, you
don't take your garden with you)
- area and area units (square feet or metres)
2013-10-25 21:54:13 +11:00
Miles Gould
d6972da84f
Speed up geocoding/deal better with slow geocoding.
...
- set limit=1
- set timeout=10s
2013-09-05 13:10:47 +01:00
Miles Gould
24f306e8ef
Set User-Agent in Geocoder requests; delete custom nominatim lib.
...
Nominatim-the-service's license requires that we identify ourselves.
The custom nominatim lib is no longer required since Geocoder is now
Fast Enough.
2013-08-28 12:08:19 +01:00
Miles Gould
c955504ad7
Reinstate Geocoder lookup
...
Direct Nominatim lookups were playing badly with "nearby" method in
testing. The slowness is largely fixed in the HEAD revision of Geocoder.
2013-08-28 12:00:58 +01:00
Miles Gould
ef73e712ba
Remove nominatum.rb's dependence on Rails
...
The user_agent and user_agent_email are now set as class instance
variables in config/initializers/nominatim.rb.
2013-08-23 17:00:19 +01:00
Miles Gould
4e62991f22
Replace Geocoder lookups with direct calls to Nominatim.
...
This is because Geocoder-via-Nominatim was really really slow (up to
10s).
2013-08-23 13:11:02 +01:00
Skud
5cc1ab2ab5
switched geocoding from google to openstreetmaps
2013-08-12 13:00:54 +10:00
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