Tom Hughes
9f83acfb44
Move the trace upload form from the list to a create trace page
2010-07-22 21:00:39 +01:00
Tom Hughes
f30dcd1a62
We can cache the trace list for logged in users now
2010-07-22 20:47:35 +01:00
Tom Hughes
af70363d02
Don't cache actions with a page number
2010-07-22 20:47:35 +01:00
Tom Hughes
0e19a9290d
Remove use of wildcard cache expiry
...
Instead of doing wildcard cache expiry, just iterate over the
available locales, expiring the requested entry in each locale.
2010-07-22 20:47:34 +01:00
Tom Hughes
cd3fc33171
Remove the user type from cache keys
2010-07-22 20:47:34 +01:00
Tom Hughes
b551fef0b7
Present "too many pending traces" message as a warning box
2010-07-22 20:47:34 +01:00
Tom Hughes
5a2ffa227c
Convert trace views to use CSS based user specific components
2010-07-22 20:47:29 +01:00
Tom Hughes
6f73468f18
Convert diary views to use CSS based user specific components
2010-07-21 22:24:35 +01:00
Tom Hughes
51195c450d
Add support for CSS based control of user specific components
...
Define some helper routines which can be used to make page elements
only display when the logged in user matches certain conditions and
add style rules to the layout to trigger those elements based on the
logged in user.
2010-07-21 21:49:20 +01:00
Tom Hughes
d87ea6863a
Fix short links to drop the layers param for the default layer
2010-07-21 14:49:09 +01:00
Tom Hughes
ad116b2431
Don't change the visibility of layers with no code
...
When parsing a layer state ignore any layers with no code
attached rather than turning them off - this ensures that
the marker layer remains enabled and any markers can be
displayed.
2010-07-21 09:07:38 +01:00
Tom Hughes
53b0ace4c0
Remove maplint layer fron the map
...
Remove the maplint layer from the map and change the way layers are
encoded in URLs to make links more robust when the available layers
are changed.
2010-07-20 18:21:54 +01:00
Tom Hughes
84b39122f1
Make the suspended user view work again
...
The suspended user view was broken in 2a2818d
so it threw an error
instead of rendering a friendyish message.
2010-07-20 08:55:08 +01:00
Tom Hughes
723cb57e6d
Don't put MemoryLimit class in the OSM module as it breaks autoloading
2010-07-19 18:15:40 +01:00
Tom Hughes
5e2b8d087c
Make memory limits configurable and make them work with passenger
2010-07-19 18:01:42 +01:00
Tom Hughes
8abe7ec6ed
Fix typo that stopped monkey patch working
2010-07-19 12:36:30 +01:00
Tom Hughes
140455c0f8
Correct some exception names
2010-07-19 12:24:05 +01:00
Tom Hughes
f7aeff3dd6
Revert "Add advert for SOTM 2010 to sidebar"
...
This reverts commit 3590335221
.
Conflicts:
app/views/layouts/site.html.erb
config/locales/en.yml
2010-07-12 22:40:46 +01:00
Dan Karran
dd2ff7e2da
Indent relations as well as nodes and ways
2010-07-12 09:08:06 +01:00
Tom Hughes
122fab7066
Really get the subject extraction right this time
2010-07-07 21:24:21 +01:00
Tom Hughes
136d6508c2
Remove maintenance notice
2010-07-03 07:44:24 +01:00
Tom Hughes
a00b472ac4
Disable SQL sessions in database readonly mode
2010-07-02 09:59:50 +01:00
Siebrand Mazeland
1ed609ef52
Localisation updates from translatewiki.net
2010-07-01 19:12:08 +02:00
Tom Hughes
408461e5aa
Extract the mail subject correctly
2010-06-30 13:34:20 +01:00
Tom Hughes
a7a4dadbd5
Add a notice about the downtime
2010-06-30 12:51:22 +01:00
Tom Hughes
6740cab85b
Use the correct name for the interpolation variable
2010-06-29 15:19:54 +01:00
Tom Hughes
2038cd52c6
Include an [OpenStreetMap] prefix on the subject of message notifications
...
Put back the [OpenStreetMap] prefix to the subject line of email
notifications of messages, but strip it again from any incoming
email replies.
2010-06-29 09:43:30 +01:00
Tom Hughes
b4a22eee71
Reject leading and trailing whitespace in display names
2010-06-28 17:47:05 +01:00
Tom Hughes
98d73aead1
Remove unused routes
2010-06-27 14:45:04 +01:00
Tom Hughes
0e40a4f1c4
Make changeset browser show an error when the database is offline
2010-06-27 14:42:47 +01:00
Tom Hughes
e7303fe287
Add language codes to diary bodies
...
Wrap diary bodies in a div with the correct language code for the
entry set on the div. Closes #2572 .
2010-06-26 16:35:25 +01:00
Tom Hughes
eefb42334f
Use the message title as the subject of notification mails
...
Make message notification mails use the message title as the subject
so that it is properly perserved when replying by email. Closes #3051 .
2010-06-26 16:03:47 +01:00
Tom Hughes
7bfcadd385
Add version number based ids to browser history pages
2010-06-26 15:43:17 +01:00
Siebrand Mazeland
b5db57bfc1
Localisation updates from http://translatewiki.net
...
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-06-22 18:45:12 +02:00
Dan Karran
0bcc7ae6fc
Improve working of PD question
...
Public Domain agreement could be mistaken to be an 'I accept' type box. It
should be clarified that this is in addition to the ODbL agreement.
2010-06-20 18:49:07 +01:00
Tom Hughes
68368118a6
Add timeout to describe_location and handle exceptions
2010-06-19 07:53:22 +01:00
Ævar Arnfjörð Bjarmason
4806913e18
browse_helper: Correctly link to wiki pages whose keys or values contain spaces
...
The update-wiki-pages script normalizes " " to "_" (since MediaWiki
does it by design), but I didn't normalize it back in the
browse_helper.
Consequently objects with tags like "source=Isle of Man Government
aerial imagery (2001)" were never linked to the wiki correctly.
2010-06-17 13:33:01 +00:00
Ævar Arnfjörð Bjarmason
4e809b868f
wiki_pages: Grab a very long "Isle of Man" tag from the wiki
...
This funky line wrapping is actually not a YAML syntax error:
$ ruby -ryaml -rpp -e 'x = YAML.load(File.read("config/wiki_pages.yml")); pp x'|grep -B1 'Isle of'
"source=Isle_of_Man_Government_aerial_imagery_(2001)"=>
"Tag:source=Isle of Man Government aerial imagery (2001)",
--
"source=Isle_of_Man_Government_1:25000_map_(2007)"=>
"Tag:source=Isle of Man Government 1:25000 map (2007)",
Abandon all hope ye who use YAML.
2010-06-17 13:17:51 +00:00
Ævar Arnfjörð Bjarmason
76e53b8264
wiki_pages: Run script/misc/update-wiki-pages
2010-06-17 13:16:07 +00:00
Ævar Arnfjörð Bjarmason
408f2ba580
wiki_pages: The Japanese moved from Ja: to JA:
2010-06-17 13:14:46 +00:00
Siebrand Mazeland
057817d0de
Localisation updates from http://translatewiki.net
2010-06-17 00:26:09 +02:00
Tom Hughes
b43f9c4714
Link SOTM advert to the landing page
2010-06-16 21:16:42 +01:00
Tom Hughes
c38de8027f
Correct name of ActiveRecord
2010-06-15 17:12:55 +01:00
Tom Hughes
f973bee52b
Make database offline work in production
2010-06-15 10:40:47 +01:00
Tom Hughes
8af14faa49
Make database offline mode work
2010-06-15 10:07:39 +01:00
Tom Hughes
f980e7e4a6
Completely replace rails' version of pk_and_sequence_for
...
Falling back to the rails code for pk_and_sequence_for doesn't work
because we still wind up retrying the slow version of the query for
tables with no primary key. So just replace it instead.
2010-06-14 13:00:49 +01:00
Tom Hughes
a0af70cfb4
Monkey patch rails to make system table query efficient
...
Rails tries to query the system tables to find the primary key
and it's controlling sequence, but it doesn't specify that it is
looking for objects of class "pg_class" so the pg_depend table
has to be sequentially scanned instead of being accessed using
the index.
Tests on the production database show that the time taken for
this query drops from 3.5s to 15ms if the index is used.
2010-06-14 12:43:39 +01:00
Tom Hughes
180228b7e3
Rename layouts.sotm resource to avoid using stale translations
2010-06-08 18:01:21 +01:00
Tom Hughes
3590335221
Add advert for SOTM 2010 to sidebar
2010-06-08 17:09:21 +01:00
Dan Karran
abd996b802
Re-using service icon for pedestrian roads
2010-06-07 22:43:01 +01:00