From pdcawley at bofh.org.uk Mon Jan 1 01:34:42 2007 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Mon, 01 Jan 2007 06:34:42 +0000 Subject: [typo] Rake test fails with r1338 In-Reply-To: (Frederic de Villamil's message of "Sun, 31 Dec 2006 09:25:34 +0100") References: Message-ID: Frederic de Villamil writes: > (in /Users/neuro/Desktop/fdv/typo) > Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/ > rake_test_loader > Started > ........................................................................ > ........................................................................ > ...................................... > Finished in 27.227351 seconds. > > 182 tests, 555 assertions, 0 failures, 0 errors > Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/ > rake_test_loader > Started > ........................................................................ > ............E...E....................................................... > ................................................................. > Finished in 66.038739 seconds. Oops. Fixed now. -- Piers Cawley http://www.bofh.org.uk/ From neuro at 7el.net Wed Jan 3 12:01:46 2007 From: neuro at 7el.net (Frederic de Villamil) Date: Wed, 3 Jan 2007 18:01:46 +0100 Subject: [typo] Results of my small end of year poll Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi list, Here are the results of the poll 1- Do you use quick post tool ? No one seems to use it. 2- If not do you think it shall disappear without damage ? Seems to, which is good. I can make my patch now 3- If a visual rich editor was included in Typo, do you think it should be enabled by default in admin (mostly for posts and pages) ? No 4- If a visual rich editor was included in Typo, do you think it should be enabled by default in frontend feedback form ? No 5- What is the airspeed velocity of an unladen swallow ? Some people here have not seen Monthy Python and the Holy Grail. You should, really. I had made a patch for r1331 adding typo support for tinymce with an option in the settings page. It also redesigned the whole content/ new, content/edit, page/new and page/edit pages which have changed a lot lately. The patch was too big (500k with a lightweight zipped adapted version of tinymce) and didn't get through the list. If Scott, Piers, and Kevin are OK to add tinyMCE support to Typo, I'll adapt my page to the last trunk during the week-end and send it. Otherwise, I'll kee working on the admin piece by piece. Cheers, happy new year and don't forget to watch that movie Frederic - -- Fr?d?ric de Villamil "Sadness is just another word for not enough coffee" -- Scott Adams frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://fredericdevillamil.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFm+F7CvkKk5nKviARAjT6AJ9AjHpRYHit6tQ3k4BBn4mvcRE7GgCgkFRi 3j3dTtOL2r06aUmKU/Rq/9Y= =7l4Z -----END PGP SIGNATURE----- From ernieoporto at gmail.com Wed Jan 3 12:16:55 2007 From: ernieoporto at gmail.com (Ernie Oporto) Date: Wed, 3 Jan 2007 12:16:55 -0500 Subject: [typo] overriding Typo's .htaccess Message-ID: I have a .htaccess at the top level of my web server. I have a need to place a redirect in there for the http://www.site.com/blog/xml/rss20/feed.xml link, but this seems to be overridden by the .htaccess in the blog/public directory or possibly some other area in Typo. Does anyone know how I can override that from the top level? Placing my redirect into the blog/public/.htaccess does not seem to help. Note that the "newurl" below is not under the /blog tree. RewriteCond %{REQUEST_URI} ^/blog/xml/rss20/feed.xml RewriteRule ^blog/xml/rss20/feed.xml "newurl" [R=301,NC,L] or if this is braindead easy, slap me hard to wake me up. =) -- Ernie http://www.shokk.com/blog/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070103/ae426750/attachment.html From mikemondragon at gmail.com Wed Jan 3 13:45:56 2007 From: mikemondragon at gmail.com (Mike Mondragon) Date: Wed, 3 Jan 2007 10:45:56 -0800 Subject: [typo] overriding Typo's .htaccess In-Reply-To: References: Message-ID: <967d3b9a0701031045h77d4694djc0363bd4e91b81a1@mail.gmail.com> Its not clear to me context of the problem you are trying to solve. An experience of mine might be related... I'm running apache and proxy "/blog" requests to an instance of Mongrel that is running typo. Here's the blog post about doing that: http://mondragon.cc/blog/articles/2006/10/24/typo-4-0-apache2-mysql-gentoo This might also be related to the problem you are solving ... I wanted the Typo sitemap.xml to be in the root of my webserver instead of /blog/sitemap.xml At first I used an apache redirect: RedirectMatch ^/sitemap.xml$ http://mondragon.cc/blog/sitemap.xml But I dropped that and just have an hourly cron dump the real file to the root of the webserver: wget -q -O - http://mondragon.cc/blog/sitemap.xml > /path_to_apache_root/sitemap.xml Mike On 1/3/07, Ernie Oporto wrote: > > > I have a .htaccess at the top level of my web server. I have a need to > place a redirect in there for the > http://www.site.com/blog/xml/rss20/feed.xml link, but this seems to be > overridden by the .htaccess in the blog/public directory or possibly some > other area in Typo. Does anyone know how I can override that from the top > level? Placing my redirect into the blog/public/.htaccess does not seem to > help. Note that the "newurl" below is not under the /blog tree. > > RewriteCond %{REQUEST_URI} ^/blog/xml/rss20/feed.xml > RewriteRule ^blog/xml/rss20/feed.xml "newurl" [R=301,NC,L] > > or if this is braindead easy, slap me hard to wake me up. =) > > -- > Ernie > http://www.shokk.com/blog/ > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > -- Mike Mondragon http://mondragon.cc/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070103/a91ffd60/attachment-0001.html From ernieoporto at gmail.com Wed Jan 3 16:01:07 2007 From: ernieoporto at gmail.com (Ernie Oporto) Date: Wed, 3 Jan 2007 16:01:07 -0500 Subject: [typo] overriding Typo's .htaccess In-Reply-To: <967d3b9a0701031045h77d4694djc0363bd4e91b81a1@mail.gmail.com> References: <967d3b9a0701031045h77d4694djc0363bd4e91b81a1@mail.gmail.com> Message-ID: An explanation is in order. This is for a new Pepper in Mint. In effect, I am redirecting to a PHP script that is taking care of tracking IP address and clicks for subscribers. This works for other feeds, but Typo has its own tree under all this which seems to be interfering. It requires something like the following in .htaccess in the root of the directory. RewriteCond %{REQUEST_URI} ^/blog/xml/rss20/feed.xml RewriteCond %{QUERY_STRING} !secretcode=a8e618 RewriteRule ^blog/xml/rss20/feed.xml /mint/pepper/hansvankilsdonk/feedback/tracker.php?secretcode=a8e618&FB_feed= http://www.shokk.com/blog/xml/rss20/feed.xml [R=301,NC,L] On 1/3/07, Mike Mondragon wrote: > > Its not clear to me context of the problem you are trying to solve. > > An experience of mine might be related... > I'm running apache and proxy "/blog" requests to an instance of Mongrel > that is running typo. Here's the blog post about doing that: > http://mondragon.cc/blog/articles/2006/10/24/typo-4-0-apache2-mysql-gentoo > > This might also be related to the problem you are solving ... > I wanted the Typo sitemap.xml to be in the root of my webserver instead of > /blog/sitemap.xml > At first I used an apache redirect: > RedirectMatch ^/sitemap.xml$ http://mondragon.cc/blog/sitemap.xml > > But I dropped that and just have an hourly cron dump the real file to the > root of the webserver: > wget -q -O - http://mondragon.cc/blog/sitemap.xml > > /path_to_apache_root/sitemap.xml > > Mike > > On 1/3/07, Ernie Oporto wrote: > > > > > I have a .htaccess at the top level of my web server. I have a need to > > place a redirect in there for the > > http://www.site.com/blog/xml/rss20/feed.xml link, but this seems to be > > overridden by the .htaccess in the blog/public directory or possibly some > > other area in Typo. Does anyone know how I can override that from the top > > level? Placing my redirect into the blog/public/.htaccess does not seem to > > help. Note that the "newurl" below is not under the /blog tree. > > > > RewriteCond %{REQUEST_URI} ^/blog/xml/rss20/feed.xml > > RewriteRule ^blog/xml/rss20/feed.xml "newurl" [R=301,NC,L] > > > > or if this is braindead easy, slap me hard to wake me up. =) > > > > -- > > Ernie > > http://www.shokk.com/blog/ > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > > > -- > Mike Mondragon > http://mondragon.cc/ > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > -- Ernie http://www.shokk.com/blog/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070103/8dbb6aee/attachment.html From kevin at sb.org Wed Jan 3 18:16:53 2007 From: kevin at sb.org (Kevin Ballard) Date: Wed, 3 Jan 2007 18:16:53 -0500 Subject: [typo] Results of my small end of year poll In-Reply-To: References: Message-ID: Pretty much everybody said No to your poll (did anyone say yes?), so my inclination is to say forget the tinyMCE support and just keep redesigning the admin instead. If people want a WYSIWYG editor I say they should be using a desktop client. Folks complain about typo's supposed bloat - adding tinyMCE would just be going further in that direction. On Jan 3, 2007, at 12:01 PM, Frederic de Villamil wrote: > I had made a patch for r1331 adding typo support for tinymce with an > option in the settings page. It also redesigned the whole content/ > new, content/edit, page/new and page/edit pages which have changed a > lot lately. The patch was too big (500k with a lightweight zipped > adapted version of tinymce) and didn't get through the list. > > If Scott, Piers, and Kevin are OK to add tinyMCE support to Typo, > I'll adapt my page to the last trunk during the week-end and send it. > Otherwise, I'll kee working on the admin piece by piece. -- Kevin Ballard http://kevin.sb.org kevin at sb.org http://www.tildesoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070103/1312650c/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2432 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20070103/1312650c/attachment.bin From kevin at sb.org Wed Jan 3 18:19:47 2007 From: kevin at sb.org (Kevin Ballard) Date: Wed, 3 Jan 2007 18:19:47 -0500 Subject: [typo] overriding Typo's .htaccess In-Reply-To: References: <967d3b9a0701031045h77d4694djc0363bd4e91b81a1@mail.gmail.com> Message-ID: I'm not terribly familiar with apache and mod_rewrite, I would *assume* putting the rewrite in the .htaccess in the root would take precedence over the one in typo/public. That said, the rewrite here puzzles me. Wouldn't Pepper have to fetch the real feed.xml using that URL, which would then, uh, be rewritten to Pepper itself? In other words, wouldn't this cause a loop? On Jan 3, 2007, at 4:01 PM, Ernie Oporto wrote: > An explanation is in order. This is for a new Pepper in Mint. > In effect, I am redirecting to a PHP script that is taking care of > tracking IP address and clicks for subscribers. > This works for other feeds, but Typo has its own tree under all > this which seems to be interfering. > It requires something like the following in .htaccess in the root > of the directory. > > RewriteCond %{REQUEST_URI} ^/blog/xml/rss20/feed.xml > RewriteCond %{QUERY_STRING} !secretcode=a8e618 > RewriteRule ^blog/xml/rss20/feed.xml /mint/pepper/hansvankilsdonk/ > feedback/tracker.php?secretcode=a8e618&FB_feed=http://www.shokk.com/ > blog/xml/rss20/feed.xml [R=301,NC,L] -- Kevin Ballard http://kevin.sb.org kevin at sb.org http://www.tildesoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070103/8d616883/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2432 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20070103/8d616883/attachment.bin From warnero at gmail.com Wed Jan 3 18:54:30 2007 From: warnero at gmail.com (Warner Onstine) Date: Wed, 3 Jan 2007 16:54:30 -0700 Subject: [typo] Results of my small end of year poll In-Reply-To: References: Message-ID: I'll add my +1 as well, I currently use MarsEdit and am very happy with its features and how they integrate with Typo. But I'm no dev, just a user. -warner On 1/3/07, Kevin Ballard wrote: > > Pretty much everybody said No to your poll (did anyone say yes?), so my > inclination is to say forget the tinyMCE support and just keep redesigning > the admin instead. If people want a WYSIWYG editor I say they should be > using a desktop client. Folks complain about typo's supposed bloat - adding > tinyMCE would just be going further in that direction. > > On Jan 3, 2007, at 12:01 PM, Frederic de Villamil wrote: > > > I had made a patch for r1331 adding typo support for tinymce with an > > option in the settings page. It also redesigned the whole content/ > > new, content/edit, page/new and page/edit pages which have changed a > > lot lately. The patch was too big (500k with a lightweight zipped > > adapted version of tinymce) and didn't get through the list. > > > > > If Scott, Piers, and Kevin are OK to add tinyMCE support to Typo, > > I'll adapt my page to the last trunk during the week-end and send it. > > Otherwise, I'll kee working on the admin piece by piece. > > -- > Kevin Ballard > http://kevin.sb.org > kevin at sb.org > http://www.tildesoft.com > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > > From ernieoporto at gmail.com Wed Jan 3 20:02:03 2007 From: ernieoporto at gmail.com (Ernie Oporto) Date: Wed, 3 Jan 2007 20:02:03 -0500 Subject: [typo] overriding Typo's .htaccess In-Reply-To: References: <967d3b9a0701031045h77d4694djc0363bd4e91b81a1@mail.gmail.com> Message-ID: Note the line about the secretcode in the querystring. The pepper keeps that secretcode when it requests it from the server, so it passes through without looping. The top level .htaccess does not in fact catch this for Typo URLs. It does catch it for other feeds I have in the .htaccess On 1/3/07, Kevin Ballard wrote: > > I'm not terribly familiar with apache and mod_rewrite, I would *assume* > putting the rewrite in the .htaccess in the root would take precedence over > the one in typo/public. > > That said, the rewrite here puzzles me. Wouldn't Pepper have to fetch the > real feed.xml using that URL, which would then, uh, be rewritten to Pepper > itself? In other words, wouldn't this cause a loop? > > On Jan 3, 2007, at 4:01 PM, Ernie Oporto wrote: > > An explanation is in order. This is for a new Pepper in Mint. > In effect, I am redirecting to a PHP script that is taking care of > tracking IP address and clicks for subscribers. > This works for other feeds, but Typo has its own tree under all this which > seems to be interfering. > It requires something like the following in .htaccess in the root of the > directory. > > RewriteCond %{REQUEST_URI} ^/blog/xml/rss20/feed.xml > RewriteCond %{QUERY_STRING} !secretcode=a8e618 > RewriteRule ^blog/xml/rss20/feed.xml > /mint/pepper/hansvankilsdonk/feedback/tracker.php?secretcode=a8e618&FB_feed= > http://www.shokk.com/blog/xml/rss20/feed.xml [R=301,NC,L] > > > -- > Kevin Ballard > http://kevin.sb.org > kevin at sb.org > http://www.tildesoft.com > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > > -- Ernie http://www.shokk.com/blog/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070103/0df7320c/attachment.html From ernieoporto at gmail.com Wed Jan 3 20:09:58 2007 From: ernieoporto at gmail.com (Ernie Oporto) Date: Wed, 3 Jan 2007 20:09:58 -0500 Subject: [typo] Results of my small end of year poll In-Reply-To: References: Message-ID: Honestly, I prefer to mark up my posts by hand. =) On 1/3/07, Kevin Ballard wrote: > > Pretty much everybody said No to your poll (did anyone say yes?), so my > inclination is to say forget the tinyMCE support and just keep redesigning > the admin instead. If people want a WYSIWYG editor I say they should be > using a desktop client. Folks complain about typo's supposed bloat - adding > tinyMCE would just be going further in that direction. > -- Ernie http://www.shokk.com/blog/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070103/813a44e8/attachment.html From ernieoporto at gmail.com Fri Jan 5 11:58:20 2007 From: ernieoporto at gmail.com (Ernie Oporto) Date: Fri, 5 Jan 2007 11:58:20 -0500 Subject: [typo] overriding Typo's .htaccess In-Reply-To: References: <967d3b9a0701031045h77d4694djc0363bd4e91b81a1@mail.gmail.com> Message-ID: No one else redirecting from inside Typo? On 1/3/07, Ernie Oporto wrote: > > > Note the line about the secretcode in the querystring. The pepper keeps > that secretcode when it requests it from the server, so it passes through > without looping. > > The top level .htaccess does not in fact catch this for Typo URLs. It > does catch it for other feeds I have in the .htaccess > > > On 1/3/07, Kevin Ballard wrote: > > > I'm not terribly familiar with apache and mod_rewrite, I would *assume* > > putting the rewrite in the .htaccess in the root would take precedence over > > the one in typo/public. > > > > That said, the rewrite here puzzles me. Wouldn't Pepper have to fetch > > the real feed.xml using that URL, which would then, uh, be rewritten to > > Pepper itself? In other words, wouldn't this cause a loop? > > > > On Jan 3, 2007, at 4:01 PM, Ernie Oporto wrote: > > > > An explanation is in order. This is for a new Pepper in Mint. > > In effect, I am redirecting to a PHP script that is taking care of > > tracking IP address and clicks for subscribers. > > This works for other feeds, but Typo has its own tree under all this > > which seems to be interfering. > > It requires something like the following in .htaccess in the root of the > > directory. > > > > RewriteCond %{REQUEST_URI} ^/blog/xml/rss20/feed.xml > > RewriteCond %{QUERY_STRING} !secretcode=a8e618 > > RewriteRule ^blog/xml/rss20/feed.xml > > /mint/pepper/hansvankilsdonk/feedback/tracker.php?secretcode=a8e618&FB_feed= > > http://www.shokk.com/blog/xml/rss20/feed.xml [R=301,NC,L] > > > > > > -- > > Kevin Ballard > > http://kevin.sb.org > > kevin at sb.org > > http://www.tildesoft.com > > > > > > > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > > > > > -- > Ernie > http://www.shokk.com/blog/ > -- Ernie http://www.shokk.com/blog/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070105/5c96cc0b/attachment.html From pdcawley at bofh.org.uk Fri Jan 5 15:20:45 2007 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Fri, 05 Jan 2007 20:20:45 +0000 Subject: [typo] Per filter headers, whiteboards and fragment caching Message-ID: It turns out that fragment caching really doesn't play nicely with optional headers generated by the likes of the filter. I'm not entirely sure about whether the workings of whiteboards are quite right either. So, until I've worked out what's going on, I shall be removing fragment caching. The file based page caching should continue to work though. So, I'm giving textfilters and whiteboards a long hard look. Right now, we're using class methods on the textfilter, but I think a better approach would be to instantiate them on a per request basis. The idea being that you use the same instance to format the contents of a page and then query the textfilter instances for required headers etc. This might be the first step to a callback based API for Typo extensions, but I'm making not promises. -- Piers Cawley http://www.bofh.org.uk/ From minter at lunenburg.org Mon Jan 8 13:08:29 2007 From: minter at lunenburg.org (H. Wade Minter) Date: Mon, 8 Jan 2007 13:08:29 -0500 Subject: [typo] Problem posting new article after update to 1343 Message-ID: <2016E794-103B-4631-AA3D-B240B96A27E7@lunenburg.org> I just upgraded my Typo installation last night to HEAD (rev 1343), and when I'm trying to post a new article through the web interface, I get this: ActiveRecord::HasManyThroughCantAssociateNewRecords (Cannot associate new record s through 'Article#notifications' on '#'. Both records must have an id in order to create the has_many :through record associating them.): /vendor/rails/activerecord/lib/active_record/associations/ has_many_through_association.rb:52:in `<<' /app/models/article.rb:271:in `add_notifications' /vendor/rails/activerecord/lib/active_record/callbacks.rb:333:in `send' /vendor/rails/activerecord/lib/active_record/callbacks.rb:333:in `callback' /vendor/rails/activerecord/lib/active_record/callbacks.rb:330:in `each' /vendor/rails/activerecord/lib/active_record/callbacks.rb:330:in `callback' /vendor/rails/activerecord/lib/active_record/callbacks.rb:253:in `create_without_timestamps' /vendor/rails/activerecord/lib/active_record/timestamp.rb:39:in `create' /vendor/rails/activerecord/lib/active_record/base.rb:1777:in `create_or_update_without_callbacks' /vendor/rails/activerecord/lib/active_record/callbacks.rb:242:in `create_or_update' /vendor/rails/activerecord/lib/active_record/base.rb:1533:in `save_without_validation' /vendor/rails/activerecord/lib/active_record/validations.rb: 752:in `save_without_transactions' /vendor/rails/activerecord/lib/active_record/transactions.rb: 129:in `save' /vendor/rails/activerecord/lib/active_record/connection_adapters/ abstract/database_statements.rb:59:in `transaction' /vendor/rails/activerecord/lib/active_record/transactions.rb: 95:in `transaction' /vendor/rails/activerecord/lib/active_record/transactions.rb: 121:in `transaction' [...] Any thoughts? From minter at lunenburg.org Tue Jan 9 16:34:49 2007 From: minter at lunenburg.org (H. Wade Minter) Date: Tue, 9 Jan 2007 16:34:49 -0500 Subject: [typo] Problem posting new article after update to 1343 In-Reply-To: <2016E794-103B-4631-AA3D-B240B96A27E7@lunenburg.org> References: <2016E794-103B-4631-AA3D-B240B96A27E7@lunenburg.org> Message-ID: <23C2CDB7-E290-42F3-8D69-604B092150EF@lunenburg.org> Anyone? Bueller? Am I the only one who can't make a post? --Wade On Jan 8, 2007, at 1:08 PM, H. Wade Minter wrote: > I just upgraded my Typo installation last night to HEAD (rev 1343), > and when I'm trying to post a new article through the web interface, > I get this: > > ActiveRecord::HasManyThroughCantAssociateNewRecords (Cannot associate > new record > s through 'Article#notifications' on '#'. Both records must have an > id in order > to create the has_many :through record associating them.): > /vendor/rails/activerecord/lib/active_record/associations/ > has_many_through_association.rb:52:in `<<' > /app/models/article.rb:271:in `add_notifications' > /vendor/rails/activerecord/lib/active_record/callbacks.rb:333:in > `send' > /vendor/rails/activerecord/lib/active_record/callbacks.rb:333:in > `callback' > /vendor/rails/activerecord/lib/active_record/callbacks.rb:330:in > `each' > /vendor/rails/activerecord/lib/active_record/callbacks.rb:330:in > `callback' > /vendor/rails/activerecord/lib/active_record/callbacks.rb:253:in > `create_without_timestamps' > /vendor/rails/activerecord/lib/active_record/timestamp.rb:39:in > `create' > /vendor/rails/activerecord/lib/active_record/base.rb:1777:in > `create_or_update_without_callbacks' > /vendor/rails/activerecord/lib/active_record/callbacks.rb:242:in > `create_or_update' > /vendor/rails/activerecord/lib/active_record/base.rb:1533:in > `save_without_validation' > /vendor/rails/activerecord/lib/active_record/validations.rb: > 752:in `save_without_transactions' > /vendor/rails/activerecord/lib/active_record/transactions.rb: > 129:in `save' > /vendor/rails/activerecord/lib/active_record/connection_adapters/ > abstract/database_statements.rb:59:in `transaction' > /vendor/rails/activerecord/lib/active_record/transactions.rb: > 95:in `transaction' > /vendor/rails/activerecord/lib/active_record/transactions.rb: > 121:in `transaction' > > [...] > > Any thoughts? > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From pdcawley at bofh.org.uk Wed Jan 10 05:38:09 2007 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Wed, 10 Jan 2007 10:38:09 +0000 Subject: [typo] Problem posting new article after update to 1343 In-Reply-To: <23C2CDB7-E290-42F3-8D69-604B092150EF@lunenburg.org> (H. Wade Minter's message of "Tue, 9 Jan 2007 16:34:49 -0500") References: <2016E794-103B-4631-AA3D-B240B96A27E7@lunenburg.org> <23C2CDB7-E290-42F3-8D69-604B092150EF@lunenburg.org> Message-ID: "H. Wade Minter" writes: > Anyone? Bueller? Am I the only one who can't make a post? Sorry, I've been tied up with other stuff (and I'm going to be so tied for at least the rest of today). I shall try and take a look tonight. -- Piers Cawley http://www.bofh.org.uk/ From pdcawley at bofh.org.uk Thu Jan 11 02:18:36 2007 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Thu, 11 Jan 2007 07:18:36 +0000 Subject: [typo] Problem posting new article after update to 1343 In-Reply-To: <23C2CDB7-E290-42F3-8D69-604B092150EF@lunenburg.org> (H. Wade Minter's message of "Tue, 9 Jan 2007 16:34:49 -0500") References: <2016E794-103B-4631-AA3D-B240B96A27E7@lunenburg.org> <23C2CDB7-E290-42F3-8D69-604B092150EF@lunenburg.org> Message-ID: "H. Wade Minter" writes: > Anyone? Bueller? Am I the only one who can't make a post? > > --Wade > > On Jan 8, 2007, at 1:08 PM, H. Wade Minter wrote: > >> I just upgraded my Typo installation last night to HEAD (rev 1343), >> and when I'm trying to post a new article through the web interface, >> I get this: Okay, I've moved the 'add_notifications' callback to be run by the after_create hook instead of before_create, which should fix the issue. Could you try it and let me know? Sorry for the delay. -- Piers Cawley http://www.bofh.org.uk/ From minter at lunenburg.org Thu Jan 11 07:53:14 2007 From: minter at lunenburg.org (H. Wade Minter) Date: Thu, 11 Jan 2007 07:53:14 -0500 Subject: [typo] Problem posting new article after update to 1343 In-Reply-To: References: <2016E794-103B-4631-AA3D-B240B96A27E7@lunenburg.org> <23C2CDB7-E290-42F3-8D69-604B092150EF@lunenburg.org> Message-ID: <4661CB78-1A93-475F-A812-540FB69B69E1@lunenburg.org> On Jan 11, 2007, at 2:18 AM, Piers Cawley wrote: > "H. Wade Minter" writes: > >> Anyone? Bueller? Am I the only one who can't make a post? >> >> --Wade >> >> On Jan 8, 2007, at 1:08 PM, H. Wade Minter wrote: >> >>> I just upgraded my Typo installation last night to HEAD (rev 1343), >>> and when I'm trying to post a new article through the web interface, >>> I get this: > > Okay, I've moved the 'add_notifications' callback to be run by the > after_create hook instead of before_create, which should fix the > issue. Could you try it and let me know? > > Sorry for the delay. The article got published on the site, but the category I picked didn't show up. There was also an exception thrown: ActiveRecord::RecordNotFound (Couldn't find all Categories with IDs (2,0)): /vendor/rails/activerecord/lib/active_record/base.rb:1042:in `find_some' /vendor/rails/activerecord/lib/active_record/base.rb:1014:in `find_from_ids' /vendor/rails/activerecord/lib/active_record/base.rb:416:in `find' /app/models/category.rb:22:in `find' /vendor/rails/activerecord/lib/active_record/base.rb:943:in `with_scope' /app/models/category.rb:21:in `find' /app/controllers/admin/content_controller.rb:140:in `set_article_categories' /app/controllers/admin/content_controller.rb:105:in `new_or_edit' /app/controllers/admin/content_controller.rb:25:in `new' /vendor/rails/actionpack/lib/action_controller/base.rb:1092:in `send' /vendor/rails/actionpack/lib/action_controller/base.rb:1092:in `perform_acti on_without_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:632:in `call_filte r' From pdcawley at bofh.org.uk Thu Jan 11 08:13:35 2007 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Thu, 11 Jan 2007 13:13:35 +0000 Subject: [typo] Problem posting new article after update to 1343 In-Reply-To: <4661CB78-1A93-475F-A812-540FB69B69E1@lunenburg.org> (H. Wade Minter's message of "Thu, 11 Jan 2007 07:53:14 -0500") References: <2016E794-103B-4631-AA3D-B240B96A27E7@lunenburg.org> <23C2CDB7-E290-42F3-8D69-604B092150EF@lunenburg.org> <4661CB78-1A93-475F-A812-540FB69B69E1@lunenburg.org> Message-ID: "H. Wade Minter" writes: > On Jan 11, 2007, at 2:18 AM, Piers Cawley wrote: > >> "H. Wade Minter" writes: >> >>> Anyone? Bueller? Am I the only one who can't make a post? >>> >>> --Wade >>> >>> On Jan 8, 2007, at 1:08 PM, H. Wade Minter wrote: >>> >>>> I just upgraded my Typo installation last night to HEAD (rev 1343), >>>> and when I'm trying to post a new article through the web interface, >>>> I get this: >> >> Okay, I've moved the 'add_notifications' callback to be run by the >> after_create hook instead of before_create, which should fix the >> issue. Could you try it and let me know? >> >> Sorry for the delay. > > The article got published on the site, but the category I picked > didn't show up. There was also an exception thrown: > > ActiveRecord::RecordNotFound (Couldn't find all Categories with IDs > (2,0)): Weird - I could have sworn we had tested that categories and stuff worked. I shall look further into it. -- Piers Cawley http://www.bofh.org.uk/ From scott at sigkill.org Thu Jan 11 12:08:48 2007 From: scott at sigkill.org (Scott Laird) Date: Thu, 11 Jan 2007 09:08:48 -0800 Subject: [typo] Per filter headers, whiteboards and fragment caching In-Reply-To: References: Message-ID: <14b7e5ef0701110908v55b2c041rcd20d2eae377bc67@mail.gmail.com> Out of curiosity, how will page caching work any better with extra headers? It doesn't store *any* HTTP headers at all on disk, even content-type. Scott On 1/5/07, Piers Cawley wrote: > It turns out that fragment caching really doesn't play nicely with > optional headers generated by the likes of the > filter. I'm not entirely sure about whether the workings of > whiteboards are quite right either. > > So, until I've worked out what's going on, I shall be removing > fragment caching. The file based page caching should continue > to work though. > > So, I'm giving textfilters and whiteboards a long hard look. Right > now, we're using class methods on the textfilter, but I think a better > approach would be to instantiate them on a per request basis. The idea > being that you use the same instance to format the contents of a page > and then query the textfilter instances for required headers etc. > > This might be the first step to a callback based API for Typo > extensions, but I'm making not promises. > > -- > Piers Cawley > http://www.bofh.org.uk/ > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From pdcawley at bofh.org.uk Thu Jan 11 18:09:54 2007 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Thu, 11 Jan 2007 23:09:54 +0000 Subject: [typo] Per filter headers, whiteboards and fragment caching In-Reply-To: <14b7e5ef0701110908v55b2c041rcd20d2eae377bc67@mail.gmail.com> (Scott Laird's message of "Thu, 11 Jan 2007 09:08:48 -0800") References: <14b7e5ef0701110908v55b2c041rcd20d2eae377bc67@mail.gmail.com> Message-ID: "Scott Laird" writes: > Out of curiosity, how will page caching work any better with extra > headers? It doesn't store *any* HTTP headers at all on disk, even > content-type. > Not HTTP headers, but the contents of the section of the page. All I've turned off is the caching of filter output, we're still doing action caching by default. -- Piers Cawley http://www.bofh.org.uk/ From neuro at 7el.net Sat Jan 13 03:56:00 2007 From: neuro at 7el.net (Frederic de Villamil) Date: Sat, 13 Jan 2007 09:56:00 +0100 Subject: [typo] Small admin patch Message-ID: Hello, Here is another small patch for the admin, built against r1346. It's nothing but some html and css to make the new / edit forms more intuitive to use for both pages and articles. Have a nice week end, Frederic -------------- next part -------------- A non-text attachment was scrubbed... Name: yetanotheradminusabilitypatch.diff Type: application/octet-stream Size: 14388 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20070113/6f653e2f/attachment-0001.obj -------------- next part -------------- -- Fr?d?ric de Villamil "Sadness is just another word for not enough coffee" -- Scott Adams frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://fredericdevillamil.com -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?= Url : http://rubyforge.org/pipermail/typo-list/attachments/20070113/6f653e2f/attachment-0001.bin From neuro at 7el.net Sat Jan 13 05:02:36 2007 From: neuro at 7el.net (Frederic de Villamil) Date: Sat, 13 Jan 2007 11:02:36 +0100 Subject: [typo] Small admin patch In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Forget about it, it breaks the live preview, I'm correcting it and sending a fixed one. Le 13 janv. 07 ? 09:56, Frederic de Villamil a ?crit : > Hello, > > Here is another small patch for the admin, built against r1346. > > It's nothing but some html and css to make the new / edit forms > more intuitive to use for both pages and articles. > > Have a nice week end, > Frederic > > > -- > Fr?d?ric de Villamil > "Sadness is just another word for not enough coffee" -- Scott Adams > frederic at de-villamil.com tel: +33 (0)6 62 19 > 1337 > http://fredericdevillamil.com > > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list - -- Fr?d?ric de Villamil "Sadness is just another word for not enough coffee" -- Scott Adams frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://fredericdevillamil.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFqK48CvkKk5nKviARArypAKCqUqy+r2NIQ2CZ3PFUD/Ga74GNnwCeLC+m wyfakJkO3No710yNuI2uBx4= =4n1z -----END PGP SIGNATURE----- From neuro at 7el.net Sat Jan 13 05:30:24 2007 From: neuro at 7el.net (Frederic de Villamil) Date: Sat, 13 Jan 2007 11:30:24 +0100 Subject: [typo] Small admin patch In-Reply-To: References: Message-ID: <23561DB3-8B05-4C36-BB46-B5E354D80988@7el.net> That one is OK -------------- next part -------------- A non-text attachment was scrubbed... Name: yetanotheradminusabilitypatch.ok.tgz Type: application/octet-stream Size: 3448 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20070113/d1730fce/attachment.obj -------------- next part -------------- Le 13 janv. 07 ? 11:02, Frederic de Villamil a ?crit : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Forget about it, it breaks the live preview, I'm correcting it and > sending a fixed one. > > > Le 13 janv. 07 ? 09:56, Frederic de Villamil a ?crit : > >> Hello, >> >> Here is another small patch for the admin, built against r1346. >> >> It's nothing but some html and css to make the new / edit forms >> more intuitive to use for both pages and articles. >> >> Have a nice week end, >> Frederic >> >> >> -- >> Fr?d?ric de Villamil >> "Sadness is just another word for not enough coffee" -- Scott Adams >> frederic at de-villamil.com tel: +33 (0)6 62 19 >> 1337 >> http://fredericdevillamil.com >> >> >> >> >> _______________________________________________ >> Typo-list mailing list >> Typo-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/typo-list > > - -- > Fr?d?ric de Villamil > "Sadness is just another word for not enough coffee" -- Scott Adams > frederic at de-villamil.com tel: +33 (0)6 62 19 > 1337 > http://fredericdevillamil.com > > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (Darwin) > > iD8DBQFFqK48CvkKk5nKviARArypAKCqUqy+r2NIQ2CZ3PFUD/Ga74GNnwCeLC+m > wyfakJkO3No710yNuI2uBx4= > =4n1z > -----END PGP SIGNATURE----- > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list -- Fr?d?ric de Villamil "Sadness is just another word for not enough coffee" -- Scott Adams frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://fredericdevillamil.com -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?= Url : http://rubyforge.org/pipermail/typo-list/attachments/20070113/d1730fce/attachment.bin From neuro at 7el.net Sun Jan 14 15:42:58 2007 From: neuro at 7el.net (Frederic de Villamil) Date: Sun, 14 Jan 2007 21:42:58 +0100 Subject: [typo] Typo test platforms Message-ID: <876AD213-96C3-48BB-8F9C-7343BC2848CC@7el.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello list, I've set up 2 typo tests platforms so that people can test the soft before installing it. Stable : http://typo.fredericdevillamil.com SVN : http://typodev.fredericdevillamil.com I've disabled external pinping on purpose (don't want to be a new flood platform), and the whole databases are reset every hour. You can spread the word around you. Cheers, Frederic - -- Fr?d?ric de Villamil "Sadness is just another word for not enough coffee" -- Scott Adams frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://fredericdevillamil.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFqpXTCvkKk5nKviARAlZpAJ96CS6o0iAjvtgfUg1rAgm9WTcQVACgqs6p uBBEiY6YFxTdIdI5VdLZ95Q= =Jzz8 -----END PGP SIGNATURE----- From lroland at gmail.com Sun Jan 21 10:34:43 2007 From: lroland at gmail.com (Lars Roland) Date: Sun, 21 Jan 2007 16:34:43 +0100 Subject: [typo] Unable to run trunk (1349) Message-ID: <4ad99e050701210734q55d00da2i58e46c5bce34f755@mail.gmail.com> Hi all I am having some problems with trunk in rev 1349, I get the following when running script/server: ---- => Booting WEBrick... ../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require': no such file to load -- rubygems (MissingSourceFile) from ../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require' from ../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:343:in `new_constants_in' from ../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require' from ../config/../vendor/plugins/haml/lib/haml/template.rb:2 from ../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require' from ../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require' from ../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:343:in `new_constants_in' from ../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require' ... 19 levels... from ../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require' from ../config/../vendor/rails/railties/lib/commands/server.rb:39 from ./server:3:in `require' from ./server:3 ---- Does anyone else see this problem or am I overlooking something obvious ?. On a different note is rails 1.2 required these days or is 1.1.X still fine ? -- Lars Roland From kevin at sb.org Sun Jan 21 12:55:11 2007 From: kevin at sb.org (Kevin Ballard) Date: Sun, 21 Jan 2007 12:55:11 -0500 Subject: [typo] Unable to run trunk (1349) In-Reply-To: <4ad99e050701210734q55d00da2i58e46c5bce34f755@mail.gmail.com> References: <4ad99e050701210734q55d00da2i58e46c5bce34f755@mail.gmail.com> Message-ID: <91C0BBE4-E933-4297-9E87-2ECE4EF7A88E@sb.org> It looks like you're missing, um, rubygems itself. And yeah, you should have rails 1.2. There's an svn:externals to check out rails 1.2 into the vendor folder, but if you're using a tool like svk that's not going to work for you. You really should freeze Rails 1.2.1 into the vendor folder if it's not there. On Jan 21, 2007, at 10:34 AM, Lars Roland wrote: > I am having some problems with trunk in rev 1349, I get the following > when running script/server: > > ---- > => Booting WEBrick... > ../config/../vendor/rails/activesupport/lib/active_support/ > dependencies.rb:496:in > `require': no such file to load -- rubygems (MissingSourceFile) > from ../config/../vendor/rails/activesupport/lib/ > active_support/dependencies.rb:496:in > `require' > from ../config/../vendor/rails/activesupport/lib/ > active_support/dependencies.rb:343:in > `new_constants_in' > from ../config/../vendor/rails/activesupport/lib/ > active_support/dependencies.rb:496:in > `require' > from ../config/../vendor/plugins/haml/lib/haml/template.rb:2 > from ../config/../vendor/rails/activesupport/lib/ > active_support/dependencies.rb:496:in > `require' > from ../config/../vendor/rails/activesupport/lib/ > active_support/dependencies.rb:496:in > `require' > from ../config/../vendor/rails/activesupport/lib/ > active_support/dependencies.rb:343:in > `new_constants_in' > from ../config/../vendor/rails/activesupport/lib/ > active_support/dependencies.rb:496:in > `require' > ... 19 levels... > from ../config/../vendor/rails/activesupport/lib/ > active_support/dependencies.rb:496:in > `require' > from ../config/../vendor/rails/railties/lib/commands/ > server.rb:39 > from ./server:3:in `require' > from ./server:3 > ---- > > Does anyone else see this problem or am I overlooking something > obvious ?. On a different note is rails 1.2 required these days or is > 1.1.X still fine ? -- Kevin Ballard http://kevin.sb.org kevin at sb.org http://www.tildesoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070121/4cab93ff/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2432 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20070121/4cab93ff/attachment-0001.bin From lroland at gmail.com Sun Jan 21 14:38:56 2007 From: lroland at gmail.com (Lars Roland) Date: Sun, 21 Jan 2007 20:38:56 +0100 Subject: [typo] Unable to run trunk (1349) In-Reply-To: <91C0BBE4-E933-4297-9E87-2ECE4EF7A88E@sb.org> References: <4ad99e050701210734q55d00da2i58e46c5bce34f755@mail.gmail.com> <91C0BBE4-E933-4297-9E87-2ECE4EF7A88E@sb.org> Message-ID: <4ad99e050701211138x5855af0cue32d849072e79021@mail.gmail.com> On 1/21/07, Kevin Ballard wrote: > > It looks like you're missing, um, rubygems itself. I installed typo using the Debian instructions (used to be in typo track if i remember correctly) with rails and ruby stuff from the Debian packages. It just seamed unlikely that my otherwise quite stable typo installation would break over night on such a simple thing as gems so I just ignored it > > And yeah, you should have rails 1.2. There's an svn:externals to check out > rails 1.2 into the vendor folder, but if you're using a tool like svk that's > not going to work for you. You really should freeze Rails 1.2.1 into the > vendor folder if it's not there. > I removed the Debian rails package and install rubygems, so now there is only the rails version in vendor (1.2.1) on my system (running on ruby 1.8.5). WEBrick now starts, but typo fails, when browsing it, the error is: ---- # ["../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:405:in `to_constant_name'", "../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:215:in `qualified_name_for'", "../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:477:in `const_missing'", "../config/../vendor/rails/railties/lib/dispatcher.rb:117:in `reset_after_dispatch'", "../config/../vendor/rails/railties/lib/dispatcher.rb:51:in `dispatch'", "../config/../vendor/rails/railties/lib/webrick_server.rb:113:in `handle_dispatch'", "../config/../vendor/rails/railties/lib/webrick_server.rb:79:in `service'", "/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'", "/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'", "/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'", "/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'", "/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'", "/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'", "/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'", "/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'", "/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'", "/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'", "../config/../vendor/rails/railties/lib/webrick_server.rb:63:in `dispatch'", "../config/../vendor/rails/railties/lib/commands/servers/webrick.rb:59", "/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'", "/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'", "../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require'", "../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:343:in `new_constants_in'", "../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in `require'", "../config/../vendor/rails/railties/lib/commands/server.rb:39", "./server:3:in `require'", "./server:3"] [2007-01-21 20:30:46] ERROR `/' not found. ---- Any ideas ?. -- Lars Roland From urban at bettong.net Mon Jan 22 06:11:16 2007 From: urban at bettong.net (Urban Hafner) Date: Mon, 22 Jan 2007 12:11:16 +0100 Subject: [typo] Problem with r1349 Message-ID: <9906DFEF-9E69-49B8-90A6-617F193E4086@bettong.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hej! I updated to r1439 yesterday (from r1348) and I (again) had problems with the stability of the fcgi process. It seems like there are memory issues again. What were the changes in r1439? Does it consume much more memory than r1348? Once the svn repository is available again, I'll try some tests and see what I have to do to kill the process. Urban - -- http://bettong.net | Urban's Blog http://computer-go.bettong.net | Planet Computer-Go -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD8DBQFFtJvbggNuVCIrEyURAgFBAJ9w23ObRnKKX57LKRXmzJZWYyxOFgCcDNWQ X6FNRdDpQK3cY4MKutgZ9Tk= =5euu -----END PGP SIGNATURE----- From kevin at sb.org Tue Jan 23 13:26:08 2007 From: kevin at sb.org (Kevin Ballard) Date: Tue, 23 Jan 2007 13:26:08 -0500 Subject: [typo] Unable to run trunk (1349) In-Reply-To: <4ad99e050701211138x5855af0cue32d849072e79021@mail.gmail.com> References: <4ad99e050701210734q55d00da2i58e46c5bce34f755@mail.gmail.com> <91C0BBE4-E933-4297-9E87-2ECE4EF7A88E@sb.org> <4ad99e050701211138x5855af0cue32d849072e79021@mail.gmail.com> Message-ID: <9CD8094A-A9D3-4D71-A230-F55291622C72@sb.org> On Jan 21, 2007, at 2:38 PM, Lars Roland wrote: > On 1/21/07, Kevin Ballard wrote: >> >> It looks like you're missing, um, rubygems itself. > > I installed typo using the Debian instructions (used to be in typo > track if i remember correctly) with rails and ruby stuff from the > Debian packages. It just seamed unlikely that my otherwise quite > stable typo installation would break over night on such a simple thing > as gems so I just ignored it According to the source, boot.rb (a file generated by rails) loads rubygems if it cannot find rails in the vendor/rails dir. Perhaps you don't have typo frozen into vendor/rails? UPDATE: Oh boy, it appears at least one of the plugins we have installed requires 'rubygems' blindly. So yeah, you need rubygems installed even if rails is frozen into vendor/rails. That said, you should still have it frozen. >> And yeah, you should have rails 1.2. There's an svn:externals to >> check out >> rails 1.2 into the vendor folder, but if you're using a tool like >> svk that's >> not going to work for you. You really should freeze Rails 1.2.1 >> into the >> vendor folder if it's not there. >> > > I removed the Debian rails package and install rubygems, so now there > is only the rails version in vendor (1.2.1) on my system (running on > ruby 1.8.5). WEBrick now starts, but typo fails, when browsing it, the > error is: > > [snip] > > Any ideas ?. Did you install the dependencies for rails? That stack isn't particularly illuminating, but it looks like it tried to resolve an unknown constant reference and ended up trying to qualify an anonymous module. I really don't know what that implies.. Here's what I recommend: go back and follow the Debian instructions again. This time make sure rails is frozen into vendor/rails (if you're using typo 4.0.3 [the latest stable release of typo] I believe it wants rails 1.1.6, if you're using svn trunk you want rails 1.2.1). Also make sure you have rubygems installed, but don't bother installing rails via rubygems (as it's already frozen into vendor/ rails). Tell me if you get another error. -- Kevin Ballard http://kevin.sb.org kevin at sb.org http://www.tildesoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070123/41151cea/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2432 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20070123/41151cea/attachment.bin From kevin at sb.org Tue Jan 23 13:30:18 2007 From: kevin at sb.org (Kevin Ballard) Date: Tue, 23 Jan 2007 13:30:18 -0500 Subject: [typo] Problem with r1349 In-Reply-To: <9906DFEF-9E69-49B8-90A6-617F193E4086@bettong.net> References: <9906DFEF-9E69-49B8-90A6-617F193E4086@bettong.net> Message-ID: <1CCE0F14-0B95-4712-BD86-EDFDA196CDC0@sb.org> Memory issues meaning RPVT growing unchecked? Where are you being hosted? If you're on TextDrive then yeah, there seems to be an odd problem with their servers that causes typo to use roughly twice as much RAM as is usual, at which point TextDrive automatically kills the dispatch.fcgi process. On Jan 22, 2007, at 6:11 AM, Urban Hafner wrote: > I updated to r1439 yesterday (from r1348) and I (again) had problems > with the stability of the fcgi process. It seems like there are memory > issues again. What were the changes in r1439? Does it consume much > more memory than r1348? Once the svn repository is available again, > I'll try some tests and see what I have to do to kill the process. -- Kevin Ballard http://kevin.sb.org kevin at sb.org http://www.tildesoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070123/5763de2f/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2432 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20070123/5763de2f/attachment.bin From minter at lunenburg.org Tue Jan 23 14:22:35 2007 From: minter at lunenburg.org (H. Wade Minter) Date: Tue, 23 Jan 2007 14:22:35 -0500 Subject: [typo] Current code location? Message-ID: I'm using Repository Root: svn://typosphere.org/typo, but getting "svn: Can't connect to host 'typosphere.org': Connection refused" when attempting to update the code. Where does the repository currently live? Thanks, Wade From urban at bettong.net Tue Jan 23 15:07:28 2007 From: urban at bettong.net (Urban Hafner) Date: Tue, 23 Jan 2007 21:07:28 +0100 Subject: [typo] Current code location? In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Jan 23, 2007, at 20:22 , H. Wade Minter wrote: > I'm using Repository Root: svn://typosphere.org/typo, but getting > "svn: Can't connect to host 'typosphere.org': Connection refused" > when attempting to update the code. Do a svn switch: svn switch --relocate svn://typosphere.org/typo/trunk http:// svn.typosphere.org/typo/trunk and it should be fine again. Urban - -- http://bettong.net | Urban's Blog http://computer-go.bettong.net | Planet Computer-Go -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD8DBQFFtmsIggNuVCIrEyURAopaAJ4wV+6nLr/7dzS0iTY0jsqROGh9NACeNMNl DhAxIZyAjoW66k0EwVlPoqM= =3j25 -----END PGP SIGNATURE----- From urban at bettong.net Tue Jan 23 15:15:37 2007 From: urban at bettong.net (Urban Hafner) Date: Tue, 23 Jan 2007 21:15:37 +0100 Subject: [typo] Problem with r1349 In-Reply-To: <1CCE0F14-0B95-4712-BD86-EDFDA196CDC0@sb.org> References: <9906DFEF-9E69-49B8-90A6-617F193E4086@bettong.net> <1CCE0F14-0B95-4712-BD86-EDFDA196CDC0@sb.org> Message-ID: <09D30BA3-2A78-4722-8950-3D9382C4A043@bettong.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Jan 23, 2007, at 19:30 , Kevin Ballard wrote: > Memory issues meaning RPVT growing unchecked? Sorry, what's RPVT? > Where are you being hosted? If you're on TextDrive then yeah, there > seems to be an odd problem with their servers that causes typo to > use roughly twice as much RAM as is usual, at which point TextDrive > automatically kills the dispatch.fcgi process. Yes, this is hosted on TextDrive. But it's not getting killed but it seems like it fails to allocate memory. On the console I started it I get "[FATAL] failed to allocate memory". Urban - -- http://bettong.net | Urban's Blog http://computer-go.bettong.net | Planet Computer-Go -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD8DBQFFtmzwggNuVCIrEyURAkgRAKCKlQOPY/vL2tvG0ES1dWWrjoq4YQCbBraR 5Tyzzdo9n85ZjHisi5GWoe0= =+CQn -----END PGP SIGNATURE----- From lroland at gmail.com Wed Jan 24 03:49:18 2007 From: lroland at gmail.com (Lars Roland) Date: Wed, 24 Jan 2007 09:49:18 +0100 Subject: [typo] Unable to run trunk (1349) In-Reply-To: <9CD8094A-A9D3-4D71-A230-F55291622C72@sb.org> References: <4ad99e050701210734q55d00da2i58e46c5bce34f755@mail.gmail.com> <91C0BBE4-E933-4297-9E87-2ECE4EF7A88E@sb.org> <4ad99e050701211138x5855af0cue32d849072e79021@mail.gmail.com> <9CD8094A-A9D3-4D71-A230-F55291622C72@sb.org> Message-ID: <4ad99e050701240049j558171a4qd015cb9804c05279@mail.gmail.com> On 1/23/07, Kevin Ballard wrote: > Did you install the dependencies for rails? That stack isn't particularly > illuminating, but it looks like it tried to resolve an unknown constant > reference and ended up trying to qualify an anonymous module. I really don't > know what that implies.. > > Here's what I recommend: go back and follow the Debian instructions again. > This time make sure rails is frozen into vendor/rails (if you're using typo > 4.0.3 [the latest stable release of typo] I believe it wants rails 1.1.6, if > you're using svn trunk you want rails 1.2.1). Also make sure you have > rubygems installed, but don't bother installing rails via rubygems (as it's > already frozen into vendor/rails). > > Tell me if you get another error. > Trunk in r1358 fixed all my problems. Thanks for the help anyway. -- Lars Roland From kevin at sb.org Wed Jan 24 11:38:19 2007 From: kevin at sb.org (Kevin Ballard) Date: Wed, 24 Jan 2007 11:38:19 -0500 Subject: [typo] Problem with r1349 In-Reply-To: <09D30BA3-2A78-4722-8950-3D9382C4A043@bettong.net> References: <9906DFEF-9E69-49B8-90A6-617F193E4086@bettong.net> <1CCE0F14-0B95-4712-BD86-EDFDA196CDC0@sb.org> <09D30BA3-2A78-4722-8950-3D9382C4A043@bettong.net> Message-ID: <75ABA545-3EF0-4684-9C92-C4AB3B0FC797@sb.org> On Jan 23, 2007, at 3:15 PM, Urban Hafner wrote: > On Jan 23, 2007, at 19:30 , Kevin Ballard wrote: > >> Memory issues meaning RPVT growing unchecked? > > Sorry, what's RPVT? Real Private memory. >> Where are you being hosted? If you're on TextDrive then yeah, there >> seems to be an odd problem with their servers that causes typo to >> use roughly twice as much RAM as is usual, at which point TextDrive >> automatically kills the dispatch.fcgi process. > > Yes, this is hosted on TextDrive. But it's not getting killed but it > seems like it fails to allocate memory. On the console I started it I > get "[FATAL] failed to allocate memory". Well.. that's pretty odd. I'm not sure what that means. -- Kevin Ballard http://kevin.sb.org kevin at sb.org http://www.tildesoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070124/ffe2e0f2/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2432 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20070124/ffe2e0f2/attachment.bin From kevin at sb.org Wed Jan 24 11:40:05 2007 From: kevin at sb.org (Kevin Ballard) Date: Wed, 24 Jan 2007 11:40:05 -0500 Subject: [typo] Current code location? In-Reply-To: References: Message-ID: <43DBBD6B-4DCD-4D39-8FC7-944E1AD099E9@sb.org> Oh yes, I guess I should have announced it on this list. Typosphere has returned, on a different host. The subversion repository has moved. Urban Hafner provided the appropriate command, but be sure to input that as a single line. On Jan 23, 2007, at 3:07 PM, Urban Hafner wrote: > On Jan 23, 2007, at 20:22 , H. Wade Minter wrote: > >> I'm using Repository Root: svn://typosphere.org/typo, but getting >> "svn: Can't connect to host 'typosphere.org': Connection refused" >> when attempting to update the code. > > Do a svn switch: > > svn switch --relocate svn://typosphere.org/typo/trunk http:// > svn.typosphere.org/typo/trunk > > and it should be fine again. -- Kevin Ballard http://kevin.sb.org kevin at sb.org http://www.tildesoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070124/8482266d/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2432 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20070124/8482266d/attachment.bin From benr at x-cr.com Fri Jan 26 12:38:18 2007 From: benr at x-cr.com (Ben Reubenstein) Date: Fri, 26 Jan 2007 10:38:18 -0700 Subject: [typo] Typo and Rails 1.2.1 Message-ID: <44c79a160701260938h2e6cf06fsc92c742395a6ee81@mail.gmail.com> Hello ~ What is the status of Typo and Rails 1.2.1? Thx, -- Ben Reubenstein 303-947-0446 http://www.benr75.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070126/f1a3bf3b/attachment.html From jake at whoisjake.com Fri Jan 26 13:09:54 2007 From: jake at whoisjake.com (Jake Good) Date: Fri, 26 Jan 2007 12:09:54 -0600 Subject: [typo] Typo and Rails 1.2.1 In-Reply-To: <44c79a160701260938h2e6cf06fsc92c742395a6ee81@mail.gmail.com> References: <44c79a160701260938h2e6cf06fsc92c742395a6ee81@mail.gmail.com> Message-ID: <8A7E928B-695E-466B-A5FC-FE2B2B643EAC@whoisjake.com> I don't know... I *just* switched my blog from Typo to Mephisto... It's also a beast, but it's more stable for me. I would imagine, knowing how the Typo team works, that Typo trunk would be working on Rails Edge... and any previous tags/releases would be stable on 1.1.6 IIRC. Jake On Jan 26, 2007, at 11:38 AM, Ben Reubenstein wrote: > Hello ~ > > What is the status of Typo and Rails 1.2.1? > > Thx, > > -- > Ben Reubenstein > 303-947-0446 > http://www.benr75.com > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070126/670b429b/attachment-0001.html From benr at x-cr.com Fri Jan 26 13:18:10 2007 From: benr at x-cr.com (Ben Reubenstein) Date: Fri, 26 Jan 2007 11:18:10 -0700 Subject: [typo] Typo and Rails 1.2.1 In-Reply-To: <8A7E928B-695E-466B-A5FC-FE2B2B643EAC@whoisjake.com> References: <44c79a160701260938h2e6cf06fsc92c742395a6ee81@mail.gmail.com> <8A7E928B-695E-466B-A5FC-FE2B2B643EAC@whoisjake.com> Message-ID: <44c79a160701261018t69a0e440x4e88f818b24a2f8d@mail.gmail.com> I have been considering the Mephisto move too. I actually have it up and running with some of my content migrated. The script mephisto provided for migration didn't migrate any of my Pages. How did your migration go? Thx, Ben On 1/26/07, Jake Good wrote: > > I don't know... I *just* switched my blog from Typo to Mephisto... > It's also a beast, but it's more stable for me. > > I would imagine, knowing how the Typo team works, that Typo trunk would be > working on Rails Edge... and any previous tags/releases would be stable on > 1.1.6 IIRC. > > Jake > > On Jan 26, 2007, at 11:38 AM, Ben Reubenstein wrote: > > Hello ~ > > What is the status of Typo and Rails 1.2.1? > > Thx, > > -- > Ben Reubenstein > 303-947-0446 > http://www.benr75.com > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > > -- Ben Reubenstein 303-947-0446 http://www.benr75.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070126/6e528e21/attachment.html From jake at whoisjake.com Fri Jan 26 13:26:15 2007 From: jake at whoisjake.com (Jake Good) Date: Fri, 26 Jan 2007 12:26:15 -0600 Subject: [typo] Typo and Rails 1.2.1 In-Reply-To: <44c79a160701261018t69a0e440x4e88f818b24a2f8d@mail.gmail.com> References: <44c79a160701260938h2e6cf06fsc92c742395a6ee81@mail.gmail.com> <8A7E928B-695E-466B-A5FC-FE2B2B643EAC@whoisjake.com> <44c79a160701261018t69a0e440x4e88f818b24a2f8d@mail.gmail.com> Message-ID: <30A911A9-7CC8-4590-BCC9-FF61EC45DCAB@whoisjake.com> Well... there were a few things I had to change.... 1) the Flickr plugin API key was bad, so I used my own... 2) I used Markdown with Smartypants on Typo... so I had to hard code the conversion script to use smartypants_filter as the value for the filter for all incoming articles, it was incorrectly converting from Typo. 3) I added a few rewrite routes in the configuration of Mephisto and changed a few variables in the settings (admin site) so that the URLs were exactly the same. 4) I also had to ensure that EVERY one of my typo users had an email address specified... otherwise it wouldn't work. 5) It also breaks if any of your flickr images (using ) are not there anymore... so I had to change one of my entries manually... I wrote up about the routes on my blog: http://www.thoughtstoblog.com/articles/2007/1/13/from-typo-to-mephisto A few routes I talk about in the article can be configured using path prefixes in settings... I also took the opportunity to bring my feed to feedburner as well, did some hard redirects so that blog aggregators updated properly... Jake On Jan 26, 2007, at 12:18 PM, Ben Reubenstein wrote: > I have been considering the Mephisto move too. I actually have it > up and running with some of my content migrated. The script > mephisto provided for migration didn't migrate any of my Pages. > How did your migration go? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070126/505d54fd/attachment.html From steve.longdo at gmail.com Fri Jan 26 13:51:46 2007 From: steve.longdo at gmail.com (Steve Longdo) Date: Fri, 26 Jan 2007 12:51:46 -0600 Subject: [typo] Typo and Rails 1.2.1 In-Reply-To: <44c79a160701261018t69a0e440x4e88f818b24a2f8d@mail.gmail.com> References: <44c79a160701260938h2e6cf06fsc92c742395a6ee81@mail.gmail.com> <8A7E928B-695E-466B-A5FC-FE2B2B643EAC@whoisjake.com> <44c79a160701261018t69a0e440x4e88f818b24a2f8d@mail.gmail.com> Message-ID: Hopefully you don't have any memory constraints where you are running Mephisto, because its memory footprint makes Typo's look like an embedded app... On 1/26/07, Ben Reubenstein wrote: > > I have been considering the Mephisto move too. I actually have it up and > running with some of my content migrated. The script mephisto provided for > migration didn't migrate any of my Pages. How did your migration go? > > Thx, > > Ben > > On 1/26/07, Jake Good wrote: > > > > I don't know... I *just* switched my blog from Typo to Mephisto... > > It's also a beast, but it's more stable for me. > > > > I would imagine, knowing how the Typo team works, that Typo trunk would > > be working on Rails Edge... and any previous tags/releases would be stable > > on 1.1.6 IIRC. > > > > Jake > > > > On Jan 26, 2007, at 11:38 AM, Ben Reubenstein wrote: > > > > Hello ~ > > > > What is the status of Typo and Rails 1.2.1? > > > > Thx, > > > > -- > > Ben Reubenstein > > 303-947-0446 > > http://www.benr75.com > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > > > > > -- > Ben Reubenstein > 303-947-0446 > http://www.benr75.com > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > -- Thanks, -Steve http://www.stevelongdo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070126/1e752f1c/attachment.html From jake at whoisjake.com Fri Jan 26 14:03:28 2007 From: jake at whoisjake.com (Jake Good) Date: Fri, 26 Jan 2007 13:03:28 -0600 Subject: [typo] Typo and Rails 1.2.1 In-Reply-To: <30A911A9-7CC8-4590-BCC9-FF61EC45DCAB@whoisjake.com> References: <44c79a160701260938h2e6cf06fsc92c742395a6ee81@mail.gmail.com> <8A7E928B-695E-466B-A5FC-FE2B2B643EAC@whoisjake.com> <44c79a160701261018t69a0e440x4e88f818b24a2f8d@mail.gmail.com> <30A911A9-7CC8-4590-BCC9-FF61EC45DCAB@whoisjake.com> Message-ID: <88A5DCDD-7B38-4F5F-AC1D-A27EF2DF9BAA@whoisjake.com> And also... for the conversion, if you're using Markdown with Smartypants from Typo and you have syntax like this: [this is my link][1] [1]: http://mywebsite.com "My Website" Where you have a quoted phrase for the link title, you'll have to switch the smartypants filter to do the BlueCloth first and the RubyPants second, instead of the other way around... What happens if they are reversed (how they are in svn) is that the "My Website" get's parsed through RubyPants and never get's picked up from BlueCloth and ends up not creating the link due to invalid syntax. I offered Rick Olson (of Mephisto) a patch for the change, but he has some tests that break it.... and i have some tests (valid syntax) that breaks the opposite. Stuck between Scilla and Charybdis. /vendor/plugins/filtered_columns/lib/filtered_column/filters/ smartypants_filter.rb Jake On Jan 26, 2007, at 12:26 PM, Jake Good wrote: > Well... there were a few things I had to change.... > > 1) the Flickr plugin API key was bad, so I used my own... > 2) I used Markdown with Smartypants on Typo... so I had to hard > code the conversion script to use smartypants_filter as the value > for the filter for all incoming articles, it was incorrectly > converting from Typo. > 3) I added a few rewrite routes in the configuration of Mephisto > and changed a few variables in the settings (admin site) so that > the URLs were exactly the same. > 4) I also had to ensure that EVERY one of my typo users had an > email address specified... otherwise it wouldn't work. > 5) It also breaks if any of your flickr images (using > ) are not there anymore... so I had to change one of > my entries manually... > > I wrote up about the routes on my blog: > http://www.thoughtstoblog.com/articles/2007/1/13/from-typo-to-mephisto > > A few routes I talk about in the article can be configured using > path prefixes in settings... > > I also took the opportunity to bring my feed to feedburner as well, > did some hard redirects so that blog aggregators updated properly... > > Jake > > > On Jan 26, 2007, at 12:18 PM, Ben Reubenstein wrote: > >> I have been considering the Mephisto move too. I actually have it >> up and running with some of my content migrated. The script >> mephisto provided for migration didn't migrate any of my Pages. >> How did your migration go? > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070126/13d51e3d/attachment.html From meta at pobox.com Fri Jan 26 15:48:00 2007 From: meta at pobox.com (mathew) Date: Fri, 26 Jan 2007 14:48:00 -0600 Subject: [typo] Typo and Rails 1.2.1 In-Reply-To: References: <44c79a160701260938h2e6cf06fsc92c742395a6ee81@mail.gmail.com> <8A7E928B-695E-466B-A5FC-FE2B2B643EAC@whoisjake.com> <44c79a160701261018t69a0e440x4e88f818b24a2f8d@mail.gmail.com> Message-ID: <7eeceb440701261248g252ac595i20a14fc4692c1252@mail.gmail.com> On 1/26/07, Steve Longdo wrote: > Hopefully you don't have any memory constraints where you are running > Mephisto, because its memory footprint makes Typo's look like an embedded > app... Thanks for saving me an afternoon. mathew -- From deirdre at deirdre.net Fri Jan 26 17:15:16 2007 From: deirdre at deirdre.net (Deirdre Saoirse Moen) Date: Fri, 26 Jan 2007 14:15:16 -0800 Subject: [typo] Typo and Rails 1.2.1 In-Reply-To: <7eeceb440701261248g252ac595i20a14fc4692c1252@mail.gmail.com> References: <44c79a160701260938h2e6cf06fsc92c742395a6ee81@mail.gmail.com> <8A7E928B-695E-466B-A5FC-FE2B2B643EAC@whoisjake.com> <44c79a160701261018t69a0e440x4e88f818b24a2f8d@mail.gmail.com> <7eeceb440701261248g252ac595i20a14fc4692c1252@mail.gmail.com> Message-ID: <1696CAF8-B116-49E2-85EE-C8EA8AFAB7EE@deirdre.net> On Jan 26, 2007, at 12:48 PM, mathew wrote: > On 1/26/07, Steve Longdo wrote: >> Hopefully you don't have any memory constraints where you are running >> Mephisto, because its memory footprint makes Typo's look like an >> embedded >> app... > > Thanks for saving me an afternoon. I switched from Wordpress to Mephisto, discovered it dying like a bad diva, and switched to Typo. Still occasionally run into constraints, but not so bad. -- _Deirdre http://deirdre.net From seandanielsmith at gmail.com Fri Jan 26 09:50:49 2007 From: seandanielsmith at gmail.com (Sean) Date: Fri, 26 Jan 2007 10:50:49 -0400 Subject: [typo] Switch To HAML? Message-ID: <7398c2160701260650l15cc918ud20702c4364fe508@mail.gmail.com> I was just wondering if Typo is being completely switched to HAML for views? Recent changesets seem to indicate this, and I was just wondering if there were also plans for keeping around an rhtml enabled theme, or if everything is going to be completely converted at some point. Regards, Sean From kevin at sb.org Mon Jan 29 16:15:19 2007 From: kevin at sb.org (Kevin Ballard) Date: Mon, 29 Jan 2007 16:15:19 -0500 Subject: [typo] Typo and Rails 1.2.1 In-Reply-To: <8A7E928B-695E-466B-A5FC-FE2B2B643EAC@whoisjake.com> References: <44c79a160701260938h2e6cf06fsc92c742395a6ee81@mail.gmail.com> <8A7E928B-695E-466B-A5FC-FE2B2B643EAC@whoisjake.com> Message-ID: Typo trunk is on Rails 1.2.1 right now. Latest stable release (4.0.3) is on Rails 1.1.6. I don't know when we're going to do a stable release for Rails 1.2.1, but Piers Cawley might be able to tell you that. I've been leaving decisions like this up to him ;) On Jan 26, 2007, at 1:09 PM, Jake Good wrote: > I don't know... I *just* switched my blog from Typo to Mephisto... > > It's also a beast, but it's more stable for me. > > I would imagine, knowing how the Typo team works, that Typo trunk > would be working on Rails Edge... and any previous tags/releases > would be stable on 1.1.6 IIRC. -- Kevin Ballard http://kevin.sb.org kevin at sb.org http://www.tildesoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070129/52c8a3bf/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2432 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20070129/52c8a3bf/attachment.bin From minter at lunenburg.org Tue Jan 30 14:32:37 2007 From: minter at lunenburg.org (H. Wade Minter) Date: Tue, 30 Jan 2007 14:32:37 -0500 Subject: [typo] Posting from Flickr? Message-ID: <461DEE44-9C32-4CCC-BE1C-2B454C1B1384@lunenburg.org> Does Typo have the proper hooks to enable posting from Flickr's "Blog It" button? --Wade From neuro at 7el.net Wed Jan 31 03:56:09 2007 From: neuro at 7el.net (Frederic de Villamil) Date: Wed, 31 Jan 2007 09:56:09 +0100 Subject: [typo] Posting from Flickr? In-Reply-To: <461DEE44-9C32-4CCC-BE1C-2B454C1B1384@lunenburg.org> References: <461DEE44-9C32-4CCC-BE1C-2B454C1B1384@lunenburg.org> Message-ID: <073B06C1-3D91-4B20-AAB5-E9478C6CED0D@7el.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I guess you should just give a try and tell us. Le 30 janv. 07 ? 20:32, H. Wade Minter a ?crit : > Does Typo have the proper hooks to enable posting from Flickr's "Blog > It" button? > > --Wade > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list - -- Fr?d?ric de Villamil "Sadness is just another word for not enough coffee" -- Scott Adams frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://fredericdevillamil.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFwFmqCvkKk5nKviARArw7AKDZVV/qfnOrtij6QhwtRgdSP057fACfU6+m /gTew9bShJwqIR3LPtu7GWY= =9PDP -----END PGP SIGNATURE----- From kevin at sb.org Wed Jan 31 21:09:56 2007 From: kevin at sb.org (Kevin Ballard) Date: Wed, 31 Jan 2007 21:09:56 -0500 Subject: [typo] Switch To HAML? In-Reply-To: <7398c2160701260650l15cc918ud20702c4364fe508@mail.gmail.com> References: <7398c2160701260650l15cc918ud20702c4364fe508@mail.gmail.com> Message-ID: I'd like to convert everything. Unfortunately, the way HAML works now it *appears* (I haven't exhaustively tested this, but it seems to be the case) that overriding a view in a theme doesn't work if the theme uses rhtml and the default view is haml. This means that themes would need to be converted to haml to override any views that have already been converted, and since I'd like to convert everything, that means themes have to be haml. That said, I'd love it if this problem were fixed in an upgrade to Haml, so existing themes would still work. On Jan 26, 2007, at 9:50 AM, Sean wrote: > I was just wondering if Typo is being completely switched to HAML for > views? Recent changesets seem to indicate this, and I was just > wondering if there were also plans for keeping around an rhtml enabled > theme, or if everything is going to be completely converted at some > point. -- Kevin Ballard http://kevin.sb.org kevin at sb.org http://www.tildesoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070131/7b580d05/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2432 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20070131/7b580d05/attachment.bin From steve.longdo at gmail.com Wed Jan 31 21:45:10 2007 From: steve.longdo at gmail.com (Steve Longdo) Date: Wed, 31 Jan 2007 20:45:10 -0600 Subject: [typo] Switch To HAML? In-Reply-To: References: <7398c2160701260650l15cc918ud20702c4364fe508@mail.gmail.com> Message-ID: Wow! I hope HAML doesn't become the de facto templating system in Typo. I imagine that the 4.0 release will become the final one that has any wide adoption if this is true. On 1/31/07, Kevin Ballard wrote: > > I'd like to convert everything. > > Unfortunately, the way HAML works now it *appears* (I haven't exhaustively > tested this, but it seems to be the case) that overriding a view in a theme > doesn't work if the theme uses rhtml and the default view is haml. This > means that themes would need to be converted to haml to override any views > that have already been converted, and since I'd like to convert everything, > that means themes have to be haml. > > That said, I'd love it if this problem were fixed in an upgrade to Haml, > so existing themes would still work. > > On Jan 26, 2007, at 9:50 AM, Sean wrote: > > I was just wondering if Typo is being completely switched to HAML for > > views? Recent changesets seem to indicate this, and I was just > > wondering if there were also plans for keeping around an rhtml enabled > > theme, or if everything is going to be completely converted at some > > point. > > > -- > Kevin Ballard > http://kevin.sb.org > kevin at sb.org > http://www.tildesoft.com > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070131/67c1f476/attachment-0001.html From minter at lunenburg.org Wed Jan 31 21:58:57 2007 From: minter at lunenburg.org (H. Wade Minter) Date: Wed, 31 Jan 2007 21:58:57 -0500 Subject: [typo] Posting from Flickr? In-Reply-To: <073B06C1-3D91-4B20-AAB5-E9478C6CED0D@7el.net> References: <461DEE44-9C32-4CCC-BE1C-2B454C1B1384@lunenburg.org> <073B06C1-3D91-4B20-AAB5-E9478C6CED0D@7el.net> Message-ID: Well, I was trying to do that, but the setup for "Blog It" requires XML-RPC or Atom endpoints, neither of which are advertised in the Typo page headers. So I figured I'd ask here to see if those endpoints were available, or if they weren't supported. --Wade On Jan 31, 2007, at 3:56 AM, Frederic de Villamil wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I guess you should just give a try and tell us. > > > > Le 30 janv. 07 ? 20:32, H. Wade Minter a ?crit : > >> Does Typo have the proper hooks to enable posting from Flickr's "Blog >> It" button? >> >> --Wade >> _______________________________________________ >> Typo-list mailing list >> Typo-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/typo-list > > - -- > Fr?d?ric de Villamil > "Sadness is just another word for not enough coffee" -- Scott Adams > frederic at de-villamil.com tel: +33 (0)6 62 19 > 1337 > http://fredericdevillamil.com > > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (Darwin) > > iD8DBQFFwFmqCvkKk5nKviARArw7AKDZVV/qfnOrtij6QhwtRgdSP057fACfU6+m > /gTew9bShJwqIR3LPtu7GWY= > =9PDP > -----END PGP SIGNATURE----- > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From kevin at sb.org Wed Jan 31 23:35:07 2007 From: kevin at sb.org (Kevin Ballard) Date: Wed, 31 Jan 2007 23:35:07 -0500 Subject: [typo] Posting from Flickr? In-Reply-To: References: <461DEE44-9C32-4CCC-BE1C-2B454C1B1384@lunenburg.org> <073B06C1-3D91-4B20-AAB5-E9478C6CED0D@7el.net> Message-ID: <1550AEB2-5AF6-431F-AB78-A1A87625D806@sb.org> Endpoints for movabletype, metaweblog, and blogger are advertised in the headers. See the following tag: That URL is an RSD document which describes the endpoints, and it's what all blog engines use. I don't know why Flickr can't detect it. In any case, you want the /backend/xmlrpc path. On Jan 31, 2007, at 9:58 PM, H. Wade Minter wrote: > Well, I was trying to do that, but the setup for "Blog It" requires > XML-RPC or Atom endpoints, neither of which are advertised in the > Typo page headers. So I figured I'd ask here to see if those > endpoints were available, or if they weren't supported. -- Kevin Ballard http://kevin.sb.org kevin at sb.org http://www.tildesoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070131/4743260d/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2432 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20070131/4743260d/attachment.bin From kevin at sb.org Wed Jan 31 23:36:38 2007 From: kevin at sb.org (Kevin Ballard) Date: Wed, 31 Jan 2007 23:36:38 -0500 Subject: [typo] Switch To HAML? In-Reply-To: References: <7398c2160701260650l15cc918ud20702c4364fe508@mail.gmail.com> Message-ID: Well, that's why I want this problem to be fixed ;) On Jan 31, 2007, at 9:45 PM, Steve Longdo wrote: > Wow! I hope HAML doesn't become the de facto templating system in > Typo. I imagine that the 4.0 release will become the final one > that has any wide adoption if this is true. > > On 1/31/07, Kevin Ballard wrote: > I'd like to convert everything. > > Unfortunately, the way HAML works now it *appears* (I haven't > exhaustively tested this, but it seems to be the case) that > overriding a view in a theme doesn't work if the theme uses rhtml > and the default view is haml. This means that themes would need to > be converted to haml to override any views that have already been > converted, and since I'd like to convert everything, that means > themes have to be haml. > > That said, I'd love it if this problem were fixed in an upgrade to > Haml, so existing themes would still work. -- Kevin Ballard http://kevin.sb.org kevin at sb.org http://www.tildesoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20070131/5e66b028/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2432 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20070131/5e66b028/attachment.bin