1 2010-09-06T00:01:31 <dreimark> \o/ dsl is back
2 2010-09-06T00:01:58 <dreimark> ThomasWaldmann: do we something sim. to mtime in the meta data - i didn't find it
3 2010-09-06T00:02:25 <dreimark> +have
4 2010-09-06T00:02:33 <ThomasWaldmann> meaning what?
5 2010-09-06T00:02:56 <dreimark> page.mtime replacement
6 2010-09-06T00:05:06 <ThomasWaldmann> .timestamp? for what do you need that?
7 2010-09-06T00:06:17 <dreimark> i removed the caching because i didn't found how to compare old to new
8 2010-09-06T00:09:02 <ThomasWaldmann> why do you need caching?
9 2010-09-06T00:12:17 <dreimark> we had it in the past too. i am not sure if we really need it
10 2010-09-06T00:16:02 <ThomasWaldmann> i don't think so, we have ready-to-use dicts and groups in the metadata, what do you want to cache?
11 2010-09-06T00:21:17 <dreimark> it makes only sense if we need faster access to one file on one storagebackend than on many
12 2010-09-06T00:21:55 <dreimark> the caching can be on one "file" while we can have many different storage backends
13 2010-09-06T00:24:32 <ThomasWaldmann> i'ld say we introduce caching if we need it
14 2010-09-06T00:24:41 <ThomasWaldmann> no cache, no consistency problems :)
15 2010-09-06T00:25:53 <dreimark> yeah :)
16 2010-09-06T00:56:58 <CIA-36> Reimar Bauer <rb.proj AT googlemail DOT com> default * 9878:c8bcffb1b4eb 2.0-dev/MoinMoin/ (5 files in 5 dirs):
17 2010-09-06T00:56:58 <CIA-36> refactor wiki_dicts code
18 2010-09-06T00:56:58 <CIA-36> * caching removed (it can be reintroduced if it is needed)
19 2010-09-06T00:57:48 <dreimark> more refactoring after group code
20 2010-09-06T00:58:08 <dreimark> gn
21 2010-09-06T00:58:40 <ThomasWaldmann> gn dreimark
22 2010-09-06T01:30:38 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9879:d2e662f03aa2 2.0-dev/ (3 files in 2 dirs): add flask-babel 0.7 to MoinMoin.support.flaskext
23 2010-09-06T01:30:38 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9880:0a29c6e474d2 2.0-dev/MoinMoin/ (5 files in 4 dirs): (log message trimmed)
24 2010-09-06T01:30:38 <CIA-36> start using flask-babel, see below
25 2010-09-06T01:30:38 <CIA-36> MoinMoin.N_ and MoinMoin._ are provided by flask-babel now.
26 2010-09-06T01:30:39 <CIA-36> user.locale and .timezone provide the user's locale (e.g. 'de') and timezone
27 2010-09-06T01:30:39 <CIA-36> (e.g. 'Europe/Berlin').
28 2010-09-06T01:30:40 <CIA-36> Modified user settings form so one can enter timezone and locale strings (this
29 2010-09-06T01:30:40 <CIA-36> should be made more comfortable later).
30 2010-09-06T01:30:42 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9881:68bf1ccadf5f 2.0-dev/MoinMoin/ (5 files in 5 dirs): merged main
31 2010-09-06T02:48:51 *** RogerHaase
32 2010-09-06T03:28:11 <valeuf> code uploaded for the SoC \,/
33 2010-09-06T09:01:25 <ThomasWaldmann> moin
34 2010-09-06T09:22:04 *** moinBot`
35 2010-09-06T09:22:07 *** valeuf
36 2010-09-06T09:22:25 *** moinBot
37 2010-09-06T09:22:25 *** valeuf
38 2010-09-06T09:22:26 *** zenhase
39 2010-09-06T09:22:41 *** ronny
40 2010-09-06T09:22:43 *** ronny
41 2010-09-06T09:22:46 *** xorAxAx
42 2010-09-06T09:23:34 *** xorAxAx
43 2010-09-06T09:27:44 *** zenhase
44 2010-09-06T10:31:29 *** gwork
45 2010-09-06T11:12:57 <ronny> ThomasWaldmann: you guys intending to eventually use flask-themes?
46 2010-09-06T11:17:12 <dreimark> moin
47 2010-09-06T11:20:48 <ronny> hey dreimark
48 2010-09-06T11:26:45 <dreimark> ronny: do you have an idea for the reason of http://moinmo.in/MoinMoinChat/Logs/moin-dev/2010-09-05#CA-78a40c6cb735ac51f73293694a9352b94178594e_14
49 2010-09-06T11:27:21 <dreimark> bbl
50 2010-09-06T11:27:26 <ronny> dreimark: no, im also not really looking into it deeply
51 2010-09-06T11:27:53 <dreimark> ok
52 2010-09-06T11:29:30 <ronny> hmm, pondering wether i should add it to todays todo
53 2010-09-06T11:31:30 <ThomasWaldmann> ronny: yes
54 2010-09-06T11:32:30 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9882:12aeaf098205 2.0-dev/MoinMoin/ (__init__.py theme/__init__.py user.py userprefs/prefs.py):
55 2010-09-06T11:32:30 <CIA-36> improve flask-babel usage, remove old i18n package usage
56 2010-09-06T11:32:30 <CIA-36> get_locale: use language related wiki configuration
57 2010-09-06T11:32:30 <CIA-36> setup_i18n_*: only leave a stub until all is refactored to babel
58 2010-09-06T11:32:30 <CIA-36> ThemeSupport: use dummies ('ltr') for direction, need to find out how to do
59 2010-09-06T11:32:31 <CIA-36> that with babel or whatever.
60 2010-09-06T11:32:42 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9883:f9bdbb9a749f 2.0-dev/MoinMoin/script/ (__init__.py maint/cleancache.py): remove moin maint cleancache - not needed any more
61 2010-09-06T11:32:42 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9884:931e8260e91f 2.0-dev/MoinMoin/ (10 files in 4 dirs): remove old i18n code and related tools
62 2010-09-06T11:32:42 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9885:934d781eba13 2.0-dev/MoinMoin/i18n/strings.py: remove i18n.strings - mostly outdated
63 2010-09-06T11:32:42 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9886:ef0763120810 2.0-dev/MoinMoin/i18n/tools/babel.cfg: babel.cfg: fix static file location
64 2010-09-06T11:32:42 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9887:61ff0b72f0a8 2.0-dev/ (7 files in 4 dirs): move babel stuff to toplevel dir, move MoinMoin.pot to translations/
65 2010-09-06T11:43:03 <ThomasWaldmann> ronny: if you want to help with that, feel free to do so :)
66 2010-09-06T11:56:30 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9888:a8539bcf4103 2.0-dev/setup.py: update setup.py
67 2010-09-06T11:57:32 <ronny> ThomasWaldmann: certainly not today tho
68 2010-09-06T11:57:47 <ronny> ThomasWaldmann: i got the feeling my next moin hacking will be on 27c3
69 2010-09-06T11:58:46 <ThomasWaldmann> X)
70 2010-09-06T11:59:47 <ThomasWaldmann> I guess we'll need themes before that.
71 2010-09-06T12:04:22 <aa_> ThomasWaldmann: you know ronny is now a full pocoo member :D we can use him on the inside!
72 2010-09-06T12:04:45 <aa_> one day they will wake up to find s/g/flaskg/
73 2010-09-06T12:05:01 <ronny> oO
74 2010-09-06T12:05:30 <ronny> i suddenly feel stabby
75 2010-09-06T12:05:38 * ronny glares at aa_
76 2010-09-06T12:05:50 * aa_ prestabs ronny
77 2010-09-06T12:06:50 * ronny looses grip and watches the piano fall down on aa_
78 2010-09-06T12:06:57 * ronny orders a new piano
79 2010-09-06T12:09:01 <ThomasWaldmann> hehe
80 2010-09-06T12:19:09 <ThomasWaldmann> aa_: btw, my flask has flaskg, by monkeypatching
81 2010-09-06T12:19:51 <aa_> ThomasWaldmann: but that's kinda evil too
82 2010-09-06T12:20:25 <ThomasWaldmann> well, I couldn't wait for the end of endless discussions, so...
83 2010-09-06T12:21:30 <aa_> toyeah, fair enough, you could wait forever
84 2010-09-06T12:24:54 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9889:0b717f74c990 2.0-dev/MoinMoin/theme/__init__.py: jinja2 environment setup: add some comments about what we get from flask-babel, remove own _
85 2010-09-06T12:40:37 <dreimark> let's see how long this ang* user needs to learn that he uses the wrong wiki
86 2010-09-06T12:47:57 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9890:fe57fc47a4a1 2.0-dev/MoinMoin/ (5 files in 2 dirs): templates: use date/time filters provided by flask-babel, remove our filters
87 2010-09-06T13:18:47 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9891:da4e544c2dd2 2.0-dev/MoinMoin/ (4 files in 2 dirs): use babel's format_date(time) in moin code instead of own stuff
88 2010-09-06T13:18:47 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9892:b6e89ac7b9ac 2.0-dev/MoinMoin/user.py: user: remove own time adjustment, date/time formatting code
89 2010-09-06T13:18:49 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9893:029d07074ce9 2.0-dev/MoinMoin/ (5 files in 5 dirs): remove tz_offset stuff, we have real timezone now
90 2010-09-06T13:40:09 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9894:08a3f00801a1 2.0-dev/MoinMoin/ (7 files in 6 dirs):
91 2010-09-06T13:40:09 <CIA-36> remove date(time)_fmt from user and cfg (we use format from locale now, via babel)
92 2010-09-06T13:40:09 <CIA-36> for generating Trash/* names, we used a hardcoded iso-like format
93 2010-09-06T13:41:27 <ronny> ThomasWaldmann: it must feel good to remove all that stuff you had to maintain for something thats maintained by others
94 2010-09-06T13:56:09 <ThomasWaldmann> ronny: yeah :)
95 2010-09-06T13:57:10 <ThomasWaldmann> i try to contribute there by pointing out bugs or strange behaviour, or even fixing stuff
96 2010-09-06T15:20:29 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9895:25e0124cf1ee 2.0-dev/MoinMoin/ (19 files in 9 dirs): fixes for newstyle gettext calls (nice, but different!)
97 2010-09-06T15:23:37 <ThomasWaldmann> all developers please see that ^^ diff, it works now like this: _("bla bla %(something)s bla bla", something="...")
98 2010-09-06T15:24:25 <ThomasWaldmann> diofeher: DmitryAndreev_: dreimark: eSyr: TheSheep: valeuf: waldi: xorAxAx: ^^
99 2010-09-06T15:29:52 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9896:a6ac3238aa01 2.0-dev/MoinMoin/apps/frontend/views.py: fix item_name for login, not needed for logout
100 2010-09-06T15:47:05 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9897:7bb4db09a21d 2.0-dev/MoinMoin/__init__.py: fix early get_locale/get_timezone, when flaskg.user is not there yet
101 2010-09-06T16:13:37 *** RogerHaase
102 2010-09-06T16:40:05 <ThomasWaldmann> RogerHaase: hi
103 2010-09-06T16:40:26 <ThomasWaldmann> to make the css task smaller, what do you think about splitting it into theme vs. content?
104 2010-09-06T16:47:36 *** RogerHaase1
105 2010-09-06T16:47:56 <RogerHaase1> Moin!
106 2010-09-06T16:51:25 <RogerHaase1> I am confused by what you mean by UI vs. content. Most contributed themes change header, footer, and content areas. A couple, Mandarin and Solinoid, even change the layout of recent changes.
107 2010-09-06T16:51:56 *** RogerHaase
108 2010-09-06T16:53:31 <ThomasWaldmann> well, maybe one can't deal with it completely separately (as it still needs to look consistent, but the content generation is done by the converter code while the theme is done by templates
109 2010-09-06T16:54:02 <ThomasWaldmann> so you usually can't change how the content basically looks like (on the html level)
110 2010-09-06T16:57:53 <RogerHaase1> Right. I was just now reviewing all the wiki pages on how to write themes on 1.x and thinking about how Moin2 would/could be different/better.
111 2010-09-06T16:59:02 <ThomasWaldmann> you've seen that "alternate style" stuff?
112 2010-09-06T16:59:42 <RogerHaase1> I don't think so, reference?
113 2010-09-06T17:00:11 <ThomasWaldmann> somewhere on dio's page
114 2010-09-06T17:00:25 <RogerHaase1> Looking...
115 2010-09-06T17:00:26 <ThomasWaldmann> but it is simpler to tell maybe
116 2010-09-06T17:00:35 <ThomasWaldmann> it is just like a "sub style"
117 2010-09-06T17:00:49 <ThomasWaldmann> so you basically have some theme x
118 2010-09-06T17:01:20 <ThomasWaldmann> but if you just want different colours (for example), you can select that alternate style sheet of x and get x in another colour
119 2010-09-06T17:05:43 <RogerHaase1> This is a user preference, a wiki admin function or both?
120 2010-09-06T17:06:03 <ThomasWaldmann> some browsers (like ff) have an ui for this
121 2010-09-06T17:06:44 <ThomasWaldmann> so user's choice
122 2010-09-06T17:07:47 <RogerHaase1> OK, I wasn't thinking of that. Usually used for assessibility.
123 2010-09-06T17:17:12 <RogerHaase1> I was thinking of writing another page documenting how writing a theme in Moin2 would be different. That would clarify the sequence of loads for CSS, javascript, templates, python, icons, etc.
124 2010-09-06T17:20:32 <ThomasWaldmann> maybe don't try to spread on too many pages
125 2010-09-06T17:20:57 <ThomasWaldmann> (and also move that css stuff from my braindump page, my brain doesn't have much about css to dump :)
126 2010-09-06T17:25:11 *** RogerHaase1
127 2010-09-06T17:25:34 *** RogerHaase
128 2010-09-06T17:25:42 <RogerHaase> OK, I will write one page and move CSS brain dump. I usually prefer to write draft of user doc before coding as it helps to clarify issues.
129 2010-09-06T17:28:57 <ThomasWaldmann> yeah, good idea
130 2010-09-06T17:33:57 *** gwork
131 2010-09-06T19:38:30 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9898:2d7d6c2681d9 2.0-dev/MoinMoin/__init__.py: generate available translations and timezones list (TODO: move it to right place)
132 2010-09-06T19:39:41 <ThomasWaldmann> I'll try to make some settings view from that later ^^
133 2010-09-06T19:40:36 <ThomasWaldmann> am I seeing it right that I should ask for: locale, timezone, language (from a list of languages we have translations for)
134 2010-09-06T19:41:51 *** RogerHaase1
135 2010-09-06T19:42:06 *** RogerHaase
136 2010-09-06T19:42:55 <ThomasWaldmann> btw, i am also a bit unsure about how to handle (or whether I need to handle) writing direction
137 2010-09-06T19:43:59 <ThomasWaldmann> moin1 used to put those dir="ltr" (or "rtl") attributes, but I read about that it should be determined by a bidi algo, so that means one does not need to give it?
138 2010-09-06T19:45:26 <TheSheep> we need someone who uses rtl
139 2010-09-06T19:45:40 <TheSheep> otherwise there is no way to get that right
140 2010-09-06T19:47:21 <TheSheep> RogerHaase1: I'm not sur it
141 2010-09-06T19:47:47 <TheSheep> RogerHaase1: I'm not sur it's a good idea to force the default theme css on all themes and to have them undone in all themes
142 2010-09-06T19:47:53 <TheSheep> RogerHaase1: I'd like to avoid boilerplate
143 2010-09-06T19:48:21 <TheSheep> sure*
144 2010-09-06T19:52:42 <RogerHaase1> Wikimedia uses http://code.google.com/p/cssjanus/ for RTL. But I am puzzled why the RTL version is loaded all the time by wikimedia and why the RTL version is a full copy of the CSS rather than just the parts that needs RTLing.
145 2010-09-06T20:00:08 *** RogerHaase1
146 2010-09-06T20:00:55 *** RogerHaase
147 2010-09-06T20:03:06 *** RogerHaase
148 2010-09-06T20:03:44 *** RogerHaase
149 2010-09-06T20:10:05 <TheSheep> RogerHaase: I could ask them, they have their office 2 blocks from me.
150 2010-09-06T20:10:31 *** RogerHaase
151 2010-09-06T20:11:02 *** RogerHaase
152 2010-09-06T20:11:05 <RogerHaase> I seem to be having problems with chat today. My internet connection is solid otherwise.
153 2010-09-06T20:21:36 <ThomasWaldmann> (20:10) -!- RogerHaase [~roger@97-124-75-203.phnx.qwest.net] has quit [Read error: Network is unreachable]
154 2010-09-06T20:21:57 *** RogerHaase
155 2010-09-06T20:22:22 *** RogerHaase
156 2010-09-06T20:22:27 <RogerHaase> TheSheep: How do you divide the theme CSS from non-theme CSS? Or if you are referring to Moin2CSSStyleGuide comment about loading moin2.css first, old 1.x recommendation was to start with @import.
157 2010-09-06T20:23:35 <RogerHaase> I think it is best to give up on chat for today. I am not sure what I am missing. Will read the log and try again tomorrow. bye.
158 2010-09-06T20:23:44 *** RogerHaase
159 2010-09-06T22:03:30 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 9899:3c79d72831fd 2.0-dev/MoinMoin/ (4 files in 2 dirs): user settings: split form into multiple smaller ones, integrate change password form
160 2010-09-06T23:57:19 <dreimark> ThomasWaldmann: KeyError: 'city'
161 2010-09-06T23:58:15 <dreimark> MoinMoin/support/babel/localedata.py", line 195, in __getitem
162 2010-09-06T23:58:29 <dreimark> orig = val = dict.__getitem__(self, key)