Toggle line numbers
1 2013-04-26T01:30:23 *** dwcramer has joined #moin-dev
2 2013-04-26T01:53:39 *** desophos has quit IRC
3 2013-04-26T02:35:45 *** dwcramer has quit IRC
4 2013-04-26T02:44:03 *** ashutosh1461 has quit IRC
5 2013-04-26T03:43:31 *** dwcramer has joined #moin-dev
6 2013-04-26T03:55:57 *** sharky93 has quit IRC
7 2013-04-26T04:08:09 *** sharky93 has joined #moin-dev
8 2013-04-26T04:17:40 *** sharky93 has quit IRC
9 2013-04-26T04:17:55 *** sharky93 has joined #moin-dev
10 2013-04-26T04:31:36 *** desophos has joined #moin-dev
11 2013-04-26T04:57:27 *** dwcramer has quit IRC
12 2013-04-26T05:37:24 *** ronny has joined #moin-dev
13 2013-04-26T05:53:11 *** desophos has quit IRC
14 2013-04-26T07:02:08 *** rubocoptero has joined #moin-dev
15 2013-04-26T07:09:53 *** sharky93 has quit IRC
16 2013-04-26T07:23:42 *** sharky93 has joined #moin-dev
17 2013-04-26T08:44:42 *** spy has joined #moin-dev
18 2013-04-26T08:45:06 *** spy is now known as Guest23110
19 2013-04-26T09:02:57 *** pooryorick has quit IRC
20 2013-04-26T09:03:17 *** pooryorick has joined #moin-dev
21 2013-04-26T09:25:42 <ThomasWaldmann> moin
22 2013-04-26T09:28:29 *** sharky93 has quit IRC
23 2013-04-26T10:02:41 *** ronny has quit IRC
24 2013-04-26T10:33:08 <sunu_> ThomasWaldmann: Some comments on http://moinmo.in/TarashishMishra/GSOC-2013/ plz
25 2013-04-26T10:58:27 *** sunu_ has quit IRC
26 2013-04-26T10:58:34 *** sunu has joined #moin-dev
27 2013-04-26T11:03:14 *** SrijanM has quit IRC
28 2013-04-26T11:14:17 <ThomasWaldmann> sunu: at work currently, will be at home in the evening
29 2013-04-26T11:27:34 <sunu> ok.
30 2013-04-26T12:19:22 <ThomasAH> ThomasWaldmann: yes, SAML1 (maybe not completely conforming to standards, I will see next week) for moin 1.9
31 2013-04-26T12:37:00 *** dave_largo has joined #moin-dev
32 2013-04-26T12:49:26 <ThomasWaldmann> ThomasAH: at first glance, looks somehow complicated %)
33 2013-04-26T12:57:42 *** sharky93 has joined #moin-dev
34 2013-04-26T13:22:38 *** sunu is now known as sunusaurusX
35 2013-04-26T13:23:27 *** sunusaurusX is now known as sunusaurus_X
36 2013-04-26T14:20:06 *** rubocoptero has quit IRC
37 2013-04-26T14:27:50 *** dwcramer has joined #moin-dev
38 2013-04-26T14:32:43 *** greg_f has joined #moin-dev
39 2013-04-26T14:41:50 *** sharky93 has quit IRC
40 2013-04-26T14:45:03 *** greg_f has quit IRC
41 2013-04-26T15:08:53 *** greg_f has joined #moin-dev
42 2013-04-26T15:13:04 *** rubocoptero has joined #moin-dev
43 2013-04-26T16:05:58 *** jek has quit IRC
44 2013-04-26T16:05:58 *** jek has joined #moin-dev
45 2013-04-26T16:21:15 *** ana-balica has joined #moin-dev
46 2013-04-26T17:28:16 *** sunusaurus_X is now known as Sunusaurus_X
47 2013-04-26T17:29:01 *** Sunusaurus_X is now known as sunumon
48 2013-04-26T17:36:14 *** sunumon is now known as sunu
49 2013-04-26T17:36:36 * kolyaflash just posted an application "Moin Network API"
50 2013-04-26T17:37:08 *** sunu is now known as sunumonster
51 2013-04-26T17:38:02 <sunumonster> moin :-)
52 2013-04-26T18:40:18 *** dwcramer has quit IRC
53 2013-04-26T18:50:55 *** desophos has joined #moin-dev
54 2013-04-26T19:24:51 *** greg_f has quit IRC
55 2013-04-26T19:30:36 *** brunomartin has joined #moin-dev
56 2013-04-26T19:38:07 *** sharky93 has joined #moin-dev
57 2013-04-26T19:38:55 *** desophos has quit IRC
58 2013-04-26T19:51:29 *** sharky93 has quit IRC
59 2013-04-26T20:00:46 *** dwcramer has joined #moin-dev
60 2013-04-26T20:04:47 <ThomasWaldmann> sunumonster: my change to your application draft is the last edit, so at what exactly shall i look there?
61 2013-04-26T20:06:13 *** brunomartin has quit IRC
62 2013-04-26T20:07:06 *** desophos has joined #moin-dev
63 2013-04-26T20:07:43 *** ana-balica has quit IRC
64 2013-04-26T20:25:51 *** dwcramer has quit IRC
65 2013-04-26T20:39:13 *** dwcramer has joined #moin-dev
66 2013-04-26T20:43:20 *** dave_largo has quit IRC
67 2013-04-26T20:50:14 *** desophos has quit IRC
68 2013-04-26T21:14:08 <kolyaflash> Hi ThomasWaldmann. May I PM you?
69 2013-04-26T21:15:31 <ThomasWaldmann> if it is not private, ask here
70 2013-04-26T21:15:58 *** desophos has joined #moin-dev
71 2013-04-26T21:16:12 <ThomasWaldmann> (or put it on your application draft wiki page)
72 2013-04-26T21:17:46 <kolyaflash> No. Thanks for review my proposal (Network API). Just to be clear: of course moin is in python. When I wrote "api.php", I though about my php api sketches.
73 2013-04-26T21:19:20 <kolyaflash> also have a question. regarding to moin architecture what is the best entry point for api? I totally agree that /api/ is not good and it's a page.
74 2013-04-26T21:19:43 <ThomasWaldmann> did you use moin2 already?
75 2013-04-26T21:20:00 *** dcramer_ has joined #moin-dev
76 2013-04-26T21:20:05 <kolyaflash> um.. I installed it and create a few pages.
77 2013-04-26T21:20:39 <ThomasWaldmann> ok, how did the url look like when editing?
78 2013-04-26T21:20:52 <kolyaflash> ?action=edit
79 2013-04-26T21:21:27 *** Guest23110 has quit IRC
80 2013-04-26T21:21:41 <ThomasWaldmann> that was moin 1.9, gsoc is about moin2
81 2013-04-26T21:22:01 <kolyaflash> sorry, one moment
82 2013-04-26T21:23:59 <kolyaflash> http://127.0.0.1:8080/%2Bmodify/<Page name>?<params>
83 2013-04-26T21:24:06 <ThomasWaldmann> btw, did that gsoc 2012 project have a bit strange python coding conventions? was wondering about the 2-blanks indentation.
84 2013-04-26T21:24:14 *** dwcramer has quit IRC
85 2013-04-26T21:24:19 <ThomasWaldmann> %2B == +
86 2013-04-26T21:24:36 <ThomasWaldmann> so now you know how to avoid collisions
87 2013-04-26T21:24:52 <kolyaflash> yep. thank you!
88 2013-04-26T21:25:55 <ThomasWaldmann> that %2B used to be + - until some specific flask/werkzeug version when mitsuhiko changed it ...
89 2013-04-26T21:27:13 <kolyaflash> just thought: since PEP8 allows 2-blanks and 4-blanks it's up to code (if you have many long lines -- smaller ident may be helpful)
90 2013-04-26T21:27:43 <kolyaflash> of course the whole code should use the same
91 2013-04-26T21:29:04 <ThomasWaldmann> where is that with the 2 spaces?
92 2013-04-26T21:30:41 <kolyaflash> in moin?
93 2013-04-26T21:33:03 <kolyaflash> anyway since framework (flask) has 4, we also need to use 4.
94 2013-04-26T21:33:08 <ThomasWaldmann> no, in pep8
95 2013-04-26T21:33:53 * ThomasWaldmann only has seen google using 2 blanks, and iirc noone else
96 2013-04-26T21:35:42 <kolyaflash> hm. yes, you right: "Use 4 spaces per indentation level.". I could have sworn I read it somewhere.
97 2013-04-26T21:37:39 <ThomasWaldmann> btw, do you use some ide?
98 2013-04-26T21:40:28 <kolyaflash> yes. previously Vim and Eclipse and now SublimeText. Also have auto pep8 in them.
99 2013-04-26T21:41:53 <ThomasWaldmann> good :) tried pycharm?
100 2013-04-26T21:42:40 <kolyaflash> only installed and figured out that it works not good in my ubuntu :(
101 2013-04-26T21:43:07 <kolyaflash> (by default)
102 2013-04-26T21:43:37 <kolyaflash> friend said pycharm has many killer-features
103 2013-04-26T21:43:39 <ThomasWaldmann> hmm, have it working on u1204
104 2013-04-26T21:43:55 <ThomasWaldmann> did you install sun/oracle java?
105 2013-04-26T21:44:32 <kolyaflash> same 1204. Thats it! I have openjdk and thats a problem :)
106 2013-04-26T21:45:05 <ThomasWaldmann> there is a repo with current builds on s/o jre
107 2013-04-26T21:45:13 <ThomasWaldmann> works flawlessly with that
108 2013-04-26T21:45:28 <ThomasWaldmann> (and we have a project license for all devs working on moin!)
109 2013-04-26T21:45:44 <kolyaflash> cool! wanna try it later
110 2013-04-26T21:48:51 <ThomasWaldmann> deb http://www.duinsoft.nl/pkg debs all
111 2013-04-26T21:53:12 <kolyaflash> Can I trust the source?
112 2013-04-26T21:53:36 <ThomasWaldmann> who knows :)
113 2013-04-26T21:53:57 <ThomasWaldmann> can you trust oracle? :D
114 2013-04-26T21:54:04 <kolyaflash> hehe :)
115 2013-04-26T22:02:03 *** dcramer_ has quit IRC
116 2013-04-26T22:23:15 *** rubocoptero has quit IRC
117 2013-04-26T22:29:22 * dreimark has no problems with openjdk
118 2013-04-26T22:37:53 <dreimark> kolyaflash: how do you handle access to acl protected items?
119 2013-04-26T22:43:10 <kolyaflash> Now I don't know how access control works in moin. Basically as any other access restriction: before give user a response we need to check is he/she allows to get it. E.g. if api allows to edit user's profile we need to be sure it's the same user. And with ACL we check is user id in the list of allowed.
120 2013-04-26T22:43:19 <kolyaflash> dreimark, hi
121 2013-04-26T22:44:03 <dreimark> in moin-1 we needed multicall for xmlrpc
122 2013-04-26T22:44:33 <dreimark> the api you currently describe shows only "simple" requests for public content
123 2013-04-26T22:44:43 <kolyaflash> I think xmlrpc dies.
124 2013-04-26T22:44:49 <dreimark> yeah
125 2013-04-26T22:45:02 <dreimark> it is also not compatible with moin-2
126 2013-04-26T22:46:14 <kolyaflash> authentication scheme is one of the most sensitive issues.
127 2013-04-26T22:47:03 <kolyaflash> oAuth route is most used, but I don't think it's a better choice for wiki engine.
128 2013-04-26T22:47:27 <dreimark> it would be good it works also with std auth of moin itselfs
129 2013-04-26T22:48:02 <dreimark> https://moin-20.readthedocs.org/en/latest/intro/features.html?highlight=acl#authentication
130 2013-04-26T22:49:28 <kolyaflash> wow! thats great moin has OpenID
131 2013-04-26T22:49:40 <dreimark> moin1 had it too
132 2013-04-26T22:49:50 <kolyaflash> thank you this is very helpful
133 2013-04-26T22:51:00 <dreimark> http://wiki.python.org/moin/FrontPage?action=login
134 2013-04-26T22:51:41 <dreimark> someone has done a different macro on the wiki but the basics without the images are builtin
135 2013-04-26T22:52:02 <kolyaflash> not sure it works for API
136 2013-04-26T22:52:28 <dreimark> needs some research first which kind of auth can be done
137 2013-04-26T22:53:04 <kolyaflash> thats right
138 2013-04-26T22:53:05 <dreimark> I don't like a solution by giving an api key
139 2013-04-26T22:53:27 <dreimark> this is bad for multi user with different priviledges
140 2013-04-26T23:01:29 <dreimark> gn
141 2013-04-26T23:23:59 <kolyaflash> dreimark, gn
142 2013-04-26T23:24:48 <kolyaflash> ThomasWaldmann, can you please change my homepage ACL to public? (http://moinmo.in/NikolayBaluk)