Commit graph

105 commits

Author SHA1 Message Date
Tom Hughes
a9824dbc2e Use one "no_such_user" view everywhere 2012-03-21 21:47:09 +00:00
Tom Hughes
d0980087d1 Don't display Markdown help when editing an old diary entry 2012-03-17 16:37:22 +00:00
Tom Hughes
561f2f694a Add preview functionality to rich text controls 2012-03-17 16:36:57 +00:00
Tom Hughes
aa4205482a Treat all newly entered blocks of text as Markdown 2012-03-17 16:36:55 +00:00
Tom Hughes
60dfb92631 Generate correct links to language specific diary lists 2012-03-13 16:32:37 +00:00
Tom Hughes
13adca0a8f Generate correct links to diary entries 2012-02-28 22:59:43 +00:00
Tom Hughes
c9a4ec5e63 Improve the diary comments view
Make sure all strings are translatable; replace a manually constructed
link with link_to; improve date formatting; and use cycle to alternate
colours for the table rows.
2012-02-28 21:49:41 +00:00
Steve Singer
1944372af8 Add a view to show diary comments left by a user 2012-02-28 21:29:18 +00:00
Tom Hughes
07ebb40ebb Don't show feed icons for friend and nearby user lists 2012-01-07 12:48:09 +00:00
Tom Hughes
13289d4041 Switch from Prototype to jQuery 2011-11-26 00:22:31 +00:00
Tom Hughes
716262f211 Serve OpenLayers through the asset pipeline 2011-11-25 20:07:50 +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
Tom Hughes
4ea63afd24 Update use of deprecated forms of form_for 2011-11-14 09:42:48 +00:00
Tom Hughes
226c41be69 Update ActiveRecord queries to use arel 2011-11-14 09:42:44 +00:00
Tom Hughes
7d45c2fd3c Replace request.request_uri with request.fullpath 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
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
6b8beb7d1a More work on moving styles out of line and extending RTL support 2011-07-02 17:10:56 +01:00
Tom Hughes
d075fc4c1f Lots more work on making RTL layout work 2011-07-02 01:00:51 +01:00
Tom Hughes
89bd91e7d8 Link from a diary entry to the relevant user's diary
Fix #2956 by making the title on a diary entry a link back to the
diary list page for the author.
2011-04-03 16:11:20 +01:00
Tom Hughes
aa121fa046 Make diary locations into a link and drop the separate view link 2011-04-03 13:46:15 +01:00
Harry Wood
53fc3e8919 Remove edit links from geo-located diary entries
Jumping straight into the editor from a diary entry is not a
particularly useful thing to do. Fixes trac ticket #3626.
2011-04-03 13:46:06 +01:00
Tom Hughes
6f73468f18 Convert diary views to use CSS based user specific components 2010-07-21 22:24:35 +01:00
Tom Hughes
e7303fe287 Add language codes to diary bodies
Wrap diary bodies in a div with the correct language code for the
entry set on the div. Closes #2572.
2010-06-26 16:35:25 +01:00
Tom Hughes
8cd377d255 Restrict the fragment caching of the reverse geocode result to only cover
that lookup and not anything else as the geocode result is only cached once
for all languages.
2010-03-21 11:33:58 +00:00
Tom Hughes
9d35062ba3 Add a "friendly" date/time format and use it whenever we are printing
dates and times on the web site.

Also try and improve formatting of message pages a but, and include the
image of the recipient when viewing a sent message.
2010-02-28 16:57:22 +00:00
Tom Hughes
198281ffa9 Add user images to lists of diary entries. 2010-02-28 09:01:19 +00:00
Tom Hughes
3e8d809250 Add user images to diary view. 2010-02-28 00:24:33 +00:00
Tom Hughes
0b913efd05 Use Nominatim to reverse geocode diary location information and display
a friendly human readable location instead of some coordinates.
2010-02-27 12:41:56 +00:00
Tom Hughes
8cd02f4136 Drop the username from the "new diary entry" link to avoid problems
with caching - we don't need it as we know who the logged in user is
when a diary posting is made.
2010-02-04 15:48:40 +00:00
Tom Hughes
57a05a40fc Make diary comment creation work again. 2009-11-15 11:00:54 +00:00
Tom Hughes
634565c5d3 Add support for logical deletion of diary entries and comments. 2009-11-14 15:57:08 +00:00
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