Commit graph

1130 commits

Author SHA1 Message Date
Tom Hughes
4d1633585f Don't include passwords in the request log. 2007-07-19 08:57:03 +00:00
Tom Hughes
bce2c88336 Provide a more sensible suggested filename when downloading traces. 2007-07-17 14:34:22 +00:00
Richard Fairhurst
fa1397e988 strip out any control characters before writing to the db 2007-07-13 09:46:39 +00:00
Richard Fairhurst
84b67e00a0 fix problematic merge 2007-07-07 13:26:17 +00:00
Tom Hughes
2788050685 Handle public flag for GPX creation properly. 2007-07-02 23:38:13 +00:00
Tom Hughes
aacc7ae3e0 Refactor GPX creation routines to share common code. 2007-07-02 23:33:28 +00:00
Tom Hughes
344fced9a6 Remove require_user for the api_details method as that uses HTTP authentication.
Also set the content type for API responses.
2007-06-29 10:33:14 +00:00
Steve Coast
5a66dbf907 add mappam... also stuff in user controller that must have been done by TomH? 2007-06-29 10:18:08 +00:00
Tom Hughes
7901811752 Make sure we clear the tags and segments for a way when it is deleted.
Also remove some redundant setting of timestamps that will be overwritten
by the model when saving.
2007-06-27 23:44:40 +00:00
Tom Hughes
97d5d1d385 Make passwords with a colon in them work. 2007-06-27 18:46:23 +00:00
Tom Hughes
9b67da24c0 Fix deprecation warning. 2007-06-27 18:09:31 +00:00
Tom Hughes
67224fe828 More search fixes... 2007-06-27 17:48:05 +00:00
Tom Hughes
cd72ee9a66 Fix way search. 2007-06-27 17:45:00 +00:00
Tom Hughes
dcad29dad0 Split the rest action into sparate read, update and delete actions thus
allowing authorization to be done on a per-action basis without worring
about the method. This should make the user API work.

Also do a lot of cleanup of the controllers.
2007-06-27 17:27:10 +00:00
Richard Fairhurst
9d6ae5baae use render proc to write out results, see if that makes things faster 2007-06-27 10:18:55 +00:00
Tom Hughes
1845b54f66 Fix breakage. 2007-06-27 07:54:09 +00:00
Tom Hughes
a424b6282f Add more logging... 2007-06-27 07:52:58 +00:00
Tom Hughes
d77fb110fb Enhance logging. 2007-06-26 22:54:21 +00:00
Tom Hughes
be95e9c9db Create XML documents properly. 2007-06-26 17:43:24 +00:00
Tom Hughes
2c5ffbaaaf Fix typo. 2007-06-26 15:42:52 +00:00
Tom Hughes
b03a3f8889 Add some logging. 2007-06-26 15:42:05 +00:00
Richard Fairhurst
7ac774b00e fixing version problem for way_tags 2007-06-26 12:42:28 +00:00
Richard Fairhurst
d7c17fb0b5 more accurate unwayed segments display; warning icon flashes and has a Helpful Tooltip 2007-06-24 16:23:12 +00:00
Richard Fairhurst
9b5f875a15 better SQL in putway, plus trap any 0/1-length ways that Potlatch may try to upload 2007-06-24 15:22:56 +00:00
Tom Hughes
91461927d4 Fix bogus SQL. 2007-06-24 10:53:37 +00:00
Tom Hughes
a4647430aa Allow all trackpoints to be fetched, not just those from public traces and
the user's own traces. Also restore the 0.3 API functionality that eliminate
duplicate points.
2007-06-24 10:51:29 +00:00
Tom Hughes
1017c4c39a Make per-user diary entry lists go through the diary_entry controller so
that we aren't duplicating everything in the user controller.

This also makes per-user RSS feeds work, and makes links to specific posts
work properly so that the RSS feeds behave sensibly.
2007-06-23 12:41:58 +00:00
Dan Karran
f0b5776389 Adding tag name to title if available. 2007-06-23 11:30:03 +00:00
Dan Karran
467990a45b Adding titles to trace lists 2007-06-23 10:52:34 +00:00
Tom Hughes
0c198107af Correctly record which user deleted an object. 2007-06-22 15:37:57 +00:00
Tom Hughes
d781f42016 Avoid reading traces and trace images into memory when sending them to
the client, and make sure the MIME type is correct for trace files.
2007-06-21 23:19:25 +00:00
Tom Hughes
2c98558c86 Add support for segment/:id/ways and node/:id/segments API calls. Fixes #452. 2007-06-21 22:52:40 +00:00
Dan Karran
e6af088dda Seperating message receiving off into 'inbox' function. 2007-06-20 22:32:15 +00:00
Tom Hughes
c11d961f62 Close a number of holes in the API by making it validate changes
more carefully.
2007-06-19 23:20:39 +00:00
Tom Hughes
8c8d55736f Tell users if the reason they can't login is because they haven't activated
their account yet.
2007-06-18 07:27:39 +00:00
Tom Hughes
0e66875ace Make it clear that new accounts need to be actived by clicking on the
confirm link in the email before they can be used.
2007-06-18 07:20:08 +00:00
Dan Karran
7eec8de2a6 Setting correct XML content-type for trace RSS feeds. 2007-06-16 21:32:41 +00:00
Dan Karran
072b0717e4 Adding titles to some more pages, adding a redirect after sent messages and setting correct XML content-type header for RSS feeds. 2007-06-16 20:38:14 +00:00
Tom Hughes
235999b835 When a new user confirms their email address, log them automatically and
redirect them to their account page so they can set their home location
and description if they want.
2007-06-14 23:55:26 +00:00
Tom Hughes
f7f2b7482d Add the search boxes to the edit page. 2007-06-12 16:51:12 +00:00
Tom Hughes
bd5793f7a6 Improve reporting of errors in GPX uploads, and allow private traces
to be uploaded once again.
2007-06-12 08:52:19 +00:00
Tom Hughes
2afcb4b222 Allow users to change their password from the account page, and get rid
of the separate edit page that (partially) duplicated the account page.
2007-06-12 00:28:53 +00:00
Tom Hughes
d27ff25473 Improve handling of login/logout some more to improve the chances of
us ending up on the right page afterwards.
2007-06-11 23:49:03 +00:00
Dan Karran
b4e6a72858 Adding RSS feed to main diary page, with space for lat/long info to be associated with each post in the future, though that needs adding still. 2007-06-11 21:42:00 +00:00
Richard Fairhurst
5ef2e8f661 remove timeout 2007-06-11 14:43:06 +00:00
Tom Hughes
4012eb7f9a Make next and previous links on user/XXX/traces work. Fixes #501. 2007-06-10 23:51:23 +00:00
Tom Hughes
0f727ece17 Use params[] instead of @params[] to avoid deprecation warnings. 2007-06-10 16:29:15 +00:00
Tom Hughes
457d66eb5b Mark user as active when issuing a new password - this allows users who
forgot to activate their account to do so by going through the lost password
procedure, which effectively revalidates their email address.
2007-06-09 23:08:18 +00:00
Tom Hughes
a187c759b7 Validate passwords properly when creating an account. Fixes #419. 2007-06-09 22:56:18 +00:00
Richard Fairhurst
00f7307824 unwayed segments fix 2007-06-08 17:37:54 +00:00