typo 6.0.4 → 6.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +1442 -0
- data/Gemfile +60 -0
- data/MIT-LICENSE +21 -0
- data/README.textile +102 -0
- data/Rakefile +7 -0
- data/TODO.todo +33 -0
- data/config.ru +4 -0
- data/typo.gemspec +2 -2
- metadata +12 -5
data/Gemfile
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
env = ENV["RAILS_ENV"] || 'development'
|
2
|
+
dbfile = File.expand_path("../config/database.yml", __FILE__)
|
3
|
+
|
4
|
+
unless File.exists?(dbfile)
|
5
|
+
puts "You need to configure config/database.yml first"
|
6
|
+
puts "Exiting"
|
7
|
+
exit
|
8
|
+
else
|
9
|
+
conf = YAML.load(File.read(dbfile))
|
10
|
+
adapter = conf[env]['adapter']
|
11
|
+
raise "You need define an adapter in your database.yml" if adapter == '' || adapter.nil?
|
12
|
+
case adapter
|
13
|
+
when 'sqlite3'
|
14
|
+
gem 'sqlite3'
|
15
|
+
when 'postgresql'
|
16
|
+
gem 'pg'
|
17
|
+
when 'mysql'
|
18
|
+
if RUBY_VERSION.include?('1.9')
|
19
|
+
gem 'sam-mysql-ruby'
|
20
|
+
else
|
21
|
+
gem 'mysql'
|
22
|
+
end
|
23
|
+
else
|
24
|
+
raise "Don't know what gem to use for adapter #{adapter}"
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
require 'fileutils'
|
29
|
+
require 'yaml'
|
30
|
+
|
31
|
+
source :gemcutter
|
32
|
+
gem 'rails', '3.0.9'
|
33
|
+
gem 'require_relative'
|
34
|
+
gem 'htmlentities'
|
35
|
+
gem 'json'
|
36
|
+
gem 'bluecloth', '>= 2.0.5'
|
37
|
+
gem 'coderay', '~> 0.9'
|
38
|
+
gem 'will_paginate', '~> 3.0.pre2'
|
39
|
+
gem 'RedCloth', '4.2.7'
|
40
|
+
gem 'addressable', '~> 2.1.0', :require => 'addressable/uri'
|
41
|
+
gem 'mini_magick', '>= 1.3', :require => 'mini_magick'
|
42
|
+
gem 'uuidtools', '~>2.1.1'
|
43
|
+
gem 'flickraw-cached'
|
44
|
+
gem 'rubypants', '~> 0.2.0'
|
45
|
+
gem 'rake', '>= 0.9.2'
|
46
|
+
gem 'acts_as_list'
|
47
|
+
gem 'acts_as_tree_rails3'
|
48
|
+
gem 'recaptcha', :require => 'recaptcha/rails', :branch => 'rails3'
|
49
|
+
|
50
|
+
group :development, :test do
|
51
|
+
if RUBY_VERSION.include?('1.9')
|
52
|
+
gem 'ruby-debug19'
|
53
|
+
else
|
54
|
+
gem 'ruby-debug'
|
55
|
+
end
|
56
|
+
gem 'factory_girl'
|
57
|
+
gem 'webrat'
|
58
|
+
gem 'rspec-rails', '>= 2.0.0.beta.20'
|
59
|
+
gem 'rcov'
|
60
|
+
end
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
Copyright (c) 2005 Tobias Luetke
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
data/README.textile
ADDED
@@ -0,0 +1,102 @@
|
|
1
|
+
h1. About Typo
|
2
|
+
|
3
|
+
Typo has been around since March of 2005 making it one of the oldest blogging platforms in Rails. With powerful SEO capabilities, full themes, and plug-ins, this platform has all the features needed for a great user experience for both web developers and site visitors. Typo is available as a gem or source tarball.
|
4
|
+
|
5
|
+
The current version is Typo 6.0.6 for Ruby on Rails 3.0.9
|
6
|
+
|
7
|
+
!http://blog.typosphere.org/download-typo.png(Download Typo)!:http://typosphere.org/stable.tgz
|
8
|
+
|
9
|
+
h2. Enhance your Typo blog
|
10
|
+
|
11
|
+
* "Themes Catalogue":http://typogarden.org/
|
12
|
+
* "Sidebar Plugins":https://github.com/fdv/typo/wiki/Sidebar-plugins
|
13
|
+
* "In page Plugins":https://github.com/fdv/typo/wiki/In-Page-Plugins
|
14
|
+
|
15
|
+
h2. Useful Links:
|
16
|
+
|
17
|
+
* "Download Typo source code:":http://typosphere.org/stable.tgz
|
18
|
+
* "*Report a bug*":http://fdv.lighthouseapp.com/projects/11171-typo-blog/overview
|
19
|
+
* "*Frequently Asked Questions*":http://wiki.github.com/fdv/typo/frequently-asked-questions
|
20
|
+
* "Official Typo blog":http://blog.typosphere.org
|
21
|
+
* "Follow us on Twitter":httpL//twitter.com/typosphere
|
22
|
+
|
23
|
+
h2. Get some help
|
24
|
+
|
25
|
+
* IRC: #typo on irc.freenode.net
|
26
|
+
* "Mailing list":http://rubyforge.org/mailman/listinfo/typo-list
|
27
|
+
|
28
|
+
h2. Maintainers
|
29
|
+
This is a list of Typo maintainers. If you have committed, please add your name and contact details to the list.
|
30
|
+
|
31
|
+
h3. The Cool Kids
|
32
|
+
|
33
|
+
*Frédéric de Villamil* <frederic@de-villamil.com>
|
34
|
+
blog: http://t37.net
|
35
|
+
irc: neuro`
|
36
|
+
|
37
|
+
*Matijs van Zuijlen*
|
38
|
+
blog: http://www.matijs.net/blog/
|
39
|
+
irc: matijs
|
40
|
+
|
41
|
+
*Thomas Lecavelier*
|
42
|
+
blog: http://blog.ookook.fr/
|
43
|
+
irc: ook
|
44
|
+
|
45
|
+
*Yannick François*
|
46
|
+
blog: http://elsif.fr
|
47
|
+
irc: yaf
|
48
|
+
|
49
|
+
*Cyril Mougel*
|
50
|
+
blog: http://blog.shingara.fr
|
51
|
+
irc: shingara
|
52
|
+
|
53
|
+
h3. Original Author
|
54
|
+
|
55
|
+
Tobias Luetke
|
56
|
+
blog: http://blog.leetsoft.com/
|
57
|
+
irc: xal
|
58
|
+
|
59
|
+
|
60
|
+
h1. Installing Typo
|
61
|
+
|
62
|
+
There are various way of installing Typo, but the easiest way is the install using the gem.
|
63
|
+
|
64
|
+
h2. 1. Prerequisites
|
65
|
+
|
66
|
+
To install Typo you need the following:
|
67
|
+
|
68
|
+
* Ruby 1.8.7 or Ruby Enterprise Edition or Ruby 1.9.2.
|
69
|
+
* Ruby On Rails 3.0.9
|
70
|
+
* A database engine, MySQL, PgSQL or SQLite3
|
71
|
+
* The Ruby connector to your favorite database engine
|
72
|
+
* A FTP client or even better SSH access to your hosting provider
|
73
|
+
|
74
|
+
h2. 2. Get Typo
|
75
|
+
|
76
|
+
Download Typo stable version at http://typosphere.org/stable.tar.gz or http://typosphere.org/stable.zip.
|
77
|
+
|
78
|
+
h2. 3. Install Typo
|
79
|
+
|
80
|
+
Unpack Typo archive into your Web hosting space.
|
81
|
+
|
82
|
+
Rename database.yml.example to database.yml and fill in your database credentials for production mode.
|
83
|
+
|
84
|
+
Then run:
|
85
|
+
|
86
|
+
$ bundle install
|
87
|
+
$ rake RAILS_ENV=production db:migrate
|
88
|
+
|
89
|
+
h2. 4. Start/Stop Typo
|
90
|
+
|
91
|
+
To use / test typo, run:
|
92
|
+
|
93
|
+
./script/rails server
|
94
|
+
|
95
|
+
h1. Daily use
|
96
|
+
|
97
|
+
We recommend using Passenger (mod_rails) or Thin / Unicorn with Apache or Nginx.
|
98
|
+
|
99
|
+
The admin interface for Typo allows you to post articles and change configuration settings. It can be found at http://yourdomain.com/admin. New content can be posting using the admin interface or a desktop blog editor such as MarsEdit or Ecto. For a list of working clients, please visit http://typosphere.org/wiki/DesktopClients
|
100
|
+
|
101
|
+
Enjoy,
|
102
|
+
The Typo team
|
data/Rakefile
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
2
|
+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
3
|
+
|
4
|
+
require File.expand_path('../config/application', __FILE__)
|
5
|
+
require 'rake'
|
6
|
+
|
7
|
+
TypoBlog::Application.load_tasks
|
data/TODO.todo
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
# This file is better viewed with Textmate tasks plugin
|
2
|
+
|
3
|
+
neuro for 6.0.6:
|
4
|
+
- Ticket #185: Change feedback bulk ops to something clearer: mark as spam / confirm classification / validates. Global operations: delete all spam / mark all unconfirmed spam as spam
|
5
|
+
|
6
|
+
Typogarden:
|
7
|
+
- Port : http://typogarden.org/hemingway.html
|
8
|
+
- Backport : http://www.lightword-design.com/
|
9
|
+
- Backport : http://www.pagelines.com/themes/platformpro
|
10
|
+
|
11
|
+
mvz for 6.0.6
|
12
|
+
- avoid accidentally creating published articles with a permalink like draft-article-123
|
13
|
+
- continued clean-ups and spec improvements.
|
14
|
+
- fix original migration with ruby 1.9.2
|
15
|
+
- Evaluate http://typogarden.org/brown-type.html
|
16
|
+
- Evaluate http://typogarden.org/lindholmen.html
|
17
|
+
- Clean up themes
|
18
|
+
|
19
|
+
ook for 6.0.5
|
20
|
+
- enable category creation on the fly, in "write" tab (http://fdv.lighthouseapp.com/projects/11171/tickets/141-enable-category-creation-in-the-write-page)
|
21
|
+
- display permalink for comments
|
22
|
+
- port textfilter to the new plugin system
|
23
|
+
- evaluate neuro request, about persistancing plugin system into table, instead of Blog.settings
|
24
|
+
|
25
|
+
before each release:
|
26
|
+
- test db:migrate on an empty database
|
27
|
+
|
28
|
+
Admin/tags:
|
29
|
+
- Allow merge of taggings. IIRC there's a ticket with a patch waiting for us as a good start
|
30
|
+
|
31
|
+
under the hood:
|
32
|
+
- Use standard rails localization
|
33
|
+
- Simplify BlogSweeper: (Allmost) all sweeps are really sweep_all.
|
data/config.ru
ADDED
data/typo.gemspec
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = "typo"
|
4
|
-
s.version = "6.0.
|
4
|
+
s.version = "6.0.6"
|
5
5
|
s.platform = Gem::Platform::RUBY
|
6
|
-
s.authors = ["Frédéric de Villamil", "Matijs van Zuijlen", "Thomas Lecavellier", "Cyril Mougel"]
|
6
|
+
s.authors = ["Frédéric de Villamil", "Matijs van Zuijlen", "Yannick François", "Thomas Lecavellier", "Cyril Mougel"]
|
7
7
|
s.email = ["frederic@de-villamil.com"]
|
8
8
|
s.homepage = "http://typosphere.org"
|
9
9
|
s.summary = %q{The missing blogging engine.}
|
metadata
CHANGED
@@ -1,24 +1,25 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: typo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 35
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 6
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 6.0.
|
9
|
+
- 6
|
10
|
+
version: 6.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Fr\xC3\xA9d\xC3\xA9ric de Villamil"
|
14
14
|
- Matijs van Zuijlen
|
15
|
+
- "Yannick Fran\xC3\xA7ois"
|
15
16
|
- Thomas Lecavellier
|
16
17
|
- Cyril Mougel
|
17
18
|
autorequire:
|
18
19
|
bindir: bin
|
19
20
|
cert_chain: []
|
20
21
|
|
21
|
-
date: 2011-02
|
22
|
+
date: 2011-08-02 00:00:00 +02:00
|
22
23
|
default_executable:
|
23
24
|
dependencies: []
|
24
25
|
|
@@ -32,8 +33,14 @@ extensions: []
|
|
32
33
|
extra_rdoc_files: []
|
33
34
|
|
34
35
|
files:
|
36
|
+
- CHANGELOG
|
37
|
+
- Gemfile
|
38
|
+
- MIT-LICENSE
|
35
39
|
- PostInstall.txt
|
36
|
-
-
|
40
|
+
- README.textile
|
41
|
+
- Rakefile
|
42
|
+
- TODO.todo
|
43
|
+
- config.ru
|
37
44
|
- typo.gemspec
|
38
45
|
has_rdoc: true
|
39
46
|
homepage: http://typosphere.org
|