]> git.openstreetmap.org Git - rails.git/log
rails.git
11 years agoMake maximising work properly again in Potlatch
Tom Hughes [Sat, 19 Jan 2013 11:29:12 +0000 (11:29 +0000)]
Make maximising work properly again in Potlatch

11 years agoDetach the permalink from the DOM so only one copy is shown
Tom Hughes [Fri, 18 Jan 2013 13:50:37 +0000 (13:50 +0000)]
Detach the permalink from the DOM so only one copy is shown

11 years agoFix formating of way and relation redaction messages as well
Tom Hughes [Fri, 18 Jan 2013 09:19:01 +0000 (09:19 +0000)]
Fix formating of way and relation redaction messages as well

11 years agoImprove testing of the trace list view
Tom Hughes [Fri, 18 Jan 2013 00:37:44 +0000 (00:37 +0000)]
Improve testing of the trace list view

11 years agoUpdate to Leaflet 0.5
Tom Hughes [Thu, 17 Jan 2013 17:44:10 +0000 (17:44 +0000)]
Update to Leaflet 0.5

11 years agoRemove style rules that are no longer needed
Tom Hughes [Thu, 17 Jan 2013 00:12:59 +0000 (00:12 +0000)]
Remove style rules that are no longer needed

11 years agoMark hide rules as important
Tom Hughes [Wed, 16 Jan 2013 23:28:08 +0000 (23:28 +0000)]
Mark hide rules as important

11 years agoFix formatting of redaction messages on browse history pages
Tom Hughes [Wed, 16 Jan 2013 23:05:09 +0000 (23:05 +0000)]
Fix formatting of redaction messages on browse history pages

11 years agoHighlight the history tab correctly
Tom Hughes [Wed, 16 Jan 2013 21:27:11 +0000 (21:27 +0000)]
Highlight the history tab correctly

11 years agoCleanup followup
Saman Bemel-Benrud [Wed, 16 Jan 2013 18:43:25 +0000 (18:43 +0000)]
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.

11 years agoRemove messages which have been copied from english
Tom Hughes [Wed, 16 Jan 2013 18:45:55 +0000 (18:45 +0000)]
Remove messages which have been copied from english

11 years agoFixup test failure
Tom Hughes [Wed, 16 Jan 2013 18:39:26 +0000 (18:39 +0000)]
Fixup test failure

11 years agoMake user markers display correctly
Tom Hughes [Wed, 16 Jan 2013 18:27:56 +0000 (18:27 +0000)]
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.

11 years agoAvoid wrapping an <li> in a <span>
Tom Hughes [Wed, 16 Jan 2013 18:13:52 +0000 (18:13 +0000)]
Avoid wrapping an <li> in a <span>

11 years agoDisplay trace descriptions properly
Tom Hughes [Wed, 16 Jan 2013 09:53:39 +0000 (09:53 +0000)]
Display trace descriptions properly

11 years agoUpdate data schema
Tom Hughes [Tue, 15 Jan 2013 20:56:43 +0000 (20:56 +0000)]
Update data schema

11 years agoUpdate tests for layout changes
Tom Hughes [Tue, 8 Jan 2013 22:11:54 +0000 (22:11 +0000)]
Update tests for layout changes

11 years agoDisable caching of pages with dynamic layout
Tom Hughes [Tue, 8 Jan 2013 13:49:58 +0000 (13:49 +0000)]
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.

11 years agoSite cleanup
Saman Bemel-Benrud [Thu, 3 Jan 2013 11:20:32 +0000 (11:20 +0000)]
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.

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Sun, 13 Jan 2013 15:03:06 +0000 (15:03 +0000)]
Localisation updates from http://translatewiki.net.

11 years agoUpdate to rails 3.2.11
Tom Hughes [Tue, 8 Jan 2013 20:36:38 +0000 (20:36 +0000)]
Update to rails 3.2.11

11 years agoRemove messages which have been copied from english
Tom Hughes [Sun, 6 Jan 2013 18:01:43 +0000 (18:01 +0000)]
Remove messages which have been copied from english

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Mon, 7 Jan 2013 10:20:48 +0000 (10:20 +0000)]
Localisation updates from http://translatewiki.net.

11 years agoStick with therubyracer 0.10.x for now
Tom Hughes [Thu, 3 Jan 2013 11:10:32 +0000 (11:10 +0000)]
Stick with therubyracer 0.10.x for now

The 0.11.x release is a complete mess, as amply documented in the github
issue tracker (https://github.com/cowboyd/therubyracer/issues/215).

11 years agoUpdate rails to 2.3.10
Tom Hughes [Thu, 3 Jan 2013 10:40:32 +0000 (10:40 +0000)]
Update rails to 2.3.10

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Sun, 30 Dec 2012 10:33:23 +0000 (10:33 +0000)]
Localisation updates from http://translatewiki.net.

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Fri, 21 Dec 2012 18:48:00 +0000 (18:48 +0000)]
Localisation updates from http://translatewiki.net.

11 years agoEnable "destructive edit" warnings in Potlatch 2
Tom Hughes [Fri, 21 Dec 2012 08:51:34 +0000 (08:51 +0000)]
Enable "destructive edit" warnings in Potlatch 2

11 years agoUpdate Potlatch 2 to 2.3-554-ge648197 build
Tom Hughes [Fri, 21 Dec 2012 08:50:28 +0000 (08:50 +0000)]
Update Potlatch 2 to 2.3-554-ge648197 build

11 years agoPotlatch 2 localisation updates
Tom Hughes [Fri, 21 Dec 2012 08:49:39 +0000 (08:49 +0000)]
Potlatch 2 localisation updates

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Sun, 16 Dec 2012 19:21:59 +0000 (19:21 +0000)]
Localisation updates from http://translatewiki.net.

11 years agoAutofocus the search field on the index page
Paweł Paprota [Thu, 13 Dec 2012 19:14:58 +0000 (19:14 +0000)]
Autofocus the search field on the index page

11 years agoRemove unused permalink styles
Tom Hughes [Tue, 4 Dec 2012 14:33:32 +0000 (14:33 +0000)]
Remove unused permalink styles

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Sat, 8 Dec 2012 18:48:40 +0000 (18:48 +0000)]
Localisation updates from http://translatewiki.net.

11 years agoUpdate Potlatch 2 to 2.3-547-g4a8c109 build
Tom Hughes [Mon, 3 Dec 2012 14:58:07 +0000 (14:58 +0000)]
Update Potlatch 2 to 2.3-547-g4a8c109 build

11 years agoPotlatch 2 localisation updates
Tom Hughes [Mon, 3 Dec 2012 14:57:24 +0000 (14:57 +0000)]
Potlatch 2 localisation updates

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Sat, 1 Dec 2012 19:43:57 +0000 (19:43 +0000)]
Localisation updates from http://translatewiki.net.

11 years agoRevert "Use Redcarpet::Render::XHTML instead of our custom renderer"
Tom Hughes [Thu, 29 Nov 2012 22:22:22 +0000 (22:22 +0000)]
Revert "Use Redcarpet::Render::XHTML instead of our custom renderer"

This reverts commit 4bb95b37735fac25467af21418cc0a973497219c.

11 years agoDon't try and compile the (non-existent) openlayers theme
Tom Hughes [Thu, 29 Nov 2012 21:29:40 +0000 (21:29 +0000)]
Don't try and compile the (non-existent) openlayers theme

11 years agoUse Redcarpet::Render::XHTML instead of our custom renderer
Tom Hughes [Thu, 29 Nov 2012 18:59:43 +0000 (18:59 +0000)]
Use Redcarpet::Render::XHTML instead of our custom renderer

Now that my :link_attributes patch has been merged we don't need
the custom renderer to add the rel=nofollow attributes.

11 years agoAvoid multiple click bindings on data layer
John Firebaugh [Thu, 29 Nov 2012 15:40:23 +0000 (07:40 -0800)]
Avoid multiple click bindings on data layer

11 years agoUse jQuery chaining
John Firebaugh [Thu, 29 Nov 2012 15:33:04 +0000 (07:33 -0800)]
Use jQuery chaining

11 years agoMove "Browse Map Data" to layers control
John Firebaugh [Thu, 29 Nov 2012 15:30:38 +0000 (07:30 -0800)]
Move "Browse Map Data" to layers control

Fixes https://trac.openstreetmap.org/ticket/4680

11 years agoSort changeset rectangles by size
John Firebaugh [Thu, 29 Nov 2012 13:50:03 +0000 (05:50 -0800)]
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).

11 years agoUpdate Potlatch 2 to 2.3-538-gb4f7198 build
Tom Hughes [Tue, 27 Nov 2012 09:40:19 +0000 (09:40 +0000)]
Update Potlatch 2 to 2.3-538-gb4f7198 build

11 years agoPotlatch 2 localisation updates
Tom Hughes [Tue, 27 Nov 2012 09:39:22 +0000 (09:39 +0000)]
Potlatch 2 localisation updates

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Mon, 26 Nov 2012 08:18:45 +0000 (08:18 +0000)]
Localisation updates from http://translatewiki.net.

11 years agoChange map placement in small screen mode
Tom Hughes [Sun, 25 Nov 2012 18:36:55 +0000 (18:36 +0000)]
Change map placement in small screen mode

This mirrors the way the map is now handled in large screen mode, and
makes it display properly in the Android browser.

11 years agoFix "Edit Area" remote control link
John Firebaugh [Sun, 25 Nov 2012 16:05:01 +0000 (12:05 -0400)]
Fix "Edit Area" remote control link

Fixes https://trac.openstreetmap.org/ticket/4699

11 years agoHide +/- signs, take three
Tom Hughes [Sat, 24 Nov 2012 14:13:58 +0000 (14:13 +0000)]
Hide +/- signs, take three

11 years agoSet the z-index on the top bar to keep it in front
Tom Hughes [Fri, 23 Nov 2012 19:38:55 +0000 (19:38 +0000)]
Set the z-index on the top bar to keep it in front

11 years agoRevert "Stop the map overlapping the top bar"
Tom Hughes [Fri, 23 Nov 2012 19:36:56 +0000 (19:36 +0000)]
Revert "Stop the map overlapping the top bar"

This reverts commit 2ef2d7c876168d6beb606b655470f48ffabc8841.

11 years agoFall back to the mapnik layer
Tom Hughes [Fri, 23 Nov 2012 19:00:51 +0000 (19:00 +0000)]
Fall back to the mapnik layer

If there are no known layers in the layers string, then fall back to
showing the standard mapnik layer.

11 years agoSet size and anchor position for embedded markers
Tom Hughes [Fri, 23 Nov 2012 17:57:47 +0000 (17:57 +0000)]
Set size and anchor position for embedded markers

11 years agoImprove hiding of text on zoom icons
Tom Hughes [Fri, 23 Nov 2012 15:26:00 +0000 (15:26 +0000)]
Improve hiding of text on zoom icons

11 years agoSet icon paths for markers on the embedded map
Tom Hughes [Fri, 23 Nov 2012 15:06:13 +0000 (15:06 +0000)]
Set icon paths for markers on the embedded map

11 years agoAdd missing units
Tom Hughes [Fri, 23 Nov 2012 15:00:04 +0000 (15:00 +0000)]
Add missing units

11 years agoStop active link boxes appearing on the zoom in/out icons
Tom Hughes [Fri, 23 Nov 2012 14:58:10 +0000 (14:58 +0000)]
Stop active link boxes appearing on the zoom in/out icons

11 years agoStop spurious +/- signs appearing in the zoom slider
Tom Hughes [Fri, 23 Nov 2012 14:57:54 +0000 (14:57 +0000)]
Stop spurious +/- signs appearing in the zoom slider

11 years agoRevert "Stop spurious +/- signs appearing in the zoom slider"
Tom Hughes [Fri, 23 Nov 2012 14:56:44 +0000 (14:56 +0000)]
Revert "Stop spurious +/- signs appearing in the zoom slider"

This reverts commit 5edb4bf4e5da9e7d48f8bc9f0d87fa6c95fca440.

11 years agoStop spurious +/- signs appearing in the zoom slider
Tom Hughes [Fri, 23 Nov 2012 14:50:39 +0000 (14:50 +0000)]
Stop spurious +/- signs appearing in the zoom slider

11 years agoUpdate the leaflet zoom slider plugin to fix IE8
Tom Hughes [Fri, 23 Nov 2012 13:12:51 +0000 (13:12 +0000)]
Update the leaflet zoom slider plugin to fix IE8

11 years agoStop the map overlapping the top bar
Tom Hughes [Fri, 23 Nov 2012 12:23:38 +0000 (12:23 +0000)]
Stop the map overlapping the top bar

11 years agoMerge branch 'leaflet'
Tom Hughes [Fri, 23 Nov 2012 10:41:45 +0000 (10:41 +0000)]
Merge branch 'leaflet'

11 years agoServe embedded maps through the assets pipeline
Tom Hughes [Fri, 23 Nov 2012 09:04:38 +0000 (09:04 +0000)]
Serve embedded maps through the assets pipeline

11 years agoMove map controls higher in the small screen view
Tom Hughes [Thu, 22 Nov 2012 13:03:49 +0000 (13:03 +0000)]
Move map controls higher in the small screen view

11 years agoUse the small zoom control in the small screen layout
Tom Hughes [Thu, 22 Nov 2012 12:54:37 +0000 (12:54 +0000)]
Use the small zoom control in the small screen layout

11 years agoTidy up
Tom Hughes [Wed, 21 Nov 2012 22:53:10 +0000 (22:53 +0000)]
Tidy up

11 years agoUpdate the Layers control when layers are added or removed
Tom Hughes [Thu, 22 Nov 2012 12:27:12 +0000 (12:27 +0000)]
Update the Layers control when layers are added or removed

Submitted upstream as https://github.com/CloudMade/Leaflet/pull/1169.

11 years agoRemove hard coded assumption that layer zero is mapnik
Tom Hughes [Thu, 22 Nov 2012 09:48:03 +0000 (09:48 +0000)]
Remove hard coded assumption that layer zero is mapnik

11 years agoUpdate to CPK 5.0.10 and remove monkey patch
Tom Hughes [Thu, 22 Nov 2012 09:10:04 +0000 (09:10 +0000)]
Update to CPK 5.0.10 and remove monkey patch

11 years agoRemove unused image
Tom Hughes [Wed, 21 Nov 2012 22:52:53 +0000 (22:52 +0000)]
Remove unused image

11 years agoMake sure all leaflet images are loaded through the asse pipeline
Tom Hughes [Wed, 21 Nov 2012 19:01:09 +0000 (19:01 +0000)]
Make sure all leaflet images are loaded through the asse pipeline

11 years agoReplace OSM markers with recolured versions of the Leaflet marker
Tom Hughes [Tue, 20 Nov 2012 23:11:41 +0000 (23:11 +0000)]
Replace OSM markers with recolured versions of the Leaflet marker

11 years agoUse the OSM map marker icons on the home page
Tom Hughes [Tue, 20 Nov 2012 21:52:40 +0000 (21:52 +0000)]
Use the OSM map marker icons on the home page

11 years agoUse the OSM map marker icons when adding a new diary entry
Tom Hughes [Tue, 20 Nov 2012 21:48:50 +0000 (21:48 +0000)]
Use the OSM map marker icons when adding a new diary entry

11 years agoMake vendored asset definitions consistent
Tom Hughes [Tue, 20 Nov 2012 21:24:03 +0000 (21:24 +0000)]
Make vendored asset definitions consistent

11 years agoUpdate Potlatch 2 to 2.3-534-g63a3364 build
Tom Hughes [Tue, 20 Nov 2012 18:59:36 +0000 (18:59 +0000)]
Update Potlatch 2 to 2.3-534-g63a3364 build

11 years agoPotlatch 2 localisation updates
Tom Hughes [Tue, 20 Nov 2012 18:59:05 +0000 (18:59 +0000)]
Potlatch 2 localisation updates

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 20 Nov 2012 12:49:40 +0000 (12:49 +0000)]
Localisation updates from http://translatewiki.net.

11 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Tue, 20 Nov 2012 12:06:12 +0000 (12:06 +0000)]
Localisation updates from http://translatewiki.net.

11 years agoRework RTL handling to keep rules together
Tom Hughes [Fri, 16 Nov 2012 16:12:14 +0000 (16:12 +0000)]
Rework RTL handling to keep rules together

11 years agoFix rendering of PanZoom control in RTL mode
Tom Hughes [Sun, 18 Nov 2012 19:20:53 +0000 (19:20 +0000)]
Fix rendering of PanZoom control in RTL mode

11 years agoConfigure CORS to allow GET and POST to /oauth
Tom Hughes [Fri, 16 Nov 2012 22:28:52 +0000 (22:28 +0000)]
Configure CORS to allow GET and POST to /oauth

11 years agoAlways use the canonical host name in diary RSS feeds
Tom Hughes [Fri, 16 Nov 2012 17:03:48 +0000 (17:03 +0000)]
Always use the canonical host name in diary RSS feeds

11 years agoDon't use hard coded value in "one" pluralization rule
Tom Hughes [Thu, 15 Nov 2012 15:22:56 +0000 (15:22 +0000)]
Don't use hard coded value in "one" pluralization rule

French uses the "one" rule for zero as well as one (if there is no
explicit zero rule) so make sure we use %{count} there.

Also made the same change to English, and added an explcit zero rul.

11 years agoUpdated Potlatch 2 to 2.3-529-g5446b49 build
Tom Hughes [Tue, 13 Nov 2012 15:32:16 +0000 (15:32 +0000)]
Updated Potlatch 2 to 2.3-529-g5446b49 build

11 years agoOnly call force_encoding on ruby 1.9
Tom Hughes [Mon, 12 Nov 2012 20:19:07 +0000 (20:19 +0000)]
Only call force_encoding on ruby 1.9

11 years agoFix bogus test
Tom Hughes [Mon, 12 Nov 2012 19:27:09 +0000 (19:27 +0000)]
Fix bogus test

11 years agoMonkey patch field_changed? support until CPK is updated
Tom Hughes [Mon, 12 Nov 2012 19:14:31 +0000 (19:14 +0000)]
Monkey patch field_changed? support until CPK is updated

11 years agoUpdate to rails 3.2.9
Tom Hughes [Mon, 12 Nov 2012 19:13:54 +0000 (19:13 +0000)]
Update to rails 3.2.9

11 years agoFixing typo and outdated information
Eric Theise [Sun, 11 Nov 2012 04:59:12 +0000 (21:59 -0700)]
Fixing typo and outdated information

11 years agoUse counter caches to improve spam scoring
Tom Hughes [Mon, 12 Nov 2012 09:39:44 +0000 (09:39 +0000)]
Use counter caches to improve spam scoring

Now that we have the counter caches we can take all edits and traces
into account without incurring the cost of having to scan the database
to count them all.

11 years agoFix interpolation variables
Tom Hughes [Sat, 10 Nov 2012 19:52:30 +0000 (19:52 +0000)]
Fix interpolation variables

11 years agoUpdate Potlatch 2 to 2.3-515-gd4558d1 build
Tom Hughes [Sat, 10 Nov 2012 19:43:54 +0000 (19:43 +0000)]
Update Potlatch 2 to 2.3-515-gd4558d1 build

11 years agoPotlatch 2 localisation updates
Tom Hughes [Sat, 10 Nov 2012 19:43:18 +0000 (19:43 +0000)]
Potlatch 2 localisation updates

11 years agoFixing two typos
Eric Theise [Sat, 10 Nov 2012 19:17:34 +0000 (12:17 -0700)]
Fixing two typos

11 years agoUpdate Leaflet
John Firebaugh [Sat, 10 Nov 2012 00:01:29 +0000 (16:01 -0800)]
Update Leaflet

11 years agoMove popup anchor definition to icon
John Firebaugh [Fri, 9 Nov 2012 23:57:31 +0000 (15:57 -0800)]
Move popup anchor definition to icon

11 years agoUse nicer markers
John Firebaugh [Fri, 9 Nov 2012 21:30:29 +0000 (13:30 -0800)]
Use nicer markers