Commit graph

4433 commits

Author SHA1 Message Date
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
23e016e908 Remove osmarender export option 2012-03-01 11:21:59 +00:00
Tom Hughes
acbd254e4a Remove the osmarender map layer 2012-03-01 09:45:41 +00:00
Tom Hughes
ec0c1dfd47 Use the rails-i18n gem instead of local copies of locale data 2012-02-29 00:25:18 +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
4143b3f770 Removed line break 2012-02-29 00:03:31 +00:00
Tom Hughes
13adca0a8f Generate correct links to diary entries 2012-02-28 22:59:43 +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
bcd3805f22 Update README with more information on getting involved 2012-02-27 18:21:00 +00:00
Tom Hughes
24a26e015a Pipeline memcache requests to the cache 2012-02-27 09:01:48 +00:00
Tom Hughes
92f667f488 Don't use the binary memcache protocol
The binary protocol appears to offer no perforance advantage and
doesn't support pipelining of requests.
2012-02-27 09:01:48 +00:00
Tom Hughes
7c3a4b497e 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.
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
Tom Hughes
ca74f1c094 Update Potlatch 2 to 2.3-142-gecedc05 build 2012-02-26 16:24:02 +00:00
Tom Hughes
7d4880ddd1 Simplify Potlatch 2 locale lookup table 2012-02-26 16:22:50 +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 MacWright
a0cb145f1e Add GPLv2 license file and mention in README 2012-02-23 18:55:39 +00:00
Tom Hughes
4065f8f4f3 Update schema 2012-02-23 16:05:58 +00:00
Tom Hughes
e296b8b703 Commit the generated database schema 2012-02-23 15:58:45 +00:00
Tom Hughes
bdf476d8cf Make sure we don't attach alert handler multiple times
Before adding a "not zoomed in enough" alert handler, make sure any
existing handler is removed. Fixes #17.
2012-02-21 19:22:01 +00:00
Tom Hughes
5e0a8368c8 Don't escape the user pagination links 2012-02-21 17:01:53 +00:00
Tom Hughes
f2150a94cf Serve up paperclip attachments in a cache friendly way 2012-02-21 12:31:38 +00:00
Tom Hughes
a6c36b9133 Remove unncessary include of RMagick 2012-02-21 10:46:27 +00:00
Tom Hughes
4c51a3035c Drop rmagick as paperclip just uses the ImageMagick command line tool 2012-02-21 10:42:12 +00:00
Tom Hughes
eae5192957 Add image fingerprints to users 2012-02-20 11:53:39 +00:00
Tom Hughes
155babfec6 Don't escape the title - rails will handle it 2012-02-20 11:45:17 +00:00
Tom Hughes
1cef3c79e3 Don't escape the name - rails will handle it 2012-02-20 11:44:43 +00:00
Tom Hughes
346b097d85 Fix bad database query for RSS feeds of trace file tags 2012-02-19 11:48:33 +00:00
Tom Hughes
71684afb29 Update Potlatch 2 to 2.3-136-g81ae8fd build 2012-02-19 11:43:54 +00:00
Tom Hughes
872c0fff63 Remove bogus leading slash from image URL 2012-02-19 11:37:22 +00:00
Tom Hughes
4e78648d46 Add apple-touch-icon link to the layout 2012-02-19 11:29:14 +00:00
Tom Hughes
8d52069b00 Avoid double render error 2012-02-19 11:04:59 +00:00
Tom Hughes
9c02133098 Don't double up newlines in the log 2012-02-19 10:52:54 +00:00
Tom Hughes
21e3047ba6 CompressedMemCacheStore has been replaced by MemCacheStore 2012-02-19 10:44:36 +00:00
Tom Hughes
ac48c6a16f Explicitly disable the layout for actions which don't want it 2012-02-15 17:48:17 +00:00
Tom Hughes
574407e2ba Require version 1.2.0 of deadlock retry for postgres support 2012-02-15 17:48:17 +00:00
Tom Hughes
2d2b6d7ed8 Remove ancient (and unused) composite_primary_keys gem 2012-02-15 17:48:17 +00:00
Tom Hughes
92feab9112 Make sure we don't inherit old tags when parsing XML for objects 2012-02-15 17:48:17 +00:00
Tom Hughes
5a8c4faf3e Replace deprecated methods with modern equivalents 2012-02-15 17:48:17 +00:00
Tom Hughes
2a0917817c equire composite_primary_keys 5.0.0 2012-02-15 17:48:16 +00:00