fluid-work IRC Logs-2013-06-19

[10:13:02 CDT(-0500)] <anastasiac> michelled, cindyli, Justin_o: I just noticed a bug in UIO's reset: the 'underline links' checkbox doesn't reset (the setting does) http://issues.fluidproject.org/browse/FLUID-5059

[10:13:16 CDT(-0500)] <anastasiac> I'll add the JIRA to the iteration page

[10:13:42 CDT(-0500)] <Justin_o> anastasiac: thanks… i think cindyli and i fixed up some reset stuff in our FLUID-5043 branch

[10:13:48 CDT(-0500)] <Justin_o> you might want to see if it's still an issue there

[10:14:15 CDT(-0500)] <anastasiac> ok, Justin_o

[10:17:52 CDT(-0500)] <anastasiac> Justin_o, cindyli: the FLUID-5043 branch does seem to fix the issue. Closed

[10:18:29 CDT(-0500)] <Justin_o> anastasiac: great thanks

[10:20:41 CDT(-0500)] <cindyli> anastasiac, michelled, Justin_o and i created another jira for an uio issue (http://issues.fluidproject.org/browse/FLUID-5058) that in the full with preview demo, the stored settings are not applied to the preview window at the page load. i will add that into the iteration plan

[10:21:24 CDT(-0500)] <michelled> thx cindyli

[10:21:39 CDT(-0500)] <cindyli> np

[10:58:45 CDT(-0500)] <Bosmon7> Hi anastasiac, thanks for your report for FLUID-5048

[10:58:48 CDT(-0500)] <Bosmon7> I am looking at it now

[10:58:56 CDT(-0500)] <anastasiac> thanks, Bosmon7

[10:59:01 CDT(-0500)] <anastasiac> is the JIRA clear enough?

[11:07:38 CDT(-0500)] <Bosmon7> anastasiac - thanks, yes

[11:07:43 CDT(-0500)] <Bosmon7> I think there is everything I need

[11:08:10 CDT(-0500)] <Bosmon7> It's annoying that this one slipped through the cracks despite the work yzen and I did on this family of issues a couple of months ago

[12:06:59 CDT(-0500)] <yzen> Bosmon7: so you mentioned that not just postGuards but guards have to be declared as transactional in order for the post guard to fire?

[12:22:48 CDT(-0500)] <ramil> unchecking some of the js libraries from the Infusion Builder still downloads them?

[12:23:10 CDT(-0500)] <ramil> is that supposed to happen?

[12:23:14 CDT(-0500)] <anastasiac> ramil, I think that's a known issue, let me double-check

[12:25:47 CDT(-0500)] <anastasiac> ramil, yes, that's the way it functions. Since jQuery is required, it's always included. I know we had some discussions about this, I can't remember specifically why it was implemented that way

[12:26:19 CDT(-0500)] <anastasiac> there is a note on the Builder site that says "te: Some of the modules require other modules to function, so any dependent modules will also be automatically selected (even if you uncheck them)"

[12:28:04 CDT(-0500)] <ramil> anastasiac, in the tutorials for the UIO , it says that when you create a custom build, it combines all of the js into MyInfusion.js, so if you uncheck the jQuery library for example, will it still include it in myInfusion.js?

[12:48:01 CDT(-0500)] <michelled> ramil: no, it should not include it if you uncheck it

[12:48:11 CDT(-0500)] <michelled> ramil: are you finding that it is still included?

[12:49:07 CDT(-0500)] <ramil> michelled, ill have to check

[12:49:55 CDT(-0500)] <ramil> because I've downloaded two different versions one with some of them unchecked, and they both have the exact same file size

[12:50:17 CDT(-0500)] <ramil> so I'm assuming that nothing is really happening when you uncheck things

[13:01:46 CDT(-0500)] <anastasiac> michelled, I thought it was known that some modules will continue to be included even if you uncheck them

[13:02:43 CDT(-0500)] <michelled> anastasiac: is it a bug with the builder? I know you can make a build with exclusions - we've certainly done that for some of our projects

[13:03:28 CDT(-0500)] <anastasiac> michelled, not sure if it's a bug, or by design (or a bug-billed-as-design (smile) I can't quite remember the history, but there's even a note right on the builder page to that effect

[13:03:51 CDT(-0500)] <anastasiac> michelled, the command line script will do the exclusions even when the builder does not

[13:04:19 CDT(-0500)] <ramil> ok so there are some differences, i checked

[13:07:47 CDT(-0500)] <ramil> is there a way to exclude some of the third party modules from the download?

[13:09:30 CDT(-0500)] <anastasiac> ramil, if you use the source code from the git repository, there is a command-line script you can use to build the same package, and using the command line the exclusions should work properly

[13:09:32 CDT(-0500)] <anastasiac> let me get the link...

[13:09:43 CDT(-0500)] <anastasiac> ramil: http://wiki.fluidproject.org/display/fluid/Custom+Infusion+Builds+With+Ant

[13:12:05 CDT(-0500)] <ramil> can you actually delete all of the .js files after downloading them and just leave MyInfusion.js? Will everything still work then?

[13:12:32 CDT(-0500)] <anastasiac> ramil, yes, that's the idea: The MyInfusion.js is a concatenation of all the js files

[13:13:41 CDT(-0500)] <ramil> is there a reason why you guys included them in the download?

[13:17:28 CDT(-0500)] <anastasiac> actually, ramil, I believe the js files are NOT included in the bundle you get when you use the Builder. Am I wrong about that?

[13:18:07 CDT(-0500)] <anastasiac> ah, ok, I'm wrong, they are there.

[13:19:13 CDT(-0500)] <anastasiac> I don't recall the discussions around why to include them. Probably just in case people want to see the original source files. It's easier to understand when looking at the individual files

[13:23:57 CDT(-0500)] <michelled> yzen: it looks like FLUID-5058 is another regression from the store changes

[13:24:15 CDT(-0500)] <yzen> michelled: do you want me to take a look at it ?

[13:24:32 CDT(-0500)] <michelled> sure, thx

[13:24:35 CDT(-0500)] <yzen> k

[13:28:38 CDT(-0500)] <Justin_o> Bosmon7, anastasiac, michelled, cindyli: are you able to chat about the schema today?

[13:28:46 CDT(-0500)] <Justin_o> as per my e-mail to the fluid-work list

[13:29:09 CDT(-0500)] <cindyli> yes, Justin_o

[13:29:13 CDT(-0500)] <anastasiac> Justin_o, sounds good

[13:29:15 CDT(-0500)] <michelled> works for me Justin_o

[13:31:32 CDT(-0500)] <Justin_o> fluid-everyone: anyone want to join our schema chat remotely?

[13:31:47 CDT(-0500)] <Justin_o> cindyli, michelled, anastasiac: lets meet up now in the colabroom

[13:31:47 CDT(-0500)] <jessm> Justin_o: schema?

[13:31:53 CDT(-0500)] <Justin_o> uio/gpii schema

[13:32:05 CDT(-0500)] <jessm> (tongue) say more?

[13:33:10 CDT(-0500)] <Justin_o> jessm: http://wiki.fluidproject.org/display/fluid/Schema+for+UIO+preferences

[13:33:18 CDT(-0500)] <Justin_o> sorry, was looking for that page in the wiki

[13:33:41 CDT(-0500)] <Justin_o> just want to talk about how it would/could/should look

[13:33:47 CDT(-0500)] <Bosmon7> Justin_o - we should really have a JIRA describing this work

[13:33:56 CDT(-0500)] <Justin_o> Bosmon7: we might

[13:34:02 CDT(-0500)] <Bosmon7> I didn't find one

[13:34:02 CDT(-0500)] <Justin_o> well for uio maybe.. not sure about gpii

[13:34:25 CDT(-0500)] <Bosmon7> I didn't find one for UIO

[13:34:55 CDT(-0500)] <Bosmon7> We should try to be careful to always describe upcoming work packages with good JIRAs

[13:35:18 CDT(-0500)] <Bosmon7> I will ask the JASIGLogBot to paste this message into the channel regularly every hour (smile)

[13:35:24 CDT(-0500)] <Justin_o> http://issues.fluidproject.org/browse/FLUID-4903

[13:35:36 CDT(-0500)] <Justin_o> Bosmon7: (smile)

[13:35:47 CDT(-0500)] <Justin_o> http://issues.fluidproject.org/browse/FLUID-4904

[13:35:59 CDT(-0500)] <Bosmon7> Perhaps we can get a speaker system to intone it into the office

[13:36:03 CDT(-0500)] <Justin_o> i'm going to move to another room, might drop my connection for a minute or two

[13:36:18 CDT(-0500)] <Bosmon7> Justin_o - unfortunately neither of these JIRAs have a sufficient description

[13:37:04 CDT(-0500)] <Bosmon7> I would say I am "preaching to the converted" but I am clearly not (smile)

[13:37:27 CDT(-0500)] <Bosmon7> When people like jessm speak up asking for an explanation of what our current work is about, we should readily have explanations to hand in the form of JIRAs

[13:43:39 CDT(-0500)] <Justin_o> what we've done so far for the schema https://github.com/jobara/infusion/compare/FLUID-5043#diff-6

[13:51:19 CDT(-0500)] <michelled> so our schema goals are:

[13:51:37 CDT(-0500)] <michelled> 1. enable entire work of constructing a UIO component with completely declarative information

[13:51:55 CDT(-0500)] <michelled> 2. harmonize with work in GPII - Common Terms Registry - create a stable and global identity for every pref in a UIO panel

[14:10:27 CDT(-0500)] <system64> Hello michelled, should I include Infusion as submodule in my component repo? or include a compressed version

[14:11:46 CDT(-0500)] <Justin_o> [13-06-19 3:11:10 PM] Yura Zenevich: examples https://github.com/GPII/universal/blob/master/testData/ontologies/ontologies.json

[14:11:47 CDT(-0500)] <Justin_o> [13-06-19 3:11:23 PM] Yura Zenevich: reverse https://github.com/GPII/universal/blob/master/testData/ontologies/ISO24751-2/flat.json

[14:12:28 CDT(-0500)] <michelled> system64: you probably want to include a compressed version so you can control when you update Infusion. the framework is moving fairly quickly right now.

[14:14:40 CDT(-0500)] <system64> And what about simplewebrtc.js as submodule?

[14:15:47 CDT(-0500)] <michelled> I personally prefer to have control over the version of something that I use. I prefer to update versions knowingly so I can test at that point. what do you think?

[14:20:36 CDT(-0500)] <system64> Don't think there are going to be any updates to the library, I think I'll just include it as a file.

[14:23:32 CDT(-0500)] <system64> I was going through the existing components, and found html folder. Few components have just some markup (not complete web page).

[14:24:01 CDT(-0500)] <system64> What is the purpose of the html folder, is there some build process that uses it?

[14:30:58 CDT(-0500)] <michelled> Bosmon7: here are the next steps for the schema work:

[14:30:59 CDT(-0500)] <michelled> 1. update wiki page with the goals of the schema

[14:31:00 CDT(-0500)] <michelled> 2. update the primary schema on the wiki

[14:31:01 CDT(-0500)] <michelled> 3. create first revision of auxiliary schema on the wiki

[14:31:01 CDT(-0500)] <michelled> 4. build machinery that combines primary and auxiliary schema to create grade definitions

[14:31:42 CDT(-0500)] <michelled> system64: the html folder generally holds markup templates for components

[14:31:55 CDT(-0500)] <michelled> they are used by the infusion renderer to render the final markup for a component

[14:35:08 CDT(-0500)] <michelled> Justin_o, Bosmon7, cindyli1: I guess step 0 is to update the JIRAs (wink)

[14:56:02 CDT(-0500)] <Justin_o> Bosmon7, michelled, anastasiac, yzen: what was name of the thing in GPII that will be transforming between ontologies and what was the document needed to provide the mapping?

[14:56:27 CDT(-0500)] <michelled> ontology transformation document

[14:56:29 CDT(-0500)] <yzen> Justin_o: so it was called an ontology server

[14:56:40 CDT(-0500)] <anastasiac> ontology manager?

[14:56:49 CDT(-0500)] <michelled> (smile)

[14:57:06 CDT(-0500)] <Justin_o> thank you

[15:01:04 CDT(-0500)] <michelled> anastasiac: I can't seem to find any modern documentation on component templates - do you know if there is any?

[15:01:31 CDT(-0500)] <michelled> system64: sorry, I was in a meeting earlier - I'm looking for some documentation to help clarify templates for you

[15:02:32 CDT(-0500)] <anastasiac> michelled, I'm guessing you mean renderer templates? afaik, there have been no recent updates to the docs on renderer templates. Was there something specific you're looking for? Is the existing renderer templates documentation out of date?

[15:03:04 CDT(-0500)] <michelled> is there any existing documentation?

[15:03:13 CDT(-0500)] <michelled> I was looking for something to point system64 to

[15:03:24 CDT(-0500)] <michelled> he was wondering what the html directories in the components folders were for

[15:04:14 CDT(-0500)] <michelled> anastasiac: this is what I found about the renderer: http://wiki.fluidproject.org/display/docs/Renderer

[15:04:50 CDT(-0500)] <system64> Thanks michelled! Going through component docs.

[15:04:57 CDT(-0500)] <anastasiac> michelled, I did think your answer to system64 seemed spot-on

[15:05:24 CDT(-0500)] <anastasiac> I guess we would benefit from some overall explanation of the file hierarchies for components, the parts that are generally involved, and how they fit together

[15:05:41 CDT(-0500)] <anastasiac> as well as more specific docs about how the renderer is used by components

[15:08:28 CDT(-0500)] <system64> michelled: Is it like demo page for the component?

[15:10:08 CDT(-0500)] <michelled> system64: no, it's the actual markup for the component

[15:10:38 CDT(-0500)] <system64> michelled: I was looking at this https://github.com/fluid-project/infusion/blob/master/src/webapp/components/uploader/html/Uploader.html

[15:12:29 CDT(-0500)] <michelled> system64: I think Uploader is strange in that the template is housed inside a full html page.

[15:12:35 CDT(-0500)] <michelled> this is more typical: https://github.com/fluid-project/infusion/blob/master/src/webapp/components/tableOfContents/html/TableOfContents.html

[15:13:59 CDT(-0500)] <system64> michelled: Initial impress was its for demo, then I saw TableOfContents and asked about it

[15:14:05 CDT(-0500)] <system64> *impression

[15:20:52 CDT(-0500)] <michelled> system64: if you turn on the table of contents option in the demo: http://build.fluidproject.org/infusion/demos/uiOptions/html/uiOptions.html

[15:21:13 CDT(-0500)] <michelled> you will see how the template was used to generate a table on contents that was inserted into the top of the page

[15:21:34 CDT(-0500)] <michelled> does that make more sense?

[15:22:16 CDT(-0500)] <michelled> oh, you'll need to click 'show display preferences' to see the option

[15:36:11 CDT(-0500)] <anastasiac> mancoolgunda, how is the video player integration going?

[15:37:08 CDT(-0500)] <mancoolgunda> anastasiac: hi, I was working on my GSoC project and a part of the project deals with the integration of Fluid Player into ATutor. So I think I have initialized the dependency files correctly but it gives me a JS error.

[15:37:27 CDT(-0500)] <anastasiac> what's the error?

[15:37:27 CDT(-0500)] <mancoolgunda> I have setup an instance of ATutor here.

[15:37:28 CDT(-0500)] <mancoolgunda> http://abhinavkops.comyr.com/mancoolgunda/ATutor

[15:37:40 CDT(-0500)] <mancoolgunda> Uncaught TypeError: Object #<Object> has no method 'videoPlayer'

[15:38:12 CDT(-0500)] <mancoolgunda> login credentials are Username: mancoolgunda , Password: abhinav

[15:39:13 CDT(-0500)] <anastasiac> what page do I need to go to to see the error?

[15:39:18 CDT(-0500)] <mancoolgunda> anastasiac: If you go to the "Testing Fluid Player" page in CSE101 course, then you can view the error.

[15:39:43 CDT(-0500)] <mancoolgunda> After logging in, just goto this page : http://abhinavkops.comyr.com/mancoolgunda/ATutor/content.php?cid=5

[15:39:51 CDT(-0500)] <anastasiac> gotcha

[15:40:01 CDT(-0500)] <anastasiac> yep, fluid.videoPlayer isn't defined (smile)

[15:40:05 CDT(-0500)] <anastasiac> checking

[15:41:14 CDT(-0500)] <anastasiac> very strange. the code is there...

[15:41:41 CDT(-0500)] <mancoolgunda> exactly (sad)

[15:42:32 CDT(-0500)] <anastasiac> mancoolgunda, try wrapping your script in a $(document).ready() call. It's possible that you're trying to invoke fluid.videoPlayer before the code has finished loading?

[15:42:48 CDT(-0500)] <mancoolgunda> ok, 1 min, lemme check.

[15:43:47 CDT(-0500)] <anastasiac> ah, mancoolgunda, another thing I notice is that you've got the script tag inside the video player div, which might not be a good idea

[15:43:52 CDT(-0500)] <anastasiac> it's certainly not necessary

[15:44:04 CDT(-0500)] <anastasiac> the video player will replace the content of that div with its own template

[15:48:40 CDT(-0500)] <anastasiac> hey, ramil, I'd like to set up a Drupal instance on my Mac so I can follow along with your work. Do you have a favourite site for good instructions on how to install and set up Drupal?

[15:50:14 CDT(-0500)] <mancoolgunda> anastasiac: Didn't work. Have pushed the code on the server. Please do a refresh to view them.

[15:50:23 CDT(-0500)] * anastasiac checking

[15:51:18 CDT(-0500)] <mancoolgunda> greggy: Anything that I might be missing out ?

[15:51:39 CDT(-0500)] <anastasiac> weird. Infusion is there, no problem, just not the video player...

[15:56:18 CDT(-0500)] <anastasiac> mancoolgunda, I don't know if this is related, but I see in the Net logs that both InfusionAll.js and MyInfusion.js are being loaded. I'm guessing that ATutor itself already included InfusionAll?

[15:56:59 CDT(-0500)] <mancoolgunda> so I think I should remove MyInfusion.js from being loaded.

[15:58:02 CDT(-0500)] <anastasiac> The InfusionAll version is 1.3; you'll need something more up-to-date than that for the video player, I think.

[15:58:18 CDT(-0500)] <anastasiac> What you'll need to do is update ATutor's version of Infusion, and then not load it separately

[15:58:26 CDT(-0500)] <mancoolgunda> ya because when I removed MyInfusion.js then more errors popped up.

[15:58:28 CDT(-0500)] <anastasiac> not sure if that will fix the problem, but it's something you'll need to do, regardless

[15:58:34 CDT(-0500)] <mancoolgunda> ya got it.

[16:04:48 CDT(-0500)] <mancoolgunda> ok downloaded infusion-1.4, I see MyInfusion.js present, Do I need to replace this with InfusionAll.js

[16:05:30 CDT(-0500)] <mancoolgunda> oh sorry, do I need to replace InfusionAll.js with MyInfusion.js present in infusion-1.4?

[16:06:30 CDT(-0500)] <mancoolgunda> anastasiac: ^