Re: [Radiant] ntalbott's fork of the Mailer extension

2008-10-08 Thread Sean Cribbs

How is ActionMailer configured?  Are you using SMTP?

Also, the 'radiant' version of the mailer extension now includes 
Nathaniel's changes plus some more enhancements and full spec suite... 
please use it!


Sean

bruce davison wrote:

I have set up the page as described in the readme but this is what I get.
Any clues?

Thanks,

Bruce


Parameters: {action=create, page_id=2, 
mailer={message=hj
mm\r\nand \r\nmore\r\ncrap, name=gfgfhfghgf, 
subject=Appoi

ntment Request}, controller=mail}
Sent mail:
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Appointment Request
Mime-Version: 1.0
Content-Type: multipart/alternative; 
boundary=mimepart_48ec376131b4_1030..fdbfbc

be678


--mimepart_48ec376131b4_1030..fdbfbcbe678
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: Quoted-printable
:
Content-Disposition: inline

The following information was posted:
--- =

message: |-
hjmm
and =

more
crap
name: gfgfhfghgf
subject: Appointment Request


--mimepart_48ec376131b4_1030..fdbfbcbe678--


EOFError (end of file reached):
  /usr/lib/ruby/1.8/net/protocol.rb:133:in `sysread'
  /usr/lib/ruby/1.8/net/protocol.rb:133:in `rbuf_fill'
  /usr/lib/ruby/1.8/timeout.rb:56:in `timeout'
  /usr/lib/ruby/1.8/timeout.rb:76:in `timeout'
snip
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant



___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] multiple domains under Phusion Passenger

2008-10-08 Thread Casper Fabricius
I'm sorry there is a bit a SSH meddling in my tutorial, but Radiant's  
bootstrap task requires human input. Btw, I wrote the wiki entry on  
deploying Radiant to Dreamhost based on my article - feel free make a  
third section that presents the bare minimums. It could also use some  
updating like getting radiant from github rather than svn.


That said, I do have two sites running from the same Radiant instance  
using multisite on Dreamhost without any meddling with mod_rewrite or  
such. I just created a site called radiant.casperfabricius.com, and  
then I setup of the two domains I wanted run in Radiant as MIRRORS of  
that domain. That does the trick. I do believe I mention this in the  
tutorial.


Med venlig hilsen / Best regards,
Casper Fabricius
http://casperfabricius.com

On 08/10/2008, at 0:08, Simon Rönnqvist wrote:



On Oct 8, 2008, at 24:56 , Adam van den Hoven wrote:

I have never really grokked Capistrano. Casper's tutorial had too  
many Log into your shell account and run this rake task for my  
liking too, which seems to negate the value of Capistrano. In  
addition, most installations are fundamentally just creating the  
radiant app, configuring the database connections and installing  
extensions. It seems to me that you can just install that directly  
into your DH account.


 Yeah... but I think Casper's tutorial is pretty much based on (or  
the other way around) http://wiki.radiantcms.org/How_To_Deploy_on_Dreamhost 
 (to which he has linked at the bottom of his blog post). There they  
say: You can either deploy using Capistrano, which is highly  
recommended if you plan to add extensions and make changes to the  
default Radiant code, or you can deploy using SFTP, if you just want  
to upload and use Radiant without touching any Ruby code.


From that I kind of got the picture that you were recommended to use  
Capistrano if you wanted to add extensions... but maybe I should pay  
more attention to the AND make changes to the default Radiant  
code. :) However, I'm pretty likely to write my own extensions once  
I get more into using Radiant.


Another thing that struck me while trying to get capistrano work was:
Basically what cap deploy does for me is
ssh [EMAIL PROTECTED]
cd path/to/app
svn up
rake something
touch tmp/restart.txt

And for that alone, with a single server to do it on, Capistrano  
seems like a bit of an overkill. Sometimes we Rails folks seem to  
try and be just too clever and find ourselves getting all caught up  
with nifty tools. :)


 cheers, Simon




I am thinking of putting together a the bare minimum installation  
for DreamHost using Phusion for the wiki but real work always  
seems to take precedence.


Adam
On 7-Oct-08, at 2:47 PM, Simon Rönnqvist wrote:



On Oct 8, 2008, at 24:34 , Bill Barnard wrote:


On Wed, Oct 08, 2008 at 12:29:04AM +0300, Simon Rönnqvist wrote:

Hi!

I'm actually looking the very same thing. I found this howto
http://casperfabricius.com/site/2008/05/24/radiant-cms-on-dreamhost-with-phusion-passenger/
, but I got stuck trying to get Capistrano at different stages  
of the

process (didn't succeed nor give in yet). Anyhow, Capistrano isn't
needed at all... so I might as well try doing without it... it's  
just

that the howto involved it, and I was curious about trying it. :)

cheers, Simon


I've used the same howto. It looks as though Capistrano is not  
available
on Dreamhost any longer, though you can install it as a local  
gem. I
think it's probably a good tool and want to learn about it but I  
try not

to learn *too* many new things on any one project...

Bill


Aha... so does Capistrano need to be installed on the server? I  
thought it just had to run on my computer. Even though I've had  
several issues with it, it has indeed done at least some stuff on  
the server for me.


cheers, Simon___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Using Radiant unpacked?

2008-10-08 Thread Simon Rönnqvist

 Hi!

I've been trying to use Radiant unpacked with Dreamhost. But I fail to  
get it working, maybe I'm doing something wrong... but I failed to  
find any good howto.


I unpacked Radiant into my Radiant app's vendor/gems/ folder using  
gem unpack radiant.

(I'm not 100% sure where I should put it actually.)

Then I uploaded the whole thing to Dreamhost and tried the following:
$ rake production db:bootstrap
(in /home/.soes/ronnqvist/radiant)
Missing the Radiant  gem. Please `gem install -v= radiant`, update  
your RADIANT_GEM_VERSION setting in config/environment.rb for the  
Radiant version you do have installed, or comment out  
RADIANT_GEM_VERSION to use the latest version installed.


So it seems that Rake doesn't know where to look for the Radiant gem.  
Any ideas on how I do this very basic thing? :)


 cheers, Simon
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Using Radiant unpacked?

2008-10-08 Thread Sean Cribbs

Radiant must be unpacked directly into vendor/radiant, not vendor/gems.

Sean

Simon Rönnqvist wrote:

 Hi!

I've been trying to use Radiant unpacked with Dreamhost. But I fail to 
get it working, maybe I'm doing something wrong... but I failed to 
find any good howto.


I unpacked Radiant into my Radiant app's vendor/gems/ folder using 
gem unpack radiant.

(I'm not 100% sure where I should put it actually.)

Then I uploaded the whole thing to Dreamhost and tried the following:
$ rake production db:bootstrap
(in /home/.soes/ronnqvist/radiant)
Missing the Radiant  gem. Please `gem install -v= radiant`, update 
your RADIANT_GEM_VERSION setting in config/environment.rb for the 
Radiant version you do have installed, or comment out 
RADIANT_GEM_VERSION to use the latest version installed.


So it seems that Rake doesn't know where to look for the Radiant gem. 
Any ideas on how I do this very basic thing? :)


 cheers, Simon
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant




___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Using Radiant unpacked?

2008-10-08 Thread Anton Aylward

Casper Fabricius said the following on 08/10/08 09:57 AM:

Hi Simon,

I'd recommend to do a

git clone git://github.com/radiant/radiant.git my_radiant_app

instead. Remember to create a database.yml file and to create the  
mysql database on DH.


*sigh*
I had just got my head around SVN when you guys switched to GIT and 
using the various repositories via the web isn't as 'obvious' as it was 
with SVN.


I tried the above and wow!  But how do I figure out all teh add-ons?

More specifically, how do I upgrade a site running a 0.5 release and 
make it 'updateable' now that we have GIT?  I know I'll have to clean 
out all the .svn* directories and files, but what else?



--
...Then anyone who leaves behind him a written manual, and likewise 
anyone who receives it, in the belief that such writing will be clear 
and certain, must be exceedingly simple-minded... -- Plato, _Phaedrus_

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Radiant T-Shirt design - Please give input!

2008-10-08 Thread Josh French

Second, John suggested putting a pithy saying on the back of the shirt
-- especially if we use the large gem in the center front.   
Radiant CMS 
(x-ray vision not included) was his suggestion.  I'd appreciate some

more input on that (or if you want a blank back).


I'm of the less-is-more school of t-shirt philosophy: big logo, no  
text, empty back. This leads the casual observer to wonder: wither  
your awesome shirt, sir? leading to inquiry, evangelization, and  
eventual conversion to Radiant. (But if we must: how about simply No  
fluff on the back?)


j
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Radiant T-Shirt design - Please give input!

2008-10-08 Thread Jim Gay


On Oct 8, 2008, at 11:23 AM, Josh French wrote:

Second, John suggested putting a pithy saying on the back of the  
shirt
-- especially if we use the large gem in the center front.   
Radiant CMS(x-ray vision not included) was his suggestion.  I'd  
appreciate some

more input on that (or if you want a blank back).


I'm of the less-is-more school of t-shirt philosophy: big logo, no  
text, empty back. This leads the casual observer to wonder: wither  
your awesome shirt, sir? leading to inquiry, evangelization, and  
eventual conversion to Radiant. (But if we must: how about simply  
No fluff on the back?)


+1
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Radiant T-Shirt design - Please give input!

2008-10-08 Thread Andrew O'Brien
Agreed on the minimalism.  Another suggestion for back content:
script/generate hilarious_tshirt_text.  Not really Radiant specific,
but you know, it works in our crowd. :)

(And someone let me know if that's been done before – it seems like
someone must have thought of that before, but I haven't seen it yet.)

-Andrew

On Wed, Oct 8, 2008 at 11:23 AM, Josh French [EMAIL PROTECTED] wrote:
 Second, John suggested putting a pithy saying on the back of the shirt
 -- especially if we use the large gem in the center front.  Radiant
 CMS(x-ray vision not included) was his suggestion.  I'd appreciate some
 more input on that (or if you want a blank back).

 I'm of the less-is-more school of t-shirt philosophy: big logo, no text,
 empty back. This leads the casual observer to wonder: wither your awesome
 shirt, sir? leading to inquiry, evangelization, and eventual conversion to
 Radiant. (But if we must: how about simply No fluff on the back?)

 j
 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Radiant T-Shirt design - Please give input!

2008-10-08 Thread Marty Haught
 I'm of the less-is-more school of t-shirt philosophy: big logo, no text,
 empty back. This leads the casual observer to wonder: wither your awesome
 shirt, sir? leading to inquiry, evangelization, and eventual conversion to
 Radiant. (But if we must: how about simply No fluff on the back?)

+1

I'd be find with only 'RadiantCMS' on the back.

Cheers,
Marty
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Radiant and RubyAmf

2008-10-08 Thread Nate Turnage
On Wed, Oct 8, 2008 at 12:08 PM, Marcus Blankenship [EMAIL PROTECTED]wrote:

 Thanks, Nate.  So, to clarify because I'm dense:
 1. I need to build an extension
 2. The archives/docs should show me how.

 Will I need to learn git to do this?


They should. You only really need to know git if you are manging your code
in that system. The only thing you really need to know about git for
installing extensions is that to add an extension to your project from git
you use the clone url from the project like so: git clone
http://address/of/project/name_of_extensionvendor/extensions/name_of_extension
 . That will clone the git repo into
your extension folder. All of the rest of the info on extensions is on the
radiant website. Again, specific questions will usually get answered here.



 As you may suspect, my end goal is to get either the content alone or
 the stylized content (not sure which) from Radiant and display it in
 Flex via AMF.  I intend to do my own styling in Flex, but I would like
 any HTML markup that the user may have entered.

 Does this seem feasible?


It sounds like you may want to expose your pages from radiant as xml (use
the page type XML). Then you can use whatever you want on the front end to
read and style that file accordingly. I don't know how that figures into
RubyAmf and what it does, though.


~Nate
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Radiant T-Shirt design - Please give input!

2008-10-08 Thread Dave Kroondyk
less-is-more is good. My only thought is perhaps many people (like me)
wouldn't actually ask someone what their shirt is about. However, if I saw
RadiantCMS on it somewhere (back probably) - that would lead me to make a
mental note and go Google search it later on. It's a bit harder to Google
search just an image of a gem :)

On Wed, Oct 8, 2008 at 11:45 AM, Jim Gay [EMAIL PROTECTED] wrote:


 On Oct 8, 2008, at 11:23 AM, Josh French wrote:

  Second, John suggested putting a pithy saying on the back of the shirt
 -- especially if we use the large gem in the center front.  Radiant
 CMS(x-ray vision not included) was his suggestion.  I'd appreciate some
 more input on that (or if you want a blank back).


 I'm of the less-is-more school of t-shirt philosophy: big logo, no text,
 empty back. This leads the casual observer to wonder: wither your awesome
 shirt, sir? leading to inquiry, evangelization, and eventual conversion to
 Radiant. (But if we must: how about simply No fluff on the back?)


 +1

 ___
 Radiant mailing list
 Post:   Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


RE: [Radiant] Radiant and RubyAmf

2008-10-08 Thread Marcus Blankenship
Thanks for all the info.  I believe when you use RubyAMF, you basically
expose all your objects as AMF using scaffolding.  I'll play with it and
see where I get.  Are you pulling Radiant content into any Flash apps?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nate Turnage
Sent: Wednesday, October 08, 2008 10:32 AM
To: radiant@radiantcms.org
Subject: Re: [Radiant] Radiant and RubyAmf

On Wed, Oct 8, 2008 at 12:08 PM, Marcus Blankenship
[EMAIL PROTECTED]wrote:

 Thanks, Nate.  So, to clarify because I'm dense:
 1. I need to build an extension
 2. The archives/docs should show me how.

 Will I need to learn git to do this?


They should. You only really need to know git if you are manging your
code in that system. The only thing you really need to know about git
for installing extensions is that to add an extension to your project
from git you use the clone url from the project like so: git clone
http://address/of/project/name_of_extensionvendor/extensions/name_of_ext
ension
 . That will clone the git repo into
your extension folder. All of the rest of the info on extensions is on
the radiant website. Again, specific questions will usually get answered
here.



 As you may suspect, my end goal is to get either the content alone or 
 the stylized content (not sure which) from Radiant and display it in 
 Flex via AMF.  I intend to do my own styling in Flex, but I would like

 any HTML markup that the user may have entered.

 Does this seem feasible?


It sounds like you may want to expose your pages from radiant as xml
(use the page type XML). Then you can use whatever you want on the
front end to read and style that file accordingly. I don't know how that
figures into RubyAmf and what it does, though.


~Nate
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] multiple domains under Phusion Passenger

2008-10-08 Thread Simon Rönnqvist

  Hi!

I tried playing around a bit with the multi_site extension. Two  
questions came to me:


1. Are you in any way able to give an ordinary user access to edit all  
sites? (Checkboxes instead of a dropdown menu would be better when  
granting access sites, then you could pick exactly which sites the  
ordinary user should be able to edit.)
2. Is there any easy way to move/extract a single site from a  
multi_site installation to another... or maybe even to a separate  
installation without the multi_site extension installed?


  cheers, Simon
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant