Wiki source code of IRC Archive for channel #xwiki
Last modified by Vincent Massol on 2012/10/18 19:14
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | 00:01 <lucaa1> has joined #xwiki | ||
| 2 | 00:01 <lucaa> has quit | ||
| 3 | 00:25 <lucaa1> has quit | ||
| 4 | 00:48 <evalica> has quit | ||
| 5 | 01:24 <roxxo> Would anyone happen to have a suggestion on where to start debugging a traceback received on a page export->RTF? I experienced it with 2.4.3, then upgraded to 2.7.0 today, and still get the same traceback | ||
| 6 | 01:25 <cjdelisle> Can you pastebin the stack trace? | ||
| 7 | 01:25 <roxxo> cjdelisle: sure, one sec | ||
| 8 | 01:27 <roxxo> http://pastebin.com/4rhT4LmW | ||
| 9 | 01:30 <cjdelisle> !jira jodconverter | ||
| 10 | 01:31 <cjdelisle> it's a popular exception | ||
| 11 | 01:31 <cjdelisle> https://encrypted.google.com/search?q=at+org.artofsolving.jodconverter.office.PooledOfficeManager.execute(PooledOfficeManager.java%3A97) | ||
| 12 | 01:32 <roxxo> oh wow | ||
| 13 | 01:33 <roxxo> I'll investigate that then, thanks. | ||
| 14 | 01:33 <cjdelisle> I think the thing to do is come back in about 10-12 hours and the people who know all about the office import/export will be here. | ||
| 15 | 01:33 <cjdelisle> Most everyone is asleep right now. | ||
| 16 | 01:33 <roxxo> ah, will do. are they on GMT? | ||
| 17 | 01:34 <cjdelisle> Paris and Romania mostly. | ||
| 18 | 01:34 <cjdelisle> s/measurments/zones/ | ||
| 19 | 01:42 <roxxo> ah well, I shall return tomorrow - peace out | ||
| 20 | 01:44 <cjdelisle> good night/morning/whatever it is :) | ||
| 21 | 02:02 <Pon> oo, | ||
| 22 | 02:02 <Pon> its good morning, its 10am here in Tokyo. | ||
| 23 | 02:03 <cjdelisle> did you get an answer to your wuestion about link rewriting? | ||
| 24 | 02:03 <abusenius> has quit | ||
| 25 | 02:03 <Pon> dont think so. | ||
| 26 | 02:03 <Pon> oh, ShortURLs? | ||
| 27 | 02:03 <Pon> I tried that | ||
| 28 | 02:04 <cjdelisle> I know it can be done since xwiki.org uses it but I have not had to deal with that code specifically so I am feeling around a little bit here. | ||
| 29 | 02:04 <Pon> I'm wondering why full urls are included in stuff at all, surely everything should be relative to some point. | ||
| 30 | 02:05 <Pon> eg, instead of the xredirect=http://whatever it should be without the host qualifier. | ||
| 31 | 02:05 <Pon> same for the wysiwyg | ||
| 32 | 02:05 <cjdelisle> Hmm. we do use relitive urls. Perhaps zeus is rewriting in the wrong direction? | ||
| 33 | 02:06 <Pon> you dont though, | ||
| 34 | 02:06 <Pon> even bypassing zeus (only works on my 10. net) I see a full url showing up in the login bit | ||
| 35 | 02:06 <cjdelisle> I see, logout is not reletive. | ||
| 36 | 02:06 <cjdelisle> (xredirect) | ||
| 37 | 02:07 <Pon> y | ||
| 38 | 02:07 <Pon> and the editor one is hidden inside javascript (an awesome 2mb page!!!) | ||
| 39 | 02:07 <Pon> gah, >100 emails since last night. | ||
| 40 | 02:07 <cjdelisle> Yes that is indeed awesome, it is generated by google gwt. | ||
| 41 | 02:08 <cjdelisle> I'm sorry you ever had to look at that, it's about equivilent to machine code. | ||
| 42 | 02:09 <Pon> its quite impressively bloated. | ||
| 43 | 02:09 <Pon> I think the javascript needs to go on a total starvation diet. | ||
| 44 | 02:10 <Pon> well, in the interests of staying current, I will try and get M2 and put that on. | ||
| 45 | 02:10 <Pon> if it works and stuff, I can probably work on making a Japanese translation ^^; | ||
| 46 | 02:11 <cjdelisle> I like js, I don't like the way it is most often used but I like the idea of moving most presentation work over to the user side. | ||
| 47 | 02:11 <cjdelisle> Cool re Japanese translation. | ||
| 48 | 02:11 <Pon> y, get the far end to do the heavy lifting. | ||
| 49 | 02:11 <cjdelisle> I'm restarting my server now to see if I can reproduce the issue. | ||
| 50 | 02:12 <Pon> shouldnt have to restart it ^^; | ||
| 51 | 02:12 <Pon> it seems pretty consistent | ||
| 52 | 02:13 <cjdelisle> Well I'm trying to make it use localhost instead of 127.0.0.1 (since I don't have a proxy handy) | ||
| 53 | 02:14 <Pon> either should work ^^; | ||
| 54 | 02:14 <Pon> basically the full name of the request is going in there ^^; | ||
| 55 | 02:14 <cjdelisle> hmm I'm getting a bunch of: | ||
| 56 | 02:14 <cjdelisle> Illegal character in path at index 48: /skins/colibri/$xwiki.getSkinFile('colibri.css', | ||
| 57 | 02:15 <cjdelisle> in the log | ||
| 58 | 02:15 <Pon> wao | ||
| 59 | 02:18 <Pon> did you turn some extra logging on? | ||
| 60 | 02:18 <sburjan`> has quit | ||
| 61 | 02:20 <cjdelisle> No, that's an exception so it should show up. | ||
| 62 | 02:24 <Pon> ok, I'll fire up M2, | ||
| 63 | 02:24 <Pon> I'm certain I was seeing exactly the same issues in M1 as 2.7 so I wonder if anything has changed. | ||
| 64 | 02:25 <cjdelisle> Nothing has changed in that code AFAIK. | ||
| 65 | 02:25 <Pon> well, we'll soon see. shouldnt take more than about 15 minutes ^^; | ||
| 66 | 02:30 <Pon> I see this wonderful error in the server log | ||
| 67 | 02:33 <Pon> and on access, stacks of INFO complaining about velocity | ||
| 68 | 02:33 <Pon> [#|2011-02-10T10:31:45.710+0900|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=154;_ThreadName=Thread-1;|2011-02-10 10:31:45,710 [http://localhost:8080/xwiki/bin/view/Main/] WARN internal.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.getXMLEncoded] in xwiki:Main.WebHome@2,42 | ||
| 69 | 02:33 <cjdelisle> Yes, core moves faster than templates. | ||
| 70 | 02:34 <Pon> ok the "class="tme" still references localhost. | ||
| 71 | 02:34 <cjdelisle> We need to go through with a find -exec sed command and auto fix those. | ||
| 72 | 02:34 <Pon> maybe you need a bug report so that people know its there ^^; | ||
| 73 | 02:35 <Pon> cor, clicking on "blog" produced a few thousand lines of error! | ||
| 74 | 02:36 <cjdelisle> I think that is in the release notes, the old xar does not work with the new .war. | ||
| 75 | 02:36 <cjdelisle> Velocity changes the way they handeled references and it broke lots of code. | ||
| 76 | 02:37 <cjdelisle> Updating to the newest version of the wiki content should get rid of _most_ of that (there are still a few deprecation warnings) | ||
| 77 | 02:37 <Pon> ok | ||
| 78 | 02:38 <Pon> I like the loop error there, that was 30000 lines of log ^^; | ||
| 79 | 02:38 <cjdelisle> com.xpn.xwiki.XWiki.formatDate <-- that? | ||
| 80 | 02:39 <Pon> y | ||
| 81 | 02:40 <cjdelisle> Is zeus on the same box as xwiki? | ||
| 82 | 02:40 <Pon> y | ||
| 83 | 02:40 <Pon> zeus runs a whole pile of sites, | ||
| 84 | 02:40 <Pon> it has a gateway for /xwiki --> localhost:8080 (glassfish v3 instance) | ||
| 85 | 02:41 <Pon> I wish it would tell me what URL it was being asked for | ||
| 86 | 02:41 <Pon> ok, you can play if you want, | ||
| 87 | 02:41 <Pon> http://www.anime.org/xwiki/ | ||
| 88 | 02:42 <cjdelisle> that domain must have been in high demand. | ||
| 89 | 02:42 <Pon> cor, the admin interface looks a lot nicer. | ||
| 90 | 02:42 <Pon> I've had it for oh, 15 years now. | ||
| 91 | 02:42 <Pon> it has a few users, | ||
| 92 | 02:42 <Pon> a cosplayer, an anime director ... | ||
| 93 | 02:45 <cjdelisle> ok | ||
| 94 | 02:45 <Pon> should I open a bug report with these? would that help? | ||
| 95 | 02:45 <Pon> go to LOG-IN | ||
| 96 | 02:45 <cjdelisle> Do you know if you can get zeus to rewrite this? | ||
| 97 | 02:45 <cjdelisle> Host: 127.0.0.1:8081 | ||
| 98 | 02:45 <Pon> if you look in the source for that page, | ||
| 99 | 02:45 <Pon> <input name="xredirect" type="hidden" value="http://localhost:8080/xwiki/bin/WebHome"/> | ||
| 100 | 02:45 <cjdelisle> I think the problem is the Host: header. | ||
| 101 | 02:46 <Pon> I would love to know what it is actually sending though. | ||
| 102 | 02:46 <Pon> through | ||
| 103 | 02:46 <cjdelisle> tcpdump -i lo -A -s 5000 | grep 'Host:' | ||
| 104 | 02:46 <cjdelisle> That should be able to confirm it. | ||
| 105 | 02:47 <Pon> on ZWS, all you can specify for the gateway is path -> host/port | ||
| 106 | 02:47 <Pon> and rewrite stuff. | ||
| 107 | 02:47 <cjdelisle> requrit headers? | ||
| 108 | 02:47 <Pon> the rewrite engine is elsewhere. | ||
| 109 | 02:48 <Pon> I think it gets called after. | ||
| 110 | 02:48 <Pon> anwyay, I'll try that tcpdump first | ||
| 111 | 02:48 <cjdelisle> I think you'll see a lot of this: | ||
| 112 | 02:48 <cjdelisle> Host: 127.0.0.1:8081 | ||
| 113 | 02:49 <Pon> Host: localhost:8080 | ||
| 114 | 02:50 <cjdelisle> Although I don't know for sure, I think the people who are running xwiki behind proxies are using proxies which do not rewrite the header so the external header makes it in to the xwiki instance. | ||
| 115 | 02:51 <Pon> probably | ||
| 116 | 02:51 <Pon> makes it a little difficult to use with ZWS in the way ^^; | ||
| 117 | 02:51 <Pon> So, we know where it gets its URL base from, | ||
| 118 | 02:53 <Pon> the rewrite engine comes too early to help. if I rewrite the Host: line there, it will be over written. | ||
| 119 | 02:53 <Pon> still, progress ^^; | ||
| 120 | 02:53 <cjdelisle> http://knowledgehub.zeus.com/articles/2010/04/05/augmenting_the_web_with_zeus_traffic_man | ||
| 121 | 02:54 <cjdelisle> http.setHeader( "Host", $host ); | ||
| 122 | 02:54 <Pon> traffic manager costs serious money. | ||
| 123 | 02:54 <cjdelisle> Ahh, I see. | ||
| 124 | 02:55 <cjdelisle> hehe ngrep! | ||
| 125 | 02:55 <Pon> I have had this zeus license since it was beta (I still have the official beta tester backpack, and boxers!) | ||
| 126 | 02:55 <Pon> "Zeus Web Server - Godlike Performance" (tacky ^^!) | ||
| 127 | 02:56 <cjdelisle> hmm | ||
| 128 | 02:58 <cjdelisle> http://tardate.blogspot.com/2007/03/request-header-rewrites-with-java.html | ||
| 129 | 02:58 <cjdelisle> A servlet filter, this looks doable | ||
| 130 | 02:59 <Pon> I would like just an Xwiki.fakehost=<whatever> ^^; | ||
| 131 | 03:00 <cjdelisle> xwiki.home should be that but I suspect it might have been broken when the url factory was rewritten. | ||
| 132 | 03:01 <cjdelisle> No tests broke and it was a little used function so it was forgotten. | ||
| 133 | 03:01 <cjdelisle> (this is just what I suspect, I have nothing to go on.) | ||
| 134 | 03:01 <Pon> I set xwiki.home=http://www.anime.org/ | ||
| 135 | 03:01 <Pon> no luck there at all | ||
| 136 | 03:04 <Pon> ok fail on zws rewrite engine. | ||
| 137 | 03:05 <Pon> I should report this as a zeus bug (feature!) too | ||
| 138 | 03:05 <cjdelisle> I'm looking at the code right now, it looks like we have a bug. | ||
| 139 | 03:06 <cjdelisle> But I should be able to make a modified class file you can drop in and get it running. | ||
| 140 | 03:06 <Pon> must be nice to be able to read java. | ||
| 141 | 03:06 <Pon> wao | ||
| 142 | 03:12 <cjdelisle> ok, I see what the problem is. | ||
| 143 | 03:13 <cjdelisle> That feature doesn't work unless used with a multiwiki "farm" which also explains why it was not noticed when it stopped working. | ||
| 144 | 03:14 <cjdelisle> Most users who are using a proxy are also running multi wiki. | ||
| 145 | 03:14 <Pon> so maybe if I turn on multiwiki and do nothing else, it will just work? | ||
| 146 | 03:16 <cjdelisle> It only seems to work for subwikis. | ||
| 147 | 03:16 <cjdelisle> Often the main wiki will be made unavailable for security reasons. | ||
| 148 | 03:19 <cjdelisle> !jira xwiki.home parameter | ||
| 149 | 03:22 <roxxo> has quit | ||
| 150 | 03:27 <Pon> if you want a bug report, I can file one for you ^^; | ||
| 151 | 03:31 <cjdelisle> I have a fix but it breaks 2 tests and I want to make sure it is safe. | ||
| 152 | 03:32 <Pon> amazing ^^; | ||
| 153 | 03:32 <Pon> UTF8????????? | ||
| 154 | 03:32 <Pon> that will give the irc bot something to worry about ^^; | ||
| 155 | 03:35 <cjdelisle> tcpdump -i lo -A -s 5000 | grep 'x-forwarded-host' | ||
| 156 | 03:35 <cjdelisle> try that one | ||
| 157 | 03:48 <Pon> nothing | ||
| 158 | 03:49 <Pon> nope, not a sausage | ||
| 159 | 03:49 <cjdelisle> It seems that xwiki is expecting x-forwarded-host header to exist and zeus is not sending it. | ||
| 160 | 03:50 <Pon> what should be in that field? | ||
| 161 | 03:50 <Pon> I can maybe fake that. | ||
| 162 | 03:50 <cjdelisle> it should be whatever host the user went to (anim.org) | ||
| 163 | 03:50 <Pon> like that? | ||
| 164 | 03:51 <Pon> oo | ||
| 165 | 03:51 <cjdelisle> I think so. | ||
| 166 | 03:51 <Pon> that seems to fix it | ||
| 167 | 03:51 <Pon> have a poke at the site if you want. | ||
| 168 | 03:51 <Pon> http://www.anime.org/xwiki/ | ||
| 169 | 03:51 <cjdelisle> I neeeed sleeo | ||
| 170 | 03:51 <cjdelisle> *sleep | ||
| 171 | 03:51 <Pon> oh right, it must be close to midnight for you | ||
| 172 | 03:52 <cjdelisle> only 10 but I go to bed and get up early for my time zone. | ||
| 173 | 03:52 <roxxo> has joined #xwiki | ||
| 174 | 03:53 <cjdelisle> Go ahead and open a bug on that since, if nothing else, the description of xwiki.home should be made more explainitory. | ||
| 175 | 03:53 <cjdelisle> good night. | ||
| 176 | 03:53 <cjdelisle> /morning | ||
| 177 | 03:54 <Pon> ok. | ||
| 178 | 03:54 <Pon> thank you for all the help ^^! | ||
| 179 | 03:54 <cjdelisle> you're welcome | ||
| 180 | 03:56 <Pon> I guess that would be xwiki core right? | ||
| 181 | 05:24 <venkatesh> has joined #xwiki | ||
| 182 | 05:25 <venkatesh> has quit | ||
| 183 | 05:25 <venkatesh> has joined #xwiki | ||
| 184 | 05:33 <Lockie> has joined #xwiki | ||
| 185 | 06:01 <Denis> has quit | ||
| 186 | 06:09 <Denis> has joined #xwiki | ||
| 187 | 07:00 <Lockie> has quit | ||
| 188 | 07:20 <sburjan`> has joined #xwiki | ||
| 189 | 07:50 <rstavro> has joined #xwiki | ||
| 190 | 07:53 <vmassol> has joined #xwiki | ||
| 191 | 07:59 <vmassol> bug fixing day! | ||
| 192 | 07:59 <Pon> all the velocity "deprecated" errors ...? | ||
| 193 | 08:00 <mflorea> has joined #xwiki | ||
| 194 | 08:10 <jstoldt> has joined #xwiki | ||
| 195 | 08:11 <jstoldt> good morning | ||
| 196 | 08:14 <Pon> well, its almost evening here ^^! | ||
| 197 | 08:14 <Pon> oh, the other day, today I got help from djcelisle and it seems to work ^^! | ||
| 198 | 08:43 <AndreasJonsson> has joined #xwiki | ||
| 199 | 08:47 <Pon> 18879 root 1678M 1498M sleep 59 0 0:46:20 0.1% java/352 | ||
| 200 | 08:47 <Pon> go go java! | ||
| 201 | 08:54 <sburjan> has joined #xwiki | ||
| 202 | 08:54 <+sburjan> good morning | ||
| 203 | 08:56 <Pon> evening! | ||
| 204 | 08:56 <Pon> almost 5pm! | ||
| 205 | 09:03 <jstoldt> Pon: what did you do to get it working? | ||
| 206 | 09:03 <jstoldt> just out of interest | ||
| 207 | 09:03 <rstavro> has quit | ||
| 208 | 09:03 <Pon> apparently, its expecting x-forwarded-host or so to contain its "outside" URL. | ||
| 209 | 09:04 <jvdrean> has joined #xwiki | ||
| 210 | 09:04 <Pon> so persuading zws to put that in made it work. | ||
| 211 | 09:04 <Pon> cjdelisle was a big help! | ||
| 212 | 09:04 <jstoldt> so it was a problem with the gateway after all? | ||
| 213 | 09:09 <Denis> has quit | ||
| 214 | 09:10 <Pon> yes and no | ||
| 215 | 09:10 <Pon> xwiki.home doesn't work ^^; | ||
| 216 | 09:29 <arkub> has joined #xwiki | ||
| 217 | 09:52 <jvdrean> has quit | ||
| 218 | 09:53 <tmortagne> has joined #xwiki | ||
| 219 | 09:55 <rstavro> has joined #xwiki | ||
| 220 | 10:01 <jstoldt> mflorea: | ||
| 221 | 10:01 <+mflorea> Hi | ||
| 222 | 10:01 <jstoldt> found a bug in the office importer app | ||
| 223 | 10:01 <jstoldt> hi | ||
| 224 | 10:01 <jstoldt> when you choose a non-ascii name, the name will be created with a wrong/broken title | ||
| 225 | 10:02 <jstoldt> trying to figure out if i already reported that | ||
| 226 | 10:02 <jstoldt> in jira | ||
| 227 | 10:02 <+mflorea> what name are you referring to? | ||
| 228 | 10:02 <+mflorea> target page name? | ||
| 229 | 10:02 <jstoldt> exactly | ||
| 230 | 10:02 <jstoldt> also, i noticed that the title of the target page is empty when using the importer app | ||
| 231 | 10:03 <jstoldt> i.e. create page from office doc | ||
| 232 | 10:03 <+mflorea> re non-ascii chars, look at the office import app in jira http://jira.xwiki.org/jira/browse/XAOFFICE | ||
| 233 | 10:04 <jstoldt> ^^ | ||
| 234 | 10:04 <jstoldt> also note that i closed XWIKI-5706 | ||
| 235 | 10:05 <+mflorea> re page title, are you sure it happens for all docs, I think it looks for the first heading in the doc content and sets it as title | ||
| 236 | 10:05 <jstoldt> okay, that might be it... because i tried presentations | ||
| 237 | 10:05 <jstoldt> still, room for improvement there | ||
| 238 | 10:06 <+mflorea> yes, but where should I take the title from in case of a presentation | ||
| 239 | 10:06 <+mflorea> I have only slide images | ||
| 240 | 10:06 <jstoldt> well, when creating a page via a "blind link" it sets the title to what the page name is, automatically | ||
| 241 | 10:06 <+mflorea> I see | ||
| 242 | 10:06 <jstoldt> which is something i'd also expect for the importer app | ||
| 243 | 10:07 <+mflorea> you can open a jira issue then, re page title for office presentation import | ||
| 244 | 10:07 <jstoldt> will do | ||
| 245 | 10:08 <+mflorea> thanks | ||
| 246 | 10:12 <jstoldt> XAOFFICE-58 | ||
| 247 | 10:16 <jstoldt> if i mark issues as "duplicates", should i close them? | ||
| 248 | 10:17 <+tmortagne> jstoldt: yep | ||
| 249 | 10:17 <jstoldt> okay | ||
| 250 | 10:17 <+tmortagne> and properly link it to the duplicated issue | ||
| 251 | 10:17 <+mflorea> yes, link as duplicate and close as duplicate | ||
| 252 | 10:18 <jstoldt> hmmm can't close XAOFFICE-45 | ||
| 253 | 10:18 <jstoldt> Neither XAOFFICE-49 | ||
| 254 | 10:18 <+mflorea> I can do it | ||
| 255 | 10:19 <jstoldt> ok | ||
| 256 | 10:19 <jstoldt> i linked them already | ||
| 257 | 10:20 <+mflorea> done | ||
| 258 | 10:20 <jstoldt> grea :) | ||
| 259 | 10:20 <jstoldt> *great | ||
| 260 | 10:21 <jstoldt> going to create an issue for the title char thing i reported | ||
| 261 | 10:21 <jstoldt> XAOFFICE-33 relates to it but it's not the exact same thing | ||
| 262 | 10:24 <jstoldt> XAOFFICE-59 | ||
| 263 | 10:33 <jvdrean> has joined #xwiki | ||
| 264 | 10:40 <lucaa> has joined #xwiki | ||
| 265 | 10:41 <jvelociter> has joined #xwiki | ||
| 266 | 10:45 <jstoldt> btw, i think sdumitriu or somebody else dropped a line about a bugfix version being released on thursday the other day | ||
| 267 | 10:45 <jstoldt> does that mean there will be a 2.7.1 release soon? | ||
| 268 | 10:46 <+mflorea> yes | ||
| 269 | 10:46 <Enygma`> has joined #xwiki | ||
| 270 | 10:46 <+mflorea> check the devs mailing list | ||
| 271 | 10:49 <jstoldt> nice | ||
| 272 | 10:50 <+sburjan> I found something odd. I have everything updated on my ui (ran svn up and maven stat) .. nothing new, everything seems updated. But my eclipse has some errors in EditObjectTest.java .. on method clickEditObject. I also checked the code from SVN, and it's the same. Odd thing is that that method doesn't exist anymore because vmassol refactored all the clickEdit methods (removed edit) from method names. | ||
| 273 | 10:50 <evalica> has joined #xwiki | ||
| 274 | 10:51 <+sburjan> My question is .. how the hell hudson didn't failed the test | ||
| 275 | 10:52 <+tmortagne> sburjan: well hudson fail to build | ||
| 276 | 10:53 <+tmortagne> it did not even started the tests | ||
| 277 | 10:53 <+tmortagne> which is normal if it has the same issue you have | ||
| 278 | 10:53 <+sburjan> I am looking at Build #365 (Feb 9, 2011 1:11:48 AM) | ||
| 279 | 10:53 <+tmortagne> yes build #365 is red as far as i can see | ||
| 280 | 10:54 <+tmortagne> did not looked at the details but it definitely failed | ||
| 281 | 10:54 <+sburjan> oh so red spheres means failed build ? and test not run ? | ||
| 282 | 10:54 <+tmortagne> yes | ||
| 283 | 10:54 <+sburjan> tmortagne: thanks ;) didn't know | ||
| 284 | 10:54 <+sburjan> now it makes sense :) | ||
| 285 | 10:54 <+tmortagne> red: failed build | ||
| 286 | 10:54 <+tmortagne> orange: failed tests | ||
| 287 | 10:54 <+tmortagne> green: ok | ||
| 288 | 10:54 <+sburjan> I was waiting to see a stack trace or something | ||
| 289 | 10:55 <+tmortagne> i mean blue | ||
| 290 | 10:55 <+tmortagne> not green | ||
| 291 | 10:55 <+tmortagne> i agree that there is not much blue on XE tests :) | ||
| 292 | 10:55 <+sburjan> :) | ||
| 293 | 10:55 <+sburjan> so in this case, should I create a patch to fix the build ? | ||
| 294 | 10:55 <+sburjan> I only have to change 2-3 lines | ||
| 295 | 10:56 <+sburjan> need a committer :P | ||
| 296 | 10:57 <+tmortagne> in which project is the issue ? | ||
| 297 | 10:57 <+tmortagne> ui-tests ? | ||
| 298 | 10:57 <+sburjan> yes | ||
| 299 | 10:57 <+sburjan> class EditObjectsTest.java | ||
| 300 | 10:57 <+tmortagne> ok openning it | ||
| 301 | 10:58 <+tmortagne> you already know what to change for sure ? | ||
| 302 | 10:58 <+sburjan> lines: ObjectEditPage oep = vp.clickEditObjects(); and oep = vp.clickEditObjects(); | ||
| 303 | 10:58 <+tmortagne> i can do it in that case (i don't know this project very well) | ||
| 304 | 10:58 <+sburjan> clickEditObjects() was refactored to EditObjects() | ||
| 305 | 10:59 <+sburjan> looking for the source of the issue | ||
| 306 | 10:59 <+sburjan> I think vmassol didn't notice those | ||
| 307 | 10:59 <+sburjan> just a sec | ||
| 308 | 11:00 <+sburjan> 34486 08.02.2011 15:15:20, by vmassol this is the commit that changed the methods | ||
| 309 | 11:00 <+sburjan> I see vmassol refactored that class to | ||
| 310 | 11:01 <+sburjan> so I guess someone committed over it with the older values, can't figure it out | ||
| 311 | 11:02 <+tmortagne> so what is the patch exactly ? | ||
| 312 | 11:02 <+sburjan> 34568 08.02.2011 23:35:34, by cjdelisle | ||
| 313 | 11:02 <+sburjan> this commit broke it :) | ||
| 314 | 11:03 <+sburjan> yey, found it | ||
| 315 | 11:03 <+sburjan> so basically you have to replace : | ||
| 316 | 11:03 <+sburjan> 1. ObjectEditPage oep = vp.clickEditObjects(); -> ObjectEditPage oep = vp.editObjects(); | ||
| 317 | 11:04 <+sburjan> 2. oep = vp.clickEditObjects(); -> oep = vp.editObjects(); | ||
| 318 | 11:04 <+sburjan> these 2 lines from EditObjectsTest.java class | ||
| 319 | 11:06 <+sburjan> IMO this is too small for an issue ... cjdelisle didn't have an issue also | ||
| 320 | 11:08 <+tmortagne> ok fixing it | ||
| 321 | 11:09 <+tmortagne> not sure this method is really finished | ||
| 322 | 11:09 <+evalica> cjdelisle: are you around? can you please change the status of the channel adding "Bug Fixing Day" ? :) | ||
| 323 | 11:09 <+tmortagne> there is an unused variable | ||
| 324 | 11:09 <+tmortagne> objectForm | ||
| 325 | 11:10 <+tmortagne> anyway fixing the build for now | ||
| 326 | 11:11 <+tmortagne> sburjan: should be ok now | ||
| 327 | 11:13 <+tmortagne> mflorea: did you know http://webodf.org/ ? | ||
| 328 | 11:13 <+tmortagne> thinking about office viewer | ||
| 329 | 11:14 <+tmortagne> seems nicer than convert it to html if it's working well | ||
| 330 | 11:14 <+mflorea> tmortagne: sounds interesting | ||
| 331 | 11:19 <vmassol> guys don't forget to use the bugfixingday tag in jira | ||
| 332 | 11:25 <+evalica> vmassol: we are gonna use that just for closed issues right? | ||
| 333 | 11:26 <vmassol> yes | ||
| 334 | 11:26 <+sburjan> also we could look for old issues to see if they are still available | ||
| 335 | 11:52 <abusenius> has joined #xwiki | ||
| 336 | 11:58 <+evalica> we should fix thing today right? in order to see an improvement - not report everything I see :P | ||
| 337 | 11:59 <vmassol> yes that's worse :) | ||
| 338 | 11:59 <vmassol> because that makes the bug count grow instead of reducing | ||
| 339 | 12:09 <jstoldt> iirc sergiu also mentioned reporting bugs would be good ;) | ||
| 340 | 12:09 <jstoldt> maybe i can come up with some more stuff :-P | ||
| 341 | 12:10 <vmassol> well the general idea is to catch up on our fixed bugs vs newly created bugs | ||
| 342 | 12:10 <jstoldt> i know ;) | ||
| 343 | 12:10 <vmassol> http://jira.xwiki.org/jira/secure/Dashboard.jspa?selectPageId=10000#Created-vs-Resolved-Chart/10470 | ||
| 344 | 12:11 <vmassol> we need to fix 80 to be even | ||
| 345 | 12:11 <vmassol> for the 1 year period | ||
| 346 | 12:11 <+tmortagne> now if there is bug to report not sure it's good to not do it... | ||
| 347 | 12:12 <jstoldt> well, i usually ask you if i should report it after i mention it here and you keep telling me to create issues, so don't shoot the messenger. ;-P | ||
| 348 | 12:14 <+sburjan> Ubuntu 11.04 will ship with LibreOffice instead of OpenOffice, so we'll have to support both :( | ||
| 349 | 12:14 <jstoldt> sburjan: not a real bother | ||
| 350 | 12:14 <jstoldt> i am using LibO for a number of weeks already | ||
| 351 | 12:14 <+sburjan> not now, because they still are similar, but they co in opposite direction .. talking about implementation | ||
| 352 | 12:14 <jstoldt> and the only bother was that i still needed some old config files from OOo | ||
| 353 | 12:14 <vmassol> tmortagne: right but if someone wants to participate in tis bugfixingday it's aobut fixing | ||
| 354 | 12:15 <+sburjan> so LibO is better than OO ? | ||
| 355 | 12:15 <+tmortagne> sburjan: like most of other linux distrib and anyone who want to use the right one ;) | ||
| 356 | 12:15 <vmassol> can we can do a bugreportingday another day ;) | ||
| 357 | 12:15 <jstoldt> imo yes, sburjan | ||
| 358 | 12:15 <vmassol> s/can/we can/ | ||
| 359 | 12:15 <jstoldt> i've actually been using go-oo for some time already | ||
| 360 | 12:15 <+tmortagne> vmassol: sure it's not a day to search for bugs but we shouldd not say to people to not report any bug if they have one | ||
| 361 | 12:15 <vmassol> jstoldt: if you want to help for this day you should fix some small stuff, could be documentation improvements, or other small stuff | ||
| 362 | 12:15 <jstoldt> and i think it was really an improvement | ||
| 363 | 12:16 <vmassol> tmortagne: of course we're not going to refuse people fillng in bugs | ||
| 364 | 12:16 <vmassol> but they won't be participating to the bugfixingday initiative that's all | ||
| 365 | 12:16 <jstoldt> vmassol: just point me to something... reviewing 850 tickets is already a days work for me... | ||
| 366 | 12:16 <+sburjan> tmortagne, jstoldt : yes, but I am saying that LibO will come bundled with 11.04 instead of OO. IMO this is a big step .. Cannonical switched from OO to LibO | ||
| 367 | 12:16 <+sburjan> ofc you can install whi you want in the end | ||
| 368 | 12:16 <jstoldt> sburjan: they said so months back | ||
| 369 | 12:16 <+sburjan> I was talking about the bunde :P | ||
| 370 | 12:17 <+sburjan> *bundle | ||
| 371 | 12:17 <jstoldt> so it's really no suprise here | ||
| 372 | 12:17 <+tmortagne> sburjan:cannonical is part of Libo contributors so it was more or less to come ;) | ||
| 373 | 12:17 <jstoldt> besides, i usually opt for the more open source kind of software | ||
| 374 | 12:17 <+sburjan> didn't knew that. All i know Cannonical has Goo, a custom OO | ||
| 375 | 12:17 <+sburjan> a modified OO more exactly | ||
| 376 | 12:18 <AndreasJonsson> I looked a bit at the old XWIKI-228, I recommend closing it without fix. | ||
| 377 | 12:18 <jstoldt> go-oo was a novel distribution | ||
| 378 | 12:18 <+tmortagne> they custom pretty much everything anyway | ||
| 379 | 12:18 <+tmortagne> to add reporting tools etc. | ||
| 380 | 12:19 <+sburjan> I wonder how they keep keeping up with so many custom-applications | ||
| 381 | 12:19 <jstoldt> hmmm i really see that more bugs are being reported since i started working with xwiki... funny the coincidence :-D | ||
| 382 | 12:19 <+sburjan> the Cannonical guys .. cloning appz and customizing for their own distro | ||
| 383 | 12:19 <+sburjan> I never understood how this works | ||
| 384 | 12:19 <jstoldt> prolly lots of automization... | ||
| 385 | 12:19 <+tmortagne> yep | ||
| 386 | 12:20 <+tmortagne> for most of application i think they patch them during the build | ||
| 387 | 12:20 <+sburjan> they would need an army on how many appz are in main universe | ||
| 388 | 12:20 <+tmortagne> and usually they contribute directly to theses application for there needs anyway | ||
| 389 | 12:20 <+tmortagne> they just don't wait for the patch to be applied | ||
| 390 | 12:20 <jstoldt> or use own repositories to which the pull changes from the official reps and only review them if problems occur | ||
| 391 | 12:23 <+evalica> AndreasJonsson: about XWIKI-228 can't test it - but if you are saying it works for you - you should add a comment to the issues saying that you couldn't reproduce the problem | ||
| 392 | 12:25 <+sburjan> tmortagne: seems ui-tests are building now :P | ||
| 393 | 12:25 <+tmortagne> sburjan: I hope so :) | ||
| 394 | 12:25 <+sburjan> we have failed tests, but not failed build :) | ||
| 395 | 12:26 <SvenDowideit> has quit | ||
| 396 | 12:26 <AndreasJonsson> evalica: I have not tested it, only inspected the code. Lots of changes have been made since the issue was reported. Doesn't seem likely that the error is still there. | ||
| 397 | 12:28 <SvenDowideit> has joined #xwiki | ||
| 398 | 12:28 <+evalica> AndreasJonsson: if you comment on it - the update will appear on [email protected] and if a commiter knows about the problem and agrees - will close the issue | ||
| 399 | 12:29 <SvenDowideit> has quit | ||
| 400 | 12:30 <SvenDowideit> has joined #xwiki | ||
| 401 | 12:38 <esdaniel> has joined #xwiki | ||
| 402 | 12:44 <esdaniel> jvelociter: nice script: XWiki-plus-groovy-is-love-the-10-lines-RSS-aggregator-macro - does it require any dependencies? Having trouble tyring to invoke on a clean-install | ||
| 403 | 12:45 <vmassol> hmm can we ban his ip or sometrhing? | ||
| 404 | 12:47 <abusenius> has quit | ||
| 405 | 12:48 <+jvelociter> esdaniel: haven't tried it for a while | ||
| 406 | 12:49 <+jvelociter> but there should not be much changes | ||
| 407 | 12:49 <+jvelociter> there are no other dependencies than the ones already in XE | ||
| 408 | 12:49 <+jvelociter> I can try it on a fresh install later on | ||
| 409 | 12:55 <esdaniel> jvelociter: thanks for clarifying, i suspect it's a case of 'user' error and i need to straighten that out, do let me know your test works though, please. | ||
| 410 | 12:57 <+jvelociter> ok, no pb | ||
| 411 | 13:05 <jstoldt> I'll be out for today | ||
| 412 | 13:05 <jstoldt> bye | ||
| 413 | 13:12 <jstoldt> has quit | ||
| 414 | 13:14 <mflorea> has quit | ||
| 415 | 13:29 <abusenius> has joined #xwiki | ||
| 416 | 13:31 <cjdelisle> good morning/afternoon | ||
| 417 | 13:32 <sdumitriu> has joined #xwiki | ||
| 418 | 13:32 <cjdelisle> 05:16 <+evalica> cjdelisle: are you around? can you please change the status of the channel adding "Bug Fixing Day" ? :) | ||
| 419 | 13:33 <+evalica> yeah - you were admin at that hour :P | ||
| 420 | 13:33 <+evalica> and it's "Bug Fixing Day" yey | ||
| 421 | 13:33 <cjdelisle> s/admin/asleep ;) | ||
| 422 | 13:33 <+evalica> so now ... what do you think? ;) | ||
| 423 | 13:34 <+evalica> *operator | ||
| 424 | 13:34 <cjdelisle> http://www.xwiki.org/ | Bug Fixing Day! | Most developers are online usually between 08-21 GMT | This channel is logged http://dev.xwiki.org/xwiki/bin/IRC/ | ||
| 425 | 13:34 <cjdelisle> ? | ||
| 426 | 13:34 <cjdelisle> gotta look up how long a topic can be, I think it's pushing it | ||
| 427 | 13:34 <+evalica> or just put it first :P | ||
| 428 | 13:36 <+sburjan> cjdelisle: it fits | ||
| 429 | 13:36 <cjdelisle> lol chanserv | ||
| 430 | 13:36 <cjdelisle> was going to let you guts do it, the bot says otherwise | ||
| 431 | 13:36 <cjdelisle> s/u/y/ | ||
| 432 | 13:36 <cjdelisle> argh | ||
| 433 | 13:37 <cjdelisle> every morning the keys on my keyboard are moved around! | ||
| 434 | 13:37 <+sburjan> cjdelisle: /topic http://www.xwiki.org/ | Bug Fixing Day! | Most developers are online usually between 08-21 GMT | This channel is logged http://dev.xwiki.org/xwiki/bin/IRC/ | ||
| 435 | 13:38 <+evalica> cjdelisle: Thank you :) | ||
| 436 | 13:38 <cjdelisle> Might be a cool idea to change the topic when releases come out aka #postgresql | ||
| 437 | 13:39 <+evalica> yeap | ||
| 438 | 13:40 <cjdelisle> XWIKI-5981 | ||
| 439 | 13:40 <cjdelisle> I have a patch but I don't know if it's safe. | ||
| 440 | 13:41 <cjdelisle> I need to know what the difference is between XWikiContext.getOriginalDatabase() anf XWikiContext.getMainWiki() | ||
| 441 | 13:46 <vmassol> lucaa: not sure it's good to use the com.xpn package in the dashboard macro. For ex it's not been used in the annotation-io lodule | ||
| 442 | 13:46 <vmassol> s/lodule/module/ | ||
| 443 | 13:47 <cjdelisle> haha so it's not just my keyboard | ||
| 444 | 13:48 <vmassol> :) | ||
| 445 | 13:48 <vmassol> restarting adium, it's really slow here | ||
| 446 | 13:48 <vmassol> has quit | ||
| 447 | 13:50 <vmassol> has joined #xwiki | ||
| 448 | 13:50 <cjdelisle> http://pastebin.com/ULLHFTsr <-- I made this change locally, it should solve XWIKI-5981 and passes all tests but I'm not confident in it at all. | ||
| 449 | 13:51 <cjdelisle> Maybe tmortagne or mflorea or whoever knows a lot about urls could take a look. | ||
| 450 | 13:52 <cjdelisle> The problem is that for a single wiki, changing xwiki.home has no effect. | ||
| 451 | 13:52 <cjdelisle> (maybe that is intentional in which case all we need is documentation) | ||
| 452 | 13:53 <cjdelisle> bbiab, coffee | ||
| 453 | 14:16 <DrLou> has joined #xwiki | ||
| 454 | 14:30 <venkatesh> has quit | ||
| 455 | 14:37 <vmassol> #bugfixingday is currently loosing: Week 8, 2010, 15 open, 9 closed…. come on guys, let's make an effort ! | ||
| 456 | 14:37 <vmassol> (see http://jira.xwiki.org/jira/secure/Dashboard.jspa?selectPageId=10000#Created-vs-Resolved-Chart/10470) | ||
| 457 | 14:37 <vmassol> oops wrong date | ||
| 458 | 14:38 <@sdumitriu> vmassol: I disagree a bit with XWIKI-5982 | ||
| 459 | 14:38 <@sdumitriu> The standard is to always put the page name in the title | ||
| 460 | 14:38 <vmassol> Week 7, 2011, 23 created, 28 closed | ||
| 461 | 14:38 <@sdumitriu> -core.rename.title = Renaming {0} | ||
| 462 | 14:38 <@sdumitriu> +core.rename.title = Rename Page | ||
| 463 | 14:38 <vmassol> sdumitriu: I don't know any standard but I do know what we currently have on existing pages | ||
| 464 | 14:38 <vmassol> Create Page | ||
| 465 | 14:38 <vmassol> Copy Page | ||
| 466 | 14:38 <vmassol> Create Space | ||
| 467 | 14:38 <vmassol> I aligned it on them | ||
| 468 | 14:39 <vmassol> it feels wrong to have non static titles too | ||
| 469 | 14:39 <@sdumitriu> I'm talking about history, comments, attachments (as standalone pages, not in tabs) | ||
| 470 | 14:39 <@sdumitriu> So there are two standards | ||
| 471 | 14:39 <vmassol> hmm didn't check those but in any case it couldn't work | ||
| 472 | 14:39 <vmassol> see my last mail for a different idea | ||
| 473 | 14:40 <@sdumitriu> Create is special, since it doesn't affect a document | ||
| 474 | 14:40 <@sdumitriu> Why couldn't it work? | ||
| 475 | 14:40 <vmassol> because we need a visual way to display a reference in this case | ||
| 476 | 14:40 <vmassol> you're not going to wrtite: | ||
| 477 | 14:40 <@sdumitriu> Renaming $doc.name | ||
| 478 | 14:40 <@sdumitriu> You are on a page | ||
| 479 | 14:41 <vmassol> Renaming page mypage for space space1, space2, space and wiki mywiki | ||
| 480 | 14:41 <@sdumitriu> You have the wiki-space-doc in the menu | ||
| 481 | 14:41 <@sdumitriu> And the breadcrumbs | ||
| 482 | 14:41 <@sdumitriu> You shouldn't display the full reference in the title | ||
| 483 | 14:41 <vmassol> ok yes we could do that right now it was the full name | ||
| 484 | 14:41 <mflorea> has joined #xwiki | ||
| 485 | 14:41 <vmassol> I aligned on copy actually | ||
| 486 | 14:41 <@sdumitriu> Actually no, not doc.name | ||
| 487 | 14:41 <vmassol> maybe that's the error | ||
| 488 | 14:41 <@sdumitriu> Renamin $doc.plainTitle | ||
| 489 | 14:41 <vmassol> hmmm | ||
| 490 | 14:42 <vmassol> not sure about title | ||
| 491 | 14:42 <vmassol> in that case if it's title then maybe we also need the source to be displayed | ||
| 492 | 14:42 <@sdumitriu> Yes | ||
| 493 | 14:42 <@sdumitriu> I agree with the rest of the changes | ||
| 494 | 14:42 <vmassol> ok | ||
| 495 | 14:42 <vmassol> I can change that | ||
| 496 | 14:42 <@sdumitriu> (adding space and name in the content) | ||
| 497 | 14:42 <@sdumitriu> My problem was with the title | ||
| 498 | 14:43 <vmassol> the good part is that it's not going ot break people who don't upgrade ;) | ||
| 499 | 14:43 <@sdumitriu> Emilie forgot her password again? | ||
| 500 | 14:43 <vmassol> seems so | ||
| 501 | 14:43 <vmassol> ok making the change sdumitriu | ||
| 502 | 14:43 <@sdumitriu> Thanks | ||
| 503 | 14:43 <vmassol> we need to change copy accoridnlgy too | ||
| 504 | 14:43 <@sdumitriu> Yes, I'll do that | ||
| 505 | 14:43 <@sdumitriu> Or do you want to do it? | ||
| 506 | 14:44 <vmassol> ok I can do it | ||
| 507 | 14:45 <+sburjan> sdumitriu: if you need the test machine please tell me so I can turn it on | ||
| 508 | 14:45 <@sdumitriu> sburjan: Thanks | ||
| 509 | 14:45 <vmassol> sdumitriu: Rename {0} instead of Renaming {0}, ok? | ||
| 510 | 14:45 <+sburjan> do you need it ? | ||
| 511 | 14:45 <@sdumitriu> sburjan: Not right now | ||
| 512 | 14:45 <+sburjan> ok | ||
| 513 | 14:45 <@sdumitriu> vmassol: Fine with me either way | ||
| 514 | 14:46 <vmassol> since we say "Create page" and not "Creating page" | ||
| 515 | 14:49 <vmassol> sdumitriu: do you like that we have links in the title? | ||
| 516 | 14:50 <vmassol> ex: Attachments for http://localhost:8080/xwiki/bin/view/Main/Pagewith.in.name. | ||
| 517 | 14:50 <@sdumitriu> It's nice, it's a quick way to get back to the document view | ||
| 518 | 14:50 <vmassol> ok I'll do it for consistency but I'm not a big fan | ||
| 519 | 14:50 <@sdumitriu> Before we had the new menu with link on the page name there was no way to get back | ||
| 520 | 14:51 <florinciu> has joined #xwiki | ||
| 521 | 14:51 <@sdumitriu> In the meantime, two other ways to get back have been introduced | ||
| 522 | 14:51 <@sdumitriu> So now it is a bit redundant, but I like it | ||
| 523 | 14:52 <@sdumitriu> mflorea: You should add bugfixingday keyword to the issues you close, even if they're Duplicate | ||
| 524 | 14:52 <@sdumitriu> XAOFFICE-49 | ||
| 525 | 14:53 <@sdumitriu> XAOFFICE-45 | ||
| 526 | 14:53 <+mflorea> ok, but this is not bug fixing :) | ||
| 527 | 14:54 <@sdumitriu> Bug triage is also useful | ||
| 528 | 14:54 <florinciu> has quit | ||
| 529 | 14:54 <+mflorea> ok, done | ||
| 530 | 14:54 <@sdumitriu> We're closing the gap on created vs closed | ||
| 531 | 14:57 <+jvelociter> hi rendering wizzards, tmortagne vmassol and all | ||
| 532 | 14:57 <+jvelociter> I'm trying to write a table row entry on several lines, so that it looks nice in the code | ||
| 533 | 14:57 <+jvelociter> is there a way I can escape new lines ? | ||
| 534 | 14:58 <+jvelociter> like you would do in config files | ||
| 535 | 14:58 <+jvelociter> something=blablabla,\ | ||
| 536 | 14:58 <+jvelociter> somethinfelse | ||
| 537 | 14:59 <@sdumitriu> jvelociter: Why not |(((line | ||
| 538 | 14:59 <@sdumitriu> line | ||
| 539 | 14:59 <@sdumitriu> line)|next table cell | ||
| 540 | 14:59 <+jvelociter> (I've tried the escape char at the end of the line but it does not work) | ||
| 541 | 14:59 <vmassol> jvelociter: yes you need to use (((…))) | ||
| 542 | 15:00 <+jvelociter> but that will create a group inside my cell | ||
| 543 | 15:00 <+jvelociter> no ? | ||
| 544 | 15:00 <vmassol> yes that's what you want: group several paragrpahs together | ||
| 545 | 15:00 <+jvelociter> no that's not what I want | ||
| 546 | 15:00 <vmassol> let me check something | ||
| 547 | 15:01 <+jvelociter> I just want to have a long long line written on several lines in the code | ||
| 548 | 15:01 <vmassol> jvelociter: this owrks fine: | ||
| 549 | 15:01 <vmassol> |=h1|=h2 | ||
| 550 | 15:01 <vmassol> |line1 | ||
| 551 | 15:01 <vmassol> line2|line3 | ||
| 552 | 15:01 <vmassol> now in xwiki synatx 2.0 you need a group if you want to include an empty line | ||
| 553 | 15:01 <+jvelociter> vmassol: ok but line1 and line2 are rendered on different lines, right ? | ||
| 554 | 15:01 <vmassol> yes | ||
| 555 | 15:02 <+jvelociter> yes but that's not what I want | ||
| 556 | 15:02 <+jvelociter> sorry if I misexpressed myself | ||
| 557 | 15:02 <vmassol> what you want odesn't exist | ||
| 558 | 15:02 <+jvelociter> ok | ||
| 559 | 15:02 <vmassol> you cannot break a single line in several lines | ||
| 560 | 15:02 <+jvelociter> that's what I needed to know | ||
| 561 | 15:03 <vmassol> not sure why you'd need that actually | ||
| 562 | 15:03 <+jvelociter> for readability purpose | ||
| 563 | 15:03 <vmassol> well several lines is more readable usually | ||
| 564 | 15:03 <vmassol> :) | ||
| 565 | 15:03 <+jvelociter> you don't understand | ||
| 566 | 15:03 <vmassol> ah yes | ||
| 567 | 15:03 <+jvelociter> readability of the code | ||
| 568 | 15:03 <vmassol> well | ||
| 569 | 15:03 <+jvelociter> not the content | ||
| 570 | 15:03 <vmassol> you can use the velocity macro ;) | ||
| 571 | 15:03 <+jvelociter> yes I have another subterfuge | ||
| 572 | 15:04 <+jvelociter> I will use #define | ||
| 573 | 15:04 <vmassol> and use the correct filter | ||
| 574 | 15:04 <+jvelociter> which filter do I want ? | ||
| 575 | 15:04 <vmassol> let me check | ||
| 576 | 15:04 <vmassol> the html one I think | ||
| 577 | 15:04 <+jvelociter> {{velocity filter="html" }} | ||
| 578 | 15:04 <+jvelociter> ? | ||
| 579 | 15:04 <vmassol> http://extensions.xwiki.org/xwiki/bin/view/Extension/Velocity+Macro+Filter | ||
| 580 | 15:04 <vmassol> yes | ||
| 581 | 15:04 <+jvelociter> great | ||
| 582 | 15:04 <vmassol> http://extensions.xwiki.org/xwiki/bin/view/Extension/Velocity+Macro+Filter#Hhtml | ||
| 583 | 15:06 <vmassol> I guess we could make that filter notion more generic and not only for velocity…. | ||
| 584 | 15:06 <vmassol> but it's a bit hard probbaly | ||
| 585 | 15:06 <vmassol> anyway not for now | ||
| 586 | 15:06 <vmassol> :) | ||
| 587 | 15:07 <vmassol> evalica: is this an idea: http://jira.xwiki.org/jira/browse/XABLOG-61 ? | ||
| 588 | 15:07 <vmassol> looks more like an improvement | ||
| 589 | 15:07 <vmassol> to me | ||
| 590 | 15:07 <vmassol> or a trivial bug fix | ||
| 591 | 15:07 <+evalica> you're right thanks | ||
| 592 | 15:07 <+evalica> I'll fix it | ||
| 593 | 15:08 <cjdelisle> I'd like to take a stab at XWIKI-5981, can someone tell me if xwiki.home is supposed to have any effect for single wiki installations? | ||
| 594 | 15:08 <vmassol> no idea cjdelisle | ||
| 595 | 15:11 <cjdelisle> Does anyone know what the difference is between XWikiContext.getOriginalDatabase and XWikiContext.getMainWiki? | ||
| 596 | 15:12 <cjdelisle> undocumented code blargh | ||
| 597 | 15:13 <cjdelisle> Suppose I could point one to the other and see who complains ;) | ||
| 598 | 15:16 <+tmortagne> cjdelisle: XWikiContext.getOriginalDatabase is not the main wiki | ||
| 599 | 15:16 <+tmortagne> AFAIK it's supposed to be modified each time you switch the wiki | ||
| 600 | 15:17 <cjdelisle> Ok. Is there something I can write into a comment in XWikiContext? | ||
| 601 | 15:17 <+tmortagne> or it's the request wiki maybe | ||
| 602 | 15:17 <+tmortagne> but for sure it has nothing to do with main wiki | ||
| 603 | 15:18 <cjdelisle> getOriginalDatabase == getDatabase at time of request? | ||
| 604 | 15:18 <+tmortagne> as I said i'm not sure, all i know is that it's not the same thing as main wiki | ||
| 605 | 15:18 <+sburjan> sdumitriu: "Verify that we can skip the default delete result page and instead redirect to any page we want." Is this URL valid according to the specification ? http://localhost:8080/xwiki/bin/delete/Main/DeleteAttachment&xredirect=http://localhost:8080/xwiki/bin/view/Main/ | ||
| 606 | 15:19 <+sburjan> because it doesn't redirect if I use it like this | ||
| 607 | 15:19 <cjdelisle> XWikiServletURLFactory.getServerURL() does not take into account the setting for "xwiki.home" unless db is not equal to getOriginalDatabase. | ||
| 608 | 15:20 <cjdelisle> So in a non-farm screnario, xwiki.home has no effect. | ||
| 609 | 15:21 <cjdelisle> if (xwikidb == null || xwikidb.equals(context.getOriginalDatabase())) { return this.serverURL; } | ||
| 610 | 15:21 <cjdelisle> I can't understand what that line is intended to do. | ||
| 611 | 15:26 <vmassol> cool one more color theme :) | ||
| 612 | 15:30 <cjdelisle> hmm, the changes were merged in from the 1.5 branch which is now gone. | ||
| 613 | 15:38 <+sburjan> vmassol: any idea how can I tset if an action I want to make has to _fail_ in order to pass the test, but without using try catch ? | ||
| 614 | 15:39 <vmassol> well the UI never fails so you cannot use try/catch for sure.... | ||
| 615 | 15:39 <vmassol> (in unit test that's what you should do though) | ||
| 616 | 15:39 <cjdelisle> @Test(expected=NullPointerException.class) | ||
| 617 | 15:39 <vmassol> in ui tests you tests the output condition | ||
| 618 | 15:40 <+sburjan> I am not logged, and want to delete a page, the ui doesn't have ui. so callding delete() should return in error .. "Element not found" | ||
| 619 | 15:40 <cjdelisle> (only for a unit test though as said) | ||
| 620 | 15:40 <+sburjan> the ui doesn't have Delete Page option. This is what I need to make sure | ||
| 621 | 15:40 <vmassol> that's easy | ||
| 622 | 15:41 <vmassol> but to do it properly you should add a PO method IMO | ||
| 623 | 15:41 <vmassol> so that you don't have to know about the xpath to the element | ||
| 624 | 15:41 <vmassol> in the test | ||
| 625 | 15:41 <cjdelisle> canDelete() ? | ||
| 626 | 15:42 <vmassol> something like isDeleteAvailable() | ||
| 627 | 15:42 <vmassol> canDelete if you want | ||
| 628 | 15:42 <+sburjan> so i should extend ViewPage PO and add a new method which returns bool _if_ the xpath is not visible or something like that ? | ||
| 629 | 15:42 <vmassol> yes | ||
| 630 | 15:42 <+sburjan> okay. but I'll stil lhave tu use try catch throw in PO | ||
| 631 | 15:42 <vmassol> return getDriver().findElements(By.xpath("…")).size() > 0; | ||
| 632 | 15:43 <vmassol> no | ||
| 633 | 15:43 <+sburjan> thanks :) | ||
| 634 | 15:47 <+sburjan> what do you say about allowedToDelete() ? | ||
| 635 | 15:47 <vmassol> I prefer can or is prefix | ||
| 636 | 15:47 <vmassol> it's more standard | ||
| 637 | 15:48 <vmassol> btw it's not about being allowed | ||
| 638 | 15:48 <vmassol> it's about being able to click a delete button | ||
| 639 | 15:48 <+sburjan> ok | ||
| 640 | 15:48 <+sburjan> canDelete() then :) | ||
| 641 | 15:51 <+sburjan> vmassol: the visibility of a WebElement can be checked with isEnabled() ? | ||
| 642 | 15:52 <+sburjan> because I already have that button as a WebElement, but can't cast size() on it, and I wouldn't like to have another piece of code looking for that | ||
| 643 | 15:52 <+sburjan> like findElements(....) as you suggested above | ||
| 644 | 15:52 <+sburjan> but it seems I don't have any other way | ||
| 645 | 15:54 <vmassol> isVisible could work indeed | ||
| 646 | 15:54 <vmassol> you need to cast the WebElement | ||
| 647 | 15:54 <vmassol> you cast to RenderedWebElement | ||
| 648 | 15:54 <+sburjan> okay.. thanks | ||
| 649 | 15:54 <vmassol> isDisplayed() | ||
| 650 | 15:54 <vmassol> see http://stackoverflow.com/questions/2646195/how-to-check-if-an-element-is-visible-with-webdriver | ||
| 651 | 15:55 <vmassol> only issue is that this might not work with the htmlunit driver but I havn"'t checked | ||
| 652 | 15:55 <abusenius> has quit | ||
| 653 | 15:56 <+sburjan> I'll test it | ||
| 654 | 15:56 <vmassol> answer: it works apparently: http://webdriver.googlecode.com/svn/javadoc/org/openqa/selenium/RenderedWebElement.html | ||
| 655 | 15:56 <vmassol> http://webdriver.googlecode.com/svn/javadoc/org/openqa/selenium/htmlunit/RenderedHtmlUnitDriverWebElement.html extends it | ||
| 656 | 15:57 <vmassol> safari driver doesn't seem to support it though: http://webdriver.googlecode.com/svn/javadoc/org/openqa/selenium/safari/SafariWebElement.html | ||
| 657 | 15:57 <vmassol> I don't know if their idea is that all driver should support it or not | ||
| 658 | 15:57 <vmassol> probably I'd say | ||
| 659 | 15:58 <vmassol> otherwise you just do as I mentioned and it'll always work | ||
| 660 | 15:58 <+sburjan> already done it to RenderedWebElem | ||
| 661 | 15:58 <+sburjan> now testing | ||
| 662 | 15:58 <+sburjan> wish me luck :) | ||
| 663 | 15:58 <vmassol> again casting to RenderedWebElement is not portable so IMO we should avoid it as much as possible | ||
| 664 | 15:59 <vmassol> especially since we have no reason to do that here | ||
| 665 | 16:02 <+sburjan> okay | ||
| 666 | 16:03 <+sburjan> but it would be cool to test on IE's .. if we are writing portable tests | ||
| 667 | 16:03 <+sburjan> maybe set up a IE test machine (we'll talk about that very soon) | ||
| 668 | 16:43 <abusenius> has joined #xwiki | ||
| 669 | 17:08 <sburjan> has quit | ||
| 670 | 17:32 <Enygma`> has quit | ||
| 671 | 17:35 <StefanO> has joined #xwiki | ||
| 672 | 17:35 <roxxo> hey guys, I'm back to bug the jodconverter xwiki exports about a popular traceback when exporting to rtf | ||
| 673 | 17:35 <roxxo> s/exports/experts/ | ||
| 674 | 17:36 <StefanO> Hello guys! Anca and I found a bug in Prototype 1.7+Scriptaculous1.9 regarding Sortables | ||
| 675 | 17:36 <StefanO> after dragging the elements stack on top of each other instead of rearranging as they should | ||
| 676 | 17:37 <roxxo> http://pastebin.com/4rhT4LmW <-- this is the result of exporting to RTF, although PDF and HTML exporting create files. Could it be an openoffice problem? | ||
| 677 | 17:38 <StefanO> this doesn't occur with older versions | ||
| 678 | 17:38 <StefanO> i tested in both xwiki 3.0 and in a local project | ||
| 679 | 17:39 <+lucaa> well, in xwiki 3.0 is actually proto 1.7 + scriptaculous 1.8.3 | ||
| 680 | 17:39 <+lucaa> and that;s one issue, that scriptaculous supports proto 1.7 only from 1.9 | ||
| 681 | 17:39 <+lucaa> so, along with http://jira.xwiki.org/jira/browse/XWIKI-5753 we should also upgrade scriptaculous | ||
| 682 | 17:40 <@sdumitriu> Back then scriptaculous wasn't released yet | ||
| 683 | 17:40 <+lucaa> ah, ok that's probably it | ||
| 684 | 17:40 <@sdumitriu> So, does it work with 1.9? | ||
| 685 | 17:40 <@sdumitriu> Did you test? | ||
| 686 | 17:40 <+lucaa> sdumitriu: can you help with this as part of bugfixing day? I need to finish something else now, unfortunately | ||
| 687 | 17:40 <+lucaa> StefanO says not, I'll leave you with him | ||
| 688 | 17:40 <+lucaa> (he tested) | ||
| 689 | 17:41 <@sdumitriu> Hah, XWIKI-5753 closed on 22Dec, Scriptaculous released on 23Dec | ||
| 690 | 17:41 <+lucaa> :) | ||
| 691 | 17:41 <StefanO> actually Scriptaculous 1.9 says REQUIRED_PROTOTYPE: '1.6.0.3', | ||
| 692 | 17:41 <StefanO> as a minimum requirement | ||
| 693 | 17:42 <StefanO> but it comes bundled with 1.7 | ||
| 694 | 17:43 <+lucaa> sdumitriu: are we using scriptaculous drag & drop for the panels wizard, by any chance? | ||
| 695 | 17:43 <StefanO> and Proto1.7 doen't work with both Scriptaculous 1.9 and 1.8.3 | ||
| 696 | 17:43 <@sdumitriu> No | ||
| 697 | 17:44 <@sdumitriu> The panel wizard uses hand made JS written in 2006 | ||
| 698 | 17:44 <+lucaa> mh... | ||
| 699 | 17:45 <StefanO> i reverted to an older bundle P 1.6.0.1 + S 1.8.1 and it works | ||
| 700 | 17:45 <evalica> has quit | ||
| 701 | 17:45 <+lucaa> I need this drag & drop to work for the dashboard editing | ||
| 702 | 17:46 <@sdumitriu> Maybe we're doing something wrong | ||
| 703 | 17:46 <+lucaa> while I found a 'hack' to fix it, I don't know if it's the best choice | ||
| 704 | 17:46 <@sdumitriu> Drag and drop should work, I doubt that Scriptaculous really shipped a broken version | ||
| 705 | 17:46 <@sdumitriu> I mean completely broken | ||
| 706 | 17:47 <@sdumitriu> Maybe something in our CSS or HTML structure triggers a bug | ||
| 707 | 17:47 <+lucaa> StefanO: can you test your local out of xwiki version for this combination? | ||
| 708 | 17:47 <+lucaa> p1.7 + s 1.9? | ||
| 709 | 17:47 <StefanO> i did | ||
| 710 | 17:47 <StefanO> same issue | ||
| 711 | 17:47 <+lucaa> and it works? | ||
| 712 | 17:47 <+lucaa> aah, interesting | ||
| 713 | 17:48 <+lucaa> can you try to recheck the params that we're passing to the Sortable,create? | ||
| 714 | 17:48 <StefanO> and i doubt you dashboard.js script could be the problem | ||
| 715 | 17:48 <@sdumitriu> Let's be clear on something: we're not downgrading prototype | ||
| 716 | 17:48 <+lucaa> no we're not | ||
| 717 | 17:49 <+lucaa> StefanO: well, just look again through it and check that they're fine. Then if it still fails, try to minimize that example as much as possible, with the minimal things required for a Sortable to fail | ||
| 718 | 17:49 <+lucaa> before that though, look for the scriptaculous bugtracker and see if there's anything reported on the topic | ||
| 719 | 17:49 <+lucaa> if not, report it | ||
| 720 | 17:49 <+lucaa> please | ||
| 721 | 17:50 <+lucaa> in the mean time for the dashboard, we'll hack it | ||
| 722 | 17:50 <StefanO> ok, i'll try all possible combinations and make a report on that | ||
| 723 | 17:50 <+lucaa> no, no | ||
| 724 | 17:50 <+lucaa> not all possible combinations | ||
| 725 | 17:50 <+lucaa> just one which corresponds to the documentation and contains the simplest Sortable that fails | ||
| 726 | 17:50 <+lucaa> the minimal number of options, etc | ||
| 727 | 17:50 <StefanO> well we have to see if it's prototype or scriptaculous the one that fails | ||
| 728 | 17:51 <+lucaa> it's scriptaculous on prototype, so I guess it's the scriptaculous guys that handle i | ||
| 729 | 17:51 <+lucaa> it | ||
| 730 | 17:51 <+lucaa> moving on private | ||
| 731 | 17:51 <StefanO> ok | ||
| 732 | 18:03 <StefanO> has quit | ||
| 733 | 18:05 <@sdumitriu> Interesting, in two years only one line of code was changed in Scriptaculous | ||
| 734 | 18:05 <@sdumitriu> No, two | ||
| 735 | 18:05 <npm_> is now known as <npm> | ||
| 736 | 18:08 <@sdumitriu> XWIKI-5987 | ||
| 737 | 18:08 <vmassol> sburjan`: can you handle the mail entitled "Documentation - Administration" on the users list? | ||
| 738 | 18:09 <vmassol> (ie fix the doc) | ||
| 739 | 18:09 <vmassol> (and reply to the mai) | ||
| 740 | 18:09 <vmassol> mail | ||
| 741 | 18:15 <+sburjan`> vmassol: ok.. let me reag it first | ||
| 742 | 18:16 <+sburjan`> read | ||
| 743 | 18:25 <cjdelisle> Does RTF export work? | ||
| 744 | 18:26 <mflorea> has quit | ||
| 745 | 18:30 <cjdelisle> roxxo: I just tried rtf and it seems to work for me, is it one specific page that fails? | ||
| 746 | 18:37 <evalica> has joined #xwiki | ||
| 747 | 18:40 <sdumitriu> has quit | ||
| 748 | 18:53 <jvelociter_> has joined #xwiki | ||
| 749 | 18:55 <jvelociter_> has quit | ||
| 750 | 18:59 <tmortagne> has quit | ||
| 751 | 19:09 <roxxo> cjdelisle: what page did you try? I've tried several different pages, including the default 2.7 Sandbox.WebHome | ||
| 752 | 19:09 <cjdelisle> do you have openoffice configured to do import/export? | ||
| 753 | 19:23 <roxxo> cjdelisle: hmm... good question. I started openoffice manually, and RTF isn't displayed in the File->Export.. menu, but it is displayed in the Save As. | ||
| 754 | 19:25 <cjdelisle> Ok so you are using openoffice integrated with xwiki. | ||
| 755 | 19:25 <jvdrean> has quit | ||
| 756 | 19:25 <cjdelisle> I really know nothing about the office integration. | ||
| 757 | 19:28 <roxxo> cjdelisle: right, it's connected to the Internally managed OO Server | ||
| 758 | 19:30 <rstavro> has left #xwiki | ||
| 759 | 19:30 <cjdelisle> You probably should have been here about 7 hours ago, most everyone has left already esp. the openoffice experts. | ||
| 760 | 19:30 <roxxo> aw man | ||
| 761 | 19:31 <roxxo> do they usually come back at a time other than 5AM? :) | ||
| 762 | 19:31 <sdumitriu> has joined #xwiki | ||
| 763 | 19:33 <cjdelisle> You could try sending mail to the user list. | ||
| 764 | 19:43 <roxxo> cjdelisle: the suits want a demo by tomorrow :( | ||
| 765 | 19:43 <roxxo> maybe pdf will suffice, what version of xwiki + openoffice + OS are you running when rtf export works fine? | ||
| 766 | 19:46 <roxxo> oh man, jira XWIKI-5866 is a known bug | ||
| 767 | 19:46 <cjdelisle> I am using 3.0M2 (which shouldn't matter) I do not have openoffice installed. | ||
| 768 | 19:47 <cjdelisle> was /away last couple minutes seeing what firefox does when passed: | ||
| 769 | 19:47 <cjdelisle> stream.print('<html><head></head><body>'); for(;;) { stream.print('<div>'); } | ||
| 770 | 19:47 <cjdelisle> it takes it surprisingly well | ||
| 771 | 19:48 <roxxo> wow | ||
| 772 | 19:48 <roxxo> are you being mean to firefox ...? | ||
| 773 | 19:48 <cjdelisle> testing... | ||
| 774 | 19:49 <cjdelisle> strong xml parser | ||
| 775 | 19:50 <cjdelisle> now stream.print('<html><head></head><body><a href="'); for(;;) { stream.print('z'); } | ||
| 776 | 19:51 <cjdelisle> Are you using openoffice for import functionality? | ||
| 777 | 19:55 <cjdelisle> hmm. java has a push speed of just about 7.5Mbps | ||
| 778 | 19:56 <roxxo> cjdelisle: I just uninstalled openoffice, and disconnected the OpenOffice Server, and RTFs are created.. sweet | ||
| 779 | 19:56 <roxxo> not so sweet, however: OO crashes when loading the resulting RTF | ||
| 780 | 19:57 <cjdelisle> probably XWIKI-5251 | ||
| 781 | 19:57 <roxxo> yup, that's the one | ||
| 782 | 19:59 <cjdelisle> I understand that people have gotten it to work with the openoffice server. | ||
| 783 | 20:00 <cjdelisle> jstoldt was setting that up but he's left 6 hours ago. | ||
| 784 | 20:02 <roxxo> aw man | ||
| 785 | 20:03 <cjdelisle> what's your operating system? windows? | ||
| 786 | 20:06 <roxxo> I'm running this on Ubuntu Lucid | ||
| 787 | 20:07 <cjdelisle> what is the package name of the openoffice server? | ||
| 788 | 20:13 <evalica> has quit | ||
| 789 | 20:15 <cjdelisle> It looks like I have it installed, if you can tell me how to set it up, I might be able to help you with your problem. | ||
| 790 | 20:15 <cjdelisle> (however I am lazy and do not want to RTFM) | ||
| 791 | 20:24 <arkub> has quit | ||
| 792 | 20:26 <roxxo> cjdelisle: sorry, had to put out a fire.. I just ran `aptitude install openoffice.org`, then in xwiki->Administer Wiki->OpenOffice Server set the Server Path to /usr/lib/openoffice, and Server profile to /home/xwiki/.openoffice.org/3 (though these were already filled in) | ||
| 793 | 20:28 <cjdelisle> ok, one minute. | ||
| 794 | 20:30 <cjdelisle> what version are you using? | ||
| 795 | 20:31 <cjdelisle> (xwiki) | ||
| 796 | 20:31 <roxxo> 2.7.0, though the same problem occurred with 2.4.3 | ||
| 797 | 20:34 <lucaa> has quit | ||
| 798 | 20:41 <cjdelisle> heh you're going to love this... | ||
| 799 | 20:42 <cjdelisle> it works for me | ||
| 800 | 20:42 <cjdelisle> you must be crazy :P | ||
| 801 | 20:44 <cjdelisle> here's what I did: | ||
| 802 | 20:44 <cjdelisle> start xwiki | ||
| 803 | 20:44 <cjdelisle> (it was running) | ||
| 804 | 20:44 <cjdelisle> goto Administor->OpenOffice Server | ||
| 805 | 20:45 <cjdelisle> Notice there are no fields to fill in, What is this?! | ||
| 806 | 20:45 <cjdelisle> Select start and click update | ||
| 807 | 20:46 <cjdelisle> look at error message because the openoffice dir is incorrect. | ||
| 808 | 20:46 <cjdelisle> can't change dir because the I can't fill in the fields, must be something wrong with my installation (yes, I abuse xwiki too.) | ||
| 809 | 20:46 <cjdelisle> easiest thing to do --> open a terminal | ||
| 810 | 20:47 <cjdelisle> su | ||
| 811 | 20:47 <cjdelisle> ln -s /usr/lib/openoffice/ /opt/openoffice.org3 | ||
| 812 | 20:47 <vmassol> sdumitriu: I'm finishing copy.vm changes but I have a question | ||
| 813 | 20:48 <cjdelisle> back to xwiki | ||
| 814 | 20:48 <@sdumitriu> vmassol: Shoot | ||
| 815 | 20:48 <vmassol> ${services.csrf.isTokenValid("$!{request.getParameter('form_token')}")} returns true if there's no form_token parameter, is that normal? | ||
| 816 | 20:48 <vmassol> ${services.csrf.isTokenValid("")} returns true | ||
| 817 | 20:48 <cjdelisle> notice it needs the profile directory to exist as well | ||
| 818 | 20:49 <cjdelisle> mkdir /usr/share/tomcat5.5/.openoffice.org | ||
| 819 | 20:49 <cjdelisle> mkdir /usr/share/tomcat5.5/.openoffice.org/3 | ||
| 820 | 20:49 <vmassol> sdumitriu: I was expecting false, am I understanding something wrongly? | ||
| 821 | 20:50 <cjdelisle> vmassol: it always returns true because otherwise there would be failures everywhere. | ||
| 822 | 20:50 <cjdelisle> (peper tiger) | ||
| 823 | 20:50 <cjdelisle> a | ||
| 824 | 20:50 <vmassol> cjdelisle: what's the point of this test then? (clearly there's something I don't get) | ||
| 825 | 20:50 <@sdumitriu> vmassol: If you didn't enable csrf, then it's normal | ||
| 826 | 20:50 <vmassol> oh | ||
| 827 | 20:50 <vmassol> it's false by default? | ||
| 828 | 20:50 <@sdumitriu> It's disabled by default | ||
| 829 | 20:50 <vmassol> ah | ||
| 830 | 20:50 <vmassol> ok I get it now | ||
| 831 | 20:51 <vmassol> thanks | ||
| 832 | 20:51 <cjdelisle> roxxo: still here? | ||
| 833 | 20:54 <roxxo> cjdelisle: yep, I'm half paying attention to this stupid meeting, and repeating your above steps | ||
| 834 | 20:55 <roxxo> ITIL needs to be banned | ||
| 835 | 20:56 <cjdelisle> ITIL? | ||
| 836 | 20:57 <roxxo> haha | ||
| 837 | 20:57 <roxxo> it's just management fluff certification about "processes" and "services" | ||
| 838 | 20:58 <cjdelisle> so anyway it complained about lack of content in the profile so I did: | ||
| 839 | 20:58 <cjdelisle> cp /home/user/.openoffice.org2/* /usr/share/tomcat5.5/.openoffice.org/3 -R | ||
| 840 | 20:58 <cjdelisle> and | ||
| 841 | 20:58 <cjdelisle> chown tomcat55 /usr/share/tomcat5.5/.openoffice.org/3 -R | ||
| 842 | 20:59 <cjdelisle> it seems to work despite being openoffice2 | ||
| 843 | 21:00 <roxxo> I have oo3 installed, and /usr/lib/openoffice exists and contains program,share,basis-*, is that what you get? | ||
| 844 | 21:00 <roxxo> I wasn't able to edit the paths through the xwiki admin interface either | ||
| 845 | 21:01 <cjdelisle> They can be edited in xwiki.properties but it was easier for me to symlink than restart tomcat | ||
| 846 | 21:02 <AndreasJonsson> Regarding csrf, I've enabled csrf and occasionally run into failures. Is there any plans to have it enabled by default in any release in the near future? | ||
| 847 | 21:02 <cjdelisle> I'm using debian lenny and it seemed that I had oo2 by default. | ||
| 848 | 21:03 <cjdelisle> How do you define "near"? ;) | ||
| 849 | 21:03 <AndreasJonsson> 3.x | ||
| 850 | 21:03 <cjdelisle> IMO good chance of it before 4.0 | ||
| 851 | 21:04 <AndreasJonsson> Great! | ||
| 852 | 21:05 <cjdelisle> hey, you're a security guy | ||
| 853 | 21:05 <cjdelisle> was playing with this earlier: | ||
| 854 | 21:05 <cjdelisle> stream.print('<html><head></head><body>'); for(;;) { stream.print('<div>'); } | ||
| 855 | 21:05 <cjdelisle> thought you might get a kick out of it | ||
| 856 | 21:05 <@sdumitriu> cjdelisle: Why is jbrBridge operator? | ||
| 857 | 21:06 <cjdelisle> because it auths as me | ||
| 858 | 21:06 <@sdumitriu> Aha | ||
| 859 | 21:06 <+abusenius> re csrf, I'd be +1 for enabling it at least during 3.1 and at least start fixing failures | ||
| 860 | 21:06 <cjdelisle> all runs through the same irssi instance. | ||
| 861 | 21:06 <+abusenius> it's just that I personally have no time :( | ||
| 862 | 21:07 <@sdumitriu> AndreasJonsson: I'll apply CSRF patches, can you point me to some? | ||
| 863 | 21:07 <cjdelisle> Maybe we could turn it on for milestones but off for releases so we get testing done. | ||
| 864 | 21:07 <+abusenius> *at least during 3.1 ... 3.1M2 | ||
| 865 | 21:07 <@sdumitriu> Like XAADMINISTRATION-218 | ||
| 866 | 21:08 <AndreasJonsson> I'm tagging my reports in jira with 'csrf' | ||
| 867 | 21:08 <+abusenius> cjdelisle: yes, that's what I mean | ||
| 868 | 21:08 <AndreasJonsson> I havent actually provided patches for all of them, though. | ||
| 869 | 21:09 <@sdumitriu> AndreasJonsson: K, I'll look at them | ||
| 870 | 21:10 <+abusenius> btw. AndreasJonsson thanks for testing, it's great that someone actually uses csrf protection :) | ||
| 871 | 21:16 <AndreasJonsson> No problem! | ||
| 872 | 21:17 <AndreasJonsson> cjdelisle: Will that cause a stack overflow in the parser? | ||
| 873 | 21:17 <@sdumitriu> I wonder if it's something we can do right now... | ||
| 874 | 21:17 <@sdumitriu> AndreasJonsson: Did you encounter any serious issues other than those that you reported? | ||
| 875 | 21:17 <AndreasJonsson> No | ||
| 876 | 21:18 <jvdrean> has joined #xwiki | ||
| 877 | 21:25 <roxxo> cjdelisle: maybe it has to do with xwiki's tomcat being installed under $HOME, though that should take care of everything permission-related, what files do you have in your openoffice.homepath and openoffice.profilePath? | ||
| 878 | 21:26 <cjdelisle> home path/ | ||
| 879 | 21:26 <cjdelisle> ? | ||
| 880 | 21:26 <cjdelisle> you mean server path? | ||
| 881 | 21:31 <+sburjan`> it's the same | ||
| 882 | 21:31 <cjdelisle> server path is ls /usr/lib/openoffice/ | ||
| 883 | 21:31 <cjdelisle> help presets program share | ||
| 884 | 21:32 <cjdelisle> and for profilepath I made a dir and copied what was in /home/user/.openoffice.org2/ | ||
| 885 | 21:33 <cjdelisle> whatever came with debian | ||
| 886 | 21:35 <+sburjan`> cjdelisle: you're using debian ? | ||
| 887 | 21:35 <cjdelisle> yes | ||
| 888 | 21:37 <+abusenius> sdumitriu: the problem with enabling csrf by default is not really the bugs, but failing tests imo | ||
| 889 | 21:37 <+abusenius> there are many false positives | ||
| 890 | 21:40 <AndreasJonsson> We should consider introducing a max nesting level for block elements in all parsers. | ||
| 891 | 21:45 <roxxo> cjdelisle: hmm, I'll try that | ||
| 892 | 22:06 <@sdumitriu> jvelociter: XAADMINISTRATION-161 | ||
| 893 | 22:06 <@sdumitriu> What do you mean by that? | ||
| 894 | 22:06 <@sdumitriu> What exactly is the problem? | ||
| 895 | 22:10 <vmassol> anyone has a multiwiki instance ready to test my latest commit? (copy feature between wikis) | ||
| 896 | 22:11 <@sdumitriu> sburjan`: I guess now is too late to ask for the IE test machine, right? | ||
| 897 | 22:12 <mflorea> has joined #xwiki | ||
| 898 | 22:21 <cjdelisle> sdumitriu: do you know anything about the xwiki.home param and whether it's supposed to work in a non-farm instance? | ||
| 899 | 22:21 <@sdumitriu> Nope | ||
| 900 | 22:22 <cjdelisle> I'm thinking that if there is only one wiki and it is set then all links should point to it. | ||
| 901 | 22:23 <cjdelisle> zeus proxy does not set x-forwarded-host and it rewrites the host: parameter, xwiki.home makes sense in a case like that. | ||
| 902 | 22:23 <cjdelisle> But it currently doesn't work that way. | ||
| 903 | 22:54 <+jvelociter> sdumitriu: I think I was refering to the inconstent look between regular admin sections and the ones introduced by configurable class | ||
| 904 | 22:54 <+jvelociter> but maybe it's less/not relevant anymore | ||
| 905 | 23:14 <vmassol> nice: 31 issues closed: http://jira.xwiki.org/jira/secure/IssueNavigator.jspa?reset=true&jqlQuery=resolved+%3E%3D+-5d+AND+keywords+~+bugfixingday+ORDER+BY+assignee+ASC | ||
| 906 | 23:14 <vmassol> 17 real ones | ||
| 907 | 23:16 <vmassol> only 5 committers to have closed issues though…. out of 15.... | ||
| 908 | 23:17 <vmassol> (sergiu, caty, marius, thomasM and me). jvelociter I think you could have tagged your issues as bugfixingday too | ||
| 909 | 23:18 <vmassol> cjdelisle: you didn't close any issue yet today? ;) | ||
| 910 | 23:18 <vmassol> (or you forgot to tag them?) | ||
| 911 | 23:19 <cjdelisle> I'm looking at XWIKI-5981 but it's a touchy issue and I want to get it right. | ||
| 912 | 23:19 <cjdelisle> (also I am slacking) | ||
| 913 | 23:19 <vmassol> right, you didn't pick an easy one | ||
| 914 | 23:20 <vmassol> jvdrean: come on you still have time to pick one that takes 5 minutes to fix! ;) | ||
| 915 | 23:20 <cjdelisle> But we get lots of free explainiation comments out of the deal. | ||
| 916 | 23:20 <vmassol> :) | ||
| 917 | 23:20 <vmassol> anca's been slacking too…. | ||
| 918 | 23:22 <vmassol> we're 18 committers in the hall of fame acdtually | ||
| 919 | 23:22 <vmassol> (including guilaume) | ||
| 920 | 23:22 <vmassol> cjdelisle: is the description I put for you on the hall of fame page ok: http://dev.xwiki.org/xwiki/bin/view/Community/HallOfFame ? | ||
| 921 | 23:23 <vmassol> (you can change it if you want) | ||
| 922 | 23:23 <cjdelisle> "the grinch"? | ||
| 923 | 23:23 <vmassol> :) | ||
| 924 | 23:23 <vmassol> talking about affiliation | ||
| 925 | 23:24 <cjdelisle> It doesn't matter to me. | ||
| 926 | 23:24 <vmassol> (not filiation ;)) | ||
| 927 | 23:24 <vmassol> cjdelisle: sure just wanted to make sure you're comfortable with what I put | ||
| 928 | 23:26 <cjdelisle> I was also thinking about tackleing that junit memory leak issue, it's so enchanting to imagine some arraylist somewhere that is not being emptied but I keep thinking the bug must exist because of some limitation. | ||
| 929 | 23:28 <vmassol> cjdelisle: you like complex stuff I can see…. ;) | ||
| 930 | 23:29 <cjdelisle> Need challenge or else I get bored. | ||
| 931 | 23:29 <vmassol> #bugfixingday is about fixing the max of easy stuff in one day IMO | ||
| 932 | 23:29 <vmassol> to make a dent in the # of total open bugs | ||
| 933 | 23:30 <vmassol> anyway I'm going to leave you guys, I'm not as night owl as you are…. going to be now | ||
| 934 | 23:30 <vmassol> s/be/bed | ||
| 935 | 23:31 <vmassol> nn, take care and enjoy | ||
| 936 | 23:31 <vmassol> has quit |