Commit graph

1123 commits

Author SHA1 Message Date
Tom Hughes
71f377ab8f Yet more raw markers 2011-11-16 09:55:36 +00:00
Tom Hughes
28579180e5 Add some more raw markers 2011-11-16 08:48:05 +00:00
Tom Hughes
d4853bdc29 Looks like @body is special somehow so use @text instead 2011-11-15 14:49:38 +00:00
Tom Hughes
1d6051d08b Make linkify preserve HTML safety 2011-11-15 09:46:33 +00:00
Tom Hughes
36a3dfe7cd Add a few missing raw markers 2011-11-15 09:20:04 +00:00
Peter Gray
95d899786a Refactor bounding box code
Moved duplicated code into the BoundingBox class, and pass around
BoundingBox objects instead of lists of bounds.
2011-11-14 09:42:57 +00:00
Tom Hughes
d70fd8ab1a Use HTML5 email and url field types where appropriate 2011-11-14 09:42:57 +00:00
Tom Hughes
281a3239e6 Mark terms as raw to avoid escaping HTML in them 2011-11-14 09:42:57 +00:00
Tom Hughes
546db82281 Preserve field values if the signup form fails validation 2011-11-14 09:42:56 +00:00
Tom Hughes
c55bcb1763 Mark openid prompt as raw so the image is not escaped 2011-11-14 09:42:56 +00:00
Tom Hughes
1f383dcbd7 Serve swfobject via the assets pipeline 2011-11-14 09:42:56 +00:00
Tom Hughes
607d23f6d6 Fixup some string escaping issues in the data browser 2011-11-14 09:42:55 +00:00
Tom Hughes
3f9fdb122c Mark the generated list of page links as raw 2011-11-14 09:42:55 +00:00
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