Commit graph

265 commits

Author SHA1 Message Date
Tom Hughes
a03c584a98 Resize the map div when the page load is complete (via onload) in case the
page layout has changed since the initial sizing by the deferred script.
2008-03-07 00:26:57 +00:00
Tom Hughes
58082d128a Fix typo. 2008-03-04 21:24:14 +00:00
Tom Hughes
a473b4ebd9 Use defer="defer" rather than onload to try and speed up page loading. 2008-03-04 18:18:59 +00:00
Tom Hughes
789c6343d9 Yet more escaping. 2008-03-04 17:57:51 +00:00
Tom Hughes
c5f93e3ea0 More escaping. 2008-03-04 17:53:36 +00:00
Tom Hughes
2a061fb5a9 Escape page title. 2008-03-04 17:51:42 +00:00
Tom Hughes
a6089e5355 More display name escaping. 2008-03-04 16:53:08 +00:00
Tom Hughes
0d70728fe2 Escape user display names. 2008-03-04 16:51:13 +00:00
Tom Hughes
cf8bd08a66 Escape user names in diary views. 2008-03-04 16:49:12 +00:00
Tom Hughes
3acada409a Get the user image right this time... 2008-02-25 18:55:25 +00:00
Tom Hughes
ebe13d2849 Close tag properly. 2008-02-24 17:39:55 +00:00
Tom Hughes
32907b1c37 Display the image of the user who made the diary entry, not that of
the currently logged in user...
2008-02-24 17:38:50 +00:00
Steve Coast
bb510b8ff4 encourage people to set location 2008-02-23 16:49:08 +00:00
Steve Coast
cacf1879c3 user images 2008-02-23 15:18:59 +00:00
Tom Hughes
331cf6b068 Make maps deeper to allow the pan/zoom bar visible. 2008-02-23 12:52:57 +00:00
Tom Hughes
dffc16e9cc Make the slippy map on the user page deper so that the whole of the
pan/zoom bar is visible. Closes #705.
2008-02-23 12:49:29 +00:00
Tom Hughes
5fbc8ad3f4 Send email notifications when people comment on diary entries. Closes #655. 2008-02-04 00:15:28 +00:00
Richard Fairhurst
da76d64e93 Potlatch 0.7 2008-02-01 17:19:11 +00:00
Xin Zheng
6b23aa550e added experimental xml template which is not yet used due to performance issues 2008-01-24 18:21:59 +00:00
Steve Coast
63970defb0 only show map to actual user 2008-01-22 12:16:08 +00:00
Steve Coast
7dbc27fd67 Show nearby users map in account view page 2008-01-21 17:15:33 +00:00
Tom Hughes
b89ea4110d Show comment counts in diary entry lists. 2008-01-18 18:26:19 +00:00
Tom Hughes
70a6ecee19 Get pagination links right. 2008-01-18 18:22:47 +00:00
Tom Hughes
691aab02fc Add pagination to diary entry lists. 2008-01-18 18:20:15 +00:00
Richard Fairhurst
b387800234 maybe this will work 2008-01-18 16:39:10 +00:00
Tom Hughes
bb905aa285 Include a comment link in the diary RSS feed. 2008-01-18 10:43:21 +00:00
Tom Hughes
755b9711b5 Fix diary RSS feed. 2008-01-18 00:57:48 +00:00
Tom Hughes
8181cb4bf7 Add support for commenting on, and replying to, diary entries. 2008-01-17 23:12:25 +00:00
Richard Fairhurst
3eecc3ee5b 0.6c: bunch of minor improvements and bugfixes 2008-01-17 22:28:21 +00:00
Tom Hughes
c3bd1f113b Tidy up message sensitisation a bit more, and add sensitisation of
information in the diary RSS feeds.
2008-01-16 10:02:42 +00:00
Tom Hughes
b416597507 Make the message reply link prefill the title with "Re: original title".
Closes #634.
2008-01-15 19:05:17 +00:00
Tom Hughes
2eec60b575 Automatically convert links in diary postings into HTML links. 2008-01-15 18:31:23 +00:00
Tom Hughes
9f909d7447 Add a few more escape calls to prevent nasty HTML being rendered. Also
switch to using sanitize() instead of h() to escape message bodies. This
is not quite as safe as there is no guarantee that the HTML scanner it
uses will find everything, but is does allow benign HTML tags to be
displayed again.
2008-01-15 18:22:08 +00:00
Tom Hughes
1e54573bae Escape message titles and bodies. This is an emergency fix as some genius
has decided to report this XSS problem to a public mailing list. Unfortunately
it means that some functionality (links in messages etc) has been lost for now.
2008-01-15 00:26:01 +00:00
Tom Hughes
bc309badb8 Point people at the wiki when GPX imports fail. 2008-01-10 12:15:34 +00:00
Tom Hughes
a31e61169c Back out attempt to commit partial support for POIs as this is not at
all ready for prime time yet.
2008-01-08 18:23:56 +00:00
Nick Whitelegg
1c7998009f began callback code for feature lookup 2008-01-07 20:44:16 +00:00
Nick Whitelegg
2e03861300 Began code for feature lookup: implemented code to respond to mouse click and latlon to non spherical Mercator (for the postgis database) 2008-01-07 20:25:12 +00:00
Tom Hughes
01f525c924 Fix typo. Closes #628. 2008-01-06 13:14:44 +00:00
Tom Hughes
7fc2dbecd5 Migrate web site to use rails 2.0.1. 2008-01-06 12:17:58 +00:00
Tom Hughes
26f28764dc Update the links when the active layers change.
Closes #622.
2008-01-02 09:54:19 +00:00
Tom Hughes
15c492ebfe Try and make asset tagging actually work. 2007-12-06 18:42:45 +00:00
Tom Hughes
c1299fbb35 Use the z13 key for z13 and over. 2007-12-05 12:15:41 +00:00
Tom Hughes
8225f0a6ea Reenable trace uploads. 2007-12-01 00:34:55 +00:00
Tom Hughes
52276be4a9 Disable GPX uploads. 2007-11-30 18:49:55 +00:00
Tom Hughes
6d6c9ddc8c Specify display_name and tag explicitly when generating pagination links
as they don't always seem to be default correctly. Closes #561.
2007-11-30 01:27:14 +00:00
Tom Hughes
f5c9a41e87 Use the new OSM OpenLayers stuff. 2007-11-28 19:24:58 +00:00
Tom Hughes
cb330ffd7a Force new users to enter their email address twice to try and avoid so
many incorrect email addresses with typos in...
2007-11-25 12:38:48 +00:00
Tom Hughes
7de4cb19b8 Wrap evaluation of default values for parameters inside the HTML escaping
as that causes nil to become "" hence defeating the conditional default.
2007-11-24 14:13:21 +00:00
Tom Hughes
2cbcabb3f6 HTML escape substituted parameter values to avoid injection attacks. 2007-11-23 00:49:55 +00:00