Ken Biggs | 8 Feb 15:59
Favicon
Gravatar

GitHub link to Report a bug

The link from https://github.com/fdv/typo/wiki to "Report a bug" at
http://fdv.lighthouseapp.com/projects/11171-typo-blog/overview throws the error:

There was a problem.
You must be a member of this account to view the Overview.

If an account is required to view or submit bugs, there doesn't appear to be a link to create one … only a form
to log in.

Confused,
Ken
Gravatar

Implement typo into an existing site

Hi, is there any documentation for implementing typo into an existing site?


_______________________________________________
Typo-list mailing list
Typo-list <at> rubyforge.org
http://rubyforge.org/mailman/listinfo/typo-list
henry74 | 27 Sep 02:10
Picon

errors with latest typo blog v 6.0.9

I downloaded the latest version and attempted to upgrade from 6.0.4.
I've tried it on both 1.8.7 and 1.9.2 and I've gotten similar but
different errors related to YAML.  See below:

Ruby 1.8.7

ActionView::Template::Error (undefined method `empty?' for
#<YAML::PrivateType:0xb5cf2118 @value="", @type_id="null">):
    1: <% if article.password.nil? or article.password.empty? %>
    2:   <%= render 'articles/article_content', { :article => article } %>
    3: <% else %>
    4:   <%= render 'articles/password_form', { :article => article } %>
  app/views/articles/_protected_article_content.html.erb:1:in
`_app_views_articles__protected_article_content_html_erb___984258178__622293848_3709598'
  app/controllers/articles_controller.rb:211:in `render_paginated_index'
  app/controllers/articles_controller.rb:38:in `index'
  app/controllers/articles_controller.rb:37:in `index'

Ruby 1.9.2

ActionView::Template::Error (undefined method `empty?' for
#<Syck::PrivateType:0xbe42f18 @type_id="null", @value="">):
    1: <% if article.password.nil? or article.password.empty? %>
    2:   <%= render 'articles/article_content', { :article => article } %>
    3: <% else %>
    4:   <%= render 'articles/password_form', { :article => article } %>
  app/views/articles/_protected_article_content.html.erb:1:in
`_app_views_articles__protected_article_content_html_erb__815734403_99983130_96183190'
  app/controllers/articles_controller.rb:211:in `render_paginated_index'
  app/controllers/articles_controller.rb:38:in `block (2 levels) in index'
  app/controllers/articles_controller.rb:37:in `index'

Thoughts?
Gravatar

[ANN] 6.0.9 secutiry fix.

Hi list,

not sure anyone's here anymore, but we've pushed 6.0.9 for Rails 3.0.10. This is a major security fix coming
with a few other fixes. More on our release note http://blog.typosphere.org/typo-6-0-9-for-rails-3-0-10-security-fixes.html

Cheers,
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
Frederic de Villamil | 13 Aug 13:53
Gravatar

[ANN] Release of Typo 6.0.8 - Bug Fixes

Hello,

Being the eighth of the Irving Penn series, this new Typo release comes only 3 days after the latest one, but
it fixes a bunch of serious bugs that were discovered while using Typo 6.0.7 in the wild.

As usual you can download Typo 6.0.8 at http://typosphere.org/stable.tgz, and give it a try on our demo
site http://demo.typosphere.org.

** Adding per tags and categories templates

Typo is now able to provide a different template according to the category and tag you visit. This is useful
for some sites which need such a level of customization. To use them, just add a
views/categories/category-permalink.html.erb or a
views/categories/category-permalink.html.erb file in your theme. Typo will use that file when
displaying this category.

** Bug fixes

Fixes a bug in the meta title generation when displaying an article, a category or a tag.

Fixes the custom tracking field making the site crashing when used. 

Fixes a bug on tags removal not working.

** Moving our bug tracker to Github

We've decided to move our bug tracker from Lighthouse to Github. In the past years, Github ticketing system
has gained in feature and maturity while Lighthouse has been stalling, not being really convenient to
use. This move allows us to centralize our tools in a single place. The new bug reporting place is now https://github.com/fdv/typo/issues

It's been the third release in 11 days, but thanks to all our beta testers, I hope it's the latest bugfix one.
We want to thank in alphabetical order Mitch Pirtle, Lars Tobias Skjong-Børsting, Mathieu Poussin and
Rhaamo for their bug hunting operation.

--

-- 
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
Frederic de Villamil | 12 Aug 09:34
Gravatar

Moving bug tracker to Github

Hello,

Today, we've closed our LightHouse account and moved our bug tracker to Github. This decision was
motivated by both Github ticketing system maturity and the will to centralize things.
You can now open bugs at https://github.com/fdv/typo/issues

Cheers,
The 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
Frederic de Villamil | 10 Aug 19:29
Gravatar

[ANN] Release of Typo 6.0.7 - Bug Fixes

Hello,

After releasing Typo 6.0.6, we realized that we left a few critical bugs unfixed. It seems that none of us
actually ran our tests against Ruby 1.9.2, and things that were working under certain circumstances were
breaking against a different environment.

So this release provides nothing bug bug fixing, which is not so bad, after all.

File upload was completely broken due to a behavior change in ActionDispatch::Http::UploadedFile
between Rails 3.0.2 and Rails 3.0.3. File upload in itself is pretty hard to test, and we failed at this
point. 

Image resize was completely broken too due to a version change of mini_magick. Reverting back to
mini_magick 1.3.3 did the trick.

Under PostgreSQL, initial migration would set an empty post_type despite a default set to read. It seems
that PostgreSQL won't fill the field value when created with existing inserts.

Mathieu Poussin added Recaptcha support on all bundled themes.

Pages view was broken under Ruby 1.9.2 due to an encoding issue. There was also an encoding bug in post_type
edition and creation.

Despite extensive testing, pagination was broken due to a buggy will_paginate 3.0.4 beta. Reverting to
3.0.2 did the job.

Last but not least, a change in the way Google handles RSS queries caused dashboard load to take ages.

That's all (for now). We'll try to to better this time.

Cheers,
The 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
Gravatar

[ANN] Release of Typo 6.0.6 – a huge one

Hello,

5 weeks after releasing Typo 6.0.5, we're proud to release Typo 6.0.6 into the wild. With  403 files changed,
8526 insertions and 4961 deletions (before generating the CHANGELOG) this is our biggest release of all
time. This was made possible thanks to Yannick François joining the core team, the growing amount of
active contributors and a very crappy weather above Europe during our summer holiday.

You can download Typo 6.0.6 at https://github.com/downloads/fdv/typo/typo-6.0.6.zip or https://github.com/downloads/fdv/typo/typo-6.0.6.tgz.

What's under the hood?

* Rails 3.1 ready

We've got a long way since Typo was first released for Rails 0.6 and Ruby 1.8.4. Typo 6.0.6 is now Rails 3.1.0
ready and runs on both Ruby 1.8.7 and 1.9.2. We're now waiting for Passenger (mod_rails) to be fully Rails
3.1 compliant to switch to this new exciting Rails version.

* URL shortener

Adoption of microblogging has made URL shorteners an important part of our daily browsing life. Hosted
services may disappear one day or another taking your shortened URL with them, so we have given Typo its own
URL shortener.

When you publish a new article, Typo generates a shortened URL that will redirect to your content. No more
risks of disappearing shortened URLs, YOU keep the control.

* Recaptcha support

Silvio Relli did a great job adding Recaptcha support to Typo 6.0.6. Recaptcha is a captcha system that both
fights against spam and uses successful decodings to helps digitise books. 

You can use both Recaptcha and Akismet on a Typo installation.

* New toys for plugin developpers

We wanted to make Typo easier to extend for plugin developpers. Typo 6.0.6 introduces a bunch of new tools
for them.

** Users custom fields

Users can now have an infinite nummer of custom fields, that will be used by plugins developpers without
having to modify the database. Settings are easy to add and easy as pie to use.

** Contents custom fields

Articles and pages can now have an infinite nummer of custom fields, that will be used by plugins
developpers without having to modify the database. These custom fields are easy to add and easy as pie to use.

** Custom routes for plugins

User defined plugins can now use their own route without changing the original routing files. This allows
plugin developpers to create powerful extensions without to worry about what Typo's routing file looks like.

* A powerful SEO oriented blogging engine

We've worked a lot on SEO, aiming at being as powerful as Yoast SEO Plugin on Wordpress. This release is a
first step with the following feature.

** Support for rel='canonical' in pages header to avoid duplicate content.

A canonical page is the preferred version of a set of pages with highly similar content.

It's common for a site to have several pages listing the same set of products. For example, one page might
display products sorted in alphabetical order, while other pages display the same products listed by
price or by rating. For example:

http://www.example.com/product.php?item=swedish-fish&trackingid=1234567&sort=alpha&sessionid=5678asfasdfasfd
http://www.example.com/product.php?item=swedish-fish&trackingid=1234567&sort=price&sessionid=5678asfasdfasfd

If Google knows that these pages have the same content, we may index only one version for our search results.
Our algorithms select the page we think best answers the user's query. Now, however, users can specify a
canonical page to search engines by adding a link element with the attribute rel="canonical" to the head
section of the non-canonical version of the page. Adding this link and attribute lets site owners
identify sets of identical content and suggest to Google: "Of all these pages with identical content,
this page is the most useful. Please prioritize it in search results."

** A custom template for meta title and description

Since meta title and description are very important for SEO, it is very important to be able to setup its own
content. Typo now provides powerful customizable templates for both of them, with nice default enabled. 

** Making meta keywords optionnal

Since search engines do not consider meta keywords anymore, some people want to disable them to save on
their page weight. This option makes it possible.

* New content templates

Typo can now handle multiple content types through dedicated templates. Let's say you want to display text
articles and pictures only. Just create the content type, write a quick template for rendering, write
your article, and your done. This new feature comes with handy helpers to generate per template menu...

This makes Typo theming even more powerful.

* Control your cache from the admin

The long removed cache sweeping interface is now back, with interesting statistics about cached files.

* Attachment thumbnails

Attached images are now generated in 3 sizes: original, medium and thumb. Both medium and thumb sizes can be
defined in the administration.

* Pictures albums in lightbox

Typo Lightbox macro now supports set parametre, which allows you to create nice photo albums.

* More readability and usability

The admin sections have been reorganized for more readability and usability. We've redisigned some
interfaces, work still in progress.

* Code refactoring

Typo code is as old as Rails, which means we still carry old, deprecated code. This version brings lots of
refactoring, dead code removal, speed optimization and even more testing.

* Norwegian translation *

Lars Tobias Skjong-Børsting has been doing a great job providing a full norwegian translation in an
impressively short time.

* Bug squashing

With code refactoring usually comes bug squashing. This version got rid of more bugs than a full tank of DDT
would have, without the cancer effect.

* A community effort

Typo 6.0.6 would have never been possible without our community of contributors, listed in alphabetical
order: Huy Dinh, Fish, Justin B. Kay, Maarten Mulders, Silvio Relli, Melanie Shebel, Lars Tobias
Skjong-Børsting, Eric Sorenson, Yule.

We hope you'll enjoy using this version as much as we enjoyed crafting it.
All the best

The 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
Jonathan M. Polom | 21 Jul 21:25
Picon

Post not showing up on home page

First of all I'm pretty new to the typo blogging platform, so figure
that I have no idea how typo works. I've managed to get it setup with
thin being proxied through a Cherokee web server but I do not know the
ins-and-outs of typo itself.

Anyway, I wrote my first article today, created a new category to
place it in and published it. I can access and read the article by
browsing to the category view but the article doesn't show up on the
blog's home page. I have no idea what could be causing this. I thought
it would just show up. I know there was a default article that came
with the blogging platform after installation but I deleted that
article. The article I wrote today was created as a new article.

Any help on resolving this is appreciated.

--

-- 
Jon Polom
Chris Dagdigian | 6 Jul 14:56
Gravatar

after Typo 6.0.4 upgrade - can't activate any sidebars


Hi folks,

Followed the upgrade instructions a while back but experienced a really 
odd case not covered by the upgrade warnings. I have an empty sidebar 
and I can't add anything, including the standard built-in elements.

The site is http://gridengine.info

The error when I try to add a simple sidebar like "Categories" appears 
to be this:

>
> NoMethodError (undefined method `inject' for nil:NilClass):
>   app/controllers/admin/sidebar_controller.rb:26:in `set_active'
>

The symptom in the admin interface is the "spinning" icon hanging 
forever. Basically the blog engine is up but I can't add anything to the 
sidebar.

Any tips/tricks would be appreciated.

Regards,
Chris
Alan Partis | 5 Jul 00:38
Favicon

db migrate failure in new 6.0.5

I'm setting up a fresh typo 6.0.5 installation.  Downloaded and untarred
the 6.0.5 tarball.  Ran 'bundle install' and then tried rake db:migrate
RAILS_ENV=production.  The database existed, but was empty.  I expected
everything to run smoothly, of course, so I am surprised to be seeing
this:

---

Creating shortened URL for existing contents, this may take a moment
rake aborted!
An error has occurred, all later migrations canceled:

The single-table inheritance mechanism failed to locate the subclass:
'Page'. This error is raised because the column 'type' is reserved for
storing the class in case of inheritance. Please rename this column if you
didn't intend it to be used for storing the inheritance class or overwrite
Content.inheritance_column to use another column for that information.

Tasks: TOP => db:migrate
(See full trace by running task with --trace)

---

What am I missing?  I can't imagine there is/was a problem with the
database as I'm staring with a fresh empty database.  Any thoughts?

Thanks.

_______________________________________________________
Alan Partis
thundernet development group

Gmane