Commit graph

955 commits

Author SHA1 Message Date
Philipp Borgers
a998a0bb20 Added tabindex="1" for search input on the main side 2010-12-18 18:01:21 +00:00
Andy Allan
33a039e849 Show the latest changeset for each of the contacts on the user page 2010-12-17 13:36:53 +00:00
Tom Hughes
5454bf3ec9 Add support for the tileurl parameter to Potlatch 2 2010-12-15 23:59:07 +00:00
Tom Hughes
da4c9cdfd9 Relative URLs seem to upset OAuth so use the host from the request 2010-12-10 14:20:24 +00:00
Tom Hughes
fd898f2e57 Use relative URLs rather than hard coding the server name 2010-12-10 13:32:06 +00:00
Tom Hughes
e78d014be9 Make sure deleted relations are crossed out when browsing a changeset 2010-12-08 12:44:19 +00:00
Tom Hughes
fef620e375 Add a javascript callback for Potlatch 2 to update links as the map moves 2010-12-03 15:08:48 +00:00
Tom Hughes
aa4a8fdc81 Replace JOSM editing option with generic Remote Control option 2010-12-01 09:25:27 +00:00
Tom Hughes
70d75e3dc0 Improve the unsaved edits warning for Potlatch 2 2010-11-30 21:12:21 +00:00
Tom Hughes
abc5b2d7b4 Make setPosition reposition Potlatch 2 instead of reloading it 2010-11-30 17:18:16 +00:00
Tom Hughes
409576eea0 Make launching of Potlatch 2 from the GPS trace list work 2010-11-30 17:11:49 +00:00
Tom Hughes
a373f2ab8a Wire up maximise/minimise support for Potlatch 2 2010-11-30 17:05:49 +00:00
Tom Hughes
38e152d784 Use prototype based event handling for consistency 2010-11-29 12:20:24 +00:00
Tom Hughes
9c2de4039c Add an explicit "default editor" option to the user settings 2010-11-29 12:20:23 +00:00
Tom Hughes
0a52a4eb07 Implement automatic OAuth setup for Potlatch 2 2010-11-29 12:20:22 +00:00
Tom Hughes
b26adef905 Warn if we fail to contact JOSM 2010-11-29 12:20:22 +00:00
Tom Hughes
04a6c41be9 Show a popup listing available editors when hovering over the edit tab 2010-11-29 12:20:22 +00:00
Tom Hughes
6c3b5aa9d4 Only Potlatch 1 needs a token to be created 2010-11-29 12:20:22 +00:00
Tom Hughes
c3453cf57d Make JOSM remote control based editing work 2010-11-29 12:20:22 +00:00
Tom Hughes
b90219f1d3 Add Potlatch 2 as an editor option 2010-11-29 12:20:21 +00:00
Matt Amos
cd66a5db99 Initial work on support for multiple editors 2010-11-29 12:20:21 +00:00
Tom Hughes
86596c0d1f Remove duplicate (and inconsistent) title from the map key
The map key had a heading in the title bar space and then another
inconsistent one inside the sidebar - the second one has been removed.

The tooltop for the map key link has also been improved.
2010-10-14 18:11:56 +01:00
Tom Hughes
1a80a11c4c Make permalinks draggable
Move the div containing the permalinks outside the map div so that
they aren't affected by the OpenLayers event handlers and hence get
the normal drag handling for links. Closes #3251.
2010-10-11 08:39:05 +01:00
Tom Hughes
bddf524c88 Allow users to send themselves a new confirmation email
Add a method which generates a new confirmation email, and provide
links to it from appropriate places.
2010-10-04 21:52:58 +01:00
Tom Hughes
0874c807e3 Use javascript to automatically submit confirmation forms
In order to avoid forcing the user to press a confirm button, whilst
still not running into the problems we used to have with virus scanners
activating accounts we use javascript to hide and then automatically
submit the confirmation form.
2010-10-04 19:11:01 +01:00
Tom Hughes
2150d1021e Display the verifier if OAuth 1.0a is being used in OOB mode 2010-09-21 16:20:30 +01:00
Tom Hughes
5c520a928b Work around change in handler behaviour in OpenLayers 2.10
We need to install the endDrag routine as the "done" handler after
creating the control otherwise the control will overwrite our handler
with one of it's own.
2010-09-15 10:52:04 +01:00
Tom Hughes
58b63dbc3d Escape ampersands in URLs when exporting HTML for embedding 2010-09-10 17:37:35 +01:00
Tom Hughes
4fbb622656 Make locale data for help and wiki links a bit cleaner 2010-09-10 11:43:13 +01:00
Tom Hughes
d9f9cf4056 Mention help.openstreetmap.org in the welcome message 2010-09-10 11:20:00 +01:00
Tom Hughes
f3132f94f8 Link to help.openstreetmap.org from the sidebar 2010-09-10 11:14:00 +01:00
Tom Hughes
b477cd5492 Remove unused/non-functional tag searching methods 2010-09-09 21:32:15 +01:00
Tom Hughes
d28457b005 Update to OpenLayers 2.10 2010-09-09 16:27:50 +01:00
Tom Hughes
8f5c54f805 Fix typo 2010-09-09 09:06:58 +01:00
Tom Hughes
d8006be822 Use the keyid to identify the layer to using when exporting to an
embeddable map. Fixes #3221.
2010-09-08 17:13:54 +01:00
Tom Hughes
b3d92954d3 Use normal notice system to display login banner 2010-08-13 15:13:30 +01:00
Matt Amos
047027c95d Added login banner letting users more aware of the license change 2010-08-13 15:13:30 +01:00
Tom Hughes
6c2089da2d Don't refer to the decline button when there isn't one 2010-08-12 18:09:36 +01:00
Frederik Ramm
9aaafcb425 Add new <contributor-terms> element to user details 2010-08-12 17:47:51 +01:00
Tom Hughes
a99b516962 Allow existing users to voluntarily sign up for the contributor terms
Based on a patch from Frederik Ramm this change allows users to make a
voluntary decision to sign up for the new contributor terms.
2010-08-10 18:08:11 +01:00
Tom Hughes
2adcfc1a72 Don't allow paging of the changeset atom feed
Make any request for a changeset feed with a page argument redirect
to the version with no page argument and ensure that any RSS links on
the HTML version of the changeset list don't have a page argument.
2010-08-09 13:47:21 +01:00
Tom Hughes
4633838e21 Make sure the trace tab always links to the global trace list 2010-08-06 10:40:00 +01:00
Tom Hughes
f07819d81a Rework application configuration
Use a preinitializer to load the settings from application.yml so
that they are available as early as possible. All settings can also
be overridden using environment variables.

The ad-hoc settins in environment.rb are then moved to this new
system so we have one consistent location for settings.
2010-08-04 22:06:05 +01:00
Tom Hughes
9f83acfb44 Move the trace upload form from the list to a create trace page 2010-07-22 21:00:39 +01:00
Tom Hughes
b551fef0b7 Present "too many pending traces" message as a warning box 2010-07-22 20:47:34 +01:00
Tom Hughes
5a2ffa227c Convert trace views to use CSS based user specific components 2010-07-22 20:47:29 +01:00
Tom Hughes
6f73468f18 Convert diary views to use CSS based user specific components 2010-07-21 22:24:35 +01:00
Tom Hughes
51195c450d Add support for CSS based control of user specific components
Define some helper routines which can be used to make page elements
only display when the logged in user matches certain conditions and
add style rules to the layout to trigger those elements based on the
logged in user.
2010-07-21 21:49:20 +01:00
Tom Hughes
84b39122f1 Make the suspended user view work again
The suspended user view was broken in 2a2818d so it threw an error
instead of rendering a friendyish message.
2010-07-20 08:55:08 +01:00
Tom Hughes
f7aeff3dd6 Revert "Add advert for SOTM 2010 to sidebar"
This reverts commit 3590335221.

Conflicts:

	app/views/layouts/site.html.erb
	config/locales/en.yml
2010-07-12 22:40:46 +01:00