Grant Slater
65b2b22729
Potlatch 2 compiled with Flex 4.5 requires Flash 10.2.0 or above
2012-03-21 09:01:59 +00:00
Tom Hughes
d0980087d1
Don't display Markdown help when editing an old diary entry
2012-03-17 16:37:22 +00:00
Tom Hughes
6039aac76e
Link to the Markdown spec
2012-03-17 16:36:59 +00:00
Tom Hughes
561f2f694a
Add preview functionality to rich text controls
2012-03-17 16:36:57 +00:00
Tom Hughes
770a990ed9
It's zoomToExtent, not setExtent
2012-03-15 17:01:16 +00:00
Tom Hughes
2c397321c9
Refactor calculation of zoom level based on a scale
2012-03-14 19:12:32 +00:00
Tom MacWright
701325e9ef
Change abstraction level for map functions
...
This commit should have no functional affect. It just changes the
abstraction level of OpenLayers from completely abstracting away
getMapExtent etc, to using OpenLayers's functionality directly but
providing proj and unproj to make projections palatable.
2012-03-14 19:01:45 +00:00
Tom MacWright
d13f0b7088
Remove dead code
2012-03-13 08:46:58 +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
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
6fbdf8cca3
Tell OpenLayers when we have resized the map
2012-01-02 17:10:06 +00:00
Tom Hughes
6e508a7b70
Get the print stylesheet working again
2011-12-08 00:28:08 +00:00
Tom Hughes
e484b6894c
Fix HTML escaping issues on the copyright page
2011-12-02 16:59:30 +00:00
Tom Hughes
9afbaf1984
Avoid having to condition on mobile mode
2011-11-26 18:12:58 +00:00
Dan Karran
080d347d8f
Mobile layout improvements
...
Make the map fill the available space on smaller screens, and
style the search results sidebar a bit better when ?query= is
added to the URL to trigger the search.
2011-11-26 17:38:00 +00:00
Tom Hughes
a693fc9a3c
When asked to edit an object centre on the correct location
2011-11-26 16:39:52 +00:00
Tom Hughes
13289d4041
Switch from Prototype to jQuery
2011-11-26 00:22:31 +00:00
Tom Hughes
716262f211
Serve OpenLayers through the asset pipeline
2011-11-25 20:07:50 +00:00
Matt Amos
4259ca6572
Always update perma and shortlinks, keeping layers
2011-11-25 15:22:32 +00:00
Tom Hughes
54a5d04782
Don't escape links in "flash required" message
2011-11-24 22:24:45 +00:00
Tom Hughes
0033fcbf12
Don't escape HTML in the message shown to anonymous users
2011-11-22 22:53:31 +00:00
Tom Hughes
1f383dcbd7
Serve swfobject via the assets pipeline
2011-11-14 09:42:56 +00:00
Tom Hughes
35e60d4d7b
Avoid empty content_for blocks as they trigger warnings
2011-11-14 09:42:45 +00:00
Tom Hughes
7901815718
Use symbols consistently for names of content blocks
2011-11-14 09:42:43 +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
7b37f4cb62
Use link_to and form_tag instead of link_to_remote and form_remote_tag
2011-11-14 09:42:40 +00:00
Tom Hughes
e1213a4651
Use Rails.xxx instead of RAILS_XXX
2011-11-14 09:42:40 +00:00
Tom Hughes
afb4fedbd7
Bounds should be treated as floating point
2011-10-31 10:08:49 +00:00
Tom Hughes
bed2405973
Fix some XSS issues
2011-10-30 17:23:39 +00:00
Grant Slater
1a8b39a547
Add an inner div for the plugin as swfobject will replace it
2011-10-06 08:35:28 +01:00
Grant Slater
a333712ad7
Replace swfobject 1.5 with swfobject 2
2011-10-06 00:52:12 +01:00
Grant Slater
66588f6cf1
Flash 10 is now required
2011-10-01 10:48:27 +01:00
Tom Hughes
f242c9de94
Add edit links to data browser pages
2011-07-19 22:48:29 +01:00
Tom Hughes
936a005f9f
Implement a generic system for updating coordinates on links
2011-07-19 11:05:06 +01:00
Grant Slater
1f2545ea90
Show the Potlatch 2 help the first time a user starts it
2011-07-08 18:45:40 +01:00
Tom Hughes
7e4ceec192
Wait for dom:loaded to fire before initialising the map
...
Also very all our use of window.onload and switch to using dom:loaded
instead where we can - the main case where we can't is when using a
vector layer as IE will fail unless the page is completely loaded.
2011-07-07 10:02:42 +01:00
Tom Hughes
599843c72d
Fix resizing of the map area in RTL layouts
2011-07-02 16:19:47 +01:00
Tom Hughes
aca299ecee
Move more styling into CSS and make it support RTL layout
2011-07-02 11:22:19 +01:00
Tom Hughes
d075fc4c1f
Lots more work on making RTL layout work
2011-07-02 01:00:51 +01:00
Tom Hughes
2bd592498f
Don't try and update the session when we have no database
2011-06-23 14:15:55 +01:00
Tom Hughes
7014cdb32c
Only add bbox data to the search form while we submit it
...
Having the bbox attributes on the search form all the time means
that Firefox will incude them in the arguments if you bookmark the
search using "Add a keyword for this search" on the context menu.
2011-05-22 11:10:28 +01:00
Tom Hughes
9f0cc74832
Make Potlatch 2 default to the en locale if there is nothing better
2011-04-06 21:42:03 +01:00
Tom Hughes
5f7855fa4d
Tell Potlatch 2 which locale to use
2011-04-06 21:22:47 +01:00
Tom Hughes
cb6d6c2463
Report a friendly(ish) error if no OAauth key is set for Potlatch 2
2011-04-03 15:40:05 +01:00
Tom Hughes
65be0e3158
Escape remote control failed message
2011-01-16 17:12:47 +00:00
Tom Hughes
7d900f15dc
Use the normal rails asset tagging mechanisms for the SWF files
2011-01-14 22:51:02 +00:00
Tom Hughes
60cdce60b5
Don't look any further for a location if we are given a bounding box
2010-12-22 00:39:12 +00:00
Andy Allan
237394bc39
Change the home zoom level to 15
2010-12-21 17:26:03 +00:00
Andy Allan
0aec1c5fa0
Use a list for the main menu, rather than br-separated links
2010-12-20 18:22:33 +00:00