[jira] [Commented] (AIRAVATA-1902) PGA Project should have restrictions when naming. Project name is used to create the directories in storage.

2017-08-09 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AIRAVATA-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16120028#comment-16120028
 ] 

ASF subversion and git services commented on AIRAVATA-1902:
---

Commit ebaad45b4f6f04944db115ecc5cf3450a9120490 in airavata-php-gateway's 
branch refs/heads/dreg-gateway from [~marcuschristie]
[ https://git-wip-us.apache.org/repos/asf?p=airavata-php-gateway.git;h=ebaad45 ]

AIRAVATA-1902 Escaping project id, name, etc.


> PGA Project should have restrictions when naming. Project name is used to 
> create the directories in storage.
> 
>
> Key: AIRAVATA-1902
> URL: https://issues.apache.org/jira/browse/AIRAVATA-1902
> Project: Airavata
>  Issue Type: Bug
>  Components: PGA PHP Web Gateway
>Affects Versions: 0.16
> Environment: dev.seagrid.org
>Reporter: Eroma
>Assignee: Marcus Christie
> Fix For: 0.18
>
> Attachments: Screen Shot 2016-10-24 at 10.35.44 AM.png, Screen Shot 
> 2.png
>
>
> Currently can provide any character when creating the project in PGA. With 
> storage, a directory is creating under each gateway users name using the 
> project name and all experiments under the specific project will be grouped 
> in to the project directory in storage.
> Since name can't contain special characters when creating the directory in 
> server; project names  are automatically altered
> E.g.: Project name in PGA: 03/14/2016 is converted to 03_14_2016 in storage. 
> This way users will not be able to search for their projects in storage.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (AIRAVATA-1902) PGA Project should have restrictions when naming. Project name is used to create the directories in storage.

2017-08-03 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AIRAVATA-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16113090#comment-16113090
 ] 

ASF subversion and git services commented on AIRAVATA-1902:
---

Commit ebaad45b4f6f04944db115ecc5cf3450a9120490 in airavata-php-gateway's 
branch refs/heads/master from [~marcuschristie]
[ https://git-wip-us.apache.org/repos/asf?p=airavata-php-gateway.git;h=ebaad45 ]

AIRAVATA-1902 Escaping project id, name, etc.


> PGA Project should have restrictions when naming. Project name is used to 
> create the directories in storage.
> 
>
> Key: AIRAVATA-1902
> URL: https://issues.apache.org/jira/browse/AIRAVATA-1902
> Project: Airavata
>  Issue Type: Bug
>  Components: PGA PHP Web Gateway
>Affects Versions: 0.16
> Environment: dev.seagrid.org
>Reporter: Eroma
>Assignee: Marcus Christie
> Fix For: 0.18
>
> Attachments: Screen Shot 2016-10-24 at 10.35.44 AM.png, Screen Shot 
> 2.png
>
>
> Currently can provide any character when creating the project in PGA. With 
> storage, a directory is creating under each gateway users name using the 
> project name and all experiments under the specific project will be grouped 
> in to the project directory in storage.
> Since name can't contain special characters when creating the directory in 
> server; project names  are automatically altered
> E.g.: Project name in PGA: 03/14/2016 is converted to 03_14_2016 in storage. 
> This way users will not be able to search for their projects in storage.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (AIRAVATA-1902) PGA Project should have restrictions when naming. Project name is used to create the directories in storage.

2017-08-01 Thread Marcus Christie (JIRA)

[ 
https://issues.apache.org/jira/browse/AIRAVATA-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16109095#comment-16109095
 ] 

Marcus Christie commented on AIRAVATA-1902:
---

I'm deploying a fix to dev scigap environment now.

I tested with the following as a project id/name/description to test escaping 
HTML and handling single and double quotes:
{noformat}
!@#$%^&*()"'_+=-0987654321test
{noformat}


> PGA Project should have restrictions when naming. Project name is used to 
> create the directories in storage.
> 
>
> Key: AIRAVATA-1902
> URL: https://issues.apache.org/jira/browse/AIRAVATA-1902
> Project: Airavata
>  Issue Type: Bug
>  Components: PGA PHP Web Gateway
>Affects Versions: 0.16
> Environment: dev.seagrid.org
>Reporter: Eroma
>Assignee: Marcus Christie
> Fix For: 0.18
>
> Attachments: Screen Shot 2016-10-24 at 10.35.44 AM.png, Screen Shot 
> 2.png
>
>
> Currently can provide any character when creating the project in PGA. With 
> storage, a directory is creating under each gateway users name using the 
> project name and all experiments under the specific project will be grouped 
> in to the project directory in storage.
> Since name can't contain special characters when creating the directory in 
> server; project names  are automatically altered
> E.g.: Project name in PGA: 03/14/2016 is converted to 03_14_2016 in storage. 
> This way users will not be able to search for their projects in storage.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (AIRAVATA-1902) PGA Project should have restrictions when naming. Project name is used to create the directories in storage.

2017-08-01 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/AIRAVATA-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16109077#comment-16109077
 ] 

ASF subversion and git services commented on AIRAVATA-1902:
---

Commit ebaad45b4f6f04944db115ecc5cf3450a9120490 in airavata-php-gateway's 
branch refs/heads/develop from [~marcuschristie]
[ https://git-wip-us.apache.org/repos/asf?p=airavata-php-gateway.git;h=ebaad45 ]

AIRAVATA-1902 Escaping project id, name, etc.


> PGA Project should have restrictions when naming. Project name is used to 
> create the directories in storage.
> 
>
> Key: AIRAVATA-1902
> URL: https://issues.apache.org/jira/browse/AIRAVATA-1902
> Project: Airavata
>  Issue Type: Bug
>  Components: PGA PHP Web Gateway
>Affects Versions: 0.16
> Environment: dev.seagrid.org
>Reporter: Eroma
>Assignee: Marcus Christie
> Fix For: 0.18
>
> Attachments: Screen Shot 2016-10-24 at 10.35.44 AM.png, Screen Shot 
> 2.png
>
>
> Currently can provide any character when creating the project in PGA. With 
> storage, a directory is creating under each gateway users name using the 
> project name and all experiments under the specific project will be grouped 
> in to the project directory in storage.
> Since name can't contain special characters when creating the directory in 
> server; project names  are automatically altered
> E.g.: Project name in PGA: 03/14/2016 is converted to 03_14_2016 in storage. 
> This way users will not be able to search for their projects in storage.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (AIRAVATA-1902) PGA Project should have restrictions when naming. Project name is used to create the directories in storage.

2017-07-21 Thread Eroma (JIRA)

[ 
https://issues.apache.org/jira/browse/AIRAVATA-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16096439#comment-16096439
 ] 

Eroma commented on AIRAVATA-1902:
-

gave !@#$%^&*()_+=-0987654321 as the project name and upon saving exception 
thrown:
Error while retrieving the project. More info : Project does not exist in the 
system. Please provide a valid project ID...

But actually the project is saved and available in the projct browse and can 
view the project summary as well. only thing is project ID is;
%21%40%23%24%25%5E%26%2A%28%29_%2B%3D-0987654321_b032dec8-bde4-4364-b8c3-90d96fe9d7fc

> PGA Project should have restrictions when naming. Project name is used to 
> create the directories in storage.
> 
>
> Key: AIRAVATA-1902
> URL: https://issues.apache.org/jira/browse/AIRAVATA-1902
> Project: Airavata
>  Issue Type: Bug
>  Components: PGA PHP Web Gateway
>Affects Versions: 0.16
> Environment: dev.seagrid.org
>Reporter: Eroma
>Assignee: Marcus Christie
> Fix For: 0.18
>
> Attachments: Screen Shot 2016-10-24 at 10.35.44 AM.png
>
>
> Currently can provide any character when creating the project in PGA. With 
> storage, a directory is creating under each gateway users name using the 
> project name and all experiments under the specific project will be grouped 
> in to the project directory in storage.
> Since name can't contain special characters when creating the directory in 
> server; project names  are automatically altered
> E.g.: Project name in PGA: 03/14/2016 is converted to 03_14_2016 in storage. 
> This way users will not be able to search for their projects in storage.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (AIRAVATA-1902) PGA Project should have restrictions when naming. Project name is used to create the directories in storage.

2016-10-24 Thread Eroma (JIRA)

[ 
https://issues.apache.org/jira/browse/AIRAVATA-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15602172#comment-15602172
 ] 

Eroma commented on AIRAVATA-1902:
-

Tested the issue little more in https://dev.seagrid.org;
Characters ar converted as 
1. If its a !/$@ they are converted to underscore (_)
2. If its space it is truncated
3. When given % in middle of the project name at creation and saved gives 
exception attached

> PGA Project should have restrictions when naming. Project name is used to 
> create the directories in storage.
> 
>
> Key: AIRAVATA-1902
> URL: https://issues.apache.org/jira/browse/AIRAVATA-1902
> Project: Airavata
>  Issue Type: Bug
>  Components: PGA PHP Web Gateway
>Affects Versions: 0.16
> Environment: dev.seagrid.org
>Reporter: Eroma
>Assignee: Nipurn Doshi
> Fix For: 0.17-SNAPSHOT
>
>
> Currently can provide any character when creating the project in PGA. With 
> storage, a directory is creating under each gateway users name using the 
> project name and all experiments under the specific project will be grouped 
> in to the project directory in storage.
> Since name can't contain special characters when creating the directory in 
> server; project names  are automatically altered
> E.g.: Project name in PGA: 03/14/2016 is converted to 03_14_2016 in storage. 
> This way users will not be able to search for their projects in storage.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)