Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Moves all Typo references to Publify.

Specs pass.
Adds a migration to move typo:code to publify:code in the contents.
  • Loading branch information...
commit 63b3ffbd3a16212c3e01bcdbf217938f3a659bfd 1 parent 5c676f9
@fdv fdv authored
Showing with 780 additions and 702 deletions.
  1. +1 −1  Rakefile
  2. +1 −1  app/apis/blogger_service.rb
  3. +1 −1  app/apis/meta_weblog_service.rb
  4. +1 −1  app/apis/movable_type_service.rb
  5. +1 −1  app/apis/{typo_web_service.rb → publify_web_service.rb}
  6. +2 −2 app/controllers/accounts_controller.rb
  7. +1 −1  app/controllers/admin/base_controller.rb
  8. +2 −2 app/controllers/admin/cache_controller.rb
  9. +12 −12 app/controllers/admin/dashboard_controller.rb
  10. +4 −4 app/controllers/setup_controller.rb
  11. +3 −3 app/helpers/admin/base_helper.rb
  12. +2 −2 app/helpers/admin/dashboard_helper.rb
  13. +5 −4 app/helpers/application_helper.rb
  14. +2 −2 app/mailers/notification_mailer.rb
  15. +3 −3 app/models/article.rb
  16. +3 −3 app/models/blog.rb
  17. +1 −1  app/models/feedback.rb
  18. +2 −2 app/models/user.rb
  19. +1 −1  app/services/admin/token_checker.rb
  20. +1 −1  app/views/admin/cache/index.html.erb
  21. +2 −2 app/views/admin/dashboard/_overview.html.erb
  22. +4 −4 app/views/admin/dashboard/{_typo_dev.html.erb → _publify_dev.html.erb}
  23. +1 −1  app/views/admin/dashboard/_welcome.html.erb
  24. +1 −1  app/views/admin/dashboard/index.html.erb
  25. +2 −2 app/views/admin/post_types/new.html.erb
  26. +1 −1  app/views/admin/seo/index.html.erb
  27. +1 −1  app/views/admin/seo/permalinks.html.erb
  28. +3 −3 app/views/admin/settings/feedback.html.erb
  29. +3 −3 app/views/admin/settings/index.html.erb
  30. +1 −1  app/views/admin/settings/write.html.erb
  31. +1 −1  app/views/admin/sidebar/index.html.erb
  32. +6 −6 app/views/layouts/administration.html.erb
  33. +1 −1  app/views/layouts/sidebar.html.erb
  34. +1 −1  app/views/setup/index.html.erb
  35. +1 −1  app/views/shared/_atom_header.atom.builder
  36. +2 −2 app/views/shared/_page_header.html.erb
  37. +2 −2 app/views/xml/rsd.rsd.builder
  38. +1 −1  config.ru
  39. +8 −8 config/application.rb
  40. +3 −3 config/database.yml.mysql
  41. +3 −3 config/database.yml.postgresql
  42. +1 −1  config/environment.rb
  43. +1 −1  config/environments/development.rb
  44. +1 −1  config/environments/production.rb
  45. +1 −1  config/environments/test.rb
  46. +6 −6 config/initializers/access_rules.rb
  47. +2 −2 config/initializers/secret_token.rb
  48. +2 −2 config/initializers/session_store.rb
  49. +2 −2 config/routes.rb
  50. +2 −2 db/converters/README
  51. +2 −2 db/converters/feed.rb
  52. +1 −1  db/converters/mt3.rb
  53. +2 −2 db/converters/rss.rb
  54. +2 −2 db/converters/s9y.rb
  55. +1 −1  db/converters/textpattern.rb
  56. +47 −0 db/migrate/109_drops_typo_references_for_publify.rb
  57. +1 −1  db/schema.mysql-v3.sql
  58. +1 −1  db/schema.mysql.sql
  59. +1 −1  db/schema.postgresql.sql
  60. +50 −20 db/schema.rb
  61. +1 −1  db/schema.sqlite.sql
  62. +1 −1  db/schema.sqlite3.sql
  63. +1 −1  db/schema.sqlserver.sql
  64. +1 −1  db/seeds.rb
  65. +3 −3 doc/CACHE.SETUP.README
  66. +23 −23 lang/da_DK.rb
  67. +23 −23 lang/de_DE.rb
  68. +23 −23 lang/es_MX.rb
  69. +34 −34 lang/fr_FR.rb
  70. +26 −26 lang/he_IL.rb
  71. +25 −25 lang/it_IT.rb
  72. +23 −23 lang/ja_JP.rb
  73. +23 −23 lang/lt_LT.rb
  74. +30 −30 lang/nb_NO.rb
  75. +21 −21 lang/nl_NL.rb
  76. +24 −24 lang/pl_PL.rb
  77. +23 −23 lang/pt_BR.rb
  78. +23 −23 lang/ro_RO.rb
  79. +25 −25 lang/zh_CN.rb
  80. +24 −24 lang/zh_TW.rb
  81. +2 −2 lib/avatar_plugin.rb
  82. +1 −1  lib/livesearch_sidebar/lib/livesearch_sidebar.rb
  83. +1 −1  lib/meta_sidebar/app/views/meta_sidebar/_content.html.erb
  84. +1 −1  lib/meta_sidebar/lib/meta_sidebar.rb
  85. +10 −10 lib/{typo_converter → publify_converter}/README
  86. +2 −2 lib/{typo_converter → publify_converter}/Rakefile
  87. 0  lib/{typo_converter → publify_converter}/db/wp25_schema.rb
  88. +1 −1  lib/{typo_converter → publify_converter}/init.rb
  89. +6 −6 lib/{typo_converter → publify_converter}/lib/converters/base.rb
  90. 0  lib/{typo_converter → publify_converter}/lib/converters/dotclear.rb
  91. 0  lib/{typo_converter → publify_converter}/lib/converters/dotclear/category.rb
  92. 0  lib/{typo_converter → publify_converter}/lib/converters/dotclear/comment.rb
  93. 0  lib/{typo_converter → publify_converter}/lib/converters/dotclear/post.rb
  94. 0  lib/{typo_converter → publify_converter}/lib/converters/dotclear/user.rb
  95. +1 −1  lib/{typo_converter → publify_converter}/lib/converters/dotclear_2.rb
  96. 0  lib/{typo_converter → publify_converter}/lib/converters/dotclear_2/category.rb
  97. 0  lib/{typo_converter → publify_converter}/lib/converters/dotclear_2/comment.rb
  98. 0  lib/{typo_converter → publify_converter}/lib/converters/dotclear_2/post.rb
  99. 0  lib/{typo_converter → publify_converter}/lib/converters/dotclear_2/tag.rb
  100. 0  lib/{typo_converter → publify_converter}/lib/converters/dotclear_2/user.rb
  101. +1 −1  lib/{typo_converter → publify_converter}/lib/converters/wp25.rb
  102. 0  lib/{typo_converter → publify_converter}/lib/converters/wp25/comment.rb
  103. 0  lib/{typo_converter → publify_converter}/lib/converters/wp25/option.rb
  104. 0  lib/{typo_converter → publify_converter}/lib/converters/wp25/post.rb
  105. 0  lib/{typo_converter → publify_converter}/lib/converters/wp25/term.rb
  106. 0  lib/{typo_converter → publify_converter}/lib/converters/wp25/term_relationship.rb
  107. 0  lib/{typo_converter → publify_converter}/lib/converters/wp25/term_taxonomy.rb
  108. 0  lib/{typo_converter → publify_converter}/lib/converters/wp25/user.rb
  109. 0  lib/{typo_converter → publify_converter}/lib/tasks/typo_converters_tasks.rake
  110. +1 −1  lib/{typo_converter → publify_converter}/spec/converters/wp25_spec.rb
  111. 0  lib/{typo_converter → publify_converter}/spec/factories/wp25_factories.rb
  112. 0  lib/{typo_converter → publify_converter}/spec/spec_helper.rb
  113. 0  lib/{typo_converter → publify_converter}/spec/typo_converter_spec.rb
  114. +1 −1  lib/{typo_guid.rb → publify_guid.rb}
  115. +2 −0  lib/publify_login_system.rb
  116. +3 −3 lib/{typo_login_system → publify_login_system}/access_control.rb
  117. 0  lib/{typo_login_system → publify_login_system}/login_system.rb
  118. +3 −3 lib/{typo_plugins.rb → publify_plugins.rb}
  119. 0  lib/{typo_sidebar.rb → publify_sidebar.rb}
  120. +1 −1  lib/{typo_textfilter_code.rb → publify_textfilter_code.rb}
  121. +1 −1  lib/{typo_textfilter_flickr.rb → publify_textfilter_flickr.rb}
  122. +1 −1  lib/{typo_textfilter_htmlfilter.rb → publify_textfilter_htmlfilter.rb}
  123. +4 −4 lib/{typo_textfilter_lightbox.rb → publify_textfilter_lightbox.rb}
  124. +4 −4 lib/{typo_textfilter_markdown.rb → publify_textfilter_markdown.rb}
  125. +1 −1  lib/{typo_textfilter_none.rb → publify_textfilter_none.rb}
  126. +2 −2 lib/{typo_textfilter_smartypants.rb → publify_textfilter_smartypants.rb}
  127. +1 −1  lib/{typo_textfilter_textile.rb → publify_textfilter_textile.rb}
  128. +1 −1  lib/{typo_textfilter_textile_and_markdown.rb → publify_textfilter_textile_and_markdown.rb}
  129. +1 −1  lib/{typo_textfilters.rb → publify_textfilters.rb}
  130. +1 −1  lib/{typo_time.rb → publify_time.rb}
  131. 0  lib/{typo_version.rb → publify_version.rb}
  132. +1 −1  lib/search_sidebar/lib/search_sidebar.rb
  133. +1 −1  lib/static_sidebar/lib/static_sidebar.rb
  134. +1 −1  lib/tasks/genethumb.rake
  135. +4 −4 lib/tasks/release.rake
  136. +1 −1  lib/tasks/sweep_cache.rake
  137. +5 −5 lib/text_filter_plugin.rb
  138. +0 −2  lib/typo_login_system.rb
  139. +4 −4 public/javascripts/administration.js
  140. +1 −1  public/javascripts/{typo.js → publify.js}
  141. 0  public/javascripts/{typo_carousel.js → publify_carousel.js}
  142. +1 −1  public/stylesheets/calendar_date_select/default.css
  143. +9 −9 spec/controllers/accounts_controller_spec.rb
  144. +6 −6 spec/controllers/admin/dashboard_controller_spec.rb
  145. +1 −1  spec/controllers/admin/feedback_controller_spec.rb
  146. +1 −1  spec/controllers/admin/pages_controller_spec.rb
  147. +2 −2 spec/controllers/articles_controller_spec.rb
  148. +2 −2 spec/controllers/theme_controller_spec.rb
  149. +2 −2 spec/factories.rb
  150. +5 −5 spec/lib/{typo_time_spec.rb → publify_time_spec.rb}
  151. +2 −2 spec/lib/text_filter_plugin_spec.rb
  152. +1 −1  spec/models/article_spec.rb
  153. +2 −2 spec/models/configuration_spec.rb
  154. +32 −32 spec/models/text_filter_spec.rb
  155. +1 −1  spec/models/user_spec.rb
  156. +2 −2 spec/services/admin/token_checker_spec.rb
  157. +1 −1  spec/spec_helper.rb
  158. +2 −2 spec/views/comments/index_atom_feed_spec.rb
  159. +2 −2 spec/views/shared/_atom_header_spec.rb
  160. +2 −2 spec/views/trackbacks/index_atom_feed_spec.rb
  161. +15 −15 themes/bootstrap/README.md
  162. +3 −3 themes/bootstrap/about.markdown
  163. +1 −1  themes/bootstrap/views/layouts/default.html.erb
  164. +1 −1  themes/typographic/views/layouts/default.html.erb
  165. +1 −1  vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/da.js
  166. +1 −1  vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fo.js
  167. 0  vendor/plugins/{typo_avatar_gravatar → publify_avatar_gravatar}/MIT-LICENSE
  168. +1 −1  vendor/plugins/{typo_avatar_gravatar → publify_avatar_gravatar}/README
  169. +3 −3 vendor/plugins/{typo_avatar_gravatar → publify_avatar_gravatar}/Rakefile
  170. +4 −0 vendor/plugins/publify_avatar_gravatar/init.rb
  171. 0  vendor/plugins/{typo_avatar_gravatar → publify_avatar_gravatar}/install.rb
  172. +2 −2 ..._avatar_gravatar/lib/typo_avatar_gravatar.rb → publify_avatar_gravatar/lib/publify_avatar_gravatar.rb}
  173. 0  vendor/plugins/{typo_avatar_gravatar → publify_avatar_gravatar}/uninstall.rb
  174. +0 −4 vendor/plugins/typo_avatar_gravatar/init.rb
View
2  Rakefile
@@ -4,4 +4,4 @@
require File.expand_path('../config/application', __FILE__)
require 'rake'
-TypoBlog::Application.load_tasks
+Publify::Application.load_tasks
View
2  app/apis/blogger_service.rb
@@ -36,7 +36,7 @@ class BloggerApi < ActionWebService::API::Base
end
-class BloggerService < TypoWebService
+class BloggerService < PublifyWebService
web_service_api BloggerApi
before_invocation :authenticate
View
2  app/apis/meta_weblog_service.rb
@@ -61,7 +61,7 @@ class MetaWeblogApi < ActionWebService::API::Base
end
-class MetaWeblogService < TypoWebService
+class MetaWeblogService < PublifyWebService
web_service_api MetaWeblogApi
before_invocation :authenticate
View
2  app/apis/movable_type_service.rb
@@ -65,7 +65,7 @@ class MovableTypeApi < ActionWebService::API::Base
end
-class MovableTypeService < TypoWebService
+class MovableTypeService < PublifyWebService
web_service_api MovableTypeApi
before_invocation :authenticate, :except => [:getTrackbackPings, :supportedMethods, :supportedTextFilters]
View
2  app/apis/typo_web_service.rb → app/apis/publify_web_service.rb
@@ -1,4 +1,4 @@
-class TypoWebService < ActionWebService::Base
+class PublifyWebService < ActionWebService::Base
attr_accessor :controller
def initialize(controller)
View
4 app/controllers/accounts_controller.rb
@@ -70,7 +70,7 @@ def logout
self.current_user = nil
session[:user_id] = nil
cookies.delete :auth_token
- cookies.delete :typo_user_profile
+ cookies.delete :publify_user_profile
redirect_to :action => 'login'
end
@@ -103,7 +103,7 @@ def successful_login
:httponly => true # Help prevent auth_token theft.
}
end
- add_to_cookies(:typo_user_profile, self.current_user.profile_label, '/')
+ add_to_cookies(:publify_user_profile, self.current_user.profile_label, '/')
self.current_user.update_connection_time
flash[:notice] = _("Login successful")
View
2  app/controllers/admin/base_controller.rb
@@ -31,7 +31,7 @@ def check_and_generate_secret_token
begin
checker.generate_token
- flash[:error] = _("For security reasons, you should restart your Typo application. Enjoy your blogging experience.")
+ flash[:error] = _("For security reasons, you should restart your Publify application. Enjoy your blogging experience.")
rescue
flash[:error] = _("Error: can't generate secret token. Security is at risk. Please, change %s content", checker.file)
end
View
4 app/controllers/admin/cache_controller.rb
@@ -5,7 +5,7 @@ def index
@cache_size = 0
@cache_number = 0
- FileUtils.mkdir_p(TypoBlog::Application.config.action_controller.page_cache_directory) unless File.exists?(TypoBlog::Application.config.action_controller.page_cache_directory)
+ FileUtils.mkdir_p(Publify::Application.config.action_controller.page_cache_directory) unless File.exists?(Publify::Application.config.action_controller.page_cache_directory)
if request.post?
begin
@@ -16,7 +16,7 @@ def index
end
end
- Find.find(TypoBlog::Application.config.action_controller.page_cache_directory) do |path|
+ Find.find(Publify::Application.config.action_controller.page_cache_directory) do |path|
if FileTest.directory?(path)
if File.basename(path)[0] == ?.
Find.prune
View
24 app/controllers/admin/dashboard_controller.rb
@@ -19,28 +19,28 @@ def index
@statuserposts = Article.published.count(conditions: {user_id: current_user.id})
@statspam = Comment.spam.count
@inbound_links = inbound_links
- @typo_links = typo_dev
- typo_version
+ @publify_links = publify_dev
+ publify_version
end
- def typo_version
- typo_version = nil
+ def publify_version
+ publify_version = nil
version = TYPO_VERSION.to_s.split('.')
begin
- url = "http://blog.typosphere.org/version.txt"
+ url = "http://blog.publify.co/version.txt"
open(url) do |http|
- typo_version = http.read[0..5]
- version = typo_version.split('.')
+ publify_version = http.read[0..5]
+ version = publify_version.split('.')
end
rescue
end
if version[0].to_i > TYPO_MAJOR.to_i
- flash.now[:error] = _("You are late from at least one major version of Typo. You should upgrade immediately. Download and install %s", "<a href='http://typosphere.org/stable.tgz'>#{_("the latest Typo version")}</a>").html_safe
+ flash.now[:error] = _("You are late from at least one major version of Publify. You should upgrade immediately. Download and install %s", "<a href='http://publify.co/stable.tgz'>#{_("the latest Publify version")}</a>").html_safe
elsif version[1].to_i > TYPO_SUB.to_i
- flash.now[:warning] = _("There's a new version of Typo available which may contain important bug fixes. Why don't you upgrade to %s ?", "<a href='http://typosphere.org/stable.tgz'>#{_("the latest Typo version")}</a>").html_safe
+ flash.now[:warning] = _("There's a new version of Publify available which may contain important bug fixes. Why don't you upgrade to %s ?", "<a href='http://publify.co/stable.tgz'>#{_("the latest Publify version")}</a>").html_safe
elsif version[2].to_i > TYPO_MINOR.to_i
- flash.now[:notice] = _("There's a new version of Typo available. Why don't you upgrade to %s ?", "<a href='http://typosphere.org/stable.tgz'>#{_("the latest Typo version")}</a>").html_safe
+ flash.now[:notice] = _("There's a new version of Publify available. Why don't you upgrade to %s ?", "<a href='http://publify.co/stable.tgz'>#{_("the latest Publify version")}</a>").html_safe
end
end
@@ -53,8 +53,8 @@ def inbound_links
parse(url).reverse.compact
end
- def typo_dev
- url = "http://blog.typosphere.org/articles.rss"
+ def publify_dev
+ url = "http://blog.publify.co/articles.rss"
parse(url)[0..4]
end
View
8 app/controllers/setup_controller.rb
@@ -8,7 +8,7 @@ def index
this_blog.blog_name = params[:setting][:blog_name]
this_blog.base_url = blog_base_url
- @user = User.new(:login => 'admin', :email => params[:setting][:email], :nickname => "Typo Admin")
+ @user = User.new(:login => 'admin', :email => params[:setting][:email], :nickname => "Publify Admin")
@user.generate_password!
@user.name = @user.login
@@ -26,7 +26,7 @@ def index
self.current_user = @user
session[:user_id] = @user.id
- # FIXME: Crappy hack : by default, the auto generated post is user_id less and it makes Typo crash
+ # FIXME: Crappy hack : by default, the auto generated post is user_id less and it makes Publify crash
if User.count == 1
update_or_create_first_post_with_user @user
create_first_page @user
@@ -46,7 +46,7 @@ def update_or_create_first_post_with_user user
else
Article.create(title: 'Hello World!',
author: user.login,
- body: 'Welcome to Typo. This is your first article. Edit or delete it, then start blogging!',
+ body: 'Welcome to Publify. This is your first article. Edit or delete it, then start blogging!',
allow_comments: 1,
allow_pings: 1,
published: 1,
@@ -60,7 +60,7 @@ def create_first_page user
Page.create(name: "about",
title: "about",
user: user,
- body: "This is an example of a Typo page. You can edit this to write information about yourself or your site so readers know who you are. You can create as many pages as this one as you like and manage all of your content inside Typo.")
+ body: "This is an example of a Publify page. You can edit this to write information about yourself or your site so readers know who you are. You can create as many pages as this one as you like and manage all of your content inside Publify.")
end
View
6 app/helpers/admin/base_helper.rb
@@ -66,7 +66,7 @@ def text_filter_options_with_id
end
def plugin_options(kind, blank = true)
- r = TypoPlugins::Keeper.available_plugins(kind).collect do |plugin|
+ r = PublifyPlugins::Keeper.available_plugins(kind).collect do |plugin|
[ plugin.name, plugin.to_s ]
end
blank ? r << [_("none"),''] : r
@@ -130,13 +130,13 @@ def published_or_not(item)
def macro_help_popup(macro, text)
unless current_user.editor == 'visual'
- "<a href=\"#{url_for :controller => 'textfilters', :action => 'macro_help', :id => macro.short_name}\" onclick=\"return popup(this, 'Typo Macro Help')\">#{text}</a>"
+ "<a href=\"#{url_for :controller => 'textfilters', :action => 'macro_help', :id => macro.short_name}\" onclick=\"return popup(this, 'Publify Macro Help')\">#{text}</a>"
end
end
def render_macros(macros)
content_tag(:div) do
- link_to_function(_("Show help on Typo macros") + " (+/-)", update_page { |page| page.visual_effect(:toggle_blind, "macros", :duration => 0.2) })
+ link_to_function(_("Show help on Publify macros") + " (+/-)", update_page { |page| page.visual_effect(:toggle_blind, "macros", :duration => 0.2) })
content_tag(:table, {:id => 'macros', :style => 'display: none'}) do
content_tag(:tr) do
content_tag(:th, _('Name'))
View
4 app/helpers/admin/dashboard_helper.rb
@@ -8,8 +8,8 @@ def dashboard_theme_link
def dashboard_sidebar_link
return unless current_user.profile.modules.include? :sidebar
- _("You can also %s to customize your Typo blog.",
- link_to(_('download some plugins'), 'http://plugins.typosphere.org'))
+ _("You can also %s to customize your Publify blog.",
+ link_to(_('download some plugins'), 'http://plugins.publify.co'))
end
def dashboard_action_links
View
9 app/helpers/application_helper.rb
@@ -37,6 +37,7 @@ def comments_link(article)
end
def avatar_tag(options = {})
+ puts this_blog.plugin_avatar.to_s
avatar_class = this_blog.plugin_avatar.constantize
return '' unless avatar_class.respond_to?(:get_avatar)
avatar_class.get_avatar(options)
@@ -53,7 +54,7 @@ def meta_tag(name, value)
def markup_help_popup(markup, text)
if markup and markup.commenthelp.size > 1
- "<a href=\"#{url_for :controller => 'articles', :action => 'markup_help', :id => markup.id}\" onclick=\"return popup(this, 'Typo Markup Help')\">#{text}</a>"
+ "<a href=\"#{url_for :controller => 'articles', :action => 'markup_help', :id => markup.id}\" onclick=\"return popup(this, 'Publify Markup Help')\">#{text}</a>"
else
''
end
@@ -61,7 +62,7 @@ def markup_help_popup(markup, text)
def onhover_show_admin_tools(type, id = nil)
tag = []
- tag << %{ onmouseover="if (getCookie('typo_user_profile') == 'admin') { Element.show('admin_#{[type, id].compact.join('_')}'); }" }
+ tag << %{ onmouseover="if (getCookie('publify_user_profile') == 'admin') { Element.show('admin_#{[type, id].compact.join('_')}'); }" }
tag << %{ onmouseout="Element.hide('admin_#{[type, id].compact.join('_')}');" }
tag
end
@@ -156,12 +157,12 @@ def content_array
end
def new_js_distance_of_time_in_words_to_now(date)
- # Ruby Date class doesn't have #utc method, but _typo_dev.html.erb
+ # Ruby Date class doesn't have #utc method, but _publify_dev.html.erb
# passes Ruby Date.
date = date.to_time
time = _(date.utc.strftime(_("%%a, %%d %%b %%Y %%H:%%M:%%S GMT", date.utc)))
timestamp = date.utc.to_i
- content_tag(:span, time, {:class => "typo_date date gmttimestamp-#{timestamp}", :title => time})
+ content_tag(:span, time, {:class => "publify_date date gmttimestamp-#{timestamp}", :title => time})
end
def display_date(date)
View
4 app/mailers/notification_mailer.rb
@@ -19,7 +19,7 @@ def comment(comment, user)
def notif_user(user)
@user = user
@blog = Blog.default
- build_mail @blog, @user, "Welcome to Typo"
+ build_mail @blog, @user, "Welcome to Publify"
end
private
@@ -29,7 +29,7 @@ def make_subject blog, subject
end
def build_mail blog, user, subject
- headers['X-Mailer'] = "Typo #{TYPO_VERSION}"
+ headers['X-Mailer'] = "Publify #{TYPO_VERSION}"
mail(from: blog.email_from,
to: user.email,
subject: make_subject(blog, subject))
View
6 app/models/article.rb
@@ -3,7 +3,7 @@
require 'net/http'
class Article < Content
- include TypoGuid
+ include PublifyGuid
include ConfigManager
serialize :settings, Hash
@@ -53,7 +53,7 @@ def spam
scope :drafts, lambda { where(state: 'draft').order('created_at DESC') }
scope :child_of, lambda { |article_id| where(parent_id: article_id) }
scope :published, lambda { where(published: true, published_at: Time.at(0)..Time.now).order('published_at DESC') }
- scope :published_at, lambda {|time_params| published.where(published_at: TypoTime.delta(*time_params)).order('published_at DESC')}
+ scope :published_at, lambda {|time_params| published.where(published_at: PublifyTime.delta(*time_params)).order('published_at DESC')}
scope :published_since, lambda {|time| published.where('published_at > ?', time).order('published_at DESC') }
scope :withdrawn, lambda { where(state: 'withdrawn').order('published_at DESC') }
scope :pending, lambda { where('state = ? and published_at > ?', 'publication_pending', Time.now).order('published_at DESC') }
@@ -206,7 +206,7 @@ def self.find_by_published_at
# Finds one article which was posted on a certain date and matches the supplied dashed-title
# params is a Hash
def self.find_by_permalink(params)
- date_range = TypoTime.delta(params[:year], params[:month], params[:day])
+ date_range = PublifyTime.delta(params[:year], params[:month], params[:day])
req_params = {}
req_params[:permalink] = params[:title] if params[:title]
View
6 app/models/blog.rb
@@ -2,8 +2,8 @@
# configuration settings and is linked to most of the assorted content
# classes via has_many.
#
-# Once upon a time, there were plans to make typo handle multiple blogs,
-# but it never happened and typo is now firmly single-blog.
+# Once upon a time, there were plans to make publify handle multiple blogs,
+# but it never happened and publify is now firmly single-blog.
#
class Blog < ActiveRecord::Base
include ConfigManager
@@ -52,7 +52,7 @@ class Blog < ActiveRecord::Base
setting :global_pings_disable, :boolean, false
setting :ping_urls, :string, "http://blogsearch.google.com/ping/RPC2\nhttp://rpc.technorati.com/rpc/ping\nhttp://ping.blo.gs/\nhttp://rpc.weblogs.com/RPC2"
setting :send_outbound_pings, :boolean, true
- setting :email_from, :string, 'typo@example.com'
+ setting :email_from, :string, 'publify@example.com'
setting :editor, :integer, 'visual'
setting :allow_signup, :integer, 0
setting :date_format, :string, '%d/%m/%Y'
View
2  app/models/feedback.rb
@@ -5,7 +5,7 @@ class Feedback < ActiveRecord::Base
belongs_to :text_filter
belongs_to :article
- include TypoGuid
+ include PublifyGuid
include Stateful
include ContentBase
View
4 app/models/user.rb
@@ -1,6 +1,6 @@
require 'digest/sha1'
-# Typo user.
+# Publify user.
class User < ActiveRecord::Base
include ConfigManager
@@ -40,7 +40,7 @@ class User < ActiveRecord::Base
setting :show_jabber, :boolean, false
setting :admin_theme, :string, 'blue'
- # echo "typo" | sha1sum -
+ # echo "publify" | sha1sum -
class_attribute :salt
def self.salt
View
2  app/services/admin/token_checker.rb
@@ -6,7 +6,7 @@ def initialize(file = File.join(Rails.root, "config", "secret.token"))
end
def safe_token_in_use?
- TypoBlog::Application.config.secret_token != $default_token
+ Publify::Application.config.secret_token != $default_token
end
def needs_token_generation?
View
2  app/views/admin/cache/index.html.erb
@@ -1,6 +1,6 @@
<% @page_heading = _('Cache') %>
-<p><%= _("To save resources Typo caches content in static files. Cache is cleared each time something gets published. You may however want to clear the cache yourself.") %></p>
+<p><%= _("To save resources Publify caches content in static files. Cache is cleared each time something gets published. You may however want to clear the cache yourself.") %></p>
<p><%= _("There are currently %d files in cache for a total amount of %d Kb", @cache_number.to_i, @cache_size.to_i / 1000) %>.</p>
View
4 app/views/admin/dashboard/_overview.html.erb
@@ -1,12 +1,12 @@
<div class='alert alert-info'>
<p>
- <%= _("This place gives you a quick overview of what happens on your Typo blog and what you can do. Maybe will you want to %s", dashboard_action_links) %>
+ <%= _("This place gives you a quick overview of what happens on your Publify blog and what you can do. Maybe will you want to %s", dashboard_action_links) %>
</p>
<p>
<%= dashboard_theme_link %>
</p>
<p>
<%= _("If you need help, %s.",
- link_to(_('read our documentation'), 'http://typosphere.org')) %> <%= dashboard_sidebar_link %>
+ link_to(_('read our documentation'), 'http://publify.co')) %> <%= dashboard_sidebar_link %>
</p>
</div>
View
8 app/views/admin/dashboard/_typo_dev.html.erb → app/views/admin/dashboard/_publify_dev.html.erb
@@ -1,15 +1,15 @@
-<h3><%= _("Latest news from the Typo development blog") %></h3>
+<h3><%= _("Latest news from the Publify development blog") %></h3>
<div class='well'>
<ul class='unstyled'>
- <% if @typo_links.nil? %>
+ <% if @publify_links.nil? %>
<li class='alert alert-error'>
<%= _('You have no internet connection') %>
</li>
<% else %>
- <% if @typo_links.size == 0 %>
+ <% if @publify_links.size == 0 %>
<li><%= _("Oh no, nothing new") %></li>
<% else %>
- <% @typo_links.each do |link| -%>
+ <% @publify_links.each do |link| -%>
<li <%= alternate_class %>>
<h5><%= link_to("#{link.title}</strong>".html_safe, link.link) %> <%= display_date_and_time(link.date) %></h5>
<p><%= link.description.strip_html.slice(0, 300) %>...</p>
View
2  app/views/admin/dashboard/_welcome.html.erb
@@ -2,7 +2,7 @@
<div class='well'>
<p><%= _("%d articles and %d comments were posted since your last connexion", @newposts_count, @newcomments_count) %></p>
- <p><%= _("You're running Typo %s", TYPO_VERSION) %> <%= @version_message %></p>
+ <p><%= _("You're running Publify %s", TYPO_VERSION) %> <%= @version_message %></p>
<% if current_user.profile.modules.include? :articles%>
<p><strong><%= _("Content") %></strong></p>
View
2  app/views/admin/dashboard/index.html.erb
@@ -9,5 +9,5 @@
<div class='dashboard'>
<%= render "inbound" %>
<%= render "posts" %>
- <%= render "typo_dev" %>
+ <%= render "publify_dev" %>
</div>
View
4 app/views/admin/post_types/new.html.erb
@@ -24,7 +24,7 @@
</thead>
<tr class='shade'>
<td><%= _("Default") %></td>
- <td><%= _("Typo default post type") %></td>
+ <td><%= _("Publify default post type") %></td>
<td>read</td>
</tr>
<% for pt in @post_types -%>
@@ -38,5 +38,5 @@
</tr>
<% end -%>
</table>
- <p class="help-block"><%= _("The template name is the filename Typo will look for when calling an article of that type. It should be in your theme under views/articles/template name.html.erb") %></p>
+ <p class="help-block"><%= _("The template name is the filename Publify will look for when calling an article of that type. It should be in your theme under views/articles/template name.html.erb") %></p>
</div>
View
2  app/views/admin/seo/index.html.erb
@@ -62,7 +62,7 @@
<div class='controls'>
<%= text_area(:setting, :robots, :rows => 10, :class => 'span6')%>
<% unless robot_writable? -%>
- <p class='alert alert-error'><%= _("You robots.txt file is not writeable. Typo won't be able to write it")%></p>
+ <p class='alert alert-error'><%= _("You robots.txt file is not writeable. Publify won't be able to write it")%></p>
<% end -%>
</div>
</div>
View
2  app/views/admin/seo/permalinks.html.erb
@@ -2,7 +2,7 @@
<%= error_messages_for 'blog' %>
<%= form_tag :action => 'permalinks' do %>
-<p><%= _("Typo offers you the ability to create a custom URL structure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links.") %></p>
+<p><%= _("Publify offers you the ability to create a custom URL structure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links.") %></p>
<p><%= _("Here are some examples to get you started.") %></p>
<div class='form-horizontal'>
View
6 app/views/admin/settings/feedback.html.erb
@@ -57,7 +57,7 @@
<div class='controls'>
<label class='checkbox' for="setting_sp_global"><%= _("Enable spam protection")%>
<%= check_box(:setting, :sp_global)%>
- <span class='help-block'><%= _("Enabling spam protection will make Typo compare the IP address of posters as well as the contents of their posts against local and remote blacklists. Good defense against spam bots")%>.</span>
+ <span class='help-block'><%= _("Enabling spam protection will make Publify compare the IP address of posters as well as the contents of their posts against local and remote blacklists. Good defense against spam bots")%>.</span>
</label>
</div>
</div>
@@ -65,7 +65,7 @@
<label class='control-label' for="setting_sp_akismet_key"><%= _("Akismet Key")%></label>
<div class='controls'>
<%= text_field(:setting, :sp_akismet_key, {:class => 'span6'}) %>
- <span class='help-block'><%= _("Typo can (optionally) use the %s spam-filtering service. You need to register with Akismet and receive an API key before you can use their service. If you have an Akismet key, enter it here", '<a href="http://akismet.com">Akismet</a>')%>.</span>
+ <span class='help-block'><%= _("Publify can (optionally) use the %s spam-filtering service. You need to register with Akismet and receive an API key before you can use their service. If you have an Akismet key, enter it here", '<a href="http://akismet.com">Akismet</a>')%>.</span>
</div>
</div>
<div class='control-group'>
@@ -81,7 +81,7 @@
<label class='control-label' for="setting_sp_url_limit"><%= _("Max Links")%></label>
<div class='controls'>
<%= text_field(:setting, :sp_url_limit, {:size => 4, :class => 'span1'})%>
- <span class='help-block'><%= _("Typo will automatically reject comments and trackbacks which contain over a certain amount of links in them")%>.
+ <span class='help-block'><%= _("Publify will automatically reject comments and trackbacks which contain over a certain amount of links in them")%>.
<%= _("Set to 0 to never reject comments")%>.</span>
</div>
</div>
View
6 app/views/admin/settings/index.html.erb
@@ -38,11 +38,11 @@
</div>
</div>
<div class='control-group'>
- <p><%= _("Typo can notify you when new articles or comments are posted")%></p>
+ <p><%= _("Publify can notify you when new articles or comments are posted")%></p>
<label class='control-label' for="setting_email_from"><%= _("Source Email")%></label>
<div class='controls'>
<%= text_field(:setting, :email_from, { :class => 'span6'}) %>
- <span class='help-block'><%= _("Email address used by Typo to send notifications")%></span>
+ <span class='help-block'><%= _("Email address used by Publify to send notifications")%></span>
</div>
</div>
<div class='control-group'>
@@ -121,7 +121,7 @@
<label class='control-label' for="setting_feedburner_url"><%= _("Feedburner ID")%></label>
<div class='controls'>
<%= text_field(:setting, :feedburner_url, :class => 'span6')%>
- <span class='help-block'><%= _('You can use your Google Feedburner account instead of Typo feed URL. To enable this, fill this form with your Feedburner ID.') %></span>
+ <span class='help-block'><%= _('You can use your Google Feedburner account instead of Publify feed URL. To enable this, fill this form with your Feedburner ID.') %></span>
</div>
</div>
</fieldset>
View
2  app/views/admin/settings/write.html.erb
@@ -8,7 +8,7 @@
<label class='checkbox' for="setting_send_outbound_pings"><%= _("Send trackbacks")%></label>
<div class='controls'>
<%= check_box(:setting, :send_outbound_pings) %>
- <span class='help-block'><%= _("When publishing articles, Typo can send trackbacks to websites that you link to. This should be disabled for private blogs as it will leak non-public information to sites that you're discussing. For public blogs, there's no real point in disabling this.")%></span>
+ <span class='help-block'><%= _("When publishing articles, Publify can send trackbacks to websites that you link to. This should be disabled for private blogs as it will leak non-public information to sites that you're discussing. For public blogs, there's no real point in disabling this.")%></span>
</div>
</div>
<div class='control-group'>
View
2  app/views/admin/sidebar/index.html.erb
@@ -57,4 +57,4 @@ do %>
<% end %>
<h2><%= _("Get more plugins") %></h2>
-<p><%= _("You can download and install sidebar plugins from our official %s. All you have to do is upload the theme directory in your vendor/plugins directory.", "<a href='https://github.com/fdv/typo/wiki/Sidebar-plugins'>#{_("plugin repository")}</a>") %></p>
+<p><%= _("You can download and install sidebar plugins from our official %s. All you have to do is upload the theme directory in your vendor/plugins directory.", "<a href='https://github.com/fdv/publify/wiki/Sidebar-plugins'>#{_("plugin repository")}</a>") %></p>
View
12 app/views/layouts/administration.html.erb
@@ -6,7 +6,7 @@
<title><%= this_blog.blog_name %><%= controller.controller_name %></title>
<meta http-equiv="imagetoolbar" content="no" />
<%= stylesheet_link_tag "growler", "bootstrap", "administration_structure", "lightbox" %>
- <%= javascript_include_tag "prototype", "effects", "builder", "dragdrop", "controls", "typo", "lightbox", "growler", "typo_carousel", "administration", "ckeditor/ckeditor" %>
+ <%= javascript_include_tag "prototype", "effects", "builder", "dragdrop", "controls", "publify", "lightbox", "growler", "publify_carousel", "administration", "ckeditor/ckeditor" %>
<%= calendar_date_select_includes %>
<style type="text/css">
#carousel-content .slide { width: <%= this_blog.image_thumb_size %>; }
@@ -35,10 +35,10 @@
<li class="dropdown" onmouseover='$("help_menu").style.display = "block"' onmouseout='$("help_menu").style.display = "none"'>
<a class="dropdown-toggle" href="#"><%= _("Help")%></a>
<ul class="dropdown-menu" id="help_menu" style="display: none;">
- <li><%= link_to _("Documentation"), "https://github.com/fdv/typo/wiki" %></li>
- <li><%= link_to _("Report a bug"), "https://github.com/fdv/typo/issues" %></li>
- <li><%= link_to _("In page plugins"), "https://github.com/fdv/typo/wiki/In-Page-Plugins" %></li>
- <li><%= link_to _("Sidebar plugins"), "https://github.com/fdv/typo/wiki/Sidebar-plugins" %></li>
+ <li><%= link_to _("Documentation"), "https://github.com/fdv/publify/wiki" %></li>
+ <li><%= link_to _("Report a bug"), "https://github.com/fdv/publify/issues" %></li>
+ <li><%= link_to _("In page plugins"), "https://github.com/fdv/publify/wiki/In-Page-Plugins" %></li>
+ <li><%= link_to _("Sidebar plugins"), "https://github.com/fdv/publify/wiki/Sidebar-plugins" %></li>
</ul>
</li>
<li class='dropdown' onmouseover='$("user_menu").style.display = "block"' onmouseout='$("user_menu").style.display = "none"'>
@@ -84,7 +84,7 @@
<footer class='clearfix'>
<div class='span12'>
- <%= link_to(this_blog.blog_name, this_blog.base_url) %> <%= _("is proudly powered by")%> Typo <%=h TYPO_VERSION %>
+ <%= link_to(this_blog.blog_name, this_blog.base_url) %> <%= _("is proudly powered by")%> Publify <%=h TYPO_VERSION %>
</div>
</footer>
</body>
View
2  app/views/layouts/sidebar.html.erb
@@ -33,7 +33,7 @@
<%= yield %>
<% end %>
- <%= link_to image_tag("powered.gif"), "http://www.typosphere.org/", {:class => "powered" } %>
+ <%= link_to image_tag("powered.gif"), "http://www.publify.co/", {:class => "powered" } %>
</div>
</div>
</body>
View
2  app/views/setup/index.html.erb
@@ -8,7 +8,7 @@
<div id="flash"><%= render_the_flash %></div>
<%= form_tag :action=> 'index' do %>
<div class='alert'>
- <small><%= _("Welcome to your %s blog setup. Just fill in your blog title and your email, and Typo will take care of everything else", link_to("Typo", 'http://typosphere.org'))%></small>
+ <small><%= _("Welcome to your %s blog setup. Just fill in your blog title and your email, and Publify will take care of everything else", link_to("Publify", 'http://publify.co'))%></small>
</div>
<%= text_field(:setting, :blog_name, { :class=> 'input-block-level', :placeholder => _("Blog name")})%>
<%= text_field(:setting, :email, { :class=> 'input-block-level', :placeholder => _("Your email")})%>
View
2  app/views/shared/_atom_header.atom.builder
@@ -3,5 +3,5 @@ unless this_blog.blog_subtitle.blank?
feed.subtitle(this_blog.blog_subtitle, "type" => "html")
end
feed.updated items.first.updated_at if items.first
-feed.generator "Typo", :uri => "http://www.typosphere.org", :version => TYPO_VERSION
+feed.generator "Publify", :uri => "http://www.publify.co", :version => TYPO_VERSION
View
4 app/views/shared/_page_header.html.erb
@@ -3,7 +3,7 @@
<%= meta_tag 'description', @description unless @description.blank? %>
<%= meta_tag 'robots', 'noindex, follow' if stop_index_robots? %>
<%= meta_tag 'google-site-verification', this_blog.google_verification unless this_blog.google_verification.blank?%>
-<meta name="generator" content="Typo <%=TYPO_VERSION%>" />
+<meta name="generator" content="Publify <%=TYPO_VERSION%>" />
<%= show_meta_keyword %>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="<%= url_for :controller => '/xml', :action => 'rsd' %>" />
<%- if feed_atom %>
@@ -12,7 +12,7 @@
<%- if feed_rss %>
<link rel="alternate" type="application/rss+xml" title="RSS" href="<%= feed_rss %>" />
<%- end %>
-<%= javascript_include_tag 'cookies', 'prototype', 'effects', 'builder', 'typo', :cache => true %>
+<%= javascript_include_tag 'cookies', 'prototype', 'effects', 'builder', 'publify', :cache => true %>
<%= stylesheet_link_tag 'coderay', 'user-styles', :cache => true %>
<%= javascript_include_tag "lang/#{Localization.lang.to_s}" if File.exists? File.join(::Rails.root.to_s, 'public', 'lang', Localization.lang.to_s) %>
<%= javascript_tag "window._token = '#{form_authenticity_token}'"%>
View
4 app/views/xml/rsd.rsd.builder
@@ -1,8 +1,8 @@
xml.instruct! :xml, :version=>"1.0", :encoding=>"UTF-8"
xml.rsd "version"=>"1.0", "xmlns"=>"http://archipelago.phrasewise.com/rsd" do
xml.service do
- xml.engineName "Typo"
- xml.engineLink "http://www.typosphere.org"
+ xml.engineName "Publify"
+ xml.engineLink "http://www.publify.co"
xml.homePageLink url_for(:controller => "articles")
xml.apis do
xml.api "name" => "Movable Type", "preferred"=>"true",
View
2  config.ru
@@ -1,4 +1,4 @@
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
-run TypoBlog::Application
+run Publify::Application
View
16 config/application.rb
@@ -5,7 +5,7 @@
# Auto-require default libraries and those for the current Rails environment.
Bundler.require :default, Rails.env
-module TypoBlog
+module Publify
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
@@ -40,8 +40,8 @@ class Application < Rails::Application
# Load included libraries.
require 'localization'
require 'sidebar'
- require 'typo_sidebar'
- require 'typo_textfilters'
+ require 'publify_sidebar'
+ require 'publify_textfilters'
require 'action_web_service'
## Required by the plugins themselves.
@@ -58,15 +58,15 @@ class Application < Rails::Application
# require 'spam_protection'
require 'stateful'
require 'transforms'
- require 'typo_time'
- require 'typo_guid'
+ require 'publify_time'
+ require 'publify_guid'
## Required by the plugins themselves.
- # require 'typo_plugins'
+ # require 'publify_plugins'
require 'bare_migration'
- require 'typo_version'
+ require 'publify_version'
require 'rails_patch/active_support'
- require 'typo_login_system'
+ require 'publify_login_system'
Date::DATE_FORMATS.merge!(
:long_weekday => '%a %B %e, %Y %H:%M'
View
6 config/database.yml.mysql
@@ -6,13 +6,13 @@ login: &login
development:
- database: typo_dev
+ database: publify_dev
<<: *login
test:
- database: typo_tests
+ database: publify_tests
<<: *login
production:
- database: typo
+ database: publify
<<: *login
View
6 config/database.yml.postgresql
@@ -11,16 +11,16 @@ connection: &connection
development:
- database: typo_dev
+ database: publify_dev
<<: *login
<<: *connection
test:
- database: typo_tests
+ database: publify_tests
<<: *login
<<: *connection
production:
- database: typo
+ database: publify
<<: *login
<<: *connection
View
2  config/environment.rb
@@ -2,4 +2,4 @@
require File.expand_path('../application', __FILE__)
# Initialize the rails application
-TypoBlog::Application.initialize!
+Publify::Application.initialize!
View
2  config/environments/development.rb
@@ -1,6 +1,6 @@
# Settings specified here will take precedence over those in config/environment.rb
-TypoBlog::Application.configure do
+Publify::Application.configure do
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the webserver when you make code changes.
View
2  config/environments/production.rb
@@ -1,4 +1,4 @@
-TypoBlog::Application.configure do
+Publify::Application.configure do
# Settings specified here will take precedence over those in config/environment.rb
# The production environment is meant for finished, "live" apps.
View
2  config/environments/test.rb
@@ -1,6 +1,6 @@
# Settings specified here will take precedence over those in config/environment.rb
-TypoBlog::Application.configure do
+Publify::Application.configure do
# The test environment is used exclusively to run your application's
# test suite. You never need to work with it otherwise. Remember that
# your test database is "scratch space" for the test suite and is wiped
View
12 config/initializers/access_rules.rb
@@ -3,7 +3,7 @@
# Based on the LoginSystem of Lipisadmin
# You can define on the fly, roles access, for example:
#
-# Typo::AccessControl.map :require => [ :administrator, :manager, :customer ] do |map|
+# Publify::AccessControl.map :require => [ :administrator, :manager, :customer ] do |map|
# # Shared Permission
# map.permission "backend/base"
# # Module Permission
@@ -14,7 +14,7 @@
#
# end
#
-# Typo::AccessControl.map :require => :customer do |map|
+# Publify::AccessControl.map :require => :customer do |map|
# # Shared Permission
# map.permission "frontend/cart"
# # Module Permission
@@ -26,13 +26,13 @@
#
# So the when you do:
#
-# Typo::AccessControl.roles
+# Publify::AccessControl.roles
# # => [:administrator, :manager, :customer]
#
-# Typo::AccessControl.project_modules(:customer)
-# # => [#<Typo::AccessControl::ProjectModule:0x254a9c8 @controller="backend/accounts", @name=:accounts, @menus=[#<Typo::AccessControl::Menu:0x254a928 @url={:action=>:index}, @name=:list, @options={:class=>"icon-no-group"}>, #<Typo::AccessControl::Menu:0x254a8d8 @url={:action=>:new}, @name=:new, @options={:class=>"icon-new"}>]>, #<Typo::AccessControl::ProjectModule:0x254a84c @controller="frontend/store", @name=:store, @menus=[#<Typo::AccessControl::Menu:0x254a7d4 @url={:cart=>:add}, @name=:add, @options={}>, #<Typo::AccessControl::Menu:0x254a798 @url={:cart=>:list}, @name=:list, @options={}>]>]
+# Publify::AccessControl.project_modules(:customer)
+# # => [#<Publify::AccessControl::ProjectModule:0x254a9c8 @controller="backend/accounts", @name=:accounts, @menus=[#<Publify::AccessControl::Menu:0x254a928 @url={:action=>:index}, @name=:list, @options={:class=>"icon-no-group"}>, #<Publify::AccessControl::Menu:0x254a8d8 @url={:action=>:new}, @name=:new, @options={:class=>"icon-new"}>]>, #<Publify::AccessControl::ProjectModule:0x254a84c @controller="frontend/store", @name=:store, @menus=[#<Publify::AccessControl::Menu:0x254a7d4 @url={:cart=>:add}, @name=:add, @options={}>, #<Publify::AccessControl::Menu:0x254a798 @url={:cart=>:list}, @name=:list, @options={}>]>]
#
-# Typo::AccessControl.allowed_controllers(:customer)
+# Publify::AccessControl.allowed_controllers(:customer)
# => ["backend/base", "backend/accounts", "frontend/cart", "frontend/store"]
#
# If in your controller there is *login_required* our Authenticated System verify the allowed_controllers for the account role (Ex: :customer),
View
4 config/initializers/secret_token.rb
@@ -8,7 +8,7 @@
file = File.join(Rails.root, "config", "secret.token")
if File.exists?(file)
- TypoBlog::Application.config.secret_token = File.open(file, "r") { |f| f.read.delete("\n") }
+ Publify::Application.config.secret_token = File.open(file, "r") { |f| f.read.delete("\n") }
else
- TypoBlog::Application.config.secret_token = $default_token
+ Publify::Application.config.secret_token = $default_token
end
View
4 config/initializers/session_store.rb
@@ -1,8 +1,8 @@
# Be sure to restart your server when you modify this file.
-TypoBlog::Application.config.session_store :cookie_store, :key => '_typo_blog_session'
+Publify::Application.config.session_store :cookie_store, :key => '_publify_blog_session'
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
# (create the session table with "rake db:sessions:create")
-# TypoBlog::Application.config.session_store :active_record_store
+# Publify::Application.config.session_store :active_record_store
View
4 config/routes.rb
@@ -1,7 +1,7 @@
Rails.application.routes.draw do
# Load plugin routes first. A little bit ugly, but I didn't find any better way to do it
- # We consider that only typo_* plugins are concerned
- Dir.glob(File.join("vendor", "plugins", "typo_*")).each do |dir|
+ # We consider that only publify_* plugins are concerned
+ Dir.glob(File.join("vendor", "plugins", "publify_*")).each do |dir|
if File.exists?(File.join(dir, "config", "routes.rb"))
require File.join(dir, "config", "routes.rb")
end
View
4 db/converters/README
@@ -1,8 +1,8 @@
-These are converters for migrating from other blog systems to Typo. In
+These are converters for migrating from other blog systems to Publify. In
general, you're best off using the converter that best-matches your blog
system, and then falling back to the RSS or Feed converter if the others fail.
These converters aren't always well tested, so please back up your data before
-converting, and please file bugs at http://www.typosphere.org/trac.
+converting, and please file bugs at http://www.publify.co/trac.
Available converters:
View
4 db/converters/feed.rb
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
-# RSS 0.2/2.0/Atom converter to typo by Lennon Day-Reynolds <rcoder@gmail.com>
+# RSS 0.2/2.0/Atom converter to publify by Lennon Day-Reynolds <rcoder@gmail.com>
# Shamelessly copied from RSS-only converter by Chris Lee
require File.dirname(__FILE__) + '/../../config/environment'
@@ -42,7 +42,7 @@ def parse_options
OptionParser.new do |opt|
opt.banner = 'Usage: feed.rb [options]'
- opt.on('-a', '--author AUTHOR', 'Username of author in typo') do |a|
+ opt.on('-a', '--author AUTHOR', 'Username of author in publify') do |a|
self.options[:author] = a
end
View
2  db/converters/mt3.rb
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
-# MovableType 3.x converter for typo by Patrick Lenz <patrick@lenz.sh>
+# MovableType 3.x converter for publify by Patrick Lenz <patrick@lenz.sh>
#
# MAKE BACKUPS OF EVERYTHING BEFORE RUNNING THIS SCRIPT!
# THIS SCRIPT IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND
View
4 db/converters/rss.rb
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
-# RSS 0.9/2.0 converter for typo by Chris Lee <clee@kde.org>
+# RSS 0.9/2.0 converter for publify by Chris Lee <clee@kde.org>
#
# No need to make a backup of the original blog, really. This takes a URL for a
# read-only import, so there's not really any chance of it munging the original
@@ -41,7 +41,7 @@ def parse_options
OptionParser.new do |opt|
opt.banner = 'Usage: rss.rb [options]'
- opt.on('-a', '--author AUTHOR', 'Username of author in typo') do |a|
+ opt.on('-a', '--author AUTHOR', 'Username of author in publify') do |a|
self.options[:author] = a
end
View
4 db/converters/s9y.rb
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
-# Serendipity (S9Y) 0.8.x converter for typo by Jochen Schalanda <jochen@schalanda.de>
+# Serendipity (S9Y) 0.8.x converter for publify by Jochen Schalanda <jochen@schalanda.de>
# heavily based on the Wordpress 1.5x converter by Patrick Lenz <patrick@lenz.sh>
#
# MAKE BACKUPS OF EVERYTHING BEFORE RUNNING THIS SCRIPT!
@@ -11,7 +11,7 @@
#
# Migrated users will have the default password "password", since the
# MD5 hashes of S9Y cannot be converted to salted SHA1 hashes which are
-# used by Typo.
+# used by Publify.
#
require File.dirname(__FILE__) + '/../../config/environment'
View
2  db/converters/textpattern.rb
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
-# TextPattern 1.x converter for typo by Patrick Lenz <patrick@lenz.sh>
+# TextPattern 1.x converter for publify by Patrick Lenz <patrick@lenz.sh>
#
# MAKE BACKUPS OF EVERYTHING BEFORE RUNNING THIS SCRIPT!
# THIS SCRIPT IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND
View
47 db/migrate/109_drops_typo_references_for_publify.rb
@@ -0,0 +1,47 @@
+class DropsTypoReferencesForPublify < ActiveRecord::Migration
+
+ class Content < ActiveRecord::Base
+ end
+ class Article < Content
+ end
+ class Page < Content
+ end
+
+ def self.up
+ say "Removes references to typo:something from articles, pages, feedback"
+ unless Blog.default.nil?
+ Blog.default.plugin_avatar = "PublifyPlugins::Gravatar" if Blog.default.plugin_avatar == "TypoPlugins::Gravatar"
+ end
+
+ Article.find(:all).each do |art|
+ art.body.gsub!("<typo:", "<publify:")
+ art.body.gsub!("</typo:", "</publify:")
+ art.extended.gsub!("<typo:", "<publify:")
+ art.extended.gsub!("</typo:", "</publify:")
+ art.excerpt.gsub!("<typo:", "<publify:")
+ art.excerpt.gsub!("</typo:", "</publify:")
+ art.save!
+ end
+
+ Page.find(:all).each do |page|
+ page.body.gsub!("<typo:", "<publify:")
+ page.body.gsub!("</typo:", "</publify:")
+ page.extended.gsub!("<typo:", "<publify:")
+ page.extended.gsub!("</typo:", "</publify:")
+ page.excerpt.gsub!("<typo:", "<publify:")
+ page.excerpt.gsub!("</typo:", "</publify:")
+ page.save!
+ end
+
+ Feedback.find(:all).each do |feedback|
+ feedback.body.gsub!("<typo:", "<publify:")
+ feedback.body.gsub!("</typo:", "</publify:")
+ feedback.save!
+ end
+
+ end
+
+ def self.down
+ say "This migration does absolutely nothing"
+ end
+end
View
2  db/schema.mysql-v3.sql
@@ -1,3 +1,3 @@
-- Leaving this file empty forces the whole migration
--- and fixes a bug when using Typo installer.
+-- and fixes a bug when using Publify installer.
-- Please, leave them as is.
View
2  db/schema.mysql.sql
@@ -1,3 +1,3 @@
-- Leaving this file empty forces the whole migration
--- and fixes a bug when using Typo installer.
+-- and fixes a bug when using Publify installer.
-- Please, leave them as is.
View
2  db/schema.postgresql.sql
@@ -1,3 +1,3 @@
-- Leaving this file empty forces the whole migration
--- and fixes a bug when using Typo installer.
+-- and fixes a bug when using Publify installer.
-- Please, leave them as is.
View
70 db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 108) do
+ActiveRecord::Schema.define(:version => 20130531220052) do
create_table "articles_tags", :id => false, :force => true do |t|
t.integer "article_id"
@@ -25,14 +25,14 @@
create_table "categories", :force => true do |t|
t.string "name"
- t.integer "position"
+ t.integer "position", :default => 0, :null => false
t.string "permalink"
t.text "keywords"
t.text "description"
t.integer "parent_id"
end
- add_index "categories", ["permalink"], :name => "index_categories_on_permalink"
+ add_index "categories", ["permalink"], :name => "categories_permalink_index"
create_table "categorizations", :force => true do |t|
t.integer "article_id"
@@ -40,6 +40,22 @@
t.boolean "is_primary"
end
+ create_table "ckeditor_assets", :force => true do |t|
+ t.string "data_file_name", :null => false
+ t.string "data_content_type"
+ t.integer "data_file_size"
+ t.integer "assetable_id"
+ t.string "assetable_type", :limit => 30
+ t.string "type", :limit => 30
+ t.integer "width"
+ t.integer "height"
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
+ end
+
+ add_index "ckeditor_assets", ["assetable_type", "assetable_id"], :name => "idx_ckeditor_assetable"
+ add_index "ckeditor_assets", ["assetable_type", "type", "assetable_id"], :name => "idx_ckeditor_assetable_type"
+
create_table "contents", :force => true do |t|
t.string "type"
t.string "title"
@@ -65,8 +81,8 @@
t.string "post_type", :default => "read"
end
- add_index "contents", ["published"], :name => "index_contents_on_published"
- add_index "contents", ["text_filter_id"], :name => "index_contents_on_text_filter_id"
+ add_index "contents", ["published"], :name => "contents_published_index"
+ add_index "contents", ["text_filter_id"], :name => "contents_text_filter_id_index"
create_table "feedback", :force => true do |t|
t.string "type"
@@ -92,14 +108,20 @@
t.string "user_agent"
end
- add_index "feedback", ["article_id"], :name => "index_feedback_on_article_id"
- add_index "feedback", ["text_filter_id"], :name => "index_feedback_on_text_filter_id"
+ add_index "feedback", ["article_id"], :name => "feedback_article_id_index"
+ add_index "feedback", ["text_filter_id"], :name => "feedback_text_filter_id_index"
+
+ create_table "link_articles_tags", :force => true do |t|
+ t.integer "article"
+ t.integer "tag"
+ t.integer "tag_count"
+ end
create_table "page_caches", :force => true do |t|
- t.string "name"
+ t.string "name", :null => false
end
- add_index "page_caches", ["name"], :name => "index_page_caches_on_name"
+ add_index "page_caches", ["name"], :name => "name"
create_table "pings", :force => true do |t|
t.integer "article_id"
@@ -107,7 +129,7 @@
t.datetime "created_at"
end
- add_index "pings", ["article_id"], :name => "index_pings_on_article_id"
+ add_index "pings", ["article_id"], :name => "article_id"
create_table "post_types", :force => true do |t|
t.string "name"
@@ -157,10 +179,11 @@
end
create_table "sidebars", :force => true do |t|
- t.integer "active_position"
- t.text "config"
- t.integer "staged_position"
- t.string "type"
+ t.integer "active_position"
+ t.text "config"
+ t.integer "staged_position"
+ t.datetime "updated_at"
+ t.string "type"
end
create_table "sitealizer", :force => true do |t|
@@ -188,6 +211,11 @@
t.text "params"
end
+ create_table "text_link_ads_rss", :force => true do |t|
+ t.string "html", :limit => 1024
+ t.integer "post_id"
+ end
+
create_table "triggers", :force => true do |t|
t.integer "pending_item_id"
t.string "pending_item_type"
@@ -196,20 +224,22 @@
end
create_table "users", :force => true do |t|
- t.string "login"
- t.string "password"
- t.text "email"
- t.text "name"
+ t.string "login", :limit => 80
+ t.string "password", :limit => 40
+ t.string "name", :limit => 80
+ t.string "email", :limit => 80
t.boolean "notify_via_email"
t.boolean "notify_on_new_articles"
t.boolean "notify_on_comments"
t.integer "profile_id"
t.string "remember_token"
t.datetime "remember_token_expires_at"
- t.string "text_filter_id", :default => "1"
- t.string "state", :default => "active"
+ t.string "text_filter_id", :default => "1"
+ t.string "state", :default => "active"
t.datetime "last_connection"
t.text "settings"
end
+ add_index "users", ["login"], :name => "login", :unique => true
+
end
View
2  db/schema.sqlite.sql
@@ -1,3 +1,3 @@
-- Leaving this file empty forces the whole migration
--- and fixes a bug when using Typo installer.
+-- and fixes a bug when using Publify installer.
-- Please, leave them as is.
View
2  db/schema.sqlite3.sql
@@ -1,3 +1,3 @@
-- Leaving this file empty forces the whole migration
--- and fixes a bug when using Typo installer.
+-- and fixes a bug when using Publify installer.
-- Please, leave them as is.
View
2  db/schema.sqlserver.sql
@@ -1,3 +1,3 @@
-- Leaving this file empty forces the whole migration
--- and fixes a bug when using Typo installer.
+-- and fixes a bug when using Publify installer.
-- Please, leave them as is.
View
2  db/seeds.rb
@@ -28,7 +28,7 @@
TextFilter.create(name: 'textile', description: 'Textile',
markup: 'textile', filters: [], params: {})
-admin = Profile.create(label: 'admin', nicename: 'Typo administrator',
+admin = Profile.create(label: 'admin', nicename: 'Publify administrator',
modules: [:dashboard, :articles, :pages, :media, :feedback, :themes, :sidebar, :users, :settings, :profile, :seo])
publisher = Profile.create(label: 'publisher', nicename: 'Blog publisher',
modules: [:dashboard, :articles, :media, :pages, :feedback, :profile])
View
6 doc/CACHE.SETUP.README
@@ -1,10 +1,10 @@
-To fully profit from Typo static caching capabilities, you need to add the
+To fully profit from Publify static caching capabilities, you need to add the
following rewrite rules to either your .htaccess or your virtualhost after
declaring the document root.
== Rewrite Rules For Apache
-=== If Typo is installed at your URL root.
+=== If Publify is installed at your URL root.
RewriteEngine On
@@ -17,7 +17,7 @@ declaring the document root.
RewriteCond %{DOCUMENT_ROOT}/cache/%{REQUEST_FILENAME}.html -f
RewriteRule ^/(.*)$ /cache/$1.html [PT]
-=== If Typo is installed in a sub-URL, e.g., /blog:
+=== If Publify is installed in a sub-URL, e.g., /blog:
# Note that 'blog' appears twice in the rewritten URL.
View
46 lang/da_DK.rb
@@ -99,7 +99,7 @@
l.store "Show", ""
l.store "Published", "Offentliggjort"
l.store "Unpublished", "Ikke offentliggjort"
- l.store "Show help on Typo macros", ""
+ l.store "Show help on Publify macros", ""
l.store "Back to overview", "Tilbage til oversigten"
l.store "Name", "Navn"
l.store "Description", "Beskrivelse"
@@ -262,7 +262,7 @@
l.store "You have no internet connection", "Du har ingen internet forbindelse"
# app/views/admin/dashboard/_overview.html.erb
- l.store "This place gives you a quick overview of what happens on your Typo blog and what you can do. Maybe will you want to %s, %s or %s.", "Dette sted giver dig en hurtig oversigt over, hvad der sker på din Typo blog, og hvad du kan gøre. Måske du ønsker at %s, %s eller %s."
+ l.store "This place gives you a quick overview of what happens on your Publify blog and what you can do. Maybe will you want to %s, %s or %s.", "Dette sted giver dig en hurtig oversigt over, hvad der sker på din Publify blog, og hvad du kan gøre. Måske du ønsker at %s, %s eller %s."
l.store "update your profile or change your password", "opdatere din profil eller rette dit kodeord"
l.store "You can also do a bit of design, %s or %s.", "Du kan også tilpasse designet, %s eller %s."
l.store "change your blog presentation", "ændre din blogs udseende"
@@ -272,7 +272,7 @@
# app/views/admin/dashboard/_popular.html.erb
l.store "Error: can't generate secret token. Security is at risk. Please, change %s content", ""
- l.store "For security reasons, you should restart your Typo application. Enjoy your blogging experience.", ""
+ l.store "For security reasons, you should restart your Publify application. Enjoy your blogging experience.", ""
l.store "Most popular", "Mest populære"
l.store "Nothing to show yet", "Intet at vise endnu"
@@ -280,14 +280,14 @@
l.store "Latest Posts", ""
l.store "No posts yet, why don't you start and write one", "Der er ingen artikler endnu, du kan evt. starte med at skrive en"
- # app/views/admin/dashboard/_typo_dev.html.erb
- l.store "Latest news from the Typo development blog", ""
+ # app/views/admin/dashboard/_publify_dev.html.erb
+ l.store "Latest news from the Publify development blog", ""
l.store "Oh no, nothing new", ""
# app/views/admin/dashboard/_welcome.html.erb
l.store "Welcome back, %s!", "Velkommen tilbage, %s!"
l.store "%d articles and %d comments were posted since your last connexion", ""
- l.store "You're running Typo %s", "Du kører Typo version %s"
+ l.store "You're running Publify %s", "Du kører Publify version %s"
l.store "Total posts : %d", "Total artikler : %d"
l.store "Your posts : %d", "Dine artikler : %d"
l.store "Total comments : %d", "Total kommentarer : %d"
@@ -384,7 +384,7 @@
l.store "Do not index tags", ""
l.store "Checking this box will add <code>noindex, follow</code> meta tags in every tags page, removing them from search engines and preventing duplicate content issues", ""
l.store "Robots.txt", ""
- l.store "You robots.txt file is not writeable. Typo won't be able to write it", ""
+ l.store "You robots.txt file is not writeable. Publify won't be able to write it", ""
l.store "Use dofollow in comments", ""
l.store "You may want to moderate feedback when turning this on", ""
l.store "Use canonical URL", ""
@@ -399,7 +399,7 @@
l.store "Here you can add anything you want to appear in your application header, such as analytics service tracking code.", ""
# app/views/admin/seo/permalinks.html.erb
- l.store "Typo offers you the ability to create a custom URL structure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links.", ""
+ l.store "Publify offers you the ability to create a custom URL structure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links.", ""
l.store "Here are some examples to get you started.", ""
l.store "Permalink format", ""
l.store "Date and title", ""
@@ -455,20 +455,20 @@
l.store "Enable gravatars", "Vis gravatars"
l.store "Show your email address", "Vis din e-mail addresse"
l.store "Notifications", ""
- l.store "Typo can notify you when new articles or comments are posted", "Typo kan give dig besked, når nye artikler eller kommentarer er indsendt"
+ l.store "Publify can notify you when new articles or comments are posted", "Publify kan give dig besked, når nye artikler eller kommentarer er indsendt"
l.store "Source Email", "Afsender e-mail"
- l.store "Email address used by Typo to send notifications", "E-mail adresse der bruges af Typo til at sende meddelelser"
- l.store "Enabling spam protection will make Typo compare the IP address of posters as well as the contents of their posts against local and remote blacklists. Good defense against spam bots", "Enabling spam protection will make typo compare the IP address of posters as well as the contents of their posts against local and remote blacklists. Good defense against spam bots" #Need translate
+ l.store "Email address used by Publify to send notifications", "E-mail adresse der bruges af Publify til at sende meddelelser"
+ l.store "Enabling spam protection will make Publify compare the IP address of posters as well as the contents of their posts against local and remote blacklists. Good defense against spam bots", "Enabling spam protection will make publify compare the IP address of posters as well as the contents of their posts against local and remote blacklists. Good defense against spam bots" #Need translate
l.store "Enable spam protection", "Aktiver spam beskyttelse"
l.store "Akismet Key", "Akismet nøgle"
- l.store "Typo can (optionally) use the %s spam-filtering service. You need to register with Akismet and receive an API key before you can use their service. If you have an Akismet key, enter it here", "Typo can (optionally) use the %s spam-filtering service. You need to register with Akismet and receive an API key before you can use their service. If you have an Akismet key, enter it here" #Need translate
+ l.store "Publify can (optionally) use the %s spam-filtering service. You need to register with Akismet and receive an API key before you can use their service. If you have an Akismet key, enter it here", "Publify can (optionally) use the %s spam-filtering service. You need to register with Akismet and receive an API key before you can use their service. If you have an Akismet key, enter it here" #Need translate
l.store "Disable trackbacks site-wide", ""
l.store "This setting allows you to disable trackbacks for every article in your blog. It won't remove existing trackbacks, but it will prevent any further attempt to add a trackback anywhere on your blog.", "Denne indstilling giver dig mulighed for at deaktivere Trackbacks for hver artikel i din blog. Det vil ikke fjerne eksisterende Trackbacks, men det vil forhindre yderligere forsøg på at tilføje Trackbacks overalt på din blog."
l.store "Disable comments after", "Deaktiver kommentarer efter"
l.store "days", "dage"
l.store "Set to 0 to never disable comments", "Sæt til 0 for at aldrig deaktivere kommentarer"
l.store "Max Links", "Max Links"
- l.store "Typo will automatically reject comments and trackbacks which contain over a certain amount of links in them", "Typo will automatically reject comments and trackbacks which contain over a certain amount of links in them" #Need translate
+ l.store "Publify will automatically reject comments and trackbacks which contain over a certain amount of links in them", "Publify will automatically reject comments and trackbacks which contain over a certain amount of links in them" #Need translate
l.store "Set to 0 to never reject comments", "Sæt til 0 for at aldrig forkaste kommentarer"
l.store "Feedback settings", ""
@@ -488,7 +488,7 @@
l.store "Show full article on feed", "Vis hele artiklen i min feed"
l.store "Feedburner ID", ""
l.store "General settings", "Generelle indstillinger"
- l.store "You can use your Google Feedburner account instead of Typo feed URL. To enable this, fill this form with your Feedburner ID.", ""
+ l.store "You can use your Google Feedburner account instead of Publify feed URL. To enable this, fill this form with your Feedburner ID.", ""
# app/views/admin/settings/seo.html.erb
l.store "Search Engine Optimisation", ""
@@ -503,7 +503,7 @@
l.store "Index tags", ""
l.store "Unchecking this box will add <code>noindex, follow</code> meta tags in every tags page, removing them from search engines and preventing duplicate content issues", ""
l.store "Robots.txt", ""
- l.store "You robots.txt file is not writeable. Typo won't be able to write it", ""
+ l.store "You robots.txt file is not writeable. Publify won't be able to write it", ""
l.store "Search Engine Optimization", ""
l.store "This will display", ""
l.store "at the bottom of each post in the RSS feed", ""
@@ -524,7 +524,7 @@
# app/views/admin/settings/write.html.erb
l.store "Send trackbacks", "Send trackbacks"
- l.store "When publishing articles, Typo can send trackbacks to websites that you link to. This should be disabled for private blogs as it will leak non-public information to sites that you're discussing. For public blogs, there's no real point in disabling this.", "Når du udgiver artikler kan Typo sende trackbacks til de hjemmesider du linker til. Dette bør slåes fra for private blogs da det ellers kan lække privat information til hjemmesider du diskuterer. For offentlige blogs, er der ingen reel mening i at deaktivere dette."
+ l.store "When publishing articles, Publify can send trackbacks to websites that you link to. This should be disabled for private blogs as it will leak non-public information to sites that you're discussing. For public blogs, there's no real point in disabling this.", "Når du udgiver artikler kan Publify sende trackbacks til de hjemmesider du linker til. Dette bør slåes fra for private blogs da det ellers kan lække privat information til hjemmesider du diskuterer. For offentlige blogs, er der ingen reel mening i at deaktivere dette."
l.store "URLs to ping automatically", "Webadresser der automatisk pinges"
l.store "Latitude, Longitude", "Breddegrad, længdegrad"
l.store "your latitude and longitude", "din breddegrad og længdegrad"
@@ -551,11 +551,11 @@
l.store "Displays links to monthly archives", ""
l.store "Displays a list of authors ordered by name with links to their articles and profile", ""
l.store "Livesearch", ""
- l.store "Adds livesearch to your Typo blog", ""
- l.store "This widget just displays links to Typo main site, this blog's admin and RSS.", ""
+ l.store "Adds livesearch to your Publify blog", ""
+ l.store "This widget just displays links to Publify main site, this blog's admin and RSS.", ""
l.store "Page", ""
l.store "Show pages for this blog", ""
- l.store "Adds basic search sidebar in your Typo blog", ""
+ l.store "Adds basic search sidebar in your Publify blog", ""
l.store "Static", ""
l.store "Static content, like links to other sites, advertisements, or blog meta-information", ""
l.store "Show most popular tags for this blog", ""
@@ -707,7 +707,7 @@
# app/views/setup/index.html.erb
l.store "Welcome", ""
- l.store "Welcome to your %s blog setup. Just fill in your blog title and your email, and Typo will take care of everything else", ""
+ l.store "Welcome to your %s blog setup. Just fill in your blog title and your email, and Publify will take care of everything else", ""
# app/views/shared/_confirm.html.erb
l.store "Congratulations!", ""
@@ -759,7 +759,7 @@
# themes/dirtylicious/layouts/default.html.erb
l.store "Home", ""
l.store "About", ""
- l.store "Designed by %s ported to typo by %s ", ""
+ l.store "Designed by %s ported to publify by %s ", ""
# themes/scribbish/layouts/default.html.erb
l.store "styled with %s", ""
@@ -966,7 +966,7 @@
l.store "This option let you choose between the simple admin interface or the complete one, displaying much more options and therefore more complicated to use. For advanced users only!","This option let you choose between the simple admin interface or the complete one, displaying much more options and therefore more complicated to use. For advanced users only!" #Need translate
l.store "Toggle Extended Content", "Slå udvidet indhold til/fra"
l.store "Type", "Type"
- l.store "Typo admin", "Typo administrator"
+ l.store "Publify admin", "Publify administrator"
l.store "Upload a new File", "Upload en ny fil"
l.store "Upload a new Resource", "Upload en ny ressource"
l.store "Uploaded", "Uploaded"
@@ -981,7 +981,7 @@
l.store "You are now logged out of the system", "Du er nu logget af systemet"
l.store "You can add it to the following categories", "Du kan tilføje følgende kategorier"
l.store "You can enable site wide feedback moderation. If you do so, no comment or trackback will appear on your blog unless you validate it", "Du kan slå feedback moderation til for hele bloggen. Hvis du gør dette kommer kommentarer og trackbacks først frem når du har godkendt dem"
- l.store "You can optionally disable non-Ajax comments. Typo will always use Ajax for comment submission if Javascript is enabled, so non-Ajax comments are either from spammers or users without Javascript.", "You can optionally disable non-Ajax comments. Typo will always use Ajax for comment submission if Javascript is enabled, so non-Ajax comments are either from spammers or users without Javascript." #Need translate
+ l.store "You can optionally disable non-Ajax comments. Publify will always use Ajax for comment submission if Javascript is enabled, so non-Ajax comments are either from spammers or users without Javascript.", "You can optionally disable non-Ajax comments. Publify will always use Ajax for comment submission if Javascript is enabled, so non-Ajax comments are either from spammers or users without Javascript." #Need translate
l.store "add new", "tilføj ny"
l.store "by", "af"
l.store "log out", "log ud"
View
46 lang/de_DE.rb
@@ -99,7 +99,7 @@
l.store "Show", ""
l.store "Published", "Veröffentlicht"
l.store "Unpublished", ""
- l.store "Show help on Typo macros", ""
+ l.store "Show help on Publify macros", ""
l.store "Back to overview", "Zurück zur Übersicht"
l.store "Name", "Name"
l.store "Description", "Beschreibung"
@@ -252,7 +252,7 @@
# app/views/admin/dashboard/_comments.html.erb
l.store "Error: can't generate secret token. Security is at risk. Please, change %s content", ""
- l.store "For security reasons, you should restart your Typo application. Enjoy your blogging experience.", ""
+ l.store "For security reasons, you should restart your Publify application. Enjoy your blogging experience.", ""
l.store "Latest Comments", ""
l.store "No comments yet", ""
l.store "By %s on %s", ""
@@ -264,7 +264,7 @@
l.store "You have no internet connection", ""
# app/views/admin/dashboard/_overview.html.erb
- l.store "This place gives you a quick overview of what happens on your Typo blog and what you can do. Maybe will you want to %s, %s or %s.", ""
+ l.store "This place gives you a quick overview of what happens on your Publify blog and what you can do. Maybe will you want to %s, %s or %s.", ""
l.store "update your profile or change your password", ""
l.store "You can also do a bit of design, %s or %s.", ""
l.store "change your blog presentation", ""
@@ -280,14 +280,14 @@
l.store "Latest Posts", ""
l.store "No posts yet, why don't you start and write one", ""
- # app/views/admin/dashboard/_typo_dev.html.erb
- l.store "Latest news from the Typo development blog", ""
+ # app/views/admin/dashboard/_publify_dev.html.erb
+ l.store "Latest news from the Publify development blog", ""
l.store "Oh no, nothing new", ""
# app/views/admin/dashboard/_welcome.html.erb
l.store "Welcome back, %s!", ""
l.store "%d articles and %d comments were posted since your last connexion", ""
- l.store "You're running Typo %s", ""
+ l.store "You're running Publify %s", ""
l.store "Total posts : %d", ""
l.store "Your posts : %d", ""
l.store "Total comments : %d", ""
@@ -384,7 +384,7 @@
l.store "Do not index tags", ""
l.store "Checking this box will add <code>noindex, follow</code> meta tags in every tags page, removing them from search engines and preventing duplicate content issues", ""
l.store "Robots.txt", ""
- l.store "You robots.txt file is not writeable. Typo won't be able to write it", ""
+ l.store "You robots.txt file is not writeable. Publify won't be able to write it", ""
l.store "Use dofollow in comments", ""
l.store "You may want to moderate feedback when turning this on", ""
l.store "Use canonical URL", ""
@@ -399,7 +399,7 @@
l.store "Here you can add anything you want to appear in your application header, such as analytics service tracking code.", ""
# app/views/admin/seo/permalinks.html.erb
- l.store "Typo offers you the ability to create a custom URL structure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links.", ""
+ l.store "Publify offers you the ability to create a custom URL structure for your permalinks and archives. This can improve the aesthetics, usability, and forward-compatibility of your links.", ""
l.store "Here are some examples to get you started.", ""
l.store "Permalink format", ""
l.store "Date and title", ""
@@ -455,20 +455,20 @@
l.store "Enable gravatars", "Gratavare aktivieren"
l.store "Show your email address", "Ihre Email Adresse anzeigen"
l.store "Notifications", ""
- l.store "Typo can notify you when new articles or comments are posted", "Typo kann Sie benachrichtigen, wenn neue Artikel oder Kommentare angelegt werden"
+ l.store "Publify can notify you when new articles or comments are posted", "Publify kann Sie benachrichtigen, wenn neue Artikel oder Kommentare angelegt werden"
l.store "Source Email", "Email Adresse"
- l.store "Email address used by Typo to send notifications", "Email Adresse, die Typo beim Versenden von Benachrichtigungen verwenden soll"
- l.store "Enabling spam protection will make Typo compare the IP address of posters as well as the contents of their posts against local and remote blacklists. Good defense against spam bots", "Bei Aktivierung des Spamschutzes wird Typo sowohl die IP Adresse des Autors als auch den Inhalt seiner Veröffentlichung gegen lokale und entfernte Blacklisten vergleichen. Gute Abwehr von Spambots"
+ l.store "Email address used by Publify to send notifications", "Email Adresse, die Publify beim Versenden von Benachrichtigungen verwenden soll"
+ l.store "Enabling spam protection will make Publify compare the IP address of posters as well as the contents of their posts against local and remote blacklists. Good defense against spam bots", "Bei Aktivierung des Spamschutzes wird Publify sowohl die IP Adresse des Autors als auch den Inhalt seiner Veröffentlichung gegen lokale und entfernte Blacklisten vergleichen. Gute Abwehr von Spambots"
l.store "Enable spam protection", "Spamschutz aktivieren"
l.store "Akismet Key", "Akismet Key"
- l.store "Typo can (optionally) use the %s spam-filtering service. You need to register with Akismet and receive an API key before you can use their service. If you have an Akismet key, enter it here", "Typo kann (optional) den %s Spam-Filterdienst verwenden. Sie müssen sich dort registriert und einen API Key erhalten haben, bevor Sie diesen Dienst nutzen können. Wenn Sie einen solchen Key haben, geben Sie ihn hier ein"
+ l.store "Publify can (optionally) use the %s spam-filtering service. You need to register with Akismet and receive an API key before you can use their service. If you have an Akismet key, enter it here", "Publify kann (optional) den %s Spam-Filterdienst verwenden. Sie müssen sich dort registriert und einen API Key erhalten haben, bevor Sie diesen Dienst nutzen können. Wenn Sie einen solchen Key haben, geben Sie ihn hier ein"
l.store "Disable trackbacks site-wide", ""
l.store "This setting allows you to disable trackbacks for every article in your blog. It won't remove existing trackbacks, but it will prevent any further attempt to add a trackback anywhere on your blog.", "Diese Option erlaubt es Ihnen, Trackbacks für alle Artikel im gesamten Blog zu deaktivieren. Dadurch werden zwar keine bereits existierenden Trackbacks entfernt, aber alle zukünftig irgendwo in Ihrem Blog eintreffenden Trackbacks werden abgewiesen."
l.store "Disable comments after", "Kommentare abschalten nach"
l.store "days", "Tagen"
l.store "Set to 0 to never disable comments", "Wert 0 bewirkt, dass die Möglichkeit für Kommentare immer bestehen bleibt"
l.store "Max Links", "Maximale Anzahl Links"
- l.store "Typo will automatically reject comments and trackbacks which contain over a certain amount of links in them", "Typo kann automatisch Kommentare und Trackbacks abweisen, die mehr als eine bestimmte Anzahl von Links enthalten"
+ l.store "Publify will automatically reject comments and trackbacks which contain over a certain amount of links in them", "Publify kann automatisch Kommentare und Trackbacks abweisen, die mehr als eine bestimmte Anzahl von Links enthalten"
l.store "Set to 0 to never reject comments", "Wert 0 bewirkt, dass Kommentare nie abgewiesen werden"
l.store "Feedback settings", ""
@@ -488,7 +488,7 @@
l.store "Show full article on feed", "Ganzen Artikel im RSS News Feed anzeigen"
l.store "Feedburner ID", ""
l.store "General settings", "Allgemeine Einstellungen"
- l.store "You can use your Google Feedburner account instead of Typo feed URL. To enable this, fill this form with your Feedburner ID.", ""
+ l.store "You can use your Google Feedburner account instead of Publify feed URL. To enable this, fill this form with your Feedburner ID.", ""
# app/views/admin/settings/seo.html.erb
l.store "Search Engine Optimisation", ""
@@ -503,7 +503,7 @@
l.store "Index tags", ""
l.store "Unchecking this box will add <code>noindex, follow</code> meta tags in every tags page, removing them from search engines and preventing duplicate content issues", ""
l.store "Robots.txt", ""
- l.store "You robots.txt file is not writeable. Typo won't be able to write it", ""
+ l.store "You robots.txt file is not writeable. Publify won't be able to write it", ""
l.store "Search Engine Optimization", ""
l.store "This will display", ""
l.store "at the bottom of each post in the RSS feed", ""
@@ -524,7 +524,7 @@
# app/views/admin/settings/write.html.erb
l.store "Send trackbacks", "Trackbacks verschicken"
- l.store "When publishing articles, Typo can send trackbacks to websites that you link to. This should be disabled for private blogs as it will leak non-public information to sites that you're discussing. For public blogs, there's no real point in disabling this.", "Typo kann Trackbacks zu anderen Websites schicken, zu denen Sie in veröffentlichten Artikeln verlinken. Das sollte für private Blogs deaktiviert werden, weil sonst nicht-öffentliche Informationen mit dem Trackback Ping nach außen zu den Seiten gehen, die Sie in Ihren Artikeln diskutieren. Für öffentliche Blogs jedoch besteht kein wirklicher Grund, das zu deaktivieren."
+ l.store "When publishing articles, Publify can send trackbacks to websites that you link to. This should be disabled for private blogs as it will leak non-public information to sites that you're discussing. For public blogs, there's no real point in disabling this.", "Publify kann Trackbacks zu anderen Websites schicken, zu denen Sie in veröffentlichten Artikeln verlinken. Das sollte für private Blogs deaktiviert werden, weil sonst nicht-öffentliche Informationen mit dem Trackback Ping nach außen zu den Seiten gehen, die Sie in Ihren Artikeln diskutieren. Für öffentliche Blogs jedoch besteht kein wirklicher Grund, das zu deaktivieren."
l.store "URLs to ping automatically", "Automatisch diese URLs anpingen"
l.store "Latitude, Longitude", "geografische Breite, Länge"
l.store "your latitude and longitude", "Ihrer geografischen Breite und Länge"
@@ -551,11 +551,11 @@
l.store "Displays links to monthly archives", ""
l.store "Displays a list of authors ordered by name with links to their articles and profile", ""
l.store "Livesearch", ""
- l.store "Adds livesearch to your Typo blog", ""
- l.store "This widget just displays links to Typo main site, this blog's admin and RSS.", ""
+ l.store "Adds livesearch to your Publify blog", ""
+ l.store "This widget just displays links to Publify main site, this blog's admin and RSS.", ""
l.store "Page", ""
l.store "Show pages for this blog", ""
- l.store "Adds basic search sidebar in your Typo blog", ""
+ l.store "Adds basic search sidebar in your Publify blog", ""
l.store "Static", ""
l.store "Static content, like links to other sites, advertisements, or blog meta-information", ""
l.store "Show most popular tags for this blog", ""
@@ -707,7 +707,7 @@
# app/views/setup/index.html.erb
l.store "Welcome", ""
- l.store "Welcome to your %s blog setup. Just fill in your blog title and your email, and Typo will take care of everything else", ""
+ l.store "Welcome to your %s blog setup. Just fill in your blog title and your email, and Publify will take care of everything else", ""
# app/views/shared/_confirm.html.erb
# l.store "Congratulations!", ""
@@ -759,7 +759,7 @@
# themes/dirtylicious/layouts/default.html.erb
l.store "Home", ""
l.store "About", ""
- l.store "Designed by %s ported to typo by %s ", ""
+ l.store "Designed by %s ported to publify by %s ", ""
# themes/scribbish/layouts/default.html.erb
l.store "styled with %s", ""
@@ -959,7 +959,7 @@
l.store "This option let you choose between the simple admin interface or the complete one, displaying much more options and therefore more complicated to use. For advanced users only!","This option let you choose between the simple admin interface or the complete one, displaying much more options and therefore more complicated to use. For advanced users only!" #Need translate
l.store "Toggle Extended Content", "Erweiterten Inhalt umschalten"
l.store "Type", "Typ"
- l.store "Typo admin", "Typo Administrator"
+ l.store "Publify admin", "Publify Administrator"
l.store "Upload a new File", "Eine neue Datei hochladen"
l.store "Upload a new Resource", "Eine neue Ressource hochladen"
l.store "Uploaded", "Upload beendet"
@@ -974,7 +974,7 @@
l.store "You are now logged out of the system", "Sie sind nun vom System abgemeldet"
l.store "You can add it to the following categories", "Sie können ihn zu den folgenden Kategorien hinzufügen"
l.store "You can enable site wide feedback moderation. If you do so, no comment or trackback will appear on your blog unless you validate it", "Sie können die Moderation von Kommentaren auf der gesamten Website aktivieren. Dann erscheinen keine Kommentare oder Trackbacks in Ihrem Blog, die sie nicht überprüft haben"
- l.store "You can optionally disable non-Ajax comments. Typo will always use Ajax for comment submission if Javascript is enabled, so non-Ajax comments are either from spammers or users without Javascript.", "Sie können optional non-Ajax Kommentare verbieten. Typo verwendet immer Ajax für die Übertragung von Kommentaren, sofern Javascript eingeschaltet ist. non-Ajax Kommentare stamme somit entweder von Spammern oder von Anwendern ohne aktiviertes Javascript."
+ l.store "You can optionally disable non-Ajax comments. Publify will always use Ajax for comment submission if Javascript is enabled, so non-Ajax comments are either from spammers or users without Javascript.", "Sie können optional non-Ajax Kommentare verbieten. Publify verwendet immer Ajax für die Übertragung von Kommentaren, sofern Javascript eingeschaltet ist. non-Ajax Kommentare stamme somit entweder von Spammern oder von Anwendern ohne aktiviertes Javascript."
l.store "by", "bei"
l.store "log out", "Abmelden"
l.store "on", "über"
View
46 lang/es_MX.rb
@@ -101,7 +101,7 @@
l.store "Show", ""
l.store "Published", "Publicado"
l.store "Unpublished", ""
- l.store "Show help on Typo macros", ""
+ l.store "Show help on Publify macros", ""
l.store "Back to overview", ""
l.store "Name", "Nombre"
l.store "Description", "Descripci&oacute;n"
@@ -255,7 +255,7 @@
# app/views/admin/dashboard/_comments.html.erb
l.store "Error: can't generate secret token. Security is at risk. Please, change %s content", ""
- l.store "For security reasons, you should restart your Typo application. Enjoy your blogging experience.", ""
+ l.store "For security reasons, you should restart your Publify application. Enjoy your blogging experience.", ""
l.store "Latest Comments", ""
l.store "No comments yet", ""
l.store "By %s on %s", ""
@@ -267,7 +267,7 @@
l.store "You have no internet connection", ""
# app/views/admin/dashboard/_overview.html.erb
- l.store "This place gives you a quick overview of what happens on your Typo blog and what you can do. Maybe will you want to %s, %s or %s.", ""
+ l.store "This place gives you a quick overview of what happens on your Publify blog and what you can do. Maybe will you want to %s, %s or %s.", ""
l.store "update your profile or change your password", ""
l.store "You can also do a bit of design, %s or %s.", ""
l.store "change your blog presentation", ""
@@ -283,14 +283,14 @@
l.store "Latest Posts", ""
l.store "No posts yet, why don't you start and write one", ""
- # app/views/admin/dashboard/_typo_dev.html.erb
- l.store "Latest news from the Typo development blog", ""
+ # app/views/admin/dashboard/_publify_dev.html.erb
+ l.store "Latest news from the Publify development blog", ""
l.store "Oh no, nothing new", ""
# app/views/admin/dashboard/_welcome.html.erb
l.store "Welcome back, %s!", ""
l.store "%d articles and %d comments were posted since your last connexion", ""
- l.store "You're running Typo %s", ""
+ l.store "You're running Publify %s", ""
l.store "Total posts : %d", ""
l.store "Your posts : %d", ""
l.store "Total comments : %d", ""
@@ -387,7 +387,7 @@
l.store "Do not index tags", ""
l.store "Checking this box will add <code>noindex, follow</code> meta tags in every tags page, removing them from search engines and preventing duplicate content issues", ""
l.store "Robots.txt", ""
- l.store "You robots.txt file is not writeable. Typo won't be able to write it", ""
+ l.store "You robots.txt file is not writeable. Publify won't be able to write it", ""
l.store "Use dofollow in comments", ""
l.store "You may want to moderate feedback when turning this on", ""
l.store "Use canonical URL", ""