Log for #openttdcoop.devzone on 23rd February 2013:
Times are UTC Toggle Colours
06:31:15  <Brot6> Progressive Train Set - Revision 11:63de3d2e1dc2: [Feature] Add S-01= 0-2-2 "Amy Jane" XMinchinWebX @
08:28:50  *** andythenorth has joined #openttdcoop.devzone
08:34:56  <Brot6> Webtranslator - Revision 40:d50a47b41391: Codechange: add some closing tags for xhtml compliance XandythenorthX @
08:35:37  <Brot6> Webtranslator - Revision 41:b85758d454ec: Codechange: add more closing tags for xhtml compliance XandythenorthX @
08:36:32  <Brot6> Webtranslator - Revision 42:4891f284cbe7: Codechange: make upload_errors xhtml compliant XandythenorthX @
08:37:41  <Brot6> Webtranslator - Revision 43:d93a69452294: Codechange: replace all instances of <br> with <br /> XandythenorthX @
09:02:05  *** andythenorth has left #openttdcoop.devzone
09:02:10  *** andythenorth has joined #openttdcoop.devzone
09:06:46  *** andythenorth has quit IRC
09:31:27  *** Supercheese has quit IRC
10:39:10  *** andythenorth has joined #openttdcoop.devzone
10:48:06  *** frosch123 has joined #openttdcoop.devzone
10:50:41  *** andythenorth has quit IRC
11:02:37  *** Alberth has joined #openttdcoop.devzone
11:05:53  *** andythenorth has joined #openttdcoop.devzone
11:09:26  <Brot6> Webtranslator - Revision 44:fa13044af5f8: Change: add labels to form elements for upload_lang XandythenorthX @
11:09:26  <Brot6> Webtranslator - Revision 45:0e04db292898: Codechange: add a closing tag to a <p> in upload_ok XandythenorthX @
11:12:37  <Brot6> Webtranslator - Revision 46:9eb303c77c3d: Change: add a few things to main_template XandythenorthX @
11:17:57  <Brot6> Webtranslator - Revision 47:ec5afb1693f0: Codechange: format string_form to be xhtml compliant XandythenorthX @
11:20:00  <Brot6> Webtranslator - Revision 48:e0f43a72926b: Change: tweak to footer XandythenorthX @
11:20:52  <Alberth> the html4 tags were too unbalanced? :)
11:23:19  <frosch123> hmm, i wanted to link you to the w3c conform logo on the ottd site, but appararently it was finally removed
11:23:42  <frosch123> it used to claim that the page was completely valid, but when you cilcked on it to validate, it listed dozens of errors :p
11:23:55  <Rubidium> s/removed/commented out/
11:24:06  <Rubidium> it used to be completely valid though
11:59:25  <Brot6> Webtranslator - Revision 49:79e92981b0c0: Change: improve main template nav and footer XandythenorthX @
12:01:17  <Brot6> Industrial Stations Renewal - Revision 59:ef165d33c8f8: Feature: Add Korean translation (thanks Telk... Xmart3pX @
12:16:07  <Brot6> NewGRF Meta Language - Bug #5012 (New): Problem with PIL in OS X XdandanX @
12:16:47  <andythenorth> bloody PIL
12:16:51  <andythenorth> bloody OS X python
12:16:59  <Alberth> I thought pillow support was added
12:17:21  <Brot6> FISH - Bug #5015 (New): DevZone compile failed XcompilerX @
12:17:22  <Brot6> FISH - Revision 1002:797f81e7430b: Codechange: append '_0' to png filenames preparatory to adding su... XandythenorthX @
12:17:23  <andythenorth> strange that it's the nmlc rev that broke it, not the OS version
12:17:30  <andythenorth> usually it's Apple that break it
12:17:44  <andythenorth> I have all python problems solved on my mac now btw
12:19:04  <Alberth> not sure why the import of PIL was moved
12:19:11  <Alberth> seems dangerous
12:19:19  <Alberth>
12:27:46  *** andythenorth has quit IRC
12:54:03  <planetmaker> Alberth, the reason is that both *should* work that way...
12:54:08  <planetmaker> good day also :-)
12:55:02  <Alberth> I would expect  try: import Image except ImportError: pass  ; try: from PIL import Image except ImportError: pass
12:55:23  <Alberth> ie a sequence of tries, perhaps even conditional  if not Image: ...
12:56:00  <Alberth> "import Image" and "from PIL import Image" are quite different points where you try to import from
12:56:17  <Alberth> and a good day to you as well :)
12:59:54  <planetmaker> well. That patch was suggested like that to us from the Fedora maintainer... and it worked also ony my machines...
13:00:29  <planetmaker> without installing pillow
13:01:42  <planetmaker> not sure what andy's "I've all python problems solved on my mac now" means, though...
13:05:11  <Rubidium> obviously he has installed Linux on his Mac
13:06:09  <frosch123> or "rm -rf /", because he disconnected shortly after
13:18:20  <planetmaker> Rubidium, but... I tested on osx as well. and it still works for me. even with firs
14:56:14  *** andythenorth has joined #openttdcoop.devzone
15:45:36  <Brot6> Webtranslator - Revision 50:4120a3bb5cfc: Change: add route to serve static files, and an example cs... XandythenorthX @
15:50:44  <Brot6> Webtranslator - Revision 51:71a85afe91c9: Change: add Twitter Bootstrap CSS library XandythenorthX @
16:06:36  <andythenorth> pastebin still dead? o_O
16:08:18  <frosch123> <- works fine for me
16:18:20  <Brot6> Webtranslator - Revision 52:56c15df5d719: Change: make static files work for nested paths XandythenorthX @
16:22:24  <Brot6> Webtranslator - Revision 53:914c519fc016: Change: add a doctype and namespace property XandythenorthX @
16:24:48  <Brot6> Webtranslator - Revision 54:d684c37dfa3b: Codechange: remove unncessary imports from XandythenorthX @
16:27:56  <Brot6> Webtranslator - Revision 55:92811299f805: Change: make the navbar a navbar XandythenorthX @
16:58:25  <Brot6> Webtranslator - Revision 56:5984b1cb4bdd: Change: provide a navbar, and style body container and h1 ... XandythenorthX @
17:09:15  *** ODM has joined #openttdcoop.devzone
17:16:02  <Brot6> Webtranslator - Revision 57:551c22553703: Change: improve footer XandythenorthX @
17:18:10  <Brot6> progressivetrains: update from r10 to r11 done (23 warnings) -
17:20:47  <Brot6> firs: update from r3400 to r3402 done -
17:22:09  <Brot6> FISH - Bug #5018 (New): DevZone compile failed XcompilerX @
17:22:38  <Brot6> isr: update from r58 to r59 done -
17:23:29  <Brot6> Webtranslator - Revision 58:9f5819841e1c: Codechange: add some more exceptions to .hgignore XandythenorthX @
17:25:00  <Brot6> FISH - Bug #5018 (Closed): DevZone compile failed XcompilerX @
17:25:00  <Brot6> FISH - Bug #5018 (Closed): DevZone compile failed XandythenorthX @
17:25:00  <Brot6> FISH - Revision 1003:1563fbfc1491: Fix: oops, missing files (again) (closes #5018) XandythenorthX @
17:25:08  <Brot6> fish: update from r1001 to r1003 done (3 warnings) -
17:29:07  <Brot6> Webtranslator - Revision 59:85b3ef11577b: Codechange: add a comment to css XandythenorthX @
17:29:49  <Brot6> Webtranslator - Revision 60:f0618ee0444a: Change: over-ride Bootstrap h2, it's too big XandythenorthX @
17:56:22  <andythenorth> Alberth: biab ;)
17:56:27  *** andythenorth has quit IRC
18:53:40  *** andythenorth has joined #openttdcoop.devzone
19:15:17  <Brot6> Webtranslator - Revision 61:c845bea36a6f: Change: enable debug and reload by default XandythenorthX @
19:22:39  <Brot6> Webtranslator - Revision 62:8a38fbfad14a: Fix: Recognize unchanged texts while uploading a language. XAlberthX @
19:22:39  <Brot6> Webtranslator - Revision 63:94585a015f0a: Codechange: Remove parameter with a fixed value. XAlberthX @
19:22:39  <Brot6> Webtranslator - Revision 64:e6315aad633d: Codechange: Remove unused form value. XAlberthX @
20:09:42  <Brot6> Webtranslator - Revision 65:1bea63a0eb04: Add: jquery and a file-upload styling js XandythenorthX @
20:09:42  <Brot6> Webtranslator - Revision 66:0b7cd094a7c7: Change: enable jquery and file-upload js in main_template XandythenorthX @
20:09:42  <Brot6> Webtranslator - Revision 67:aa3b6377b887: Change: some new classes for handling form stuff XandythenorthX @
20:09:44  <Brot6> Webtranslator - Revision 68:9c7ea7b3684c: Change: style upload lang form XandythenorthX @
20:09:47  <Brot6> Webtranslator - Revision 69:11d56ba2fbba: Change: add jquery, a file-upload style js, and some form ... XandythenorthX @
20:09:51  <Brot6> Webtranslator - Revision 70:1a2bd2b9815b: Change: style upload_lang form XandythenorthX @
20:09:56  <Brot6> Webtranslator - Revision 71:c263e48d50fc: merge XandythenorthX @
20:10:02  <andythenorth> Alberth: ^
20:10:06  <andythenorth> have a look at upload_lang now
20:12:52  <Alberth> At 'langfile', the  </label> is before the input, with the others it is after
20:13:59  <Alberth> but otherwise it looks fine
20:15:01  <andythenorth> that's how bootstrap handles checkboxes
20:15:17  <Alberth> ok, just noticing
20:15:23  <andythenorth> have another ;)
20:15:26  <andythenorth> new project
20:15:36  <Brot6> Webtranslator - Revision 72:6a5a92fcc291: Change: style 'new project' form XandythenorthX @
20:16:12  <Alberth> I am cleaning up the 'case' mess, with some code using None, and some other code using '' for default case
20:16:16  <andythenorth> :)
20:16:35  <andythenorth> these forms aren't very beautiful, I don't want to create lots of custom styles, don't know who will have to maintain the project ;)
20:17:17  <andythenorth> hmm
20:18:48  <andythenorth> Alberth: do you know if there's any session mechanism in Bottle?
20:18:54  <andythenorth> doesn't matter if you don't ;)
20:19:29  <Alberth> I am trying not to add sessions :)
20:20:02  <andythenorth> I want to pass success / fail messages around
20:20:05  <andythenorth> will use the query string
20:20:23  <Alberth> it does basic authentication if you uncomment some code in protect
20:20:58  <Alberth> which then also uses '' but that's completely outdated
20:21:12  <Alberth> I hadn't decided what to put there
20:21:34  <Alberth> I can imagine different sites have different ideas about user authentication
20:22:43  <andythenorth> yes indeed
20:23:00  <andythenorth> I know little about it, we mostly use one big framework that comes with authentication
20:25:11  <Brot6> Webtranslator - Revision 73:daa91e62811e: Change: add an alert slot to main_template, pass 'message=... XandythenorthX @
20:25:29  <andythenorth> Alberth: ^ try for example http://localhost:8000/upload/test2?message=ham%20and%20eggs
20:25:51  <andythenorth> I think we can remove newproject_created.tpl
20:26:50  <andythenorth> in favour of going straight to project
20:27:21  <Alberth> - - [23/Feb/2013 21:28:28] "GET /upload/test2?message=ham%20and%20eggs HTTP/1.1" 404 747  ??
20:27:47  <Alberth> yeah, seems ok
20:27:52  <andythenorth> oops
20:27:57  <andythenorth> you don't have that project
20:28:00  <andythenorth> silly andythenorth
20:28:12  <Alberth> but I used the REST style, which doesn't do ?
20:28:44  <andythenorth> ?
20:31:43  <Alberth> Hmm, it does apparently. Sorry about that. It does not do state, that's all
20:33:15  <andythenorth> :)
20:33:19  <andythenorth> I just did something ugly
20:33:22  <andythenorth> I'll commit
20:33:26  <andythenorth> you can point and laugh
20:34:38  <Brot6> Webtranslator - Revision 74:003ae9498a29: Change: adding a new project now goes straight to project ... XandythenorthX @
20:35:16  <Alberth> haha, I generate ##case lines with genders :)
20:36:24  <Alberth> ?
20:36:53  <andythenorth> have a look in, l30
20:37:23  <Alberth> btw in the project view, we can drop "Add translation language", as that's "upload language"
20:37:43  <andythenorth> ok
20:38:02  <Alberth> and "download language" can be done in the page of the language, but I am not sure that's the right place
20:39:28  <Brot6> Webtranslator - Revision 75:bffe6fee6503: Fix: only show message slot if there is a message XandythenorthX @
20:39:28  <Brot6> Webtranslator - Revision 76:4b9b709bd160: Change: remove 'Add translation language' - not needed XandythenorthX @
20:39:56  <Alberth> that runs through authentication again, not sure that will work
20:40:18  <Alberth> I would think there is an official way to redirect such calls
20:40:27  <Brot6> Webtranslator - Revision 77:e742fbe7c710: Cleanup: remove redundant 'project created' template XandythenorthX @
20:40:53  <Alberth> I also need such a redirection in string translation, probably
20:41:01  <andythenorth> Alberth: I would expect some way to call that route, passing params
20:41:04  <andythenorth> but not sure how
20:41:22  <andythenorth> wsgi expects an iterable, not a callable afaict
20:41:24  <Alberth> the obvious other alternative is to extract the function to a different function, and forward the call from both places
20:42:24  <andythenorth> hmm
20:42:28  <andythenorth> we're just returning at this point
20:42:43  <andythenorth> in other python frameworks, there would be something like response.redirect(stuff)
20:42:48  <andythenorth> which handles this case
20:43:06  <Alberth> well, theoretically, people looking at a project and people creating a project may be disjunct
20:44:17  <Alberth> which would break automagic redirection very badly
20:44:57  <andythenorth> I'm looking into the docs
20:45:13  <andythenorth> return another class with params is a very common need after form submission
20:45:19  <andythenorth> there must be a standard way
20:49:26  <andythenorth> can't find a way with routes
20:51:19  <Alberth>  <-- redirect?
20:51:20  <Webster> Title: Tutorial Bottle 0.11.6 documentation (at
20:52:25  <Alberth> :o you can force a download window, would that be useful for language files?
20:53:09  <Alberth> hmm, but I don't serve from static files
21:02:30  <andythenorth> Alberth: I can't find a documented way to return a class / method from another module
21:03:48  <andythenorth> the redirect method is probably correct though
21:04:25  <Alberth> I am somewhat worried about the authentication stuff
21:04:46  <andythenorth> hmm
21:04:52  <andythenorth> (redirect works)
21:04:57  <andythenorth> authentication scares me too
21:05:01  <andythenorth> rope someone else in?
21:05:14  <andythenorth> appeal for help? :)
21:05:26  <Alberth> oh definitely ask around
21:05:53  <Alberth> why do the projects get loaded twice now?
21:06:01  <Alberth> (on start-up)
21:06:05  <Brot6> Webtranslator - Revision 78:da939cda8178: Codechange: use redirect() correctly, don't horribly retur... XandythenorthX @
21:06:11  <andythenorth> I set reloader=True
21:06:15  <andythenorth> which does that apparently
21:06:43  <andythenorth> "All module-level code is executed at least twice! Be careful."
21:07:06  <Alberth> ah, temporary problem thus
21:07:09  <Alberth> k
21:07:12  <andythenorth> it's not needed for editing templates / css so turn it off it bugs you :)
21:07:53  <Alberth> not really, the system should be able to handle it
21:08:07  <Alberth> startup just takes a bit longer :)
21:19:02  <Brot6> Webtranslator - Revision 79:4b719f3ea491: Change: set a nicer message when creating a new project XandythenorthX @
21:19:18  <andythenorth> Alberth: try creating a new project ;)
21:19:57  <Alberth> not now, I am debugging code :)
21:20:21  <andythenorth> k
21:34:19  <andythenorth> Alberth: can I touch the stuff that handles upload language?  You working near that?
21:34:53  <Alberth> you can touch anything, I am working in a clone at the moment
21:35:04  <Alberth> as case changes modifies lots of code
21:36:27  <Alberth> wow, you can actually add missing strings :)
21:40:06  <andythenorth> :0
21:40:08  <andythenorth> :)
21:40:22  <Brot6> Webtranslator - Revision 80:4aad106c5f95: Change: add a utils class, and define a convenient datetim... XandythenorthX @
21:42:54  <Alberth> there is a time stamp already, just not printable :)
21:43:15  <Alberth> and also not for projects, just  for texts and changes
21:45:25  <Alberth> it seems to mostly work for now, I think the best thing is to add the code, leaving all the assert code in, so it will drop dead if it violates the new rule :)
21:45:38  <Alberth> I'll do that tomorrow
21:47:18  <andythenorth> Alberth: how do I get a lang name from a lng obj?
21:47:41  <Alberth>
21:47:58  <Alberth> but in, all fields are documented
21:48:11  <andythenorth> winner
21:49:41  <Brot6> Webtranslator - Revision 81:2badf81c3cfd: Change: set a message when successfully uploading lang; up... XandythenorthX @
21:50:19  <Alberth> newgrf/language_info has many language properties which I copied from openttd
21:50:52  <Alberth> I use it just for case and genders
21:51:17  <Alberth> and grflangid, of course :p
21:51:59  <Alberth> good night andythenorth
21:52:07  <andythenorth> good night
21:52:09  <andythenorth> bed time for me too
21:52:18  <Alberth> :)
21:52:33  <Brot6> Webtranslator - Revision 82:dcf39e47f22c: Cleanup: remove upload_ok.tpl as no longer used XandythenorthX @
22:01:18  *** Alberth has left #openttdcoop.devzone
22:16:39  <Brot6> Webtranslator - Revision 83:76f46b59f47f: Add: woocons1 free icon set from XandythenorthX @
22:31:25  *** ODM has quit IRC
22:40:16  *** andythenorth has left #openttdcoop.devzone
22:41:01  <Brot6> Webtranslator - Revision 84:082d1fd7608d: Change: add some icons to headings XandythenorthX @
22:41:01  <Brot6> Webtranslator - Revision 85:d843132171b3: Change: improvements to style and navigation of lang. over... XandythenorthX @
22:42:53  *** frosch123 has quit IRC
23:08:37  <Brot6> Webtranslator - Revision 86:43cdc10ca1a6: Change: tweaks to multiple pages XandythenorthX @
23:12:34  <Brot6> Webtranslator - Revision 87:36de3084f390: Change: use lists and wells in strings page XandythenorthX @

Powered by YARRSTE version: svn-trunk