Commit graph

1571 commits

Author SHA1 Message Date
Siebrand Mazeland
7feb0d14c6 Localisation updates from http://translatewiki.net. 2012-04-21 10:25:25 +00:00
Tom Hughes
1a2f6c29c6 Update to use api.geonames.org instead of ws.geonames.org 2012-04-18 18:44:37 +01:00
Siebrand Mazeland
ce9ed7f226 Localisation updates from http://translatewiki.net. 2012-04-15 11:49:19 +00:00
Tom Hughes
a3fe0f43ca Fix broken interpolation variables 2012-04-09 20:52:09 +01:00
Siebrand Mazeland
8f25eab257 Localisation updates from http://translatewiki.net. 2012-04-09 01:01:15 +02:00
Siebrand Mazeland
1b9de033bc url -> URL 2012-04-06 12:28:27 +02:00
Tom Hughes
c5152d1860 Improve styling of redaction view 2012-04-05 14:33:13 +01:00
Tom Hughes
ec1667fc09 Prefer using _html locale keys to the raw function 2012-04-05 14:09:06 +01:00
Matt Amos
ac0603d055 Fixed redaction link in browse/history page 2012-04-05 13:50:20 +01:00
Matt Amos
9b1b6692d5 Fixed typo in translation 2012-04-05 13:50:17 +01:00
Matt Amos
851de28303 Added redactions resource 2012-04-05 13:50:15 +01:00
Matt Amos
9c098816e5 Added tests for browsing object histories with redacted elements 2012-04-05 13:49:59 +01:00
Matt Amos
8bfb5cae8a Added relation redaction logic, same as node and way logic, plus tests 2012-04-05 13:49:46 +01:00
Matt Amos
990f3eba40 Altered old_way stuff to be Railsy like old_node is now 2012-04-05 13:49:43 +01:00
Kai Krueger
72e59b49fa Copy the redaction code from nodes to ways 2012-04-05 13:49:39 +01:00
Matt Amos
67182f824e Fixing review comments
Added scoping for unredacted items, cleaned up authorization and
railsified old_node_controller.
2012-04-05 13:46:40 +01:00
Matt Amos
67dd9e4c9d Adding first cut of Redactions support
Redactions support hiding historical versions of elements and
collecting meta-data about that action together.
2012-04-05 13:46:36 +01:00
Grant Slater
ed98d71417 Add AND attribution per request 2012-03-30 18:20:21 +01:00
Tom Hughes
aa3011dcb7 Add Land Vorarlberg to Austrian copyright attributions 2012-03-29 18:39:03 +01:00
Tom Hughes
6072618f47 Remove mention of Tiles@Home from noscript text 2012-03-28 22:55:48 +01:00
Tom MacWright
8f4ed911e0 Introduce a new layer switcher
The new layer switcher behaves the same as the standard one but
has less cruft and more attractive styling.
2012-03-28 21:06:08 +01:00
Tom Hughes
afeee2923f Send a Content-Length header when streaming a file 2012-03-28 18:44:02 +01:00
Tom Hughes
5cae983622 Removed temporary code for promoting databases sessions to memcached 2012-03-28 10:04:56 +01:00
Tom Hughes
eaad3611b8 Add functional tests for messages
Also fixes various issues in the code discovered while writing
the tests, and adds some named routes for messages.
2012-03-22 23:14:29 +00:00
Tom Hughes
a9824dbc2e Use one "no_such_user" view everywhere 2012-03-21 21:47:09 +00:00
Tom Hughes
d1e10d2313 Allow the development enviroment to work in offline mode 2012-03-21 10:01:23 +00:00
Tom Hughes
5f33656c8d Get rid of custom CSRF protection for user role changes
By restricting role changes to POST requests, which they should be
anyway, we get all the rails CSRF protection for free.
2012-03-20 17:21:13 +00:00
Tom Hughes
0b87b003ee Fixed for offline mode 2012-03-20 13:45:10 +00:00
Tom Hughes
e1d873cde9 Add functional tests for user blocks
Also fixes various issues in the code discovered while writing
the tests, and adds some named routes for user blocks.
2012-03-19 11:26:02 +00:00
Tom Hughes
a48f2ac856 Update to rails-i18n 0.5.2 and remove monkey patch 2012-03-17 17:04:02 +00:00
Tom Hughes
b1cb7bb819 Drop the contents of <script> and <style> tags when we strip them 2012-03-17 16:37:01 +00:00
Tom Hughes
6039aac76e Link to the Markdown spec 2012-03-17 16:36:59 +00:00
Tom Hughes
561f2f694a Add preview functionality to rich text controls 2012-03-17 16:36:57 +00:00
Siebrand Mazeland
9bd47cc94a Localisation updates from http://translatewiki.net. Cleanups for Russian translations. 2012-03-15 20:44:49 +01:00
Tom Hughes
0884e7b431 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.
2012-03-14 18:29:04 +00:00
Tom MacWright
dc48c9a510 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.
2012-03-14 17:33:00 +00:00
Tom Hughes
97f31cbf3b Add missing translation for new community submenu 2012-03-14 14:25:55 +00:00
Tom Hughes
9980904f98 Fix broken interpolations in translations 2012-03-14 14:21:42 +00:00
Tom Hughes
21855aa355 Allow POST requests to the home page so OpenSearch works 2012-03-14 13:44:03 +00:00
Sarah Hoffmann
5ef841085e Update prefixes for nominatim search 2012-03-14 00:02:29 +00:00
Siebrand Mazeland
3e5a10eb01 Localisation updates from http://translatewiki.net. 2012-03-11 21:59:53 +01:00
Tom Hughes
58d889436f Fix various routing and route generation errors 2012-03-09 23:15:39 +00:00
Tom Hughes
d5bdf633bf Remove some unecessary routes and add lots of method constraints 2012-03-09 20:15:34 +00:00
Tom Hughes
4d7c3db62c 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.
2012-03-06 10:42:37 +00:00
Tom Hughes
c5a54b779c 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.
2012-03-06 09:21:26 +00:00
Tom Hughes
1340fca8f1 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
2012-03-06 08:54:45 +00:00
Tom Hughes
a1321f2c50 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.
2012-03-04 15:10:51 +00:00
Tom Hughes
10d8bbfedb Remove dummy locales as they are no longer needed 2012-03-04 14:26:38 +00:00
Tom Hughes
be6a33b805 Fix interpolation variable errors 2012-03-04 14:24:45 +00:00
Siebrand Mazeland
15725cfc81 Localisation updates from http://translatewiki.net. 2012-03-03 13:43:40 +01:00