Commit graph

2023 commits

Author SHA1 Message Date
Tom Hughes
bfb1f2a575 Disable the openid_url field when it isn't shown 2011-08-22 11:40:08 +01:00
Tom Hughes
4549c765f6 Don't show the openid field if the URL is the empty string 2011-08-22 11:00:42 +01:00
Tom Hughes
fd08fbacb2 Hide and show the openid field on the signup page correctly 2011-08-22 10:59:49 +01:00
Tom Hughes
18fcf61953 Pass the right extent for a changeset to the remote control handler 2011-08-12 19:26:12 +01:00
Tom Hughes
929f05d9d2 Add a small buffer to the extent before passing it to the remote control 2011-08-12 19:18:15 +01:00
Tom Hughes
e60810aeda Show the current location when editing a diary entry with a location 2011-08-01 16:59:40 +01:00
Tom Hughes
2047f7cc9b Style the map div correctly when editing an existing diary entry 2011-08-01 16:54:33 +01:00
Tom Hughes
0595255d58 Don't create the map until after the div for it is made visible 2011-08-01 09:09:24 +01:00
Tom Hughes
866f25bc45 Fix an accidental CSS match that broke user popups on maps 2011-07-31 16:21:35 +01:00
Tom Hughes
f242c9de94 Add edit links to data browser pages 2011-07-19 22:48:29 +01:00
Tom Hughes
936a005f9f Implement a generic system for updating coordinates on links 2011-07-19 11:05:06 +01:00
Tom Hughes
0c0775f96a Disable the edit tab until we have some coordinates to edit at 2011-07-19 10:02:50 +01:00
Tom Hughes
e5c80c80ad Use num_changes to detect empty changesets instead of the bbox 2011-07-12 15:55:17 +01:00
Grant Slater
1f2545ea90 Show the Potlatch 2 help the first time a user starts it 2011-07-08 18:45:40 +01:00
Tom Hughes
7e4ceec192 Wait for dom:loaded to fire before initialising the map
Also very all our use of window.onload and switch to using dom:loaded
instead where we can - the main case where we can't is when using a
vector layer as IE will fail unless the page is completely loaded.
2011-07-07 10:02:42 +01:00
Matt Amos
cb4f1e62a0 Don't compare changeset bbox coordinates when they may be nil
The code assumed that the changeset bounding box would only be
updated with a valid bounding box, but this isn't the case when
dealing with certain corner cases, including when removing
deleted members from relations.
2011-07-06 08:50:08 +01:00
Tom Hughes
6b8beb7d1a More work on moving styles out of line and extending RTL support 2011-07-02 17:10:56 +01:00
Tom Hughes
599843c72d Fix resizing of the map area in RTL layouts 2011-07-02 16:19:47 +01:00
Tom Hughes
aca299ecee Move more styling into CSS and make it support RTL layout 2011-07-02 11:22:19 +01:00
Tom Hughes
d075fc4c1f Lots more work on making RTL layout work 2011-07-02 01:00:51 +01:00
Tom Hughes
67a50468c5 Show the name of the logged in user during OAuth authorization 2011-07-01 20:38:41 +01:00
Tom Hughes
8b4d4549a4 Add a credit for IC on the front page 2011-06-28 14:03:12 +01:00
Tom Hughes
2bd592498f Don't try and update the session when we have no database 2011-06-23 14:15:55 +01:00
Tom Hughes
59a49a6ef5 Fix problems with database offline mode 2011-06-23 08:30:44 +01:00
Tom Hughes
0a81411e68 Make the AMF API check that the CTs have been agreed 2011-06-20 09:20:30 +01:00
Tom Hughes
84733f2fb0 Use smaller logos for OpenID logins 2011-06-19 17:49:36 +01:00
Tom Hughes
347c12b5ea Make sure the ID of OpenID URL fields is openid_url 2011-06-15 14:26:58 +01:00
Tom Hughes
ecbad776fb Expire user pages when their image changes 2011-06-15 09:51:56 +01:00
Tom Hughes
da572b90c7 Don't error if we fail to get SReg and/or AX data from OpenID 2011-06-15 00:07:32 +01:00
Tom Hughes
c940313823 Fix some broken tests 2011-06-14 22:57:10 +01:00
Tom Hughes
540e56a9cc Add an option to require the CTs to be agreed to edit 2011-06-14 22:57:05 +01:00
Tom Hughes
83ecb516a4 Make password signups work 2011-06-10 21:48:17 +01:00
Tom Hughes
01998838fd Fix field names so password logins work 2011-06-10 21:32:57 +01:00
Tom Hughes
ce7b651eb2 Merge branch 'master' into openid 2011-06-10 19:11:08 +01:00
Tom Hughes
85e99d3127 Expire diary pages which contain comments by a user when necessary 2011-06-09 15:22:15 +01:00
Tom Hughes
31b2d45108 Only check some user validations when the field has changed 2011-06-07 00:22:23 +01:00
Tom Hughes
86bb9e5a50 Allow a parameter to set the default value for the username 2011-06-03 15:04:05 +01:00
Tom Hughes
c4f7a8346a Use session.delete to remove entries instead of assigning nil 2011-06-01 10:17:54 +01:00
Tom Hughes
d681d7e07f Force a session to be created when doing a cookie test 2011-06-01 10:16:11 +01:00
Tom Hughes
8d38da6b77 Improve the look of the OpenID enabled login form on mobile devices 2011-05-29 10:17:30 +01:00
Tom Hughes
26b42dbe97 Replace MySpace with AOL in the OpenID login buttons 2011-05-28 00:17:52 +01:00
Tom Hughes
a37e1b8f70 Merge branch 'master' into openid
Conflicts:
	app/views/user/login.html.erb
2011-05-22 18:01:15 +01:00
Tom Hughes
023050840a Improve presentation of supporting links on the terms page 2011-05-22 17:48:16 +01:00
Grant Slater
c7ffb35e8b Correct some minor html validation errors 2011-05-22 16:16:44 +01:00
Grant Slater
20cab5b9bf Add summary + informal translations links to terms page 2011-05-22 15:10:30 +01:00
Tom Hughes
7014cdb32c Only add bbox data to the search form while we submit it
Having the bbox attributes on the search form all the time means
that Firefox will incude them in the arguments if you bookmark the
search using "Add a keyword for this search" on the context menu.
2011-05-22 11:10:28 +01:00
Tom Hughes
2a635ab28f Start ROTS for user login tests as well as creation tests 2011-05-21 13:35:15 +01:00
Tom Hughes
832b96b75a Merge branch 'master' into openid
Conflicts:
	app/controllers/user_controller.rb
	app/views/user/terms.html.erb
	test/fixtures/users.yml
2011-05-21 12:14:56 +01:00
Mikel Maron
11b5fc0e95 Moved up search box to make it more visible 2011-05-21 11:00:53 +01:00
Tom Hughes
e120e59fc0 Handle large bounding box changesets better
If the bounding box of a changeset is much larger than the map then
there seem to be problems with OL not rendering the feature correctly
so reduce the highlight to just be the extent of the map plus a small
margin in that case.
2011-05-13 17:27:12 +01:00