Anirudha Jadhav | 18 Jul 22:50
Picon
Favicon

typo admin authentication problems

Hello ,

I am currently modifying typo to make a blog.

I am  working on a windows machine, with svn. after making changes and committing them. I updated the repo on my server.

everything works properly, but I cannot login to my admin section, username and password are correct, to errors  here, but the page redirects to login again.

could anyone please direct me to a cause for this, or how to fix this.

Also what is the best way to add a controller and view (a new tab to the admin panel).

thanks



--
Anirudha P. Jadhav
M.S. Computer Science
email : anirudha <at> nyu.edu

_______________________________________________
Typo-list mailing list
Typo-list <at> rubyforge.org
http://rubyforge.org/mailman/listinfo/typo-list
joy ride | 18 Jul 06:11
Picon

Typo + ScribeFire using MetaWeblog API?

Hi all,

I understand that support for the MetaWeblog API was just fixed in Typo (trunk). As far as I understand that would be the only option to integrate with ScribeFire (http://www.scribefire.com), correct? Which URL should I use for the API?

Cheers, Sazima
_______________________________________________
Typo-list mailing list
Typo-list <at> rubyforge.org
http://rubyforge.org/mailman/listinfo/typo-list
Lin Wj | 17 Jul 06:52

custom page

is there anyway to write a ruby page that uses the selected
sidebars/theme in typo  ?
--

-- 
Posted via http://www.ruby-forum.com/.
g | 10 Jul 03:04
Picon

Trouble installing on XP

 From the installer.txt file, I'm trying to install (the short 
version).  My apologies if I'm missing something easy, I'm a total RoR 
newbie...

I'm getting an error during the second command: typo install ./typo

| Checking database
 Creating initial database
 expanding apache13.conf.example template
 expanding apache20.conf.example template
 expanding lighttpd.conf.example template
 Migrating Typo's database to newest release
D:/Development/projects/SimplyRails2/ruby/lib/ruby/gems/1.8/gems/typo-5.0.3.98.1
/bin/typo:59:in `migrate': Migration failed (RailsInstaller::InstallFailed)
        from 
D:/Development/projects/SimplyRails2/ruby/lib/ruby/gems/1.8/gems/ra
ils-app-installer-0.2.0/lib/rails-installer.rb:689:in `in_directory'
        from 
D:/Development/projects/SimplyRails2/ruby/lib/ruby/gems/1.8/gems/ty
po-5.0.3.98.1/bin/typo:57:in `migrate'
        from 
D:/Development/projects/SimplyRails2/ruby/lib/ruby/gems/1.8/gems/ra
ils-app-installer-0.2.0/lib/rails-installer.rb:217:in `install_sequence'
        from 
D:/Development/projects/SimplyRails2/ruby/lib/ruby/gems/1.8/gems/ra
ils-app-installer-0.2.0/lib/rails-installer.rb:192:in `install'
        from 
D:/Development/projects/SimplyRails2/ruby/lib/ruby/gems/1.8/gems/ra
ils-app-installer-0.2.0/lib/rails-installer/commands.rb:95:in `command'
        from 
D:/Development/projects/SimplyRails2/ruby/lib/ruby/gems/1.8/gems/ra
ils-app-installer-0.2.0/lib/rails-installer.rb:646:in `execute_command'
        from 
D:/Development/projects/SimplyRails2/ruby/lib/ruby/gems/1.8/gems/ty
po-5.0.3.98.1/bin/typo:93
        from D:/Development/projects/SimplyRails2/ruby/bin/typo:19:in `load'
        from D:/Development/projects/SimplyRails2/ruby/bin/typo:19|

I've got InstantRails 2.0 on Windows XP SP2,
  Ruby -v 1.8.6 and gem -v 1.2.0...

What am I to do next?  Thanks.
Chet Farmer | 8 Jul 05:33

Can't update feeds?


My Typo blog at new.mischeathen.com has a feed that contains only the  
first post ever on that blog, and will not update.

How can I force this to behave properly? It vexes me. :(

Chet Farmer
chet <at> nogators.com
----
"I knew I love you oh various left bye." -- Erin,  according to  
CallWave's transcription service, 10/6/2007
R. N. Dominick | 7 Jul 04:40
Picon

Cannot log in after 5.04b update

When the 5.04b announcement went out, I did an svn up to update my Typo installation. The main blog renders fine (http://blog.peekle.net/) but I can't log in to the admin. I put in my login and password, but when I hit "Login" the login page just refreshes. If I look in the log, I can see a new session being created and the admin/dashboard action being redirected to accounts/login; after I put in my credentials, I can see it processing them, and they all pass through just fine, a cookie gets set in my browser with the correct session ID, and Typo redirects to admin -- which promptly redirects back to accounts/login again.

I did the usual thing after an svn up breaks Typo, which is to wait a few days and up it again. No dice there.

I notice the authenticity_token stuff is new, and I gather that's a new Rails feature, but I've no idea what it's all about.

Anyone ever seen this, or have any advice on where to look? Thanks for any help anyone might be able to give.

Log file, edited for security reasons, below.

Processing DashboardController#index (for 74.138.200.63 at 2008-07-07 02:25:29) [GET]
  Session ID: 3eb8649....
  Parameters: {"action"=>"index", "controller"=>"admin/dashboard"}
generate({:controller=>"accounts/login", :action=>"index"}, {:controller=>"accounts/login", :action=>"index"}, {:controller=>true, :action=>false}) reached the default route
Redirected to http://blog.peekle.net/accounts/login
Filter chain halted as [#<ActionController::Filters::ClassMethods::SymbolFilter:0x2a9887cb08 <at> filter=:login_required>] rendered_or_redirected.
Completed in 0.00156 (640 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://blog.peekle.net/admin/]


Processing AccountsController#login (for 74.138.200.63 at 2008-07-07 02:25:29) [GET]
  Session ID: 3eb8649....
  Parameters: {"action"=>"login", "controller"=>"accounts"}
Rendering template within layouts/accounts
Rendering accounts/login
Completed in 0.00239 (418 reqs/sec) | Rendering: 0.00146 (61%) | DB: 0.00000 (0%) | 200 OK [http://blog.peekle.net/accounts/login]


Processing AccountsController#login (for 74.138.200.63 at 2008-07-07 02:25:30) [POST]
  Session ID: 3eb8649....
  Parameters: {"user_login"=>"xxxxxxxx", "authenticity_token"=>"60113de....", "action"=>"login", "controller"=>"accounts", "user_password"=>"xxxxxxxx", "login"=>"Login »"}
Redirected to http://blog.peekle.net/admin/
Completed in 0.00142 (702 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://blog.peekle.net/accounts/login]


Processing DashboardController#index (for 74.138.200.63 at 2008-07-07 02:25:30) [GET]
  Session ID: 3eb8649....
  Parameters: {"action"=>"index", "controller"=>"admin/dashboard"}
generate({:controller=>"accounts/login", :action=>"index"}, {:controller=>"accounts/login", :action=>"index"}, {:controller=>true, :action=>false}) reached the default route
Redirected to http://blog.peekle.net/accounts/login
Filter chain halted as [#<ActionController::Filters::ClassMethods::SymbolFilter:0x2a9887cb08 <at> filter=:login_required>] rendered_or_redirected.
Completed in 0.00187 (533 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://blog.peekle.net/admin/]


_______________________________________________
Typo-list mailing list
Typo-list <at> rubyforge.org
http://rubyforge.org/mailman/listinfo/typo-list

Typo 5.0.4 beta 2 is out, fixes a critical security vulnerability

Michael Morin has discovered a critical vulnerability in Typo priori  
to release 5.0.4.98.1 which may lead to arbitrary code execution and  
privilege escalation on Typo blogs. Even though 5.0.4b1 was released  
yesterday, this vulnerability is critical enough to make us release  
5.0.4b2 today.

This release also fixes a bunch of bugs such as :
– Missing dependencies in the installer (thx Scott Likens for pointing  
this out)
– articles.rss and articles.atom bad naming.
– Bad unordered lists display on the new default theme.

You can download typo at http://rubyforge.org/frs/?group_id=555&release_id=23488 
  or just update your gem.

Cheers,
Frédéric / neuro

--

-- 
Frédéric de Villamil
frederic <at> de-villamil.com                        tel: +33 (0)6 62 19 1337
http://fredericdevillamil.com             Typo : http://typosphere.org

Re: Typo 5.0.4b

Le 30 juin 08 à 12:26, Scott Likens a écrit :

> Never been a big fan of trac/etc... as you never paid attention to  
> it, I will assume you ignore it still.
>
> the typo binary you install in the path (ie /usr/bin) works properly  
> where as where you install it to... let's say typo/bin/typo still  
> depends on rails-installer...
>
> SQLite3... tests fail to begin with, since you don't depend on ruby- 
> debug you can assume the tests will fail... so why run them?
>
> however, set it up for mysql, rake db:migrate.

Hello Scott,

I actually pay attention to trac, it's just that my email in the admin  
was borked so I didn't receive alerts.

Thank you for reporting this. Since it worked for me, I didn't pay  
attention to missing dependencies. I'm creating an out of the box  
environment on a virtual machine from where I'll do my next tests for  
RC1.

Best regards.
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

Typo 5.0.4b

Hi list,

After 4 months of hard work, doubts and refactoring, Typo 5.0.3.98,  
aka Typo 5.0.4 beta is finaly out. As for any beta release, it was  
mostly done for testing purpose, and to let our happy translators do  
their job. So please, fill in bug reports when you find one, and don’t  
be shy, submit a patch along :-). All the features are not frozen yet,  
even though any addition will be minor.

So, what’s new there? Many things.

== Multi roles ==

Multiple roles are finally here, thanks to the work of Davide  
D’Agostino and Cyril Mougel. You can now choose between Administrator  
and Publisher. Contributor may come soon, but this special profile  
needs some more development.

== A new default theme ==

Typographic is a simple, clean theme made by Hélène from O2sources, a  
French company involved in free and open source projects. Typographic  
relies on lightness, simplicity, warm colors, and adapts your screen…  
up to a certain extent.

Dirtylicious and Standard issue have been removed and are now hosted  
at Typogarden. If you want to keep using them, you’ll have to download  
them first.

== A brand new admin ==

The admin has been rethought, lot of code has disappeared, and it’s  
now cleaner, lighter and easier to use.

We now have tag management, which we plan to improve with things like  
tag merging, or detection of too close tags. We also offer tag  
autocomplete in the publishing interface.

The publishing interface has been rebuilt to be easier and clearer to  
use. We’ve dropped the live preview powered editor since it was really  
killing the server by sending continuous AJAX requests.

== The come back of the gem ==

The gem is back and working, which means Typo has never been easier to  
install. Just run

   # gem install typo
   # typo install /some/path

And you’re done. Typo is now running on a random port using sqlite  
database.

However, we don’t recommend this configuration for production use.  
Even though there are many ways to run a Rails application, we have  
chosen and support Passenger aka mod_rails with MySQL as the easiest  
and most reliable way to run Typo.

Final release is due in 3 weeks. I hope you'll have the time to  
install and test this new version and report bugs.

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
Arun Gupta | 25 Jun 21:05
Picon

Typo 5.0.3 with Rails 2.1 ?

Has Typo been tested with Rails 2.1 ?

I tried db:migrate and got the following error:

-- cut here --
~/samples/jruby/typo-5.0.3 >~/testbed/jruby-1.1.2/bin/jruby -S rake db:migrate
(in /Users/arungupta/samples/jruby/typo-5.0.3)
rake aborted!
no such file to load --
/Users/arungupta/samples/jruby/typo-5.0.3/config/../vendor/rails/railties/lib/initializer
/Users/arungupta/samples/jruby/typo-5.0.3/rakefile:4:in
`/Users/arungupta/samples/jruby/typo-5.0.3/rakefile'
(See full trace by running task with --trace)
-- cut here --

-Arun

--

-- 
Web Technologies and Standards
Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta
Ricky Seltzer | 22 Jun 10:14
Picon

Cannot find script headers

I have the YSLOW add-in for firefox and it suggested some changes to my Typo blog.  I want to minify the .js files and change the [script src=stuff.js] lines.  I cannot find the html that does this.  I've searched under app\views and it just isn't there.  Is this code in a database?

I shouldn't have to ask a mailing list where the source is.  A normal amount of documentation would go a long way.  As it is, the blog software isn't too useful, if I can't find my way around it.  If this is to be open source software, a planning doc must be available.  And there are almost no comments in the code.  Is this deliberate obfuscation?

Ricky

_______________________________________________
Typo-list mailing list
Typo-list <at> rubyforge.org
http://rubyforge.org/mailman/listinfo/typo-list

Gmane