Welcome to Elgg's documentation
This is the place to find documentation on all aspects of Elgg. If you would like to contribute your own documentation please do; we want this to be a real community effort!
Developer meetings log20080117
From Elgg Documentation
(20:59:04) ewout [~ewout@c934148d.virtua.com.br] is de ruimte binnengekomen.
(20:59:18) ewout: hey Renato, finally made it?
(20:59:35) ewout: Misja, this is Renato, our colaborator here in Brazil
(20:59:56) misja: welcome, good to see you here :)
(21:01:18) misja: brb guys
(21:16:15) misja: ok, back
(21:16:33) misja: how are you doing?
(21:17:19) ewout: allright
(21:17:40) ewout: I just changed the owners of all components in trac to "nobody"
(21:18:00) ewout: because the default owner of tickets is based on the component owner
(21:18:21) misja: ah right, good change
(21:18:25) ewout: and I want to able to see which ticket have no owner yet, so I can triage them
(21:19:05) misja: good one, I'll still need to setup the plugin trac properly,
(21:19:11) misja: will do that soon
(21:19:38) ewout: plugin trac?
(21:19:56) misja: trac for plugins, to enable tickets there as well
(21:20:12) ewout: got it.
(21:20:17) misja: so plugin maintainers can manage their own projects
(21:20:21) ewout: Misja, I assigned you http://elgg.org/trac/ticket/247
(21:20:42) ewout: I don't know if the post-commit hooks are important, but I don't think they are executed
(21:21:15) misja: they aren't, they need a closer look
(21:21:25) ewout: allright
(21:21:29) misja: why do you say so?
(21:21:37) ewout: ?
(21:21:47) misja: I mean, what have you noticed about the hooks?
(21:22:08) ewout: ah, there is an error message every time I make a commit to the repo
(21:22:16) ewout: see my comment in the ticket
(21:23:11) misja: ok, but no other messages?
(21:23:35) ewout: well, the commit is made
(21:24:06) ewout: the cut and paste in the ticket is only a small part of the error message
(21:24:45) misja: do you use a cli client?
(21:24:48) ewout: yes
(21:25:12) misja: ok, subclipsehides them then from me
(21:25:27) ewout: want me to send you the full output next time I make a commit?
(21:25:45) ewout: but the problem seems to be a certificate configuration error
(21:25:53) misja: no, I'll do a dummy commit with a cli
(21:26:03) misja: yes, that would be a start :)
(21:26:16) ewout: it doesn't like that the host is svn.elgg.org and the certificate says localhost
(21:26:44) ewout: you can check the certificate in your browser
(21:26:46) misja: yes, I'll create a new keypair for svn
(21:27:07) ewout: FF has a nice interface
(21:27:10) misja: it's still one from a default install
(21:27:43) ewout: https://svn.elgg.org/plugins/
(21:27:50) ewout: FF will complain
(21:28:12) ewout: another question
(21:28:23) ewout: about http://elgg.org/trac/ticket/252
(21:28:49) ewout: do you know why your gettext mod is loaded before setup.php in includes.php?
(21:29:26) misja: actually no
(21:30:38) misja: I'll need a closer look
(21:30:44) ewout: hmm, allright, we will have to ask diego
(21:30:58) ewout: http://elgg.org/trac/changeset/1461
(21:31:01) misja: nice investigative work btw, renato
(21:32:06) misja: I think we'll need to relocate gettext to core again, since so much depends on it
(21:33:34) ewout: could be
(21:33:56) ewout: so, what is happening?
(21:34:08) ewout: you said hectic week?
(21:36:08) misja: much different projects at the same time
(21:37:02) misja: wasn't able to do much on the teams,
(21:37:11) misja: neither have all of us I think
(21:37:38) misja: rho did send some ideas, I'll paset them in:
(21:37:58) misja: * on run() function, make a helper function to add functions, like:
(21:37:58) misja: add_function($name, $callback, $weight, $bottom);
(21:37:58) misja: And run() will have backward support, if the callback is a function,
(21:37:58) misja: call it, if not, check if it's a script and include it .
(21:37:58) misja: functions should accept the $run_result var, on run() could be called as:
(21:37:58) misja: $run_result = $callback($run_result);
(21:37:58) misja: But this will have memory penalties, unless we pass as reference.
(21:37:58) misja: * make a new plugin function {plugin}_setup()
(21:37:58) misja: That will be called at the same time as the file lib.php is included.
(21:37:58) misja: This function can hold "plugin setup related" stuff, like new function
(21:37:58) misja: plugins_register($plugin, $weight)
(21:37:58) misja: The function get_list_of_plugins() should return the weighted list of plugins
(21:37:58) misja: * A enhancement, but i don't know if it's applied to all cases, it's to strip
(21:37:58) misja: template/css.php to not load all framework, this will work with themes,
(21:37:58) misja: but with custom user themes may not.
(21:37:58) misja: * Other thing that will speedup a little it's to not use
(21:37:58) misja: $db->MetaTables() on plugins
(21:37:58) misja: instead use $METATABLES global
(21:38:05) misja: good stuff
(21:40:07) ewout: hmm, most of it a bit over my head
(21:40:19) ewout: have think about it
(21:40:53) ewout: but I like the backward compatibility idea, to make it an evolutionary change
(21:40:57) misja: what do you think, renato?
(21:41:30) renato: hi guys
(21:41:36) misja: hi
(21:44:17) renato: yes, seems good to me the new way to run()
(21:45:15) misja: yes, there are some good ideas in there
(21:45:32) renato: I know run() as of now is really confusing and hard to deal with
(21:45:47) renato: but it's hard to point new directions
(21:45:50) misja: it is, and needs to get replaced
(21:46:30) ewout: so how about a 0.9.1 version, like kevin suggested?
(21:46:50) renato: but then, there's too much code depending on that, and I think we need more stable releases
(21:47:12) ewout: maybe if we set a date, the most important bugs will get fixed
(21:47:20) misja: yes, I'd like to have all of us in here to start discussing that
(21:47:25) ewout: I will assign them to different people
(21:47:27) ewout: :)
(21:47:34) renato: I like the ideia, as soon as tickets 245 and 252 can be fixed
(21:47:36) misja: maybe that will work :)
(21:48:27) misja: yes, let's start preparing a sprint
(21:48:37) ewout: I just tried putting the gettext include after setup.php but before the engine , and it seems to work ok now (together with the other patch, resolved #252)
(21:48:54) ewout: I will make a patch for you to test
(21:49:04) misja: ok, would be great
(21:50:09) ewout: http://elgg.org/trac/attachment/ticket/252/translation.diff
(21:50:18) renato: if 0.9.1 is just a bug-fixes version, this can be released quite soon
(21:50:35) misja: yes, we'll need to focus on that
(21:50:53) misja: ok, I'll send around some dates
(21:51:28) misja: I'm not sure the others will be coming today
(21:51:56) misja: ok, if we plan a new .9.1 meeting soon and call it a day?
(21:52:40) misja: just looking through some of the tickets - renato, nice patches, keep them coming :)
(21:52:45) renato: I will be around only tuesday, but I'm used to missing meetings ;)
(21:53:15) misja: well, we could try Tuesday, why not
(21:53:21) renato: these were critical bugs, it would've been better if we had spotted then in rc versions
(21:53:44) ewout: hahaha, just before christmas?
(21:53:55) timh [~4801ce03@207.250.49.24] is de ruimte binnengekomen.
(21:53:59) renato: yeap! hahahha
(21:54:02) ewout: there was too much work
(21:54:12) misja: it was a huge load of work
(21:54:17) renato: I say, as a possibility
(21:54:17) misja: hi tim
(21:54:42) ewout: release candidate have a very limited audience
(21:55:14) misja: yes, I'm not a big fan of them
(21:55:31) renato: I was thinking about making easier to test svn versions
(21:56:02) renato: say, put up nightl builds to the core too
(21:56:12) misja: could do that
(21:56:27) misja: shouldn't be too much work
(21:56:31) renato: must people won't do that because using svn is a barrier
(21:56:52) misja: you've got a point there
(21:57:33) renato: also, the _download/plugins must be changed to reflect the new plugin's structure
(21:58:07) misja: ah yes, good one
(21:58:16) renato: if you want, I can make a php script to generate a page containing descriptions, links to download etc, and also to make the tarballs
(21:58:20) misja: ok, this is becoming quite a list :)
(21:58:51) misja: ideally we refactor the code currently being used to enter and display plugins
(21:58:59) timh is weggegaan (quit: Quit: CGI:IRC (Ping timeout)).
(21:59:03) timh2 [~4801cedd@207.250.49.24] is de ruimte binnengekomen.
(21:59:15) timh2: hi all
(21:59:16) misja: mod/plugins/
(21:59:21) misja: hi tim
(21:59:21) renato: hi tim
(21:59:49) ewout: hi timh2, are you a different tim than the previous one :)
(21:59:55) renato: hum, that is something I wanted to discuss also, maybe diego will show up later
(22:00:15) timh2: lots of trouble connecting to IRC at work, often have switch nicknames...
(22:00:56) misja: diego won't be here today
(22:01:11) misja: could send you the current code?
(22:01:27) renato: I will mail him
(22:01:53) renato: or you are saying you have that code?
(22:02:14) misja: yes, on elgg.org
(22:02:27) renato: ah, thanks, I will take a look
(22:02:52) misja: great
(22:03:15) misja: how are you doing tim?
(22:03:16) renato: my ideia is to make that interface more nice, so that we could remove that plugins folder, it's quite confusing
(22:03:43) misja: it is, it was just a quick but convenient hack
(22:03:50) timh2: good - been busy
(22:04:13) ewout: I have to go. I will start working on the UI working group, and on bug - triage
(22:04:42) misja: ok sounds good
(22:04:49) misja: thanks
(22:05:00) ewout is weggegaan.
(22:05:12) timh2: has anyone tried the swift patch I posted?
(22:05:39) renato: not yet
(22:05:57) timh2: i don't use SMTP, so I haven't tested that part yet, but it should work
(22:06:15) misja: no, not yet
(22:06:38) misja: I'll need to plan testing all those patches which lie ready and waiting
(22:06:55) timh2: if you get a chance, please let me know. you need to download the swift libs from their site as well (my patch just touches elgglib
(22:07:09) misja: ok
(22:07:24) misja: tim, we were talking about getting ready for a bug fix release soon
(22:07:31) timh2: was there a transcript form last week?
(22:07:37) misja: I'll send around some dates later
(22:07:38) timh2: I couldn't find on the wiki
(22:07:59) misja: I 've got one, which I 'll send around/post
(22:08:23) timh2: yes - i'm planning to move up to the latest build this weekend so will test the new community access patch that fixes #244
(22:09:52) misja: there's quite a bit ready to do now, so 0.9.1 should be ok
(22:10:03) timh2: one new issue I've come across is that long URLs pasted into tinyMCE can easily break layouts (they won't wrap). CSS doesn't fix this well either, but I'm still researching some other possible fixes
(22:10:05) misja: ok to do fairly soon, I mean
(22:10:45) renato: yes, big images and videos also can do that
(22:11:27) renato: and I've even seen in narrower templates tinymce buttons running through the sidebar
(22:11:34) timh2: I'm using overflow:hidden, but that can hide parts of psts as well as the long URL on spme cases
(22:12:43) timh2: are their other patches for 0.91 that need tseting this week?
(22:13:22) renato: I think tickets 245 and 252 need testing
(22:14:01) timh2: we need to update install docs to include creating a cron entry for calling cron.php . I can't see that it is called by any other processes, and some plugins rely on it being run.
(22:14:23) misja: correct, it isn't being called
(22:14:48) misja: I'll need to leave in a minute
(22:15:11) misja: I will send around an email for 0.9.1
(22:15:20) renato: ok
(22:15:25) misja: plus will update you on last week, tim
(22:15:44) renato: please put me in the cc:
(22:15:47) misja: renato, would love to see you being around more
(22:15:57) timh2: ok. i'll try those other patches. i will have some new plugins up soon (newletter, daily digests). Swiftmail for 1.0 then?
(22:16:01) misja: so yes, I'll cc you
(22:16:29) misja: or maybe 0.9.2, it'll need some testing
(22:16:57) timh2: yes. the plugins for it (throttle, antiflood seem good)
(22:17:32) misja: ah great, so you were able to use them :)
(22:18:06) misja: ok guys, catch you later
(22:19:04) timh2: ok. bye
(22:19:10) timh2: bye renato
(22:19:11) renato: bye
(22:19:13) misja: bye

