Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[09:08:59 CDT(-0500)] <jgribonvald> to have an example for the render

[10:50:57 CDT(-0500)] <jwennmacher> jgribonvald: Did you get your attachment portlet working?

[10:51:20 CDT(-0500)] <jgribonvald> yes i see this div in my html

[10:51:50 CDT(-0500)] <jwennmacher> OK so you get the ability to add attachments in the announcement portlet authoring?

[10:52:00 CDT(-0500)] <jgribonvald> <div id="portalContentTopBlock">

[10:52:02 CDT(-0500)] <jgribonvald> <link type="text/css" rel="stylesheet" href="/jasig-widget-portlets/css/alert.css">

[10:52:04 CDT(-0500)] <jgribonvald> <link type="text/css" rel="stylesheet" href="/jasig-widget-portlets/css/tip.css">

[10:52:06 CDT(-0500)] <jgribonvald> <div id="portalTip">

[10:52:08 CDT(-0500)] <jgribonvald> <script type="text/javascript">

[10:52:10 CDT(-0500)] <jgribonvald> <script src="/SimpleContentPortlet/js/fineuploader/fineuploader-3.3.0.js">

[10:52:12 CDT(-0500)] <jgribonvald> <link href="/SimpleContentPortlet/js/fineuploader/fineuploader-3.3.0.css" type="text/css" rel="stylesheet">

[10:52:14 CDT(-0500)] <jgribonvald> <link href="/SimpleContentPortlet/css/attachments.css" type="text/css" rel="stylesheet">

[10:52:16 CDT(-0500)] <jgribonvald> <div id="Pluto_4_u30l1n8_210_attachments">

[10:52:18 CDT(-0500)] <jgribonvald> <script type="text/javascript">

[10:52:20 CDT(-0500)] <jgribonvald> </div>

[10:52:22 CDT(-0500)] <jgribonvald> but under tips portlet

[10:52:24 CDT(-0500)] <jgribonvald> i don't know if this is the right place

[10:52:36 CDT(-0500)] <jgribonvald> and the div <div id="Pluto_4_u30l1n8_210_attachments"> have a disply:none html code

[10:54:22 CDT(-0500)] <jwennmacher> the attachment portlet can go anywhere. We typically put it under the tips in the all-lo-fragment-layout. When it is activated by the announcement portlet it shows up as a modal dialog in the center of the window as I recall.

[10:54:53 CDT(-0500)] <jwennmacher> So you have attachment rendering. Does Announcements activate it and allow you to attach a file?

[10:55:40 CDT(-0500)] <jgribonvald> I wil watch so

[11:12:55 CDT(-0500)] <jwennmacher> EricDalquist: what's the max pool size of your uPortal db connections on your prod servers? Default is 75; I'm suspecting you have more.

[11:13:01 CDT(-0500)] <EricDalquist> no

[11:13:06 CDT(-0500)] <EricDalquist> I think we use that

[11:13:19 CDT(-0500)] <EricDalquist> and honestly I'm not sure I've ever seen more than a dozen in use

[11:14:30 CDT(-0500)] <jwennmacher> hmmm... ok. That's good to know. Do you have a rough idea of how many logins per minute or second you have on your servers in a high traffic period?

[11:14:56 CDT(-0500)] <EricDalquist> hrm

[11:14:59 CDT(-0500)] <EricDalquist> I can look

[11:16:04 CDT(-0500)] <jwennmacher> That would be great. Thanks. I'm helping someone with a load test and I'm curious what might be a reasonable range to target.

[11:17:44 CDT(-0500)] <EricDalquist> yup, I'll get you what I can

[11:17:51 CDT(-0500)] <EricDalquist> I'm taking off on vacation ina bout 5 minutes (smile)

[11:18:42 CDT(-0500)] <jwennmacher> That would be fantastic. Thanks! I hope you have a great vacation. I'm hoping to do so on Thursday or Friday. Go up about 6000 feet in elevation, hopefully 20+ degrees cooler. (smile)

[11:19:07 CDT(-0500)] <EricDalquist> looks like we peaked at the start of class last semester at around 1200 logins / five minutes

[11:19:21 CDT(-0500)] <jwennmacher> distributed over how many servers?

[11:19:25 CDT(-0500)] <EricDalquist> 4

[11:19:47 CDT(-0500)] <EricDalquist> so that is about 1 login / second / server

[11:19:48 CDT(-0500)] <jwennmacher> that's about 1 per second averae

[11:20:17 CDT(-0500)] <EricDalquist> yeah

[11:20:29 CDT(-0500)] <EricDalquist> sadly i have no info on DB pool size at that time

[11:20:35 CDT(-0500)] <EricDalquist> but I jump on via jmx now and then

[11:20:50 CDT(-0500)] <jgribonvald> jwennmacher: when you talk about Announcements portlet, which portlet name is it in default sources ?

[11:20:50 CDT(-0500)] <EricDalquist> and usually the portal pool has about 20 connections or so at the high points

[11:21:40 CDT(-0500)] <EricDalquist> ok

[11:21:42 CDT(-0500)] <EricDalquist> I have to run

[11:21:47 CDT(-0500)] <EricDalquist> see you all next week

[11:22:11 CDT(-0500)] <jwennmacher> Sounds good. I hope you have a safe and fun holiday.

[11:22:18 CDT(-0500)] <jwennmacher> thanks!

[11:22:55 CDT(-0500)] <jwennmacher> https://github.com/Jasig/uPortal/blob/master/uportal-war/src/main/data/default_entities/portlet-definition/attachments.portlet-definition.xml#L25

[11:23:29 CDT(-0500)] <jgribonvald> ok that's for attachment, not announcment

[11:24:34 CDT(-0500)] <jwennmacher> dang! I keep mixing those up in my head. phonetically too close for me (smile)

[11:24:55 CDT(-0500)] <jgribonvald> is the simplecontent ?

[11:26:07 CDT(-0500)] <jwennmacher> no. attachment capability is provided by the simple content portlet. Announcement portlet is the only portlet right now that activates/uses attachments.

[11:26:35 CDT(-0500)] <jgribonvald> ok but where can i see that i can attach something

[11:26:52 CDT(-0500)] <jgribonvald> i don't have box or something else show in my portal

[11:27:07 CDT(-0500)] <jgribonvald> where i can click or drop a file to attach it

[11:27:20 CDT(-0500)] <jgribonvald> or is it something else ?

[11:27:44 CDT(-0500)] <jwennmacher> as an admin you use the announcement portlet to create an announcement. In the announcement you can attach a file.

[11:27:45 CDT(-0500)] <jgribonvald> maybe a link on the doc would be better for me (tongue)

[11:28:46 CDT(-0500)] <jwennmacher> yep we need to improve the docs. I'm not sure what Drew wrote up yet. If you give me a minute I can get a version that has it and I can show you.

[11:31:14 CDT(-0500)] <jwennmacher> I don't see updates on the announcement portlet docs. I guess this is a good time to update them

[11:31:17 CDT(-0500)] <jwennmacher> (smile)

[11:31:48 CDT(-0500)] <jgribonvald> do you have the link ?

[11:32:33 CDT(-0500)] <jwennmacher> not yet. I don't have a running version of a newer code base right now. working on it

[11:33:42 CDT(-0500)] <jgribonvald> ok but it seems that the announcement portlet isn't activated on rel-4-0-patches

[11:33:55 CDT(-0500)] <jgribonvald> so that's why i don't have it...

[11:34:54 CDT(-0500)] <jwennmacher> should be ... let me check

[11:36:25 CDT(-0500)] <jgribonvald> https://github.com/Jasig/uPortal/tree/rel-4-0-patches/uportal-portlets-overlay

[11:36:36 CDT(-0500)] <jgribonvald> there isn't portlet overlay and portlet-definition

[11:36:45 CDT(-0500)] <jgribonvald> for

[11:37:13 CDT(-0500)] <jgribonvald> <modules>

[11:37:15 CDT(-0500)] <jgribonvald> <module>BookmarksPortlet</module>

[11:37:17 CDT(-0500)] <jgribonvald> <module>CalendarPortlet</module>

[11:37:19 CDT(-0500)] <jgribonvald> <module>cas</module>

[11:37:21 CDT(-0500)] <jgribonvald> <module>cas-proxy-test-portlet</module>

[11:37:23 CDT(-0500)] <jgribonvald> <module>email-preview</module>

[11:37:25 CDT(-0500)] <jgribonvald> <module>FunctionalTestsPortlet</module>

[11:37:27 CDT(-0500)] <jgribonvald> <module>jasig-widget-portlets</module>

[11:37:29 CDT(-0500)] <jgribonvald> <module>pluto-testsuite</module>

[11:37:31 CDT(-0500)] <jgribonvald> <module>NewsReaderPortlet</module>

[11:37:33 CDT(-0500)] <jgribonvald> <module>NotificationPortlet</module>

[11:37:35 CDT(-0500)] <jgribonvald> <module>SimpleContentPortlet</module>

[11:37:37 CDT(-0500)] <jgribonvald> <module>WeatherPortlet</module>

[11:37:39 CDT(-0500)] <jgribonvald> <module>WebProxyPortlet</module>

[11:37:41 CDT(-0500)] <jgribonvald> </modules>

[11:37:46 CDT(-0500)] <jwennmacher> ahh. you are right.

[11:38:21 CDT(-0500)] <jwennmacher> I forgot. Announcement isn't included as a bundled portlet yet because I am working on the db init and import process. Once I am done, we'll include it in the bundle

[11:38:32 CDT(-0500)] <jgribonvald> ok

[11:38:56 CDT(-0500)] <jwennmacher> sorry about that. I forget way too many things now days (smile)

[11:39:21 CDT(-0500)] <jwennmacher> So if you add it in yourself you'd be able to do it.

[11:39:23 CDT(-0500)] <jgribonvald> so i understand more why i didn't have it ^^

[11:39:29 CDT(-0500)] <jgribonvald> ok thnks

[11:39:29 CDT(-0500)] <jwennmacher> (smile)

[11:39:31 CDT(-0500)] <jwennmacher> sure

[11:39:48 CDT(-0500)] <jgribonvald> i will check so, thanks for all

[11:40:10 CDT(-0500)] <jwennmacher> you bet

[11:40:34 CDT(-0500)] <jgribonvald> Just one thing in french community we have something simmilar to annoucement portlet, but ...

[11:40:42 CDT(-0500)] <jgribonvald> i will check so

[11:40:47 CDT(-0500)] <jgribonvald> anyway thx

[11:40:54 CDT(-0500)] <jwennmacher> you bet