Commit graph

123 commits

Author SHA1 Message Date
Tom Hughes
5fcedc1bf4 Unconfuse OpenLayer's base location detection. 2007-06-23 18:35:04 +00:00
Tom Hughes
9619dfdb4b Factor out javascript code to support OpenLayers maps into a common file
that is shared by both the (current) pages that display maps.
2007-06-23 18:29:01 +00:00
Tom Hughes
9ec1b1bea5 Make sure the diary link in the LHS navigation goes to the global diary. 2007-06-23 12:46:18 +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
0cf6df6d3a Removing list of nearby users from account page (now duplicated publicly on user profile page), changing 'Name' label to 'Email' and moving the description textbox further up the page. 2007-06-23 11:08:58 +00:00
Dan Karran
c102580baa Adding trace link to logged in user's profile too. 2007-06-23 10:59:20 +00:00
Dan Karran
b2fa1c24d6 Link from user profile to view traces and to set home location if none is set. 2007-06-23 10:39:23 +00:00
Tom Hughes
6020e0519e Only treat a user as logged in if the user object has an id value - this
avoids problem when creating an account fails and leaves an unsaved user
object with no id value.
2007-06-21 22:50:17 +00:00
Tom Hughes
4cce95ffe0 Set the map units to something OpenLayers? actually understands... 2007-06-21 09:25:43 +00:00
Tom Hughes
27532c3c3a Revert accidental commit. 2007-06-21 09:24:05 +00:00
Tom Hughes
8b79f7ff0f Set the map units to something OpenLayers actually understands... 2007-06-21 08:16:50 +00:00
Dan Karran
e6af088dda Seperating message receiving off into 'inbox' function. 2007-06-20 22:32:15 +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
788161010f Make the map on the user account page work. 2007-06-20 09:51:37 +00:00
Tom Hughes
b609606740 Adding missing parentheses. 2007-06-20 00:08:29 +00:00
Tom Hughes
e9d3d4d19b Add missing CSS and image resources from OpenLayers 2.4 release and
reorganise things to keep OpenLayers stuff together.
2007-06-20 00:06:02 +00:00
Dan Karran
3a84324222 Starting to tidy up user profiles, adding nearby user list to profile page. 2007-06-17 22:33:14 +00:00
Tom Hughes
cbf2dea611 Allow access to all zoom levels again. 2007-06-15 13:47:08 +00:00
Tom Hughes
af5fa9e0ca Upgrade OpenLayers to the 2.4 release. 2007-06-15 13:11:05 +00:00
Tom Hughes
874c4f367f Don't load pngfix.js on IE7 as it isn't needed. 2007-06-15 13:03:30 +00:00
Tom Hughes
7b9272ffa6 Make sure we always put a valid URL on the edit tab, and allow switching
to the editor to work from z11 instead of z14 as that is what Potlatch
supports.

Also fix default zooms for Potlatch when no position is given.
2007-06-13 10:02:37 +00:00
Tom Hughes
f7f2b7482d Add the search boxes to the edit page. 2007-06-12 16:51:12 +00:00
Tom Hughes
c99992f85f Be a bit more intelligent when trying to update the arguments on a link. 2007-06-12 16:16:49 +00:00
Tom Hughes
945e4ddcc8 Set the lat and long on the view and edit tabs when the map is loaded. 2007-06-12 10:13:15 +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
afe8ffffe9 Make field names consistent with the account editing page. 2007-06-11 23:56:38 +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
Tom Hughes
3da913748c Make sure we get the display name from the database when building
the form submission URL as the user might just have tried to change
it in which case the one in the user object will be the new one.
2007-06-11 08:59:33 +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
e84c55e860 Avoid warnings about spaces in method calls. 2007-06-10 23:40:35 +00:00
Tom Hughes
1ea57a3bb1 Use messages.empty? instead of the deprecated has_messages? method. 2007-06-10 23:25:41 +00:00
Tom Hughes
aa52ebe674 User form_tag/end instead of start_form_tag/end_form_tag to avoid
deprecation warnings.
2007-06-10 23:22:56 +00:00
Dan Karran
9db4f4e13c Link OSM logo in site layout to the site's homepage (default map view). 2007-06-10 13:57:17 +00:00
Dan Karran
bc2fb65dbd Allow the page titles to be edited by other parts of the app. 2007-06-09 20:47:37 +00:00
Richard Fairhurst
5bc1730d89 Extra check that nodes/segments in ways are visible 2007-06-08 10:36:36 +00:00
Nick Black
1c4c93b2c3 announcement for SOTM to site on front page 2007-06-08 09:21:36 +00:00
Richard Fairhurst
6efdcaa993 Latest Potlatch, plus TomH's GPX fix 2007-06-06 09:59:59 +00:00
Dirk-Lüder Kreie
daa326898e rm double "this" 2007-05-31 12:33:51 +00:00
Richard Fairhurst
4769eec5aa TomH's patches 2007-05-28 14:54:50 +00:00
John McKerrell
124cd67ac8 Hiding the element and then, shortly after, redisplaying it makes IE6 re-render
things correctly.
2007-05-28 14:52:06 +00:00
Richard Fairhurst
44bf1d91a1 workaround for paths in Potlatch getpresets, plus diary link 2007-05-18 16:45:10 +00:00
Richard Fairhurst
bac5d79c72 zoom 2007-05-18 16:41:41 +00:00
Richard Fairhurst
0944c1cf02 Potlatch-on-Rails, ready to go (fingers crossed) 2007-05-18 15:20:31 +00:00
Robert (Jamie) Munro
aba184e7be Added message about editor not working yet. 2007-05-16 13:56:58 +00:00
Nick Black
c5d1f3381d fixes ticket 434 2007-05-08 12:41:04 +00:00
John McKerrell
6373cfeb63 Making sure all the "nearest" mappers are displayed instead of just one.
Fixing the styling of the popup to retain its rounded edges.
2007-05-08 08:38:12 +00:00
Richard Fairhurst
220ad0a6b6 Potlatch on Rails, first working version 2007-05-08 00:37:58 +00:00
John McKerrell
914b358154 Clicking on nearby markers displays a popup showing the name of the mapper with a link to their page.
A similar popup is shown for your own marker.
Checkbox added for updating your own position, checked if you haven't set a location yet, unchecked by default if you have.
2007-05-07 18:47:38 +00:00