Commit graph

48 commits

Author SHA1 Message Date
Tom Hughes
c8ee135104 Merge 12304:14009 from trunk. 2009-03-08 13:02:37 +00:00
Tom Hughes
2005709c5a Fix thinko. 2009-03-06 14:30:01 +00:00
Tom Hughes
bddb7dd8f9 Put auto discovery links in the document head. 2009-03-06 14:27:40 +00:00
Harry Wood
152cb13a02 cosmetic tweaks to diary interface. icon for new entries link 2008-11-24 00:40:04 +00:00
Shaun McDonald
797cbaab1e Covering the case of an entry not being found. More diary entry tests. 2008-11-12 18:48:58 +00:00
Tom Hughes
791062569d Tidy up diary code a bit. 2008-08-24 15:12:20 +00:00
Richard Fairhurst
3b6d2c5336 edit diary entries 2008-08-21 21:40:23 +00:00
Tom Hughes
369c81a414 Add the marker to the map correctly. 2008-05-09 14:10:10 +00:00
Tom Hughes
42da12e81c IE was getting confused by having a div with an id of "map" and a
link anchor with a name of "map". Closes #865.
2008-04-28 09:49:27 +00:00
Tom Hughes
a1378a6bd4 Report a friendly error for attempts to reference a user that does
not exist. Closes #805.
2008-04-27 12:21:32 +00:00
Tom Hughes
5bc80823ec Tidy up RSS links a bit. 2008-04-23 17:39:09 +00:00
Tom Hughes
b8c500cdbc Get rid of our reprojection code and use OpenLayers reprojection instead. 2008-04-16 17:18:45 +00:00
Tom Hughes
c5f93e3ea0 More escaping. 2008-03-04 17:53:36 +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
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
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
5fbc8ad3f4 Send email notifications when people comment on diary entries. Closes #655. 2008-02-04 00:15:28 +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
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
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
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
15c492ebfe Try and make asset tagging actually work. 2007-12-06 18:42:45 +00:00
Tom Hughes
f5c9a41e87 Use the new OSM OpenLayers stuff. 2007-11-28 19:24:58 +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
Dan Karran
37317b8295 Hiding new diary entry map by default to save some space, allowing people to expand it if desired. 2007-09-05 17:18:18 +00:00
Dan Karran
b78d25a3a8 Allow people to add coordinates to diary entries, add them to the RSS feeds and diary display pages using geo microformat. 2007-09-03 22:37:42 +00:00
Dan Karran
c81c31775b Adding 'New diary post' link to main Users' diaries page to help logged-in users find how to post. 2007-09-03 20:46:34 +00:00
Tom Hughes
a894e75a1d Fix diary entry creation... 2007-08-22 00:19:58 +00:00
Tom Hughes
7b659f4f30 Cleanup. 2007-08-22 00:10:17 +00:00
Tom Hughes
169aac77d8 Improve diary post screen. 2007-08-22 00:06:28 +00:00
Tom Hughes
04488fec2c Back out previous change, and use the name in the "Posted by" line to
link to the user details instead.
2007-07-28 19:08:52 +00:00
Tom Hughes
52e58e77c8 Link to a user's details from their diary page. 2007-07-28 19:06:07 +00:00
Tom Hughes
1017c4c39a Make per-user diary entry lists go through the diary_entry controller so
that we aren't duplicating everything in the user controller.

This also makes per-user RSS feeds work, and makes links to specific posts
work properly so that the RSS feeds behave sensibly.
2007-06-23 12:41:58 +00:00
Dan Karran
b4e6a72858 Adding RSS feed to main diary page, with space for lat/long info to be associated with each post in the future, though that needs adding still. 2007-06-11 21:42:00 +00:00
Tom Hughes
aa52ebe674 User form_tag/end instead of start_form_tag/end_form_tag to avoid
deprecation warnings.
2007-06-10 23:22:56 +00:00
Nick Black
3698ff353e removed fixme tags from views and put into trac 2007-05-05 16:28:29 +00:00
Richard Fairhurst
1defb3ca1e /diary links to users 2007-05-04 17:35:06 +00:00
Richard Fairhurst
8758685a86 started work on /diary 2007-05-04 17:07:27 +00:00
Steve Coast
f498a9287a various diary bits 2007-04-07 20:12:35 +00:00