uPortal IRC Logs-2011-03-21
[12:26:20 CDT(-0500)] <EricDalquist> ok I think I have the distributed stylesheet user prefs stuff figured out
[12:26:35 CDT(-0500)] <EricDalquist> it loads and maps the user prefs data when the layout is loaded
[12:26:39 CDT(-0500)] <EricDalquist> and caches it with the layout
[12:26:44 CDT(-0500)] <EricDalquist> then we shouldn
[12:26:54 CDT(-0500)] <EricDalquist> 't have the data consistency issues
[12:27:04 CDT(-0500)] <EricDalquist> and avoid the cost of re-loading that data every request
[12:31:14 CDT(-0500)] <athena> oh that's terrific
[12:31:30 CDT(-0500)] <athena> will this help w/ the guest stuff at all or is that a whole separate issue?
[12:31:44 CDT(-0500)] <EricDalquist> yeah it will
[12:31:52 CDT(-0500)] <EricDalquist> this work includes nuking all of the guest specific classes
[12:32:02 CDT(-0500)] <EricDalquist> instead the new stylesheet user preferences service is guest user aware
[12:32:08 CDT(-0500)] <EricDalquist> and behaves like the portlet preferences service
[12:32:27 CDT(-0500)] <EricDalquist> where if it is a guest user writes are never actually written to the persistent store but to the memory store
[12:32:30 CDT(-0500)] <DrewWills> "(10:31:55 AM) EricDalquist: this work includes nuking all of the guest specific classes" yea!
[12:32:38 CDT(-0500)] <EricDalquist> so stuff all appears to work for unauthed users
[12:32:44 CDT(-0500)] <EricDalquist> but nothing is actually persisted for them
[12:34:08 CDT(-0500)] <EricDalquist> also added IUserLayout.getFragmentNames()
[12:34:22 CDT(-0500)] <EricDalquist> so you can see the names of the fragments that have been applied to a user's layout
[12:35:11 CDT(-0500)] <athena> oh that's awesome
[12:35:17 CDT(-0500)] * athena does a happy dance
[12:35:25 CDT(-0500)] * athena attempts not to fall on face
[12:35:36 CDT(-0500)] <EricDalquist> yeah I needed that info to build and cache the composite stylesheet user preferences for a user
[12:35:44 CDT(-0500)] <athena> yeah that's really terrific!
[12:35:50 CDT(-0500)] <EricDalquist> figured it is interesting enough to keep track of that
[12:35:56 CDT(-0500)] <athena> looking forward to the checkin
[12:36:04 CDT(-0500)] <EricDalquist> so now instead of just caching a Document the layout manager caches a little composite object
[12:36:22 CDT(-0500)] <EricDalquist> that holds the layout Dom, Set of fragment names and the structure/theme stylesheet user preferences
[12:36:41 CDT(-0500)] <EricDalquist> AND those composite preferences are using the user's current profile
[12:36:49 CDT(-0500)] <athena> very nice
[12:37:01 CDT(-0500)] <EricDalquist> now to do more testing to see if it all actually works
[12:37:13 CDT(-0500)] <EricDalquist> might actually be able to comit the monstrosity today
[12:37:25 CDT(-0500)] <athena> hurray!
[12:38:01 CDT(-0500)] <EricDalquist> though before I do I wanted to see if I could time the commit such that you'd have some time to help test the mobile stuff
[12:39:35 CDT(-0500)] <athena> well, kris is on a plane to a ship
[12:39:40 CDT(-0500)] <athena> and i don't start class for a week
[12:39:44 CDT(-0500)] <athena> so i've got plenty of time
[12:39:51 CDT(-0500)] <EricDalquist> ok
[12:40:05 CDT(-0500)] <athena> yep! just let me know
[12:40:09 CDT(-0500)] <athena> i figure this should help me out anyway
[12:40:15 CDT(-0500)] <EricDalquist> yeah
[12:49:36 CDT(-0500)] <EricDalquist> yay changing tabs works
[12:51:51 CDT(-0500)] <EricDalquist> maximize works ...
[12:58:45 CDT(-0500)] <athena> nice
[12:59:00 CDT(-0500)] <EricDalquist> changing column width blew up
[12:59:23 CDT(-0500)] <EricDalquist> I had to wrap a few RDBMDistributedLayoutStore methods in a @Transactional
[12:59:45 CDT(-0500)] <EricDalquist> so now I have to find everything that does a cast from IUserLayoutStore to RDBMDistributedLayoutStore and fix it to just use the interface
[12:59:52 CDT(-0500)] <EricDalquist> casting bad!
[13:47:02 CDT(-0500)] <EricDalquist> ok width is working … tab rename working ...
[13:47:06 CDT(-0500)] <EricDalquist> getting closer and closer!
[14:28:56 CDT(-0500)] <EricDalquist> ok … giant commit incoming
[14:29:09 CDT(-0500)] <EricDalquist> athena DrewWills and others … do you have much in the way of local mods?
[14:29:18 CDT(-0500)] <athena> i have some
[14:29:20 CDT(-0500)] <athena> but go ahead
[14:29:28 CDT(-0500)] <EricDalquist> ok
[14:29:36 CDT(-0500)] <athena> i've checked in most of mine
[14:29:41 CDT(-0500)] <athena> and checked in anything layout-related
[14:29:58 CDT(-0500)] <EricDalquist> once this is in I'm going to work on getting portlet and stylesheet descriptor/preference export working correct
[14:30:03 CDT(-0500)] <athena> awesome
[14:30:08 CDT(-0500)] <EricDalquist> but I'll be around to help debug issues as you find them with the new code
[14:30:13 CDT(-0500)] <athena> awesome, thanks!
[14:30:23 CDT(-0500)] <athena> let me know when it's complete and i'll pull in the update
[14:30:27 CDT(-0500)] <athena> see what happens
[14:30:39 CDT(-0500)] <athena> i assume another initdb is in order?
[14:30:43 CDT(-0500)] <EricDalquist> oh yes
[14:30:52 CDT(-0500)] <EricDalquist> probably be smart to nuke the DB first
[14:30:56 CDT(-0500)] <EricDalquist> since a bunch of tables got deleted
[14:31:03 CDT(-0500)] <athena> argh
[14:31:07 CDT(-0500)] <EricDalquist> and we don't want stuff working because a table that shouldn't be there now is
[14:31:13 CDT(-0500)] <athena> i'm going to need to create a new db for portlets
[14:31:15 CDT(-0500)] <EricDalquist> no easy way to delete all tables in postgres?
[14:31:19 CDT(-0500)] <athena> all my sample data keeps going away
[14:31:22 CDT(-0500)] <EricDalquist> hrm
[14:31:27 CDT(-0500)] <athena> there probably is? i don't know what it is though
[14:31:31 CDT(-0500)] <EricDalquist> you need a "drop UP_*" command
[14:31:32 CDT(-0500)] <athena> should look that up
[14:31:34 CDT(-0500)] <athena> yes
[14:31:44 CDT(-0500)] <athena> wonder if that's work
[14:31:52 CDT(-0500)] <athena> anyway, i'll figure it out
[14:31:54 CDT(-0500)] <EricDalquist> you could just do that manually from something like squirrel
[14:32:04 CDT(-0500)] <EricDalquist> just select allthe UP_ tables and drop them
[14:32:18 CDT(-0500)] <athena> yeah
[14:46:07 CDT(-0500)] <EricDalquist> also there are now XSDs in the project for portlet-definition and stylesheet-descriptor files
[14:46:31 CDT(-0500)] <EricDalquist> I have some notes I'll add when we get close to a release about how we can push those out for ease of consuption
[14:46:37 CDT(-0500)] <EricDalquist> consumption*
[14:48:06 CDT(-0500)] <athena> sounds great
[14:48:41 CDT(-0500)] <EricDalquist> ok https://developer.jasig.org/source/changelog/jasigsvn?cs=23217
[14:48:45 CDT(-0500)] <EricDalquist> time to go get food
[14:48:49 CDT(-0500)] <EricDalquist> then work on docs
[14:48:59 CDT(-0500)] <athena> ooh you added in guava?
[14:49:00 CDT(-0500)] <athena> fun
[14:49:04 CDT(-0500)] <athena> toys!
[14:49:12 CDT(-0500)] <EricDalquist> yeah
[14:49:16 CDT(-0500)] <EricDalquist> I needed it for some other stuff
[14:49:26 CDT(-0500)] <EricDalquist> but I figured it would be useful in general
[14:49:27 CDT(-0500)] <athena> nice
[14:49:28 CDT(-0500)] <athena> yeah
[14:49:29 CDT(-0500)] <athena> totally
[14:49:39 CDT(-0500)] <athena> someone at unicon gave an internal presentation about it
[14:49:43 CDT(-0500)] <athena> looked like a terrific library
[14:49:57 CDT(-0500)] <EricDalquist> MapMaker is one of my favorite classes
[14:51:14 CDT(-0500)] <athena> MapMaker, MapMaker, make me a map?
[14:51:38 CDT(-0500)] * athena played in the pit for fiddler for way too long
[14:51:44 CDT(-0500)] <athena> anyway, yes, cool stuff
[14:51:48 CDT(-0500)] <EricDalquist> lol
[14:51:57 CDT(-0500)] <EricDalquist> http://guava-libraries.googlecode.com/svn/tags/release08/javadoc/com/google/common/collect/MapMaker.html
[14:52:27 CDT(-0500)] <EricDalquist> for example you could create a concurrentMap with soft key refs, weak value refs and a LRU(500) behavior
[14:52:31 CDT(-0500)] <athena> very nice
[14:52:43 CDT(-0500)] <athena> yeah i remember some stuff abou tthat - really neat
[14:53:11 CDT(-0500)] <athena> i think i remember some neat string stuff too
[14:57:35 CDT(-0500)] <athena> portlet files seem to have some wacky formatting
[14:57:50 CDT(-0500)] <EricDalquist> yeah I just deleted the unused elements
[14:57:52 CDT(-0500)] <EricDalquist> and didn't reformat them
[14:57:55 CDT(-0500)] <athena> yeah figured
[14:58:02 CDT(-0500)] <EricDalquist> figured eventually we'd do an export
[14:58:07 CDT(-0500)] <EricDalquist> which would give us pretty file
[14:58:08 CDT(-0500)] <EricDalquist> s
[14:58:51 CDT(-0500)] <athena>
[14:58:54 CDT(-0500)] <athena> sounds good to me!
[15:00:03 CDT(-0500)] <EricDalquist> brb