Commit graph

4191 commits

Author SHA1 Message Date
Tom Hughes
b91072bed4 Handle character encodings in single part emails correctly 2012-02-03 22:40:35 +00:00
Tom MacWright
eb8efa0a4b Fixes and cleanups suggested by JSHint 2012-02-01 00:25:10 +00:00
Tom Hughes
870c36ecf6 Correct mistakenly translated interpolation variable name 2012-01-30 22:33:41 +00:00
Tom Hughes
d405637b05 Monkey patch mail to handle character encodings on ruby 1.8 2012-01-30 21:42:41 +00:00
Siebrand Mazeland
507882a576 Localisation updates from http://translatewiki.net. 2012-01-30 17:43:01 +01:00
Tom Hughes
63ca466f24 Use jQuery syntax instead of Prototype syntax 2012-01-23 21:28:01 +00:00
Tom Hughes
2c666b42d7 Fix exception when a suspended user tries to login 2012-01-23 14:31:06 +00:00
Tom Hughes
c6b295ab2d Include autogenerated links when calculating the spam score 2012-01-21 15:59:27 +00:00
Tom Hughes
a98a2a0213 Update CPK to 4.1.2 and drop monkey patch 2012-01-21 00:44:34 +00:00
Tom Hughes
5fcfd64f92 Update Potlatch 2 to 2.3-129-g04001aa build 2012-01-18 12:19:37 +00:00
Tom Hughes
62569a7b1b Regenerate bundle with latest bundler 2012-01-17 22:55:15 +00:00
Tom Hughes
8ba74c581d Add an ACL check to allow trace downloads to be blocked 2012-01-17 17:43:32 +00:00
Shaun McDonald
0465fda75a Railsify the box link on the browse changeset page
This removes the whitespace in the url, and makes the root path a
named route so that it can be nicely referenced.
2012-01-16 17:51:25 +00:00
Tom Hughes
3369743d6c Revert "Increase the size of the diary RSS feed temporarily"
This reverts commit ccd7882bcf.
2012-01-16 17:50:23 +00:00
Tom Hughes
ccd7882bcf Increase the size of the diary RSS feed temporarily 2012-01-14 13:36:49 +00:00
Tom Hughes
6ffee1cf4b Sort node ids in test_ways_for_node
The ways_for_node method on the way controller does not guarantee
to return nodes in any particular order so we shouldn't rely on it
doing so in our tests.
2012-01-14 13:35:30 +00:00
Tom Hughes
d1727377a8 Explicitly specify the format when expiring RSS feeds 2012-01-14 13:29:00 +00:00
Tom Hughes
1cc57c620f Monkey patch ActionCachePath to fix a bug
When infer_extension is not set ActionCachePath does not set the
extension from any explicitly specified format, and hence expiry
produces cache keys which don't have any extension and don't match
the keys generated when the cache entry was created.
2012-01-14 13:26:01 +00:00
Tom Hughes
b83af6ef2c Pluralize message counts properly 2012-01-14 12:19:40 +00:00
Tom Hughes
1bafa8d41c Use the correct logo URL on error pages 2012-01-10 00:16:59 +00:00
Tom Hughes
f7df396cf2 Don't cache user specific diary entry lists 2012-01-07 15:43:27 +00:00
Tom Hughes
63cc3c195a Try really hard to find out if the real exception was a timeout
Helpfully rails manages to wrap the actual exception that occurred
in at least one, and sometimes two further levels of exception, one
of which does preserve the original exception except as text.
2012-01-07 15:03:25 +00:00
Tom Hughes
55dda7b184 Recognise wrapped timeout exceptions properly 2012-01-07 14:16:39 +00:00
Tom Hughes
07ebb40ebb Don't show feed icons for friend and nearby user lists 2012-01-07 12:48:09 +00:00
Tom Hughes
c3f73a8028 No need to restrict friend's diary entries to public users 2012-01-07 11:54:07 +00:00
Mikel Maron
d878db0a9b Add some more social features
Add a view showing changesets by nearby users, and views showing
diary entries by friends and nearby users.
2012-01-07 11:54:07 +00:00
Tom Hughes
f4307039dc Update Potlatch 2 to 2.3-128-g9aaa1de build 2012-01-06 09:23:01 +00:00
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