Commit graph

694 commits

Author SHA1 Message Date
Tom Hughes
39cbc9d653 Tweak the password reset pages a bit. 2009-08-04 00:14:03 +00:00
Tom Hughes
e890528aac Rework password reset system to do away with the second email and instead
just allow the user (providing they possess a valid token from the first
email) to enter a new password on the site.
2009-08-03 23:42:29 +00:00
Thomas Wood
bda35008c8 Fix translation for private data users. 2009-07-31 14:37:37 +00:00
Tom Hughes
4afacf3410 Fix the changeset feed to put the description in as raw HTML so we
can include links instead of having to create a separate link free
version of it.
2009-07-30 11:25:33 +00:00
Ævar Arnfjörð Bjarmason
b06b6c2ce9 Atom readers (Firefox/Liferea) don't like when we embed XHTML anchors
in the description. So adjust the code that creates the changeset
browser title/description to emit a XHTML and plaintext version with
the HTML and Atom output can use, respectively.

Also:

 * Split up @title into @title and @heading as elsewhere
 * Turn the username on the user / user+bbox browser into a link to the userpage
 * Say "Changesets" instead of "Recent changes". Unlike Wikipedia the changes on OSM aren't guaranteed to be recent, they're just going to be the latest
2009-07-29 18:44:51 +00:00
Ævar Arnfjörð Bjarmason
e2abf1254b * Turn the hardcoded #<%= changeset.id %> into t('msg', :id =>
changeset.id). Some languages may have a different numeric
   indicator than the ASCII pound symbol

 * Instead of including a column on :user/edits with a "more" link
   make the changeset ID link to the changeset page.
2009-07-29 11:05:17 +00:00
Ævar Arnfjörð Bjarmason
6c034ee9fe use I18n.l() instead of strftime(): Changeset dates will now appear localized 2009-07-29 10:43:03 +00:00
Tom Hughes
581c243e0e Allow messages to be deleted from the outbox as well as the inbox. 2009-07-23 17:41:50 +00:00
Tom Hughes
f3bf0c8b14 Add the ability for a recipient to (logically) delete a message from
their INBOX so they no longer see it.
2009-07-23 15:22:44 +00:00
Tom Hughes
0d97737a7d Prevent message date/time from wrapping. 2009-07-23 15:07:26 +00:00
Tom Hughes
502dc65e95 Remove surplus whitespace. 2009-07-23 15:05:44 +00:00
Tom Hughes
e728305eec Make right hand side of browser view able to grow beyond 250 pixels. 2009-07-21 11:30:19 +00:00
Tom Hughes
88af5aad21 Prevent browser navigation control from wrapping. 2009-07-21 11:14:50 +00:00
Tom Hughes
2c5f5a0114 Fix changeset paging. 2009-07-15 11:33:21 +00:00
Tom Hughes
35d5e9d19d Fix send message links for friends and nearby mappers. Fixes #2065. 2009-07-14 19:48:21 +00:00
Tom Hughes
942ca1ff23 Merge 16355:16480 from trunk. 2009-07-13 23:28:02 +00:00
Tom Hughes
ab3e5e6d43 Remove redundant text. 2009-07-13 08:30:48 +00:00
Tom Hughes
2ac919d4f1 Fix a missing translation. Closes #2052. 2009-07-13 08:26:13 +00:00
Tom Hughes
b5a6493aff Remove SOTM advert from site. 2009-07-13 08:11:11 +00:00
Ævar Arnfjörð Bjarmason
2153fb6efd Fixed a bug in how fields in /message/new were being pre-filled out.
When someone went to /message/new/:user the "Subject" are would be
pre-filled out with t('message.new.title'). The problem was that the
@title template variable was being used for two purposes, to set the
HTML <title> AND to pre-fill out the subject.

We don't always want these two to be the same, but sometimes we
do. E.g. when someone replies to a diary entry and visits
/message/new/:user?title=Foo we want Foo in the <title> and in the
pre-filled out Subject, and the same goes for replying to a message.

So I've split up the @title variable into @title and @subject.
2009-07-12 16:01:49 +00:00
Štefan Baebler
dcbb319015 added brief help for tag entry, continuing on #2032 2009-07-09 06:11:24 +00:00
Tom Hughes
50f78e52e8 Style the table in the feed content. 2009-07-07 23:30:04 +00:00
Tom Hughes
0b6f0c1d34 Use join to construct tag strings instead of mucking around counting
position in the string.
2009-07-07 23:05:35 +00:00
Štefan Baebler
ebbcf63f0d Introducing comma as tag separator (if present, otherwise it behaves as before), allowing spaces in tags. fixes #2032 2009-07-07 22:05:03 +00:00
Tom Hughes
5198500d48 More improvements to Atom feeds. 2009-07-06 00:03:33 +00:00
Tom Hughes
9a32033209 Merge 16216:16355 from trunk. 2009-07-05 23:47:40 +00:00
Tom Hughes
d63f605893 Add some more detail to the changeset Atom feeds. 2009-07-05 23:46:28 +00:00
Ævar Arnfjörð Bjarmason
a08215633c When two users are <1 km apart display the distance between them in
meters, not kilometers.

Solves ticket:2028
2009-07-04 21:35:09 +00:00
Tom Hughes
0348316d0b Make subtitle an HTML element. 2009-07-04 12:15:29 +00:00
Tom Hughes
b450ce9d85 Fix links to changeset feeds. 2009-07-04 12:12:05 +00:00
Tom Hughes
336d40f2c5 Switch to using ATOM for changeset feeds. 2009-07-04 11:34:23 +00:00
Štefan Baebler
2c6d4c1039 added missing =, fixes #1930 2009-07-03 05:49:14 +00:00
Tom Hughes
06b2d278ea Make the search box load each set of results separately so that one
service being slow doesn't delay the response from others.
2009-07-02 16:12:38 +00:00
Tom Hughes
493fd3fa11 Go back to using < and > for navigation instead of the nasty looking
unicode arrows which aren't at all consistent with the use of | as the
separator.

Also remove some of the translations - there is no reason that I can
see to allow translations to completely change how the navigation control
is laid out.
2009-06-29 17:11:50 +00:00
Tom Hughes
6baccfaddd Merge 16110:16216 from trunk. 2009-06-29 16:50:34 +00:00
Ævar Arnfjörð Bjarmason
91a6ed60c1 Another commit in the spirit of [16199]: Don't enforce word order for translations. 2009-06-28 19:47:57 +00:00
Ævar Arnfjörð Bjarmason
1fea79bbbd The relation browser used the translated nominative model names of
Node/Way/Relation in /browse/relation/:id. And used the bad practice
of concating things together to translate them.

Fixed it to use translation variables.
2009-06-28 18:25:21 +00:00
Štefan Baebler
bfdce9c933 localized geocoder search results 2009-06-28 18:00:11 +00:00
Štefan Baebler
4b705207e0 made relation_members.member_type translatable via model translations 2009-06-28 13:21:24 +00:00
Tom Hughes
e46c82fe3d Tidy up some recent commits:
- Simplify shortlinkPrefix by removing redundant code.
- Factor out duplicate code for displaying objects on maps.
- Reindent some stuff to make it more readable.
2009-06-27 17:11:54 +00:00
Ævar Arnfjörð Bjarmason
34b147266c Change the feature commited in [16174] to use the main map view
instead of being located at /map.
2009-06-27 15:34:26 +00:00
Ævar Arnfjörð Bjarmason
8bc8e537b2 Introducing a new /browse/{node,way,relation,changeset}/{id}/map page
which is slippy map covering the screen showing the map data that is
in the small map at /browse/{node,way,relation,changeset}/{id}.

/browse/{node,way,relation,changeset}/{id} now contains a link to both
"View Larger Map" which has been changed to link to this new map
feature, and "View on main map" which as before links to the area
showing the feature on the main slippy map.

/browse/{node,way,relation,changeset}/{id}/map supports permalinks
using its own hacked version of updateLocation() (which doesn't set a
cookie), but shortlinks are not supported. The Edit/History/Export
links link back to the main map.
2009-06-27 09:30:10 +00:00
Ævar Arnfjörð Bjarmason
9b780a689b When I navigate to /browse/{node,way,relation}/:id/history there's no
link that will take me back to /browse/{node,way,relation}/:id

So I'm adding it.
2009-06-26 21:04:36 +00:00
Ævar Arnfjörð Bjarmason
87497a9042 "Node history: {{node_name}}" was untranslatable! 2009-06-26 21:01:15 +00:00
Ævar Arnfjörð Bjarmason
af75542795 Call .to_sentence on site.key.table.entry. Translations are free to take advantage of this or ignore it completely 2009-06-26 18:23:06 +00:00
Thomas Wood
4ef3012417 Fix indentation. 2009-06-26 14:27:45 +00:00
Thomas Wood
fa98753614 Only try to load the map if changeset or feature not deleted. 2009-06-26 14:25:29 +00:00
Matt Amos
1d8e66016c Adding 'shortlink' functions which will allow URLs like http://osm.org/go/XXXX suitable for use in twitter, etc... 2009-06-25 23:31:53 +00:00
Tom Hughes
02628bed1e Merge 16012:16110 from trunk. 2009-06-25 16:32:05 +00:00
Tom Hughes
817434a2e6 Rework the translatable map key to be driven by a YAML file listing the
entries to show for each layer and zoom level.
2009-06-24 23:30:41 +00:00