Commit graph

2678 commits

Author SHA1 Message Date
Tom Hughes
c9ec4895ea Fix next/previous links on diary pages properly 2013-04-07 23:09:19 +01:00
Tom Hughes
8baddcb26c Correct next/previous links on diary list page 2013-04-07 18:41:00 +01:00
Matt Amos
3822e8de77 Added database, API and GPX status to capabilities. 2013-04-02 15:05:20 +01:00
Tom Hughes
b92a2de9ec Use changeset and user caches in Changeset#download 2013-04-01 14:18:21 +01:00
Tom Hughes
e6a1003509 Avoid reading nodes twice in WayController#full 2013-04-01 14:18:21 +01:00
Tom Hughes
369d5a0bfd Optimise database reads in DiaryEntry#list 2013-04-01 14:18:21 +01:00
Tom Hughes
4fd89f9f23 Improve selection logic in DiaryEntry#rss 2013-04-01 14:18:21 +01:00
Tom Hughes
8ed6d80b0d Reimplement User#is_friends_with? in a non-insane way 2013-04-01 14:18:21 +01:00
Tom Hughes
a5121f8910 Preload sender/recipient details for messages 2013-04-01 14:18:20 +01:00
Eric Theise
dce2bb9a54 Extend geocoder to support additional lat/lon formats 2013-03-03 19:39:53 +00:00
Tom Hughes
456d41e189 Remove use of jQuery toggle() function 2013-02-12 10:31:38 +00:00
Tom Hughes
703663c4a2 Add a test for commenting on diary entries 2013-02-03 15:50:09 +00:00
Tom Hughes
cff41d2171 Ajaxify message deletion 2013-02-03 12:52:51 +00:00
Paweł Paprota
9762fbff50 Missing aerodrome symbol (referenced in browse.css.scss). 2013-02-02 10:46:48 +00:00
Tom Hughes
773f145edc Show the header block on slim layout pages 2013-01-30 18:17:04 +00:00
Saman Bemel-Benrud
a4af16417b Allow non-square user images 2013-01-26 15:44:44 +00:00
Tom Hughes
1f7dd79daf Fix lists in rich text to display properly
Add a "richtext" class to anything which contains text rendered
by our rich text library, and move styles which were only being
applied to diary entries to apply to all rich text.
2013-01-24 14:54:26 +00:00
Tom Hughes
f430d2c6e1 Remove redundant CSS rule - table headings are already bold 2013-01-24 14:31:14 +00:00
Tom Hughes
a4b5485405 Compute size of rich text preview pane correctly 2013-01-24 14:29:27 +00:00
Tom Hughes
f8cadaf480 Put some white space back to make things readable 2013-01-24 14:18:18 +00:00
Tom Hughes
f612f573f9 Wrap longitude values explicitly
Leaflet 0.5 no longer wraps longitude values, so we need to do it.
2013-01-22 22:29:50 +00:00
Saman Bemel-Benrud
08dba25d7a Fix overflow on login page on mobile 2013-01-22 18:49:44 +00:00
Saman Bemel-Benrud
3bce9ceee5 Fix mobile map and other minor mobile adjustments 2013-01-22 18:49:25 +00:00
Tom Hughes
05cb14b776 Remove asset pipeline overrides for unused images in embedded maps 2013-01-22 15:20:54 +00:00
Tom Hughes
469b3c5658 Use U+25BC instead of U+25BE for the menu indicator 2013-01-21 22:59:06 +00:00
Tom Hughes
fa53a9c680 Remove asset pipeline overrides for now unused images 2013-01-21 22:50:08 +00:00
Tom Hughes
1fe52824fa Correct vertical position of map controls in small screen layout 2013-01-21 21:42:44 +00:00
Paweł Paprota
a03d9c0a1b Rename historic=ruins tag symbol to match the CSS rule in browse.css. 2013-01-21 09:43:11 +00:00
Tom Hughes
e9cb282712 Make maximising work properly again in Potlatch 2013-01-19 11:29:12 +00:00
Tom Hughes
843051c1b2 Detach the permalink from the DOM so only one copy is shown 2013-01-18 13:50:37 +00:00
Tom Hughes
b0747c3c1e Fix formating of way and relation redaction messages as well 2013-01-18 09:19:01 +00:00
Tom Hughes
bc31329da1 Improve testing of the trace list view 2013-01-18 00:37:44 +00:00
Tom Hughes
6bde69a840 Update to Leaflet 0.5 2013-01-17 17:44:10 +00:00
Tom Hughes
f05da909f5 Remove style rules that are no longer needed 2013-01-17 00:12:59 +00:00
Tom Hughes
fb5e704b26 Mark hide rules as important 2013-01-16 23:28:08 +00:00
Tom Hughes
2401515ca6 Fix formatting of redaction messages on browse history pages 2013-01-16 23:05:09 +00:00
Tom Hughes
f360d77aff Highlight the history tab correctly 2013-01-16 21:31:15 +00:00
Saman Bemel-Benrud
b02844b42f Cleanup followup
Tighter copy on node list for to decrease the chance of an ugly line
break (need better fix here so the line break is smoother). Just changed
also part of way %{related_ways} to part of way %{related_ways}. This
needs a better fix to make line breaks indent properly, but this should
at least help a little (issue #185).

Properly positioned 'nearby users' block on user page to be in the left
column (issue #184).

Removed deemphasized class from search results (issue #181) lighter
highlight yellow on changesets page.
2013-01-16 21:31:05 +00:00
Tom Hughes
354cadfbe7 Make user markers display correctly
Instead of putting the data on a bogus <td> element that will be deleted
by the browser, put it on the <div> wrapper instead.
2013-01-16 18:27:56 +00:00
Tom Hughes
4b9efb63b8 Avoid wrapping an <li> in a <span> 2013-01-16 18:13:52 +00:00
Tom Hughes
111329b31f Display trace descriptions properly 2013-01-16 09:53:39 +00:00
Tom Hughes
4c9a3d4803 Disable caching of pages with dynamic layout
Pages now feed back into the layout to set the content of the heading
block so we can't cache any page which has a layout as that would mean
the heading wouldn't appear when the cached page was used.
2013-01-14 22:30:03 +00:00
Saman Bemel-Benrud
a36f3558dd Site cleanup
I set out to do a quick and dirty typography overhaul to make things
more consistent and a bit cleaner, but I kept running into things I
didn't like, so this lead me down something of a rabbit hole of design
tweaks to the OSM site.

Goals here are to have better content hierarchy, better vertical
rhythm, more consistent UI, cleaner markup with less tables, all while
keeping the basics pretty much intact. There are a lot of things I
didn't touch even though they need to be updated (lots of tables where
stuff shouldn't be tables, mostly).

Basic overview of changes:

I added a new persistent header that helps segment pages. It's now
a lot easier to know what you're looking at. The header has a page
title, a description, plus a submenu of actions.

There is now a pattern of 20px/10px margins and padding for more
rhythm and breathing room throughout the site.

I know there are other problems here or things I've missed - would
love another set of eyes to look over this! I am still getting comfortable
working on the site - it's my first time ever digging into a ruby or rails
so I'm not familiar with the templating language yet.
2013-01-14 21:27:08 +00:00
Tom Hughes
03ead3a59d Enable "destructive edit" warnings in Potlatch 2 2012-12-21 08:51:34 +00:00
Paweł Paprota
bdc536d126 Autofocus the search field on the index page 2012-12-13 19:16:41 +00:00
Tom Hughes
00548468ac Remove unused permalink styles 2012-12-13 19:12:07 +00:00
John Firebaugh
394dcd7316 Avoid multiple click bindings on data layer 2012-11-29 18:31:17 +00:00
John Firebaugh
6255c96130 Use jQuery chaining 2012-11-29 18:29:50 +00:00
John Firebaugh
05eba79008 Move "Browse Map Data" to layers control
Fixes https://trac.openstreetmap.org/ticket/4680
2012-11-29 18:23:41 +00:00
John Firebaugh
fde2744f74 Sort changeset rectangles by size
This should help make more changesets accessible on the
map, without requiring precision cursor placement on the
changeset boundary (#169).
2012-11-29 05:50:03 -08:00