Commit graph

2244 commits

Author SHA1 Message Date
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 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
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
af13c42322 Refactor session persistence code 2012-02-26 21:44:17 +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
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
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
ac48c6a16f Explicitly disable the layout for actions which don't want it 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
9930b03388 Remove remnants of old lower case relation member types 2012-02-15 17:48:16 +00:00
Tom Hughes
e2b185133e ActionController::UnknownAction is now AbstractController::ActionNotFound 2012-02-15 17:48:16 +00:00
Tom Hughes
e70396d70b Replace the file_column plugin with paperclip 2012-02-15 17:48:15 +00:00
Tom Hughes
3d01016980 Restore borders to maps on various pages 2012-02-15 17:47:42 +00:00
Tom Hughes
52be0e81a0 Reduce the effect of the user description on the spam score 2012-02-15 16:24:43 +00:00
Tom Hughes
8afc736536 Revert "Log locale selection"
This reverts commit 101ee6ade2.
2012-02-14 15:47:21 +00:00
Tom Hughes
101ee6ade2 Log locale selection 2012-02-14 14:57:29 +00:00
Tom Hughes
a3c83f8623 Don't remove the content area border on the copyright page 2012-02-14 12:03:54 +00:00
Tom Hughes
2b326acc32 Allow the copyright page to be requested in any locale 2012-02-14 11:54:22 +00:00
Tom Hughes
73b8e6f0ad Use the same subhead style for search results as export 2012-02-12 15:36:02 +00:00
Tom Hughes
daae34672e Tidy up the stylesheets 2012-02-12 15:17:43 +00:00
Tom Hughes
2e6852b1a6 Improve sidebar styling a little 2012-02-12 15:17:43 +00:00
Tom MacWright
3c4b20c160 Fix sidebar border and padding, tweak styles to simplify borders
Move font sizes and line heights up in the stylesheet structure
to make the left element more uniform. Make the padding of the
menu the same as the other elements.
2012-02-12 15:17:43 +00:00
Tom Hughes
55e0c231cf Tidy up the stylesheets 2012-02-12 15:17:43 +00:00
Tom Hughes
97dba0fbbe Read the content area size before making any changes
Adjusting the position of the map can impact the apparent size of
the content area, so make sure we read that before we start making
any changes to the position and size of the map.
2012-02-12 15:17:43 +00:00
Tom MacWright
c241c3c312 Cleanup style
This is a mild restyling of OpenStreetMap. Changes include:

  * Remove margin from map, add more margin to text content
  * Rearrange permalink & link buttons and gives them a background
  * Pull OpenStreetMap text below logo along with subtitle
  * Simplify sidebar styling
  * Move towards a baseline, start to consolidate text size and line height

This is tested with LTR, RTL, and the compact mode, and looks good. Looks
more uniform in older browsers because it relies less on round corners.
2012-02-12 15:17:43 +00:00
Tom Hughes
5e9414365c Make ACLs match when the address is equal 2012-02-12 14:53:07 +00:00
Tom Hughes
a16b45eb6a Add convenience methods to make ACL use simpler 2012-02-08 22:38:02 +00:00
Tom Hughes
8eef66cee2 Don't check the ACL unless we're creating a new user 2012-02-08 22:35:13 +00:00
Tom Hughes
b3df1f12ee Don't escape mailto link on blocked signup page 2012-02-08 21:41:46 +00:00
Tom Hughes
cd43529cc8 Add support for domain based ACLs 2012-02-08 21:40:21 +00:00
Tom Hughes
9c0d5277ad Combine the address and netmask for an ACL in one column 2012-02-08 14:09:50 +00:00
Tom Hughes
beb0ef6357 Stop pretending we support MySQL 2012-02-08 14:08:49 +00:00
Tom Hughes
9f12d24fbd Leave https wikipedia URLs unmolested 2012-02-06 08:54:10 +00:00
Tom MacWright
eb8efa0a4b Fixes and cleanups suggested by JSHint 2012-02-01 00:25:10 +00:00
Tom Hughes
63ca466f24 Use jQuery syntax instead of Prototype syntax 2012-01-23 21:28:01 +00:00
Tom Hughes
2c666b42d7 Fix exception when a suspended user tries to login 2012-01-23 14:31:06 +00:00
Tom Hughes
8ba74c581d Add an ACL check to allow trace downloads to be blocked 2012-01-17 17:43:32 +00:00