JED3 | nkinkade: what version of Drupal is this? | 00:03 |
---|---|---|
JED3 | it looks like the "list" option is actually a part of the Image CCK type in Drupal, and maybe that field isn't support in the core of the version of drupal we are running | 00:04 |
nkinkade | JED3: 6.7, I believe. | 00:05 |
JED3 | Ubercart has included the option in their modules, but it doesn't appear to actually be affecting any of the functionality of the content type | 00:05 |
*** Bovinity has quit IRC | 00:06 | |
nkinkade | JED3: But interestingly, if I enabled "Enforce Default" in the Product content type the List checkbox goes away from the product editing page for each image. | 00:07 |
nkinkade | This would *seem* to indicate to me that that checkbox is not being but there by Ubercart, but by CCK. | 00:07 |
nkinkade | I could be wrong about that. | 00:08 |
nkinkade | It seems that one of the nice things about Ubercart is that is leverages much of Drupal's builtin features instead of reinventing the wheel. | 00:10 |
nkinkade | So the whole Product editing page is really just a regular Drupal node at heart. | 00:11 |
JED3 | ha yeah, unfortunately much of Drupal itself is inherently flawed IMO | 00:11 |
JED3 | this Ubercart is slick though | 00:11 |
nkinkade | That could be right as well. haha | 00:11 |
nkinkade | I don't know Drupal very well at all. | 00:12 |
nkinkade | Or maybe we're just piling flawed on flawed. :-) | 00:12 |
JED3 | its just a nightmare to extend and the documentation online is so long-winded that its very hard to find any authoritative or definitive answers | 00:13 |
JED3 | haha maybe | 00:13 |
nkinkade | You know, I've found that that is true for most any large code project I've ever seen. | 00:13 |
*** stevel has quit IRC | 00:13 | |
JED3 | I agree | 00:13 |
JED3 | wordpress is bad as well | 00:13 |
nkinkade | Wordpress had made me crazy. Drupal has driven me nuts. CiviCRM has made my eyes go crossed. | 00:14 |
JED3 | haha ditto*3 | 00:14 |
nkinkade | Code seems to inherently get totally muddled and confusing for anyone other than the initiated and devs once it gets beyond a certain size. | 00:14 |
nkinkade | I used to think it was flawed design, but I'm not starting to feel like it's just the nature of the beast. | 00:15 |
JED3 | I hate to say it, but engineers should be the ones writing this stuff, with the large scale projects, ran by organizations, they typically hire tech writers and all goes to hell | 00:15 |
JED3 | but if you look at the linux man pages, python docs, django, rubyonrails. they're all incredibly clear | 00:16 |
nkinkade | man page are pretty good in *some* case ... for things like ls, cd, cat | 00:17 |
nkinkade | An exercise: $ man mplayer | 00:17 |
nkinkade | But I will admit that the python docs are good ... the api docs, that is. | 00:18 |
JED3 | PHP is pretty good too considering its size | 00:20 |
nkinkade | Yeah, php.net has been good to me. Their api docs are also very useful, and I like the examples. | 00:22 |
JED3 | well sorry I wasnt of much help, I look into this a bit more tonight | 00:24 |
*** JED3 has quit IRC | 00:24 | |
*** papyromancer has quit IRC | 00:25 | |
*** papyromancer has joined #cc | 00:26 | |
*** papyromancer has joined #cc | 00:29 | |
*** papyromancer has quit IRC | 00:30 | |
*** papyromancer has joined #cc | 00:38 | |
*** papyromancer has joined #cc | 00:41 | |
*** Bovinity has joined #cc | 00:43 | |
*** mecredis_ has joined #cc | 00:45 | |
*** papyromancer has quit IRC | 00:46 | |
*** kreynen has joined #cc | 00:47 | |
*** kreynen has quit IRC | 00:52 | |
*** pyrak has quit IRC | 00:56 | |
*** mecredis has quit IRC | 01:01 | |
*** oshani has quit IRC | 01:14 | |
*** papyromancer has joined #cc | 01:15 | |
*** nkinkade has quit IRC | 01:28 | |
*** papyromancer has joined #cc | 01:34 | |
*** papyromancer has quit IRC | 01:34 | |
*** papyromancer has joined #cc | 01:39 | |
*** everton137 has joined #cc | 01:41 | |
*** pyrak has joined #cc | 01:52 | |
*** gimmulf_ has quit IRC | 02:09 | |
*** Bovinity has quit IRC | 02:54 | |
*** jgay has quit IRC | 02:55 | |
*** K`Tetch has quit IRC | 03:15 | |
*** K`Tetch has joined #cc | 03:18 | |
*** papyromancer has joined #cc | 03:42 | |
*** papyromancer has quit IRC | 03:48 | |
*** papyromancer has joined #cc | 03:49 | |
*** tim_hwang has quit IRC | 03:51 | |
*** papyromancer has quit IRC | 03:51 | |
*** papyromancer has joined #cc | 03:52 | |
*** papyromancer has quit IRC | 03:57 | |
*** papyromancer has joined #cc | 03:58 | |
*** mecredis has joined #cc | 04:13 | |
*** JED3 has joined #cc | 04:14 | |
*** codergeek42 has joined #cc | 04:21 | |
*** mecredis has quit IRC | 04:54 | |
*** tim_hwang has joined #cc | 05:14 | |
*** pyrak has quit IRC | 05:48 | |
*** tim_hwang has quit IRC | 06:06 | |
*** kreynen has joined #cc | 06:07 | |
*** kreynen has quit IRC | 06:27 | |
*** megapanzer has joined #cc | 06:32 | |
*** megapanzer has left #cc | 06:32 | |
*** everton137 has quit IRC | 07:12 | |
*** codergeek42 has quit IRC | 07:21 | |
*** JED3 has quit IRC | 07:25 | |
*** sympodius1 has joined #cc | 07:40 | |
*** sympodius2 has joined #cc | 07:43 | |
*** sympodius2 has quit IRC | 07:45 | |
*** sympodius has quit IRC | 07:58 | |
*** sympodius1 has quit IRC | 08:02 | |
*** gimmulf_ has joined #cc | 08:02 | |
*** sama has joined #cc | 09:04 | |
*** parker-fcnyu has quit IRC | 09:43 | |
*** haoyu_ has joined #cc | 11:11 | |
*** haoyu has quit IRC | 11:13 | |
*** K`Tetch_ has joined #cc | 11:34 | |
*** K`Tetch has quit IRC | 11:51 | |
*** K`Tetch has joined #cc | 11:52 | |
*** K`Tetch_ has quit IRC | 11:53 | |
*** gimmulf_ has quit IRC | 12:05 | |
*** gimmulf_ has joined #cc | 12:06 | |
*** K`Tetch has quit IRC | 12:24 | |
*** K`Tetch has joined #cc | 12:25 | |
*** haoyu_ has quit IRC | 12:28 | |
*** haoyu_ has joined #cc | 12:29 | |
*** papyromancer has joined #cc | 12:40 | |
*** everton137 has joined #cc | 13:19 | |
*** sympodius has joined #cc | 14:02 | |
*** nathany has joined #cc | 14:34 | |
*** michi_ has joined #cc | 14:38 | |
*** binrapt has joined #cc | 14:43 | |
binrapt | CC recommends not using CC licenses for software - but what is the software equivalent of by-nc-sa? The GNU licenses lack the nc part I believe. | 14:44 |
binrapt | Or did I miss something? | 14:44 |
*** michi_ has quit IRC | 14:48 | |
greg-g | binrapt: you are correct, no GNU license has a comparable "NC" aspect. But, CC licenses dont make legal sense for code. It doesn't talk about source vs binary or anything that would be important for that area. | 15:17 |
greg-g | binrapt: you can look for some other license that is written for code and includes a NC clause, but, that code will not be considered "open source" or "free software" to any group. | 15:18 |
binrapt | greg-g: Do you have any suggestions? I am looking for an open source software license with a non-commercial clause. | 15:19 |
binrapt | Yeah I thought about doing that, except the GPL is copyrighted and all for example, they could sue me haha ;( | 15:19 |
greg-g | binrapt: I would seriously reevaluate you desire for an NC clause, first. Mainly because I know of no "Open Source" license like that. I put it in quotes because, again, not many people would see that as Open Source (I wouldn't). | 15:30 |
binrapt | Why not? | 15:30 |
greg-g | because restricting that use is not a part of any standard of Free/Open Source. | 15:31 |
greg-g | but you are of course free to write your own license and use it. My opinion are just my opinions. | 15:31 |
*** stevel has joined #cc | 15:43 | |
*** papyromancer has quit IRC | 15:49 | |
*** papyromancer has joined #cc | 15:51 | |
*** nkinkade has joined #cc | 15:54 | |
*** papyromancer has quit IRC | 15:58 | |
*** papyromancer has joined #cc | 15:58 | |
*** nkinkade has quit IRC | 16:15 | |
*** nkinkade has joined #cc | 16:25 | |
*** Bovinity has joined #cc | 16:26 | |
*** JED3 has joined #cc | 16:26 | |
*** sama has quit IRC | 16:34 | |
*** parker-fcnyu has joined #cc | 16:46 | |
*** JED3 has quit IRC | 16:51 | |
*** pyrak has joined #cc | 17:04 | |
*** everton137 has quit IRC | 17:25 | |
*** codergeek42 has joined #cc | 17:27 | |
*** mecredis has joined #cc | 17:42 | |
*** JED3 has joined #cc | 17:46 | |
*** oshani_ has joined #cc | 17:46 | |
*** mecredis_ has joined #cc | 18:04 | |
*** mecredis has quit IRC | 18:20 | |
*** mecredis_ has quit IRC | 18:35 | |
*** mecredis has joined #cc | 18:35 | |
*** K`Tetch has quit IRC | 18:42 | |
*** K`Tetch has joined #cc | 18:46 | |
nkinkade | JED3: Which were the rewrite rules you wanted me to look at? The ones in creativecommons.conf on staging? | 18:46 |
JED3 | yes | 18:46 |
JED3 | "/var/www/staging.creativecommons.org/conf/creativcommons.conf:53-55" | 18:48 |
JED3 | i think there are also some other changes in the conf where i replaced references to license | 18:48 |
JED3 | I left in rewrite for the common mispell, licesne/ -> to license/ | 18:49 |
JED3 | i suppose that could just go straight to choose/ right? | 18:50 |
JED3 | we were also redirecting for /license/devnations to /retiredlicenses | 18:51 |
JED3 | I changed that to /choose/devnations since the url should already be rewritten by the rules at 53-55 right? | 18:52 |
JED3 | ahh well that doesn't work, that url makes it to the Zope instance | 18:53 |
*** everton137 has joined #cc | 18:56 | |
mecredis | Inow I think I'm going to get curry | 19:07 |
JED3 | for anyone who may be interested, there is some good discussion in the comments of this post http://jacobian.org/writing/gpl-questions/ | 19:07 |
*** K`Tetch_ has joined #cc | 19:15 | |
*** kreynen has joined #cc | 19:23 | |
*** K`Tetch has quit IRC | 19:23 | |
*** K`Tetch has joined #cc | 19:35 | |
*** K`Tetch_ has quit IRC | 19:44 | |
*** balleyne has joined #cc | 19:48 | |
nathany | greg-g: i'm ready whenever you are | 19:52 |
greg-g | nathany: cool, call me in like 5? | 19:53 |
nathany | sure | 19:53 |
*** kreynen has quit IRC | 19:56 | |
*** mecredis_ has joined #cc | 19:57 | |
nkinkade | JED3: If I don't reply to something in here quickly just throw nkinkade in there, otherwise I may not look at the chat window and won't otherwise be notified that someone was addressing me. | 20:00 |
nkinkade | Everything you say above about the rewrite rules seems right to me. The only thing I'd change is to change R to R=301 where you made modifications. | 20:00 |
JED3 | hmm okay | 20:00 |
nkinkade | Since the change is permanent it's better to give users, and especially spiders the word that it's permanent. | 20:01 |
nkinkade | I think Apache defaults to a 302. | 20:01 |
JED3 | choose/devnations doesnt work though | 20:01 |
*** kreynen has joined #cc | 20:03 | |
nkinkade | JED3: Probably because the following rule in the Varnish config is sending it directly to Zope: | 20:05 |
nkinkade | ( req.url ~ "^/(choose|characteristic)/" ) | 20:05 |
JED3 | nkinkade: oh okay, then that rule isn't doing anything anyway | 20:06 |
JED3 | the apache rewrite that is | 20:06 |
nkinkade | I think not. | 20:06 |
JED3 | http://creativecommons.org/license/devnations hits zope | 20:07 |
nkinkade | The "File not found." errors is a Zope error I'm used to seeing. | 20:07 |
JED3 | should we fix this to actually redirect for us while we have it open? | 20:07 |
JED3 | yeah | 20:07 |
nkinkade | But shouldn't that rule really be for something like /licenses/devnations ?? | 20:08 |
nkinkade | Was there ever a /license/devnations ?? | 20:09 |
nkinkade | JED3: Did you by chance do something like s/license/choose/ in the config file? | 20:09 |
*** K`Tetch_ has joined #cc | 20:10 | |
nkinkade | It almost seems that way because the rules for the GPL and BSD licenses now have /choose in front of them, which I dont think is correct. | 20:10 |
JED3 | no I was going to, but instead I just searched for the pattern and did it manual | 20:10 |
JED3 | nkinkade: hmm thats a good point | 20:11 |
nkinkade | Hmm. Looking at the live site's config, they are /license/devnations too. | 20:11 |
JED3 | yeah | 20:11 |
JED3 | where did you see BSD on choose? | 20:11 |
JED3 | the BSD deed is still on licenses/ where it should be right? | 20:12 |
nkinkade | Line 202 and 203. | 20:13 |
nkinkade | Just GPL. | 20:13 |
*** mecredis has quit IRC | 20:13 | |
JED3 | nkinkade: should the gpl not be on choose? | 20:14 |
nkinkade | nathany might be able to answer that one. Those rules predate me. | 20:14 |
nkinkade | But those rules for /license/devnations /license/cc-gpl-br and /license/cc-lgpl-br are broken | 20:15 |
nathany | /license/ should all move to /choose/ | 20:15 |
JED3 | http://staging.creativecommons.org/license/cc-gpl | 20:16 |
nathany | awesome | 20:16 |
JED3 | the lgpl seems to work as well, what looked wrong about the rules for them? | 20:17 |
*** K`Tetch has quit IRC | 20:18 | |
nkinkade | RewriteRule ^/license/cc-gpl-br$ | 20:19 |
nkinkade | Apache will never see that URL and Zope will just emit an error. | 20:19 |
JED3 | which line? | 20:20 |
JED3 | line 203 on the staging conf has choose in the rule | 20:21 |
*** kreynen has quit IRC | 20:24 | |
nkinkade | JED3: I'm referring to line 203, but with the old value ... the value that is still on the live site. | 20:26 |
*** mecredis_ has quit IRC | 20:26 | |
nkinkade | Basically I'm just saying that those redirects are superfluous. | 20:26 |
JED3 | ohh ok | 20:26 |
nkinkade | And was questioning whether they should actually be working or now. | 20:26 |
nkinkade | But since I have no idea what they are, then I defer to nathany. At the moment they do nothing and those URLs just return File not found. errors from Zope. | 20:27 |
nathany | nkinkade: you're referring to something like http://creativecommons.org/license/cc-gpl-br ? | 20:28 |
nkinkade | nathany: Yeah. Those are the rules in the Apache conf. | 20:29 |
nathany | well if it doesn't work now we obviously don't expect it to work on /choose/ ;) | 20:29 |
nkinkade | It's either a mistake that Varnish is catching them, or else they should be removed. | 20:29 |
nathany | but i'm actually not sure what that's supposed to be | 20:29 |
nkinkade | nathany: How about ^/license/devnations$ | 20:29 |
nkinkade | That one seems more obvious, but it's a "File not found." as well. | 20:30 |
*** mecredis has joined #cc | 20:30 | |
nathany | we didn't redirect that? | 20:30 |
nathany | to something like /license/retiredlicenses (or something like that) | 20:30 |
nkinkade | That's what the rewrite rule is supposed to do, but Varnish is catching that URL before it ever gets to Apache. Zope is getting it. | 20:31 |
nathany | http://creativecommons.org/retiredlicenses | 20:31 |
nkinkade | Maybe our Vanish rule is too greedy. | 20:31 |
nathany | so it would seem | 20:32 |
nkinkade | But honestly, I have no idea whether a URL like /license/devnations ever existed. | 20:32 |
nathany | it did at one point | 20:32 |
nkinkade | I wonder if teh author of that rule mean to put in something more like /licenses/devnations | 20:32 |
nathany | no | 20:32 |
nathany | /licenses/devnations/2.0/ is still served, as expected | 20:33 |
nkinkade | Basically that rule has not been working for well over a year, so I'm inclined to say we should just let it go at that. | 20:33 |
nathany | hrm | 20:33 |
nathany | it should really continue working; it's been a bug for a year but if we ever deprecate other things, we'll invoke similar requirements then as well | 20:35 |
nathany | so i'd prefer that we fix the bug | 20:35 |
nathany | nkinkade: ^^ (unfortunately) | 20:36 |
*** K`Tetch has joined #cc | 20:36 | |
nkinkade | I guess it will mean just adding more rules to Varnish. | 20:36 |
nathany | nkinkade: i suppose alternately we could have zope return a redirect | 20:37 |
nathany | that actually might be really easy | 20:37 |
nkinkade | Google: link:http://creativecommons.org/license/cc-gpl-br | 20:37 |
nathany | (and possibly more maintainable in the long run) | 20:37 |
nkinkade | No results. | 20:37 |
nathany | cool | 20:38 |
nathany | nkinkade: i'll open a ticket for /license/devnations | 20:38 |
nkinkade | But I think I might rather keep the redirects in Varnish or Apache and not cc.engine, as the previous two are more clear to me. cc.engine is something of a black box for me. | 20:38 |
nkinkade | I don't know, maybe we should just remove the redirects from Varnish altogether. | 20:39 |
nathany | nkinkade: yeah, i can see either approach -- either we want redirects in varnish/apache because more people can edit them | 20:39 |
nkinkade | It seems like it's more trouble than it's worth to maintain redirection in two places. | 20:39 |
nathany | or we commit to maintaining certain views in cc.engine and whether they return pages or redirects is irrelevant; you can count on the URLs being served by that software | 20:40 |
nkinkade | Maybe we should just revert to letting Apache do all the redirect, to Zope and otherwise. | 20:40 |
*** kreynen has joined #cc | 20:40 | |
nathany | nkinkade: iirc we split them to varnish for performance reasons | 20:40 |
nathany | i have some ideas about reducing cc.engine's memory usage/response time but until we fill asheesh's position we don't have the capacity to act on them | 20:40 |
nkinkade | nathany: I'm not sure we knew there was a performance issue. It was more that having Apache be an uncessary middle man certainly can't help performance. | 20:41 |
nathany | right | 20:41 |
nathany | i suppose my thought at the moment is: | 20:41 |
nathany | 1) let's not dig into this any more than we have to (so we'll leave zope rules in varnish) | 20:41 |
nkinkade | But it's entirely possible that the performance hit is so small as to not be recognizable. | 20:41 |
nathany | 2) let's decide on an approach wrt the license engine and redirects; my inclination is to do them in cc.engine -- we can write tests, etc and keep it somewhat self-contained | 20:42 |
nkinkade | Okay, so for #1, it just means that we'll have to make the Varnish rules more complex. | 20:42 |
nathany | but i'm open to objections to #2 | 20:42 |
nkinkade | nathany: Come to think of it, I may be in favor of having cc.engine do the redirects when necessary. | 20:42 |
nathany | i think i like it because it keeps it self-contained | 20:42 |
nkinkade | The idea being that if cc.engine ever served the URL in any way, then it should also handle the legacy. | 20:43 |
nathany | that's my thinking | 20:43 |
nathany | we can handle devnations right now, worry about rolling other existing legacy rules in as needed (and going forward) | 20:43 |
nkinkade | That means that the Varnish rule can be ultra simple, and Apache isn't involved at all. | 20:44 |
nathany | right | 20:44 |
nkinkade | Everything under /license goes right to Zope. | 20:44 |
nkinkade | No wondering whether something under /license is handled by some Varnish rule, some Apache rule or cc.engine ... it's all cc.engine all the time. | 20:44 |
*** K`Tetch_ has quit IRC | 20:45 | |
nkinkade | One stop shopping for /license | 20:45 |
nathany | right | 20:45 |
*** mecredis has quit IRC | 20:45 | |
nkinkade | Alright, so JED3 will take care of that? :-) | 20:45 |
nathany | i'll open a ticket for /license/devnations | 20:46 |
nathany | i can probably knock that out this afternoon | 20:47 |
nathany | you can add other legacy URLs (cc-gpl-br?) to that ticket as well | 20:47 |
*** codergeek42 has quit IRC | 21:02 | |
*** Danny_B has quit IRC | 21:02 | |
*** _Danny_B_ has joined #cc | 21:02 | |
*** _Danny_B_ is now known as Danny_B | 21:02 | |
*** K`Tetch_ has joined #cc | 21:09 | |
*** K`Tetch has quit IRC | 21:18 | |
*** mecredis has joined #cc | 21:25 | |
*** mecredis has joined #cc | 21:26 | |
nkinkade | JED3: Success. https://support.creativecommons.org/node/51 | 21:27 |
nkinkade | But I did end up editing the code, in the same function you found yesterday. | 21:28 |
JED3 | awesome, css? | 21:28 |
JED3 | ohh okay | 21:28 |
JED3 | cool, looks good without that annoying icon | 21:28 |
Bovinity | nkinkade: that looks way better | 21:31 |
nkinkade | Bovinity: You could do some CSS foo on it at some point if you wanted. | 21:32 |
*** mecredis_ has joined #cc | 21:36 | |
*** mecredis has quit IRC | 21:54 | |
*** kreynen has quit IRC | 22:23 | |
*** mecredis_ has quit IRC | 22:23 | |
*** mecredis has joined #cc | 22:23 | |
*** K`Tetch has joined #cc | 23:11 | |
*** K`Tetch_ has quit IRC | 23:20 | |
*** K`Tetch has quit IRC | 23:51 | |
*** K`Tetch has joined #cc | 23:54 |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!