Commit graph

47 commits

Author SHA1 Message Date
Steve Coast
3d0f2130da fix bug 871 - show a good error message if gps trace not found 2008-05-03 14:29:01 +00:00
Tom Hughes
4f33014464 Use FileUtils.mv instead of File.rename as it will do a copy+delete when
the source and target are not on the same filesystem. Closes #670.
2008-02-07 23:53:20 +00:00
Tom Hughes
07e8449625 Allow a GPX to be fetched in XML format by fetching data.xml instead
of data (the data method returns it in the format it is stored in).

Closes #534.
2008-01-23 13:40:47 +00:00
Tom Hughes
3db4ac9a8e Improve consistency of trace upload forms and error handling.
Fixes #543 and #544.
2007-09-25 23:18:32 +00:00
Tom Hughes
868ce8d467 Allow trace descriptions and tags to be edited. 2007-09-23 17:05:31 +00:00
Tom Hughes
d274c0e3d8 Put the option to delete GPS traces back. Fixes #405. 2007-08-22 18:01:23 +00:00
Tom Hughes
9738e3f648 Handle errors a bit better. 2007-08-20 14:22:51 +00:00
Tom Hughes
9f58d17242 Handle files uploaded via the API properly. 2007-08-18 20:49:15 +00:00
Tom Hughes
44051f30d8 Make the gpx/id/data API call work, and make gpx/create a POST method
so arguments can be handled more robustly.
2007-08-16 23:04:18 +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
deb3c74fc7 Add the author name to RSS feeds. 2007-08-14 09:22:29 +00:00
Tom Hughes
289eac6bcd Remove bogus setting of title attribute. 2007-08-14 00:00:35 +00:00
Tom Hughes
0a18deef09 Fix title and tidy up a few things. 2007-08-09 22:02:03 +00:00
Tom Hughes
183841d10e Return "404 Not Found" for users and traces which don't exist. 2007-08-09 07:45:04 +00:00
Tom Hughes
07ad4a36ea Use the rails paginator to paginate the trace list, and abstract some
common template code into a partial.
2007-08-08 23:58:37 +00:00
Tom Hughes
bce2c88336 Provide a more sensible suggested filename when downloading traces. 2007-07-17 14:34:22 +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
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
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
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
Dan Karran
7eec8de2a6 Setting correct XML content-type for trace RSS feeds. 2007-06-16 21:32:41 +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
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
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
Steve Coast
e25cbb009a various gpx bits 2007-05-10 22:14:11 +00:00
Steve Coast
6ccf25b347 various fixes 2007-05-09 17:31:11 +00:00
Nick Black
56e4364aa9 fixed the ticket 432 2007-05-07 17:20:33 +00:00
Steve Coast
01cfcbd845 GPX api done 2007-04-07 17:48:34 +00:00
Steve Coast
a9e1c229d2 ability to make trace public 2007-04-07 17:14:53 +00:00
Steve Coast
bc49dab4a8 can now download a trace 2007-04-07 17:07:03 +00:00
Steve Coast
4434bac3b4 gpx import now fully works 2007-04-07 14:06:26 +00:00
Dan Moore
2709027882 API 0.4: User rename, view trace links, tag filter summary / see all link, traces testing 2007-03-29 22:14:39 +00:00
Dan Moore
d07277efba API 0.4 Updates - work on traces pages + pagination, edit tab, some API testing
* traces - added some routes, replicated data access / pagination, but presentation and pending file control not complete
* edit - setup so that applet can be loaded + token authorisation enabled
* API - tests out ok against applet, but had to change segment-node associations
* misc - gems version required upgraded to 1.2.3 (latest stable rails version), changed some find_first to find(:first... calls
2007-03-23 23:13:19 +00:00
Steve Coast
374d9ea486 innitial by tag / by user code 2006-12-08 18:00:56 +00:00
Steve Coast
e5f292cf21 gpx rss and gpx cleanups 2006-12-08 17:25:23 +00:00
Steve Coast
dd1f94e341 trace bits and a georss class 2006-12-08 15:31:04 +00:00
Steve Coast
6559db51df various gpx rails things 2006-12-06 17:55:22 +00:00
Steve Coast
a7e3b58b41 add tags to gpx files 2006-12-06 17:10:59 +00:00
Steve Coast
93dab8a127 lots of rails gpx stuff 2006-12-01 20:38:29 +00:00
Steve Coast
fac305e87b various gpx bits 2006-12-01 15:59:13 +00:00
Steve Coast
ece8999dcd various gpx bits 2006-12-01 14:10:02 +00:00
Steve Coast
8ef8761fa5 trace stuff in rails port 2006-11-30 17:25:31 +00:00
Steve Coast
fb1467a944 GPX trace rails stuff 2006-11-27 19:52:18 +00:00
Steve Coast
b4c0bfd8fa more basic framework 2006-07-28 21:53:30 +00:00