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
Tom Hughes
71606b34f0
Make sure we get the list of tags and segments to save before we do the
...
corresponding delete, as otherwise we might not have read them from the
database yet.
2007-06-24 11:12:52 +00:00
Tom Hughes
b383517d2b
Fix the segs and tags methods for old_ways so they work.
2007-06-23 23:21:35 +00:00
Tom Hughes
c184b20f9f
Make sure the associations with segments and old ways are properly ordered.
2007-06-23 23:06:48 +00:00
Tom Hughes
cfa4f10a72
Show the most recent entries first when viewing a user's diary.
2007-06-23 00:11:44 +00:00
Tom Hughes
bb4b682d0b
Fill in the visible flag correctly when updating the history for a way.
2007-06-22 15:34:24 +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
8284352436
Support tar archives of traces, with optional gzip or bzip2 compression.
2007-06-21 10:50:18 +00:00
Tom Hughes
b982bc6b19
Make "nearby users" show all those within 50km rather than all those
...
within a degree of latitude and longitude.
2007-06-20 17:04:29 +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
7ab154a0ae
Return usernames correctly.
2007-06-19 11:23:12 +00:00
Tom Hughes
6464d84c62
Add support for bzip2 compressed trace files.
2007-06-18 12:31:47 +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
7ecc1c4f21
Fix rm call to actually work...
2007-06-15 11:28:58 +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
0d597c1771
Don't allow [/;.,?] to be used in display names, as those are used as
...
separator characters by rails when routing, which means a display name
containing them will not work as part of a URL.
2007-06-11 08:43:47 +00:00
Tom Hughes
81021a1081
Only validate the presence of a description on create as we have old
...
records in the database with no description.
2007-06-10 09:08:22 +00:00
Tom Hughes
a7d41f09eb
Refactor GPX import code to make reimporting old traces easier.
2007-06-09 23:34:50 +00:00
Tom Hughes
a187c759b7
Validate passwords properly when creating an account. Fixes #419 .
2007-06-09 22:56:18 +00:00
Steve Coast
c72f6a4182
fix based from TomH-Home
2007-06-07 00:38:09 +00:00
Richard Fairhurst
6efdcaa993
Latest Potlatch, plus TomH's GPX fix
2007-06-06 09:59:59 +00:00
Steve Coast
a0e8c35c1b
various things from TomH
2007-05-29 23:25:41 +00:00
Steve Coast
f01f820f6c
patch from Martijn van Oosterhout
2007-05-19 21:20:53 +00:00
Steve Coast
e25cbb009a
various gpx bits
2007-05-10 22:14:11 +00:00
Steve Coast
21fd6d3126
updates to api
2007-05-10 19:37:33 +00:00
John McKerrell
14b8e7619f
Added trackpoint serving support to 0.4 API
2007-05-10 14:07:37 +00:00
Steve Coast
6ccf25b347
various fixes
2007-05-09 17:31:11 +00:00
Nick Black
7d52305640
added messaging and friend stuff that wasn't checked in
2007-05-06 10:36:06 +00:00
Steve Coast
89e976c6e5
updates from hacking day
2007-05-06 10:08:00 +00:00
Nick Black
20e02f42dc
messaging stuff and home location selection
2007-05-05 16:05:00 +00:00
John McKerrell
ce37f1ab65
Don't list yourself in the nearby mappers
2007-05-05 15:00:16 +00:00
Nick Black
7bcda2794f
resolved user.rb conflict
2007-05-05 14:24:08 +00:00
John McKerrell
bfdef8dc68
Made nearest method work with nil home lat/lon.
2007-05-05 13:37:13 +00:00
Nick Black
078301a780
messaging stuff
2007-05-05 12:29:44 +00:00
Nick Black
9c5c71f2d7
added user stuff inc beginning of messages
2007-05-04 19:42:17 +00:00
Nick Black
8bd09c0828
map view defaults to a home lat and lon
2007-04-30 09:57:54 +00:00
Nick Black
60a294c40e
Added user home lat and lon
2007-04-26 09:01:03 +00:00
Nick Burch
a926189c7f
When calling .tags or .segs on a way, if it's an existing one, use the data from the database
2007-04-22 14:46:25 +00:00
Steve Coast
f498a9287a
various diary bits
2007-04-07 20:12:35 +00:00
Steve Coast
f9baf5f392
diary / user bits
2007-04-07 19:50:55 +00:00
Steve Coast
8edf08405d
can now navigate to the map from a searched-for tag in a way
2007-04-07 18:44:22 +00:00
Steve Coast
49a1b4ef29
gpx api fixes
2007-04-07 17:55:37 +00:00
Steve Coast
01cfcbd845
GPX api done
2007-04-07 17:48:34 +00:00
Steve Coast
4434bac3b4
gpx import now fully works
2007-04-07 14:06:26 +00:00
Steve Coast
f1189ae115
close 394
2007-04-07 13:08:46 +00:00
Steve Coast
668f8020cc
simplify grabbing of a xml base doc
2007-04-07 12:43:48 +00:00
Steve Coast
2f55a3f0a8
API returns user info if public
2007-04-07 12:17:11 +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