Last modified by Vincent Massol on 2013/05/14 23:50

Show last authors
1 <Inge-> has quit
2 00:22 <bouquetf> has quit
3 02:43 <xwikibot> has joined #xwiki
4 03:06 <cjd_> is now known as <cjd>
5 03:25 <xwikibot> has joined #xwiki
6 04:49 <sdumitriu> has quit
7 04:50 <sdumitriu> has joined #xwiki
8 06:36 <npm> has quit
9 06:41 <npm> has joined #xwiki
10 07:00 <cjd> has quit
11 07:21 <evalica> has joined #xwiki
12 07:52 <mflorea> has joined #xwiki
13 08:30 <vmassol> has joined #xwiki
14 08:59 <tmortagne> has joined #xwiki
15 09:12 <msmeria> has joined #xwiki
16 09:32 <cjd> has joined #xwiki
17 09:44 <vmassol> good morning
18 10:09 <tdelafosse> has joined #xwiki
19 10:15 <sburjan> has joined #xwiki
20 10:35 <Slashman> has joined #xwiki
21 10:46 <gdelhumeau> has joined #xwiki
22 10:47 <tdelafosse_> has joined #xwiki
23 10:49 <tmortagne> has quit
24 10:49 <tdelafosse> has quit
25 10:49 <tdelafosse_> is now known as <tdelafosse>
26 10:59 <mflorea> has quit
27 11:55 <Lamium> has joined #xwiki
28 11:56 <Lamium> I have a question about XWiki, if anyone has time?
29 11:56 <vmassol> shoot
30 11:56 <tmortagne> has joined #xwiki
31 11:58 <Lamium> I'm fairly new to the xwiki scene having only discovered it a couple of weeks ago. I'm looking for a way where I can create a predefined template where I want to create a product page. Essentially, the user would fill out a form with name, description of item, price, item picture and then the page would be created from that. I've looked up tutorials but I haven't found one that incorporates image uploading.
32 11:59 <vmassol> Lamium: regarding forms you should follow the FAQ tutorial on xwiki.org
33 11:59 <vmassol> it explains how to create some structure/forms
34 12:00 <tmortagne> you can also use appwithinminutes
35 12:00 <vmassol> tmortagne: the FAQ tutorial explains that
36 12:00 <vmassol> there are 2 tutorials
37 12:00 <tmortagne> ok
38 12:00 <Lamium> I tried app within minutes but there was no option for image uploading
39 12:00 <vmassol> http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial
40 12:01 <vmassol> regarding image uploading I'm not an expert, a simple version can be to ask users to attach an image to the page but you can also create some HTML button to upload the image, would need to research it to let you know how to do it though
41 12:01 <vmassol> here's maybe something that could help:
42 12:01 <vmassol> http://platform.xwiki.org/xwiki/bin/view/DevGuide/HTML5Upload
43 12:02 <Lamium> okay, that is the part I was hoping that xwiki would have an option for. I mean once I've got the image uploaded I was assuming I could maybe store the link as a variable and then pass all the variables out and build a page with the variables on the fly
44 12:02 <vmassol> I also found this: http://xwiki.475771.n2.nabble.com/HTML5-File-Upload-td7583955.html
45 12:02 <vmassol> App within minute may have an image picker , let me check
46 12:03 <Lamium> I didn't notice one if there was
47 12:03 <vmassol> if marius was here he'd know...
48 12:04 <Lamium> but thanks for the links! I can see about throwing something together with this
49 12:04 <vmassol> see http://extensions.xwiki.org/xwiki/bin/view/Extension/App+Within+Minutes+Application
50 12:04 <vmassol> It mentions an example to add a new picker
51 12:04 <vmassol> "External Image"
52 12:04 <vmassol> but I don't see a nice picker
53 12:05 <vmassol> ah there's this too:
54 12:05 <vmassol> http://extensions.xwiki.org/xwiki/bin/view/Extension/Attachment+Selector+Macro
55 12:05 <vmassol> (Lamium)
56 12:05 <vmassol> that's probably the simplest
57 12:05 <Lamium> Yeah was just reading through it now
58 12:06 <Lamium> I didn't see that external image picker when I was running through it but maybe I haven't configured something right
59 12:07 <vmassol> btw you can watch this issue for the image picker: http://jira.xwiki.org/browse/XWIKI-8589
60 12:07 <vmassol> (for AWM)
61 12:07 <Lamium> Also I must say, kudos to all the folk who built this. I'm using it in a personal project for knowledge reference and it's simply amazing!
62 12:07 <Lamium> Ah yes, I'm also experienced in JIRA, I work on EU Projects as my full-time job :)
63 12:08 <vmassol> thanks Lamium, would be great fi you could tweet something about it and then we/you could that reference to our testimonial page at http://www.xwiki.org/xwiki/bin/view/References/Testimonials
64 12:08 <vmassol> that helps us a lot to have these testimonials :)
65 12:08 <vmassol> gives us a boost!
66 12:08 <vmassol> nice re EU projects
67 12:08 <vmassol> I think there are several using XWiki
68 12:09 <Lamium> Yeah, I'm working on one called webinos at the moment
69 12:12 <vmassol> thanks for the tweet, just saw it ;)
70 12:12 <Lamium> Yeah was about to say that I just tweeted :)
71 12:12 <vmassol> I'll update the testimonial page, thanks
72 12:14 <vmassol> done, thanks again
73 12:14 <Lamium> My only critique about the thing at the moment is there is very little documentation on very specific things. For instance when I was looking up a way to create pages using xwiki none of them had an image uploader option (which is very common throughout CMS engines). But the one thing I do see is that the repositories and JIRA are very active and that is really good news for support and so on
74 12:14 <vmassol> yes we have good support, we're lacking a bit on the developer documentation
75 12:14 <vmassol> the user one should be pretty good but the dev one can be improved
76 12:15 <Lamium> Also your JIRA base is very structured compared to some EU projects I have seen ;)
77 12:15 <vmassol> hehe :)
78 12:16 <vmassol> I think the reason you didn't see any specific picker is that we come from the wiki domain and images are added as attachments nomrally
79 12:16 <vmassol> *normally
80 12:16 <vmassol> we're getting there though
81 12:17 <Lamium> I agree, there are many things in the XWiki that I would class as being CMS stuff and I must say you are doing a good job of blending the 2 so far :)
82 12:18 <vmassol> yup the differences between CMS and wikis are slowly disappearing but we want to keep the idea of creating content collaboratively in the wiki which is not the strong point of traditional CMSes
83 12:19 <Lamium> Yeah I did notice when creating content collaboratively with my team that notices kept on popping up saying that 'X' user currently has lock on this document for editing or something along those lines
84 12:20 <vmassol> ah regarding locking we have improvements planned
85 12:20 <Lamium> excellent!
86 12:20 <vmassol> we've released a first experimental real time editor
87 12:20 <vmassol> http://extensions.xwiki.org/xwiki/bin/view/Extension/RealTime+Wiki+Editor
88 12:20 <Lamium> do you have a github bramch for it?
89 12:20 <vmassol> (wiki editor only ATM)
90 12:21 <Lamium> ah I see, that was going to be my first question, is there WYSIWYG :P
91 12:21 <vmassol> and we want to work on this too: http://incubator.myxwiki.org/xwiki/bin/view/Improvements/CollaborativeEditing
92 12:21 <vmassol> we have some wysiwyg one but it's really a hard topic and it's not ready for prime time yet
93 12:22 <Lamium> I can understand that
94 12:22 <Lamium> If you can manage to implement the google doc system on xwiki that would be amazing
95 12:23 <vmassol> yep
96 12:23 <Lamium> but I understand that stuff like that is very difficult
97 12:25 <vmassol> Lamium: here's our try for that: https://github.com/xwiki-contrib/wiki30/tree/master/wiki30-realtime-wysiwyg-plugin
98 12:25 <vmassol> (in case you're interested to look at the sources)
99 12:26 <vmassol> that project (wiki 3.0) produced 2 real time editors: one wysiwyg and one wiki, we released the wiki one on http://extensions.xwiki.org/xwiki/bin/view/Extension/RealTime+Wiki+Editor
100 12:26 <vmassol> the wysiwyg one didn't get released yet, we have some blocking issues to make it as a good, feature-wise as the current wysiwyg editor
101 12:27 <Lamium> I'm assuming it's all coded in Java yes?
102 12:27 <vmassol> yes
103 12:27 <vmassol> some video of that project (wiki editor though): http://www.youtube.com/watch?v=HGdrVhATI3E
104 12:30 <Lamium> Taking a look at the video now, looks good so far
105 12:36 <Lamium> I like it! It's handy if you know the wiki syntax
106 12:36 <vmassol> cool
107 12:58 <mflorea> has joined #xwiki
108 14:11 <vmassol1> has joined #xwiki
109 14:16 <tmortagne> has quit
110 14:16 <tdelafosse> has quit
111 14:16 <vmassol> has quit
112 14:22 <sdumitriu> has quit
113 14:22 <tdelafosse> has joined #xwiki
114 14:22 <tmortagne> has joined #xwiki
115 14:24 <sdumitriu> has joined #xwiki
116 14:25 <Denis1> has joined #xwiki
117 14:26 <Denis1> is now known as <Denis>
118 14:47 <sburjan> has quit
119 14:54 <sburjan> has joined #xwiki
120 15:10 <evalica> has quit
121 15:34 <dirk_schmitt> has joined #xwiki
122 15:34 <dirk_schmitt> Hi - just a small notification:
123 15:34 <dirk_schmitt> On xwiki.org front page is an error message - "Unknown macro: contributors"
124 15:39 <vmassol1> dirk_schmitt: yeah it keeps being broken at each restart, we need to find the issue
125 15:39 <vmassol1> thanks
126 15:50 <dirk_schmitt> Another thing - I just give the reader application a try.
127 15:50 <dirk_schmitt> xwiki/bin/admin/Reader/WebPreferences?editor=spaceadmin&space=Reader&section=Reader
128 15:50 <dirk_schmitt> --> Failed to execute the [velocity] macro
129 15:50 <dirk_schmitt> --> Caused by: org.apache.velocity.exception.ParseErrorException: Lexical error: org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line 1, column 97. Encountered: <EOF> after : ""
130 15:52 <dirk_schmitt> (BTW: The install with the extension manager leave the rights for /Reader and /ReaderCode open to unregistered users)
131 16:06 <vmassol1> dirk_schmitt: you should report to the Reader project http://extensions.xwiki.org/xwiki/bin/view/Extension/Reader+Application
132 16:06 <vmassol1> it's maintained by jerome on his own github
133 16:07 <vmassol1> I'll ping him to move it to xwiki contrib actually
134 16:08 <vmassol1> and create a jira project for it in xwiki contrib
135 16:10 <jvelo1> has joined #xwiki
136 16:10 <jvelo1> hi
137 16:11 <vmassol1> is now known as <vmassol>
138 16:11 <vmassol> hi jerome
139 16:12 <dirk_schmitt> Hi Jerome - I just give the reader application a try.
140 16:12 <dirk_schmitt> xwiki/bin/admin/Reader/WebPreferences?editor=spaceadmin&space=Reader&section=Reader
141 16:12 <dirk_schmitt> --> Failed to execute the [velocity] macro
142 16:12 <dirk_schmitt> --> Caused by: org.apache.velocity.exception.ParseErrorException: Lexical error: org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line 1, column 97. Encountered: <EOF> after : "" 15:50:43
143 16:12 <dirk_schmitt> (BTW: The install with the extension manager leave the rights for /Reader and /ReaderCode open to unregistered users)
144 16:12 <jvelo1> Hi
145 16:13 <jvelo1> FYI I've just transferred the repository to xwiki-contrib as I have no plan to maintain it right now
146 16:13 <vmassol> ok I'll create a jira component for it in xwiki contrib
147 16:14 <jvelo1> (I can take bounties on it though :) )
148 16:14 <vmassol> ahah :)
149 16:14 <vmassol> bounties would be nice to set up officially, we talked about it but didn't actually set it up
150 16:14 <jvelo1> regarding your problem dirk_schmitt it doesn't ring a bell
151 16:15 <jvelo1> it may be due to an incompatibility with a more recent version of XWiki ?
152 16:15 <dirk_schmitt> If somebody wan't to have a "live view" please register at https://www.computer42.org/xwiki/ and give me a note.
153 16:15 <dirk_schmitt> XWIKI ENTERPRISE 4.5.3
154 16:16 <vmassol> dirk_schmitt: you can report jira issues here if you want: http://jira.xwiki.org/browse/XCONTRIB/component/12940
155 16:16 <jvelo1> dirk_schmitt: I've registered with "jvelo"
156 16:17 <tmortagne> vmassol: yep would be nice to setup what you suggested on the mailing list on jira
157 16:23 <vmassol> (about the bounty idea)
158 16:24 <tdelafosse_> has joined #xwiki
159 16:27 <Denis1> has joined #xwiki
160 16:31 <sburjan__> has joined #xwiki
161 16:35 <vmassol1> has joined #xwiki
162 16:35 <vmassol1> back
163 16:35 <sburjan> has quit
164 16:35 <tdelafosse> has quit
165 16:35 <Denis> has quit
166 16:36 <vmassol1> is now known as <vmassol>
167 16:39 <dirk_schmitt> @jvelo1 - I've put you in the admin group.
168 16:42 <tekzilla_> has quit
169 16:43 <tekzilla> has joined #xwiki
170 16:52 <dirk_schmitt> @jvelo1 -will be out of office for 1-2 hours
171 16:54 <sdumitriu1> has joined #xwiki
172 16:56 <sburjan__> Hello. Which is the best practice when creating an EventListener which listens on 3 Events (Document Created, Updated, Deleted). Handle all the 3 Events in the same onEvent method or write 3 separate Listeners for each of the Event ?
173 16:57 <kstuart1> has quit
174 17:00 <tmortagne> sburjan__: it mostly depends on how similar the reaction on these events are going to be
175 17:00 <kstuart> has joined #xwiki
176 17:00 <tmortagne> (there is no official best practice)
177 17:01 <sburjan__> tmortagne, my biggest problem is that I don't know how to see inside onEvent method which Event actually triggered this.
178 17:02 <tmortagne> if these events are going to manipulate different concept then I guess the cleanest is to have difference listener, but if they do pretty much the same thing like update a cache then it should be in the same listener
179 17:02 <tmortagne> you get the event as parameter
180 17:02 <tmortagne> you can use instanceof
181 17:02 <sburjan__> the first param of the onEvent method is an object of type Event, but I don't know what to call on it to get my
182 17:02 <sburjan__> *get what I need
183 17:02 <sburjan__> I don't have instanceOf :(
184 17:02 <msmeria> has quit
185 17:03 <vmassol> instanceof
186 17:03 <vmassol> it's part of java
187 17:03 <tmortagne> sburjan__: where are you exactly ?
188 17:03 <sburjan__> I know, but Eclipse autocomplete does not have this option
189 17:03 <tmortagne> you are not in java ?
190 17:03 <tmortagne> I can assure you Eclipse knows instanceof
191 17:04 <sburjan__> public void onEvent(Event event, Object source, Object data)
192 17:04 <sburjan__> {
193 17:04 <sburjan__> event.
194 17:04 <tmortagne> it's not a method
195 17:04 <tmortagne> it's a keyword
196 17:04 <sburjan__> ah ok
197 17:05 <sburjan__> so something like:
198 17:05 <sburjan__> public void onEvent(Event event, Object source, Object data)
199 17:05 <sburjan__> //my Code
200 17:05 <sburjan__> }
201 17:05 <tmortagne> yes
202 17:06 <sburjan__> ok, thanks :)
203 17:08 <sburjan__> playing with this I found out that when XWIki starts (each start) several documents are modified, or at least they trigger the DocumentUpdatedEvent.
204 17:08 <sburjan__> documents like Watchlist, etc
205 17:08 <sburjan__> I didn't know this :)
206 17:08 <tmortagne> yes I think there is jira issues about this
207 17:10 <tmortagne> having a document modified that often is wrong
208 17:14 <sburjan__> has quit
209 17:16 <Lamium1> has joined #xwiki
210 17:16 <npm_> has joined #xwiki
211 17:23 <Lamium> has quit
212 17:23 <npm> has quit
213 18:13 <vmassol> cool marius :)
214 18:58 <Inge> has quit
215 19:10 <tdelafosse_> has quit
216 19:11 <tmortagne> has quit
217 19:22 <gdelhumeau> has quit
218 19:23 <Slashman> has quit
219 19:40 <dirk_schmitt> @jvelo1 ping
220 19:54 <mflorea> has quit
221 20:45 <Denis1> has quit
222 20:46 <abusenius_> has joined #xwiki
223 21:22 <dirk_schmitt> has left #xwiki
224 22:28 <Denis> has joined #xwiki
225 22:57 <vmassol> has quit
226 23:46 <sdumitriu1> has quit
227 23:50 <Denis> has quit

Get Connected