Wiki source code of IRC Archive for channel #xwiki

Last modified by Vincent Massol on 2012/10/18 19:11

Show last authors
1 nickless left at 00:42 (Ping timeout: 252 seconds
2 jvdrean left at 00:49 (Quit: Leaving.
3 mflorea joined #xwiki at 07:16
4 Denis joined #xwiki at 07:54
5 plunden1 joined #xwiki at 08:10
6 kibahop joined #xwiki at 08:20
7 mflorea left at 08:36 (Ping timeout: 276 seconds
8 lucaa joined #xwiki at 09:09
9 gvallarelli joined #xwiki at 09:11
10 gvallarelli - (09:11): Hi
11 Enygma` joined #xwiki at 09:17
12 evalica joined #xwiki at 09:32
13 tmortagne joined #xwiki at 09:46
14 arkub joined #xwiki at 09:49
15 SvenDowideit left at 09:49 (Ping timeout: 246 seconds
16 sdumitriu joined #xwiki at 09:50
17 SvenDowideit joined #xwiki at 09:50
18 jvdrean joined #xwiki at 09:55
19 SvenDowideit left at 09:58 (Ping timeout: 246 seconds
20 SvenDowideit joined #xwiki at 09:58
21 SvenDowideit left at 10:05 (Ping timeout: 246 seconds
22 SvenDowideit joined #xwiki at 10:05
23 nickless joined #xwiki at 10:16
24 mflorea joined #xwiki at 10:23
25 jvelociter joined #xwiki at 10:32
26 arkub left at 10:35 (Ping timeout: 258 seconds
27 arkub joined #xwiki at 10:48
28 Ciprian joined #xwiki at 10:54
29 KermitTheFragger joined #xwiki at 11:07
30 jvdrean left at 11:09 (Quit: Leaving.
31 jvdrean joined #xwiki at 11:11
32 anamarias joined #xwiki at 11:23
33 jvdrean - (11:34): [release] starting core 2.3 release
34 kibahop left #xwiki at 11:34
35 nickless left at 11:35 (Read error: Operation timed out
36 jvdrean - (11:52): @all please look for missing stuff in http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise23
37 jvdrean left at 12:13 (Quit: Leaving.
38 flaviusolaru joined #xwiki at 12:15
39 jvelociter_ joined #xwiki at 12:16
40 jvelociter left at 12:16 (Read error: Connection reset by peer
41 jvelociter_ is now known as jvelociter ([email protected]
42 jvelociter_ joined #xwiki at 12:20
43 jvelociter left at 12:20 (Read error: Connection reset by peer
44 jvelociter_ is now known as jvelociter ([email protected]
45 jvelociter left at 12:24 (Read error: Connection reset by peer
46 jvelociter joined #xwiki at 12:25
47 mariusbutuc joined #xwiki at 12:28
48 jvelociter left at 12:28 (Read error: Connection reset by peer
49 jvelociter joined #xwiki at 12:29
50 jvelociter left at 12:33 (Read error: Connection reset by peer
51 jvelociter joined #xwiki at 12:33
52 jvelociter left at 12:37 (Read error: Connection reset by peer
53 jvelociter joined #xwiki at 12:37
54 jvelociter_ joined #xwiki at 12:41
55 jvelociter left at 12:41 (Read error: Connection reset by peer
56 jvelociter_ is now known as jvelociter ([email protected]
57 jvelociter_ joined #xwiki at 12:46
58 jvelociter left at 12:46 (Read error: Connection reset by peer
59 jvelociter_ is now known as jvelociter ([email protected]
60 jvelociter left at 12:50 (Read error: Connection reset by peer
61 jvelociter joined #xwiki at 12:50
62 jvelociter_ joined #xwiki at 12:54
63 jvelociter left at 12:54 (Read error: Connection reset by peer
64 jvelociter_ is now known as jvelociter ([email protected]
65 jvelociter left at 12:58 (Read error: Connection reset by peer
66 jvelociter joined #xwiki at 12:59
67 nickless joined #xwiki at 13:01
68 jvelociter_ joined #xwiki at 13:02
69 jvelociter left at 13:02 (Read error: Connection reset by peer
70 jvelociter_ is now known as jvelociter ([email protected]
71 florinciu joined #xwiki at 13:32
72 kibaho1 joined #xwiki at 13:48
73 jvdrean joined #xwiki at 13:48
74 florinciu left at 14:09 (Read error: Connection reset by peer
75 florinciu joined #xwiki at 14:11
76 kibaho1 left #xwiki at 14:22
77 tmortagne - (14:33): CalebJamesDeLisl: there is no way to use ConfigurableClass just to have some custom content included in admin UI section but without the form around it the whole section ? what i want to add is not only about setting some value in a xobject
78 tmortagne - (14:34): we should have a system more generic than ConfigurableClass just with the dynamically register some admin UI section part
79 Enygma` left at 15:06 (Quit: Leaving.
80 plunden1 left #xwiki at 15:10
81 jvdrean - (15:21): I'll restart myxwiki.org in 2min after the 2.3 upgrade
82 jvdrean - (15:25): done
83 florinciu left at 16:05 (Read error: Connection reset by peer
84 florinciu joined #xwiki at 16:10
85 mariusbutuc left at 16:23 (Quit: Leaving.
86 Denis - (16:24): jvelociter: XE-539 do not affect 2.3 and 2.4 ?
87 jvelociter - (16:24): Denis: it does
88 jvelociter - (16:25): updated
89 jvelociter - (16:25): (and removed fix fersion)
90 Denis - (16:28): thanks
91 Denis - (16:34): sdumitriu: XWIKI-1962, why it is marked fix for 2.2.6, it seems so old and not fixed even in 2.3, no ?
92 sdumitriu - (16:43): It's one of those issues that gets passed from each version to the next, without getting fixed
93 sdumitriu - (16:43): I need to find some time to debug it
94 sdumitriu - (16:43): You can remove 2.2.6 from it
95 Denis - (16:44): should I add 2.3.1 ?
96 sdumitriu - (16:44): Put it on 2.4M1
97 sdumitriu - (16:44): only
98 Denis - (16:44): ok
99 sdumitriu - (16:44): If it gets fixed, I'll merge if necessary
100 Enygma` joined #xwiki at 16:53
101 evalica left at 17:00 (Read error: Connection reset by peer
102 nickless left at 17:13 (Ping timeout: 248 seconds
103 Enygma` left at 17:28 (Quit: Leaving.
104 sdumitriu left at 17:41 (*.net *.split
105 plunden left at 17:41 (*.net *.split
106 sdumitriu joined #xwiki at 17:42
107 plunden joined #xwiki at 17:42
108 flaviusolaru left at 17:56 (Read error: Connection reset by peer
109 florinciu left at 18:08 (Read error: Connection reset by peer
110 florinciu joined #xwiki at 18:09
111 Ciprian left #xwiki at 18:18
112 CalebJamesDeLisl - (18:25): tmortagne: Yes you can put some custom content without a form, all you need to do is define codeToExecute but not set a class name.
113 CalebJamesDeLisl - (18:25): See the annotations application.
114 tmortagne - (18:27): CalebJamesDeLisl: problem is that it looks like the content of the codeToExecute is executed inline
115 CalebJamesDeLisl - (18:27): Inline?
116 tmortagne - (18:27): when i have
117 tmortagne - (18:27): = some header =
118 tmortagne - (18:27): i codeToExecute i get a <h1> inside a <p>
119 CalebJamesDeLisl - (18:28): I have been facing that problem with html macros.
120 CalebJamesDeLisl - (18:29): Is there a way to make a macro not be inside of a <p> block?
121 tmortagne - (18:29): that mean that codeToExecute content is inserted in some inline macro or something, i did not looked how its used
122 tmortagne - (18:29): CalebJamesDeLisl: a macro is either standalone or inline, if you don't want it to be inline then put it alone and donne in nother paragraph
123 tmortagne - (18:30): s/donne/not/
124 CalebJamesDeLisl - (18:30): So if I put \n above and below then it should not be inside of the <p>?
125 tmortagne - (18:30): alone means that nothing is just before/after the macro
126 tmortagne - (18:31): another way to say it is that it should visually be alone
127 CalebJamesDeLisl - (18:31): If that macro is still inline then that's something I have to fix.
128 tmortagne - (18:31): text
129 tmortagne - (18:31): {{standalone}}
130 tmortagne - (18:31): text
131 tmortagne - (18:31): ra
132 tmortagne - (18:31): don(t look at it
133 tmortagne - (18:31): pidgin remve empty line
134 tmortagne - (18:32): CalebJamesDeLisl: http://pastebin.com/fFqTbMu2
135 tmortagne - (18:33): http://pastebin.com/7qDhB1Ax
136 arkub left at 18:33 (Ping timeout: 258 seconds
137 CalebJamesDeLisl - (18:34): I'll take a look at it later. It should definitely be standalone.
138 nickless joined #xwiki at 18:35
139 annacondan joined #xwiki at 18:37
140 florinciu left at 18:38 (Quit: Leaving.
141 mflorea left at 18:40 (Quit: Leaving.
142 tmortagne - (18:44): CalebJamesDeLisl: is there something i can include to have the normal configurable UI (list of fields) in my custom UI ?
143 tmortagne - (18:44): i need some custom UI before and after
144 tmortagne - (18:49): CalebJamesDeLisl: it's ok, I found your comment in ConfigurableClass document content
145 tmortagne - (18:52): hmm there is maybe more than what i need actually
146 tmortagne - (18:57): no it's ok, sorry for the noise
147 tmortagne - (19:02): CalebJamesDeLisl: i can take care of fixing the standalone/inline bug Wednesday (i have to go and i will not have time tomorrow) since i need it anyway
148 gvallarelli - (19:04): got to go goodbye
149 gvallarelli left #xwiki at 19:04
150 KermitTheFragger left at 19:07 (Quit: Leaving
151 tmortagne - (19:07): CalebJamesDeLisl: http://jira.xwiki.org/jira/browse/XAADMINISTRATION-135
152 tmortagne - (19:07): have to go, bye
153 tmortagne left at 19:07 (Quit: Leaving.
154 jvelociter - (19:26): I all. I made a patch to have the feed plugin in core create feed entries document in syntax 2.0 by default (with xwiki.cfg options for backward compatibility support / custom syntax and/or content support)
155 jvelociter - (19:26): XWIKI-5142
156 jvelociter - (19:27): I'd like to commit it in 2.3 branch and trunk, if everyone is OK with that. Let me know what you think
157 sdumitriu - (19:33): Is it needed on 2.3? Since it's not a bugfix, I'd rather have it on 2.4 only
158 sdumitriu - (19:33): But if it's wanted for a client, OK
159 jvelociter - (19:33): it's not absolutely needed. I'd just prefer to have it in 2.3 (since by default nothing in XWiki uses the feed plugin, I think it's acceptable)
160 jvelociter - (19:34): but it's ok to have it only in 2.4
161 sdumitriu - (19:41): jvelociter: Shouldn't the plugin take into consideration the configured default syntax?
162 jvelociter - (19:42): sdumitriu: instead of syntax 2.0 ?
163 sdumitriu - (19:42): Yes
164 sdumitriu - (19:42): Something like:
165 sdumitriu - (19:42): if (!getDefaultDocumentSyntax().equals(XWikiDocument.XWIKI10_SYNTAXID)) {
166 sdumitriu - (19:42): content = "{{include document=\"XWiki.XWikiUserSheet\"/}}";
167 sdumitriu - (19:42): syntaxId = XWikiDocument.XWIKI20_SYNTAXID;
168 sdumitriu - (19:42): } else {
169 sdumitriu - (19:42): content = "#includeForm(\"XWiki.XWikiUserSheet\")";
170 sdumitriu - (19:42): syntaxId = XWikiDocument.XWIKI10_SYNTAXID;
171 sdumitriu - (19:42): }
172 sdumitriu - (19:42): That is c.x.x.XWiki.getDefaultDocumentSyntax
173 jvelociter - (19:42): ok, I see
174 jvelociter - (19:43): but I still think the param config is needed
175 jvelociter - (19:43): in case you have XWiki watch installed on your XE, and you don't want to have the whole XE default on syntax 1.0
176 jvelociter - (19:44): (just the watch docs)
177 sdumitriu - (19:44): Were "xwiki.plugins.feed.entryContent" and "xwiki.plugins.feed.entrySyntaxId" present before, or are these new?
178 jvelociter - (19:44): they are new
179 sdumitriu - (19:44): K
180 sdumitriu - (19:45): So, if these new settings are defined, use them, otherwise do the usual check (the one I mentioned)
181 sdumitriu - (19:45): WDYT?
182 jvelociter - (19:45): yes
183 jvelociter - (19:45): sounds good
184 jvdrean left at 19:46 (Quit: Leaving.
185 venkatesh joined #xwiki at 19:52
186 sdumitriu - (20:02): Q for XWIKI-5143: How ugly is it to hardcode XWiki.AccountValidation in XWiki.checkAccess?
187 sdumitriu - (20:02): jvelociter, CalebJamesDeLisl, Denis
188 jvelociter - (20:03): (uploaded a new patch for the feed thing)
189 jvelociter - (20:04): sdumitriu that's pretty bad :D
190 jvelociter - (20:05): can't we say it's a core feature of XWiki and it should not be in an application ?
191 jvelociter - (20:05): but in templates instead
192 sdumitriu - (20:05): I know three nice solutions, but they require some more work than this easy way out
193 sdumitriu - (20:05): It fails even in templates
194 sdumitriu - (20:06): It's the /action/ that's forbidden, and at the moment only /register/ is allowed
195 jvelociter - (20:07): I see
196 sdumitriu - (20:10): http://jira.xwiki.org/jira/browse/XWIKI-5143?focusedCommentId=51158#action_51158
197 sdumitriu - (20:10): These are the four options
198 CalebJamesDeLisl - (20:12): I don't like core stuff referencing templates or pages. However if it must be done, I think it's best to have a configuration parameter specify the page.
199 sdumitriu - (20:13): jvelociter: New patch looks good
200 CalebJamesDeLisl - (20:13): I think the best thing to do in such a case is to have the page somehow register itself with checkAccess.
201 CalebJamesDeLisl - (20:15): If a wiki is closed can't a page still explicitly allow XWikiGuest view access?
202 CalebJamesDeLisl - (20:16): Never mind...
203 CalebJamesDeLisl - (20:23): I think "prevent unregistered users from viewing..." is a misguided concept (I know this doesn't solve our problem). When I give Alice authority to view a page, I have implicitly given that authority to anyone who Alice wishes to permit and anyone who they permit.
204 CalebJamesDeLisl - (20:25): If Alice wishes to transfer her view authority to Bob she may simply load the page and transfer the content to him.
205 lucaa left at 20:28 (Quit: Leaving.
206 sdumitriu - (20:28): We can't prevent active user disclosure
207 sdumitriu - (20:29): Bob could even look over Alice's shoulder, how could we prevent that :D
208 CalebJamesDeLisl - (20:29): We have to rely on Alice to have her security in order (mirror on the monitor) :D
209 CalebJamesDeLisl - (20:30): So I think the permissions 2.0 system should be look more toward permissions as objects which are passed from user to user.
210 CalebJamesDeLisl - (20:31): But for now I would think the best approach is to have a configuration parameter for permissions which are allowed over all else.
211 CalebJamesDeLisl - (20:32): Maybe just pages which must be visible to guests.
212 CalebJamesDeLisl - (20:34): This actually applies to the invitation application as well.
213 sdumitriu - (20:36): Yes
214 Denis - (20:39): sdumitriu: I have comment XWIKI-5143
215 Denis - (20:41): CalebJamesDeLisl: you should close XWIKI-4755, no ?
216 CalebJamesDeLisl - (20:41): Yes. jv said that earlier. Thanks for bugging me about it, I can be forgetful.
217 sdumitriu - (20:41): Denis: Do you have something working for XWIKI-929?
218 Denis - (20:44): sdumitriu: no, we work around XWIKI-929 since long by doing ugly test in XWiki class
219 Denis - (20:45): XWIKI-4378 is part of them
220 CalebJamesDeLisl - (20:47): I'm not a big fan of XWIKI-929 because I worry about permissions creap. What purpose does a register or programming right on a particular document serve?
221 Denis - (20:49): What I said, is that I prefer not to loose time being nice for fixing those, since the nice thing to do is rewrite the rights system from scratch. We have to thought about it deeply, and have a proper backward compatibility feature as well
222 CalebJamesDeLisl - (20:50): IMO there are 2 permissions: read and write. and three possible settings (allow, deny, and defer) And there should be a cascade/restrict bit to decide of that permit can be overridden. I also see the point about writing nice code in hacksville.
223 Denis - (20:53): not sure it is so simple, delete permission is nice to have
224 Denis - (20:53): and, obviously we will need better handling between content, object, attachement, and so on
225 Denis - (20:54): and at the same time, it have to be simple
226 CalebJamesDeLisl - (20:54): I beleve the only way to keep the 2.0 database driver from turning into a jungle is to make everything extend a single entity (like object).
227 Denis - (20:55): so it not simple, and will require a long discussion, and it is not the time for that right now
228 CalebJamesDeLisl - (20:56): Sure, the reason I said that is if there was one object then each thing would be able to be referenced with permissions.
229 CalebJamesDeLisl - (20:57): I think I agree with you about delete permission because only delete allows one to actually drop data from the database.
230 CalebJamesDeLisl - (20:59): But of course programming, register, undelete etc. should not make it to the 2.0 permission manager.
231 venkatesh left at 21:30 (
232 annacondan left at 21:36 (Quit: annacondan
233 mflorea joined #xwiki at 21:42
234 gvallarelli joined #xwiki at 22:00
235 gvallarelli - (22:00): good evening
236 sdumitriu - (22:01): Hi
237 sdumitriu - (22:01): So, what's the news gvallarelli?
238 gvallarelli - (22:01): life goes on
239 gvallarelli - (22:01): that's the news ^^
240 gvallarelli - (22:02): sdumitriu: like XWiki I'm not selected this year
241 sdumitriu - (22:02): Well, life goes on, as you said
242 gvallarelli - (22:02): as you said sdumitriu
243 sdumitriu - (22:02): Sorry for you, but don't get too depressed over it
244 gvallarelli - (22:03): sdumitriu: thank you, I can contribute to XWiki
245 gvallarelli - (22:08): sdumitriu: but I have to organize my time because I will work with a professor for a thesis
246 gvallarelli - (22:08): but in my spare time I can contribute
247 jvelociter left at 22:20 (Quit: jvelociter
248 jvelociter joined #xwiki at 22:21
249 jvelociter left at 22:21 (Client Quit
250 gvallarelli - (22:50): got to go
251 gvallarelli - (22:50): goodnight
252 gvallarelli left #xwiki at 22:50
253 jvdrean joined #xwiki at 23:09
254 anamarias left at 23:28 (Quit: anamarias
255 mflorea left at 23:39 (Quit: Leaving.
256 jvdrean left at 23:45 (Quit: Leaving.

Get Connected