]>
git.openstreetmap.org Git - rails.git/log
Tom Hughes [Thu, 15 Mar 2012 17:01:16 +0000 (17:01 +0000)]
It's zoomToExtent, not setExtent
Tom Hughes [Thu, 15 Mar 2012 14:50:43 +0000 (14:50 +0000)]
Disable the export button until a format is selected
Tom Hughes [Thu, 15 Mar 2012 14:43:03 +0000 (14:43 +0000)]
Removed code for handling Osmrender export requests
Tom Hughes [Wed, 14 Mar 2012 19:12:32 +0000 (19:12 +0000)]
Refactor calculation of zoom level based on a scale
Tom MacWright [Mon, 12 Mar 2012 16:52:40 +0000 (12:52 -0400)]
Change abstraction level for map functions
This commit should have no functional affect. It just changes the
abstraction level of OpenLayers from completely abstracting away
getMapExtent etc, to using OpenLayers's functionality directly but
providing proj and unproj to make projections palatable.
Tom Hughes [Wed, 14 Mar 2012 18:29:19 +0000 (18:29 +0000)]
Add missing </div> tag
Tom Hughes [Wed, 14 Mar 2012 17:51:42 +0000 (17:51 +0000)]
Add _html suffixes to some resource strings which have changed
Where a translatable string contains (directly or indirectly via
interpolations) some HTML it is better to add an _html suffix to
the key rather than wrap the result in raw so that escaping is
handled automatically for interpolations.
It's not worth doing until a string is changed and needs to be
retranslated though, as it will just break translations.
Tom Hughes [Wed, 14 Mar 2012 17:44:45 +0000 (17:44 +0000)]
Adjust width of donate box so it centres properly
Tom MacWright [Wed, 14 Mar 2012 15:16:10 +0000 (11:16 -0400)]
Front page copy revision
This edits the front page copy to be more direct, link off to more
useful resources, and guide people to register for an account. It
also moves partner links to below the donate link.
Tom Hughes [Wed, 14 Mar 2012 14:26:28 +0000 (14:26 +0000)]
Update Potlatch 2 to
2.3-226-g5642465 build
Tom Hughes [Wed, 14 Mar 2012 14:25:55 +0000 (14:25 +0000)]
Add missing translation for new community submenu
Tom Hughes [Wed, 14 Mar 2012 14:21:42 +0000 (14:21 +0000)]
Fix broken interpolations in translations
Tom Hughes [Wed, 14 Mar 2012 13:57:28 +0000 (13:57 +0000)]
Specify the username when redirecting to the OAuth client list
Tom Hughes [Wed, 14 Mar 2012 13:44:03 +0000 (13:44 +0000)]
Allow POST requests to the home page so OpenSearch works
Tom Hughes [Wed, 14 Mar 2012 10:13:28 +0000 (10:13 +0000)]
Adjust left and right padding on the introductory text
The sidebar changes have increased the padding for the search box
and links menu, so change the introductory text to match.
Tom MacWright [Tue, 13 Mar 2012 15:36:57 +0000 (11:36 -0400)]
Move the diary link to the sidebar
Restructure the links section in the sidebar to split it into two
major groups, help and community and move the diary link from a tab
to the community section of the sidebar.
Sarah Hoffmann [Tue, 13 Mar 2012 23:15:46 +0000 (00:15 +0100)]
Update prefixes for nominatim search
Tom Hughes [Tue, 13 Mar 2012 16:32:37 +0000 (16:32 +0000)]
Generate correct links to language specific diary lists
Tom MacWright [Tue, 13 Mar 2012 08:46:29 +0000 (08:46 +0000)]
Remove dead code
Tom Hughes [Tue, 13 Mar 2012 08:42:32 +0000 (08:42 +0000)]
Don't escape HTML in the "user suspended" message
Tom Hughes [Mon, 12 Mar 2012 22:45:42 +0000 (22:45 +0000)]
Remove OsmaRender layer class
Tom Hughes [Mon, 12 Mar 2012 22:45:03 +0000 (22:45 +0000)]
Remove osmarender layer from embed page
Tom Hughes [Mon, 12 Mar 2012 22:43:39 +0000 (22:43 +0000)]
Add the transport and MaqQuest layers to the embed page
Tom Hughes [Mon, 12 Mar 2012 20:27:32 +0000 (20:27 +0000)]
Update Potlatch 2 to
2.3-224-g2df4b28 build
Matt Amos [Mon, 12 Mar 2012 18:33:13 +0000 (18:33 +0000)]
Added reference and link to Top Ten Tasks in the README
Siebrand Mazeland [Sun, 11 Mar 2012 20:59:53 +0000 (21:59 +0100)]
Localisation updates from http://translatewiki.net.
Tom Hughes [Sun, 11 Mar 2012 08:46:08 +0000 (08:46 +0000)]
Fixed incorrect link generation in sent message list
Tom Hughes [Sun, 11 Mar 2012 00:12:18 +0000 (00:12 +0000)]
Fix incorrect link generation that relied on default routes
Tom Hughes [Sat, 10 Mar 2012 14:42:09 +0000 (14:42 +0000)]
Avoid mass assignment error in spam observer
Tom Hughes [Sat, 10 Mar 2012 13:05:55 +0000 (13:05 +0000)]
Removed expiry code for bogus trace URLs that no longer exist
Tom Hughes [Sat, 10 Mar 2012 13:05:39 +0000 (13:05 +0000)]
Specify the username when generating a URL for a trace
Tom Hughes [Sat, 10 Mar 2012 12:46:10 +0000 (12:46 +0000)]
Fix layout selection to detect OAuth correctly
Tom Hughes [Sat, 10 Mar 2012 12:16:20 +0000 (12:16 +0000)]
Load the piwik tracking code asynchronously
Tom Hughes [Fri, 9 Mar 2012 23:06:14 +0000 (23:06 +0000)]
Don't escape the heading as it contains a link
Tom Hughes [Fri, 9 Mar 2012 23:04:17 +0000 (23:04 +0000)]
Fix mass assignment errors with user blocks
Tom Hughes [Fri, 9 Mar 2012 23:01:21 +0000 (23:01 +0000)]
Fix various routing and route generation errors
Tom Hughes [Fri, 9 Mar 2012 20:19:55 +0000 (20:19 +0000)]
Remove method tests that are now enforced by the routes
Tom Hughes [Fri, 9 Mar 2012 20:17:21 +0000 (20:17 +0000)]
Update schema
Tom Hughes [Fri, 9 Mar 2012 20:16:18 +0000 (20:16 +0000)]
Fix some incorrect tests that relied on the default routes
Tom Hughes [Fri, 9 Mar 2012 20:15:34 +0000 (20:15 +0000)]
Remove some unecessary routes and add lots of method constraints
Tom Hughes [Fri, 9 Mar 2012 18:28:06 +0000 (18:28 +0000)]
Add routing tests for all supported routes
Tom Hughes [Fri, 9 Mar 2012 00:21:08 +0000 (00:21 +0000)]
Save the user record after changing it
Tom Hughes [Thu, 8 Mar 2012 23:17:38 +0000 (23:17 +0000)]
Fix typo
Tom Hughes [Thu, 8 Mar 2012 22:48:36 +0000 (22:48 +0000)]
Update Potlatch 2 to
2.3-212-g774c6a9 build
Tom Hughes [Thu, 8 Mar 2012 22:41:25 +0000 (22:41 +0000)]
Use normal assignment instead of mass assignment
Tom Hughes [Wed, 7 Mar 2012 21:20:51 +0000 (21:20 +0000)]
Update Potlatch 2 to
2.3-210-g4e72cd6 build
Tom Hughes [Wed, 7 Mar 2012 21:12:02 +0000 (21:12 +0000)]
Add some more unit tests for traces
Tom Hughes [Wed, 7 Mar 2012 16:44:58 +0000 (16:44 +0000)]
Add some more unit tests for users
Tom Hughes [Wed, 7 Mar 2012 16:44:50 +0000 (16:44 +0000)]
Update schema
Tom Hughes [Wed, 7 Mar 2012 15:45:47 +0000 (15:45 +0000)]
Add some extra unit tests for diary entries
Tom Hughes [Tue, 6 Mar 2012 19:00:49 +0000 (19:00 +0000)]
Fix migration to work with mass assignment protection
Tom Hughes [Tue, 6 Mar 2012 17:37:34 +0000 (17:37 +0000)]
Update Potlatch 2 to
2.3-209-g749f2c8 build
Tom Hughes [Tue, 6 Mar 2012 17:21:33 +0000 (17:21 +0000)]
Update Potlatch 2 to
2.3-208-g7b7f802 build
Tom Hughes [Tue, 6 Mar 2012 10:42:37 +0000 (10:42 +0000)]
Use cache store for sessions when memcached is not available
Using cookie store is problematic because there is a limit to the
amount of session data you can store, and we sometimes overflow.
Tom Hughes [Tue, 6 Mar 2012 09:21:26 +0000 (09:21 +0000)]
Add a temporary hack to suppress some broken rails translations
See https://github.com/svenfuchs/rails-i18n/issues/194 for more
information and progress on an upstream fix.
Tom Hughes [Mon, 5 Mar 2012 16:31:11 +0000 (16:31 +0000)]
Turn on mass assignment protection
Require any attribute that is going to be mass assigned to be
whitelisted, and whitelist those attributes which need it
Tom Hughes [Mon, 5 Mar 2012 08:47:39 +0000 (08:47 +0000)]
Update Potlatch 2 to
2.3-207-g44e9559 build
Tom Hughes [Sun, 4 Mar 2012 17:44:50 +0000 (17:44 +0000)]
Correct name of simplified Chinese locale
Tom Hughes [Sun, 4 Mar 2012 17:36:25 +0000 (17:36 +0000)]
Update Potlatch 2 to
2.3-190-g0bb4cb3 build
Tom Hughes [Sun, 4 Mar 2012 15:10:51 +0000 (15:10 +0000)]
Remove translation reload that is no longer needed
Now that we are using the rails-i18n gem the rails locales are added
to the path early on and we don't need to reload to get them.
Tom Hughes [Sun, 4 Mar 2012 14:26:38 +0000 (14:26 +0000)]
Remove dummy locales as they are no longer needed
Tom Hughes [Sun, 4 Mar 2012 14:24:45 +0000 (14:24 +0000)]
Fix interpolation variable errors
Tom Hughes [Sun, 4 Mar 2012 14:24:21 +0000 (14:24 +0000)]
Add a test to check the validity of the translations
Tom Hughes [Sun, 4 Mar 2012 10:48:24 +0000 (10:48 +0000)]
Update Potlatch 2 to
2.3-153-gf0c9bef build
Tom MacWright [Tue, 28 Feb 2012 23:25:23 +0000 (18:25 -0500)]
Fix some issues with the new tab styling
Uses the parent of the tabnav element to do its positioning, and fixes
this style in RTL and small.
Also move the greetings block into the top-bar div in order to cleanly
have it share a border with tabs.
Tom MacWright [Mon, 27 Feb 2012 20:43:40 +0000 (15:43 -0500)]
Set overflow to auto to gracefully hide tabs before small mode is engaged
Tom Hughes [Sun, 26 Feb 2012 12:25:25 +0000 (12:25 +0000)]
Remove unused image
Tom MacWright [Fri, 17 Feb 2012 03:44:03 +0000 (22:44 -0500)]
Restyle the tabs as simple blocks
Tom Hughes [Sat, 3 Mar 2012 12:24:00 +0000 (12:24 +0000)]
Use a consistent host name in cache keys
Siebrand Mazeland [Sat, 3 Mar 2012 12:43:40 +0000 (13:43 +0100)]
Localisation updates from http://translatewiki.net.
Tom Hughes [Sat, 3 Mar 2012 00:49:03 +0000 (00:49 +0000)]
Update the username cookie when the display name is changed
Tom Hughes [Sat, 3 Mar 2012 00:11:42 +0000 (00:11 +0000)]
Detect changes to the user image correctly
Tom Hughes [Fri, 2 Mar 2012 09:22:15 +0000 (09:22 +0000)]
Update to rails 3.2.2
Tom Hughes [Fri, 2 Mar 2012 09:19:12 +0000 (09:19 +0000)]
Update rails-i18n to 0.5.1
This update allows us to drop our pluralization support, as rails-i18n
now takes care of that, and for a far wider range of locales.
Tom Hughes [Thu, 1 Mar 2012 15:47:18 +0000 (15:47 +0000)]
Fix broken interpolations
Siebrand Mazeland [Thu, 1 Mar 2012 15:27:53 +0000 (16:27 +0100)]
Localisation updates from http://translatewiki.net.
Tom Hughes [Thu, 1 Mar 2012 12:19:44 +0000 (12:19 +0000)]
Remove references to mapnik in the export pane
Tom Hughes [Thu, 1 Mar 2012 12:18:55 +0000 (12:18 +0000)]
Rename "Mapnik" to "Standard" in the layer switcher
Tom Hughes [Thu, 1 Mar 2012 11:21:34 +0000 (11:21 +0000)]
Remove osmarender export option
Tom Hughes [Thu, 1 Mar 2012 09:45:41 +0000 (09:45 +0000)]
Remove the osmarender map layer
Tom Hughes [Wed, 29 Feb 2012 00:25:18 +0000 (00:25 +0000)]
Use the rails-i18n gem instead of local copies of locale data
Tom MacWright [Sun, 26 Feb 2012 23:47:49 +0000 (18:47 -0500)]
Simplify login page
Moves action buttons to be with the form instead of way over on
the opposite side of the page.
Reorganizes "remember me" to a more typical spot on the page.
Get rid of separate "create account" panel and replace it with an
above the fold link.
Tom Hughes [Wed, 29 Feb 2012 00:03:31 +0000 (00:03 +0000)]
Removed line break
Tom Hughes [Tue, 28 Feb 2012 22:58:12 +0000 (22:58 +0000)]
Generate correct links to diary entries
Tom Hughes [Tue, 28 Feb 2012 21:49:41 +0000 (21:49 +0000)]
Improve the diary comments view
Make sure all strings are translatable; replace a manually constructed
link with link_to; improve date formatting; and use cycle to alternate
colours for the table rows.
Steve Singer [Sat, 25 Feb 2012 20:46:11 +0000 (15:46 -0500)]
Add a view to show diary comments left by a user
Grant Slater [Tue, 28 Feb 2012 12:40:48 +0000 (12:40 +0000)]
Add additional notice to UMP attribution per request of LWG
Grant Slater [Tue, 28 Feb 2012 12:21:50 +0000 (12:21 +0000)]
Add "South Africa Chief Directorate: National Geo-Spatial Information" to copyright notices
Tom Hughes [Mon, 27 Feb 2012 18:21:00 +0000 (18:21 +0000)]
Update README with more information on getting involved
Tom Hughes [Thu, 23 Feb 2012 21:43:14 +0000 (21:43 +0000)]
Pipeline memcache requests to the cache
Tom Hughes [Thu, 23 Feb 2012 21:42:33 +0000 (21:42 +0000)]
Don't use the binary memcache protocol
The binary protocol appears to offer no perforance advantage and
doesn't support pipelining of requests.
Tom Hughes [Thu, 23 Feb 2012 11:26:02 +0000 (11:26 +0000)]
Change session expiry to 28 days when "remember me" is set
The expiry is passed directly to memcache, which treats any value
over 30 days as an absolute time, so using 1 month leads to sessions
expiring as soon as they are created.
Tom Hughes [Thu, 23 Feb 2012 11:25:15 +0000 (11:25 +0000)]
Switch to using memcache as the session store
As a temporary measure any session which is not found in memcache
will be looked for in the database instead.
Tom Hughes [Thu, 23 Feb 2012 11:16:08 +0000 (11:16 +0000)]
Refactor memcache connection handling
Tom Hughes [Wed, 22 Feb 2012 22:28:48 +0000 (22:28 +0000)]
Refactor session persistence code
Tom Hughes [Sun, 26 Feb 2012 16:24:02 +0000 (16:24 +0000)]
Update Potlatch 2 to
2.3-142-gecedc05 build
Tom Hughes [Sun, 26 Feb 2012 16:22:50 +0000 (16:22 +0000)]
Simplify Potlatch 2 locale lookup table
Siebrand Mazeland [Sat, 25 Feb 2012 14:56:30 +0000 (15:56 +0100)]
Correct misspellings of CC BY[-SA]
Tom Hughes [Sat, 25 Feb 2012 00:12:04 +0000 (00:12 +0000)]
Add a stub locale file for "no" so that fallback works
Tom MacWright [Tue, 14 Feb 2012 17:51:37 +0000 (12:51 -0500)]
Add GPLv2 license file and mention in README