From frederic at de-villamil.com Mon Apr 5 14:18:23 2010 From: frederic at de-villamil.com (=?iso-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Mon, 5 Apr 2010 20:18:23 +0200 Subject: [typo] [ANN] Release of Typo 5.4.4 Message-ID: <5A40FA6D-45B4-43A3-A333-70B779E33174@de-villamil.com> Hello, Coming without Easter eggs, we're happy to announce the release of Typo 5.4.4, fourth of the Willy Ronis series. Amongst many other things, that version fixes a critical bug in the editor that made it lost its content when publishing posts under certain circumstances. More to read on the usual release note: http://blog.typosphere.org/release-of-typo-5-4-4.html Cheers, Your Typo team -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From fabiano.francesconi at gmail.com Sat Apr 10 06:36:15 2010 From: fabiano.francesconi at gmail.com (Fabiano Francesconi) Date: Sat, 10 Apr 2010 12:36:15 +0200 Subject: [typo] Typo Blog eMail Notification Message-ID: <20100410103615.GA12783@whitebox> Hello guys, I'd like to setup typo blog to send mail notification whenever an user posts a comment. I guess there's something unclear around this topic since I can't find an official documentation explaining how really does work email notification. However, the things are: * Can Typo send a notification to me (the blog-maintainer) when an user posts a comment? * Can Typo send a notification to every user that had commented some blog-post when another user (or me) reply to the same post? * Does typo allow users to subscribe to comments or new articles? * Can I set typo to use my gmail account to send emails? I'm sorry if there's a page that explain this but I can't find it. Thank you -- Fabiano Francesconi [GPG key: 0x81E53461] From jonelf at gmail.com Thu Apr 15 07:42:00 2010 From: jonelf at gmail.com (=?ISO-8859-1?Q?Jonas_Elfstr=F6m?=) Date: Thu, 15 Apr 2010 13:42:00 +0200 Subject: [typo] Typo Blog eMail Notification In-Reply-To: <20100410103615.GA12783@whitebox> References: <20100410103615.GA12783@whitebox> Message-ID: On Sat, Apr 10, 2010 at 12:36 PM, Fabiano Francesconi wrote: > * Can Typo send a notification to me (the blog-maintainer) when an user > posts a comment? Another solution is to subscribe to your comments feed in Google Reader. At least in older versions of Typo you could find it at http://yoursite.com/xml/rss20/comments/feed.xml -- Jonas Elfstr?m From frederic at de-villamil.com Thu Apr 15 08:39:17 2010 From: frederic at de-villamil.com (=?iso-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Thu, 15 Apr 2010 14:39:17 +0200 Subject: [typo] Typo Blog eMail Notification In-Reply-To: References: <20100410103615.GA12783@whitebox> Message-ID: <59EE410A-BECE-4567-A14D-59D6FF25D8F2@de-villamil.com> Le 15 avr. 2010 ? 13:42, Jonas Elfstr?m a ?crit : > On Sat, Apr 10, 2010 at 12:36 PM, Fabiano Francesconi > wrote: >> * Can Typo send a notification to me (the blog-maintainer) when an user >> posts a comment? > > Another solution is to subscribe to your comments feed in Google Reader. > At least in older versions of Typo you could find it at > http://yoursite.com/xml/rss20/comments/feed.xml Hello, Didn't see that thread sorry. Just go into the admin, edit your profile, chose to be notified when someone is posting a comment, save. And you're done. In the future, I'll make this mandatory for every admin and publisher user. Regards, Fr?d?ric -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From fabiano.francesconi at gmail.com Thu Apr 15 09:07:21 2010 From: fabiano.francesconi at gmail.com (Fabiano Francesconi) Date: Thu, 15 Apr 2010 15:07:21 +0200 Subject: [typo] Typo Blog eMail Notification In-Reply-To: <59EE410A-BECE-4567-A14D-59D6FF25D8F2@de-villamil.com> References: <20100410103615.GA12783@whitebox> <59EE410A-BECE-4567-A14D-59D6FF25D8F2@de-villamil.com> Message-ID: <20100415130721.GA26186@whitebox> On Thu, Apr 15, 2010 at 02:39:17PM +0200, de Villamil Fr?d?ric wrote: > > Le 15 avr. 2010 ? 13:42, Jonas Elfstr?m a ?crit : > > > On Sat, Apr 10, 2010 at 12:36 PM, Fabiano Francesconi > > wrote: > >> * Can Typo send a notification to me (the blog-maintainer) when an user > >> posts a comment? > > > > Another solution is to subscribe to your comments feed in Google Reader. > > At least in older versions of Typo you could find it at > > http://yoursite.com/xml/rss20/comments/feed.xml > > > Hello, > > Didn't see that thread sorry. > Just go into the admin, edit your profile, chose to be notified when someone is posting a comment, save. > > And you're done. > > In the future, I'll make this mandatory for every admin and publisher user. > > Regards, > Fr?d?ric > > -- > Fr?d?ric de Villamil > "What's mine is mine. What's yours is still unsetteled" ? Go player proverb > frederic at de-villamil.com tel: +33 (0)6 62 19 1337 > http://t37.net Typo : http://typosphere.org > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list Kind of blind, here. eheh. Thanks for pointing that out. I've marked two checkboxes: "Send notification messages via email" and "Send notification messages when comments are posted". My email address is set into User's settings section; into Settings ? Feedback ? Source Email there's my mailbox (the same that's into User's settings page). Still cannot receive emails. I tried to take a look at the logs and the only line that makes me suspicious is the following one: [SP] Scanning IP 192.168.0.254 Sent mail to Completed in 1534ms (View: 50, DB: 60) | 200 OK There's my LAN IP (and that's ok); the second lines shows an incomplete line (for how I see it). Seems like my email address isn't read from the db. -- Fabiano Francesconi [GPG key: 0x81E53461] From frederic at de-villamil.com Thu Apr 15 09:41:54 2010 From: frederic at de-villamil.com (=?iso-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Thu, 15 Apr 2010 15:41:54 +0200 Subject: [typo] Typo Blog eMail Notification In-Reply-To: <20100415130721.GA26186@whitebox> References: <20100410103615.GA12783@whitebox> <59EE410A-BECE-4567-A14D-59D6FF25D8F2@de-villamil.com> <20100415130721.GA26186@whitebox> Message-ID: Le 15 avr. 2010 ? 15:07, Fabiano Francesconi a ?crit : > On Thu, Apr 15, 2010 at 02:39:17PM +0200, de Villamil Fr?d?ric wrote: >> >> Le 15 avr. 2010 ? 13:42, Jonas Elfstr?m a ?crit : >> >>> On Sat, Apr 10, 2010 at 12:36 PM, Fabiano Francesconi >>> wrote: >>>> * Can Typo send a notification to me (the blog-maintainer) when an user >>>> posts a comment? >>> >>> Another solution is to subscribe to your comments feed in Google Reader. >>> At least in older versions of Typo you could find it at >>> http://yoursite.com/xml/rss20/comments/feed.xml >> >> >> Hello, >> >> Didn't see that thread sorry. >> Just go into the admin, edit your profile, chose to be notified when someone is posting a comment, save. >> >> And you're done. >> >> In the future, I'll make this mandatory for every admin and publisher user. >> >> Regards, >> Fr?d?ric >> >> -- >> Fr?d?ric de Villamil >> "What's mine is mine. What's yours is still unsetteled" ? Go player proverb >> frederic at de-villamil.com tel: +33 (0)6 62 19 1337 >> http://t37.net Typo : http://typosphere.org >> >> _______________________________________________ >> Typo-list mailing list >> Typo-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/typo-list > > Kind of blind, here. eheh. > Thanks for pointing that out. > > I've marked two checkboxes: "Send notification messages via email" and > "Send notification messages when comments are posted". > > My email address is set into User's settings section; into Settings ? > Feedback ? Source Email there's my mailbox (the same that's into User's > settings page). > > Still cannot receive emails. > > I tried to take a look at the logs and the only line that makes me > suspicious is the following one: > > [SP] Scanning IP 192.168.0.254 > Sent mail to > Completed in 1534ms (View: 50, DB: 60) | 200 OK > > There's my LAN IP (and that's ok); the second lines shows an incomplete > line (for how I see it). Seems like my email address isn't read from the > db. > > Please, can you tell me if your Typo is running in production or development mode? And if your server can actually send emails ? And does your user have an email ? -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From fabiano.francesconi at gmail.com Thu Apr 15 10:32:27 2010 From: fabiano.francesconi at gmail.com (Fabiano Francesconi) Date: Thu, 15 Apr 2010 16:32:27 +0200 Subject: [typo] Typo Blog eMail Notification In-Reply-To: References: <20100410103615.GA12783@whitebox> <59EE410A-BECE-4567-A14D-59D6FF25D8F2@de-villamil.com> <20100415130721.GA26186@whitebox> Message-ID: <20100415143226.GA31520@whitebox> On Thu, Apr 15, 2010 at 03:41:54PM +0200, de Villamil Fr?d?ric wrote: > > Le 15 avr. 2010 ? 15:07, Fabiano Francesconi a ?crit : > > > On Thu, Apr 15, 2010 at 02:39:17PM +0200, de Villamil Fr?d?ric wrote: > >> > >> Le 15 avr. 2010 ? 13:42, Jonas Elfstr?m a ?crit : > >> > >>> On Sat, Apr 10, 2010 at 12:36 PM, Fabiano Francesconi > >>> wrote: > >>>> * Can Typo send a notification to me (the blog-maintainer) when an user > >>>> posts a comment? > >>> > >>> Another solution is to subscribe to your comments feed in Google Reader. > >>> At least in older versions of Typo you could find it at > >>> http://yoursite.com/xml/rss20/comments/feed.xml > >> > >> > >> Hello, > >> > >> Didn't see that thread sorry. > >> Just go into the admin, edit your profile, chose to be notified when someone is posting a comment, save. > >> > >> And you're done. > >> > >> In the future, I'll make this mandatory for every admin and publisher user. > >> > >> Regards, > >> Fr?d?ric > >> > >> -- > >> Fr?d?ric de Villamil > >> "What's mine is mine. What's yours is still unsetteled" ? Go player proverb > >> frederic at de-villamil.com tel: +33 (0)6 62 19 1337 > >> http://t37.net Typo : http://typosphere.org > >> > >> _______________________________________________ > >> Typo-list mailing list > >> Typo-list at rubyforge.org > >> http://rubyforge.org/mailman/listinfo/typo-list > > > > Kind of blind, here. eheh. > > Thanks for pointing that out. > > > > I've marked two checkboxes: "Send notification messages via email" and > > "Send notification messages when comments are posted". > > > > My email address is set into User's settings section; into Settings ? > > Feedback ? Source Email there's my mailbox (the same that's into User's > > settings page). > > > > Still cannot receive emails. > > > > I tried to take a look at the logs and the only line that makes me > > suspicious is the following one: > > > > [SP] Scanning IP 192.168.0.254 > > Sent mail to > > Completed in 1534ms (View: 50, DB: 60) | 200 OK > > > > There's my LAN IP (and that's ok); the second lines shows an incomplete > > line (for how I see it). Seems like my email address isn't read from the > > db. > > > > > > Please, can you tell me if your Typo is running in production or development mode? > And if your server can actually send emails ? > And does your user have an email ? > > > -- > Fr?d?ric de Villamil > "What's mine is mine. What's yours is still unsetteled" ? Go player proverb > frederic at de-villamil.com tel: +33 (0)6 62 19 1337 > http://t37.net Typo : http://typosphere.org > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list By running Typo in development mode I can see the whole message. To: and From: mail addresses are correct . The mail isn't dispatched. How can I test if server can send emails? I'll write here my mail configuration: method: :smtp settings: :address: mygmailusernameatgmaildotcom :port: 587 :domain: smtp.gmail.com :authentication: :login :user_name: mygmailusername :password: mygmailpassword Shouldn't be enough? -- Fabiano Francesconi [GPG key: 0x81E53461] From jonelf at gmail.com Thu Apr 15 13:03:42 2010 From: jonelf at gmail.com (=?ISO-8859-1?Q?Jonas_Elfstr=F6m?=) Date: Thu, 15 Apr 2010 19:03:42 +0200 Subject: [typo] Typo Blog eMail Notification In-Reply-To: <20100415143226.GA31520@whitebox> References: <20100410103615.GA12783@whitebox> <59EE410A-BECE-4567-A14D-59D6FF25D8F2@de-villamil.com> <20100415130721.GA26186@whitebox> <20100415143226.GA31520@whitebox> Message-ID: On Thu, Apr 15, 2010 at 4:32 PM, Fabiano Francesconi wrote: > I'll write here my mail configuration: > > method: :smtp > settings: > ?:address: mygmailusernameatgmaildotcom > ?:port: ? ?587 > ?:domain: ?smtp.gmail.com > ?:authentication: ?:login > ?:user_name: mygmailusername > ?:password: mygmailpassword > > Shouldn't be enough? Only if it supports TLS or SSL. http://mail.google.com/support/bin/answer.py?hl=en&answer=13287 -- Jonas Elfstr?m From fabiano.francesconi at gmail.com Thu Apr 15 13:11:15 2010 From: fabiano.francesconi at gmail.com (Fabiano Francesconi) Date: Thu, 15 Apr 2010 19:11:15 +0200 Subject: [typo] Typo Blog eMail Notification In-Reply-To: References: <20100410103615.GA12783@whitebox> <59EE410A-BECE-4567-A14D-59D6FF25D8F2@de-villamil.com> <20100415130721.GA26186@whitebox> <20100415143226.GA31520@whitebox> Message-ID: <20100415171115.GC185@snowbox> On Thu, Apr 15, 2010 at 07:03:42PM +0200, Jonas Elfstr?m wrote: > On Thu, Apr 15, 2010 at 4:32 PM, Fabiano Francesconi > wrote: > > I'll write here my mail configuration: > > > > method: :smtp > > settings: > > ?:address: mygmailusernameatgmaildotcom > > ?:port: ? ?587 > > ?:domain: ?smtp.gmail.com > > ?:authentication: ?:login > > ?:user_name: mygmailusername > > ?:password: mygmailpassword > > > > Shouldn't be enough? > > Only if it supports TLS or SSL. > http://mail.google.com/support/bin/answer.py?hl=en&answer=13287 > > -- > Jonas Elfstr?m > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list I sincerely don't know it -- Fabiano Francesconi [GPG key: 0x81E53461] From frederic at de-villamil.com Fri Apr 16 14:50:05 2010 From: frederic at de-villamil.com (=?iso-8859-1?Q?de_Villamil_Fr=E9d=E9ric?=) Date: Fri, 16 Apr 2010 20:50:05 +0200 Subject: [typo] Typo Blog eMail Notification In-Reply-To: <20100415171115.GC185@snowbox> References: <20100410103615.GA12783@whitebox> <59EE410A-BECE-4567-A14D-59D6FF25D8F2@de-villamil.com> <20100415130721.GA26186@whitebox> <20100415143226.GA31520@whitebox> <20100415171115.GC185@snowbox> Message-ID: <69636C4B-3370-4808-A5C2-4D1646CFFDD5@de-villamil.com> Le 15 avr. 2010 ? 19:11, Fabiano Francesconi a ?crit : > On Thu, Apr 15, 2010 at 07:03:42PM +0200, Jonas Elfstr?m wrote: >> On Thu, Apr 15, 2010 at 4:32 PM, Fabiano Francesconi >> wrote: >>> I'll write here my mail configuration: >>> >>> method: :smtp >>> settings: >>> :address: mygmailusernameatgmaildotcom >>> :port: 587 >>> :domain: smtp.gmail.com >>> :authentication: :login >>> :user_name: mygmailusername >>> :password: mygmailpassword >>> >>> Shouldn't be enough? >> >> Only if it supports TLS or SSL. >> http://mail.google.com/support/bin/answer.py?hl=en&answer=13287 >> >> -- >> Jonas Elfstr?m >> _______________________________________________ >> Typo-list mailing list >> Typo-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/typo-list > > I sincerely don't know it > > Hello, By default, Rails (and Typo) are not powered to send emails using a TLS enabled SMTP. I've writen a small tutorial on how to do it at blog.typosphere.org/having-typo-sending-emails-using-gmail-or-any-other-tls-enabled-smtp.html Cheers, Fr?d?ric / neuro` -- Fr?d?ric de Villamil "What's mine is mine. What's yours is still unsetteled" ? Go player proverb frederic at de-villamil.com tel: +33 (0)6 62 19 1337 http://t37.net Typo : http://typosphere.org From fabiano.francesconi at gmail.com Fri Apr 16 18:39:36 2010 From: fabiano.francesconi at gmail.com (Fabiano Francesconi) Date: Sat, 17 Apr 2010 00:39:36 +0200 Subject: [typo] Typo Blog eMail Notification In-Reply-To: <69636C4B-3370-4808-A5C2-4D1646CFFDD5@de-villamil.com> References: <20100410103615.GA12783@whitebox> <59EE410A-BECE-4567-A14D-59D6FF25D8F2@de-villamil.com> <20100415130721.GA26186@whitebox> <20100415143226.GA31520@whitebox> <20100415171115.GC185@snowbox> <69636C4B-3370-4808-A5C2-4D1646CFFDD5@de-villamil.com> Message-ID: <20100416223934.GA22629@whitebox> On Fri, Apr 16, 2010 at 08:50:05PM +0200, de Villamil Fr?d?ric wrote: > > Le 15 avr. 2010 ? 19:11, Fabiano Francesconi a ?crit : > > > On Thu, Apr 15, 2010 at 07:03:42PM +0200, Jonas Elfstr?m wrote: > >> On Thu, Apr 15, 2010 at 4:32 PM, Fabiano Francesconi > >> wrote: > >>> I'll write here my mail configuration: > >>> > >>> method: :smtp > >>> settings: > >>> :address: mygmailusernameatgmaildotcom > >>> :port: 587 > >>> :domain: smtp.gmail.com > >>> :authentication: :login > >>> :user_name: mygmailusername > >>> :password: mygmailpassword > >>> > >>> Shouldn't be enough? > >> > >> Only if it supports TLS or SSL. > >> http://mail.google.com/support/bin/answer.py?hl=en&answer=13287 > >> > >> -- > >> Jonas Elfstr?m > >> _______________________________________________ > >> Typo-list mailing list > >> Typo-list at rubyforge.org > >> http://rubyforge.org/mailman/listinfo/typo-list > > > > I sincerely don't know it > > > > > > Hello, > > By default, Rails (and Typo) are not powered to send emails using a TLS enabled SMTP. > > I've writen a small tutorial on how to do it at blog.typosphere.org/having-typo-sending-emails-using-gmail-or-any-other-tls-enabled-smtp.html > > Cheers, > Fr?d?ric / neuro` > > -- > Fr?d?ric de Villamil > "What's mine is mine. What's yours is still unsetteled" ? Go player proverb > frederic at de-villamil.com tel: +33 (0)6 62 19 1337 > http://t37.net Typo : http://typosphere.org > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list I'd like to add that git is necessary to install the plugin you mention in your blogpost. After installing git everything started running fine. Anyway I'd really enjoy a furthermore option to send plain-text emails instead of HTML. Keep going on. I really enjoy Typo and I really enjoy the work you are doing. I mean it. Thank you again. -- Fabiano Francesconi [GPG key: 0x81E53461] From fabiano.francesconi at gmail.com Fri Apr 16 18:42:18 2010 From: fabiano.francesconi at gmail.com (Fabiano Francesconi) Date: Sat, 17 Apr 2010 00:42:18 +0200 Subject: [typo] Typo Blog eMail Notification In-Reply-To: <69636C4B-3370-4808-A5C2-4D1646CFFDD5@de-villamil.com> References: <20100410103615.GA12783@whitebox> <59EE410A-BECE-4567-A14D-59D6FF25D8F2@de-villamil.com> <20100415130721.GA26186@whitebox> <20100415143226.GA31520@whitebox> <20100415171115.GC185@snowbox> <69636C4B-3370-4808-A5C2-4D1646CFFDD5@de-villamil.com> Message-ID: <20100416224217.GB22629@whitebox> On Fri, Apr 16, 2010 at 08:50:05PM +0200, de Villamil Fr?d?ric wrote: > > Le 15 avr. 2010 ? 19:11, Fabiano Francesconi a ?crit : > > > On Thu, Apr 15, 2010 at 07:03:42PM +0200, Jonas Elfstr?m wrote: > >> On Thu, Apr 15, 2010 at 4:32 PM, Fabiano Francesconi > >> wrote: > >>> I'll write here my mail configuration: > >>> > >>> method: :smtp > >>> settings: > >>> :address: mygmailusernameatgmaildotcom > >>> :port: 587 > >>> :domain: smtp.gmail.com > >>> :authentication: :login > >>> :user_name: mygmailusername > >>> :password: mygmailpassword > >>> > >>> Shouldn't be enough? > >> > >> Only if it supports TLS or SSL. > >> http://mail.google.com/support/bin/answer.py?hl=en&answer=13287 > >> > >> -- > >> Jonas Elfstr?m > >> _______________________________________________ > >> Typo-list mailing list > >> Typo-list at rubyforge.org > >> http://rubyforge.org/mailman/listinfo/typo-list > > > > I sincerely don't know it > > > > > > Hello, > > By default, Rails (and Typo) are not powered to send emails using a TLS enabled SMTP. > > I've writen a small tutorial on how to do it at blog.typosphere.org/having-typo-sending-emails-using-gmail-or-any-other-tls-enabled-smtp.html > > Cheers, > Fr?d?ric / neuro` > > -- > Fr?d?ric de Villamil > "What's mine is mine. What's yours is still unsetteled" ? Go player proverb > frederic at de-villamil.com tel: +33 (0)6 62 19 1337 > http://t37.net Typo : http://typosphere.org > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list A little "errata corrige". I didn't mean to say that git is mandatory to "install" the plugin, of course. Git is mandatory to *fetch* the plugin, indeed. -- Fabiano Francesconi [GPG key: 0x81E53461] From info at zachrose.info Sun Apr 18 02:27:02 2010 From: info at zachrose.info (Zach Rose) Date: Sat, 17 Apr 2010 23:27:02 -0700 Subject: [typo] Preventing caching for theme development Message-ID: I've seen a number of posts on this: http://www.mail-archive.com/typo-list at rubyforge.org/msg00362.html http://rubyforge.org/pipermail/typo-list/2005-August/000532.html http://scottstuff.net/blog/2005/08/08/problems-with-rails-and-page-caching I'm probably still missing something. When I go to edit the layout file in my theme, my site won't update until I select a different theme, load the page, reselect my theme, and load the page again. I've tried running 'script/server -e development', clearing the typo cache, and changing my environment files. Any ideas? Thanks, Zach -------------- next part -------------- An HTML attachment was scrubbed... URL: From fabiano.francesconi at gmail.com Sun Apr 18 06:01:12 2010 From: fabiano.francesconi at gmail.com (Fabiano Francesconi) Date: Sun, 18 Apr 2010 12:01:12 +0200 Subject: [typo] Preventing caching for theme development In-Reply-To: References: Message-ID: <20100418100111.GA13877@whitebox> On Sat, Apr 17, 2010 at 11:27:02PM -0700, Zach Rose wrote: > I've seen a number of posts on this: > > http://www.mail-archive.com/typo-list at rubyforge.org/msg00362.html > http://rubyforge.org/pipermail/typo-list/2005-August/000532.html > http://scottstuff.net/blog/2005/08/08/problems-with-rails-and-page-caching > > I'm probably still missing something. When I go to edit the layout file in > my theme, my site won't update until I select a different theme, load the > page, reselect my theme, and load the page again. I've tried running > 'script/server -e development', clearing the typo cache, and changing my > environment files. > > Any ideas? > > Thanks, > Zach > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list I agree with you that's quite confusing. For my experience, I've discovered that putting typo into dev mode and applying changes into the /public directory is the best way to apply changes without re-deploying and sweeping the cache all the time. -- Fabiano Francesconi [GPG key: 0x81E53461] From toby-typo at bryans.org Tue Apr 20 04:57:51 2010 From: toby-typo at bryans.org (Toby Bryans) Date: Tue, 20 Apr 2010 09:57:51 +0100 Subject: [typo] Keywords Size Limit Message-ID: <20100420085750.GD10386@cyglon01.cygnetcs.com> Hello, I'm running typo on a postgres database for a choir website (http://amicichamberchoir.org.uk/ if you're interested) and I try to put the name of the composers of each piece sung in each concert in the tags of the entry. This is fine, until I hit 254 characters which I have done, for example in the latest entry. This causes a problem because in the contents table the kewords column is set to: character varying(255). Some questions: 1) Would it be possible to increase the size of this column so a larger string can be put in that column in a future release? 2) Will it cause problems for future upgrades if I change the size of this column now? 3) There's got to be a better way of referencing tags to articles rather than parsing a long string. Are there plans to improve this in the future? I'm thinking in terms of having a table that consists of contents_id, tag_id tuples. Am I wrong in thinking that that would be better? I imagine it isn't an easy change though. Thanks! -- Toby From matijs at matijs.net Tue Apr 20 14:58:29 2010 From: matijs at matijs.net (Matijs van Zuijlen) Date: Tue, 20 Apr 2010 20:58:29 +0200 Subject: [typo] Keywords Size Limit In-Reply-To: <20100420085750.GD10386@cyglon01.cygnetcs.com> References: <20100420085750.GD10386@cyglon01.cygnetcs.com> Message-ID: <4BCDF955.6060102@matijs.net> Hello Toby, On 04/20/2010 10:57 AM, Toby Bryans wrote: > I'm running typo on a postgres database for a choir website > (http://amicichamberchoir.org.uk/ if you're interested) and I try to put > the name of the composers of each piece sung in each concert in the tags > of the entry. This is fine, until I hit 254 characters which I have > done, for example in the latest entry. Well, that's an unexpected use of tags! :-) > This causes a problem because in the contents table the kewords column > is set to: character varying(255). Some questions: > > 1) Would it be possible to increase the size of this column so a larger > string can be put in that column in a future release? Certainly. > 2) Will it cause problems for future upgrades if I change the size of > this column now? Probably not, but do make extra sure you make a backup of the database before upgrading. > 3) There's got to be a better way of referencing tags to articles rather > than parsing a long string. Are there plans to improve this in the > future? I'm thinking in terms of having a table that consists of > contents_id, tag_id tuples. Am I wrong in thinking that that would be > better? I imagine it isn't an easy change though. I just took a look, and in fact, both methods are used at the same time: the tags are stored in the keywords column, and then copied into a structure like the one you propose. I admit this is rather odd, although there is a sort-of-good technical reason why this is so: Other types of contents store their keywords _only_ in the keywords column. Given that tags are already stored in a separate table, it shouldn't be too big of a change to lift the 255-character limit. I will file a bug in Typo's bug tracking system for this. By the way, you can have tags with spaces in them by surrounding them with single or double quotes. That way, you don't need to use periods. Regards, -- Matijs From toby-typo at bryans.org Wed Apr 21 04:55:39 2010 From: toby-typo at bryans.org (Toby Bryans) Date: Wed, 21 Apr 2010 09:55:39 +0100 Subject: [typo] Keywords Size Limit In-Reply-To: <4BCDF955.6060102@matijs.net> References: <20100420085750.GD10386@cyglon01.cygnetcs.com> <4BCDF955.6060102@matijs.net> Message-ID: <20100421085539.GM10386@cyglon01.cygnetcs.com> Hello Matijs, Thank you for your reply! On Tue, Apr 20, 2010 at 08:58:29PM +0200, Matijs van Zuijlen wrote: > On 04/20/2010 10:57 AM, Toby Bryans wrote: > > I'm running typo on a postgres database for a choir website > > (http://amicichamberchoir.org.uk/ if you're interested) and I try to > > put the name of the composers of each piece sung in each concert in > > the tags of the entry. This is fine, until I hit 254 characters > > which I have done, for example in the latest entry. > > Well, that's an unexpected use of tags! :-) It makes for an interesting tag cloud of which composers the choir sings most as well as the venues that they sing at. I'm pretty sure it also drives search queries to the site as well. Since I moved to this way of managing the site we certainly get more hits via search engines due to people searching for composers. > > 1) Would it be possible to increase the size of this column so a > > larger string can be put in that column in a future release? > > Certainly. Great! > > 2) Will it cause problems for future upgrades if I change the size > > of this column now? > > Probably not, but do make extra sure you make a backup of the database > before upgrading. Always :). Oh, for what it's worth, I had to comment out the backup stage in the rails installer for another one of my blogs as it used all the memory up on my virtual server :). That blog has a LOT of content and the rails backup seems to grab all the data from the database into memory and then dump it to a yaml file. Given I do a manual sql backup anyway before every upgrade losing the backup stage isn't a major issue. > > 3) There's got to be a better way of referencing tags to articles > > rather than parsing a long string. Are there plans to improve this > > in the future? I'm thinking in terms of having a table that consists > > of contents_id, tag_id tuples. Am I wrong in thinking that that > > would be better? I imagine it isn't an easy change though. > > I just took a look, and in fact, both methods are used at the same > time: the tags are stored in the keywords column, and then copied into > a structure like the one you propose. I admit this is rather odd, > although there is a sort-of-good technical reason why this is so: > Other types of contents store their keywords _only_ in the keywords > column. Ah ha. I see! It must make the tag management more difficult though, especially deleting tags from articles! > Given that tags are already stored in a separate table, it shouldn't > be too big of a change to lift the 255-character limit. I will file a > bug in Typo's bug tracking system for this. Great, thank you. > By the way, you can have tags with spaces in them by surrounding them > with single or double quotes. That way, you don't need to use periods. Good to know... Kind regards, -- Toby From simon_b at beezwax.net Fri Apr 23 07:30:58 2010 From: simon_b at beezwax.net (Simon Brown) Date: Fri, 23 Apr 2010 04:30:58 -0700 Subject: [typo] Mysql db migration jams up with Typo 5.4.4 Message-ID: <4E8F2E1C-4D96-4C72-AE42-FAFDE6DA3746@beezwax.net> Hello all, I'm trying to migrate a 5.3 typo system to 5.44, but I am getting errors on the database migration step. At the start I see: > Current database version: 84 > > New database version: 88 > > Your database supports migrations: yes > > Needed migrations > > ? Add article parent draft > ? Add user last connection > ? Drop blacklist patterns > ? Drop session table > > may take a moment > But as soon as I perform the migration by clicking on the button (or using rake RAILS_ENV=production db:migrate for that matter) I get the error below. Of course, there definitely is an existing users table. But this also can't be an unexpected situation either. How do I get this fixed? Edit the 001_initial_schema.rb file in some way? TIA, Simon > Processing Admin::SettingsController#migrate (for 76.191.223.69 at 2010-04-23 10:55:05) [POST] > Parameters: {"authenticity_token"=>"/xzzzzzzzzzzzzzzzzzzzzzzzzzzzQ="} > Migrating to InitialSchema (1) > > StandardError (An error has occurred, all later migrations canceled: > > Mysql::Error: Table 'users' already exists: CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `login` varchar(255), `password` varchar(255)) ENGINE=InnoDB): > db/migrate//001_initial_schema.rb:16:in `up_without_benchmarks' > db/migrate//001_initial_schema.rb:15:in `up_without_benchmarks' > lib/migrator.rb:26:in `migrate' > app/controllers/admin/settings_controller.rb:59:in `migrate' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/rack/request_handler.rb:81:in `process_request' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_request_handler.rb:203:in `main_loop' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/railz/application_spawner.rb:340:in `start_request_handler' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/railz/application_spawner.rb:298:in `handle_spawn_application' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/utils.rb:181:in `safe_fork' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/railz/application_spawner.rb:296:in `handle_spawn_application' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:337:in `__send__' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:337:in `main_loop' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:187:in `start_synchronously' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:154:in `start' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/railz/application_spawner.rb:192:in `start' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/spawn_manager.rb:257:in `spawn_rails_application' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/spawn_manager.rb:251:in `spawn_rails_application' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/spawn_manager.rb:250:in `spawn_rails_application' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/spawn_manager.rb:153:in `spawn_application' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/spawn_manager.rb:282:in `handle_spawn_application' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:337:in `__send__' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:337:in `main_loop' > /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:187:in `start_synchronously' > > Rendering /var/www/typo/public/500.html (500 Internal Server Error) > root at beezwax:/var/www/typo# > root at beezwax:/var/www/typo# > root at beezwax:/var/www/typo# rake RAILS_ENV=production db:migrate > (in /var/www/typo) > == InitialSchema: migrating ================================================== > -- create_table(:users) > rake aborted! > An error has occurred, all later migrations canceled: > > Mysql::Error: Table 'users' already exists: CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `login` varchar(255), `password` varchar(255)) ENGINE=InnoDB > From cyril.mougel at gmail.com Fri Apr 23 08:10:29 2010 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Fri, 23 Apr 2010 14:10:29 +0200 Subject: [typo] Mysql db migration jams up with Typo 5.4.4 In-Reply-To: <4E8F2E1C-4D96-4C72-AE42-FAFDE6DA3746@beezwax.net> References: <4E8F2E1C-4D96-4C72-AE42-FAFDE6DA3746@beezwax.net> Message-ID: It's seems that this error because you don't starting your database by migration. Can you send us the result of : select * from schema_migrations; On Fri, Apr 23, 2010 at 1:30 PM, Simon Brown wrote: > Hello all, > > I'm trying to migrate a 5.3 typo system to 5.44, but I am getting errors on the database migration step. At the start I see: > >> Current database version: 84 >> >> New database version: 88 >> >> Your database supports migrations: yes >> >> Needed migrations >> >> ? ? ? ? Add article parent draft >> ? ? ? ? Add user last connection >> ? ? ? ? Drop blacklist patterns >> ? ? ? ? Drop session table >> >> ?may take a moment >> > > But as soon as I perform the migration by clicking on the button (or using rake RAILS_ENV=production db:migrate > ?for that matter) I get the error below. > > Of course, there definitely is an existing users table. But this also can't be an unexpected situation either. How do I get this fixed? Edit the 001_initial_schema.rb file in some way? > > > TIA, > > Simon > > >> Processing Admin::SettingsController#migrate (for 76.191.223.69 at 2010-04-23 10:55:05) [POST] >> ? Parameters: {"authenticity_token"=>"/xzzzzzzzzzzzzzzzzzzzzzzzzzzzQ="} >> Migrating to InitialSchema (1) >> >> StandardError (An error has occurred, all later migrations canceled: >> >> Mysql::Error: Table 'users' already exists: CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `login` varchar(255), `password` varchar(255)) ENGINE=InnoDB): >> ? db/migrate//001_initial_schema.rb:16:in `up_without_benchmarks' >> ? db/migrate//001_initial_schema.rb:15:in `up_without_benchmarks' >> ? lib/migrator.rb:26:in `migrate' >> ? app/controllers/admin/settings_controller.rb:59:in `migrate' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/rack/request_handler.rb:81:in `process_request' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_request_handler.rb:203:in `main_loop' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/railz/application_spawner.rb:340:in `start_request_handler' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/railz/application_spawner.rb:298:in `handle_spawn_application' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/utils.rb:181:in `safe_fork' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/railz/application_spawner.rb:296:in `handle_spawn_application' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:337:in `__send__' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:337:in `main_loop' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:187:in `start_synchronously' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:154:in `start' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/railz/application_spawner.rb:192:in `start' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/spawn_manager.rb:257:in `spawn_rails_application' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/spawn_manager.rb:251:in `spawn_rails_application' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/spawn_manager.rb:250:in `spawn_rails_application' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/spawn_manager.rb:153:in `spawn_application' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/spawn_manager.rb:282:in `handle_spawn_application' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:337:in `__send__' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:337:in `main_loop' >> ? /var/lib/gems/1.8/gems/passenger-2.2.2/lib/phusion_passenger/abstract_server.rb:187:in `start_synchronously' >> >> Rendering /var/www/typo/public/500.html (500 Internal Server Error) >> root at beezwax:/var/www/typo# >> root at beezwax:/var/www/typo# >> root at beezwax:/var/www/typo# rake RAILS_ENV=production db:migrate >> (in /var/www/typo) >> == ?InitialSchema: migrating ================================================== >> -- create_table(:users) >> rake aborted! >> An error has occurred, all later migrations canceled: >> >> Mysql::Error: Table 'users' already exists: CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `login` varchar(255), `password` varchar(255)) ENGINE=InnoDB >> > > > _______________________________________________ > Typo-list mailing list > Typo-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/typo-list > -- Cyril Mougel http://blog.shingara.fr From simon_b at beezwax.net Fri Apr 23 17:06:01 2010 From: simon_b at beezwax.net (Simon Brown) Date: Fri, 23 Apr 2010 14:06:01 -0700 Subject: [typo] Mysql db migration jams up with Typo 5.4.4 Message-ID: > Cyril Mougel cyril.mougel at gmail.com > Fri Apr 23 08:10:29 EDT 2010 > > It's seems that this error because you don't starting your database by > migration. > > Can you send us the result of : > > select * from schema_migrations; > Certainly. Now that you mention it, I did get an error about "typo has already stopped.." or something along those lines. But that wasn't a surprise, since it definitely wasn't working at the time (couldn't restart after updating some gems). Here's my results: mysql> select * from schema_migrations; +---------+ | version | +---------+ | 84 | +---------+ 1 row in set (0.04 sec) Simon From matijs at matijs.net Sat Apr 24 04:28:25 2010 From: matijs at matijs.net (Matijs van Zuijlen) Date: Sat, 24 Apr 2010 10:28:25 +0200 Subject: [typo] Mysql db migration jams up with Typo 5.4.4 In-Reply-To: References: Message-ID: <4BD2ABA9.10603@matijs.net> Hi Simon, On 04/23/2010 11:06 PM, Simon Brown wrote: > mysql> select * from schema_migrations; > +---------+ > | version | > +---------+ > | 84 | > +---------+ > 1 row in set (0.04 sec) That's definitely wrong. There should be an entry for each migration, not just the last one. If you insert one record for each migration number 1 through 83, things should work fine again. Regards, -- Matijs