From ruby-forum-incoming at andreas-s.net Wed Nov 5 17:46:21 2008 From: ruby-forum-incoming at andreas-s.net (Adam Wilson) Date: Wed, 5 Nov 2008 23:46:21 +0100 Subject: [typo] [ANN] Release of Typo 5.1 "Cartier Bresson" In-Reply-To: <604EE262-BB4F-44A3-BE1E-138D8FC52020@bfccomputing.com> References: <604EE262-BB4F-44A3-BE1E-138D8FC52020@bfccomputing.com> Message-ID: <0b5098715ac266a0dcc568b07b93f448@ruby-forum.com> I'm also having this problem after using the install script to upgrade from 5.03. I havent found much info on a fix. I dont want to do a fresh install as my client spent a while getting the theme looking right! Where is current_user supposed to be getting set? If anyone has any ideas would be very much appreciated... Thanks Adam Bill McGonigle wrote: > Hi, > > I'm hitting a snag with the upgrade. The gem installed and 'typo > install' went right along, updated the database, and now rake > db:migrate returns without work to do, so I think things are mostly > in place, however, if I try to access any pages, I get a 'Signup' > box. If I try to access /admin, I get something like: > > Processing DashboardController#index (for 216.107.222.222 at > 2008-07-23 03:14:51) [GET] > Session ID: 7bc4e03f41d1adf87a16971a648a7f49 > Parameters: {"action"=>"index", "controller"=>"admin/dashboard"} > > ======== > NameError (undefined local variable or method `current_user' for > #): > /lib/login_system.rb:47:in `login_required' > /vendor/rails/actionpack/lib/action_controller/filters.rb:469:in > `send!' > /vendor/rails/actionpack/lib/action_controller/filters.rb:469:in > `call' > /vendor/rails/actionpack/lib/action_controller/filters.rb:441:in > `run' > /vendor/rails/actionpack/lib/action_controller/filters.rb:716:in > `run_before_filters' > /vendor/rails/actionpack/lib/action_controller/filters.rb:695:in .... > > Rendering /opt/typo/example.com-bill/public/500.html (500 Internal > Server Error) > ======== > > in the logs. If I try to sign up for an account, I get a mail, but > it refers to 'My Shiny Weblog!' - I think mails used to have the real > blog name in there. > > The database connection is up: > 6341 ? Ss 0:00 postgres: typo typo_mcgonigle.us-bill > 127.0.0.1(33855) idle > > and the real data is in the tables. > > Suggestions on where to look next? > > Thanks, > -Bill -- Posted via http://www.ruby-forum.com/. From cyril.mougel at gmail.com Thu Nov 6 03:31:11 2008 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Thu, 06 Nov 2008 09:31:11 +0100 Subject: [typo] [ANN] Release of Typo 5.1 "Cartier Bresson" In-Reply-To: <0b5098715ac266a0dcc568b07b93f448@ruby-forum.com> References: <604EE262-BB4F-44A3-BE1E-138D8FC52020@bfccomputing.com> <0b5098715ac266a0dcc568b07b93f448@ruby-forum.com> Message-ID: <4912AB4F.7020109@gmail.com> Adam Wilson wrote: > I'm also having this problem after using the install script to upgrade > from 5.03. I havent found much info on a fix. I dont want to do a fresh > install as my client spent a while getting the theme looking right! > > Where is current_user supposed to be getting set? > current_user is save in session. So have you clear all session after upgrading ? rake db:sessions:clear > If anyone has any ideas would be very much appreciated... > > Thanks > Adam > > Bill McGonigle wrote: > >> Hi, >> >> I'm hitting a snag with the upgrade. The gem installed and 'typo >> install' went right along, updated the database, and now rake >> db:migrate returns without work to do, so I think things are mostly >> in place, however, if I try to access any pages, I get a 'Signup' >> box. If I try to access /admin, I get something like: >> >> Processing DashboardController#index (for 216.107.222.222 at >> 2008-07-23 03:14:51) [GET] >> Session ID: 7bc4e03f41d1adf87a16971a648a7f49 >> Parameters: {"action"=>"index", "controller"=>"admin/dashboard"} >> >> ======== >> NameError (undefined local variable or method `current_user' for >> #): >> /lib/login_system.rb:47:in `login_required' >> /vendor/rails/actionpack/lib/action_controller/filters.rb:469:in >> `send!' >> /vendor/rails/actionpack/lib/action_controller/filters.rb:469:in >> `call' >> /vendor/rails/actionpack/lib/action_controller/filters.rb:441:in >> `run' >> /vendor/rails/actionpack/lib/action_controller/filters.rb:716:in >> `run_before_filters' >> /vendor/rails/actionpack/lib/action_controller/filters.rb:695:in >> > .... > >> Rendering /opt/typo/example.com-bill/public/500.html (500 Internal >> Server Error) >> ======== >> >> in the logs. If I try to sign up for an account, I get a mail, but >> it refers to 'My Shiny Weblog!' - I think mails used to have the real >> blog name in there. >> >> The database connection is up: >> 6341 ? Ss 0:00 postgres: typo typo_mcgonigle.us-bill >> 127.0.0.1(33855) idle >> >> and the real data is in the tables. >> >> Suggestions on where to look next? >> >> Thanks, >> -Bill >> From ruby-forum-incoming at andreas-s.net Thu Nov 6 05:19:47 2008 From: ruby-forum-incoming at andreas-s.net (Adam Wilson) Date: Thu, 6 Nov 2008 11:19:47 +0100 Subject: [typo] [ANN] Release of Typo 5.1 "Cartier Bresson" In-Reply-To: <4912AB4F.7020109@gmail.com> References: <604EE262-BB4F-44A3-BE1E-138D8FC52020@bfccomputing.com> <0b5098715ac266a0dcc568b07b93f448@ruby-forum.com> <4912AB4F.7020109@gmail.com> Message-ID: <772675a378c84ef8cbe9314ea0cd9075@ruby-forum.com> Hi Cyril Thanks for your suggestion. However, I just tried doing rake db:sessions:clear, also with RAILS_ENV=production, restarting mongrel afterwards, but it seems to make no difference. Is there anything else it might be? Cyril Mougel wrote: > Adam Wilson wrote: >> I'm also having this problem after using the install script to upgrade >> from 5.03. I havent found much info on a fix. I dont want to do a fresh >> install as my client spent a while getting the theme looking right! >> >> Where is current_user supposed to be getting set? >> > current_user is save in session. So have you clear all session after > upgrading ? > > rake db:sessions:clear -- Posted via http://www.ruby-forum.com/. From cyril.mougel at gmail.com Thu Nov 6 08:25:47 2008 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Thu, 06 Nov 2008 14:25:47 +0100 Subject: [typo] [ANN] Release of Typo 5.1 "Cartier Bresson" In-Reply-To: <772675a378c84ef8cbe9314ea0cd9075@ruby-forum.com> References: <604EE262-BB4F-44A3-BE1E-138D8FC52020@bfccomputing.com> <0b5098715ac266a0dcc568b07b93f448@ruby-forum.com> <4912AB4F.7020109@gmail.com> <772675a378c84ef8cbe9314ea0cd9075@ruby-forum.com> Message-ID: <4912F05B.4020906@gmail.com> Adam Wilson wrote: > Hi Cyril > > Thanks for your suggestion. However, I just tried doing rake > db:sessions:clear, also with RAILS_ENV=production, restarting mongrel > afterwards, but it seems to make no difference. > > Is there anything else it might be? > Have you check this issue ? http://typosphere.org/issues/show/1258 > > > Cyril Mougel wrote: > >> Adam Wilson wrote: >> >>> I'm also having this problem after using the install script to upgrade >>> from 5.03. I havent found much info on a fix. I dont want to do a fresh >>> install as my client spent a while getting the theme looking right! >>> >>> Where is current_user supposed to be getting set? >>> >>> >> current_user is save in session. So have you clear all session after >> upgrading ? >> >> rake db:sessions:clear >> > > From ruby-forum-incoming at andreas-s.net Thu Nov 6 09:13:17 2008 From: ruby-forum-incoming at andreas-s.net (Adam Wilson) Date: Thu, 6 Nov 2008 15:13:17 +0100 Subject: [typo] [ANN] Release of Typo 5.1 "Cartier Bresson" In-Reply-To: <4912F05B.4020906@gmail.com> References: <604EE262-BB4F-44A3-BE1E-138D8FC52020@bfccomputing.com> <0b5098715ac266a0dcc568b07b93f448@ruby-forum.com> <4912AB4F.7020109@gmail.com> <772675a378c84ef8cbe9314ea0cd9075@ruby-forum.com> <4912F05B.4020906@gmail.com> Message-ID: <6c171ae2c8d7be6765b4a3fa72673e5a@ruby-forum.com> Cyril Mougel wrote: > Adam Wilson wrote: >> Hi Cyril >> >> Thanks for your suggestion. However, I just tried doing rake >> db:sessions:clear, also with RAILS_ENV=production, restarting mongrel >> afterwards, but it seems to make no difference. >> >> Is there anything else it might be? >> > > Have you check this issue ? > > http://typosphere.org/issues/show/1258 Yes I checked that yesterday, and froze rails 2.02 into the typo vendor folder. So I still need to set the version in environment.rb? -- Posted via http://www.ruby-forum.com/. From cyril.mougel at gmail.com Thu Nov 6 09:56:51 2008 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Thu, 06 Nov 2008 15:56:51 +0100 Subject: [typo] [ANN] Release of Typo 5.1 "Cartier Bresson" In-Reply-To: <6c171ae2c8d7be6765b4a3fa72673e5a@ruby-forum.com> References: <604EE262-BB4F-44A3-BE1E-138D8FC52020@bfccomputing.com> <0b5098715ac266a0dcc568b07b93f448@ruby-forum.com> <4912AB4F.7020109@gmail.com> <772675a378c84ef8cbe9314ea0cd9075@ruby-forum.com> <4912F05B.4020906@gmail.com> <6c171ae2c8d7be6765b4a3fa72673e5a@ruby-forum.com> Message-ID: <491305B3.8000000@gmail.com> Adam Wilson wrote: > Cyril Mougel wrote: > >> Adam Wilson wrote: >> >>> Hi Cyril >>> >>> Thanks for your suggestion. However, I just tried doing rake >>> db:sessions:clear, also with RAILS_ENV=production, restarting mongrel >>> afterwards, but it seems to make no difference. >>> >>> Is there anything else it might be? >>> >>> >> Have you check this issue ? >> >> http://typosphere.org/issues/show/1258 >> > > Yes I checked that yesterday, and froze rails 2.02 into the typo vendor > folder. > So I still need to set the version in environment.rb? > > Use ruby 1.8.6 too, not 1.8.7 Can you paste a log ? You can come in IRC to explain with direct and several people. -- Cyril Mougel http://blog.shingara.fr From ruby-forum-incoming at andreas-s.net Thu Nov 6 13:34:47 2008 From: ruby-forum-incoming at andreas-s.net (Adam Wilson) Date: Thu, 6 Nov 2008 19:34:47 +0100 Subject: [typo] [ANN] Release of Typo 5.1 "Cartier Bresson" In-Reply-To: <491305B3.8000000@gmail.com> References: <604EE262-BB4F-44A3-BE1E-138D8FC52020@bfccomputing.com> <0b5098715ac266a0dcc568b07b93f448@ruby-forum.com> <4912AB4F.7020109@gmail.com> <772675a378c84ef8cbe9314ea0cd9075@ruby-forum.com> <4912F05B.4020906@gmail.com> <6c171ae2c8d7be6765b4a3fa72673e5a@ruby-forum.com> <491305B3.8000000@gmail.com> Message-ID: <2d1bb568b8963f12ff3e5944d5a4e713@ruby-forum.com> Cyril Mougel wrote: > Adam Wilson wrote: >>>> Is there anything else it might be? >> >> > Use ruby 1.8.6 too, not 1.8.7 > > Can you paste a log ? > > You can come in IRC to explain with direct and several people. > > -- > Cyril Mougel > http://blog.shingara.fr OK I have Ruby 1.8.5 on my server. If I upgrade to 1.8.6 should this fix the issue? -- Posted via http://www.ruby-forum.com/. From cyril.mougel at gmail.com Thu Nov 6 14:53:06 2008 From: cyril.mougel at gmail.com (Cyril Mougel) Date: Thu, 06 Nov 2008 20:53:06 +0100 Subject: [typo] [ANN] Release of Typo 5.1 "Cartier Bresson" In-Reply-To: <2d1bb568b8963f12ff3e5944d5a4e713@ruby-forum.com> References: <604EE262-BB4F-44A3-BE1E-138D8FC52020@bfccomputing.com> <0b5098715ac266a0dcc568b07b93f448@ruby-forum.com> <4912AB4F.7020109@gmail.com> <772675a378c84ef8cbe9314ea0cd9075@ruby-forum.com> <4912F05B.4020906@gmail.com> <6c171ae2c8d7be6765b4a3fa72673e5a@ruby-forum.com> <491305B3.8000000@gmail.com> <2d1bb568b8963f12ff3e5944d5a4e713@ruby-forum.com> Message-ID: <49134B22.2000008@gmail.com> Adam Wilson wrote: > Cyril Mougel wrote: > >> Adam Wilson wrote: >> >>>>> Is there anything else it might be? >>>>> >>> >>> >> Use ruby 1.8.6 too, not 1.8.7 >> >> Can you paste a log ? >> >> You can come in IRC to explain with direct and several people. >> >> -- >> Cyril Mougel >> http://blog.shingara.fr >> > > OK I have Ruby 1.8.5 on my server. > If I upgrade to 1.8.6 should this fix the issue? > Maybe. I don't sure. But Typo-5.1.3 doesn't support ruby 1.8.5 in README -- Cyril Mougel http://blog.shingara.fr From ruby-forum-incoming at andreas-s.net Mon Nov 10 19:29:25 2008 From: ruby-forum-incoming at andreas-s.net (Hj Choi) Date: Tue, 11 Nov 2008 01:29:25 +0100 Subject: [typo] date is wrong ("created_at" vs "published_at") Message-ID: <9241950c15b1f2a20e16c4293982baf3@ruby-forum.com> I've noticed that when you write a blog post with a different "published_at" date under "post settings," the "created_at" date will show up, even though the entry will be sorted with "published_at" dates. For instance, I retrieved an old blog entry from 2006 and published it as "2006-04-08", it will be sorted before all the 2008 entries, but the date will show up as "2006-11-07." -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Wed Nov 12 09:21:50 2008 From: ruby-forum-incoming at andreas-s.net (Andrew Jsj) Date: Wed, 12 Nov 2008 15:21:50 +0100 Subject: [typo] eBayoyo.com 50% off Free Shipping Worldwide Message-ID: Welcome to eBayoyo: Your first choice for whole sale golf clubs. We have the best Quality and Service, BUT the Lowest price in the industry. We provide very competitive wholesale prices to our resellers who aim to develop their business. Most of our products on website are already listed with discounts corresponding to your membership grade. We deal with quality OEM products from various suppliers around the world or directly from the factory in Asia /Hong Kong /China. Welcome to join us, hopefully we can establish the business relationship with mutual benefits. We will highly appreciate for your close attention for our business, and your 100% satisfaction is our goal. TaylorMade R7 SuperQuad Driver Price:$199.99 TaylorMade R7 CGB MAX Driver Price:$169.99 TaylorMade Tour Burner Driver Price:$199.99 TaylorMade Burner Driver Price:$199.99 TaylorMade R7 CGB MAX Fairway Wood Price:$159.99 2008 TaylorMade R7 CGB Max Iron Set Price:$399.99 TaylorMade Burner XD Iron Set Price:$399.99 Callaway Golf FT-i Driver Price:$139.99 Callaway Golf FT-5 Driver Price:$149.99 Callaway Golf Big Bertha 460 Driver Price:$129.99 Callaway Golf Big Bertha Fariway Wood Price:$89.99 Callaway Golf X20 Iron Set Price:$279.99 Callaway Golf Fusion Wide Sole Iron Set Price:$399.99 Callaway Golf X Forged Iron Set Price:$399.99 Cleveland Hibore XLS Driver Price:$139.99 Cleveland Hibore XL Driver Price:$129.99 Cleveland Golf CG Gold Iron Set Price:$399.99 Nike SQ 5000 sumo Driver Price:$199.99 and so on... -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Wed Nov 19 12:45:29 2008 From: ruby-forum-incoming at andreas-s.net (Joshua Abbott) Date: Wed, 19 Nov 2008 18:45:29 +0100 Subject: [typo] Twitter In-Reply-To: <49244D0D.4090804@bfccomputing.com> References: <7CD2B44C-1FED-487D-AD90-95F89B082C8C@bfccomputing.com> <48F59C83.5080801@bettong.net> <510E2F21-4567-4EF2-B476-931F3BFC34DD@bfccomputing.com> <9DF8A6CD-4156-4E7E-A990-7CD4F6DB5CAF@de-villamil.com> <0bef01c136b49872b04bd09dac9215a9@ruby-forum.com> <49244D0D.4090804@bfccomputing.com> Message-ID: Should be on there in the next few days. By friday, for sure. I'll reply here when it is. -- Josh http://iammrjoshua.com Bill McGonigle wrote: > Hi, Josh, > > Just checking if you've had a chance to put this on github. > > Thanks, > -Bill -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Thu Nov 20 07:17:27 2008 From: ruby-forum-incoming at andreas-s.net (Don Hill) Date: Thu, 20 Nov 2008 13:17:27 +0100 Subject: [typo] profiles (confusion about :signup) In-Reply-To: <71BB7216-9FA8-4E8E-B54F-8360869D1F1A@de-villamil.com> References: <71BB7216-9FA8-4E8E-B54F-8360869D1F1A@de-villamil.com> Message-ID: de Villamil Fr?d?ric wrote: > Le 9 ao?t 08 ? 22:41, Tim Prentis a ?crit : > >> is >> articles. >> >> Any help is greatly appreciated! >> >> Tim >> -- > > Hi Tim, > > contributors do not have publishing rights, only access to : > ? Dashboard > ? Their profile > ? Their comments (as far as I remember) > > The idea behind contributors is to allow people to register, edit > their profile and comment when logged in. Further functionnalities > will come later, including : > ? per user page displaying your content. > ? more detailed profile page > > Having people who can only publish drafts is an interesting feature I > may add someday. For now I also plan to allow admin to set up the > modules accessible by the different roles, but this will only > avaliable... later, when I have time. > > Cheers, > Fr?d?ric > -- > Fr?d?ric de Villamil > frederic at de-villamil.com tel: +33 (0)6 62 19 1337 > http://fredericdevillamil.com Typo : http://typosphere.org Hi, I don't mean to hijack this message but I am seeing the same issue. I am new to typo so possibly a user error. When I create a user on 5.1.2 I see that we have admin, contrib or publisher. When I try and set the user as publisher then logout/in I go no where. If I click the link back to blog I don't see any option or feature to write content. Is typo typically setup with a user as typo admin if they will be writing articles, Please explain ? -- Posted via http://www.ruby-forum.com/. From ruby-forum-incoming at andreas-s.net Wed Nov 26 04:03:59 2008 From: ruby-forum-incoming at andreas-s.net (Joshua Abbott) Date: Wed, 26 Nov 2008 10:03:59 +0100 Subject: [typo] Twitter In-Reply-To: <49244D0D.4090804@bfccomputing.com> References: <7CD2B44C-1FED-487D-AD90-95F89B082C8C@bfccomputing.com> <48F59C83.5080801@bettong.net> <510E2F21-4567-4EF2-B476-931F3BFC34DD@bfccomputing.com> <9DF8A6CD-4156-4E7E-A990-7CD4F6DB5CAF@de-villamil.com> <0bef01c136b49872b04bd09dac9215a9@ruby-forum.com> <49244D0D.4090804@bfccomputing.com> Message-ID: <1cac2470883ce32b5879c3e39fb9bd35@ruby-forum.com> Bill, I'm sure you thought this would never happen, but here it is. It's somewhat limited (in terms of functionality, documentation, and tests) but it gets the job done. Now that I have this on github, I'll be maintaining it often to make sure it can take full advantage of what the Twitter API offers. In the meantime, here it is: http://github.com/joshnabbott/twitter/tree/master Please let me know if you have any questions. I know the readme isn't as informative as it could be. -- Josh http://iammrjoshua.com Bill McGonigle wrote: > Hi, Josh, > > Just checking if you've had a chance to put this on github. > > Thanks, > -Bill -- Posted via http://www.ruby-forum.com/.