Commit graph

4315 commits

Author SHA1 Message Date
Tom Hughes
b012617608 Save the user record after changing it 2012-03-09 00:21:08 +00:00
Tom Hughes
4dfe43c956 Fix typo 2012-03-08 23:17:38 +00:00
Tom Hughes
0c681571e2 Update Potlatch 2 to 2.3-212-g774c6a9 build 2012-03-08 22:48:36 +00:00
Tom Hughes
88541c523d Use normal assignment instead of mass assignment 2012-03-08 22:41:25 +00:00
Tom Hughes
cb5e6ebfaa Update Potlatch 2 to 2.3-210-g4e72cd6 build 2012-03-07 21:20:51 +00:00
Tom Hughes
222cd46a57 Add some more unit tests for traces 2012-03-07 21:12:02 +00:00
Tom Hughes
e3152ea1c7 Add some more unit tests for users 2012-03-07 16:44:58 +00:00
Tom Hughes
fc0b4e2dba Update schema 2012-03-07 16:44:50 +00:00
Tom Hughes
2a62ebec53 Add some extra unit tests for diary entries 2012-03-07 15:59:07 +00:00
Tom Hughes
1cc882b23f Fix migration to work with mass assignment protection 2012-03-06 19:00:49 +00:00
Tom Hughes
d9ba72e66f Update Potlatch 2 to 2.3-209-g749f2c8 build 2012-03-06 17:37:34 +00:00
Tom Hughes
32817fe26c Update Potlatch 2 to 2.3-208-g7b7f802 build 2012-03-06 17:21:33 +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
7d8cf94680 Update Potlatch 2 to 2.3-207-g44e9559 build 2012-03-05 08:47:39 +00:00
Tom Hughes
eaf6647553 Correct name of simplified Chinese locale 2012-03-04 17:44:50 +00:00
Tom Hughes
516c13a77b Update Potlatch 2 to 2.3-190-g0bb4cb3 build 2012-03-04 17:36:25 +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
Tom Hughes
8f7ecf169a Add a test to check the validity of the translations 2012-03-04 14:24:21 +00:00
Tom Hughes
e6af712eae Update Potlatch 2 to 2.3-153-gf0c9bef build 2012-03-04 10:48:24 +00:00
Tom MacWright
40402fcdb8 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.
2012-03-04 10:37:46 +00:00
Tom MacWright
86946536ec Set overflow to auto to gracefully hide tabs before small mode is engaged 2012-03-04 10:37:39 +00:00
Tom Hughes
48ad9eff45 Remove unused image 2012-03-04 10:37:33 +00:00
Tom MacWright
839b6daf05 Restyle the tabs as simple blocks 2012-03-04 10:37:26 +00:00
Tom Hughes
232e04ab9b Use a consistent host name in cache keys 2012-03-04 10:27:34 +00:00
Siebrand Mazeland
15725cfc81 Localisation updates from http://translatewiki.net. 2012-03-03 13:43:40 +01:00
Tom Hughes
e7a0302e2b Update the username cookie when the display name is changed 2012-03-03 00:49:03 +00:00
Tom Hughes
5564bcabbf Detect changes to the user image correctly 2012-03-03 00:11:42 +00:00
Tom Hughes
6aa8decccc Update to rails 3.2.2 2012-03-02 09:22:15 +00: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
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