Re: [Radiant] diacritic characters in title cause invalid links to pages
Emmet, Sorry I'm just seeing this now. For one-off cases you can change the slug on those pages. But if this is common, I'm not sure. We'd probably need to update the javascript which handles creating the slug from the title - Jim -- Check out my books: You can't afford complicated code #= http://www.clean-ruby.com DSLs shouldn't require a masters degree in metaprogramming. #= http://clean-ruby.com/dsl On Sun, Jul 26, 2015 at 6:07 PM, Emmett Culley lst_man...@webengineer.com wrote: I have a client that has a link on his portfolio page that contains an en-yay ('ñ'), which causes the link to that page to have that same character in the URL. This, of course, will not work How can we use diacritical caracters in page titles without the Radiant CMS UI automatically using the title with the invalid URL character in the link? Emmett -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Radiant] Why isn't Radiant CMS more popular?
I'd *love* help! I love working on Radiant. It's got a lot of great potential. Please help. Talk about it here, send pull requests (to be followed by commit rights), ask questions! - Jim -- Check out my books: You can't afford complicated code #= http://www.clean-ruby.com DSLs shouldn't require a masters degree in metaprogramming. #= http://clean-ruby.com/dsl On Tue, May 26, 2015 at 5:31 PM, Brian 'Phunk' Gadoury bgado...@endpoint.com wrote: Radiant's biggest weakness right now is that it does not yet support Ruby 2, Rails 3 or Rails 4. The progress on that support has been slow due to the very small number of maintainers working on it. If you're considering contributing to the project, I'm certain Jim would welcome your efforts. :) -Phunk jacob decosta wrote: I am relatively new to Ruby on Rails, and CMS. Radiant seems like it has so much potential? What are its weaknesses. I would just like an honest evaluation of the product, before I put hours into developement? Sorry, if this has been asked before. -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Radiant] Re: When will the Radiant CMS rails latest 4 edition be released ?
There is no schedule for it but it is in progress in the master branch. Can you help? On Mar 11, 2015, at 17:59, HEATHER RAFFAELLA Riverso heather.raffae...@gmail.com wrote: Hello, is there any updates for radiant for rails 4? Regards, Heather Le mardi 16 décembre 2014 19:33:55 UTC+1, HEATHER RAFFAELLA Riverso a écrit : When will the Radiant CMS rails latest 4 edition be released ? -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Radiant] When will the Radiant CMS rails latest 4 edition be released ?
There's currently no specific timeline. We need contributions. Arlen Walker has been making changes to the test suite to get it running in Rails 4 and there's still more work to do there. Can you help? On Tue, Dec 16, 2014 at 1:33 PM, HEATHER RAFFAELLA Riverso heather.raffae...@gmail.com wrote: When will the Radiant CMS rails latest 4 edition be released ? -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Radiant] How to reference a tag made available by an extension in my own custom tag extension
I don't recall what happens if you have r:something.../ in side a tag attribute; whether or not it's an error or the parser just skips it. But I think the way we build tags should be rethought. They currently are just blocks of procedures, but I played with some ideas about how to make them more testable and extendable here https://gist.github.com/saturnflyer/3500369 Using some ideas there, and assuming the parser doesn't error on you, you might be able to set an attribute with r:... in it and expand that yourself inside of a tag object. On Wed, Jan 29, 2014 at 1:21 PM, Errol Siegel errolsie...@gmail.com wrote: I have written my own simple tag extension as a helper for displaying blocks of repeating html. For example, let's say I have this pattern: ul lifirst chunk of textbr /div class=some_classsecond chunk of text/divbr /bthird chunk of text/b/li lifirst chunk of textbr /div class=some_classsecond chunk of text/divbr /bthird chunk of text/b/li lifirst chunk of textbr /div class=some_classsecond chunk of text/divbr /bthird chunk of text/b/li lifirst chunk of textbr /div class=some_classsecond chunk of text/divbr /bthird chunk of text/b/li /ul I realize the above markup doesn't make much sense, but it's just there to illustrate the issue. Anyhow, for convenience I made my own extension that allows me to do this instead: ul r:my_tag attribute1=text1 attribute2=text2a bunch of text/r:my_tag r:my_tag attribute1=text1 attribute2=text2a bunch of text/r:my_tag r:my_tag attribute1=text1 attribute2=text2a bunch of text/r:my_tag r:my_tag attribute1=text1 attribute2=text2a bunch of text/r:my_tag /ul This all works fine. However, I am running into the case where my markup includes an image. I am using the asset manager extension to display images like this: r:asset:image name=my_image/ The problems is this: Is there a way for my tag extension to use the r:asset tag? -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Radiant] failed to update install
Can you provide any details about what problems you saw? On Sat, Jan 18, 2014 at 1:56 PM, valmiki j...@storms.org wrote: I tried to update from radiant 1.0.0.rc4 to 1.1.4. I met so many difficulties - solve one problem, only to find the next, and so on - that I finally gave up and reverted to the old version from backup. If only this were easier, simpler. sigh Jan -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Radiant] bundler not found
Have you tried running bundle exec script/server ? On Fri, Jan 17, 2014 at 9:08 PM, valmiki j...@storms.org wrote: I updated radiant from 1.0.0.rc4 to 1.1.4, but run into an error: Writing PID to /tmp/org_zelfbescherming_cms/pids/thin.0.pid Using rack adapter WARNING: It seems you do not have Bundler installed. WARNING: You can install it by doing `gem install bundler` Radiant could not be initialized. Have you run `bundle install`?'. Exiting! when I start the site with script/server, it works on 0.0.0.0:3000 via Webrick. I use postgres as the db and normally thin as the server. I also tried to use a clean new project, bit I run into the same problem. Bundler is definitely installed and working. It looks as if there is a problem going from thin to rack to bundler, but I have no idea what it could be. I would be very happy with a pointer in the right direction. Thanks, valmiki -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Radiant] Tags to iterate over a list
On Wed, Dec 4, 2013 at 12:36 PM, Errol Siegel errolsie...@gmail.com wrote: Say, for example, that I want to output a list like this: ul lispan class=some-classSomething/span - More text - span class=other-classeven more text/span/li lispan class=some-classSomething/span - More text - span class=other-classeven more text/span/li lispan class=some-classSomething/span - More text - span class=other-classeven more text/span/li /ul Are there any built-in tags (or known extensions) for iterating over a list like that? It would be nice to avoid duplicating all those tags for a long list. I know I can just write my own tags to do this, but before I do so I wanted to see if this feature already exists. Thanks! Errol, It's not clear to me which parts you expect to be different. We have iterators like children:each but there's nothing that takes an arbitrary set of data for iteration. Are you looking for something like this? r:iterate collection=… r:item… This doesn't exist. But it's hard for me to understand what you want the radius code to look like. Can you give an example of that? -Jim -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Radiant] Possible to mount Radiant within another Rails app?
Not yet. The master branch is where we're putting effort forward to do this. On Mon, Sep 23, 2013 at 11:36 AM, Mike Pence mike.pe...@gmail.com wrote: Hi guys, Is it possible to mount Radiant as an Engine or otherwise include it in another Rails app? I am wanting to combine Radiant with crowdfunding functionality, so any suggestions on integration would be welcome. I also don't object to having the CMS be standalone, but any advice appreciated. Best, Mike Pence -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Radiant] Spurrd.com references
There should be nothing inside Radiant that links to them. A long time ago there was a contest to create a template for the project and the publicly facing content refers to images on spurred. We changed this in a future version, but I don't recall which. Have you tried upgrading to the next greater version of the Radiant gem? Have you looked through your layouts/snippets/css/js for references? On Wed, Sep 11, 2013 at 11:16 AM, Pete Helgren p...@valadd.com wrote: Running an ancient version of Radiant and I'm noticing that the resources once hosted at spurrd are long gone. WHERE are those references from within Radiant? I want to remove the references but I couldn't find a link anywhere so I don't know where to go to remove the links. I checked all the install folders and all the tables and cannot find where the link(s) are. Could you point me to where to find them so I can remove them? -- Pete Helgren www.petesworkshop.com GIAC Secure Software Programmer-Java -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Radiant] Spurrd.com references
If the file does not exist on the file system, then check the pages table. Pages handle the URLs and they have PagePart records which contain the content. On Wed, Sep 11, 2013 at 1:07 PM, Pete Helgren p...@valadd.com wrote: Thanks Jim. I'd like to upgrade but I am running on a unique platform using jruby and the glassfish gem to serve the site and it was a bit of a challenge to get it all working in the first place so I don't want to start down the slippery slope of upgrading . yet! Poking around using debug, it looks like the offending content is in the Navigation.css but I'll be danged if I can find it anywhere in the project folder on the web server. I wondered if it was served by the database but I can't find a reference to it in the db (what table would it be in?). The *only* css I find is main.css and that has no other references. I am not familiar enough with the workings of Radiant so I am just feeling my way Pete Helgren www.petesworkshop.com GIAC Secure Software Programmer-Java On 9/11/2013 10:18 AM, Jim Gay wrote: There should be nothing inside Radiant that links to them. A long time ago there was a contest to create a template for the project and the publicly facing content refers to images on spurred. We changed this in a future version, but I don't recall which. Have you tried upgrading to the next greater version of the Radiant gem? Have you looked through your layouts/snippets/css/js for references? On Wed, Sep 11, 2013 at 11:16 AM, Pete Helgren p...@valadd.com wrote: Running an ancient version of Radiant and I'm noticing that the resources once hosted at spurrd are long gone. WHERE are those references from within Radiant? I want to remove the references but I couldn't find a link anywhere so I don't know where to go to remove the links. I checked all the install folders and all the tables and cannot find where the link(s) are. Could you point me to where to find them so I can remove them? -- Pete Helgren www.petesworkshop.com GIAC Secure Software Programmer-Java -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Radiant] Members Area
You might be able to find something here: http://ext.radiantcms.org/search?q=subscription http://ext.radiantcms.org/search?q=members http://ext.radiantcms.org/search?q=password Or at least get some ideas for how you can implement it. Radiant is out of date, but we're working on it. I still love it and it's still getting attention. On Sun, Aug 18, 2013 at 10:55 AM, Robert Cotey cot...@coteyr.net wrote: Is there a plugin that I can use to restrict access to view pages, only if your in a certain group? I have tried Reader and I haven't been able to get it cleanly install. RBAC seems like a maybe but again, doesn't seem like a good fit. I would like to make a section that is public facing and a section that requires membership. It's seems like this should be stupidly common, but I can't seem to find a working extension. That said, it also seems like Radiant is about 3 years (or more) behind everything else. I don't have a problem with that, I'm just hoping I didn't fall in love with a dead project that no one supports. -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Radiant] Optimizing Radiant for Heroku
On Sat, Aug 17, 2013 at 4:36 PM, Zachary Linke zlink...@gmail.com wrote: I'm running Radiant 1.0.1 in Rails 2.3.18 on Heroku and it needs some speed improvement / optimization. I'm using Thin for a webserver. My production.rb looks like this... # Settings specified here will take precedence over those in config/environment.rb # The production environment is meant for finished, live apps. # Code is not reloaded between requests config.cache_classes = true # Use a different logger for distributed setups # config.logger= SyslogLogger.new # Full error reports are disabled and caching is on config.action_controller.consider_all_requests_local = false config.action_controller.perform_caching = true # Enable serving of images, stylesheets, and javascripts from an asset server # config.action_controller.asset_host = http://assets.example.com; # Disable delivery errors if you bad email addresses should just be ignored # config.action_mailer.raise_delivery_errors = false # Cache your content for a longer time, the default is 5.minutes config.after_initialize do Radiant::Config['site.url'] = 'mywebsite.com' SiteController.cache_timeout = 1.seconds end The biggest problem is when I try to show a list of 100 pages on the site and it results in a time out and application error almost every time. Do I need to increase the site controller cache to a longer time? Do I need to implement a different caching to work with Heroku? Do I need to switch to a different webserver like Unicorn or Puma? Any help would be appreciated Thanks! Zac Why do you have SiteController.cache_timeout = 1.seconds ? That essentially means that you are doing no caching. So, yes, I'd increase that if you can. How often is the site updated? Can you make it 7.days or 12.hours or something like that? There also may be some things that you're doing with your Radius code in rendering the page that could be more efficient. Can you tell us what the error is from your logs? -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Radiant] wrong number of arguments calling `request` (0 for 1) (ArgumentError)
I don't know the answer off the top of my head. But please do submit a pull-request to the master branch of radiant if you solve this. I'll see if I can find out for you but I'm travelling on vacation for the next 2 weeks. On Mon, Jun 24, 2013 at 3:03 PM, ROR Architect a.p.pan...@gmail.com wrote: Here is the scenario Scenario: Successful login Given an unauthenticated visitor When visitor goes to /users/login And fills in Email with: amitpandya And fills in Password with: amitpandya And clicks the Login button Then amitpandya should be logged in And page should include a notice with text: Welcome amitpandya And amitpandya should see the home mypage page now in steps file When $person logs in do |user| post_via_redirect /users/login, {:authenticator = {:username = user, :password = washington}},{:https = 'on'} request.should_not be_ssl request.session[:user_id].should == Person.find_by_username(user).id end working fine with cucumber-0.10.0 and cucumber-rails-0.3.2 but if I upgrade with cucumber-rails-1.2.1 or cucumber-rails-1.3.1 at this line request.session[:user_id].should == Person.find_by_username(user).id I am getting bellow error. Then amitpandya should be logged in# features/step_definitions/session_steps.rb:11 wrong number of arguments calling `request` (0 for 1) (ArgumentError) ./features/step_definitions/session_steps.rb:12:in `/^(.*)\ should\ be\ logged\ in$/' features/login.feature:23:in `Then amitpandya should be logged in' Any help How can I fix it? Thank you. With kind regards, Amit Pandya -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Radiant] Re: Ruby 2.0.0?
I thought I had replied to this, but apparently not. The goal is to move forward with Rails 4 and Ruby 2. The master branch is the place to send pull requests. -Jim On Wed, Jun 5, 2013 at 5:02 PM, CJO ovar...@gmail.com wrote: I would also like to know the answer, I have checked and Refinery CMS does support Ruby 2.0 and the post just prior to this one gives me some concern for Radiant On Thursday, May 30, 2013 10:17:23 AM UTC-6, David W wrote: Can I use Radiant with Ruby 2.0.0-p0? On OS X 10.8: mkdir radiant cd radiant rvm use ruby-2.0.0-p0@radiant-test gem install radiant radiant --database postgresql /Users/david/.rvm/gems/ruby-2.0.0-p0@radiant-test/gems/radiant-1.1.3/lib/generators/instance/instance_generator.rb:20:in `class:InstanceGenerator': Use RbConfig instead of obsolete and deprecated Config. /Users/david/.rvm/gems/ruby-2.0.0-p0@radiant-test/gems/radiant-1.1.3/lib/generators/instance/instance_generator.rb:20:in `class:InstanceGenerator': Use RbConfig instead of obsolete and deprecated Config. /Users/david/.rvm/gems/ruby-2.0.0-p0@radiant-test/gems/radiant-1.1.3/lib/generators/instance/instance_generator.rb:21:in `class:InstanceGenerator': Use RbConfig instead of obsolete and deprecated Config. undefined method `camelize' for instance:String ls (nothing listed) -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Radiant] Is this project dead?
Radiant is alive! It's sad, of course, that I have to insist that. There's a lot of history in Radiant. Much of what Rails can now do with engines could not be done when support for extensions were created. This project was a pioneer for that stuff, but it wasn't kept up to date with changes. To make a long story short: the app directory is loaded from the gem. Your extensions have an app directory too. A radiant project is changed via extensions, so you might include the ones you want, but then create your own custom alterations to change features. A common criticism of working with Radiant was/is that you need to turn your app into a Radiant project. Rails is far more powerful now and we want to be able to add Radiant to your existing Rails app (rather than the other way around). Please continue to raise your concerns, criticize, and offer your opinions. That's how we grow. On Wed, May 22, 2013 at 12:08 PM, Julian Hurley jul...@designimperial.com wrote: There's about 4 people on the irc, the project on github has build errors and its dependancies are out of date, the last update of your average extension is around three years ago, whenever I run the server I'm greeted with dozens of warnings about insecure protocols and the like. What's going on guys? Quite excited about this cms, seemed just what I needed, but things seem very out of date. And why is the directory structure on your project on your github page completely different to the directory structure generated by the latest gem? And why doesn't the project have an 'app' directory? It's the weirdest thing I've ever encountered (after the amount I've spent with rails, an application without a app directory is like a person running around without a head). Bizzare. What's going on? -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Radiant] Admin css and js not found (NOOB)
I'm not sure what's happening. When you generated those files, did you do it in production mode? That would require that you run something like RAILS_ENV=production script/server On Wed, Apr 3, 2013 at 5:51 PM, Rui Silva clientes...@gmail.com wrote: I've just started playing around with ruby and radiant so please forgive my ignorance. I've successfully deployed radiant Version 1.0.1 (gem) to heroku cedar frontend looks and works fine admin works fine as well but all images js and css are missing (error 400). Locally they are present i've done git add and git commit to the public folder after these files were generated by visiting my local admin however the problem persists. What files should I post here so someone can help me to solve this issue? Thank you -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Radiant] Running Radiant alongside another app
Kevin, I altered the subject since the other one had nothing to do with this. You should be fine running the 2 apps together in ruby 1.9 Have your developers check out https://gist.github.com/saturnflyer/1540782 On Wed, Mar 20, 2013 at 11:29 AM, Kevin Li kli1...@gmail.com wrote: I'm a product manager, not an engineer, so please forgive my ignorance Is it possible to run Radiant as a separate app from a RoR app running 3.2.x? But have the 2 apps appear to the user as being one.? For example, we have an app that is currently being upgraded to Rails 3.2.x. We were running Rails 2.3.x and Radiant 0.8.1 to serve articles pre-registration. Think of the articles as being marketing pages. So in effect, Radiant was running along side our main app. We have Radiant in a separate Git repo from the main app. Can we upgrade Radiant to 1.1.3 and still have it run alongside the main app? And have both be using Ruby 1.9.x? Thanks for your help and feedback! Kevin -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Radiant] Radiant assets - Noob question
Check out this gist https://gist.github.com/saturnflyer/1540782 Report back with any errors that you have and we'll help you get it moving forward. On Tue, Mar 19, 2013 at 2:45 PM, DarkLord ovar...@gmail.com wrote: I'm a noob to Radiant. We just got a packaged up radiant site from a client of ours asking for a site redesign. They are currently using radiant 0.8.2. Trying to get the site up and running. Having a problem with the assets. Keep getting 404, they are not using a Gemfile or bundler so I can't precompile the assets like I would in Rails. Can anyone help point me in the correct direction on how to fix this? P.S. They are running helios/apache for the server. -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Radiant] ActionDispatch::ShowExceptions - rails upgrade 2.3.x to 3.2.x
Radiant is not yet running on rails 3.2. How are you running Radiant? Are you running it from the source as an application? On Mon, Feb 18, 2013 at 12:07 PM, ROR Architect a.p.pan...@gmail.com wrote: In my rails2.3.11 app/controllers/application_controller.rb I have this ActionDispatch::ShowExceptions::rescue_responses[ActionController::RoutingError] = :not_found now this feature is deprecated in rails-3.2.11, I am getting this server log DEPRECATION WARNING: ActionDispatch::ShowExceptions.rescue_responses is deprecated. Please configure your exceptions using a railtie or in your application config instead. (called from ApplicationController at /home/app/demo/app/controllers/application_controller.rb:31) I need specific help on How to set ActionDispatch::ShowExceptions::rescue_responses in rails3.2.11, so I can't get deprecated warning. I am using Jruby 1.7.2 and rails 3.2.11 Thanks -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Radiant] Issue With Snippets Extension - Fields Added to Form Appear Multiple Times
It should work the same way. Can you create an issue on github for this? On Thu, Jan 31, 2013 at 11:45 AM, saalon saa...@gmail.com wrote: We have a few extensions in Radiant that add custom fields to the Snippets Edit Form (and also to the Snippets index). After the upgrade to Radiant 1.1.1 and beginning to use the new Snippets extension, added fields and labels appear multiple times. This isn't a problem for fields we add to Layouts (or other core Radiant admin pages), just Snippets. An example of how we're adding them, in the *_extension.rb config file: admin.snippet.edit.add :form, mobile_content, :after = edit_content Has something changed in how we need to interact with it now that it's an extension? Thanks! Eric -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- --- You received this message because you are subscribed to the Google Groups Radiant CMS group. To unsubscribe from this group and stop receiving emails from it, send an email to radiantcms+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Radiant] Publishing Options
Something about this seems very strange. More information would be helpful. Can you tell us what extensions you have installed? You should be able to publish a page as necessary, but the behavior you describe makes me think you have some extension installed that changes the default behavior. You should be able to go to /admin/extensions to get the list. On Thu, Jan 24, 2013 at 4:56 PM, Jada librarian.j...@gmail.com wrote: I currently use our Radiant CMS as an admin but I'm trying to learn more about the developer side. One of my first questions is this: the only available publishing option for us (admins) is to publish our entire website all at once. We do this at 3 set times per day. If someone on the webpage editing team makes edits to a page that need to go live immediately, that person alerts the team that they need to publish and, barring any objection, publishes the site so their pages go live. Are there other publishing options? Specifically, is there an option to setup the CMS so that individual pages can be published as needed rather than publishing the entire site/all of the pages? I'm having a terrible time trying to search online for answers to this question so any insight and resources would be very much appreciated. Thank you. -- -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 --
Re: [Radiant] Latest stable version schema
Radiant 1.1.1 patches it, but you can create an initializer with ActionController::Base.param_parsers.delete(Mime::XML) in other versions On Mon, Jan 21, 2013 at 2:28 PM, Adam Waterson adam.water...@planonsoftware.com wrote: Hey guys- What’s the most recent Ruby | Rails | Radiant combination that patches the security risk? Ruby 1.9.1 | Rails 2.3.15 | Radiant 1.1.1 ? Also is there a more up-to-date extensions list somewhere? Last time I checked there were many on the radiant site that are a bit out of date. Met vriendelijke groet, Adam Waterson Online Marketing Manager __ Planon International B.V. Wijchenseweg 8 6537 TL Nijmegen The Netherlands M: +31 (0) 6 514 75 514 E: adam.water...@planonsoftware.com O: +31 (0) 24 7501 548 W: www.planonsoftware.com -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Radiant on OpenShift
it should be radiant On Sun, Jan 20, 2013 at 11:10 AM, trans transf...@gmail.com wrote: On Sunday, January 20, 2013 7:16:14 AM UTC-5, michael starke wrote: Ahoi, Add the following to your Gemfile rake, ~ 0.9.2.2 And run bundle update The error is related to newer rake version. Thanks, that helped. Btw, what is the default password for `admin` user on a new install? -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Wiki Spam?
That's a really good question. Someone must have found a security hole in github. That's the only thing I can think of this. On Sat, Jan 19, 2013 at 12:29 PM, trans transf...@gmail.com wrote: What's up with the Getting Started Wiki page? https://github.com/radiant/radiant/wiki/Getting-started/_history -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Radiant on OpenShift
I haven't tried. What errors have you seen? On Sat, Jan 19, 2013 at 4:51 PM, trans transf...@gmail.com wrote: Has anyone setup a Radiant site on OpenShift? I've spent this afternoon trying, but no luck so far. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] TagError with aggregate:each in v1.1.1
The code should work with r:aggregate:each paths=... But obviously something is wrong. There are (or should be) 2 ways to use the aggregate tag. - to collect a group of pages to iterate - to collect a group of pages to iterate their children So both of these bits *should* work r:aggregate paths=... r:each... each of the aggregated pages /r:each r:children:each ... each of the children of aggregated pages /r:children:each /r:aggregate -Jim On Tue, Jan 15, 2013 at 8:18 AM, Mohit Sindhwani t...@onghu.com wrote: Thanks, John... On 15/1/2013 5:12 AM, john wrote: r:aggregate paths='/about; /articles' r:children:each r:title/ /r:children:each /r:aggregate and r:aggregate paths=/about; /articles r:children:count/ /r:aggregate The above works fine! You found the problem! In my case, the problem was that Line 2 (not Line 1): 1 r:aggregate paths=/stage/utk/common;/stage/utk 2 r:aggregate:children:count / 3 /r:aggregate Line 2 should just be r:children:count, as you pointed out! Best Regards, Mohit. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] TagError with aggregate:each in v1.1.1
/1.8/webrick/server.rb:92:in `start' /home/user/.rbenv/versions/1.8.7-p370/lib/ruby/1.8/webrick/server.rb:23:in `start' /home/user/.rbenv/versions/1.8.7-p370/lib/ruby/1.8/webrick/server.rb:82:in `start' -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] TagError with aggregate:each in v1.1.1
On Mon, Jan 14, 2013 at 11:46 AM, Mohit Sindhwani t...@onghu.com wrote: Hi Jim, On 15/1/2013 12:27 AM, Jim Gay wrote: Benito, Try putting the paths inside the aggregate like this: r:aggregate paths=...r:each... I'd like to rework the way tags share information, but for now that should do it. I was trying to see if I could help, but I actually got the same error for: r:aggregate paths=/stage/utk/common;/stage/utk r:aggregate:children:count / /r:aggregate == `aggregate’ tag must contain a `paths’ or `urls’ attribute. Not sure what the cause is... What's the best way to try stuff? Would it be best to freeze radiant locally to the project and then try to edit that source code to see what the problem is? Interesting. We should have tests that cover this. Would either of you mind making an issue on github for this https://github.com/radiant/radiant/issues -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Moving forward
Thanks, Mohit! I remember how much effort you put into the Radiant wiki years ago. Radiant was often lauded for its great docs and your contributions were a big reason for that. On Thu, Jan 10, 2013 at 9:02 PM, Mohit Sindhwani t...@onghu.com wrote: Hi Jim As Joel said, thanks to the core team for all the hard work in making Radiant such a great product. I hope that I'll find a way to contribute (source or documentation). I'm in the progress of updating to Radiant 1.1.1 right now, and I think I can use the time/ knowledge at this stage to help within my limitations. On 10/1/2013 10:58 PM, Jim Gay wrote: Yes. Checkout https://github.com/radiant/radiant/issues for current issues. Because the entire underlying framework is changing, the code won't necessarily work with your current projects. We'll need to change Radiant, and then make a way to change existing projects to move to Rails 3. So it'll take 2 steps. Discussion for development is likely to happen on those github issues and in the Radiant-Dev mailing list https://groups.google.com/forum/?fromgroups#!forum/radiantcms-dev Have a great 2013! Best Regards, Mohit. 11/1/2013 | 10:02 AM. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Security Update to Rails 2.3.15?
As far as I understand the fix, the initializer to remove the XML parser should do it. Additionally, if you've set you project to parse yaml, there are these instructions: -- For 2.x apps, check whether your app sets `ActionController::Base.param_parsers[Mime::YAML] = :yaml` and snip that out if it does. --- The patch for 2.3 has this message: Hash.from_xml raises when it encounters type=symbol or type=yaml. Use Hash.from_trusted_xml to parse this XML. CVE-2013-0156 [Jeremy Kemper] What that means is that if you are using XML parsing and you have a type of symbol or yaml set, then your are vulnerable. By removing the XML parser in your initializer (with ActionController::Base.param_parsers.delete(Mime::XML) ), you should be protected On Fri, Jan 11, 2013 at 9:26 AM, Mark L. marklockl...@gmail.com wrote: Hey guys, hoping I can piggy back on this thread. I have a server that is running ruby 1.8.7, rails 2.3.14, and Radiant 0.9.1. I just wanted to confirm that I can do as Kevin and add ActionController::Base.param_parsers.delete(Mime::XML) to config/initializers, and this will negate the security issue. Also, just as an aside when I run... grep -r YAML . | grep parsers I get... ./vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb:# ActionController::Base.param_parsers[Mime::YAML] = :yaml ./vendor/radiant/vendor/rails/actionpack/test/controller/webservice_test.rb: ActionController::Base.param_parsers[Mime::YAML] = Proc.new { |d| YAML.load(d) } ./vendor/radiant/vendor/rails/actionpack/test/controller/webservice_test.rb: ActionController::Base.param_parsers[Mime::YAML] = :yaml ./vendor/radiant/vendor/rails/actionpack/test/controller/webservice_test.rb: ActionController::Base.param_parsers[Mime::YAML] = :yaml No need to remove these lines from these files? On Thursday, January 10, 2013 9:19:26 AM UTC-5, Jim Gay wrote: You should be fine just putting that in your app initializers. On Wednesday, January 9, 2013 5:57:46 AM UTC-5, Kevin Triplett wrote: Or should that file go in radiant-0.9.1/vendor/rails/railties/configs/initializers ? On Wednesday, January 9, 2013 4:53:52 AM UTC-6, Kevin Triplett wrote: Yes, I saw that, thanks. Okay, here's what I did, please tell me if this will not work. :) Added new file in radiant-0.9.1/config/initializers called rails.rb with this single line: ActionController::Base.param_parsers.delete(Mime::XML) Thanks for your help! :D On Wednesday, January 9, 2013 4:42:04 AM UTC-6, Jim Gay wrote: Kevin, See the rails security post here with details about getting around this problem. https://groups.google.com/forum/#!topic/rubyonrails-security/61bkgvnSGTQ/discussion On Wed, Jan 9, 2013 at 5:25 AM, Kevin Triplett mopac...@gmail.com wrote: Hi Jim, What about us poor sods who are running 0.9 and unable to update Radiant? :) Kevin On Wednesday, January 9, 2013 4:01:45 AM UTC-6, Jim Gay wrote: Radiant no longer keeps vendor/rails in the gem. It's loaded by the Gemfile. I've just pushed Radiant 1.1.1 with a dependency on Rails 2.3.15 Thanks for reporting this! On Wed, Jan 9, 2013 at 4:28 AM, Toine Diepstraten toine.di...@googlemail.com wrote: Hi, an important security update for Rails 2.3 was released, read more about it here: http://weblog.rubyonrails.org/2013/1/8/Rails-3-2-11-3-1-10-3-0-19-and-2-3-15-have-been-released/ As I understand Radiant uses a vendor Rails 2.3.14 version. How can one update Radiant to use the security fixed Rails 2.3.15 version? Thanks for any suggestions. Best, Toine -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Security Update to Rails 2.3.15?
As far as I understand the fix, the initializer to remove the XML parser should do it. Additionally, if you've set you project to parse yaml, there are these instructions: -- For 2.x apps, check whether your app sets `ActionController::Base.param_parsers[Mime::YAML] = :yaml` and snip that out if it does. --- The patch for 2.3 has this message: Hash.from_xml raises when it encounters type=symbol or type=yaml. Use Hash.from_trusted_xml to parse this XML. CVE-2013-0156 [Jeremy Kemper] What that means is that if you are using XML parsing and you have a type of symbol or yaml set, then your are vulnerable. By removing the XML parser in your initializer (with ActionController::Base.param_parsers.delete(Mime::XML) ), you should be protected On Fri, Jan 11, 2013 at 9:26 AM, Mark L. marklockl...@gmail.com wrote: Hey guys, hoping I can piggy back on this thread. I have a server that is running ruby 1.8.7, rails 2.3.14, and Radiant 0.9.1. I just wanted to confirm that I can do as Kevin and add ActionController::Base.param_parsers.delete(Mime::XML) to config/initializers, and this will negate the security issue. Also, just as an aside when I run... grep -r YAML . | grep parsers I get... ./vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb:# ActionController::Base.param_parsers[Mime::YAML] = :yaml ./vendor/radiant/vendor/rails/actionpack/test/controller/webservice_test.rb: ActionController::Base.param_parsers[Mime::YAML] = Proc.new { |d| YAML.load(d) } ./vendor/radiant/vendor/rails/actionpack/test/controller/webservice_test.rb: ActionController::Base.param_parsers[Mime::YAML] = :yaml ./vendor/radiant/vendor/rails/actionpack/test/controller/webservice_test.rb: ActionController::Base.param_parsers[Mime::YAML] = :yaml No need to remove these lines from these files? On Thursday, January 10, 2013 9:19:26 AM UTC-5, Jim Gay wrote: You should be fine just putting that in your app initializers. On Wednesday, January 9, 2013 5:57:46 AM UTC-5, Kevin Triplett wrote: Or should that file go in radiant-0.9.1/vendor/rails/railties/configs/initializers ? On Wednesday, January 9, 2013 4:53:52 AM UTC-6, Kevin Triplett wrote: Yes, I saw that, thanks. Okay, here's what I did, please tell me if this will not work. :) Added new file in radiant-0.9.1/config/initializers called rails.rb with this single line: ActionController::Base.param_parsers.delete(Mime::XML) Thanks for your help! :D On Wednesday, January 9, 2013 4:42:04 AM UTC-6, Jim Gay wrote: Kevin, See the rails security post here with details about getting around this problem. https://groups.google.com/forum/#!topic/rubyonrails-security/61bkgvnSGTQ/discussion On Wed, Jan 9, 2013 at 5:25 AM, Kevin Triplett mopac...@gmail.com wrote: Hi Jim, What about us poor sods who are running 0.9 and unable to update Radiant? :) Kevin On Wednesday, January 9, 2013 4:01:45 AM UTC-6, Jim Gay wrote: Radiant no longer keeps vendor/rails in the gem. It's loaded by the Gemfile. I've just pushed Radiant 1.1.1 with a dependency on Rails 2.3.15 Thanks for reporting this! On Wed, Jan 9, 2013 at 4:28 AM, Toine Diepstraten toine.di...@googlemail.com wrote: Hi, an important security update for Rails 2.3 was released, read more about it here: http://weblog.rubyonrails.org/2013/1/8/Rails-3-2-11-3-1-10-3-0-19-and-2-3-15-have-been-released/ As I understand Radiant uses a vendor Rails 2.3.14 version. How can one update Radiant to use the security fixed Rails 2.3.15 version? Thanks for any suggestions. Best, Toine -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
[Radiant] Re: Security Update to Rails 2.3.15?
Create it. I think Radiant 0.8.0 can be easily upgraded to 0.8.2 which is on Rails 2.3.4 I don't recall what version of rails is in 0.8.0 but it's probably a Rails 2.3.x which uses config/initializers On Friday, January 11, 2013 11:53:26 AM UTC-5, Carl Youngblood wrote: How about for those running 0.8.0 somewhere? I don't see an intializers directory in my config dir. Thanks, Carl On Wednesday, January 9, 2013 10:28:00 AM UTC+1, Toine Diepstraten wrote: Hi, an important security update for Rails 2.3 was released, read more about it here: http://weblog.rubyonrails.org/2013/1/8/Rails-3-2-11-3-1-10-3-0-19-and-2-3-15-have-been-released/ As I understand Radiant uses a vendor Rails 2.3.14 version. How can one update Radiant to use the security fixed Rails 2.3.15 version? Thanks for any suggestions. Best, Toine
Re: [Radiant] Security Update to Rails 2.3.15?
You should be fine just putting that in your app initializers. On Wednesday, January 9, 2013 5:57:46 AM UTC-5, Kevin Triplett wrote: Or should that file go in radiant-0.9.1/vendor/rails/railties/configs/initializers ? On Wednesday, January 9, 2013 4:53:52 AM UTC-6, Kevin Triplett wrote: Yes, I saw that, thanks. Okay, here's what I did, please tell me if this will not work. :) Added new file in radiant-0.9.1/config/initializers called rails.rb with this single line: ActionController::Base.param_parsers.delete(Mime::XML) Thanks for your help! :D On Wednesday, January 9, 2013 4:42:04 AM UTC-6, Jim Gay wrote: Kevin, See the rails security post here with details about getting around this problem. https://groups.google.com/forum/#!topic/rubyonrails-security/61bkgvnSGTQ/discussion On Wed, Jan 9, 2013 at 5:25 AM, Kevin Triplett mopac...@gmail.com wrote: Hi Jim, What about us poor sods who are running 0.9 and unable to update Radiant? :) Kevin On Wednesday, January 9, 2013 4:01:45 AM UTC-6, Jim Gay wrote: Radiant no longer keeps vendor/rails in the gem. It's loaded by the Gemfile. I've just pushed Radiant 1.1.1 with a dependency on Rails 2.3.15 Thanks for reporting this! On Wed, Jan 9, 2013 at 4:28 AM, Toine Diepstraten toine.di...@googlemail.com wrote: Hi, an important security update for Rails 2.3 was released, read more about it here: http://weblog.rubyonrails.org/2013/1/8/Rails-3-2-11-3-1-10-3-0-19-and-2-3-15-have-been-released/ As I understand Radiant uses a vendor Rails 2.3.14 version. How can one update Radiant to use the security fixed Rails 2.3.15 version? Thanks for any suggestions. Best, Toine -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
[Radiant] Moving forward
I've begun pushing changes to the main repository to move the project forward for Rails 3 and 4 The master branch of project may be broken for some time during the transition. If you haven't upgraded yet, be sure to upgrade to version 1.1.1 because it contains fixes for security vulnerability in rails ( https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-security/61bkgvnSGTQ ) That link also contains information about adding an initializer to your apps (anything pre-1.1.1 release): # in config/initializers/parsefix.rb ActionController::Base.param_parsers.delete(Mime::XML) This has always been a supportive community and I hope you'll help me and the rest of the core team move the project forward. Please contribute where you can with code or bug reports. -Jim
Re: [Radiant] Moving forward
Yes. Checkout https://github.com/radiant/radiant/issues for current issues. Because the entire underlying framework is changing, the code won't necessarily work with your current projects. We'll need to change Radiant, and then make a way to change existing projects to move to Rails 3. So it'll take 2 steps. Discussion for development is likely to happen on those github issues and in the Radiant-Dev mailing list https://groups.google.com/forum/?fromgroups#!forum/radiantcms-dev Thanks, Joel! On Thu, Jan 10, 2013 at 9:50 AM, Joel Oliveira joel.olive...@gmail.com wrote: Hey Jim - First, thank you and the entire core team for the work you've done with Radiant. Open source work is a thankless job sometimes and I want to make sure you guys all know that all your time and effort has made many of our lives a lot easier and kept a roof over many heads. So - thank you! Second - is the authoritative spot for tracking needs with regards to features, bugs, and all efforts at the radiant issues list at GitHub? For those of us who would like to contribute I think it would be good to know exactly where we should be heading. Have a great thursday everyone! - Joel On Thu, Jan 10, 2013 at 9:46 AM, Jim Gay j...@saturnflyer.com wrote: I've begun pushing changes to the main repository to move the project forward for Rails 3 and 4 The master branch of project may be broken for some time during the transition. If you haven't upgraded yet, be sure to upgrade to version 1.1.1 because it contains fixes for security vulnerability in rails ( https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-security/61bkgvnSGTQ ) That link also contains information about adding an initializer to your apps (anything pre-1.1.1 release): # in config/initializers/parsefix.rb ActionController::Base.param_parsers.delete(Mime::XML) This has always been a supportive community and I hope you'll help me and the rest of the core team move the project forward. Please contribute where you can with code or bug reports. -Jim -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Website down
We're working on upgrading it to patch the Rails vulnerability. On Thu, Jan 10, 2013 at 11:53 AM, Sam Whited s...@samwhited.com wrote: In case no one has noticed, the website is currently down (lots of undefined tag errors all over the place). —Sam -- Sam Whited pub 4096R/EC2C9934 https://samwhited.com/contact -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Unicorn and/or Thin and assets - not displaying in production
config.assets.compile is a Rails 3 feature and Radiant is currently on Rails 2 Can you give any more details about this? What URLs do you have and what should they be? On Sun, Jan 6, 2013 at 12:26 AM, Lou Brothers l...@loubrothers.com wrote: I've recently migrated my site to a host that doesn't like Mongrel. So I'm trying out Unicorn and Thin. I've also moved all of my assets within the app (from my Public folder). Using Webrick I can see all assets displayed on the site appropriately. But using Unicorn and Thin I cannot: bundle exec unicorn_rails -p 3000 -o 0.0.0.0 -E production The links are working appropriately (in that they're resolving to what they did with Webrick) but they're invalid when I follow them through to Radiant. The tips I've seen online about altering production.rb with config.assets.compile=true don't seem to be working (I get: undefined method `assets'). Help, please. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Security Update to Rails 2.3.15?
Kevin, See the rails security post here with details about getting around this problem. https://groups.google.com/forum/#!topic/rubyonrails-security/61bkgvnSGTQ/discussion On Wed, Jan 9, 2013 at 5:25 AM, Kevin Triplett mopacme...@gmail.com wrote: Hi Jim, What about us poor sods who are running 0.9 and unable to update Radiant? :) Kevin On Wednesday, January 9, 2013 4:01:45 AM UTC-6, Jim Gay wrote: Radiant no longer keeps vendor/rails in the gem. It's loaded by the Gemfile. I've just pushed Radiant 1.1.1 with a dependency on Rails 2.3.15 Thanks for reporting this! On Wed, Jan 9, 2013 at 4:28 AM, Toine Diepstraten toine.di...@googlemail.com wrote: Hi, an important security update for Rails 2.3 was released, read more about it here: http://weblog.rubyonrails.org/2013/1/8/Rails-3-2-11-3-1-10-3-0-19-and-2-3-15-have-been-released/ As I understand Radiant uses a vendor Rails 2.3.14 version. How can one update Radiant to use the security fixed Rails 2.3.15 version? Thanks for any suggestions. Best, Toine -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Re: Radiant 1.1.0 Hurdles (Part 2)
Mohit, Thanks for reporting all this. I'm planning to push breaking changes into the master branch soon, so tracking these things will be really helpful. Please do report any bugs you find on the github issues -Jim On Mon, Dec 31, 2012 at 2:46 PM, Mohit Sindhwani t...@onghu.com wrote: As always, wisdom comes while waiting for someone to respond, so I'll update my findings. On 1/1/2013 2:50 AM, Mohit Sindhwani wrote: I was trying to set up copy_move and was unable to. I tried 2 of the recommended methods. 1, From the Radiant Extension Registry I couldn't find what to do about this method but did solve the second approach below. 2. From Github # From your RAILS_ROOT run: cd vendor/extensions git clone git://github.com/jomz/radiant-copy-move.git ./copy_move cd ../../ rake radiant:extensions:copy_move:update # Restart your app Tried this also.. when I come to the rake step, I get the following E:\projects\radiant\test_v10\vendorrake radiant:extensions:copy_move:update (in E:/projects/radiant/test_v10) WARNING: It seems you do not have Bundler installed. WARNING: You can install it by doing `gem install bundler` Radiant could not be initialized. Have you run `bundle install`?'. I forgot that the correct rake commands need to be something like this: bundle exec rake db:migrate:extensions RAILS_ENV=production bundle exec rake radiant:extensions:copy_move:update RAILS_ENV=production That solves it and it's working now. Moving on... Part 2 of the Radiant hurdles is closed now! Best Regards, Mohit. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Submenu Extension in Radiant 1.0
Ah. I see. Well, if you look here https://github.com/radiant/radiant/blob/master/lib/radiant/admin_ui.rb you'll see what it has. There is NavTab and NavSubItem but I would review what's in TabExtensions to see how it is attempting to change how radiant works. On Thu, Sep 6, 2012 at 3:51 PM, saalon saa...@gmail.com wrote: Jim, Thank you for the link! One question that I don't see answered in the documentation, regarding this line: Radiant::AdminUI::Tab.send :include, TabExtensions Which returns this failure: uninitialized constant Radiant::AdminUI::Tab Is there an class that's replaced Radiant::AdminUI::Tab that we should be extending? I went back through the change history dor admin_ui.rb but couldn't find where Tab was removed or what replaced it. That said, I've already forked the extension and will make public any updates I make to this. Thank you! Eric On Thursday, September 6, 2012 3:40:01 PM UTC-4, Jim Gay wrote: See these notes: https://github.com/radiant/radiant/wiki/developer-upgrade-notes The upgrade should be easy if all that's needed is addressing the tab API. Often, when I have a problem like this, I fork the repo and push my changes there. That way others can benefit from the fixes too and it's easier for me to track. Don't just edit it in your project and call it a day. That reminds me, I need to update those upgrade notes for the latest version. On Thu, Sep 6, 2012 at 3:05 PM, saalon saa...@gmail.com wrote: I'm upgrading from radiant 0.8.1 to 1.0, and I'm having a problem with one of the extensions we're using. We use multi-site-extension, and it uses the submenu extension to allow users to choose which site they want scoped to. Unfortunately, submenu isn't compatible with the Tabs changes from Radiant 0.9.1, and the extension hasn't been updated. I'm hoping for some guidance on what changed with Tabs and what changed might be needed. This is the multi-site extension we're using: https://github.com/spanner/radiant-multi-site-extension This is the submenu extension: https://github.com/joebushi/radiant-submenu-extension The code that's dying during initialization of the app is the attempt to include TabExtensions in Radiant::AdminUI::Tab, which is coming back as an uninitialized constant. What's replaced Radiant::AdminUI::Tab? Is there a different object the extensions should be included into? def activate Radiant::AdminUI::Tab.send :include, TabExtensions Radiant::AdminUI.send :include, Submenu ApplicationHelper.send :include, Admin::SubmenuHelper ApplicationController.send :include, ResourceControllerExtensions UserActionObserver.instance.send :add_observer!, SubmenuLink unless defined? admin.submenu_links Radiant::AdminUI.send :include, SubmenuAdminUI admin.submenu_link = Radiant::AdminUI.load_default_submenu_link_regions end Thank you! Eric -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] undefined method `keys' for #Syck::Omap:...
Can you post the actual error message so we have something to go on? What version of rubygems do you have installed? You'll likely see errors if it isn't near the latest. I don't recall the exact version that fixes the Syck error. Radiant is still currently a Rails 2 app. Deprecation warnings are deprecation warnings. Are they causing you some sort of problem? On Fri, Sep 7, 2012 at 5:31 PM, IamNaN dger...@gmail.com wrote: Tried three times to get Radiant installed on Linode with Ruby 1.9.3-p194 and postgres. Using the installation and setup directions in INSTALL.md, I get the title error trying to populate the database with `bundle exec rake production db:bootstrap`. Can you help with that? On another note... the system requirements aren't listed anywhere that I can find. Rails 3 gets blown away by running `gem install radiant` (I think because Gemfile.lock is included in the gem). And I'm getting numerous deprecation warnings throughout the installation process. Radiant development is still active, right? -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Submenu Extension in Radiant 1.0
See these notes: https://github.com/radiant/radiant/wiki/developer-upgrade-notes The upgrade should be easy if all that's needed is addressing the tab API. Often, when I have a problem like this, I fork the repo and push my changes there. That way others can benefit from the fixes too and it's easier for me to track. Don't just edit it in your project and call it a day. That reminds me, I need to update those upgrade notes for the latest version. On Thu, Sep 6, 2012 at 3:05 PM, saalon saa...@gmail.com wrote: I'm upgrading from radiant 0.8.1 to 1.0, and I'm having a problem with one of the extensions we're using. We use multi-site-extension, and it uses the submenu extension to allow users to choose which site they want scoped to. Unfortunately, submenu isn't compatible with the Tabs changes from Radiant 0.9.1, and the extension hasn't been updated. I'm hoping for some guidance on what changed with Tabs and what changed might be needed. This is the multi-site extension we're using: https://github.com/spanner/radiant-multi-site-extension This is the submenu extension: https://github.com/joebushi/radiant-submenu-extension The code that's dying during initialization of the app is the attempt to include TabExtensions in Radiant::AdminUI::Tab, which is coming back as an uninitialized constant. What's replaced Radiant::AdminUI::Tab? Is there a different object the extensions should be included into? def activate Radiant::AdminUI::Tab.send :include, TabExtensions Radiant::AdminUI.send :include, Submenu ApplicationHelper.send :include, Admin::SubmenuHelper ApplicationController.send :include, ResourceControllerExtensions UserActionObserver.instance.send :add_observer!, SubmenuLink unless defined? admin.submenu_links Radiant::AdminUI.send :include, SubmenuAdminUI admin.submenu_link = Radiant::AdminUI.load_default_submenu_link_regions end Thank you! Eric -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Migrating from 0.6.4 to current 1.0.1 results in empty database
Yes. That's true. I've never had to make a jump that big and I've only read on this forum that that is how the problem was solved. You could jump into a debugger and find out what's happening, but it's probably easier and faster to try the gems first. But please report the bug if you do find it! On Fri, Aug 31, 2012 at 11:37 AM, Peterdk goo...@umito.nl wrote: Ok, I'll try that. But I am a bit wondering why that would help? The database is only edited int the migrations process, isn't it? Aren't these just cumulatively added during new releases? Peter Op vrijdag 31 augustus 2012 16:35:42 UTC+2 schreef Jim Gay het volgende: That's what I mean. I wanted to make sure you didn't have it misconfigured so we could rule that out. I recall in years past that others would have success in stepping up their installation. You might get it to work by going a version or 2 up before getting to 1.1. Can you try going to 0.7.2 first or 0.8.2? On Fri, Aug 31, 2012 at 10:29 AM, Peterdk goo...@umito.nl wrote: What do you mean? The development database config is just the standard slite db, that I don't use. I have the production database configured to be mysql, just as on my old host. I only changed the database name, when imported the old dump into the new mysql server. I do run rake with production db:migrate. Op donderdag 30 augustus 2012 19:32:50 UTC+2 schreef Jim Gay het volgende: Are you running these in the correct environment? For example you're running rake production db:migrate but is your existing database setup for the development configuration? On Thu, Aug 30, 2012 at 1:03 PM, Peterdk goo...@umito.nl wrote: Hi, I am running a website on a old host that is going to shutdown, and so I am in the process of moving it to my vps. It's still runing on radiant 0.6.4. I tried to update to the current radiant gem (1.0.1), and then tried migrating: I updated the project according to the 0.6 upgrade instructions: However, when I come to the point of migrating the database, I have a problem: rake production db:migrate runs without errors, but the end result is a database with empty tables. All data is gone. Is there anything I can do to get this to upgrade? The old radiant 0.6.4 doesn't work on this host, it looks like it doesn't like my ruby 1.9.3 Peter -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Migrating from 0.6.4 to current 1.0.1 results in empty database
Are you running these in the correct environment? For example you're running rake production db:migrate but is your existing database setup for the development configuration? On Thu, Aug 30, 2012 at 1:03 PM, Peterdk goo...@umito.nl wrote: Hi, I am running a website on a old host that is going to shutdown, and so I am in the process of moving it to my vps. It's still runing on radiant 0.6.4. I tried to update to the current radiant gem (1.0.1), and then tried migrating: I updated the project according to the 0.6 upgrade instructions: However, when I come to the point of migrating the database, I have a problem: rake production db:migrate runs without errors, but the end result is a database with empty tables. All data is gone. Is there anything I can do to get this to upgrade? The old radiant 0.6.4 doesn't work on this host, it looks like it doesn't like my ruby 1.9.3 Peter -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Re: need help to move a site from one host to another
:in `top (required)' /home/robert/.rvm/gems/ruby-1.9.3-p194@global/bin/rake:19:in `load' /home/robert/.rvm/gems/ruby-1.9.3-p194@global/bin/rake:19:in `main' /home/robert/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `eval' /home/robert/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `main' Since i'm really new to this, i'm hoping i did something dumb that can be easily remedied. Thanks for your help. Robert On Tue, Aug 7, 2012 at 1:31 PM, Jim Gay j...@saturnflyer.com wrote: Nobody will be able to help without specific errors. Start with posting 1 error here and let's see how we can help. On Wed, Aug 1, 2012 at 5:46 PM, robert r.chang...@gmail.com wrote: Excuse me for resurrecting this thread, but I'm trying to do the same thing. I'm running Radiant 0.9.1 with the Archive, CopyMove, FancyBox, Navigation Tags, Paperclipped, Ray, Reorder and Settings extensions. I copied the MySQL DB and the radiant folder to new server. Then began following instructions to upgrade. I got a bunch of errors/alerts in step 7 bundle exec script/server. There were several Gem::SourceIndex notices about things being deprecated. Then I got a whole bunch of load errors. I tried it again, making sure to follow the instructions exactly on the web page, but I'm still getting these errors. If I ignore the errors and continue with the instructions, I get to the step bundle exec rake radiant:update and then it aborts because it didn't know how to build the task radiant:update. Could someone please help me figure out what I'm doing wrong? I'm going to need some hand holding with this. If there's another way to migrate this site, I'd be happy to give that a try. Thanks for your help. Robert -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] problems with gallery extension and radiant 1.0.1
I don't have any experience with the Gallery extension. Does it expect that an asset manager will exist or does it do that itself? You can tell radiant 1.0 to ignore the clipped extension by adding it to config.ignored_extensions Radiant 1.1 removes extensions from being loaded by default and requires that you explicitly add them yourself. On Sun, Aug 5, 2012 at 12:07 PM, Horst Rischbode ho...@horibo.de wrote: Hello, I made a fresh install of Radiant 1.0.1 and added the Gallery Extension (https://github.com/hairballopolis/radiant-gallery). Gallery Extension seems to conflict with the built in asset manager. Plugin attachment_fu must be in plugin-directory for Gallery Extension. Here is what I get when I try to create an asset from admin interface: /!\ FAILSAFE /!\ 2012-08-05 15:37:30 +0200 Status: 500 Internal Server Error can't convert nil into Integer /home/horibo/projects/horibo_neu/vendor/plugins/attachment_fu/init.rb:7:in `sprintf' /home/horibo/projects/horibo_neu/vendor/plugins/attachment_fu/init.rb:7:in `make_tmpname' /home/horibo/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/tmpdir.rb:132:in `create' /home/horibo/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/tempfile.rb:134:in `initialize' /home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/utils.rb:547:in `new' /home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/utils.rb:547:in `block in parse_multipart' /home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/utils.rb:525:in `loop' /home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/utils.rb:525:in `parse_multipart' /home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/request.rb:268:in `parse_multipart' /home/horibo/.rvm/gems/ruby-1.9.2-p290@radiant10/gems/rack-1.1.3/lib/rack/request.rb:146:in `POST' [...] As far as I understand the asset manager uses Paperclipped. But it seems to call attachment_fu? Did anybody succeed in installing Gallery Extension on Radiant 1.0.1? Any hints what I am doing wrong? Thanks in advance Horst -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
[Radiant] Radiant 1.1.0 RC1 is out
I've pushed out version 1.1.0.rc1 of Radiant. Contributors have been fixing bugs and cleaning up the features. I've been working to modularize the project even more. Snippets, for example, will require that you add them in your Gemfile. gem radiant-snippets-extension, 1.1.0.alpha Snippets can be pulled out of Radiant if you like. Also, I recently added file system support to Snippets. You can create your own snippets in: app/templates/snippets/my_snippet.radius And you can use this code to load it up: r:snippet name=my_snippet / Currently there are 2 lists of snippets: ones from the database, and those from the filesystem. For now this works, but I'd like to combine them into one paginated list https://github.com/radiant/radiant/issues/340 If anyone can contribute to working with WillPaginate to make that happen, please help out! I plan to add this same file system support to Layouts as well. Please try it out and send your feedback. -Jim -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Re: need help to move a site from one host to another
Nobody will be able to help without specific errors. Start with posting 1 error here and let's see how we can help. On Wed, Aug 1, 2012 at 5:46 PM, robert r.chang...@gmail.com wrote: Excuse me for resurrecting this thread, but I'm trying to do the same thing. I'm running Radiant 0.9.1 with the Archive, CopyMove, FancyBox, Navigation Tags, Paperclipped, Ray, Reorder and Settings extensions. I copied the MySQL DB and the radiant folder to new server. Then began following instructions to upgrade. I got a bunch of errors/alerts in step 7 bundle exec script/server. There were several Gem::SourceIndex notices about things being deprecated. Then I got a whole bunch of load errors. I tried it again, making sure to follow the instructions exactly on the web page, but I'm still getting these errors. If I ignore the errors and continue with the instructions, I get to the step bundle exec rake radiant:update and then it aborts because it didn't know how to build the task radiant:update. Could someone please help me figure out what I'm doing wrong? I'm going to need some hand holding with this. If there's another way to migrate this site, I'd be happy to give that a try. Thanks for your help. Robert -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Radiant Clipped Extension v Paperclipped extension
You'll need to check the WYM Filter but it could be the code around here https://github.com/jomz/radiant-wym-editor-filter-extension/blob/master/public/javascripts/extensions/wym_editor_filter/radiant.wymeditor.js#L367 Perhaps the location of the src needs to be altered On Sun, Aug 5, 2012 at 9:49 PM, Chris Toynbee ctoyn...@gmail.com wrote: I've recented set up a Radiant 1.0.1 installation which comes with: https://github.com/radiant/radiant-clipped-extension In the past I've been used to using Radiant 0.8 with the paperclipped extension. Does anyone know if it's possible to configured the radiant-clipped-extension to show the images in the page admin when wym_editor is enabled? In Radiant 0.8 with paperclipped when images were inserted in content you could see the image and apply styles to it (within the admin interface). Now when I insert an image into the content I get a red box that is 100% the width of the wym_editor with: asset:image size='normal' id='3' instead of viewing the actual image... -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Problem resurecting old site on Dreamhost
On Wed, Aug 1, 2012 at 10:17 AM, Anton J Aylward radi...@antonaylward.com wrote: There is an old radiant site I'm trying to get working (again) on Dreamhost. The error on the web site is: - The application has exited during start-up (i.e. during the evaluation of config/environment.rb). The error message can be found below. To solve this problem, please follow any instructions in the error message. Error message: Your config/boot.rb is outdated: Run rake rails:update. -- yes but All this depends on which version of rails, ruby I THINK is is 0.8.1 or 0.9.1 I *seems* that there is no copy of the relevant revision of rails under /vendor/ Is there a copy of Radiant in vendor/radiant? If not, check which version of the radiant gem you have and copy the source to vendor/radiant. If things are screwed up, you may not be able to run rake tasks without running into errors like these. So putting a copy of Radiant in vendor/radiant will at least freeze the initialization to that copy. Radiant looks there first before looking to the gems you have. Which version rake to run The one in /usr/bin or the one in ~/.gems/bin ? --- $ /usr/bin/rake rails:update rake aborted! uninitialized constant Rake::DSL ~/.gems/gems/radiant-0.9.1/Rakefile:4 $ ~/.gems/bin/rake rails:update WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead. at ~/.gems/gems/rake-0.9.2.2/lib/rake/rdoctask.rb rake aborted! Don't know how to build task 'rails:update' -- I'm lost ... Don't attempt to update Rails for the project. It appears as if you have Radiant 0.9.1, but run gem list radiant to see what versions are on your server. It's possible that the site was started with 0.8.1 (for example) but a newer gem was later installed. Try setting up vendor/radiant and let us know what happens then. If you get different errors that means your changes did something. If you keep getting the same error, then the problem might be elsewhere. If you are successful in moving along, check out this gist where I created instructions for upgrading https://gist.github.com/1540782 I'll update that with any details that you provide to help clarify the process. -Jim -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Cache seems determined to be on 300 seconds
I think this might have to do with Rails reloading classes in development mode. If we set the timeout during the initialization process, that step is skipped during a reload. Of the top of my head, it might be necessary to rewrite set_cache_control to overcome this. -Jim On Wed, Jul 11, 2012 at 7:41 PM, John Moroney jpmoro...@gmail.com wrote: I'm in the development environment and the cache is locked on five minutes. The config settings are correct, and I see nothing obvious in the extensions that would cause a conflict. This install was also working just fine until it wasn't. I noticed on line 525 of the changelog that a similar issue came up and was fixed by Mr. Long, but that issue describes the behaviour. Any ideas would be greatly appreciated. The extensions are: file_system_resources page_factory page_parts ruby 1.9.2 radiant 1.0.1p180 -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Problem with Radiant CMS Upgrade
Did you follow these instructions? https://gist.github.com/1540782 On Wed, Jun 20, 2012 at 7:00 AM, pi...@gniezno.net.pl wrote: Hi, I want to upgrade a Radiant CMS from version 0.8.0 to a new - 1.0. I put a gem update radiant command like in manual, however at the end of script, I have some warning and errors like below: WARNING: Invalid .gemspec format in '/home/targi/www/.ruby/gems/1.8/specifications/radiant-1.0.1.gemspec' Updating installed gems Updating radiant-clipped-extension ERROR: While executing gem ... (NoMethodError) undefined method `call' for nil:NilClass Could you please let me know what's wrong with it? I'm new with Radiant so please be patient :). Second case is lack of RADIANT_GEM_VERSION constant in my config/environment.rb - what should I do with it? Add it to this file manually? regards! Piotr -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] malformatted comment rendering with radiant-comments extension
On Wed, Jun 20, 2012 at 7:06 AM, Eren Gölge erengo...@gmail.com wrote: I try to render my entered comments but it write it on in very silly format like: [\r\n \r\n \r\n \r\n \r\n Eren said on Wednesday, June 20, 2012:\r\n \r\n sdfwfwefwf \r\n \r\n \r\n\r\n , \r\n \r\n \r\n \r\n \r\n asdad said on Wednesday, June 20, 2012:\r\n \r\n asdasda \r\n \r\n \r\n\r\n , \r\n \r\n \r\n \r\n \r\n asdad said on Wednesday, June 20, 2012:\r\n \r\n asdasda \r\n \r\n \r\n\r\n , \r\n \r\n \r\n \r\n \r\n adad said on Wednesday, June 20, 2012:\r\n \r\n daadasdasd \r\n \r\n \r\n\r\n ] this is what actually seem on my page. What is the problem behind it, any idea? This is what I use for rendering. r:comments:field div class=comment id=comment-r:id/ p class=author r:if_author_urla href=r:author_url/ title=Visit r:author/'s website/r:if_author_url r:author/r:if_author_url/a/r:if_author_urlsaid on r:date/: /p div class=content_htmlr:content_html //div r:if_selectedpem r:if_approvedThanks for your comment!/r:if_approved r:unless_approvedThanks for your comment, it has gone into the moderation queue and will be dealt with shortly./r:unless_approved /em/p/r:if_selected /div /r:comments:field My guess is that the indentation in your radius code is being processes by markdown or textile in some other area. Is this placed on a page or layout where a filter is being applied? -Jim -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Re: Radient CMS support which Rails version
Rails 2.3.14 is supported. We're in the process of moving to support Rails 3 On Tue, Jun 19, 2012 at 5:38 PM, goodluckpaul goodluckp...@gmail.com wrote: Hello there, I have no idea, I'm also new to ruby, rails and radiant, but take a look here: http://rubygems.org/gems/radiant I think this page lists the versions radiant needs?! Best, Paul On Friday, June 8, 2012 7:37:28 AM UTC+2, Mandy wrote: Which Rails version is supported by latest version of Radiant CMS ? -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Radiant 1.0 installation
It sounds like this problem is specific to your web server. You're getting a 500 error, but what does the error say? On Mon, May 7, 2012 at 6:17 AM, goodluckpaul goodluckp...@gmail.com wrote: Hello guys, I'm really having troubles getting radiant running on my webhost (I'm always getting Error 500). I'm trying it all last week now.. It would be great, if someone could give me instructions! - I can't install gems myself, but they installed radiant, mysql etc for me. - I can't set up vhosts but I bought an extra domain, which I can direct to every directory in /home/USER/www - I can set up symlinks - radiant -d mysql DIRECTORY works fine also bundle exec rake production db:bootstrap, selecting username, password, etc . - Now I'm not sure WHERE to install radiant: in /home/USER/ or /home/USER/www either way, it doesn't work for me; but wouldn't it be more secure to NOT install it in www but just symlink from there?! - I think I don't know the right settings for the .htaccess and environment.rb for getting my site running in the browser, how to redirect the domain, and to which directory, etc Please tell me, what I should take care of! Thanks, Paul -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] need help to move a site from one host to another
On Wed, May 2, 2012 at 4:28 AM, corinna corinna.v...@yahoo.it wrote: Hi to everyone, I am new to this group and to radiant as well. A friend of a collegue of mine, published a website for my collegue using radiant 0.9 and now my collegue want the website to be hosted on one of our server. I have managed to install radiant 1.0.1 on a debian and my collegue's friend have given me a zip file of his installation (on radiant 0.9) I have search for a procedure to install the website on a new host but I haven't find anything that I could use in this case, probably my search was inefficient. I need both information on 1) how to move a website from a host to another 2) how to import a website from an older version of radiant to a newer version Dump your database from one host and import it into your new server. Then move the code and any other files over and alter your DNS to point to the new server. Do you have any more specific questions? What database server are you using? (postgresql, mysql, etc.) What application server are you using? (apache/mongrel, unicorn, nginx/passenger, etc.) Thank you for the support you could give me. Best regards Corinna Vera -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] need help to move a site from one host to another
Oh. I forgot to mention these instructions for upgrading: https://gist.github.com/1540782 On Wed, May 2, 2012 at 10:33 AM, Jim Gay j...@saturnflyer.com wrote: On Wed, May 2, 2012 at 4:28 AM, corinna corinna.v...@yahoo.it wrote: Hi to everyone, I am new to this group and to radiant as well. A friend of a collegue of mine, published a website for my collegue using radiant 0.9 and now my collegue want the website to be hosted on one of our server. I have managed to install radiant 1.0.1 on a debian and my collegue's friend have given me a zip file of his installation (on radiant 0.9) I have search for a procedure to install the website on a new host but I haven't find anything that I could use in this case, probably my search was inefficient. I need both information on 1) how to move a website from a host to another 2) how to import a website from an older version of radiant to a newer version Dump your database from one host and import it into your new server. Then move the code and any other files over and alter your DNS to point to the new server. Do you have any more specific questions? What database server are you using? (postgresql, mysql, etc.) What application server are you using? (apache/mongrel, unicorn, nginx/passenger, etc.) Thank you for the support you could give me. Best regards Corinna Vera -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] error running integration specs for radiant 1.0.1 app
Can you paste the full stack trace somewhere? On Thu, Apr 19, 2012 at 9:36 PM, Craig Ambrose craigambr...@gmail.com wrote: Hi everyone, I have an app I have upgraded from 0.8.6 to 1.0.1, and all the specs are working fine, except for the integration specs. Running them generates the following error immediately: no such file to load -- file_not_found_page (MissingSourceFile) /Users/craig/.rvm/gems/ruby-1.8.7-p334@nzffa/gems/activesupport-2.3.14/ lib/active_support/dependencies.rb:184:in `require' /Users/craig/.rvm/gems/ruby-1.8.7-p334@nzffa/gems/activesupport-2.3.14/ lib/active_support/dependencies.rb:184:in `require' /Users/craig/.rvm/gems/ruby-1.8.7-p334@nzffa/gems/radiant-1.0.1/spec/ datasets/file_not_found_dataset.rb:1 This is true if I run bundle exec rake spec:integration, or if they run as part of a full spec run. Although my app is an upgrade, I've disabled all extensions and still get this issue. Line 1 of radiant-1.0.1/spec/datasets/file_not_found_dataset.rb does indeed try to require 'file_not_found_page.rb'. If I require this file from within the console of my app, it works fine. So, possibly this is an issue related to include paths. Potentially this may relate to which exact version of cucumber I'm using. My Gemfile.lock includes: cucumber (1.1.9) builder (= 2.1.2) diff-lcs (= 1.1.2) gherkin (~ 2.9.0) json (= 1.4.6) term-ansicolor (= 1.0.6) cucumber-rails (0.3.2) cucumber (= 0.8.0) database_cleaner (0.6.7) Does anyone have any leads on this? cheers, Craig Ambrose -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Re: Rails 3
Yeah. I gave up because I'm just trying to get things to a working state. I jumped the gun on pulling it in, but here's what I'm up to (I've been meaning to write this out for a while now): I've created a shell engine where I'm just moving code over from the radiant repo to get tests to pass. Adding ancestry was something I hadn't looked at yet and had some failing specs, so I just backed it out to handle later. This exercise has shown me just how tightly coupled our code and tests are but I'm not planning to refactor. I just want to get things working as an engine and move from there. I'd like to be able to remove users and layouts and only have the minimum needed to manage pages from an existing app. So if you already have your own users, Radiant would just require that you hook into it to make the association. Likewise, layouts could be something different entirely and I'm working with some ideas with this code https://github.com/dissolved/radiant-file-system-resources-extension Things have been slow and I was trying to think of the best way to open the code up to the community. We can fork my repo to the radiant organization and manage things there. I started with new code just so I could have a clean slate. Advice and contributions are welcome, but what do you think we ought to do with this project on github? Should I make a clean branch having no history in radiant/radiant? Or should I fork it and create radiant/radiant-refactor? On Mon, Apr 30, 2012 at 7:12 PM, Benny Degezelle be...@gorilla-webdesign.be wrote: hey Jim, Nice to hear that! I found radiant-refactor in your githubz, and notice that you gave up on has_ancestry pretty early, may I ask why? I think I can spend some time on radiant in the coming weeks, any pointers? Regards, Benny Op woensdag 18 april 2012 21:41:34 UTC+2 schreef Jim Gay het volgende: Hey everybody, Radiant development has been quiet, but it's still under development. I'm currently on a project using Radiant and planned to do a lot of development to move it forward. Unfortunately the project I've inherited had a lot of serious problems that need some major surgery. This has kept me from pushing code for Radiant. I've been doing some work to get to a place where we can move to Rails 3 faster. Tonight I'll be hacking with others at Arlington Ruby (http://arlingtonruby.org) and will be working with people interested. I've shared ideas about CMS with Patrick Peak of BrowserCMS and he'll be there helping me move things along. My current plan is to make a new clean project and pull things into the engine to eventually feedback to Radiant proper. I'll update the mailing list with details soon. -Jim -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Re: Rails 3
I forgot to mention this: I'm doing what I can to drop dataset. It's a test dependency that seemingly noone else uses and I have no desire to maintain it myself. On Mon, Apr 30, 2012 at 9:46 PM, Jim Gay j...@saturnflyer.com wrote: Yeah. I gave up because I'm just trying to get things to a working state. I jumped the gun on pulling it in, but here's what I'm up to (I've been meaning to write this out for a while now): I've created a shell engine where I'm just moving code over from the radiant repo to get tests to pass. Adding ancestry was something I hadn't looked at yet and had some failing specs, so I just backed it out to handle later. This exercise has shown me just how tightly coupled our code and tests are but I'm not planning to refactor. I just want to get things working as an engine and move from there. I'd like to be able to remove users and layouts and only have the minimum needed to manage pages from an existing app. So if you already have your own users, Radiant would just require that you hook into it to make the association. Likewise, layouts could be something different entirely and I'm working with some ideas with this code https://github.com/dissolved/radiant-file-system-resources-extension Things have been slow and I was trying to think of the best way to open the code up to the community. We can fork my repo to the radiant organization and manage things there. I started with new code just so I could have a clean slate. Advice and contributions are welcome, but what do you think we ought to do with this project on github? Should I make a clean branch having no history in radiant/radiant? Or should I fork it and create radiant/radiant-refactor? On Mon, Apr 30, 2012 at 7:12 PM, Benny Degezelle be...@gorilla-webdesign.be wrote: hey Jim, Nice to hear that! I found radiant-refactor in your githubz, and notice that you gave up on has_ancestry pretty early, may I ask why? I think I can spend some time on radiant in the coming weeks, any pointers? Regards, Benny Op woensdag 18 april 2012 21:41:34 UTC+2 schreef Jim Gay het volgende: Hey everybody, Radiant development has been quiet, but it's still under development. I'm currently on a project using Radiant and planned to do a lot of development to move it forward. Unfortunately the project I've inherited had a lot of serious problems that need some major surgery. This has kept me from pushing code for Radiant. I've been doing some work to get to a place where we can move to Rails 3 faster. Tonight I'll be hacking with others at Arlington Ruby (http://arlingtonruby.org) and will be working with people interested. I've shared ideas about CMS with Patrick Peak of BrowserCMS and he'll be there helping me move things along. My current plan is to make a new clean project and pull things into the engine to eventually feedback to Radiant proper. I'll update the mailing list with details soon. -Jim -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] error running integration specs for radiant 1.0.1 app
Thanks Craig. This is helpful feedback. Radiant is in the process of some major changes to the structure. Much of it is code built upon code built upon code and there are plenty of pieces that need a clean sweep. That takes time, of course. Radiant is the oldest Rails CMS and carries a lot of the baggage of that. On Mon, Apr 30, 2012 at 11:00 PM, Craig Ambrose cr...@craigambrose.com wrote: Sorry Jim, I'm working on both Radiant and Refinery projects at the moment, and getting a little confused by the R words. I meant does radiant come with cucumber scenarios, but I think you got that. It's kind of strange testing my Radiant app. When I run rake spec, it runs *everything*. Heaps of specs from Radiant itself, for models, controllers, helpers, etc. It runs specs for all of the extensions. Interestingly, the entire process fails if any of the radiant specs fail, but spec failures in the extension suites don't cause the rake spec process to return failure as a whole. The whole suite takes ages, over five minutes. When I add extensions, they inevitably monkey patch Radiant, and then it's really hard to keep the specs passing. Extensions that do things like reorder pages inevitably cause radiant specs to fail (since it expects a different order). This is to be expected I imagine. It's sort of odd to run the tests for Radiant and all the extensions on one big app. How can they all be expected to pass? Since I'm now to the Radiant app I'm working with, I've carefully kept them all passing, and it took days. I've now got all the extensions I need installed, and a couple of the extensions have failing specs but Radiant doesn't, and so the process as a whole passes. More sensible would be if only my application itself ran specs using the app code. Radiant specs should run without my app, or extensions loaded. Extension specs should run with radiant loaded, but not anything else. I shouldn't typically run Radiant or extension specs when I'm developing my app, only if I'm working on radiant itself, or an extension. I should be able to test extensions from within their own repositories without having to put them into an app. Refinery (and I do mean refinery this time) does this by using the rather crude approach of putting a dummy rails app into the spec directory of Refinery itself. So, it doesn't copy that into the gem, but it is used for running the specs. I'm a bit less sure how extension specs work. It seems to me like poor testing processes are a struggle for Radiant. It's a more feature rich CMS than Radiant, with more useful extensions available. However, the extensions typically get orphaned, or change without a proper upgrade path. My experience of upgrading a refinery 0.8 app, with custom extensions, to a 1.0.1 app has led me through a huge number of github forks of extensions, and shown some pretty hideous code in some of the extensions. I've seen work by two separate consultancies doing Radiant work professionally and yet not writing tests, perhaps because it seems too hard. Anyway, pretty easy to pick on things from the outside. Obviously a huge amount of work has gone into things, and I don't want to be too critical. I hope the above thoughts are of some constructive use to folks. -- Craig Ambrose On Tuesday, 1 May 2012 at 1:10 PM, Jim Gay wrote: On Mon, Apr 30, 2012 at 8:28 PM, Craig Ambrose cr...@craigambrose.com wrote: Hi Jim, At some point in my experimentation, the error changed to something like a failure to find the feature directory. I was attempting to proceed in very slow and measured steps, but I missed noticing exactly how and when that error change occurred. To fix that later error, I added an empty cucumber directory structure to my base app. Now, when it tries to run the integration tests (by which it seems to mean cucumber scenarios) it finds zero cucumber features and so passes. That means that my rake spec is passing again, so it seems good. Is that what I should be expecting? Does refinery come with any cucumber scenarios of it's own, or is it fine to be passing with zero specs? Ha ha. I don't know if refinery does, but Radiant has cucumber features ;-P I don't recall if the task runs the Radiant specs along with your own, but I'll try to dig into this sometime this week if I can. -Jim regards, Craig -- Craig Ambrose On Tuesday, 1 May 2012 at 8:33 AM, Jim Gay wrote: Can you paste the full stack trace somewhere? On Thu, Apr 19, 2012 at 9:36 PM, Craig Ambrose craigambr...@gmail.com wrote: Hi everyone, I have an app I have upgraded from 0.8.6 to 1.0.1, and all the specs are working fine, except for the integration specs. Running them generates the following error immediately: no such file to load -- file_not_found_page (MissingSourceFile) /Users/craig/.rvm/gems/ruby-1.8.7-p334@nzffa/gems/activesupport-2.3.14/ lib/active_support/dependencies.rb:184:in `require' /Users/craig/.rvm/gems/ruby
Re: [Radiant] search for extension by radiant version
It's manual, but there is a search at http://ext.radiantcms.org/ On Thu, Apr 26, 2012 at 1:06 AM, ferriswheel ferriswh...@jetechserv.com wrote: hello, is there a way to find the extensions grouped by radiant version number? regards john -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Re: radiantcms.org/demo credentials are wrong
It's possible somebody changed the password after logging in, and later it was reset (as all content there is) On Tue, Apr 24, 2012 at 6:57 AM, Mark L. marklockl...@gmail.com wrote: ...I just tried it, and I used admin/radiant. On Mar 30, 4:49 pm, tessi phil...@tessenow.org wrote: Hello, I just went for a quick demo of radiant and found the demo page (http://radiantcms.org/demo/). It is claimed, that the credentials for the admin account are admin/ radiant. But it is admin/admin. This might (at least) confuse new users willing to try out radiant. So either the password or the page should be corrected. Best, Philipp -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Re: Deployment recommendations?
I definitely want to support Heroku easily. Any bug reports or code you can provide would be really helpful. On Thu, Apr 19, 2012 at 1:49 AM, Bruce Davison bruce.au@gmail.com wrote: I Deploy to Bamboo for Radiant. I only use Cedar for Rails 3. Also Heroku doesn't use Sqlite3 it uses Postgresql. If you are using taps to push your db it creates a Postgresql database Hope that helps -- Bruce Davison Sent with Sparrow On Thursday, 19 April 2012 at 11:52 AM, John Moroney wrote: It was that I deployed to the cedar stack, mostly. On cedar, it would not resolve sqlite3, saying it was either missing or needed a sqlite3.h. I also had to change the gemfile.lock from radiant (1.0.1) to radiant (1.0.0) for the app to fire. I'm still showing some unresolved dependencies which I'm trying to run down, and now my admin/content is css-less. And only on Heroku. Locally? Brilliant as ever. For the record, thanks for Radiant. I've been using it since 2006-2007. John Moroney On Apr 17, 2012, at 9:01 PM, john wrote: what exactly is the problem with heroku? On Tuesday, April 17, 2012 8:52:03 PM UTC-5, John Moroney wrote: I usually deploy to Heroku, but can someone suggest a more Radiant-friendly server? It's the deployment which seems to be the bottleneck, even after the experience of many installs. Heroku has many advantages, one of which is being free for micro-scale sites and blogs. Are there low-priced, Rails-friendly servers that are still in the Ruby/Rails community? -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
[Radiant] Rails 3
Hey everybody, Radiant development has been quiet, but it's still under development. I'm currently on a project using Radiant and planned to do a lot of development to move it forward. Unfortunately the project I've inherited had a lot of serious problems that need some major surgery. This has kept me from pushing code for Radiant. I've been doing some work to get to a place where we can move to Rails 3 faster. Tonight I'll be hacking with others at Arlington Ruby (http://arlingtonruby.org) and will be working with people interested. I've shared ideas about CMS with Patrick Peak of BrowserCMS and he'll be there helping me move things along. My current plan is to make a new clean project and pull things into the engine to eventually feedback to Radiant proper. I'll update the mailing list with details soon. -Jim -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Scheduler extension
On Thu, Mar 29, 2012 at 8:08 AM, Marshal Linfoot mlinf...@gmail.com wrote: Greetings. I've started testing the extensions I use in production with a fresh install of radiant 1.0.1. The scheduler extension from Sean Cribbs is one I've used for years and with a minor change, it works. However, it's vendored and as an exercise I created a gem version on my laptop. Tested it with bundler and it works! Can someone tell me the correct way to make this kind of change and give it back to the community? Should I fork a copy from github? And then what? PS. I'm not a developer, just a tinkerer, so please excuse if the questions above are dumb. If you just want to have a page *appear* on a certain date, then you'll just need to set the published date to that. This is now built-in to radiant. If you want the page to *disappear* on a certain date, then you'll need the scheduler extension. What feature do you need? Also, never be afraid to ask questions. Try something out, post your detailed problem here and I'm certain you'll get help. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Re: Create Permalink Dynamically
I think you mean r:path / A r:link would include the a href=... -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571 403 0338 On Mar 12, 2012, at 9:57 PM, john johnm...@gmail.com wrote: what about http://example.comr:link/? r:link/ should return something like /path/to/page/ or /2012/03/12/slug/ if you're using the archive extension. On Monday, March 12, 2012 8:32:28 PM UTC-5, Bentley78 wrote: I'm trying to add facebook comments to my site and when I get teh code Im presented with the following: `div id=fb-root/div script(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = //connect.facebook.net/en_US/all.js#xfbml=1; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));/script` `div class=fb-comments data-href=http://example.com; data-num-posts=2 data- width=470/div` What I'd like to do is where the data-href resides I'd like to create a permalink to my page/pot dynamically. is there a radiant tag or something similar to do this? I can't seem to find one.
Re: [Radiant] Re: Create Permalink Dynamically
Use r:path / The output of r:url / will include the domain in the future when we support multiple sites On Tue, Mar 13, 2012 at 10:46 AM, Bentley78 dain.bent...@gmail.com wrote: Actually r:y=url works. So data-href=http://www.example.comr:url / seems to work great. I trolled through the mailing lists and found it. On Mar 13, 10:13 am, john johnm...@gmail.com wrote: thanks jim. i was thinking of r:path/. On Tuesday, March 13, 2012 5:50:07 AM UTC-5, Jim Gay wrote: I think you mean r:path / A r:link would include the a href=... -- Write intention revealing code #=http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571 403 0338 On Mar 12, 2012, at 9:57 PM, john johnm...@gmail.com wrote: what abouthttp://example.comr:link/? r:link/ should return something like /path/to/page/ or /2012/03/12/slug/ if you're using the archive extension. On Monday, March 12, 2012 8:32:28 PM UTC-5, Bentley78 wrote: I'm trying to add facebook comments to my site and when I get teh code Im presented with the following: `div id=fb-root/div script(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = //connect.facebook.net/en_US/all.js#xfbml=1; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));/script` `div class=fb-comments data-href=http://example.com; data-num-posts=2 data- width=470/div` What I'd like to do is where the data-href resides I'd like to create a permalink to my page/pot dynamically. is there a radiant tag or something similar to do this? I can't seem to find one. -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Connection Error using Radiant Clipped Extension 1.0.17 in Radiant 1.0 to upload assets to Amazon S3
/lib/paperclip.rb:390:in `each_attachment' ... -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] problem with gallery instalation
if you can FTP you can get the files up to the server. The problem you'll run into is migrating the database. Without a shell, you can't run rake commands. It would be painful, but if you have access to the database via phpmysqladmin or something like that you could manually make the tables/fields that the extension expects in it's migration files. I don't have much experience with the gallery extension. Hopefully someone else can jump in here. On Wed, Mar 7, 2012 at 2:04 AM, Piotr Grzechowiak pi...@gniezno.net.pl wrote: Hi guys! I have one question - maybe you are able to help me? We have a server without shell and we can't install a gallery extension to the Radiant CMS (any version of it). Is there ANY method (with unpacking, locating some files in specific catalogues, updating some configuration files manualy) to install it without shell? -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
[Radiant] [ANN] Radiant CMS 1.0
I'm proud to be able to release 1.0: http://radiantcms.org/download/ Many good things have gone into this long-awaited release. The 1.0 series will be the last on Rails 2. Only minor fixes will go into any further 1.x releases and our effort will be focused on Rails 3 and further modularization of Radiant. WHAT IS RADIANT CMS? Radiant is a no-fluff content management system made for designers and programmers and is ideal for use on small teams. It is similar to Movable Type or Textpattern, but is much more than a blogging engine. Radiant features: * An elegant user interface * The ability to arrange pages in a hierarchy * Flexible templating with layouts, snippets, page parts, and a custom tagging language (Radius: http://radius.rubyforge.org) * A dynamic extension system * A simple user management/permissions system * Support for Markdown and Textile as well as traditional HTML (it's easy to create other filters) * Operates in two modes: dev and production depending on the URL * A caching system which expires pages every 5 minutes * Built using Ruby on Rails (which means that extending Radiant is as easy as any other Rails application) * Licensed under the MIT-License * And much more... There's even a live demo over on the project Web site: http://radiantcms.org/demo/ WHAT'S NEW IN THIS RELEASE? Radiant now runs on Ruby 1.9! We now support Bundler and have a default way to manage attachments, stylesheets (with support for Sass/SCSS), JS (with support for CoffeeScript), built-in page preview, and many more features. INSTALLATION https://gist.github.com/1540782 CONTRIBUTORS Radiant wouldn't be possible without the help of some fine people. The following people have made contributions to this release: Jason TaylorJohannes Fahrenkrug William RossMark Reginald James John MuhlSamuel Whited Benny Degezelle Josh French Jim Gay Oriol Gual Wes GambleMichal Cichra Michael StalkerAndrew vonderLuft Chris ParrishDirk Kelly Jeff Casimir vanderhoorn John LongMario Visic Gert Goet https://github.com/radiant/radiant/contributors SUPPORT The best place to get support is definitely on the Radiant mailing list. There's a crowd of people there who have been hanging around for many moons now. Newbie questions are welcome! To sign up, go to: http://radiantcms.org/mailing-list/ The Radiant mailing list is also accessible via Ruby forum: http://www.ruby-forum.com/forum/21 Enjoy! -- Jim Gay for the Radiant CMS Dev Team http://radiantcms.org
Re: [Radiant] [ANN] Radiant CMS 1.0
1.0 was always going to be the last release for Rails 2 There was a lot of development done for Rails 3, but the upgrade process for Radiant has been painful for a long time. Despite protests from others, I insisted that we stick to Rails 2 because there were bugs, missing features, and plenty of painful history of upgrading. I didn't want to cause problems for developers with existing installations by jumping to Rails 3 and changing the architecture. There's a lot more that we can do by making serious changes an a major number release. I've already started work for 1.1 to see if we can remove dependencies from the gemspec and put them into the Gemfile so that you can more easily opt out of certain features. After that, we'll resurrect the rails3 branch and start clean. I'll likely begin pushing Rails 3 changes into the master branch tomorrow. On Tue, Feb 28, 2012 at 9:24 PM, a...@akhlah.com wrote: I thought it would be on Rails 3. Were there problems? Al Thank you so much for all your hard work. This is excellent news, and I can't wait to see what happens next. Walter On Feb 28, 2012, at 10:46 AM, Jim Gay wrote: I'm proud to be able to release 1.0: http://radiantcms.org/download/ Many good things have gone into this long-awaited release. The 1.0 series will be the last on Rails 2. Only minor fixes will go into any further 1.x releases and our effort will be focused on Rails 3 and further modularization of Radiant. WHAT IS RADIANT CMS? Radiant is a no-fluff content management system made for designers and programmers and is ideal for use on small teams. It is similar to Movable Type or Textpattern, but is much more than a blogging engine. Radiant features: * An elegant user interface * The ability to arrange pages in a hierarchy * Flexible templating with layouts, snippets, page parts, and a custom tagging language (Radius: http://radius.rubyforge.org) * A dynamic extension system * A simple user management/permissions system * Support for Markdown and Textile as well as traditional HTML (it's easy to create other filters) * Operates in two modes: dev and production depending on the URL * A caching system which expires pages every 5 minutes * Built using Ruby on Rails (which means that extending Radiant is as easy as any other Rails application) * Licensed under the MIT-License * And much more... There's even a live demo over on the project Web site: http://radiantcms.org/demo/ WHAT'S NEW IN THIS RELEASE? Radiant now runs on Ruby 1.9! We now support Bundler and have a default way to manage attachments, stylesheets (with support for Sass/SCSS), JS (with support for CoffeeScript), built-in page preview, and many more features. INSTALLATION https://gist.github.com/1540782 CONTRIBUTORS Radiant wouldn't be possible without the help of some fine people. The following people have made contributions to this release: Jason Taylor Johannes Fahrenkrug William Ross Mark Reginald James John Muhl Samuel Whited Benny Degezelle Josh French Jim Gay Oriol Gual Wes Gamble Michal Cichra Michael Stalker Andrew vonderLuft Chris Parrish Dirk Kelly Jeff Casimir vanderhoorn John Long Mario Visic Gert Goet https://github.com/radiant/radiant/contributors SUPPORT The best place to get support is definitely on the Radiant mailing list. There's a crowd of people there who have been hanging around for many moons now. Newbie questions are welcome! To sign up, go to: http://radiantcms.org/mailing-list/ The Radiant mailing list is also accessible via Ruby forum: http://www.ruby-forum.com/forum/21 Enjoy! -- Jim Gay for the Radiant CMS Dev Team http://radiantcms.org -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Images in Admin UI
I'm seeing this problem on one app and not another. It could be a problem with the config settings since both of my apps have the same code. I'll see what I can find out. On Sun, Feb 26, 2012 at 7:47 PM, Chris Perkins chrisperkin...@gmail.com wrote: When I upload an image to the demo site (http://demo.radiantcms.org), I see the image (or part of it, at least) in the admin assets tab. In my own installation (using 1.0.0rc5), I just see a generic icon (little mountains with a crescent moon over them). What am I doing wrong? I have tried clicking Regenerate Thumbnails, but that seems to have no effect other than to immediately log me out. thanks, - Chris -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Extending Radiant
On Sun, Feb 19, 2012 at 9:03 AM, Christian Aust christian.a...@software-consultant.net wrote: Hi, I'm trying to extend Radiant 1.0-rc5 from within RAILS_ROOT, that is, I'm trying to add models, a controller, routes and such from my radiant site without the use of a separate extension. In my opinion this should be this most obvious way to add stuff to Radiant (unless it's meant to be reused) I've succeeded getting my model/controller/routes to work, but can't add something to the Radiant UI. I assume that I'd need to use the extension interface for this, so I wrote in lib/trainings_extension.rb: class TrainingsExtension Radiant::Extension version 0.0.1 description Manage trainings url http://www.somewebsite.com; def activate puts *** Activating! tab Content do add_item Trainings, /admin/trainings, :after = Pages end Page.class_eval do # include CustomTags #if any end end end At first, nothing happens starting up the site: No navigation entry, nothing in Settings/Extensions. If I require that file somewhere during initialization, the extension shows up in Settings/Extensions but still no navigation entry. I suspect it hasn't been activated. How could I activate my extension properly, or else: What needs to be done to make it visible to the standard extension loader? Kind regards, Christian I haven't attempted this. This is something that I'd like to support, but you'd probably be better served now by just using an extension. You could probably do what you need in an initializer and just call TrainingsExtension.new.activate (or something like that) but if you haven't yet, take a look at https://github.com/radiant/radiant/blob/master/lib/radiant/initializer.rb -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Backup / convert / export a Radiant site to HTML
I haven't tested this in a while but you could try http://ext.radiantcms.org/extensions/228-snapshot On Thu, Feb 2, 2012 at 2:19 PM, Diogo Chaves goi...@gmail.com wrote: Hi, I have a radiant site that I need to convert to HTML. I remember I did a couple of years ago with an extension (but I can't find it now). The extension browse trough all the pages and save then in html. So after the process I end up with a directory that contains all the pages, the css, js and images. So I take the hole package and send to a server (to serve just the html, no database or rails needed). There's any extension that can do it nowadays? Thanks a lot for your time! -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Upgrading from 0.9.1 to 1.0.0-rc4
On Thu, Jan 12, 2012 at 7:29 PM, Marshal Linfoot mlinf...@gmail.com wrote: I'm having trouble with an upgrade to rc4 and wondering if anyone else has run into similar problems. Starting with a cloned copy of 0.9.1 instance, I've followed the guide from Jim Gay, https://gist.github.com/1540782, and can successfully start up an rc4 version of the site. But none of the former paperclipped assets are accessible and same thing for migrated sns styleshhets and javascripts. There are no error messages during the process, only a few warnings about deprecated items. Thanks for the report! I've been wondering if there are things missed. I'm sorry about your trouble but this helps. Sheets should have rake tasks for you rake radiant:extensions:sheets:import:sns Have you run that? I'll add that to the upgrade instructions. The code for that task is here https://github.com/radiant/radiant-sheets-extension/blob/master/lib/tasks/sheets_extension_tasks.rake#L56 The only thing that is obviously amiss, is although I have r:stylesheet slug=screen as=link / in the head of the raw document, when I look at the source of the generated page I see link rel=stylesheet href=screen type=text/css / instead of the expected link rel=stylesheet href=/css/screen type=text/css / and 404 File not found errors in the server log. If there's anyone willing to help debug this, please let me know what information you need about my setup. Thanks in advance. This is strange. The code for that is here https://github.com/radiant/radiant-sheets-extension/blob/master/lib/stylesheet_tags.rb#L53 This points out some bad code. I used a local variable called path which is the same as a method path on the page. So it's probably using the page's method instead of the local variable. I'm not sure how I never saw this problem. What version of ruby are you running? (don't think that matters, but good to know anyway) The #radiantcms IRC channel has been much more active lately. I and others like John Muhl and Andrew Vonderluft have been in there, so that might be a good place to get help too. PS, Fresh install of rc4 (and coffe roasters, for example) looks great! Can hardly wait for the 1.0.0 release. Kudos to everyone involved! -- marshal That's great! Thanks Marshal! -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Upgrading from 0.9.1 to 1.0.0-rc4
On Thu, Jan 12, 2012 at 9:42 PM, Jim Gay j...@saturnflyer.com wrote: On Thu, Jan 12, 2012 at 7:29 PM, Marshal Linfoot mlinf...@gmail.com wrote: I'm having trouble with an upgrade to rc4 and wondering if anyone else has run into similar problems. Starting with a cloned copy of 0.9.1 instance, I've followed the guide from Jim Gay, https://gist.github.com/1540782, and can successfully start up an rc4 version of the site. But none of the former paperclipped assets are accessible and same thing for migrated sns styleshhets and javascripts. There are no error messages during the process, only a few warnings about deprecated items. I forgot to mention this: There's a new initializer for the clipped extension which should be generated for you. I've actually seen problems where it wasn't respecting the settings for my S3 bucket. I haven't had time to dig into it, but John Muhl has been working on that part of it. We thought we had it fixed, I have't had time to verify that, but perhaps it's not complete yet. Thanks for the report! I've been wondering if there are things missed. I'm sorry about your trouble but this helps. Sheets should have rake tasks for you rake radiant:extensions:sheets:import:sns Have you run that? I'll add that to the upgrade instructions. The code for that task is here https://github.com/radiant/radiant-sheets-extension/blob/master/lib/tasks/sheets_extension_tasks.rake#L56 The only thing that is obviously amiss, is although I have r:stylesheet slug=screen as=link / in the head of the raw document, when I look at the source of the generated page I see link rel=stylesheet href=screen type=text/css / instead of the expected link rel=stylesheet href=/css/screen type=text/css / and 404 File not found errors in the server log. If there's anyone willing to help debug this, please let me know what information you need about my setup. Thanks in advance. This is strange. The code for that is here https://github.com/radiant/radiant-sheets-extension/blob/master/lib/stylesheet_tags.rb#L53 This points out some bad code. I used a local variable called path which is the same as a method path on the page. So it's probably using the page's method instead of the local variable. I'm not sure how I never saw this problem. What version of ruby are you running? (don't think that matters, but good to know anyway) The #radiantcms IRC channel has been much more active lately. I and others like John Muhl and Andrew Vonderluft have been in there, so that might be a good place to get help too. PS, Fresh install of rc4 (and coffe roasters, for example) looks great! Can hardly wait for the 1.0.0 release. Kudos to everyone involved! -- marshal That's great! Thanks Marshal! -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338 -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Upgrading from 0.9.1 to 1.0.0-rc4
On Thu, Jan 12, 2012 at 10:14 PM, Marshal Linfoot mlinf...@gmail.com wrote: Hi Jim and thanks for the quick reply. I did run the rake radiant:extensions:sheets:import:sns (it's in the gist). I also looked at the resulting sqlite database and can see the StyleSheetPage in the 'pages' table and the corresponding content in the 'page-parts' table. Ok. so this must be my method/local variable problem. I'll try to recreate this and fix it tomorrow with a new sheets gem. It should only require that you bundle update Running ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]. Also tried 1.9.3 (via RVM) with the same results. By the way, in case you don't already know, ruby 1.9.2 breaks the script/server code (see: http://stackoverflow.com/questions/3865515/strange-inability-to-require-config-boot-after-upgrading-to-ruby-1-9-2). I've updated our script/server file for this already, but thank you. Hope this helps. -- marshal -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] simple install
This is awesome. Thanks for putting this together. I haven't tried it yet but does is check to see if you have rvm installed already? -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571 403 0338 On Jan 11, 2012, at 12:58 AM, john johnm...@gmail.com wrote: In an effort to make the install/setup process for Radiant 1.0 as easy as possible I've started working on installers for Ubuntu/Debian and Mac users. The installers do not assume you have any part of the Radiant requirements installed so you don't even need a working Ruby to get started (actually on Mac you'll have to manually install Xcode but the installer will let you know what to do). Just run two commands and respond to a few prompts and your Radiant 1.0.0 (currently RC4) will be up and running in no time. Once downloaded you can continue using the script to setup new instances and all the dependency installation stuff will be skipped. If anyone has success or failure I'd like to know about it (either here or in the gist comments) so we can make these things work for as many people as possible. Also if you have the sweet bash/sh scripting chops and want to help improve the scripts that would be fantastic. If there is interest I can setup a proper repository to make forking/merging easier but for now gists seem good enough. ## Mac Tested against 10.7 using Homebrew and MacPorts. Complete script http://git.io/radiant-mac-install curl -OL http://git.io/radiant-mac-install.sh bash radiant-mac-install.sh ## Ubuntu/Debian Tested against Ubuntu 10.04, 11.10 and Debian 6. Complete script http://git.io/radiant-ubuntu-install wget http://git.io/radiant-ubuntu-install.sh bash radiant-ubuntu-install.sh ## What the installer does Running the installer will install RVM and all the platform specific dependencies needed to build rubies. Then it'll install Ruby 1.9.3, setup an isolated RVM environment for each Radiant instance, do the `bundle install` dance, run the bootstrap task and create a project specific `.rvmrc` file so the right environment will be loaded when you `cd` into your project. For Mac users who don't already have a package manager it will additionally install Homebrew. New Radiant instances are created in your home directory but you can move the created projects to wherever you want later.
Re: [Radiant] Problems with the r:find tag
On Wed, Nov 30, 2011 at 2:58 PM, Jason Grimes ja...@gina.alaska.edu wrote: Hi, I'm trying to add a title attribute to the links in a r:navigation tag. I was thinking that using the page description would be perfect to populate the title attribute with. So I came up with this: ul r:navigation urls=feedback: /feedback | links: /links | faq: /faq | data: /data | formats: /formats | home: / r:normallia href=r:url / title=r:find url=r:url/r:meta:description tag=false//r:findr:title //a/li/r:normal r:hereli class=currenta href=r:url / title=r:find url=r:url /r:meta:description tag=false //r:findr:title //a/li/r:here r:selectedlia href=r:url / title=r:find url=r:url/r:meta:description tag=false//r:findr:title //a/li/r:selected r:between /r:between /r:navigation /ul Unfortunately nothing is being returned from the find. Is this a limitation with the find tag? Is there another way of accomplishing this? Thanks, Jason The radius tags are only parsed once, so you can't use a radius tag as an attribute of another. I often build navigation without the navigation tag. For example: https://gist.github.com/295125 You could also leverage the r:aggregate ... tag to do what's done with the navigation urls. Does that help? -Jim -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] What's the Radiant Pattern for this
On Tue, Nov 29, 2011 at 5:06 PM, Dave hunkyb...@gmail.com wrote: Hi, I have created a fairly huge JSON representation of a data structure. That JSON resides in a template's Javascript. My template thus renders fine. Turns out that since this is a CMS, the client will want to edit the data structure. Add new elements, change existing ones etc. What would be the Radiant Pattern that could be used to deal with this? - If the JSON is generated dynamically, is that best done with a plugin of some kind? - To provide for CRUD on this data, of which there are hundreds of objects, what would be the best approach? As an example... I want the client to be able to upload a new logo whenever they want, to their collection of logos. And each logo collected has some other attributes like title, associate, etc.. I guess I am just looking for pointers as to how Radiant can be used to serve up pages, where the pages render JSON, but that JSON is editable using the Administration capabilities of Radiant. Thanks for any tips!! Hey Dave, In the future, I'd like to be able to have pages render differently for different MIME types but for now here's what you could do... You can create a Layout that renders with the required content type and then create a Page that acts as the endpoint which will serve up the JSON. Depending on how you need to lay this out you could put the code for the looping (and any other logic) in your Layout or in your Page (or Snippet, or wherever). What Radiant doesn't currently have is support to escape text for JSON output. I had a project where I needed this and wrote a tag escape_json (or something). I'll see if I can find that code. If you write a tag like this, I think it makes sense to be in the core. So a well-tested tag would easily be accepted. Does all of that make sense or should I elaborate on some part? -Jim -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] setting up Gravitar for a site
I know the guy who put that site together. It uses the comments extension. Specifically https://github.com/saturnflyer/radiant-comments/blob/master/lib/comment_tags.rb#L154 On Mon, Nov 21, 2011 at 2:01 PM, Daniel O'Connell d...@mac.com wrote: How do I show the author of every comment on a page on a site, such as Saturnflyer.com does? Thanks On Nov 20, 2011, at 5:45 PM, john wrote: r:gravatar/ returns a url so img src=r:gravatar/ would show the gravatar for the author of the current page img src=r:gravatar user='bob'/ would show bob's gravatar -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571-403-0338
Re: [Radiant] Some thoughts after spending time away from Radiant
On Nov 13, 2011, at 5:11 PM, Daniel O'Connell d...@mac.com wrote: Hello, Here are some thoughts after spending time away from Radiant: I have been running the 1.0 RC3 gem for a couple of weeks now on a production site. I'm very pleased with the simplicity and stability of the app. Using gems has also been such a pleasure. When I last used Radiant (0.7.1) I had such a problem working with extensions, that I did not feel comfortable in a production environment or passing the project on to others. The inclusion Assets means that for the present project, I only need three extensions; Copy Move, Banner Rotator and Mailer. Radiant is so elegant and simple, yet therein lies the power that unlocks the creative mind. Very ingenious and a pleasure to work in. So many CMSes are so full of bloat and eye candy as to be dizzying to the senses. I find this especially so for extended use. Radiant has taken a more minimalist approach that really shines especially for those 80% of sites and small teams. Word. There is a bug (I just filed #290), where if a default page status is not first chosen, creating a new child page throws an application error. If this happens, simply go into settings and choose a default page type e.g. draft and all is well again. Thanks again to all the developers for all of the hard work that has gone into the redesign of the interface and the effort to move their extension to gems. Sweet. -Dan Thanks for the feedback and the bug report! -- Write intention revealing code #= http://www.clean-ruby.com Jim Gay Saturn Flyer LLC 571 403 0338
Re: [Radiant] Re: Page loads taking about 20 seconds, HIGH database activity
You could start by editing your layouts. If you make use of r:comment (or r:hide in 1.0rc3) you can just remove things from rendering and slowly add them back. That would help you find the radius code that actually does the calls and perhaps the extension it uses to generate the content. -Jim On Thu, Oct 27, 2011 at 12:13 AM, treydock treyd...@gmail.com wrote: After some further analysis of the production log, I found a pattern, and am at least closer to knowing how to find the issue. The problem is I'm very new to Ruby...but I'm trying to find what in my install is calling Page.find such that is produces the pattern below. Basically this loop happens until almost every page is eventually queried. This is the pattern... Page Load (7.8ms) SELECT * FROM pages WHERE (pages.parent_id IS NULL) LIMIT 1 Page Load (1.7ms) SELECT * FROM pages WHERE (pages.slug = 'javascripts') AND (pages.parent_id = 1) ORDER BY virtual DESC, title ASC LIMIT 1 Page Load (0.7ms) SELECT * FROM pages WHERE (pages.parent_id = 1) ORDER BY virtual DESC, title ASC Page Load (0.3ms) SELECT * FROM pages WHERE (pages.id = 1) CACHE (0.0ms) SELECT * FROM pages WHERE (pages.id = 1) CACHE (0.0ms) SELECT * FROM pages WHERE (pages.id = 1) repeats a few more times Page Load (8.4ms) SELECT * FROM pages WHERE (pages.slug = 'javascripts') AND (pages.parent_id = 88) ORDER BY virtual DESC, title ASC LIMIT 1 Page Load (0.4ms) SELECT * FROM pages WHERE (pages.parent_id = 88) ORDER BY virtual DESC, title ASC Page Load (0.2ms) SELECT * FROM pages WHERE (pages.id = 88) CACHE (0.0ms) SELECT * FROM pages WHERE (pages.id = 1) CACHE (0.0ms) SELECT * FROM pages WHERE (pages.id = 88) CACHE (0.0ms) SELECT * FROM pages WHERE (pages.id = 1) CACHE (0.0ms) SELECT * FROM pages WHERE (pages.id = 88) repeats a few more times Page Load (0.4ms) SELECT * FROM pages WHERE (pages.slug = 'javascripts') AND (pages.parent_id = 114) ORDER BY virtual DESC, title ASC LIMIT 1 Page Load (0.3ms) SELECT * FROM pages WHERE (pages.parent_id = 114) ORDER BY virtual DESC, title ASC Page Load (0.3ms) SELECT * FROM pages WHERE (pages.id = 114) CACHE (0.0ms) SELECT * FROM pages WHERE (pages.id = 88) CACHE (0.0ms) SELECT * FROM pages WHERE (pages.id = 1) CACHE (0.0ms) SELECT * FROM pages WHERE (pages.id = 114) CACHE (0.0ms) SELECT * FROM pages WHERE (pages.id = 88) CACHE (0.0ms) SELECT * FROM pages WHERE (pages.id = 1) CACHE (0.0ms) SELECT * FROM pages WHERE (pages.id = 114) repeats a few more times Despite it indicating it's using the cache...it does that pattern through about 1150 pages before finally loading a single page in the browser. Through some helpful advice I have narrowed things down to these possibilities of what may be doing such an exhaustive search of the database. I searched for Page. and then removed all entries not related to find... ./vendor/extensions/aaf_search/lib/acts_as_ferret/page_extensions.rb: 63: Page.find_with_ferret(q, options) ./vendor/extensions/aaf_search/app/models/search_page.rb:163: pages = Page.full_text_search(@query) ./vendor/extensions/copy_move/lib/copy_move/controller.rb:42: @parent = Page.find(params[:parent_id]) ./vendor/extensions/copy_move/lib/copy_move/controller.rb:46: self.model = @page = Page.find(params[:id]) ./vendor/extensions/copy_move/app/helpers/copy_move_helper.rb:3: homes = Page.find_all_by_parent_id nil ./vendor/extensions/paperclipped/app/controllers/admin/ assets_controller.rb:6:@page = Page.find(params[:asset_page]) if params[:asset_page] ./vendor/extensions/paperclipped/app/controllers/admin/ assets_controller.rb:25:@page = Page.find(params[:page]) ./vendor/extensions/paperclipped/app/controllers/admin/ assets_controller.rb:96:@page = Page.find(params[:page]) ./vendor/extensions/paperclipped/app/controllers/admin/ assets_controller.rb:108:@page = Page.find(params[:page]) ./vendor/extensions/paperclipped/app/models/old_page_attachment.rb: 18: page = Page.find(page_id) I have no idea what each of those extension's purpose is, maybe someone more familiar with Radiant would know which I could start looking at. I think right now I will have to do some debugging and inserting breakpoints to figure out exactly what's the problem, but I'd like to narrow that search down as much as possible. Thanks - Trey On Oct 26, 11:53 am, Jim Gay j...@saturnflyer.com wrote: This seems excessive. I took a quick look into radiant-fabulator-extension an it's not simple. Is there anything in there that would cause this for you? -- Jim Gay Saturn Flyer 571 403 0338 saturnflyer.com On Oct 26, 2011, at 12:09 PM, treydock treyd...@gmail.com wrote: radiant-fabulator-extension -- Jim Gay Saturn Flyer LLC http://www.saturnflyer.com 571-403
Re: [Radiant] Page loads taking about 20 seconds, HIGH database activity
This seems excessive. I took a quick look into radiant-fabulator-extension an it's not simple. Is there anything in there that would cause this for you? -- Jim Gay Saturn Flyer 571 403 0338 saturnflyer.com On Oct 26, 2011, at 12:09 PM, treydock treyd...@gmail.com wrote: radiant-fabulator-extension
Re: [Radiant] Re: Dependency Error
You're using bundler, so you'll need to run it with bundle exec bundle exec rake db:migrate Does that work for you? On Tue, Oct 18, 2011 at 10:06 PM, Avery Laird laird.av...@gmail.com wrote: I ran rake db:migrate and got the following error: rake aborted! You have already activated rake 0.9.2, but your Gemfile requires rake 0.8.7. Using bundle exec may solve this. (See full trace by running task with --trace) I ran bundle exec and got this error: /var/lib/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec': wrong number of arguments (ArgumentError) from /var/lib/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec' from /var/lib/gems/1.8/gems/bundler-1.0.21/lib/bundler/vendor/thor/ task.rb:22:in `send' from /var/lib/gems/1.8/gems/bundler-1.0.21/lib/bundler/vendor/thor/ task.rb:22:in `run' from /var/lib/gems/1.8/gems/bundler-1.0.21/lib/bundler/vendor/thor/ invocation.rb:118:in `invoke_task' from /var/lib/gems/1.8/gems/bundler-1.0.21/lib/bundler/vendor/thor.rb: 263:in `dispatch' from /var/lib/gems/1.8/gems/bundler-1.0.21/lib/bundler/vendor/thor/ base.rb:386:in `start' from /var/lib/gems/1.8/gems/bundler-1.0.21/bin/bundle:13 from /var/lib/gems/1.8/bin/bundle:19:in `load' from /var/lib/gems/1.8/bin/bundle:19 I'm really new to Radiant and have the feeling I'm missing something really obvious and simple, any advice/help to solve this would be great On Oct 15, 2:58 am, Jordon Bedwell jor...@envygeeks.com wrote: On 10/14/2011 07:20 PM, Avery Laird wrote: Hola I've been trying for several days to fix a certain problem I keep running into, which is whenever I run script/server I get this error message: I don't quite remember but I think you need to migrate after. I've install the gems require and radius, on top of various other repair attempts including bundle install Thanks a lot for any help or advice, I'd really appreciate it -- Jim Gay Saturn Flyer LLC http://www.saturnflyer.com 571-403-0338
Re: [Radiant] Re: Radiant 1.0.0rc3 rake production db:bootstrap
On Tue, Oct 18, 2011 at 4:43 PM, Nicholas Henry nicholas.he...@gmail.comwrote: That works, thank you. Not sure if this is a common occurrence or not. I can't imagine it was an issue with my environment, I created a brand new rvm gemset and installed the Radiant gem. Might be a bit of a turnoff for new comers to Radiant. I'd love to kill that, but I believe it's an artifact of using Bundler. -- Jim Gay Saturn Flyer LLC http://www.saturnflyer.com 571-403-0338
Re: [Radiant] Extend ApplicationHelper
On Sun, Oct 9, 2011 at 9:09 AM, Shanison lxsh...@gmail.com wrote: Hi all, I have some methods that needs to be used by all helpers in the extensions. So I need to add some methods to ApplicationHelper. I can't just create the application_helper.rb in my extensions, it will just overwrite the application_helper in radiant and only my own methods in the application_helper.rb is visible. I tried to do ApplicationHelper.send(:include, MyExtensions::ApplicationHelperExtensions) when activating the extension. However, those methods in ApplicationHelperExtensions are also not visible to my helpers. I tried to use rails console and do ApplicationHelper.instance_methods.include?('my_method_name') It returns true. I don't understand why my helpers are not able to pick up those methods. Any help is appreciated. Thanks. I don't think you need to extend the ApplicationHelper, you just need to include a new helper into ApplicationController Does this example from the Help extension work for you? https://github.com/saturnflyer/radiant-help-extension/blob/master/help_extension.rb#L53 -- OOP, DCI, and Ruby http://www.saturnflyer.com/blog/jim/2011/10/04/oop-dci-and-ruby-what-your-system-is-vs-what-your-system-does/ Jim Gay Saturn Flyer LLC http://www.saturnflyer.com 571-403-0338
Re: [Radiant] Extend ApplicationHelper
On Tue, Oct 11, 2011 at 11:40 AM, Shanison lxsh...@gmail.com wrote: Thanks for the reply. However if i create new helper module, it won't behave as application_helper. So there is not method inheritance. Then for other modules that i need to use some codes inside this helper, i need to include the new module? Modules do not have inheritance. Let's change the conversation then. What exactly do you want to do? -JIm -- OOP, DCI, and Ruby http://www.saturnflyer.com/blog/jim/2011/10/04/oop-dci-and-ruby-what-your-system-is-vs-what-your-system-does/ Jim Gay Saturn Flyer LLC http://www.saturnflyer.com 571-403-0338
Re: [Radiant] Vapor extension clarification
On Mon, Oct 3, 2011 at 10:08 PM, JT webmas...@webproductionsinc.com wrote: Hi all, Two questions related to the Vapor extension... 1 - If I manually add an entry to the flow_meters table in my MySQL database, how come that redirect does not take effect on my site? Even restarting radiant doesn't seem to get the redirect to take effect. It should. Is the format correct? Have you verified that your regular expressions are correct? If you are using regular expressions, Vapor will gather them all, sort them, reverse them, and then loop through the collection. The collection is sorted and reversed so that it will attempt to match the more specific regular expressions first. 2 - Is there a maximum number of redirects I can have? I have a radiant installation that's got a lot of redirects set up (240 at the moment), and most of the latest entries are not redirecting. The database design and the UI seem to imply I can have an unlimited number of redirects set up. There is no explicit maximum. Thanks, JT Please let me know if you find a bug. -- Jim Gay Saturn Flyer LLC http://www.saturnflyer.com 571-403-0338
Re: [Radiant] Rake Task
On Oct 4, 2011, at 6:54 AM, Hadi S. poph...@gmail.com wrote: Hi, I need to create some pages in a rake task. For what attributes i have to watch out? I already implemented the rake task but can't save pages inside it, because the page is invalid. I think because the slug and breadcrumb attributes are not set. Where does the slug and breadcrumb default attributes get set in the radiant source code? Start by writing a test for some object that will do this. Make a PageCreator or something and write the methods in there. Then, in your rake task, call the methods on that well tested object. If you want to just handle it in your task (you shouldn't, because it's harder to verify that your code is correct) then at least check to see if the pages you create are valid? and then handle any errors. But there are no default slug or breadcrumb settings. In the admin UI there is JS that will watch what you type for the title and automatically set those fields for you. Open the new page form in the web UI and click the more link to see those fields. Then begin typing a title and you'll see slug and breadcrumb automatically filled in. You don't have this JS in your rake task. Another option is to just reopen the Page class in your code and add defaults like this: Page.class_eval do before_save :set_my_defaults def set_my_defaults # your code end end But if you don't write tests, you might make incorrect assumptions about your program. For example, you might assume that you can save without setting a slug or breadcrumb ;-) Does this help? -Jim
Re: [Radiant] Radiant CMS on Windows under IIS
Awesome, vyaces! Thanks On Mon, Sep 26, 2011 at 10:13 AM, vyaces shinkarenko...@gmail.com wrote: Hello! I’d like to announce out-of-the-box solution of running Radiant CMS on Windows under IIS 7, IIS 7.5: http://www.helicontech.com/zoo/gallery/#RadiantCMS Any recommendations are highly welcome. Thank you. -- Jim Gay Saturn Flyer LLC http://www.saturnflyer.com 571-403-0338
Re: [Radiant] Re: Radiant Edge Install issues
On Thu, Sep 15, 2011 at 10:27 AM, William Ross w...@spanner.org wrote: On 15 Sep 2011, at 15:21, Dave wrote: Hi Will, Anything come of this? Any suggestions? Yes. I've had a busy morning, but I'm very glad you made me think it through: first because it turned out to be quite a serious problem and then because I realised that it could all be much, much simpler. I've pushed some updates this morning: if you update your local repository and build the gem, you should find that it all just works. (I know, I said that last time. but it should). I think RC3 will be out when the others have had a chance to review. best, will Thanks for all your work, Will! I'm going to review today and hopefully get RC3 out. -- Jim Gay Saturn Flyer LLC http://www.saturnflyer.com 571-403-0338
Re: [Radiant] Re: Radiant Edge Install issues
I've just pushed out the RC3. Please try it out! Official announcement coming soon, and I'm sorry Will, but we neglected to update the changelog in this release with your work the recent move to bundler. On Thu, Sep 15, 2011 at 10:29 AM, Jim Gay j...@saturnflyer.com wrote: On Thu, Sep 15, 2011 at 10:27 AM, William Ross w...@spanner.org wrote: On 15 Sep 2011, at 15:21, Dave wrote: Hi Will, Anything come of this? Any suggestions? Yes. I've had a busy morning, but I'm very glad you made me think it through: first because it turned out to be quite a serious problem and then because I realised that it could all be much, much simpler. I've pushed some updates this morning: if you update your local repository and build the gem, you should find that it all just works. (I know, I said that last time. but it should). I think RC3 will be out when the others have had a chance to review. best, will Thanks for all your work, Will! I'm going to review today and hopefully get RC3 out. -- Jim Gay Saturn Flyer LLC http://www.saturnflyer.com 571-403-0338 -- Jim Gay Saturn Flyer LLC http://www.saturnflyer.com 571-403-0338
Re: [Radiant] Search Extension not installing at all
I haven't looked at this extension in a while, but the deprecation warnings shouldn't affect it. Have you tried using it? The reason I ask is because the error you mention Don't know how to build task 'radiant:extensions:search:update' means that there is no rake task of that name. Meaning, you ran a command that doesn't exist. I don't believe there are any migrations for it either. Just jump in and try using it! On Thu, Sep 8, 2011 at 12:22 PM, Dave hunkyb...@gmail.com wrote: Hi, I have a working version of Radiant 1.0.0.rc2 on my system. I am running it under REE-1.8.7 and it works on my localhost and Heroku. I need to provide search. I looked up the Search Extension in the Extensions and went through the rigamarole of getting the code for it. Eventually I was able to untar and decompress the code into /vendor/ extensions. I renamed the directory created as search. I went to run rake:extensions:search:migrate After blasting off 10 pages of deprecations about all the stuff that will soon not be working in the gem... migrations did nothing? Hmmm... OK.. whatever... I then ran rake:extensions:search:update and was met with another 10 pages of deprecation notices... and the kicker... rake aborted! Don't know how to build task 'radiant:extensions:search:update' Phew... this is encouraging. Could someone kindly point out the best way to install this extension. It is very important that the Radiant site be able to provide a search for content. Any tips most appreciated!! Thanks -- Jim Gay Saturn Flyer LLC http://www.saturnflyer.com 571-403-0338
Re: [Radiant] Re: Radiant Edge on Heroku
Dave, You can definitely run radiant on Heroku. We're actively in the process of trying to get 1.0 out and the issue with the Gemfile.lock has come up and we're addressing it. I've not looked at the wiki about that in a while, but we'll update the information when its available. You should be able to run on 0.9.1 Take a look at Jeff Casimir's tips about it https://groups.google.com/group/radiantcms-dev/msg/d47949c17daf9a83?pli=1 This will get easier, I promise, but please leave feedback about the details above. On Thu, Sep 1, 2011 at 1:28 PM, Dave hunkyb...@gmail.com wrote: Adding to my last post... I decided to try the instructions on using edge. So I ran the rake freeze and got to the point where I wanted to run the site. It complained about not having all the gems, so I ran bundle install. That complained about not having radiant 1.0.0.rc3. Nice... I do not see that as being realistic, so I edited the Gemfile down to rc2, and the bundle installed. Should it all go now? === Radiant could not be initialized. Please verify that vendor/ radiant contains a complete copy of the Radiant sources. What is that? This simple Rails CMS is reinforcing why I stay away from Rails anything and just write code for Sinatra... Any tips on this??? Should I just tell the client that Radiant is very unstable and probably best to hold off on using this till a small gang comes along and cleans it up? Is that happening? I don't monitor this project much and so I have no idea if it a good time to jump in... I see some milestones for Rails 3, and Ruby 1.9.2 but none of that seems even close to testing with the general use people... like me... On Sep 1, 12:56 pm, Dave hunkyb...@gmail.com wrote: Hi, I am trying to run on Heroku. I usually stick to Sinatra projects where I write all the code, and am using Ruby 1.9.2 and latest gems for everything. I have a client that needs Radiant CMS for a project. I see Radiant is still Rails 2.x and Ruby 1.8.7 amongst other things. I have tried out the instructions on the wiki to run Radiant on Heroku, but the wiki leads to a dead end. I am using REE for the 1.8.7. following the instructions leads to all sorts of errors due to the use of old gems, deprecated methods etc. Is there a reliable document somewhere, where a trusty install of this codebase can be made to heroku... The existing wiki article steps that result in a mess are: git clone git://github.com/radiant/radiant.git vendor/radiant cd vendor/radiant git submodule init git submodule update rm -rf `find . -name .git` rm .gitmodules The submodules do not seem to initialize to anything useful. There are no .gitmodules to remove. And further, trying to run rake gems:install bombs out on a faulty Radiant install and deprecation notices about rdoc...and rack/cache. Quite a mess... Is there a nice bundler compatible Gemfile around that would allow a nice Heroku PostgreSQL Radiant CMS to be deployed with HAML templates??? Just curious... seems like a nice system... -- Jim Gay Saturn Flyer LLC http://www.saturnflyer.com 571-403-0338
Re: [Radiant] Having issues getting RadiantCMS to run for the first time
Thanks. I did see that, but nothing here makes me think your version of rubygems should be 1.5.3. Why did you choose that version? On Mon, Aug 8, 2011 at 11:07 AM, Chance Dinkins chance...@gmail.com wrote: Hey Jim, I did, but for brevity's sake here is the error I was receiving with a fresh gemset: /Users/chance/.rvm/gems/ruby-1.8.7-p352@radiant/gems/radiant-0.9.1/ vendor/rails/activesupport/lib/active_support/dependencies.rb:55: uninitialized constant ActiveSupport::Dependencies::Mutex (NameError) from /Users/chance/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/ rubygems/custom_require.rb:36:in `gem_original_require' from /Users/chance/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/ rubygems/custom_require.rb:36:in `require' from /Users/chance/.rvm/gems/ruby-1.8.7-p352@radiant/gems/ radiant-0.9.1/vendor/rails/activesupport/lib/active_support.rb:57 from /Users/chance/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/ rubygems/custom_require.rb:36:in `gem_original_require' from /Users/chance/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/ rubygems/custom_require.rb:36:in `require' from /Users/chance/.rvm/gems/ruby-1.8.7-p352@radiant/gems/ radiant-0.9.1/vendor/rails/railties/lib/rails_generator.rb:31 from /Users/chance/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/ rubygems/custom_require.rb:36:in `gem_original_require' from /Users/chance/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/ rubygems/custom_require.rb:36:in `require' from /Users/chance/.rvm/gems/ruby-1.8.7-p352@radiant/gems/ radiant-0.9.1/bin/radiant:18 from /Users/chance/.rvm/gems/ruby-1.8.7-p352@radiant/bin/radiant: 19:in `load' from /Users/chance/.rvm/gems/ruby-1.8.7-p352@radiant/bin/radiant:19 *** LOCAL GEMS *** actionmailer (2.3.11) actionpack (2.3.11) activerecord (2.3.11) activeresource (2.3.11) activesupport (2.3.11) rack (1.1.2) radiant (0.9.1) rails (2.3.11) rake (0.8.7) RedCloth (4.2.7) will_paginate (2.3.15) On Mon, Aug 8, 2011 at 10:57 AM, Jim Gay j...@saturnflyer.com wrote: Thanks for bringing this up Chance. It's not clear to me which error this rubygems downgrade solves. I've seen lots of problems with newer versions of rubygems and haven't been back to experiment. I'm currently on 1.6.2 but we should track down the actual errors to see what we can solve. Did you mention the specific error with rubygems? On Mon, Aug 8, 2011 at 8:55 AM, Chance Dinkins chance...@gmail.com wrote: If anyone runs into this in the future, the issue was the version of gems. Downgrade your gems: gem update --system 1.5.3 On Sun, Aug 7, 2011 at 12:00 PM, Chance Dinkins chance...@gmail.com wrote: Bob, Thanks for taking the time to respond. Yo clarify, I forgot that to change my rvm to 1.9.2 until after I had created the first radiant app. Switching back to 1.8.7 produced the error above. As j was getting errors when trying to create a radiant app from within my 187 gemset, I decided to drop it and start over with a clean gem list. I can't paste the error/gemlist right now cause im on my phine but I replied wit them earlier and will post them again when I get home. Thanks Chance On Aug 7, 2011, at 8:59 AM, Bob Sleys bsl...@gmail.com wrote: Also as an aside you don't need to install rails into the gems you are running radiant from. Radiant includes it's own version of rails and won't use the installed one. Bob -- Jim Gay Saturn Flyer LLC http://www.saturnflyer.com 571-403-0338 -- Jim Gay Saturn Flyer LLC http://www.saturnflyer.com 571-403-0338
Re: [Radiant] Re: Performance worse when moving to Radiant 0.9.1? [DEMO PROJECT]
Wow. Thanks so much for putting this together. On Mon, Jul 11, 2011 at 7:43 AM, Johannes Fahrenkrug jfahrenk...@gmail.com wrote: Hi Jim, I have created both a 0.8.1 and 0.9.1 demo project that showcases the significant performance decline: https://github.com/jfahrenkrug/Radiant-Performance-Decline Rendering 460k of plain text with Radiant 0.8.1 takes 32ms. Rendering the same text with Radiant 0.9.1 takes 9400ms(!!!). I hope this project helps you to find the bottleneck. Thanks and cheers, Johannes On Jul 7, 12:11 pm, Johannes Fahrenkrug jfahrenk...@gmail.com wrote: Hi Jim, thanks for your reply. It's a client project, so I have to see what information I can give out. I have the feeling Radius got slower. I'll report back. - Johannes On Jul 5, 3:27 pm, Jim Gay j...@saturnflyer.com wrote: I've not seen this. Can you post some stats and some code to help figure it out? Perhaps there were changes that only affect performance in a situation like that of your site (however it is setup) and we're finding the edge. On Mon, Jul 4, 2011 at 11:16 AM, Johannes Fahrenkrug jfahrenk...@gmail.com wrote: Hi, we have a big site running on Radiant 0.8.2. Internally we're moving the site to Radiant 0.9.1. That worked nicely, but most pages need about 1 sec (!) longer to render. Most pages have lots of parts and snippets. Are there any known changes from 0.8 to 0.9 that would explain this performance impact? Thanks and cheers, Johannes -- Jim Gay Saturn Flyer LLChttp://www.saturnflyer.com 571-403-0338 -- Jim Gay Saturn Flyer LLC http://www.saturnflyer.com 571-403-0338
Re: [Radiant] Values of the Radiant community (and Ecommerce solution?)
On Mon, Jun 20, 2011 at 10:17 AM, rosslaird r...@rosslaird.com wrote: I am consistently impressed with how helpful and friendly people are to another on this list. It's good to see. And I wonder about the role that geek practices such as the agile methodology play in this kind of friendly behavior. I've been reading more about agile and related practices (I am a writer, not a programmer), and I have been surprised at the emphasis, in those practices, on ethics such as collaboration, authenticity, appropriate conflict resolution, and so on. In Lyssa Adkins' book Coaching Agile Teams, she emphasizes values such as courage, focus, respect, and openness. As someone with a professional background in counselling, I can't help but notice how much overlap there is between agile values and counselling values. It's very heartening to see such deep, resonant, ancient human values at work in contemporary practices such as software development. And the Radiant community, more than any other software development community that I've encountered, embodies those values in the communications on this forum. Thanks for walking your talk. Now, to my question: I'm looking for an ecommerce solution, to integrate with Radiant, that will allow me to sell my books (three of them) and my consulting services on my website (I'm running Radiant 0.9.1). Is something like Shopify a good option, or is there a simpler (or better) solution for someone like me? Thanks in advance. Ross Laird I'm so glad to hear that feedback, Ross. There is https://github.com/dirkkelly/radiant-shop-extension but I've not been able to get it to work, and there are others here http://ext.radiantcms.org/search?q=shop -- Jim Gay Saturn Flyer LLC http://www.saturnflyer.com 571-403-0338