Tom Hughes
2c397321c9
Refactor calculation of zoom level based on a scale
2012-03-14 19:12:32 +00:00
Tom Hughes
f2150a94cf
Serve up paperclip attachments in a cache friendly way
2012-02-21 12:31:38 +00:00
Tom Hughes
e70396d70b
Replace the file_column plugin with paperclip
2012-02-15 17:48:15 +00:00
Tom Hughes
9f12d24fbd
Leave https wikipedia URLs unmolested
2012-02-06 08:54:10 +00:00
Tom Hughes
3aa1c46aef
Use OSM::Timer (and hence SystemTimer) consistently
2012-01-06 09:13:52 +00:00
Tom Hughes
13289d4041
Switch from Prototype to jQuery
2011-11-26 00:22:31 +00:00
Tom Hughes
75f12f5b18
Remove debugging code
2011-11-15 09:58:30 +00:00
Tom Hughes
45ec042c90
Mark sanitized text as HTML safe
2011-11-15 09:58:10 +00:00
Tom Hughes
1d6051d08b
Make linkify preserve HTML safety
2011-11-15 09:46:33 +00:00
Tom Hughes
607d23f6d6
Fixup some string escaping issues in the data browser
2011-11-14 09:42:55 +00:00
Tom Hughes
e5c8dc9c77
Removed unused link_to_page from the trace helpers
...
It was unused, and clashed link_to_page in the browser helpers as
apparently all helpers are loaded into all views...
2011-11-14 09:42:55 +00:00
Tom Hughes
3377879d39
Add rinku to get auto_link support back
2011-11-14 09:42:52 +00:00
Tom Hughes
819badd55b
Reflect move of u_unpack from Chars to Unicode
2011-11-14 09:42:43 +00:00
Tom Hughes
ed54379218
Make helpers return text instead of appending to the output buffer
2011-11-14 09:42:42 +00:00
Tom Hughes
22594361d5
Mark some strings that shouldn't be escaped as raw
2011-11-14 09:42:41 +00:00
Tom Hughes
a37e1b8f70
Merge branch 'master' into openid
...
Conflicts:
app/views/user/login.html.erb
2011-05-22 18:01:15 +01:00
Grant Slater
c7ffb35e8b
Correct some minor html validation errors
2011-05-22 16:16:44 +01:00
Tom Hughes
0ea9f92be5
Merge branch 'master' into openid
...
Conflicts:
app/controllers/user_controller.rb
2010-12-05 15:15:55 +00:00
Tom Hughes
04a6c41be9
Show a popup listing available editors when hovering over the edit tab
2010-11-29 12:20:22 +00:00
Tom Hughes
c3453cf57d
Make JOSM remote control based editing work
2010-11-29 12:20:22 +00:00
Tom Hughes
03fb042591
Merge branch 'master' into openid
2010-07-28 21:39:46 +01:00
Tom Hughes
7298467306
Fix scoping of reverse geocode result
2010-07-23 00:53:36 +01:00
Tom Hughes
51195c450d
Add support for CSS based control of user specific components
...
Define some helper routines which can be used to make page elements
only display when the logged in user matches certain conditions and
add style rules to the layout to trigger those elements based on the
logged in user.
2010-07-21 21:49:20 +01:00
Tom Hughes
81f5c72c76
Merge branch 'master' into openid
2010-06-27 16:29:18 +01:00
Tom Hughes
68368118a6
Add timeout to describe_location and handle exceptions
2010-06-19 07:53:22 +01:00
Ævar Arnfjörð Bjarmason
4806913e18
browse_helper: Correctly link to wiki pages whose keys or values contain spaces
...
The update-wiki-pages script normalizes " " to "_" (since MediaWiki
does it by design), but I didn't normalize it back in the
browse_helper.
Consequently objects with tags like "source=Isle of Man Government
aerial imagery (2001)" were never linked to the wiki correctly.
2010-06-17 13:33:01 +00:00
Tom Hughes
6a3cadb52d
Merge branch 'master' into openid
2010-06-16 21:18:44 +01:00
Dan Karran
af217ca140
More historic and tourist-related icons
2010-06-07 22:43:01 +01:00
Dan Karran
2aae01a590
Add strikethrough style to browser when objects are deleted
2010-06-07 22:43:01 +01:00
Tom Hughes
dc35b597a2
Merge branch 'master' into openid
...
Conflicts:
config/locales/is.yml
2010-06-07 22:24:24 +01:00
Tom Hughes
d516198bbe
Update to rails 2.3.8
...
Update site to use rails 2.3.8 which also allows us to drop the
globalize2 plugin as the core rails i18n code can now do fallback
and pluralization.
2010-05-26 19:54:10 +01:00
Tom Hughes
7b9e852c9d
Merge branch 'master' into openid
2010-05-16 14:49:45 +01:00
Tom Hughes
6e145a2f38
Rename css_class to link_class for consistency
2010-05-16 12:57:00 +01:00
Tom Hughes
6d3aa7386b
Only include tags which affect the icon in the link title
2010-05-16 12:55:10 +01:00
Dan Karran
10dca1b6df
Patch from bug #2787 to add icons to data browser pages
2010-05-16 12:12:59 +01:00
Tom Hughes
9b8e28f24b
Rework the login method to make it a bit clearer
2010-05-10 14:21:28 +01:00
Tom Hughes
a53c7bf623
Rework the signup page
2010-05-09 17:03:51 +01:00
Tom Hughes
59a6b1973b
Rework the login page to make it a bit cleaner
2010-05-09 15:33:35 +01:00
Tom Hughes
ebd109c946
Replace openID.js with funky rails generated javascript
2010-05-09 12:25:50 +01:00
Tom Hughes
90d2ed759f
Fix mangling of wikipedia links
...
Bail out straight away if the tag value is a URL rather than waiting
until we have parsed the key as we may change the value in the process
of parsing the key.
2010-04-28 18:48:56 +01:00
Tom Hughes
d2585ea044
Tweak wikipedia links stuff
2010-04-22 10:41:53 +01:00
Ævar Arnfjörð Bjarmason
9bfa6059be
Link to wikipedia articles on wikipedia=* tags
...
The semantics are as documented on
http://wiki.openstreetmap.org/wiki/Key:wikipedia , i.e.:
# English Wikipedia article Foobar
wikipedia=Foobar
# German Wikipedia article Foobar
wikipedia:de=Foobar
wikipedia=de:Foobar
If someone gives a http:// link we just pass it through.
2010-04-21 01:46:50 +00:00
Tom Hughes
546250f60b
Load wiki link data at startup and shorten some file names
2010-04-20 21:05:22 +01:00
Tom Hughes
d6755356e0
Improve the browse helper code use to generate wiki links
2010-04-20 19:04:12 +01:00
Tom Hughes
88aa34f61b
Update wiki link style to use the current default format
2010-04-20 14:21:23 +01:00
Ævar Arnfjörð Bjarmason
8eead8a870
Ticket #2245 : Link from /browse/* pages to the wiki key/value pages
2010-04-20 12:55:14 +00:00
Tom Hughes
94f19ce3b3
Use a better HTML sanitizer that makes sure the HTML is well formed and
...
can add rel="nofollow" to links.
2010-03-06 15:38:13 +00:00
Tom Hughes
3e8d809250
Add user images to diary view.
2010-02-28 00:24:33 +00:00
Tom Hughes
ec172871ae
If Nominatim can't give us a location, just return the coordinates.
2010-02-27 12:58:23 +00:00
Tom Hughes
0b913efd05
Use Nominatim to reverse geocode diary location information and display
...
a friendly human readable location instead of some coordinates.
2010-02-27 12:41:56 +00:00