From rwmlist at gmail.com Thu Mar 2 05:37:30 2006 From: rwmlist at gmail.com (Rich Warren) Date: Thu, 2 Mar 2006 00:37:30 -1000 Subject: [typo] Problems on Windows. Message-ID: I've downloaded the newest release of Typo onto both my mac and my pc. Both have current versions of ruby and rails. The pc has the latest version of mysql, I think my mac's version is a release behind. On both platforms, rake's tests works, with a single error: Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/ rake_test_loader Started ..........................................E................. Finished in 5.433574 seconds. 1) Error: test_description(ThemeTest): Errno::ENOENT: No such file or directory - /Users/riki/Downloads/ typo-2.6.0/config/../test/mocks/themes/azure/about.markdown (I'm not too worried about this, I just include this in the interest of completeness). Anyway, launching Typo in webbrick, it works fine on the mac. However, when I try to launch it in webbrick on the PC, I get syntax errors. Even more oddly, the errors are not consistent. Remotely viewing the pages from my mac (where I can cut and paste to my mail) I get this: SyntaxError in Accounts#signup Showing app/views/layouts/accounts.rhtml where line #4 raised: compile error ./script/../config/..//app/views//./layouts/accounts.rhtml:4: Invalid char `\003' in expression ./script/../config/..//app/views//./layouts/accounts.rhtml:6: syntax error _erbout.concat " Typo Administration: " ^ ./script/../config/..//app/views//./layouts/accounts.rhtml:7: syntax error ^ Extracted source (around line #4): 1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 2: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3: <html xmlns="http://www.w3.org/1999/xhtml"> 4: <head> 5: <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> 6: <title>Typo Administration: <%= controller.controller_name %></ title> 7: <meta http-equiv="imagetoolbar" content="no" /> Trace of template inclusion: /app/views/layouts/accounts.rhtml RAILS_ROOT: ./script/../config/../ On the PC it will give different lines (sometimes #4, sometimes #5), and slightly different error messages. Any idea what's going wrong? Or more importantly, how to fix it? Thanks, -Rich- From scott at sigkill.org Thu Mar 2 07:21:18 2006 From: scott at sigkill.org (Scott Laird) Date: Thu, 2 Mar 2006 04:21:18 -0800 Subject: [typo] Problems on Windows. In-Reply-To: <DCDB3EB3-E77E-49D8-BE0F-28F379809F71@gmail.com> References: <DCDB3EB3-E77E-49D8-BE0F-28F379809F71@gmail.com> Message-ID: <14b7e5ef0603020421r137303b5ve677ea9003818b02@mail.gmail.com> On 3/2/06, Rich Warren <rwmlist at gmail.com> wrote:>>> SyntaxError in Accounts#signup>> Showing app/views/layouts/accounts.rhtml where line #4 raised:>> compile error> ./script/../config/..//app/views//./layouts/accounts.rhtml:4: Invalid> char `\003' in expression> ./script/../config/..//app/views//./layouts/accounts.rhtml:6: syntax> error> _erbout.concat " <title>Typo Administration: "> ^> ./script/../config/..//app/views//./layouts/accounts.rhtml:7: syntax> error>> ^ I'd guess that something is corrupt, either your Ruby interpreter oryour copy of Typo. Look at accounts.rhtml--is there a controlcharacter on line 4? That's what Ruby seems to be saying. Scott From rwmlist at gmail.com Thu Mar 2 15:46:35 2006 From: rwmlist at gmail.com (Rich Warren) Date: Thu, 2 Mar 2006 10:46:35 -1000 Subject: [typo] Problems on Windows. In-Reply-To: <14b7e5ef0603020421r137303b5ve677ea9003818b02@mail.gmail.com> References: <DCDB3EB3-E77E-49D8-BE0F-28F379809F71@gmail.com> <14b7e5ef0603020421r137303b5ve677ea9003818b02@mail.gmail.com> Message-ID: <82169B2D-16FB-4F55-8633-E0D58552BC65@gmail.com> It looks like this has something to do with the line endings. I opened accounts.rhtml in notepad and manually replaced all the line endings. Now that page (at least) works. I was thinking line endings might be a problem before posting the question, but I couldn't understand why the code portions seemed fine, and only the views had problems (as indicated by the general success of the test suite). Probably has something to do with how rails parses the rhtml file. So, does this mean I have to go through and change all the line endings on all the views. What a pain. -Rich- On Mar 2, 2006, at 2:21 AM, Scott Laird wrote: > On 3/2/06, Rich Warren <rwmlist at gmail.com> wrote:>>> SyntaxError in > Accounts#signup>> Showing app/views/layouts/accounts.rhtml where > line #4 raised:>> compile error> ./script/../config/..//app/ > views//./layouts/accounts.rhtml:4: Invalid> char `\003' in > expression> ./script/../config/..//app/views//./layouts/ > accounts.rhtml:6: syntax> error> _erbout.concat " > <title>Typo Administration: "> ^> ./script/../config/..// > app/views//./layouts/accounts.rhtml:7: syntax> error>> ^ > I'd guess that something is corrupt, either your Ruby interpreter > oryour copy of Typo. Look at accounts.rhtml--is there a > controlcharacter on line 4? That's what Ruby seems to be saying. > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From rwmlist at gmail.com Fri Mar 3 01:34:03 2006 From: rwmlist at gmail.com (Rich Warren) Date: Thu, 2 Mar 2006 20:34:03 -1000 Subject: [typo] Problems on Windows. In-Reply-To: <14b7e5ef0603020421r137303b5ve677ea9003818b02@mail.gmail.com> References: <DCDB3EB3-E77E-49D8-BE0F-28F379809F71@gmail.com> <14b7e5ef0603020421r137303b5ve677ea9003818b02@mail.gmail.com> Message-ID: <648A7F49-10D0-4DC2-8580-30DA3B437E8A@gmail.com> I'm not sure what the problem was, but I took the app/view folder over to my mac. There, I created a textfactory with bbedit to batch change the files: changed line endings to dos, changed tabs to spaces, zapped non-ascii characters (I think that's it). I'm not sure what fixed it (just changing the line endings alone didn't seem to work), but after importing these back to the windows box, everything works fine. I've downloaded several themes, and I've noticed that some work, others don't. I wonder if this is a bug in Rails or Typo. But clearly something is not right. -Rich- On Mar 2, 2006, at 2:21 AM, Scott Laird wrote: > On 3/2/06, Rich Warren <rwmlist at gmail.com> wrote:>>> SyntaxError in > Accounts#signup>> Showing app/views/layouts/accounts.rhtml where > line #4 raised:>> compile error> ./script/../config/..//app/ > views//./layouts/accounts.rhtml:4: Invalid> char `\003' in > expression> ./script/../config/..//app/views//./layouts/ > accounts.rhtml:6: syntax> error> _erbout.concat " > <title>Typo Administration: "> ^> ./script/../config/..// > app/views//./layouts/accounts.rhtml:7: syntax> error>> ^ > I'd guess that something is corrupt, either your Ruby interpreter > oryour copy of Typo. Look at accounts.rhtml--is there a > controlcharacter on line 4? That's what Ruby seems to be saying. > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From rwmlist at gmail.com Fri Mar 3 01:36:19 2006 From: rwmlist at gmail.com (Rich Warren) Date: Thu, 2 Mar 2006 20:36:19 -1000 Subject: [typo] Q1: automatically publishing files. Message-ID: <CC20B1AE-A92A-45EA-AC5F-8A5FCBC07298@gmail.com> I have two quick questions, but I'm going to split them into separate messages, since they are considerably different. Is there any way to create articles and have them automatically published in the future? I thought that setting a future date would work, but the article appeared immediately. -Rich- From rwmlist at gmail.com Fri Mar 3 01:40:41 2006 From: rwmlist at gmail.com (Rich Warren) Date: Thu, 2 Mar 2006 20:40:41 -1000 Subject: [typo] Q2: Building dynamic rails pages. Message-ID: <8F4A1267-234C-456E-B3F5-92F61455EE0D@gmail.com> I saw the command for adding a page. How would I go about creating a new page that called actions on a separate controller (for example, if I wanted to build a forums controller and views linked to the page tab). Seems like it shouldn't be too hard (and, in truth, I haven't really started digging through the code yet). -Rich- From kevin at sb.org Fri Mar 3 01:55:50 2006 From: kevin at sb.org (Kevin Ballard) Date: Thu, 2 Mar 2006 22:55:50 -0800 Subject: [typo] Q1: automatically publishing files. In-Reply-To: <CC20B1AE-A92A-45EA-AC5F-8A5FCBC07298@gmail.com> References: <CC20B1AE-A92A-45EA-AC5F-8A5FCBC07298@gmail.com> Message-ID: <EEE7A8B9-0CED-44A2-9788-4D48CA8D4730@sb.org> On Mar 2, 2006, at 10:36 PM, Rich Warren wrote: > I have two quick questions, but I'm going to split them into separate > messages, since they are considerably different. > > Is there any way to create articles and have them automatically > published in the future? I thought that setting a future date would > work, but the article appeared immediately. It's filed in Trac, but this is not something that is implemented yet. I actually had a decent idea about this the other day but forgot to post it to the list. The main problem with this request is automatically publishing the article when the date passes. The idea I had was to store the next auto-publish day in a global table and on each request do a quick comparison against the table and, if the current date is later than the saved one, sweep the fragment cache (or, ideally, just the parts necessary to show the article) and re- set the date to the next time. There's 2 issues I can think of with this, but they're not bad. The first is checking this would probably incur an extra SQL query per request, but that might be solved by putting it in the settings table (since it is a kind of pseudo- setting) which gets loaded anyway. The second issue is two fcgi processes processing requests at the same time and both detecting the date has passed, but I don't think this is a problem either because all that happens to publish the article is the cache is swept, and there's no problem with sweeping it twice - it just means one more uncached request. Scott Laird, if you're reading this, do you have any thoughts on this suggestion? -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060302/002fc2a7/smime.bin From kevin at sb.org Fri Mar 3 01:57:11 2006 From: kevin at sb.org (Kevin Ballard) Date: Thu, 2 Mar 2006 22:57:11 -0800 Subject: [typo] Q2: Building dynamic rails pages. In-Reply-To: <8F4A1267-234C-456E-B3F5-92F61455EE0D@gmail.com> References: <8F4A1267-234C-456E-B3F5-92F61455EE0D@gmail.com> Message-ID: <08C0C177-B420-47F8-AEAF-C6FC93FD18EB@sb.org> On Mar 2, 2006, at 10:40 PM, Rich Warren wrote: > I saw the command for adding a page. How would I go about creating a > new page that called actions on a separate controller (for example, > if I wanted to build a forums controller and views linked to the page > tab). Seems like it shouldn't be too hard (and, in truth, I haven't > really started digging through the code yet). I would recommend ignoring the "pages" stuff for this entirely and just throw in your extra controller as a top-level controller, so you'd get something like http://your.blog.com/forums/ to get at your forums controller. I'd actually love a way to take requests like that and pass them off to a separate rails app from within Typo, but that would probably have to be done from within the .htaccess as a rewrite rule. But if you add the controller to Typo itself it should be a cinch to do this. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060302/3124019c/smime-0001.bin From rwmlist at gmail.com Fri Mar 3 02:16:24 2006 From: rwmlist at gmail.com (Rich Warren) Date: Thu, 2 Mar 2006 21:16:24 -1000 Subject: [typo] Q1: automatically publishing files. In-Reply-To: <EEE7A8B9-0CED-44A2-9788-4D48CA8D4730@sb.org> References: <CC20B1AE-A92A-45EA-AC5F-8A5FCBC07298@gmail.com> <EEE7A8B9-0CED-44A2-9788-4D48CA8D4730@sb.org> Message-ID: <20E9EC93-35DE-4D73-8C0E-883E472C0AF4@gmail.com> It seems to me, anything with a publication date in the future should not be displayed. Which means it could be fixed with a very minor change to the way the model grabs articles from the database. Of course, the article could probably still be pulled up using the search or archives. Maybe just change the model so the published flag always returns false until the publication date/time has passed. Again, I haven't cracked open the code yet. -Rich- On Mar 2, 2006, at 8:55 PM, Kevin Ballard wrote: > On Mar 2, 2006, at 10:36 PM, Rich Warren wrote: > >> I have two quick questions, but I'm going to split them into separate >> messages, since they are considerably different. >> >> Is there any way to create articles and have them automatically >> published in the future? I thought that setting a future date would >> work, but the article appeared immediately. > > It's filed in Trac, but this is not something that is implemented yet. > > I actually had a decent idea about this the other day but forgot to > post it to the list. The main problem with this request is > automatically publishing the article when the date passes. The idea > I had was to store the next auto-publish day in a global table and > on each request do a quick comparison against the table and, if the > current date is later than the saved one, sweep the fragment cache > (or, ideally, just the parts necessary to show the article) and re- > set the date to the next time. There's 2 issues I can think of with > this, but they're not bad. The first is checking this would > probably incur an extra SQL query per request, but that might be > solved by putting it in the settings table (since it is a kind of > pseudo-setting) which gets loaded anyway. The second issue is two > fcgi processes processing requests at the same time and both > detecting the date has passed, but I don't think this is a problem > either because all that happens to publish the article is the cache > is swept, and there's no problem with sweeping it twice - it just > means one more uncached request. > > Scott Laird, if you're reading this, do you have any thoughts on > this suggestion? > > -- > Kevin Ballard > kevin at sb.org > http://kevin.sb.org > http://www.tildesoft.com > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From kevin at sb.org Fri Mar 3 02:32:43 2006 From: kevin at sb.org (Kevin Ballard) Date: Thu, 2 Mar 2006 23:32:43 -0800 Subject: [typo] Q1: automatically publishing files. In-Reply-To: <20E9EC93-35DE-4D73-8C0E-883E472C0AF4@gmail.com> References: <CC20B1AE-A92A-45EA-AC5F-8A5FCBC07298@gmail.com> <EEE7A8B9-0CED-44A2-9788-4D48CA8D4730@sb.org> <20E9EC93-35DE-4D73-8C0E-883E472C0AF4@gmail.com> Message-ID: <96A2BC6B-AD37-4350-BD7E-5F2C30296748@sb.org> On Mar 2, 2006, at 11:16 PM, Rich Warren wrote: > It seems to me, anything with a publication date in the future should > not be displayed. Which means it could be fixed with a very minor > change to the way the model grabs articles from the database. > > Of course, the article could probably still be pulled up using the > search or archives. Maybe just change the model so the published flag > always returns false until the publication date/time has passed. > Again, I haven't cracked open the code yet. It's fairly simple to make articles that are in the future be treated as unpublished. The problem is caching - you need some way to invalidate the cache as soon as the date passes, so the article will appear. Otherwise the article will never appear until the cache is invalidated some other way (e.g. by posting another article, commenting, manually clearing it, etc). -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060302/38969151/smime.bin From trejkaz at trypticon.org Fri Mar 3 06:49:31 2006 From: trejkaz at trypticon.org (Trejkaz) Date: Fri, 3 Mar 2006 22:49:31 +1100 Subject: [typo] Q1: automatically publishing files. In-Reply-To: <CC20B1AE-A92A-45EA-AC5F-8A5FCBC07298@gmail.com> References: <CC20B1AE-A92A-45EA-AC5F-8A5FCBC07298@gmail.com> Message-ID: <200603032249.33989.trejkaz@trypticon.org> On Friday 03 March 2006 17:36, Rich Warren wrote: > I have two quick questions, but I'm going to split them into separate > messages, since they are considerably different. > > Is there any way to create articles and have them automatically > published in the future? I thought that setting a future date would > work, but the article appeared immediately. I have another question on my mind related to drafting: why can't I preview a page which isn't published? I know I used to be able to, some time in the past, go directly to the URL of an unpublished page to make sure it looks right. But that was changed for some reason, perhaps as a side-effect of simplifying the Article model? TX -- Email: trejkaz at trypticon.org Jabber ID: trejkaz at trypticon.org Web site: http://trypticon.org/ GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F A62C B8C7 BC8B 037E EA73 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060303/b831a0dd/attachment.bin From ernieoporto at gmail.com Fri Mar 3 07:50:08 2006 From: ernieoporto at gmail.com (Ernie Oporto) Date: Fri, 3 Mar 2006 07:50:08 -0500 Subject: [typo] Q1: automatically publishing files. In-Reply-To: <96A2BC6B-AD37-4350-BD7E-5F2C30296748@sb.org> References: <CC20B1AE-A92A-45EA-AC5F-8A5FCBC07298@gmail.com> <EEE7A8B9-0CED-44A2-9788-4D48CA8D4730@sb.org> <20E9EC93-35DE-4D73-8C0E-883E472C0AF4@gmail.com> <96A2BC6B-AD37-4350-BD7E-5F2C30296748@sb.org> Message-ID: <f91ac86d0603030450g79b623acy4f2b1996856d0a8@mail.gmail.com> Invalidating the cache would not need to happen exactly when the date passes. This is kind of an "if a tree falls in the woods..." question. If the site updates when a user accesses the site after the date (could be a second later, could be an hour later), triggering the cache invalidation, it's as good as if it were done with a cron or other scheduling process. Of course, your other option is to run an external trigger, like a rake run from a cron job. This brings up platform issues, but hopefully we could iron that out on the list. On 3/3/06, Kevin Ballard <kevin at sb.org> wrote: > > On Mar 2, 2006, at 11:16 PM, Rich Warren wrote: > > > It seems to me, anything with a publication date in the future should > > not be displayed. Which means it could be fixed with a very minor > > change to the way the model grabs articles from the database. > > > > Of course, the article could probably still be pulled up using the > > search or archives. Maybe just change the model so the published flag > > always returns false until the publication date/time has passed. > > Again, I haven't cracked open the code yet. > > It's fairly simple to make articles that are in the future be treated > as unpublished. The problem is caching - you need some way to > invalidate the cache as soon as the date passes, so the article will > appear. Otherwise the article will never appear until the cache is > invalidated some other way (e.g. by posting another article, > commenting, manually clearing it, etc). > > -- > Kevin Ballard > kevin at sb.org > http://kevin.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/20060303/f72fa15d/attachment.htm From scott at sigkill.org Fri Mar 3 09:23:20 2006 From: scott at sigkill.org (Scott Laird) Date: Fri, 3 Mar 2006 06:23:20 -0800 Subject: [typo] Q1: automatically publishing files. In-Reply-To: <f91ac86d0603030450g79b623acy4f2b1996856d0a8@mail.gmail.com> References: <CC20B1AE-A92A-45EA-AC5F-8A5FCBC07298@gmail.com> <EEE7A8B9-0CED-44A2-9788-4D48CA8D4730@sb.org> <20E9EC93-35DE-4D73-8C0E-883E472C0AF4@gmail.com> <96A2BC6B-AD37-4350-BD7E-5F2C30296748@sb.org> <f91ac86d0603030450g79b623acy4f2b1996856d0a8@mail.gmail.com> Message-ID: <14b7e5ef0603030623o756970c5u2e20305f65fb9f9@mail.gmail.com> Actually, invalidating the cache is mostly already done--the currentcaching code lets you publish pages with an expiration date; once thatdate passes, the cache entry will disappear on its own. So, all wereally need is a way to calculate a global default expiration datebased on the next unpublished article. I'll take a look at it in a week or so, once a few other bugs have been closed. Scott On 3/3/06, Ernie Oporto <ernieoporto at gmail.com> wrote:>> Invalidating the cache would not need to happen exactly when the date> passes. This is kind of an "if a tree falls in the woods..." question. If> the site updates when a user accesses the site after the date (could be a> second later, could be an hour later), triggering the cache invalidation,> it's as good as if it were done with a cron or other scheduling process.>> Of course, your other option is to run an external trigger, like a rake run> from a cron job. This brings up platform issues, but hopefully we could> iron that out on the list.>>>>> On 3/3/06, Kevin Ballard <kevin at sb.org> wrote:> >> On Mar 2, 2006, at 11:16 PM, Rich Warren wrote:>> > It seems to me, anything with a publication date in the future should> > not be displayed. Which means it could be fixed with a very minor> > change to the way the model grabs articles from the database.> >> > Of course, the article could probably still be pulled up using the> > search or archives. Maybe just change the model so the published flag> > always returns false until the publication date/time has passed.> > Again, I haven't cracked open the code yet.>> It's fairly simple to make articles that are in the future be treated> as unpublished. The problem is caching - you need some way to> invalidate the cache as soon as the date passes, so the article will> appear. Otherwise the article will never appear until the cache is> invalidated some other way (e.g. by posting another article,> commenting, manually clearing it, etc).>> --> Kevin Ballard> kevin at sb.org> http://kevin.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/> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list>> From kevin at sb.org Fri Mar 3 12:18:53 2006 From: kevin at sb.org (Kevin Ballard) Date: Fri, 3 Mar 2006 09:18:53 -0800 Subject: [typo] Q1: automatically publishing files. In-Reply-To: <200603032249.33989.trejkaz@trypticon.org> References: <CC20B1AE-A92A-45EA-AC5F-8A5FCBC07298@gmail.com> <200603032249.33989.trejkaz@trypticon.org> Message-ID: <8BD9290F-5851-4F63-B9D5-598691A56596@sb.org> I imagine that was deliberately changed so nobody could see an article before it was published. On Mar 3, 2006, at 3:49 AM, Trejkaz wrote: > I know I used to be able to, some time in the past, go directly to > the URL of > an unpublished page to make sure it looks right. But that was > changed for > some reason, perhaps as a side-effect of simplifying the Article > model? -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060303/ace0cd8e/smime-0001.bin From trejkaz at trypticon.org Fri Mar 3 17:02:20 2006 From: trejkaz at trypticon.org (Trejkaz) Date: Sat, 4 Mar 2006 09:02:20 +1100 Subject: [typo] Q1: automatically publishing files. In-Reply-To: <8BD9290F-5851-4F63-B9D5-598691A56596@sb.org> References: <CC20B1AE-A92A-45EA-AC5F-8A5FCBC07298@gmail.com> <200603032249.33989.trejkaz@trypticon.org> <8BD9290F-5851-4F63-B9D5-598691A56596@sb.org> Message-ID: <200603040902.22780.trejkaz@trypticon.org> On Saturday 04 March 2006 04:18, Kevin Ballard wrote: > I imagine that was deliberately changed so nobody could see an > article before it was published. Hmm... IMO, it's a regression. I'm logged in as an admin, I should have some way to preview the page I just spent half an hour writing. Right now, I need to set it to published, quickly jump across and look at it, and then set it back to draft. I guess it wouldn't matter so much if the live preview pane showed the article in the correct theme. :-) TX -- Email: trejkaz at trypticon.org Jabber ID: trejkaz at trypticon.org Web site: http://trypticon.org/ GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F A62C B8C7 BC8B 037E EA73 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060304/981a1eee/attachment.bin From kheon at comcast.net Fri Mar 3 20:49:30 2006 From: kheon at comcast.net (Kyle Heon) Date: Fri, 3 Mar 2006 20:49:30 -0500 Subject: [typo] Precondition Failed Errors Message-ID: <200603040136.k241amJb005924@rubyforge.org> I am all of a sudden getting the following error when attempting to add or edit an article: Precondition Failed The precondition on the request for the URL /admin/content/edit/81 evaluated to false. This is running revision 875 from the trunk. The only change I made recently (last night) was to change the way articles are being cached. This was in an effort to get a rotating banner image working. This does not happen locally when I run the site via Webrick but is happening in production mode via lighttpd on Textdrive. I wouldn't think the caching change I made would cause this, as the error appears to be in admin/content, not articles. My articles controller looks like this now: class ArticlesController < ApplicationController before_filter :verify_config before_filter :check_page_query_param_for_missing_routes layout :theme_layout cache_sweeper :blog_sweeper cached_pages = [:index, :read, :permalink, :category, :find_by_date, :archives, :view_page, :tag] #caches_action_with_params *cached_pages caches_action_with_params :read session :off, :only => cached_pages <snip> def read response.lifetime = 3600 # 1 hour <snip> end Why is this happening and what can I do to stop it? Kyle Heon kheon at comcast.net www.kyleheon.com From kevin at sb.org Fri Mar 3 22:30:33 2006 From: kevin at sb.org (Kevin Ballard) Date: Fri, 3 Mar 2006 19:30:33 -0800 Subject: [typo] Q1: automatically publishing files. In-Reply-To: <200603040902.22780.trejkaz@trypticon.org> References: <CC20B1AE-A92A-45EA-AC5F-8A5FCBC07298@gmail.com> <200603032249.33989.trejkaz@trypticon.org> <8BD9290F-5851-4F63-B9D5-598691A56596@sb.org> <200603040902.22780.trejkaz@trypticon.org> Message-ID: <15C79781-1826-43D9-98CC-1F2882A22C90@sb.org> On Mar 3, 2006, at 2:02 PM, Trejkaz wrote: > Hmm... IMO, it's a regression. I'm logged in as an admin, I should > have some > way to preview the page I just spent half an hour writing. > > Right now, I need to set it to published, quickly jump across and > look at it, > and then set it back to draft. > > I guess it wouldn't matter so much if the live preview pane showed > the article > in the correct theme. :-) I actually tried to fix the preview in that regards, but it's a tough nugget to crack. You need an iframe there so it can be completely self-contained, but the trick is getting the content in to it reliably, which is where I had trouble. If somebody else wants to take a crack at it, go ahead. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060303/c4745517/smime.bin From pdcawley at bofh.org.uk Sat Mar 4 03:50:59 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Sat, 04 Mar 2006 08:50:59 +0000 Subject: [typo] Multiple Blogs Ticket #343 In-Reply-To: <56BB9B60-E008-4981-882E-0D8C5745B3BD@sigkill.org> (Scott Laird's message of "Fri, 17 Feb 2006 09:41:28 -0800") References: <loom.20060217T054644-109@post.gmane.org> <56BB9B60-E008-4981-882E-0D8C5745B3BD@sigkill.org> Message-ID: <m27j7ay4ng.fsf@obelisk.bofh.org.uk> Scott Laird <scott at sigkill.org> writes: > On Feb 16, 2006, at 9:06 PM, b4 wrote: > >> I'm new. I'm evaluating blog packages to use in a project. We >> have 2 key >> requirements: >> >> support for multiple blogs/users >> one instance of typo for hundreds or thousands of blogs and authors >> >> ability to do single sign-on with our core app (built on Rails) >> authentication and authorization driven from our user/permission >> model >> >> I found ticket #343 http://www.typosphere.org/trac/ticket/343. Is >> anyone >> working on this? I would rather _not_ go back to J2EE and use >> Roller. In fact, >> i would rather spend a month solving those 2 problems using typo ;~) >> >> Any thoughts? Warnings? > > A number of people have started looking at adding multi-blog support > to Typo, but no one has actually finished yet. It'll end up being > fairly invasive, but it's not undoable. I suspect that it's really > just a couple weeks' work. It's that very invasiveness that scares me certainly. And it's quite hard to think of a simple little test case to add that won't need the whole two weeks of work to make it pass. I suppose a first step would be to add a 'blog_id' entry to the contents table and make the various controllers use it... Hmm... I think it's a post 4.0 thing though. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From dom at happygiraffe.net Sat Mar 4 19:20:17 2006 From: dom at happygiraffe.net (Dominic Mitchell) Date: Sun, 5 Mar 2006 00:20:17 +0000 Subject: [typo] URLs in feeds Message-ID: <20060305002017.GA14631@gimli.happygiraffe.net> I've just found and fixed a subtle problem with typo blog. One of my readers complained that now and again, all entries in my feed would show up as "new" even though they had been read. It turned out to be a misconfiguration of my server: I was serving the same content as both http://happygiraffe.net/ and http://www.happygiraffe.net/. The trouble was that when I posted a new entry, the first person to access the feed would decide which URL was stored in the cached feed. So all my guids changed from one domain to another. I've fixed this configuration for now with some heavy handed application of mod_rewrite. But I was wondering -- should typo store the URL for the blog inside itself and use that for URL generation? I took a brief look and saw that it all boils down to Rails' url_for being called from inside article_url(). Would it be reasonable to always specify a :hostname part using another setting? That would avoid gratuitous guid changes... Thanks, -Dom From scott at sigkill.org Sat Mar 4 19:51:10 2006 From: scott at sigkill.org (Scott Laird) Date: Sat, 4 Mar 2006 16:51:10 -0800 Subject: [typo] URLs in feeds In-Reply-To: <20060305002017.GA14631@gimli.happygiraffe.net> References: <20060305002017.GA14631@gimli.happygiraffe.net> Message-ID: <14b7e5ef0603041651m32c841c7y49340432aecdfae6@mail.gmail.com> We're probably going to get something like this once multiple-blog support shows up, simply because it'll require some way of storing the base_url that goes with each blog. Other then that, though, I'm not sure if it's really worth it right now. Anyway, the current trunk doesn't use URL-based GUIDs for feeds--it generates a fixed GUID for each article and uses it instead. Scott On 3/4/06, Dominic Mitchell <dom at happygiraffe.net> wrote: > > I've just found and fixed a subtle problem with typo blog. One of my > readers complained that now and again, all entries in my feed would > show up as "new" even though they had been read. It turned out to be > a misconfiguration of my server: I was serving the same content as both > http://happygiraffe.net/ and http://www.happygiraffe.net/. The trouble > was that when I posted a new entry, the first person to access the feed > would decide which URL was stored in the cached feed. So all my guids > changed from one domain to another. > > I've fixed this configuration for now with some heavy handed > application of mod_rewrite. > > But I was wondering -- should typo store the URL for the blog inside > itself and use that for URL generation? I took a brief look and saw > that it all boils down to Rails' url_for being called from inside > article_url(). Would it be reasonable to always specify a :hostname > part using another setting? That would avoid gratuitous guid changes... > > Thanks, > -Dom > _______________________________________________ > 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/20060304/d14628ad/attachment.htm From peter.j.donald at gmail.com Sat Mar 4 20:22:45 2006 From: peter.j.donald at gmail.com (Peter Donald) Date: Sun, 5 Mar 2006 12:22:45 +1100 Subject: [typo] URLs in feeds In-Reply-To: <20060305002017.GA14631@gimli.happygiraffe.net> References: <20060305002017.GA14631@gimli.happygiraffe.net> Message-ID: <125c0c0d0603041722o2e956fc5vb34b0a16ebe55232@mail.gmail.com> Hi, On 3/5/06, Dominic Mitchell <dom at happygiraffe.net> wrote: > I've just found and fixed a subtle problem with typo blog. One of my > readers complained that now and again, all entries in my feed would > show up as "new" even though they had been read. It turned out to be > a misconfiguration of my server: I was serving the same content as both > http://happygiraffe.net/ and http://www.happygiraffe.net/. The trouble > was that when I posted a new entry, the first person to access the feed > would decide which URL was stored in the cached feed. So all my guids > changed from one domain to another. I believe this is no longer a problem in trunk typo (I believe all the guid are automagically created and stored in db). I used to have that problem but as soon as I moved to trunk it went away. Not sure if that helps or not ;/ -- Cheers, Peter Donald Blog: http://www.RealityForge.org From dom at happygiraffe.net Sun Mar 5 05:20:49 2006 From: dom at happygiraffe.net (Dominic Mitchell) Date: Sun, 5 Mar 2006 10:20:49 +0000 Subject: [typo] URLs in feeds In-Reply-To: <125c0c0d0603041722o2e956fc5vb34b0a16ebe55232@mail.gmail.com> References: <20060305002017.GA14631@gimli.happygiraffe.net> <125c0c0d0603041722o2e956fc5vb34b0a16ebe55232@mail.gmail.com> Message-ID: <20060305102049.GA25049@gimli.happygiraffe.net> On Sun, Mar 05, 2006 at 12:22:45PM +1100, Peter Donald wrote: > Hi, > > On 3/5/06, Dominic Mitchell <dom at happygiraffe.net> wrote: > > I've just found and fixed a subtle problem with typo blog. One of my > > readers complained that now and again, all entries in my feed would > > show up as "new" even though they had been read. It turned out to be > > a misconfiguration of my server: I was serving the same content as both > > http://happygiraffe.net/ and http://www.happygiraffe.net/. The trouble > > was that when I posted a new entry, the first person to access the feed > > would decide which URL was stored in the cached feed. So all my guids > > changed from one domain to another. > > I believe this is no longer a problem in trunk typo (I believe all the > guid are automagically created and stored in db). I used to have that > problem but as soon as I moved to trunk it went away. Not sure if that > helps or not ;/ No -- that's great news. I keep meaning to upgrade to trunk anyway... Thanks, -Dom From dom at happygiraffe.net Sun Mar 5 05:21:56 2006 From: dom at happygiraffe.net (Dominic Mitchell) Date: Sun, 5 Mar 2006 10:21:56 +0000 Subject: [typo] URLs in feeds In-Reply-To: <14b7e5ef0603041651m32c841c7y49340432aecdfae6@mail.gmail.com> References: <20060305002017.GA14631@gimli.happygiraffe.net> <14b7e5ef0603041651m32c841c7y49340432aecdfae6@mail.gmail.com> Message-ID: <20060305102156.GB25049@gimli.happygiraffe.net> On Sat, Mar 04, 2006 at 04:51:10PM -0800, Scott Laird wrote: > We're probably going to get something like this once multiple-blog support > shows up, simply because it'll require some way of storing the base_url that > goes with each blog. Other then that, though, I'm not sure if it's really > worth it right now. No, the change isn't worth doing immediately -- it's a small thing. But it's good to know that it will be addressed in future. > Anyway, the current trunk doesn't use URL-based GUIDs for feeds--it > generates a fixed GUID for each article and uses it instead. Thanks, -Dom From jake at whoisjake.com Sun Mar 5 19:26:53 2006 From: jake at whoisjake.com (Jake Good) Date: Sun, 05 Mar 2006 18:26:53 -0600 Subject: [typo] index caching Message-ID: <440B81CD.9050509@whoisjake.com> I've recently ran into trouble with my Typo installation. Currently my site (http://www.thoughtstoblog.com) resides at Dreamhost. I hadn't changed any configuration or any files and out of the blue the base url (handled by the index action on the articles controller) was no longer responding. I go to the base url (www.thoughtstoblog.com) and the screen is blank, with no HTML. If I head to www.thoughtstoblog.com/articles , which is the equivalent in routes.rb... it works fine. The index is not being cached and no content is being sent. I've turned it to development mode and nothing comes through at all when I hit www.thoughtstoblog.com. No messages nothing... once again, it happened out of the blue. In my panicky, potentially unwise drunken state... I did an svn update... which took me from r845 where I was.. to r876. The problem still persists... Any clues would be very helpful... I have a lot of readers who still aren't using an aggregator and they are getting blank content. I'm probably not giving you all the information that anyone would need to help me out... so feel free to request whatever is necessary :) Thanks, Jake p.s. I added a comment and changed the status of http://www.typosphere.org/trac/ticket/653 because I felt that it might be the same problem. From george.nica at gmail.com Sun Mar 5 19:42:06 2006 From: george.nica at gmail.com (George Razvan NICA) Date: Mon, 6 Mar 2006 02:42:06 +0200 Subject: [typo] index caching In-Reply-To: <440B81CD.9050509@whoisjake.com> References: <440B81CD.9050509@whoisjake.com> Message-ID: <c1290bf90603051642h6360b356t5ed0d0e994b5bff2@mail.gmail.com> Hi Jake, On 3/6/06, Jake Good <jake at whoisjake.com> wrote: > I've recently ran into trouble with my Typo installation. > > Currently my site (http://www.thoughtstoblog.com) resides at Dreamhost. > I hadn't changed any configuration or any files and out of the blue the > base url (handled by the index action on the articles controller) was no > longer responding. I go to the base url (www.thoughtstoblog.com) and the > screen is blank, with no HTML. [ snip ] FYI, everything looks fine to me. Your last post is 2 days old and _does_ show up. To keep things slightly on topic, however, I stumbled upon this kind of symptoms when running under Webrick a few times. Deleting /tmp/ruby-sess* solved the problem. Seems to be related to sessions. Not familiar with Dreamhost's setup but I guess that it's not your case. However, as specified, your blog looks OK here. -- GRN http://nano.cube.ro - starting small. going big. http://www.infinium.ro - agile IT solutions From jake at whoisjake.com Sun Mar 5 19:54:39 2006 From: jake at whoisjake.com (Jake Good) Date: Sun, 05 Mar 2006 18:54:39 -0600 Subject: [typo] index caching In-Reply-To: <c1290bf90603051642h6360b356t5ed0d0e994b5bff2@mail.gmail.com> References: <440B81CD.9050509@whoisjake.com> <c1290bf90603051642h6360b356t5ed0d0e994b5bff2@mail.gmail.com> Message-ID: <440B884F.8030406@whoisjake.com> I just now got it working again... I had made some simple modifications to the .htaccess which apparantly broke out of the blue. :: shrugs :: I just reverted my .htaccess and it's working. Now to figure out what the pesky things were in my .htaccess... Thanks for helping! Jake George Razvan NICA wrote: > Hi Jake, > > On 3/6/06, Jake Good <jake at whoisjake.com> wrote: > >> I've recently ran into trouble with my Typo installation. >> >> Currently my site (http://www.thoughtstoblog.com) resides at Dreamhost. >> I hadn't changed any configuration or any files and out of the blue the >> base url (handled by the index action on the articles controller) was no >> longer responding. I go to the base url (www.thoughtstoblog.com) and the >> screen is blank, with no HTML. >> > > [ snip ] > > FYI, everything looks fine to me. Your last post is 2 days old and > _does_ show up. > > To keep things slightly on topic, however, I stumbled upon this kind > of symptoms when running under Webrick a few times. Deleting > /tmp/ruby-sess* solved the problem. Seems to be related to sessions. > Not familiar with Dreamhost's setup but I guess that it's not your > case. > > However, as specified, your blog looks OK here. > > -- > GRN > http://nano.cube.ro - starting small. going big. > http://www.infinium.ro - agile IT solutions > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > From drcforbin at gmail.com Mon Mar 6 21:35:29 2006 From: drcforbin at gmail.com (Ryan Williams) Date: Mon, 6 Mar 2006 21:35:29 -0500 Subject: [typo] Trac Spam Message-ID: <a5bbcba40603061835y7968c4b1sbaa5bfe1e59a510f@mail.gmail.com> Could someone with admin privs on the typo trac clean up some of the comment spam in the tickets? It's getting pretty ugly in there...it may be necessary to require to a logins to comment. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060306/376e400e/attachment.htm From george.nica at gmail.com Tue Mar 7 09:15:52 2006 From: george.nica at gmail.com (George Razvan NICA) Date: Tue, 7 Mar 2006 16:15:52 +0200 Subject: [typo] Typo vs. Captcha. Message-ID: <c1290bf90603070615h192d47c2q9ba2ed03ec38d345@mail.gmail.com> Hi all, I was thinking of a solution of limiting comment spam by the use of a captcha. As far as I could see there is a nice tutorial for Captcha & Rails over at http://frankhale.org/CAPTCHA_RoR_Tutorial.html . Are there any plans of including such a thing into Typo? -- GRN http://nano.cube.ro - starting small. going big. http://www.infinium.ro - agile IT solutions From gpsnospam at gmail.com Tue Mar 7 09:29:38 2006 From: gpsnospam at gmail.com (Gary Shewan) Date: Tue, 7 Mar 2006 14:29:38 +0000 Subject: [typo] Typo vs. Captcha. In-Reply-To: <c1290bf90603070615h192d47c2q9ba2ed03ec38d345@mail.gmail.com> References: <c1290bf90603070615h192d47c2q9ba2ed03ec38d345@mail.gmail.com> Message-ID: <B8FD0930-5AC0-4649-B0EB-6A26D4CF174E@gmail.com> On 7 Mar 2006, at 14:15, George Razvan NICA wrote: > Hi all, > > I was thinking of a solution of limiting comment spam by the use of a > captcha. As far as I could see there is a nice tutorial for Captcha & > Rails over at > > http://frankhale.org/CAPTCHA_RoR_Tutorial.html . > > Are there any plans of including such a thing into Typo? > Typo doesn't really suffer from comment spam if you use the measures already built in. Not allowing non-ajax commenting is fantastic for that. Adding captcha would just be bloat and it'd be best to go the plugin route (IMO) if it was really, really wanted. From steve.longdo at gmail.com Tue Mar 7 09:29:12 2006 From: steve.longdo at gmail.com (Steve Longdo) Date: Tue, 7 Mar 2006 08:29:12 -0600 Subject: [typo] Typo vs. Captcha. In-Reply-To: <c1290bf90603070615h192d47c2q9ba2ed03ec38d345@mail.gmail.com> References: <c1290bf90603070615h192d47c2q9ba2ed03ec38d345@mail.gmail.com> Message-ID: <cc4e85f30603070629q604506b2id02391def0069772@mail.gmail.com> There is another interesting implememntation of CAPTCHA with RoR over at http://horetore.2750smult.com/blog/entry/158 I haven't had time to fully explore the merits of the two different implemenetations yet. You do have to admire the use of the AngryMidgetsPlugins namespace though :-) -Steve http://www.stevelongdo.com On 3/7/06, George Razvan NICA <george.nica at gmail.com> wrote: > > Hi all, > > I was thinking of a solution of limiting comment spam by the use of a > captcha. As far as I could see there is a nice tutorial for Captcha & > Rails over at > > http://frankhale.org/CAPTCHA_RoR_Tutorial.html . > > Are there any plans of including such a thing into Typo? > -- > GRN > http://nano.cube.ro - starting small. going big. > http://www.infinium.ro - agile IT solutions > > _______________________________________________ > 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/20060307/5318261a/attachment.htm From pdcawley at bofh.org.uk Tue Mar 7 11:11:41 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Tue, 07 Mar 2006 16:11:41 +0000 Subject: [typo] Typo vs. Captcha. In-Reply-To: <c1290bf90603070615h192d47c2q9ba2ed03ec38d345@mail.gmail.com> (George Razvan NICA's message of "Tue, 7 Mar 2006 16:15:52 +0200") References: <c1290bf90603070615h192d47c2q9ba2ed03ec38d345@mail.gmail.com> Message-ID: <m2d5gyjkua.fsf@obelisk.bofh.org.uk> "George Razvan NICA" <george.nica at gmail.com> writes: > Hi all, > > I was thinking of a solution of limiting comment spam by the use of a > captcha. As far as I could see there is a nice tutorial for Captcha & > Rails over at > > http://frankhale.org/CAPTCHA_RoR_Tutorial.html . > > Are there any plans of including such a thing into Typo? It'll be a cold day in hell before *I* implement a Captcha scheme in Typo, but I can't speak for the other maintainers. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From george.nica at gmail.com Tue Mar 7 11:24:07 2006 From: george.nica at gmail.com (George Razvan NICA) Date: Tue, 7 Mar 2006 18:24:07 +0200 Subject: [typo] Typo vs. Captcha. In-Reply-To: <m2d5gyjkua.fsf@obelisk.bofh.org.uk> References: <c1290bf90603070615h192d47c2q9ba2ed03ec38d345@mail.gmail.com> <m2d5gyjkua.fsf@obelisk.bofh.org.uk> Message-ID: <c1290bf90603070824s7a708326o45b202f75d2118ef@mail.gmail.com> > > http://frankhale.org/CAPTCHA_RoR_Tutorial.html . > > > > Are there any plans of including such a thing into Typo? > > It'll be a cold day in hell before *I* implement a Captcha scheme in > Typo, but I can't speak for the other maintainers. Maybe it's just my non-native English but I don't really get what you mean. Would you care to elaborate a little bit, please? Thanks, -- GRN http://nano.cube.ro - starting small. going big. http://www.infinium.ro - agile IT solutions From phil at cryer.us Tue Mar 7 11:26:02 2006 From: phil at cryer.us (phil) Date: Tue, 7 Mar 2006 10:26:02 -0600 Subject: [typo] Lucid theme with SVN In-Reply-To: <m2d5gyjkua.fsf@obelisk.bofh.org.uk> References: <m2d5gyjkua.fsf@obelisk.bofh.org.uk> Message-ID: <5c4708535c2096bbff4fe968243fe7c0@pepe.cryer.us> Has anyone got this working? I *love* the mint theme, it's such a nice design, but permalink/articles DO NOT work, they just blow up. I"ve tried the fix on this page [http://typoforums.org/index.php/topic,25.0.html] and changed the line to: <%= article_html(article,:body) %> but that doesn't fix it. I'm running SVN from today and it just won't work. I'm disappointed because this is an amazing theme. Looking at Jamie (thelucid.com)'s site, he hasn't updated it since 12/29/2005 so I'm afraid we may have to fix this ourselves. Has anyone got it working with SVN, or have any clues as to how to fix? (I've posted on the typo forums, I've hacked the code a bit and I've left a message with the theme's creator too...) Thanks P -- http://fak3r.com - you dont have to kick it From snowblink at gmail.com Tue Mar 7 11:55:23 2006 From: snowblink at gmail.com (Jon Lim) Date: Tue, 7 Mar 2006 16:55:23 +0000 Subject: [typo] Lucid theme with SVN In-Reply-To: <5c4708535c2096bbff4fe968243fe7c0@pepe.cryer.us> References: <m2d5gyjkua.fsf@obelisk.bofh.org.uk> <5c4708535c2096bbff4fe968243fe7c0@pepe.cryer.us> Message-ID: <751e526a0603070855n78fa1da7s@mail.gmail.com> I'm on r865 of Typo, and made this change: <div class="post-body"><%= article_html(@article) %></div> HTH. Jon -- http://www.snowblink.co.uk/ From phil at cryer.us Tue Mar 7 12:04:43 2006 From: phil at cryer.us (phil) Date: Tue, 7 Mar 2006 11:04:43 -0600 Subject: [typo] Lucid theme with SVN In-Reply-To: <751e526a0603070855n78fa1da7s@mail.gmail.com> References: <751e526a0603070855n78fa1da7s@mail.gmail.com> Message-ID: <7daefa7581184ec69d82c18bd22e9d9a@pepe.cryer.us> On Tue, 7 Mar 2006 16:55:23 +0000, "Jon Lim" <snowblink at gmail.com> wrote: > I'm on r865 of Typo, and made this change: > <div class="post-body"><%= article_html(@article) %></div> > > HTH. > Jon Thanks Jon, but if I modify lucid/views/articles/_article.rhtm: 1 <div class="post-title"><h1><%= article_link article.title, article %></h1></div> 2 <p class="auth">Posted by <%= author_link(article) %> 3 <%= js_distance_of_time_in_words_to_now article.created_at %></p> 4 <div class="post-body"><%= article_html(@article) %></div> 5 <!-- end .post-body --> I can't even load the front page of my blog: NoMethodError in Articles#index Showing themes/lucid/views/articles/_article.rhtml where line #4 raised: undefined method `html' for nil:NilClass Extracted source (around line #4): 1: <div class="post-title"><h1><%= article_link article.title, article %></h1></div> 2: <p class="auth">Posted by <%= author_link(article) %> 3: <%= js_distance_of_time_in_words_to_now article.created_at %></p> 4: <div class="post-body"><%= article_html(@article) %></div> 5: <!-- end .post-body --> Trace of template inclusion: /app/views/articles/index.rhtml RAILS_ROOT: . Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/app/helpers/application_helper.rb:128:in `article_html' #{RAILS_ROOT}/app/views/../../themes/lucid/views/articles/_article.rhtml:4 #{RAILS_ROOT}/app/helpers/application_helper.rb:26:in `render_file' #{RAILS_ROOT}/app/helpers/application_helper.rb:19:in `render_file' #{RAILS_ROOT}/app/views/./articles/index.rhtml:3 #{RAILS_ROOT}/app/views/./articles/index.rhtml:1 #{RAILS_ROOT}/app/helpers/application_helper.rb:26:in `render_file' #{RAILS_ROOT}/app/helpers/application_helper.rb:19:in `render_file' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:220:in `render' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:58:in `render_partial' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:33:in `benchmark' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:57:in `render_partial' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:655:in `render_file' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in `render_with_no_layout' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:220:in `render_without_benchmark' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render' /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in `perform_action_without_filters' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require' #{RAILS_ROOT}/script/server:3 #{RAILS_ROOT}/app/helpers/application_helper.rb:128:in `article_html' #{RAILS_ROOT}/app/views/../../themes/lucid/views/articles/_article.rhtml:4 /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file' #{RAILS_ROOT}/app/helpers/application_helper.rb:26:in `render_file' #{RAILS_ROOT}/app/helpers/application_helper.rb:19:in `render_file' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:220:in `render' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:58:in `render_partial' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:33:in `benchmark' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:57:in `render_partial' #{RAILS_ROOT}/app/views/./articles/index.rhtml:3 #{RAILS_ROOT}/app/views/./articles/index.rhtml:1 /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file' #{RAILS_ROOT}/app/helpers/application_helper.rb:26:in `render_file' #{RAILS_ROOT}/app/helpers/application_helper.rb:19:in `render_file' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:655:in `render_file' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in `render_with_no_layout' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:220:in `render_without_benchmark' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render' /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in `perform_action_without_filters' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require' #{RAILS_ROOT}/script/server:3 Request Parameters: None Show session dump --- Response Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"} I'm running r868 - hope the above points to something else I'm doing wrong, your site looks great btw! P > > -- > http://www.snowblink.co.uk/ > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list -- http://fak3r.com - you dont have to kick it From pdcawley at bofh.org.uk Tue Mar 7 13:29:09 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Tue, 07 Mar 2006 18:29:09 +0000 Subject: [typo] Typo vs. Captcha. In-Reply-To: <c1290bf90603070824s7a708326o45b202f75d2118ef@mail.gmail.com> (George Razvan NICA's message of "Tue, 7 Mar 2006 18:24:07 +0200") References: <c1290bf90603070615h192d47c2q9ba2ed03ec38d345@mail.gmail.com> <m2d5gyjkua.fsf@obelisk.bofh.org.uk> <c1290bf90603070824s7a708326o45b202f75d2118ef@mail.gmail.com> Message-ID: <m28xrmjeh6.fsf@obelisk.bofh.org.uk> "George Razvan NICA" <george.nica at gmail.com> writes: >> > http://frankhale.org/CAPTCHA_RoR_Tutorial.html . >> > >> > Are there any plans of including such a thing into Typo? >> >> It'll be a cold day in hell before *I* implement a Captcha scheme in >> Typo, but I can't speak for the other maintainers. > > Maybe it's just my non-native English but I don't really get what you > mean. Would you care to elaborate a little bit, please? I really, really don't like Captchas and I won't implement such a scheme. But I won't stop anyone else who wants to. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From steve.longdo at gmail.com Tue Mar 7 14:22:38 2006 From: steve.longdo at gmail.com (Steve Longdo) Date: Tue, 7 Mar 2006 13:22:38 -0600 Subject: [typo] Lucid theme with SVN In-Reply-To: <7daefa7581184ec69d82c18bd22e9d9a@pepe.cryer.us> References: <751e526a0603070855n78fa1da7s@mail.gmail.com> <7daefa7581184ec69d82c18bd22e9d9a@pepe.cryer.us> Message-ID: <cc4e85f30603071122j48bd9e3aib87a4ddac0034c4d@mail.gmail.com> I have it working with the following in _article.rhtml, the article_html syntax is different in Typo now: <div class="post-title"><h1><%= article_link article.title, article %></h1></div> <p class="auth">Posted by <%= author_link(article) %> <%= js_distance_of_time_in_words_to_now article.created_at %></p> <div class="post-body"> <%= article_html(article,:body) %> </div> <!-- end .post-body --> I have been trying to get Lucid to work better in IE, not too much progress. The fluid layout is really broken because of IE probs. Also the sidebar corners round, um, odd. If anyone can figure that out and share it with me it would be INCREDIBLY appreciated. -Steve http://www.stevelongdo.com On 3/7/06, phil <phil at cryer.us> wrote: > > > > On Tue, 7 Mar 2006 16:55:23 +0000, "Jon Lim" <snowblink at gmail.com> wrote: > > I'm on r865 of Typo, and made this change: > > <div class="post-body"><%= article_html(@article) %></div> > > > > HTH. > > Jon > > Thanks Jon, but if I modify lucid/views/articles/_article.rhtm: > > 1 <div class="post-title"><h1><%= article_link article.title, > article %></h1></div> > 2 <p class="auth">Posted by <%= author_link(article) %> > 3 <%= js_distance_of_time_in_words_to_now article.created_at %></p> > 4 <div class="post-body"><%= article_html(@article) %></div> > 5 <!-- end .post-body --> > > I can't even load the front page of my blog: > > NoMethodError in Articles#index > > Showing themes/lucid/views/articles/_article.rhtml where line #4 raised: > > undefined method `html' for nil:NilClass > > Extracted source (around line #4): > > 1: <div class="post-title"><h1><%= article_link article.title, article > %></h1></div> > 2: <p class="auth">Posted by <%= author_link(article) %> > 3: <%= js_distance_of_time_in_words_to_now article.created_at %></p> > 4: <div class="post-body"><%= article_html(@article) %></div> > 5: <!-- end .post-body --> > > Trace of template inclusion: /app/views/articles/index.rhtml > > RAILS_ROOT: . > Application Trace | Framework Trace | Full Trace > > #{RAILS_ROOT}/app/helpers/application_helper.rb:128:in `article_html' > #{RAILS_ROOT}/app/views/../../themes/lucid/views/articles/_article.rhtml:4 > #{RAILS_ROOT}/app/helpers/application_helper.rb:26:in `render_file' > #{RAILS_ROOT}/app/helpers/application_helper.rb:19:in `render_file' > #{RAILS_ROOT}/app/views/./articles/index.rhtml:3 > #{RAILS_ROOT}/app/views/./articles/index.rhtml:1 > #{RAILS_ROOT}/app/helpers/application_helper.rb:26:in `render_file' > #{RAILS_ROOT}/app/helpers/application_helper.rb:19:in `render_file' > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in > `compile_and_render_template' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in > `render_template' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in > `render_file' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:220:in > `render' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:58:in > `render_partial' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:33:in > `benchmark' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:57:in > `render_partial' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in > `compile_and_render_template' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in > `render_template' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in > `render_file' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:655:in > `render_file' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in > `render_with_no_layout' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:220:in > `render_without_benchmark' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in > `render' > /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in > `render' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in > `perform_action_without_filters' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in > `perform_action_without_benchmark' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in > `perform_action_without_rescue' > /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in > `perform_action_without_rescue' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in > `perform_action' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in > `process_without_session_management_support' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in > `process' > /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in > `dispatch' > /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in > `handle_dispatch' > /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in > `service' > /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' > /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' > /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' > /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' > /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start' > /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start' > /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start' > /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start' > /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in > `dispatch' > /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0 > /lib/commands/servers/webrick.rb:59 > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in > `require' > /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28 > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in > `require' > #{RAILS_ROOT}/script/server:3 > > #{RAILS_ROOT}/app/helpers/application_helper.rb:128:in `article_html' > #{RAILS_ROOT}/app/views/../../themes/lucid/views/articles/_article.rhtml:4 > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in > `compile_and_render_template' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in > `render_template' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in > `render_file' > #{RAILS_ROOT}/app/helpers/application_helper.rb:26:in `render_file' > #{RAILS_ROOT}/app/helpers/application_helper.rb:19:in `render_file' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:220:in > `render' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:58:in > `render_partial' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:33:in > `benchmark' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:57:in > `render_partial' > #{RAILS_ROOT}/app/views/./articles/index.rhtml:3 > #{RAILS_ROOT}/app/views/./articles/index.rhtml:1 > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in > `compile_and_render_template' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in > `render_template' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in > `render_file' > #{RAILS_ROOT}/app/helpers/application_helper.rb:26:in `render_file' > #{RAILS_ROOT}/app/helpers/application_helper.rb:19:in `render_file' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:655:in > `render_file' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in > `render_with_no_layout' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:220:in > `render_without_benchmark' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in > `render' > /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in > `render' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in > `perform_action_without_filters' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in > `perform_action_without_benchmark' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in > `perform_action_without_rescue' > /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in > `perform_action_without_rescue' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in > `perform_action' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in > `process_without_session_management_support' > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in > `process' > /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in > `dispatch' > /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in > `handle_dispatch' > /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in > `service' > /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' > /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' > /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' > /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' > /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start' > /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start' > /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start' > /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start' > /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in > `dispatch' > /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0 > /lib/commands/servers/webrick.rb:59 > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in > `require' > /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28 > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in > `require' > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in > `require' > #{RAILS_ROOT}/script/server:3 > > Request > > Parameters: None > > Show session dump > > --- > > Response > Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"} > > I'm running r868 - hope the above points to something else I'm doing > wrong, your site looks great btw! > > P > > > > > > > -- > > http://www.snowblink.co.uk/ > > > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > -- > http://fak3r.com - you dont have to kick it > > _______________________________________________ > 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/20060307/7625af47/attachment-0001.htm From ziplux at comcast.net Wed Mar 8 03:34:00 2006 From: ziplux at comcast.net (Jared Luxenberg) Date: Wed, 08 Mar 2006 03:34:00 -0500 Subject: [typo] Problem with upgrade from trunk 855 Message-ID: <440E96F8.8000600@comcast.net> I was running trunk 855 on my site (http://jaredcam.net/) until yesterday, when I upgraded to trunk 876. Everything went smoothly, but none of my tags had "display_name"s in the database, so the display of tags in articles was screwed up. I changed the articles_helper to use display_name or name for the link text of tags. Should my tags have display_names? - Jared From cedric at feelfree.homelinux.com Wed Mar 8 04:02:04 2006 From: cedric at feelfree.homelinux.com (cedric) Date: Wed, 8 Mar 2006 10:02:04 +0100 (CET) Subject: [typo] Problem with upgrade from trunk 855 In-Reply-To: <440E96F8.8000600@comcast.net> References: <440E96F8.8000600@comcast.net> Message-ID: <31663.212.215.1.67.1141808524.squirrel@kobayazen.ath.cx> Yes display_name needs to be filled, for me you should do in a console a=Tag.find_all a.each do |item| item.display_name=item.name item.save end it works for me! (backup your database before playing with!!!) > I was running trunk 855 on my site (http://jaredcam.net/) until > yesterday, when I upgraded to trunk 876. Everything went smoothly, but > none of my tags had "display_name"s in the database, so the display of > tags in articles was screwed up. I changed the articles_helper to use > display_name or name for the link text of tags. > > Should my tags have display_names? > > - Jared > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From kheon at comcast.net Wed Mar 8 17:05:28 2006 From: kheon at comcast.net (Kyle Heon) Date: Wed, 8 Mar 2006 17:05:28 -0500 Subject: [typo] Seeding trackback content for design purposes in development Message-ID: <200603082152.k28Lqab8017946@rubyforge.org> I'm tweaking the look and feel of my Typo installation and want to turn on trackbacks and style them in development. As I don't have any trackbacks yet what is the easiest way to get some into the database so that I can actually have data to style and work with? Kyle Heon kheon at comcast.net www.kyleheon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060308/a2f8e594/attachment.htm From jake at whoisjake.com Wed Mar 8 17:27:42 2006 From: jake at whoisjake.com (Jake Good) Date: Wed, 08 Mar 2006 16:27:42 -0600 Subject: [typo] Seeding trackback content for design purposes in development In-Reply-To: <200603082152.k28Lqab8017946@rubyforge.org> References: <200603082152.k28Lqab8017946@rubyforge.org> Message-ID: <440F5A5E.2000000@whoisjake.com> You can always write a little ruby script that does it... Just look at the trackback controller or the articles controller and see how they do it in the controller. Kyle Heon wrote: > > I'm tweaking the look and feel of my Typo installation and want to > turn on trackbacks and style them in development. As I don't have any > trackbacks yet what is the easiest way to get some into the database > so that I can actually have data to style and work with? > > Kyle Heon > kheon at comcast.net > _www.kyleheon.com_ <file://www.kyleheon.com> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From jnewland at gmail.com Wed Mar 8 17:35:01 2006 From: jnewland at gmail.com (jesse newland) Date: Wed, 8 Mar 2006 15:35:01 -0700 Subject: [typo] Seeding trackback content for design purposes in development In-Reply-To: <440F5A5E.2000000@whoisjake.com> References: <200603082152.k28Lqab8017946@rubyforge.org> <440F5A5E.2000000@whoisjake.com> Message-ID: <ab0808920603081435gf4e1d7aicfcf78bfea35a430@mail.gmail.com> For the lazy: http://www.redalt.com/External/trackback.php Jesse On 3/8/06, Jake Good <jake at whoisjake.com> wrote: > You can always write a little ruby script that does it... > > Just look at the trackback controller or the articles controller and see > how they do it in the controller. > > Kyle Heon wrote: > > > > I'm tweaking the look and feel of my Typo installation and want to > > turn on trackbacks and style them in development. As I don't have any > > trackbacks yet what is the easiest way to get some into the database > > so that I can actually have data to style and work with? > > > > Kyle Heon > > kheon at comcast.net > > _www.kyleheon.com_ <file://www.kyleheon.com> > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- jnewland at gmail.com jnewland.com AIM: jbnewland 877.333.2671 From kheon at comcast.net Wed Mar 8 18:23:15 2006 From: kheon at comcast.net (Kyle Heon) Date: Wed, 8 Mar 2006 18:23:15 -0500 Subject: [typo] Seeding trackback content for design purposes indevelopment In-Reply-To: <ab0808920603081435gf4e1d7aicfcf78bfea35a430@mail.gmail.com> Message-ID: <200603082310.k28NAPb8005599@rubyforge.org> Doh! Now I feel stupid, you can do this right through the Typo admin interface. Kyle Heon kheon at comcast.net www.kyleheon.com -----Original Message----- From: typo-list-bounces at rubyforge.org [mailto:typo-list-bounces at rubyforge.org] On Behalf Of jesse newland Sent: Wednesday, March 08, 2006 5:35 PM To: typo-list at rubyforge.org Subject: Re: [typo] Seeding trackback content for design purposes indevelopment For the lazy: http://www.redalt.com/External/trackback.php Jesse On 3/8/06, Jake Good <jake at whoisjake.com> wrote: > You can always write a little ruby script that does it... > > Just look at the trackback controller or the articles controller and > see how they do it in the controller. > > Kyle Heon wrote: > > > > I'm tweaking the look and feel of my Typo installation and want to > > turn on trackbacks and style them in development. As I don't have > > any trackbacks yet what is the easiest way to get some into the > > database so that I can actually have data to style and work with? > > > > Kyle Heon > > kheon at comcast.net > > _www.kyleheon.com_ <file://www.kyleheon.com> > > > > > > -------------------------------------------------------------------- > > ---- > > > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- jnewland at gmail.com jnewland.com AIM: jbnewland 877.333.2671 _______________________________________________ Typo-list mailing list Typo-list at rubyforge.org http://rubyforge.org/mailman/listinfo/typo-list From gpsnospam at gmail.com Sun Mar 12 11:05:29 2006 From: gpsnospam at gmail.com (Gary Shewan) Date: Sun, 12 Mar 2006 16:05:29 +0000 Subject: [typo] Trac Spam In-Reply-To: <a5bbcba40603061835y7968c4b1sbaa5bfe1e59a510f@mail.gmail.com> References: <a5bbcba40603061835y7968c4b1sbaa5bfe1e59a510f@mail.gmail.com> Message-ID: <957286C5-CD4C-4D62-B810-A34E010089E4@gmail.com> I was checking the wiki today to see how many open tickets there are, checking to see what current changes have gone through since I last did a trunk jump ... etc, etc. Preparing for the next jump basically Anyway the spam is getting a bit ridiculous isn't it? How are you contributors managing to keep track of open tickets with all that crap lying around? 305 tickets are hit just by one particular spammer: http://www.typosphere.org/trac/search?ticket=on&q=77asian.com&page=1 With the wiki moving from Tobis site is somebody not able to keep a check on this now? Gary From kevin at kubasik.net Sun Mar 12 11:56:55 2006 From: kevin at kubasik.net (Kevin Kubasik) Date: Sun, 12 Mar 2006 11:56:55 -0500 Subject: [typo] XML-RPC Backend Message-ID: <88d636060603120856g2db3e193n2591b1d0fbdc3249@mail.gmail.com> Hey, I recently started running the SVN of Typo and was fiddling withgetting a desktop client to access it via xmlrpc, however I get thefollowing error. It seems like something internal to my ruby install(mostly from gem, but on ubuntu dapper). If someone could point me inthe right direction that would be great, if its a typo issue, I'llopen a ticket in trac, but I wanted to make sure this was not just onmy machine. Cheers,Kevin Kubasik Internal protocol error: NilClass is not a valid input stream. It mustbe either a String, IO, StringIO or Source. Backtrace:/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:133:in `stream='/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:100:in `initialize'/usr/lib/ruby/1.8/rexml/parsers/streamparser.rb:6:in `initialize'/usr/lib/ruby/1.8/rexml/document.rb:173:in `parse_stream'/usr/lib/ruby/1.8/xmlrpc/parser.rb:717:in `parse'/usr/lib/ruby/1.8/xmlrpc/parser.rb:475:in `parseMethodCall'/usr/lib/ruby/1.8/xmlrpc/marshal.rb:63:in `load_call'/usr/lib/ruby/1.8/xmlrpc/marshal.rb:32:in `load_call'/usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/protocol/xmlrpc_protocol.rb:36:in`decode_request'/usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/protocol/xmlrpc_protocol.rb:32:in`decode_action_pack_request'/usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/protocol/discovery.rb:20:in`discover_web_service_request'/usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/protocol/discovery.rb:18:in`discover_web_service_request'/usr/lib/ruby/gems/1.8/gems/actionwebservice-1.0.0/lib/action_web_service/dispatcher/action_controller_dispatcher.rb:44:in`dispatch_web_service_request' (eval):1:in `xmlrpc'/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in`perform_action_without_filters'/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in`perform_action_without_benchmark'/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in`perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in`measure' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in`perform_action_without_rescue'/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in`perform_action'/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in`process_without_session_management_support'/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in`process' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in`dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in`process_request'/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in`process!' /usr/lib/ruby/1.8/fcgi.rb:600:in `each_cgi'/usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi'/usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in`process!' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in`process!' /var/www/typo/public/dispatch.fcgi:24 From gpsnospam at gmail.com Sun Mar 12 12:20:38 2006 From: gpsnospam at gmail.com (Gary Shewan) Date: Sun, 12 Mar 2006 17:20:38 +0000 Subject: [typo] Trac Spam In-Reply-To: <957286C5-CD4C-4D62-B810-A34E010089E4@gmail.com> References: <a5bbcba40603061835y7968c4b1sbaa5bfe1e59a510f@mail.gmail.com> <957286C5-CD4C-4D62-B810-A34E010089E4@gmail.com> Message-ID: <B64C9881-3B4B-4ACA-922C-565B78D2A99D@gmail.com> As a follow up to this I know there's a bit of a debate around Trac development itself regarding editing comments. You can't currently delete these spam comments unless you do it via the database. http://projects.edgewall.com/trac/ticket/454 But is it not possible to enable the permissions element that disallows anonymous editing of tickets? : http://projects.edgewall.com/trac/ticket/1396 That was implemented in changeset 1516 for Trac Just to be vindictive I also tracked down the host of those sites to see if they would shut it down ... we'll see. Jayzuz this is very much OT, but I can't be the only one getting sick of it. Gary On 12 Mar 2006, at 16:05, Gary Shewan wrote: > I was checking the wiki today to see how many open tickets there > are, checking to see what current changes have gone through since I > last did a trunk jump ... etc, etc. Preparing for the next jump > basically > > Anyway the spam is getting a bit ridiculous isn't it? How are you > contributors managing to keep track of open tickets with all that > crap lying around? 305 tickets are hit just by one particular > spammer: > > http://www.typosphere.org/trac/search?ticket=on&q=77asian.com&page=1 > > With the wiki moving from Tobis site is somebody not able to keep a > check on this now? > > Gary From steve.longdo at gmail.com Sun Mar 12 13:35:29 2006 From: steve.longdo at gmail.com (Steve Longdo) Date: Sun, 12 Mar 2006 12:35:29 -0600 Subject: [typo] Trac Spam In-Reply-To: <B64C9881-3B4B-4ACA-922C-565B78D2A99D@gmail.com> References: <a5bbcba40603061835y7968c4b1sbaa5bfe1e59a510f@mail.gmail.com> <957286C5-CD4C-4D62-B810-A34E010089E4@gmail.com> <B64C9881-3B4B-4ACA-922C-565B78D2A99D@gmail.com> Message-ID: <cc4e85f30603121035h640296e8sd0bf43e45f332489@mail.gmail.com> It would be nice if Trac could limit entries containing more than say 5 links... On 3/12/06, Gary Shewan <gpsnospam at gmail.com> wrote: > > As a follow up to this I know there's a bit of a debate around Trac > development itself regarding editing comments. You can't currently > delete these spam comments unless you do it via the database. > > http://projects.edgewall.com/trac/ticket/454 > > But is it not possible to enable the permissions element that > disallows anonymous editing of tickets? : > > http://projects.edgewall.com/trac/ticket/1396 > > That was implemented in changeset 1516 for Trac > > Just to be vindictive I also tracked down the host of those sites to > see if they would shut it down ... we'll see. > > Jayzuz this is very much OT, but I can't be the only one getting sick > of it. > > Gary > > > On 12 Mar 2006, at 16:05, Gary Shewan wrote: > > > I was checking the wiki today to see how many open tickets there > > are, checking to see what current changes have gone through since I > > last did a trunk jump ... etc, etc. Preparing for the next jump > > basically > > > > Anyway the spam is getting a bit ridiculous isn't it? How are you > > contributors managing to keep track of open tickets with all that > > crap lying around? 305 tickets are hit just by one particular > > spammer: > > > > http://www.typosphere.org/trac/search?ticket=on&q=77asian.com&page=1 > > > > With the wiki moving from Tobis site is somebody not able to keep a > > check on this now? > > > > Gary > > _______________________________________________ > 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/20060312/6bc8d9f8/attachment-0001.htm From trejkaz at trypticon.org Sun Mar 12 15:44:25 2006 From: trejkaz at trypticon.org (Trejkaz) Date: Mon, 13 Mar 2006 07:44:25 +1100 Subject: [typo] AJAX comment spam Message-ID: <200603130744.29338.trejkaz@trypticon.org> Hi all... I don't know if anyone else has noticed this lately, but there has been a lot of spam on my blog as of late even though non-AJAX commenting is disabled *and* anti-spam is enabled. Although the spam is completely useless -- it doesn't even contain a link to any site -- I'm sure it's only a matter of time until they figure out how to create links. :-/ There are a lot of trackback spams lately too. The worst thing is that I have 30 on one article in under a minute, and they're all from different IP addresses (hence blacklisting is futile.) TX -- Email: trejkaz at trypticon.org Jabber ID: trejkaz at trypticon.org Web site: http://trypticon.org/ GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F A62C B8C7 BC8B 037E EA73 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060313/87219576/attachment.bin From marco at i-marco.nl Sun Mar 12 15:50:36 2006 From: marco at i-marco.nl (Marco van Hylckama Vlieg) Date: Sun, 12 Mar 2006 21:50:36 +0100 Subject: [typo] AJAX comment spam In-Reply-To: <200603130744.29338.trejkaz@trypticon.org> References: <200603130744.29338.trejkaz@trypticon.org> Message-ID: <0B4EC9A5-5306-4547-9DD3-6EADE4860FFA@i-marco.nl> You guys might want to look into this concept I created last year: http://www.i-marco.nl/weblog/archive/2005/08/24/ trackback_spam_eliminated I NEVER get trackback spam because of this. - Marco On Mar 12, 2006, at 9:44 PM, Trejkaz wrote: > Hi all... > > I don't know if anyone else has noticed this lately, but there has > been a lot > of spam on my blog as of late even though non-AJAX commenting is > disabled > *and* anti-spam is enabled. > > Although the spam is completely useless -- it doesn't even contain > a link to > any site -- I'm sure it's only a matter of time until they figure > out how to > create links. :-/ > > There are a lot of trackback spams lately too. The worst thing is > that I have > 30 on one article in under a minute, and they're all from different IP > addresses (hence blacklisting is futile.) > > TX > > -- > Email: trejkaz at trypticon.org > Jabber ID: trejkaz at trypticon.org > Web site: http://trypticon.org/ > GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F A62C B8C7 BC8B 037E EA73 > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From scott at sigkill.org Sun Mar 12 16:28:21 2006 From: scott at sigkill.org (Scott Laird) Date: Sun, 12 Mar 2006 13:28:21 -0800 Subject: [typo] Trac Spam In-Reply-To: <cc4e85f30603121035h640296e8sd0bf43e45f332489@mail.gmail.com> References: <a5bbcba40603061835y7968c4b1sbaa5bfe1e59a510f@mail.gmail.com> <957286C5-CD4C-4D62-B810-A34E010089E4@gmail.com> <B64C9881-3B4B-4ACA-922C-565B78D2A99D@gmail.com> <cc4e85f30603121035h640296e8sd0bf43e45f332489@mail.gmail.com> Message-ID: <14b7e5ef0603121328w5f4af856j29db7a2cb34b8007@mail.gmail.com> Trac spam sucks. Trac spam that *re-opens closed tickets* sucksreally, really hard. Scott On 3/12/06, Steve Longdo <steve.longdo at gmail.com> wrote:> It would be nice if Trac could limit entries containing more than say 5> links...>>> On 3/12/06, Gary Shewan <gpsnospam at gmail.com > wrote:> > As a follow up to this I know there's a bit of a debate around Trac> > development itself regarding editing comments. You can't currently> > delete these spam comments unless you do it via the database.> >> > http://projects.edgewall.com/trac/ticket/454> >> > But is it not possible to enable the permissions element that> > disallows anonymous editing of tickets? :> >> > http://projects.edgewall.com/trac/ticket/1396> >> > That was implemented in changeset 1516 for Trac> >> > Just to be vindictive I also tracked down the host of those sites to> > see if they would shut it down ... we'll see.> >> > Jayzuz this is very much OT, but I can't be the only one getting sick> > of it.> >> > Gary> >> >> > On 12 Mar 2006, at 16:05, Gary Shewan wrote:> >> > > I was checking the wiki today to see how many open tickets there> > > are, checking to see what current changes have gone through since I> > > last did a trunk jump ... etc, etc. Preparing for the next jump> > > basically> > >> > > Anyway the spam is getting a bit ridiculous isn't it? How are you> > > contributors managing to keep track of open tickets with all that> > > crap lying around? 305 tickets are hit just by one particular> > > spammer:> > >> > >> http://www.typosphere.org/trac/search?ticket=on&q=77asian.com&page=1> > >> > > With the wiki moving from Tobis site is somebody not able to keep a> > > check on this now?> > >> > > Gary> >> > _______________________________________________> > Typo-list mailing list> > Typo-list at rubyforge.org> > http://rubyforge.org/mailman/listinfo/typo-list> >>>> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list>> From kevin at sb.org Sun Mar 12 16:39:15 2006 From: kevin at sb.org (Kevin Ballard) Date: Sun, 12 Mar 2006 13:39:15 -0800 Subject: [typo] XML-RPC Backend In-Reply-To: <88d636060603120856g2db3e193n2591b1d0fbdc3249@mail.gmail.com> References: <88d636060603120856g2db3e193n2591b1d0fbdc3249@mail.gmail.com> Message-ID: <CA88DC04-FFE9-4216-AA7A-60C28FD60811@sb.org> That looks like a problem with your setup. None of the code there is from Typo, it's all from rails+dependencies. On Mar 12, 2006, at 8:56 AM, Kevin Kubasik wrote: > Hey, I recently started running the SVN of Typo and was fiddling > withgetting a desktop client to access it via xmlrpc, however I get > thefollowing error. It seems like something internal to my ruby > install(mostly from gem, but on ubuntu dapper). If someone could > point me inthe right direction that would be great, if its a typo > issue, I'llopen a ticket in trac, but I wanted to make sure this > was not just onmy machine. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060312/54f858ef/attachment.bin From kevin at sb.org Sun Mar 12 16:41:22 2006 From: kevin at sb.org (Kevin Ballard) Date: Sun, 12 Mar 2006 13:41:22 -0800 Subject: [typo] AJAX comment spam In-Reply-To: <0B4EC9A5-5306-4547-9DD3-6EADE4860FFA@i-marco.nl> References: <200603130744.29338.trejkaz@trypticon.org> <0B4EC9A5-5306-4547-9DD3-6EADE4860FFA@i-marco.nl> Message-ID: <8F201C2E-E02C-456B-BAAA-C56009A8D691@sb.org> Huh. My impression with trackbacks was a lot of it was automated through blog software (looking at links in your post and checking them for trackback URLs). A javascript implementation like this would completely break that functionality. On Mar 12, 2006, at 12:50 PM, Marco van Hylckama Vlieg wrote: > You guys might want to look into this concept I created last year: > > http://www.i-marco.nl/weblog/archive/2005/08/24/ > trackback_spam_eliminated > > I NEVER get trackback spam because of this. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060312/5fff7081/attachment.bin From marco at i-marco.nl Sun Mar 12 16:47:54 2006 From: marco at i-marco.nl (Marco van Hylckama Vlieg) Date: Sun, 12 Mar 2006 22:47:54 +0100 Subject: [typo] AJAX comment spam In-Reply-To: <8F201C2E-E02C-456B-BAAA-C56009A8D691@sb.org> References: <200603130744.29338.trejkaz@trypticon.org> <0B4EC9A5-5306-4547-9DD3-6EADE4860FFA@i-marco.nl> <8F201C2E-E02C-456B-BAAA-C56009A8D691@sb.org> Message-ID: <A0F39740-98AC-49CF-BD7D-7390C19B3162@i-marco.nl> Nope, that's pingback. Similar to trackback, but different. Sending a trackback requires a manual action by the blogger who wants to send one. Pingback however is done automatically. - Marco On Mar 12, 2006, at 10:41 PM, Kevin Ballard wrote: > Huh. My impression with trackbacks was a lot of it was automated > through blog software (looking at links in your post and checking > them for trackback URLs). A javascript implementation like this > would completely break that functionality. > > On Mar 12, 2006, at 12:50 PM, Marco van Hylckama Vlieg wrote: > >> You guys might want to look into this concept I created last year: >> >> http://www.i-marco.nl/weblog/archive/2005/08/24/ >> trackback_spam_eliminated >> >> I NEVER get trackback spam because of this. > > -- > Kevin Ballard > kevin at sb.org > http://kevin.sb.org > http://www.tildesoft.com > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From kevin at kubasik.net Sun Mar 12 16:49:59 2006 From: kevin at kubasik.net (Kevin Kubasik) Date: Sun, 12 Mar 2006 16:49:59 -0500 Subject: [typo] XML-RPC Backend In-Reply-To: <CA88DC04-FFE9-4216-AA7A-60C28FD60811@sb.org> References: <88d636060603120856g2db3e193n2591b1d0fbdc3249@mail.gmail.com> <CA88DC04-FFE9-4216-AA7A-60C28FD60811@sb.org> Message-ID: <88d636060603121349l665b6070uf547719b865eef3f@mail.gmail.com> Ok, cool, that's what I thought. It actually seems to be an issue withwritely's implementation of the mt API. I'll file a bug with them. Cheers,Kevin Kubasik On 3/12/06, Kevin Ballard <kevin at sb.org> wrote:> That looks like a problem with your setup. None of the code there is> from Typo, it's all from rails+dependencies.>> On Mar 12, 2006, at 8:56 AM, Kevin Kubasik wrote:>> > Hey, I recently started running the SVN of Typo and was fiddling> > withgetting a desktop client to access it via xmlrpc, however I get> > thefollowing error. It seems like something internal to my ruby> > install(mostly from gem, but on ubuntu dapper). If someone could> > point me inthe right direction that would be great, if its a typo> > issue, I'llopen a ticket in trac, but I wanted to make sure this> > was not just onmy machine.>> --> Kevin Ballard> kevin at sb.org> http://kevin.sb.org> http://www.tildesoft.com>>>>> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list>>> From kevin at sb.org Sun Mar 12 17:05:55 2006 From: kevin at sb.org (Kevin Ballard) Date: Sun, 12 Mar 2006 14:05:55 -0800 Subject: [typo] AJAX comment spam In-Reply-To: <A0F39740-98AC-49CF-BD7D-7390C19B3162@i-marco.nl> References: <200603130744.29338.trejkaz@trypticon.org> <0B4EC9A5-5306-4547-9DD3-6EADE4860FFA@i-marco.nl> <8F201C2E-E02C-456B-BAAA-C56009A8D691@sb.org> <A0F39740-98AC-49CF-BD7D-7390C19B3162@i-marco.nl> Message-ID: <9D32FB83-106E-424D-87C6-65AFA88F38AA@sb.org> I've never heard a distinction there. And in that case, what's to stop trackback-spams from using "pingback" instead? On Mar 12, 2006, at 1:47 PM, Marco van Hylckama Vlieg wrote: > Nope, that's pingback. Similar to trackback, but different. > Sending a trackback requires a manual action by the blogger who wants > to send one. Pingback however is done automatically. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060312/ff28c51d/attachment-0001.bin From trejkaz at trypticon.org Sun Mar 12 17:37:37 2006 From: trejkaz at trypticon.org (Trejkaz) Date: Mon, 13 Mar 2006 09:37:37 +1100 Subject: [typo] AJAX comment spam In-Reply-To: <A0F39740-98AC-49CF-BD7D-7390C19B3162@i-marco.nl> References: <200603130744.29338.trejkaz@trypticon.org> <0B4EC9A5-5306-4547-9DD3-6EADE4860FFA@i-marco.nl> <8F201C2E-E02C-456B-BAAA-C56009A8D691@sb.org> <A0F39740-98AC-49CF-BD7D-7390C19B3162@i-marco.nl> Message-ID: <4414A2B1.2020408@trypticon.org> Marco van Hylckama Vlieg wrote: > Nope, that's pingback. Similar to trackback, but different. > Sending a trackback requires a manual action by the blogger who wants > to send one. Pingback however is done automatically. Typo seems, at least on the surface, to consider the two to be exactly the same animal. In any case, I don't think JavaScript is going to help in the long run. As I said in my original message, the spambots have now figured out how to submit blog posts even though I have non-AJAX commenting disabled. So it isn't like they're afraid of a little JavaScript anymore. We need something better. A lot of this could probably be done via some more clever integration between the admin UI and the spam blocking script. e.g.: - I receive an IM saying a new comment has been posted, which has a link to the admin interface for that article (I'm planning to patch this feature into my local branch already.) - I go into the admin interface, and hit Delete. - The delete confirmation page has a new button, "Delete and Block", which adds that IP onto the blocked list. The only other thing we can do is raise the bar some more, e.g. require OpenID authentication for all comments. But things like that, a spammer can always work around. Unfortunately, I really, really, really hate CAPTCHA setups, but that's starting to look like the only way to stop it. TX From pdcawley at bofh.org.uk Sun Mar 12 18:41:40 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Sun, 12 Mar 2006 23:41:40 +0000 Subject: [typo] AJAX comment spam In-Reply-To: <4414A2B1.2020408@trypticon.org> (trejkaz@trypticon.org's message of "Mon, 13 Mar 2006 09:37:37 +1100") References: <200603130744.29338.trejkaz@trypticon.org> <0B4EC9A5-5306-4547-9DD3-6EADE4860FFA@i-marco.nl> <8F201C2E-E02C-456B-BAAA-C56009A8D691@sb.org> <A0F39740-98AC-49CF-BD7D-7390C19B3162@i-marco.nl> <4414A2B1.2020408@trypticon.org> Message-ID: <m28xrfnscr.fsf@obelisk.bofh.org.uk> Trejkaz <trejkaz at trypticon.org> writes: > - I receive an IM saying a new comment has been posted, which has a > link to the admin interface for that article (I'm planning to patch > this feature into my local branch already.) > - I go into the admin interface, and hit Delete. > - The delete confirmation page has a new button, "Delete and Block", > which adds that IP onto the blocked list. Hmm... I've been thinking along those lines too. > The only other thing we can do is raise the bar some more, > e.g. require OpenID authentication for all comments. But things > like that, a spammer can always work around. Unfortunately, I > really, really, really hate CAPTCHA setups, but that's starting to > look like the only way to stop it. You can get round CAPTCHAs too by re-serving the captcha images as legitimate captchas on, say, your porn sites and feeding the punter's response back to the spammed site. Even if you miss the timeout 9 times out of 10, there's always another punter. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From trejkaz at trypticon.org Sun Mar 12 19:50:33 2006 From: trejkaz at trypticon.org (Trejkaz) Date: Mon, 13 Mar 2006 11:50:33 +1100 Subject: [typo] AJAX comment spam In-Reply-To: <m28xrfnscr.fsf@obelisk.bofh.org.uk> References: <200603130744.29338.trejkaz@trypticon.org> <0B4EC9A5-5306-4547-9DD3-6EADE4860FFA@i-marco.nl> <8F201C2E-E02C-456B-BAAA-C56009A8D691@sb.org> <A0F39740-98AC-49CF-BD7D-7390C19B3162@i-marco.nl> <4414A2B1.2020408@trypticon.org> <m28xrfnscr.fsf@obelisk.bofh.org.uk> Message-ID: <4414C1D9.3050309@trypticon.org> Piers Cawley wrote: >> The only other thing we can do is raise the bar some more, >> e.g. require OpenID authentication for all comments. But things >> like that, a spammer can always work around. Unfortunately, I >> really, really, really hate CAPTCHA setups, but that's starting to >> look like the only way to stop it. > > You can get round CAPTCHAs too by re-serving the captcha images as > legitimate captchas on, say, your porn sites and feeding the punter's > response back to the spammed site. Even if you miss the timeout 9 > times out of 10, there's always another punter. I'm not sure I follow you, but how does this allow a spammer to decode my CAPTCHA in order to successfully post a comment? Ultimately it would surely come down to text recognition, and if the CAPTCHA is good enough (or if it's not even text, or does something really unique) then that would make it much harder for a bot to get a comment through. Though of course, if they submit enough, then it comes down to statistics, and eventually something will get through. But perhaps by then, their IP has been auto-blacklisted. I still don't like CAPTCHAs though... at least not image-based ones. Perhaps I can follow the math problem route, or do something really unique. I remember one blog where it only asked you to enter a very large number. :-) TX From kevin at sb.org Sun Mar 12 20:30:45 2006 From: kevin at sb.org (Kevin Ballard) Date: Sun, 12 Mar 2006 17:30:45 -0800 Subject: [typo] AJAX comment spam In-Reply-To: <4414C1D9.3050309@trypticon.org> References: <200603130744.29338.trejkaz@trypticon.org> <0B4EC9A5-5306-4547-9DD3-6EADE4860FFA@i-marco.nl> <8F201C2E-E02C-456B-BAAA-C56009A8D691@sb.org> <A0F39740-98AC-49CF-BD7D-7390C19B3162@i-marco.nl> <4414A2B1.2020408@trypticon.org> <m28xrfnscr.fsf@obelisk.bofh.org.uk> <4414C1D9.3050309@trypticon.org> Message-ID: <76509FA6-83F1-4FB8-94FD-5101373869E0@sb.org> On Mar 12, 2006, at 4:50 PM, Trejkaz wrote: >> You can get round CAPTCHAs too by re-serving the captcha images as >> legitimate captchas on, say, your porn sites and feeding the punter's >> response back to the spammed site. Even if you miss the timeout 9 >> times out of 10, there's always another punter. > > I'm not sure I follow you, but how does this allow a spammer to decode > my CAPTCHA in order to successfully post a comment? The spammer, who also runs a porn site, hits up your blog, sees your captcha, copies the image and re-serves it as the captcha for someone visiting his porn site. That unknowing person successfully deciphers the captcha, and the spammer takes the result and feeds it back to the blog. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060312/cd4db1a9/attachment.bin From daejuan at gmail.com Sun Mar 12 20:53:21 2006 From: daejuan at gmail.com (Daejuan Jacobs) Date: Sun, 12 Mar 2006 19:53:21 -0600 Subject: [typo] AJAX comment spam In-Reply-To: <76509FA6-83F1-4FB8-94FD-5101373869E0@sb.org> References: <200603130744.29338.trejkaz@trypticon.org> <0B4EC9A5-5306-4547-9DD3-6EADE4860FFA@i-marco.nl> <8F201C2E-E02C-456B-BAAA-C56009A8D691@sb.org> <A0F39740-98AC-49CF-BD7D-7390C19B3162@i-marco.nl> <4414A2B1.2020408@trypticon.org> <m28xrfnscr.fsf@obelisk.bofh.org.uk> <4414C1D9.3050309@trypticon.org> <76509FA6-83F1-4FB8-94FD-5101373869E0@sb.org> Message-ID: <93b350310603121753n16a5e24bj2e95ac1b04cfc848@mail.gmail.com> Getting the image doesn't do much without the session ID. You should destory the session anyway. On 3/12/06, Kevin Ballard <kevin at sb.org> wrote: > On Mar 12, 2006, at 4:50 PM, Trejkaz wrote: > > >> You can get round CAPTCHAs too by re-serving the captcha images as > >> legitimate captchas on, say, your porn sites and feeding the punter's > >> response back to the spammed site. Even if you miss the timeout 9 > >> times out of 10, there's always another punter. > > > > I'm not sure I follow you, but how does this allow a spammer to decode > > my CAPTCHA in order to successfully post a comment? > > The spammer, who also runs a porn site, hits up your blog, sees your > captcha, copies the image and re-serves it as the captcha for someone > visiting his porn site. That unknowing person successfully deciphers > the captcha, and the spammer takes the result and feeds it back to > the blog. > > -- > Kevin Ballard > kevin at sb.org > http://kevin.sb.org > http://www.tildesoft.com > > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > > -- Man Wit Da Plan. http://d-jacobs.com From trejkaz at trypticon.org Sun Mar 12 21:05:44 2006 From: trejkaz at trypticon.org (Trejkaz) Date: Mon, 13 Mar 2006 13:05:44 +1100 Subject: [typo] AJAX comment spam In-Reply-To: <93b350310603121753n16a5e24bj2e95ac1b04cfc848@mail.gmail.com> References: <200603130744.29338.trejkaz@trypticon.org> <0B4EC9A5-5306-4547-9DD3-6EADE4860FFA@i-marco.nl> <8F201C2E-E02C-456B-BAAA-C56009A8D691@sb.org> <A0F39740-98AC-49CF-BD7D-7390C19B3162@i-marco.nl> <4414A2B1.2020408@trypticon.org> <m28xrfnscr.fsf@obelisk.bofh.org.uk> <4414C1D9.3050309@trypticon.org> <76509FA6-83F1-4FB8-94FD-5101373869E0@sb.org> <93b350310603121753n16a5e24bj2e95ac1b04cfc848@mail.gmail.com> Message-ID: <4414D378.3040302@trypticon.org> Daejuan Jacobs wrote: >> The spammer, who also runs a porn site, hits up your blog, sees your >> captcha, copies the image and re-serves it as the captcha for someone >> visiting his porn site. That unknowing person successfully deciphers >> the captcha, and the spammer takes the result and feeds it back to >> the blog. > Getting the image doesn't do much without the session ID. You should > destory the session anyway. I see. This is like using Google Answers, Yahoo Answers, or any given clone thereof. All the bot has to do is make a call-out to some abstract service which answers the question, and that service just uploads the image to practically anywhere they can find someone to decipher it. A porn site could host the same service, but of course, this assumes the porn site has enough traffic for there to be a user online who would be willing to do this for free. As soon as you start paying someone money, then it costs to spam, and that's probably against most spammers' ethics. It would work though, assuming such a bored user exists. And I mean, any user with more than 10,000 kills on The Kill Everyone Project probably fits into this category. Gives me a neat idea for a new web site which does nothing but feed the users images to decode. Of course, I wouldn't do it for cracking other CAPTCHAs, purely to see just how bored users get. ;-) TX From kevin at sb.org Sun Mar 12 21:09:34 2006 From: kevin at sb.org (Kevin Ballard) Date: Sun, 12 Mar 2006 18:09:34 -0800 Subject: [typo] AJAX comment spam In-Reply-To: <93b350310603121753n16a5e24bj2e95ac1b04cfc848@mail.gmail.com> References: <200603130744.29338.trejkaz@trypticon.org> <0B4EC9A5-5306-4547-9DD3-6EADE4860FFA@i-marco.nl> <8F201C2E-E02C-456B-BAAA-C56009A8D691@sb.org> <A0F39740-98AC-49CF-BD7D-7390C19B3162@i-marco.nl> <4414A2B1.2020408@trypticon.org> <m28xrfnscr.fsf@obelisk.bofh.org.uk> <4414C1D9.3050309@trypticon.org> <76509FA6-83F1-4FB8-94FD-5101373869E0@sb.org> <93b350310603121753n16a5e24bj2e95ac1b04cfc848@mail.gmail.com> Message-ID: <7FC65A07-CC7D-4B59-8670-4AF455BA044E@sb.org> Uhh, what? The spammer serves back the result in the same session they got the captcha in the first place. This is an automated process so it has the potential to be fast enough. On Mar 12, 2006, at 5:53 PM, Daejuan Jacobs wrote: > Getting the image doesn't do much without the session ID. You should > destory the session anyway. > > On 3/12/06, Kevin Ballard <kevin at sb.org> wrote: >> On Mar 12, 2006, at 4:50 PM, Trejkaz wrote: >> >>>> You can get round CAPTCHAs too by re-serving the captcha images as >>>> legitimate captchas on, say, your porn sites and feeding the >>>> punter's >>>> response back to the spammed site. Even if you miss the timeout 9 >>>> times out of 10, there's always another punter. >>> >>> I'm not sure I follow you, but how does this allow a spammer to >>> decode >>> my CAPTCHA in order to successfully post a comment? >> >> The spammer, who also runs a porn site, hits up your blog, sees your >> captcha, copies the image and re-serves it as the captcha for someone >> visiting his porn site. That unknowing person successfully deciphers >> the captcha, and the spammer takes the result and feeds it back to >> the blog. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060312/e727e768/attachment.bin From lrtitze at mac.com Sun Mar 12 21:20:52 2006 From: lrtitze at mac.com (Leslie Titze) Date: Sun, 12 Mar 2006 20:20:52 -0600 Subject: [typo] No cache directory error? Message-ID: <p06110400c03a840fe208@[192.168.0.100]> Could anyone point me to a solution for this? I'm trying to start over again using trunk rails and have proceeded as usual (for 2.6.0 and earlier) but when I get to the admin interface and press the "Save My Settings" button, I get the following error: Errno::ENOENT in Admin/general#update No such file or directory - ./cache RAILS_ROOT: . Application Trace | Framework Trace | Full Trace /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/caching.rb:448:in `open' <snip>... #{RAILS_ROOT}/app/models/blog_sweeper.rb:16:in `expire_for' #{RAILS_ROOT}/app/models/blog_sweeper.rb:5:in `after_save' #{RAILS_ROOT}/app/controllers/admin/general_controller.rb:28:in `update' I've searched for any mention of "./cache" but have so far drawn a blank. Thanks in advance, Leslie From trejkaz at trypticon.org Sun Mar 12 21:52:54 2006 From: trejkaz at trypticon.org (Trejkaz) Date: Mon, 13 Mar 2006 13:52:54 +1100 Subject: [typo] No cache directory error? In-Reply-To: <p06110400c03a840fe208@[192.168.0.100]> References: <p06110400c03a840fe208@[192.168.0.100]> Message-ID: <4414DE86.1060509@trypticon.org> Leslie Titze wrote: > Could anyone point me to a solution for this? As you might expect, creating the "cache" directory inside the Rails root solves this (perhaps Typo could add the cache directory to the repository so that people don't have to think when doing an install.) TX From kevin at sb.org Sun Mar 12 21:57:02 2006 From: kevin at sb.org (Kevin Ballard) Date: Sun, 12 Mar 2006 18:57:02 -0800 Subject: [typo] No cache directory error? In-Reply-To: <p06110400c03a840fe208@[192.168.0.100]> References: <p06110400c03a840fe208@[192.168.0.100]> Message-ID: <CAD91FB3-FD8A-4A8D-ABAF-4966509CFF3D@sb.org> Sounds like the Typo process doesn't have permissions to create a cache directory in the root of Typo. You should either create the directory or give the Typo process permission to do so. Oh, and edge rails doesn't work with Typo right now. Stick with Rails 1.0 On Mar 12, 2006, at 6:20 PM, Leslie Titze wrote: > Could anyone point me to a solution for this? > > I'm trying to start over again using trunk rails and have proceeded > as usual (for 2.6.0 and earlier) but when I get to the admin > interface and press the "Save My Settings" button, I get the > following error: > > > Errno::ENOENT in Admin/general#update > No such file or directory - ./cache > > RAILS_ROOT: . > Application Trace | Framework Trace | Full Trace > /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ > action_controller/caching.rb:448:in `open' > <snip>... > #{RAILS_ROOT}/app/models/blog_sweeper.rb:16:in `expire_for' > #{RAILS_ROOT}/app/models/blog_sweeper.rb:5:in `after_save' > #{RAILS_ROOT}/app/controllers/admin/general_controller.rb:28:in > `update' > > > I've searched for any mention of "./cache" but have so far drawn a > blank. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060312/2ee79b55/attachment.bin From daejuan at gmail.com Mon Mar 13 00:22:54 2006 From: daejuan at gmail.com (Daejuan Jacobs) Date: Sun, 12 Mar 2006 23:22:54 -0600 Subject: [typo] AJAX comment spam In-Reply-To: <7FC65A07-CC7D-4B59-8670-4AF455BA044E@sb.org> References: <200603130744.29338.trejkaz@trypticon.org> <0B4EC9A5-5306-4547-9DD3-6EADE4860FFA@i-marco.nl> <8F201C2E-E02C-456B-BAAA-C56009A8D691@sb.org> <A0F39740-98AC-49CF-BD7D-7390C19B3162@i-marco.nl> <4414A2B1.2020408@trypticon.org> <m28xrfnscr.fsf@obelisk.bofh.org.uk> <4414C1D9.3050309@trypticon.org> <76509FA6-83F1-4FB8-94FD-5101373869E0@sb.org> <93b350310603121753n16a5e24bj2e95ac1b04cfc848@mail.gmail.com> <7FC65A07-CC7D-4B59-8670-4AF455BA044E@sb.org> Message-ID: <93b350310603122122q48e1b2abyd6d0f6de8b418eaa@mail.gmail.com> I see what you're saying, but if my server deletes the session after you access the page to get the image (or timeout), than what you're tying to server me is invalid. On 3/12/06, Kevin Ballard <kevin at sb.org> wrote: > Uhh, what? The spammer serves back the result in the same session > they got the captcha in the first place. This is an automated process > so it has the potential to be fast enough. > > On Mar 12, 2006, at 5:53 PM, Daejuan Jacobs wrote: > > > Getting the image doesn't do much without the session ID. You should > > destory the session anyway. > > > > On 3/12/06, Kevin Ballard <kevin at sb.org> wrote: > >> On Mar 12, 2006, at 4:50 PM, Trejkaz wrote: > >> > >>>> You can get round CAPTCHAs too by re-serving the captcha images as > >>>> legitimate captchas on, say, your porn sites and feeding the > >>>> punter's > >>>> response back to the spammed site. Even if you miss the timeout 9 > >>>> times out of 10, there's always another punter. > >>> > >>> I'm not sure I follow you, but how does this allow a spammer to > >>> decode > >>> my CAPTCHA in order to successfully post a comment? > >> > >> The spammer, who also runs a porn site, hits up your blog, sees your > >> captcha, copies the image and re-serves it as the captcha for someone > >> visiting his porn site. That unknowing person successfully deciphers > >> the captcha, and the spammer takes the result and feeds it back to > >> the blog. > > -- > Kevin Ballard > kevin at sb.org > http://kevin.sb.org > http://www.tildesoft.com > > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > > -- Man Wit Da Plan. http://d-jacobs.com From daejuan at gmail.com Mon Mar 13 00:24:50 2006 From: daejuan at gmail.com (Daejuan Jacobs) Date: Sun, 12 Mar 2006 23:24:50 -0600 Subject: [typo] No cache directory error? In-Reply-To: <4414DE86.1060509@trypticon.org> References: <p06110400c03a840fe208@192.168.0.100> <4414DE86.1060509@trypticon.org> Message-ID: <93b350310603122124g521eaf3em97a80483253362d3@mail.gmail.com> The cache is physically in the repo, but it's set to "ignore". Simply creating the "cache" directory and making it writable during the intial install will suffice. On 3/12/06, Trejkaz <trejkaz at trypticon.org> wrote: > Leslie Titze wrote: > > Could anyone point me to a solution for this? > > As you might expect, creating the "cache" directory inside the Rails > root solves this (perhaps Typo could add the cache directory to the > repository so that people don't have to think when doing an install.) > > TX > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Man Wit Da Plan. http://d-jacobs.com From kevin at sb.org Mon Mar 13 02:02:49 2006 From: kevin at sb.org (Kevin Ballard) Date: Sun, 12 Mar 2006 23:02:49 -0800 Subject: [typo] AJAX comment spam In-Reply-To: <93b350310603122122q48e1b2abyd6d0f6de8b418eaa@mail.gmail.com> References: <200603130744.29338.trejkaz@trypticon.org> <0B4EC9A5-5306-4547-9DD3-6EADE4860FFA@i-marco.nl> <8F201C2E-E02C-456B-BAAA-C56009A8D691@sb.org> <A0F39740-98AC-49CF-BD7D-7390C19B3162@i-marco.nl> <4414A2B1.2020408@trypticon.org> <m28xrfnscr.fsf@obelisk.bofh.org.uk> <4414C1D9.3050309@trypticon.org> <76509FA6-83F1-4FB8-94FD-5101373869E0@sb.org> <93b350310603121753n16a5e24bj2e95ac1b04cfc848@mail.gmail.com> <7FC65A07-CC7D-4B59-8670-4AF455BA044E@sb.org> <93b350310603122122q48e1b2abyd6d0f6de8b418eaa@mail.gmail.com> Message-ID: <EA9FACE7-26B3-4E4A-BE45-9E2DD12B8E31@sb.org> Yes, that's called a timeout. And Piers Cawley had it right when he said > Even if you miss the timeout 9 times out of 10, there's always > another punter. There's no way for you to know, serverside, whether the access is by a spammer or by a real user, so as long as the spammer gets an answer to his captcha fast enough he can spam your blog with impunity. On Mar 12, 2006, at 9:22 PM, Daejuan Jacobs wrote: > I see what you're saying, but if my server deletes the session after > you access the page to get the image (or timeout), than what you're > tying to server me is invalid. > > On 3/12/06, Kevin Ballard <kevin at sb.org> wrote: >> Uhh, what? The spammer serves back the result in the same session >> they got the captcha in the first place. This is an automated process >> so it has the potential to be fast enough. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060312/07066902/attachment.bin From rsanheim at gmail.com Mon Mar 13 12:42:58 2006 From: rsanheim at gmail.com (Rob Sanheim) Date: Mon, 13 Mar 2006 11:42:58 -0600 Subject: [typo] Trac Spam In-Reply-To: <B64C9881-3B4B-4ACA-922C-565B78D2A99D@gmail.com> References: <a5bbcba40603061835y7968c4b1sbaa5bfe1e59a510f@mail.gmail.com> <957286C5-CD4C-4D62-B810-A34E010089E4@gmail.com> <B64C9881-3B4B-4ACA-922C-565B78D2A99D@gmail.com> Message-ID: <fc113d400603130942h9a8ed28l98c37d848a9df883@mail.gmail.com> On 3/12/06, Gary Shewan <gpsnospam at gmail.com> wrote: > As a follow up to this I know there's a bit of a debate around Trac > development itself regarding editing comments. You can't currently > delete these spam comments unless you do it via the database. > > http://projects.edgewall.com/trac/ticket/454 > > But is it not possible to enable the permissions element that > disallows anonymous editing of tickets? : > > http://projects.edgewall.com/trac/ticket/1396 > > That was implemented in changeset 1516 for Trac > > Just to be vindictive I also tracked down the host of those sites to > see if they would shut it down ... we'll see. > > Jayzuz this is very much OT, but I can't be the only one getting sick > of it. > > Gary I don't see how this is off topic - it directly effects the health of typo and it reflects poorly if the change control system is flooded with spam. - Rob -- http://www.robsanheim.com/ http://www.ajaxian.com/ From arvind at grovernetwork.com Mon Mar 13 22:46:40 2006 From: arvind at grovernetwork.com (arvind s grover) Date: Mon, 13 Mar 2006 22:46:40 -0500 Subject: [typo] adding digg and delicious bookmark buttons to articles In-Reply-To: <mailman.12509.1141368358.8261.typo-list@rubyforge.org> References: <mailman.12509.1141368358.8261.typo-list@rubyforge.org> Message-ID: <47C9FE8F-2D83-458E-9CCA-F910F56B823E@grovernetwork.com> I found this helpful page that tells you how to add little links at the bottom of your posts for readers to bookmark in del.icio.us, digg.com and other bookmarking sites: http://www.exploding-boy.com/ 2006/01/09/add-links-for-delicious-digg-and-more-to-blog-posts/ i am trying to figure out where to put these so they show up at the end of my posts on: http://www.21apples.org I am using the Good as Gold theme, not sure if that matters. Should I be looking in /app/models or in the themes folder or somewhere else? Any help would be appreciated. Obviously I need to change the Wordpress specific parts of the code to Ruby specific, and could use help on that too. If people reply, I will write it up for the Typo wiki. here is an example of the del.icio.us and digg codes: del.icio.us: http://del.icio.us/post?url=<?php the_permalink() ? >&title=<?php the_title()?>; digg: http://digg.com/submit?phase=2&URL="<?php the_permalink() ?> thanks, arvind From steve.longdo at gmail.com Tue Mar 14 00:39:44 2006 From: steve.longdo at gmail.com (Steve Longdo) Date: Mon, 13 Mar 2006 23:39:44 -0600 Subject: [typo] adding digg and delicious bookmark buttons to articles In-Reply-To: <47C9FE8F-2D83-458E-9CCA-F910F56B823E@grovernetwork.com> References: <mailman.12509.1141368358.8261.typo-list@rubyforge.org> <47C9FE8F-2D83-458E-9CCA-F910F56B823E@grovernetwork.com> Message-ID: <cc4e85f30603132139p1d0356f4x71dc23579fc5d42a@mail.gmail.com> If your theme contains views/article/_article.rhtml you will want to make the change there. Should be a simple <%=h article.permalink -%> and <%=h article.title -%> to get the data you need then. I am not sure if your theme will have the _article partial or not, if not you can add one in and try it out (model it after app/views/articles/_article.rhtml). Typically it is called from the theme/views/article/index.rhtml as <%= render_partial "article", article %>. -Steve On 3/13/06, arvind s grover <arvind at grovernetwork.com> wrote: > > I found this helpful page that tells you how to add little links at > the bottom of your posts for readers to bookmark in del.icio.us, > digg.com and other bookmarking sites: http://www.exploding-boy.com/ > 2006/01/09/add-links-for-delicious-digg-and-more-to-blog-posts/ > > i am trying to figure out where to put these so they show up at the > end of my posts on: http://www.21apples.org > > I am using the Good as Gold theme, not sure if that matters. Should I > be looking in /app/models or in the themes folder or somewhere else? > Any help would be appreciated. Obviously I need to change the > Wordpress specific parts of the code to Ruby specific, and could use > help on that too. If people reply, I will write it up for the Typo wiki. > > here is an example of the del.icio.us and digg codes: > del.icio.us: http://del.icio.us/post?url=<?php the_permalink() ? > >&title=<?php the_title()?>; > digg: http://digg.com/submit?phase=2&URL="<?php the_permalink() ?> > > thanks, > arvind > _______________________________________________ > 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/20060313/016acbd4/attachment-0001.htm From psq at nanorails.com Tue Mar 14 01:21:56 2006 From: psq at nanorails.com (Pascal) Date: Tue, 14 Mar 2006 06:21:56 +0000 (UTC) Subject: [typo] adding digg and delicious bookmark buttons to articles References: <mailman.12509.1141368358.8261.typo-list@rubyforge.org> <47C9FE8F-2D83-458E-9CCA-F910F56B823E@grovernetwork.com> Message-ID: <loom.20060314T070717-854@post.gmane.org> arvind s grover <arvind <at> grovernetwork.com> writes: > > I found this helpful page that tells you how to add little links at > the bottom of your posts for readers to bookmark in del.icio.us, > digg.com and other bookmarking sites: http://www.exploding-boy.com/ > 2006/01/09/add-links-for-delicious-digg-and-more-to-blog-posts/ > > i am trying to figure out where to put these so they show up at the > end of my posts on: http://www.21apples.org > > I am using the Good as Gold theme, not sure if that matters. Should I > be looking in /app/models or in the themes folder or somewhere else? > Any help would be appreciated. Obviously I need to change the > Wordpress specific parts of the code to Ruby specific, and could use > help on that too. If people reply, I will write it up for the Typo wiki. > > here is an example of the del.icio.us and digg codes: > del.icio.us: http://del.icio.us/post?url=<?php the_permalink() ? > >&title=<?php the_title()?>; > digg: http://digg.com/submit?phase=2&URL="<?php the_permalink() ?> > > thanks, > arvind > Arwind, I have created a small sidebar plugin to do just that. If there is only one article, it lets the user bookrmark it on up to 12 services (the list of services is configurable in the admin section. Otherwise, it bookmarks the whole site. My initial goal was not to have to patch typo, and this achieves the goal. For the next version, I'll be looking at posting these at the end of each article, but this may have to require a patch of typo that I'll try to keep to a minimum. Here's where you can download it: http://blog.nanorails.com/articles/2006/03/10/release-0-2-of-bookmarkit-plugin-for-typo Thanks, Pascal. From kvanderauwera at gmail.com Tue Mar 14 03:56:49 2006 From: kvanderauwera at gmail.com (Koen Van der Auwera) Date: Tue, 14 Mar 2006 09:56:49 +0100 Subject: [typo] adding digg and delicious bookmark buttons to articles In-Reply-To: <loom.20060314T070717-854@post.gmane.org> References: <mailman.12509.1141368358.8261.typo-list@rubyforge.org> <47C9FE8F-2D83-458E-9CCA-F910F56B823E@grovernetwork.com> <loom.20060314T070717-854@post.gmane.org> Message-ID: <53f0709b0603140056k75fc09fg7329e8486077c395@mail.gmail.com> Pascal, I would like to check it out but the download link seems to be broken. Koen. On 3/14/06, Pascal <psq at nanorails.com> wrote: > > > arvind s grover <arvind <at> grovernetwork.com> writes: > > > > > I found this helpful page that tells you how to add little links at > > the bottom of your posts for readers to bookmark in del.icio.us, > > digg.com and other bookmarking sites: http://www.exploding-boy.com/ > > 2006/01/09/add-links-for-delicious-digg-and-more-to-blog-posts/ > > > > i am trying to figure out where to put these so they show up at the > > end of my posts on: http://www.21apples.org > > > > I am using the Good as Gold theme, not sure if that matters. Should I > > be looking in /app/models or in the themes folder or somewhere else? > > Any help would be appreciated. Obviously I need to change the > > Wordpress specific parts of the code to Ruby specific, and could use > > help on that too. If people reply, I will write it up for the Typo wiki. > > > > here is an example of the del.icio.us and digg codes: > > del.icio.us: http://del.icio.us/post?url=<?php the_permalink() ? > > >&title=<?php the_title()?>; > > digg: http://digg.com/submit?phase=2&URL="<?php the_permalink() ?> > > > > thanks, > > arvind > > > > Arwind, > > I have created a small sidebar plugin to do just that. If there is only > one > article, it lets the user bookrmark it on up to 12 services (the list of > services is configurable in the admin section. Otherwise, it bookmarks > the > whole site. > > My initial goal was not to have to patch typo, and this achieves the > goal. For > the next version, I'll be looking at posting these at the end of each > article, > but this may have to require a patch of typo that I'll try to keep to a > minimum. > > Here's where you can download it: > > http://blog.nanorails.com/articles/2006/03/10/release-0-2-of-bookmarkit-plugin-for-typo > > Thanks, > Pascal. > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Koen. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060314/f54d75c3/attachment.htm From phil at cryer.us Tue Mar 14 13:17:28 2006 From: phil at cryer.us (phil) Date: Tue, 14 Mar 2006 12:17:28 -0600 Subject: [typo] adding digg and delicious bookmark buttons to articles In-Reply-To: <53f0709b0603140056k75fc09fg7329e8486077c395@mail.gmail.com> References: <53f0709b0603140056k75fc09fg7329e8486077c395@mail.gmail.com> Message-ID: <8b72d6ee2609480632ab4cd4392dbbdc@pepe.cryer.us> Here's another example of exactly what you're talking about, just not in Typo: http://aymanh.com/tips-to-secure-linux-workstation Perhaps that would shed some clues. P On Tue, 14 Mar 2006 09:56:49 +0100, "Koen Van der Auwera" <kvanderauwera at gmail.com> wrote: > Pascal, > > I would like to check it out but the download link seems to be broken. > > Koen. > > On 3/14/06, Pascal <psq at nanorails.com> wrote: >> >> >> arvind s grover <arvind <at> grovernetwork.com> writes: >> >> > >> > I found this helpful page that tells you how to add little links at >> > the bottom of your posts for readers to bookmark in del.icio.us, >> > digg.com and other bookmarking sites: http://www.exploding-boy.com/ >> > 2006/01/09/add-links-for-delicious-digg-and-more-to-blog-posts/ >> > >> > i am trying to figure out where to put these so they show up at the >> > end of my posts on: http://www.21apples.org >> > >> > I am using the Good as Gold theme, not sure if that matters. Should I >> > be looking in /app/models or in the themes folder or somewhere else? >> > Any help would be appreciated. Obviously I need to change the >> > Wordpress specific parts of the code to Ruby specific, and could use >> > help on that too. If people reply, I will write it up for the Typo > wiki. >> > >> > here is an example of the del.icio.us and digg codes: >> > del.icio.us: http://del.icio.us/post?url=<?php the_permalink() ? >> > >&title=<?php the_title()?>; >> > digg: http://digg.com/submit?phase=2&URL="<?php the_permalink() ?> >> > >> > thanks, >> > arvind >> > >> >> Arwind, >> >> I have created a small sidebar plugin to do just that. If there is only >> one >> article, it lets the user bookrmark it on up to 12 services (the list of >> services is configurable in the admin section. Otherwise, it bookmarks >> the >> whole site. >> >> My initial goal was not to have to patch typo, and this achieves the >> goal. For >> the next version, I'll be looking at posting these at the end of each >> article, >> but this may have to require a patch of typo that I'll try to keep to a >> minimum. >> >> Here's where you can download it: >> >> > http://blog.nanorails.com/articles/2006/03/10/release-0-2-of-bookmarkit-plugin-for-typo >> >> Thanks, >> Pascal. >> >> >> _______________________________________________ >> Typo-list mailing list >> Typo-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/typo-list >> > > > > -- http://fak3r.com - you dont have to kick it From mail at paulhart.ca Tue Mar 14 16:20:57 2006 From: mail at paulhart.ca (Paul Hart) Date: Tue, 14 Mar 2006 16:20:57 -0500 Subject: [typo] Heads-Up: Attempted typo login attack Message-ID: <441733B9.9030704@paulhart.ca> Hi all, I was looking through my server logs a couple of days ago and noticed that I my blog (redchocolate.ca) was the victim of a short attack against my login page (/accounts/login). It wasn't very successful, as all the requests were GET requests, but there were 40 hits over 5 minutes. The attack was from 13/Mar/2006:16:06:53 to 13/Mar/2006:16:11:42 (times UTC). The request IP address was 66.17.15.154, which resolves to: 66-17-15-154.security.lightspeedsystems.com Apparently these folks are in the internet security industry. I wonder why they were so interested in that page. The browser signature suggest IE6: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50215 Maybe they were hacked ;) Paul From gpsnospam at gmail.com Wed Mar 15 05:39:38 2006 From: gpsnospam at gmail.com (Gary Shewan) Date: Wed, 15 Mar 2006 10:39:38 +0000 Subject: [typo] Heads-Up: Attempted typo login attack In-Reply-To: <441733B9.9030704@paulhart.ca> References: <441733B9.9030704@paulhart.ca> Message-ID: <CD6B245A-3A74-491C-B90F-8F8E8437A2C9@gmail.com> On 14 Mar 2006, at 21:20, Paul Hart wrote: > Hi all, > > I was looking through my server logs a couple of days ago and noticed > that I my blog (redchocolate.ca) was the victim of a short attack > against my login page (/accounts/login). > > It wasn't very successful, as all the requests were GET requests, but > there were 40 hits over 5 minutes. The attack was from > 13/Mar/2006:16:06:53 to 13/Mar/2006:16:11:42 (times UTC). > > The request IP address was 66.17.15.154, which resolves to: > > 66-17-15-154.security.lightspeedsystems.com > > Apparently these folks are in the internet security industry. I wonder > why they were so interested in that page. > > The browser signature suggest IE6: > > Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR > 1.1.4322; .NET CLR 2.0.50215 > > Maybe they were hacked ;) > > Paul > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list If they were trying to login then you'd see POST attempts. Probably just a spider gone a bit mad. Good to keep an eye on it anyway. I've noticed an increase in comment spamming attempts lately which are Typo targeted and not just a generic blog engine attacks, but I have non-ajax commenting disabled ... which is proving bulletproof right now. Gary From csaba-ml at creo.hu Wed Mar 15 05:47:39 2006 From: csaba-ml at creo.hu (Csaba Henk) Date: Wed, 15 Mar 2006 10:47:39 +0000 (UTC) Subject: [typo] multi-db typo cache problems Message-ID: <slrne1fs5m.18h.csaba@beastie.creo.hu> Hi! I'm using typo on Lighttpd + FastCGI (recent snapshot, namely r762). It serves more than one db, using the trick described at http://sg.validcode.at/articles/2005/12/04/how-to-host-multiple-blogs-with-on-typo-installation I had to disable caching, because Typo reuses the cache contents regardless of switching between blogs, so you get one blogger's blog when you'd like to see the blog of another one. Even so, parts of blog content (eg., title/subtitle field) will be slightly mixed when asking for one's blog after the other's, and the real blog will be seen only after a browser refresh. (Notes here: - no, it's not browser cache, I tested with two distinct browser instances; - if I had caching enabled, browser refresh wouldn't help either. ) Moreover, if I ask for a nonexistent blog (db table) foo (via the appropriate subdomain), I get a mysql error. That's OK, but from that on Typo just keeps on whining that "can't connect database foo" (even if I want to access existing blogs). (Yeah, as a workaround I can get the webserver allow only subdomains where there is an existing blog, but I'd prefer to keep config orthogonal, that is, there should be exactly one thing to modify in order to add a new blog, ie. add a new MySQL table). Can you give me advice how to solve these? Regards, Csaba From csaba-ml at creo.hu Wed Mar 15 06:03:51 2006 From: csaba-ml at creo.hu (Csaba Henk) Date: Wed, 15 Mar 2006 11:03:51 +0000 (UTC) Subject: [typo] multi-db typo cache problems References: <slrne1fs5m.18h.csaba@beastie.creo.hu> Message-ID: <slrne1ft41.18h.csaba@beastie.creo.hu> On 2006-03-15, Csaba Henk <csaba-ml at creo.hu> wrote: > I'm using typo on Lighttpd + FastCGI (recent snapshot, namely r762). It And it's r876. Why on earth do I see "Typo r762" at the bottom of the admin interface? Regards, Csaba From kevin at kubasik.net Wed Mar 15 08:23:22 2006 From: kevin at kubasik.net (Kevin Kubasik) Date: Wed, 15 Mar 2006 08:23:22 -0500 Subject: [typo] Trackbacks Message-ID: <88d636060603150523q49ebe99wbfd63e0b7b7ee8f8@mail.gmail.com> Does typo have a system for issuing a trackback of its own? IE I justblogged about a friends post and want to leave a trackback, is thispossible through typo? --Cheers,Kevin Kubasikhttp://blog.kubasik.net/ From scott at sigkill.org Wed Mar 15 09:11:09 2006 From: scott at sigkill.org (Scott Laird) Date: Wed, 15 Mar 2006 06:11:09 -0800 Subject: [typo] Trackbacks In-Reply-To: <88d636060603150523q49ebe99wbfd63e0b7b7ee8f8@mail.gmail.com> References: <88d636060603150523q49ebe99wbfd63e0b7b7ee8f8@mail.gmail.com> Message-ID: <14b7e5ef0603150611u6045f82cjd81923ed15401e21@mail.gmail.com> The current trunk does, older versions don't. Scott On 3/15/06, Kevin Kubasik <kevin at kubasik.net> wrote:> Does typo have a system for issuing a trackback of its own? IE I justblogged about a friends post and want to leave a trackback, is thispossible through typo?> --Cheers,Kevin Kubasikhttp://blog.kubasik.net/> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list> From scott at sigkill.org Wed Mar 15 09:12:30 2006 From: scott at sigkill.org (Scott Laird) Date: Wed, 15 Mar 2006 06:12:30 -0800 Subject: [typo] multi-db typo cache problems In-Reply-To: <slrne1ft41.18h.csaba@beastie.creo.hu> References: <slrne1fs5m.18h.csaba@beastie.creo.hu> <slrne1ft41.18h.csaba@beastie.creo.hu> Message-ID: <14b7e5ef0603150612r3ff23938i933b0417741d0260@mail.gmail.com> The version string is broken. It's been fixed, sort of, in newer versions. Scott On 3/15/06, Csaba Henk <csaba-ml at creo.hu> wrote:> On 2006-03-15, Csaba Henk <csaba-ml at creo.hu> wrote:> > I'm using typo on Lighttpd + FastCGI (recent snapshot, namely r762). It>> And it's r876. Why on earth do I see "Typo r762" at the bottom of the> admin interface?>> Regards,> Csaba>> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list> From scott at sigkill.org Wed Mar 15 09:19:59 2006 From: scott at sigkill.org (Scott Laird) Date: Wed, 15 Mar 2006 06:19:59 -0800 Subject: [typo] multi-db typo cache problems In-Reply-To: <slrne1fs5m.18h.csaba@beastie.creo.hu> References: <slrne1fs5m.18h.csaba@beastie.creo.hu> Message-ID: <14b7e5ef0603150619k5696095occ94932caeb7c93c@mail.gmail.com> Wow, this one's new to me. The cache *should* work if you're using a version of Typo new enoughto use the action cache. The hostname should be part of the cachekey. Take a look at vendor/plugins/expiring_action_cache and add somedebugging code to see what's happening. Frankly, the multi-blog DB connect code in that post is kind ofhideous. It needs more error checking, and it really ought to cacheDB connections or something--as it is, it looks like it'll do a newconnection for every hit. There are a couple people working on moving multi-blog support intothe core of Typo, but I don't know when we'll see working code--itmight be today, it might be next year. Scott On 3/15/06, Csaba Henk <csaba-ml at creo.hu> wrote:> Hi!>> I'm using typo on Lighttpd + FastCGI (recent snapshot, namely r762). It> serves more than one db, using the trick described at>> http://sg.validcode.at/articles/2005/12/04/how-to-host-multiple-blogs-with-on-typo-installation>> I had to disable caching, because Typo reuses the cache contents> regardless of switching between blogs, so you get one blogger's blog> when you'd like to see the blog of another one. Even so, parts of blog> content (eg., title/subtitle field) will be slightly mixed when asking> for one's blog after the other's, and the real blog will be seen only> after a browser refresh. (Notes here:>> - no, it's not browser cache, I tested with two distinct browser> instances;> - if I had caching enabled, browser refresh wouldn't help either.>> )>> Moreover, if I ask for a nonexistent blog (db table) foo (via the> appropriate subdomain), I get a mysql error. That's OK, but from that on> Typo just keeps on whining that "can't connect database foo" (even if I> want to access existing blogs). (Yeah, as a workaround I can get the> webserver allow only subdomains where there is an existing blog, but I'd> prefer to keep config orthogonal, that is, there should be exactly one> thing to modify in order to add a new blog, ie. add a new MySQL table).>> Can you give me advice how to solve these?>> Regards,> Csaba>> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list> From scott at sigkill.org Wed Mar 15 09:19:59 2006 From: scott at sigkill.org (Scott Laird) Date: Wed, 15 Mar 2006 06:19:59 -0800 Subject: [typo] multi-db typo cache problems In-Reply-To: <slrne1fs5m.18h.csaba@beastie.creo.hu> References: <slrne1fs5m.18h.csaba@beastie.creo.hu> Message-ID: <14b7e5ef0603150619k5696095occ94932caeb7c93c@mail.gmail.com> Wow, this one's new to me. The cache *should* work if you're using a version of Typo new enoughto use the action cache. The hostname should be part of the cachekey. Take a look at vendor/plugins/expiring_action_cache and add somedebugging code to see what's happening. Frankly, the multi-blog DB connect code in that post is kind ofhideous. It needs more error checking, and it really ought to cacheDB connections or something--as it is, it looks like it'll do a newconnection for every hit. There are a couple people working on moving multi-blog support intothe core of Typo, but I don't know when we'll see working code--itmight be today, it might be next year. Scott On 3/15/06, Csaba Henk <csaba-ml at creo.hu> wrote:> Hi!>> I'm using typo on Lighttpd + FastCGI (recent snapshot, namely r762). It> serves more than one db, using the trick described at>> http://sg.validcode.at/articles/2005/12/04/how-to-host-multiple-blogs-with-on-typo-installation>> I had to disable caching, because Typo reuses the cache contents> regardless of switching between blogs, so you get one blogger's blog> when you'd like to see the blog of another one. Even so, parts of blog> content (eg., title/subtitle field) will be slightly mixed when asking> for one's blog after the other's, and the real blog will be seen only> after a browser refresh. (Notes here:>> - no, it's not browser cache, I tested with two distinct browser> instances;> - if I had caching enabled, browser refresh wouldn't help either.>> )>> Moreover, if I ask for a nonexistent blog (db table) foo (via the> appropriate subdomain), I get a mysql error. That's OK, but from that on> Typo just keeps on whining that "can't connect database foo" (even if I> want to access existing blogs). (Yeah, as a workaround I can get the> webserver allow only subdomains where there is an existing blog, but I'd> prefer to keep config orthogonal, that is, there should be exactly one> thing to modify in order to add a new blog, ie. add a new MySQL table).>> Can you give me advice how to solve these?>> Regards,> Csaba>> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list> From smountcastle at gmail.com Wed Mar 15 11:27:59 2006 From: smountcastle at gmail.com (Sean Mountcastle) Date: Wed, 15 Mar 2006 11:27:59 -0500 Subject: [typo] const_missing when loading sidebar_controller Message-ID: <c4d54c6f0603150827t4e28d62cx76053b742dfd879b@mail.gmail.com> Has anyone else seen this issue in their development log for Typo? Normally, the side bar still renders ok, but since I have a before_filter in my ApplicationController that sets up a variable which the SidebarController is using now the sidebar fails to renderer. Any ideas why Ruby cannot find the ApplicationController when loading the SidebarController? From the stack trace below it looks like I might have a circular dependency -- its started to load ApplicationController but the trace is as follows: ApplicationController has "model :account" Account has "has_many :sidebars, :order => "controller ASC", :class_name => "Sidebar", :foreign_key => 'account_id'" Sidebar has "require_dependency 'sidebars/sidebar_controller'" SidebarController is a subclass of ApplicationController Any ideas on how to get around this while still keeping the has_many relationship with Account? NameError (uninitialized constant ApplicationController): /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:200:in `const_missing' /components/sidebars/sidebar_controllerrb:1 /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:207:in `load' /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:39:in `require_or_load' /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:22:in `depend_on' /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:178:in `require_dependency' /app/models/sidebarrb:1 /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:207:in `load' /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:39:in `require_or_load' /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:22:in `depend_on' /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:30:in `associate_with' /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:179:in `require_association' /usr/lib/ruby/gems/18/gems/activerecord-1132/lib/active_record/associationsrb:780:in `require_association_class' /usr/lib/ruby/gems/18/gems/activerecord-1132/lib/active_record/associationsrb:355:in `has_many_without_reflection' (eval):5:in `has_many' /app/models/accountrb:17 /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:207:in `load' /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:39:in `require_or_load' /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:22:in `depend_on' /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:178:in `require_dependency' /usr/lib/ruby/gems/18/gems/actionpack-1112/lib/action_controller/dependenciesrb:72:in `require_dependencies' /usr/lib/ruby/gems/18/gems/actionpack-1112/lib/action_controller/dependenciesrb:70:in `require_dependencies' /usr/lib/ruby/gems/18/gems/actionpack-1112/lib/action_controller/dependenciesrb:35:in `model' /app/controllers/applicationrb:6 /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:207:in `load' /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:39:in `require_or_load' /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:22:in `depend_on' /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:178:in `require_dependency' /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:134:in `load_file!' /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:97:in `const_load!' /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:80:in `const_load!' /usr/lib/ruby/gems/18/gems/rails-100/lib/dispatcherrb:71:in `prepare_application' /usr/lib/ruby/gems/18/gems/rails-100/lib/dispatcherrb:37:in `dispatch' /usr/lib/ruby/gems/18/gems/rails-100/lib/webrick_serverrb:117:in `handle_dispatch' /usr/lib/ruby/gems/18/gems/rails-100/lib/webrick_serverrb:83:in `service' /usr/lib/ruby/18/webrick/httpserverrb:104:in `service' /usr/lib/ruby/18/webrick/httpserverrb:65:in `run' /usr/lib/ruby/18/webrick/serverrb:173:in `start_thread' /usr/lib/ruby/18/webrick/serverrb:162:in `start_thread' /usr/lib/ruby/18/webrick/serverrb:95:in `start' /usr/lib/ruby/18/webrick/serverrb:92:in `start' /usr/lib/ruby/18/webrick/serverrb:23:in `start' /usr/lib/ruby/18/webrick/serverrb:82:in `start' /usr/lib/ruby/gems/18/gems/rails-100/lib/webrick_serverrb:69:in `dispatch' /usr/lib/ruby/gems/18/gems/rails-100/lib/commands/servers/webrickrb:59 /usr/lib/ruby/site_ruby/18/rubygems/custom_requirerb:21:in `require' /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:214:in `require' /usr/lib/ruby/gems/18/gems/rails-100/lib/commands/serverrb:28 /usr/lib/ruby/site_ruby/18/rubygems/custom_requirerb:21:in `require' /usr/lib/ruby/gems/18/gems/activesupport-125/lib/active_support/dependenciesrb:214:in `require' /script/server:3 From kevin at kubasik.net Wed Mar 15 14:39:58 2006 From: kevin at kubasik.net (Kevin Kubasik) Date: Wed, 15 Mar 2006 14:39:58 -0500 Subject: [typo] Trackbacks In-Reply-To: <14b7e5ef0603150611u6045f82cjd81923ed15401e21@mail.gmail.com> References: <88d636060603150523q49ebe99wbfd63e0b7b7ee8f8@mail.gmail.com> <14b7e5ef0603150611u6045f82cjd81923ed15401e21@mail.gmail.com> Message-ID: <88d636060603151139l21b2864cifcbb259ed26c8058@mail.gmail.com> Hey, I'm running the current trunk, however, is there a way to inputmanual trackback address? AKAblog.kubasik.net/catagory/post-title/trackback (the wordpress scheme)I have posted links to several blogs, however none of them haverecognized the trackback. Cheers,Kevin Kubasik On 3/15/06, Scott Laird <scott at sigkill.org> wrote:> The current trunk does, older versions don't.>> Scott> On 3/15/06, Kevin Kubasik <kevin at kubasik.net> wrote:> Does typo have a system for issuing a trackback of its own? IE I justblogged about a friends post and want to leave a trackback, is thispossible through typo?> --Cheers,Kevin Kubasikhttp://blog.kubasik.net/> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list>> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list> --Cheers,Kevin Kubasikhttp://blog.kubasik.net/ From kheon at comcast.net Wed Mar 15 19:45:18 2006 From: kheon at comcast.net (Kyle Heon) Date: Wed, 15 Mar 2006 19:45:18 -0500 Subject: [typo] Theme overrides Message-ID: <200603160032.k2G0WTd3011702@rubyforge.org> Forgive me if this is a dumb question but how does one override the layout at the controller level when using a theme? I want to create a different layout for the article detail (the read action). I've tried using the following without any luck: render :layout => "read" render :layout => "layouts/read" Thanks in advance. Kyle Heon kheon at comcast.net www.kyleheon.com From kevin at sb.org Wed Mar 15 22:04:37 2006 From: kevin at sb.org (Kevin Ballard) Date: Wed, 15 Mar 2006 19:04:37 -0800 Subject: [typo] Theme overrides In-Reply-To: <200603160032.k2G0WTd3011702@rubyforge.org> References: <200603160032.k2G0WTd3011702@rubyforge.org> Message-ID: <CBE9AE19-73D4-4084-813C-2C2ADDC37982@sb.org> It's called a view, not a layout. Try looking along those lines. On Mar 15, 2006, at 4:45 PM, Kyle Heon wrote: > Forgive me if this is a dumb question but how does one override the > layout > at the controller level when using a theme? > > I want to create a different layout for the article detail (the read > action). > > I've tried using the following without any luck: > > render :layout => "read" > render :layout => "layouts/read" > > Thanks in advance. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060315/db2462f5/attachment.bin From kheon at comcast.net Wed Mar 15 22:42:52 2006 From: kheon at comcast.net (Kyle Heon) Date: Wed, 15 Mar 2006 22:42:52 -0500 Subject: [typo] Theme overrides In-Reply-To: <CBE9AE19-73D4-4084-813C-2C2ADDC37982@sb.org> Message-ID: <200603160330.k2G3U3d3020752@rubyforge.org> I am already overriding the "read" view as it is. What I need to do now is also override the over arching layout. I have a layout named default that is used for everything currently, but now I want to create a different layout for the article detail. Kyle Heon kheon at comcast.net www.kyleheon.com -----Original Message----- From: Kevin Ballard [mailto:kevin at sb.org] Sent: Wednesday, March 15, 2006 10:05 PM To: kheon at comcast.net; typo-list at rubyforge.org Subject: Re: [typo] Theme overrides It's called a view, not a layout. Try looking along those lines. On Mar 15, 2006, at 4:45 PM, Kyle Heon wrote: > Forgive me if this is a dumb question but how does one override the > layout at the controller level when using a theme? > > I want to create a different layout for the article detail (the read > action). > > I've tried using the following without any luck: > > render :layout => "read" > render :layout => "layouts/read" > > Thanks in advance. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com From vanweerd at gmail.com Wed Mar 15 22:44:50 2006 From: vanweerd at gmail.com (Nicholas Van Weerdenburg) Date: Wed, 15 Mar 2006 22:44:50 -0500 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <43D5B9EA.8020304@dangerousideas.com> References: <43D1E5B1.8040404@dangerousideas.com> <slrndt4kur.11p.justus@kiyone.ryoohki.net> <43D28076.8030604@dangerousideas.com> <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> <43D3D28F.5070604@dangerousideas.com> <p06230912bffac85de497@192.168.1.103> <43D5AFA8.6020406@gmail.com> <43D5B9EA.8020304@dangerousideas.com> Message-ID: <632154f70603151944w69b5bc96y8581b7b78f260680@mail.gmail.com> On 1/24/06, jennyw <jennyw at dangerousideas.com> wrote: > > edavis10 at gmail.com wrote: > > >Stephen Bannasch wrote: > > > > > > > >>According to Julik (a textdrive sysadmin) his experience is that most > >> > >> > >rails apps take between 20-70MB -- 50MB is right in the middle of this > >range. Elsewhere in the posting linked below he talks about minimizing > >the number of fcgi listeners. > > > > > That was written a while ago ... I don't know if things have changed, > but Jason is now saying their Rails apps take up 25-30 MB. > > The thing is, 50 MB might or might not be right -- it's hard to judge > without knowing what Typo is loading. But if other applications can be > around 30 MB (including mine), then that extra 20 MB should be for > something that justifies that much memory. Right now, I'm not sure what > you could load that would take up 20 MB to display a few pages. If it's > intentional, we should document it, but it might not be intentional, in > which case it deserves a look. > > By the way, the behavior of my Typo is interesting. When it first runs, > it's around 30MB (before any controllers are invoked). After the first > page load, it goes up to 50MB. I load a bunch of pages and it's still > at 50 MB. A day or so later, it'll be at 52 MB (during the time I've > checked, it hasn't been up for more than about a day), and I'm pretty > sure that no pages besides the ones I loaded earlier are being hit. > > >(All of this is moot when I noticed mysqld is taking over 121MB and only > >powers my Typo installs) > > > > > Now that's pretty intersting, also. How many Ruby processes do you have > running at once? > > Jen > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > I have the same result- starting at 26MB and jumping to 46MB after 1 or 2 page loads. Any more recent progress on this topic? Textdrive keeps killing my typo processes. Thanks, Nick -- Nicholas Van Weerdenburg -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060315/2441bd06/attachment-0001.htm From kevin at sb.org Wed Mar 15 22:58:22 2006 From: kevin at sb.org (Kevin Ballard) Date: Wed, 15 Mar 2006 19:58:22 -0800 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <632154f70603151944w69b5bc96y8581b7b78f260680@mail.gmail.com> References: <43D1E5B1.8040404@dangerousideas.com> <slrndt4kur.11p.justus@kiyone.ryoohki.net> <43D28076.8030604@dangerousideas.com> <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> <43D3D28F.5070604@dangerousideas.com> <p06230912bffac85de497@192.168.1.103> <43D5AFA8.6020406@gmail.com> <43D5B9EA.8020304@dangerousideas.com> <632154f70603151944w69b5bc96y8581b7b78f260680@mail.gmail.com> Message-ID: <0087C21E-625E-49D7-98A7-553B9EF821D0@sb.org> I see everybody throwing around a single number, but memory isn't just a single number. There's actually 4 components - real and virtual memory, and private vs. shared for each. What I tend to see is about 25MB of real memory (that's shared + private) and 25MB of virtual memory when I check my installation. What would be even more important would be the real *private* memory, that's how much RAM is dedicated to that process alone (shared includes things like loaded libraries and such, memory that's shared between processes), but I'm not sure the proper switches for `ps ` to get that with the OS running on my host. On Mar 15, 2006, at 7:44 PM, Nicholas Van Weerdenburg wrote: > The thing is, 50 MB might or might not be right -- it's hard to judge > without knowing what Typo is loading. But if other applications can be > around 30 MB (including mine), then that extra 20 MB should be for > something that justifies that much memory. Right now, I'm not sure > what > you could load that would take up 20 MB to display a few pages. If > it's > intentional, we should document it, but it might not be > intentional, in > which case it deserves a look. > > By the way, the behavior of my Typo is interesting. When it first > runs, > it's around 30MB (before any controllers are invoked). After the first > page load, it goes up to 50MB. I load a bunch of pages and it's still > at 50 MB. A day or so later, it'll be at 52 MB (during the time I've > checked, it hasn't been up for more than about a day), and I'm pretty > sure that no pages besides the ones I loaded earlier are being hit. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060315/5f266ac2/attachment.bin From kevin at sb.org Wed Mar 15 22:55:39 2006 From: kevin at sb.org (Kevin Ballard) Date: Wed, 15 Mar 2006 19:55:39 -0800 Subject: [typo] Theme overrides In-Reply-To: <200603160330.k2G3U3d3020752@rubyforge.org> References: <200603160330.k2G3U3d3020752@rubyforge.org> Message-ID: <CBCC648C-8726-40B8-A3C8-D0D45C916409@sb.org> Oh. That would be done at the controller level. I don't think there's any way to affect this with the current themeing system. On Mar 15, 2006, at 7:42 PM, Kyle Heon wrote: > I am already overriding the "read" view as it is. What I need to do > now is > also override the over arching layout. I have a layout named > default that is > used for everything currently, but now I want to create a different > layout > for the article detail. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060315/ecc43560/attachment.bin From froderman at gmail.com Thu Mar 16 02:29:06 2006 From: froderman at gmail.com (Jason Froderman) Date: Thu, 16 Mar 2006 01:29:06 -0600 Subject: [typo] Theme Modification Needed: Pay $200 Message-ID: <1dda5dfbbd9a8a009985289cd12d6535@gmail.com> I need some modifications to the stock azure theme on a typo blog. For someone that has played with typo/rails, it should be really easy. I'm behind on my flash development and don't have the time to program it. All images/design will be provided. The theme needs to be tweaked with certain things repositioned. The most complicated thing is to create a static menu to appear in the sidebar that uses an unordered list and figures out what page it's on... Want more info? Email me: jason-- at --froderman.com Pay: $200 Deadline can be negotiated...quicker the better. Thanks everybody. Thanks to all that have contributed...I love typo...I love rails. From kevin at sb.org Thu Mar 16 02:42:02 2006 From: kevin at sb.org (Kevin Ballard) Date: Wed, 15 Mar 2006 23:42:02 -0800 Subject: [typo] Theme Modification Needed: Pay $200 In-Reply-To: <1dda5dfbbd9a8a009985289cd12d6535@gmail.com> References: <1dda5dfbbd9a8a009985289cd12d6535@gmail.com> Message-ID: <CDA255CC-06DF-49C0-B989-6EDE402514B4@sb.org> On Mar 15, 2006, at 11:29 PM, Jason Froderman wrote: > I need some modifications to the stock azure theme on a typo blog. > For > someone that has played with typo/rails, it should be really easy. > I'm > behind on my flash development and don't have the time to program it. > All images/design will be provided. The theme needs to be tweaked > with > certain things repositioned. The most complicated thing is to > create a > static menu to appear in the sidebar that uses an unordered list and > figures out what page it's on... Note: figuring out what page it's on requires typo trunk and the new :request_params parameter to the sidebar. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060315/29fbdb91/attachment.bin From csaba-ml at creo.hu Thu Mar 16 04:27:36 2006 From: csaba-ml at creo.hu (Csaba Henk) Date: Thu, 16 Mar 2006 09:27:36 +0000 (UTC) Subject: [typo] multi-db typo cache problems References: <slrne1fs5m.18h.csaba@beastie.creo.hu> <14b7e5ef0603150619k5696095occ94932caeb7c93c@mail.gmail.com> Message-ID: <slrne1ibri.18h.csaba@beastie.creo.hu> On 2006-03-15, Scott Laird <scott at sigkill.org> wrote: > Wow, this one's new to me. The cache *should* work if you're using a > version of Typo new enoughto use the action cache. The hostname > should be part of the cachekey. Take a look at > vendor/plugins/expiring_action_cache and add somedebugging code to see > what's happening. I see. I don't have time for debugging it now (I hoped I can get along with utilizing someone's expertise :)). I'll look back when I get to the point that I can devote time for it. > Frankly, the multi-blog DB connect code in that > post is kind ofhideous. It needs more error checking, and it really > ought to cacheDB connections or something--as it is, it looks like > it'll do a newconnection for every hit. Yeah, that's pathetic... > There are a couple people > working on moving multi-blog support intothe core of Typo, but I don't > know when we'll see working code--itmight be today, it might be next > year. I hope for the best... Thanks for the answers, I at least have some picture now :) Regards, Csaba From smountcastle at gmail.com Thu Mar 16 12:17:31 2006 From: smountcastle at gmail.com (Sean Mountcastle) Date: Thu, 16 Mar 2006 12:17:31 -0500 Subject: [typo] Switching theme support in Typo to Liquid? Message-ID: <c4d54c6f0603160917y6020701fh37e70d58b79748bb@mail.gmail.com> Has anyone investigated the amount of work required to switch the theme support in Typo to Liquid (http://home.leetsoft.com/liquid)? I realize there are a large number of themes out there which Typo would like to continue to support, but while investigating multiple blog support for Typo, I thought the non-evaling/security features of Liquid would be very nice to have. As far as the multi-blog support in Typo, I haven't had much time to devote to it, but my most recent set of changes ran into a bit of a roadblock with the sidebar controller/components (see my email sent yesterday). Regards, Sean From denovich at gmail.com Thu Mar 16 13:16:58 2006 From: denovich at gmail.com (Mark Denovich) Date: Thu, 16 Mar 2006 13:16:58 -0500 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <632154f70603151944w69b5bc96y8581b7b78f260680@mail.gmail.com> References: <43D1E5B1.8040404@dangerousideas.com> <slrndt4kur.11p.justus@kiyone.ryoohki.net> <43D28076.8030604@dangerousideas.com> <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> <43D3D28F.5070604@dangerousideas.com> <p06230912bffac85de497@192.168.1.103> <43D5AFA8.6020406@gmail.com> <43D5B9EA.8020304@dangerousideas.com> <632154f70603151944w69b5bc96y8581b7b78f260680@mail.gmail.com> Message-ID: <9e9c2ccb0603161016g764221a9wb500246bbfd2146a@mail.gmail.com> Textdrive kept nuking my Typo install too. I nixed the Flickr sidebar, and that's helped keep my process lean enough to survive more than a couple days. Running trunk with the Azure theme. --Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060316/ddaf042e/attachment.htm From vanweerd at gmail.com Thu Mar 16 14:21:40 2006 From: vanweerd at gmail.com (Nicholas Van Weerdenburg) Date: Thu, 16 Mar 2006 14:21:40 -0500 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <0087C21E-625E-49D7-98A7-553B9EF821D0@sb.org> References: <43D1E5B1.8040404@dangerousideas.com> <slrndt4kur.11p.justus@kiyone.ryoohki.net> <43D28076.8030604@dangerousideas.com> <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> <43D3D28F.5070604@dangerousideas.com> <p06230912bffac85de497@192.168.1.103> <43D5AFA8.6020406@gmail.com> <43D5B9EA.8020304@dangerousideas.com> <632154f70603151944w69b5bc96y8581b7b78f260680@mail.gmail.com> <0087C21E-625E-49D7-98A7-553B9EF821D0@sb.org> Message-ID: <632154f70603161121g10f588b1pca4b836323e842ba@mail.gmail.com> Hi, My virtual and real memory tend to track together on textdrive. virtual/real startup 33088 29692 stabilizes around: 49312 43756 Not sure about the private/shared aspect. Regards. Nick On 3/15/06, Kevin Ballard <kevin at sb.org> wrote: > > I see everybody throwing around a single number, but memory isn't > just a single number. There's actually 4 components - real and > virtual memory, and private vs. shared for each. What I tend to see > is about 25MB of real memory (that's shared + private) and 25MB of > virtual memory when I check my installation. What would be even more > important would be the real *private* memory, that's how much RAM is > dedicated to that process alone (shared includes things like loaded > libraries and such, memory that's shared between processes), but I'm > not sure the proper switches for `ps ` to get that with the OS > running on my host. > > On Mar 15, 2006, at 7:44 PM, Nicholas Van Weerdenburg wrote: > > > The thing is, 50 MB might or might not be right -- it's hard to judge > > without knowing what Typo is loading. But if other applications can be > > around 30 MB (including mine), then that extra 20 MB should be for > > something that justifies that much memory. Right now, I'm not sure > > what > > you could load that would take up 20 MB to display a few pages. If > > it's > > intentional, we should document it, but it might not be > > intentional, in > > which case it deserves a look. > > > > By the way, the behavior of my Typo is interesting. When it first > > runs, > > it's around 30MB (before any controllers are invoked). After the first > > page load, it goes up to 50MB. I load a bunch of pages and it's still > > at 50 MB. A day or so later, it'll be at 52 MB (during the time I've > > checked, it hasn't been up for more than about a day), and I'm pretty > > sure that no pages besides the ones I loaded earlier are being hit. > > -- > Kevin Ballard > kevin at sb.org > http://kevin.sb.org > http://www.tildesoft.com > > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > > -- Nicholas Van Weerdenburg -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060316/adbcef39/attachment-0001.htm From vanweerd at gmail.com Thu Mar 16 14:22:35 2006 From: vanweerd at gmail.com (Nicholas Van Weerdenburg) Date: Thu, 16 Mar 2006 14:22:35 -0500 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <9e9c2ccb0603161016g764221a9wb500246bbfd2146a@mail.gmail.com> References: <43D1E5B1.8040404@dangerousideas.com> <slrndt4kur.11p.justus@kiyone.ryoohki.net> <43D28076.8030604@dangerousideas.com> <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> <43D3D28F.5070604@dangerousideas.com> <p06230912bffac85de497@192.168.1.103> <43D5AFA8.6020406@gmail.com> <43D5B9EA.8020304@dangerousideas.com> <632154f70603151944w69b5bc96y8581b7b78f260680@mail.gmail.com> <9e9c2ccb0603161016g764221a9wb500246bbfd2146a@mail.gmail.com> Message-ID: <632154f70603161122n5312c956v5a563730ba7551c2@mail.gmail.com> I'll try dropping the plugins, as they aren't being used. Any caveats for safely doing so? One poster mentioned dropping them, but not seeing a signifcant improvate. Thanks, Nick On 3/16/06, Mark Denovich <denovich at gmail.com> wrote: > > Textdrive kept nuking my Typo install too. I nixed the Flickr sidebar, > and that's helped keep my process lean enough to survive more than a couple > days. > > Running trunk with the Azure theme. > > --Mark > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > -- Nicholas Van Weerdenburg -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060316/f8303631/attachment.htm From vanweerd at gmail.com Thu Mar 16 14:24:22 2006 From: vanweerd at gmail.com (Nicholas Van Weerdenburg) Date: Thu, 16 Mar 2006 14:24:22 -0500 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <632154f70603161122n5312c956v5a563730ba7551c2@mail.gmail.com> References: <43D1E5B1.8040404@dangerousideas.com> <43D28076.8030604@dangerousideas.com> <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> <43D3D28F.5070604@dangerousideas.com> <p06230912bffac85de497@192.168.1.103> <43D5AFA8.6020406@gmail.com> <43D5B9EA.8020304@dangerousideas.com> <632154f70603151944w69b5bc96y8581b7b78f260680@mail.gmail.com> <9e9c2ccb0603161016g764221a9wb500246bbfd2146a@mail.gmail.com> <632154f70603161122n5312c956v5a563730ba7551c2@mail.gmail.com> Message-ID: <632154f70603161124x4df25343rb4d2d5becd75439a@mail.gmail.com> Someone else also mentioned that scgi might be more memory friendly then fastcgi. Anyone have any experience with this? Thanks, Nick On 3/16/06, Nicholas Van Weerdenburg <vanweerd at gmail.com> wrote: > > I'll try dropping the plugins, as they aren't being used. > > Any caveats for safely doing so? One poster mentioned dropping them, but > not seeing a signifcant improvate. > > Thanks, > Nick > > On 3/16/06, Mark Denovich <denovich at gmail.com> wrote: > > > Textdrive kept nuking my Typo install too. I nixed the Flickr sidebar, > and that's helped keep my process lean enough to survive more than a couple > days. > > Running trunk with the Azure theme. > > --Mark > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > > > > -- > Nicholas Van Weerdenburg > -- Nicholas Van Weerdenburg -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060316/02e61254/attachment.htm From jake at whoisjake.com Thu Mar 16 14:34:32 2006 From: jake at whoisjake.com (Jake Good) Date: Thu, 16 Mar 2006 13:34:32 -0600 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <632154f70603161122n5312c956v5a563730ba7551c2@mail.gmail.com> References: <43D1E5B1.8040404@dangerousideas.com> <slrndt4kur.11p.justus@kiyone.ryoohki.net> <43D28076.8030604@dangerousideas.com> <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> <43D3D28F.5070604@dangerousideas.com> <p06230912bffac85de497@192.168.1.103> <43D5AFA8.6020406@gmail.com> <43D5B9EA.8020304@dangerousideas.com> <632154f70603151944w69b5bc96y8581b7b78f260680@mail.gmail.com> <9e9c2ccb0603161016g764221a9wb500246bbfd2146a@mail.gmail.com> <632154f70603161122n5312c956v5a563730ba7551c2@mail.gmail.com> Message-ID: <4419BDC8.7040706@whoisjake.com> You could always set each FCGI process to recycle after X number of requests... ... in your dispatch.fcgi ... RailsFCGIHandler.process! *nil, 10* That might help out with ensuring things are getting cleaned up when they aren't needed anymore. Nicholas Van Weerdenburg wrote: > I'll try dropping the plugins, as they aren't being used. > > Any caveats for safely doing so? One poster mentioned dropping them, > but not seeing a signifcant improvate. > > Thanks, > Nick > > On 3/16/06, *Mark Denovich* <denovich at gmail.com > <mailto:denovich at gmail.com>> wrote: > > Textdrive kept nuking my Typo install too. I nixed the Flickr > sidebar, and that's helped keep my process lean enough to survive > more than a couple days. > > Running trunk with the Azure theme. > > --Mark > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org <mailto:Typo-list at rubyforge.org> > http://rubyforge.org/mailman/listinfo/typo-list > > > > > -- > Nicholas Van Weerdenburg > ------------------------------------------------------------------------ > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From jennyw at dangerousideas.com Thu Mar 16 15:07:33 2006 From: jennyw at dangerousideas.com (jennyw) Date: Thu, 16 Mar 2006 12:07:33 -0800 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <632154f70603161124x4df25343rb4d2d5becd75439a@mail.gmail.com> References: <43D1E5B1.8040404@dangerousideas.com> <43D28076.8030604@dangerousideas.com> <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> <43D3D28F.5070604@dangerousideas.com> <p06230912bffac85de497@192.168.1.103> <43D5AFA8.6020406@gmail.com> <43D5B9EA.8020304@dangerousideas.com> <632154f70603151944w69b5bc96y8581b7b78f260680@mail.gmail.com> <9e9c2ccb0603161016g764221a9wb500246bbfd2146a@mail.gmail.com> <632154f70603161122n5312c956v5a563730ba7551c2@mail.gmail.com> <632154f70603161124x4df25343rb4d2d5becd75439a@mail.gmail.com> Message-ID: <4419C585.80904@dangerousideas.com> Nicholas Van Weerdenburg wrote: > Someone else also mentioned that scgi might be more memory friendly > then fastcgi. Anyone have any experience with this? I have heard that the SCGI Rails Runner has some issues right now (which is why they're not letting people use it on TextDrive). Also, I don't know whether SRR is under current development or not -- it seems that Zed Shaw has moved on to Mongrel, which sounds like a simpler way to run Rails apps than either SCGI or FCGI. Anyone running Mongrel on this list want to share mem stats? Jen From kheon at comcast.net Thu Mar 16 17:14:06 2006 From: kheon at comcast.net (kheon at comcast.net) Date: Thu, 16 Mar 2006 22:14:06 +0000 Subject: [typo] Theme overrides Message-ID: <031620062214.1473.4419E32E00074BFA000005C1220699973502010A0805@comcast.net> Any thoughts on how I could accomplish this then? Being new to Ruby and Rails I'm struggling to determine what my options are. Basically what I'm trying to do is swap out my right column depending on where you are in the site. If you are on an article list page I want the right column to have links to other categories, search, etc but once you drill in to an article I want to have that all go away and to display what is essentially meta data about the article (ie: title, posted by, tags, categories, comments, trackbacks, etc). Is this something that I could do somehow with a controller action that determine which view to return? I could then create partial views that include the necessary logic. Does this make sense? How should I go about starting this? Is there another way? A better way? I'm open to options. Trying to learn here so I apologize for all the questions. Thanks. -------------- next part -------------- An embedded message was scrubbed... From: Kevin Ballard <kevin at sb.org> Subject: Re: [typo] Theme overrides Date: Thu, 16 Mar 2006 04:01:28 +0000 Size: 4420 Url: http://rubyforge.org/pipermail/typo-list/attachments/20060316/c44a57bd/attachment.eml From typo-list at jasonbainbridge.com Thu Mar 16 17:42:58 2006 From: typo-list at jasonbainbridge.com (Jason Bainbridge) Date: Thu, 16 Mar 2006 16:42:58 -0600 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <4419C585.80904@dangerousideas.com> References: <43D1E5B1.8040404@dangerousideas.com> <43D28076.8030604@dangerousideas.com> <5C68843E-FA7F-47E3-8466-60A715B58A66@sigkill.org> <43D3D28F.5070604@dangerousideas.com> <p06230912bffac85de497@192.168.1.103> <43D5AFA8.6020406@gmail.com> <43D5B9EA.8020304@dangerousideas.com> <632154f70603151944w69b5bc96y8581b7b78f260680@mail.gmail.com> <9e9c2ccb0603161016g764221a9wb500246bbfd2146a@mail.gmail.com> <632154f70603161122n5312c956v5a563730ba7551c2@mail.gmail.com> <632154f70603161124x4df25343rb4d2d5becd75439a@mail.gmail.com> <4419C585.80904@dangerousideas.com> Message-ID: <4419E9F2.6000404@jasonbainbridge.com> Just for fun and because I've been meaning to anyway I just set Mongrel up for my Typo test blog - http://typo.jasonbainbridge.com -jailshell-2.05b$ ps axwwu | grep mongrel_rails USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND jaseone 27558 0.3 0.7 34764 31488 ? S 14:57 0:17 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -p 8001 -e production -P log/mongrel-1.pid jaseone 27616 0.1 0.7 34472 31076 ? S 14:57 0:07 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -p 8002 -e production -P log/mongrel-2.pid jaseone 27636 0.0 0.5 29020 23692 ? S 14:57 0:03 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -p 8003 -e production -P log/mongrel-3.pid jaseone 27680 0.0 0.6 29020 25480 ? S 14:57 0:03 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -p 8004 -e production -P log/mongrel-4.pid I have 4 mongrel processes setup just for the hell of it, you probably only need 1 or 2, I'm guessing from the above that only the first two in the cluster have been invoked to do any work as my site is very low traffic. I then hammered it with httperf --port 81 --server 127.0.0.1 --num-conns 10000 --uri / --rate 600 the ps then looked like: jaseone 27558 0.5 0.7 34764 31028 ? S 14:57 0:36 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -p 8001 -e production -P log/mongrel-1.pid jaseone 27616 0.1 0.7 34472 31080 ? S 14:57 0:08 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -p 8002 -e production -P log/mongrel-2.pid jaseone 27636 0.0 0.6 31976 28168 ? S 14:57 0:04 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -p 8003 -e production -P log/mongrel-3.pid jaseone 27680 0.0 0.6 31804 28364 ? S 14:57 0:04 /usr/local/bin/ruby /usr/local/bin/mongrel_rails start -d -p 8004 -e production -P log/mongrel-4.pid That looks pretty good to me! :) Cheers, Jason jennyw wrote: >Nicholas Van Weerdenburg wrote: > > >>Someone else also mentioned that scgi might be more memory friendly >>then fastcgi. Anyone have any experience with this? >> >> >I have heard that the SCGI Rails Runner has some issues right now (which >is why they're not letting people use it on TextDrive). Also, I don't >know whether SRR is under current development or not -- it seems that >Zed Shaw has moved on to Mongrel, which sounds like a simpler way to run >Rails apps than either SCGI or FCGI. > >Anyone running Mongrel on this list want to share mem stats? > >Jen > > > >_______________________________________________ >Typo-list mailing list >Typo-list at rubyforge.org >http://rubyforge.org/mailman/listinfo/typo-list > > From drcforbin at gmail.com Thu Mar 16 21:22:22 2006 From: drcforbin at gmail.com (Ryan Williams) Date: Thu, 16 Mar 2006 21:22:22 -0500 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <4419E9F2.6000404@jasonbainbridge.com> References: <43D1E5B1.8040404@dangerousideas.com> <p06230912bffac85de497@192.168.1.103> <43D5AFA8.6020406@gmail.com> <43D5B9EA.8020304@dangerousideas.com> <632154f70603151944w69b5bc96y8581b7b78f260680@mail.gmail.com> <9e9c2ccb0603161016g764221a9wb500246bbfd2146a@mail.gmail.com> <632154f70603161122n5312c956v5a563730ba7551c2@mail.gmail.com> <632154f70603161124x4df25343rb4d2d5becd75439a@mail.gmail.com> <4419C585.80904@dangerousideas.com> <4419E9F2.6000404@jasonbainbridge.com> Message-ID: <a5bbcba40603161822j45f3e8b3j11b3ed26254d2194@mail.gmail.com> Typo does seem to take up a lot of ram, but I think it's system dependent. On some systems, it's looks fairly lean, but on other systems, it quickly grows to enormous sizes. Or at least that's what it does for me ( http://c.oloss.us/articles/2006/03/02/is-typo-really-a-pig). I don't think that recycling your fcgi process will help much (with the "nil, N" tricks), unless you have an actual memory leak. If your memory usage continues to climb as requests come in, and it does not stabilize, there's a bigger problem to be solved. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060316/c95e0b93/attachment-0001.htm From kevin at sb.org Thu Mar 16 22:59:08 2006 From: kevin at sb.org (Kevin Ballard) Date: Thu, 16 Mar 2006 19:59:08 -0800 Subject: [typo] Theme overrides In-Reply-To: <031620062214.1473.4419E32E00074BFA000005C1220699973502010A0805@comcast.net> References: <031620062214.1473.4419E32E00074BFA000005C1220699973502010A0805@comcast.net> Message-ID: <EFC74C74-3D21-4220-8679-CE2FD976D274@sb.org> Oh, you actually want to modify the sidebars, not change the theme. I think that would require a bit of invasive code, changing lots of stuff in the Typo internals. Perhaps instead of replacing all the old stuff you'd simply like to add the metadata? You could do this by writing your own sidebar component that uses the request_params hash parameter to determine what page is being viewed, and display the metadata if you're viewing an individual article but display nothing otherwise. This would also not be a theme change but a main typo source change. On Mar 16, 2006, at 2:14 PM, kheon at comcast.net wrote: > Any thoughts on how I could accomplish this then? Being new to Ruby > and Rails I'm struggling to determine what my options are. > > Basically what I'm trying to do is swap out my right column > depending on where you are in the site. If you are on an article > list page I want the right column to have links to other > categories, search, etc but once you drill in to an article I want > to have that all go away and to display what is essentially meta > data about the article (ie: title, posted by, tags, categories, > comments, trackbacks, etc). > > Is this something that I could do somehow with a controller action > that determine which view to return? I could then create partial > views that include the necessary logic. > > Does this make sense? How should I go about starting this? > > Is there another way? A better way? I'm open to options. Trying to > learn here so I apologize for all the questions. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060316/5c9ac9a3/attachment.bin From kevin at sb.org Thu Mar 16 23:01:09 2006 From: kevin at sb.org (Kevin Ballard) Date: Thu, 16 Mar 2006 20:01:09 -0800 Subject: [typo] Switching theme support in Typo to Liquid? In-Reply-To: <c4d54c6f0603160917y6020701fh37e70d58b79748bb@mail.gmail.com> References: <c4d54c6f0603160917y6020701fh37e70d58b79748bb@mail.gmail.com> Message-ID: <A6AE59D7-DB68-436F-ADC0-8FC17CE15601@sb.org> I haven't looked much at Liquid, but my understanding of the purpose of the non-evaling/security features was so people with no Ruby knowledge could customize their shop appearance without worry. I don't think we're targeting quite that low a level of knowledge with ruby themes, so I don't know how much benefit we'd get from switching. I also don't know if it would prevent any potential features from being implemented in themes. On Mar 16, 2006, at 9:17 AM, Sean Mountcastle wrote: > Has anyone investigated the amount of work required to switch the > theme support in Typo to Liquid (http://home.leetsoft.com/liquid)? I > realize there are a large number of themes out there which Typo would > like to continue to support, but while investigating multiple blog > support for Typo, I thought the non-evaling/security features of > Liquid would be very nice to have. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060316/78586a0d/attachment.bin From kevin at sb.org Thu Mar 16 23:03:09 2006 From: kevin at sb.org (Kevin Ballard) Date: Thu, 16 Mar 2006 20:03:09 -0800 Subject: [typo] Heavy RAM usage? Instability? In-Reply-To: <a5bbcba40603161822j45f3e8b3j11b3ed26254d2194@mail.gmail.com> References: <43D1E5B1.8040404@dangerousideas.com> <p06230912bffac85de497@192.168.1.103> <43D5AFA8.6020406@gmail.com> <43D5B9EA.8020304@dangerousideas.com> <632154f70603151944w69b5bc96y8581b7b78f260680@mail.gmail.com> <9e9c2ccb0603161016g764221a9wb500246bbfd2146a@mail.gmail.com> <632154f70603161122n5312c956v5a563730ba7551c2@mail.gmail.com> <632154f70603161124x4df25343rb4d2d5becd75439a@mail.gmail.com> <4419C585.80904@dangerousideas.com> <4419E9F2.6000404@jasonbainbridge.com> <a5bbcba40603161822j45f3e8b3j11b3ed26254d2194@mail.gmail.com> Message-ID: <E13D4B26-7FF7-4D96-856E-75FC346D039B@sb.org> Oddly, on my DreamHost install (using a completely custom install of ruby, gems, etc), my RSS is 23-25 MB per process. And this is me just logging in and looking at the current processes, without restarting or anything. On Mar 16, 2006, at 6:22 PM, Ryan Williams wrote: > Typo does seem to take up a lot of ram, but I think it's system > dependent. On some systems, it's looks fairly lean, but on other > systems, it quickly grows to enormous sizes. Or at least that's > what it does for me ( http://c.oloss.us/articles/2006/03/02/is-typo- > really-a-pig). -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060316/260ef129/attachment.bin From trejkaz at trypticon.org Fri Mar 17 00:13:30 2006 From: trejkaz at trypticon.org (Trejkaz) Date: Fri, 17 Mar 2006 16:13:30 +1100 Subject: [typo] Switching theme support in Typo to Liquid? In-Reply-To: <A6AE59D7-DB68-436F-ADC0-8FC17CE15601@sb.org> References: <c4d54c6f0603160917y6020701fh37e70d58b79748bb@mail.gmail.com> <A6AE59D7-DB68-436F-ADC0-8FC17CE15601@sb.org> Message-ID: <441A457A.1090202@trypticon.org> Kevin Ballard wrote: > I haven't looked much at Liquid, but my understanding of the purpose of > the non-evaling/security features was so people with no Ruby knowledge > could customize their shop appearance without worry. A version of Typo which supported non-evaling theming would be quite neat if someone wanted to set up a Typo-based weblog hosting facility. Of course, such a facility would want to disable rhtml-based theming altogether. :-) TX From kevin at kubasik.net Fri Mar 17 08:45:30 2006 From: kevin at kubasik.net (Kevin Kubasik) Date: Fri, 17 Mar 2006 08:45:30 -0500 Subject: [typo] Recent Multi-Blog update Breaks Message-ID: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> Just a note, I found that when attempting to update to the latestTrunk, rev 915 breaks (it can't seem to add the new blogs tablecorrectly) 914 is good though. It seems to me that a multiblog branchshould be handled that way, in its own branch, not in the trunk(although the comment seems to imply that it is being done in abranch, maybe im just SVN illiterate) --Cheers,Kevin Kubasikhttp://blog.kubasik.net/ From cedric at feelfree.homelinux.com Fri Mar 17 09:33:25 2006 From: cedric at feelfree.homelinux.com (cedric) Date: Fri, 17 Mar 2006 15:33:25 +0100 (CET) Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> Message-ID: <51613.212.215.1.67.1142606005.squirrel@kobayazen.ath.cx> Yes, I made the same experience, I think that's a mistake... comments are suggesting a new branch, but changeset #915 appears in trunk. I believe that it will be corrected soon... Kob. http://kobayazen.ath.cx > Just a note, I found that when attempting to update to the latestTrunk, > rev 915 breaks (it can't seem to add the new blogs tablecorrectly) 914 is > good though. It seems to me that a multiblog branchshould be handled that > way, in its own branch, not in the trunk(although the comment seems to > imply that it is being done in abranch, maybe im just SVN illiterate) > --Cheers,Kevin Kubasikhttp://blog.kubasik.net/ > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From pdcawley at bofh.org.uk Fri Mar 17 11:19:12 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Fri, 17 Mar 2006 16:19:12 +0000 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> (Kevin Kubasik's message of "Fri, 17 Mar 2006 08:45:30 -0500") References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> Message-ID: <m2u09xniwv.fsf@obelisk.bofh.org.uk> "Kevin Kubasik" <kevin at kubasik.net> writes: > Just a note, I found that when attempting to update to the > latestTrunk, rev 915 breaks (it can't seem to add the new blogs > tablecorrectly) 914 is good though. It seems to me that a multiblog > branchshould be handled that way, in its own branch, not in the > trunk(although the comment seems to imply that it is being done in > abranch, maybe im just SVN illiterate) It's staying in the trunk -- the comment about the branch was from my local SVK based repository which I'd not edited out. What errors were you getting when you tried to run the migrations? Could you send me a the relevant log section? -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From gpsnospam at gmail.com Fri Mar 17 12:00:28 2006 From: gpsnospam at gmail.com (Gary Shewan) Date: Fri, 17 Mar 2006 17:00:28 +0000 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <m2u09xniwv.fsf@obelisk.bofh.org.uk> References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> <m2u09xniwv.fsf@obelisk.bofh.org.uk> Message-ID: <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> On 17 Mar 2006, at 16:19, Piers Cawley wrote: > "Kevin Kubasik" <kevin at kubasik.net> writes: > >> Just a note, I found that when attempting to update to the >> latestTrunk, rev 915 breaks (it can't seem to add the new blogs >> tablecorrectly) 914 is good though. It seems to me that a multiblog >> branchshould be handled that way, in its own branch, not in the >> trunk(although the comment seems to imply that it is being done in >> abranch, maybe im just SVN illiterate) > > It's staying in the trunk -- the comment about the branch was from my > local SVK based repository which I'd not edited out. > > What errors were you getting when you tried to run the migrations? > Could you send me a the relevant log section? > > -- > Piers Cawley <pdcawley at bofh.org.uk> > http://www.bofh.org.uk/ > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list Sigh, well that's me not upgrading in trunk. Multi blog support is bloat for those of us running Typo on single sites. I think it's a bad move to keep this in trunk. If you want me to throw a penny in I'd say split it now. The initial attraction of Typo because it was lean. Why keep multi blog in trunk when not everyone wants it? It's screaming out for a separate branch. God I hate bloat. From kevin at kubasik.net Fri Mar 17 13:18:20 2006 From: kevin at kubasik.net (Kevin Kubasik) Date: Fri, 17 Mar 2006 13:18:20 -0500 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> <m2u09xniwv.fsf@obelisk.bofh.org.uk> <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> Message-ID: <88d636060603171018r15831be9w80ac3803ba3492ed@mail.gmail.com> When I get back home, I'll get you a copy of the log, I'm not surewhere the migration failed, but I just kept getting errors abouttypo.blogs table not existing. I have to say, I'm with Gary on this one, multiblogs would be a nicebranch, but typo's lean 1 blog setup was part of its attractiveness.The svn comment notes this, in order for multi-blog support to be done'right' it must be done slowly first. I feel that keeping this in itsown branch until its ready for prime time would be nice, but that'sjust my $0.02 Cheers,Kevin Kubasik On 3/17/06, Gary Shewan <gpsnospam at gmail.com> wrote:>> On 17 Mar 2006, at 16:19, Piers Cawley wrote:>> > "Kevin Kubasik" <kevin at kubasik.net> writes:> >> >> Just a note, I found that when attempting to update to the> >> latestTrunk, rev 915 breaks (it can't seem to add the new blogs> >> tablecorrectly) 914 is good though. It seems to me that a multiblog> >> branchshould be handled that way, in its own branch, not in the> >> trunk(although the comment seems to imply that it is being done in> >> abranch, maybe im just SVN illiterate)> >> > It's staying in the trunk -- the comment about the branch was from my> > local SVK based repository which I'd not edited out.> >> > What errors were you getting when you tried to run the migrations?> > Could you send me a the relevant log section?> >> > --> > Piers Cawley <pdcawley at bofh.org.uk>> > http://www.bofh.org.uk/> > _______________________________________________> > Typo-list mailing list> > Typo-list at rubyforge.org> > http://rubyforge.org/mailman/listinfo/typo-list>> Sigh, well that's me not upgrading in trunk. Multi blog support is> bloat for those of us running Typo on single sites. I think it's a> bad move to keep this in trunk. If you want me to throw a penny in> I'd say split it now. The initial attraction of Typo because it was> lean. Why keep multi blog in trunk when not everyone wants it? It's> screaming out for a separate branch.>> God I hate bloat.> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list> --Cheers,Kevin Kubasikhttp://blog.kubasik.net/ From cedric at feelfree.homelinux.com Fri Mar 17 13:20:36 2006 From: cedric at feelfree.homelinux.com (cedric) Date: Fri, 17 Mar 2006 19:20:36 +0100 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> <m2u09xniwv.fsf@obelisk.bofh.org.uk> <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> Message-ID: <200603171920.36450.cedric@feelfree.homelinux.com> On my point of view, single blog is just a particular case of a multi-blog implementation. This should becomes the default typo blog with a default setting to "single blog" for all people who want to install their personal typo. But I don't know if it's possible... if not there must be 2 different typo branches. It's just my humble opinion, to bring some ideas to community. Le Vendredi 17 Mars 2006 18:00, Gary Shewan a ?crit?: > On 17 Mar 2006, at 16:19, Piers Cawley wrote: > > "Kevin Kubasik" <kevin at kubasik.net> writes: > >> Just a note, I found that when attempting to update to the > >> latestTrunk, rev 915 breaks (it can't seem to add the new blogs > >> tablecorrectly) 914 is good though. It seems to me that a multiblog > >> branchshould be handled that way, in its own branch, not in the > >> trunk(although the comment seems to imply that it is being done in > >> abranch, maybe im just SVN illiterate) > > > > It's staying in the trunk -- the comment about the branch was from my > > local SVK based repository which I'd not edited out. > > > > What errors were you getting when you tried to run the migrations? > > Could you send me a the relevant log section? > > > > -- > > Piers Cawley <pdcawley at bofh.org.uk> > > http://www.bofh.org.uk/ > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > Sigh, well that's me not upgrading in trunk. Multi blog support is > bloat for those of us running Typo on single sites. I think it's a > bad move to keep this in trunk. If you want me to throw a penny in > I'd say split it now. The initial attraction of Typo because it was > lean. Why keep multi blog in trunk when not everyone wants it? It's > screaming out for a separate branch. > > God I hate bloat. > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From rsanheim at gmail.com Fri Mar 17 16:36:29 2006 From: rsanheim at gmail.com (Rob Sanheim) Date: Fri, 17 Mar 2006 15:36:29 -0600 Subject: [typo] next stable release? Message-ID: <fc113d400603171336oa05e8e5v41dde39daae86aa3@mail.gmail.com> Hi guys, Quick question - any idea on when a stable 4.0 release will hit? - rob -- http://www.robsanheim.com/ http://www.ajaxian.com/ From kevin at kubasik.net Fri Mar 17 17:03:53 2006 From: kevin at kubasik.net (Kevin Kubasik) Date: Fri, 17 Mar 2006 17:03:53 -0500 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <200603171920.36450.cedric@feelfree.homelinux.com> References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> <m2u09xniwv.fsf@obelisk.bofh.org.uk> <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> <200603171920.36450.cedric@feelfree.homelinux.com> Message-ID: <88d636060603171403q4207c04dg770a5c27fd8f7297@mail.gmail.com> Following up on my earlier promise, this seems to be the issue withthe update script, I'm goin to fiddle a bit now and see if I can't getthis to go away, but wanted to get the exact log out there for anyonewho wanted to help. Processing GeneralController#index (for 69.140.109.194 at 2006-03-1717:01:44) [GET] Parameters: {"action"=>"index", "controller"=>"admin/general"}Redirected to http://blog.kubasik.net/admin/general/update_databaseCompleted in 0.00812 (123 reqs/sec) | DB: 0.00051 (6%) | 302 Found[http://blog.kubasik.net/admin] Processing GeneralController#update_database (for 69.140.109.194 at2006-03-17 17:01:44) [GET] Parameters: {"action"=>"update_database", "controller"=>"admin/general"}Rendering within layouts/administrationRendering admin/general/update_database ActionView::TemplateError (undefined local variable or method`this_blog' for #<#<Class:0xb7aa7538>:0xb78cd39c>) on line #24 ofapp/views/layouts/administration.rhtml:21: <%= link_to 'your blog »', :controller => "/" %>22:23: </div>24: <h1><%= link_to "Typo admin - #{this_blog.blog_name}",:controller => "/admin/" %></h1>25: </div>26: <!-- /HEADER -->27: #{RAILS_ROOT}/app/views/./layouts/administration.rhtml:24 /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in`compile_and_render_template' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in`render_template' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in`render_file' #{RAILS_ROOT}/app/helpers/application_helper.rb:26:in `render_file' #{RAILS_ROOT}/app/helpers/application_helper.rb:19:in `render_file' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:226:in`render_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in`render' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in`render' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in`perform_action_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in`perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in`perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in`perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in`perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in`process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in`process' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in`process_request' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in`process!' /usr/lib/ruby/1.8/fcgi.rb:600:in `each_cgi' /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in`process!' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in`process!' #{RAILS_ROOT}/public/dispatch.fcgi:24 On 3/17/06, cedric <cedric at feelfree.homelinux.com> wrote:> On my point of view, single blog is just a particular case of a multi-blog> implementation. This should becomes the default typo blog with a default> setting to "single blog" for all people who want to install their personal> typo. But I don't know if it's possible... if not there must be 2 different> typo branches.> It's just my humble opinion, to bring some ideas to community.>> Le Vendredi 17 Mars 2006 18:00, Gary Shewan a ?crit:> > On 17 Mar 2006, at 16:19, Piers Cawley wrote:> > > "Kevin Kubasik" <kevin at kubasik.net> writes:> > >> Just a note, I found that when attempting to update to the> > >> latestTrunk, rev 915 breaks (it can't seem to add the new blogs> > >> tablecorrectly) 914 is good though. It seems to me that a multiblog> > >> branchshould be handled that way, in its own branch, not in the> > >> trunk(although the comment seems to imply that it is being done in> > >> abranch, maybe im just SVN illiterate)> > >> > > It's staying in the trunk -- the comment about the branch was from my> > > local SVK based repository which I'd not edited out.> > >> > > What errors were you getting when you tried to run the migrations?> > > Could you send me a the relevant log section?> > >> > > --> > > Piers Cawley <pdcawley at bofh.org.uk>> > > http://www.bofh.org.uk/> > > _______________________________________________> > > Typo-list mailing list> > > Typo-list at rubyforge.org> > > http://rubyforge.org/mailman/listinfo/typo-list> >> > Sigh, well that's me not upgrading in trunk. Multi blog support is> > bloat for those of us running Typo on single sites. I think it's a> > bad move to keep this in trunk. If you want me to throw a penny in> > I'd say split it now. The initial attraction of Typo because it was> > lean. Why keep multi blog in trunk when not everyone wants it? It's> > screaming out for a separate branch.> >> > God I hate bloat.> > _______________________________________________> > Typo-list mailing list> > Typo-list at rubyforge.org> > http://rubyforge.org/mailman/listinfo/typo-list>> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list> --Cheers,Kevin Kubasikhttp://blog.kubasik.net/ From kheon at comcast.net Fri Mar 17 20:57:36 2006 From: kheon at comcast.net (Kyle Heon) Date: Fri, 17 Mar 2006 20:57:36 -0500 Subject: [typo] Theme overrides In-Reply-To: <EFC74C74-3D21-4220-8679-CE2FD976D274@sb.org> Message-ID: <200603180144.k2I1iRd3018127@rubyforge.org> Thank you, I will explore creating my own sidebar component. Kyle Heon kheon at comcast.net www.kyleheon.com -----Original Message----- From: Kevin Ballard [mailto:kevin at sb.org] Sent: Thursday, March 16, 2006 10:59 PM To: kheon at comcast.net Cc: typo-list at rubyforge.org Subject: Re: [typo] Theme overrides Oh, you actually want to modify the sidebars, not change the theme. I think that would require a bit of invasive code, changing lots of stuff in the Typo internals. Perhaps instead of replacing all the old stuff you'd simply like to add the metadata? You could do this by writing your own sidebar component that uses the request_params hash parameter to determine what page is being viewed, and display the metadata if you're viewing an individual article but display nothing otherwise. This would also not be a theme change but a main typo source change. On Mar 16, 2006, at 2:14 PM, kheon at comcast.net wrote: > Any thoughts on how I could accomplish this then? Being new to Ruby > and Rails I'm struggling to determine what my options are. > > Basically what I'm trying to do is swap out my right column depending > on where you are in the site. If you are on an article list page I > want the right column to have links to other categories, search, etc > but once you drill in to an article I want to have that all go away > and to display what is essentially meta data about the article (ie: > title, posted by, tags, categories, comments, trackbacks, etc). > > Is this something that I could do somehow with a controller action > that determine which view to return? I could then create partial views > that include the necessary logic. > > Does this make sense? How should I go about starting this? > > Is there another way? A better way? I'm open to options. Trying to > learn here so I apologize for all the questions. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com From kevin at sb.org Fri Mar 17 21:34:02 2006 From: kevin at sb.org (Kevin Ballard) Date: Fri, 17 Mar 2006 18:34:02 -0800 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> <m2u09xniwv.fsf@obelisk.bofh.org.uk> <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> Message-ID: <9BB6029A-B777-4E8C-AD57-9CF1FC0EA9D1@sb.org> Doing such would kill the Typo project. Maintaining two parallel branches like that would be an absolute nightmare for maintenance, and either one branch would wither and die or both would. On Mar 17, 2006, at 9:00 AM, Gary Shewan wrote: > Sigh, well that's me not upgrading in trunk. Multi blog support is > bloat for those of us running Typo on single sites. I think it's a > bad move to keep this in trunk. If you want me to throw a penny in > I'd say split it now. The initial attraction of Typo because it was > lean. Why keep multi blog in trunk when not everyone wants it? It's > screaming out for a separate branch. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060317/97764754/attachment.bin From spiegela at gmail.com Fri Mar 17 22:05:15 2006 From: spiegela at gmail.com (Aaron Spiegel) Date: Fri, 17 Mar 2006 21:05:15 -0600 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> <m2u09xniwv.fsf@obelisk.bofh.org.uk> <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> Message-ID: <ecfc7d7d0603171905h775c2aa2u6b9ddbcbd7896e30@mail.gmail.com> > God I hate bloat. How much bloat are we really talking about? AFAIK, multi-blog is adding just one "blog" model, and related the rest of those tables to that... so we add one table, and one column to each model within a blog. Is that really significant enough to warrant a branch? Just think we should identify what we're talking about... Aaron From gilgit at gmail.com Fri Mar 17 23:46:03 2006 From: gilgit at gmail.com (David Richardson) Date: Fri, 17 Mar 2006 21:46:03 -0700 Subject: [typo] Migration 38 Message-ID: <35ac07b90603172046r1092e696pba14ce2aab95d750@mail.gmail.com> Anyone managed to get migration 38 working yet (on PostGres)? From trunk 921.Here's my rake trace. ** Invoke migrate (first_time)** Invoke environment (first_time)** Execute environmentrake aborted!superclass must be a Class (Module given)/var/www/html/channel200/app/models/configuration.rb:1/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in`load'/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in`load'/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in`require_or_load'/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in`depend_on'/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in`require_dependency'/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in`require_dependency'/var/www/html/channel200/config/environment.rb:96/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in`require'/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/tasks/misc.rake:9/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/tasks/misc.rake:8:in `call'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:232:in `execute'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:232:in `each'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:232:in `execute'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:202:in `invoke'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:195:in `synchronize'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:195:in `invoke'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:209:in`invoke_prerequisites'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:208:in `each'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:844:in `send'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:844:in `each'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:208:in`invoke_prerequisites'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:201:in `invoke'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:195:in `synchronize'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:195:in `invoke'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `run'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `each'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `run'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/bin/rake:7/usr/local/bin/rake:18:in `load'/usr/local/bin/rake:18 david richardsontypo migrations ? so much pain. From cedric at feelfree.homelinux.com Sat Mar 18 02:02:54 2006 From: cedric at feelfree.homelinux.com (cedric) Date: Sat, 18 Mar 2006 08:02:54 +0100 Subject: [typo] Migration 38 In-Reply-To: <35ac07b90603172046r1092e696pba14ce2aab95d750@mail.gmail.com> References: <35ac07b90603172046r1092e696pba14ce2aab95d750@mail.gmail.com> Message-ID: <200603180802.54633.cedric@feelfree.homelinux.com> How can I run migration 38 manually? I have problems since I update to revision 915... typo just says "typo_development.blogs" doesn't exist... Thanks Le Samedi 18 Mars 2006 05:46, David Richardson a ?crit?: > Anyone managed to get migration 38 working yet (on PostGres)? From trunk > 921.Here's my rake trace. ** Invoke migrate (first_time)** Invoke > environment (first_time)** Execute environmentrake aborted!superclass must > be a Class (Module > given)/var/www/html/channel200/app/models/configuration.rb:1/usr/local/lib/ >ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:20 >7:in`load'/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_s >upport/dependencies.rb:207:in`load'/usr/local/lib/ruby/gems/1.8/gems/actives >upport-1.2.5/lib/active_support/dependencies.rb:39:in`require_or_load'/usr/l >ocal/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependenc >ies.rb:22:in`depend_on'/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5 >/lib/active_support/dependencies.rb:178:in`require_dependency'/usr/local/lib >/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:1 >78:in`require_dependency'/var/www/html/channel200/config/environment.rb:96/u >sr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in > `require__'/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18: >in > `require'/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_s >upport/dependencies.rb:214:in`require'/usr/local/lib/ruby/gems/1.8/gems/rail >s-1.0.0/lib/tasks/misc.rake:9/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/l >ib/tasks/misc.rake:8:in > `call'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:232:in > `execute'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:232:in > `each'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:232:in > `execute'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:202:in > `invoke'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:195:in > `synchronize'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:195:i >n > `invoke'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:209:in`inv >oke_prerequisites'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:2 >08:in `each'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:844:in > `send'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:844:in > `each'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:208:in`invok >e_prerequisites'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:201 >:in `invoke'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:195:in > `synchronize'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:195:i >n `invoke'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in > `run'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in > `each'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in > `run'/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/bin/rake:7/usr/local/bin/ >rake:18:in `load'/usr/local/bin/rake:18 david richardsontypo migrations ? so > much pain. > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From kevin at sb.org Sat Mar 18 02:55:35 2006 From: kevin at sb.org (Kevin Ballard) Date: Fri, 17 Mar 2006 23:55:35 -0800 Subject: [typo] Migration 38 In-Reply-To: <200603180802.54633.cedric@feelfree.homelinux.com> References: <35ac07b90603172046r1092e696pba14ce2aab95d750@mail.gmail.com> <200603180802.54633.cedric@feelfree.homelinux.com> Message-ID: <6C0D23D8-9369-42B8-A22C-26D7A31CFE9B@sb.org> Ok, revision 922 fixes this. You can now upgrade via the admin interface again. For future reference, you can upgrade from the command-line by running `rake migrate RAILS_ENV=production` from the root folder of your typo installation (this upgrades the production database, use RAILS_ENV=development to upgrade development if you have it). On Mar 17, 2006, at 11:02 PM, cedric wrote: > How can I run migration 38 manually? I have problems since I update to > revision 915... > > typo just says "typo_development.blogs" doesn't exist... -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060317/dc0e0397/attachment.bin From gpsnospam at gmail.com Sat Mar 18 05:22:10 2006 From: gpsnospam at gmail.com (Gary Shewan) Date: Sat, 18 Mar 2006 10:22:10 +0000 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <9BB6029A-B777-4E8C-AD57-9CF1FC0EA9D1@sb.org> References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> <m2u09xniwv.fsf@obelisk.bofh.org.uk> <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> <9BB6029A-B777-4E8C-AD57-9CF1FC0EA9D1@sb.org> Message-ID: <A3597CA5-2DB1-4004-A174-E6AEE62CC998@gmail.com> On 18 Mar 2006, at 02:34, Kevin Ballard wrote: > Doing such would kill the Typo project. Maintaining two parallel > branches like that would be an absolute nightmare for maintenance, > and either one branch would wither and die or both would. > > On Mar 17, 2006, at 9:00 AM, Gary Shewan wrote: > >> Sigh, well that's me not upgrading in trunk. Multi blog support is >> bloat for those of us running Typo on single sites. I think it's a >> bad move to keep this in trunk. If you want me to throw a penny in >> I'd say split it now. The initial attraction of Typo because it was >> lean. Why keep multi blog in trunk when not everyone wants it? It's >> screaming out for a separate branch. That's nonsense. Since when has adding multiblog support to a blogging engine killed the project? You're scare-mongering and that doesn't help. I still say I don't like the idea of multiblog support being wedged into the main trunk. If it's going to be done, it needs to be done right. Textpattern still doesn't provide full multiblog support, Wordpress has an entirely different project (Wordpress MU) and Moveable Type worked on it in the background until it was ready. Learn a lesson there. Stamp on all the outstanding bugs. Get another good stable release out of the door and then look at multiblog support. One minute there's talk about the run up to 4.0 then the next multiblog support is jammed into trunk. Madness. But that's just my opinion ;) From nikanorov at gmail.com Sat Mar 18 06:40:30 2006 From: nikanorov at gmail.com (Andrey Nikanorov) Date: Sat, 18 Mar 2006 14:40:30 +0300 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <A3597CA5-2DB1-4004-A174-E6AEE62CC998@gmail.com> References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> <m2u09xniwv.fsf@obelisk.bofh.org.uk> <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> <9BB6029A-B777-4E8C-AD57-9CF1FC0EA9D1@sb.org> <A3597CA5-2DB1-4004-A174-E6AEE62CC998@gmail.com> Message-ID: <a0c35bf80603180340o5e34f4abp61776a7cb06454cc@mail.gmail.com> I think the same. Don't we have too much bugs in track to add "so big feature"? When this was committed, we get new bugs (postgres e.t.c.). If it's impossible to do safe, maybe try it on branch an then commit to trunk? On 3/18/06, Gary Shewan <gpsnospam at gmail.com> wrote: > > On 18 Mar 2006, at 02:34, Kevin Ballard wrote: > > > Doing such would kill the Typo project. Maintaining two parallel > > branches like that would be an absolute nightmare for maintenance, > > and either one branch would wither and die or both would. > > > > On Mar 17, 2006, at 9:00 AM, Gary Shewan wrote: > > > >> Sigh, well that's me not upgrading in trunk. Multi blog support is > >> bloat for those of us running Typo on single sites. I think it's a > >> bad move to keep this in trunk. If you want me to throw a penny in > >> I'd say split it now. The initial attraction of Typo because it was > >> lean. Why keep multi blog in trunk when not everyone wants it? It's > >> screaming out for a separate branch. > > That's nonsense. Since when has adding multiblog support to a > blogging engine killed the project? You're scare-mongering and that > doesn't help. > > I still say I don't like the idea of multiblog support being wedged > into the main trunk. If it's going to be done, it needs to be done > right. Textpattern still doesn't provide full multiblog support, > Wordpress has an entirely different project (Wordpress MU) and > Moveable Type worked on it in the background until it was ready. > Learn a lesson there. Stamp on all the outstanding bugs. Get > another good stable release out of the door and then look at > multiblog support. One minute there's talk about the run up to 4.0 > then the next multiblog support is jammed into trunk. > > Madness. > > But that's just my opinion ;) > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Nikanorov Andrey <nikanorov at gmail.com> http://blogru.nikanorov.com This email is: [ ] blogable [ x ] ask first [ ] private From pratiknaik at gmail.com Sat Mar 18 06:55:23 2006 From: pratiknaik at gmail.com (Pratik) Date: Sat, 18 Mar 2006 17:25:23 +0530 Subject: [typo] Theme Modification Needed: Pay $200 In-Reply-To: <1dda5dfbbd9a8a009985289cd12d6535@gmail.com> References: <1dda5dfbbd9a8a009985289cd12d6535@gmail.com> Message-ID: <9212531d0603180355o61d7df20x4bf63cce754404c7@mail.gmail.com> Try http://www.xhtmlized.com - those guys really do a great job. Thanks, Pratik On 3/16/06, Jason Froderman <froderman at gmail.com> wrote: > I need some modifications to the stock azure theme on a typo blog. For > someone that has played with typo/rails, it should be really easy. I'm > behind on my flash development and don't have the time to program it. > All images/design will be provided. The theme needs to be tweaked with > certain things repositioned. The most complicated thing is to create a > static menu to appear in the sidebar that uses an unordered list and > figures out what page it's on... > > Want more info? Email me: jason-- at --froderman.com > > Pay: $200 > > Deadline can be negotiated...quicker the better. > > Thanks everybody. Thanks to all that have contributed...I love > typo...I love rails. > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- http://www.freeonrails.com - Free as in beer ! From kevin at kubasik.net Sat Mar 18 09:26:45 2006 From: kevin at kubasik.net (Kevin Kubasik) Date: Sat, 18 Mar 2006 09:26:45 -0500 Subject: [typo] Migration 38 In-Reply-To: <6C0D23D8-9369-42B8-A22C-26D7A31CFE9B@sb.org> References: <35ac07b90603172046r1092e696pba14ce2aab95d750@mail.gmail.com> <200603180802.54633.cedric@feelfree.homelinux.com> <6C0D23D8-9369-42B8-A22C-26D7A31CFE9B@sb.org> Message-ID: <88d636060603180626t4738b41er5048ba18b5e3c09b@mail.gmail.com> the upgrade kinda worked, I now have the blog table, but get this error Processing GeneralController#index (for 69.140.109.194 at 2006-03-1809:23:53) [GET] Parameters: {"action"=>"index", "controller"=>"admin/general"} ActiveRecord::StatementInvalid (Mysql::Error: Table 'typo.settings'doesn't exist: SELECT * FROM settings ): /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract_adapter.rb:88:in`log' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:180:in`execute' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:322:in`select' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapter.rb:171:in`select_all' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:431:in`find_by_sql' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:395:in`find' /app/models/config_manager.rb:13:in `reload' /app/controllers/application.rb:53:in `reload_settings' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:354:in`call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:350:in`call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:339:in`before_action' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:331:in`perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in`perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in`perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in`perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in`process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in`process' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in`process_request' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in`process!' /usr/lib/ruby/1.8/fcgi.rb:600:in `each_cgi' /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in`process!' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in`process!' /public/dispatch.fcgi:24 On 3/18/06, Kevin Ballard <kevin at sb.org> wrote:> Ok, revision 922 fixes this. You can now upgrade via the admin> interface again.>> For future reference, you can upgrade from the command-line by> running `rake migrate RAILS_ENV=production` from the root folder of> your typo installation (this upgrades the production database, use> RAILS_ENV=development to upgrade development if you have it).>> On Mar 17, 2006, at 11:02 PM, cedric wrote:>> > How can I run migration 38 manually? I have problems since I update to> > revision 915...> >> > typo just says "typo_development.blogs" doesn't exist...>> --> Kevin Ballard> kevin at sb.org> http://kevin.sb.org> http://www.tildesoft.com>>>>> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list>>> --Cheers,Kevin Kubasikhttp://blog.kubasik.net/ From cwsaylor at gmail.com Sat Mar 18 10:44:07 2006 From: cwsaylor at gmail.com (Chris Saylor) Date: Sat, 18 Mar 2006 10:44:07 -0500 Subject: [typo] Flickr Plug-in Issue Message-ID: <a23a98e90603180744l100e2db2hc1916e97963f3880@mail.gmail.com> Is anybody else having a problem with the Flickr plugin? I just noticed that my pictures stopped showing up on my blog, http://www.justhack.com. I'm not sure when that happened. I'm running the latest trunk, 923. I looked at the plug-in and it appears that @flickr isn't getting populated. I would like to know if it's just me or is this a problem in general. Thanks, Chris From gilgit at gmail.com Sat Mar 18 10:52:18 2006 From: gilgit at gmail.com (David Richardson) Date: Sat, 18 Mar 2006 08:52:18 -0700 Subject: [typo] Migration 38 In-Reply-To: <88d636060603180626t4738b41er5048ba18b5e3c09b@mail.gmail.com> References: <35ac07b90603172046r1092e696pba14ce2aab95d750@mail.gmail.com> <200603180802.54633.cedric@feelfree.homelinux.com> <6C0D23D8-9369-42B8-A22C-26D7A31CFE9B@sb.org> <88d636060603180626t4738b41er5048ba18b5e3c09b@mail.gmail.com> Message-ID: <35ac07b90603180752n70df2943y21851aedd0713e80@mail.gmail.com> didn't work at all here. d.r. From pdcawley at bofh.org.uk Sat Mar 18 07:03:43 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Sat, 18 Mar 2006 12:03:43 +0000 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> (Gary Shewan's message of "Fri, 17 Mar 2006 17:00:28 +0000") References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> <m2u09xniwv.fsf@obelisk.bofh.org.uk> <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> Message-ID: <m2veuchsdc.fsf@obelisk.bofh.org.uk> Gary Shewan <gpsnospam at gmail.com> writes: > On 17 Mar 2006, at 16:19, Piers Cawley wrote: > >> "Kevin Kubasik" <kevin at kubasik.net> writes: >> >>> Just a note, I found that when attempting to update to the >>> latestTrunk, rev 915 breaks (it can't seem to add the new blogs >>> tablecorrectly) 914 is good though. It seems to me that a multiblog >>> branchshould be handled that way, in its own branch, not in the >>> trunk(although the comment seems to imply that it is being done in >>> abranch, maybe im just SVN illiterate) >> >> It's staying in the trunk -- the comment about the branch was from my >> local SVK based repository which I'd not edited out. >> >> What errors were you getting when you tried to run the migrations? >> Could you send me a the relevant log section? >> >> -- >> Piers Cawley <pdcawley at bofh.org.uk> >> http://www.bofh.org.uk/ >> _______________________________________________ >> Typo-list mailing list >> Typo-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/typo-list > > Sigh, well that's me not upgrading in trunk. Multi blog support is > bloat for those of us running Typo on single sites. I think it's a > bad move to keep this in trunk. If you want me to throw a penny in > I'd say split it now. The initial attraction of Typo because it was > lean. Why keep multi blog in trunk when not everyone wants it? It's > screaming out for a separate branch. > > God I hate bloat. Have you even read the patch? The reason that the current changes have gone into the trunk is because they're paving the way to *removing* bloat. In fact, they have already done so by eliminating the settings table and a bunch of structural code to manage it. You could think of r914 as a refactoring of the config object if you prefer. I have no desire to run multiple typo blogs on my site, but a blog object makes a lot of things that I do want to do a good deal easier to manage. I have every intention of making it so that the single blog case is at least as efficient as the (so far hypothetical) multiblog case, but I also need somewhere to stash a bunch of structural currently implemented in controllers that really doesn't belong there. That place is the blog object. I've not benchmarked it, but I'm willing to be that the new blog object is at least as efficient as the old Configuration and Setting objects. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From pdcawley at bofh.org.uk Sat Mar 18 12:18:06 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Sat, 18 Mar 2006 17:18:06 +0000 Subject: [typo] Migration 38 In-Reply-To: <88d636060603180626t4738b41er5048ba18b5e3c09b@mail.gmail.com> (Kevin Kubasik's message of "Sat, 18 Mar 2006 09:26:45 -0500") References: <35ac07b90603172046r1092e696pba14ce2aab95d750@mail.gmail.com> <200603180802.54633.cedric@feelfree.homelinux.com> <6C0D23D8-9369-42B8-A22C-26D7A31CFE9B@sb.org> <88d636060603180626t4738b41er5048ba18b5e3c09b@mail.gmail.com> Message-ID: <m2irqbk6y9.fsf@obelisk.bofh.org.uk> "Kevin Kubasik" <kevin at kubasik.net> writes: > the upgrade kinda worked, I now have the blog table, but get this error > Processing GeneralController#index (for 69.140.109.194 at > 2006-03-1809:23:53) [GET] Parameters: {"action"=>"index", > "controller"=>"admin/general"} Have you restarted your fcgi processes? Looks like you've got old code trying to work with the new schema. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From ernieoporto at gmail.com Sat Mar 18 12:19:06 2006 From: ernieoporto at gmail.com (Ernie Oporto) Date: Sat, 18 Mar 2006 12:19:06 -0500 Subject: [typo] failed migration Message-ID: <f91ac86d0603180919g7cdcb258l8012b944734a9b7f@mail.gmail.com> I get the error below when moving from database version 35 to 40 for trunk version 923. This worked fine when I tested it by just using it as a standalone, but not when I tried migrating my existing site. What's missing? The site itself is not operating properly while this is not migrated. Processing GeneralController#migrate (for 192.168.5.104 at 2006-03-18 12:12:56) [GET] Parameters: {"action"=>"migrate", "controller"=>"admin/general"} Rendering within layouts/administration ActionController::MissingTemplate (Missing template /web/blog/app/views/admin/general/migrate.rhtml): /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:930:in `assert_existance_of_template_file' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:653:in `render_file' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in `render_with_no_layout' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:220:in `render_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in `perform_action_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in `process_request' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in `process!' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in `process!' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in `process!' /public/dispatch.fcgi:24 -- Ernie http://www.shokk.com/blog/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060318/e52d9fb8/attachment.htm From ernieoporto at gmail.com Sat Mar 18 12:24:32 2006 From: ernieoporto at gmail.com (Ernie Oporto) Date: Sat, 18 Mar 2006 12:24:32 -0500 Subject: [typo] failed migration In-Reply-To: <f91ac86d0603180919g7cdcb258l8012b944734a9b7f@mail.gmail.com> References: <f91ac86d0603180919g7cdcb258l8012b944734a9b7f@mail.gmail.com> Message-ID: <f91ac86d0603180924w2fe03caar7459f7bc50f8f1ed@mail.gmail.com> A little clarification. I restarted the server and get "Application error (Rails)" with "Multiple migrations have the version number 1" in the production.log... Processing GeneralController#index (for 192.168.5.104 at 2006-03-18 12:22:09) [G ET] Parameters: {"action"=>"index", "controller"=>"admin/general"}Redirected to http://www.shokk.com/blog/admin/general/update_database Completed in 0.00158 (632 reqs/sec) | DB: 0.00007 (4%) | 302 Found [ http://www.shokk.com/blog/admin/] Processing GeneralController#update_database (for 192.168.5.104 at 2006-03-18 12 :22:09) [GET] Parameters: {"action"=>"update_database", "controller"=>"admin/general"} Rendering within layouts/administrationRendering admin/general/update_database Completed in 0.02420 (41 reqs/sec) | Rendering: 0.01875 (77%) | DB: 0.00021(0%) | 200 OK [ http://www.shokk.com/blog/admin/general/update_database] Processing GeneralController#migrate (for 192.168.5.104 at 2006-03-18 12:22:11) [POST] Parameters: {"action"=>"migrate", "controller"=>"admin/general"} ActiveRecord::DuplicateMigrationVersionError (Multiple migrations have the version number 1): /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2 /lib/active_record/migration. rb:247:in `assert_unique_migration_version' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2 /lib/active_record/migration. rb:238:in `migration_classes' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2 /lib/active_record/connection _adapters/mysql_adapter.rb:185:in `inject' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2 /lib/active_record/migration. rb:235:in `migration_classes' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2 /lib/active_record/migration. rb:223:in `migrate' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2 /lib/active_record/migration. rb:190:in `up' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2 /lib/active_record/migration. rb:181:in `migrate' /lib/migrator.rb:26:in `migrate' /app/controllers/admin/general_controller.rb:17:in `migrate' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2 /lib/action_controller/base.rb: 853:in `perform_action_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2 /lib/action_controller/filters. rb:332:in `perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2 /lib/action_controller/benchmar king.rb:69:in `perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2 /lib/action_controller/benchmar king.rb:69:in `perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2 /lib/action_controller/rescue.r b:82:in `perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2 /lib/action_controller/base.rb: 369:in `process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2 /lib/action_controller/session_ management.rb:116:in `process' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in `process_ request' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in `process!' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in `process!' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in `process!' /public/dispatch.fcgi:24 On 3/18/06, Ernie Oporto <ernieoporto at gmail.com> wrote: > > > I get the error below when moving from database version 35 to 40 for trunk > version 923. > This worked fine when I tested it by just using it as a standalone, but > not when I tried migrating my existing site. > What's missing? The site itself is not operating properly while this is > not migrated. > > > Processing GeneralController#migrate (for 192.168.5.104 at 2006-03-18 > 12:12:56) [GET] > Parameters: {"action"=>"migrate", "controller"=>"admin/general"} > Rendering within layouts/administration > > ActionController::MissingTemplate (Missing template > /web/blog/app/views/admin/general/migrate.rhtml): > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:930:in > `assert_existance_of_template_file' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:653:in > `render_file' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in > `render_with_no_layout' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:220:in > `render_without_benchmark' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in > `render' > /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in > `render' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in > `perform_action_without_filters' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in > `perform_action_without_benchmark' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in > `perform_action_without_rescue' > /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in > `perform_action_without_rescue' > /usr/lib/ruby/gems/1.8/gems/actionpack- 1.11.2/lib/action_controller/rescue.rb:82:in > `perform_action' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in > `process_without_session_management_support' > /usr/lib/ruby/gems/1.8/gems/actionpack- 1.11.2/lib/action_controller/session_management.rb:116:in > `process' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in > `dispatch' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in > `process_request' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in > `process!' > /usr/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:in `each_cgi' > /usr/lib/ruby/gems/1.8/gems/fcgi- 0.8.6.1/./fcgi.rb:597:in `each_cgi' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in > `process!' > /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in > `process!' > /public/dispatch.fcgi:24 > > > -- > 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/20060318/31c1b1f5/attachment.htm From ernieoporto at gmail.com Sat Mar 18 12:38:01 2006 From: ernieoporto at gmail.com (Ernie Oporto) Date: Sat, 18 Mar 2006 12:38:01 -0500 Subject: [typo] failed migration In-Reply-To: <f91ac86d0603180924w2fe03caar7459f7bc50f8f1ed@mail.gmail.com> References: <f91ac86d0603180919g7cdcb258l8012b944734a9b7f@mail.gmail.com> <f91ac86d0603180924w2fe03caar7459f7bc50f8f1ed@mail.gmail.com> Message-ID: <f91ac86d0603180938p70ebab9dg12db5d63da6d7239@mail.gmail.com> And just one more detail, it also fails for another blog going from 39 to 40 with the same Multiple migrations message. On 3/18/06, Ernie Oporto <ernieoporto at gmail.com> wrote: > > > A little clarification. I restarted the server and get "Application error > (Rails)" with "Multiple migrations have the version number 1" in the > production.log... > -- Ernie http://www.shokk.com/blog/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060318/e84b81d5/attachment-0001.htm From steve.longdo at gmail.com Sat Mar 18 12:59:46 2006 From: steve.longdo at gmail.com (Steve Longdo) Date: Sat, 18 Mar 2006 11:59:46 -0600 Subject: [typo] Flickr Plug-in Issue In-Reply-To: <a23a98e90603180744l100e2db2hc1916e97963f3880@mail.gmail.com> References: <a23a98e90603180744l100e2db2hc1916e97963f3880@mail.gmail.com> Message-ID: <cc4e85f30603180959t192798b2od4fc7c8c95162c1c@mail.gmail.com> I had that problem for a bit. I would recommend going and getting your own flickr API key ( http://www.flickr.com/services/api/key.gne ). I did that and replaced the value in the environment.rb file (last line in the file) with my key, the flickr photos returned and the prophecy was fulfilled ;-P -Steve http://www.stevelongdo.com On 3/18/06, Chris Saylor <cwsaylor at gmail.com> wrote: > > Is anybody else having a problem with the Flickr plugin? I just > noticed that my pictures stopped showing up on my blog, > http://www.justhack.com. I'm not sure when that happened. I'm running > the latest trunk, 923. I looked at the plug-in and it appears that > @flickr isn't getting populated. I would like to know if it's just me > or is this a problem in general. > > Thanks, > Chris > > _______________________________________________ > 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/20060318/433f2087/attachment.htm From ernieoporto at gmail.com Sat Mar 18 13:01:10 2006 From: ernieoporto at gmail.com (Ernie Oporto) Date: Sat, 18 Mar 2006 13:01:10 -0500 Subject: [typo] failed migration In-Reply-To: <f91ac86d0603180938p70ebab9dg12db5d63da6d7239@mail.gmail.com> References: <f91ac86d0603180919g7cdcb258l8012b944734a9b7f@mail.gmail.com> <f91ac86d0603180924w2fe03caar7459f7bc50f8f1ed@mail.gmail.com> <f91ac86d0603180938p70ebab9dg12db5d63da6d7239@mail.gmail.com> Message-ID: <f91ac86d0603181001v6ab7bf09q87fce15cae1cbca4@mail.gmail.com> And just to answer my own mail one more time... =) The culprit is in the db/migrations directory. See first the problem site, then the working site. The problem site has two migrations labeled 1_ The question is, where does that guy belong? Should that be 40_add_extended_html.rb And why does 0_initial_schema.rb now show up? [root at chewbacca blog]#ls db/migrate 0_initial_schema.rb 28_rename_redirect_to.rb 10_add_tags.rb 29_add_user_notification.rb 11_add_article_id.rb 2_add_user_email.rb 12_enlarge_settings.rb 30_index_sessions.rb 13_add_textfilters.rb 31_add_notifications_table.rb 14_move_text_filter_to_text_filter_id.rb 32_add_jabber_notification.rb 15_convert_mysql_to_innodb.rb 33_add_count_caching.rb 16_fix_is_primary_postgres.rb 34_boolify_published.rb 17_add_comment_user_id.rb 35_boolify_content_allow_foo.rb 18_add_guids.rb 36_add_tag_display_name.rb 19_add_whiteboards_to_content.rb 37_enlarge_ip_field.rb 1_add_extended_html.rb 38_add_blog_object.rb 1_initial_schema.rb 39_serialize_blog_attributes.rb 20_superclass_articles.rb 3_add_article_user_id.rb 21_superclass_comments.rb 4_add_sidebars.rb 22_superclass_trackbacks.rb 5_add_cache_table.rb 23_superclass_pages.rb 6_add_pages.rb 24_cleanup_contents.rb 7_add_permalink.rb 25_add_itunes_metadata.rb 8_add_page_title.rb 26_add_redirect_table.rb 9_add_article_guid.rb 27_set_comment_published_flag.rb [root at chewbacca blog]#ls /web/quiticisms/blog/db/migrate 10_add_tags.rb 29_add_user_notification.rb 11_add_article_id.rb 2_add_user_email.rb 12_enlarge_settings.rb 30_index_sessions.rb 13_add_textfilters.rb 31_add_notifications_table.rb 14_move_text_filter_to_text_filter_id.rb 32_add_jabber_notification.rb 15_convert_mysql_to_innodb.rb 33_add_count_caching.rb 16_fix_is_primary_postgres.rb 34_boolify_published.rb 17_add_comment_user_id.rb 35_boolify_content_allow_foo.rb 18_add_guids.rb 36_add_tag_display_name.rb 19_add_whiteboards_to_content.rb 37_enlarge_ip_field.rb 1_initial_schema.rb 38_add_blog_object.rb 20_superclass_articles.rb 39_serialize_blog_attributes.rb 21_superclass_comments.rb 3_add_article_user_id.rb 22_superclass_trackbacks.rb 4_add_sidebars.rb 23_superclass_pages.rb 5_add_cache_table.rb 24_cleanup_contents.rb 6_add_pages.rb 25_add_itunes_metadata.rb 7_add_permalink.rb 26_add_redirect_table.rb 8_add_page_title.rb 27_set_comment_published_flag.rb 9_add_article_guid.rb 28_rename_redirect_to.rb On 3/18/06, Ernie Oporto <ernieoporto at gmail.com> wrote: > > > And just one more detail, it also fails for another blog going from 39 to > 40 with the same Multiple migrations message. > > > On 3/18/06, Ernie Oporto <ernieoporto at gmail.com> wrote: > > > > > A little clarification. I restarted the server and get "Application > > error (Rails)" with "Multiple migrations have the version number 1" in the > > production.log... > > > > > > -- > 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/20060318/85be64eb/attachment.htm From pdcawley at bofh.org.uk Sat Mar 18 13:07:01 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Sat, 18 Mar 2006 18:07:01 +0000 Subject: [typo] failed migration In-Reply-To: <f91ac86d0603181001v6ab7bf09q87fce15cae1cbca4@mail.gmail.com> (Ernie Oporto's message of "Sat, 18 Mar 2006 13:01:10 -0500") References: <f91ac86d0603180919g7cdcb258l8012b944734a9b7f@mail.gmail.com> <f91ac86d0603180924w2fe03caar7459f7bc50f8f1ed@mail.gmail.com> <f91ac86d0603180938p70ebab9dg12db5d63da6d7239@mail.gmail.com> <f91ac86d0603181001v6ab7bf09q87fce15cae1cbca4@mail.gmail.com> Message-ID: <m24q1vwrsq.fsf@obelisk.bofh.org.uk> "Ernie Oporto" <ernieoporto at gmail.com> writes: > And just to answer my own mail one more time... =) > The culprit is in the db/migrations directory. See first the problem site, > then the working site. The problem site has two migrations labeled 1_ > The question is, where does that guy belong? Should that be > 40_add_extended_html.rb > And why does 0_initial_schema.rb now show up? It looks to me like a botched svn update gone wrong. 0_initial_schema.rb and 1_add_extended_html.rb simply shouldn't be there. Let me guess, you didn't update this with svn, but by copying files from somewhere else. Delete 0_initial_schema.rb and 1_add_extended_html.rb and try the migration again; you should be okay. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From pdcawley at bofh.org.uk Sat Mar 18 13:15:41 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Sat, 18 Mar 2006 18:15:41 +0000 Subject: [typo] Flickr Plug-in Issue In-Reply-To: <cc4e85f30603180959t192798b2od4fc7c8c95162c1c@mail.gmail.com> (Steve Longdo's message of "Sat, 18 Mar 2006 11:59:46 -0600") References: <a23a98e90603180744l100e2db2hc1916e97963f3880@mail.gmail.com> <cc4e85f30603180959t192798b2od4fc7c8c95162c1c@mail.gmail.com> Message-ID: <m2zmjnvctu.fsf@obelisk.bofh.org.uk> "Steve Longdo" <steve.longdo at gmail.com> writes: > I had that problem for a bit. I would recommend going and getting > your own flickr API key ( http://www.flickr.com/services/api/key.gne > ). I did that and replaced the value in the environment.rb file > (last line in the file) with my key, the flickr photos returned and > the prophecy was fulfilled ;-P I think in this case it's something else; the problem was that I got a bit eager moving stuff from application.rb to content_controller.rb and moved something that the aggregator based sidebars depended on and, because we'd made the mistake of doing: @flickr = check_cache(FlickrAggregation, @sb_config['feed'] rescue nil we weren't even logging the errors. I wonder if there's a case for something like: def evaluate_and_log_error(failure_default = nil) begin yield rescue Exception => e logger.info e failure_default end end and replacing all our 'rescue nil' entries with something along those lines. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From gilgit at gmail.com Sat Mar 18 13:17:53 2006 From: gilgit at gmail.com (David Richardson) Date: Sat, 18 Mar 2006 11:17:53 -0700 Subject: [typo] Migration 38 In-Reply-To: <m2irqbk6y9.fsf@obelisk.bofh.org.uk> References: <35ac07b90603172046r1092e696pba14ce2aab95d750@mail.gmail.com> <200603180802.54633.cedric@feelfree.homelinux.com> <6C0D23D8-9369-42B8-A22C-26D7A31CFE9B@sb.org> <88d636060603180626t4738b41er5048ba18b5e3c09b@mail.gmail.com> <m2irqbk6y9.fsf@obelisk.bofh.org.uk> Message-ID: <35ac07b90603181017t667e774er5b16ae9df37deb2f@mail.gmail.com> Migration still failing with v 924 d.r. From ernieoporto at gmail.com Sat Mar 18 13:36:41 2006 From: ernieoporto at gmail.com (Ernie Oporto) Date: Sat, 18 Mar 2006 13:36:41 -0500 Subject: [typo] failed migration In-Reply-To: <f91ac86d0603181001v6ab7bf09q87fce15cae1cbca4@mail.gmail.com> References: <f91ac86d0603180919g7cdcb258l8012b944734a9b7f@mail.gmail.com> <f91ac86d0603180924w2fe03caar7459f7bc50f8f1ed@mail.gmail.com> <f91ac86d0603180938p70ebab9dg12db5d63da6d7239@mail.gmail.com> <f91ac86d0603181001v6ab7bf09q87fce15cae1cbca4@mail.gmail.com> Message-ID: <f91ac86d0603181036k7c6d55dap544022961baf1248@mail.gmail.com> FIXED! Since I haven't set myself up to do a real svn updates, I've been doing a checkout of the trunk to another area where I do my testing, and then copy the new over the old working area. Bad move because one of the migrations was... err, migrated to another name. This page that I googled was the tipoff... http://glu.ttono.us/articles/2005/10/27/the-joy-of-migrations Deleting 1_initial_schema.rb was the fix. And hopefully someone learns from my mistake and sets it up right the first time. In fact, it would be good if the Typo instructions only dealt with svn so that its set up right from the start to handle updates from trunk or stable or whatever the case may be. On 3/18/06, Ernie Oporto <ernieoporto at gmail.com> wrote: > > And just to answer my own mail one more time... =) > The culprit is in the db/migrations directory. See first the problem > site, then the working site. The problem site has two migrations labeled 1_ > The question is, where does that guy belong? Should that be > 40_add_extended_html.rb > And why does 0_initial_schema.rb now show up? > > > [root at chewbacca blog]#ls db/migrate > 0_initial_schema.rb 28_rename_redirect_to.rb > 10_add_tags.rb 29_add_user_notification.rb > 11_add_article_id.rb 2_add_user_email.rb > 12_enlarge_settings.rb 30_index_sessions.rb > 13_add_textfilters.rb 31_add_notifications_table.rb > 14_move_text_filter_to_text_filter_id.rb 32_add_jabber_notification.rb > 15_convert_mysql_to_innodb.rb 33_add_count_caching.rb > 16_fix_is_primary_postgres.rb 34_boolify_published.rb > 17_add_comment_user_id.rb 35_boolify_content_allow_foo.rb > 18_add_guids.rb 36_add_tag_display_name.rb > 19_add_whiteboards_to_content.rb 37_enlarge_ip_field.rb > 1_add_extended_html.rb 38_add_blog_object.rb > 1_initial_schema.rb 39_serialize_blog_attributes.rb > 20_superclass_articles.rb 3_add_article_user_id.rb > 21_superclass_comments.rb 4_add_sidebars.rb > 22_superclass_trackbacks.rb 5_add_cache_table.rb > 23_superclass_pages.rb 6_add_pages.rb > 24_cleanup_contents.rb 7_add_permalink.rb > 25_add_itunes_metadata.rb 8_add_page_title.rb > 26_add_redirect_table.rb 9_add_article_guid.rb > 27_set_comment_published_flag.rb > [root at chewbacca blog]#ls /web/quiticisms/blog/db/migrate > 10_add_tags.rb 29_add_user_notification.rb > 11_add_article_id.rb 2_add_user_email.rb > 12_enlarge_settings.rb 30_index_sessions.rb > 13_add_textfilters.rb 31_add_notifications_table.rb > 14_move_text_filter_to_text_filter_id.rb 32_add_jabber_notification.rb > 15_convert_mysql_to_innodb.rb 33_add_count_caching.rb > 16_fix_is_primary_postgres.rb 34_boolify_published.rb > 17_add_comment_user_id.rb 35_boolify_content_allow_foo.rb > 18_add_guids.rb 36_add_tag_display_name.rb > 19_add_whiteboards_to_content.rb 37_enlarge_ip_field.rb > 1_initial_schema.rb 38_add_blog_object.rb > 20_superclass_articles.rb 39_serialize_blog_attributes.rb > 21_superclass_comments.rb 3_add_article_user_id.rb > 22_superclass_trackbacks.rb 4_add_sidebars.rb > 23_superclass_pages.rb 5_add_cache_table.rb > 24_cleanup_contents.rb 6_add_pages.rb > 25_add_itunes_metadata.rb 7_add_permalink.rb > 26_add_redirect_table.rb 8_add_page_title.rb > 27_set_comment_published_flag.rb 9_add_article_guid.rb > 28_rename_redirect_to.rb > > > > On 3/18/06, Ernie Oporto <ernieoporto at gmail.com> wrote: > > > > > > And just one more detail, it also fails for another blog going from 39 > > to 40 with the same Multiple migrations message. > > > > > > On 3/18/06, Ernie Oporto <ernieoporto at gmail.com> wrote: > > > > > > > > A little clarification. I restarted the server and get "Application > > > error (Rails)" with "Multiple migrations have the version number 1" in the > > > production.log... > > > > > > > > > > > -- > > Ernie > > http://www.shokk.com/blog/ > > > > > > -- > 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/20060318/4c77f7b1/attachment-0001.htm From ernieoporto at gmail.com Sat Mar 18 13:45:05 2006 From: ernieoporto at gmail.com (Ernie Oporto) Date: Sat, 18 Mar 2006 13:45:05 -0500 Subject: [typo] failed migration In-Reply-To: <m24q1vwrsq.fsf@obelisk.bofh.org.uk> References: <f91ac86d0603180919g7cdcb258l8012b944734a9b7f@mail.gmail.com> <f91ac86d0603180924w2fe03caar7459f7bc50f8f1ed@mail.gmail.com> <f91ac86d0603180938p70ebab9dg12db5d63da6d7239@mail.gmail.com> <f91ac86d0603181001v6ab7bf09q87fce15cae1cbca4@mail.gmail.com> <m24q1vwrsq.fsf@obelisk.bofh.org.uk> Message-ID: <f91ac86d0603181045y8cd76e9t1d47d6e29aa5a6ab@mail.gmail.com> Do you have a recommendation on how I can get this back on track? On 3/18/06, Piers Cawley <pdcawley at bofh.org.uk> wrote: > > "Ernie Oporto" <ernieoporto at gmail.com> writes: > > > And just to answer my own mail one more time... =) > > The culprit is in the db/migrations directory. See first the problem > site, > > then the working site. The problem site has two migrations labeled 1_ > > The question is, where does that guy belong? Should that be > > 40_add_extended_html.rb > > And why does 0_initial_schema.rb now show up? > > It looks to me like a botched svn update gone wrong. 0_initial_schema.rb > and > 1_add_extended_html.rb simply shouldn't be there. > > Let me guess, you didn't update this with svn, but by copying files > from somewhere else. Delete 0_initial_schema.rb and > 1_add_extended_html.rb and try the migration again; you should be > okay. > > -- > Piers Cawley <pdcawley at bofh.org.uk> > http://www.bofh.org.uk/ > _______________________________________________ > 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/20060318/a450a825/attachment.htm From pdcawley at bofh.org.uk Sat Mar 18 13:45:12 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Sat, 18 Mar 2006 18:45:12 +0000 Subject: [typo] Migration 38 In-Reply-To: <35ac07b90603181017t667e774er5b16ae9df37deb2f@mail.gmail.com> (David Richardson's message of "Sat, 18 Mar 2006 11:17:53 -0700") References: <35ac07b90603172046r1092e696pba14ce2aab95d750@mail.gmail.com> <200603180802.54633.cedric@feelfree.homelinux.com> <6C0D23D8-9369-42B8-A22C-26D7A31CFE9B@sb.org> <88d636060603180626t4738b41er5048ba18b5e3c09b@mail.gmail.com> <m2irqbk6y9.fsf@obelisk.bofh.org.uk> <35ac07b90603181017t667e774er5b16ae9df37deb2f@mail.gmail.com> Message-ID: <m24q1vd22v.fsf@obelisk.bofh.org.uk> "David Richardson" <gilgit at gmail.com> writes: > Migration still failing with v 924 Can I have another copy of the rake trace? Preferably with linebreaks this time. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From pdcawley at bofh.org.uk Sat Mar 18 13:47:09 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Sat, 18 Mar 2006 18:47:09 +0000 Subject: [typo] failed migration In-Reply-To: <f91ac86d0603181036k7c6d55dap544022961baf1248@mail.gmail.com> (Ernie Oporto's message of "Sat, 18 Mar 2006 13:36:41 -0500") References: <f91ac86d0603180919g7cdcb258l8012b944734a9b7f@mail.gmail.com> <f91ac86d0603180924w2fe03caar7459f7bc50f8f1ed@mail.gmail.com> <f91ac86d0603180938p70ebab9dg12db5d63da6d7239@mail.gmail.com> <f91ac86d0603181001v6ab7bf09q87fce15cae1cbca4@mail.gmail.com> <f91ac86d0603181036k7c6d55dap544022961baf1248@mail.gmail.com> Message-ID: <m2zmjnbnf6.fsf@obelisk.bofh.org.uk> "Ernie Oporto" <ernieoporto at gmail.com> writes: > FIXED! > Since I haven't set myself up to do a real svn updates, I've been doing a > checkout of the trunk to another area where I do my testing, and then copy > the new over the old working area. Bad move because one of the migrations > was... err, migrated to another name. This page that I googled was the > tipoff... http://glu.ttono.us/articles/2005/10/27/the-joy-of-migrations > > Deleting 1_initial_schema.rb was the fix. And hopefully someone learns from > my mistake and sets it up right the first time. In fact, it would be good > if the Typo instructions only dealt with svn so that its set up right from > the start to handle updates from trunk or stable or whatever the case may > be. Um... you deleted the wrong one. Not that it matters unless you do something stupid like trying to migrate all the way back to an empty database, but you'll get caught out next time there's a migration as well. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From ernieoporto at gmail.com Sat Mar 18 13:51:55 2006 From: ernieoporto at gmail.com (Ernie Oporto) Date: Sat, 18 Mar 2006 13:51:55 -0500 Subject: [typo] failed migration In-Reply-To: <m2zmjnbnf6.fsf@obelisk.bofh.org.uk> References: <f91ac86d0603180919g7cdcb258l8012b944734a9b7f@mail.gmail.com> <f91ac86d0603180924w2fe03caar7459f7bc50f8f1ed@mail.gmail.com> <f91ac86d0603180938p70ebab9dg12db5d63da6d7239@mail.gmail.com> <f91ac86d0603181001v6ab7bf09q87fce15cae1cbca4@mail.gmail.com> <f91ac86d0603181036k7c6d55dap544022961baf1248@mail.gmail.com> <m2zmjnbnf6.fsf@obelisk.bofh.org.uk> Message-ID: <f91ac86d0603181051q7eb5ad9br4f900c802fb0601e@mail.gmail.com> I still have the files so if I put the 1_initial_schema.rb back in place and remove 0_initial_schema.rb and 1_add_extended_html.rb, will I be in good shape? Any suggestions for getting myself properly situated with svn in the current setup? On 3/18/06, Piers Cawley <pdcawley at bofh.org.uk> wrote: > > > Um... you deleted the wrong one. Not that it matters unless you do > something stupid like trying to migrate all the way back to an empty > database, but you'll get caught out next time there's a migration as > well. > > -- > Piers Cawley <pdcawley at bofh.org.uk> > http://www.bofh.org.uk/ > _______________________________________________ > 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/20060318/f5d18c4f/attachment.htm From pdcawley at bofh.org.uk Sat Mar 18 14:00:50 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Sat, 18 Mar 2006 19:00:50 +0000 Subject: [typo] failed migration In-Reply-To: <f91ac86d0603181051q7eb5ad9br4f900c802fb0601e@mail.gmail.com> (Ernie Oporto's message of "Sat, 18 Mar 2006 13:51:55 -0500") References: <f91ac86d0603180919g7cdcb258l8012b944734a9b7f@mail.gmail.com> <f91ac86d0603180924w2fe03caar7459f7bc50f8f1ed@mail.gmail.com> <f91ac86d0603180938p70ebab9dg12db5d63da6d7239@mail.gmail.com> <f91ac86d0603181001v6ab7bf09q87fce15cae1cbca4@mail.gmail.com> <f91ac86d0603181036k7c6d55dap544022961baf1248@mail.gmail.com> <m2zmjnbnf6.fsf@obelisk.bofh.org.uk> <f91ac86d0603181051q7eb5ad9br4f900c802fb0601e@mail.gmail.com> Message-ID: <m2veubbmsd.fsf@obelisk.bofh.org.uk> "Ernie Oporto" <ernieoporto at gmail.com> writes: > I still have the files so if I put the 1_initial_schema.rb back in place and > remove 0_initial_schema.rb and > 1_add_extended_html.rb, will I be in good shape? Should be. > Any suggestions for getting myself properly situated with svn in the current > setup? Err... run your production code from an svn managed directory? -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From cedric at feelfree.homelinux.com Sat Mar 18 14:14:24 2006 From: cedric at feelfree.homelinux.com (cedric) Date: Sat, 18 Mar 2006 20:14:24 +0100 Subject: [typo] failed migration In-Reply-To: <m2veubbmsd.fsf@obelisk.bofh.org.uk> References: <f91ac86d0603180919g7cdcb258l8012b944734a9b7f@mail.gmail.com> <f91ac86d0603181051q7eb5ad9br4f900c802fb0601e@mail.gmail.com> <m2veubbmsd.fsf@obelisk.bofh.org.uk> Message-ID: <200603182014.24163.cedric@feelfree.homelinux.com> Ernie I think that Piers is right. the best way is to have 2 blogs. a development one to test all the things, your improvements on plugins, themes, etc... and a production one with just the "stable updates" both blogs under svn, it depends just on which update you willl upload. I'm doing it since several months and it works well. Le Samedi 18 Mars 2006 20:00, Piers Cawley a ?crit?: > "Ernie Oporto" <ernieoporto at gmail.com> writes: > > I still have the files so if I put the 1_initial_schema.rb back in place > > and remove 0_initial_schema.rb and > > 1_add_extended_html.rb, will I be in good shape? > > Should be. > > > Any suggestions for getting myself properly situated with svn in the > > current setup? > > Err... run your production code from an svn managed directory? From ernieoporto at gmail.com Sat Mar 18 14:25:53 2006 From: ernieoporto at gmail.com (Ernie Oporto) Date: Sat, 18 Mar 2006 14:25:53 -0500 Subject: [typo] failed migration In-Reply-To: <200603182014.24163.cedric@feelfree.homelinux.com> References: <f91ac86d0603180919g7cdcb258l8012b944734a9b7f@mail.gmail.com> <f91ac86d0603181051q7eb5ad9br4f900c802fb0601e@mail.gmail.com> <m2veubbmsd.fsf@obelisk.bofh.org.uk> <200603182014.24163.cedric@feelfree.homelinux.com> Message-ID: <f91ac86d0603181125s24cb921etc331bb0f307841fb@mail.gmail.com> OK, moved the right files into place. I do have two blogs for this. My mistake was taking the fresh truck code and working with a copy of the production database. The site code will have to be copied and then have the svn laid on top of that. But better still I'll have to make sure that the Typo areas, production and test, are from svn as Piers suggests. Thanks! On 3/18/06, cedric <cedric at feelfree.homelinux.com> wrote: > > Ernie I think that Piers is right. > the best way is to have 2 blogs. > > a development one to test all the things, your improvements on plugins, > themes, etc... and > a production one with just the "stable updates" both blogs under svn, it > depends just on which update you willl upload. > > I'm doing it since several months and it works well. > > Le Samedi 18 Mars 2006 20:00, Piers Cawley a ?crit: > > "Ernie Oporto" <ernieoporto at gmail.com> writes: > > > I still have the files so if I put the 1_initial_schema.rb back in > place > > > and remove 0_initial_schema.rb and > > > 1_add_extended_html.rb, will I be in good shape? > > > > Should be. > > > > > Any suggestions for getting myself properly situated with svn in the > > > current setup? > > > > Err... run your production code from an svn managed directory? > > _______________________________________________ > 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/20060318/f1dfae2b/attachment.htm From kevin at sb.org Sat Mar 18 15:36:51 2006 From: kevin at sb.org (Kevin Ballard) Date: Sat, 18 Mar 2006 12:36:51 -0800 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <A3597CA5-2DB1-4004-A174-E6AEE62CC998@gmail.com> References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> <m2u09xniwv.fsf@obelisk.bofh.org.uk> <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> <9BB6029A-B777-4E8C-AD57-9CF1FC0EA9D1@sb.org> <A3597CA5-2DB1-4004-A174-E6AEE62CC998@gmail.com> Message-ID: <0BE9D6ED-E7AC-493F-921A-2F28C257F283@sb.org> On Mar 18, 2006, at 2:22 AM, Gary Shewan wrote: > On 18 Mar 2006, at 02:34, Kevin Ballard wrote: > >> Doing such would kill the Typo project. Maintaining two parallel >> branches like that would be an absolute nightmare for maintenance, >> and either one branch would wither and die or both would. >> >> On Mar 17, 2006, at 9:00 AM, Gary Shewan wrote: >> >>> Sigh, well that's me not upgrading in trunk. Multi blog support is >>> bloat for those of us running Typo on single sites. I think it's a >>> bad move to keep this in trunk. If you want me to throw a penny in >>> I'd say split it now. The initial attraction of Typo because it was >>> lean. Why keep multi blog in trunk when not everyone wants it? >>> It's >>> screaming out for a separate branch. > > That's nonsense. Since when has adding multiblog support to a > blogging engine killed the project? You're scare-mongering and that > doesn't help. You've taken what I said and interpreted it completely opposite to the meaning. I didn't say adding multiblog support would kill the project. I said trying to maintain two branches in parallel development, one as single-blog and one as multi-blog, would either kill a branch or kill the entire project (parallel development meaning any features/bugfixes written for one branch would, if applicable, have to be re-written for the other branch as well). The other option would be for someone else to start maintaining one of the branches and for it to basically become a fork. But that's certainly not desirable either. And see Piers's post for why Gary's original assertion is wrong. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060318/b6e8ac14/attachment-0001.bin From kevin at sb.org Sat Mar 18 15:37:54 2006 From: kevin at sb.org (Kevin Ballard) Date: Sat, 18 Mar 2006 12:37:54 -0800 Subject: [typo] Flickr Plug-in Issue In-Reply-To: <cc4e85f30603180959t192798b2od4fc7c8c95162c1c@mail.gmail.com> References: <a23a98e90603180744l100e2db2hc1916e97963f3880@mail.gmail.com> <cc4e85f30603180959t192798b2od4fc7c8c95162c1c@mail.gmail.com> Message-ID: <19AFEEAF-E3C4-4779-9641-34E90DBDAA07@sb.org> That shouldn't be necessary. The API key is, IIRC, a per-product key, not a per-person key. So using the default key is how Flickr intended this to work. On Mar 18, 2006, at 9:59 AM, Steve Longdo wrote: > I had that problem for a bit. I would recommend going and getting > your own flickr API key ( http://www.flickr.com/services/api/ > key.gne ). I did that and replaced the value in the environment.rb > file (last line in the file) with my key, the flickr photos > returned and the prophecy was fulfilled ;-P -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060318/b06553eb/attachment.bin From kevin at sb.org Sat Mar 18 15:42:11 2006 From: kevin at sb.org (Kevin Ballard) Date: Sat, 18 Mar 2006 12:42:11 -0800 Subject: [typo] failed migration In-Reply-To: <m2veubbmsd.fsf@obelisk.bofh.org.uk> References: <f91ac86d0603180919g7cdcb258l8012b944734a9b7f@mail.gmail.com> <f91ac86d0603180924w2fe03caar7459f7bc50f8f1ed@mail.gmail.com> <f91ac86d0603180938p70ebab9dg12db5d63da6d7239@mail.gmail.com> <f91ac86d0603181001v6ab7bf09q87fce15cae1cbca4@mail.gmail.com> <f91ac86d0603181036k7c6d55dap544022961baf1248@mail.gmail.com> <m2zmjnbnf6.fsf@obelisk.bofh.org.uk> <f91ac86d0603181051q7eb5ad9br4f900c802fb0601e@mail.gmail.com> <m2veubbmsd.fsf@obelisk.bofh.org.uk> Message-ID: <8698A2BF-B126-41CB-AA28-935A2405F8BB@sb.org> On Mar 18, 2006, at 11:00 AM, Piers Cawley wrote: >> Any suggestions for getting myself properly situated with svn in >> the current >> setup? > > Err... run your production code from an svn managed directory? I personally have 3 checkouts on my machine (managed by svk), then when I want to push to my production blog I use rsync with the appropriate --delete and --exclude switches so it will delete unnecessary code files but not delete any cache or public/files stuff. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060318/a8dcf9a6/attachment.bin From gilgit at gmail.com Sat Mar 18 16:39:48 2006 From: gilgit at gmail.com (David Richardson) Date: Sat, 18 Mar 2006 14:39:48 -0700 Subject: [typo] Migration 38 In-Reply-To: <m24q1vd22v.fsf@obelisk.bofh.org.uk> References: <35ac07b90603172046r1092e696pba14ce2aab95d750@mail.gmail.com> <200603180802.54633.cedric@feelfree.homelinux.com> <6C0D23D8-9369-42B8-A22C-26D7A31CFE9B@sb.org> <88d636060603180626t4738b41er5048ba18b5e3c09b@mail.gmail.com> <m2irqbk6y9.fsf@obelisk.bofh.org.uk> <35ac07b90603181017t667e774er5b16ae9df37deb2f@mail.gmail.com> <m24q1vd22v.fsf@obelisk.bofh.org.uk> Message-ID: <35ac07b90603181339i92dd295i990090a53c976102@mail.gmail.com> Working now. Be careful that your update procedure removes deprecatedfile, rather than just updating existing files. d.r.--www.channel200.net From gpsnospam at gmail.com Sun Mar 19 09:23:00 2006 From: gpsnospam at gmail.com (Gary Shewan) Date: Sun, 19 Mar 2006 14:23:00 +0000 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <0BE9D6ED-E7AC-493F-921A-2F28C257F283@sb.org> References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> <m2u09xniwv.fsf@obelisk.bofh.org.uk> <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> <9BB6029A-B777-4E8C-AD57-9CF1FC0EA9D1@sb.org> <A3597CA5-2DB1-4004-A174-E6AEE62CC998@gmail.com> <0BE9D6ED-E7AC-493F-921A-2F28C257F283@sb.org> Message-ID: <59B92A9C-3ABD-41F5-AE09-877031365271@gmail.com> On 18 Mar 2006, at 20:36, Kevin Ballard wrote: > > You've taken what I said and interpreted it completely opposite to > the meaning. I didn't say adding multiblog support would kill the > project. I said trying to maintain two branches in parallel > development, one as single-blog and one as multi-blog, would either > kill a branch or kill the entire project (parallel development > meaning any features/bugfixes written for one branch would, if > applicable, have to be re-written for the other branch as well). > The other option would be for someone else to start maintaining one > of the branches and for it to basically become a fork. But that's > certainly not desirable either. > > And see Piers's post for why Gary's original assertion is wrong. > Jayzuz line me up against the wall and shoot me for opinions why not ;) That's exactly what I meant about two branches. It probably was me who wasn't making it clear. There's no way I'm buying that running two branches would kill a project. I still think that's complete nonsense. I still say you're scare-mongering. Nobody mentioned forking. The concerns being raised was why is such a significant change being jammed into trunk when there are bugs that could be hammered first for the release of Typo 4? Trunk seemed to be broken because of multi-blog support which is pretty annoying for those of us who don't intend using multi-blog support ... can't you see that problem? > Have you even read the patch? > > The reason that the current changes have gone into the trunk is > because they're paving the way to *removing* bloat. In fact, they have > already done so by eliminating the settings table and a bunch of > structural code to manage it. You could think of r914 as a refactoring > of the config object if you prefer. > > I have no desire to run multiple typo blogs on my site, but a blog > object makes a lot of things that I do want to do a good deal easier > to manage. I have every intention of making it so that the single blog > case is at least as efficient as the (so far hypothetical) multiblog > case, but I also need somewhere to stash a bunch of structural > currently implemented in controllers that really doesn't belong > there. That place is the blog object. > > I've not benchmarked it, but I'm willing to be that the new blog > object is at least as efficient as the old Configuration and Setting > objects. Admirable Piers. But this is still a significant change (seemingly). Any particular reason that this was looked at now with all the bugs outstanding, when there was supposed to be a push to stable release 4? Could it not have been handled in a branch or do you think it can be implemented pretty quickly? Can you see why users get irked when trunk breaks because of what is perceived to be multi-blog support when we aren't going to use it? Why should I test that in trunk? See my point? Stamp on the bugs and get a release 4 out and I bet there wouldn't have been a peep. Listen lads, I'm not knocking your work at all. I'm just trying to put the argument forward from the users perspective. Devils advocate if you like, so don't send hate my way ;) Surely you've had this conversation a million times before in your real life development work? Is Typo a developers plaything or something people can really use? Because if it's for us to use those bugs need to go and we need a stable release. Not as cool as new or reordered code ... but needed. From kevin at kubasik.net Sun Mar 19 10:38:28 2006 From: kevin at kubasik.net (Kevin Kubasik) Date: Sun, 19 Mar 2006 10:38:28 -0500 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <59B92A9C-3ABD-41F5-AE09-877031365271@gmail.com> References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> <m2u09xniwv.fsf@obelisk.bofh.org.uk> <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> <9BB6029A-B777-4E8C-AD57-9CF1FC0EA9D1@sb.org> <A3597CA5-2DB1-4004-A174-E6AEE62CC998@gmail.com> <0BE9D6ED-E7AC-493F-921A-2F28C257F283@sb.org> <59B92A9C-3ABD-41F5-AE09-877031365271@gmail.com> Message-ID: <88d636060603190738i28d86c9bg60f116ed2a48d67c@mail.gmail.com> I would like to back this up also, what I was referring to by a brach,was not a permanent one, but either creating a branch for the 4.0release or for multi-blog support, which would be merged back into thetrunk upon its stability, simply because multiblog support was alittle bit of a... bumpy migration for some. Since most of that hasbeen resolved, its more or less ok now, I would just make a point ofkeeping the web-migration interface working smoothly. I like to runtrunk in an attempt to make my hacks as pertinent as possible, and toprovide worthwhile and relevant feedback. Cheers,Kevin KubasikOn 3/19/06, Gary Shewan <gpsnospam at gmail.com> wrote:>> On 18 Mar 2006, at 20:36, Kevin Ballard wrote:> >> > You've taken what I said and interpreted it completely opposite to> > the meaning. I didn't say adding multiblog support would kill the> > project. I said trying to maintain two branches in parallel> > development, one as single-blog and one as multi-blog, would either> > kill a branch or kill the entire project (parallel development> > meaning any features/bugfixes written for one branch would, if> > applicable, have to be re-written for the other branch as well).> > The other option would be for someone else to start maintaining one> > of the branches and for it to basically become a fork. But that's> > certainly not desirable either.> >> > And see Piers's post for why Gary's original assertion is wrong.> >>> Jayzuz line me up against the wall and shoot me for opinions why not ;)>> That's exactly what I meant about two branches. It probably was me> who wasn't making it clear. There's no way I'm buying that running> two branches would kill a project. I still think that's complete> nonsense. I still say you're scare-mongering. Nobody mentioned> forking. The concerns being raised was why is such a significant> change being jammed into trunk when there are bugs that could be> hammered first for the release of Typo 4? Trunk seemed to be broken> because of multi-blog support which is pretty annoying for those of> us who don't intend using multi-blog support ... can't you see that> problem?>> > Have you even read the patch?> >> > The reason that the current changes have gone into the trunk is> > because they're paving the way to *removing* bloat. In fact, they have> > already done so by eliminating the settings table and a bunch of> > structural code to manage it. You could think of r914 as a refactoring> > of the config object if you prefer.> >> > I have no desire to run multiple typo blogs on my site, but a blog> > object makes a lot of things that I do want to do a good deal easier> > to manage. I have every intention of making it so that the single blog> > case is at least as efficient as the (so far hypothetical) multiblog> > case, but I also need somewhere to stash a bunch of structural> > currently implemented in controllers that really doesn't belong> > there. That place is the blog object.> >> > I've not benchmarked it, but I'm willing to be that the new blog> > object is at least as efficient as the old Configuration and Setting> > objects.>> Admirable Piers. But this is still a significant change> (seemingly). Any particular reason that this was looked at now with> all the bugs outstanding, when there was supposed to be a push to> stable release 4? Could it not have been handled in a branch or do> you think it can be implemented pretty quickly? Can you see why> users get irked when trunk breaks because of what is perceived to be> multi-blog support when we aren't going to use it? Why should I test> that in trunk? See my point? Stamp on the bugs and get a release 4> out and I bet there wouldn't have been a peep.>> Listen lads, I'm not knocking your work at all. I'm just trying to> put the argument forward from the users perspective. Devils advocate> if you like, so don't send hate my way ;) Surely you've had this> conversation a million times before in your real life development> work? Is Typo a developers plaything or something people can really> use? Because if it's for us to use those bugs need to go and we need> a stable release. Not as cool as new or reordered code ... but needed.> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list> --Cheers,Kevin Kubasikhttp://blog.kubasik.net/ From pdcawley at bofh.org.uk Sun Mar 19 13:47:32 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Sun, 19 Mar 2006 18:47:32 +0000 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <59B92A9C-3ABD-41F5-AE09-877031365271@gmail.com> (Gary Shewan's message of "Sun, 19 Mar 2006 14:23:00 +0000") References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> <m2u09xniwv.fsf@obelisk.bofh.org.uk> <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> <9BB6029A-B777-4E8C-AD57-9CF1FC0EA9D1@sb.org> <A3597CA5-2DB1-4004-A174-E6AEE62CC998@gmail.com> <0BE9D6ED-E7AC-493F-921A-2F28C257F283@sb.org> <59B92A9C-3ABD-41F5-AE09-877031365271@gmail.com> Message-ID: <m2oe021dbv.fsf@obelisk.bofh.org.uk> Gary Shewan <gpsnospam at gmail.com> writes: > On 18 Mar 2006, at 20:36, Kevin Ballard wrote: >> >> You've taken what I said and interpreted it completely opposite to >> the meaning. I didn't say adding multiblog support would kill the >> project. I said trying to maintain two branches in parallel >> development, one as single-blog and one as multi-blog, would either >> kill a branch or kill the entire project (parallel development >> meaning any features/bugfixes written for one branch would, if >> applicable, have to be re-written for the other branch as well). >> The other option would be for someone else to start maintaining one >> of the branches and for it to basically become a fork. But that's >> certainly not desirable either. >> >> And see Piers's post for why Gary's original assertion is wrong. >> > > Jayzuz line me up against the wall and shoot me for opinions why not ;) > > That's exactly what I meant about two branches. It probably was me > who wasn't making it clear. There's no way I'm buying that running > two branches would kill a project. I still think that's complete > nonsense. I still say you're scare-mongering. Nobody mentioned > forking. The concerns being raised was why is such a significant > change being jammed into trunk when there are bugs that could be > hammered first for the release of Typo 4? Trunk seemed to be broken > because of multi-blog support which is pretty annoying for those of > us who don't intend using multi-blog support ... can't you see that > problem? > >> Have you even read the patch? >> >> The reason that the current changes have gone into the trunk is >> because they're paving the way to *removing* bloat. In fact, they have >> already done so by eliminating the settings table and a bunch of >> structural code to manage it. You could think of r914 as a refactoring >> of the config object if you prefer. >> >> I have no desire to run multiple typo blogs on my site, but a blog >> object makes a lot of things that I do want to do a good deal easier >> to manage. I have every intention of making it so that the single blog >> case is at least as efficient as the (so far hypothetical) multiblog >> case, but I also need somewhere to stash a bunch of structural >> currently implemented in controllers that really doesn't belong >> there. That place is the blog object. >> >> I've not benchmarked it, but I'm willing to be that the new blog >> object is at least as efficient as the old Configuration and Setting >> objects. > > Admirable Piers. But this is still a significant change > (seemingly). Any particular reason that this was looked at now with > all the bugs outstanding, when there was supposed to be a push to > stable release 4? Could it not have been handled in a branch or do > you think it can be implemented pretty quickly? > Can you see why users get irked when trunk breaks because of what is > perceived to be multi-blog support when we aren't going to use it? > Why should I test that in trunk? See my point? Stamp on the bugs > and get a release 4 out and I bet there wouldn't have been a peep. One migration broke because the Postgres database adaptor doesn't work well when you add a table that only has an id column. Not something I could really anticipate when I wrote the patch. Thankfully the migrations fail to safety with no information lost and as soon as someone who'd tried the migration while running postgres popped up with details of what was going wrong it was fixed very quickly. The broken aggregation sidebars were breaking because of something else entirely, which took a little longer to track down. Again, once we had the bug reports in, it wasn't hard to fix. Why did they get fixed so quickly? Because the changes went on the trunk and our intrepid bleading edge users tripped over the bugs and reported them so we could fix them. Typo sidebars are currently almost entirely untested and bordering on the (un|de)testable. Which tends to mean we make changes, push them onto the trunk and hope there aren't any bug reports. We're not happy about this situation, and rest assured we're working on it. > Listen lads, I'm not knocking your work at all. I'm just trying to > put the argument forward from the users perspective. Devils > advocate if you like, so don't send hate my way ;) Surely you've had > this conversation a million times before in your real life > development work? Is Typo a developers plaything or something > people can really use? It's free software, it *has* to be fun for developers to work on or it simply won't get developed. > Because if it's for us to use those bugs need to go and we need a > stable release. Not as cool as new or reordered code ... but > needed. There are 8 open tickets on the 4.0 milestone, one of which is multiblog support; it's been there for ages. The others are: #237 Sidebar issues in IE6 Can't work on that one; no Wintel boxes in the house #299 markup-help.diff Hmm... hang on, why haven't I applied this one yet? Ah... because it doesn't quite work. Nice idea though. #315 Google sitemaps No tests with the patch. With an even half decent test suite, this would go straight in. Without tests I'm worried I'll break it and not realise. #343 Beef up typo spam protection More of an ongoing issue than anything else. We've been talking on IRC about at least instituting a comment/trackback queue for approving or nuking comments and trackbacks rather more quickly than having to find the right article. Am I right in thinking that you've been doing some work in this area? A patch would be welcome; ideally with tests, but for something like this I'd be far more inclined to look favourably on it and write any necessary tests if someone came up with a good framework #392 Resources that are attached to an an article don't show up on the edit article page I've not attacked this one because I'm not at all sure of a good way to proceed. I think that we need to think rather carefully about the the interface for adding articles and their resources on the content page -- what we have isn't desperately good right now. We could really use some good user stories from people who want to use typo for podcasty type things. There is a podcasting patch, which looks at first glance, to be pretty good, but it has no tests and it adds an awful lot of feature, so it's currently in limbo. #421 Fix RSS converter to use a better parser Kevin Ballard's been working on this; from the look of the patches he's been adding and IRC conversations, we're damned close to being able to close this one. Again, the issue of tests arises, but we've got problems along those lines with all our converters. #304 Remote server communication (at sidebar admin) is not very transparent I'm actually working on this one (or on something that will hopefully close it as a side effect) at the moment. I'm not sure I'll finally have it knocked on the head with this iteration, if only because my javascript skills are... well, 'skills' is probably the wrong word. Rails 1.1 will make this sort of thing *way* easier. Oops, 9 open tickets, I just added: #725 Typo installation is about as friendly as a cornered rat Scott's working on this one. Actually, once Scott's got #725 nailed (and he's bullish about it) we should be able to start releasing some 'pre4.0' distributions. The current sketchy plan is that these will get pushed out weekly or monthly until at least 4.0 There will always be the bleading edge, and we'll always be grateful for the people who stay on it and report back when they get cut by it. We're trying to make it less likely that they'll get badly cut (for instance, migrations 38 and 39 were the two most robust migrations I've ever written. Although there was a problem with Postgres, the transactions got unwound properly and nobody (except me when I was writing them) had to recover anything by hand -- not something we've been able to say for every migration in the past), but we can't guarantee it. I can, however, assure that nothing goes into the trunk if we think it doesn't work. Hopefully the forthcoming pre4.0 series will let people get a good deal nearer to the edge without hurting themselves. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From cedric at feelfree.homelinux.com Mon Mar 20 03:25:22 2006 From: cedric at feelfree.homelinux.com (cedric) Date: Mon, 20 Mar 2006 09:25:22 +0100 (CET) Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <m2oe021dbv.fsf@obelisk.bofh.org.uk> References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> <m2u09xniwv.fsf@obelisk.bofh.org.uk> <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> <9BB6029A-B777-4E8C-AD57-9CF1FC0EA9D1@sb.org> <A3597CA5-2DB1-4004-A174-E6AEE62CC998@gmail.com> <0BE9D6ED-E7AC-493F-921A-2F28C257F283@sb.org> <59B92A9C-3ABD-41F5-AE09-877031365271@gmail.com> <m2oe021dbv.fsf@obelisk.bofh.org.uk> Message-ID: <25215.212.215.1.67.1142843122.squirrel@kobayazen.ath.cx> We need to have something really attractive to new users to have new testers. The "typosphere.org" is waiting for an evolution for a long time now. The new users just have a 2.6.0 stable version, but if they want something attractive they must dive in the unstable version or the trac and its patches... I don't think it's the best way to be attractive. I read something about pre4.0 version, but perhaps could we freeze for a while the trunk to have a good intermediate release after a bug hunt week or day? Typo is the toy of the brave developpers, and it must stay fun. But It also must be attractive and rich for the users. I respect the will of everyone, but it's perhaps the time to clarify the status of all the Typo related stuff (i.e typosphere, versions, etc...) I only want to ask everybody to clearly think about what they want Typo to be, explain it and then we can see if there's a common path to follow. Regards From kevin at sb.org Mon Mar 20 03:26:51 2006 From: kevin at sb.org (Kevin Ballard) Date: Mon, 20 Mar 2006 00:26:51 -0800 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <25215.212.215.1.67.1142843122.squirrel@kobayazen.ath.cx> References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> <m2u09xniwv.fsf@obelisk.bofh.org.uk> <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> <9BB6029A-B777-4E8C-AD57-9CF1FC0EA9D1@sb.org> <A3597CA5-2DB1-4004-A174-E6AEE62CC998@gmail.com> <0BE9D6ED-E7AC-493F-921A-2F28C257F283@sb.org> <59B92A9C-3ABD-41F5-AE09-877031365271@gmail.com> <m2oe021dbv.fsf@obelisk.bofh.org.uk> <25215.212.215.1.67.1142843122.squirrel@kobayazen.ath.cx> Message-ID: <E513C394-2D21-4C67-8BEE-A90BBD643BB7@sb.org> The number of tickets for 4.0 left is a small number. Hopefully we can get them dealt with fairly quickly. On Mar 20, 2006, at 12:25 AM, cedric wrote: > We need to have something really attractive to new users to have > new testers. > The "typosphere.org" is waiting for an evolution for a long time now. > > The new users just have a 2.6.0 stable version, but if they want > something > attractive they must dive in the unstable version or the trac and its > patches... > > I don't think it's the best way to be attractive. > > I read something about pre4.0 version, but perhaps could we freeze > for a > while the trunk to have a good intermediate release after a bug > hunt week > or day? > > Typo is the toy of the brave developpers, and it must stay fun. But It > also must be attractive and rich for the users. > > I respect the will of everyone, but it's perhaps the time to > clarify the > status of all the Typo related stuff (i.e typosphere, versions, > etc...) > > I only want to ask everybody to clearly think about what they want > Typo to > be, explain it and then we can see if there's a common path to follow. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060320/e1c486fa/attachment.bin From gpsnospam at gmail.com Mon Mar 20 06:48:43 2006 From: gpsnospam at gmail.com (Gary Shewan) Date: Mon, 20 Mar 2006 11:48:43 +0000 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <m2oe021dbv.fsf@obelisk.bofh.org.uk> References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> <m2u09xniwv.fsf@obelisk.bofh.org.uk> <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> <9BB6029A-B777-4E8C-AD57-9CF1FC0EA9D1@sb.org> <A3597CA5-2DB1-4004-A174-E6AEE62CC998@gmail.com> <0BE9D6ED-E7AC-493F-921A-2F28C257F283@sb.org> <59B92A9C-3ABD-41F5-AE09-877031365271@gmail.com> <m2oe021dbv.fsf@obelisk.bofh.org.uk> Message-ID: <A9DBE499-CB74-4F8E-9B29-F30C63201CF9@gmail.com> On 19 Mar 2006, at 18:47, Piers Cawley wrote: > One migration broke because the Postgres database adaptor doesn't work > well when you add a table that only has an id column. Not something I > could really anticipate when I wrote the patch. Thankfully the > migrations fail to safety with no information lost and as soon as > someone who'd tried the migration while running postgres popped up > with details of what was going wrong it was fixed very quickly. > > The broken aggregation sidebars were breaking because of something > else entirely, which took a little longer to track down. Again, once > we had the bug reports in, it wasn't hard to fix. > > Why did they get fixed so quickly? Because the changes went on the > trunk and our intrepid bleading edge users tripped over the bugs and > reported them so we could fix them. > > Typo sidebars are currently almost entirely untested and bordering on > the (un|de)testable. Which tends to mean we make changes, push them > onto the trunk and hope there aren't any bug reports. We're not happy > about this situation, and rest assured we're working on it. > > It's free software, it *has* to be fun for developers to work on or it > simply won't get developed. > > There are 8 open tickets on the 4.0 milestone, one of which is > multiblog support; it's been there for ages. The others are: > > Actually, once Scott's got #725 nailed (and he's bullish about it) we > should be able to start releasing some 'pre4.0' distributions. The > current sketchy plan is that these will get pushed out weekly or > monthly until at least 4.0 > > There will always be the bleading edge, and we'll always be grateful > for the people who stay on it and report back when they get cut by > it. > > We're trying to make it less likely that they'll get badly cut (for > instance, migrations 38 and 39 were the two most robust migrations > I've ever written. Although there was a problem with Postgres, the > transactions got unwound properly and nobody (except me when I was > writing them) had to recover anything by hand -- not something we've > been able to say for every migration in the past), but we can't > guarantee it. I can, however, assure that nothing goes into the trunk > if we think it doesn't work. > > Hopefully the forthcoming pre4.0 series will let people get a good > deal nearer to the edge without hurting themselves. Thanks for that Piers, it's appreciated because you didn't have to outline all that at all. Much better attitude than some development communities where any questions are met with "It's open source, we give our time for free, deal with it or disappear" I understand that it needs to be fun, and I've never met a developer that really enjoys a good bug hunt over new functionality ... think I'd have a heart attack if I did ;) There is a growing interest in Typo, but until there is a 4.0 release I never really recommend it to anyone unless they feel confident about it. Everybody I know who isn't too technically minded - and has tried Typo - has pulled their hair out in frustration. I've been bitten hard a couple of times with migrations, but that isn't a problem for me because I know what working on the edge of trunk means. I still have just over a thousand legacy blog comments sitting in an sql file that I have to reinclude because they got lost on one migration. But that's what I get if I only check 99% of everything after a trunk migration :) I like the Typo system, I think you fellas are doing great work. Just that a few of us went "Woah!" when we thought we saw a large bit of new functionality (that not all users would use) get wedged in just after talk of an imminent point release. After all the first line in Trac is "Typo is a lean engine..." ;) Keep it fun, but also take some pride in the fact that people are using it and as the number of users grow it speaks volumes about your work. Gary From pdcawley at bofh.org.uk Mon Mar 20 07:46:27 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Mon, 20 Mar 2006 12:46:27 +0000 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <A9DBE499-CB74-4F8E-9B29-F30C63201CF9@gmail.com> (Gary Shewan's message of "Mon, 20 Mar 2006 11:48:43 +0000") References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> <m2u09xniwv.fsf@obelisk.bofh.org.uk> <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> <9BB6029A-B777-4E8C-AD57-9CF1FC0EA9D1@sb.org> <A3597CA5-2DB1-4004-A174-E6AEE62CC998@gmail.com> <0BE9D6ED-E7AC-493F-921A-2F28C257F283@sb.org> <59B92A9C-3ABD-41F5-AE09-877031365271@gmail.com> <m2oe021dbv.fsf@obelisk.bofh.org.uk> <A9DBE499-CB74-4F8E-9B29-F30C63201CF9@gmail.com> Message-ID: <m23bhdgu70.fsf@obelisk.bofh.org.uk> Gary Shewan <gpsnospam at gmail.com> writes: > On 19 Mar 2006, at 18:47, Piers Cawley wrote: > Thanks for that Piers, it's appreciated because you didn't have to > outline all that at all. Much better attitude than some development > communities where any questions are met with "It's open source, we > give our time for free, deal with it or disappear" Well, you know, I was tempted, but I thought of the three virtues of a programmer (Laziness, Impatience and Hubris). The whole 'deal with it or disappear' attitude is more along the lines of arrogance than Hubris. Operating with those virtues tends to mean that stuff goes in the trunk. If it turns out to be misguided, it gets rolled back. (For instance, I just rolled back the change that replaced the global config method with a this_blog method; I had temporarily forgotten that there are more themes out there than Azure and they all of 'em use config, not this_blog. Oops.) > I understand that it needs to be fun, and I've never met a developer > that really enjoys a good bug hunt over new functionality ... think > I'd have a heart attack if I did ;) I dunno, there's a lot to be said for squashing a good bug. When a bug comes up in the trac that I can fix, I set to it with a will. Problems arise when I'm either not convinced that something's a bug or I don't have the knowledge or software to test it (the IE 6 issues, for instance), or when the defect is obvious, but the design insight needed to sort it out just isn't forthcoming. Then I go and work on something that I know how to do. > There is a growing interest in Typo, but until there is a 4.0 > release I never really recommend it to anyone unless they feel > confident about it. The "Typo installation is as friendly as a cornered rat" issue again eh? From some of the things he's been saying about this on IRC, I'm pretty sure you'll like Scott's work on this. > Everybody I know who isn't too technically minded - and has tried > Typo - has pulled their hair out in frustration. I've been bitten > hard a couple of times with migrations, but that isn't a problem for > me because I know what working on the edge of trunk means. And it's because we have to deal with the support issues that arise when these things happen that we've been working on making the last few migrations as painless as possible. The new BareMigration system is a massive improvement here and a thousand thanks are owed to bronson at rinspin for the fabulous patch that introduced BareMigrations and rejigged all the migrations to use them. I now have a great deal more confidence that I can make a migration work independently of any future changes in the behaviour of typo's model objects and that's an enormous godsend. I'm now pretty confident that you can migrate up to the bleading edge from any schema version you like, and that's a massive improvement on the the bad old days of, um... not all that long ago recently. > I still have just over a thousand legacy blog comments sitting in an > sql file that I have to reinclude because they got lost on one > migration. But that's what I get if I only check 99% of everything > after a trunk migration :) Ow! Ow! Ow! I'd suggest copying your production data into a development database and then, assuming N is the schema version that the comments you have come from, do: $ rake migrate VERSION=N $ <appropriate rdbms commandline> < all_those_comments.sql $ rake migrate and test like crazy. If it works you can take the production version down for a few minutes and do the same thing with the production database. If it doesn't, it'd be good to know why no. > I like the Typo system, I think you fellas are doing great work. > Just that a few of us went "Woah!" when we thought we saw a large > bit of new functionality (that not all users would use) get wedged > in just after talk of an imminent point release. After all the > first line in Trac is "Typo is a lean engine..." ;) I'm not entirely sure how true that still is. Probably more of an aspiration than a fact on occasions. > Keep it fun, but also take some pride in the fact that people are > using it and as the number of users grow it speaks volumes about > your work. Oh yeah; gaining users is good. Admittedly, the whole "More cattle; more care" thing rears its head, but but the relationship's more along the lines of O(logN) than O(N), so that's okay. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From gpsnospam at gmail.com Mon Mar 20 08:33:16 2006 From: gpsnospam at gmail.com (Gary Shewan) Date: Mon, 20 Mar 2006 13:33:16 +0000 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <m23bhdgu70.fsf@obelisk.bofh.org.uk> References: <88d636060603170545t739f6fd7ga9588665181531f0@mail.gmail.com> <m2u09xniwv.fsf@obelisk.bofh.org.uk> <402BB93B-F79A-4724-B86D-A79D95B107B2@gmail.com> <9BB6029A-B777-4E8C-AD57-9CF1FC0EA9D1@sb.org> <A3597CA5-2DB1-4004-A174-E6AEE62CC998@gmail.com> <0BE9D6ED-E7AC-493F-921A-2F28C257F283@sb.org> <59B92A9C-3ABD-41F5-AE09-877031365271@gmail.com> <m2oe021dbv.fsf@obelisk.bofh.org.uk> <A9DBE499-CB74-4F8E-9B29-F30C63201CF9@gmail.com> <m23bhdgu70.fsf@obelisk.bofh.org.uk> Message-ID: <18588997-19DD-4B46-8F3B-182B064C7A50@gmail.com> On 20 Mar 2006, at 12:46, Piers Cawley wrote: >> There is a growing interest in Typo, but until there is a 4.0 >> release I never really recommend it to anyone unless they feel >> confident about it. > > The "Typo installation is as friendly as a cornered rat" issue again > eh? From some of the things he's been saying about this on IRC, I'm > pretty sure you'll like Scott's work on this. That's good news. That's the first complaint I hear. But in my experience it's always been a platform/host issue that has caused the problem. >> Everybody I know who isn't too technically minded - and has tried >> Typo - has pulled their hair out in frustration. I've been bitten >> hard a couple of times with migrations, but that isn't a problem for >> me because I know what working on the edge of trunk means. > > And it's because we have to deal with the support issues that arise > when these things happen that we've been working on making the last > few migrations as painless as possible. The new BareMigration system > is a massive improvement here and a thousand thanks are owed to > bronson at rinspin for the fabulous patch that introduced BareMigrations > and rejigged all the migrations to use them. I now have a great deal > more confidence that I can make a migration work independently of any > future changes in the behaviour of typo's model objects and that's an > enormous godsend. I'm now pretty confident that you can migrate up to > the bleading edge from any schema version you like, and that's a > massive improvement on the the bad old days of, um... not all that > long ago recently. That is even better news. Migrations were always a 'Hold your breath' issue ... part of the fun though ;) Still, anything that reduces potential pain is fantastic. >> I still have just over a thousand legacy blog comments sitting in an >> sql file that I have to reinclude because they got lost on one >> migration. But that's what I get if I only check 99% of everything >> after a trunk migration :) > > Ow! Ow! Ow! > > I'd suggest copying your production data into a development database > and then, assuming N is the schema version that the comments you have > come from, do: > > $ rake migrate VERSION=N > $ <appropriate rdbms commandline> < all_those_comments.sql > $ rake migrate > > and test like crazy. > > If it works you can take the production version down for a few minutes > and do the same thing with the production database. If it doesn't, > it'd be good to know why no. Oh it's more exciting than that. I went through two trunk jumps before I realised that all the comments before a certain date were, er, gone. So the backup of the comments are actually sitting in an sql file extracted from a Textpattern backup file so they have to be converted to a Typo form and then reintegrated. I'm going to have to really be in the mood to tackle that little task - and probably have nothing better to do :) My ego doesn't need all those comments reintegrated in any hurry, so it's definitely a backburner issue. Gary From smountcastle at gmail.com Mon Mar 20 09:48:31 2006 From: smountcastle at gmail.com (Sean Mountcastle) Date: Mon, 20 Mar 2006 09:48:31 -0500 Subject: [typo] Recent Multi-Blog update Breaks Message-ID: <c4d54c6f0603200648x6e5a72f6r19fd9a4d9085842a@mail.gmail.com> Piers, I just wanted to say thank you for all of the work you've done on Typo -- including the initial multi-blog support. For my personal blog, multi-blog support is of no use to me, but I believe that the refactoring taking place will make Typo faster in the long run (and I have ideas for other projects where multi-blog support would be useful). It seems like there's been a bit of a backlash on the mailing list about multiblog support now that its in trunk -- hopefully you'll not be discouraged, as I believe there are many members of this mailing list looking forward to multiblog support (looking back through the number of times its been asked about). I am curious if you have a roadmap for this feature? Some questions I had were as follows: - How will Typo route to the different blogs? Using subdomain as blog key? Modifying routes.rb with special URLs? - I like what you've done with the Settings/Configuration but searching through the set of blogs for one with a particular blog_name for example might not be optimal ... perhaps the blog_name can be promoted to its own field in the blogs table? - Will you be adding blog_id to several of the other tables (such as blacklist_patterns, categories, contents, resources, sidebars, tags, text_filters and users)? - Are there pieces of this work that we (I) can help out with? Perhaps taking a model/controller and the associated tests to work on? Thanks again, Sean From pdcawley at bofh.org.uk Mon Mar 20 12:00:34 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Mon, 20 Mar 2006 17:00:34 +0000 Subject: [typo] Sidebars Message-ID: <m2y7z5f3v1.fsf@obelisk.bofh.org.uk> I love sidebars, sidebars are cool. I'm less enamoured of our current implementation of 'em, because they're components and components are slow and a pain in the bum to test. With that in mind I've been playing with turning them into plugins that delegate to a controller for almost everything. The basic parent might look something like (with lots of handwaving) class PluggableSidebar @@subclasses = {} cattr_accessor :controller class << self # Keep track of our subclasses and have them keep track of theirs def inherited; ...; end def subclasses; ... ; end def available_sidebars subclasses.select {|sidebar| sidebar.subclasses.empty?} end end class SetupSidebarFilter class << self def before(controller) PluggableSidebar.controller = controller end def after(controller) PluggableSidebar.controller = nil end end end def method_missing(*args) if @@controller @@controller.send(*args) else raise NoMethodError, "undefined method #{args[0]} for #{self.class}" end end def render(*args) @performed = true @@controller.render_to_string(*args) end def performed? @performed || false end def configuration_wrapper with_include_path(self.class.view_path) do configure render :partial => "configure", :locals => {sidebar => self} unless peformed? end end def index with_include_path(self.class.view_path) do content render :partial => "content", :locals => {sidebar => self} unless peformed? end end end Lots of stuff missing, obviously, but the basic goal is to turn the Sidebar parent class into something that *feels* like a controller to someone writing one, but which can be called with a helper without having to go through the rather heavyweight process of rendering a component. Also, I want to be able unify the current Sidebar and SidebarController classes in such a way that a Sidebar can be serialized to YAML and stored on the blog object, and in a :staged_sidebars key in the flash. Thoughts? -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From scott at sigkill.org Mon Mar 20 12:09:27 2006 From: scott at sigkill.org (Scott Laird) Date: Mon, 20 Mar 2006 09:09:27 -0800 Subject: [typo] Sidebars In-Reply-To: <m2y7z5f3v1.fsf@obelisk.bofh.org.uk> References: <m2y7z5f3v1.fsf@obelisk.bofh.org.uk> Message-ID: <14b7e5ef0603200909t160f7dd2t4f3347100df2f2d0@mail.gmail.com> This looks pretty reasonable, at least in principal. Care to providean example of what one of the existing sidebars would look like, andhow the sidebar views fit into the picture? Scott On 3/20/06, Piers Cawley <pdcawley at bofh.org.uk> wrote:> I love sidebars, sidebars are cool.>> I'm less enamoured of our current implementation of 'em, because> they're components and components are slow and a pain in the bum to> test.>> With that in mind I've been playing with turning them into plugins> that delegate to a controller for almost everything. The basic parent> might look something like (with lots of handwaving)>> class PluggableSidebar> @@subclasses = {}> cattr_accessor :controller> class << self> # Keep track of our subclasses and have them keep track of theirs> def inherited; ...; end> def subclasses; ... ; end>> def available_sidebars> subclasses.select {|sidebar| sidebar.subclasses.empty?}> end> end>> class SetupSidebarFilter> class << self> def before(controller)> PluggableSidebar.controller = controller> end> def after(controller)> PluggableSidebar.controller = nil> end> end> end>> def method_missing(*args)> if @@controller> @@controller.send(*args)> else> raise NoMethodError, "undefined method #{args[0]} for #{self.class}"> end> end>> def render(*args)> @performed = true> @@controller.render_to_string(*args)> end>> def performed?> @performed || false> end>> def configuration_wrapper> with_include_path(self.class.view_path) do> configure> render :partial => "configure", :locals => {sidebar => self} unless peformed?> end> end>> def index> with_include_path(self.class.view_path) do> content> render :partial => "content", :locals => {sidebar => self} unless peformed?> end> end> end>> Lots of stuff missing, obviously, but the basic goal is to turn> the Sidebar parent class into something that *feels* like a controller> to someone writing one, but which can be called with a helper without> having to go through the rather heavyweight process of rendering a> component.>> Also, I want to be able unify the current Sidebar and> SidebarController classes in such a way that a Sidebar can be> serialized to YAML and stored on the blog object, and in a> :staged_sidebars key in the flash.>> Thoughts?>> --> Piers Cawley <pdcawley at bofh.org.uk>> 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 Mon Mar 20 12:36:41 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Mon, 20 Mar 2006 17:36:41 +0000 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <c4d54c6f0603200648x6e5a72f6r19fd9a4d9085842a@mail.gmail.com> (Sean Mountcastle's message of "Mon, 20 Mar 2006 09:48:31 -0500") References: <c4d54c6f0603200648x6e5a72f6r19fd9a4d9085842a@mail.gmail.com> Message-ID: <m2r74xf26u.fsf@obelisk.bofh.org.uk> "Sean Mountcastle" <smountcastle at gmail.com> writes: > Piers, > > I just wanted to say thank you for all of the work you've done on Typo > -- including the initial multi-blog support. For my personal blog, > multi-blog support is of no use to me, but I believe that the > refactoring taking place will make Typo faster in the long run (and I > have ideas for other projects where multi-blog support would be > useful). > > It seems like there's been a bit of a backlash on the mailing list > about multiblog support now that its in trunk -- hopefully you'll not > be discouraged, as I believe there are many members of this mailing > list looking forward to multiblog support (looking back through the > number of times its been asked about). > > I am curious if you have a roadmap for this feature? Some questions I > had were as follows: > - How will Typo route to the different blogs? Using subdomain as blog > key? Modifying routes.rb with special URLs? Dunno yet, we'll see what the code tells us. User stories for how people *want* to use multiblogs will help us design this. If you have a need for multiblogs, please bung a ticket in the trac explaining how you would like to set a new blog up. Just a couple of paragraphs and maybe a sketch of how you expect the screens to look (html, pdf, whatever) would be very useful. > - I like what you've done with the Settings/Configuration but > searching through the set of blogs for one with a particular blog_name > for example might not be optimal ... perhaps the blog_name can be > promoted to its own field in the blogs table? Yes, probably. But it's not an issue until we're actually handling multiple blogs, so it can wait. As soon as I write anything that needs to search on the blog name, you can bet it will get pulled up into the blogs table proper. > - Will you be adding blog_id to several of the other tables (such as > blacklist_patterns, categories, contents, resources, sidebars, tags, > text_filters and users)? Yes, there wouldn't be much point without that, although some of those will be habtm (or hopefully, by time we come to implement them, has_many ... through) relationships. > - Are there pieces of this work that we (I) can help out with? > Perhaps taking a model/controller and the associated tests to work > on? I've already had a go at doing a spike on adding: Blog.has_many(:contents) Blog.has_many(:articles) Blog.has_many(:comments) Blog.has_many(:trackbacks) Blog.has_many(:pages) Content.belongs_to(:blog) And it's a *huge* change, touching pretty much everything. Even when I 'cheat' by overriding perform_action_without_filters (an undocumented, but very useful ActionController::Base method) to look like: def perform_action_without_filters scope_for_content = {:find => {:conditions => "blog_id = #{this_blog.id}"}, :create => {:blog_id => this_blog.id}} Content.with_scope(scope_for_content) do Article.with_scope(scope_for_content) do Comment.with_scope(scope_for_content) do Trackback.with_scope(scope_for_content) do Page.with_scope(scope_for_content) do super end end end end end there's still an awful lot of stuff to find and change (it turns out that 'new' doesn't respect scoping, which is annoying, arguably correct, and fixable if you're prepared to mess with overriding undocumented bits of Rails (which hasn't stopped us before)). So, feel free to take it on, but do be aware that there's rather a lot to deal with -- part of the reason I stopped and applied the patch when I did was that it was getting awfully big... -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From scott at sigkill.org Mon Mar 20 12:57:04 2006 From: scott at sigkill.org (Scott Laird) Date: Mon, 20 Mar 2006 09:57:04 -0800 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <m2r74xf26u.fsf@obelisk.bofh.org.uk> References: <c4d54c6f0603200648x6e5a72f6r19fd9a4d9085842a@mail.gmail.com> <m2r74xf26u.fsf@obelisk.bofh.org.uk> Message-ID: <14b7e5ef0603200957h2fb30dd8jab6eff51d6c90bca@mail.gmail.com> On 3/20/06, Piers Cawley <pdcawley at bofh.org.uk> wrote:>> And it's a *huge* change, touching pretty much everything. Even when I> 'cheat' by overriding perform_action_without_filters (an undocumented,> but very useful ActionController::Base method) to look like:>> def perform_action_without_filters> scope_for_content = {:find => {:conditions => "blog_id = #{this_blog.id}"},> :create => {:blog_id => this_blog.id}}>> Content.with_scope(scope_for_content) do> Article.with_scope(scope_for_content) do> Comment.with_scope(scope_for_content) do> Trackback.with_scope(scope_for_content) do> Page.with_scope(scope_for_content) do> super> end> end> end> end> end>> there's still an awful lot of stuff to find and change (it turns out> that 'new' doesn't respect scoping, which is annoying, arguably> correct, and fixable if you're prepared to mess with overriding> undocumented bits of Rails (which hasn't stopped us before)). Heh. Easy. Since we're single-threaded, we can just do: def perform_action_without_filters scope_for_content = {:find => {:conditions => "blog_id = #{this_blog.id}"}, :create => {:blog_id => this_blog.id}} Content.with_scope(scope_for_content) do Article.with_scope(scope_for_content) do Comment.with_scope(scope_for_content) do Trackback.with_scope(scope_for_content) do Page.with_scope(scope_for_content) do $blog_id = this_blog.id super end end end end end class Content def initialize ... self.blog_id = $blog_id end end Should work. It's horrifically ugly, but it should end up working. I'm not really advocating doing it this way, but it's probably theshortest path to working multi-blog support. It's also the shortestpath to madness, but we might be able to extract it into somethingless evil. Scott From pdcawley at bofh.org.uk Mon Mar 20 13:21:35 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Mon, 20 Mar 2006 18:21:35 +0000 Subject: [typo] Sidebars In-Reply-To: <14b7e5ef0603200909t160f7dd2t4f3347100df2f2d0@mail.gmail.com> (Scott Laird's message of "Mon, 20 Mar 2006 09:09:27 -0800") References: <m2y7z5f3v1.fsf@obelisk.bofh.org.uk> <14b7e5ef0603200909t160f7dd2t4f3347100df2f2d0@mail.gmail.com> Message-ID: <m2mzflf040.fsf@obelisk.bofh.org.uk> "Scott Laird" <scott at sigkill.org> writes: > This looks pretty reasonable, at least in principal. Care to > providean example of what one of the existing sidebars would look > like, andhow the sidebar views fit into the picture? Okay, here's how I hope to make the amazon controller work: Given a basedir of RAILS_ROOT/vendor/plugins/pluggable_controllers/ we would have: lib/amazon_sidebar.rb class AmazonSidebar < PluggableSidebar # self.display_name defaults to self.short_name.ucfirst, so no need # to implement it here because short_name defaults to 'amazon' def self.description "Adds sidebar links to any amazon books linked in the body of the page" end # config_accessor defines an attr accessor with a default. # Could possibly have it take enough information that the nice form # helpers that rails provides can build a config form automagically, # but that's for later config_accessor :associate_id, :default => 'justasummary=20' config_accessor :maxlinks, :default => 4 config_accessor :title, :default => 'Cited books' # default initializer works like the standard ActiveRecord::Base # initializer, so the admin controller can do things like: # sidebar_class_for[0].new(params[actives][0]) # self.default_config -- no need to implement, we just # AmazonSidebar.new will set the correct defaults. attr_accessor :asins def content self.asins = params[:contents].to_a.inject([]) do |list, item| list | item.whiteboard[:asins].to_a end.compact[0, self.maxlinks] if asins.empty? render :text => '' end end def configure end end views/amazon/_content.rhtml # possibly content.rhtml <% unless sidebar.asins.blank? -%> <h3><%=h sidebar.title %></h3> <div id='amazon_links'><%= render :partial => 'link', :collection => sidebar.asins %> </div> <% end -%> views/amazon/_link.rhtml <iframe src=...&asins=<%= asin %>...&t=<%= sidebar.assoc_id %> views/amazon/_configure.rhtml <label>Associate ID</label> <%= text_field_tag "sidebars[][associate_id]", sidebar.associate_id %><br /> <label>Max links</label> <%= text_field_tag "sidebars[][maxlinks]", sidebar.maxlinks %><br /> <label>Sidebar Title</label> <%= text_field_tag "sidebars[][title]", sidebar.maxlinks %> The thinking here is admin/sidebar has a single form, ordering gets sorted out by drag'n'drop without having to keep sending stuff back to the server, 'publish changes' then just submits a single form. Also, the superclass's configure_wrapper needs to add a "<hidden id='sidebars[][class]' value='AmazonSidebar'/>" as part of its pseudo layout. Even if we can't make admin/sidebar into a single form view, the _configure partial really doesn't need to set its own form up... Implementing this won't necessarily be straightforward, and it won't happen overnight, but there's *far* too much DRY violation going on with sidebars at the moment. Things like layouts to set the config form up can be implemented independently of any larger changes. -- Piers Cawley <pdcawley at bofh.org.uk> ?http://www.bofh.org.uk/ From scott at sigkill.org Mon Mar 20 13:35:19 2006 From: scott at sigkill.org (Scott Laird) Date: Mon, 20 Mar 2006 10:35:19 -0800 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <m2r74xf26u.fsf@obelisk.bofh.org.uk> References: <c4d54c6f0603200648x6e5a72f6r19fd9a4d9085842a@mail.gmail.com> <m2r74xf26u.fsf@obelisk.bofh.org.uk> Message-ID: <14b7e5ef0603201035g3784e1a5o61bb1a0c39cbecea@mail.gmail.com> [Wow, that was ugly. I've never really tried pasting code into gmail before. Let's see if this works] Heh. Easy. Since we're single-threaded, we can just do: def perform_action_without_filters scope_for_content = {:find => {:conditions => "blog_id = #{this_blog.id}"}, :create => {:blog_id => this_blog.id}} Content.with_scope(scope_for_content) do Article.with_scope(scope_for_content) do Comment.with_scope(scope_for_content) do Trackback.with_scope(scope_for_content) do Page.with_scope(scope_for_content) do $blog_id = this_blog.id super end end end end end class Content def initialize ... self.blog_id = $blog_id end end Should work. It's horrifically ugly, but it should end up working. I'm not really advocating doing it this way, but it's probably the shortest path to working multi-blog support. It's also the shortest path to madness, but we might be able to extract it into something less evil. Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060320/0a9bb607/attachment-0001.htm From scott at sigkill.org Mon Mar 20 14:17:04 2006 From: scott at sigkill.org (Scott Laird) Date: Mon, 20 Mar 2006 11:17:04 -0800 Subject: [typo] Sidebars In-Reply-To: <m2mzflf040.fsf@obelisk.bofh.org.uk> References: <m2y7z5f3v1.fsf@obelisk.bofh.org.uk> <14b7e5ef0603200909t160f7dd2t4f3347100df2f2d0@mail.gmail.com> <m2mzflf040.fsf@obelisk.bofh.org.uk> Message-ID: <14b7e5ef0603201117h1b069978x2309a139ebc38256@mail.gmail.com> I'd really, *really* like to find a way to keep the sidebar code and views bundled together in the same directory structure. From what I can see here, you're breaking the two apart as a sort of natural consequence of dropping components. Can we please find a way to stick them back together? Scott On 3/20/06, Piers Cawley <pdcawley at bofh.org.uk> wrote: > > "Scott Laird" <scott at sigkill.org> writes: > > > This looks pretty reasonable, at least in principal. Care to > > providean example of what one of the existing sidebars would look > > like, andhow the sidebar views fit into the picture? > > Okay, here's how I hope to make the amazon controller work: > > Given a basedir of RAILS_ROOT/vendor/plugins/pluggable_controllers/ we > would have: > > lib/amazon_sidebar.rb > class AmazonSidebar < PluggableSidebar > # self.display_name defaults to self.short_name.ucfirst, so no need > # to implement it here because short_name defaults to 'amazon' > > def self.description > "Adds sidebar links to any amazon books linked in the body of the > page" > end > > # config_accessor defines an attr accessor with a default. > # Could possibly have it take enough information that the nice form > # helpers that rails provides can build a config form automagically, > # but that's for later > config_accessor :associate_id, :default => 'justasummary=20' > config_accessor :maxlinks, :default => 4 > config_accessor :title, :default => 'Cited books' > > # default initializer works like the standard ActiveRecord::Base > # initializer, so the admin controller can do things like: > # sidebar_class_for[0].new(params[actives][0]) > > # self.default_config -- no need to implement, we just > # AmazonSidebar.new will set the correct defaults. > > attr_accessor :asins > > def content > self.asins = params[:contents].to_a.inject([]) do |list, item| > list | item.whiteboard[:asins].to_a > end.compact[0, self.maxlinks] > if asins.empty? > render :text => '' > end > end > > def configure > end > end > > views/amazon/_content.rhtml # possibly content.rhtml > <% unless sidebar.asins.blank? -%> > <h3><%=h sidebar.title %></h3> > <div id='amazon_links'><%= > render :partial => 'link', :collection => sidebar.asins %> > </div> > <% end -%> > > views/amazon/_link.rhtml > <iframe src=...&asins=<%= asin %>...&t=<%= sidebar.assoc_id %> > > > views/amazon/_configure.rhtml > <label>Associate ID</label> > <%= text_field_tag "sidebars[][associate_id]", sidebar.associate_id %><br > /> > <label>Max links</label> > <%= text_field_tag "sidebars[][maxlinks]", sidebar.maxlinks %><br /> > <label>Sidebar Title</label> > <%= text_field_tag "sidebars[][title]", sidebar.maxlinks %> > > The thinking here is admin/sidebar has a single form, ordering gets > sorted out by drag'n'drop without having to keep sending stuff back to > the server, 'publish changes' then just submits a single form. Also, > the superclass's configure_wrapper needs to add a "<hidden > id='sidebars[][class]' value='AmazonSidebar'/>" as part of its pseudo > layout. > > Even if we can't make admin/sidebar into a single form view, the > _configure partial really doesn't need to set its own form up... > > Implementing this won't necessarily be straightforward, and it won't > happen overnight, but there's *far* too much DRY violation going on > with sidebars at the moment. Things like layouts to set the config > form up can be implemented independently of any larger changes. > > -- > Piers Cawley <pdcawley at bofh.org.uk> > ?http://www.bofh.org.uk/ > > _______________________________________________ > 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/20060320/ad4a6839/attachment.htm From makenai at gmail.com Mon Mar 20 14:31:00 2006 From: makenai at gmail.com (Pawel Szymczykowski) Date: Mon, 20 Mar 2006 11:31:00 -0800 Subject: [typo] Visible admin urls? Message-ID: <ad6f00590603201131t9f8e97fx8d3dc65990fee789@mail.gmail.com> Hi all, I was looking at my logs today and noticed a bunch of hits like this: 64.238.127.181 - - [20/Mar/2006:08:41:01 -0800] "GET /articles/tag/credit HTTP/1.1" 200 9386 "-" "Java/1.5.0_06" "-" 64.238.127.181 - - [20/Mar/2006:08:41:29 -0800] "GET /admin/content/edit/38 HTTP/1.1" 302 119 "-" "Java/1.5.0_06" "-" 64.238.127.181 - - [20/Mar/2006:08:41:32 -0800] "GET /admin/content/edit/39 HTTP/1.1" 302 119 "-" "Java/1.5.0_06" "-" 64.238.127.181 - - [20/Mar/2006:08:41:35 -0800] "GET /admin/content/edit/34 HTTP/1.1" 302 119 "-" "Java/1.5.0_06" "-" 64.238.127.181 - - [20/Mar/2006:08:41:37 -0800] "GET /admin/content/edit/37 HTTP/1.1" 302 119 "-" "Java/1.5.0_06" "-" (Nevermind that this particular bot doesn't seem to follow robots.txt) It kind of freaked me out, so I looked into the issue a little bit more and noticed this in the code: <div class="post" onmouseover="if (getCookie('is_admin') == 'yes') { Element.show('admin_article'); }" onmouseout="Element.hide('admin_article');" > <a href="/admin/content/edit/44" class="admintools" id="admin_article" style="display: none">edit</a> Is there any reason this stuff should be visible to someone who isn't even logged in? Can't we hide it server side or something? OK - bad idea because of the caching - but how about at least obscuring the link with javascript or something? I don't mean something spammy with lots of string concatenation, but how about just a function in a peripheral .js file that does a document.write of the link? I realize that the link won't do anything without authentication (as shown in the redirect from the logs), but it still makes me a little bit paranoid that it's there. Why show all of your houseguests the exact location of the floor safe if you don't have to? OK. That's all - sorry, I'm going to take a deep breath and calm down. Am I overreacting, or does anyone else find this a bit scary? Thanks for listening. -Pawel From pdcawley at bofh.org.uk Mon Mar 20 19:20:10 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Tue, 21 Mar 2006 00:20:10 +0000 Subject: [typo] Recent Multi-Blog update Breaks In-Reply-To: <14b7e5ef0603201035g3784e1a5o61bb1a0c39cbecea@mail.gmail.com> (Scott Laird's message of "Mon, 20 Mar 2006 10:35:19 -0800") References: <c4d54c6f0603200648x6e5a72f6r19fd9a4d9085842a@mail.gmail.com> <m2r74xf26u.fsf@obelisk.bofh.org.uk> <14b7e5ef0603201035g3784e1a5o61bb1a0c39cbecea@mail.gmail.com> Message-ID: <m2ek0wfy2t.fsf@obelisk.bofh.org.uk> "Scott Laird" <scott at sigkill.org> writes: > [Wow, that was ugly. I've never really tried pasting code into gmail > before. Let's see if this works] > > Heh. Easy. Since we're single-threaded, we can just do: > > def perform_action_without_filters > scope_for_content = {:find => {:conditions => "blog_id = > #{this_blog.id}"}, > :create => {:blog_id => this_blog.id}} > > Content.with_scope(scope_for_content) do > Article.with_scope(scope_for_content) do > Comment.with_scope(scope_for_content) do > Trackback.with_scope(scope_for_content) do > Page.with_scope(scope_for_content) do > $blog_id = this_blog.id > super > end > end > end > end > end > > class Content > def initialize > ... > self.blog_id = $blog_id > end > end > > Should work. It's horrifically ugly, but it should end up working. If we're happy with monkeying with undocumented methods, then it's better to just avoid the global and do: class Content def initialize(attributes = {}) attributes.reverse_merge!(scope(:create)) if scoped?(:create) super(attributes) end end > I'm not really advocating doing it this way, but it's probably the > shortest path to working multi-blog support. It's also the shortest > path to madness, but we might be able to extract it into something > less evil. See above. I'll have a crack at doing a spike with this approach tomorrow (well, later today, after I've been asleep for a bit). -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From pdcawley at bofh.org.uk Mon Mar 20 19:32:50 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Tue, 21 Mar 2006 00:32:50 +0000 Subject: [typo] Sidebars In-Reply-To: <14b7e5ef0603201117h1b069978x2309a139ebc38256@mail.gmail.com> (Scott Laird's message of "Mon, 20 Mar 2006 11:17:04 -0800") References: <m2y7z5f3v1.fsf@obelisk.bofh.org.uk> <14b7e5ef0603200909t160f7dd2t4f3347100df2f2d0@mail.gmail.com> <m2mzflf040.fsf@obelisk.bofh.org.uk> <14b7e5ef0603201117h1b069978x2309a139ebc38256@mail.gmail.com> Message-ID: <m2acbkfxhp.fsf@obelisk.bofh.org.uk> "Scott Laird" <scott at sigkill.org> writes: > I'd really, *really* like to find a way to keep the sidebar code and views > bundled together in the same directory structure. From what I can see here, > you're breaking the two apart as a sort of natural consequence of dropping > components. Can we please find a way to stick them back together? Ah... now I was deliberately trying to reflect the same structure as the rest of rails; there's nothing to stop us having a structure like: vendor/plugins/pluggable_sidebars/sidebars/amazon: amazon_sidebar.rb _content.rhtml _configure.rhtml ie, just have 'em sat side by side. It's all in how you implement 'with_include_path' Hmm... I think this might be the way to go, that way we can sling extra sidebars around as simple tarballs that can go pretty much anywhere in the include path. I can imagine a day when complex sidebars get their own gem installation and you either include them with environment.rb or do ./script/generate sidebar foo which copies the appropriate files from the gem directory and dumps 'em in your vendor/plugins/pluggable_sidebars/sidebars directory where they'll get picked up by init.rb Of course, YAGNI applies, so I'll not actually implement that until someone demonstrates a need for it, but it does give us a potential route to letting people distribute sidebars rather neatly. Another possible layout for the sidebar's directory gos something like this: amazon/amazon_sidebar.rb /views/_content.rhtml _configure.rhtml /tests/test_amazon.rb Especially handy if we can write a test_sidebars task that will run those tests. In other words, it's all up in the air, I haven't implemented anything yet, so now's a good time to think about what the API is going to be like. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From kevin at sb.org Mon Mar 20 21:51:54 2006 From: kevin at sb.org (Kevin Ballard) Date: Mon, 20 Mar 2006 18:51:54 -0800 Subject: [typo] Visible admin urls? In-Reply-To: <ad6f00590603201131t9f8e97fx8d3dc65990fee789@mail.gmail.com> References: <ad6f00590603201131t9f8e97fx8d3dc65990fee789@mail.gmail.com> Message-ID: <F1D9D1A4-B921-4EA8-8476-92F329BF5343@sb.org> Well, anybody who's ever looked at typo will be able to figure out the path pretty easily anyhow. If your login is secure, trying to obscure the path here isn't going to do anything at all. That would be like closing the window while the door is wide open. On Mar 20, 2006, at 11:31 AM, Pawel Szymczykowski wrote: > Is there any reason this stuff should be visible to someone who isn't > even logged in? Can't we hide it server side or something? OK - bad > idea because of the caching - but how about at least obscuring the > link with javascript or something? I don't mean something spammy with > lots of string concatenation, but how about just a function in a > peripheral .js file that does a document.write of the link? > > I realize that the link won't do anything without authentication (as > shown in the redirect from the logs), but it still makes me a little > bit paranoid that it's there. Why show all of your houseguests the > exact location of the floor safe if you don't have to? > > OK. That's all - sorry, I'm going to take a deep breath and calm down. > Am I overreacting, or does anyone else find this a bit scary? -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060320/5843e401/attachment-0001.bin From cwsaylor at gmail.com Mon Mar 20 23:23:20 2006 From: cwsaylor at gmail.com (Chris Saylor) Date: Mon, 20 Mar 2006 23:23:20 -0500 Subject: [typo] Ajax in Sidebar Plug-in Admin Interface Message-ID: <a23a98e90603202023j74706584vdd4eca207bae77fe@mail.gmail.com> I would like to do drag and drop ordering of information in the admin section of a plug-in. I tried to define the update method in the plugin controller, but ajax was unable to call it. Anybody have any ideas on how I can get this to work. Here is a link to some code. http://rafb.net/paste/results/I5f5nJ15.html Right now I'm just trying to get the standard scriptaculous example to work. I'm not even trying to save the data yet into the config var. Thanks, Chris From pdcawley at bofh.org.uk Tue Mar 21 03:24:51 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Tue, 21 Mar 2006 08:24:51 +0000 Subject: [typo] Ajax in Sidebar Plug-in Admin Interface In-Reply-To: <a23a98e90603202023j74706584vdd4eca207bae77fe@mail.gmail.com> (Chris Saylor's message of "Mon, 20 Mar 2006 23:23:20 -0500") References: <a23a98e90603202023j74706584vdd4eca207bae77fe@mail.gmail.com> Message-ID: <m2u09syzl8.fsf@obelisk.bofh.org.uk> "Chris Saylor" <cwsaylor at gmail.com> writes: > I would like to do drag and drop ordering of information in the admin > section of a plug-in. I tried to define the update method in the > plugin controller, but ajax was unable to call it. Anybody have any > ideas on how I can get this to work. Here is a link to some code. > > http://rafb.net/paste/results/I5f5nJ15.html > > Right now I'm just trying to get the standard scriptaculous example to > work. I'm not even trying to save the data yet into the config var. Does scriptaculous let you do nested drag and drop? -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From cwsaylor at gmail.com Tue Mar 21 08:09:52 2006 From: cwsaylor at gmail.com (Chris Saylor) Date: Tue, 21 Mar 2006 08:09:52 -0500 Subject: [typo] Ajax in Sidebar Plug-in Admin Interface In-Reply-To: <m2u09syzl8.fsf@obelisk.bofh.org.uk> References: <a23a98e90603202023j74706584vdd4eca207bae77fe@mail.gmail.com> <m2u09syzl8.fsf@obelisk.bofh.org.uk> Message-ID: <a23a98e90603210509k1ba15bc6k13401139a88a4fee@mail.gmail.com> The drag and drop portion is working fine. It just doesn't communicate back to the method I have defined in my plugin controller. What I'm actually trying to do is create a page menu plugin. The drag and drop is for sorting the pages in the menu. I'm actually thinking the sorting functionality would be better put in the show pages admin screen, and the order field stored in the content table. What do you think? Thanks, Chris On 3/21/06, Piers Cawley <pdcawley at bofh.org.uk> wrote: > "Chris Saylor" <cwsaylor at gmail.com> writes: > > > I would like to do drag and drop ordering of information in the admin > > section of a plug-in. I tried to define the update method in the > > plugin controller, but ajax was unable to call it. Anybody have any > > ideas on how I can get this to work. Here is a link to some code. > > > > http://rafb.net/paste/results/I5f5nJ15.html > > > > Right now I'm just trying to get the standard scriptaculous example to > > work. I'm not even trying to save the data yet into the config var. > > Does scriptaculous let you do nested drag and drop? > > -- > Piers Cawley <pdcawley at bofh.org.uk> > 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 Tue Mar 21 08:20:26 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Tue, 21 Mar 2006 13:20:26 +0000 Subject: [typo] Ajax in Sidebar Plug-in Admin Interface In-Reply-To: <a23a98e90603210509k1ba15bc6k13401139a88a4fee@mail.gmail.com> (Chris Saylor's message of "Tue, 21 Mar 2006 08:09:52 -0500") References: <a23a98e90603202023j74706584vdd4eca207bae77fe@mail.gmail.com> <m2u09syzl8.fsf@obelisk.bofh.org.uk> <a23a98e90603210509k1ba15bc6k13401139a88a4fee@mail.gmail.com> Message-ID: <m2pskgylwl.fsf@obelisk.bofh.org.uk> "Chris Saylor" <cwsaylor at gmail.com> writes: > The drag and drop portion is working fine. It just doesn't communicate > back to the method I have defined in my plugin controller. And it won't do; it's a function of how sidebars work; the only actions they can respond to are configure and content, and those are pretty constrained. > What I'm actually trying to do is create a page menu plugin. The drag > and drop is for sorting the pages in the menu. I'm actually thinking > the sorting functionality would be better put in the show pages admin > screen, and the order field stored in the content table. What do you > think? Umm... I've always just used a static sidebar for my links to pages. If belongs anywhere, it belongs in a plugin rather than complicating the admin interface any further. But, right now, you can't do what you want. When the trac's up, we need to add an "allow sidebar plugins to respond to more actions than just 'content' and 'configure'" ticket with a quick discussion of what you're trying to do. Probably marked as for 4.x/5.0 I'm afraid. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From snowblink at gmail.com Tue Mar 21 11:40:15 2006 From: snowblink at gmail.com (Jon Lim) Date: Tue, 21 Mar 2006 16:40:15 +0000 Subject: [typo] Disabling comments after x days Message-ID: <751e526a0603210840o8108031i@mail.gmail.com> Hi, Maybe I've not configured this quite right. Disabling comments after x days does stop people commenting, but it leaves a rails error message. It does not look like disabling comments updates Articles which are older than the set number of days. Is there something I have to do to make this work? Thanks, Jon -- http://www.snowblink.co.uk/ From steve.longdo at gmail.com Tue Mar 21 11:47:54 2006 From: steve.longdo at gmail.com (Steve Longdo) Date: Tue, 21 Mar 2006 10:47:54 -0600 Subject: [typo] Ajax in Sidebar Plug-in Admin Interface In-Reply-To: <m2pskgylwl.fsf@obelisk.bofh.org.uk> References: <a23a98e90603202023j74706584vdd4eca207bae77fe@mail.gmail.com> <m2u09syzl8.fsf@obelisk.bofh.org.uk> <a23a98e90603210509k1ba15bc6k13401139a88a4fee@mail.gmail.com> <m2pskgylwl.fsf@obelisk.bofh.org.uk> Message-ID: <cc4e85f30603210847l5b2add99x46f42c2f538a49c4@mail.gmail.com> +1 It would be great if sidebars could have more than just the "content page". I tried it by updating the DIV via Javascript, but when you access the sidebars outside of the controller loaded context things get icky. Probably why they are so hard to test. I think if Piers refactored sidebar code comes to be then doing this will be a lot easier. On 3/21/06, Piers Cawley <pdcawley at bofh.org.uk> wrote: > > "Chris Saylor" <cwsaylor at gmail.com> writes: > > > The drag and drop portion is working fine. It just doesn't communicate > > back to the method I have defined in my plugin controller. > > And it won't do; it's a function of how sidebars work; the only > actions they can respond to are configure and content, and those are > pretty constrained. > > > What I'm actually trying to do is create a page menu plugin. The drag > > and drop is for sorting the pages in the menu. I'm actually thinking > > the sorting functionality would be better put in the show pages admin > > screen, and the order field stored in the content table. What do you > > think? > > Umm... I've always just used a static sidebar for my links to > pages. If belongs anywhere, it belongs in a plugin rather than > complicating the admin interface any further. But, right now, you > can't do what you want. > > When the trac's up, we need to add an "allow sidebar plugins to respond > to more actions than just 'content' and 'configure'" ticket with a > quick discussion of what you're trying to do. Probably marked as for > 4.x/5.0 I'm afraid. > > > -- > Piers Cawley <pdcawley at bofh.org.uk> > http://www.bofh.org.uk/ > _______________________________________________ > 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/20060321/787a6e77/attachment.htm From pdcawley at bofh.org.uk Tue Mar 21 12:30:29 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Tue, 21 Mar 2006 17:30:29 +0000 Subject: [typo] Mmm... higher order code Message-ID: <m2k6anzowa.fsf@obelisk.bofh.org.uk> Mmm... I love this programming language. I've just written the following: def perform_action_without_filters scope_hash = {:find => {:conditions => "blog_id = #{this_blog.id}"}, :create => {:blog_id => this_blog.id}} blog_scoped_model_classes.inject(lambda {super}) do |block, klass| lambda { klass.with_scope(scope_hash, &block) } end.call end And I fully expect it to work. Do you think I've spent to long programming in lisp? -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From rsanheim at gmail.com Tue Mar 21 12:41:45 2006 From: rsanheim at gmail.com (Rob Sanheim) Date: Tue, 21 Mar 2006 11:41:45 -0600 Subject: [typo] Mmm... higher order code In-Reply-To: <m2k6anzowa.fsf@obelisk.bofh.org.uk> References: <m2k6anzowa.fsf@obelisk.bofh.org.uk> Message-ID: <fc113d400603210941t68afc4e3i3fa3130a5fd32337@mail.gmail.com> On 3/21/06, Piers Cawley <pdcawley at bofh.org.uk> wrote: > Mmm... I love this programming language. > > I've just written the following: > > def perform_action_without_filters > scope_hash = {:find => {:conditions => "blog_id = #{this_blog.id}"}, > :create => {:blog_id => this_blog.id}} > blog_scoped_model_classes.inject(lambda {super}) do |block, klass| > lambda { klass.with_scope(scope_hash, &block) } > end.call > end > > And I fully expect it to work. Do you think I've spent to long > programming in lisp? Can you decipher that for those of us a bit newer to things? :) - Rob -- http://www.robsanheim.com/ http://www.ajaxian.com/ From ssmith at fiveruns.com Tue Mar 21 13:32:05 2006 From: ssmith at fiveruns.com (Steven Smith) Date: Tue, 21 Mar 2006 12:32:05 -0600 Subject: [typo] Typo on Edge Rails Message-ID: <6DEFD6CE-180A-4553-9660-AE96FF775766@fiveruns.com> Has anyone gotten Typo to work on Edge Rails (1.1)? I have a few 1.1 specific extensions I'd like to add. The initial error I received was: /public/../config/environment.rb:107: undefined method `enable_upload_progress' for ActionController::Base:Class (NoMethodError) so I commented the line out and added the Upload Progress plugin. After this I receive the following error which is where I'm stuck: uninitialized constant Plugins #{RAILS_ROOT}/vendor/rails/activerecord/lib/../../activesupport/lib/ active_support/dependencies.rb:106:in `const_missing' #{RAILS_ROOT}/vendor/rails/activerecord/lib/../../activesupport/lib/ active_support/dependencies.rb:133:in `const_missing' #{RAILS_ROOT}/components/plugins/textfilters/amazon_controller.rb:1 #{RAILS_ROOT}/app/controllers/textfilter_controller.rb:113 #{RAILS_ROOT}/app/controllers/textfilter_controller.rb:112:in `each' #{RAILS_ROOT}/app/controllers/textfilter_controller.rb:112 #{RAILS_ROOT}/app/controllers/application.rb:33 Any thoughts other than "rake unfreeze rails"? :-) Thanks. Steven Smith FiveRuns From schwarz at uchicago.edu Tue Mar 21 13:38:54 2006 From: schwarz at uchicago.edu (Jack Schwarz) Date: Tue, 21 Mar 2006 12:38:54 -0600 Subject: [typo] admin settings not sticking Message-ID: <c74013cc0603211038ra9e9c2dxd704efbd8642641f@mail.gmail.com> I recently updated to the latest revision [935] and now I am unable to make comments or make changes to my admin settings. Commenting gives me an Input/output error. All options in my settings are checked and I am unable to turn any of them off. I am currently running MySQL 4.1.13. Thanks for any help, Jack From pdcawley at bofh.org.uk Tue Mar 21 13:50:23 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Tue, 21 Mar 2006 18:50:23 +0000 Subject: [typo] Mmm... higher order code In-Reply-To: <fc113d400603210941t68afc4e3i3fa3130a5fd32337@mail.gmail.com> (Rob Sanheim's message of "Tue, 21 Mar 2006 11:41:45 -0600") References: <m2k6anzowa.fsf@obelisk.bofh.org.uk> <fc113d400603210941t68afc4e3i3fa3130a5fd32337@mail.gmail.com> Message-ID: <m2d5gfiqds.fsf@obelisk.bofh.org.uk> "Rob Sanheim" <rsanheim at gmail.com> writes: > On 3/21/06, Piers Cawley <pdcawley at bofh.org.uk> wrote: >> Mmm... I love this programming language. >> >> I've just written the following: >> >> def perform_action_without_filters >> scope_hash = {:find => {:conditions => "blog_id = #{this_blog.id}"}, >> :create => {:blog_id => this_blog.id}} >> blog_scoped_model_classes.inject(lambda {super}) do |block, klass| >> lambda { klass.with_scope(scope_hash, &block) } >> end.call >> end >> >> And I fully expect it to work. Do you think I've spent to long >> programming in lisp? > > Can you decipher that for those of us a bit newer to things? :) If I tell you that the 'inject' bit is replacing something like: Content.with_scope(scope_hash) do Article.with_scope(scope_hash) do Comment.with_scope(scope_hash) do Trackback.with_scope(scope_hash) do super end end end end does it help? Other helpers: lambda is roughly equivalent to Proc.new This: foo = lambda { "Bibble" } some_method(&foo) is roughly equivalent to: some_method() {"Bibble"} The rest is just a matter of reading the docs :) -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From pdcawley at bofh.org.uk Tue Mar 21 13:55:57 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Tue, 21 Mar 2006 18:55:57 +0000 Subject: [typo] admin settings not sticking In-Reply-To: <c74013cc0603211038ra9e9c2dxd704efbd8642641f@mail.gmail.com> (Jack Schwarz's message of "Tue, 21 Mar 2006 12:38:54 -0600") References: <c74013cc0603211038ra9e9c2dxd704efbd8642641f@mail.gmail.com> Message-ID: <m28xr3iq4i.fsf@obelisk.bofh.org.uk> "Jack Schwarz" <schwarz at uchicago.edu> writes: > I recently updated to the latest revision [935] and now I am unable to > make comments or make changes to my admin settings. Commenting gives > me an Input/output error. All options in my settings are checked and I > am unable to turn any of them off. I am currently running MySQL > 4.1.13. Hmm... so they're not. I wonder how we broke them. (And more to the point, I wonder why the tests didn't find the error.) I (or someone who beats me to it) shall investigate. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From schwarz at uchicago.edu Tue Mar 21 15:00:46 2006 From: schwarz at uchicago.edu (Jack Schwarz) Date: Tue, 21 Mar 2006 14:00:46 -0600 Subject: [typo] admin settings not sticking In-Reply-To: <m28xr3iq4i.fsf@obelisk.bofh.org.uk> References: <c74013cc0603211038ra9e9c2dxd704efbd8642641f@mail.gmail.com> <m28xr3iq4i.fsf@obelisk.bofh.org.uk> Message-ID: <c74013cc0603211200ndbf2addo8e643dd6e5fd2895@mail.gmail.com> If I had to make a guess things broke for me after [921] (at the earliest). I really was starting to worry I was the only one on this one. Thanks, Jack On 3/21/06, Piers Cawley <pdcawley at bofh.org.uk> wrote: > "Jack Schwarz" <schwarz at uchicago.edu> writes: > > > I recently updated to the latest revision [935] and now I am unable to > > make comments or make changes to my admin settings. Commenting gives > > me an Input/output error. All options in my settings are checked and I > > am unable to turn any of them off. I am currently running MySQL > > 4.1.13. > > Hmm... so they're not. I wonder how we broke them. (And more to the > point, I wonder why the tests didn't find the error.) I (or someone > who beats me to it) shall investigate. > > > -- > Piers Cawley <pdcawley at bofh.org.uk> > http://www.bofh.org.uk/ > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From phil at cryer.us Tue Mar 21 15:43:40 2006 From: phil at cryer.us (phil) Date: Tue, 21 Mar 2006 14:43:40 -0600 Subject: [typo] rake migrate fails on 2.6.0 -> svn trunk In-Reply-To: <m2y7z5f3v1.fsf@obelisk.bofh.org.uk> References: <m2y7z5f3v1.fsf@obelisk.bofh.org.uk> Message-ID: <6cb4c7b77aa4031eb0b65d7e645eeb72@pepe.cryer.us> I'm trying to migrate a user's database from 2.6.0 to svn trunk, but rake migrate (with full trace) gives the following error: [phil at pepe:~/websites/typo-svn]$ rake --trace migrate (in /home/phil/websites/typo-svn) ** Invoke migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute migrate Merging Comments into Contents table rake aborted! undefined method `title' for #<Bare21Comment:0x8e49724> /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1501:in `method_missing' ./db/migrate//21_superclass_comments.rb:30:in `up' ./db/migrate//21_superclass_comments.rb:26:in `up' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract/database_statements.rb:51:in `transaction' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:91:in `transaction' ./db/migrate//21_superclass_comments.rb:16:in `up' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/migration.rb:228:in `migrate' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/migration.rb:223:in `migrate' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/migration.rb:190:in `up' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/migration.rb:181:in `migrate' /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/tasks/databases.rake:3 /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake.rb:202:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake.rb:202:in `execute' /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake.rb:180:in `invoke' /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake.rb:1454:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake.rb:1454:in `run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/bin/rake:7 /usr/local/bin/rake:18 [phil at pepe:~/websites/typo-svn]$ I have a current Typo-svn running fine (http://fak3r.com) but that one I've migrated as I've went along, so I never had to do a big jump like this one. What should I look at first here? Thanks P -- http://fak3r.com - you dont have to kick it From scott at sigkill.org Tue Mar 21 15:54:16 2006 From: scott at sigkill.org (Scott Laird) Date: Tue, 21 Mar 2006 12:54:16 -0800 Subject: [typo] rake migrate fails on 2.6.0 -> svn trunk In-Reply-To: <6cb4c7b77aa4031eb0b65d7e645eeb72@pepe.cryer.us> References: <m2y7z5f3v1.fsf@obelisk.bofh.org.uk> <6cb4c7b77aa4031eb0b65d7e645eeb72@pepe.cryer.us> Message-ID: <14b7e5ef0603211254ia6f2255wa91863db860cc1ad@mail.gmail.com> Ugh. The problem is that the schemas from before 2.5 weren't all the same--some databases had fields that others didn't. One of those is the 'title' field in comments. The original migrations were very careful not to depend on any of the questionable fields; it looks like the bare migration patch missed one. I'm away from my SVN tree at the moment, I'll fix this later today if no one else gets to it first. Scott On 3/21/06, phil <phil at cryer.us> wrote: > > I'm trying to migrate a user's database from 2.6.0 to svn trunk, but rake > migrate (with full trace) gives the following error: > > [phil at pepe:~/websites/typo-svn]$ rake --trace migrate > (in /home/phil/websites/typo-svn) > ** Invoke migrate (first_time) > ** Invoke environment (first_time) > ** Execute environment > ** Execute migrate > Merging Comments into Contents table > rake aborted! > undefined method `title' for #<Bare21Comment:0x8e49724> > /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1501:in > `method_missing' > ./db/migrate//21_superclass_comments.rb:30:in `up' > ./db/migrate//21_superclass_comments.rb:26:in `up' > /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract/database_statements.rb:51:in > `transaction' > /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/transactions.rb:91:in > `transaction' > ./db/migrate//21_superclass_comments.rb:16:in `up' > /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/migration.rb:228:in > `migrate' > /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/migration.rb:223:in > `migrate' > /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/migration.rb:190:in > `up' > /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/migration.rb:181:in > `migrate' > /usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/tasks/databases.rake:3 > /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake.rb:202:in `execute' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake.rb:202:in `execute' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake.rb:180:in `invoke' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake.rb:1454:in `run' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake.rb:1454:in `run' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.6.2/bin/rake:7 > /usr/local/bin/rake:18 > [phil at pepe:~/websites/typo-svn]$ > > I have a current Typo-svn running fine (http://fak3r.com) but that one > I've migrated as I've went along, so I never had to do a big jump like this > one. What should I look at first here? > > Thanks > > P > -- > http://fak3r.com - you dont have to kick it > > _______________________________________________ > 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/20060321/ad5ed9db/attachment.htm From pdcawley at bofh.org.uk Tue Mar 21 17:00:23 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Tue, 21 Mar 2006 22:00:23 +0000 Subject: [typo] admin settings not sticking In-Reply-To: <c74013cc0603211200ndbf2addo8e643dd6e5fd2895@mail.gmail.com> (Jack Schwarz's message of "Tue, 21 Mar 2006 14:00:46 -0600") References: <c74013cc0603211038ra9e9c2dxd704efbd8642641f@mail.gmail.com> <m28xr3iq4i.fsf@obelisk.bofh.org.uk> <c74013cc0603211200ndbf2addo8e643dd6e5fd2895@mail.gmail.com> Message-ID: <m24q1rihl4.fsf@obelisk.bofh.org.uk> "Jack Schwarz" <schwarz at uchicago.edu> writes: > If I had to make a guess things broke for me after [921] (at the > earliest). I really was starting to worry I was the only one on this > one. Okay, I've got a fix waiting (it turns out I was screwing up canonicalization of booleans so boolean settings (and only boolean settings) weren't sticking). Sadly, the repository appears to be down. Expect a fix as soon as I can connect. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From schwarz at uchicago.edu Tue Mar 21 18:24:18 2006 From: schwarz at uchicago.edu (Jack Schwarz) Date: Tue, 21 Mar 2006 17:24:18 -0600 Subject: [typo] admin settings not sticking In-Reply-To: <m24q1rihl4.fsf@obelisk.bofh.org.uk> References: <c74013cc0603211038ra9e9c2dxd704efbd8642641f@mail.gmail.com> <m28xr3iq4i.fsf@obelisk.bofh.org.uk> <c74013cc0603211200ndbf2addo8e643dd6e5fd2895@mail.gmail.com> <m24q1rihl4.fsf@obelisk.bofh.org.uk> Message-ID: <c74013cc0603211524r563f4dacx952a5cd52955efc@mail.gmail.com> You got it. Thanks. On 3/21/06, Piers Cawley <pdcawley at bofh.org.uk> wrote: > "Jack Schwarz" <schwarz at uchicago.edu> writes: > > > If I had to make a guess things broke for me after [921] (at the > > earliest). I really was starting to worry I was the only one on this > > one. > > Okay, I've got a fix waiting (it turns out I was screwing up > canonicalization of booleans so boolean settings (and only boolean > settings) weren't sticking). Sadly, the repository appears to be down. > > Expect a fix as soon as I can connect. > > -- > Piers Cawley <pdcawley at bofh.org.uk> > http://www.bofh.org.uk/ > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From kevin at sb.org Wed Mar 22 01:14:16 2006 From: kevin at sb.org (Kevin Ballard) Date: Tue, 21 Mar 2006 22:14:16 -0800 Subject: [typo] Typo on Edge Rails In-Reply-To: <6DEFD6CE-180A-4553-9660-AE96FF775766@fiveruns.com> References: <6DEFD6CE-180A-4553-9660-AE96FF775766@fiveruns.com> Message-ID: <2C650C80-BEA4-43BF-BBBA-2FF4C4FC7D85@sb.org> At the moment, Typo does not work on edge rails. Now that 1.1 release candidate just came out, I'm planning on trying to get it up and running on edge rails, and if it doesn't break 1.0 compatibility then committing it. If it does break 1.0 compatibility (which it *hopefully* won't), then I'll hold off until 1.1 is officially released. On Mar 21, 2006, at 10:32 AM, Steven Smith wrote: > Has anyone gotten Typo to work on Edge Rails (1.1)? I have a few 1.1 > specific extensions I'd like to add. > > The initial error I received was: > > /public/../config/environment.rb:107: undefined method > `enable_upload_progress' for ActionController::Base:Class > (NoMethodError) > > so I commented the line out and added the Upload Progress plugin. > > After this I receive the following error which is where I'm stuck: > > uninitialized constant Plugins > > #{RAILS_ROOT}/vendor/rails/activerecord/lib/../../activesupport/lib/ > active_support/dependencies.rb:106:in `const_missing' > #{RAILS_ROOT}/vendor/rails/activerecord/lib/../../activesupport/lib/ > active_support/dependencies.rb:133:in `const_missing' > #{RAILS_ROOT}/components/plugins/textfilters/amazon_controller.rb:1 > #{RAILS_ROOT}/app/controllers/textfilter_controller.rb:113 > #{RAILS_ROOT}/app/controllers/textfilter_controller.rb:112:in `each' > #{RAILS_ROOT}/app/controllers/textfilter_controller.rb:112 > #{RAILS_ROOT}/app/controllers/application.rb:33 > > Any thoughts other than "rake unfreeze rails"? :-) -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060321/41656302/attachment-0001.bin From ssmith at fiveruns.com Wed Mar 22 01:27:22 2006 From: ssmith at fiveruns.com (Steven Smith) Date: Wed, 22 Mar 2006 00:27:22 -0600 Subject: [typo] Typo on Edge Rails In-Reply-To: <2C650C80-BEA4-43BF-BBBA-2FF4C4FC7D85@sb.org> References: <6DEFD6CE-180A-4553-9660-AE96FF775766@fiveruns.com> <2C650C80-BEA4-43BF-BBBA-2FF4C4FC7D85@sb.org> Message-ID: <0CA5216E-6B88-4AFF-A174-E05823A68299@fiveruns.com> Thanks Kevin. I just posted a similar question to the Rails list before seeing your response. Sorry for the duplication. On Mar 22, 2006, at 12:14 AM, Kevin Ballard wrote: > At the moment, Typo does not work on edge rails. Now that 1.1 > release candidate just came out, I'm planning on trying to get it > up and running on edge rails, and if it doesn't break 1.0 > compatibility then committing it. If it does break 1.0 > compatibility (which it *hopefully* won't), then I'll hold off > until 1.1 is officially released. > > On Mar 21, 2006, at 10:32 AM, Steven Smith wrote: > >> Has anyone gotten Typo to work on Edge Rails (1.1)? I have a few 1.1 >> specific extensions I'd like to add. >> >> The initial error I received was: >> >> /public/../config/environment.rb:107: undefined method >> `enable_upload_progress' for ActionController::Base:Class >> (NoMethodError) >> >> so I commented the line out and added the Upload Progress plugin. >> >> After this I receive the following error which is where I'm stuck: >> >> uninitialized constant Plugins >> >> #{RAILS_ROOT}/vendor/rails/activerecord/lib/../../activesupport/lib/ >> active_support/dependencies.rb:106:in `const_missing' >> #{RAILS_ROOT}/vendor/rails/activerecord/lib/../../activesupport/lib/ >> active_support/dependencies.rb:133:in `const_missing' >> #{RAILS_ROOT}/components/plugins/textfilters/amazon_controller.rb:1 >> #{RAILS_ROOT}/app/controllers/textfilter_controller.rb:113 >> #{RAILS_ROOT}/app/controllers/textfilter_controller.rb:112:in `each' >> #{RAILS_ROOT}/app/controllers/textfilter_controller.rb:112 >> #{RAILS_ROOT}/app/controllers/application.rb:33 >> >> Any thoughts other than "rake unfreeze rails"? :-) > > -- > Kevin Ballard > kevin at sb.org > http://kevin.sb.org > http://www.tildesoft.com > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From phil at cryer.us Wed Mar 22 12:22:47 2006 From: phil at cryer.us (phil) Date: Wed, 22 Mar 2006 11:22:47 -0600 Subject: [typo] =?utf-8?q?ruby18=2Ecore_=3D_99Megs!?= In-Reply-To: <0CA5216E-6B88-4AFF-A174-E05823A68299@fiveruns.com> References: <0CA5216E-6B88-4AFF-A174-E05823A68299@fiveruns.com> Message-ID: <059e8b779c5a53606c0f75fae2e1c1c6@pepe.cryer.us> Today I got a panic from my server - filesystem is full on / I took a look, even though I hadn't added anything to /, and lo an behold I had this in /root: 101648 -rw------- 1 root wheel 99M Mar 22 03:45 ruby18.core How can I stop ruby from writing a core here, and/or how can I limit it to a smaller size? In the Unix partitioning scheme they advocate a small / partition for security, this mine is only 250Megs. Thanks P -- http://fak3r.com - you dont have to kick it From drcforbin at gmail.com Wed Mar 22 14:25:11 2006 From: drcforbin at gmail.com (Ryan Williams) Date: Wed, 22 Mar 2006 14:25:11 -0500 Subject: [typo] ruby18.core = 99Megs! In-Reply-To: <059e8b779c5a53606c0f75fae2e1c1c6@pepe.cryer.us> References: <0CA5216E-6B88-4AFF-A174-E05823A68299@fiveruns.com> <059e8b779c5a53606c0f75fae2e1c1c6@pepe.cryer.us> Message-ID: <a5bbcba40603221125m6b27c7f1v3d2a3a49a49e645d@mail.gmail.com> I believe this is a function of your shell. You can enable/disable it using the ulimit command in bash, the limit command in tcsh, or the rlimit command in ksh. This command will enable/disable it for that shell, not system wide. You can also use the limit command to change the max dump size. If you run 'ulimit -c 0' in a bash shell, and something called from that shell crashes, you will get no dump. On 3/22/06, phil <phil at cryer.us> wrote: > > Today I got a panic from my server - filesystem is full on / I took a > look, even though I hadn't added anything to /, and lo an behold I had this > in /root: > > 101648 -rw------- 1 root wheel 99M Mar 22 03:45 ruby18.core > > How can I stop ruby from writing a core here, and/or how can I limit it to > a smaller size? In the Unix partitioning scheme they advocate a small / > partition for security, this mine is only 250Megs. > > Thanks > > P > -- > http://fak3r.com - you dont have to kick it > > _______________________________________________ > 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/20060322/44604c0e/attachment.htm From phil at cryer.us Wed Mar 22 15:04:42 2006 From: phil at cryer.us (Phil Cryer) Date: Wed, 22 Mar 2006 14:04:42 -0600 Subject: [typo] =?utf-8?q?ruby18=2Ecore_=3D_99Megs!?= In-Reply-To: <a5bbcba40603221125m6b27c7f1v3d2a3a49a49e645d@mail.gmail.com> References: <a5bbcba40603221125m6b27c7f1v3d2a3a49a49e645d@mail.gmail.com> Message-ID: <201064cf8befb06b2ec15825df0d23c6@pepe.cryer.us> On Wed, 22 Mar 2006 14:25:11 -0500, "Ryan Williams" <drcforbin at gmail.com> wrote: > I believe this is a function of your shell. You can enable/disable it > using > the ulimit command in bash, the limit command in tcsh, or the rlimit > command > in ksh. This command will enable/disable it for that shell, not system > wide. You are correct, in FreeBSD you can turn it off as you mentioned ('ulimit -c'), or modify it in /etc/login.conf for a global fix. Sorry to post it here, I was just concerned since it was a normal user running Typo, but it wrote the corefile out to /root. Thanks P > > You can also use the limit command to change the max dump size. If you > run > 'ulimit -c 0' in a bash shell, and something called from that shell > crashes, > you will get no dump. > > On 3/22/06, phil <phil at cryer.us> wrote: >> >> Today I got a panic from my server - filesystem is full on / I took a >> look, even though I hadn't added anything to /, and lo an behold I had > this >> in /root: >> >> 101648 -rw------- 1 root wheel 99M Mar 22 03:45 ruby18.core >> >> How can I stop ruby from writing a core here, and/or how can I limit it > to >> a smaller size? In the Unix partitioning scheme they advocate a small / >> partition for security, this mine is only 250Megs. >> >> Thanks >> >> P >> -- >> http://fak3r.com - you dont have to kick it >> >> _______________________________________________ >> Typo-list mailing list >> Typo-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/typo-list >> > > From steve.longdo at gmail.com Fri Mar 24 00:50:22 2006 From: steve.longdo at gmail.com (Steve Longdo) Date: Thu, 23 Mar 2006 23:50:22 -0600 Subject: [typo] r940 and Textdrive Message-ID: <cc4e85f30603232150q4639b98am3b4975c898fbe949@mail.gmail.com> I have been trying to get the trunk running on Textdrive. I consistently hit the limits for the amount of memory allowed per process and get errors allocating memory. I notice that if I remove the aggregation sidebars that use caching like flickr, then I am able to get SVN r940 running. If I get rid of all sidebars and just add the flickr one it will spike memory usage and get killed by Textdrive. I run Lighttpd which Textdrive just upgraded to 1.4.11 from 1.4.9. I am not positive of the version of Typo I had running before. It was the trunk revision as of March 2nd. The server is FreeBSD with Ruby 1.8.4. I am guessing that this has something to do with the caching that the aggregations do. Is the caching in memory by default or something? Any advice for me on where to start troubleshooting the issue? I tried running WEBrick on the server and it immediately runs out of memory as well. Sorry for the rambling nature of my email. English is my primary language, but it has been a loooooooong day :-) -Steve Here is some info from the `top` - I have my "old" site running under " http://www.stevelongdo.com" and the r940 version running at " http://blog.stevelongdo.com" That is why there are so many ruby processes... PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 94872 rhesus 20 15 59616K 49728K kserel 0 0:20 0.00% 0.00%ruby 73055 rhesus 20 15 59616K 49684K kserel 0 0:16 0.00% 0.00%ruby 73052 rhesus 4 15 48008K 37972K select 0 0:08 0.00% 0.00%ruby 73050 rhesus 4 10 52580K 42304K select 0 0:07 0.00% 0.00%ruby 98565 rhesus 4 15 53844K 43564K select 0 0:04 0.00% 0.00%ruby 39367 rhesus 106 10 3792K 2376K select 0 0:02 0.00% 0.00%sshd 73049 rhesus 106 10 3660K 2304K select 0 0:00 0.00% 0.00%lighttpd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060323/6c7da23b/attachment.htm From ernieoporto at gmail.com Sat Mar 25 11:02:19 2006 From: ernieoporto at gmail.com (Ernie Oporto) Date: Sat, 25 Mar 2006 11:02:19 -0500 Subject: [typo] Flickr Plug-in Issue In-Reply-To: <cc4e85f30603180959t192798b2od4fc7c8c95162c1c@mail.gmail.com> References: <a23a98e90603180744l100e2db2hc1916e97963f3880@mail.gmail.com> <cc4e85f30603180959t192798b2od4fc7c8c95162c1c@mail.gmail.com> Message-ID: <f91ac86d0603250802nfa80352l338d7c75eecfc21f@mail.gmail.com> This works OK for me after upgrading from trunk 923 to 946 - properly, this time, with "svn update". It also fixed my RSS sidebar problem. Be sure to completely restart the server to see the changes, as emptying the cache did not help. On 3/18/06, Steve Longdo <steve.longdo at gmail.com> wrote: > > I had that problem for a bit. I would recommend going and getting your > own flickr API key ( http://www.flickr.com/services/api/key.gne ). I did > that and replaced the value in the environment.rb file (last line in the > file) with my key, the flickr photos returned and the prophecy was fulfilled > ;-P > > -Steve > http://www.stevelongdo.com > > On 3/18/06, Chris Saylor <cwsaylor at gmail.com> wrote: > > > > Is anybody else having a problem with the Flickr plugin? I just > > noticed that my pictures stopped showing up on my blog, > > http://www.justhack.com. I'm not sure when that happened. I'm running > > the latest trunk, 923. I looked at the plug-in and it appears that > > @flickr isn't getting populated. I would like to know if it's just me > > or is this a problem in general. > > > > Thanks, > > Chris > > > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > _______________________________________________ > 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/20060325/b964f73a/attachment.htm From mattrose at folkwolf.net Sat Mar 25 11:36:36 2006 From: mattrose at folkwolf.net (Matt Rose) Date: Sat, 25 Mar 2006 11:36:36 -0500 Subject: [typo] more migration problems Message-ID: <DB2C221F-774F-4A1B-A532-91CCDABEF32A@folkwolf.net> I tried upgrading my dev environment to 946 from 876 and I get this error when I fire up r946 ActiveRecord::StatementInvalid in Articles#index Mysql::Error: Table 'typo_dev.blogs' doesn't exist: SELECT * FROM blogs LIMIT 1 So I thought, "OK, I'll migrate my db by hand" So I go into my rails dir, and I type rake migrate, and I get this. mattrose at venice:~/rails/typo$ rake migrate (in /home/mattrose/rails/typo) rake aborted! Mysql::Error: Table 'typo_dev.blogs' doesn't exist: ALTER TABLE blogs ADD settings text (See full trace by running task with --trace) I ran the trace, but it just gave me the same glaring error. My r876 rev didn't have the blogs table. am I missing a step here, or should the migration include a step that creates that blogs table. Matt PS: off to search the list archives. From mattrose at folkwolf.net Sat Mar 25 12:53:04 2006 From: mattrose at folkwolf.net (Matt Rose) Date: Sat, 25 Mar 2006 12:53:04 -0500 Subject: [typo] plugins that alter the database Message-ID: <B47AD4D8-38F2-4503-97B4-4BE8C012F003@folkwolf.net> I've been working on a plugin that uses the ruby feed_tools module to create a little mini-planet in the sidebar. This is actually the blog plugin that I've always wanted, and thanks to ruby, rails and typo, I was able to code it up relatively easily. However, feed tools uses a database feed cache to store feeds, so that it doesn't fetch the feeds every time the page loads. On my development database, I have added a cached_feeds table. So now I'm worried that if I make the same alterations to my production db, It'll strand my typo install at whatever rev I'm at, without being able to upgrade. Is there any way I can incorporate my database changes so that it'll co-operate with the rails migration process nicely. I just installed the database migration by hand like this, on r946 mattrose at venice:~/rails/typo$ script/generate migration add_feed_tools_tables exists db/migrate create db/migrate/041_add_feed_tools_tables.rb and edited db/migrate/041_add_feed_tools_tables.rb to look like this mattrose at venice:~/rails/typo$ cat db/migrate/ 041_add_feed_tools_tables.rb class AddFeedToolsTables < ActiveRecord::Migration def self.up create_table :cached_feeds do |t| t.column :href, :string t.column :title, :string t.column :link, :string t.column :feed_data, :text t.column :feed_data_type, :string t.column :http_headers, :text t.column :last_retrieved, :datetime end end def self.down drop_table :cached_feeds end end Now when I try to log in, I get an error updating the db To fix it I have to issue: mv db/migrate/041_add_feed_tools_tables.rb db/migrate/ 41_add_feed_tools_tables.rb and then my update proceeds. Now I can go ahead and install the sidebar plugin Now, that you know what I'm doing, can anyone tell me how to a) Make this process easier? b) Make sure it co-operates with later db migrations TIA Matt From pdcawley at bofh.org.uk Mon Mar 27 09:18:09 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Mon, 27 Mar 2006 15:18:09 +0100 Subject: [typo] more migration problems In-Reply-To: <DB2C221F-774F-4A1B-A532-91CCDABEF32A@folkwolf.net> (Matt Rose's message of "Sat, 25 Mar 2006 11:36:36 -0500") References: <DB2C221F-774F-4A1B-A532-91CCDABEF32A@folkwolf.net> Message-ID: <m2y7yw6kf2.fsf@obelisk.bofh.org.uk> Matt Rose <mattrose at folkwolf.net> writes: > I tried upgrading my dev environment to 946 from 876 and I get this > error when I fire up r946 > > ActiveRecord::StatementInvalid in Articles#index > > Mysql::Error: Table 'typo_dev.blogs' doesn't exist: SELECT * FROM > blogs LIMIT 1 > > So I thought, "OK, I'll migrate my db by hand" > > So I go into my rails dir, and I type rake migrate, and I get this. > > mattrose at venice:~/rails/typo$ rake migrate > (in /home/mattrose/rails/typo) > rake aborted! > Mysql::Error: Table 'typo_dev.blogs' doesn't exist: ALTER TABLE blogs > ADD settings text > > (See full trace by running task with --trace) > > I ran the trace, but it just gave me the same glaring error. > > My r876 rev didn't have the blogs table. > > am I missing a step here, or should the migration include a step that > creates that blogs table. It does. In migration 38. You've not rolled your own migration 38 have you? -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From mattrose at folkwolf.net Mon Mar 27 10:08:08 2006 From: mattrose at folkwolf.net (Matt Rose) Date: Mon, 27 Mar 2006 10:08:08 -0500 (EST) Subject: [typo] more migration problems In-Reply-To: <m2y7yw6kf2.fsf@obelisk.bofh.org.uk> References: <DB2C221F-774F-4A1B-A532-91CCDABEF32A@folkwolf.net> <m2y7yw6kf2.fsf@obelisk.bofh.org.uk> Message-ID: <Pine.LNX.4.63.0603271004560.18404@venice.folkwolf.net> On Mon, 27 Mar 2006, Piers Cawley wrote: > It does. In migration 38. > > You've not rolled your own migration 38 have you? > > DOH! I knew that would get me in trouble. See my other post for why. I rolled my own db migration to get the feed_tools cache in. It happened to be migration 38. Thanks for your help. You wouldn't happen to know the best way for sidebar plugins to alter the database structure? My way is obviously sub-optimal :) -- -------------------------------------------------------------------------- Matt Rose mattrose at folkwolf.net Visit my blog! http://folkwolf.net He's a benighted neurotic gangster plagued by the memory of his family's brutal murder. She's a manipulative antique-collecting bounty hunter operating on the wrong side of the law. They fight crime! From pdcawley at bofh.org.uk Mon Mar 27 10:39:18 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Mon, 27 Mar 2006 16:39:18 +0100 Subject: [typo] more migration problems In-Reply-To: <Pine.LNX.4.63.0603271004560.18404@venice.folkwolf.net> (Matt Rose's message of "Mon, 27 Mar 2006 10:08:08 -0500 (EST)") References: <DB2C221F-774F-4A1B-A532-91CCDABEF32A@folkwolf.net> <m2y7yw6kf2.fsf@obelisk.bofh.org.uk> <Pine.LNX.4.63.0603271004560.18404@venice.folkwolf.net> Message-ID: <m2lkuv7v89.fsf@obelisk.bofh.org.uk> Matt Rose <mattrose at folkwolf.net> writes: > On Mon, 27 Mar 2006, Piers Cawley wrote: > >> It does. In migration 38. >> >> You've not rolled your own migration 38 have you? >> >> > > DOH! I knew that would get me in trouble. See my other post for why. I > rolled my own db migration to get the feed_tools cache in. It happened to > be migration 38. > > Thanks for your help. > > You wouldn't happen to know the best way for sidebar plugins to > alter the database structure? My way is obviously sub-optimal :) Depends what you need to stash, and how searchable it should be. Assuming the sidebar's adding its own table (as opposed to adding something to an existing table; not something I'd recommend), the best idea seems to be to have its configuration method check that the table exists to create it if necessary; if it can't create the table, it can then throw an error at configuration time, thus preventing the sight of 500 errors on the main page. In general, unless a sidebar's in core, it shoudln't use a migration, and it shouldn't alter the structure of any of the 'core' tables. You are free to use Content.whiteboard any way you see fit (but be careful choosing your key names), and you can add settings to Blog.settings (it's another serialized hash). You should even be able to call 'Blog.setting ...' in your controller file and create methods on the blog object, but be a bit careful with that -- I can't guarantee it'll always work. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From scott at sigkill.org Tue Mar 28 09:24:28 2006 From: scott at sigkill.org (Scott Laird) Date: Tue, 28 Mar 2006 06:24:28 -0800 Subject: [typo] Rails 1.1? Message-ID: <14b7e5ef0603280624l4a53ce33hf71ed63a9e8ef1aa@mail.gmail.com> So, it's out. What do we do? Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060328/5e44e6a6/attachment.htm From jon.borgthorsson at gmail.com Tue Mar 28 09:35:22 2006 From: jon.borgthorsson at gmail.com (Jon Gretar Borgthorsson) Date: Tue, 28 Mar 2006 14:35:22 +0000 Subject: [typo] Rails 1.1? In-Reply-To: <14b7e5ef0603280624l4a53ce33hf71ed63a9e8ef1aa@mail.gmail.com> References: <14b7e5ef0603280624l4a53ce33hf71ed63a9e8ef1aa@mail.gmail.com> Message-ID: <dbb6450e0603280635x1f570d81ufe8b906ddd74a32b@mail.gmail.com> Well... Fixing the "enable_upload_progress" bug so that typo will work with rails 1.1 would be a start. ------------- Jon Gretar Borgthorsson On 3/28/06, Scott Laird <scott at sigkill.org> wrote: > So, it's out. What do we do? > > > Scott > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > -- -------------- Jon Gretar Borgthorsson From scott at sigkill.org Tue Mar 28 09:54:32 2006 From: scott at sigkill.org (Scott Laird) Date: Tue, 28 Mar 2006 06:54:32 -0800 Subject: [typo] Rails 1.1? In-Reply-To: <dbb6450e0603280635x1f570d81ufe8b906ddd74a32b@mail.gmail.com> References: <14b7e5ef0603280624l4a53ce33hf71ed63a9e8ef1aa@mail.gmail.com> <dbb6450e0603280635x1f570d81ufe8b906ddd74a32b@mail.gmail.com> Message-ID: <14b7e5ef0603280654tede05edra2bded4c464ca39c@mail.gmail.com> It's more then that; Typo plugins are broken, too. Scott On 3/28/06, Jon Gretar Borgthorsson <jon.borgthorsson at gmail.com> wrote: > > Well... Fixing the "enable_upload_progress" bug so that typo will work > with rails 1.1 would be a start. > > > ------------- > Jon Gretar Borgthorsson > > On 3/28/06, Scott Laird <scott at sigkill.org> wrote: > > So, it's out. What do we do? > > > > > > Scott > > > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > > > -- > -------------- > Jon Gretar Borgthorsson > > _______________________________________________ > 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/20060328/25b61f8c/attachment.htm From dlamotte at bamboo.lu Tue Mar 28 10:00:07 2006 From: dlamotte at bamboo.lu (Denis Lamotte) Date: Tue, 28 Mar 2006 17:00:07 +0200 Subject: [typo] Rails 1.1? In-Reply-To: <dbb6450e0603280635x1f570d81ufe8b906ddd74a32b@mail.gmail.com> References: <14b7e5ef0603280624l4a53ce33hf71ed63a9e8ef1aa@mail.gmail.com> <dbb6450e0603280635x1f570d81ufe8b906ddd74a32b@mail.gmail.com> Message-ID: <44294F77.9040009@bamboo.lu> if the upgrade done are not any more valid for rails 1.0 we need to specify which version will still work with rails 1.0 and wich one will only work with rails 1.1 Lanfeust Jon Gretar Borgthorsson wrote: > Well... Fixing the "enable_upload_progress" bug so that typo will work > with rails 1.1 would be a start. > > > ------------- > Jon Gretar Borgthorsson > > On 3/28/06, Scott Laird <scott at sigkill.org> wrote: > >>So, it's out. What do we do? >> >> >>Scott >> >>_______________________________________________ >>Typo-list mailing list >>Typo-list at rubyforge.org >>http://rubyforge.org/mailman/listinfo/typo-list >> >> > > > > -- > -------------- > Jon Gretar Borgthorsson > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > From gpsnospam at gmail.com Tue Mar 28 10:27:13 2006 From: gpsnospam at gmail.com (Gary Shewan) Date: Tue, 28 Mar 2006 16:27:13 +0100 Subject: [typo] Rails 1.1? In-Reply-To: <dbb6450e0603280635x1f570d81ufe8b906ddd74a32b@mail.gmail.com> References: <14b7e5ef0603280624l4a53ce33hf71ed63a9e8ef1aa@mail.gmail.com> <dbb6450e0603280635x1f570d81ufe8b906ddd74a32b@mail.gmail.com> Message-ID: <5AC48DFE-43CC-4145-8C8F-D78AEDF1C86B@gmail.com> On 28 Mar 2006, at 15:35, Jon Gretar Borgthorsson wrote: > Well... Fixing the "enable_upload_progress" bug so that typo will work > with rails 1.1 would be a start. > > > ------------- > Jon Gretar Borgthorsson > > On 3/28/06, Scott Laird <scott at sigkill.org> wrote: >> So, it's out. What do we do? >> Well apart from what Jon mentions, how far away is Typo from being 1.1 compatible? I do have a beady eye on it because last time Dreamhost did the upgrade with no notice. I'd say the prospect of hosting companies upgrading is still a few weeks away. There's time there to look at what needs to be done. Gary From jon.borgthorsson at gmail.com Tue Mar 28 10:31:28 2006 From: jon.borgthorsson at gmail.com (Jon Gretar Borgthorsson) Date: Tue, 28 Mar 2006 15:31:28 +0000 Subject: [typo] Rails 1.1? In-Reply-To: <44294F77.9040009@bamboo.lu> References: <14b7e5ef0603280624l4a53ce33hf71ed63a9e8ef1aa@mail.gmail.com> <dbb6450e0603280635x1f570d81ufe8b906ddd74a32b@mail.gmail.com> <44294F77.9040009@bamboo.lu> Message-ID: <dbb6450e0603280731v6a010fcaq92028331695ab018@mail.gmail.com> I'm pretty sure that there can be a way to accommodate both. And some things can probably be solved by asking users to install a specific plugin if using version 1.1 or 1.0. But starting to use 1.1 only at some point will enable the use of the new features in 1.1. I like many of them like the new "has_many :through" and RJS. I think 1.1 features could actually shorten the typo code considerably. On 3/28/06, Denis Lamotte <dlamotte at bamboo.lu> wrote: > if the upgrade done are not any more valid for rails 1.0 > we need to specify which version will still work with rails 1.0 and wich > one will only work with rails 1.1 > > Lanfeust > > Jon Gretar Borgthorsson wrote: > > Well... Fixing the "enable_upload_progress" bug so that typo will work > > with rails 1.1 would be a start. > > > > > > ------------- > > Jon Gretar Borgthorsson > > > > On 3/28/06, Scott Laird <scott at sigkill.org> wrote: > > > >>So, it's out. What do we do? > >> > >> > >>Scott > >> > >>_______________________________________________ > >>Typo-list mailing list > >>Typo-list at rubyforge.org > >>http://rubyforge.org/mailman/listinfo/typo-list > >> > >> > > > > > > > > -- > > -------------- > > Jon Gretar Borgthorsson > > > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- -------------- Jon Gretar Borgthorsson From jonasb.16759522 at bloglines.com Tue Mar 28 14:57:45 2006 From: jonasb.16759522 at bloglines.com (jonasb.16759522 at bloglines.com) Date: 28 Mar 2006 19:57:45 -0000 Subject: [typo] Rails 1.1? Message-ID: <1143575865.3139040437.20599.sendItem@bloglines.com> I've asked it before, but got no answer (that I can recall): why doesn't Typo contain a frozen version of Rails so that everyone runs the same version? (That doesn't solve the problem with incompatibilities with Rails 1.1 but I think there would be less problems) /Jonas (jonas.b at home.se) --- typo-list at rubyforge.org wrote: So, it's out. What do we do? > > > Scott > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > From scott at sigkill.org Tue Mar 28 15:45:30 2006 From: scott at sigkill.org (Scott Laird) Date: Tue, 28 Mar 2006 12:45:30 -0800 Subject: [typo] Rails 1.1? In-Reply-To: <1143575865.3139040437.20599.sendItem@bloglines.com> References: <1143575865.3139040437.20599.sendItem@bloglines.com> Message-ID: <14b7e5ef0603281245y4f5da3d6sfa8e05be650f9eda@mail.gmail.com> Because Rails is much larger then Typo, and we'd rather not make Typo grow that much larger if we can avoid it. We can nail Typo to specific Rails versions (and we probably will for releases from now on), but I don't think that distributing Rails with Typo solves many problems. Scott On 28 Mar 2006 19:57:45 -0000, jonasb.16759522 at bloglines.com < jonasb.16759522 at bloglines.com> wrote: > > I've asked it before, but got no answer (that I can recall): why doesn't > Typo > contain a frozen version of Rails so that everyone runs the same version? > > > (That doesn't solve the problem with incompatibilities with Rails 1.1 but > I think there would be less problems) > > /Jonas (jonas.b at home.se) > > --- typo-list at rubyforge.org > wrote: > So, it's out. What do we do? > > > > > > Scott > > > > > > _______________________________________________ > > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > > _______________________________________________ > 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/20060328/910a59f1/attachment-0001.htm From jonasb.16759522 at bloglines.com Tue Mar 28 16:42:32 2006 From: jonasb.16759522 at bloglines.com (jonasb.16759522 at bloglines.com) Date: 28 Mar 2006 21:42:32 -0000 Subject: [typo] Rails 1.1? Message-ID: <1143582152.2447615071.2296.sendItem@bloglines.com> But isn't it recommended to use a frozen version of Rails, at least when using shared hosting. If most Typo users use frozen Rails the size of the Typo distribution wouldn't matter that much. But if there's not that much hassle supporting multiple Rails version I guess it's not worth it. /Jonas --- typo-list at rubyforge.org wrote: Because Rails is much larger then Typo, and we'd rather not make Typo grow > that much larger if we can avoid it. We can nail Typo to specific Rails > versions (and we probably will for releases from now on), but I don't think > that distributing Rails with Typo solves many problems. > > > Scott > > On 28 Mar 2006 19:57:45 -0000, jonasb.16759522 at bloglines.com < > jonasb.16759522 at bloglines.com> wrote: > > > > I've asked it before, but got no answer (that I can recall): why doesn't > > Typo > > contain a frozen version of Rails so that everyone runs the same version? > > > > > > (That doesn't solve the problem with incompatibilities with Rails 1.1 but > > I think there would be less problems) > > > > /Jonas (jonas.b at home.se) > > > > --- typo-list at rubyforge.org > > wrote: > > So, it's out. What do we do? > > > > > > > > > Scott > > > > > > > > > _______________________________________________ > > > > > Typo-list mailing list > > > Typo-list at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > > > > > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > From jon.borgthorsson at gmail.com Tue Mar 28 17:01:35 2006 From: jon.borgthorsson at gmail.com (Jon Gretar Borgthorsson) Date: Tue, 28 Mar 2006 22:01:35 +0000 Subject: [typo] Website Message-ID: <dbb6450e0603281401q1a9a0173x834199f0b8b40f49@mail.gmail.com> Propably been asked here many times before..... But why oh why does Typo not have any website?? Is the page being worked on so amazing that it is taking months to design? -- -------------- Jon Gretar Borgthorsson From pdcawley at bofh.org.uk Tue Mar 28 17:28:47 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Tue, 28 Mar 2006 23:28:47 +0100 Subject: [typo] Rails 1.1? In-Reply-To: <dbb6450e0603280731v6a010fcaq92028331695ab018@mail.gmail.com> (Jon Gretar Borgthorsson's message of "Tue, 28 Mar 2006 15:31:28 +0000") References: <14b7e5ef0603280624l4a53ce33hf71ed63a9e8ef1aa@mail.gmail.com> <dbb6450e0603280635x1f570d81ufe8b906ddd74a32b@mail.gmail.com> <44294F77.9040009@bamboo.lu> <dbb6450e0603280731v6a010fcaq92028331695ab018@mail.gmail.com> Message-ID: <m2hd5iw6e8.fsf@obelisk.bofh.org.uk> "Jon Gretar Borgthorsson" <jon.borgthorsson at gmail.com> writes: > I'm pretty sure that there can be a way to accommodate both. And some > things can probably be solved by asking users to install a specific > plugin if using version 1.1 or 1.0. > > But starting to use 1.1 only at some point will enable the use of the > new features in 1.1. I like many of them like the new "has_many > :through" and RJS. I think 1.1 features could actually shorten the > typo code considerably. Oh ghod yes! I so want has_many :through. And polymorphic associations wouldn't go amiss either, though that's less of an issue now we're using a contents table rather than separate tables for articles, trackbacks and comments. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From scott at sigkill.org Tue Mar 28 18:47:13 2006 From: scott at sigkill.org (Scott Laird) Date: Tue, 28 Mar 2006 15:47:13 -0800 Subject: [typo] Rails 1.1? In-Reply-To: <1143582152.2447615071.2296.sendItem@bloglines.com> References: <1143582152.2447615071.2296.sendItem@bloglines.com> Message-ID: <14b7e5ef0603281547y2ff3c978ob2e355e4877b9f58@mail.gmail.com> Give me another week or so. I have things up my sleeves :-). Scott On 28 Mar 2006 21:42:32 -0000, jonasb.16759522 at bloglines.com < jonasb.16759522 at bloglines.com> wrote: > > But isn't it recommended to use a frozen version of Rails, at least when > using > shared hosting. If most Typo users use frozen Rails the size of the Typo > distribution > wouldn't matter that much. > > But if there's not that much hassle supporting > multiple Rails version I guess it's not worth it. > > /Jonas > > --- typo-list at rubyforge.org > wrote: > Because Rails is much larger then Typo, and we'd rather not make Typo > grow > > that much larger if we can avoid it. We can nail Typo to specific > Rails > > versions (and we probably will for releases from now on), but I don't > think > > that distributing Rails with Typo solves many problems. > > > > > > Scott > > > > On 28 Mar 2006 19:57:45 -0000, jonasb.16759522 at bloglines.com > < > > jonasb.16759522 at bloglines.com> wrote: > > > > > > I've asked it before, > but got no answer (that I can recall): why doesn't > > > Typo > > > contain > a frozen version of Rails so that everyone runs the same version? > > > > > > > > > > (That doesn't solve the problem with incompatibilities with Rails 1.1 > but > > > I think there would be less problems) > > > > > > /Jonas (jonas.b at home.se) > > > > > > > --- typo-list at rubyforge.org > > > wrote: > > > So, it's out. What > do we do? > > > > > > > > > > > > Scott > > > > > > > > > > > > _______________________________________________ > > > > > > > > Typo-list mailing list > > > > Typo-list at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > > > > > > > > > > > _______________________________________________ > > > > Typo-list mailing list > > > Typo-list at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > > > > > > _______________________________________________ > > Typo-list > mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > > _______________________________________________ > 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/20060328/7f54ae5c/attachment.htm From vanweerd at gmail.com Tue Mar 28 20:42:21 2006 From: vanweerd at gmail.com (Nicholas Van Weerdenburg) Date: Tue, 28 Mar 2006 20:42:21 -0500 Subject: [typo] Rails 1.1? In-Reply-To: <5AC48DFE-43CC-4145-8C8F-D78AEDF1C86B@gmail.com> References: <14b7e5ef0603280624l4a53ce33hf71ed63a9e8ef1aa@mail.gmail.com> <dbb6450e0603280635x1f570d81ufe8b906ddd74a32b@mail.gmail.com> <5AC48DFE-43CC-4145-8C8F-D78AEDF1C86B@gmail.com> Message-ID: <632154f70603281742r1300510ah41b8871906c7bc91@mail.gmail.com> Textdrive upgraded today already. No warning, broke my app. On 3/28/06, Gary Shewan <gpsnospam at gmail.com> wrote: > > > On 28 Mar 2006, at 15:35, Jon Gretar Borgthorsson wrote: > > > Well... Fixing the "enable_upload_progress" bug so that typo will work > > with rails 1.1 would be a start. > > > > > > ------------- > > Jon Gretar Borgthorsson > > > > On 3/28/06, Scott Laird <scott at sigkill.org> wrote: > >> So, it's out. What do we do? > >> > > Well apart from what Jon mentions, how far away is Typo from being > 1.1 compatible? I do have a beady eye on it because last time > Dreamhost did the upgrade with no notice. I'd say the prospect of > hosting companies upgrading is still a few weeks away. There's time > there to look at what needs to be done. > > Gary > _______________________________________________ > 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/20060328/d72a477f/attachment.htm From gilgit at gmail.com Tue Mar 28 20:42:45 2006 From: gilgit at gmail.com (David Richardson) Date: Tue, 28 Mar 2006 18:42:45 -0700 Subject: [typo] Rails 1.1? In-Reply-To: <14b7e5ef0603281547y2ff3c978ob2e355e4877b9f58@mail.gmail.com> References: <1143582152.2447615071.2296.sendItem@bloglines.com> <14b7e5ef0603281547y2ff3c978ob2e355e4877b9f58@mail.gmail.com> Message-ID: <35ac07b90603281742y5a831751x89305a2834fcaaae@mail.gmail.com> "So, it's out. What do we do?" How about 1. a version-aware environment.rb in trunk and release versionsimmediately, so that those who must can upgrade their systems to Rails1.1 and keep Typo running 2. publishing a list of the problematic areas of current app 3. re-focusing on getting all the legacy junk out the application now I'm assuming the members of the commit team are most familiar with thecode and they might offer specific suggestions on how to fix it, or atleast what the biggest problems are. If a list is posted here, perhapsit will attract some help. david richardson--www.channel200.net From smountcastle at gmail.com Tue Mar 28 20:56:44 2006 From: smountcastle at gmail.com (Sean Mountcastle) Date: Tue, 28 Mar 2006 20:56:44 -0500 Subject: [typo] How to lock Typo to Rails 1.0? Message-ID: <c4d54c6f0603281756s7852d458g976cdeba86bdee01@mail.gmail.com> My hosting provider has upgraded to Rails 1.1 without any warning and it looks like all of the hosted Typo installs are down :( I tried adding the following to config/environment.rb at the top of the file, but by that point the Rails 1.1 libraries have already been loaded (not sure how as the calling script is dispatch.fcgi): require 'rubygems' require_gem 'activesupport', '= 1.3.0' require_gem 'activerecord', '= 1.13.2' require_gem 'actionpack', '= 1.11.2' require_gem 'actionmailer', '= 1.1.5' require_gem 'actionwebservice', '= 1.0.0' So, where should I lock-down the gems to the Rails 1.0 versions? Thanks, Sean /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:149:in `activate': can't activate activesupport (= 1.2.5), already activated activesupport-1.3.0] (Gem::Exception) from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:167:in `activate' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:166:in `each' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:166:in `activate' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:37:in `require_gem_with_options' from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:31:in `require_gem' from .../typo/public/../config/environment.rb:8 from .../typo/public/dispatch.fcgi:21:in `require' from .../typo/public/dispatch.fcgi:21 From vanweerd at gmail.com Tue Mar 28 21:55:55 2006 From: vanweerd at gmail.com (Nicholas Van Weerdenburg) Date: Tue, 28 Mar 2006 21:55:55 -0500 Subject: [typo] Dependencies::LoadingModule.root Typo 2.6.0 and Earlier Message-ID: <632154f70603281855r7af7ca98q11fb5fa99a95cc41@mail.gmail.com> Controllers = Dependencies::LoadingModule.root( File.join(RAILS_ROOT, 'app', 'controllers'), File.join(RAILS_ROOT, 'components') ) Rails 1.1 doesn't like Dependencies::LoadingMode. Any recommendations on how to fix this? Thanks, Nick -- Nicholas Van Weerdenburg -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060328/b775ce25/attachment.htm From jake at whoisjake.com Tue Mar 28 22:03:42 2006 From: jake at whoisjake.com (Jake Good) Date: Tue, 28 Mar 2006 21:03:42 -0600 Subject: [typo] Rails 1.1? In-Reply-To: <632154f70603281742r1300510ah41b8871906c7bc91@mail.gmail.com> References: <14b7e5ef0603280624l4a53ce33hf71ed63a9e8ef1aa@mail.gmail.com> <dbb6450e0603280635x1f570d81ufe8b906ddd74a32b@mail.gmail.com> <5AC48DFE-43CC-4145-8C8F-D78AEDF1C86B@gmail.com> <632154f70603281742r1300510ah41b8871906c7bc91@mail.gmail.com> Message-ID: <4429F90E.1080707@whoisjake.com> DH is upgrading... just WAITING for my blog to go down :( http://blog.dreamhost.com/2006/03/28/new-rails/ Nicholas Van Weerdenburg wrote: > Textdrive upgraded today already. No warning, broke my app. > > On 3/28/06, *Gary Shewan* <gpsnospam at gmail.com > <mailto:gpsnospam at gmail.com>> wrote: > > > On 28 Mar 2006, at 15:35, Jon Gretar Borgthorsson wrote: > > > Well... Fixing the "enable_upload_progress" bug so that typo > will work > > with rails 1.1 would be a start. > > > > > > ------------- > > Jon Gretar Borgthorsson > > > > On 3/28/06, Scott Laird <scott at sigkill.org > <mailto:scott at sigkill.org>> wrote: > >> So, it's out. What do we do? > >> > > Well apart from what Jon mentions, how far away is Typo from being > 1.1 compatible? I do have a beady eye on it because last time > Dreamhost did the upgrade with no notice. I'd say the prospect of > hosting companies upgrading is still a few weeks away. There's time > there to look at what needs to be done. > > Gary > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org <mailto:Typo-list at rubyforge.org> > http://rubyforge.org/mailman/listinfo/typo-list > > > ------------------------------------------------------------------------ > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From dstrelau at gmail.com Tue Mar 28 22:13:00 2006 From: dstrelau at gmail.com (Dean Strelau) Date: Tue, 28 Mar 2006 22:13:00 -0500 Subject: [typo] Rails 1.1? In-Reply-To: <632154f70603281742r1300510ah41b8871906c7bc91@mail.gmail.com> References: <14b7e5ef0603280624l4a53ce33hf71ed63a9e8ef1aa@mail.gmail.com> <dbb6450e0603280635x1f570d81ufe8b906ddd74a32b@mail.gmail.com> <5AC48DFE-43CC-4145-8C8F-D78AEDF1C86B@gmail.com> <632154f70603281742r1300510ah41b8871906c7bc91@mail.gmail.com> Message-ID: <aaec3bd90603281913l1cfc6e65l67e8e50636926dab@mail.gmail.com> Dreamhost also upgraded already. On 3/28/06, Nicholas Van Weerdenburg <vanweerd at gmail.com> wrote: > Textdrive upgraded today already. No warning, broke my app. > > > On 3/28/06, Gary Shewan <gpsnospam at gmail.com> wrote: > > > > On 28 Mar 2006, at 15:35, Jon Gretar Borgthorsson wrote: > > > > > Well... Fixing the "enable_upload_progress" bug so that typo will work > > > with rails 1.1 would be a start. > > > > > > > > > ------------- > > > Jon Gretar Borgthorsson > > > > > > On 3/28/06, Scott Laird <scott at sigkill.org> wrote: > > >> So, it's out. What do we do? > > >> > > > > Well apart from what Jon mentions, how far away is Typo from being > > 1.1 compatible? I do have a beady eye on it because last time > > Dreamhost did the upgrade with no notice. I'd say the prospect of > > hosting companies upgrading is still a few weeks away. There's time > > there to look at what needs to be done. > > > > Gary > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > From steve.longdo at gmail.com Tue Mar 28 22:13:08 2006 From: steve.longdo at gmail.com (Steve Longdo) Date: Tue, 28 Mar 2006 21:13:08 -0600 Subject: [typo] Rails 1.1? In-Reply-To: <632154f70603281742r1300510ah41b8871906c7bc91@mail.gmail.com> References: <14b7e5ef0603280624l4a53ce33hf71ed63a9e8ef1aa@mail.gmail.com> <dbb6450e0603280635x1f570d81ufe8b906ddd74a32b@mail.gmail.com> <5AC48DFE-43CC-4145-8C8F-D78AEDF1C86B@gmail.com> <632154f70603281742r1300510ah41b8871906c7bc91@mail.gmail.com> Message-ID: <cc4e85f30603281913nc133da4o2ce4e95fcc81f808@mail.gmail.com> I ran afoul of Textdrive also. The only way to keep running there is to roll back to Rails 1.0 by running: rake freeze_edge REVISION=3303 FYI when you run a "newer" release of Typo (somewhere in the late r800's) it consumes enough memory that the Textdrive servers will kill the process anyway. Until memory consumption can be reigned in, no one will be running a newer version of Typo on Textdrive's servers. Something holds on too way more memory than it should. I haven't been able to track it down yet. Mostly because other than ObjectSpace to see in general how many objects there are, I don't know of a way to see how much memory a given object/set of objects is taking up. Would a C extension to call sizeOf be necessary or the some other way to findout Object memory size in Ruby? -Steve On 3/28/06, Nicholas Van Weerdenburg <vanweerd at gmail.com> wrote: > > Textdrive upgraded today already. No warning, broke my app. > > > On 3/28/06, Gary Shewan <gpsnospam at gmail.com> wrote: > > > > > > On 28 Mar 2006, at 15:35, Jon Gretar Borgthorsson wrote: > > > > > Well... Fixing the "enable_upload_progress" bug so that typo will work > > > > > with rails 1.1 would be a start. > > > > > > > > > ------------- > > > Jon Gretar Borgthorsson > > > > > > On 3/28/06, Scott Laird <scott at sigkill.org> wrote: > > >> So, it's out. What do we do? > > >> > > > > Well apart from what Jon mentions, how far away is Typo from being > > 1.1 compatible? I do have a beady eye on it because last time > > Dreamhost did the upgrade with no notice. I'd say the prospect of > > hosting companies upgrading is still a few weeks away. There's time > > there to look at what needs to be done. > > > > Gary > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > _______________________________________________ > 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/20060328/37b77846/attachment.htm From dstrelau at gmail.com Tue Mar 28 22:14:43 2006 From: dstrelau at gmail.com (Dean Strelau) Date: Tue, 28 Mar 2006 22:14:43 -0500 Subject: [typo] How to lock Typo to Rails 1.0? In-Reply-To: <c4d54c6f0603281756s7852d458g976cdeba86bdee01@mail.gmail.com> References: <c4d54c6f0603281756s7852d458g976cdeba86bdee01@mail.gmail.com> Message-ID: <aaec3bd90603281914o20a86828qa622e514241e3b2@mail.gmail.com> `svn export http://dev.rubyonrails.org/svn/rails/tags/rel_1-0-0/ vendor/rails` from your RAILS_ROOT is supposed to do the trick, but it's still not working for my on Dreamhost. I'd give it a try. It *should* work. On 3/28/06, Sean Mountcastle <smountcastle at gmail.com> wrote: > My hosting provider has upgraded to Rails 1.1 without any warning and > it looks like all of the hosted Typo installs are down :( > > I tried adding the following to config/environment.rb at the top of > the file, but by that point the Rails 1.1 libraries have already been > loaded (not sure how as the calling script is dispatch.fcgi): > > require 'rubygems' > require_gem 'activesupport', '= 1.3.0' > require_gem 'activerecord', '= 1.13.2' > require_gem 'actionpack', '= 1.11.2' > require_gem 'actionmailer', '= 1.1.5' > require_gem 'actionwebservice', '= 1.0.0' > > So, where should I lock-down the gems to the Rails 1.0 versions? > > Thanks, > Sean > > /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:149:in `activate': can't > activate activesupport (= 1.2.5), already activated > activesupport-1.3.0] (Gem::Exception) > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:167:in `activate' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:166:in `each' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:166:in `activate' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:37:in > `require_gem_with_options' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:31:in `require_gem' > from .../typo/public/../config/environment.rb:8 > from .../typo/public/dispatch.fcgi:21:in `require' > from .../typo/public/dispatch.fcgi:21 > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From steve.longdo at gmail.com Tue Mar 28 22:15:14 2006 From: steve.longdo at gmail.com (Steve Longdo) Date: Tue, 28 Mar 2006 21:15:14 -0600 Subject: [typo] How to lock Typo to Rails 1.0? In-Reply-To: <c4d54c6f0603281756s7852d458g976cdeba86bdee01@mail.gmail.com> References: <c4d54c6f0603281756s7852d458g976cdeba86bdee01@mail.gmail.com> Message-ID: <cc4e85f30603281915i77c6bd7l98ea7e70afbd0f9b@mail.gmail.com> Try running: rake freeze_edge REVISION=3303 On your Typo install directory. This is the equivalent to the Rails 1.0gem. -Steve http://www.stevelongdo.com On 3/28/06, Sean Mountcastle <smountcastle at gmail.com> wrote: > > My hosting provider has upgraded to Rails 1.1 without any warning and > it looks like all of the hosted Typo installs are down :( > > I tried adding the following to config/environment.rb at the top of > the file, but by that point the Rails 1.1 libraries have already been > loaded (not sure how as the calling script is dispatch.fcgi): > > require 'rubygems' > require_gem 'activesupport', '= 1.3.0' > require_gem 'activerecord', '= 1.13.2' > require_gem 'actionpack', '= 1.11.2' > require_gem 'actionmailer', '= 1.1.5' > require_gem 'actionwebservice', '= 1.0.0' > > So, where should I lock-down the gems to the Rails 1.0 versions? > > Thanks, > Sean > > /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:149:in `activate': can't > activate activesupport (= 1.2.5), already activated > activesupport-1.3.0] (Gem::Exception) > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:167:in > `activate' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:166:in `each' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:166:in > `activate' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:37:in > `require_gem_with_options' > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:31:in > `require_gem' > from .../typo/public/../config/environment.rb:8 > from .../typo/public/dispatch.fcgi:21:in `require' > from .../typo/public/dispatch.fcgi:21 > > _______________________________________________ > 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/20060328/1907918a/attachment.htm From scott at sigkill.org Tue Mar 28 22:38:43 2006 From: scott at sigkill.org (Scott Laird) Date: Tue, 28 Mar 2006 19:38:43 -0800 Subject: [typo] Dependencies::LoadingModule.root Typo 2.6.0 and Earlier In-Reply-To: <632154f70603281855r7af7ca98q11fb5fa99a95cc41@mail.gmail.com> References: <632154f70603281855r7af7ca98q11fb5fa99a95cc41@mail.gmail.com> Message-ID: <14b7e5ef0603281938u57513379t12fab0ebbb0a9dd2@mail.gmail.com> 2.6 isn't going to work with 1.1. Try running 'rake freeze_edgeREVISION=3303' to lock yourself to Rails 1.0. Scott On 3/28/06, Nicholas Van Weerdenburg <vanweerd at gmail.com> wrote:>> Controllers = Dependencies::LoadingModule.root(> File.join(RAILS_ROOT, 'app', 'controllers'),> File.join(RAILS_ROOT, 'components')> )>> Rails 1.1 doesn't like Dependencies::LoadingMode. Any recommendations on how to fix this?>> Thanks,> Nick> -->> Nicholas Van Weerdenburg> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list>> From vanweerd at gmail.com Tue Mar 28 22:51:46 2006 From: vanweerd at gmail.com (Nicholas Van Weerdenburg) Date: Tue, 28 Mar 2006 22:51:46 -0500 Subject: [typo] Dependencies::LoadingModule.root Typo 2.6.0 and Earlier In-Reply-To: <14b7e5ef0603281938u57513379t12fab0ebbb0a9dd2@mail.gmail.com> References: <632154f70603281855r7af7ca98q11fb5fa99a95cc41@mail.gmail.com> <14b7e5ef0603281938u57513379t12fab0ebbb0a9dd2@mail.gmail.com> Message-ID: <632154f70603281951j59449073p997da3148b978997@mail.gmail.com> Thanks. Is this essentially the same as dumping rails 1.0 into vendor/rails? Thanks, Nick On 3/28/06, Scott Laird <scott at sigkill.org> wrote: > > 2.6 isn't going to work with 1.1. Try running 'rake > freeze_edgeREVISION=3303' to lock yourself to Rails 1.0. > > Scott > > On 3/28/06, Nicholas Van Weerdenburg <vanweerd at gmail.com> wrote:>> > Controllers = Dependencies::LoadingModule.root(> File.join(RAILS_ROOT, > 'app', 'controllers'),> File.join(RAILS_ROOT, 'components')> )>> Rails > 1.1 doesn't like Dependencies::LoadingMode. Any recommendations on how to > fix this?>> Thanks,> Nick> -->> Nicholas Van Weerdenburg> > _______________________________________________> Typo-list mailing list> > Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list>> > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Nicholas Van Weerdenburg -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060328/74240b61/attachment.htm From vanweerd at gmail.com Tue Mar 28 22:59:34 2006 From: vanweerd at gmail.com (Nicholas Van Weerdenburg) Date: Tue, 28 Mar 2006 22:59:34 -0500 Subject: [typo] How to lock Typo to Rails 1.0? In-Reply-To: <aaec3bd90603281914o20a86828qa622e514241e3b2@mail.gmail.com> References: <c4d54c6f0603281756s7852d458g976cdeba86bdee01@mail.gmail.com> <aaec3bd90603281914o20a86828qa622e514241e3b2@mail.gmail.com> Message-ID: <632154f70603281959h52a766d6h387cf804fbdf7c8f@mail.gmail.com> Thanks! This worked great on Textdrive for me. And, strangely, I seem to be consuming less memory. Thanks, Nick On 3/28/06, Dean Strelau <dstrelau at gmail.com> wrote: > > `svn export http://dev.rubyonrails.org/svn/rails/tags/rel_1-0-0/ > vendor/rails` from your RAILS_ROOT is supposed to do the trick, but > it's still not working for my on Dreamhost. I'd give it a try. It > *should* work. > > On 3/28/06, Sean Mountcastle <smountcastle at gmail.com> wrote: > > My hosting provider has upgraded to Rails 1.1 without any warning and > > it looks like all of the hosted Typo installs are down :( > > > > I tried adding the following to config/environment.rb at the top of > > the file, but by that point the Rails 1.1 libraries have already been > > loaded (not sure how as the calling script is dispatch.fcgi): > > > > require 'rubygems' > > require_gem 'activesupport', '= 1.3.0' > > require_gem 'activerecord', '= 1.13.2' > > require_gem 'actionpack', '= 1.11.2' > > require_gem 'actionmailer', '= 1.1.5' > > require_gem 'actionwebservice', '= 1.0.0' > > > > So, where should I lock-down the gems to the Rails 1.0 versions? > > > > Thanks, > > Sean > > > > /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:149:in `activate': can't > > activate activesupport (= 1.2.5), already activated > > activesupport-1.3.0] (Gem::Exception) > > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:167:in > `activate' > > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:166:in `each' > > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:166:in > `activate' > > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:37:in > > `require_gem_with_options' > > from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:31:in > `require_gem' > > from .../typo/public/../config/environment.rb:8 > > from .../typo/public/dispatch.fcgi:21:in `require' > > from .../typo/public/dispatch.fcgi:21 > > > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Nicholas Van Weerdenburg -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060328/e01bb668/attachment-0001.htm From jon.borgthorsson at gmail.com Wed Mar 29 00:01:33 2006 From: jon.borgthorsson at gmail.com (Jon Gretar Borgthorsson) Date: Wed, 29 Mar 2006 05:01:33 +0000 Subject: [typo] Rails 1.1? In-Reply-To: <cc4e85f30603281913nc133da4o2ce4e95fcc81f808@mail.gmail.com> References: <14b7e5ef0603280624l4a53ce33hf71ed63a9e8ef1aa@mail.gmail.com> <dbb6450e0603280635x1f570d81ufe8b906ddd74a32b@mail.gmail.com> <5AC48DFE-43CC-4145-8C8F-D78AEDF1C86B@gmail.com> <632154f70603281742r1300510ah41b8871906c7bc91@mail.gmail.com> <cc4e85f30603281913nc133da4o2ce4e95fcc81f808@mail.gmail.com> Message-ID: <dbb6450e0603282101rbdbc071t2c59ae9f3b8e357@mail.gmail.com> Seeing that many of the bigger hosting companies have upgraded to version 1.1 after just one day I have to say that any fancy methods of supporting both 1.0 and 1.1 are unneeded and will only complex typo. I think the best thing to do is to make the current trunk be the last version to support 1.0 and make an archive of it available in some back support page. I think it is quite obvious that rails 1.0 is not going to be with us for long. On 3/29/06, Steve Longdo <steve.longdo at gmail.com> wrote: > I ran afoul of Textdrive also. The only way to keep running there is to > roll back to Rails 1.0 by running: > > rake freeze_edge REVISION=3303 > > FYI when you run a "newer" release of Typo (somewhere in the late r800's) it > consumes enough memory that the Textdrive servers will kill the process > anyway. Until memory consumption can be reigned in, no one will be running > a newer version of Typo on Textdrive's servers. Something holds on too way > more memory than it should. I haven't been able to track it down yet. > > Mostly because other than ObjectSpace to see in general how many objects > there are, I don't know of a way to see how much memory a given object/set > of objects is taking up. Would a C extension to call sizeOf be necessary or > the some other way to findout Object memory size in Ruby? > > -Steve > > > On 3/28/06, Nicholas Van Weerdenburg <vanweerd at gmail.com> wrote: > > > > Textdrive upgraded today already. No warning, broke my app. > > > > > > > > On 3/28/06, Gary Shewan <gpsnospam at gmail.com> wrote: > > > > > > On 28 Mar 2006, at 15:35, Jon Gretar Borgthorsson wrote: > > > > > > > Well... Fixing the "enable_upload_progress" bug so that typo will work > > > > with rails 1.1 would be a start. > > > > > > > > > > > > ------------- > > > > Jon Gretar Borgthorsson > > > > > > > > On 3/28/06, Scott Laird < scott at sigkill.org> wrote: > > > >> So, it's out. What do we do? > > > >> > > > > > > Well apart from what Jon mentions, how far away is Typo from being > > > 1.1 compatible? I do have a beady eye on it because last time > > > Dreamhost did the upgrade with no notice. I'd say the prospect of > > > hosting companies upgrading is still a few weeks away. There's time > > > there to look at what needs to be done. > > > > > > Gary > > > _______________________________________________ > > > Typo-list mailing list > > > Typo-list at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > > > > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > -- -------------- Jon Gretar Borgthorsson From psq at nanorails.com Wed Mar 29 02:10:15 2006 From: psq at nanorails.com (Pascal) Date: Wed, 29 Mar 2006 07:10:15 +0000 (UTC) Subject: [typo] Rails 1.1? References: <14b7e5ef0603280624l4a53ce33hf71ed63a9e8ef1aa@mail.gmail.com> <dbb6450e0603280635x1f570d81ufe8b906ddd74a32b@mail.gmail.com> <5AC48DFE-43CC-4145-8C8F-D78AEDF1C86B@gmail.com> <632154f70603281742r1300510ah41b8871906c7bc91@mail.gmail.com> <cc4e85f30603281913nc133da4o2ce4e95fcc81f808@mail.gmail.com> <dbb6450e0603282101rbdbc071t2c59ae9f3b8e357@mail.gmail.com> Message-ID: <loom.20060329T090820-483@post.gmane.org> Jon Gretar Borgthorsson <jon.borgthorsson <at> gmail.com> writes: > > Seeing that many of the bigger hosting companies have upgraded to > version 1.1 after just one day I have to say that any fancy methods of > supporting both 1.0 and 1.1 are unneeded and will only complex typo. I > think the best thing to do is to make the current trunk be the last > version to support 1.0 and make an archive of it available in some > back support page. > Based on my experience today at dreamhost, I agree. Let's just go for support with 1.1. Here's the blow by blow recount of a few intense 2 hours to force my typo install to use good old 1.0: http://blog.nanorails.com/articles/2006/03/28/rake-freeze_gems-fails-because-rails-gem-is-not-installed http://blog.nanorails.com/articles/2006/03/28/freeze-all-your-ruby-gems-on-a-shared-host Cheers, Pascal. From rob at awakeheart.net Wed Mar 29 02:56:21 2006 From: rob at awakeheart.net (Robert Ivanc) Date: Wed, 29 Mar 2006 09:56:21 +0200 Subject: [typo] How to lock Typo to Rails 1.0? In-Reply-To: <aaec3bd90603281914o20a86828qa622e514241e3b2@mail.gmail.com> References: <c4d54c6f0603281756s7852d458g976cdeba86bdee01@mail.gmail.com> <aaec3bd90603281914o20a86828qa622e514241e3b2@mail.gmail.com> Message-ID: <bf0d2fce0603282356y127a627cm544dd8e1c539d412@mail.gmail.com> Hi, I am not sure if this will be at all helpful, but my typo install on dreamhost seems to be working just fine, in spite of the rails 1.1 upgrade. I do run a pretty old revision on it though, r760. Maybe it help figuring out where the problems are, if they are not already known. Robert From rob at awakeheart.net Wed Mar 29 05:31:52 2006 From: rob at awakeheart.net (Robert Ivanc) Date: Wed, 29 Mar 2006 12:31:52 +0200 Subject: [typo] How to lock Typo to Rails 1.0? In-Reply-To: <bf0d2fce0603282356y127a627cm544dd8e1c539d412@mail.gmail.com> References: <c4d54c6f0603281756s7852d458g976cdeba86bdee01@mail.gmail.com> <aaec3bd90603281914o20a86828qa622e514241e3b2@mail.gmail.com> <bf0d2fce0603282356y127a627cm544dd8e1c539d412@mail.gmail.com> Message-ID: <bf0d2fce0603290231y2b76a3fco60c3311690cd845b@mail.gmail.com> never mind. old processes were still running... On 3/29/06, Robert Ivanc <rob at awakeheart.net> wrote: > Hi, > > I am not sure if this will be at all helpful, but my typo install on > dreamhost seems to be working just fine, in spite of the rails 1.1 > upgrade. I do run a pretty old revision on it though, > r760. Maybe it help figuring out where the problems are, if they are > not already known. > > Robert > From rob at awakeheart.net Wed Mar 29 05:38:36 2006 From: rob at awakeheart.net (Robert Ivanc) Date: Wed, 29 Mar 2006 12:38:36 +0200 Subject: [typo] Rails 1.1? In-Reply-To: <loom.20060329T090820-483@post.gmane.org> References: <14b7e5ef0603280624l4a53ce33hf71ed63a9e8ef1aa@mail.gmail.com> <dbb6450e0603280635x1f570d81ufe8b906ddd74a32b@mail.gmail.com> <5AC48DFE-43CC-4145-8C8F-D78AEDF1C86B@gmail.com> <632154f70603281742r1300510ah41b8871906c7bc91@mail.gmail.com> <cc4e85f30603281913nc133da4o2ce4e95fcc81f808@mail.gmail.com> <dbb6450e0603282101rbdbc071t2c59ae9f3b8e357@mail.gmail.com> <loom.20060329T090820-483@post.gmane.org> Message-ID: <bf0d2fce0603290238w6e3d076ao2cb04626aa520d@mail.gmail.com> frozen rails that works at dreamhost is at http://clarity.awakeheart.net/rails.zip the rake freeze_edge didn't work enough, I had to follow Pascal's instructions and unpack all the gems manually. Regards, Robert On 3/29/06, Pascal <psq at nanorails.com> wrote: > Jon Gretar Borgthorsson <jon.borgthorsson <at> gmail.com> writes: > > > > > Seeing that many of the bigger hosting companies have upgraded to > > version 1.1 after just one day I have to say that any fancy methods of > > supporting both 1.0 and 1.1 are unneeded and will only complex typo. I > > think the best thing to do is to make the current trunk be the last > > version to support 1.0 and make an archive of it available in some > > back support page. > > > > Based on my experience today at dreamhost, I agree. Let's just go for support > with 1.1. > > Here's the blow by blow recount of a few intense 2 hours to force my typo > install to use good old 1.0: > http://blog.nanorails.com/articles/2006/03/28/rake-freeze_gems-fails-because-rails-gem-is-not-installed > http://blog.nanorails.com/articles/2006/03/28/freeze-all-your-ruby-gems-on-a-shared-host > > > Cheers, > Pascal. > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From smountcastle at gmail.com Wed Mar 29 08:19:01 2006 From: smountcastle at gmail.com (Sean Mountcastle) Date: Wed, 29 Mar 2006 08:19:01 -0500 Subject: [typo] How to lock Typo to Rails 1.0? Message-ID: <c4d54c6f0603290519n1feadc96o4287863e1f363ca@mail.gmail.com> > Try running: > > rake freeze_edge REVISION=3303 > > On your Typo install directory. This is the equivalent to the Rails 1.0gem. Thanks Steve, that works. But the whole purpose of RubyGems is so that you could have multiple versions of gems installed and have your Ruby app require a specific version -- does this not work with Rails at all? Sean From psq at nanorails.com Wed Mar 29 16:51:07 2006 From: psq at nanorails.com (Pascal Belloncle) Date: Wed, 29 Mar 2006 21:51:07 +0000 (UTC) Subject: [typo] How to lock Typo to Rails 1.0? References: <c4d54c6f0603290519n1feadc96o4287863e1f363ca@mail.gmail.com> Message-ID: <loom.20060329T234834-518@post.gmane.org> Sean Mountcastle <smountcastle <at> gmail.com> writes: > > > Try running: > > > > rake freeze_edge REVISION=3303 > > > > On your Typo install directory. This is the equivalent to the Rails 1.0gem. > > Thanks Steve, that works. But the whole purpose of RubyGems is so > that you could have multiple versions of gems installed and have your > Ruby app require a specific version -- does this not work with Rails > at all? > > Sean > To lock your "require" to a specific version you can follow the instructions from http://wiki.rubyonrails.com/rails/pages/HowtoLockToSpecificRailsVersions Maybe the environment.rb from typo should use this? Thanks, Pascal. From steve.longdo at gmail.com Wed Mar 29 17:09:27 2006 From: steve.longdo at gmail.com (Steve Longdo) Date: Wed, 29 Mar 2006 16:09:27 -0600 Subject: [typo] How to lock Typo to Rails 1.0? In-Reply-To: <loom.20060329T234834-518@post.gmane.org> References: <c4d54c6f0603290519n1feadc96o4287863e1f363ca@mail.gmail.com> <loom.20060329T234834-518@post.gmane.org> Message-ID: <cc4e85f30603291409k7bfdc4cfud4f139eedb08b8f8@mail.gmail.com> I think the issue with this might be that the Typo environment.rb includes the vendor/rails/*/lib in the config.load_paths and that might be why: require_gem 'rails', '= 1.1.0' doesn't work so good. Really the Typo team dropped the ball on this one, it isn't like they didn't know that Rails 1.1 was coming or that they were going to have problems. I am disappointed with the response from them which has been near silence. Even when they are ready the memory consumption/CPU usage now exceeds the max per process on Textdrive. So without some clean up to the codebase people will be in for a shock when they can get to Rails 1.1 and Typo 4.0 on a shred host because it will get killed anyway. *sigh* On 3/29/06, Pascal Belloncle <psq at nanorails.com> wrote: > > Sean Mountcastle <smountcastle <at> gmail.com> writes: > > > > > > Try running: > > > > > > rake freeze_edge REVISION=3303 > > > > > > On your Typo install directory. This is the equivalent to the Rails > 1.0gem. > > > > Thanks Steve, that works. But the whole purpose of RubyGems is so > > that you could have multiple versions of gems installed and have your > > Ruby app require a specific version -- does this not work with Rails > > at all? > > > > Sean > > > > To lock your "require" to a specific version you can follow the > instructions from > http://wiki.rubyonrails.com/rails/pages/HowtoLockToSpecificRailsVersions > > Maybe the environment.rb from typo should use this? > > Thanks, > Pascal. > > _______________________________________________ > 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/20060329/8c1a7a85/attachment.htm From gilgit at gmail.com Wed Mar 29 19:08:03 2006 From: gilgit at gmail.com (David Richardson) Date: Wed, 29 Mar 2006 17:08:03 -0700 Subject: [typo] How to lock Typo to Rails 1.0? In-Reply-To: <cc4e85f30603291409k7bfdc4cfud4f139eedb08b8f8@mail.gmail.com> References: <c4d54c6f0603290519n1feadc96o4287863e1f363ca@mail.gmail.com> <loom.20060329T234834-518@post.gmane.org> <cc4e85f30603291409k7bfdc4cfud4f139eedb08b8f8@mail.gmail.com> Message-ID: <35ac07b90603291608w3f14b368p599a9221d713077c@mail.gmail.com> 'rake freeze_edge REVISION=3303' Isn't that REVISION=3301 Steve?There is no revision 3303 in the svn repository, but there is arevision 3301, with a date of December 13, 2005, corresponding to therelease date of Rails 1.0. Next revision number is 3314. david richardson From kheon at comcast.net Wed Mar 29 20:04:10 2006 From: kheon at comcast.net (Kyle Heon) Date: Wed, 29 Mar 2006 20:04:10 -0500 Subject: [typo] Rails 1.1? In-Reply-To: <bf0d2fce0603290238w6e3d076ao2cb04626aa520d@mail.gmail.com> Message-ID: <200603300104.k2U14YCP021961@rubyforge.org> I host with TextDrive and so far so good. They apparently haven't upgraded all of their servers because I'm on burnaby and don't version 1.0 is available (as well as many earlier versions) but no 1.1 yet. Kyle Heon kheon at comcast.net www.kyleheon.com -----Original Message----- From: typo-list-bounces at rubyforge.org [mailto:typo-list-bounces at rubyforge.org] On Behalf Of Robert Ivanc Sent: Wednesday, March 29, 2006 5:39 AM To: typo-list at rubyforge.org Subject: Re: [typo] Rails 1.1? frozen rails that works at dreamhost is at http://clarity.awakeheart.net/rails.zip the rake freeze_edge didn't work enough, I had to follow Pascal's instructions and unpack all the gems manually. Regards, Robert On 3/29/06, Pascal <psq at nanorails.com> wrote: > Jon Gretar Borgthorsson <jon.borgthorsson <at> gmail.com> writes: > > > > > Seeing that many of the bigger hosting companies have upgraded to > > version 1.1 after just one day I have to say that any fancy methods > > of supporting both 1.0 and 1.1 are unneeded and will only complex > > typo. I think the best thing to do is to make the current trunk be > > the last version to support 1.0 and make an archive of it available > > in some back support page. > > > > Based on my experience today at dreamhost, I agree. Let's just go for > support with 1.1. > > Here's the blow by blow recount of a few intense 2 hours to force my > typo install to use good old 1.0: > http://blog.nanorails.com/articles/2006/03/28/rake-freeze_gems-fails-b > ecause-rails-gem-is-not-installed > http://blog.nanorails.com/articles/2006/03/28/freeze-all-your-ruby-gem > s-on-a-shared-host > > > Cheers, > Pascal. > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > _______________________________________________ Typo-list mailing list Typo-list at rubyforge.org http://rubyforge.org/mailman/listinfo/typo-list From steve.longdo at gmail.com Wed Mar 29 20:12:50 2006 From: steve.longdo at gmail.com (Steve Longdo) Date: Wed, 29 Mar 2006 19:12:50 -0600 Subject: [typo] Rails 1.1? In-Reply-To: <200603300104.k2U14YCP021961@rubyforge.org> References: <bf0d2fce0603290238w6e3d076ao2cb04626aa520d@mail.gmail.com> <200603300104.k2U14YCP021961@rubyforge.org> Message-ID: <cc4e85f30603291712u45ff2d59r37107548f236850e@mail.gmail.com> Textdrive rolled it back is all. Eventually the change will be upon you :-) http://help.textdrive.com/index.php?pg=forums.posts&id=126&pc=1 On 3/29/06, Kyle Heon <kheon at comcast.net> wrote: > > I host with TextDrive and so far so good. They apparently haven't upgraded > all of their servers because I'm on burnaby and don't version 1.0 is > available (as well as many earlier versions) but no 1.1 yet. > > Kyle Heon > kheon at comcast.net > www.kyleheon.com > > > -----Original Message----- > From: typo-list-bounces at rubyforge.org > [mailto:typo-list-bounces at rubyforge.org] On Behalf Of Robert Ivanc > Sent: Wednesday, March 29, 2006 5:39 AM > To: typo-list at rubyforge.org > Subject: Re: [typo] Rails 1.1? > > frozen rails that works at dreamhost is at > http://clarity.awakeheart.net/rails.zip > > the rake freeze_edge didn't work enough, I had to follow Pascal's > instructions and unpack all the gems manually. > > Regards, > Robert > > > On 3/29/06, Pascal <psq at nanorails.com> wrote: > > Jon Gretar Borgthorsson <jon.borgthorsson <at> gmail.com> writes: > > > > > > > > Seeing that many of the bigger hosting companies have upgraded to > > > version 1.1 after just one day I have to say that any fancy methods > > > of supporting both 1.0 and 1.1 are unneeded and will only complex > > > typo. I think the best thing to do is to make the current trunk be > > > the last version to support 1.0 and make an archive of it available > > > in some back support page. > > > > > > > Based on my experience today at dreamhost, I agree. Let's just go for > > support with 1.1. > > > > Here's the blow by blow recount of a few intense 2 hours to force my > > typo install to use good old 1.0: > > http://blog.nanorails.com/articles/2006/03/28/rake-freeze_gems-fails-b > > ecause-rails-gem-is-not-installed > > http://blog.nanorails.com/articles/2006/03/28/freeze-all-your-ruby-gem > > s-on-a-shared-host > > > > > > Cheers, > > Pascal. > > > > > > > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > _______________________________________________ > 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/20060329/4c5e9230/attachment.htm From kevin at sb.org Wed Mar 29 22:14:18 2006 From: kevin at sb.org (Kevin Ballard) Date: Wed, 29 Mar 2006 19:14:18 -0800 Subject: [typo] How to lock Typo to Rails 1.0? In-Reply-To: <35ac07b90603291608w3f14b368p599a9221d713077c@mail.gmail.com> References: <c4d54c6f0603290519n1feadc96o4287863e1f363ca@mail.gmail.com> <loom.20060329T234834-518@post.gmane.org> <cc4e85f30603291409k7bfdc4cfud4f139eedb08b8f8@mail.gmail.com> <35ac07b90603291608w3f14b368p599a9221d713077c@mail.gmail.com> Message-ID: <CDD8FE56-74C2-4E3A-8207-FE001E4E0A78@sb.org> On Mar 29, 2006, at 4:08 PM, David Richardson wrote: > 'rake freeze_edge REVISION=3303' > Isn't that REVISION=3301 Steve?There is no revision 3303 in the svn > repository, but there is arevision 3301, with a date of December > 13, 2005, corresponding to therelease date of Rails 1.0. Next > revision number is 3314. If you're looking at the log of trunk, then yes, there's no revision 3303. That's because revision 3303 is the revision at which the rel_1-0-0 tag was created. So checking out trunk at that revision is the same as checking out the tag, effectively (since the tag is a copy of trunk at that revision). -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060329/b2cdcd34/attachment.bin From kevin at sb.org Wed Mar 29 22:18:01 2006 From: kevin at sb.org (Kevin Ballard) Date: Wed, 29 Mar 2006 19:18:01 -0800 Subject: [typo] How to lock Typo to Rails 1.0? In-Reply-To: <cc4e85f30603291409k7bfdc4cfud4f139eedb08b8f8@mail.gmail.com> References: <c4d54c6f0603290519n1feadc96o4287863e1f363ca@mail.gmail.com> <loom.20060329T234834-518@post.gmane.org> <cc4e85f30603291409k7bfdc4cfud4f139eedb08b8f8@mail.gmail.com> Message-ID: <F96CF1EE-3CE5-4A6D-BAEE-0358D5CC65D0@sb.org> On Mar 29, 2006, at 2:09 PM, Steve Longdo wrote: > I think the issue with this might be that the Typo environment.rb > includes the vendor/rails/*/lib in the config.load_paths and that > might be why: > > require_gem 'rails', '= 1.1.0' > > doesn't work so good. I looked at this the other day and environment.rb actually includes boot.rb which does a 'require' for a file inside the rails gem, so I wasn't sure what the right way was to lock it to a specific rails (since I figured there might be a good reason why it was requiring just that one file and not the whole gem). > Really the Typo team dropped the ball on this one, it isn't like > they didn't know that Rails 1.1 was coming or that they were going > to have problems. I am disappointed with the response from them > which has been near silence. Near silence? I take it you never even bothered to drop by the IRC channel #typo (on freenode) where we've been discussing this for some time. The problem is that there's apparently no way to maintain both 1.0 and 1.1 compatibility with Typo (don't know why, but that's what we've discovered) and so we decided to hold off updating until 1.1 was actually out the door. And now that it is, we've been working on getting Typo running on it. If you look at the IRC channel we have instructions for locking Typo to 1.0 rails (using the `rake freeze_edge REVISION=3303` trick) and warnings that Typo trunk only works on 1.0. And once our new branch has been verified to work on Rails 1.1, we'll update trunk and tell everybody to upgrade rails. > Even when they are ready the memory consumption/CPU usage now > exceeds the max per process on Textdrive. So without some clean up > to the codebase people will be in for a shock when they can get to > Rails 1.1 and Typo 4.0 on a shred host because it will get killed > anyway. *sigh* That's actually a problem with TextDrive. We don't know why it happens, but TextDrive causes Typo to use approximately twice as much RAM as every other system I've seen statistics on. I don't know what to do about it. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060329/9fc8acef/attachment.bin From rsanheim at gmail.com Wed Mar 29 22:55:24 2006 From: rsanheim at gmail.com (Rob Sanheim) Date: Wed, 29 Mar 2006 21:55:24 -0600 Subject: [typo] How to lock Typo to Rails 1.0? In-Reply-To: <F96CF1EE-3CE5-4A6D-BAEE-0358D5CC65D0@sb.org> References: <c4d54c6f0603290519n1feadc96o4287863e1f363ca@mail.gmail.com> <loom.20060329T234834-518@post.gmane.org> <cc4e85f30603291409k7bfdc4cfud4f139eedb08b8f8@mail.gmail.com> <F96CF1EE-3CE5-4A6D-BAEE-0358D5CC65D0@sb.org> Message-ID: <fc113d400603291955u3d67cb40x280431da6cb952f1@mail.gmail.com> On 3/29/06, Kevin Ballard <kevin at sb.org> wrote: [snip] > Near silence? I take it you never even bothered to drop by the IRC > channel #typo (on freenode) where we've been discussing this for some > time. The problem is that there's apparently no way to maintain both > 1.0 and 1.1 compatibility with Typo (don't know why, but that's what > we've discovered) and so we decided to hold off updating until 1.1 > was actually out the door. And now that it is, we've been working on > getting Typo running on it. If you look at the IRC channel we have > instructions for locking Typo to 1.0 rails (using the `rake > freeze_edge REVISION=3303` trick) and warnings that Typo trunk only > works on 1.0. And once our new branch has been verified to work on > Rails 1.1, we'll update trunk and tell everybody to upgrade rails. First off, thanks to everyone who is working on Typo in their spare time. I think one major thing that could've helped prevent this problem was having a page up somewhere to point people to detailing the problems with Rails 1.1 and Typo and showing how to freeze at 1.0. I dunno how the conflict has been known, but I know I only saw the topic discussed on this list a few days before 1.1 dropped. IRC is great for some people, but its really no substitute for a FAQ or wiki to point people to reach the wider user base. - Rob -- http://www.robsanheim.com/ http://www.ajaxian.com/ From pdcawley at bofh.org.uk Thu Mar 30 00:01:40 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Thu, 30 Mar 2006 06:01:40 +0100 Subject: [typo] The rails_1_1 branch Message-ID: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> Okay, who wants to be on the bleading edge? If you've been watching the typo trac[1], you'll have seen that we now have a rails_1_1 branch. If you've been watching carefully, you'll be aware that we think we've ironed out the bugs and it works for both Rails 1.1 and 1.0 with the following caveat: * Under Rails 1.0 it's a wee bit fragile in development mode; if you interrupt a request before it's finished, you'll get a white screen of death However, from the testing I've managed to give it, it seems to be reasonably bulletproof under Rails 1.1 in both development and production mode, and under Rails 1.0 in production mode. Since a lot of you are using production mode, you probably won't see the 1.0 problems. So, before we merge the branch back onto the main line and call it done, we'd appreciate bug reports and 'no bug' reports from as many people as possible. The magic incantation to run from your typo base directory is $ svn switch svn://typosphere.org/typo/branches/rails_1_1 If you don't have your typo repository under svn control, you can check it out using: $ svn co svn://typosphere.org/typo/branches/rails_1_1 <target_directory> If you're running Typo 2.6.0, you'll need to freeze rails 1.0 in your vendor directory; I'm afraid we're unlikely to go back and fix it to work with Rails 1.1, but if anyone has a patch. 1. http://www.typosphere.org/trac/timeline -- a good place to start -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From steve.longdo at gmail.com Thu Mar 30 00:17:00 2006 From: steve.longdo at gmail.com (Steve Longdo) Date: Wed, 29 Mar 2006 23:17:00 -0600 Subject: [typo] How to lock Typo to Rails 1.0? In-Reply-To: <F96CF1EE-3CE5-4A6D-BAEE-0358D5CC65D0@sb.org> References: <c4d54c6f0603290519n1feadc96o4287863e1f363ca@mail.gmail.com> <loom.20060329T234834-518@post.gmane.org> <cc4e85f30603291409k7bfdc4cfud4f139eedb08b8f8@mail.gmail.com> <F96CF1EE-3CE5-4A6D-BAEE-0358D5CC65D0@sb.org> Message-ID: <cc4e85f30603292117l571cbff4pa5c1c276acc057d@mail.gmail.com> Sorry if my language seemed inflammatory. I've had lots of super bad experiences with IRC botware so I stay out of there. I imagine a sizable percentage of Typo users don't go there either. We do check the mailing list or the in transit typosphere.org website. I have had some success with removing the sidebars code from my install to reclaim some memory. I also switched the environment.rb to not load actionwebservice which does prevent webservice access to my blog, but I mostly go through the admin web interface anyway. Application.rb has a line mentioning to use cache_pages instead of cache_actions_with_params in memory constrained environments. These changes have dramatically dropped my memory use on TXD. Stabilizing it at around 37-42M. So I have worked around the memory limit there, but CPU% will still exceed 10% for more than 60secs and the OS kills processes on TXD that do that... I have noticed even on my Mac when using the admin interface to post an article the live update applies filters, etc. and causes a huge spike in CPU usage. I have taken to editing my posts locally and then pasting them into my textdrive account. Sometimes CPU will just spike though... :-( I've found a lot of information on memory profiling for Ruby on line but nothing about reducing CPU cycles. Perhaps being able to toggle the live update versus a preview post button would help here? Please don't take my comments as an attack on you or Team Typo, I just think that communication through channels other than IRC might have been a good way to let the unwashed masses of Typo users know what was going on. I've seen the trac timeline and can tell that you and Scott and Piers have been very busy trying to get things cleaned up today. Again no disrespect was intended. I have been a happy Typo user for some time now and don't want to jump ship to *gasp* PHP or anything else. It would be good if there was a 1.1 release project with the known compatibility issues on Trac, I am sure that myself and other capable ruby programmers would be happy to provide some patches to help you guys get through this transition quicker. On 3/29/06, Kevin Ballard <kevin at sb.org> wrote: > > On Mar 29, 2006, at 2:09 PM, Steve Longdo wrote: > > > I think the issue with this might be that the Typo environment.rb > > includes the vendor/rails/*/lib in the config.load_paths and that > > might be why: > > > > require_gem 'rails', '= 1.1.0' > > > > doesn't work so good. > > I looked at this the other day and environment.rb actually includes > boot.rb which does a 'require' for a file inside the rails gem, so I > wasn't sure what the right way was to lock it to a specific rails > (since I figured there might be a good reason why it was requiring > just that one file and not the whole gem). > > > Really the Typo team dropped the ball on this one, it isn't like > > they didn't know that Rails 1.1 was coming or that they were going > > to have problems. I am disappointed with the response from them > > which has been near silence. > > Near silence? I take it you never even bothered to drop by the IRC > channel #typo (on freenode) where we've been discussing this for some > time. The problem is that there's apparently no way to maintain both > 1.0 and 1.1 compatibility with Typo (don't know why, but that's what > we've discovered) and so we decided to hold off updating until 1.1 > was actually out the door. And now that it is, we've been working on > getting Typo running on it. If you look at the IRC channel we have > instructions for locking Typo to 1.0 rails (using the `rake > freeze_edge REVISION=3303` trick) and warnings that Typo trunk only > works on 1.0. And once our new branch has been verified to work on > Rails 1.1, we'll update trunk and tell everybody to upgrade rails. > > > Even when they are ready the memory consumption/CPU usage now > > exceeds the max per process on Textdrive. So without some clean up > > to the codebase people will be in for a shock when they can get to > > Rails 1.1 and Typo 4.0 on a shred host because it will get killed > > anyway. *sigh* > > That's actually a problem with TextDrive. We don't know why it > happens, but TextDrive causes Typo to use approximately twice as much > RAM as every other system I've seen statistics on. I don't know what > to do about it. > > -- > Kevin Ballard > kevin at sb.org > http://kevin.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/20060329/168db422/attachment-0001.htm From cedric at feelfree.homelinux.com Thu Mar 30 00:22:40 2006 From: cedric at feelfree.homelinux.com (cedric) Date: Thu, 30 Mar 2006 07:22:40 +0200 Subject: [typo] The rails_1_1 branch In-Reply-To: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> References: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> Message-ID: <200603300722.41186.cedric@feelfree.homelinux.com> Hello all, This morning I've switched on the rails_1_1 branch for my typo blogs (production & development) After a restart of my apache server, everything just works perfectly! Thanks for this great job! PS:my installation: Apache 2.0.54 on debian Sarge, rails 1.1 :-), fastcgi module Regards C?dric Le Jeudi 30 Mars 2006 07:01, Piers Cawley a ?crit?: > Okay, who wants to be on the bleading edge? > > If you've been watching the typo trac[1], you'll have seen that we now > have a rails_1_1 branch. If you've been watching carefully, you'll be > aware that we think we've ironed out the bugs and it works for both > Rails 1.1 and 1.0 with the following caveat: > > * Under Rails 1.0 it's a wee bit fragile in development mode; if you > interrupt a request before it's finished, you'll get a white screen > of death > > However, from the testing I've managed to give it, it seems to be > reasonably bulletproof under Rails 1.1 in both development and > production mode, and under Rails 1.0 in production mode. Since a lot > of you are using production mode, you probably won't see the 1.0 > problems. > > So, before we merge the branch back onto the main line and call it > done, we'd appreciate bug reports and 'no bug' reports from as many > people as possible. The magic incantation to run from your typo base > directory is > > $ svn switch svn://typosphere.org/typo/branches/rails_1_1 > > If you don't have your typo repository under svn control, you can > check it out using: > > $ svn co svn://typosphere.org/typo/branches/rails_1_1 <target_directory> > > If you're running Typo 2.6.0, you'll need to freeze rails 1.0 in your > vendor directory; I'm afraid we're unlikely to go back and fix it to > work with Rails 1.1, but if anyone has a patch. > > 1. http://www.typosphere.org/trac/timeline -- a good place to start From arvind at grovernetwork.com Thu Mar 30 00:35:35 2006 From: arvind at grovernetwork.com (arvind s grover) Date: Thu, 30 Mar 2006 00:35:35 -0500 Subject: [typo] How to lock Typo to Rails 1.0? In-Reply-To: <mailman.2620.1143680676.25833.typo-list@rubyforge.org> References: <mailman.2620.1143680676.25833.typo-list@rubyforge.org> Message-ID: <23F97F41-BD8D-47B4-B48B-9876F8254125@grovernetwork.com> Site5 hosting has decided to hold off on the 1.1 migration because of all the broken apps it was causing. They do link to a writeup on how to freeze your rails version for typo though. See their blog post here: http://www.adamgreenfield.com/articles/2006/03/29/rails-1-1-at- site5 From pdcawley at bofh.org.uk Thu Mar 30 00:40:34 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Thu, 30 Mar 2006 06:40:34 +0100 Subject: [typo] How to lock Typo to Rails 1.0? In-Reply-To: <cc4e85f30603292117l571cbff4pa5c1c276acc057d@mail.gmail.com> (Steve Longdo's message of "Wed, 29 Mar 2006 23:17:00 -0600") References: <c4d54c6f0603290519n1feadc96o4287863e1f363ca@mail.gmail.com> <loom.20060329T234834-518@post.gmane.org> <cc4e85f30603291409k7bfdc4cfud4f139eedb08b8f8@mail.gmail.com> <F96CF1EE-3CE5-4A6D-BAEE-0358D5CC65D0@sb.org> <cc4e85f30603292117l571cbff4pa5c1c276acc057d@mail.gmail.com> Message-ID: <m2hd5gqylp.fsf@obelisk.bofh.org.uk> "Steve Longdo" <steve.longdo at gmail.com> writes: > Please don't take my comments as an attack on you or Team Typo, I just think > that communication through channels other than IRC might have been a good > way to let the unwashed masses of Typo users know what was going on. I've > seen the trac timeline and can tell that you and Scott and Piers have been > very busy trying to get things cleaned up today. Again no disrespect was > intended. I have been a happy Typo user for some time now and don't want to > jump ship to *gasp* PHP or anything else. It would be good if there was a > 1.1 release project with the known compatibility issues on Trac, I am sure > that myself and other capable ruby programmers would be happy to provide > some patches to help you guys get through this transition quicker. A lot of the time they're such niggling little things that we haven't bothered adding trac tickets for them because generally, as soon as you can work out how to explain what the problem *is* in a ticket, you've worked out how to fix it. But your point is well made, and taken. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From gilgit at gmail.com Thu Mar 30 01:10:47 2006 From: gilgit at gmail.com (David Richardson) Date: Wed, 29 Mar 2006 23:10:47 -0700 Subject: [typo] The rails_1_1 branch In-Reply-To: <200603300722.41186.cedric@feelfree.homelinux.com> References: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> <200603300722.41186.cedric@feelfree.homelinux.com> Message-ID: <35ac07b90603292210h6eae343bw5489f3daf7d8c748@mail.gmail.com> It's working here. Rails 1.1, ruby 1.8.2 and latest lighttpd. david richardson--www.channel200.net From pdcawley at bofh.org.uk Thu Mar 30 01:11:32 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Thu, 30 Mar 2006 07:11:32 +0100 Subject: [typo] 1.1 or 1.0, choose now! Message-ID: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> After further testing of the rails_1_1 branch, it seems I was rather to sanguine about how well it works with Rails 1.0. Essentially, it doesn't, I don't know why, and working out why is going to be HARD. So, we're faced with a choice: we can move the typo trunk to a point where we *require* Rails 1.1, or we can wait until we come up with a fix for 1.0. My gut feeling (especially given the speed with which the hosting companies have made the switch to 1.1) is that we should just move over to requiring 1.1 as soon as possible; there's lots of goodies in there that I want to use for typo; we'd probably be going to 1.1 only pretty swiftly any way. If we do this, we'd tag revision 971 (the current trunk HEAD) as 'good_with_1_0' or something and just move on. What does the panel think? -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From josh at hasmanythrough.com Thu Mar 30 01:16:33 2006 From: josh at hasmanythrough.com (Josh Susser) Date: Wed, 29 Mar 2006 22:16:33 -0800 Subject: [typo] 1.1 or 1.0, choose now! In-Reply-To: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> References: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> Message-ID: <640D33A9-F115-46CC-80A7-D4BE5FE66FBF@hasmanythrough.com> I'm fine with running on Rails 1.1. Aas long as Typo is well-behaved it makes no never-mind to me. -- Josh Susser http://blog.hasmanythrough.com On Mar 29, 2006, at 10:11 PM, Piers Cawley wrote: > After further testing of the rails_1_1 branch, it seems I was rather > to sanguine about how well it works with Rails 1.0. Essentially, it > doesn't, I don't know why, and working out why is going to be HARD. > > So, we're faced with a choice: we can move the typo trunk to a point > where we *require* Rails 1.1, or we can wait until we come up with a > fix for 1.0. > > My gut feeling (especially given the speed with which the hosting > companies have made the switch to 1.1) is that we should just move > over to requiring 1.1 as soon as possible; there's lots of goodies in > there that I want to use for typo; we'd probably be going to 1.1 only > pretty swiftly any way. > > If we do this, we'd tag revision 971 (the current trunk HEAD) as > 'good_with_1_0' or something and just move on. > > What does the panel think? > > -- > Piers Cawley <pdcawley at bofh.org.uk> > http://www.bofh.org.uk/ > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From steve.longdo at gmail.com Thu Mar 30 01:16:52 2006 From: steve.longdo at gmail.com (Steve Longdo) Date: Thu, 30 Mar 2006 00:16:52 -0600 Subject: [typo] 1.1 or 1.0, choose now! In-Reply-To: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> References: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> Message-ID: <cc4e85f30603292216q40569901k854bf554b6413203@mail.gmail.com> +1 for 1.1 :-) On 3/30/06, Piers Cawley <pdcawley at bofh.org.uk> wrote: > > After further testing of the rails_1_1 branch, it seems I was rather > to sanguine about how well it works with Rails 1.0. Essentially, it > doesn't, I don't know why, and working out why is going to be HARD. > > So, we're faced with a choice: we can move the typo trunk to a point > where we *require* Rails 1.1, or we can wait until we come up with a > fix for 1.0. > > My gut feeling (especially given the speed with which the hosting > companies have made the switch to 1.1) is that we should just move > over to requiring 1.1 as soon as possible; there's lots of goodies in > there that I want to use for typo; we'd probably be going to 1.1 only > pretty swiftly any way. > > If we do this, we'd tag revision 971 (the current trunk HEAD) as > 'good_with_1_0' or something and just move on. > > What does the panel think? > > -- > Piers Cawley <pdcawley at bofh.org.uk> > http://www.bofh.org.uk/ > _______________________________________________ > 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/20060330/a5ecab6b/attachment.htm From rsanheim at gmail.com Thu Mar 30 01:18:44 2006 From: rsanheim at gmail.com (Rob Sanheim) Date: Thu, 30 Mar 2006 00:18:44 -0600 Subject: [typo] 1.1 or 1.0, choose now! In-Reply-To: <640D33A9-F115-46CC-80A7-D4BE5FE66FBF@hasmanythrough.com> References: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> <640D33A9-F115-46CC-80A7-D4BE5FE66FBF@hasmanythrough.com> Message-ID: <fc113d400603292218x746f2b65s45790cf8d1291cf6@mail.gmail.com> +1 for 1.1. - Rob From gilgit at gmail.com Thu Mar 30 01:28:12 2006 From: gilgit at gmail.com (David Richardson) Date: Wed, 29 Mar 2006 23:28:12 -0700 Subject: [typo] 1.1 or 1.0, choose now! In-Reply-To: <cc4e85f30603292216q40569901k854bf554b6413203@mail.gmail.com> References: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> <cc4e85f30603292216q40569901k854bf554b6413203@mail.gmail.com> Message-ID: <35ac07b90603292228p5e6ebeb7n24abe4d0c355ab70@mail.gmail.com> Another vote for 1.1 only from here in. Surely we can provide properinstructions on installing a local copy of Rails 1.0 for those peoplewho need it? david richardson--www.channel200.net From gilgit at gmail.com Thu Mar 30 01:32:55 2006 From: gilgit at gmail.com (David Richardson) Date: Wed, 29 Mar 2006 23:32:55 -0700 Subject: [typo] How to lock Typo to Rails 1.0? In-Reply-To: <m2hd5gqylp.fsf@obelisk.bofh.org.uk> References: <c4d54c6f0603290519n1feadc96o4287863e1f363ca@mail.gmail.com> <loom.20060329T234834-518@post.gmane.org> <cc4e85f30603291409k7bfdc4cfud4f139eedb08b8f8@mail.gmail.com> <F96CF1EE-3CE5-4A6D-BAEE-0358D5CC65D0@sb.org> <cc4e85f30603292117l571cbff4pa5c1c276acc057d@mail.gmail.com> <m2hd5gqylp.fsf@obelisk.bofh.org.uk> Message-ID: <35ac07b90603292232n5998c70aic30b033a299a543d@mail.gmail.com> A big part of the problem is the MIA TypoSphere.org website. Is it ahosting problem or is there no-one to get the job done? david richardson--www.channel200.net From ssmith at fiveruns.com Thu Mar 30 01:55:37 2006 From: ssmith at fiveruns.com (Steven Smith) Date: Thu, 30 Mar 2006 00:55:37 -0600 Subject: [typo] 1.1 or 1.0, choose now! In-Reply-To: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> References: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> Message-ID: <2D17AA07-7C5D-4188-8E0E-A40D80FC77F9@fiveruns.com> I go with the requirement for 1.1 which is where most of the hosting companies appear to be moving to rapidly. On Mar 30, 2006, at 12:11 AM, Piers Cawley wrote: > After further testing of the rails_1_1 branch, it seems I was rather > to sanguine about how well it works with Rails 1.0. Essentially, it > doesn't, I don't know why, and working out why is going to be HARD. > > So, we're faced with a choice: we can move the typo trunk to a point > where we *require* Rails 1.1, or we can wait until we come up with a > fix for 1.0. > > My gut feeling (especially given the speed with which the hosting > companies have made the switch to 1.1) is that we should just move > over to requiring 1.1 as soon as possible; there's lots of goodies in > there that I want to use for typo; we'd probably be going to 1.1 only > pretty swiftly any way. > > If we do this, we'd tag revision 971 (the current trunk HEAD) as > 'good_with_1_0' or something and just move on. > > What does the panel think? > > -- > Piers Cawley <pdcawley at bofh.org.uk> > http://www.bofh.org.uk/ > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From kvanderauwera at gmail.com Thu Mar 30 02:08:30 2006 From: kvanderauwera at gmail.com (Koen Van der Auwera) Date: Thu, 30 Mar 2006 09:08:30 +0200 Subject: [typo] 1.1 or 1.0, choose now! In-Reply-To: <2D17AA07-7C5D-4188-8E0E-A40D80FC77F9@fiveruns.com> References: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> <2D17AA07-7C5D-4188-8E0E-A40D80FC77F9@fiveruns.com> Message-ID: <53f0709b0603292308v44567a82g9e2cf0441ddc7dc8@mail.gmail.com> +1 for 1.1 :) On 3/30/06, Steven Smith <ssmith at fiveruns.com> wrote: > > I go with the requirement for 1.1 which is where most of the hosting > companies appear to be moving to rapidly. > > On Mar 30, 2006, at 12:11 AM, Piers Cawley wrote: > > > After further testing of the rails_1_1 branch, it seems I was rather > > to sanguine about how well it works with Rails 1.0. Essentially, it > > doesn't, I don't know why, and working out why is going to be HARD. > > > > So, we're faced with a choice: we can move the typo trunk to a point > > where we *require* Rails 1.1, or we can wait until we come up with a > > fix for 1.0. > > > > My gut feeling (especially given the speed with which the hosting > > companies have made the switch to 1.1) is that we should just move > > over to requiring 1.1 as soon as possible; there's lots of goodies in > > there that I want to use for typo; we'd probably be going to 1.1 only > > pretty swiftly any way. > > > > If we do this, we'd tag revision 971 (the current trunk HEAD) as > > 'good_with_1_0' or something and just move on. > > > > What does the panel think? > > > > -- > > Piers Cawley <pdcawley at bofh.org.uk> > > http://www.bofh.org.uk/ > > _______________________________________________ > > Typo-list mailing list > > Typo-list at rubyforge.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Koen. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060330/5ef3312f/attachment-0001.htm From pdcawley at bofh.org.uk Thu Mar 30 02:59:40 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Thu, 30 Mar 2006 08:59:40 +0100 Subject: [typo] 1.1 or 1.0, choose now! In-Reply-To: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> (Piers Cawley's message of "Thu, 30 Mar 2006 07:11:32 +0100") References: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> Message-ID: <m27j6cqs5v.fsf@obelisk.bofh.org.uk> Piers Cawley <pdcawley at bofh.org.uk> writes: > After further testing of the rails_1_1 branch, it seems I was rather > to sanguine about how well it works with Rails 1.0. Essentially, it > doesn't, I don't know why, and working out why is going to be HARD. > > So, we're faced with a choice: we can move the typo trunk to a point > where we *require* Rails 1.1, or we can wait until we come up with a > fix for 1.0. > > My gut feeling (especially given the speed with which the hosting > companies have made the switch to 1.1) is that we should just move > over to requiring 1.1 as soon as possible; there's lots of goodies in > there that I want to use for typo; we'd probably be going to 1.1 only > pretty swiftly any way. > > If we do this, we'd tag revision 971 (the current trunk HEAD) as > 'good_with_1_0' or something and just move on. > > What does the panel think? Actually, we might not have to choose. The latest patch on the rails_1_1 branch seems to be *substantially* more robust in Rails 1.0 development mode. And it's conceptually nicer too. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From victor-typo at carotena.net Thu Mar 30 03:02:27 2006 From: victor-typo at carotena.net (Victor Jalencas) Date: Thu, 30 Mar 2006 10:02:27 +0200 Subject: [typo] 1.1 or 1.0, choose now! In-Reply-To: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> References: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> Message-ID: <442B9093.1080506@carotena.net> I don't know if I have any say, but +1 for 1.1 :) Victor Piers Cawley wrote: > After further testing of the rails_1_1 branch, it seems I was rather > to sanguine about how well it works with Rails 1.0. Essentially, it > doesn't, I don't know why, and working out why is going to be HARD. > > So, we're faced with a choice: we can move the typo trunk to a point > where we *require* Rails 1.1, or we can wait until we come up with a > fix for 1.0. > > My gut feeling (especially given the speed with which the hosting > companies have made the switch to 1.1) is that we should just move > over to requiring 1.1 as soon as possible; there's lots of goodies in > there that I want to use for typo; we'd probably be going to 1.1 only > pretty swiftly any way. > > If we do this, we'd tag revision 971 (the current trunk HEAD) as > 'good_with_1_0' or something and just move on. > > What does the panel think? > From pdcawley at bofh.org.uk Thu Mar 30 03:29:48 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Thu, 30 Mar 2006 09:29:48 +0100 Subject: [typo] Towards 4.0.0 Message-ID: <m23bh0qqrn.fsf@obelisk.bofh.org.uk> So, I've been looking at the roadmap, and as far as I can tell we have two show stoppers: 1. #725 -- the cornered rat issue I am not prepared to push the real 4.0 until is substantially easier to install than it is right now. We *must* provide both easy initial installation and easy migration for people currently on 2.6.0. 2. #746 -- It must work with 1.1 Something of a no brainer really However, if at all possible, we want a 2.6.0 user to be able to something like this sequence of steps: 1. Upgrade to Typo 4.0.0 2. Check everything's working. 3. Upgrade to Rails 1.1 4. Check everything's working Requiring to independent upgrades before the user has a working blog is probably not a good idea. The current rails_1_1 head seems to work with both 1.1 and 1.0 now, certainly in production mode, so that's probably for the best. However, until 4.0.0 is out, I think we really need to do our level best to retain dual compatibility. I'm happy to push pretty much everything else on the 4.0.0 milestone on to the 4.1 milestone. Also, as soon as we've got the rails_1_1 branch merged back into the trunk I want to cut a typo-4.0.0_for_daredevils tarball which can continue to suffer from the cornered rat problem, but which will work with 1.1 Again, I'm interested in everyone's input, but I'm particularly keen to hear from anyone still running 2.6.0. We're also looking into working out an appropriate incantation to shove in 2.6.0's environment.rb which will force it to use the 1.0 gems if they're installed, so hopefully we'll be able to make a 2.6.1 that you can just untar over your 2.6.0 installation and, so long as you still have your old gems kicking about (and most hosting services will do) everything will continue to work. If anyone *knows* the appropriate incantation and has tested it, a patch would be enormously welcome. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From dlamotte at bamboo.lu Thu Mar 30 03:32:22 2006 From: dlamotte at bamboo.lu (Denis Lamotte) Date: Thu, 30 Mar 2006 10:32:22 +0200 Subject: [typo] Freelance developer In-Reply-To: <m27j6cqs5v.fsf@obelisk.bofh.org.uk> References: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> <m27j6cqs5v.fsf@obelisk.bofh.org.uk> Message-ID: <442B9796.6090704@bamboo.lu> Hi Piers, i'd like to know if you are available to work on multiblog hosting solution based on Typo. I know that you already build it when replacing the setting withe the blog object. All work can of course be used for typo afterwards. so working on typo and beeing paied can be nice , no? if you have some time free 2-3 days a week , can you send me your tariff, day/work, hour/work and the way you want to work. I'll send you a mind map (freemind on mac os x) with the requested features to develop ( essentielly multiblog with central commenting mod?ration, multi role user with blog assignement, a small media center and a global aggrgation portal for all blog) If the agency accept the work, the wark will begin very soon, like next week. Best regards Lamotte Denis aka Lanfeust From pdcawley at bofh.org.uk Thu Mar 30 04:05:41 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Thu, 30 Mar 2006 10:05:41 +0100 Subject: [typo] Freelance developer In-Reply-To: <442B9796.6090704@bamboo.lu> (Denis Lamotte's message of "Thu, 30 Mar 2006 10:32:22 +0200") References: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> <m27j6cqs5v.fsf@obelisk.bofh.org.uk> <442B9796.6090704@bamboo.lu> Message-ID: <m2y7yspaje.fsf@obelisk.bofh.org.uk> Denis Lamotte <dlamotte at bamboo.lu> writes: > Hi Piers, > i'd like to know if you are available to work on multiblog hosting > solution based on Typo. I know that you already build it when replacing > the setting withe the blog object. All work can of course be used for > typo afterwards. so working on typo and beeing paied can be nice , no? > > if you have some time free 2-3 days a week , can you send me your > tariff, day/work, hour/work and the way you want to work. > > I'll send you a mind map (freemind on mac os x) with the requested > features to develop ( essentielly multiblog with central commenting > mod?ration, multi role user with blog assignement, a small media center > and a global aggrgation portal for all blog) > > If the agency accept the work, the wark will begin very soon, like next > week. Somehow, I don't think you expected this to go to the list. Sadly, I don't really have the free time at the moment; I'm committed to another client for at least the next month. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From kevin at sb.org Thu Mar 30 05:02:09 2006 From: kevin at sb.org (Kevin Ballard) Date: Thu, 30 Mar 2006 02:02:09 -0800 Subject: [typo] How to lock Typo to Rails 1.0? In-Reply-To: <35ac07b90603292232n5998c70aic30b033a299a543d@mail.gmail.com> References: <c4d54c6f0603290519n1feadc96o4287863e1f363ca@mail.gmail.com> <loom.20060329T234834-518@post.gmane.org> <cc4e85f30603291409k7bfdc4cfud4f139eedb08b8f8@mail.gmail.com> <F96CF1EE-3CE5-4A6D-BAEE-0358D5CC65D0@sb.org> <cc4e85f30603292117l571cbff4pa5c1c276acc057d@mail.gmail.com> <m2hd5gqylp.fsf@obelisk.bofh.org.uk> <35ac07b90603292232n5998c70aic30b033a299a543d@mail.gmail.com> Message-ID: <82A116AF-2256-4BB6-8457-904DD0B68326@sb.org> It's not exactly MIA. There's a link there that leads you to typosphere.org/trac/ which is identical to the old typo.leetsoft.com. It's just that we wanted to build a nicer site around typosphere and currently there's been no progress (that I'm aware of, at least) on this regard. I'm not even sure what the concrete plans are for this. Piers? Scott? Tobias (if you're listening)? On Mar 29, 2006, at 10:32 PM, David Richardson wrote: > A big part of the problem is the MIA TypoSphere.org website. Is it > ahosting problem or is there no-one to get the job done? -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060330/fd0e0843/attachment.bin From jon.borgthorsson at gmail.com Thu Mar 30 06:43:44 2006 From: jon.borgthorsson at gmail.com (Jon Gretar Borgthorsson) Date: Thu, 30 Mar 2006 11:43:44 +0000 Subject: [typo] The rails_1_1 branch In-Reply-To: <200603300722.41186.cedric@feelfree.homelinux.com> References: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> <200603300722.41186.cedric@feelfree.homelinux.com> Message-ID: <dbb6450e0603300343s38830719ifeb6e131f608ca36@mail.gmail.com> Switched yesterday... Works fine under 1.1 On 3/30/06, cedric <cedric at feelfree.homelinux.com> wrote: > Hello all, > > This morning I've switched on the rails_1_1 branch for my typo blogs > (production & development) > > After a restart of my apache server, everything just works perfectly! > > Thanks for this great job! > > PS:my installation: Apache 2.0.54 on debian Sarge, rails 1.1 :-), fastcgi > module > > Regards C?dric > > Le Jeudi 30 Mars 2006 07:01, Piers Cawley a ?crit: > > Okay, who wants to be on the bleading edge? > > > > If you've been watching the typo trac[1], you'll have seen that we now > > have a rails_1_1 branch. If you've been watching carefully, you'll be > > aware that we think we've ironed out the bugs and it works for both > > Rails 1.1 and 1.0 with the following caveat: > > > > * Under Rails 1.0 it's a wee bit fragile in development mode; if you > > interrupt a request before it's finished, you'll get a white screen > > of death > > > > However, from the testing I've managed to give it, it seems to be > > reasonably bulletproof under Rails 1.1 in both development and > > production mode, and under Rails 1.0 in production mode. Since a lot > > of you are using production mode, you probably won't see the 1.0 > > problems. > > > > So, before we merge the branch back onto the main line and call it > > done, we'd appreciate bug reports and 'no bug' reports from as many > > people as possible. The magic incantation to run from your typo base > > directory is > > > > $ svn switch svn://typosphere.org/typo/branches/rails_1_1 > > > > If you don't have your typo repository under svn control, you can > > check it out using: > > > > $ svn co svn://typosphere.org/typo/branches/rails_1_1 <target_directory> > > > > If you're running Typo 2.6.0, you'll need to freeze rails 1.0 in your > > vendor directory; I'm afraid we're unlikely to go back and fix it to > > work with Rails 1.1, but if anyone has a patch. > > > > 1. http://www.typosphere.org/trac/timeline -- a good place to start > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- -------------- Jon Gretar Borgthorsson http://www.jongretar.net/ From jon.borgthorsson at gmail.com Thu Mar 30 07:03:05 2006 From: jon.borgthorsson at gmail.com (Jon Gretar Borgthorsson) Date: Thu, 30 Mar 2006 12:03:05 +0000 Subject: [typo] 1.1 or 1.0, choose now! In-Reply-To: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> References: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> Message-ID: <dbb6450e0603300403l58e602fcvdb1ee5b3b8465e51@mail.gmail.com> I think that requiring 1.1 could give so many benefits. 1.1 includes so many great upgrades and added functionality. I for example see many ways on how using RJS can further seperate funtionality and theme and thus making theme building even more simpler than it is now. But the big question is..... When is the next major release? Is the beta for 3.0.0 a year away or a month. I see how it can be simpler to be able to say that version 2.6 is 1.0 supported and version 3.0 is only 1.1+. But that doesn't work if eveyone has to wait for 9 months. 1.2 will propably be out by then. On 3/30/06, Piers Cawley <pdcawley at bofh.org.uk> wrote: > After further testing of the rails_1_1 branch, it seems I was rather > to sanguine about how well it works with Rails 1.0. Essentially, it > doesn't, I don't know why, and working out why is going to be HARD. > > So, we're faced with a choice: we can move the typo trunk to a point > where we *require* Rails 1.1, or we can wait until we come up with a > fix for 1.0. > > My gut feeling (especially given the speed with which the hosting > companies have made the switch to 1.1) is that we should just move > over to requiring 1.1 as soon as possible; there's lots of goodies in > there that I want to use for typo; we'd probably be going to 1.1 only > pretty swiftly any way. > > If we do this, we'd tag revision 971 (the current trunk HEAD) as > 'good_with_1_0' or something and just move on. > > What does the panel think? > > -- > Piers Cawley <pdcawley at bofh.org.uk> > http://www.bofh.org.uk/ > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- -------------- Jon Gretar Borgthorsson http://www.jongretar.net/ From kevin at kubasik.net Thu Mar 30 07:44:04 2006 From: kevin at kubasik.net (Kevin Kubasik) Date: Thu, 30 Mar 2006 07:44:04 -0500 Subject: [typo] The rails_1_1 branch In-Reply-To: <dbb6450e0603300343s38830719ifeb6e131f608ca36@mail.gmail.com> References: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> <200603300722.41186.cedric@feelfree.homelinux.com> <dbb6450e0603300343s38830719ifeb6e131f608ca36@mail.gmail.com> Message-ID: <88d636060603300444i11e3149vf99da2e2d37eca99@mail.gmail.com> Ok, I can report success on Ubuntu Dapper with rails 1.0 and lighttp,I'll be giving 1.1 a try later today. Cheers,Kevin KubasikOn 3/30/06, Jon Gretar Borgthorsson <jon.borgthorsson at gmail.com> wrote:> Switched yesterday... Works fine under 1.1>> On 3/30/06, cedric <cedric at feelfree.homelinux.com> wrote:> > Hello all,> >> > This morning I've switched on the rails_1_1 branch for my typo blogs> > (production & development)> >> > After a restart of my apache server, everything just works perfectly!> >> > Thanks for this great job!> >> > PS:my installation: Apache 2.0.54 on debian Sarge, rails 1.1 :-), fastcgi> > module> >> > Regards C?dric> >> > Le Jeudi 30 Mars 2006 07:01, Piers Cawley a ?crit:> > > Okay, who wants to be on the bleading edge?> > >> > > If you've been watching the typo trac[1], you'll have seen that we now> > > have a rails_1_1 branch. If you've been watching carefully, you'll be> > > aware that we think we've ironed out the bugs and it works for both> > > Rails 1.1 and 1.0 with the following caveat:> > >> > > * Under Rails 1.0 it's a wee bit fragile in development mode; if you> > > interrupt a request before it's finished, you'll get a white screen> > > of death> > >> > > However, from the testing I've managed to give it, it seems to be> > > reasonably bulletproof under Rails 1.1 in both development and> > > production mode, and under Rails 1.0 in production mode. Since a lot> > > of you are using production mode, you probably won't see the 1.0> > > problems.> > >> > > So, before we merge the branch back onto the main line and call it> > > done, we'd appreciate bug reports and 'no bug' reports from as many> > > people as possible. The magic incantation to run from your typo base> > > directory is> > >> > > $ svn switch svn://typosphere.org/typo/branches/rails_1_1> > >> > > If you don't have your typo repository under svn control, you can> > > check it out using:> > >> > > $ svn co svn://typosphere.org/typo/branches/rails_1_1 <target_directory>> > >> > > If you're running Typo 2.6.0, you'll need to freeze rails 1.0 in your> > > vendor directory; I'm afraid we're unlikely to go back and fix it to> > > work with Rails 1.1, but if anyone has a patch.> > >> > > 1. http://www.typosphere.org/trac/timeline -- a good place to start> >> > _______________________________________________> > Typo-list mailing list> > Typo-list at rubyforge.org> > http://rubyforge.org/mailman/listinfo/typo-list> >>>> --> --------------> Jon Gretar Borgthorsson> http://www.jongretar.net/>> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list> --Cheers,Kevin Kubasikhttp://blog.kubasik.net/ From kevin at kubasik.net Thu Mar 30 07:52:43 2006 From: kevin at kubasik.net (Kevin Kubasik) Date: Thu, 30 Mar 2006 07:52:43 -0500 Subject: [typo] The rails_1_1 branch In-Reply-To: <88d636060603300444i11e3149vf99da2e2d37eca99@mail.gmail.com> References: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> <200603300722.41186.cedric@feelfree.homelinux.com> <dbb6450e0603300343s38830719ifeb6e131f608ca36@mail.gmail.com> <88d636060603300444i11e3149vf99da2e2d37eca99@mail.gmail.com> Message-ID: <88d636060603300452n58be1b7dnd1b766f9310abd5f@mail.gmail.com> Update, works with both 1.1 and 1 (I had no real issues when tryingdevelopment mode as well) Cheers,Kevin Kubasik On 3/30/06, Kevin Kubasik <kevin at kubasik.net> wrote:> Ok, I can report success on Ubuntu Dapper with rails 1.0 and lighttp,> I'll be giving 1.1 a try later today.>> Cheers,> Kevin Kubasik> On 3/30/06, Jon Gretar Borgthorsson <jon.borgthorsson at gmail.com> wrote:> > Switched yesterday... Works fine under 1.1> >> > On 3/30/06, cedric <cedric at feelfree.homelinux.com> wrote:> > > Hello all,> > >> > > This morning I've switched on the rails_1_1 branch for my typo blogs> > > (production & development)> > >> > > After a restart of my apache server, everything just works perfectly!> > >> > > Thanks for this great job!> > >> > > PS:my installation: Apache 2.0.54 on debian Sarge, rails 1.1 :-), fastcgi> > > module> > >> > > Regards C?dric> > >> > > Le Jeudi 30 Mars 2006 07:01, Piers Cawley a ?crit:> > > > Okay, who wants to be on the bleading edge?> > > >> > > > If you've been watching the typo trac[1], you'll have seen that we now> > > > have a rails_1_1 branch. If you've been watching carefully, you'll be> > > > aware that we think we've ironed out the bugs and it works for both> > > > Rails 1.1 and 1.0 with the following caveat:> > > >> > > > * Under Rails 1.0 it's a wee bit fragile in development mode; if you> > > > interrupt a request before it's finished, you'll get a white screen> > > > of death> > > >> > > > However, from the testing I've managed to give it, it seems to be> > > > reasonably bulletproof under Rails 1.1 in both development and> > > > production mode, and under Rails 1.0 in production mode. Since a lot> > > > of you are using production mode, you probably won't see the 1.0> > > > problems.> > > >> > > > So, before we merge the branch back onto the main line and call it> > > > done, we'd appreciate bug reports and 'no bug' reports from as many> > > > people as possible. The magic incantation to run from your typo base> > > > directory is> > > >> > > > $ svn switch svn://typosphere.org/typo/branches/rails_1_1> > > >> > > > If you don't have your typo repository under svn control, you can> > > > check it out using:> > > >> > > > $ svn co svn://typosphere.org/typo/branches/rails_1_1 <target_directory>> > > >> > > > If you're running Typo 2.6.0, you'll need to freeze rails 1.0 in your> > > > vendor directory; I'm afraid we're unlikely to go back and fix it to> > > > work with Rails 1.1, but if anyone has a patch.> > > >> > > > 1. http://www.typosphere.org/trac/timeline -- a good place to start> > >> > > _______________________________________________> > > Typo-list mailing list> > > Typo-list at rubyforge.org> > > http://rubyforge.org/mailman/listinfo/typo-list> > >> >> >> > --> > --------------> > Jon Gretar Borgthorsson> > http://www.jongretar.net/> >> > _______________________________________________> > Typo-list mailing list> > Typo-list at rubyforge.org> > http://rubyforge.org/mailman/listinfo/typo-list> >>>> --> Cheers,> Kevin Kubasik> http://blog.kubasik.net/> --Cheers,Kevin Kubasikhttp://blog.kubasik.net/ From kevin at kubasik.net Thu Mar 30 07:58:22 2006 From: kevin at kubasik.net (Kevin Kubasik) Date: Thu, 30 Mar 2006 07:58:22 -0500 Subject: [typo] The rails_1_1 branch In-Reply-To: <88d636060603300452n58be1b7dnd1b766f9310abd5f@mail.gmail.com> References: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> <200603300722.41186.cedric@feelfree.homelinux.com> <dbb6450e0603300343s38830719ifeb6e131f608ca36@mail.gmail.com> <88d636060603300444i11e3149vf99da2e2d37eca99@mail.gmail.com> <88d636060603300452n58be1b7dnd1b766f9310abd5f@mail.gmail.com> Message-ID: <88d636060603300458p550ed201n2424ec23cebaef2b@mail.gmail.com> Sorry, some of that seems to have been leftover processes, oops.... A proper restart reveils a small issue under 1.1 with the content admin pages: Processing ContentController#index (for 205.222.248.25 at 2006-03-3007:55:13) [GET] Session ID: 7e020172db947e7eee8a3e5e635317e3 Parameters: {"action"=>"index", "controller"=>"admin/content"}Rendering admin/content/list within layouts/administrationRendering admin/content/list NoMethodError (undefined method `controller_name' for nil:NilClass): /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/caching.rb:541:in`callback' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/caching.rb:534:in`after' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:227:in`around_filter' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:388:in`call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:381:in`call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:376:in`after_action' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:356:in`perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/benchmarking.rb:69:in`perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/benchmarking.rb:69:in`perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/rescue.rb:82:in`perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/base.rb:379:in`process_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:364:in`process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/session_management.rb:117:in`process' /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/dispatcher.rb:38:in `dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:150:in`process_request' /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:54:in `process!' /usr/lib/ruby/1.8/fcgi.rb:600:in `each_cgi' /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:53:in `process!' /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:23:in `process!' /public/dispatch.fcgi:24 On 3/30/06, Kevin Kubasik <kevin at kubasik.net> wrote:> Update, works with both 1.1 and 1 (I had no real issues when trying> development mode as well)>> Cheers,> Kevin Kubasik>> On 3/30/06, Kevin Kubasik <kevin at kubasik.net> wrote:> > Ok, I can report success on Ubuntu Dapper with rails 1.0 and lighttp,> > I'll be giving 1.1 a try later today.> >> > Cheers,> > Kevin Kubasik> > On 3/30/06, Jon Gretar Borgthorsson <jon.borgthorsson at gmail.com> wrote:> > > Switched yesterday... Works fine under 1.1> > >> > > On 3/30/06, cedric <cedric at feelfree.homelinux.com> wrote:> > > > Hello all,> > > >> > > > This morning I've switched on the rails_1_1 branch for my typo blogs> > > > (production & development)> > > >> > > > After a restart of my apache server, everything just works perfectly!> > > >> > > > Thanks for this great job!> > > >> > > > PS:my installation: Apache 2.0.54 on debian Sarge, rails 1.1 :-), fastcgi> > > > module> > > >> > > > Regards C?dric> > > >> > > > Le Jeudi 30 Mars 2006 07:01, Piers Cawley a ?crit:> > > > > Okay, who wants to be on the bleading edge?> > > > >> > > > > If you've been watching the typo trac[1], you'll have seen that we now> > > > > have a rails_1_1 branch. If you've been watching carefully, you'll be> > > > > aware that we think we've ironed out the bugs and it works for both> > > > > Rails 1.1 and 1.0 with the following caveat:> > > > >> > > > > * Under Rails 1.0 it's a wee bit fragile in development mode; if you> > > > > interrupt a request before it's finished, you'll get a white screen> > > > > of death> > > > >> > > > > However, from the testing I've managed to give it, it seems to be> > > > > reasonably bulletproof under Rails 1.1 in both development and> > > > > production mode, and under Rails 1.0 in production mode. Since a lot> > > > > of you are using production mode, you probably won't see the 1.0> > > > > problems.> > > > >> > > > > So, before we merge the branch back onto the main line and call it> > > > > done, we'd appreciate bug reports and 'no bug' reports from as many> > > > > people as possible. The magic incantation to run from your typo base> > > > > directory is> > > > >> > > > > $ svn switch svn://typosphere.org/typo/branches/rails_1_1> > > > >> > > > > If you don't have your typo repository under svn control, you can> > > > > check it out using:> > > > >> > > > > $ svn co svn://typosphere.org/typo/branches/rails_1_1 <target_directory>> > > > >> > > > > If you're running Typo 2.6.0, you'll need to freeze rails 1.0 in your> > > > > vendor directory; I'm afraid we're unlikely to go back and fix it to> > > > > work with Rails 1.1, but if anyone has a patch.> > > > >> > > > > 1. http://www.typosphere.org/trac/timeline -- a good place to start> > > >> > > > _______________________________________________> > > > Typo-list mailing list> > > > Typo-list at rubyforge.org> > > > http://rubyforge.org/mailman/listinfo/typo-list> > > >> > >> > >> > > --> > > --------------> > > Jon Gretar Borgthorsson> > > http://www.jongretar.net/> > >> > > _______________________________________________> > > Typo-list mailing list> > > Typo-list at rubyforge.org> > > http://rubyforge.org/mailman/listinfo/typo-list> > >> >> >> > --> > Cheers,> > Kevin Kubasik> > http://blog.kubasik.net/> >>>> --> Cheers,> Kevin Kubasik> http://blog.kubasik.net/> --Cheers,Kevin Kubasikhttp://blog.kubasik.net/ From pdcawley at bofh.org.uk Thu Mar 30 08:04:13 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Thu, 30 Mar 2006 14:04:13 +0100 Subject: [typo] How to lock Typo to Rails 1.0? In-Reply-To: <82A116AF-2256-4BB6-8457-904DD0B68326@sb.org> (Kevin Ballard's message of "Thu, 30 Mar 2006 02:02:09 -0800") References: <c4d54c6f0603290519n1feadc96o4287863e1f363ca@mail.gmail.com> <loom.20060329T234834-518@post.gmane.org> <cc4e85f30603291409k7bfdc4cfud4f139eedb08b8f8@mail.gmail.com> <F96CF1EE-3CE5-4A6D-BAEE-0358D5CC65D0@sb.org> <cc4e85f30603292117l571cbff4pa5c1c276acc057d@mail.gmail.com> <m2hd5gqylp.fsf@obelisk.bofh.org.uk> <35ac07b90603292232n5998c70aic30b033a299a543d@mail.gmail.com> <82A116AF-2256-4BB6-8457-904DD0B68326@sb.org> Message-ID: <m2psk4ozhu.fsf@obelisk.bofh.org.uk> Kevin Ballard <kevin at sb.org> writes: > It's not exactly MIA. There's a link there that leads you to > typosphere.org/trac/ which is identical to the old typo.leetsoft.com. > It's just that we wanted to build a nicer site around typosphere and > currently there's been no progress (that I'm aware of, at least) on > this regard. > > I'm not even sure what the concrete plans are for this. > > Piers? Scott? Tobias (if you're listening)? I had vaguely thought of having a front paged, multi-authored typo blog. Use static stuff in the sidebar to link into the trac and elsewhere and generally keep people informed. Plus, eating your own dogfood never hurts. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From pdcawley at bofh.org.uk Thu Mar 30 08:05:29 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Thu, 30 Mar 2006 14:05:29 +0100 Subject: [typo] The rails_1_1 branch In-Reply-To: <88d636060603300458p550ed201n2424ec23cebaef2b@mail.gmail.com> (Kevin Kubasik's message of "Thu, 30 Mar 2006 07:58:22 -0500") References: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> <200603300722.41186.cedric@feelfree.homelinux.com> <dbb6450e0603300343s38830719ifeb6e131f608ca36@mail.gmail.com> <88d636060603300444i11e3149vf99da2e2d37eca99@mail.gmail.com> <88d636060603300452n58be1b7dnd1b766f9310abd5f@mail.gmail.com> <88d636060603300458p550ed201n2424ec23cebaef2b@mail.gmail.com> Message-ID: <m2lkusozfq.fsf@obelisk.bofh.org.uk> "Kevin Kubasik" <kevin at kubasik.net> writes: > Sorry, some of that seems to have been leftover processes, oops.... > A proper restart reveils a small issue under 1.1 with the content > admin pages: Kevin, *please* format your mail to around an 80 column line wrap. Your mail is the next best thing to unreadable. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From kevin at kubasik.net Thu Mar 30 08:18:55 2006 From: kevin at kubasik.net (Kevin Kubasik) Date: Thu, 30 Mar 2006 08:18:55 -0500 Subject: [typo] The rails_1_1 branch In-Reply-To: <m2lkusozfq.fsf@obelisk.bofh.org.uk> References: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> <200603300722.41186.cedric@feelfree.homelinux.com> <dbb6450e0603300343s38830719ifeb6e131f608ca36@mail.gmail.com> <88d636060603300444i11e3149vf99da2e2d37eca99@mail.gmail.com> <88d636060603300452n58be1b7dnd1b766f9310abd5f@mail.gmail.com> <88d636060603300458p550ed201n2424ec23cebaef2b@mail.gmail.com> <m2lkusozfq.fsf@obelisk.bofh.org.uk> Message-ID: <88d636060603300518o1fddd504nd96fd2613917f96d@mail.gmail.com> My most sincere apologies, that last one was sent over a remoteconnection, I hope this has fixed it. Processing ContentController#index (for 205.222.248.25 at 2006-03-3007:55:13) [GET] Session ID: 7e020172db947e7eee8a3e5e635317e3 Parameters: {"action"=>"index", "controller"=>"admin/content"}Rendering admin/content/list within layouts/administrationRendering admin/content/list NoMethodError (undefined method `controller_name' for nil:NilClass): /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/caching.rb:541:in`callback' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/caching.rb:534:in`after' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:227:in`around_filter' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:388:in`call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:381:in`call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:376:in`after_action' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:356:in`perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/benchmarking.rb:69:in`perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/benchmarking.rb:69:in`perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/rescue.rb:82:in`perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/base.rb:379:in`process_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:364:in`process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/session_management.rb:117:in`process' /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/dispatcher.rb:38:in `dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:150:in`process_request' /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:54:in `process!' /usr/lib/ruby/1.8/fcgi.rb:600:in `each_cgi' /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:53:in `process!' /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:23:in `process!' /public/dispatch.fcgi:24 On 3/30/06, Piers Cawley <pdcawley at bofh.org.uk> wrote:> "Kevin Kubasik" <kevin at kubasik.net> writes:>> > Sorry, some of that seems to have been leftover processes, oops....> > A proper restart reveils a small issue under 1.1 with the content> > admin pages:>> Kevin, *please* format your mail to around an 80 column line> wrap. Your mail is the next best thing to unreadable.>> --> Piers Cawley <pdcawley at bofh.org.uk>> http://www.bofh.org.uk/> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list> --Cheers,Kevin Kubasikhttp://blog.kubasik.net/ From rsanheim at gmail.com Thu Mar 30 08:46:32 2006 From: rsanheim at gmail.com (Rob Sanheim) Date: Thu, 30 Mar 2006 07:46:32 -0600 Subject: [typo] How to lock Typo to Rails 1.0? In-Reply-To: <m2psk4ozhu.fsf@obelisk.bofh.org.uk> References: <c4d54c6f0603290519n1feadc96o4287863e1f363ca@mail.gmail.com> <loom.20060329T234834-518@post.gmane.org> <cc4e85f30603291409k7bfdc4cfud4f139eedb08b8f8@mail.gmail.com> <F96CF1EE-3CE5-4A6D-BAEE-0358D5CC65D0@sb.org> <cc4e85f30603292117l571cbff4pa5c1c276acc057d@mail.gmail.com> <m2hd5gqylp.fsf@obelisk.bofh.org.uk> <35ac07b90603292232n5998c70aic30b033a299a543d@mail.gmail.com> <82A116AF-2256-4BB6-8457-904DD0B68326@sb.org> <m2psk4ozhu.fsf@obelisk.bofh.org.uk> Message-ID: <fc113d400603300546g44dd287cjf7bee2ca8fd1ac79@mail.gmail.com> On 3/30/06, Piers Cawley <pdcawley at bofh.org.uk> wrote: > I had vaguely thought of having a front paged, multi-authored typo > blog. Use static stuff in the sidebar to link into the trac and > elsewhere and generally keep people informed. Plus, eating your own > dogfood never hurts. It might be worth redirecting to the trac page, since the typosphere "in progress" page has been up for so long and I'm betting a lot of users never make it past there. I wouldn't be surprised if new users blow right past the download links and the trac link and assume that the site is just MIA for now. - Rob -- http://www.robsanheim.com/ http://www.ajaxian.com/ From pdcawley at bofh.org.uk Thu Mar 30 08:51:16 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Thu, 30 Mar 2006 14:51:16 +0100 Subject: [typo] The rails_1_1 branch In-Reply-To: <88d636060603300518o1fddd504nd96fd2613917f96d@mail.gmail.com> (Kevin Kubasik's message of "Thu, 30 Mar 2006 08:18:55 -0500") References: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> <200603300722.41186.cedric@feelfree.homelinux.com> <dbb6450e0603300343s38830719ifeb6e131f608ca36@mail.gmail.com> <88d636060603300444i11e3149vf99da2e2d37eca99@mail.gmail.com> <88d636060603300452n58be1b7dnd1b766f9310abd5f@mail.gmail.com> <88d636060603300458p550ed201n2424ec23cebaef2b@mail.gmail.com> <m2lkusozfq.fsf@obelisk.bofh.org.uk> <88d636060603300518o1fddd504nd96fd2613917f96d@mail.gmail.com> Message-ID: <m2d5g4oxbf.fsf@obelisk.bofh.org.uk> "Kevin Kubasik" <kevin at kubasik.net> writes: > My most sincere apologies, that last one was sent over a > remoteconnection, I hope this has fixed it. Nope. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From typo-list at jasonbainbridge.com Thu Mar 30 09:46:03 2006 From: typo-list at jasonbainbridge.com (Jason Bainbridge) Date: Thu, 30 Mar 2006 08:46:03 -0600 Subject: [typo] How to lock Typo to Rails 1.0? In-Reply-To: <m2psk4ozhu.fsf@obelisk.bofh.org.uk> References: <c4d54c6f0603290519n1feadc96o4287863e1f363ca@mail.gmail.com> <loom.20060329T234834-518@post.gmane.org> <cc4e85f30603291409k7bfdc4cfud4f139eedb08b8f8@mail.gmail.com> <F96CF1EE-3CE5-4A6D-BAEE-0358D5CC65D0@sb.org> <cc4e85f30603292117l571cbff4pa5c1c276acc057d@mail.gmail.com> <m2hd5gqylp.fsf@obelisk.bofh.org.uk> <35ac07b90603292232n5998c70aic30b033a299a543d@mail.gmail.com> <82A116AF-2256-4BB6-8457-904DD0B68326@sb.org> <m2psk4ozhu.fsf@obelisk.bofh.org.uk> Message-ID: <442BEF2B.8070904@jasonbainbridge.com> Piers Cawley wrote: >I had vaguely thought of having a front paged, multi-authored typo >blog. Use static stuff in the sidebar to link into the trac and >elsewhere and generally keep people informed. Plus, eating your own >dogfood never hurts. > > > Could someone at least setup redirects at typo.leetsoft.com so all requests for /trac are forwarded to the typosphre.org/trac ? That is one of my major gripes with the whole website move. Regards, Jason From typo-list at jasonbainbridge.com Thu Mar 30 10:25:45 2006 From: typo-list at jasonbainbridge.com (Jason Bainbridge) Date: Thu, 30 Mar 2006 09:25:45 -0600 Subject: [typo] The rails_1_1 branch In-Reply-To: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> References: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> Message-ID: <442BF879.9040804@jasonbainbridge.com> Piers Cawley wrote: >Okay, who wants to be on the bleading edge? > > > Well after a bit of grief with forcing Rails to use the production environment after the Rails upgrade I have gotten this to work, for the most part it works fine but the AJAX commenting does something weird with the sidebar and makes it repeat on the other side at the bottom. If you leave a comment on one of my posts at http://typo.jasonbainbridge.com then you'll see what I mean, is that just a theme related issue or something within typo? Regards, Jason From strelau at cornell.edu Thu Mar 30 10:38:48 2006 From: strelau at cornell.edu (Dean Strelau) Date: Thu, 30 Mar 2006 10:38:48 -0500 Subject: [typo] The rails_1_1 branch In-Reply-To: <442BF879.9040804@jasonbainbridge.com> References: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> <442BF879.9040804@jasonbainbridge.com> Message-ID: <aaec3bd90603300738q112f8953rf87a1400a81ee21c@mail.gmail.com> I had the same thing happening to me. In app/controllers/articles_controller.rb change layout :theme_layout, :except => [:comment_preview, :trackback] to layout :theme_layout, :except => [:comment, :comment_preview, :trackback] On 3/30/06, Jason Bainbridge <typo-list at jasonbainbridge.com> wrote: > > Piers Cawley wrote: > > >Okay, who wants to be on the bleading edge? > > > > > > > Well after a bit of grief with forcing Rails to use the production > environment after the Rails upgrade I have gotten this to work, for the > most part it works fine but the AJAX commenting does something weird > with the sidebar and makes it repeat on the other side at the bottom. > > If you leave a comment on one of my posts at > http://typo.jasonbainbridge.com then you'll see what I mean, is that > just a theme related issue or something within typo? > > Regards, > Jason > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From pdcawley at bofh.org.uk Thu Mar 30 10:45:58 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Thu, 30 Mar 2006 16:45:58 +0100 Subject: [typo] The rails_1_1 branch In-Reply-To: <442BF879.9040804@jasonbainbridge.com> (Jason Bainbridge's message of "Thu, 30 Mar 2006 09:25:45 -0600") References: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> <442BF879.9040804@jasonbainbridge.com> Message-ID: <m28xqsos09.fsf@obelisk.bofh.org.uk> Jason Bainbridge <typo-list at jasonbainbridge.com> writes: > Piers Cawley wrote: > >>Okay, who wants to be on the bleading edge? >> >> >> > Well after a bit of grief with forcing Rails to use the production > environment after the Rails upgrade I have gotten this to work, for the > most part it works fine but the AJAX commenting does something weird > with the sidebar and makes it repeat on the other side at the > bottom. How peculiar. > If you leave a comment on one of my posts at > http://typo.jasonbainbridge.com then you'll see what I mean, is that > just a theme related issue or something within typo? I think it's the theme. It doesn't seem to be replicated here, using the Azure theme. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From gilgit at gmail.com Thu Mar 30 11:34:49 2006 From: gilgit at gmail.com (David Richardson) Date: Thu, 30 Mar 2006 09:34:49 -0700 Subject: [typo] How to lock Typo to Rails 1.0? In-Reply-To: <442BEF2B.8070904@jasonbainbridge.com> References: <c4d54c6f0603290519n1feadc96o4287863e1f363ca@mail.gmail.com> <loom.20060329T234834-518@post.gmane.org> <cc4e85f30603291409k7bfdc4cfud4f139eedb08b8f8@mail.gmail.com> <F96CF1EE-3CE5-4A6D-BAEE-0358D5CC65D0@sb.org> <cc4e85f30603292117l571cbff4pa5c1c276acc057d@mail.gmail.com> <m2hd5gqylp.fsf@obelisk.bofh.org.uk> <35ac07b90603292232n5998c70aic30b033a299a543d@mail.gmail.com> <82A116AF-2256-4BB6-8457-904DD0B68326@sb.org> <m2psk4ozhu.fsf@obelisk.bofh.org.uk> <442BEF2B.8070904@jasonbainbridge.com> Message-ID: <35ac07b90603300834i5834a66au9269e24bb5ebebeb@mail.gmail.com> >>I'm not even sure what the concrete plans are for this.Question answered. I will get this going if someone wants to contact me. david richardson--www.channel200.net From kevin at sb.org Thu Mar 30 12:22:06 2006 From: kevin at sb.org (Kevin Ballard) Date: Thu, 30 Mar 2006 09:22:06 -0800 Subject: [typo] 1.1 or 1.0, choose now! In-Reply-To: <dbb6450e0603300403l58e602fcvdb1ee5b3b8465e51@mail.gmail.com> References: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> <dbb6450e0603300403l58e602fcvdb1ee5b3b8465e51@mail.gmail.com> Message-ID: <453099A9-29A1-4BE3-BCA5-3338405BC183@sb.org> The next release is 4.0 (we're skipping 3.0 to avoid confusion with a CMS called Typo3) and we're gearing up to release it in the very near future. On Mar 30, 2006, at 4:03 AM, Jon Gretar Borgthorsson wrote: > But the big question is..... When is the next major release? Is the > beta for 3.0.0 a year away or a month. I see how it can be simpler to > be able to say that version 2.6 is 1.0 supported and version 3.0 is > only 1.1+. > > But that doesn't work if eveyone has to wait for 9 months. 1.2 will > propably be out by then. -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060330/0e9e811e/attachment.bin From pdcawley at bofh.org.uk Thu Mar 30 12:50:01 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Thu, 30 Mar 2006 18:50:01 +0100 Subject: [typo] The rails_1_1 branch In-Reply-To: <aaec3bd90603300738q112f8953rf87a1400a81ee21c@mail.gmail.com> (Dean Strelau's message of "Thu, 30 Mar 2006 10:38:48 -0500") References: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> <442BF879.9040804@jasonbainbridge.com> <aaec3bd90603300738q112f8953rf87a1400a81ee21c@mail.gmail.com> Message-ID: <m24q1fq0ty.fsf@obelisk.bofh.org.uk> "Dean Strelau" <strelau at cornell.edu> writes: > I had the same thing happening to me. In > app/controllers/articles_controller.rb change > > layout :theme_layout, :except => [:comment_preview, :trackback] > to > layout :theme_layout, :except => [:comment, :comment_preview, > :trackback] Not necessarily a good fix. Rendering a partial (which is what we do for ajax comment additions) shouldn't use the layout anyway. And for none ajax comments you need to render with the layout. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From kevin at kubasik.net Thu Mar 30 13:01:24 2006 From: kevin at kubasik.net (Kevin Kubasik) Date: Thu, 30 Mar 2006 13:01:24 -0500 Subject: [typo] The rails_1_1 branch In-Reply-To: <m24q1fq0ty.fsf@obelisk.bofh.org.uk> References: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> <442BF879.9040804@jasonbainbridge.com> <aaec3bd90603300738q112f8953rf87a1400a81ee21c@mail.gmail.com> <m24q1fq0ty.fsf@obelisk.bofh.org.uk> Message-ID: <88d636060603301001w1123b556o6b20b2770488aeac@mail.gmail.com> I'm sorry again, I feel really dumb, here it is with html formatting (I'm using Gmail, apperently it doesn't handle the line formatting well :-/) Processing ContentController#index (for 205.222.248.25 at 2006-03-30 07:55:13) [GET] Session ID: 7e020172db947e7eee8a3e5e635317e3 Parameters: {"action"=>"index", "controller"=>"admin/content"} Rendering admin/content/list within layouts/administration Rendering admin/content/list NoMethodError (undefined method `controller_name' for nil:NilClass): /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 /lib/action_controller/caching.rb:541:in `callback' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 /lib/action_controller/caching.rb:534:in `after' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 /lib/action_controller/filters.rb:227:in `around_filter' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 /lib/action_controller/filters.rb:388:in `call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 /lib/action_controller/filters.rb:381:in `call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 /lib/action_controller/filters.rb:376:in `after_action' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 /lib/action_controller/filters.rb:356:in `perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 /lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 /lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 /lib/action_controller/rescue.rb:82:in `perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 /lib/action_controller/base.rb:379:in `process_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 /lib/action_controller/filters.rb:364:in `process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 /lib/action_controller/session_management.rb:117:in `process' /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/dispatcher.rb:38:in `dispatch' /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:150:in `process_request' /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:54:in `process!' /usr/lib/ruby/1.8/fcgi.rb:600:in `each_cgi' /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi' /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:53:in `process!' /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:23:in `process!' /public/dispatch.fcgi:24 Cheers, Kevin Kubasik On 3/30/06, Piers Cawley <pdcawley at bofh.org.uk> wrote: > "Dean Strelau" <strelau at cornell.edu> writes: > > > I had the same thing happening to me. In > > app/controllers/articles_controller.rb change > > > > layout :theme_layout, :except => [:comment_preview, :trackback] > > to > > layout :theme_layout, :except => [:comment, :comment_preview, > > :trackback] > > Not necessarily a good fix. Rendering a partial (which is what we do > for ajax comment additions) shouldn't use the layout anyway. And for > none ajax comments you need to render with the layout. > > -- > Piers Cawley <pdcawley at bofh.org.uk> > http://www.bofh.org.uk/ > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Cheers, Kevin Kubasik http://blog.kubasik.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060330/03602ebd/attachment-0001.htm From codeblogger at gmail.com Thu Mar 30 13:04:10 2006 From: codeblogger at gmail.com (Codeblogger) Date: Thu, 30 Mar 2006 20:04:10 +0200 Subject: [typo] 1.1 or 1.0, choose now! In-Reply-To: <453099A9-29A1-4BE3-BCA5-3338405BC183@sb.org> References: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> <dbb6450e0603300403l58e602fcvdb1ee5b3b8465e51@mail.gmail.com> <453099A9-29A1-4BE3-BCA5-3338405BC183@sb.org> Message-ID: <1a3b35960603301004nb55dcfp89567b93577ddea3@mail.gmail.com> 2006/3/30, Kevin Ballard <kevin at sb.org>: > The next release is 4.0 (we're skipping 3.0 to avoid confusion with a > CMS called Typo3) and we're gearing up to release it in the very near > future. Which is also very awkward because they just released their version 4 of Typo3. Well, I can't help it. ;-) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060330/db863280/attachment.htm From kevin at kubasik.net Thu Mar 30 13:13:21 2006 From: kevin at kubasik.net (Kevin Kubasik) Date: Thu, 30 Mar 2006 13:13:21 -0500 Subject: [typo] The rails_1_1 branch In-Reply-To: <88d636060603301001w1123b556o6b20b2770488aeac@mail.gmail.com> References: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> <442BF879.9040804@jasonbainbridge.com> <aaec3bd90603300738q112f8953rf87a1400a81ee21c@mail.gmail.com> <m24q1fq0ty.fsf@obelisk.bofh.org.uk> <88d636060603301001w1123b556o6b20b2770488aeac@mail.gmail.com> Message-ID: <88d636060603301013r71d9857cm503aa33e8a16129@mail.gmail.com> oops, a few minutes behind this one.... works for me now. Again, many thanksOn 3/30/06, Kevin Kubasik <kevin at kubasik.net> wrote:>>> I'm sorry again, I feel really dumb, here it is with html formatting (I'm using Gmail, apperently it doesn't handle the line formatting well :-/)>>> Processing ContentController#index (for 205.222.248.25 at 2006-03-30> 07:55:13) [GET]> Session ID: 7e020172db947e7eee8a3e5e635317e3> Parameters: {"action"=>"index", "controller"=>"admin/content"}> Rendering admin/content/list within layouts/administration> Rendering admin/content/list>>> NoMethodError (undefined method `controller_name' for nil:NilClass):> /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/caching.rb:541:in> `callback'> /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/caching.rb:534:in> `after'> /usr/lib/ruby/gems/1.8/gems/actionpack- 1.12.0/lib/action_controller/filters.rb:227:in> `around_filter'> /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:388:in> `call_filters'> /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 /lib/action_controller/filters.rb:381:in> `call_filters'> /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:376:in> `after_action'> /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:356:in> `perform_action_without_benchmark'> /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/benchmarking.rb:69:in> `perform_action_without_rescue'> /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'> /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/benchmarking.rb:69:in> `perform_action_without_rescue'> /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/rescue.rb:82:in> `perform_action'> /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/base.rb:379:in> `process_without_filters'> /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:364:in> `process_without_session_management_support'> /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/session_management.rb:117:in> `process'> /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/dispatcher.rb:38:in `dispatch'> /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:150:in> `process_request'> /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:54:in `process!'> /usr/lib/ruby/1.8/fcgi.rb:600:in `each_cgi'> /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi'> /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:53:in `process!'> /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:23:in `process!'> /public/dispatch.fcgi:24>>>> Cheers,> Kevin Kubasik>>> On 3/30/06, Piers Cawley <pdcawley at bofh.org.uk> wrote:> > "Dean Strelau" <strelau at cornell.edu > writes:> >> > > I had the same thing happening to me. In> > > app/controllers/articles_controller.rb change> > >> > > layout :theme_layout, :except => [:comment_preview, :trackback]> > > to> > > layout :theme_layout, :except => [:comment, :comment_preview,> > > :trackback]> >> > Not necessarily a good fix. Rendering a partial (which is what we do> > for ajax comment additions) shouldn't use the layout anyway. And for> > none ajax comments you need to render with the layout.> >> > --> > Piers Cawley <pdcawley at bofh.org.uk>> > http://www.bofh.org.uk/> > _______________________________________________> > Typo-list mailing list> > Typo-list at rubyforge.org> > http://rubyforge.org/mailman/listinfo/typo-list> >>>>> -->> Cheers,> Kevin Kubasik> http://blog.kubasik.net/>> --Cheers,Kevin Kubasikhttp://blog.kubasik.net/ From arvind at grovernetwork.com Thu Mar 30 13:14:47 2006 From: arvind at grovernetwork.com (arvind s grover) Date: Thu, 30 Mar 2006 13:14:47 -0500 Subject: [typo] how to paste code to the list In-Reply-To: <mailman.4033.1143741688.25833.typo-list@rubyforge.org> References: <mailman.4033.1143741688.25833.typo-list@rubyforge.org> Message-ID: <CEF03CFE-4F28-4AF5-B29F-6716FCC9CF7C@grovernetwork.com> Kevin, next time, paste your log here: http://rafb.net/paste/ then send us the link like this: http://rafb.net/paste/results/ JKQIJ234.html the link only lives for 24 hours though, the one drawback. but at least you can get the text to the group... the link above also does ruby syntax highlighting which is very helpful. looks much better than my mac mail client does... On Mar 30, 2006, at 1:01 PM, typo-list-request at rubyforge.org wrote: > > ------------------------------ > > Date: Thu, 30 Mar 2006 13:01:24 -0500 > From: "Kevin Kubasik" <kevin at kubasik.net> > Subject: Re: [typo] The rails_1_1 branch > To: typo-list at rubyforge.org > Message-ID: > <88d636060603301001w1123b556o6b20b2770488aeac at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > I'm sorry again, I feel really dumb, here it is with html > formatting (I'm > using Gmail, apperently it doesn't handle the line formatting > well :-/) > > Processing ContentController#index (for 205.222.248.25 at 2006-03-30 > 07:55:13) [GET] > Session ID: 7e020172db947e7eee8a3e5e635317e3 > Parameters: {"action"=>"index", "controller"=>"admin/content"} > Rendering admin/content/list within layouts/administration > Rendering admin/content/list > > > NoMethodError (undefined method `controller_name' for nil:NilClass): > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 > /lib/action_controller/caching.rb:541:in > `callback' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 > /lib/action_controller/caching.rb:534:in > `after' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 > /lib/action_controller/filters.rb:227:in > `around_filter' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 > /lib/action_controller/filters.rb:388:in > `call_filters' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 > /lib/action_controller/filters.rb:381:in > `call_filters' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 > /lib/action_controller/filters.rb:376:in > `after_action' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 > /lib/action_controller/filters.rb:356:in > `perform_action_without_benchmark' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 > /lib/action_controller/benchmarking.rb:69:in > `perform_action_without_rescue' > /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 > /lib/action_controller/benchmarking.rb:69:in > `perform_action_without_rescue' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 > /lib/action_controller/rescue.rb:82:in > `perform_action' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 > /lib/action_controller/base.rb:379:in > `process_without_filters' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 > /lib/action_controller/filters.rb:364:in > `process_without_session_management_support' > /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 > /lib/action_controller/session_management.rb:117:in > `process' > /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/dispatcher.rb:38:in > `dispatch' > /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:150:in > `process_request' > /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:54:in > `process!' > /usr/lib/ruby/1.8/fcgi.rb:600:in `each_cgi' > /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi' > /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:53:in > `process!' > /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:23:in > `process!' > /public/dispatch.fcgi:24 > > > Cheers, > Kevin Kubasik From strelau at cornell.edu Thu Mar 30 13:16:16 2006 From: strelau at cornell.edu (Dean Strelau) Date: Thu, 30 Mar 2006 13:16:16 -0500 Subject: [typo] The rails_1_1 branch In-Reply-To: <m24q1fq0ty.fsf@obelisk.bofh.org.uk> References: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> <442BF879.9040804@jasonbainbridge.com> <aaec3bd90603300738q112f8953rf87a1400a81ee21c@mail.gmail.com> <m24q1fq0ty.fsf@obelisk.bofh.org.uk> Message-ID: <aaec3bd90603301016g795d500ev307885846b18d687@mail.gmail.com> > Not necessarily a good fix. Rendering a partial (which is what we do > for ajax comment additions) shouldn't use the layout anyway. And for > none ajax comments you need to render with the layout. Yeow. Sorry! Well, it worked fto get comments functioning correctly again with me, and I've got non-AJAX layouts disabled anyway. Well, proceed with caution, I suppose. From pdcawley at bofh.org.uk Thu Mar 30 13:43:19 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Thu, 30 Mar 2006 19:43:19 +0100 Subject: [typo] The rails_1_1 branch In-Reply-To: <88d636060603301013r71d9857cm503aa33e8a16129@mail.gmail.com> (Kevin Kubasik's message of "Thu, 30 Mar 2006 13:13:21 -0500") References: <m2lkusr0ej.fsf@obelisk.bofh.org.uk> <442BF879.9040804@jasonbainbridge.com> <aaec3bd90603300738q112f8953rf87a1400a81ee21c@mail.gmail.com> <m24q1fq0ty.fsf@obelisk.bofh.org.uk> <88d636060603301001w1123b556o6b20b2770488aeac@mail.gmail.com> <88d636060603301013r71d9857cm503aa33e8a16129@mail.gmail.com> Message-ID: <m2zmj7ojso.fsf@obelisk.bofh.org.uk> "Kevin Kubasik" <kevin at kubasik.net> writes: > oops, a few minutes behind this one.... works for me now. Yup. Someone on IRC had the same problem and we tracked it down. Since gmail does such a lousy job with trackbacks, you might be best served in future by dumping the error output in the pastebin (http://rafb.net/paste) and simply pasting the resulting url into your message. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From pdcawley at bofh.org.uk Thu Mar 30 13:46:19 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Thu, 30 Mar 2006 19:46:19 +0100 Subject: [typo] 1.1 or 1.0, choose now! In-Reply-To: <1a3b35960603301004nb55dcfp89567b93577ddea3@mail.gmail.com> (codeblogger@gmail.com's message of "Thu, 30 Mar 2006 20:04:10 +0200") References: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> <dbb6450e0603300403l58e602fcvdb1ee5b3b8465e51@mail.gmail.com> <453099A9-29A1-4BE3-BCA5-3338405BC183@sb.org> <1a3b35960603301004nb55dcfp89567b93577ddea3@mail.gmail.com> Message-ID: <m2vetvojno.fsf@obelisk.bofh.org.uk> Codeblogger <codeblogger at gmail.com> writes: > 2006/3/30, Kevin Ballard <kevin at sb.org>: >> The next release is 4.0 (we're skipping 3.0 to avoid confusion with a >> CMS called Typo3) and we're gearing up to release it in the very near >> future. > > Which is also very awkward because they just released their version 4 of > Typo3. > Well, I can't help it. ;-) Are they still calling it Typo3? Or are we going to get a switchtoweresque cease and desist order? -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From scott at sigkill.org Thu Mar 30 14:12:43 2006 From: scott at sigkill.org (Scott Laird) Date: Thu, 30 Mar 2006 11:12:43 -0800 Subject: [typo] Trunk and 1.1 Message-ID: <14b7e5ef0603301112r4fb5e89xb94ea8f57e1278da@mail.gmail.com> Thanks to Piers and Kevin's hard work, we've merged the rails_1_1branch back into the trunk. At this point, the trunk should becompletely functional with 1.1 and should continue to work with 1.0. Have a nice day. Scott From typo-list at jasonbainbridge.com Thu Mar 30 14:22:15 2006 From: typo-list at jasonbainbridge.com (Jason Bainbridge) Date: Thu, 30 Mar 2006 13:22:15 -0600 Subject: [typo] 1.1 or 1.0, choose now! In-Reply-To: <m2vetvojno.fsf@obelisk.bofh.org.uk> References: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> <dbb6450e0603300403l58e602fcvdb1ee5b3b8465e51@mail.gmail.com> <453099A9-29A1-4BE3-BCA5-3338405BC183@sb.org> <1a3b35960603301004nb55dcfp89567b93577ddea3@mail.gmail.com> <m2vetvojno.fsf@obelisk.bofh.org.uk> Message-ID: <442C2FE7.7050605@jasonbainbridge.com> Piers Cawley wrote: > >Are they still calling it Typo3? Or are we going to get a >switchtoweresque cease and desist order? > > It looks like the RC's are Typo3 4 RC2 and so on so we should be okay unless they were feeling very picky about it. Regards, Jason From rodgerd at diaspora.gen.nz Thu Mar 30 14:27:20 2006 From: rodgerd at diaspora.gen.nz (Rodger Donaldson) Date: Fri, 31 Mar 2006 07:27:20 +1200 Subject: [typo] Towards 4.0.0 In-Reply-To: <m23bh0qqrn.fsf@obelisk.bofh.org.uk> References: <m23bh0qqrn.fsf@obelisk.bofh.org.uk> Message-ID: <20060330192720.GA27468@diaspora.gen.nz> On Thu, Mar 30, 2006 at 09:29:48AM +0100, Piers Cawley wrote: > > Again, I'm interested in everyone's input, but I'm particularly keen > to hear from anyone still running 2.6.0. Last time I tried a rake migrate on my test box it was a disaster area; I'm quite happy to do a dump of my prod 2.6 DB into a dev DB and redo if that will provide useful debugging. My site theme, which is based off one from the competition, didn't work, but I don't see that as something that the developers need to worry about, except perhaps by providing some documentation around what's changed that requires theme changes. -- Rodger Donaldson rodgerd at diaspora.gen.nz "Forgive us if we bite your head off; we were led to assume you weren't using it in the first place" --Jim Allenspach, in comp.lang.perl.misc From jake at whoisjake.com Thu Mar 30 14:30:05 2006 From: jake at whoisjake.com (Jake Good) Date: Thu, 30 Mar 2006 13:30:05 -0600 Subject: [typo] Trunk and 1.1 In-Reply-To: <14b7e5ef0603301112r4fb5e89xb94ea8f57e1278da@mail.gmail.com> References: <14b7e5ef0603301112r4fb5e89xb94ea8f57e1278da@mail.gmail.com> Message-ID: <442C31BD.5010302@whoisjake.com> You guys rock! Scott Laird wrote: > Thanks to Piers and Kevin's hard work, we've merged the rails_1_1branch back into the trunk. At this point, the trunk should becompletely functional with 1.1 and should continue to work with 1.0. > Have a nice day. > > Scott > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > > From rsanheim at gmail.com Thu Mar 30 15:06:09 2006 From: rsanheim at gmail.com (Rob Sanheim) Date: Thu, 30 Mar 2006 14:06:09 -0600 Subject: [typo] Trunk and 1.1 In-Reply-To: <442C31BD.5010302@whoisjake.com> References: <14b7e5ef0603301112r4fb5e89xb94ea8f57e1278da@mail.gmail.com> <442C31BD.5010302@whoisjake.com> Message-ID: <fc113d400603301206j61cc8ab8y1b830e758979460d@mail.gmail.com> Awesome! Thanks guys. - Rob -- http://www.robsanheim.com/ http://www.ajaxian.com/ From ernieoporto at gmail.com Thu Mar 30 20:16:51 2006 From: ernieoporto at gmail.com (Ernie Oporto) Date: Thu, 30 Mar 2006 20:16:51 -0500 Subject: [typo] Trunk and 1.1 In-Reply-To: <fc113d400603301206j61cc8ab8y1b830e758979460d@mail.gmail.com> References: <14b7e5ef0603301112r4fb5e89xb94ea8f57e1278da@mail.gmail.com> <442C31BD.5010302@whoisjake.com> <fc113d400603301206j61cc8ab8y1b830e758979460d@mail.gmail.com> Message-ID: <f91ac86d0603301716i545d0a0fy7c363f38479590cd@mail.gmail.com> Ah that explains why it still kept working when I blindly did an svn update today. ;-) Great work! On 3/30/06, Rob Sanheim <rsanheim at gmail.com> wrote: > > Awesome! Thanks guys. > - Rob > -- > http://www.robsanheim.com/ > http://www.ajaxian.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/20060330/2bbdf4f7/attachment.htm From ernieoporto at gmail.com Thu Mar 30 20:30:12 2006 From: ernieoporto at gmail.com (Ernie Oporto) Date: Thu, 30 Mar 2006 20:30:12 -0500 Subject: [typo] 1.1 or 1.0, choose now! In-Reply-To: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> References: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> Message-ID: <f91ac86d0603301730h19c0b5c8pcd258d165c8e5809@mail.gmail.com> I'm on 977 as of this afternoon and its working OK. Are there any spots that are known not to work after 971 with 1.0? The upgrade to 1.1 is simply the "gem install rails --include-dependencies" and updating typo is just an "svn update" away. Is there a chicken-egg in any of this? Should the recommended instructions be... svn checkout -r 977 gem install rails --include-dependencies svn update or something like that? On 3/30/06, Piers Cawley <pdcawley at bofh.org.uk> wrote: > > If we do this, we'd tag revision 971 (the current trunk HEAD) as > 'good_with_1_0' or something and just move on. > > What does the panel think? > > -- > Piers Cawley <pdcawley at bofh.org.uk> > http://www.bofh.org.uk/ > _______________________________________________ > 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/20060330/80c17722/attachment.htm From kevin at sb.org Thu Mar 30 20:50:10 2006 From: kevin at sb.org (Kevin Ballard) Date: Thu, 30 Mar 2006 17:50:10 -0800 Subject: [typo] 1.1 or 1.0, choose now! In-Reply-To: <f91ac86d0603301730h19c0b5c8pcd258d165c8e5809@mail.gmail.com> References: <m2d5g4qx63.fsf@obelisk.bofh.org.uk> <f91ac86d0603301730h19c0b5c8pcd258d165c8e5809@mail.gmail.com> Message-ID: <60C1D103-A446-49C4-9486-8AE85EF02B80@sb.org> AFAIK typo trunk should work with Rails 1.0. In testing it does, and I haven't heard of any issues so far. So I would recommend svn updating (or checking out), then upgrading rails (as upgrading rails first will break an existing typo blog). On Mar 30, 2006, at 5:30 PM, Ernie Oporto wrote: > I'm on 977 as of this afternoon and its working OK. Are there any > spots that are known not to work after 971 with 1.0? > The upgrade to 1.1 is simply the "gem install rails --include- > dependencies" and updating typo is just an "svn update" away. Is > there a chicken-egg in any of this? Should the recommended > instructions be... > > svn checkout -r 977 > gem install rails --include-dependencies > svn update > > or something like that? -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060330/52a0c478/attachment.bin From froderman at gmail.com Thu Mar 30 21:18:54 2006 From: froderman at gmail.com (Jason Froderman) Date: Thu, 30 Mar 2006 20:18:54 -0600 Subject: [typo] Mysql Collation Questions Message-ID: <a57a7262ac756ae471b2a17f084bbf21@gmail.com> I've noticed that the schema in typo has collation of: latin1_swedish_ci I don't know much about collation except for the ability to sort differently by specifying "COLLATE"... Is there any reason (or reason against) changing the collation from swedish to general? What's the usual collation chosen for the United States or the UK? If it's a worthy enough idea of changing, is there an easy way to change collation recursively...I know you can apply a collation change to a db, table, and then table fields...doing all that separately would take a lot of work. Thanks for the info, Jason From pdcawley at bofh.org.uk Thu Mar 30 22:51:17 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Fri, 31 Mar 2006 04:51:17 +0100 Subject: [typo] Towards 4.0.0 In-Reply-To: <20060330192720.GA27468@diaspora.gen.nz> (Rodger Donaldson's message of "Fri, 31 Mar 2006 07:27:20 +1200") References: <m23bh0qqrn.fsf@obelisk.bofh.org.uk> <20060330192720.GA27468@diaspora.gen.nz> Message-ID: <m2u09f8e6i.fsf@obelisk.bofh.org.uk> Rodger Donaldson <rodgerd at diaspora.gen.nz> writes: > On Thu, Mar 30, 2006 at 09:29:48AM +0100, Piers Cawley wrote: >> >> Again, I'm interested in everyone's input, but I'm particularly keen >> to hear from anyone still running 2.6.0. > > Last time I tried a rake migrate on my test box it was a disaster > area; I'm quite happy to do a dump of my prod 2.6 DB into a dev DB and > redo if that will provide useful debugging. That would be handy. We're rather more confident of the migration routes now that we use BareMigrations. Essentially, all the migrations are now protected from changes in our model classes. I'm less confident of the automigrate from a pre blog object to the current schema though. > My site theme, which is based off one from the competition, didn't > work, but I don't see that as something that the developers need to > worry about, except perhaps by providing some documentation around > what's changed that requires theme changes. Actually, I'm about to have a crack at adapting one of the competition themes to the trunk myself. Since I can't quite remember what *has* changed, I shall keep notes as I make the changes (or at least run diff on the results and extract instructions from there). -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From ssmith at fiveruns.com Thu Mar 30 23:34:38 2006 From: ssmith at fiveruns.com (Steven Smith) Date: Thu, 30 Mar 2006 22:34:38 -0600 Subject: [typo] Trunk and 1.1 In-Reply-To: <fc113d400603301206j61cc8ab8y1b830e758979460d@mail.gmail.com> References: <14b7e5ef0603301112r4fb5e89xb94ea8f57e1278da@mail.gmail.com> <442C31BD.5010302@whoisjake.com> <fc113d400603301206j61cc8ab8y1b830e758979460d@mail.gmail.com> Message-ID: <1CB36379-358F-4BFA-AB8A-3F567844D822@fiveruns.com> Agreed. Awesome work and very responsive!! Thanks a million. On Mar 30, 2006, at 2:06 PM, Rob Sanheim wrote: > Awesome! Thanks guys. > - Rob > -- > http://www.robsanheim.com/ > http://www.ajaxian.com/ > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > From stephen at deanbrook.org Thu Mar 30 23:56:21 2006 From: stephen at deanbrook.org (Stephen Bannasch) Date: Thu, 30 Mar 2006 23:56:21 -0500 Subject: [typo] how does typo produce feed urls with ".xml" suffix? In-Reply-To: <m2u09f8e6i.fsf@obelisk.bofh.org.uk> References: <m23bh0qqrn.fsf@obelisk.bofh.org.uk> <20060330192720.GA27468@diaspora.gen.nz> <m2u09f8e6i.fsf@obelisk.bofh.org.uk> Message-ID: <p0623090bc05261d25aee@[10.11.12.219]> I'm pretty new to Ruby and Rails and I like to be able to create urls with an extension suffix similar to how Typo does this for the feed urls. However I need a bit of help understanding how this works in Typo. The Sidebar 'Articles' feed is generated here: components/plugins/sidebars/xml/content.rhtml with this script fragment: <%= url_for :controller=>'xml', :action=>'feed', :format => @sb_config['format'], :type => 'trackbacks' %> In my case @sb_config['format'] == 'rss20' and it produces urls in the following form: http://localhost:3000/xml/rss20/feed.xml config/route.rb processes this url with this map: map.xml 'xml/rss', :controller => 'xml', :action => 'feed', :type => 'feed', :format => 'rss' So clicking on the link runs XmlController#feed in apps/controllers/xml_controller.rb. Which calls the renderer at views/xml/rss20_feed.rxml (and a partial) which actually generates the xml feed. I've discovered that if I take out ':format => @sb_config['format']' from the url_for link the '.xml' suffix is no longer generated but I'm having trouble going further. Thanks for any pointers. If you are interested I've posted a description of my actual problem below. ps. I'm learning a great deal studying and playing with the Typo code. Thanks! ------------------------------------------------------------------------ I have a builder template that renders a Java webstart jnlp file. Right now I am creating the the jnlp file links like this: link_to 'Run', :action => 'jnlp', :id => activity Which creates links like this: http://host.com/controller/jnlp/1 The action looks like this: def jnlp @headers["Content-Type"] = "application/x-java-jnlp-file" @headers["Cache-Control"] = "public" @activity = Activity.find(params[:id]) render :layout => false end Which then calls the Builder view: jnlp.rxml By setting the Content-Type in the http headers most browsers correctly interpret the file "1" as a jnlp file and if Java is installed start the webstart application. However FireFox (and Mozilla) on MacOS seems to require that the file actually be served with the ".jnlp" filename suffix. So I'd like to instead create links like this: http://host.com/controller/jnlp/1.jnlp The general question is: how can I concatenate a static filename suffix to a link? Thanks! -- -- Stephen Bannasch, stephen at deanbrook dot org From pdcawley at bofh.org.uk Fri Mar 31 01:03:07 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Fri, 31 Mar 2006 07:03:07 +0100 Subject: [typo] how does typo produce feed urls with ".xml" suffix? In-Reply-To: <p0623090bc05261d25aee@[10.11.12.219]> (Stephen Bannasch's message of "Thu, 30 Mar 2006 23:56:21 -0500") References: <m23bh0qqrn.fsf@obelisk.bofh.org.uk> <20060330192720.GA27468@diaspora.gen.nz> <m2u09f8e6i.fsf@obelisk.bofh.org.uk> <p0623090bc05261d25aee@[10.11.12.219]> Message-ID: <m2lkur882s.fsf@obelisk.bofh.org.uk> Stephen Bannasch <stephen at deanbrook.org> writes: > I'm pretty new to Ruby and Rails and I like to be able to create urls > with an extension suffix similar to how Typo does this for the feed > urls. However I need a bit of help understanding how this works in > Typo. > > The Sidebar 'Articles' feed is generated here: > > components/plugins/sidebars/xml/content.rhtml > > with this script fragment: > > <%= url_for :controller=>'xml', :action=>'feed', :format => > @sb_config['format'], :type => 'trackbacks' %> > > In my case @sb_config['format'] == 'rss20' and it produces urls in > the following form: > > http://localhost:3000/xml/rss20/feed.xml > > config/route.rb processes this url with this map: > > map.xml 'xml/rss', :controller => 'xml', :action => 'feed', :type => > 'feed', :format => 'rss' > > So clicking on the link runs XmlController#feed in > apps/controllers/xml_controller.rb. Which calls the renderer at > views/xml/rss20_feed.rxml (and a partial) which actually generates > the xml feed. > > I've discovered that if I take out ':format => @sb_config['format']' > from the url_for link the '.xml' suffix is no longer generated but > I'm having trouble going further. The magic's all in config/routes.rb Notice that we add the .xml extension there. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From kevin at sb.org Fri Mar 31 02:15:13 2006 From: kevin at sb.org (Kevin Ballard) Date: Thu, 30 Mar 2006 23:15:13 -0800 Subject: [typo] Trac and ticket properties Message-ID: <A72760C0-4D2E-40DB-BCAA-06CC2B204731@sb.org> I just disabled property changing for anonymous users on typosphere.org/trac/. The reason being because we get a lot of spam, and spam that changes properties takes far more work to delete than simple comment spam. If you need properties changed on a ticket, you can always ask one of the admins (quickest way is the #typo channel on irc.freenode.net), or post a comment and hope we see it (unfortunately comments don't show in the Trac timeline view). I would like to come up with a better solution, but this is what we have for now. If this causes a serious problem I'll put it back the way it was, and if anybody has any better ideas at combating spam please let me know. Thanks, Kevin Ballard -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060330/8970831d/attachment-0001.bin From kevin at sb.org Fri Mar 31 02:20:32 2006 From: kevin at sb.org (Kevin Ballard) Date: Thu, 30 Mar 2006 23:20:32 -0800 Subject: [typo] Towards 4.0.0 In-Reply-To: <m2u09f8e6i.fsf@obelisk.bofh.org.uk> References: <m23bh0qqrn.fsf@obelisk.bofh.org.uk> <20060330192720.GA27468@diaspora.gen.nz> <m2u09f8e6i.fsf@obelisk.bofh.org.uk> Message-ID: <3882453F-E946-4006-97F7-3A342860CF63@sb.org> Quick tip - make sure you remove most of the stuff from <head> and use <%= page_header %> (that's off the top of my head, function name might be slightly off). Look at Azure as an example. The theme will work without that, but lightbox won't, nor will any other lightbox- esque additions in the future. On Mar 30, 2006, at 7:51 PM, Piers Cawley wrote: > Actually, I'm about to have a crack at adapting one of the competition > themes to the trunk myself. Since I can't quite remember what *has* > changed, I shall keep notes as I make the changes (or at least run > diff on the results and extract instructions from there). -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060330/7142846c/attachment.bin From cedric at feelfree.homelinux.com Fri Mar 31 02:31:40 2006 From: cedric at feelfree.homelinux.com (cedric) Date: Fri, 31 Mar 2006 09:31:40 +0200 (CEST) Subject: [typo] Towards 4.0.0 In-Reply-To: <3882453F-E946-4006-97F7-3A342860CF63@sb.org> References: <m23bh0qqrn.fsf@obelisk.bofh.org.uk> <20060330192720.GA27468@diaspora.gen.nz> <m2u09f8e6i.fsf@obelisk.bofh.org.uk> <3882453F-E946-4006-97F7-3A342860CF63@sb.org> Message-ID: <46065.212.215.1.67.1143790300.squirrel@kobayazen.ath.cx> I think it could be a good thing to put on the wiki in a "Tips' page" > Quick tip - make sure you remove most of the stuff from <head> and > use <%= page_header %> (that's off the top of my head, function name > might be slightly off). Look at Azure as an example. The theme will > work without that, but lightbox won't, nor will any other lightbox- > esque additions in the future. > > On Mar 30, 2006, at 7:51 PM, Piers Cawley wrote: > >> Actually, I'm about to have a crack at adapting one of the competition >> themes to the trunk myself. Since I can't quite remember what *has* >> changed, I shall keep notes as I make the changes (or at least run >> diff on the results and extract instructions from there). > > -- > Kevin Ballard > kevin at sb.org > http://kevin.sb.org > http://www.tildesoft.com > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list From paulrbrown at gmail.com Fri Mar 31 02:30:33 2006 From: paulrbrown at gmail.com (Paul R Brown) Date: Thu, 30 Mar 2006 23:30:33 -0800 Subject: [typo] How to modularize feed autodiscovery? Message-ID: <AC75E89E-A4E0-406C-B52D-02D9BDF6426C@gmail.com> Hello, All -- I wrote a simple Feedburner sidebar for Typo in about fifteen minutes -- kudos to the designer of the sidebar API. However, sidebars don't have the ability to influence some of the core aspects of typo, e.g., how autodiscovery feed URLs are set. I'd like the plugin to be able to set the autodiscovery feed URL (in /html/head/link [@type='application/atom+xml']/@href, for example). Any thoughts about how this could be accomplished within typo and with minimal disturbance? -- Paul From m.langenberg at newminds.nl Fri Mar 31 03:47:23 2006 From: m.langenberg at newminds.nl (Matthijs Langenberg) Date: Fri, 31 Mar 2006 10:47:23 +0200 Subject: [typo] Multilanguage translation of Typo Message-ID: <1143794843.8663.23.camel@localhost.localdomain> Good morning, We are working on a typo installation for a customer, one of their requirements is typo in three native languages (dutch, german and english). Currently we are wondering if there is already any progress in making Typo multi language, or that we should start from the beginning? We are only interested in a translation of the front-end, if anybody is already busy with that we might help a hand. If there isn't much of the translation going on at the moment we were thinking of creating the following quick solution for our customer: Setup three Typo installations, one for each language, and use gettext to make a native translation, which might not be a great contribution to Typo. So actually we are just wondering about the current status of a multi language feature. Regards, Matthijs Langenberg Newminds make IT happen B.V. Email: m.langenberg at newminds.nl From pdcawley at bofh.org.uk Fri Mar 31 04:46:54 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Fri, 31 Mar 2006 10:46:54 +0100 Subject: [typo] Towards 4.0.0 In-Reply-To: <46065.212.215.1.67.1143790300.squirrel@kobayazen.ath.cx> (cedric@feelfree.homelinux.com's message of "Fri, 31 Mar 2006 09:31:40 +0200 (CEST)") References: <m23bh0qqrn.fsf@obelisk.bofh.org.uk> <20060330192720.GA27468@diaspora.gen.nz> <m2u09f8e6i.fsf@obelisk.bofh.org.uk> <3882453F-E946-4006-97F7-3A342860CF63@sb.org> <46065.212.215.1.67.1143790300.squirrel@kobayazen.ath.cx> Message-ID: <m28xqrrlo1.fsf@obelisk.bofh.org.uk> "cedric" <cedric at feelfree.homelinux.com> writes: > Kevin Ballard wrote: >> Quick tip - make sure you remove most of the stuff from <head> and >> use <%= page_header %> (that's off the top of my head, function name >> might be slightly off). Look at Azure as an example. The theme will >> work without that, but lightbox won't, nor will any other lightbox- >> esque additions in the future. > > I think it could be a good thing to put on the wiki in a "Tips' > page" I really hate top quoting... but maybe that just means I'm old school[1] or something. But yes, it's probably as well to open a ThemePorting page. However, I keep looking at the most fundamental change that has to be made -- replace article.body_html with article_html(article, :body) -- and loathing the new style with such intensity that I just want to make the old way work. 1. Says the man with the 10 year old email address -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From pdcawley at bofh.org.uk Fri Mar 31 04:56:03 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Fri, 31 Mar 2006 10:56:03 +0100 Subject: [typo] How to modularize feed autodiscovery? In-Reply-To: <AC75E89E-A4E0-406C-B52D-02D9BDF6426C@gmail.com> (Paul R. Brown's message of "Thu, 30 Mar 2006 23:30:33 -0800") References: <AC75E89E-A4E0-406C-B52D-02D9BDF6426C@gmail.com> Message-ID: <m24q1frl8s.fsf@obelisk.bofh.org.uk> Paul R Brown <paulrbrown at gmail.com> writes: > Hello, All -- > > I wrote a simple Feedburner sidebar for Typo in about fifteen minutes > -- kudos to the designer of the sidebar API. However, sidebars don't > have the ability to influence some of the core aspects of typo, e.g., > how autodiscovery feed URLs are set. I'd like the plugin to be able > to set the autodiscovery feed URL (in /html/head/link > [@type='application/atom+xml']/@href, for example). > > Any thoughts about how this could be accomplished within typo and > with minimal disturbance? Not yet. Write us a ticket outlining what you want to do and stick it in the trac (http://www.typosphere.org/trac) please. Same goes for any other enhancement people are after; stick 'em in the track marked as an enhancement. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From kevin at sb.org Fri Mar 31 05:36:20 2006 From: kevin at sb.org (Kevin Ballard) Date: Fri, 31 Mar 2006 02:36:20 -0800 Subject: [typo] How to modularize feed autodiscovery? In-Reply-To: <AC75E89E-A4E0-406C-B52D-02D9BDF6426C@gmail.com> References: <AC75E89E-A4E0-406C-B52D-02D9BDF6426C@gmail.com> Message-ID: <065D9794-44C0-44DE-AD67-D2133ED1378D@sb.org> It should actually be possible right now using the whiteboard - look at the lightbox textfilter macro to see how to add page header tags via the article whiteboard. That said, there might be (or maybe should be) a better way for sidebars. On Mar 30, 2006, at 11:30 PM, Paul R Brown wrote: > I wrote a simple Feedburner sidebar for Typo in about fifteen minutes > -- kudos to the designer of the sidebar API. However, sidebars > don't > have the ability to influence some of the core aspects of typo, e.g., > how autodiscovery feed URLs are set. I'd like the plugin to be able > to set the autodiscovery feed URL (in /html/head/link > [@type='application/atom+xml']/@href, for example). > > Any thoughts about how this could be accomplished within typo and > with minimal disturbance? -- Kevin Ballard kevin at sb.org http://kevin.sb.org http://www.tildesoft.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2378 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20060331/dc28b557/attachment.bin From stephen at deanbrook.org Fri Mar 31 08:01:39 2006 From: stephen at deanbrook.org (Stephen Bannasch) Date: Fri, 31 Mar 2006 08:01:39 -0500 Subject: [typo] how does typo produce feed urls with ".xml" suffix? In-Reply-To: <m2lkur882s.fsf@obelisk.bofh.org.uk> References: <m23bh0qqrn.fsf@obelisk.bofh.org.uk> <20060330192720.GA27468@diaspora.gen.nz> <m2u09f8e6i.fsf@obelisk.bofh.org.uk> <p0623090bc05261d25aee@[10.11.12.219]> <m2lkur882s.fsf@obelisk.bofh.org.uk> Message-ID: <p0623090dc052d5c15d0d@[10.11.12.219]> >Stephen Bannasch <stephen at deanbrook.org> writes: > >> I'm pretty new to Ruby and Rails and I like to be able to create urls >> with an extension suffix similar to how Typo does this for the feed >> urls. However I need a bit of help understanding how this works in > > Typo. > >The magic's all in config/routes.rb > >Notice that we add the .xml extension there. Hi Piers, I see it now. These lines match feed urls with ".xml" at the end and route off to the feed action in XmlController. map.xml 'xml/:format/feed.xml', :controller => 'xml', :action => 'feed', :type => 'feed' map.xml 'xml/:format/:type/feed.xml', :controller => 'xml', :action => 'feed' map.xml 'xml/:format/:type/:id/feed.xml', :controller => 'xml', :action => 'feed' That's one half of the answer -- the other half I'm still confused by. How do the original displayed feed urls in components/plugins/sidebars/xml/content.rhtml get rendered with the ".xml" suffix? > > The Sidebar 'Articles' feed is generated here: >> > > components/plugins/sidebars/xml/content.rhtml >> >> with this script fragment: >> >> <%= url_for :controller=>'xml', :action=>'feed', :format => >> @sb_config['format'], :type => 'trackbacks' %> >> >> In my case @sb_config['format'] == 'rss20' and it produces urls in >> the following form: >> >> http://localhost:3000/xml/rss20/feed.xml Thanks for your help. -- -- Stephen Bannasch, stephen at deanbrook dot org From pdcawley at bofh.org.uk Fri Mar 31 08:35:38 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Fri, 31 Mar 2006 14:35:38 +0100 Subject: [typo] how does typo produce feed urls with ".xml" suffix? In-Reply-To: <p0623090dc052d5c15d0d@[10.11.12.219]> (Stephen Bannasch's message of "Fri, 31 Mar 2006 08:01:39 -0500") References: <m23bh0qqrn.fsf@obelisk.bofh.org.uk> <20060330192720.GA27468@diaspora.gen.nz> <m2u09f8e6i.fsf@obelisk.bofh.org.uk> <p0623090bc05261d25aee@[10.11.12.219]> <m2lkur882s.fsf@obelisk.bofh.org.uk> <p0623090dc052d5c15d0d@[10.11.12.219]> Message-ID: <m2hd5e91p1.fsf@obelisk.bofh.org.uk> Stephen Bannasch <stephen at deanbrook.org> writes: >>Stephen Bannasch <stephen at deanbrook.org> writes: >> >>> I'm pretty new to Ruby and Rails and I like to be able to create urls >>> with an extension suffix similar to how Typo does this for the feed >>> urls. However I need a bit of help understanding how this works in >> > Typo. >> >>The magic's all in config/routes.rb >> >>Notice that we add the .xml extension there. > > Hi Piers, > > I see it now. These lines match feed urls with ".xml" at the end and route off to the feed action in XmlController. > > map.xml 'xml/:format/feed.xml', :controller => 'xml', :action => 'feed', :type => 'feed' > map.xml 'xml/:format/:type/feed.xml', :controller => 'xml', :action => 'feed' > map.xml 'xml/:format/:type/:id/feed.xml', :controller => 'xml', :action => 'feed' > > That's one half of the answer -- the other half I'm still confused by. > > How do the original displayed feed urls in > components/plugins/sidebars/xml/content.rhtml get rendered with the > ".xml" suffix? Routes are a two way thing. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From scott at sigkill.org Fri Mar 31 09:28:59 2006 From: scott at sigkill.org (Scott Laird) Date: Fri, 31 Mar 2006 06:28:59 -0800 Subject: [typo] Mysql Collation Questions In-Reply-To: <a57a7262ac756ae471b2a17f084bbf21@gmail.com> References: <a57a7262ac756ae471b2a17f084bbf21@gmail.com> Message-ID: <14b7e5ef0603310628j6b1b43a7ye3acece193a55e39@mail.gmail.com> To the best of my knowedge, we aren't explicitly setting any characterset or language settings. Look at db/schema.mysql.sql. So, I'd guessthat your Mysql is defaulting to Swedish for some reason. I don'tknow enough about Swedish to know if its collation settings aredifferent then English's in any meaningful way. I know that Dutch isdifferent (ij), but I'm lost WRT most other European languages. Scott On 3/30/06, Jason Froderman <froderman at gmail.com> wrote:> I've noticed that the schema in typo has collation of: latin1_swedish_ci>> I don't know much about collation except for the ability to sort> differently by specifying "COLLATE"...>> Is there any reason (or reason against) changing the collation from> swedish to general? What's the usual collation chosen for the United> States or the UK?>> If it's a worthy enough idea of changing, is there an easy way to> change collation recursively...I know you can apply a collation change> to a db, table, and then table fields...doing all that separately would> take a lot of work.>> Thanks for the info,> Jason>> _______________________________________________> Typo-list mailing list> Typo-list at rubyforge.org> http://rubyforge.org/mailman/listinfo/typo-list> From chrismc at ozarkmountain.net Fri Mar 31 10:32:58 2006 From: chrismc at ozarkmountain.net (Chris McCracken) Date: Fri, 31 Mar 2006 09:32:58 -0600 Subject: [typo] REST ping (client) Message-ID: <442D4BA9.5020307@ozarkmountain.net> It looks like the "Send Pings" client in Typo only supports the XML-RPC implementation. The weblogs.com spec for the ping API (http://www.weblogs.com/api.html) also has a REST implementation. XML-RPC is certainly the more robust of the two, but the REST option is used (even exclusively) by a lot of sites. Any idea how hard it would be to implement a REST ping client? From chrismc at ozarkmountain.net Fri Mar 31 10:45:34 2006 From: chrismc at ozarkmountain.net (Chris McCracken) Date: Fri, 31 Mar 2006 09:45:34 -0600 Subject: [typo] REST ping (client) Message-ID: <442D4E9E.9060204@ozarkmountain.net> > > It looks like the "Send Pings" client in Typo only supports the XML-RPC > implementation. The weblogs.com spec for the ping API > (http://www.weblogs.com/api.html) also has a REST implementation. > XML-RPC is certainly the more robust of the two, but the REST option is > used (even exclusively) by a lot of sites. Any idea how hard it would > be to implement a REST ping client? <http://permalink.gmane.org/gmane.comp.web.typo.user/2172>On second thought, I just put the REST ping URL into the list with the XML-RPC URLs and it worked fine. The REST ping is dumb enough that all it looks at are the var in the GET request. Everything else is discarded. Luckily, Typo doesn't seem to look for a valid XML-RPC response. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060331/8cfce8a6/attachment.htm From phil at cryer.us Fri Mar 31 10:50:57 2006 From: phil at cryer.us (phil) Date: Fri, 31 Mar 2006 9:50:57 -0600 Subject: [typo] Towards 4.0.0 In-Reply-To: <m2u09f8e6i.fsf@obelisk.bofh.org.uk> References: <m2u09f8e6i.fsf@obelisk.bofh.org.uk> Message-ID: <76775e5db0826f3a21b2445d25b6153c@pepe.cryer.us> On Fri, 31 Mar 2006 04:51:17 +0100, Piers Cawley <pdcawley at bofh.org.uk> wrote: > Actually, I'm about to have a crack at adapting one of the competition > themes to the trunk myself. Since I can't quite remember what *has* > changed, I shall keep notes as I make the changes (or at least run > diff on the results and extract instructions from there). I've had a heck of a time staying with a theme, as when I update to trunk oftentimes my site will work, but only display the titles, no content for my articles. Othertimes things look good until you click on a link, and then that page bombs with the 'permalink' error. Regardless of how much I love the Lucid theme, having to kill the public/ directory and clearing the cache to get (parts of it) to work right after an update is too much. I'm now using the excellent 'Scribage', but I haven't modified it at all. I think having 4-5 nice contest themes packaged into 4.0 would be nice, that way we'd have some 'just work' themes for that, and then hopefully Typogarden can start tagging themes with which ver they're known to work on. P -- http://fak3r.com - you dont have to kick it From stephen at deanbrook.org Fri Mar 31 11:07:23 2006 From: stephen at deanbrook.org (Stephen Bannasch) Date: Fri, 31 Mar 2006 11:07:23 -0500 Subject: [typo] how does typo produce feed urls with ".xml" suffix? In-Reply-To: <m2hd5e91p1.fsf@obelisk.bofh.org.uk> References: <m23bh0qqrn.fsf@obelisk.bofh.org.uk> <20060330192720.GA27468@diaspora.gen.nz> <m2u09f8e6i.fsf@obelisk.bofh.org.uk> <p0623090bc05261d25aee@[10.11.12.219]> <m2lkur882s.fsf@obelisk.bofh.org.uk> <p0623090dc052d5c15d0d@[10.11.12.219]> <m2hd5e91p1.fsf@obelisk.bofh.org.uk> Message-ID: <p06230910c052ff7b5ae3@[10.11.12.219]> Piers wrote: >Routes are a two way thing. Aha! I hadn't realized that the routes worked both ways (mapping incoming url requests AND as the template used to generate urls by the app). Thank you for pointing out the concept! Of course now looking back it is obvious that it has to work that way. I find it interesting reflecting on my process trying to figure this out. I tried to follow the url_for code in the rails source but I knew I was missing something. One part was getting my head around all the meta-programming used in Ruby and Rails and the other was the fact that as implemented in Rails routes affect both halves of the url process. -- -- Stephen Bannasch, stephen at deanbrook dot org From pdcawley at bofh.org.uk Fri Mar 31 15:21:07 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Fri, 31 Mar 2006 21:21:07 +0100 Subject: [typo] Waiting for 4.0.0 Message-ID: <m2odzmv00c.fsf@obelisk.bofh.org.uk> I don't suppose anyone's been keeping track of what's changed between the 2.x.x series typo and the trunk. There's the svn log, but it's not quite the most informative of documents. So, I've stubbed out http://www.typosphere.org/trac/wiki/NewInTheTrunk with some information on the changes. I would _really_ appreciate it if people could help fill this out; it will hopefully form the basis of the release notes when 4.0 comes out. aTdHvAaNnKcSe -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From pdcawley at bofh.org.uk Fri Mar 31 16:14:56 2006 From: pdcawley at bofh.org.uk (Piers Cawley) Date: Fri, 31 Mar 2006 22:14:56 +0100 Subject: [typo] What's your story? Message-ID: <m264lugvu7.fsf@obelisk.bofh.org.uk> I've justed added a new 'UserStory' ticket type in the typo trac. We want your stories of how you want typo to behave. Keep 'em short and pithy and name them well. A User Story is a couple of paragraphs or so describing some desired behaviour of Typo, ideally headed by a descriptive title. In 'heavy' development circles they call 'em Use Cases and fence 'em in with an ungodly amount of ceremony. But we're Agile, dammit, so we call them Stories and have done with it! How to write your stories 1. Think about something you want to do with typo, or something that typo could do in a better way. 2. Describe how it should be done. 3. Give it a good title. 4. Stick it on the trac. A few writing guidelines: * Don't worry about implementation, that comes later. How should it work in a perfect world? * Try and keep it short. If it's big, break it down into smaller stories, each describing a simple interaction. * If they're not particularly clear by themselves, you can link them together by adding a context section with a pointer to the preceding story and (possibly) a 'leads to' section that points to the next stage(s). * In extreme cases, write your story as wiki pages and link to them from a UserStory ticket. * Don't worry about justifying your story in the story itself; add a comment to your ticket with any justification you think is necessary. * Enjoy yourself. I'm looking for stories on comment and trackback spam prevention, authoring workflow, theming, sidebar writing. Anything Typo related really. Knock yourselves out. -- Piers Cawley <pdcawley at bofh.org.uk> http://www.bofh.org.uk/ From cdvander at gmail.com Fri Mar 31 16:25:48 2006 From: cdvander at gmail.com (Cory Vander Jagt) Date: Fri, 31 Mar 2006 16:25:48 -0500 Subject: [typo] "Guid has already been taken" error Message-ID: <d4c464e00603311325l2579b9ebo40d8f85118d292a7@mail.gmail.com> hello - sorry for the spam if there is a better place to look for this sort of thing, but my old install of typo started acting strangely the other day so i tried to upgrade. i wasn't having much luck, so i did a fresh install of the latest trunk release (977 i believe) and then imported my old articles from a text file. that worked fine, except now, when i try to post a new article i get the following error: 1 error prohibited this article from being saved > > There were problems with the following fields: > > * Guid has already been taken > I've tried changing and even deleting the old guid's from the database but that doesn't help. any suggestions? thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/typo-list/attachments/20060331/44380d50/attachment.htm From ziplux at comcast.net Fri Mar 31 22:02:32 2006 From: ziplux at comcast.net (Jared Luxenberg) Date: Fri, 31 Mar 2006 22:02:32 -0500 Subject: [typo] how to paste code to the list In-Reply-To: <CEF03CFE-4F28-4AF5-B29F-6716FCC9CF7C@grovernetwork.com> References: <mailman.4033.1143741688.25833.typo-list@rubyforge.org> <CEF03CFE-4F28-4AF5-B29F-6716FCC9CF7C@grovernetwork.com> Message-ID: <442DED48.6070107@comcast.net> > Kevin, next time, paste your log here: http://rafb.net/paste/ > > Please, please do _not_ do this...it makes the mailing list archives useless. Unless I'm wrong and pasting code is bad netiquette. - Jared