Commit graph

1110 commits

Author SHA1 Message Date
Tom Hughes
b63ce5d460 Mark some locale lookups as raw 2011-11-14 09:42:52 +00:00
Tom Hughes
5eb21cc2da Fix form_for arguments 2011-11-14 09:42:52 +00:00
Tom Hughes
8acdba8bdd Upgrade to rails 3.1.0 2011-11-14 09:42:52 +00:00
Tom Hughes
49a45b1c52 Fix escaping of unicode character in edit menu name 2011-11-14 09:42:50 +00:00
Tom Hughes
4ea63afd24 Update use of deprecated forms of form_for 2011-11-14 09:42:48 +00:00
Tom Hughes
35e60d4d7b Avoid empty content_for blocks as they trigger warnings 2011-11-14 09:42:45 +00:00
Tom Hughes
dc9b0e8c94 Rename notifier views to new style names 2011-11-14 09:42:45 +00:00
Tom Hughes
226c41be69 Update ActiveRecord queries to use arel 2011-11-14 09:42:44 +00:00
Tom Hughes
1a8d73c024 Use an observer to detect changes to the selected legale 2011-11-14 09:42:43 +00:00
Tom Hughes
7901815718 Use symbols consistently for names of content blocks 2011-11-14 09:42:43 +00:00
Tom Hughes
7d45c2fd3c Replace request.request_uri with request.fullpath 2011-11-14 09:42:42 +00:00
Tom Hughes
2bc44dfddc Use form_tag instead of building forms by hand
In order for CSRF protection to work we need to use form_for or form_tag
to build all forms so that the authenticity token is added.
2011-11-14 09:42:42 +00:00
Tom Hughes
ed54379218 Make helpers return text instead of appending to the output buffer 2011-11-14 09:42:42 +00:00
Tom Hughes
22594361d5 Mark some strings that shouldn't be escaped as raw 2011-11-14 09:42:41 +00:00
Tom Hughes
b25a468e3c Use <%= instead of <% for block helpers that use concat 2011-11-14 09:42:41 +00:00
Tom Hughes
7b37f4cb62 Use link_to and form_tag instead of link_to_remote and form_remote_tag 2011-11-14 09:42:40 +00:00
Tom Hughes
e1213a4651 Use Rails.xxx instead of RAILS_XXX 2011-11-14 09:42:40 +00:00
Tom Hughes
c9fa49c994 Update to rails 3 2011-11-14 09:42:40 +00:00
Tom Hughes
f2d205a59e Add a link to the OpenStreetMap Google+ page 2011-11-07 22:38:56 +00:00
Tom Hughes
afb4fedbd7 Bounds should be treated as floating point 2011-10-31 10:08:49 +00:00
Tom Hughes
bed2405973 Fix some XSS issues 2011-10-30 17:23:39 +00:00
Grant Slater
1a8b39a547 Add an inner div for the plugin as swfobject will replace it 2011-10-06 08:35:28 +01:00
Grant Slater
a333712ad7 Replace swfobject 1.5 with swfobject 2 2011-10-06 00:52:12 +01:00
Grant Slater
66588f6cf1 Flash 10 is now required 2011-10-01 10:48:27 +01:00
Tom Hughes
dc4cc8d219 Add support for manual tracking of a Piwik goal on signup 2011-09-20 21:40:53 +01:00
Tom Hughes
425878bf3e Remove SOTM advert 2011-09-20 21:31:11 +01:00
Tom Hughes
3259bc7ede Add support for Piwik analytics 2011-09-17 00:11:53 +01:00
Tom Hughes
69d02c624f Remove link to ethnio script which was never used 2011-08-23 11:12:29 +01:00
Tom Hughes
bfb1f2a575 Disable the openid_url field when it isn't shown 2011-08-22 11:40:08 +01:00
Tom Hughes
4549c765f6 Don't show the openid field if the URL is the empty string 2011-08-22 11:00:42 +01:00
Tom Hughes
fd08fbacb2 Hide and show the openid field on the signup page correctly 2011-08-22 10:59:49 +01:00
Tom Hughes
18fcf61953 Pass the right extent for a changeset to the remote control handler 2011-08-12 19:26:12 +01:00
Tom Hughes
929f05d9d2 Add a small buffer to the extent before passing it to the remote control 2011-08-12 19:18:15 +01:00
Tom Hughes
e60810aeda Show the current location when editing a diary entry with a location 2011-08-01 16:59:40 +01:00
Tom Hughes
2047f7cc9b Style the map div correctly when editing an existing diary entry 2011-08-01 16:54:33 +01:00
Tom Hughes
0595255d58 Don't create the map until after the div for it is made visible 2011-08-01 09:09:24 +01:00
Tom Hughes
866f25bc45 Fix an accidental CSS match that broke user popups on maps 2011-07-31 16:21:35 +01:00
Tom Hughes
f242c9de94 Add edit links to data browser pages 2011-07-19 22:48:29 +01:00
Tom Hughes
936a005f9f Implement a generic system for updating coordinates on links 2011-07-19 11:05:06 +01:00
Tom Hughes
0c0775f96a Disable the edit tab until we have some coordinates to edit at 2011-07-19 10:02:50 +01:00
Tom Hughes
e5c80c80ad Use num_changes to detect empty changesets instead of the bbox 2011-07-12 15:55:17 +01:00
Grant Slater
1f2545ea90 Show the Potlatch 2 help the first time a user starts it 2011-07-08 18:45:40 +01:00
Tom Hughes
7e4ceec192 Wait for dom:loaded to fire before initialising the map
Also very all our use of window.onload and switch to using dom:loaded
instead where we can - the main case where we can't is when using a
vector layer as IE will fail unless the page is completely loaded.
2011-07-07 10:02:42 +01:00
Tom Hughes
6b8beb7d1a More work on moving styles out of line and extending RTL support 2011-07-02 17:10:56 +01:00
Tom Hughes
599843c72d Fix resizing of the map area in RTL layouts 2011-07-02 16:19:47 +01:00
Tom Hughes
aca299ecee Move more styling into CSS and make it support RTL layout 2011-07-02 11:22:19 +01:00
Tom Hughes
d075fc4c1f Lots more work on making RTL layout work 2011-07-02 01:00:51 +01:00
Tom Hughes
67a50468c5 Show the name of the logged in user during OAuth authorization 2011-07-01 20:38:41 +01:00
Tom Hughes
8b4d4549a4 Add a credit for IC on the front page 2011-06-28 14:03:12 +01:00
Tom Hughes
2bd592498f Don't try and update the session when we have no database 2011-06-23 14:15:55 +01:00