Commit graph

4164 commits

Author SHA1 Message Date
Tom Hughes
7b01a8ae82 Look up email addresses case insensitively for password resets
If the email address entered is not found then try a case insensitive
lookup, and if that finds a single result then use it.
2011-12-13 17:42:42 +00:00
Tom Hughes
3f5374901e Allow generic URIs to use the registry format
This should stop OAuth complaining when it tries to parse a mapzen
callback URI of the form mapzen://osm_callback
2011-12-13 10:45:40 +00:00
Tom Hughes
1794d6e711 Update Potlatch 2 to 2.3-121-geaece4c build 2011-12-13 10:36:05 +00:00
Tom Hughes
5c557cfe7c Add some tests for updating users 2011-12-13 10:28:17 +00:00
Tom Hughes
2fc9c8c05b Cope with no openid_url being supplied 2011-12-13 10:26:30 +00:00
Tom Hughes
49038a44d9 Validate email addresses before confirming them 2011-12-13 09:49:13 +00:00
Tom Hughes
af2b13c2c1 Require user names and emails to be case insensitively unique
Any existing clashes are allowed to remain for now, byt any new
accounts, or changes to names on existing accounts, must be unique
without regard to case.
2011-12-12 19:11:06 +00:00
Tom Hughes
ebf597971f Removed bogus attempt to look up the previous version
This lookup wasn't actually doing what the comment said it was doing
and I don't see any reason to output the previous details of the object
for a delete action.
2011-12-10 16:24:57 +00:00
Tom Hughes
e05b549f8c Display CT status on the user page 2011-12-09 09:34:29 +00:00
Tom Hughes
bc5e0bf2c3 Don't try and show the IP address when there isn't one 2011-12-09 09:21:37 +00:00
Tom Hughes
6e508a7b70 Get the print stylesheet working again 2011-12-08 00:28:08 +00:00
Tom Hughes
842ed833a0 Wire up the en_US locale for Potlatch 2 2011-12-04 17:35:01 +00:00
Tom Hughes
6ae587484f Update Potlatch 2 to 2.3-114-g3b2755d build 2011-12-04 17:33:15 +00:00
Tom Hughes
4eefbaa9db Don't escape anything in text/plain message notifications 2011-12-03 17:58:21 +00:00
Tom Hughes
e484b6894c Fix HTML escaping issues on the copyright page 2011-12-02 16:59:30 +00:00
Tom Hughes
3255495520 Enable the donation drive message 2011-12-02 11:05:43 +00:00
Tom Hughes
1862389e6b Use jQuery syntax for the history request 2011-12-02 11:03:19 +00:00
Tom Hughes
2b86f8cab2 Handle non-multipart email 2011-12-02 08:36:08 +00:00
Tom Hughes
d88ada0d11 Use either the HTML or the text part of an email, not both 2011-12-01 19:54:02 +00:00
Tom Hughes
ce4a6eefa7 Add an HTML version of the message notification email 2011-12-01 19:17:16 +00:00
Tom Hughes
52452d95b4 Don't escape HTML in text/plain message notification emails 2011-12-01 19:03:30 +00:00
Andrzej Zaborowski
4fc93cd466 Fix user traces link's :action parameter 2011-11-29 09:14:52 +00:00
Tom Hughes
73cc336056 Add Japanese and Polish to supported Potlatch 2 languages 2011-11-28 21:52:16 +00:00
Tom Hughes
18a5f64890 Update Potlatch 2 to 2.3-112-ga132b0c build 2011-11-28 21:51:57 +00:00
Tom Hughes
0d4e39f1de Update Potlatch 2 to 2.3-94-gad42530 build 2011-11-28 21:47:34 +00:00
Tom Hughes
7761026a7b Convert prototype code to jQuery on user list page 2011-11-28 09:56:44 +00:00
Tom Hughes
bc07bf484b Make search work again 2011-11-27 17:40:23 +00:00
Tom Hughes
9afbaf1984 Avoid having to condition on mobile mode 2011-11-26 18:12:58 +00:00
Dan Karran
080d347d8f Mobile layout improvements
Make the map fill the available space on smaller screens, and
style the search results sidebar a bit better when ?query= is
added to the URL to trigger the search.
2011-11-26 17:38:00 +00:00
Tom Hughes
a693fc9a3c When asked to edit an object centre on the correct location 2011-11-26 16:39:52 +00:00
Tom Hughes
60363a4c36 Trigger remote editor correctly
When the "edit object" link was used and the preferred editor was
set to remote the remote editor wwas not being triggered.
2011-11-26 16:20:41 +00:00
Tom Hughes
d74cb34e1e Remove old unused monkey patch 2011-11-26 16:06:41 +00:00
Tom Hughes
ae8a114069 Make query cache disabling work again 2011-11-26 16:01:57 +00:00
Tom Hughes
3e65a59b7a Update rails translations 2011-11-26 14:41:40 +00:00
Tom Hughes
13289d4041 Switch from Prototype to jQuery 2011-11-26 00:22:31 +00:00
Tom Hughes
4368ba9f11 Wrap the OpenLayers.Util.createDiv routine 2011-11-26 00:15:12 +00:00
Tom Hughes
5275794aec Wrap another OpenLayers image creation routine 2011-11-26 00:07:45 +00:00
Tom Hughes
61e756c625 Handle openlayers.js as a template 2011-11-25 23:14:16 +00:00
Tom Hughes
477b765c42 Force all OpenLayers resources to load through the asset pipeline 2011-11-25 23:00:30 +00:00
Tom Hughes
3266d0bd03 Precompile stylesheet for OpenLayers 2011-11-25 20:39:25 +00:00
Tom Hughes
d11580df82 Precompile openlayers wrapper 2011-11-25 20:13:03 +00:00
Tom Hughes
716262f211 Serve OpenLayers through the asset pipeline 2011-11-25 20:07:50 +00:00
Tom Hughes
afc3a4380c Fix javascript 2011-11-25 18:43:51 +00:00
Matt Amos
4259ca6572 Always update perma and shortlinks, keeping layers 2011-11-25 15:22:32 +00:00
Tom Hughes
759f51a57c Never disable a base layer 2011-11-25 13:45:25 +00:00
Tom Hughes
8af92f463b Add attribution to cycle and transport layers 2011-11-25 11:59:17 +00:00
Tom Hughes
9c10e6703e Add attribution to the MapQuest layer 2011-11-25 11:55:38 +00:00
Tom Hughes
671fe0bb91 Remove the noname layer and add the transport and MapQuest layers 2011-11-25 11:55:12 +00:00
Tom Hughes
5db8031c23 Make sure all forms have the correct authenticity token
A cached page may include forms, which will then have the wrong
authenticity token, so after the page has finished loading we fix
up those tokens using the one from the meta tags which will always
be correct as we never cache the layout.
2011-11-25 09:41:15 +00:00
Matt Amos
64030a40ac Replace @ with ~ in the shortlink
This should help Twitter's horribly broken URL detection algorithm
not screw up shortlinks from OSM.
2011-11-24 22:27:16 +00:00