From elmnt.gws at gmail.com Mon Oct 1 19:44:05 2007 From: elmnt.gws at gmail.com (Greg Smith) Date: Mon, 1 Oct 2007 16:44:05 -0700 Subject: [typo] Typo JavaScript Message-ID: <3E992592-C73A-4F46-B0DE-C293CDE6AF5B@gmail.com> Can someone please pinpoint the code in the JS files that makes the pages jump to the same vertical location on reload? For instance, you're reading something way down the page, you REFRESH, and it jumps down to same location, as opposed to the page top. The reason is a bit detailed, so I'll not go on about that, but if there's a way to comment out any JS that does this, that would be SWELL. Thanks, Greg From phillip at jibjab.net Mon Oct 1 19:46:41 2007 From: phillip at jibjab.net (Phillip Morelock) Date: Mon, 1 Oct 2007 16:46:41 -0700 Subject: [typo] Typo JavaScript In-Reply-To: <3E992592-C73A-4F46-B0DE-C293CDE6AF5B@gmail.com> References: <3E992592-C73A-4F46-B0DE-C293CDE6AF5B@gmail.com> Message-ID: <6F439D2E-8829-4402-A5AB-265A08BCE1EE@jibjab.net> > you're reading something way down the page, you REFRESH, and it jumps > down to same location, as opposed to the page top. Isn't that just browser behavior? From phillip at jibjab.net Fri Oct 5 00:28:39 2007 From: phillip at jibjab.net (Phillip Morelock) Date: Thu, 4 Oct 2007 21:28:39 -0700 Subject: [typo] Typo login problem Message-ID: <2CEA19DA-7163-4994-88DA-3A897D0527A0@jibjab.net> Hi, I apologize in advance if this got double-posted -- I got a strange reply from the list serv when I sent it originally. We're running Typo 4.1, and until recently it was working. But now, we are no longer able to log in. Based on telnet sessions to the web host, it appears that user.rb properly authenticates the user, and redirects them to "/admin/ content" -- but then /admin/content redirects them back to the login page again -- which I think is because the session functionality is broken. Typo seems to generate a new session_id cookie with each request, and I think this is the problem. When I look in the database, I notice 3 new session rows when I: - go to the login page - log in - get redirected back to the login page Thanks in advance if anyone can help... Phillip Below is my log info: Processing AccountsController#login (for 67.99.1.190 at 2007-10-01 10:35:30) [POST] Session ID: 88c3531ef16812c937eac2c6afdfc039 Parameters: {"user_login"=>"grevan", "action"=>"login", "controller"=>"accounts", "user_password"=>"********", "login"=>"Login ?"} Cookie set: is_admin=yes; path=/ Redirected to http://blog.jibjab.com/admin/content Storing # in the cache Completed in 0.00349 (286 reqs/sec) | DB: 0.00127 (36%) | 302 Found [http://blog.jibjab.com/accounts/login] Processing ContentController#index (for 67.99.1.190 at 2007-10-01 10:35:30) [GET] Session ID: 1a0ebb36d41e511fca9df916d71b8731 Parameters: {"action"=>"index", "controller"=>"admin/content"} Redirected to http://blog.jibjab.com/accounts/login Filter chain halted as [#] returned false. Completed in 0.00147 (682 reqs/sec) | DB: 0.00031 (21%) | 302 Found [http://blog.jibjab.com/admin/content] Processing AccountsController#login (for 67.99.1.190 at 2007-10-01 10:35:31) [GET] Session ID: 0356655e43fcdea7a7c5fca9fc3cb696 Parameters: {"action"=>"login", "controller"=>"accounts"} Rendering within layouts/accounts Rendering accounts/login Completed in 0.00333 (300 reqs/sec) | Rendering: 0.00191 (57%) | DB: 0.00059 (17%) | 200 OK [http://blog.jibjab.com/accounts/login] From listrecv at thegrateful.org Fri Oct 5 01:34:14 2007 From: listrecv at thegrateful.org (Mike Sager) Date: Thu, 04 Oct 2007 22:34:14 -0700 Subject: [typo] Typo 4 - Alternate Themes Won't Load In-Reply-To: References: <46D0E243.2090503@diaspora.gen.nz> Message-ID: <4705CCD6.7070905@thegrateful.org> I'm using Typo 4.1.1 with the Deco theme unmodified. I also have it running with the Blocks theme, but I had to modify that one to work with Typo 4 as it was made for 2.6. Of course, I haven't tested Blocks fully yet... - Mike Sager mike at thegrateful.org http://thegrateful.org web stuff wrote: > I tried making the changes based on that article, but it didn't seem > to help. You are probably right about the versioning changes. Is > anyone else using Typo 4 with a theme other than Azure or Scribbish?? > > > thanks. > > > On 8/25/07, *Rodger Donaldson* > wrote: > > web stuff wrote: > > I am running Typo 4 and I installed two addtional themes, > Hemingway and > > Phokus. So I have four themes, Azure (bundled with Typo > install), > > Scribbish (bundled with Typo install), Hemingway and Phokus. > > > > If I setup to use Azure or Scribbish the blog loads fine. If > I set to > > use Hemingway or Phokus I get a 500 error: > > > > > > Application error (Apache) > > > > Change this error message for exceptions thrown outside of an > action > > (like in Dispatcher setups or broken Ruby code) in > public/500.html > > > > > > Any ideas what is wrong or where I can look to find the problem? > > If they're 2.6 themes you've brought across to a 4 install, > they could > well have compatibility problems. You could have a look at > http://www.bofh.org.uk/articles/2006/04/09/scratching-an-itch > to start with. > _______________________________________________ > 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 Matijs.van.Zuijlen at xs4all.nl Fri Oct 5 06:19:46 2007 From: Matijs.van.Zuijlen at xs4all.nl (Matijs van Zuijlen) Date: Fri, 5 Oct 2007 12:19:46 +0200 Subject: [typo] Typo login problem In-Reply-To: <2CEA19DA-7163-4994-88DA-3A897D0527A0@jibjab.net> References: <2CEA19DA-7163-4994-88DA-3A897D0527A0@jibjab.net> Message-ID: <20071005101946.GC6129@matijs.net> On Thu, Oct 04, 2007 at 09:28:39PM -0700, Phillip Morelock wrote: > Based on telnet sessions to the web host, it appears that user.rb telnet? *shudder* > Typo seems to generate a new session_id cookie with each request Hm. I seem to recall a similar problem with a completely different Rails app. [looks in logs] Yes, exactly, new session id with every request. Never solved that, really, so here are some questions: - Which browser are you using? - Are you sure your browser allows cookies? - Have you tried with a completely different browser? -- Matijs van Zuijlen http://www.matijs.net/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://rubyforge.org/pipermail/typo-list/attachments/20071005/6028a718/attachment.bin From phillip at jibjab.net Fri Oct 5 12:10:47 2007 From: phillip at jibjab.net (Phillip Morelock) Date: Fri, 5 Oct 2007 09:10:47 -0700 Subject: [typo] Typo login problem In-Reply-To: <20071005101946.GC6129@matijs.net> References: <2CEA19DA-7163-4994-88DA-3A897D0527A0@jibjab.net> <20071005101946.GC6129@matijs.net> Message-ID: <4D42BA8E-529D-44BD-AD59-32CD306E0A87@jibjab.net> Thanks for your reply! On Oct 5, 2007, at 3:19 AM, Matijs van Zuijlen wrote: > On Thu, Oct 04, 2007 at 09:28:39PM -0700, Phillip Morelock wrote: >> Based on telnet sessions to the web host, it appears that user.rb > > telnet? *shudder* Telnet to port 80, not telnet for shell access... >> Typo seems to generate a new session_id cookie with each request > > Hm. I seem to recall a similar problem with a completely different > Rails > app. [looks in logs] Yes, exactly, new session id with every > request. Never > solved that, really, so here are some questions: > > - Which browser are you using? > - Are you sure your browser allows cookies? > - Have you tried with a completely different browser? Yeah, this is pretty much across the board. It does seem to be a rails problem, but it's only appearing in our typo instance (and we have several other rails apps). Oh well, I guess I'll have to dig into rails a bit more. Thanks again for your reply. From kevwil at gmail.com Tue Oct 9 17:07:44 2007 From: kevwil at gmail.com (Kevin Williams) Date: Tue, 9 Oct 2007 15:07:44 -0600 Subject: [typo] Typo blowing up on Fedora Message-ID: <683a886f0710091407y6405218dp398e6ffeaae5c364@mail.gmail.com> This morning, I updated my Fedora 6 64-bit VPS. This update upgraded my Ruby install to 1.8.5 patch114. The Rails version is the latest release - 1.2.4. Following this update, I recompiled (gem install xxx) all my gems which use C extensions (mongrel, postgres, etc.). I have two Rails apps on that box. The other runs fine. I have attached the last 200 lines of my production.log file. Any hints? -- Cheers, Kevin Williams http://kevwil.com/ http://www.almostserio.us/ http://kevwil.jaiku.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: typo_crash.log Type: application/octet-stream Size: 14882 bytes Desc: not available Url : http://rubyforge.org/pipermail/typo-list/attachments/20071009/69df6886/attachment-0001.obj From nrich123 at mac.com Tue Oct 30 07:53:51 2007 From: nrich123 at mac.com (Nick Rich) Date: Tue, 30 Oct 2007 11:53:51 +0000 Subject: [typo] Newbie Question 1: Access control to Typo blogs Message-ID: Hi, Apologies - this is probably a stupid newbie question.. Scenario: I have an ADSL connection, a domain, and a spare box running Mac OS X . I am teaching myself some Ruby and Ruby on Rails (hobby only) so Typo looked like a fun choice for some blogging software. Thanks, team! I have downloaded and installed latest Apache 2.2 , Mongrel (cluster), Ruby, Rails, Typo, Postgresql and friends. Apache is thus set up as the front webserver, proxying requests to mongrel instances. I have set up 3 blogs which live in /Local/Sites/blog1, /Local/Sites/ blog2, & /Local/Sites/blog3. They are served up by http://blogs.mydomain.com/blog1, http:// blogs.mydomain.com/blog2, http://blogs.mydomain.com/blog3, I would like blog1 to be private to a small group of users for posting and reading. Blogs 2 and 3 are eventually for public reading consumption. Typo admin seems to control write access but leave read access open. The question is: should I use Apache to control access, and if so how does that fit with Typo, or am I misunderstanding what Typo does? Many thanks for any assistance. Nick From nrich123 at mac.com Tue Oct 30 07:59:21 2007 From: nrich123 at mac.com (Nick Rich) Date: Tue, 30 Oct 2007 11:59:21 +0000 Subject: [typo] Newbie Question 2: Posting to Typo blogs via email. Message-ID: Hi, Apologies - this is probably another stupid newbie question.. Scenario: I have an ADSL connection, a domain, and a spare box running Mac OS X . I am teaching myself some Ruby and Ruby on Rails (hobby only) so Typo looked like a fun choice for some blogging software. Thanks, team! I am thus hosting my own mailserver and Typo blogs - I have downloaded and installed latest Apache 2.2 , Mongrel (cluster), Ruby, Rails, Typo, Postgresql and friends. Apache is thus set up as the front webserver, proxying requests to mongrel instances. I can post using the admin webpages, and I have got Textmate working too. Is there any way I can set up posting via email? EG - I send a mail in markdown to a given email address,and the post is published in a typo blog? In particular, I keep my photos in Apple's Aperture, which makes it easy to select a photo and email it. Would be great if I could add text , press send and have a blog post. Many thanks for any assistance. Nick From nrich123 at mac.com Tue Oct 30 08:16:34 2007 From: nrich123 at mac.com (Nick Rich) Date: Tue, 30 Oct 2007 12:16:34 +0000 Subject: [typo] Newbie Question 3: Secure Typo installation Message-ID: <7F6FB5EC-3E2D-4ACE-BDA5-3CC3D999A378@mac.com> Sorry - more questions from ignorance! I'm hosting a few typo blogs for fun. I have an ADSL line, a domain and a spare Mac OS X box. I would like to ensure that I'm not opening up some nightmare security hole on my network. - My db is Postgres which runs under an unprivileged user, u1. - My typo install folders are owned by an unprivileged user, u2 , which also runs my mongrel instances, which listen only on localhost defined ports. - My apache install runs under an unprivileged user, u3, which proxies to the mongrel cluster. - My firewall is closed to inbound traffic except for my apache port 80. Does this sound like a sensible scheme? Any gapingly obvious holes? Anything else I should be doing? I'm completely *not* a sysadmin expert, so I probably can fool around enough to be very dangerous :-) Many thanks, Nick