uPortal IRC Logs-2011-07-14
[09:19:48 CDT(-0500)] <EricDalquist> athena: have you tried the google gadgets portlet recently?
[09:20:03 CDT(-0500)] <athena> not in the last couple weeks probably
[09:20:06 CDT(-0500)] <athena> is it misbehaving?
[09:23:47 CDT(-0500)] <EricDalquist> I can't get the config mode working
[09:23:53 CDT(-0500)] <EricDalquist> I'll look into that this morning
[09:24:05 CDT(-0500)] <EricDalquist> trying to get andrew's google spreadsheet form for registration setup
[09:24:13 CDT(-0500)] <EricDalquist> figured I'd try using a gadget instead of an iframe
[09:28:52 CDT(-0500)] <athena> ah, ok
[09:29:04 CDT(-0500)] <athena> i think at the time config mode wasn't working on a bunch of things, so i had no way to test it
[09:29:19 CDT(-0500)] <athena> though i have tested importing in a portlet doc that's preconfigured
[09:29:32 CDT(-0500)] <EricDalquist> ah
[09:29:33 CDT(-0500)] <EricDalquist> ok
[09:29:57 CDT(-0500)] <athena> sample file: http://pastebin.com/qpUf1Apr
[09:30:04 CDT(-0500)] <athena> for a very silly penguin-poking gadget
[09:30:11 CDT(-0500)] <athena> which is more fun than i would have predicted
[09:30:16 CDT(-0500)] <EricDalquist> thanks
[09:30:17 CDT(-0500)] <EricDalquist> lol
[11:50:56 CDT(-0500)] <EricDalquist> athena: any quick tip for the best way to check if a user has permission to render a portlet?
[11:51:22 CDT(-0500)] <EricDalquist> I'm assuming that's the permission I should check when sending out the global search event
[13:00:54 CDT(-0500)] <EricDalquist> yay!
[13:01:03 CDT(-0500)] <EricDalquist> search returns multiple results correctly!
[13:07:32 CDT(-0500)] <athena> YAY
[13:07:41 CDT(-0500)] <athena> and i'm just testing my little portal registry search service
[13:07:50 CDT(-0500)] <athena> might be interesting to find a way to merge those results in w/ those of the simple content portlet
[13:07:57 CDT(-0500)] <EricDalquist> added a flag in portlet.xml
[13:08:06 CDT(-0500)] <EricDalquist> where a portlet can specific event QNames that are "global"
[13:08:12 CDT(-0500)] <EricDalquist> and sent to all portlets
[13:08:16 CDT(-0500)] <EricDalquist> oh
[13:08:18 CDT(-0500)] <EricDalquist> so permissions
[13:08:31 CDT(-0500)] <EricDalquist> I haven't really written permissions code in a long time
[13:08:43 CDT(-0500)] <EricDalquist> any tips on doing checks in the event distribution code
[13:08:55 CDT(-0500)] <EricDalquist> so that events are only sent to portlets that the user has permission to render?
[13:11:14 CDT(-0500)] <EricDalquist> oi
[13:11:25 CDT(-0500)] <EricDalquist> eventually this eventing code is going to need some performance work
[13:11:32 CDT(-0500)] <EricDalquist> even after doing a few searches
[13:11:49 CDT(-0500)] <EricDalquist> the whole process is taking ~ 1.6 seconds
[13:12:07 CDT(-0500)] <EricDalquist> lots of little things in pluto that need tweaking
[13:12:14 CDT(-0500)] <EricDalquist> and lots of little things in uPortal that can be cached
[13:21:02 CDT(-0500)] <athena> yeah, i'm sure it'll take some time to work out
[13:21:13 CDT(-0500)] <athena> so about permissions
[13:21:21 CDT(-0500)] <athena> take a look at one fo the REST services -t hat's probably a good example
[13:21:49 CDT(-0500)] <EricDalquist> if (ap.canRender(portletDefinitionId.getStringId())) {
[13:21:54 CDT(-0500)] <EricDalquist> that's what I've figured
[13:22:01 CDT(-0500)] <athena> yep!
[13:22:03 CDT(-0500)] <EricDalquist> I figure we want canRender for search results instead of canSubscribe?
[13:22:06 CDT(-0500)] <athena> that should work too
[13:22:12 CDT(-0500)] <athena> i think they're actually both the same
[13:22:19 CDT(-0500)] <athena> think that permission got collapsed quite some time ago
[13:22:19 CDT(-0500)] <EricDalquist> ah ok
[13:22:27 CDT(-0500)] <athena> but yeah, canRender
[13:22:36 CDT(-0500)] <EricDalquist> cool
[13:22:42 CDT(-0500)] <EricDalquist> I'm really excited that this is actually working
[13:22:48 CDT(-0500)] <athena> me too!
[13:22:50 CDT(-0500)] <athena> totally awesome
[13:22:58 CDT(-0500)] <EricDalquist> realized part if the slowness
[13:23:08 CDT(-0500)] <EricDalquist> events use jaxb for translation
[13:23:24 CDT(-0500)] <EricDalquist> and pluto creates a new JaxbContext every time it needs to translate
[13:25:10 CDT(-0500)] <athena> oh, lol
[13:25:13 CDT(-0500)] <athena> can we just have it reuse one?
[13:25:18 CDT(-0500)] <EricDalquist> yeah
[13:25:22 CDT(-0500)] <EricDalquist> that will take a little work
[13:25:26 CDT(-0500)] <EricDalquist> but they are thread safe
[13:25:31 CDT(-0500)] <athena> that's good at least
[13:25:33 CDT(-0500)] <EricDalquist> and we should just create the context when the portlet inits
[13:25:41 CDT(-0500)] <athena> just more stuff to do
[13:25:45 CDT(-0500)] <EricDalquist> but that's low priority
[13:25:48 CDT(-0500)] <EricDalquist> cause it does work
[13:25:58 CDT(-0500)] <EricDalquist> and I doubt we'll have huge event loads day 1 for deployers
[13:28:14 CDT(-0500)] <athena> yeah
[13:28:27 CDT(-0500)] <athena> ok, portlet registry search works
[13:28:33 CDT(-0500)] <EricDalquist> great
[13:28:41 CDT(-0500)] <EricDalquist> I'll have this search stuff comitted in a few minutes
[13:28:45 CDT(-0500)] <EricDalquist> just testing authz checks now
[13:30:06 CDT(-0500)] <athena> awesome
[13:30:13 CDT(-0500)] <athena> not sure what to do about max vs. detached mode
[13:30:22 CDT(-0500)] <EricDalquist> the portletConfig.getName needs work too
[13:30:31 CDT(-0500)] <EricDalquist> right now it returns the name from portlet.xml
[13:30:40 CDT(-0500)] <EricDalquist> but after the RC I'll get that fixed
[13:30:46 CDT(-0500)] <EricDalquist> to return the publish name
[13:30:57 CDT(-0500)] <athena> ah
[13:31:01 CDT(-0500)] <athena> soundsn good
[13:31:22 CDT(-0500)] <EricDalquist> so when you search right now get a big list where each title is "cms"
[13:33:25 CDT(-0500)] <athena> yeah
[13:37:11 CDT(-0500)] <athena> so i have a largely-working group store implementation for Kuali KIM
[13:37:32 CDT(-0500)] <athena> needs some work still, but actually seems like some of the hiccups might be either with the data i'm looking at or might be on the other end of the SOAP service
[13:37:42 CDT(-0500)] <athena> need to figure out the best way to package it up
[13:38:03 CDT(-0500)] <EricDalquist> neat
[13:38:11 CDT(-0500)] <athena> ohoh, also for the release we need to update to the latest news reader portlet
[13:38:17 CDT(-0500)] <EricDalquist> it works ok with xalan & xerces exclided?
[13:38:17 CDT(-0500)] <athena> cut a release yesterday
[13:38:21 CDT(-0500)] <EricDalquist> oh ok
[13:38:21 CDT(-0500)] <athena> yep!
[13:38:27 CDT(-0500)] <athena> and looks like we should upgrade the web proxy portlet as well
[13:38:33 CDT(-0500)] <athena> several bug fix versions behind
[13:38:40 CDT(-0500)] <athena> wnat me to update both those now?
[13:38:47 CDT(-0500)] <EricDalquist> yes
[13:38:51 CDT(-0500)] <EricDalquist> that would be great
[13:39:24 CDT(-0500)] <athena> sure thing
[13:39:30 CDT(-0500)] <athena> will check in this stuff and the version updates
[13:39:34 CDT(-0500)] <athena> then headed back to the airport
[13:39:40 CDT(-0500)] <EricDalquist> sounds good
[13:39:43 CDT(-0500)] <EricDalquist> heading home today?
[13:39:47 CDT(-0500)] <athena> yeah
[13:39:57 CDT(-0500)] <athena> gotta drive a few hours back to cincinnatti, then home
[13:40:05 CDT(-0500)] <EricDalquist> ouch
[13:40:15 CDT(-0500)] <EricDalquist> where are you right now?
[13:46:19 CDT(-0500)] <athena> bloomington, in
[13:46:24 CDT(-0500)] <athena> at university of indiana
[13:46:37 CDT(-0500)] <athena> i could have flown into indianapolis but all the connections were really bad and i still would have had to drive an hour
[13:46:44 CDT(-0500)] <athena> so figured i'd take the direct flight to CVG
[13:46:45 CDT(-0500)] <EricDalquist> ah
[13:46:50 CDT(-0500)] <athena> going to make for a really long day though
[13:46:54 CDT(-0500)] <athena> so uhh, i probably won't be around much tomorrow
[13:47:03 CDT(-0500)] <athena> but i'll log in for a bit and see if there's anything i need to do
[13:47:08 CDT(-0500)] <athena> let me know if there's anything you need help on
[13:47:19 CDT(-0500)] <athena> and particularly let me know if you find any issues w/ the new news reader portlet version
[13:47:31 CDT(-0500)] <EricDalquist> sounds good
[13:47:31 CDT(-0500)] <EricDalquist> thanks
[13:47:43 CDT(-0500)] <athena>
[13:47:48 CDT(-0500)] <athena> excited for all the search stuff
[13:47:50 CDT(-0500)] <athena> should be super cool!
[13:48:25 CDT(-0500)] <athena> you going to cut a new RC of the content portlet for this up release?
[13:48:46 CDT(-0500)] <EricDalquist> yes
[13:48:55 CDT(-0500)] <EricDalquist> probably do that right now
[13:49:07 CDT(-0500)] <EricDalquist> just committed the framework search stuff
[13:49:18 CDT(-0500)] <athena> awesome
[13:49:27 CDT(-0500)] <athena> looks like the mobile search JSP is broken - will fix quickly
[13:49:48 CDT(-0500)] <EricDalquist> oh crap
[13:49:49 CDT(-0500)] <EricDalquist> yeah
[13:49:55 CDT(-0500)] <EricDalquist> forgot to update for the new data model
[13:50:03 CDT(-0500)] <EricDalquist> there was potential problem with concurrent searches
[13:50:56 CDT(-0500)] <athena> yeah no worries
[13:51:40 CDT(-0500)] <athena> hmm
[13:51:42 CDT(-0500)] <EricDalquist> this eventing stuff is going to be fun
[13:51:59 CDT(-0500)] <athena> tomcat instance misbehaving
[13:52:00 CDT(-0500)] <EricDalquist> just committed the text-only content preview for the cms portlet too
[13:52:26 CDT(-0500)] <athena> awesome
[13:52:28 CDT(-0500)] <athena> that's very cool
[13:52:33 CDT(-0500)] <EricDalquist> yeah
[13:52:36 CDT(-0500)] <EricDalquist> looks a lot better
[13:52:42 CDT(-0500)] <athena> yay!
[13:52:44 CDT(-0500)] <EricDalquist> once we get real titles showing it will be really good
[13:52:54 CDT(-0500)] <EricDalquist> and very easy for any portlet to participate in portal wide searching
[13:53:20 CDT(-0500)] <EricDalquist> so any other cms changes or should I do that release now?
[13:53:39 CDT(-0500)] <athena> maybe just take a quick look through JIRA and see if there's any low-hanging fruit?
[13:53:42 CDT(-0500)] <EricDalquist> oh and did you ever cut a new jasig parent pom?
[13:53:43 CDT(-0500)] <EricDalquist> sure
[13:53:46 CDT(-0500)] <athena> think there's a JIRA for just updating the ckeditor version
[13:53:59 CDT(-0500)] <athena> but i have no objection to just releasing and doing a release again in a bit
[13:54:08 CDT(-0500)] <EricDalquist> ok
[13:54:18 CDT(-0500)] <athena> no, i just did a deploy, not a release
[13:54:19 CDT(-0500)] <athena> so that might be a good idea
[13:54:26 CDT(-0500)] <EricDalquist> ok
[13:54:27 CDT(-0500)] <EricDalquist> I'll do that
[13:54:35 CDT(-0500)] <EricDalquist> and update parent poms in projects as I touch them
[13:54:43 CDT(-0500)] <EricDalquist> so we can fix that legal plugin check
[13:59:06 CDT(-0500)] <athena> ok, fixes in
[13:59:11 CDT(-0500)] <EricDalquist> great
[13:59:13 CDT(-0500)] <athena> going to get coffee and drive
[13:59:17 CDT(-0500)] <athena> hope you have a good afternoon!
[13:59:22 CDT(-0500)] <EricDalquist> you too
[13:59:23 CDT(-0500)] <EricDalquist> oh
[13:59:26 CDT(-0500)] <athena> may be on periodically from airport/plane
[13:59:31 CDT(-0500)] <EricDalquist> any objections to calling the next cms releaase 1.0.0?
[13:59:45 CDT(-0500)] <athena> nope
[13:59:47 CDT(-0500)] <athena> go for it
[13:59:49 CDT(-0500)] <EricDalquist> ok
[14:00:07 CDT(-0500)] <athena> adios
[14:00:16 CDT(-0500)] <EricDalquist> have a good drive & flight
[14:01:49 CDT(-0500)] <athena> thanks!