Tuesday, 2010-06-08

*** oshani has quit IRC00:00
nyerglerdithyramble, oh, it looks like you're getting the DEdConfiguration, not the NutchConfiguration00:00
nyerglerthat's why plugin.folders is not defined00:00
erlehmanncool, chrome recognizes <input type="url"/>00:03
erlehmanni am using bleeding edge html5 :>00:03
nkinkadeJED3: In case it's of any help, I've got a couple scripts in zupport/bin, curl_gc.php and curl_paypal.php, that you can use to simulate IPN.00:03
JED3nkinkade: awesome, yeah that was my next question00:04
nkinkadeI think all you need to do to trick Civi into think they are new IPN is to change the invoice number in the IPN.00:04
*** tantek has quit IRC00:05
nkinkadeJED3: And if you want to grab some new raw data as sent by either PayPal or Google Checkout then you can find it by browsing /var/www/support.creativecommons.org/CiviCRM.log00:05
nkinkadeOr just ask me if you need some special circumstance and I'll find the payment processor data that will simulate it.00:06
nkinkadeJED3: One caveat ... if you grab any data from that log file, be *sure* to change the email address, else OneClick may sent that email address a receipt.00:06
JED3nkinkade: okay, will do00:07
mralexnkinkade: do ubercart orders go through civi? — ie, can i search the db for contributions via the store?00:07
JED3nkinkade: what are you thoughts on checking in contributed modules to our drupal repo?00:07
*** JoiIto has quit IRC00:08
nkinkademralex: No, they don't go through Civi.  We were using a plugin to slightly integrate, but it seems to have broke with CiviCRM 3.x, but it doesn't matter as we pull those down from PayPal manually now via ContributionProcessor.php and they should all be of type "Store"00:08
nkinkadeIf they aren't showing up, maybe I haven't set the script to run in a cron job.00:08
nkinkadeLet me know ...00:08
nkinkadeJED3: I have no problem with that.  It's our repo, after all. :-)00:09
nkinkadeOr you could create a branch and drop your stuff in there.00:09
nkinkadeEither way.00:09
JED3nkinkade: i mean community contributed modules00:09
nkinkadeJED3: For testing, or into our live site?00:10
*** nyergler has quit IRC00:10
nkinkadeIn the some testing branch, it's not issue at all, I think.00:10
JED3well i wont be committing anything to production just yet, but how have we been managing upgrades to individual modules in our production deployment?00:11
*** wormsxulla has quit IRC00:14
nkinkadeJED3: If they aren't modules that came with the default Drupal install, then it's a non-issue ... just commit.00:16
JED3nkinkade: ok00:16
nkinkadeWe upgrade with git rebase, and if it's all new stuff then it won't cause any issues at all.00:17
mralexnkinkade: fyi, i was asking because i added a function to the CC module to query and cache data for this page: http://zupport.creativecommons.org/analytics00:21
nkinkademralex: That's pretty cool.00:25
nkinkadeYeah, just search for contributions with a contribution_type_id of 8.00:25
mralexnkinkade: built on top of the function we had already to grab the donations-since for the thermometer00:25
nkinkadeOr if you want, search the type for the one title "Store", grab the ID, then search on that.00:25
mralexnkinkade: yep, donors queries on id of 1, and orders is on id of 800:25
JED3nkinkade: have any suggestions for exporting module configurations/settings?00:27
mralexnkinkade: yeah, will do00:27
JED3most of what i've built depends upon a specific set of configurations i've made in the drupal admin00:27
nkinkadeJED3: I don't know of any way ... other than just documenting it or something, or using mysqldump.00:29
JED3okay, going to just document the steps00:31
*** wormsxulla has joined #cc00:33
*** katyl has joined #cc00:33
*** erlehmann has quit IRC00:36
nkinkadeJED3: It may not be that different to what I had to do for the OneClick stuff, which relies on some very specific CiviCRM configurations: http://wiki.creativecommons.org/Single_click_donations_with_CiviCRM00:37
JED3nkinkade: yeah the "Special Considerations" portion is exactly what i'm facing00:38
*** mralex has quit IRC00:42
*** JED3 has quit IRC00:46
*** erlehmann has joined #cc01:02
*** akozak has quit IRC01:03
*** oshani has joined #cc01:04
*** JED3 has joined #cc01:07
erlehmanni timeouted01:08
erlehmannjust in case it got lost. nkinkade, http://wordpress.pastebin.com/zspYJ1Gm01:08
*** nkinkade has quit IRC01:13
*** JED3 has quit IRC01:13
*** parker-fcnyu has joined #cc01:25
*** tvol has quit IRC01:41
*** erlehmann has quit IRC01:53
*** sudiptamondal has joined #cc02:40
*** parker-fcnyu has quit IRC02:53
*** JoiIto has joined #cc03:07
*** JoiIto has quit IRC03:17
*** JoiIto has joined #cc03:17
*** JoiIto has joined #cc03:38
*** erlehmann has joined #cc03:39
*** sudiptamondal1 has joined #cc03:46
*** sudiptamondal has quit IRC03:47
*** parker-fcnyu has joined #cc04:53
*** sudiptamondal has joined #cc05:00
*** sudiptamondal1 has quit IRC05:01
*** sudiptamondal1 has joined #cc05:11
*** sudiptamondal has quit IRC05:11
*** sudiptamondal1 has quit IRC05:30
*** Kaetemi has quit IRC06:08
*** JoiIto has quit IRC06:09
erlehmannquick progress report: http://daten.dieweltistgarnichtso.net/pics/screenshots/web/wordpress-cc-plugin/partially-functional-interface.png06:27
erlehmannand http://daten.dieweltistgarnichtso.net/pics/screenshots/web/wordpress-cc-plugin/generated-markup-rdfa.png06:27
*** sudiptamondal has joined #cc06:27
*** erlehmann has quit IRC06:34
*** sudiptamondal has quit IRC06:35
*** JoiIto has joined #cc06:38
*** JoiIto has quit IRC06:41
*** oshani has quit IRC07:15
*** JoiIto has joined #cc07:29
*** parker-fcnyu has quit IRC07:50
*** dpic has quit IRC08:31
*** MikeChelen has quit IRC08:35
*** MikeChelen has joined #cc08:50
*** dpic has joined #cc09:26
*** JoiIto has quit IRC09:53
*** Danny_B has quit IRC10:22
*** wormsxulla has quit IRC10:28
*** Danny_B has joined #cc10:29
*** karlcow has joined #cc10:30
*** wormsxulla has joined #cc10:45
*** JoiIto has joined #cc12:04
*** oshani has joined #cc12:04
*** oshani has quit IRC12:14
*** nkinkade has joined #cc12:27
*** JoiIto has quit IRC12:31
*** oshani has joined #cc12:57
*** Oxygeek has joined #cc13:08
*** erlehmann has joined #cc13:20
*** katyl has quit IRC13:41
*** parker-fcnyu has joined #cc14:15
*** katyl has joined #cc14:39
*** Kaetemi has joined #cc15:27
*** MarkDude has quit IRC15:30
*** bassel has joined #cc15:37
*** bassel has quit IRC15:39
*** bassel has joined #cc15:42
erlehmannError 503 Service Unavailable15:46
erlehmannService Unavailable15:46
erlehmannGuru Meditation:15:46
erlehmannXID: 149018390615:46
erlehmannat the labs blog15:46
*** michi__ has joined #cc15:48
*** nyergler has joined #cc15:49
greg-gerlehmann: where? it is working for me15:53
greg-gbtw, I finally got the rdfa applied to the main UMich library webpage! http://code.creativecommons.org/~john/?url=http://www.lib.umich.edu/15:56
greg-gmore correctly, to the footer of every MLibrary page15:59
erlehmanngreg-g, occasionally when updating or reading the labs blog. and with occasionally i mean, like one in three times.16:05
erlehmannnyergler, is the rdfa used here correct ? http://labs.creativecommons.org/2010/06/08/gsoc-cc-wordpress-plugin-weekly-report-2/16:06
*** Oxygeek has quit IRC16:21
nyerglererlehmann, let me take a look16:27
nyerglererlehmann, are you referring to the markup in the generated-markup-rdfa.png screenshot?16:28
erlehmannyes. although, "generated", is a bit of a stretch. i figured out it will always be the same markup for this use case.16:29
nyergleris the license, attribution, etc supposed to refer to the image (twitter.png)?16:30
nyergler:)16:30
erlehmannso it was more like "fill in the blanks"16:30
nyerglerright16:30
erlehmannindeed16:30
nyerglerso just a couple tweaks, i think16:30
nyerglererlehmann, can you pastebin the HTML and i'll edit?16:30
nyerglereasier than trying to type from png, i think16:31
nyergler(or do it in an etherpad)16:31
erlehmannwell, yeah, of course.16:31
nyerglerthanks :)16:31
erlehmannno, i have a slow connection16:31
erlehmannlet me generate it again16:31
nyerglerok -- or feel free to email to me (nathan at creativecommons.org) and i can reply16:32
erlehmannone tweek i am going to make is wrapping the image in a link if it is too big, but that can always be done later.16:34
nyerglerright16:35
erlehmanndid a say slooooow connection16:40
nyergler:)16:40
*** katyl has quit IRC16:44
*** volss has joined #cc16:45
*** volss has left #cc16:45
erlehmannnyergler, fission is mailed.16:47
nyerglererlehmann, great, I'll edit and send back shortly16:47
*** JED3 has joined #cc16:58
*** JED3 has left #cc16:59
*** JED3 has joined #cc16:59
*** mralex has joined #cc17:02
*** akila87 has joined #cc17:03
paulproteus_nyergler: For clarity, if I ever say "b" to an online conversation, it means "thumbs up".17:06
paulproteus_You can look at the "b" and see that's what it means. "p" would be thumbs down.17:06
* paulproteus_ now replies to an email.17:06
erlehmannnkinkade, what can you tell me about my failure to save the custom form fields ?17:07
nkinkadeerlehmann: Can you send me that pastebin link again?17:08
nkinkadeOr if the code is in our git repo I can just get it from there.17:08
erlehmannits on git17:08
erlehmannbut the pastbin stuff was something else. that also was not working, duh17:10
*** michi__ has quit IRC17:24
*** akozak has joined #cc17:25
akozakpaulproteus_, do I have to be manually added to the Pivotal tracker once I have an acct? If so, could you do that for me when you have time?17:27
akozakI could send an email if youd like.17:28
*** akila87 has left #cc17:28
nkinkadeerlehmann: I don't see any actions in your code so far.17:32
nkinkadeMy understanding has been that filters just allow you alter visible content, but if you are trying to store data or intercept a database write, then it seems nearly certain you are going to need to do that via an action.17:33
JED3nkinkade: when a civi contact record is created, by default, is a drupal user added as well?17:37
nkinkadeJED3: No, but the reverse is true.17:37
erlehmannnkinkade, i use attachment_fields_to_save because many other plugins use it. but i can't seem to get it to work and documentation is lacking :/17:39
nkinkadeerlehmann: I guess if I'm really going to look at this in depth then I'll have to do a test install of WordPress myself.17:42
nkinkadeBut, erlehmann, one thing before I do that ... how does WordPress store custom data like that?17:43
nkinkadeDo you not have to created a database field for it when the plugin is activated?17:43
erlehmannfor config options, i do that. but for post metadata, it seems to be an array, wordpress handling the rest.17:47
erlehmannif i only knew what exactly i am missing.17:47
erlehmanni use wp_update_meta.17:49
*** sama has joined #cc17:51
*** paroneayea has quit IRC17:52
JED3nkinkade: is #civicrm the appropriate channels for dev questions?17:53
JED3nkinkade: nm, it would appear so17:58
*** katyl has joined #cc18:09
*** paroneayea has joined #cc18:37
JED3mralex: when did we start redirecting the catalyst page to the donate page?18:49
mralexJED3: friday evening18:49
nkinkadeerlehmann: http://pastebin.com/aJJZ02yH18:49
nkinkadeBack from lunch, and installed WP on my machine and had a chance to look at your code.18:49
nkinkadeSee the above patch.18:49
nkinkadeSeems you were treating $post as an object, but apparently it's an array.18:50
JED3mralex: ahh okay, http://wiki.creativecommons.org/Grants this is what i was looking for18:50
erlehmannnkinkade, thanks !18:54
erlehmanni hate unflagged type errors, they always make me feel stupid :(18:57
JED3nkinkade: yesterday you mentioned that oneclick sends notifications when a contribution is completed, which file has this logic?18:58
erlehmanni once had one in javascript where i was looping over something that i thought was an array, but it was some other kind of iterable object that was basically the array i was looking for plus some extra junk. took me a whole night and the sanity of a fellow programmer to figure that out.18:58
nkinkadeJED3: OneClick.class.php18:58
nkinkadeIt's the same file that sends notifications to CC.net18:59
nkinkadeI think the function is something like oc_notify_urls().18:59
nkinkadeerlehmann:  It's easy to do.  I feel like the problems that stump the longest are usually trivial ones this like this.18:59
nkinkade... at least for me.19:00
erlehmannwell, that brought my motivation up again. but before doing stylesheets, i need to know what nyergler says about the RDFa, after all the CSS will probably hook into the RDFa attributes so to not style something that the plugin did not produce19:05
nyerglererlehmann, i replied to your email with a few edits19:05
erlehmannoh well, email isn't instant messaging. no mail  here.19:06
nyerglererlehmann, sent an hour ago, here are the contents: http://pastebin.org/31927819:07
erlehmanni once did not get a mail for something like several hours after it was sent.19:08
erlehmannthx19:08
erlehmannhmm, the span is wrong.19:09
*** isforinsects has quit IRC19:11
nyerglererlehmann, sorry -- http://pastebin.org/31928619:12
*** JoiIto has joined #cc19:18
*** Kaetemi has quit IRC19:22
*** Kaetemi has joined #cc19:23
erlehmannthanks nyergler. i will report back soon.19:26
*** parker-fcnyu has quit IRC19:26
JED3nkinkade: are the scripts in the bin directory of civicrm, used for cron scheduling?19:53
nkinkadeJED3: Some of them are.19:54
JED3nkinkade: whats the convention for that directory then?19:54
nkinkadeNot sure if there are any that aren't run that way.19:54
nkinkadeJED3: There is no convention that I know of.19:54
nkinkadeYou can point your browser directly at one if you want.19:54
JED3oh okay, so basically its for any non-core functionality you want to add to civi?19:54
JED3oh okay19:54
nkinkadeIt's not for modules, of course, but maybe some other scripts that don't fit the module category.19:55
JED3would it be possible to invoke a hook in the oneclickdonate clasS?19:55
JED3nkinkade: http://pastebin.com/19:56
JED3whoops19:56
JED3http://pastebin.com/SM24Tfjw19:56
nkinkadeJED3: By invoke, what exactly do you mean?  Trigger a hook to run?19:57
JED3nkinkade: yes19:57
nkinkadeI'm not sure about that.19:57
JED3nkinkade: http://api.drupal.org/api/function/module_invoke_all/619:58
JED3be back in a bit; lunch19:58
*** oshani has quit IRC20:04
nkinkademralex: Does the widget set a source that looks like "Widget Contribution: Support Creative Commons"?20:05
*** oshani has joined #cc20:05
*** JoiIto has quit IRC20:13
*** karlcow has quit IRC20:25
*** JoiIto has joined #cc20:26
mralexnkinkade: yes, i forget the exact phrasing off the top of my head20:28
mralexit should be something like"widget contribution: catalyst campaign" right now20:28
nkinkademralex: You may want to update that.20:28
mralexaw man20:29
mralexupdated. at least we've only received a single widget contribution.20:30
*** JoiIto has left #cc20:46
*** sama has quit IRC20:47
*** katyl has quit IRC20:53
*** igorlukanin has joined #cc20:57
greg-gsemi-offtopic: why does the styling of acawiki go away every now and then? It goes to a plain text on white background with the sidebars at the bottom view.21:00
nyerglergreg-g, no idea21:01
greg-gs'ok. Just annoying until I reload it a couple times and the styling comes back.21:02
nyerglergreg-g so not consistent for pages?21:02
* greg-g is writing his first real contribution to that site21:02
greg-gnyergler: right21:02
greg-git was happening most when I was editing and previewing my edits21:02
nyergleri suspect it has to do with the theme... hopefully we upgrade that to MW 1.16 and a near-stock Vector theme when 1.16 ships21:02
greg-gcool21:03
greg-gone more complaint: the site is also dog slow sometimes21:06
igorlukaninJED3: ping21:10
JED3igorlukanin: hey21:10
igorlukaninJED3: Hi. I'd like to tell that I've posted the blog entry, as well as released a bit more functional extension some time ago21:11
JED3igorlukanin: awesome, reading your post now21:12
igorlukaninhttp://labs.creativecommons.org/2010/06/08/gsoc-ccffext-1-2/ -- a new post in the CC Labs blog on the CC Firefox extension project21:14
igorlukaninJED3: I'm really glad I got RDFa parsing integrated. Despite I should work on refactoring and (probably) performance, it makes the gap between now and creating a nice UI very little :)21:16
*** oshani has quit IRC21:17
*** oshani has joined #cc21:22
JED3igorlukanin: looks really good, seeing some triple dumps in my Page Info's21:23
JED3how hard is it to toggle the status bar icon based upon cc-rel's presence?21:24
JED3i tried adding it myself the other day but abandoned doing so very quickly21:25
igorlukaninJED3: It's not hard at all, and I'll do it in the nearest future. It's not done for now because I need to do a refactoring that may affect a lot of code, so it's better not to introduce functionality at the current moment21:26
JED3ohh okay, i was just curious21:27
igorlukaninJED3: John, you probably should know this better than me -- is there any place where is can get (say, official) vector images of CC-related icons? I mean, the CC logo and license icons21:28
igorlukaninI'll need them for UI, just do want to make them look good21:29
JED3igorlukanin: absolutely, http://creativecommons.org/about/downloads/21:30
igorlukaninJED3: Oops, shame on me, I should think of this on my own21:31
JED3igorlukanin: no worries21:32
igorlukaninJED3: I really worry about nearly all of the last blog entries having no comments... Do they get read by someone except for the student and his mentor? :)21:37
nyerglerigorlukanin, labs doesn't get nearly the traffic our main site does, but it is widely read21:38
nyerglereven if they were only read by CC staff + students, blogging about the project is a great way to document the progress and process21:39
igorlukaninI fully agree, just was surprised by the absence of comments. Personally really liked the post about imagick-related problems21:41
*** oshani has quit IRC21:56
*** karlcow has joined #cc21:57
*** igorlukanin has quit IRC22:00
*** MarkDude has joined #cc22:17
*** karlcow has quit IRC22:26
*** karlcow has joined #cc22:32
nyerglerJED3, I think http://code.creativecommons.org/issues/issue460 is resolved, right?22:34
erlehmannnyergler, http://pastebin.org/31980422:36
erlehmannthis should be awwright22:36
erlehmannthanks.22:36
erlehmannalso, it will be on git master shortly22:36
erlehmannthen, stylesheets. i feel productive.22:36
nyerglererlehmann, looks good22:37
JED3nyergler: yes with the exception of one item.. http://code.creativecommons.org/~john/?url=http://lessig.org/blog  vs.  http://code.creativecommons.org/~john/?url=http://lessig.org/blog/22:38
JED3i guess my uri redirection support is only good in 1-direction22:38
JED3(the first uri has valid reg, the 2nd doesn't)22:39
JED3nyergler: i'll fix that issue tomorrow AM, afraid to close the drupal can of worms right now22:41
nyerglerok22:43
* karlcow is reading the C-32 analysis http://www.michaelgeist.ca/content/view/5097/125/22:59
*** Kaetemi has quit IRC23:02
*** Kaetemi has joined #cc23:06
*** nyergler has quit IRC23:06
nkinkademralex:  Would you be able to help me with scaling an image?23:19
nkinkadehttp://zearch.creativecommons.org23:19
nkinkadeThe Fotopedia image looks like hell.23:19
mralexyeah, looks like an 8bit gif designed for a black background23:20
nkinkadeI just nicked it from their site, and scaled it, but that apparently isn't good enough.23:20
mralexwhere'd it come from?23:20
nkinkademralex: http://www.fotopedia.com/   .... from that header.23:20
mralexhm, you need a wide browser window to see that tab23:21
nkinkadeI guess it doesn't give me perspective, since I've got a 1920x1080 resolution. :-)23:21
nkinkadeThere is still gobs and bogs of horizontal room on my screen.23:22
mralexi don't run my windows full size :)23:22
nkinkadeInteresting ... I guess this means we'll have to implement horizontal scrolling, else seriously rethink the tabs.23:23
nkinkademralex: Would it be hard for you to convert that logo to something usable for us?23:23
mralexreally want to rethink the whole shebang23:23
nkinkadeYeah, no kidding.23:23
mralexi'll rescale it so it's less chunky; and make its tab black.23:24
nkinkadeAs in cat search.CC.org &> /dev/null23:24
mralexa quick scour of their site shows no alternate versions23:24
mralexpretty much23:24
mralexdo i need to bring up the top 10 search queries again? :P23:24
nkinkadeWhat I'd like to see on search.CC.org is just clear explanations of how to take advantage of various search engines' CC search features.23:25
nkinkadeIt could even be a wiki page.23:25
mralexnah, replacing it with an ad, and a big google.com-esque search input, with a drop down selection of sites, would suffice i think23:25
mralexyeah23:25
nkinkadeSo basically the no-iframes stuff that pyrak did?23:25
mralexsomething that explains that hey, there are sites out there that make it really easy to find CC content!23:25
mralexyeah, with some tidying up23:26
nkinkademralex: And even more sadly it would appear that the Firefox CC search is just broken.23:28
mralexwtf, really?23:28
nkinkadeMy browser shows no results for any search.23:28
nkinkadeIs it just my browser?23:28
mralexvia chrome, a url of http://search.creativecommons.org/?q=foo works fine23:29
nkinkademralex: I'm using the Firefox quick search bar, or "cool bar" or whatever it's called.23:29
mralexi'm tempted to just quickly build something that's half-way presentable and offer it up as a replacement.23:30
mralexFF search works fine for me23:30
nkinkadeHmm.23:30
akozakcc search in ff 3.5.9 works for me23:31
akozak(ubuntu)23:31
mralex(3.6.3)23:31
nkinkadeHmm.  I restarted Firefox and now it works again.23:32
*** wormsxulla has quit IRC23:33
nkinkademralex: If you are able to make a nicer image, you can either send it to me or just install it at a8:/var/www/zearch.creativecommons.org/www/images/fotopedia.gif (or as a png).23:42
nkinkadeThanks.23:42
*** akozak has quit IRC23:44
*** wormsxulla has joined #cc23:51

Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!