Re: [galaxy-dev] how to access current user's apikey or History Id

2015-12-28 Thread Martin Čech
Hello Bob,

please see the links that John posted before. They are relevant, especially
this one:

http://dev.list.galaxyproject.org/find-UUID-of-current-history-in-tool-XML-wrapper-td4667113.html

Thank you.
M.

On Mon, Dec 28, 2015 at 8:32 AM  wrote:

> Good morning Martin,
> Then maybe it would be better, and easier?, to pass the History ID to a
> mako file.  Is there a galaxy predefined item for the History ID similar to
> the Dataset_id that can be passed?
> Thanks
> bob
> - Original Message -
> From: Martin Čech 
> To: rbrown1...@comcast.net, galaxy-dev  >
> Sent: Sat, 26 Dec 2015 14:49:31 -0000 (UTC)
> Subject: Re: [galaxy-dev] how to access current user's apikey
> Good morning,
> I hope there is not, because tool should not have access to user's
> credentials.
> If you explain a bit what are you trying to do we can probably be of more
> help.
> Thank you for using Galaxy.
> Martin
>
> On Sat, Dec 26, 2015 at 9:27 AM  wrote:
>
>> Good morning team,
>> Is there a way to access the current user's API Key similar to seeing
>> their email address via a tool's xml parameter "$__user_email__" ?
>> Thanks,
>> Bob
>> ___
>> Please keep all replies on the list by using "reply all"
>> in your mail client.  To manage your subscriptions to this
>> and other Galaxy lists, please use the interface at:
>>   https://lists.galaxyproject.org/
>>
>> To search Galaxy mailing lists use the unified search at:
>>   http://galaxyproject.org/search/mailinglists/
>
>
___
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Re: [galaxy-dev] how to access current user's apikey or History Id

2015-12-28 Thread rbrown1422
Good morning Martin,

Then maybe it would be better, and easier?, to pass the History ID to a mako 
file.  Is there a galaxy predefined item for the History ID similar to the 
Dataset_id that can be passed?

Thanks
bob

- Original Message -From: Martin Čech To: 
rbrown1...@comcast.net, galaxy-dev Sent: 
Sat, 26 Dec 2015 14:49:31 - (UTC)Subject: Re: [galaxy-dev] how to access 
current user's apikey

Good morning,

I hope there is not, because tool should not have access to user's credentials.

If you explain a bit what are you trying to do we can probably be of more help.

Thank you for using Galaxy.



Martin





On Sat, Dec 26, 2015 at 9:27 AM  wrote:

Good morning team,

Is there a way to access the current user's API Key similar to seeing their 
email address via a tool's xml parameter "$__user_email__" ?

Thanks,
Bob
___

Please keep all replies on the list by using "reply all"

in your mail client.  To manage your subscriptions to this

and other Galaxy lists, please use the interface at:

  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:

  http://galaxyproject.org/search/mailinglists/





___
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Re: [galaxy-dev] how to access current user's apikey

2015-12-27 Thread John Chilton
I would review the following threads - they have hacks for doing this
and required warnings:

http://dev.list.galaxyproject.org/find-UUID-of-current-history-in-tool-XML-wrapper-td4667113.html
http://dev.list.galaxyproject.org/Possible-to-pass-hostName-to-a-tool-td4667108.html

-John

On Sun, Dec 27, 2015 at 2:37 PM,   wrote:
> Good morning,
> I am trying to pass this info to by plugin mako that will display an output
> file in their history.   With that info and the history data file location I
> can pass a URL for the file location to the tool in the mako doing the
> display.
> Tools already have access to the user email etc. and the api key is encoded
> so I do not believe any more info is conveyed to the tool than is available
> already.   For example we have a program that calls galaxy with an api key
> to bring up the correct history when they begin.
> thanks
> bob
> - Original Message -
> From: Martin Čech 
> To: rbrown1...@comcast.net, galaxy-dev 
> Sent: Sat, 26 Dec 2015 14:49:31 -0000 (UTC)
> Subject: Re: [galaxy-dev] how to access current user's apikey
> Good morning,
> I hope there is not, because tool should not have access to user's
> credentials.
> If you explain a bit what are you trying to do we can probably be of more
> help.
> Thank you for using Galaxy.
> Martin
>
> On Sat, Dec 26, 2015 at 9:27 AM  wrote:
>>
>> Good morning team,
>> Is there a way to access the current user's API Key similar to seeing
>> their email address via a tool's xml parameter "$__user_email__" ?
>> Thanks,
>> Bob
>>
>> ___
>>
>> Please keep all replies on the list by using "reply all"
>>
>> in your mail client.  To manage your subscriptions to this
>>
>> and other Galaxy lists, please use the interface at:
>>
>>   https://lists.galaxyproject.org/
>>
>> To search Galaxy mailing lists use the unified search at:
>>
>>   http://galaxyproject.org/search/mailinglists/
>
>
> ___
> Please keep all replies on the list by using "reply all"
> in your mail client.  To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
>   https://lists.galaxyproject.org/
>
> To search Galaxy mailing lists use the unified search at:
>   http://galaxyproject.org/search/mailinglists/
___
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Re: [galaxy-dev] how to access current user's apikey

2015-12-27 Thread rbrown1422
Good morning,
I am trying to pass this info to by plugin mako that will display an output 
file in their history.   With that info and the history data file location I 
can pass a URL for the file location to the tool in the mako doing the display.

Tools already have access to the user email etc. and the api key is encoded so 
I do not believe any more info is conveyed to the tool than is available 
already.   For example we have a program that calls galaxy with an api key to 
bring up the correct history when they begin.

thanks
bob

- Original Message -From: Martin Čech To: 
rbrown1...@comcast.net, galaxy-dev Sent: 
Sat, 26 Dec 2015 14:49:31 - (UTC)Subject: Re: [galaxy-dev] how to access 
current user's apikey

Good morning,

I hope there is not, because tool should not have access to user's credentials.

If you explain a bit what are you trying to do we can probably be of more help.

Thank you for using Galaxy.



Martin





On Sat, Dec 26, 2015 at 9:27 AM  wrote:

Good morning team,

Is there a way to access the current user's API Key similar to seeing their 
email address via a tool's xml parameter "$__user_email__" ?

Thanks,
Bob
___

Please keep all replies on the list by using "reply all"

in your mail client.  To manage your subscriptions to this

and other Galaxy lists, please use the interface at:

  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:

  http://galaxyproject.org/search/mailinglists/





___
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Re: [galaxy-dev] how to access current user's apikey

2015-12-26 Thread Martin Čech
Good morning,

I hope there is not, because tool should not have access to user's
credentials.

If you explain a bit what are you trying to do we can probably be of more
help.

Thank you for using Galaxy.

Martin


On Sat, Dec 26, 2015 at 9:27 AM  wrote:

> Good morning team,
> Is there a way to access the current user's API Key similar to seeing
> their email address via a tool's xml parameter "$__user_email__" ?
> Thanks,
> Bob
> ___
> Please keep all replies on the list by using "reply all"
> in your mail client.  To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
>   https://lists.galaxyproject.org/
>
> To search Galaxy mailing lists use the unified search at:
>   http://galaxyproject.org/search/mailinglists/
___
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

[galaxy-dev] how to access current user's apikey

2015-12-26 Thread rbrown1422
Good morning team,

Is there a way to access the current user's API Key similar to seeing their 
email address via a tool's xml parameter "$__user_email__" ?

Thanks,
Bob___
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/