Re: [Potlatch-dev] Brokenness on Mac with Flash 10.1

2012-03-26 Thread Tom Hughes

On 26/03/12 08:18, Steve Bennett wrote:


On Mon, Mar 26, 2012 at 5:09 PM, Tom Hughest...@compton.nu  wrote:

Certainly not related because the new version hasn't been deployed on the
main site yet!

It''s only on http://master.apis.dev.openstreetmap.org/ currently.


Ooh, is that new? I've been wishing for a bleeding edge build for a while :)


It's not an automatic bleeding edge P2 build, it's showing the head of 
the master branch in the web site repo.


So last night I added the new P2 to the web site repo but didn't mark it 
as live because I wanted to be up when it went live in case of any problems.


You can see the list of testing sites and what git repo and branch they 
are tracking here:


  http://apis.dev.openstreetmap.org/

So master is track git.osm.org and if you look here:

  http://git.openstreetmap.org/rails.git/

Then you can see where the head is, and where the live tag is that 
controls what is running in production.


Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [Potlatch-dev] Flash Player minimum version

2012-03-21 Thread Tom Hughes

On 21/03/12 15:54, Andy Allan wrote:


Ah, I wish that I'd known this earlier on - both that we had a
mismatch between required versions (i.e. osm.org was requiring 10.1
instead of 10.2, hence the lack of warnings) and also that we were in
the process of changing things around! The training course I was
running earlier on had a bunch of people having major problems with
10.1 not working.


By earlier on do you mean earlier today?

Only we started requiring 10.2 about 9am today and that was only 
reverted back to 10.1 just before 11am when Richard's fixed version of 
Potlatch was deployed.


Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [Potlatch-dev] State of play

2012-03-09 Thread Tom Hughes

On 10/03/12 03:08, Steve Bennett wrote:


One thing I'm not sure about in this whole approach is what you're
supposed to do with the zillions of branches you end up creating.
Assuming that the pull requests all get accepted, am I then supposed
to delete or archive these old branches? Seems like even more
overhead, especially for tiny fixes...


I would just delete them once they aren't needed anymore.


And...now I see bad news in https://github.com/openstreetmap/potlatch2/network
Am I right in saying that systemed is actually *behind* openstreetmap?
So all my new branches are actually not based off the latest master at
all?


Doesn't look that way to me - systemed is about 5 commits ahead.

Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [Potlatch-dev] Certificate expiry

2012-02-19 Thread Tom Hughes

On 19/02/12 19:57, Roger Calvert wrote:


In trying to connect to trac.openstreetmap.org, Firefox tells me This
Connection is Untrusted, the reason being that The certificate expired
on 14/02/2012 23:38. The current time is 19/02/2012 19:53.. Please
could someone renew the certificate to calm Firefox down?


It was renewed on the 14th... My firefox is quite happy with it.

What version of firefox are you using? and why on earth did you choose 
to report the problem to the potlatch-dev list?


Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [Potlatch-dev] Add pt_PT locale support to Potlach2

2011-11-04 Thread Tom Hughes

On 04/11/11 16:33, Pedro Mendes wrote:


How can I help translating Potlach2 to pt_PT locale?

I've been browsing through the GiHub repo and I did find this
https://github.com/gravitystorm/Potlatch2/tree/master/l10n/locale. But
that two files per locale is all there is to assure the app translation?


There are still some bugs that need to be resolved with the basic 
localisation framework before we're ready to start soliciting 
translations I'm afraid.


Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [Potlatch-dev] potlatch2 and 64 bit system

2011-10-28 Thread Tom Hughes

On 28/10/11 09:35, Alexandru wrote:


Well, i've heard that 64 bit flash is still in alfa and that some apps
don't go along too well with it yet. I'm not sure what's the state of it
now. I just want to make sure as i'm going to deploy potlatch2 on a 64
bit system and also going to use it from a 64 bit os. Thanks for your
answer!


Well actually that's not true anymore - with Flash 11 it is no longer in 
beta. But prior to that browsers simply used the 32 bit version anyway.


Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [Potlatch-dev] Can't register potlatch with my OSM server

2011-10-28 Thread Tom Hughes

On 28/10/11 09:47, Alexandru wrote:

Actually i just noticed here
http://wiki.openstreetmap.org/wiki/Potlatch_2/Deploying_Potlatch_2 that
i have to check my settings file to see if potlatch is configured with
my OSM server. But the problem is that i can't find that file
(potlatch2.html)! I have potlatch2 from the official OSM Rails Port.


You are mixing up two completely different sets of instructions...

The page you refer to above is about deploying a instance of Potlatch 2 
on it's own so that it talks to the OSM server (or any other server of 
your choice) while the other page is about deploying the rails port with 
it's own integrated copy of Potlatch 2 that talks to it.


Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [Potlatch-dev] Can't register potlatch with my OSM server

2011-10-28 Thread Tom Hughes

On 28/10/11 09:56, Alexandru wrote:


Oh... so then do i have any changes to make in application.yml file to
make it work with localhost:3000 or is it set that way allready? If yes,
then i'm not sure what to change. These are the contents of that file:


You have to register Potlatch and fill in the key, exactly as the other 
page told you.


Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [Potlatch-dev] Can't register potlatch with my OSM server

2011-10-28 Thread Tom Hughes

On 28/10/11 09:59, Alexandru wrote:


I did that. I just replaced my key with X's. As i said in another
message, potlatch still says that it's not configured when i start it.


Then you didn't restart rails properly, as it hasn't picked up the 
configuration change.


Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [Potlatch-dev] Potlatch 2.3

2011-09-30 Thread Tom Hughes

On 30/09/11 18:29, Richard Fairhurst wrote:
:

* You now need Flex 4.5.x to build
(http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4.5).


If anybody needs an RPM of flex 4.5.1 then I've put one up here:

  http://download.compton.nu/rpms/

There's an installable package built for F15 and the SRPM for rebuilding 
on other distros.


Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [Potlatch-dev] Translating

2011-09-27 Thread Tom Hughes

On 27/09/11 09:37, Kate Chapman wrote:


Which is the best place to do this?

Here in the wiki: http://wiki.openstreetmap.org/wiki/Potlatch2  it
links to TranslateWiki, but the link isn't quite right.  Should it be
done directly in git?


We're not really ready to take translations for P2 yet because we're 
still trying to iron out the bugs in the localisation infrastructure.


Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [Potlatch-dev] Git starter?

2011-08-31 Thread Tom Hughes

On 31/08/11 10:46, Steve Bennett wrote:


I find this bit of using git somewhat deflating. With SVN, I was able
to commit my changes into the repository. Although the changes
weren't immediately in the production release (fortunately), other
developers would immediately see them next time they did an update.
Perhaps it's irrational, but committing to the repository is a lot
more satisfying than publishing to my own private repository and
hoping that someone comes along and takes a look.

Before:
svn commit

After:
git commit
Email list
Andy, Richard, or someone (who are the code reviewers, anyway?)
reviews changes, optionally accepts.


So basically you're complaining that your edits now have to be reviewed 
before they are merged and you can't ram them down people's throats anymore?


There's no need to hope that somebody comes along and takes a look 
though - that's why you send pull requests, whether on github or by 
email. That's you saying hey, I've got something good here I'd like you 
to consider for Potlatch and then your change can be considered for 
inclusion.


Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [Potlatch-dev] Crash with custom vector.xml

2011-03-25 Thread Tom Hughes
On 25/03/11 08:28, NopMap wrote:

 After playing around a bit, I am even more confused what needs to go where.

It's really quite simple to work out, just look at how the files are
laid out in the resources directory of the Potlatch 2 repository:

http://git.openstreetmap.org/potlatch2.git/tree/6780e5bb1115c9697b4a7cb0841f93a2be2d1c1b:/resources

or in the relevant directory of the rails code:

http://git.openstreetmap.org/rails.git/tree/3fbf7891cc83e0786d34e1d127a868ea5eedb595:/public/potlatch2

Tom

-- 
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [Potlatch-dev] Customized version of Potlatch2 : No OSM Data loaded from the Dev Server

2011-03-20 Thread Tom Hughes

On 20/03/11 21:07, Pierre BĂ©land wrote:


While this customized version was working properly with
regular API, there is no OSM Data is loaded for edit from API
http://api06.dev.openstreetmap.org/api/0.6/.


I assume you're looking at an area that actually has some data in the 
test database?


Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [Potlatch-dev] What do the new cycleway values mean?

2011-02-03 Thread Tom Hughes
On 03/02/11 12:27, Steve Bennett wrote:

 Do tell? I'm probably guilty of whatever the crime is. Do you mean
 that the icons just look bad together (all different colours) or that
 they're badly drawn...or what?

Well the Florist icon stands out like a sore thumb to start with - not
only is it a different colour to almost all the other shopping icons
but it is also a completely different shape.

Other issues would be that Pharmacy is a different colour to other icons
in the shopping section and there is no colour consistency at all in the
amenity section.

The weir icon in the water section is once again different to everything
else in it's general style.

The places section has five (yes, five) completely identical icons.

I can also see about five which are just displaying a question mark so
presumably the icon is missing.

You honestly don't really need to be a graphic design genius to see what
most of the problems are...

Tom

-- 
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [Potlatch-dev] Potlatch2 against forked OSM

2011-01-13 Thread Tom Hughes

On 13/01/11 18:44, Eric Wolf wrote:

Is there another config file I'm missing?


No, that's it. But when you registered the application to get that key you
had to enter a URL and I believe that has to match the URL of the page where
the flash applet is for it to work.


Maybe this is where my confusion really is coming from. There seem to
be multiple URLs for getting to Potlatch 2:

http://navigator.er.usgs.gov/potlatch2/potlatch2.swf
http://navigator.er.usgs.gov/potlatch2/potlatch2.html
http://navigator.er.usgs.gov/edit
http://navigator.er.usgs.gov/edit?editor=potlatch2

I have been using the first URL (pointing to the swf file) when I
register the app in the Oauth clients. I can see the tokens getting
issued as the Client Application name appears in the Authorised
Applications complete with a revoke button. But it always fails in
creating a changeset. I keep getting a 404 on the
api/0.6/changeset/create command.


What we use is this:

http://navigator.er.usgs.gov/edit?editor=potlatch2

I suspect that only the base URL matters though and the argument is 
probably not important.


I'm concerned that you get a 404 though... I would expect a 403 or 
something if authorisation is failing.


Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [Potlatch-dev] Setting up Adobe Flex project

2010-12-12 Thread Tom Hughes

On 12/12/10 00:55, Steve Bennett wrote:


Also, since I'm on the topic, to build with ant from the commandline,
I had to add these two lines to the top of build.xml:

   property name=FLEX_HOME value=${env.FLEX_HOME}/
   property name=ASDOC value=${env.ASDOC}/

I'm surprised that it builds for anyone else - or maybe FLEX_HOME gets
directly to ant by the Flex IDE?


You're supposed to copy build.properties.template to build.properties 
and then edit it to fill in the correct values for those properties.


Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev


Re: [Potlatch-dev] Internationalisation

2010-12-03 Thread Tom Hughes
On 03/12/10 08:54, NopMap wrote:

 I believe that this topic should be approached early. It does not only
 concern the texts within P2, but also those used in presets. While creating
 my own spezialized set of presets and style, I noted that some parts are
 currently not easily translated as texts are both used as keys for
 references and shown to the user directly. Getting I18N there will likely
 require a structural change in the presets, so it should best be solved
 before we have too many presets that would need to be changed.

Looking in I18N for it is fairly high on my to do list - it shouldn't be
hard to do as Flex has I18N support built in.

That was for messages builtin to Potlatch though - I hadn't looked at
the question of the presets, which come from an external XML file. I do
have some plans that I'm working on which may help with that though.

Tom

-- 
Tom Hughes (t...@compton.nu)
http://compton.nu/

___
Potlatch-dev mailing list
Potlatch-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/potlatch-dev