1 2011-03-31T00:08:07 *** grzywacz
2 2011-03-31T00:24:38 <ThomasWaldmann> re
3 2011-03-31T00:31:54 *** RogerHaase
4 2011-03-31T00:33:56 *** grzywacz
5 2011-03-31T01:09:13 *** franklin
6 2011-03-31T02:22:00 *** dbot1
7 2011-03-31T03:41:04 *** cosmos_thought_
8 2011-03-31T03:44:27 *** cosmos_thought
9 2011-03-31T04:17:59 *** kasun
10 2011-03-31T04:59:31 *** Marchael
11 2011-03-31T05:00:23 *** sl33k_
12 2011-03-31T05:05:32 *** sl33k_
13 2011-03-31T05:08:00 *** ronny
14 2011-03-31T05:10:15 *** ronny
15 2011-03-31T05:23:48 *** kursor
16 2011-03-31T05:32:03 *** kasun
17 2011-03-31T06:13:10 *** kursor
18 2011-03-31T06:48:18 *** Marchael
19 2011-03-31T06:55:37 *** sl33k_
20 2011-03-31T07:06:25 *** Marchael
21 2011-03-31T07:49:25 *** m4k3r
22 2011-03-31T07:50:13 *** m4k3r
23 2011-03-31T08:36:10 *** franklin
24 2011-03-31T10:26:04 *** cosmos_thought_
25 2011-03-31T10:47:06 <ThomasWaldmann> moin
26 2011-03-31T10:53:39 <dreimark> moin
27 2011-03-31T11:03:22 <dreimark> ThomasWaldmann: xorAxAx waldi @shell:/tmp/flyer
28 2011-03-31T11:03:32 <dreimark> please improve it
29 2011-03-31T11:03:53 <dreimark> it is may be late but i can send it to some of the cologne students
30 2011-03-31T11:04:29 <dreimark> software used is scribus-1.3.3-13
31 2011-03-31T11:05:56 <dreimark> bbl
32 2011-03-31T11:06:20 *** greg_f
33 2011-03-31T11:39:46 *** Marchael
34 2011-03-31T12:23:35 *** kasun
35 2011-03-31T13:14:14 *** kasun
36 2011-03-31T14:01:22 *** m4k3r
37 2011-03-31T14:04:09 *** andialbrecht_
38 2011-03-31T15:02:50 *** kasun
39 2011-03-31T15:19:36 *** m4k3r
40 2011-03-31T16:06:59 *** Marchael
41 2011-03-31T16:07:47 *** m4k3r
42 2011-03-31T16:23:56 *** andialbrecht
43 2011-03-31T16:51:22 *** sl33k_
44 2011-03-31T17:04:54 *** gwork
45 2011-03-31T17:15:48 *** m4k3r
46 2011-03-31T17:24:05 *** m4k3r
47 2011-03-31T17:31:02 <Marchael> moin
48 2011-03-31T17:33:27 <Marchael> ItemIndex__init__() is creates tables for item indexing and revisions. how often it calls?
49 2011-03-31T17:33:53 <Marchael> *ItemIndex.__init__()
50 2011-03-31T18:04:13 *** RogerHaase
51 2011-03-31T18:07:06 *** sinha
52 2011-03-31T18:16:03 <Marchael> TheSheep: hi
53 2011-03-31T18:16:12 <Marchael> I replaced sqla functions in ItemIndex.__init() by whoosh and how can I test it? Just from MoinMoin.storage.backends.indexing import ItemIndex and play wth it?
54 2011-03-31T18:16:45 <Marchael> *ItemIndex.__init__()
55 2011-03-31T18:25:11 *** Marchael
56 2011-03-31T18:34:25 *** Marchael
57 2011-03-31T18:34:41 <TheSheep> Marchael: I'd try running the tests
58 2011-03-31T18:35:22 <Marchael> do you mean py.test?
59 2011-03-31T18:35:38 <TheSheep> yes
60 2011-03-31T18:35:47 <Marchael> ok
61 2011-03-31T18:37:24 <Marchael> TheSheep: also, which modules using indexing right now?
62 2011-03-31T18:37:53 <Marchael> I don`t saw any modules except router.py
63 2011-03-31T18:47:05 *** Marchael
64 2011-03-31T18:52:51 *** Marchael
65 2011-03-31T18:55:10 *** kursor
66 2011-03-31T19:19:47 *** kursor
67 2011-03-31T19:25:59 *** greg_f
68 2011-03-31T19:52:01 *** grzywacz
69 2011-03-31T20:06:41 <ThomasWaldmann> Marchael: it is not used very much yet
70 2011-03-31T20:08:36 *** Gnarlodious
71 2011-03-31T20:09:19 *** Gnarlodious
72 2011-03-31T20:09:20 <ThomasWaldmann> Marchael: but e.g. I plan to use it for history()
73 2011-03-31T20:09:52 <ThomasWaldmann> also, the backends itself shall get simpler
74 2011-03-31T20:09:53 <Marchael> ThomasWaldmann: when you say `metadata` do you mean sqla metadata or metadata showing on wiki pages?
75 2011-03-31T20:10:14 <ThomasWaldmann> that might depend on the context
76 2011-03-31T20:10:27 *** Gnarlodious
77 2011-03-31T20:10:43 *** Gnarlodious
78 2011-03-31T20:11:00 <Marchael> I`m interesting because I don`t saw in ItemIndex any fields related with metadata showing on the wiki pages
79 2011-03-31T20:11:08 <Marchael> only for sqla
80 2011-03-31T20:11:54 <ThomasWaldmann> if you look at ItemIndex.__init__, you see
81 2011-03-31T20:12:11 <ThomasWaldmann> name / uuid - this will be essential if we go uuid
82 2011-03-31T20:12:20 <Marchael> metadata = MetaData() sqla function
83 2011-03-31T20:12:25 <ThomasWaldmann> we need a quick way to do uuid <-> name lookups
84 2011-03-31T20:12:47 <ThomasWaldmann> tags are already used (iirc), like categories in 1.9
85 2011-03-31T20:13:18 <ThomasWaldmann> mimetype is essential for all sorts of listings and might show up as text or icon (css class)
86 2011-03-31T20:13:35 <ThomasWaldmann> and current is to quickly find the latest revision
87 2011-03-31T20:13:54 *** kasun
88 2011-03-31T20:14:40 <ThomasWaldmann> and you see acl, mimetype, tag all on the "meta" view
89 2011-03-31T20:14:59 <ThomasWaldmann> http://test.moinmo.in/+meta/Home
90 2011-03-31T20:15:52 <ThomasWaldmann> (and if I say metadata, I usually mean revision metadata, less often item metadata, and even more rarely sqla stuff)
91 2011-03-31T20:17:37 <Marchael> so, tables altering after adding new metada
92 2011-03-31T20:18:07 <ThomasWaldmann> the sqla metadata columns are intended to stay rather fixed
93 2011-03-31T20:18:08 <Marchael> such as langueges, itemlinks etc.
94 2011-03-31T20:18:28 <ThomasWaldmann> there is a separate KVStore for less often used metadata
95 2011-03-31T20:18:50 <ThomasWaldmann> but it is slower, so the most important stuff is stored into a fixed sqla table
96 2011-03-31T20:19:08 <ThomasWaldmann> so, sqla table == fixed, fast, important
97 2011-03-31T20:19:19 <ThomasWaldmann> KVStore = flexible, slower, less important
98 2011-03-31T20:22:32 <ThomasWaldmann> instead if "important" one could also say "often used"
99 2011-03-31T20:23:49 <Marchael> hm, and so I`m need to store all information about metas in whoosh instead of KVStore...
100 2011-03-31T20:24:22 <Marchael> also http://packages.python.org/Whoosh/schema.html#modifying-the-schema-after-indexing
101 2011-03-31T20:24:52 <Marchael> so I can enlarge or dislarge schema
102 2011-03-31T20:27:24 * dreimark waits for the first proposal
103 2011-03-31T20:27:55 <xorAxAx> better a well thought out proposal than 5 bad ones
104 2011-03-31T20:32:26 <ThomasWaldmann> Marchael: going all whoosh is an option, not a requirement
105 2011-03-31T20:32:40 *** RogerHaase
106 2011-03-31T20:32:59 <ThomasWaldmann> but it should be well thought-through
107 2011-03-31T20:33:15 <Marchael> whoosh is will be good for searching
108 2011-03-31T20:33:39 <ThomasWaldmann> if we find good reason to have both sqla indexing AND whoosh, we can do that
109 2011-03-31T20:34:23 <ThomasWaldmann> btw, this is something you could discuss on the mailing list also, esp. the kvstore part
110 2011-03-31T20:35:10 <ThomasWaldmann> in many applications, schema changes do not happen too frequently, so maybe whoosh author can tell whether it is good for very frequent use
111 2011-03-31T20:44:38 <Marchael> hm, I`m not sure what I can get answer from Matt Chaput until end of the app submit period :)
112 2011-03-31T20:45:29 <ThomasWaldmann> well, try.
113 2011-03-31T20:45:48 <ThomasWaldmann> you can also try pulling him onto IRC ##whoosh :D
114 2011-03-31T20:47:35 <Marchael> I`m mailing him
115 2011-03-31T20:49:47 *** humbu
116 2011-03-31T20:50:15 <humbu> hello, how can i get the adresse from the actual site in a macro?
117 2011-03-31T20:50:46 <ThomasWaldmann> you mean the current page or action url?
118 2011-03-31T20:51:52 <humbu> yes - is it Page.link_to(???) ?
119 2011-03-31T20:53:53 <ThomasWaldmann> iirc, that makes link markup
120 2011-03-31T20:54:24 <ThomasWaldmann> and it will link to the page the Page object represents, which is not necessarily the current page
121 2011-03-31T20:54:42 <ThomasWaldmann> or the current url in your browser's url line
122 2011-03-31T20:55:19 <ThomasWaldmann> so, what do you really want to do in the end?
123 2011-03-31T20:55:43 <humbu> hm, i want the current url in my browser's url line as string (and change something on that string)
124 2011-03-31T20:57:11 <dreimark> humbu: 1.9 ?
125 2011-03-31T20:57:14 <humbu> yes
126 2011-03-31T20:58:40 <dreimark> not sure if I have understand the problem, do you look for
127 2011-03-31T20:58:49 <dreimark> http://hg.moinmo.in/moin/1.9/file/3f150107984a/MoinMoin/Page.py#l776
128 2011-03-31T21:01:19 <dreimark> that shows e.g. u'<a href="/WikiSandBox">WikiSandBox</a>'
129 2011-03-31T21:02:22 <humbu> oh, no i want the whole url line - how can i get it?
130 2011-03-31T21:06:44 <ThomasWaldmann> request.url?
131 2011-03-31T21:08:16 <humbu> which Class is it?
132 2011-03-31T21:11:56 <dreimark> page.url(request)
133 2011-03-31T21:12:15 <dreimark> u'/WikiSandBox'
134 2011-03-31T21:15:10 <humbu> sorry, i want the sitename(like /WikiSandBox), the farm-instance(like /farmwiki1) an the domain(like https://www.example.org) in one (or seperated) string(s) ! and from where (which import x) does he know the "request" ?
135 2011-03-31T21:17:13 <dreimark> macro.request - may be look in any other macro, if that is new for you
136 2011-03-31T21:18:00 <humbu> aah ok thanks! that is what i wanted! (sry i just begin writing macros)
137 2011-03-31T21:18:30 <dreimark> http://moinmo.in/MoinAPI/Examples
138 2011-03-31T21:18:53 <dreimark> I ve not updated the plugin section
139 2011-03-31T21:19:59 <humbu> ok, only one last thing - could it be possible that the macro.request isn't listed in http://docs.moinmo.in/moin/1.9/MoinMoin.macro-module.html?
140 2011-03-31T21:21:09 <dreimark> it is the request object
141 2011-03-31T21:23:37 <dreimark> http://hg.moinmo.in/moin/1.9/file/3f150107984a/MoinMoin/macro/__init__.py#l82
142 2011-03-31T21:28:34 <sinha> dreimark: is searching not implemented yet in moin2.0 ? at the top bar ?
143 2011-03-31T21:30:36 <humbu> what exactly is self ?
144 2011-03-31T21:30:45 <dreimark> sinha: it isn't, but there is a student interested in doing it for gsoc
145 2011-03-31T21:31:15 <dreimark> humbu: is this your first python oo program?
146 2011-03-31T21:31:29 <sinha> dreimark : so what if i want to implement the ajax autocomplete option in that ?
147 2011-03-31T21:31:37 <sinha> shall i have to wait for this ?
148 2011-03-31T21:32:16 <dreimark> you have at least you can propose it
149 2011-03-31T21:32:24 <sinha> okay
150 2011-03-31T21:33:34 <dreimark> and yet we also don't knpw if it becomes ready during gsoc
151 2011-03-31T21:34:06 <sinha> yeah..and in will that search be having some filter
152 2011-03-31T21:34:13 <sinha> like by author/date
153 2011-03-31T21:35:18 <humbu> dreimark: yes, the first oo, before i wrote only some simple do-scripts
154 2011-03-31T21:36:14 <dreimark> I think we can help with moin questions, I also started with python because of moin. But you should also try to learn python not only with asking ask
155 2011-03-31T21:36:55 <dreimark> us on that channel
156 2011-03-31T21:37:06 <dreimark> -ask
157 2011-03-31T21:38:14 <dreimark> humbu: http://docs.python.org/ there is lots of stuff
158 2011-03-31T21:39:26 <sinha> dreimark: and in the feature like : showing list of user(s) which has contributed to any page ..is something regarding this already implemented ? OR just its view isnt there ?
159 2011-03-31T21:39:42 <humbu> ok i will do that - sorry for to much asking
160 2011-03-31T21:40:24 <ThomasWaldmann> "A macro for running Unix commands and capturing their output."
161 2011-03-31T21:40:45 <ThomasWaldmann> yay, finally exploits get much more comfortable.
162 2011-03-31T21:41:49 <dreimark> sinha: a student tries to implement that currently
163 2011-03-31T21:42:16 <dreimark> to show us some coding skills
164 2011-03-31T21:42:33 <sinha> okay
165 2011-03-31T21:42:48 <dreimark> you should subscribe your homepage
166 2011-03-31T21:43:02 <dreimark> then I know that you get my changes ;)
167 2011-03-31T21:43:56 <sinha> dreimark: yes i have seen your changes
168 2011-03-31T21:45:44 <sinha> dreimark: how is a tag added to any item ?
169 2011-03-31T21:45:50 *** humbu
170 2011-03-31T21:46:03 <dreimark> currently by a meta entry, manually
171 2011-03-31T21:46:07 <ThomasWaldmann> https://github.com/lorrin/moinmoin-client-crypt interesting. but he points out some fundamental problems.
172 2011-03-31T21:46:27 <ThomasWaldmann> aes encrypted wiki pages :)
173 2011-03-31T21:47:21 <dreimark> he uses js only for that, so just client side
174 2011-03-31T21:47:36 <dreimark> sinha: http://test.moinmo.in/+meta/Home
175 2011-03-31T21:50:12 <sinha> dreimark: so how about showing a tag cloud on the home page itself
176 2011-03-31T21:50:41 <sinha> dreimark: showing some popular ones
177 2011-03-31T21:58:41 <dreimark> that means a weighting or a special used tag name
178 2011-03-31T22:02:24 <ThomasWaldmann> we already have a functional, but non-pretty tag cloud view
179 2011-03-31T22:03:10 <sinha> yes
180 2011-03-31T22:03:27 <sinha> we can show do cool jquery stuff with them
181 2011-03-31T22:03:35 <sinha> if it is allowed to do
182 2011-03-31T22:03:48 <sinha> otherwise just showing them at footer part will also work
183 2011-03-31T22:03:51 <ThomasWaldmann> well, that's multiple tasks maybe
184 2011-03-31T22:04:08 <ThomasWaldmann> first it needs to be more pretty, otherwise we do not want to show it too often :)
185 2011-03-31T22:04:15 <ThomasWaldmann> then we can decide where to show it
186 2011-03-31T22:04:40 <ThomasWaldmann> also, performance and load has to be kept in mind
187 2011-03-31T22:04:54 <sinha> ThomasWaldmann: yes...and i guess could we provide the option to admin part whether to hide it or show it ..
188 2011-03-31T22:06:04 <ThomasWaldmann> dreimark: mailman takes part in soc.
189 2011-03-31T22:08:10 <ThomasWaldmann> no "write a moin2 confluence_in converter" project, though :)
190 2011-03-31T22:14:29 <dreimark> ThomasWaldmann: he told that they missed that as project idea
191 2011-03-31T22:14:44 <dreimark> therefore i requested him to tell if they have one
192 2011-03-31T22:15:08 <dreimark> we could umbrella that project and the student could work on other domtree features too
193 2011-03-31T22:16:57 <ThomasWaldmann> maybe, yes
194 2011-03-31T22:46:58 <sinha> dreimark: ThomasWaldmann : what is meant by "inline diff" listed in ideas page ?
195 2011-03-31T22:51:17 <dreimark> I am not sure but maybe something like that is meant http://moinmo.in/FeatureRequests/BetterDiff
196 2011-03-31T22:52:32 <dreimark> in that case an annotate feature would help to find who has added that idea
197 2011-03-31T22:53:48 <dreimark> ThomasWaldmann: ^^
198 2011-03-31T22:59:54 <dreimark> sinha: http://www.pmwiki.org/wiki/Cookbook/InlineDiff
199 2011-03-31T23:00:36 <dreimark> as an other example
200 2011-03-31T23:06:09 <sinha> dreimark: i guess one with edgewall is better it is some what neat and shows the difference only ..but in pmwiki if the change is too much like 5-7 lines ,will it make sense in showing it along with whole text ? maybe it just looks fine with 1-2 word change..but on changing at bulk wont it confuse the reader ?
201 2011-03-31T23:06:53 <sinha> dreimark: ^Edgewell - http://trac.edgewall.org/wiki/WikiStart?action=diff&version=101&old_version=97
202 2011-03-31T23:26:57 <dreimark> it depends on the text, sometimes you need to read a longer text to find out that a change of a word changes the meaning
203 2011-03-31T23:27:55 <dreimark> but you are right some user would wish to have a compress feature
204 2011-03-31T23:28:25 <dreimark> like some editors have to supress class members
205 2011-03-31T23:34:50 <sinha> dreimark: yes... i guess i should write it down all these and update my porposal ..
206 2011-03-31T23:37:34 <dreimark> :)
207 2011-03-31T23:39:37 <dreimark> you could also think about how to add some social features, e.g. launchpad has that karma counter
208 2011-03-31T23:40:27 <dreimark> the contribution featuer may be can be used for that too
209 2011-03-31T23:46:56 <sinha> this will be for user profile
210 2011-03-31T23:47:12 <sinha> in authors section we can show it
211 2011-03-31T23:47:55 <sinha> like in the page of contributions by users..along with the list of pages he conributed ..there we can show his karma ?
212 2011-03-31T23:48:03 <sinha> but wont it be dong the same thing
213 2011-03-31T23:48:37 <sinha> or karma could be how many changes he did on any number ..it will be like a consistent user
214 2011-03-31T23:49:57 <sinha> i have also gone through some social feature like i guess twiki has feature of following a user ..
215 2011-03-31T23:51:02 <sinha> oh sorry but i guess moin1.9 has also something similar ! my mistake