Commit graph

493 commits

Author SHA1 Message Date
Ævar Arnfjörð Bjarmason
658a34714f When displaying objects in /browse/* and in the JavaScript "Data"
feature use the name key corresponding to the user's
locale. E.g. "name:is" for Icelandic.

This will fall back on "name". The interface will be equivalent unless
the user has selected another language than English in the preferences
and objects with localized name:* tags corresponding to the user's
language are being displayed.
2009-09-17 23:36:54 +00:00
Tom Hughes
64fb530581 Merge 16110:16487 from trunk. 2009-07-14 08:03:24 +00:00
Tom Hughes
b450ce9d85 Fix links to changeset feeds. 2009-07-04 12:12:05 +00:00
Ævar Arnfjörð Bjarmason
bc66c8adeb Make the printable_name() function call i18n.t to translate its
output. Makes e.g. "#{name}, v#{object.version.to_s}" which is used in
the changeset browser translatable.

I'm still not happy with how the anchor is constructed. we're linking
from /browse/changeset/1234 to e.g. node "[[366672999, v1]]" even
though the page we're linking to might take us to that node at version
2. The link should be "[[366672999]], v1" instead.

But that's something to solve later.
2009-06-28 21:13:27 +00:00
Tom Hughes
f4571eeb7c Revert r16046.
DO NOT COMMIT MAJOR ENHANCEMENTS TO TRUNK WITHOUT TALKING TO ME FIRST.
2009-06-23 02:48:38 +00:00
Matt Amos
b8f6dbd403 Adding initial version of the OAuth token authentication method. This adds basic OAuth support for registering apps, getting and revoking keys, etc... The tokens come with 6 separate permissions bits; read/write user preferences, write diaries, write API and read/write GPS traces. Needs more tests. 2009-06-22 16:54:37 +00:00
Thomas Wood
22292debda Data browser changes, make links more user friendly, displaying name tag where possible.
Changes to models ok'd (and suggested as temporary solution) by TomH
References #1777
2009-05-02 00:26:37 +00:00
Shaun McDonald
2ed84e26cd Adding pagination to the changesets, thus allowing you to browe large changesets, without MySQL complaining about memory. Probably needs some fine tuning. You currently can only page one of nodes, ways, and relations, without manually setting the relations. Fixing deprection notice for the classic_pagination plugin. 2008-11-27 17:06:43 +00:00
Tom Hughes
5620d7263a Merge 7452:7744 from trunk. 2008-05-09 23:22:26 +00:00
Tom Hughes
5bc80823ec Tidy up RSS links a bit. 2008-04-23 17:39:09 +00:00
Tom Hughes
b909dc4ab8 Add a stub helper for the browse controller. 2008-04-20 12:21:07 +00:00
Tom Hughes
cb75e0bdd0 Add export helper. 2008-04-18 22:56:52 +00:00
Steve Coast
e13337354d preference stuff 2008-02-23 11:12:42 +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
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
714fc42d8e Don't include any page numbers in links in the tag list. 2007-10-31 00:35:27 +00:00
Gabriel Ebner
0f91ad8966 rails_port_0.5: Merge rails_port r4664. 2007-09-23 20:37:16 +00:00
Tom Hughes
56500280d4 Avoid warning. 2007-09-23 16:54:48 +00:00
Gabriel Ebner
cfbdd3f7e1 Merge rails_port as of r4613 & fix tests. 2007-09-20 14:37:29 +00:00
Tom Hughes
e583ead8f8 Make the search URLs include a marker. 2007-08-29 22:41:02 +00:00
Frederik Ramm
78b440ffc1 preliminary commit 0.5 API with relations / untested after entity-relation rename, some changes still in queue 2007-08-29 22:00:26 +00:00
Frederik Ramm
02451061ce segment stuff removed 2007-08-29 21:38:38 +00:00
Tom Hughes
3e6329718b Provide proper URLs in search results. 2007-08-29 09:16:58 +00:00
Tom Hughes
e376f3c009 Include a general location from GeoNames in the reverse geocode description. 2007-08-24 22:50:34 +00:00
Tom Hughes
08b71b48e1 Tidy up trace handling a bit, and add support for per-user and per-tag feeds. 2007-08-15 18:10:18 +00:00
Tom Hughes
bb43a46bab Only use the actual name that matched as the link, which helps to highlight it. 2007-08-07 23:51:02 +00:00
Richard Fairhurst
0944c1cf02 Potlatch-on-Rails, ready to go (fingers crossed) 2007-05-18 15:20:31 +00:00
Richard Fairhurst
220ad0a6b6 Potlatch on Rails, first working version 2007-05-08 00:37:58 +00:00
Steve Coast
f9baf5f392 diary / user bits 2007-04-07 19:50:55 +00:00
Steve Coast
a7e3b58b41 add tags to gpx files 2006-12-06 17:10:59 +00:00
Steve Coast
fac305e87b various gpx bits 2006-12-01 15:59:13 +00:00
Steve Coast
db1e02adb5 rails way bits 2006-11-27 10:35:10 +00:00
Steve Coast
59cc0015f5 various things 2006-11-17 19:56:54 +00:00
Steve Coast
d7be818949 add a map (api) controller 2006-11-17 18:45:46 +00:00
Steve Coast
b95e9d2759 more way bits 2006-08-26 21:36:21 +00:00
Steve Coast
7c1b6e850d oops wrong name 2006-08-26 20:50:13 +00:00
Steve Coast
222d31e435 way stuff 2006-08-26 20:49:16 +00:00
Steve Coast
613e88c4a8 rails updates 2006-08-26 16:34:52 +00:00
Steve Coast
a6f61bd18a more segment bits 2006-08-24 19:09:23 +00:00
Steve Coast
8a2db368f1 nodes done, segment skelaton 2006-08-24 18:55:12 +00:00
Steve Coast
85f197b6df bit nicer 2006-08-19 08:11:33 +00:00
Steve Coast
d2877982a2 more skelaton stuff 2006-07-29 10:09:52 +00:00
Steve Coast
b4c0bfd8fa more basic framework 2006-07-28 21:53:30 +00:00