05:59
<jfritsch>
How would i let a designer design a radiant cms without giving him ftp/sftp access? How can he upload design image elements?
08:05
<jfritsch>
Can i use paperclipped to attach image assets to a stylesheet?
08:16
<john__m>
jfritsch: sure
08:18
<jfritsch>
john_m: And when i want to host on heroku, i even have to use something like paperclipped
08:19
<john__m>
yep just point it at s3 instead of the local file system
08:24
<jfritsch>
damn ;-)
08:24
<jfritsch>
I ordered a credit card yesterday
08:24
<jfritsch>
heroku is the first time that i really need one
08:25
<jfritsch>
Now S3 is also credit card only ...
08:48
<jfritsch>
Can i get the url to an asset (in paperclipped) instead of the entire img-tag?
08:57
<jfritsch>
Found it myself -> <r:assets:url title="xxx" />
11:41
<GitHub180>
radiant: i18n Keith Bingman * bb14969 (3 files in 3 dirs): fixed some merge errors in index pages -
http://bit.ly/aUK2vd
11:49
<jomz>
how again do i run specs for one extension?
11:54
<GitHub93>
radiant: i18n Jim Gay * 716abfd (1 files in 1 dirs): fix unfinished merge
11:54
<GitHub93>
radiant: i18n Jim Gay * a1aeaa5 (2 files in 2 dirs): merging
11:54
<GitHub93>
radiant: i18n Jim Gay * 1627f60 (0 files in 0 dirs): fixing page node
12:14
<john__m>
jomz: rake spec:extensions EXT=ext_name
12:15
<john__m>
no problem. i actually just discovered that recently myself
12:17
<yogi1984>
How can i hide the entire administration (/admin*) in production environment?
12:17
<seancribbs>
yogi1984: deny access to it via the web server
12:17
<seancribbs>
using rewrite rules
12:17
<seancribbs>
or <Location> in apache
12:17
<yogi1984>
Not possible as it is hostet on heroku
12:20
<john__m>
yogi1984: there may be some middleware out there that can do redirects
12:21
<yogi1984>
Is an extension aware of the environment mode?
12:21
<yogi1984>
Probably this could be easily written as an extension
12:23
<seancribbs>
yogi1984: yes, you could easily write that in an extension
12:23
<yogi1984>
There isn't something like a FrontController in Rails, right?
12:23
<seancribbs>
Rack Middleware
12:23
<yogi1984>
A single point where every request comes around
12:23
<yogi1984>
What is rack middleware and can it be used on heroku?
12:24
<yogi1984>
Okay, found it
12:24
<yogi1984>
But can it be used on heroku?
12:26
<seancribbs>
you add it in environment.rb, just like the Radiant::Cache entry
12:26
<seancribbs>
or in the extension
12:26
<seancribbs>
config.middleware.use :DontShowAdmin
12:27
<seancribbs>
you could even put it in config/environments/production.rb if you want it only to run in production
12:27
<yogi1984>
Sounds nice
12:27
<yogi1984>
I will watch the screen casts, thx
12:42
<GitHub171>
radiant: i18n Jim Gay * a3d49a2 (3 files in 3 dirs): fixing page fields, removing rerun.txt from gitignore so I don't go crazy with cucumber -
http://bit.ly/a1yPlC
12:48
<john__m>
yogi1984: i updated the wiki with instructions for installing edge on the new heroku bamboo ree-1.8.7 stack which seems to be a heck of alot faster than the aspen 1.8.6 stack
12:51
<yogi1984>
Nice, really nice, john_m!
12:52
<john__m>
probably would have been more helpful yesterday but better late than never i guess
12:53
<yogi1984>
I learned a lot by trying to figure it out :-)
12:53
<yogi1984>
Hope to be a radiant/rails/ruby pro by the end of the month :-D
12:57
<yogi1984>
My company pays me for the rest of the month to find out if radiant, heroku and amazon s3 is a possibility for our clients websites
12:58
<yogi1984>
So i will be around a lot if you won't ban me from the chan ;-)
13:04
<john__m>
i don't think anyone has ever been banned or even booted from this channel as long as i've been on it. so i wouldn't worry too much i think the radiant community is pretty easy going
13:05
<john__m>
except for seancribbs who is a hot head constantly going nuts :)
13:06
<yogi1984>
He should be aware that this is not healthy
13:06
<seancribbs>
you'll only be banned if you act like a jerk
13:07
<seancribbs>
that rarely happens
13:10
<yogi1984>
We will see about that at the end of the month ;-)
13:10
<yogi1984>
How can i setup the middleware from within an extension?
14:53
<yogi1984>
radiant has no lib folder
14:54
<yogi1984>
Where can i place things like a middleware code file?
16:27
<yogi1984>
Okay, i added an extension for that
16:27
<yogi1984>
But how can i register my middleware inside the extension? config is not accessible from activate
16:41
avonderluft1 joined
19:52
<GitHub138>
radiant: master Jim Gay * ec4756a (1 files in 1 dirs): spec for locale_paths
19:52
<GitHub138>
radiant: master Jim Gay * 7c27646 (1 files in 1 dirs): load RADIANT_ROOT and RAILS_ROOT for locales
20:59
<saturnflyer>
I'm about to commit a change to only load English translations by default. Anyone have a reason why not?
21:23
<GitHub24>
radiant: master Jim Gay * 05089eb (1 files in 1 dirs): update contributors
21:23
<GitHub24>
radiant: master Jim Gay * 39ba7b6 (10 files in 10 dirs): load only English translations by default since others are incomplete; add select.default option
21:23
<GitHub24>
radiant: master Jim Gay * da35bc1 (1 files in 1 dirs): sync locale
21:23
<GitHub24>
radiant: master Jim Gay * a08ce3e (2 files in 2 dirs): show example extension_config in generated extensions
21:23
<GitHub24>
radiant: master commits 168074c...a08ce3e -
21:54
<GitHub57>
radiant: 0.8.2 Jim Gay * 476baca (2 files in 2 dirs): <r:date for='now' /> renders in Time.zone.now. Closes #79 -