03:50
<jereme>
if anyone is around, is it possible to run specs on a single extension
04:05
<agenteo>
ah... he left
11:06
<john__m`>
anyone know why ruby-forum seems to have stopped getting updates from the radiant list 3 days ago?
11:06
<john__m`>
or are the two not the same?
12:33
<avonderluft>
does ray use the radiant extension registry? or does it kindof take its place?
12:34
<seancribbs>
ray uses github directly
12:34
<seancribbs>
I've talked with john__m` about collaborating to take the best of both worlds
12:36
<avonderluft>
so looking at eventually merging his work into the registry, or something like that? that's what I was wondering.
12:36
<seancribbs>
yeah - there are a number of things I want to do with that
12:36
<avonderluft>
cool.
12:36
<seancribbs>
1) auto-discover extensions in people's github accounts
12:37
<seancribbs>
2) make available forks that you can install instead of the main repo
12:37
<seancribbs>
Jason Garber already started on making download a fallback for checkout, which is key
12:42
<john__m`>
avonderluft: ray maintains a separate list generated from github, if that list is out of date you can use fullname=
12:42
<avonderluft>
seancribbs: do you have a projected release date for 0.8? just curious, as we are deploying the 0.7.1 upgrade for con-way this weekend.
12:42
<seancribbs>
avonderluft: Real Soon Now (tm)
12:43
<john__m`>
as soon as github fixes their api the list won't go out of date
12:43
<seancribbs>
avonderluft: seriously, I think this month
12:43
<seancribbs>
there's only a few more specs to fix before we're rolling on 2.3
12:44
<seancribbs>
then 0.9 is going to be the blade UI (talked to John about it last night)
12:44
<seancribbs>
and we can potentially do i18n as part of that
12:44
<seancribbs>
after that, it'll finally be 1.0
13:21
<john__m`>
any advice on adding alt tags when using r:attachment:image if you're not sure what the image will be?
13:22
<john__m`>
i.e. inside an r:attachment:each
13:22
<avonderluft>
you mean what alt text to use?
13:23
<john__m`>
no, how to get alt text in there
13:24
<seancribbs>
john__m`: you'll likely need to construct the <img /> tag yourself
13:26
<john__m`>
but then how do you get the _icon version with the a real img tag?
13:26
<john__m`>
doesn't seem possible without some javascript
13:26
<john__m`>
and javascript to add accessibility seems somehow oxymoronic
13:27
<seancribbs>
use <r:url size="icon" />
13:27
<john__m`>
oh! i didn't know that was possible
13:27
<seancribbs>
read the tag docs ;)
13:27
<john__m`>
who knew?
13:28
<seancribbs>
http://github.com/radiant/radiant-page-attachments-extension/blob/332d6c6787d1afbbc7adde496feba4be36d1d438/app/models/page_attachment_tags.rb#L30
13:28
<djcp>
Speaking of page_attachments, I'm thinking it'd be nice to make them editable in some fashion so you can modify title / description without having to re-attach the file.
13:28
<djcp>
Just not sure where that'd fit in the UI, I guess I could have the form drop in where the "new attachment" form does.
13:28
<seancribbs>
djcp: the whole UI needs revisiting
13:29
<seancribbs>
I'd love to have jlong give it his touch
13:29
<seancribbs>
but we might have something else entirely in radiant-more
13:30
<djcp>
Ok. I have a clear need for this now, and ideally I'd like to have the work be worth something to the extension.
13:32
<djcp>
One other random issue that I need to report to the reorder (or copy-move) extension maintainer - when you "copy-move" an ordered page to another part of the hierarchy, the position attribute gets corrupted and reordering breaks.
13:33
<djcp>
I've found that copy-move and reorder make it into every Radiant site I manage. Anyone else?
13:34
<avonderluft>
yes definitely.
13:35
<djcp>
Even just exposing the "position" parameter for manual editing. . .sucks but at least you could fix without dropping into the console / database.
13:35
<avonderluft>
have you got the latest copy-move? there have been some patches.
13:35
<djcp>
Oh! I'll check it out.
13:35
<djcp>
acts_as_list is pretty stupid.
13:38
<seancribbs>
djcp: indeed it is
13:39
<seancribbs>
I've had situations where I had to manually reorder things because acts_as_list let two items get the same index
13:41
<* djcp>
is a big fan of materialized paths because then you get simple SQL, trees and ordering in one model.
13:42
<* djcp>
doesn't mean model in the Rails sense of the word.
13:42
<seancribbs>
djcp: nested set might be an option at some point
13:42
<seancribbs>
but that has its own caveats
13:42
<djcp>
Very poorly performing if you've got a lot of updates and the SQL is pretty complicated.
13:43
<djcp>
But yeah, similar capabilities.
13:43
<seancribbs>
well, most web apps are write little, read lots
13:44
<seancribbs>
Radiant included
13:44
<seancribbs>
but we rarely need to select an entire set, so it's just not worth it
13:45
<djcp>
The WebGUI CMS used a nested set module I wrote to replace their tree model and eventually moved to a materialized path.
13:45
<djcp>
They found performance problematic, but it might've been because of poor locking in MySQL (this was a few years ago).
13:46
<seancribbs>
djcp: paths are also quasi-dynamic in Radiant. I think Daniel Sheppard benchmarked materialized paths and it didn't create a noticeable difference
13:46
<seancribbs>
tree-depth tends to be < log N anyway (where N is the number of pages)
13:47
<djcp>
I really, really don't think that adjacency lists are a performance problem in Radiant, it'd just be nice to have arbitrary child ordering baked right in. No biggie, though.
13:50
<seancribbs>
djcp: i understand, yeah
14:00
avonderluft_ joined
14:40
avonderluft__ joined
21:57
pillowfactory joined
21:57
<pillowfactory>
hello
21:58
<pillowfactory>
how do I reference a local javascript file deployed with my app without it being a "page"
22:00
<pillowfactory>
will do
22:00
<pillowfactory>
he's not on right now
22:01
<pillowfactory>
but I'll ask him later
22:01
<pillowfactory>
I think all paths get intercepted by the app
22:01
<pillowfactory>
and expect "pages"
22:44
<toothy>
hi guys, via an extension, is it possible to add to config.after_initialize ?
22:46
<toothy>
oh wow, i spoke before googling... Looks like there has been discussion about this on the mailing list like 2 days ago.