IRC Archive for channel #xwiki
Last modified by Vincent Massol on 2012/10/18 19:13
lucaa joined #xwiki at 00:27
lucaa left at 01:01 (Ping timeout: 276 seconds
abusenius left at 03:48 (Ping timeout: 272 seconds
venkatesh joined #xwiki at 04:40
venkatesh left at 04:42 (Client Quit
venkatesh joined #xwiki at 04:42
venkatesh left at 06:10 (Remote host closed the connection
venkatesh joined #xwiki at 06:11
venkatesh left at 06:12 (Client Quit
venkatesh joined #xwiki at 06:12
baur joined #xwiki at 07:41
baur - (07:41): hi
baur - (07:41): where can i find the document that contains information about users
baur - (07:41): ?
cjdelisle - (07:44): here's one http://platform.xwiki.org/xwiki/bin/view/AdminGuide/User%20Management
baur - (07:44): I have already read that one
baur - (07:44): I mean where the information about the users is stored?
baur - (07:45): i think it is in some document
cjdelisle - (07:45): the admin user's information is stored in XWiki.Admin
cjdelisle - (07:46): Same for each user, it's XWiki.<his login name>
baur - (07:46): the question is: I have a list of users stored in the database with their username nad password, now I want to import this list of users to my xwiki, is there a way to do that?
cjdelisle - (07:48): Yes, you have to create a user document for each one. You can do this with a script if you spend some time to get familiar with the way the user document works and the scripting api.
baur - (07:49): hmm
cjdelisle - (07:50): Actually you might have a look at the createUser function in $xwiki
baur - (07:52): is this a correct path to admin document
baur - (07:52): http://localhost:8080/xwiki/bin/XWiki/XWiki.Admin
baur - (07:52): ?
cjdelisle - (07:53): http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/com/xpn/xwiki/platform/xwiki-core/2.5-rc-1/xwiki-core-2.5-rc-1-javadoc.jar/!/index.html
cjdelisle - (07:53): http://localhost:8080/xwiki/bin/XWiki/Admin
cjdelisle - (07:54): hmm createUser may not be that useful, it expects certain parameters to be set.
baur - (07:56): i can set them by default, can't I?
rrodriguez left at 07:59 (Quit: rrodriguez
cjdelisle - (07:59): Probably not, unless you use javascript on the client side.
baur - (08:02): if I transfer xwiki to a database, will all this information that is in the documents be stored in the database?
cjdelisle - (08:04): Yes but still in document form, you aren't going to get a user db table that way.
baur - (08:06): i c
baur - (08:07): i think the only way is to use LDAP authentication
baur - (08:07): and import all my users into LDAP
baur - (08:08): or create users one by one in xwiki
baur - (08:08): :)
baur - (08:09): thanks anyway
cjdelisle - (08:11): "create users one by one in xwiki" could be done with a script but might take just as long to learn the api and write the script.
mflorea joined #xwiki at 08:11
baur - (08:16): as far as I know, xwiki can support only one type of login uathentication, is that right?
baur - (08:16): au*
cjdelisle - (08:17): It supports ldap through the ldap plugin but I don't know anything about that plugin.
baur - (08:19): the problem with script is that my database is Oracle 9i, and XWiki does not compatable with Oracle 9i, it suppurts only Oracle 10g
cjdelisle - (08:24): Could leave XWiki in hsql (default db) and import the names still but you have to develop a script which is moderate to advanced scripting.
Stulle joined #xwiki at 08:34
silviar joined #xwiki at 08:51
Denis joined #xwiki at 08:59
sburjan joined #xwiki at 09:07
arkub joined #xwiki at 09:13
sburjan left at 09:25 (Read error: Connection reset by peer
silviar1 joined #xwiki at 09:27
silviar left at 09:30 (Ping timeout: 252 seconds
asrfel joined #xwiki at 09:36
silviar1 left at 09:43 (Quit: Leaving.
baur left at 09:53 (Ping timeout: 265 seconds
silviar joined #xwiki at 09:57
baur joined #xwiki at 10:00
marta_ joined #xwiki at 10:04
sdumitriu joined #xwiki at 10:05
sburjan joined #xwiki at 10:10
sburjan - (10:11): hello sdumitriu
sdumitriu - (10:11): Hi
sburjan - (10:12): tested the releases
sburjan - (10:13): only one thing I should note in addition is that windows installer (exe) starts succesfully only with UAC disabled. But I guess you knew this
sburjan - (10:14): so +1 for release
rrodriguez joined #xwiki at 10:23
rrodriguez_ joined #xwiki at 10:24
rrodriguez left at 10:27 (Ping timeout: 264 seconds
rrodriguez_ is now known as rrodriguez ([email protected]
Stulle - (10:33): hey
Stulle - (10:34): is there any way you could help me figure out how to modify the lightbox macro so it will allow me to use attached pictures from other pages without having to do some dirty html hacking (../../download/space/page/attachment.png kinda thing)?
Stulle - (10:34): i tried to modify the macro code but i keep getting velocity errors when i am trying to use string.substring or string.indexOf
vmassol - (10:35): good morning guys
sburjan - (10:36): good morning vmassol
cjdelisle - (10:39): ``The "spaces" macro is not in the list of registered macros.'' guess we're going to have to deal with that one.
sburjan - (10:40): where do you get that ?
cjdelisle - (10:41): When I first put in the .xar file and go strait to the main page (not logging in).
cjdelisle - (10:41): I think it's a tomcat/war thing.
cjdelisle - (10:42): Do you have the jetty/hsql copy running?
sburjan - (10:42): yes
sburjan - (10:42): and I don't get any errors when using the spaces macro
cjdelisle - (10:43): http://127.0.0.1:8081/xe250/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=Invitation <-- what do you get when you go there?
sburjan - (10:45): I get : Failed to create documents necessary for Invitation application to function.
cjdelisle - (10:45): hmm. Second case of "it used to work until I fiddled with the cache" :/
sburjan - (10:45): but I don't get the registered macros error in console
cjdelisle - (10:46): I don't get that in the console. It's in the window but only on tomcat it seems.
sburjan - (10:48): so spaces macro is somehow broken ?
cjdelisle - (10:48): It's known. Just until the machine is reset.
lucaa joined #xwiki at 10:48
lucaa left at 10:49 (Client Quit
cjdelisle - (10:49): re: "Failed to create documents necessary for Invitation application to function." that's ugly. If re-releasing applications is an option, I can put the config document in by default. Upgrade eats configuration but removes ugly error.
lucaa joined #xwiki at 10:49
cjdelisle - (10:51): Clearly Configurable needs a some attention in the 2.6 timeframe.
sburjan - (11:01): we should also remove all references to laszlo plugin
sburjan - (11:01): that is a minor thing anyway
cjdelisle - (11:01): And there are plenty of them IIRC.
sburjan - (11:02): guess so ..
sburjan - (11:03): should I file a JIRA for laszlo ?
vmassol - (11:03): yes
vmassol - (11:03): and list all the places where you found references
sburjan - (11:04): I have grepped platform and enterprise. I hope there aren't any other places where it is present
sburjan - (11:08): just that I can't find a suitable place in plugins category
cjdelisle - (11:10): XAINVITATION-15
sburjan - (11:10): I;ll put it in XWIKI-CORE. I've seen another laszlo issue there
sburjan - (11:15): XWIKI-5611
Enygma` joined #xwiki at 11:17
evalica joined #xwiki at 11:19
Enygma` left at 11:22 (Ping timeout: 252 seconds
jvdrean joined #xwiki at 11:23
Denis - (11:36): Hello, do you know why scriptaculous is loaded in edit.vm ? what part of it is really used ? I have a very bad experience with this and latest Chrome 7 release⦠a blank page for any editors ! sdumitriu ?
Stulle - (11:39): okay, i think i found a bug
Stulle - (11:40): if you add a couple of tags to a page it will recreate all tags but the last one, even if they already exist
cjdelisle - (11:41): What do you mean by recreate?
Stulle - (11:41): so if you have already creates Tag1, Tag2 and Tag3 on other pages, create a new page and then type "Tag1|Tag2|Tag3" in the Tags edit box a copy of Tag1 and Tag2 will be created with only one page having these tags
Stulle - (11:42): and Tag3 will be on the pages you created beforehand AND the new page
Stulle - (11:42): does the explanation make sense to you?
Stulle - (11:42): so basically i'd be stuck with two Tag1 and two Tag2
Enygma` joined #xwiki at 11:42
Stulle - (11:43): it only happens if you add more than one Tag at once and using the autocomplete feature does not help either
cjdelisle - (11:43): So you click on the tag and it goes to a unique tag even though it shouldn't be unique.
Stulle - (11:43): indeed
baur - (11:43): $xwiki.createUser(true) does that code create a user, if so, can I modify that function?
Stulle - (11:44): i'll be out for lunch, be back in 30 min or so
cjdelisle - (11:44): baur sort of, it will create a user but the name is specified by xwikiname request parameter. see register.vm for more information about parameters.
jvelociter joined #xwiki at 11:45
baur - (11:46): so if I create a loop with specified parameters and call this xwiki.createUser() then my users will be created?
cjdelisle - (11:46): You'd have to create an httpServletRequest with the parameters.
cjdelisle - (11:47): It's probably easier to use the api to create the user documents.
cjdelisle - (11:47): #set($myUser = $xwiki.getDocument("XWiki.$myUserName"))
cjdelisle - (11:48): #set($myUserObj = $myUser.getObject('XWiki.XWikiUsers'))
cjdelisle - (11:48): $myUserObject.set('firstName', 'John')
cjdelisle - (11:48): etc.
tmortagne joined #xwiki at 11:51
tmortagne left #xwiki at 11:51
sburjan - (11:53): cjdelisle: I fail to understand Stulle problem
cjdelisle - (11:54): I gather it means create 3 tags on page A, create same 3 tags on page B, click on one tag on page B, unless it's the last of the 3, it will think the tag is unique to page B and forget that it's also on page A.
sburjan - (11:55): I have done exactly this with 3 tags
sburjan - (11:56): and clicking on any tag lists the two pages
cjdelisle - (11:57): did you specify the as tag1|tag2|tag3| or tag1, tag2, tag3 ?
cjdelisle - (11:57): * tag1|tag2|tag3
sburjan - (12:00): I wrotethem manually
sburjan - (12:00): I mean afaik , is the delimitator
sburjan - (12:00): ","
cjdelisle - (12:01): He said he used | which is how they're delineated internally. Maybe that has something to do with it.
sburjan - (12:02): well if I write tag1 | tag2 | tag3 in the box, they are got in the same tag, they don't seem to be separated
cjdelisle - (12:03): ``then type "Tag1|Tag2|Tag3" in the Tags edit box'' Maybe without the spaces?
sburjan - (12:04): typed. they are taken as one tag
cjdelisle - (12:06): hmm. Non-repeatable bugs --> memtest86
sburjan - (12:07): I mean I don't know how are they internally delimited, but from the UI, the separator is ",".
sburjan - (12:08): I added same 7 tags to two distinct pages. And they all work. By work I mean that when clicking on them, both pages appear as having the tag
cjdelisle - (12:08): Perhaps it's strange system specific escaping bugs since it seems like | is getting escaped for you.
sburjan - (12:09): me neither
sburjan - (12:09): so what you're saying is that I can user either , or | as a separator and should work ?
cjdelisle - (12:10): I don't know.
evalica left at 12:12 (Quit: Leaving.
sburjan - (12:12): well I know for sure that | doesn't act as a separator on my instance. But, like you, I don't know the default and intended behaviour when using the |as delimitator
Stulle - (12:12): just to clarify, i used | in the tags edit in edit mode
Stulle - (12:12): and i used , when using the [ + ] in the tags area at the bottom of the page
Stulle - (12:13): either way, it fails in both of those just the same
evalica joined #xwiki at 12:13
sburjan - (12:13): well using , doesnt fail on my instance
Stulle - (12:14): and for all i know tags should be sperated either by | or ,
Stulle - (12:14): just checked the proper name of the box i mean in edit mode. it should be the document information panel
Stulle - (12:14): using , where?
sburjan - (12:14): from the [+] button at the bottom
Stulle - (12:18): well, it failed there for me, too
Stulle - (12:18): will try again in a few minutes when i created a new page
arkub left at 12:19 (Ping timeout: 250 seconds
sburjan - (12:22): yes, I think you areright
Stulle - (12:22): okay, i think my generalisation was wrong... now I did it as follows: used the + and then typed the first few chars of a tag, then clicked on the auto completed proper tag hit the , key and did the same for the next tag
sburjan - (12:23): | should be also a separator
Stulle - (12:23): added three tags out of which one was wrongly considered unique
marta_ left at 12:26 (Ping timeout: 250 seconds
baur - (13:04): if I create my own xwikiUser document like that: #set($myUser = $xwiki.getDocument("XWiki.$myUserName")), will it override the existing users document?
tmortagne joined #xwiki at 13:08
tmortagne left #xwiki at 13:10
rrodriguez left at 13:12 (Quit: rrodriguez
Stulle - (13:18): tried it again and again one out of three tags was considered unique when it's not
Stulle - (13:19): incidentally it was the second of the three again...
marta_ joined #xwiki at 13:21
rrodriguez joined #xwiki at 13:28
abusenius joined #xwiki at 13:38
rrodriguez left at 13:41 (Quit: rrodriguez
vmassol - (13:41): abusenius: hi. I see a # core.csrf.enabled = 0 config in xwiki.properties
vmassol - (13:41): this doesn't sound the right naming scheme
vmassol - (13:42): csrf.enabled seems the correct one
mflorea left at 13:42 (Quit: Leaving.
vmassol - (13:42): (since csrf is a module by itself)
abusenius - (13:42): vmassol: hi, hm, yes, sounds reasonable
vmassol - (13:43): abusenius: also we don't use 0 and 1 in xwiki.properties
vmassol - (13:43): but true/false
vmassol - (13:44): could you make those changes if you agree?
abusenius - (13:46): yes, is it still in time? release is in progress afaik
sburjan - (13:46): Stulle: file a JIRA issue and a detailed procedure on how to reproduce the issue
Stulle - (13:46): okay, will do
vmassol - (13:47): abusenius: yes unfortunately it seems too late for 2.5. Can be done for 2.6 with information in the release notes
sburjan - (13:48): Stulle: issue it under XWiki Tag Application
abusenius - (13:48): vmassol: ok
abusenius - (13:48): 2.6 and 2.5.1?
vmassol - (13:48): not sure re 2.5.1
vmassol - (13:48): it seems to be breaking backward compzt to me
vmassol - (13:49): so I'm rather ?1 for 2.5.1
vmassol - (13:49): since a bug fix release should never break backward compat
vmassol - (13:49): (abusenius)
abusenius - (13:49): ok
sburjan - (13:52): Stulle: only thing I see is that | doesn't act as a separator when it should
Stulle - (13:53): well, it works in the document info dialog in edit mode
Stulle - (13:53): although with the said error of making unique tags when it sometimes should not
Stulle - (13:53): i do actually recall that it should be possible to use , in document info and the [+] but | only in the document info
Stulle - (13:54): but i cannot figure out how i got to that knowledge...
sburjan - (14:03): me neither
sburjan - (14:05): don't know who wrote the Tag Application
Stulle - (14:06): i created an issue
Stulle - (14:06): XATAG-44
sburjan - (14:12): Stulle: how do you get to the document info panel ?
baur left at 14:12 (Quit: Page closed
sburjan - (14:12): using wiki or WYSIWYG ?
Stulle - (14:12): it's the one where you can decide on which syntax you want to be using
Stulle - (14:12): WYSIWYG
Stulle - (14:14): it might be the wrong name... i am running this instance on German so I'm just kinda trying to translate things on the fly when i have to
sburjan - (14:15): very interesting. because I get all pages for all tags
sburjan - (14:15): i get A and B too
sburjan - (14:15): on any tag
Stulle - (14:15): well, like i am saying it usually does not work for the middle one here and sometimes it also fails for the first time
Stulle - (14:16): at least for the middle one i did not have any run where it went well
sburjan - (14:16): When I click the Tag2 on the B page, I get to the tag page, and I have listed page A also there
sburjan - (14:17): I guess you're not getting page A listed .. that's the problem
Stulle - (14:17): it's actually duplicating the tag
Stulle - (14:17): so when i go to the tag cloud it shows Tag2 twice
Stulle - (14:18): i am obviously not using those dummy names here and i got more than two pages with those tags already
sburjan - (14:18): hmm .. I don't get Tag2 twice
sburjan - (14:18): odd
Stulle - (14:18): but it still fails all the time. and in the tag cloud i got like a big and fat "PDMLink" tag and a tiny skinny "PDMLink" tag, too
sburjan - (14:19): that shouldnt happend
Stulle - (14:19): i first noticed that like two weeks ago, shortly after i setup this instance of XWiki when I would have something like that
Stulle - (14:19): i know it shouldn't especially because i am using auto complete to be sure not to make any typos
sburjan - (14:19): I actually created 4 pages with tag1,tag2 and tag3 .. and they only come up once in the Tag Cloud
Stulle - (14:20): well, no such luck here, i am afraid...
Stulle - (14:20): PDMLink for instance is on 20-something pages already
Stulle - (14:20): i actually started working around this by just adding the tags one after another
Stulle - (14:21): and while it works, it's not very practicable if you just want to keep typing rather than having to use the mouse all the while in between
mflorea joined #xwiki at 14:27
sdumitriu - (14:28): Denis: Scriptaculous was used in the objects and rights editor at some time
sdumitriu - (14:28): But I don't think it's neededanymore
sdumitriu - (14:28): Anyway, I just tested on Chrome7/Linux and I don't see any problems
Denis - (14:29): sdumitriu: I use Scriptaculus 1.8.1 because 1.8.3 cause problems with accordions
Denis - (14:30): maybe 1.8.3 has less issue, but the scriptaculous.js loading mecanism in 1.8.1 with a defered loading cause issues with Chrome 7 on my Mac at least
Denis - (14:31): I get a blank page, and its content is just a head with several scripts elements loading scriptaculous
Denis - (14:31): I have fix this using defer=false
sdumitriu - (14:32): Scriptaculous has this problem
sdumitriu - (14:33): I specifically changed it in our sources to fix the defer problem
Denis - (14:33): this was post 2.4.3 than ?
sdumitriu - (14:33): Yes
Denis - (14:33): is it in 2.4..4 ?
sdumitriu - (14:33): Checking
sdumitriu - (14:34): 21st June, r29598
sdumitriu - (14:34): Should be 2.4M2
Denis - (14:35): I have this issue in 2.4.3, in edit.vm, and some others
sdumitriu - (14:35): Denis: Here's a patch if you want to merge it
sdumitriu - (14:35): http://pastebin.com/D9JVdc9m
Denis - (14:36): oh
Denis - (14:36): yes, it is on scriptaculous itself !
Denis - (14:36): obiously, I missed it since I use 1.8.1
Denis - (14:37): note that we were unable to have accordion working properly on 1.9.3
Denis - (14:37): 1.8.3
sdumitriu - (14:38): I know the accordion is failing currently
sdumitriu - (14:38): Doesn't work on the panel wizard, for example
Denis - (14:38): thanks for the patch
sdumitriu - (14:40): You're welcome
sdumitriu - (14:45): Dear voices, any problems detected with the build? Can I go on with finalizing the 2.5 release?
sdumitriu - (14:45): vmassol: XWIKI-5609 fixed
sdumitriu - (14:45): (for 2.5.1)
cjdelisle - (14:45): XAINVITATION-15
vmassol - (14:46): sdumitriu: I don't recall this issue but cool
sdumitriu - (14:46): sburjan: Who was complaining about the "deleted" tags?
sdumitriu - (14:47): vmassol: Please register your nick
vmassol - (14:47): sdumitriu: what does it bring already to do so?
sburjan - (14:47): sdumitriu: Stulle filed an issue, but not about deleting tags. Look here : XATAG-44
sdumitriu - (14:47): I'll make you a channel operator
vmassol - (14:47): (i have resisted so far)
vmassol - (14:47): why do I want to be a channel operator?
cjdelisle - (14:47): hehe me too.
sdumitriu - (14:47): sburjan: Yes, I read above, but I'm not sure it is a bug
sburjan - (14:47): so you can kick and ban people who annoy you :)
sburjan - (14:48): sdumitriu: me neither, because I am not able to reproduce
sdumitriu - (14:48): Using | as a separator was an ugly thing to start from
sburjan - (14:48): we can always remove | as a separator
sdumitriu - (14:48): Not quite, internally it is the only separator
sdumitriu - (14:48): But that's inside the database
sburjan - (14:48): http://localhost:8080/xwiki/bin/edit/XWiki/TagClass?editor=class
sdumitriu - (14:48): In the UI , was always the separator
sburjan - (14:48): we have it also in UI
sburjan - (14:49): Multiselect separators (for editing) and Join separator (for display)
sburjan - (14:49): they have | as separator
sdumitriu - (14:49): Yes, but only to support the internal separator
sburjan - (14:49): or that's for internals
sburjan - (14:49): I see
sdumitriu - (14:49): Users aren't used to "
sdumitriu - (14:49): |
sburjan - (14:49): well no .. I agree with that
sdumitriu - (14:49): , is the natural separator
sburjan - (14:50): but using | as a separator from the Panel works ...
sdumitriu - (14:50): The fact that they've seen | means that we failed at some point
sburjan - (14:50): and the other problem regarding the tag messing up and showing twice, I don't know what to say because I can't reproduce it
sdumitriu - (14:50): The panel needs to be redone
sdumitriu - (14:50): Anyway, that's not a critical regression, so the release can go on without it
sburjan - (14:51): ofc
sburjan - (14:51): you mean about 2.6 release.. right ?
sdumitriu - (14:51): 2.5
sburjan - (14:51): still waiting for the 2.5 release mail
sdumitriu - (14:51): The build was done, and if it's not broken, I'll publish it
sburjan - (14:51): well I gave you +1 for that :)
sburjan - (14:51): last morning
sburjan - (14:51): this morning
sdumitriu - (14:51): I'm only asking if the build is fine, not if there are known bugs in it
sdumitriu - (14:51): Fixing all the known bugs will take several years
sdumitriu - (14:52): :)
sburjan - (14:52): yeah ...
sburjan - (14:52): one day we will have to recheck the izpack packager
sdumitriu - (14:52): Yes, it's in the TODO list
sdumitriu - (14:52): One of the 56 open tabs
sdumitriu - (14:53): (in the Clean session)
sburjan - (14:53): one day ...
sburjan - (14:53): I have to go, catch up later
sburjan - (14:53): peace guys
sburjan left at 14:53 (Quit: Ex-Chat
Enygma` left at 14:56 (Read error: Connection reset by peer
Enygma` joined #xwiki at 14:56
venkatesh left at 15:22 (Remote host closed the connection
rrodriguez joined #xwiki at 15:55
rrodriguez left at 15:56 (Client Quit
rrodriguez joined #xwiki at 15:57
rrodriguez left at 15:57 (Client Quit
rrodriguez joined #xwiki at 15:59
rrodriguez left at 16:01 (Read error: Connection reset by peer
rrodriguez joined #xwiki at 16:03
abusenius - (16:36): is there allready some draft for 2.6 release notes around?
sdumitriu - (16:36): abusenius: No
sdumitriu - (16:36): Feel free to create one]
arkub joined #xwiki at 16:37
sdumitriu - (16:38): vmassol: The 2.1 syntax is not enabled by default, right?
vmassol - (16:39): sdumitriu: correct
vmassol - (16:39): you need to edit xwiki.cfg
vmassol - (16:39): and add it to the list
abusenius - (16:39): is there any specific template one should use for release notes?
abusenius - (16:39): (except for copy-pasting previous version)
sdumitriu - (16:39): Copy/paste
vmassol - (16:40): sdumitriu: maybe we should enable it by default?
vmassol - (16:40): (but not make it the default syntax)
sdumitriu - (16:40): vmassol: Not while it's experimental
sdumitriu - (16:40): vmassol: Maybe in 2.6
vmassol - (16:40): it needs to be visible though no?
vmassol - (16:40): so that users can start experimenting
vmassol - (16:40): it's marked experimental
vmassol - (16:40): (in the combo bo)
sdumitriu - (16:40): vmassol: I was asking because I'd like to add a {{info}} in the release notes
vmassol - (16:40): s/bo)/box)/
silviar left at 16:41 (Quit: Leaving.
vmassol - (16:41): ok we can make it enabled in 2.6
sdumitriu - (16:42): vmassol: Syntaxes are listed in xwiki.cfg, shouldn't that setting be moved to xwiki.properties?
vmassol - (16:42): sdumitriu: sure
vmassol - (16:42): the code needs to be modified in xwiki-core
vmassol - (16:43): that's the reason it's in xwiki.cfg
vmassol - (16:43): since xwiki-core uses xwiki.cfg in general
vmassol - (16:43): but we can change that if we want
vmassol - (16:46): status: I have almost completed a generic algorithm for icon mapping to wiki syntax!
sdumitriu - (16:46): Everyone, please review the release notes and correct/add anything you want
vmassol - (16:46): I'll be able to commit in a few minutes/1 hour...
sdumitriu - (16:50): This is a pretty big release... Lots of stuff in it
vmassol - (16:51): sdumitriu: I don't like the linking to the incubator for the avatar
vmassol - (16:51): I'll edit it
sdumitriu - (16:51): K
vmassol - (16:51): doing it now
jbrBridge left at 16:52 (Read error: Operation timed out
sdumitriu - (16:52): OK, I'm done with the release notes
jbrBridge joined #xwiki at 16:52
vmassol - (16:53): fixig interwiki links section
vmassol - (16:58): I'm done
vmassol - (16:58): sdumitriu: api breakages section is still worng
vmassol - (16:58): wrong
sdumitriu - (16:59): vmassol: Right, fixing it
sdumitriu - (17:01): vmassol: Do I remove everything from the clirr excludes?
sdumitriu - (17:01): <!-- Not really API changes, just moved to another project -->
abusenius - (17:01): the part about testing csrf protection is almost invisible in general notes
vmassol - (17:02): sdumitriu: these should not be removed
abusenius - (17:02): I'd move it into a sub-sub-section in migration notes
sdumitriu - (17:02): abusenius: +1
sdumitriu - (17:02): I missed it, although it was listed in the summary
abusenius - (17:02): is somebody editing?
sdumitriu - (17:02): Not me
jvelociter - (17:03): guys: I'd like to promote 2 sandbox/ projects to projects/ in contrib, to benefit from the continuous integration : spaces (a light space manager written as a component) and userevents (a module that adds a couple of OM events related to users actions like registration / activation)
jvelociter - (17:03): anybody against ?
jvelociter - (17:04): (I'd like to skip the formal VOTE on devs and move them + release them right away, but I can send a mail to sum this up if you want)
jvelociter - (17:04): (re http://contrib.xwiki.org/xwiki/bin/view/Main/WebHome#HPromotingaprojectoutofthesandbox )
jvelociter - (17:04): vmassol sdumitriu jvdrean
sdumitriu - (17:05): jvelociter: +1
jvdrean - (17:05): jvelociter: fine with me
vmassol - (17:06): jvdrean: +1 to send the vote mail
vmassol - (17:06): or if we think that it doesn't require a vote then we should vote to change the rules ;)
vmassol - (17:06): it's important to send the vote IMO
vmassol - (17:06): since the only real public place is ht elist
vmassol - (17:06): this irc channel is not visible
sdumitriu - (17:06): xwikibot disagrees a bit :p
jvelociter - (17:07): vmassol: then I'll go for changing the rule
vmassol - (17:07): yes but how many of us read the archives
jvelociter - (17:07): :)
vmassol - (17:07): btw that's why the ASF doesn't like irc
jvelociter - (17:07): and honestly I see this mail as a little BS
jvelociter - (17:07): (the one I would send)
vmassol - (17:08): jvelociter: I"m fine to change the rules if we think it's useless
jvelociter - (17:08): because I think nobody relally cares
vmassol - (17:09): what does moving to contrib/projects mean? that it gets its own jira?
jvelociter - (17:09): not necessarly
vmassol - (17:09): what's the difference between projects/ and sandbox/?
sdumitriu - (17:09): I guess it's more semantic than technological
jvelociter - (17:09): released projects should be in projects/
jvelociter - (17:09): I think
vmassol - (17:09): in any case I agree about not having a vote mail since contrib is not endorsed by the xwiki dev team
vmassol - (17:09): (ie committers)
vmassol - (17:10): I guess the ony issue
vmassol - (17:10): is when several people work on the same project
vmassol - (17:10): so VOTE would be for people active on a given project
vmassol - (17:10): but not xwiki committers
jvelociter - (17:11): I can send myself an email
sdumitriu - (17:11): Lots of places with comments like:
sdumitriu - (17:11): <!-- Skip Clirr execution since this is the first release of this module. Remove once XE 2.4 is released. -->
vmassol - (17:11): sdumitriu: hmm leftovers probably, we need to remove them
vmassol - (17:11): since they could hide real api changes
sdumitriu - (17:12): Yep
jvelociter - (17:12): vmassol: but do we want to interfer in how people (teams) handle their projects on contrib ?
jvelociter - (17:12): I guess they should decide themselves if they need a VOTE or not, no ?
vmassol - (17:12): jvelociter: seen how many people work in contrib right now, I'd say we don't need the VOTE rule for now
jvelociter - (17:13): agreed
sdumitriu - (17:13): We need better comments when skipping clirr
vmassol - (17:13): jvdrean: I'll let you send a VOTE to remove the VOTE ;)
sdumitriu - (17:13): I don't know if something is a new API and should be skipped, or broken API and should be mentioned in the RN
jvelociter - (17:13): lol
vmassol - (17:13): anything new breaks backward compat
vmassol - (17:14): (if it's part of an existing class)
vmassol - (17:15): complete new class could be skipped I guess - you should do what's easiest
lucaa1 joined #xwiki at 17:20
lucaa left at 17:24 (Ping timeout: 252 seconds
evalica left at 17:25 (Quit: Leaving.
Enygma` left at 17:29 (Ping timeout: 252 seconds
sdumitriu left at 18:05 (Ping timeout: 264 seconds
mflorea left at 18:05 (Ping timeout: 252 seconds
marta_ left at 18:06 (Ping timeout: 265 seconds
arkub left at 18:09 (Quit: Leaving
mflorea joined #xwiki at 18:10
marta_ joined #xwiki at 18:10
lucaa1 left at 18:14 (Ping timeout: 252 seconds
sdumitriu joined #xwiki at 18:18
flaviusolaru joined #xwiki at 18:20
vmassol - (18:28): committed!
vmassol - (18:29): if anyone finds a better algorithm please suggest it since i'm sure mine can be improved
vmassol - (18:29): it was an interesting exercise to implement....
vmassol - (18:29): tree merging and all
vmassol - (18:29): )
vmassol - (18:29): ;)
Stulle left at 18:29 (Ping timeout: 265 seconds
vmassol - (18:30): (I'm talking about icon mappings in the xwiki syntax)
cjdelisle - (18:30): As with most things, memory vs cpu.
mflorea left at 18:31 (Quit: Leaving.
mflorea joined #xwiki at 18:31
vmassol - (18:31): cjdelisle: yep
sdumitriu - (18:31): vmassol: Lots of API breakages this time
vmassol - (18:32): sdumitriu: yes huge
vmassol - (18:32): in rendering module
sdumitriu - (18:32): vmassol: org.xwiki.rendering.scaffolding.MockWikiModel
vmassol - (18:32): I know
sdumitriu - (18:32): Should that be reported?
vmassol - (18:32): not really
vmassol - (18:32): you could exclude it
vmassol - (18:32): I wanted to move it to the internal package
vmassol - (18:32): but forgot it
cjdelisle - (18:42): hehe this looks quite a bit like C.
cjdelisle - (18:46): I was reading about a high capacity servlet container which used a fixed number of threads each doing a set task and each streaming the data to the next as opposed to having a variable number of general purpose threads.
cjdelisle - (18:48): The renderer looks like it's designed similar to that.
sdumitriu left at 18:48 (Ping timeout: 276 seconds
marta_ left at 18:49 (Ping timeout: 264 seconds
flaviusolaru left at 18:51 (Quit: Leaving.
flaviusolaru joined #xwiki at 18:51
flaviusolaru left at 19:14 (Quit: Leaving.
mflorea left at 19:17 (Quit: Leaving.
rrodriguez left at 19:31 (Ping timeout: 252 seconds
rrodriguez joined #xwiki at 19:37
florinciu joined #xwiki at 19:50
sdumitriu joined #xwiki at 20:03
sburjan` left at 20:18 (Read error: Connection reset by peer
sburjan` joined #xwiki at 20:18
sdumitriu left at 20:30 (Ping timeout: 252 seconds
jvelociter - (20:34): mmmmh when evaluating a document included in syntax 2.0, PR is evaluated against the including document, not the included one...
jvelociter - (20:34): is that a desired behavior ?
jvelociter - (20:35): IIRC it was not like that w/ syntax 1.0
cjdelisle - (20:37): Are you using {{include?
cjdelisle - (20:38): {{include document="blah" context="new" /}} should fix that.
jvelociter - (20:40): I thought of that, but I'm not sure I actually want a new context
sdumitriu joined #xwiki at 20:40
jvelociter - (20:41): (I don't know what it implies exactly actually, need to read the doc)
cjdelisle - (20:41): It means that $doc and stuff will be different.
jvelociter - (20:41): that what I suspected
jvelociter - (20:41): need to check I don't rely on $doc being what it is
jvelociter - (20:42): apart from that, any idea how I could retrieve a XWikiDocument out of a document w/o PR (in java)
jvelociter - (20:42): ?
cjdelisle - (20:44): Hopefully not ;)
abusenius_ joined #xwiki at 20:44
cjdelisle - (20:44): btw: if context and PR don't stick together you get this: http://jira.xwiki.org/jira/browse/XWIKI-5255
sdumitriu - (20:44): jvelociter: It's normal that {{include}} evaluates PR on the old doc
abusenius left at 20:44 (Ping timeout: 255 seconds
sdumitriu - (20:44): #includeForm does the same
sdumitriu - (20:45): {{include context="same"}} <=> #includeForm
jvelociter - (20:45): cjdelisle: well in java you bypass PR anyway
cjdelisle - (20:45): in java you "have" pr.
abusenius_ is now known as abusenius ([email protected]
jvelociter - (20:46): yes
cjdelisle - (20:46): If you're in java just import com.xpn.xwiki.web.Utils and load the context component.
jvelociter - (20:46): but it's not that simple if you call code that use the #hasProgrammingRight() check
cjdelisle - (20:46): Oh, so you need to trick it into thinking you have pr.
jvelociter - (20:47): mmh you mean force the PR ?
jvelociter - (20:47): how do I do that ?
jvelociter - (20:47): changing the "sdoc"
jvelociter - (20:47): maybe
cjdelisle - (20:47): Many ways, all evil hacks.
sdumitriu - (20:47): XWIKI-5255 will be fixed by XWIKI-1724 which is in progress on my computer
cjdelisle - (20:48): XWIKI-1724
cjdelisle - (20:48): neat.
cjdelisle - (20:48): hehe still macros though.
sdumitriu - (20:48): Hm, that could be fixed as well
cjdelisle - (20:49): Being careful to eval the code which declares custom macros before calling them is the key.
cjdelisle - (20:49): ^^ so far
mflorea joined #xwiki at 21:19
lpereira joined #xwiki at 21:39
mflorea left at 22:28 (Quit: Leaving.
lpereira left at 22:38 (Quit: Leaving.
vmassol - (22:38): guys if you want to test some fun stuff, build the latest XE from trunk (or wait for the next hudson build) and try putting one of these in a page: :) ;) :P :D :( (y) (n) (+) (?) (-) (!) (i) etc
vmassol - (22:39): next edit xwiki.properties and add rendering.transformation.icon.mappings = <whatever> = <name of an icon>
vmassol - (22:41): (icon names are available here: http://www.famfamfam.com/lab/icons/silk/previews/index_abc.png )
rrodriguez left at 22:42 (Ping timeout: 252 seconds
vmassol - (22:46): nn
vmassol left at 22:46 (Quit: Leaving.
rrodriguez joined #xwiki at 22:48
florinciu left at 23:33 (Read error: Connection reset by peer
asrfel left at 23:47 (Quit: Leaving.
sburjan` - (23:47): congratulations for the release !