Tom Hughes
3aa1c46aef
Use OSM::Timer (and hence SystemTimer) consistently
2012-01-06 09:13:52 +00:00
Tom Hughes
00a605a2a8
Use Timeout if SystemTimer isn't loaded
2012-01-06 09:11:23 +00:00
Tom Hughes
3e99bbf5a9
Remove lib prefix from includes for ruby 1.9 compatibility
2012-01-05 20:33:19 +00:00
Tom Hughes
294b098a0d
Don't try and monkey patch database drivers that aren't loaded
2012-01-05 18:18:22 +00:00
Jason Meinzer
1a65b3ac6f
Qualify ActiveRecord::IrreversibleMigration
2012-01-04 22:25:53 +00:00
Jason Meinzer
1aa7b3b6a8
Fix ruby 1.9 syntax error caused by space before parens on method call
2012-01-04 22:25:53 +00:00
Tom Hughes
fcaeaf8c44
Remove compatibility code for old versions of rails
2012-01-04 22:25:53 +00:00
Jason Meinzer
3c4dec8ce9
Only use SystemTimer on MRI 1.8 as it is superfluous elsewhere
...
See http://ph7spot.com/musings/system-timer for why SystemTimer is
needed on MRI 1.8 and not anywhere else.
2012-01-04 22:25:52 +00:00
Tom Hughes
7e267d4a0d
Fix up case statement syntax for ruby 1.9 compatibility
2012-01-04 22:25:48 +00:00
Jason Meinzer
179fe4f715
Fix up case statement syntax for ruby 1.9 compatibility
2012-01-04 22:25:41 +00:00
Tom Hughes
95360d9fbf
User getImageLocation to get the URLs for markers
2012-01-04 00:02:34 +00:00
Tom Hughes
1785caa6d0
Remove unused code that triggered a javascript error
2012-01-02 17:13:15 +00:00
Tom Hughes
6fbdf8cca3
Tell OpenLayers when we have resized the map
2012-01-02 17:10:06 +00:00
Tom Hughes
3b20c87893
Allow the export box to be moved and resized
...
Use the new OpenLayers TransformFeature control to allow any box
drawn by the user to select an export area to be moved or resized
after it is drawn.
2012-01-02 16:34:47 +00:00
Tom Hughes
ae9131bc8e
Allow OpenStreetMap.js to work with an unpatched OpenLayers
2011-12-31 00:25:04 +00:00
Tom Hughes
2a84871de6
Serve OpenSearch definition though the assets pipeline
2011-12-30 22:37:11 +00:00
Tom Hughes
b8445ad3b2
Serve the favicon through the assets pipeline
2011-12-30 22:32:55 +00:00
Tom Hughes
283f4b922c
Load the 404 tile through the URL rewriter
2011-12-30 22:19:45 +00:00
Tom Hughes
4fb53e9619
Fix OpenLayers image URL rewriting
2011-12-30 19:05:40 +00:00
Tom Hughes
3d4b2176ff
Fetch OpenLayers from the same server as the embed page
2011-12-30 18:40:27 +00:00
Tom Hughes
da78800060
Patch OpenLayers to make URL rewriting easier
...
This provides a single routine that can be overridden to rewrite
all image URLs to use the asset pipeine.
2011-12-30 18:32:53 +00:00
Tom Hughes
a46e526cd7
Disable the donation drive message
2011-12-30 11:12:23 +00:00
Tom Hughes
a2563bd6eb
Update rails translations
2011-12-29 15:23:21 +00:00
Tom Hughes
0af83bb410
Update Potlatch 2 to 2.3-127-gbce938f build
2011-12-29 15:11:57 +00:00
Tom Hughes
ece52c818f
Remove fallback from nb to no
...
Now that we are using nb for our translations we can drop the fallback
from nb to no and just have one the other way. This also allows us to
drop the monkey patch to support mutually recursive fallbacks.
2011-12-29 15:11:45 +00:00
Tom Hughes
441101c877
Fix top level key in nb translation
2011-12-29 15:04:56 +00:00
Siebrand Mazeland
f807b7d243
Add dummy for 'no'.
2011-12-25 11:14:38 +01:00
Siebrand Mazeland
10cc07498b
Rename no to nb.
2011-12-25 11:12:00 +01:00
Siebrand Mazeland
92c5bf242d
Remove config/locales/nb.yml pending rename from no to nb.
2011-12-25 11:11:18 +01:00
Andrzej Zaborowski
085f3356b9
Fix a nil check in Contributor Terms display
2011-12-23 09:34:47 +00:00
Siebrand Mazeland
b1f5237037
ssl -> SSL
2011-12-20 19:10:33 +01:00
Tom Hughes
c182531149
Allow a special ODBL message to be displayed at login
2011-12-20 00:07:07 +00:00
Tom Hughes
90f119d976
Fix loading of blank tiles on some browsers to use the asset pipeline
2011-12-19 17:56:00 +00:00
Siebrand Mazeland
50017c36c8
Localisation updates from http://translatewiki.net .
2011-12-19 01:37:54 +01:00
Tom Hughes
f093b9a600
Replace @body with @text again...
2011-12-18 17:46:21 +00:00
Tom Hughes
dd46c3f78b
Add stub files to allow various country specific rails locales to load
2011-12-18 17:06:04 +00:00
Tom Hughes
046bd29553
Add a dummy sv-SE locale so the corresponding rails locale is loaded
2011-12-18 16:55:34 +00:00
Tom Hughes
d5561dd27a
Use normal fallbacks to handle the no/nb confusion
...
This requires (for now) a monkey patch to the i18n fallback code, which
has been offered upstream as https://github.com/svenfuchs/i18n/pull/130 .
2011-12-18 16:51:14 +00:00
Tom Hughes
5f0868bd49
Monkey patch in an upstream fix for I18n::Backend::Fallbacks
...
This can be removed when a new i18n gem release happens. It also allows
us to remvoe an old monkey patch that worked around the problem for one
specific translation key.
2011-12-18 15:54:38 +00:00
Tom Hughes
11cc7ebaa7
Use I18n::Backend::Simple.include directly
2011-12-18 15:49:21 +00:00
Tom Hughes
727068eea5
Update rails translations
2011-12-18 13:08:00 +00:00
Tom Hughes
99d901c2ec
Display the right title for friends' changesets
2011-12-16 08:29:19 +00:00
Tom Hughes
9545ca4ff3
Force a login to see your friends' changesets
2011-12-16 08:27:57 +00:00
Tom Hughes
8dd6f9f52f
Fix double render error
2011-12-16 08:25:59 +00:00
Tom Hughes
78db9e72bb
Convert friend changeset selection to use Arel queries
2011-12-15 21:47:43 +00:00
Tom Hughes
9d94d41376
Detabify
2011-12-15 21:26:51 +00:00
Mikel Maron
ce829bcc7c
Add support for viewing a list of your friends' changesets
2011-12-15 21:25:27 +00:00
Tom Hughes
2b04242462
Add extra login tests for case insensitive usernames
2011-12-13 21:49:25 +00:00
Tom Hughes
293265a00b
Look up names and emails case insensitively for authentication
...
If the name entered is not found then try a case insensitive lookup
and if that finds a single result then use it.
2011-12-13 21:25:37 +00:00
Tom Hughes
b705af948b
Add some password recovery tests
2011-12-13 19:13:34 +00:00