Thomas Wood
06e9b7213d
Fix bug introduced in r16011 with link to new message from diary entry.
...
(Thanks shaun for spotting this)
2009-06-20 22:28:11 +00:00
Štefan Baebler
63de62bf04
next/previous page links maintain diary language
2009-06-15 17:48:25 +00:00
Štefan Baebler
00da8a9712
minor change: diary entries per language linked (lists and rss feeds)
...
(again, since r15900 was rolled back in r15905, see #1946 - this time without adding a plugin)
2009-06-15 05:03:11 +00:00
Tom Hughes
5475a9ec35
Revert r15900 for now.
2009-06-14 09:53:42 +00:00
Štefan Baebler
61123eaeb4
Added localized language names with plugin from http://github.com/grosser/i18n_data/tree/master ( fixes #1946 )
...
Diary entries in same language linked (lists and rss)
2009-06-14 07:25:08 +00:00
Tom Hughes
2e2f212472
Rename views to rails 2 style names.
2009-06-09 20:50:14 +00:00
Ævar Arnfjörð Bjarmason
db51d7f3dd
Added & cleaned up messages relating to a given user not existing
...
The following pages now have a <title> that can be set in localizations:
* /user/USER_DOES_NOT_EXIST
* /user/USER_DOES_NOT_EXIST/diary
* /user/USER_DOES_NOT_EXIST/traces
* /message/*/ID_DOES_NOT_EXIST
In addition I've cleaned up the i18n message keys of all the
''no_such_user.rhtml'' pages involved. They now all use
title/heading/body for the <title>, <h2> and <p> respectively. And the
message key {{user}} instead of {{name}}.
2009-06-06 13:15:53 +00:00
Tom Hughes
e2cb38cd6e
Make "Login to leave a comment" translatable.
2009-06-05 18:11:50 +00:00
Tom Hughes
1bd3a83add
Translate the title of the user diary view.
2009-06-05 14:59:13 +00:00
Tom Hughes
c372f6cc18
Set the OpenLayers locale when creating a map.
2009-06-04 20:37:59 +00:00
Tom Hughes
6254853c5c
Add a few missing translations. Closes #1903 .
2009-06-02 12:02:21 +00:00
Tom Hughes
1be7bb8a04
Make a few more strings translatable in the diary entry controller
...
and tidy up the translations for some of the partials.
2009-06-02 08:13:41 +00:00
Tom Hughes
5b3b288fc2
Add a list of languages and fix a few issues with the schema. Also get
...
language selection for diary entries working.
2009-05-30 16:37:21 +00:00
Shaun McDonald
c014618ef2
Couple of bugfixes, brackets and quotes
2009-05-29 10:04:50 +00:00
Shaun McDonald
b377927a64
Diary entries pretty much i18n'd. Additional test that checks there are no missing translation strings, need more like it.
2009-05-27 17:19:59 +00:00
Shaun McDonald
ae70ea2858
Remove the languages hash since we are now storing the languages in a table. Translated the posted by line in diary entry list.
2009-05-27 15:50:55 +00:00
Shaun McDonald
6ba51da46e
translating the listing of diary entries. Adding some initial tests for checking that you don't get any errors in any locale, when listing the diary entries. Don't yet check for missing translations through an assert_select, .., :count => 0.
2009-05-27 15:06:25 +00:00
Shaun McDonald
544353a8d9
Use a nicer less error prone version of the select helper
2009-05-27 13:15:58 +00:00
Tom Hughes
0e71278320
Rename language_code to code - language_code is tautological when it's
...
in the language table anyway.
2009-05-23 00:00:25 +00:00
Shaun McDonald
53b4d645d8
First stage of i18n. Some migrations and extra plugins.
2009-05-22 18:36:17 +00:00
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