1 2009-12-21T00:34:35  <ThomasWaldmann> eSyr: 142,146,148,149 use variables so you don't have to determine the stuff again in 148,149
   2 2009-12-21T00:35:48  <ThomasWaldmann> eSyr: 159 -> pass
   3 2009-12-21T00:39:25  <ThomasWaldmann> eSyr: 41,42 nope. that stuff is metadata, not wiki markup, thus we don't support macros there.
   4 2009-12-21T00:40:39  <eSyr> how can i insert only timestamp using variables?
   5 2009-12-21T00:41:28  <ThomasWaldmann> look into PageEditor (not sure you can, but as I said: it never was intended to use current datetime stamp there)
   6 2009-12-21T00:41:33  <eSyr> (it's easier to use variable when you sure that you're translating last rev, especially when doing many small fixes)
   7 2009-12-21T00:42:14  <eSyr> (i have no need to open other page additionally to raw view then)
   8 2009-12-21T00:42:56  <ThomasWaldmann> usage of _(...): maybe we should not use i18n for those strings. those strings are only used by translation maintainers and they all are expected to understand English
   9 2009-12-21T00:43:17  <eSyr> well, gettext is used there efore me.
  10 2009-12-21T00:43:21  <eSyr> *before
  11 2009-12-21T00:43:47  <eSyr> (anyway, gettext can't make things worse)
  12 2009-12-21T00:44:20  <ThomasWaldmann> yeah, I just thought about translators having to translate all those new strings now just for their own usage...
  13 2009-12-21T00:44:32  <eSyr> well, they will not.
  14 2009-12-21T00:44:45  <eSyr> this is from moin-extensions, not moin-1.9
  15 2009-12-21T00:45:01  <ThomasWaldmann> ah, ok :)
  16 2009-12-21T00:45:53  <eSyr> (well, when and if it will be in main branch i suppose that at least aome languages will have so many translators that translating of this messages will be actual)
  17 2009-12-21T00:46:41  <ThomasWaldmann> 144 maybe that should give a warning too
  18 2009-12-21T00:48:32  <ThomasWaldmann> 169 comparing strings there (that might contain macro markup).
  19 2009-12-21T00:49:26  <ThomasWaldmann> ehrm forget comment about 169
  20 2009-12-21T00:50:31  <ThomasWaldmann> 164..167 is lastEditInfo the only way we have to determine timestamp?
  21 2009-12-21T00:51:09  <ThomasWaldmann> page.mtime() or so maybe?
  22 2009-12-21T00:52:33  <ThomasWaldmann> -123
  23 2009-12-21T00:58:20  <ThomasWaldmann> and i don't think we need \f and \v in that regex.
  24 2009-12-21T01:10:14  <eSyr> ThomasWaldmann, http://paste.pocoo.org/show/158423/
  25 2009-12-21T01:18:19  <ThomasWaldmann> except for the macro stuff it is fine now I think
  26 2009-12-21T01:19:16  <eSyr> hm, can i add var for inserting raw iso timestamp then?
  27 2009-12-21T01:20:13  <ThomasWaldmann> yes, I think that would make sense
  28 2009-12-21T01:20:26  <eSyr> then http://paste.pocoo.org/show/158432/
  29 2009-12-21T01:22:26  <ThomasWaldmann> maybe add the ..T..Z format as used by the macros
  30 2009-12-21T01:22:33  <ThomasWaldmann> but without the macro
  31 2009-12-21T01:22:56  <ThomasWaldmann> 2009-12-21T23:30:02Z
  32 2009-12-21T01:22:56  <moinBot`> ThomasWaldmann: Error: "TIMESTAMP@" is not a valid command.
  33 2009-12-21T01:23:08  <ThomasWaldmann> X)
  34 2009-12-21T01:23:37  <eSyr> yes, i used exactly the same name for it :)
  35 2009-12-21T01:24:56  <eSyr> http://paste.pocoo.org/show/158433/
  36 2009-12-21T01:27:03  <ThomasWaldmann> looks ok. can you give it a final test and run the pep8 checker over it?
  37 2009-12-21T01:27:15  <CIA-8> Eugene Syromyatnikov <evgsyr@gmail.com> default * 5390:cb4eff3da604 1.9/MoinMoin/Page.py:
  38 2009-12-21T01:27:15  <CIA-8> Page.py: fixed adding of page contents (only page data added now, without metadata)
  39 2009-12-21T01:27:15  <CIA-8> see MoinMoin:MoinMoinBugs/DeprecatedPageInclusionErrornousPageInstructionsProcessing for details.
  40 2009-12-21T01:27:17  <CIA-8> Eugene Syromyatnikov <evgsyr@gmail.com> default * 5391:587747855ee0 1.9/MoinMoin/PageEditor.py: PageEditor.py: added 2009-12-21T23:30:02Z variable for adding raw time stamp.
  41 2009-12-21T01:31:56  <eSyr> ok.
  42 2009-12-21T01:35:31  <eSyr> pep8 check passed.
  43 2009-12-21T01:38:22  <eSyr> hm, my tests passed.
  44 2009-12-21T01:44:13  <ThomasWaldmann> ok, commit :)
  45 2009-12-21T01:45:08  <eSyr> yay ^_^
  46 2009-12-21T05:45:43  *** jmc has joined #moin-dev
  47 2009-12-21T09:13:13  <dreimark> moin
  48 2009-12-21T09:20:25  <dreimark> eSyr: don't forget to add your name in the copyright line of checktranslation
  49 2009-12-21T09:21:50  <dreimark> and maybe remove some of the empty lines
  50 2009-12-21T09:22:30  <dreimark> in some of the lines the pastebin looks like the code were intended by the tab key
  51 2009-12-21T09:23:30  <dreimark> (may be i am wrong, but please check)
  52 2009-12-21T09:26:44  <dreimark> http://moinmo.in/MoinMoinBugs/Parser for ReST misses extensions definitions
  53 2009-12-21T09:27:03  <dreimark> I want to define some extensions for markup parsers
  54 2009-12-21T09:45:12  <dreimark> eSyr: we currently have two heads in moin-1.9
  55 2009-12-21T09:46:49  <dreimark> please merge
  56 2009-12-21T10:01:11  <johill> ThomasWaldmann: new intel mlc 80gb, iirc -- they gave it to us at kernel summit
  57 2009-12-21T10:01:26  <johill> ThomasWaldmann: however, I failed putting it in because I couldn't open the screw that holds the hd ... heh
  58 2009-12-21T10:11:29  <dreimark> torx screw?
  59 2009-12-21T10:36:25  <johill> it looked definitely like a philips
  60 2009-12-21T10:37:12  <johill> but it didn't open ... might have to take it and file it to be able to drive it
  61 2009-12-21T10:38:41  <johill> no tools to do that here tho
  62 2009-12-21T10:38:53  <johill> anyway, gotta scan some negatives
  63 2009-12-21T10:40:00  <dreimark> arg
  64 2009-12-21T10:41:24  <eSyr> dreimark, http://paste.pocoo.org/show/158493/ (and i have no access to moin-extensions, i think)
  65 2009-12-21T10:42:06  <eSyr> hm, on 1.9 hg heads tell only about one head...
  66 2009-12-21T10:47:00  <dreimark> eSyr: try hg merge
  67 2009-12-21T10:47:24  <eSyr> % hg merge
  68 2009-12-21T10:47:24  <eSyr> abort: there is nothing to merge
  69 2009-12-21T10:47:50  <eSyr> hm, where you see multiple heads?
  70 2009-12-21T10:48:57  <dreimark> http://paste.pocoo.org/show/158495/
  71 2009-12-21T10:50:55  * dreimark tries to fix it
  72 2009-12-21T10:51:01  <CIA-8> Eugene Syromyatnikov <evgsyr@gmail.com> default * 5392:f579b0ac0f2d 1.9/ (3 files in 2 dirs): merged
  73 2009-12-21T10:51:38  <eSyr> done already, sorry.
  74 2009-12-21T10:51:42  <dreimark> :)
  75 2009-12-21T10:53:29  <eSyr> shoukd i make hg export for moni-extensions or you (or Thomas) will commit patch himself?
  76 2009-12-21T10:54:02  <dreimark> eSyr: so you have checked that you don't be allowed to submit it yourself?
  77 2009-12-21T10:54:30  <eSyr> no, i trust Thomas :) i check it now.
  78 2009-12-21T10:54:49  <dreimark> ThomasWaldmann: ping
  79 2009-12-21T10:57:49  <dreimark> bbl
  80 2009-12-21T10:59:07  <CIA-8> Eugene Syromyatnikov <evgsyr@gmail.com> default * 465:fc9cdf513432 extensions/data/plugin/action/CheckTranslation.py:
  81 2009-12-21T10:59:07  <CIA-8> CheckTranslation.py: Added several features to action.
  82 2009-12-21T10:59:07  <CIA-8> * List of pages in translated language not in i18n.strings['all_pges']
  83 2009-12-21T10:59:07  <CIA-8> * Warnings about missing or wrong special comments
  84 2009-12-21T10:59:08  <CIA-8> * Information about outdated translations based on special comments
  85 2009-12-21T10:59:16  <eSyr> wow, it works.
  86 2009-12-21T11:03:14  <CIA-8> Eugene Syromyatnikov <evgsyr@gmail.com> default * 466:b7757d0badd7 extensions/data/plugin/action/CheckTranslation.py: CheckTranslation.py: fixed wrong date format message.
  87 2009-12-21T11:26:32  <dreimark> :)
  88 2009-12-21T11:52:03  *** eSyr has quit IRC
  89 2009-12-21T12:15:51  *** franklin has quit IRC
  90 2009-12-21T12:37:01  *** eSyr has joined #moin-dev
  91 2009-12-21T12:37:10  <CIA-8> Reimar Bauer <rb.proj AT googlemail DOT com> default * 467:6e5f50c5855f extensions/data/plugin/macro/ (CycleContent.py DataRevPlot.py): PEP8 whitespace cleanup
  92 2009-12-21T15:44:53  *** xjjk has quit IRC
  93 2009-12-21T15:50:05  *** xjjk has joined #moin-dev
  94 2009-12-21T15:53:05  *** y84 has joined #moin-dev
  95 2009-12-21T18:36:30  <CIA-8> Eugene Syromyatnikov <evgsyr@gmail.com> default * 468:8b53c9f8da32 extensions/data/plugin/action/CheckTranslation.py: CheckTranslation.py: master-rev renamed to master-revision, several typos (underscore instead of dash) in messages fixed.
  96 2009-12-21T18:36:31  <CIA-8> Eugene Syromyatnikov <evgsyr@gmail.com> default * 469:045b03f49a3e extensions/data/plugin/macro/ (CycleContent.py DataRevPlot.py): merge
  97 2009-12-21T18:49:18  *** y84 has quit IRC
  98 2009-12-21T19:51:20  *** eSyr has quit IRC
  99 2009-12-21T20:26:22  <dreimark> ThomasWaldmann: some of the moin command scripts are broken
 100 2009-12-21T20:27:54  <dreimark> if one configures HTTPAuthMoin
 101 2009-12-21T20:28:35  <dreimark> http://paste.pocoo.org/show/158620/
 102 2009-12-21T20:53:41  <ThomasWaldmann> re
 103 2009-12-21T20:58:05  <ThomasWaldmann> dreimark: yeah, that's somehow conceptually broken
 104 2009-12-21T20:58:41  <dreimark> if found it by writing destroysession
 105 2009-12-21T21:00:45  <ThomasWaldmann> hm?
 106 2009-12-21T21:02:57  <dreimark> http://paste.pocoo.org/show/158639/
 107 2009-12-21T21:03:11  <dreimark> i need something which destroys session files for a user
 108 2009-12-21T21:03:18  <dreimark> by a) not logged out
 109 2009-12-21T21:03:33  <dreimark> or b) too much session files because of xmlrpc
 110 2009-12-21T21:04:30  <ThomasWaldmann> for a) there is the session lifetime
 111 2009-12-21T21:04:45  <ThomasWaldmann> for b), there is maybe a fix needed :)
 112 2009-12-21T21:05:23  <dreimark> a) is too long and it will change for all users
 113 2009-12-21T21:05:40  <dreimark> and b) yeah xmlrpc should not do that
 114 2009-12-21T21:07:03  <dreimark> killing a session on demand by a script is better then grepping and purging on fs level
 115 2009-12-21T21:10:07  * dreimark fixes comments
 116 2009-12-21T21:10:15  <ThomasWaldmann> i still wonder about why that is necessary for one or few users
 117 2009-12-21T21:17:05  <dreimark> if you have set acls and you demonstrate something and will be disturbed then it happens that you don't log out (at least it happens to me)
 118 2009-12-21T21:18:55  <dreimark> and sometimes someone told me he has used a motel computer and was not sure to have logged out
 119 2009-12-21T21:20:19  <dreimark> i can put it to 1.9 or extensions it does not matter for me
 120 2009-12-21T21:30:52  <ThomasWaldmann> a generic session file cleaner would be useful
 121 2009-12-21T21:33:54  <dreimark> i add a FR we can discuss it there better, currently I look at how it can be done in 1.8
 122 2009-12-21T21:36:57  <dreimark> (that code reads difficult - werkzeug is great)
 123 2009-12-21T21:44:58  <dreimark> haha, it is also easy less lines a 1.9 (have had to remember that caching is involved)
 124 2009-12-21T22:06:20  <dreimark> gn
 125 2009-12-21T22:16:33  <ThomasWaldmann> gn dreimark
 126 2009-12-21T23:55:35  *** jmc has left #moin-dev
 127 

MoinMoin: MoinMoinChat/Logs/moin-dev/2009-12-21 (last edited 2009-12-20 23:45:02 by IrcLogImporter)