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
Tom Hughes
06934ad375
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.
2012-03-02 09:19:12 +00:00
Tom Hughes
a678a330ef
Fix broken interpolations
2012-03-01 15:53:35 +00:00
Siebrand Mazeland
5ebb07c6d4
Localisation updates from http://translatewiki.net .
2012-03-01 16:27:53 +01:00
Tom Hughes
dffd5fe2d0
Remove references to mapnik in the export pane
2012-03-01 12:19:44 +00:00
Tom Hughes
b61e414356
Rename "Mapnik" to "Standard" in the layer switcher
2012-03-01 12:18:55 +00:00
Tom Hughes
acbd254e4a
Remove the osmarender map layer
2012-03-01 09:45:41 +00:00
Tom MacWright
7b6d0f0313
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.
2012-02-29 00:13:09 +00:00
Tom Hughes
c9a4ec5e63
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.
2012-02-28 21:49:41 +00:00
Steve Singer
1944372af8
Add a view to show diary comments left by a user
2012-02-28 21:29:18 +00:00
Grant Slater
e45f8855c4
Add additional notice to UMP attribution per request of LWG
2012-02-28 18:05:34 +00:00
Grant Slater
6a8bf56c8c
Add "South Africa Chief Directorate: National Geo-Spatial Information" to copyright notices
2012-02-28 18:05:14 +00:00
Tom Hughes
24a26e015a
Pipeline memcache requests to the cache
2012-02-27 09:01:48 +00:00
Tom Hughes
57ba7d6f0b
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.
2012-02-27 09:01:48 +00:00
Tom Hughes
f778b61c03
Refactor memcache connection handling
2012-02-27 09:01:47 +00:00
Tom Hughes
af13c42322
Refactor session persistence code
2012-02-26 21:44:17 +00:00
Siebrand Mazeland
43bbb3f651
Correct misspellings of CC BY[-SA]
2012-02-25 15:56:30 +01:00
Tom Hughes
35273947f0
Add a stub locale file for "no" so that fallback works
2012-02-25 00:12:04 +00:00
Tom Hughes
f2150a94cf
Serve up paperclip attachments in a cache friendly way
2012-02-21 12:31:38 +00:00
Tom Hughes
9c02133098
Don't double up newlines in the log
2012-02-19 10:52:54 +00:00