[Radiant] Re: Support for future RedCloths

2008-04-15 Thread Jason Garber
Sean, Sorry, I mustn't have been clear. I should've sent two emails: one about testing and one about my requested change... Testing: Installing the gem from why's repository is just for pre-release testing. The actual release will be on rubyforge as always. And there's a native Ruby

Re: [Radiant] Line Breaks in Textile

2008-04-21 Thread Jason Garber
'radius'. # *** hack to get RedCloth out of vendor $:.reject! {|p| p =~ /vendor\/redcloth/ } Then check that it's installed properly by starting Radiant's console: ./script/console and typing RedCloth::VERSION. RedCloth 4.0 will probably be released by May 1. Jason Garber On Apr 21

Re: [Radiant] Re: Line Breaks in Textile

2008-04-21 Thread Jason Garber
Ben, Well, if it's not working with the 3.290 gem, it won't work any better with 4.0. The problem is with Radiant. I'll try it tomorrow with 0.6.6 and see what I can come up with. Jason On Apr 21, 2008, at 7:19 PM, Ben Morrow wrote: Jason, Thanks for that information! I attempted the

Re: [Radiant] Re: Line Breaks in Textile

2008-04-22 Thread Jason Garber
it's being reimplemented in Ragel, will the code still be pure Ruby, or will it be part-Ruby, part-C? Sean Jason Garber wrote: Ben, Well, if it's not working with the 3.290 gem, it won't work any better with 4.0. The problem is with Radiant. I'll try it tomorrow with 0.6.6 and see what I

Re: [Radiant] Re: Re: Line Breaks in Textile

2008-04-24 Thread Jason Garber
adding the path to the gem to the front of config.load_paths in environment.rb. Example: config.load_paths.unshift /path/to/gems/RedCloth-3.2.9.0/lib Sean Ben Morrow wrote: Jason Garber wrote: Well, if it's not working with the 3.290 gem, it won't work any better with 4.0. Sorry

Re: [Radiant] Re: New RedCloth

2008-08-25 Thread Jason Garber
I just sent a pull request to make RedCloth a gem dependency, so hopefully edge will have that ability soon. In the meantime, I used some code like this in an extension: # Get the latest version of RedCloth Object.send :remove_const, :RedCloth if Object.const_defined?(:RedCloth) $:.delete

Re: [Radiant] Re: New RedCloth

2008-08-25 Thread Jason Garber
, Jason Garber wrote: I just sent a pull request to make RedCloth a gem dependency, so hopefully edge will have that ability soon. In the meantime, I used some code like this in an extension: # Get the latest version of RedCloth Object.send :remove_const, :RedCloth if Object.const_defined

[Radiant] Re: New RedCloth

2008-08-26 Thread Jason Garber
Jasper, I've just put out a redcloth4 Radiant extension: http://ext.radiantcms.org/extensions/28-redcloth4 Give that a try. Jasper Kooij wrote: How do I try the new RedCloth 4 with radiant? I do remember seeing instructions somewhere. Jasper -- Posted via http://www.ruby-forum.com/.

[Radiant] Looking for draft+history extension collaborators or contractors

2008-09-02 Thread Jason Garber
I'm needing an extension that will show the history of pages/snippets/ layouts as well as allowing concurrent drafts of published pages/ snippets/layouts. The basic structure is that there's a series of versions of the current page — some of which are drafts and some of which are published

Re: [Radiant] Looking for draft+history extension collaborators or contractors

2008-09-03 Thread Jason Garber
On Sep 2, 2008, at 4:11 PM, Jim Gay wrote: I'm assuming that it's a misstatement, but did you really mean to say that there are some versions of a page that are published, meaning more than one published version of the same page? Yes, I did, but maybe I should have said there's only ever

[Radiant] How to turn off markdown filter in Radiant 0.6.9 instance

2008-09-22 Thread Jason Garber
If you have a Radiant instance running off the 0.6.9 gems, how can you disable the markdown extension? I don't want my users to have the option of using Markdown or SmartyPants text filters. It used to be that you could deactivate the extension in the admin UI, but that appears to be gone in

Re: [Radiant] Looking for draft+history extension collaborators or contractors

2008-09-26 Thread Jason Garber
On Sep 22, 2008, at 8:10 PM, Joe Van Dyk wrote: On Sat, Sep 6, 2008 at 12:34 PM, Joe Van Dyk [EMAIL PROTECTED] wrote: On Tue, Sep 2, 2008 at 12:39 PM, Jason Garber [EMAIL PROTECTED] wrote: I'm needing an extension that will show the history of pages/snippets/layouts as well as allowing

[Radiant] tip: page_attachments extension needs submodule initialized

2008-10-10 Thread Jason Garber
of page_attachments. Jason Garber -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant

[Radiant] [ANN] Vhost extension

2008-10-25 Thread Jason Garber
Extension announcement: I updated an extension I wrote many months ago to work with Radiant 0.6.9. It does just what you think: host multiple separate websites on one Radiant instance. Similar to multi_site, but everything--pages, snippets, and layouts--is separate and you can specify which

Re: [Radiant] Can Radiant be really easy to use for non-technical content editors?

2008-11-20 Thread Jason Garber
I'm catching up to this interesting thread a couple days late, but I can't believe no one's mentioned my textile_editor extension yet! I'm hurt! (jk!) It would have helped if I'd have announced it to the list when I released it in September, huh? :-) [ANN]

Re: [Radiant] Can Radiant be really easy to use for non-technical content editors?

2008-11-20 Thread Jason Garber
be as simple as possible and no simpler. :-) Jason On Nov 20, 2008, at 9:38 AM, Anton J Aylward wrote: Jason Garber said the following on 11/20/2008 08:50 AM: [...] [ANN] radiant-textile_editor-extension makes Radiant really easy to use for non-technical content editors! [...] If you're

Re: [Radiant] Can Radiant be really easy to use for non-technical content editors?

2008-11-20 Thread Jason Garber
the learning process, when learning to actually write the code. And the rest of your implementation sounds really promising, I'll definitely give it a shot. Thanx! ;) cheers, Simon On Nov 20, 2008, at 15:50 , Jason Garber wrote: I'm catching up to this interesting thread a couple days late

Re: [Radiant] Can Radiant be really easy to use for non-technical content editors?

2008-11-20 Thread Jason Garber
in Radiant. However, no toolbar ever showed up for me, and below the content field I can see the green plus and Attachments (0), but nothing happeneds when i click the plus-symbol. What did I do wrong, or miss? cheers, Simon On Nov 20, 2008, at 15:50 , Jason Garber wrote: I'm catching up

Re: [Radiant] Sendfile headers

2009-02-02 Thread Jason Garber
Sean, did you use my page_attachments_xsendfile extension? If not, I'm curious how you set it up. Jason On Jan 30, 2009, at 1:23 PM, Sean Cribbs wrote: Last night at our little hack session at John's, I added the ability to support X-Accel-Redirect headers for nginx. It would be great if

[Radiant] Extension update path for 0.7

2009-02-02 Thread Jason Garber
Sorry if this has been asked already, but is there a plan or best- practice for smoothly upgrading extensions to be compatible with 0.7? Fixing my extensions for 0.7 will break compatibility with previous versions. Just checking, Jason ___

Re: [Radiant] Sendfile headers

2009-02-02 Thread Jason Garber
[:use_x_sendfile] = true Sean Jason Garber wrote: Sean, did you use my page_attachments_xsendfile extension? If not, I'm curious how you set it up. Jason On Jan 30, 2009, at 1:23 PM, Sean Cribbs wrote: Last night at our little hack session at John's, I added the ability to support X-Accel

Re: [Radiant] Looking for draft+history extension collaborators or contractors

2009-02-19 Thread Jason Garber
. Right now I'm getting RedCloth compatible with Ruby 1.9, but then I'd be available to collaborate on something. Jason On Feb 18, 2009, at 6:32 PM, Joe Van Dyk wrote: Anyone make any progress on this? On Tue, Sep 2, 2008 at 11:39 AM, Jason Garber j...@jasongarber.com wrote: I'm needing

[Radiant] How to import the export from /admin/export?

2009-03-18 Thread Jason Garber
Hi, everyone. I'm aware of the import_export extension, but I'm curious about the Admin::ExportController built right into Radiant core. How are you supposed to import it? I tried feeding it to the import_export extension but it choked with You have a nil object when you didn't expect

Re: [Radiant] How to import the export from /admin/export?

2009-03-18 Thread Jason Garber
not import properly. Patch? Sean Jason Garber wrote: Hi, everyone. I'm aware of the import_export extension, but I'm curious about the Admin::ExportController built right into Radiant core. How are you supposed to import it? I tried feeding it to the import_export extension but it choked

Re: [Radiant] Anyone know if these extensions have been updated for 0.7?

2009-04-03 Thread Jason Garber
I just used share_layouts on a 0.7.1 project. I tried using comments at one point but got fed up and just used Disqus. I don't remember if it was compatibility or just too much complexity for me. On Apr 2, 2009, at 9:43 PM, N. Turnage wrote: I would like to upgrade a project to 0.71 and I

Re: [Radiant] Something I noticed about Textile in 0.7.1

2009-04-10 Thread Jason Garber
Nate, I didn't really follow you. Can you have another go at it? Radiant 0.6.9 locked you into using RedCloth 3.0.4 for Textile, which was released in September of 2005. 0.7.1 lets you use RedCloth from gems, so you can get the latest RedCloth—4.1.9 which is much better. It handles HTML

Re: [Radiant] page attachments

2009-04-18 Thread Jason Garber
Great suggestion! I've added it as an issue on GitHub. I don't have time to implement it right now, but I'd welcome patches/forks. http://github.com/jgarber/radiant-textile_editor-extension/issues#issue/ 1 Jason On Apr 17, 2009, at 12:53 AM, Steven Southard wrote: inherited from parent

Re: [Radiant] This Website was done with Radiant

2009-04-21 Thread Jason Garber
What version of Radiant did you use? Just curious. On Apr 21, 2009, at 5:41 AM, Simon Josi wrote: A while ago we released a redesign of our company's website: http://www.puzzle.ch Used Extensions: admin_breadcrumbs date_names ray admin_tree_structure default_page_parts

[Radiant] Idea: track-404-errors extension

2009-05-16 Thread Jason Garber
six months or so, but wanted to plant the idea in case anyone else had time to nurture it. Jason Garber ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org

Re: [Radiant] Idea: track-404-errors extension

2009-05-16 Thread Jason Garber
the referrer info. -Jim Jim Gay http://www.saturnflyer.com On May 16, 2009, at 6:56, Jason Garber j...@jasongarber.com wrote: Here's an idea for an extension: Alias_method_chain the show_page action so that any time we return a status of 404, it gets logged to a table by url and referrer. Better

[Radiant] [ANN] chronicle extension: versioning, diffs, and drafts for pages

2009-05-19 Thread Jason Garber
Introducing the chronicle extension: http://www.youtube.com/watch?v=QDxX73eOlXsfmt=22 It's the realization of something we talked about on this list back in September (http://lists.radiantcms.org/pipermail/radiant/2008-September/thread.html#10312 ). It just versions/drafts pages for now,

[Radiant] We need to talk about extension versions

2009-06-09 Thread Jason Garber
Extension management has come a long way... we now have a registry and install/uninstall scripts, but it still leaves a lot to be desired in terms of keeping track of what extensions work with a given version of Radiant and at what point. Generally things are okay and you can just install

[Radiant] Caching in test mode on 0.8.0

2009-06-29 Thread Jason Garber
I've run out of time to dig deeper today, so I wanted to quickly check with you all if you've experienced any problems with caching happening in Radiant 0.8.0 while using Webrat in cucumber. One of my features is failing because Radiant is returning a 304 Not Modified. At the top of my

Re: [Radiant] Caching in test mode on 0.8.0

2009-06-30 Thread Jason Garber
the cache before hitting the page (Radiant::Cache.clear). Sean Jason Garber wrote: I've run out of time to dig deeper today, so I wanted to quickly check with you all if you've experienced any problems with caching happening in Radiant 0.8.0 while using Webrat in cucumber. One of my

Re: [Radiant] a question for Page part(name) method

2009-06-30 Thread Jason Garber
Having just spent a few hours in those methods (upgrading Chronicle to 0.8.0), I can speak to your question as it relates to 0.8.0. Page#parts is an ActiveRecord association: it loads all the PageParts that belong to that page into an array and then just uses that array from then on

Fwd: [Radiant] a question for Page part(name) method

2009-06-30 Thread Jason Garber
method) 1.2686400 Page#part(name) on a small set of parts using SQL find 0.0311450 Page#part(name) on a small set of parts using array find Begin forwarded message: From: Jason Garber j...@jasongarber.com Date: June 30, 2009 4:19:46 AM EDT To: radiant@radiantcms.org Cc: Sean Cribbs seancri

Re: [Radiant] a question for Page part(name) method

2009-06-30 Thread Jason Garber
Here's the code you couldn't find in 0.8.0: http://github.com/radiant/radiant/blob/918ff4e00c0f94192fa92c551358d5365284472a/app/models/page.rb#L71 def part(name) if new_record? or parts.to_a.any?(:new_record?) parts.to_a.find {|p| p.name == name.to_s } else

Re: [Radiant] Re: Problem deleting page in 0.8.1

2009-09-22 Thread Jason Garber
Nate, I have no problem deleting a page with an attachment and I'm running 0.8.1 with the latest page_attachments extension as well. Do you have any other extensions that might be interfering? If it's broken for you, I'm glad to fix it (it's my fault), but I need to be able to replicate

Re: [Radiant] Is the RedCloth extensions known not to work with 0.8.1?

2009-10-18 Thread Jason Garber
Nate, that extension isn't needed after 0.6.9. Install the RedCloth gem and Radiant will use it. Sent from my iPhone On Oct 18, 2009, at 10:18 AM, Nate pixeln...@gmail.com wrote: On Oct 16, 2009, at 3:33 AM, Andrew Neil andrew.jr.n...@googlemail.com wrote: Nate, Sorry I can't answer

Re: [Radiant] Redcloth Acronym limitation

2009-10-31 Thread Jason Garber
No, you hit upon the best way. Unfortunately the % signature for spans in Textile doesn't take a title option like links and acronyms. Textile intends for you to use HTML inline when necessary, so go right ahead with your span tags, though you shouldn't need the double-equals for

Re: [Radiant] gem install radiant error

2010-01-19 Thread Jason Garber
You can blame me for most RedCloth problems. I'm still relying on _why's cross-compilation setup for the Windows gem. For the short term, if you want to just get radiant going, you can lose the RedCloth gem and Radiant will fall back to the bundled RedCloth 3.0.4. Sounds like you might

Re: [Radiant] [Radiant-Dev] Virtual Pages and Permissions

2010-03-22 Thread Jason Garber
Sounds great! On Mar 21, 2010, at 12:08 PM, John W. Long wrote: Would anyone have any objection to hiding virtual pages from anyone who is not an Admin or Designer in 0.9? It strikes me that virtual pages are mostly used for system specific stuff like FileNotFound pages or ArchiveIndex