[JBoss JIRA] (GTNPORTAL-3490) [Services Management gadget] Hard-coded English labels
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3490?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-3490:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 3.7.2.Final
3.9.0.Final
Resolution: Done
> [Services Management gadget] Hard-coded English labels
> ------------------------------------------------------
>
> Key: GTNPORTAL-3490
> URL: https://issues.jboss.org/browse/GTNPORTAL-3490
> Project: GateIn Portal
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Internationalization and Localization
> Affects Versions: 3.5.10.Final, 3.7.1.Final
> Reporter: H. Trang Vu
> Assignee: H. Trang Vu
> Fix For: 3.7.2.Final, 3.9.0.Final
>
> Attachments: FR-LargeSize-Methods-Properties.png, FR-Properties.png
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> Steps to reproduce:
> * Login as root
> * Go to Application Registry, add *Services Management* gadget into a category
> * Open Dashboard
> * Add *Services Management* gadget
> * Switch to French.
> * Open the gadget in both normal size and large size
> ** "Methods", "Properties" are still in English.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 3 months
[JBoss JIRA] (GTNPORTAL-3477) Make GadgetImporter throw an exception with a meaningful message
by Vu Viet Phuong (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3477?page=com.atlassian.jira.pl... ]
Vu Viet Phuong reassigned GTNPORTAL-3477:
-----------------------------------------
Assignee: Vu Viet Phuong
> Make GadgetImporter throw an exception with a meaningful message
> ----------------------------------------------------------------
>
> Key: GTNPORTAL-3477
> URL: https://issues.jboss.org/browse/GTNPORTAL-3477
> Project: GateIn Portal
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Reporter: Peter Palaga
> Assignee: Vu Viet Phuong
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> {{GadgetImporter}} throws {{new IOException()}} without message and logs {{"Cannot import gadget " + gadgetURI + " because its data could not be found"}} on the previous line. We should apply both of the following:
> (1) Either throw or log not both
> (2) Throw exceptions with informative messages.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 3 months
[JBoss JIRA] (GTNPORTAL-3499) Result of Rest API contains original host when Gatein runs behind apache server via HTTP protocol
by Tuyen Nguyen The (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3499?focusedWorklogId=12431307&... ]
Tuyen Nguyen The logged work on GTNPORTAL-3499:
-----------------------------------------------
Author: Tuyen Nguyen The
Created on: 08/Jun/14 9:58 PM
Start Date: 08/Jun/14 9:57 PM
Worklog Time Spent: 2 hours
Issue Time Tracking
-------------------
Remaining Estimate: 0 minutes (was: 6 hours)
Time Spent: 2 hours
Worklog Id: (was: 12431307)
> Result of Rest API contains original host when Gatein runs behind apache server via HTTP protocol
> -------------------------------------------------------------------------------------------------
>
> Key: GTNPORTAL-3499
> URL: https://issues.jboss.org/browse/GTNPORTAL-3499
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.5.9.Final
> Reporter: Tran Trung Thanh
> Assignee: Tuyen Nguyen The
> Original Estimate: 6 hours
> Time Spent: 2 hours
> Remaining Estimate: 0 minutes
>
> - Configure eXo Platform with apache 2 via HTTP protocol by following
> http://docs.exoplatform.com/public/topic/PLF40/PLFAdminGuide.Deployment.S...
> - Start Gatein server at localhost:8080
> - Access Gatein service by using address of apache for example example.localhost
> - Login as john
> - Call REST API: http://example.localhost/rest/private/managed-components/mop/usersites/jo...
> -> The result contains the original host
> {noformat}
> {"description":"List of child pages for page 'Tab_Default'","children":[],"operations":[{"operation-name":"read-resource","operation-description":"Lists available pages at a specified address.","link":{"rel":"self","href":"http://localhost:8080/rest/private/managed-components/mop/usersites/john/..."}},{"operation-name":"read-config-as-xml","operation-description":"Reads pages as configuration xml at a specified address.","link":{"rel":"content","href":"http://localhost:8080/rest/private/managed-components/mop/usersites/john/...","type":"application/xml"}},{"operation-name":"export-resource","operation-description":"Exports pages configuration xml as a zip file.","link":{"rel":"content","href":"http://localhost:8080/rest/private/managed-components/mop/usersites/john/...","type":"application/zip","method":"get"}}]}
> {noformat}
> Note that: No problem when configuring apache front-end with ajp.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 3 months
[JBoss JIRA] (GTNPORTAL-3499) Result of Rest API contains original host when Gatein runs behind apache server via HTTP protocol
by Tuyen Nguyen The (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3499?page=com.atlassian.jira.pl... ]
Tuyen Nguyen The commented on GTNPORTAL-3499:
---------------------------------------------
This is caused by apache 2 configuration, apache proxy will pass the Host is the hostname specified in the ProxyPass line by default.
When i configure apache proxy follow the guideline at http://docs.exoplatform.com/public/index.jsp?topic=%2FPLF40%2FPLFAdminGui...
This method always returns http://localhost:8080/...
{code}
HttpServletRequest#getRequestURL()
{code}
After i add this configuration to apache proxy:
{code}
ProxyPreserveHost On
{code}
everything become ok.
So, to fix this issue, we have to turn on option ProxyPreserveHost in apache proxy configuration.
> Result of Rest API contains original host when Gatein runs behind apache server via HTTP protocol
> -------------------------------------------------------------------------------------------------
>
> Key: GTNPORTAL-3499
> URL: https://issues.jboss.org/browse/GTNPORTAL-3499
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.5.9.Final
> Reporter: Tran Trung Thanh
> Assignee: Tuyen Nguyen The
> Original Estimate: 6 hours
> Remaining Estimate: 6 hours
>
> - Configure eXo Platform with apache 2 via HTTP protocol by following
> http://docs.exoplatform.com/public/topic/PLF40/PLFAdminGuide.Deployment.S...
> - Start Gatein server at localhost:8080
> - Access Gatein service by using address of apache for example example.localhost
> - Login as john
> - Call REST API: http://example.localhost/rest/private/managed-components/mop/usersites/jo...
> -> The result contains the original host
> {noformat}
> {"description":"List of child pages for page 'Tab_Default'","children":[],"operations":[{"operation-name":"read-resource","operation-description":"Lists available pages at a specified address.","link":{"rel":"self","href":"http://localhost:8080/rest/private/managed-components/mop/usersites/john/..."}},{"operation-name":"read-config-as-xml","operation-description":"Reads pages as configuration xml at a specified address.","link":{"rel":"content","href":"http://localhost:8080/rest/private/managed-components/mop/usersites/john/...","type":"application/xml"}},{"operation-name":"export-resource","operation-description":"Exports pages configuration xml as a zip file.","link":{"rel":"content","href":"http://localhost:8080/rest/private/managed-components/mop/usersites/john/...","type":"application/zip","method":"get"}}]}
> {noformat}
> Note that: No problem when configuring apache front-end with ajp.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 3 months
[JBoss JIRA] (GTNPORTAL-3491) [Gadget] Hard-coded English labels in Title and Field Name
by Tuyen Nguyen The (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3491?focusedWorklogId=12431306&... ]
Tuyen Nguyen The logged work on GTNPORTAL-3491:
-----------------------------------------------
Author: Tuyen Nguyen The
Created on: 08/Jun/14 9:32 PM
Start Date: 05/Jun/14 9:32 PM
Worklog Time Spent: 6 hours
Issue Time Tracking
-------------------
Remaining Estimate: 0 minutes (was: 4 hours)
Time Spent: 6 hours
Worklog Id: (was: 12431306)
> [Gadget] Hard-coded English labels in Title and Field Name
> ----------------------------------------------------------
>
> Key: GTNPORTAL-3491
> URL: https://issues.jboss.org/browse/GTNPORTAL-3491
> Project: GateIn Portal
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Internationalization and Localization
> Affects Versions: 3.5.10.Final, 3.7.1.Final
> Reporter: H. Trang Vu
> Assignee: Tuyen Nguyen The
> Attachments: VI-Title-FieldName.png
>
> Original Estimate: 4 hours
> Time Spent: 6 hours
> Remaining Estimate: 0 minutes
>
> Steps to reproduce:
> * Login as root
> * Go to Application Registry, add *Services Management* gadget into a category
> * Switch to Vietnamese
> * Open Dashboard
> * Add *Services Management* gadget
> * The gadget title is always in English
> * Click pencil icon to edit gadget setting
> ** "Services URL" is always in English
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 3 months
[JBoss JIRA] (GTNPORTAL-1805) add ability to send email on registration and x successive failures
by László van den Hoek (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-1805?page=com.atlassian.jira.pl... ]
László van den Hoek commented on GTNPORTAL-1805:
------------------------------------------------
Does WCI cover the REST API ({{/portal/rest/sso/authcallback/auth/_username_/_password_}})? I've looked at http://anonsvn.jboss.org/repos/gatein/components/wci/trunk/wci/src/main/d... but it seems to me the answer is "no". So, in order to count calls to aforementioned REST URL where the return value is {{false}}, it seems to me {{UserDaoImpl.authenticate(username, password)}} would be the best place to register failed login attempts, much in the same way that {{User.setLastLoginTime(_now_)}} is called after succesful authentication.
You could then expand {{org.exoplatform.services.organization.UserEventListener}} with the methods {{preAuthenticate(User user)}} and {{postAuthenticate(User user, boolean success}}, and trigger these at the start and end of {{authenticate}}. Then you could do any logic like sending mail or blocking the user in the listener, and developers would be able to easily extend this functionality.
> add ability to send email on registration and x successive failures
> -------------------------------------------------------------------
>
> Key: GTNPORTAL-1805
> URL: https://issues.jboss.org/browse/GTNPORTAL-1805
> Project: GateIn Portal
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Identity integration
> Reporter: Prabhat Jha
> Assignee: Marek Posolda
> Priority: Optional
> Fix For: 3.9.0.Final
>
> Attachments: README.txt, sendMailAfterInvalidLoginPatch.txt, sendMailAfterRegistrationPatch.txt
>
>
> Please attach the patch based on your work at https://issues.jboss.org/browse/JBQA-4122. By default the feature should be turned off.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 3 months