Commit graph

1967 commits

Author SHA1 Message Date
Tom Hughes
06a17b6bc6 Treat an explicit public=0 argument as meaning private. 2009-09-12 16:46:25 +00:00
Ævar Arnfjörð Bjarmason
b3ff342e6b There was no "Sorry not found" message for changesets so
/browse/changeset/123456789 would return the message "Sorry, the with
the id 123456789, could not be found.". It now says "Sorry, the
changeset with the id 123456789, could not be found."
2009-09-07 12:16:17 +00:00
Tom Hughes
63b399c9b2 Update to rails 2.3.4 for security fixes. 2009-09-04 08:45:38 +00:00
Tom Hughes
73340e1780 Add support for reloading the language table. 2009-09-03 21:55:42 +00:00
Matt Amos
69ab396f08 Fixed bug when oauthorizing with a token which no longer exists (merged 17416 from oauth branch). 2009-09-01 10:25:53 +00:00
Matt Amos
7499fbc6e4 Fixed bug when oauthorizing with a token which no longer exists. 2009-09-01 10:10:49 +00:00
Tom Hughes
e72ebb7eac Fix file_column plugin to generate absolute URLs without falling over
in a heap and then use that in the user details view.
2009-08-31 23:43:15 +00:00
Tom Hughes
783748b1e5 Tidy up. 2009-08-31 23:32:03 +00:00
Tom Hughes
543e8c5503 Fix backwards compatibility code to handle an old style public
attribute correctly. Closes #2242.
2009-08-31 23:28:51 +00:00
Matt Amos
ade96da19f Added user ID, description, languages and image link to the user details API call. 2009-08-31 23:11:15 +00:00
Tom Hughes
096459404c Format dates in the changeset list so the year is shown. Closes #2232. 2009-08-28 07:55:34 +00:00
Matt Amos
c6bf21a9d0 merge r17141:17256 from trunk 2009-08-25 16:49:52 +00:00
Matt Amos
b34b898451 Added referer URL in user_token so that redirections (e.g: from oauth token requests) are followed after the user has confirmed the sign-up. Added test for the same. 2009-08-25 15:00:32 +00:00
Matt Amos
498832eb37 Re-committing experimental CSS media queries stuff for mobile and other small-screen browsers. 2009-08-19 09:42:33 +00:00
Tom Hughes
1ce8368f64 Remove debugging. 2009-08-19 08:04:42 +00:00
Tom Hughes
173e92edb8 Cleanup some of the oauth stuff:
- Detabify views.
- Move translations to correct names.
- Make flash messages translatable.
2009-08-19 07:59:15 +00:00
Tom Hughes
9fec2fd137 Call the set_locale filter for oauth methods which display web
pages to the user. Closes #2203.
2009-08-19 07:45:24 +00:00
Tom Hughes
43d9b32012 Remove explicit specification of I18n.local as the locale in resource
lookups - it's the default anyway.
2009-08-18 20:21:25 +00:00
Tom Hughes
885d29345d Add parentheses to fix warning. 2009-08-18 20:06:33 +00:00
Tom Hughes
d227589a63 Merge oauth branch at r17138 to trunk. 2009-08-18 20:01:56 +00:00
Štefan Baebler
803acea032 fixing interpolation error with per language rss feeds that was introduced in [16903] 2009-08-18 19:36:58 +00:00
Štefan Baebler
1f007b289c localized link to home location 2009-08-18 18:26:01 +00:00
Matt Amos
1eb58bc607 Reverting experimental stuff in r17121. 2009-08-18 16:33:18 +00:00
Matt Amos
6674873478 Experimental CSS media queries to support iPhone and other small-screen devices. 2009-08-18 16:06:26 +00:00
Tom Hughes
0f6dda6050 Qualify SCALE properly - apparently object visibility when running the
test suite is not the same as when running live... Rails FAIL!
2009-08-16 10:36:16 +00:00
Matt Amos
d0e47d30e4 Fixes bug #2152 by preventing over-expansion of bboxes beyond the world range. 2009-08-16 00:19:18 +00:00
Tom Hughes
cd8bb0dc57 Log unexpected exceptions raised by API calls. 2009-08-15 11:35:43 +00:00
Tom Hughes
9617ca2acc Identifiable traces should be trated as private in the trace list. 2009-08-13 17:59:38 +00:00
Tom Hughes
e8a2a15ea1 The "public" field no longer exists in gpx_files. 2009-08-13 17:57:14 +00:00
Tom Hughes
908a6ef409 Merge 16891:17044 from trunk. 2009-08-13 17:18:08 +00:00
Tom Hughes
565171486f Add extra visibility options for GPS traces, and enhance the API call
that returns trace data to return more information if the owner of the
trace has allowed it. Based on a patch from Matt Amos.
2009-08-13 17:06:11 +00:00
Tom Hughes
c5349c360f Escape usernames. Closes #2149. 2009-08-08 22:45:56 +00:00
Ævar Arnfjörð Bjarmason
fc9768f34c Add type="html" to <title> so a <title> with "&lt;" will be displayed
as "<" and not literally as "&lt;".

See section 3.1.1 in RFC 4287
2009-08-07 12:17:02 +00:00
Ævar Arnfjörð Bjarmason
127241cdff Make the diary RSS feed translatable 2009-08-07 01:03:42 +00:00
Ævar Arnfjörð Bjarmason
a6f190eabe Include the changeset comment in the <title> of the Atom feeds if
there's a changeset comment.

I'm not doing any snipping of the comment so they could run to 255
characters (the max size in the database), but from testing a few feed
clients it looks like they do this pretty well at the client side.
2009-08-07 00:59:01 +00:00
Matt Amos
bb84a78a09 Made XML parsing routines raise an exception if the document is valid XML, but not valid as an OSM document. This is now the same behaviour as when the document isn't valid XML. 2009-08-06 17:28:49 +00:00
Matt Amos
0d5be22cb5 Merging 16820:16891 from trunk. 2009-08-06 16:24:39 +00:00
Tom Hughes
e477f68a6c Render the links using partial so we can do the appropriate rendering
for HTML and Atom versions and hopefully get the escaping right in the
feed. Closes #2135.
2009-08-05 23:39:24 +00:00
Tom Hughes
e48e4ccbd3 Send an appropriate Vary header when we negotiate the language to stop
caches doing the wrong thing. Closes #1995.
2009-08-05 20:35:28 +00:00
Matt Amos
e93becd304 Node controller wasn't using the right name for an exception class. 2009-08-05 11:28:49 +00:00
Richard Fairhurst
233f3ee527 Potlatch 1.2 2009-08-04 22:24:20 +00:00
Matt Amos
e470d8a659 Moved oauth_clients page to a sub-page of the user - makes it more obvious that the oauth_clients page is for that specific user. 2009-08-04 13:07:11 +00:00
Matt Amos
f50670e34d More translatable strings. 2009-08-04 13:06:21 +00:00
Matt Amos
d75bc6ef69 Use method rather than direct access to member for the current token. 2009-08-04 12:59:02 +00:00
Tom Hughes
39cbc9d653 Tweak the password reset pages a bit. 2009-08-04 00:14:03 +00:00
Tom Hughes
cbbfdf3948 Merge 16743:16811 from trunk. 2009-08-03 23:50:47 +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
Matt Amos
655dc6787e Reorganised OAuth clients and tokens details page. Made clients info editable and some more stuff translatable in the OAuth pages. 2009-08-03 17:08:40 +00:00
Matt Amos
7c1cde7035 Removed file which isn't needed any more. 2009-08-03 15:20:38 +00:00
Tom Hughes
254ce1eca0 Exclude deleted messages from the new_messages relationship. 2009-08-03 14:33:53 +00:00