typo 5.1 → 5.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES-5.1 +24 -22
- data/app/controllers/admin/content_controller.rb +1 -1
- data/db/schema.rb +218 -0
- data/lib/tasks/release.rake +1 -1
- data/lib/typo_version.rb +1 -1
- metadata +3 -1
data/CHANGES-5.1
CHANGED
@@ -1,53 +1,55 @@
|
|
1
|
-
Typo 5.1 "Cartier-Bresson" was released on
|
1
|
+
Typo 5.1 "Cartier-Bresson" was released on monday July the 21st at around 8PM GMT and can be considered as a major Typo Version.
|
2
2
|
|
3
3
|
It contains :
|
4
4
|
|
5
|
-
|
6
|
-
** Multiple users and roles.
|
5
|
+
<h4>Multiple users and roles</h4>
|
7
6
|
|
8
7
|
This point actually makes Typo 5.1 a major version. This release introduces 3 roles, coming along with various privileges :
|
9
|
-
|
10
|
-
|
11
|
-
|
8
|
+
<ul>
|
9
|
+
<li>Administrator, who owns full administrative and publishing power.</li>
|
10
|
+
<li>Publisher, who owns full publishing power on his own contents.</li>
|
11
|
+
<li>Contributors, who only have the right to login and edit their profile.</li>
|
12
|
+
</ul>
|
12
13
|
|
13
14
|
There is now an option to allow new users to register by themselves or not. If not, the administrator will just have to add them himself in the admin.
|
14
15
|
|
15
16
|
|
16
|
-
|
17
|
+
<h4>Improved admin</h4>
|
17
18
|
|
18
19
|
The admin has been heavily refactored to be lighter, easier to use, and offer more capabilities.
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
20
|
+
<ul>
|
21
|
+
<li>You can now save your posts as drafts. Drafts now appear in a separate area of your administration to separarte them from offline posts.</li>
|
22
|
+
<li>New editing interface.</li>
|
23
|
+
<li>Tag autocompletion.</li>
|
24
|
+
<li>A new dashboard that makes daily administration easier.</li>
|
25
|
+
<li>Save as draft capabilities</li>
|
26
|
+
<li>Autosave capabilities (only with simple visual editor)</li>
|
27
|
+
<li>Revamped UI</li>
|
28
|
+
<li>Many more...</li>
|
29
|
+
</ul>
|
30
|
+
|
31
|
+
<h4>New default theme</h4>
|
30
32
|
|
31
33
|
After leaving the too much long used Azure theme for some templates found on open source design websites, we realized Typo needed a new default theme. We asked O2Source a French web Agency involved in many free and open source templates, and they came up with Typographic.
|
32
34
|
|
33
35
|
We wanted something new, far from the classic white and blue fixed width wordpressish thing, something with its own personnality, that would take the whole screen and adapt many resolutions, and we've been quite delighted with what Hélène produced.
|
34
36
|
|
35
37
|
|
36
|
-
|
38
|
+
<h4>Come back of the gem and the installer</h4>
|
37
39
|
|
38
40
|
After fixing numerous bugs happening with Typo installed through our installer, we were able to provide the gem again, making Typo installation easier than ever.
|
39
41
|
|
40
42
|
MySQL is now the default database and SQLITE dependency has been removed.
|
41
43
|
|
42
|
-
|
44
|
+
<h4>Lots of code improvement and refactoring</h4>
|
43
45
|
|
44
46
|
The code have been improved and refactored, maing Typo lighter than ever. This is a guarantee of less errors.
|
45
47
|
|
46
|
-
|
48
|
+
<h4>New migrators</h4>
|
47
49
|
|
48
50
|
We've included new migrators, allowing easy import from Wordpress and Dotclear 1.2 and 2. Typepad and Textpattern may follow soon.
|
49
51
|
|
50
|
-
|
52
|
+
<h4>New site with up to date documentation</h4>
|
51
53
|
|
52
54
|
The bugtracker has been moved from Trac to Redmine, so has the documentation, which has been rewriten in many ways. Access to the doc has also been made easier by merging redmine.typosphere.org with trac.typosphere.org.
|
53
55
|
|
@@ -119,7 +119,7 @@ class Admin::ContentController < Admin::BaseController
|
|
119
119
|
@article.state = "draft" unless @article.state == "withdrawn"
|
120
120
|
if @article.save
|
121
121
|
set_article_categories
|
122
|
-
render :text => _("Article was successfully saved at ") + Time.now.to_s
|
122
|
+
render :text => _("Article was successfully saved at ") + Time.now.to_s + "<input type='hidden' name='id' value='#{@article.id}' />"
|
123
123
|
return true
|
124
124
|
end
|
125
125
|
end
|
data/db/schema.rb
ADDED
@@ -0,0 +1,218 @@
|
|
1
|
+
# This file is auto-generated from the current state of the database. Instead of editing this file,
|
2
|
+
# please use the migrations feature of ActiveRecord to incrementally modify your database, and
|
3
|
+
# then regenerate this schema definition.
|
4
|
+
#
|
5
|
+
# Note that this schema.rb definition is the authoritative source for your database schema. If you need
|
6
|
+
# to create the application database on another system, you should be using db:schema:load, not running
|
7
|
+
# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
8
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
9
|
+
#
|
10
|
+
# It's strongly recommended to check this file into your version control system.
|
11
|
+
|
12
|
+
ActiveRecord::Schema.define(:version => 70) do
|
13
|
+
|
14
|
+
create_table "articles_tags", :id => false, :force => true do |t|
|
15
|
+
t.integer "article_id"
|
16
|
+
t.integer "tag_id"
|
17
|
+
end
|
18
|
+
|
19
|
+
create_table "blacklist_patterns", :force => true do |t|
|
20
|
+
t.string "type"
|
21
|
+
t.string "pattern"
|
22
|
+
end
|
23
|
+
|
24
|
+
add_index "blacklist_patterns", ["pattern"], :name => "index_blacklist_patterns_on_pattern"
|
25
|
+
|
26
|
+
create_table "blogs", :force => true do |t|
|
27
|
+
t.text "settings"
|
28
|
+
t.string "base_url"
|
29
|
+
end
|
30
|
+
|
31
|
+
create_table "categories", :force => true do |t|
|
32
|
+
t.string "name"
|
33
|
+
t.integer "position"
|
34
|
+
t.string "permalink"
|
35
|
+
end
|
36
|
+
|
37
|
+
add_index "categories", ["permalink"], :name => "index_categories_on_permalink"
|
38
|
+
|
39
|
+
create_table "categorizations", :force => true do |t|
|
40
|
+
t.integer "article_id"
|
41
|
+
t.integer "category_id"
|
42
|
+
t.boolean "is_primary"
|
43
|
+
end
|
44
|
+
|
45
|
+
create_table "contents", :force => true do |t|
|
46
|
+
t.string "type"
|
47
|
+
t.string "title"
|
48
|
+
t.string "author"
|
49
|
+
t.text "body"
|
50
|
+
t.text "extended"
|
51
|
+
t.text "excerpt"
|
52
|
+
t.string "keywords"
|
53
|
+
t.datetime "created_at"
|
54
|
+
t.datetime "updated_at"
|
55
|
+
t.integer "user_id"
|
56
|
+
t.string "permalink"
|
57
|
+
t.string "guid"
|
58
|
+
t.integer "text_filter_id"
|
59
|
+
t.text "whiteboard"
|
60
|
+
t.string "name"
|
61
|
+
t.boolean "published", :default => false
|
62
|
+
t.boolean "allow_pings"
|
63
|
+
t.boolean "allow_comments"
|
64
|
+
t.datetime "published_at"
|
65
|
+
t.string "state"
|
66
|
+
end
|
67
|
+
|
68
|
+
add_index "contents", ["published"], :name => "index_contents_on_published"
|
69
|
+
add_index "contents", ["text_filter_id"], :name => "index_contents_on_text_filter_id"
|
70
|
+
|
71
|
+
create_table "feedback", :force => true do |t|
|
72
|
+
t.string "type"
|
73
|
+
t.string "title"
|
74
|
+
t.string "author"
|
75
|
+
t.text "body"
|
76
|
+
t.text "excerpt"
|
77
|
+
t.datetime "created_at"
|
78
|
+
t.datetime "updated_at"
|
79
|
+
t.integer "user_id"
|
80
|
+
t.string "guid"
|
81
|
+
t.integer "text_filter_id"
|
82
|
+
t.text "whiteboard"
|
83
|
+
t.integer "article_id"
|
84
|
+
t.string "email"
|
85
|
+
t.string "url"
|
86
|
+
t.string "ip", :limit => 40
|
87
|
+
t.string "blog_name"
|
88
|
+
t.boolean "published", :default => false
|
89
|
+
t.datetime "published_at"
|
90
|
+
t.string "state"
|
91
|
+
t.boolean "status_confirmed"
|
92
|
+
end
|
93
|
+
|
94
|
+
add_index "feedback", ["article_id"], :name => "index_feedback_on_article_id"
|
95
|
+
add_index "feedback", ["text_filter_id"], :name => "index_feedback_on_text_filter_id"
|
96
|
+
|
97
|
+
create_table "notifications", :force => true do |t|
|
98
|
+
t.integer "content_id"
|
99
|
+
t.integer "user_id"
|
100
|
+
t.datetime "created_at"
|
101
|
+
t.datetime "updated_at"
|
102
|
+
end
|
103
|
+
|
104
|
+
create_table "page_caches", :force => true do |t|
|
105
|
+
t.string "name"
|
106
|
+
end
|
107
|
+
|
108
|
+
add_index "page_caches", ["name"], :name => "index_page_caches_on_name"
|
109
|
+
|
110
|
+
create_table "pings", :force => true do |t|
|
111
|
+
t.integer "article_id"
|
112
|
+
t.string "url"
|
113
|
+
t.datetime "created_at"
|
114
|
+
end
|
115
|
+
|
116
|
+
add_index "pings", ["article_id"], :name => "index_pings_on_article_id"
|
117
|
+
|
118
|
+
create_table "profiles", :force => true do |t|
|
119
|
+
t.string "label"
|
120
|
+
t.string "nicename"
|
121
|
+
t.text "modules"
|
122
|
+
end
|
123
|
+
|
124
|
+
create_table "profiles_rights", :force => true do |t|
|
125
|
+
t.integer "profile_id"
|
126
|
+
t.integer "right_id"
|
127
|
+
end
|
128
|
+
|
129
|
+
create_table "redirects", :force => true do |t|
|
130
|
+
t.string "from_path"
|
131
|
+
t.string "to_path"
|
132
|
+
end
|
133
|
+
|
134
|
+
create_table "resources", :force => true do |t|
|
135
|
+
t.integer "size"
|
136
|
+
t.string "filename"
|
137
|
+
t.string "mime"
|
138
|
+
t.datetime "created_at"
|
139
|
+
t.datetime "updated_at"
|
140
|
+
t.integer "article_id"
|
141
|
+
t.boolean "itunes_metadata"
|
142
|
+
t.string "itunes_author"
|
143
|
+
t.string "itunes_subtitle"
|
144
|
+
t.integer "itunes_duration"
|
145
|
+
t.text "itunes_summary"
|
146
|
+
t.string "itunes_keywords"
|
147
|
+
t.string "itunes_category"
|
148
|
+
t.boolean "itunes_explicit"
|
149
|
+
end
|
150
|
+
|
151
|
+
create_table "rights", :force => true do |t|
|
152
|
+
t.string "name"
|
153
|
+
t.string "description"
|
154
|
+
end
|
155
|
+
|
156
|
+
create_table "sessions", :force => true do |t|
|
157
|
+
t.string "sessid"
|
158
|
+
t.text "data"
|
159
|
+
t.datetime "created_at"
|
160
|
+
t.datetime "updated_at"
|
161
|
+
end
|
162
|
+
|
163
|
+
add_index "sessions", ["sessid"], :name => "index_sessions_on_sessid"
|
164
|
+
|
165
|
+
create_table "sidebars", :force => true do |t|
|
166
|
+
t.integer "active_position"
|
167
|
+
t.text "config"
|
168
|
+
t.integer "staged_position"
|
169
|
+
t.string "type"
|
170
|
+
end
|
171
|
+
|
172
|
+
create_table "sitealizer", :force => true do |t|
|
173
|
+
t.string "path"
|
174
|
+
t.string "ip"
|
175
|
+
t.string "referer"
|
176
|
+
t.string "language"
|
177
|
+
t.string "user_agent"
|
178
|
+
t.datetime "created_at"
|
179
|
+
t.date "created_on"
|
180
|
+
end
|
181
|
+
|
182
|
+
create_table "tags", :force => true do |t|
|
183
|
+
t.string "name"
|
184
|
+
t.datetime "created_at"
|
185
|
+
t.datetime "updated_at"
|
186
|
+
t.string "display_name"
|
187
|
+
end
|
188
|
+
|
189
|
+
create_table "text_filters", :force => true do |t|
|
190
|
+
t.string "name"
|
191
|
+
t.string "description"
|
192
|
+
t.string "markup"
|
193
|
+
t.text "filters"
|
194
|
+
t.text "params"
|
195
|
+
end
|
196
|
+
|
197
|
+
create_table "triggers", :force => true do |t|
|
198
|
+
t.integer "pending_item_id"
|
199
|
+
t.string "pending_item_type"
|
200
|
+
t.datetime "due_at"
|
201
|
+
t.string "trigger_method"
|
202
|
+
end
|
203
|
+
|
204
|
+
create_table "users", :force => true do |t|
|
205
|
+
t.string "login"
|
206
|
+
t.string "password"
|
207
|
+
t.text "email"
|
208
|
+
t.text "name"
|
209
|
+
t.boolean "notify_via_email"
|
210
|
+
t.boolean "notify_on_new_articles"
|
211
|
+
t.boolean "notify_on_comments"
|
212
|
+
t.boolean "notify_watch_my_articles"
|
213
|
+
t.boolean "notify_via_jabber"
|
214
|
+
t.string "jabber"
|
215
|
+
t.integer "profile_id"
|
216
|
+
end
|
217
|
+
|
218
|
+
end
|
data/lib/tasks/release.rake
CHANGED
data/lib/typo_version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
TYPO_VERSION = '5.1'
|
1
|
+
TYPO_VERSION = '5.1.1'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: typo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Fr\xC3\xA9d\xC3\xA9ric de Villamil"
|
@@ -500,6 +500,7 @@ files:
|
|
500
500
|
- db/schema.mysql-v3.sql
|
501
501
|
- db/schema.mysql.sql
|
502
502
|
- db/schema.postgresql.sql
|
503
|
+
- db/schema.rb
|
503
504
|
- db/schema.sqlite.sql
|
504
505
|
- db/schema.sqlserver.sql
|
505
506
|
- db/schema_version
|
@@ -1420,6 +1421,7 @@ files:
|
|
1420
1421
|
- themes/typographic/views/theme/static_view_test.html.erb
|
1421
1422
|
- tmp
|
1422
1423
|
- tmp/cache
|
1424
|
+
- tmp/pids
|
1423
1425
|
- tmp/sessions
|
1424
1426
|
- tmp/sockets
|
1425
1427
|
- vendor
|