1 2013-06-17T00:04:20  *** sunu has quit IRC
   2 2013-06-17T00:04:40  *** birkenfeld has quit IRC
   3 2013-06-17T00:04:52  *** birkenfeld has joined #moin-dev
   4 2013-06-17T00:04:52  *** sunu has joined #moin-dev
   5 2013-06-17T06:43:18  <TheSheep> ThomasWaldmann: yes
   6 2013-06-17T06:43:30  <TheSheep> ThomasWaldmann: we will have to feed it from the gettext
   7 2013-06-17T06:43:42  <TheSheep> ThomasWaldmann: congrats on the ui
   8 2013-06-17T06:46:16  *** ana_ananasova has joined #moin-dev
   9 2013-06-17T07:00:23  *** ashutosh1461 has joined #moin-dev
  10 2013-06-17T07:46:31  *** ana_ananasova has quit IRC
  11 2013-06-17T07:52:05  *** ana_ananasova has joined #moin-dev
  12 2013-06-17T07:52:30  *** ana_ananasova has quit IRC
  13 2013-06-17T07:53:53  *** ana_ananasova has joined #moin-dev
  14 2013-06-17T09:11:28  *** sharky93 has joined #moin-dev
  15 2013-06-17T09:12:32  <sharky93> moin
  16 2013-06-17T09:14:55  <sharky93> ThomasWaldmann, nice, can you host the UI somewhere, where we can see ? :)
  17 2013-06-17T09:20:25  *** greg_f has joined #moin-dev
  18 2013-06-17T10:10:40  <ThomasWaldmann> moin
  19 2013-06-17T10:12:18  *** greg_f has quit IRC
  20 2013-06-17T10:33:54  *** greg_f has joined #moin-dev
  21 2013-06-17T10:40:33  *** ashutosh1461 has quit IRC
  22 2013-06-17T10:41:14  *** ashutosh1461 has joined #moin-dev
  23 2013-06-17T10:44:53  <ashutosh1461> moin
  24 2013-06-17T10:46:49  <ana_ananasova> moin
  25 2013-06-17T10:55:32  *** greg_f has quit IRC
  26 2013-06-17T10:56:07  *** greg_f has joined #moin-dev
  27 2013-06-17T10:58:02  <ThomasWaldmann> xiaq: why do you have only 1 "yes" day/hour per week?
  28 2013-06-17T11:00:00  <ThomasWaldmann> sharky93: similar question for you (a bit more, but still)
  29 2013-06-17T11:01:14  <ThomasWaldmann> waldi: dreimark_: eSyr: TheSheep: http://www.doodle.com/xpwgqh74mrm7p2p9 please fill in your preferred weekdays/hours
  30 2013-06-17T11:02:15  <ThomasWaldmann> spy__: ashutosh1461: ^^
  31 2013-06-17T11:08:26  <ashutosh1461> ThomasWaldmann, done.
  32 2013-06-17T11:11:53  <sharky93> ThomasWaldmann, updated. Previously i had only filled up till the end of this week
  33 2013-06-17T11:19:16  <xiaq> somehow some "yes"s weren't saved :-|
  34 2013-06-17T11:19:21  <ThomasWaldmann> spy__: i also usually hit <enter> after typing my name, but this time i remembered not to do that.
  35 2013-06-17T11:20:59  *** ana_ananasova has quit IRC
  36 2013-06-17T11:24:22  <spy__> ThomasWaldmann: done
  37 2013-06-17T11:24:48  <spy__> dreimark_: ThomasWaldmann: 04:04 -!- sunu [~tmishra@shell.thinkmo.de] has joined #moin-dev
  38 2013-06-17T11:24:51  *** ana_ananasova has joined #moin-dev
  39 2013-06-17T11:24:55  <spy__> oh, sorry
  40 2013-06-17T11:25:04  <spy__> dreimark_: ThomasWaldmann: http://etherpad.osuosl.org/moin-commenting
  41 2013-06-17T11:26:22  <ThomasWaldmann> sharky93: http://static.moinmo.in/temp/settings.html http://static.moinmo.in/temp/modify.html (not much, just some rather quick playing with jquery-mobile)
  42 2013-06-17T11:27:48  <ThomasWaldmann> sharky93: for the modify, mostly the auto-extending behaviour of the text box is interesting (and of course the meta tab would show edit inputs for metadata)
  43 2013-06-17T11:30:40  <sharky93> ThomasWaldmann, this type of a layout can also be made to stack up nicely on mobile :)
  44 2013-06-17T11:38:32  <sharky93> works fine with Opera Mini 7.5 too! which afaik doesnt have much AJAX support.
  45 2013-06-17T11:48:53  <ThomasWaldmann> spy__: added comments to EP, see chat there
  46 2013-06-17T11:50:27  <ThomasWaldmann> sharky93: i found it lovely to just hack in some html, add some attrs and have it look nice. without having long fights with css/js.
  47 2013-06-17T11:51:17  <ThomasWaldmann> of course this stuff is very simple. and i didn't even test the form POST (or GET).
  48 2013-06-17T11:52:07  <sharky93> yes, its a good bootstrap ;)
  49 2013-06-17T12:24:36  <sharky93> TheSheep, i've been going through the i18n plugin again, it is not much difficult to use it, the crucial part is will our dictionaries be wholly customized by us?
  50 2013-06-17T12:25:09  <sharky93> TheSheep, we do not want to be serving the whole gettext service?
  51 2013-06-17T12:25:22  <sharky93> *gnu gettext
  52 2013-06-17T12:25:34  *** dreimark has quit IRC
  53 2013-06-17T12:26:36  *** dreimark_ is now known as dreimark
  54 2013-06-17T12:27:08  *** dreimark has quit IRC
  55 2013-06-17T12:27:08  *** dreimark has joined #moin-dev
  56 2013-06-17T12:39:54  <TheSheep> sharky93: we will want to have the dictionary generated from the gettext-translated texts, but only for the parts that are used in js
  57 2013-06-17T12:41:22  <sharky93> TheSheep, yeah sure. so how do we provide the service to add anything to the dictionaries if in future some text is added to the js
  58 2013-06-17T12:43:12  <ThomasWaldmann> babel is maybe able to extract stuff from js (like it extracts stuff from .py and .html jinja2 templates)
  59 2013-06-17T12:45:08  <ThomasWaldmann> see setup.py message_extractors
  60 2013-06-17T12:46:02  <ThomasWaldmann> (we have docs for translators btw how to work with the babel stuff, read them)
  61 2013-06-17T12:53:26  *** dave_largo has joined #moin-dev
  62 2013-06-17T13:08:05  <TheSheep> ThomasWaldmann: I was thinking about it, but that would require a separate .po file
  63 2013-06-17T13:08:23  <TheSheep> ThomasWaldmann: or somehow marking the strings as being used in js
  64 2013-06-17T13:08:39  <TheSheep> ThomasWaldmann: for now, I just want to list them explicitly in the js template
  65 2013-06-17T13:09:53  <ThomasWaldmann> TheSheep: i think if we just maintain the english .json file manually, we can use the original texts from there to get all the translations from the po and write all other json files.
  66 2013-06-17T13:11:31  <TheSheep> ThomasWaldmann: I was thinking about just having something like  {'some text': {{ _(
  67 2013-06-17T13:11:37  <ThomasWaldmann> (if there is a standard way to do such "marking", I am fine with that also, but I am not aware of any)
  68 2013-06-17T13:11:42  <TheSheep> ThomasWaldmann: I was thinking about just having something like  {'some text': {{ _('some text') }} } in the js template
  69 2013-06-17T13:12:21  <TheSheep> ThomasWaldmann: well, babel adds comment telling us where the string comes from
  70 2013-06-17T13:13:00  <ThomasWaldmann> yeah, but one cannot access them from gettext api, right?
  71 2013-06-17T13:13:22  <TheSheep> not sure, transifex does access them
  72 2013-06-17T13:14:18  <ThomasWaldmann> so, you would keep the template method that is currently used, but just for the i18n as a separate file that renders to json?
  73 2013-06-17T13:14:25  <TheSheep> yes
  74 2013-06-17T13:14:33  <TheSheep> at least for now
  75 2013-06-17T13:14:34  *** ashutosh1461 has quit IRC
  76 2013-06-17T13:14:41  <TheSheep> maybe we will come up with something better
  77 2013-06-17T13:14:43  <ThomasWaldmann> that sounds the easiest way and should just work
  78 2013-06-17T13:15:08  <TheSheep> actually to jsonp not json, but that's details
  79 2013-06-17T13:15:19  <ThomasWaldmann> (i18n was the main reason for me to make the .js stuff a template, just to reuse the working i18n that was already present there :D )
  80 2013-06-17T13:15:31  <TheSheep> yeah
  81 2013-06-17T13:15:40  <TheSheep> but I really need a working linter
  82 2013-06-17T13:15:56  <ThomasWaldmann> of course .js linters / code-inspection from pycharm doesn't like that
  83 2013-06-17T13:15:57  <TheSheep> writing js without a linter is asking for trouble, the language has broken syntax
  84 2013-06-17T13:16:30  <ThomasWaldmann> sharky93: so you know what you have to do? ^^ :)
  85 2013-06-17T13:18:36  <ThomasWaldmann> TheSheep: btw, i have seen all these list and table enhancements of jquery-mobile yesterday, looks like they would be useful for history / index / threaded comments / ...
  86 2013-06-17T13:19:51  * ThomasWaldmann recently has seen a javascript talk (on youtube), pointing out that ; parser evilness :D
  87 2013-06-17T13:20:48  <ThomasWaldmann> and how it influences block begin/end style, because only one way really works, because the other way gets broken by that ; magic
  88 2013-06-17T13:24:01  <eSyr> ThomasWaldmann: what do you mean by ; magic?
  89 2013-06-17T13:26:12  <ThomasWaldmann> it seems the parser sometimes inserts a ; if it feels there is one missing
  90 2013-06-17T13:27:06  <ThomasWaldmann> http://www.youtube.com/watch?v=hQVTIJBZook iirc it was that one
  91 2013-06-17T13:28:42  <eSyr> hehe, http://3.bp.blogspot.com/-uPZ2b48viTk/TflhMaivRHI/AAAAAAAABC8/dYV8_fPjFTs/s1600/JavaScript-the-good-parts.jpg
  92 2013-06-17T13:32:42  <sharky93> some say even that should be thinner :P
  93 2013-06-17T13:33:46  <sharky93> ThomasWaldmann, yes i understand :) .. just one question for more clarity, the language in which it has to render is picked from the User Settings in Moin or any other technique?
  94 2013-06-17T13:41:16  <eSyr> ah, i see.
  95 2013-06-17T13:41:30  <eSyr> well, never had such problems.
  96 2013-06-17T13:45:12  <eSyr> (but the problems with == and null/undefined definitely have delivered me a lot of headache)
  97 2013-06-17T13:47:07  <ThomasWaldmann> eSyr: that's thick compared to the php one :D
  98 2013-06-17T13:48:28  <ThomasWaldmann> sharky93: see MoinMoin.i18n.get_locale
  99 2013-06-17T15:36:50  * sharky93 brb
 100 2013-06-17T15:42:31  *** dreimark is now known as ReimarBauer
 101 2013-06-17T15:45:06  *** sharky93 has quit IRC
 102 2013-06-17T16:21:05  *** ashutosh1461 has joined #moin-dev
 103 2013-06-17T16:26:38  <ashutosh1461> ThomasWaldmann, how are we going to handle page discussion ? as a sub-item or shall we move it to a different namespace ?
 104 2013-06-17T16:26:45  * xiaq has 2 exams on 19, so won't likely be able to work before then. :-|
 105 2013-06-17T16:27:51  <ThomasWaldmann> ashutosh1461: you don't need to care for that, maybe it will be handled completely differently, see spy's EP
 106 2013-06-17T16:30:25  <xiaq> eSyr: lol, but it has an appendix "bad parts" and "ugly parts" that are in turn considerably much than the good parts :D
 107 2013-06-17T16:36:22  *** diofeher has joined #moin-dev
 108 2013-06-17T16:44:06  *** ashutosh_singla1 has joined #moin-dev
 109 2013-06-17T16:44:46  *** ashutosh1461 has quit IRC
 110 2013-06-17T16:46:09  *** ashutosh_singla1 is now known as ashutosh1461
 111 2013-06-17T16:52:50  *** greg_f has quit IRC
 112 2013-06-17T16:54:00  <ashutosh1461> ThomasWaldmann, i was looking at how mediawiki deals with namespaces, they have also defined different namespaces for templates and help contents, easier to categorize ?
 113 2013-06-17T16:57:16  <ThomasWaldmann> yeah. but you don't need to think to much about that, rather how we handle it at all. :)
 114 2013-06-17T16:57:33  <ThomasWaldmann> once we have it, we can have as many ns as we like.
 115 2013-06-17T16:57:43  *** diofeher has quit IRC
 116 2013-06-17T17:10:16  *** diofeher has joined #moin-dev
 117 2013-06-17T17:16:13  *** diofeher has quit IRC
 118 2013-06-17T17:57:25  *** sharky93 has joined #moin-dev
 119 2013-06-17T19:00:32  *** dav1d has quit IRC
 120 2013-06-17T19:03:42  *** dav1d has joined #moin-dev
 121 2013-06-17T19:04:37  *** spy__ has quit IRC
 122 2013-06-17T19:04:43  *** spy_ has joined #moin-dev
 123 2013-06-17T19:07:41  <ana_ananasova> where does metadata gets initialized on item creation before item is saved to the filesystem i.e. ?
 124 2013-06-17T19:08:48  <ana_ananasova> i have been looking to the storage/backends and storage/stores packages
 125 2013-06-17T19:11:49  *** ronny has quit IRC
 126 2013-06-17T19:15:34  *** ronny has joined #moin-dev
 127 2013-06-17T19:24:15  <ashutosh1461> ana_ananasova, check out items/__init__.py
 128 2013-06-17T19:31:47  <ana_ananasova> ashutosh1461: so a revision will be saved after a highlevel item gets created?
 129 2013-06-17T19:33:24  <ashutosh1461> created or modified
 130 2013-06-17T19:33:36  <ana_ananasova> thank you
 131 2013-06-17T20:28:33  *** ashutosh1461 has quit IRC
 132 2013-06-17T20:40:35  *** ana_ananasova has quit IRC
 133 2013-06-17T20:44:25  <spy_> ThomasWaldmann: Has anybody ever tried to draw UML diagrams for the code base of the Moin? Are there any common practice in OpenSource projects to do that or maybe not to?
 134 2013-06-17T21:05:07  *** dave_largo has quit IRC
 135 2013-06-17T22:08:59  <sharky93> TheSheep, are we fine with this approach? @ https://codereview.appspot.com/10330044
 136 2013-06-17T23:12:42  <sharky93> gn
 137 2013-06-17T23:13:13  *** sharky93 has quit IRC
 138 

MoinMoin: MoinMoinChat/Logs/moin-dev/2013-06-17 (last edited 2013-06-17 00:15:02 by IrcLogImporter)