1 2012-02-12T02:59:58  * ThomasWaldmann reads the etherpad protocol specs
   2 2012-02-12T03:39:07  *** MattMaker has joined #moin-dev
   3 2012-02-12T03:58:49  *** sudo_dirk has quit IRC
   4 2012-02-12T04:07:59  <ThomasWaldmann> https://github.com/devjones/PyEtherpadLite/issues/4 < somehow such stuff is following us
   5 2012-02-12T04:38:27  *** yufra_ has quit IRC
   6 2012-02-12T05:23:30  *** MattMaker has quit IRC
   7 2012-02-12T05:30:44  *** MattMaker has joined #moin-dev
   8 2012-02-12T06:05:58  *** sudo_dirk has joined #moin-dev
   9 2012-02-12T07:57:53  *** yufra_ has joined #moin-dev
  10 2012-02-12T08:06:19  *** qxcv has joined #moin-dev
  11 2012-02-12T08:27:30  *** qxcv has quit IRC
  12 2012-02-12T08:41:27  *** qxcv has joined #moin-dev
  13 2012-02-12T09:56:22  *** yufra_ has quit IRC
  14 2012-02-12T11:30:02  <sudo_dirk> i am searching for somthing to do in moin2 where i also learn more about items, modifiers, parsers, ... possibly looking forward to converting arnica to moin2 it could be usefull to extend the image item. i want to store there some properties of an image. e.g. name, description, tags, wiki_rotation. and an item editor to modify such properties. is that a conflict with some already existing ideas? it will take a while cause i no nea
  15 2012-02-12T11:30:04  <sudo_dirk> rly nothing about moin2...
  16 2012-02-12T11:31:10  <sudo_dirk> and an item functionality to get a reduced resolution image (if not already existing)
  17 2012-02-12T11:36:18  *** sudo_dirk2 has joined #moin-dev
  18 2012-02-12T12:11:39  *** greg_f has joined #moin-dev
  19 2012-02-12T13:40:31  *** sudo_dirk2 has left #moin-dev
  20 2012-02-12T13:43:13  *** qxcv has quit IRC
  21 2012-02-12T14:14:52  <ThomasWaldmann> moin
  22 2012-02-12T14:16:24  <ThomasWaldmann> sudo_dirk: such stuff is metadata about an image item (revision), you can just store it into metadata and use the metadata editor we already have.
  23 2012-02-12T14:19:36  <sudo_dirk> ThomasWaldmann: i want to store it in metadata, i also want to add a editor for some default stuff, which could be part of the dialog on editing an image (is that the modifier of the item)
  24 2012-02-12T14:19:39  <ThomasWaldmann> (btw, you need to hit enter more often, your first sentence was truncated after "while cause i nea")
  25 2012-02-12T14:20:43  <ThomasWaldmann> editing metadata either needs to be done as is or it needs to be worked on a mechanism that is generally useful
  26 2012-02-12T14:21:53  <ThomasWaldmann> last SOC we had the idea of doing some widgets for all metadata data types we have using jinja2 and flatland. but no student jumped on that.
  27 2012-02-12T14:22:48  <sudo_dirk> i think about a general mechanism, but the content is item specific. but i don't want to kill the idea caused by just a little concern ;-)
  28 2012-02-12T14:23:43  <ThomasWaldmann> what "content" do you mean exactly?
  29 2012-02-12T14:25:10  <sudo_dirk> an image has name, desciption, tags, ... an todo has priority, whatever, ... and not all metadata is useful in an editor
  30 2012-02-12T14:25:37  <sudo_dirk> for example the wiki intern information
  31 2012-02-12T14:26:04  *** sudo_dirk2 has joined #moin-dev
  32 2012-02-12T14:26:13  <ThomasWaldmann> nothing of that is image-specific
  33 2012-02-12T14:26:54  <ThomasWaldmann> we already have tags btw (in the metadata)
  34 2012-02-12T14:27:29  <sudo_dirk2> but the todo stuff is and i am sure there is something imagespecific like default_orientation
  35 2012-02-12T14:27:53  <ThomasWaldmann> and e.g. a editor widgets for lists of strings (like tags) is useful for multiple kinds of metadata entries and all kinds of items
  36 2012-02-12T14:28:46  <ThomasWaldmann> yes, some stuff is image specific. but that doesn't mean we need a special implementation used only by image editor view.
  37 2012-02-12T14:29:14  <sudo_dirk2> yep, so if we define for each item a list of editor metadata entries it is possible to come with e generic implementation
  38 2012-02-12T14:29:15  <ThomasWaldmann> e.g. orientation is just an integer 0, 90, 180, 270
  39 2012-02-12T14:29:28  <ThomasWaldmann> so, what you need is an integer editor widget
  40 2012-02-12T14:30:17  <sudo_dirk2> yep. so i try to do this for an image item first but that kind that we are able to roll out for each item.
  41 2012-02-12T14:30:37  <ThomasWaldmann> yes, such a list of "recommended metadata entries" is useful later
  42 2012-02-12T14:30:49  <sudo_dirk2> ok...
  43 2012-02-12T14:31:29  <ThomasWaldmann> but before having any use for that, we need generic widgets for the basic data types
  44 2012-02-12T14:31:54  <ThomasWaldmann> int, unicode, list of unicode, ...
  45 2012-02-12T14:32:30  <sudo_dirk2> yep, i use this issue to learn about moin2 and put some stuff in cr if available. ok.
  46 2012-02-12T14:32:59  <ThomasWaldmann> that will mostly teach you something about jinja2 and flatland
  47 2012-02-12T14:33:42  <sudo_dirk2> that ok too. cause it's used in moin2...
  48 2012-02-12T14:33:44  <ThomasWaldmann> btw, we have that idea this year for SOC also :)
  49 2012-02-12T14:34:01  <ThomasWaldmann> but don't let that hold you back
  50 2012-02-12T14:34:13  <sudo_dirk2> is SOC the moin2 release
  51 2012-02-12T14:34:27  <ThomasWaldmann> SOC is Google Summer of Code
  52 2012-02-12T14:34:39  <ThomasWaldmann> and yes, most tasks are moin2 related
  53 2012-02-12T14:34:40  <sudo_dirk2> what's that?
  54 2012-02-12T14:34:46  <ThomasWaldmann> google it :)
  55 2012-02-12T14:35:03  <sudo_dirk2> ok. bbl.
  56 2012-02-12T14:51:43  *** sudo_dirk2 has left #moin-dev
  57 2012-02-12T15:29:52  <ThomasWaldmann> someone here to test etherpad lite with me?
  58 2012-02-12T15:30:25  <ThomasWaldmann> http://beta.etherpad.org/p/moin
  59 2012-02-12T16:22:17  *** yufra_ has joined #moin-dev
  60 2012-02-12T18:19:52  *** yufra_ has quit IRC
  61 2012-02-12T18:42:14  *** sudo_dirk has left #moin-dev
  62 2012-02-12T18:45:08  *** sudo_dirk has joined #moin-dev
  63 2012-02-12T18:52:22  *** greg_f has quit IRC
  64 2012-02-12T18:58:48  *** helixfelix has joined #moin-dev
  65 2012-02-12T18:59:39  <helixfelix> Hello! How can I get if a user is in a group X ?
  66 2012-02-12T19:02:39  <ThomasWaldmann> hi helixfelix
  67 2012-02-12T19:04:49  <helixfelix> hi
  68 2012-02-12T19:04:53  <ThomasWaldmann> http://hg.moinmo.in/moin/1.9/file/56eaf32027f4/MoinMoin/security/textcha.py#l61 see there for an example
  69 2012-02-12T19:08:40  <helixfelix> thank you!
  70 2012-02-12T19:18:29  *** helixfelix has left #moin-dev
  71 2012-02-12T19:22:53  *** sudo_dirk has left #moin-dev
  72 2012-02-12T19:32:19  *** helixfelix has joined #moin-dev
  73 2012-02-12T19:32:57  <helixfelix> hm what means  "if disabled_group and user.name and user.name in groups.get(disabled_group, []):" can you give me a link to docu for that?
  74 2012-02-12T19:35:00  <TheSheep> helixfelix: you mean for the conditional statement?
  75 2012-02-12T19:36:07  <TheSheep> helixfelix: http://docs.python.org/reference/compound_stmts.html#the-if-statement
  76 2012-02-12T19:37:21  <TheSheep> also see http://docs.python.org/reference/expressions.html#boolean-operations and http://docs.python.org/library/stdtypes.html#dict.get
  77 2012-02-12T20:38:05  *** sudo_dirk has joined #moin-dev
  78 2012-02-12T22:35:07  <dreimark> moin
  79 2012-02-12T22:37:14  <dreimark> helixfelix: http://moinmo.in/MoinAPI/Examples#request.groups
  80 2012-02-12T23:08:06  <ThomasWaldmann> btw, i have looked a bit at etherpad lite
  81 2012-02-12T23:08:32  <ThomasWaldmann> somehow i have a bit doubts about project focus and goals there
  82 2012-02-12T23:09:11  <ThomasWaldmann> if one tries it e.g. to edit some python source code, one quickly finds quite basic issues
  83 2012-02-12T23:10:14  <ThomasWaldmann> otoh, they seem to go into word-processor like direction with supporting text styles, pdf export etc. etc.
  84 2012-02-12T23:12:31  <ThomasWaldmann> they have a python binding that uses a http interface to talk to a epl server. but it has same license issue as mobwrite. apache license v2.
  85 2012-02-12T23:18:49  <dreimark> ThomasWaldmann: seen, but i wonder about beta.
  86 2012-02-12T23:19:36  <ThomasWaldmann> sure, it is beta. but why not just get simple text editing right first?
  87 2012-02-12T23:19:47  <dreimark> http://mrtopf.de/blog/de/ein-besseres-etherpad-dank-etherpad-lite/
  88 2012-02-12T23:20:05  <dreimark> if it is released it should not be beta
  89 2012-02-12T23:25:34  <dreimark> ThomasWaldmann: what do you mean by ne quickly finds quite basic issues
  90 2012-02-12T23:28:35  <ThomasWaldmann> see their issue tracker
  91 2012-02-12T23:28:43  <dreimark> this is maintained by mrtopf  http://yourpart.eu/p/pycamp2012
  92 2012-02-12T23:31:03  <dreimark> ThomasWaldmann: why did you press tab?
  93 2012-02-12T23:31:28  <dreimark> my example on the end by blanks automaticly indent correct
  94 2012-02-12T23:31:39  <dreimark> using 4 blanks
  95 2012-02-12T23:32:34  <dreimark> http://beta.etherpad.org/p/moin
  96 2012-02-12T23:55:56  <ThomasWaldmann> the etherpad protocol spec is not too complicated, but formulated in a very theoretical/mathematical way
  97 2012-02-12T23:56:51  <dreimark> i have not looked in these details but have talked with mrtopf
  98 2012-02-12T23:56:56  <dreimark> and he likes the new api
  99 2012-02-12T23:57:32  <dreimark> the first problem is if the license of the py adaptor becomes changed
 100 2012-02-12T23:57:44  <dreimark> and if not then we need a rewr
 101 2012-02-12T23:58:40  <ThomasWaldmann> that one might be rather easy. it is quite short and maybe they just do it.
 102 2012-02-12T23:59:10  <ThomasWaldmann> the problem is rather the unclear goal of that etherpad lite is for and the bugs/issues it has.
 103 2012-02-12T23:59:22  <ThomasWaldmann> what*

MoinMoin: MoinMoinChat/Logs/moin-dev/2012-02-12 (last edited 2012-02-12 02:00:04 by IrcLogImporter)