You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Woonsan Ko (JIRA)" <je...@portals.apache.org> on 2007/07/11 15:11:04 UTC

[jira] Created: (JS2-747) A valve creating template pages when a user logs on first.

A valve creating template pages when a user logs on first.
----------------------------------------------------------

                 Key: JS2-747
                 URL: https://issues.apache.org/jira/browse/JS2-747
             Project: Jetspeed 2
          Issue Type: Improvement
          Components: Profiler
    Affects Versions: 2.1.2
            Reporter: Woonsan Ko
            Priority: Minor
             Fix For: 2.2


Create a valve which creates user's home pages from user template folder (e.g. /_user/template/) when the user does not have home pages and the user logs on first.
This valve should copy pages from template folder as j2-admin does.
This feature could be useful when users are not created only by j2-admin UI.

A similar issue was proposed in the mailing list before. (See http://www.nabble.com/Creating-a-user-in-jetspeed-t3836908.html.)
I searched the JIRA on this issue, but I could not find a patch for this.
So, I'd like to upload my patch.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Resolved: (JS2-747) A valve creating template pages when a user logs on first.

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma resolved JS2-747.
---------------------------

    Resolution: Fixed

Very useful new feature Woonsan, thanks!. 


> A valve creating template pages when a user logs on first.
> ----------------------------------------------------------
>
>                 Key: JS2-747
>                 URL: https://issues.apache.org/jira/browse/JS2-747
>             Project: Jetspeed 2
>          Issue Type: Improvement
>          Components: Profiler
>    Affects Versions: 2.1.2
>            Reporter: Woonsan Ko
>            Assignee: Ate Douma
>            Priority: Minor
>             Fix For: 2.1.2
>
>         Attachments: usertemplates.diff
>
>
> Create a valve which creates user's home pages from user template folder (e.g. /_user/template/) when the user does not have home pages and the user logs on first.
> This valve should copy pages from template folder as j2-admin does.
> This feature could be useful when users are not created only by j2-admin UI.
> A similar issue was proposed in the mailing list before. (See http://www.nabble.com/Creating-a-user-in-jetspeed-t3836908.html.)
> I searched the JIRA on this issue, but I could not find a patch for this.
> So, I'd like to upload my patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Updated: (JS2-747) A valve creating template pages when a user logs on first.

Posted by "Woonsan Ko (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Woonsan Ko updated JS2-747:
---------------------------

    Attachment: usertemplates.diff

Although pages are created by this valve, the page is not refreshed instantly.
So, I made this valve to extend ProfilerValveImpl. 
By doing this, if pages are newly created, this valve called super.invokeNext() and this refreshes the user page instantly.
Also, the template folder could be configured at runtime by setting a request attribute.
To apply this valve, add this valve after profilerValve for jetspeed-pipeline and desktop-pipeline.
Any comment welcomed.

> A valve creating template pages when a user logs on first.
> ----------------------------------------------------------
>
>                 Key: JS2-747
>                 URL: https://issues.apache.org/jira/browse/JS2-747
>             Project: Jetspeed 2
>          Issue Type: Improvement
>          Components: Profiler
>    Affects Versions: 2.1.2
>            Reporter: Woonsan Ko
>            Priority: Minor
>             Fix For: 2.2
>
>         Attachments: usertemplates.diff
>
>
> Create a valve which creates user's home pages from user template folder (e.g. /_user/template/) when the user does not have home pages and the user logs on first.
> This valve should copy pages from template folder as j2-admin does.
> This feature could be useful when users are not created only by j2-admin UI.
> A similar issue was proposed in the mailing list before. (See http://www.nabble.com/Creating-a-user-in-jetspeed-t3836908.html.)
> I searched the JIRA on this issue, but I could not find a patch for this.
> So, I'd like to upload my patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Updated: (JS2-747) A valve creating template pages when a user logs on first.

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma updated JS2-747:
--------------------------

    Fix Version/s:     (was: 2.2)
                   2.1.2

> A valve creating template pages when a user logs on first.
> ----------------------------------------------------------
>
>                 Key: JS2-747
>                 URL: https://issues.apache.org/jira/browse/JS2-747
>             Project: Jetspeed 2
>          Issue Type: Improvement
>          Components: Profiler
>    Affects Versions: 2.1.2
>            Reporter: Woonsan Ko
>            Assignee: Ate Douma
>            Priority: Minor
>             Fix For: 2.1.2
>
>         Attachments: usertemplates.diff
>
>
> Create a valve which creates user's home pages from user template folder (e.g. /_user/template/) when the user does not have home pages and the user logs on first.
> This valve should copy pages from template folder as j2-admin does.
> This feature could be useful when users are not created only by j2-admin UI.
> A similar issue was proposed in the mailing list before. (See http://www.nabble.com/Creating-a-user-in-jetspeed-t3836908.html.)
> I searched the JIRA on this issue, but I could not find a patch for this.
> So, I'd like to upload my patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Assigned: (JS2-747) A valve creating template pages when a user logs on first.

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma reassigned JS2-747:
-----------------------------

    Assignee: Ate Douma

> A valve creating template pages when a user logs on first.
> ----------------------------------------------------------
>
>                 Key: JS2-747
>                 URL: https://issues.apache.org/jira/browse/JS2-747
>             Project: Jetspeed 2
>          Issue Type: Improvement
>          Components: Profiler
>    Affects Versions: 2.1.2
>            Reporter: Woonsan Ko
>            Assignee: Ate Douma
>            Priority: Minor
>             Fix For: 2.1.2
>
>         Attachments: usertemplates.diff
>
>
> Create a valve which creates user's home pages from user template folder (e.g. /_user/template/) when the user does not have home pages and the user logs on first.
> This valve should copy pages from template folder as j2-admin does.
> This feature could be useful when users are not created only by j2-admin UI.
> A similar issue was proposed in the mailing list before. (See http://www.nabble.com/Creating-a-user-in-jetspeed-t3836908.html.)
> I searched the JIRA on this issue, but I could not find a patch for this.
> So, I'd like to upload my patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org