Commit graph

245 commits

Author SHA1 Message Date
Philip Arndt
a058a24e90 Renamed seed and blog structure migration, removed name option from generator, regenerated gemspec. 2011-03-04 12:25:18 +13:00
Philip Arndt
7ac190f9dd Moved the generic blog tables code into the migration itself. 2011-03-04 11:56:38 +13:00
Philip Arndt
5a59510eed Renamed migrations with ordering migration numbers. 2011-03-04 11:54:46 +13:00
Philip Arndt
234a7d74d5 Moved most of the code toward EngineInstaller. 2011-03-04 11:54:12 +13:00
Philip Arndt
1e6190b58c No longer need rails/init.rb due to not supporting Rails 2. 2011-03-04 11:51:03 +13:00
Philip Arndt
0f84b63639 We no longer support Rails 2 on this engine so I'm removing the old generator. 2011-03-04 11:45:41 +13:00
Joe Sak
1b33909b91 Just so people can see we're on 1.2 ;) 2011-03-02 07:19:05 -08:00
Philip Arndt
6d5e5e5ba8 Regenerated gemspec 2011-03-02 16:06:39 +13:00
Philip Arndt
4e73a81ccd Hi, my name is... 2011-03-02 16:05:31 +13:00
Joe Sak
6db3f44398 Changelog started 2011-03-01 21:02:41 -06:00
Joe Sak
65c1836df4 Merge branch 'master' of github.com:resolve/refinerycms-blog 2011-03-01 20:34:00 -06:00
Joe Sak
4df785af45 Kill AJAX based post nav -- let's shoot for HTML5 History API soon 2011-03-01 20:33:40 -06:00
Philip Arndt
559ef9b3cb Added new migration to add the user_id column to blog_posts. The madness must end, we must move to EngineInstaller in the next version. 2011-03-02 15:32:20 +13:00
Joe Sak
2cfc0c142c Merge branch 'i18n_de' of https://github.com/gern/refinerycms-blog into gern-i18n_de 2011-02-24 22:36:52 -06:00
Joe Sak
ed95360b7c Whups. Wrong variable name pasted in 2011-02-24 22:34:58 -06:00
Joe Sak
c9c38df5ba Closes GH-44. Authors are now associated with blog posts by current_user Merge branch 'addingusers'
Conflicts:
	app/models/blog_post.rb
2011-02-24 22:29:41 -06:00
Joe Sak
2b322a7bf4 ALL CUKES PASS: Show author login in view templates (if author present?) 2011-02-24 22:28:47 -06:00
Joe Sak
be7763d8d2 Fix bad syntax in cukes 2011-02-24 22:28:23 -06:00
Joe Sak
0455eb155e Wrong syntax for AR association 2011-02-24 22:28:04 -06:00
Joe Sak
d23c10db70 A little refactor and language change due to core auth steps & factories 2011-02-24 22:14:35 -06:00
Joe Sak
518ee00e0c WIP- just stuck on the uninitialized Constant weirdness 2011-02-24 22:12:20 -06:00
Joe Sak
e218c8fc5b just a lil' reminder 2011-02-24 21:38:24 -06:00
Joe Sak
6a3cf5d6a6 WIP: trying to test user association as author 2011-02-24 21:32:37 -06:00
Joe Sak
c75cf8a00e Blog Posts belong to an author ("user_id") 2011-02-24 20:46:20 -06:00
Gerhard Neugschwandtner
3f1144eedf added de.yml translation 2011-02-24 19:25:27 +01:00
Marcin Urbanski
56df60d80a Polish translation 2011-02-21 12:41:19 +01:00
Philip Arndt
ce9c663631 Only show these sections when there is relevant information to show. 2011-02-21 13:24:31 +13:00
Philip Arndt
f221da62cd Added settings click-button functionality for toggling comments being enabled, with translations. 2011-02-21 13:21:56 +13:00
Philip Arndt
4228fa4146 Fix constant ajax-loader spinning. 2011-02-21 12:58:09 +13:00
Simon Hambly
8c01bcece4 tidy up views, removing reference to comments when comments disable 2011-02-20 22:11:45 +00:00
Philip Arndt
6fda9d4fa7 Chrome (atleast) got more strict about this and if you have a / in the selector then you need quotation marks. Closes GH-39 2011-02-17 14:55:54 +13:00
Philip Arndt
78e5eeb624 No more gemfile in the gemspec 2011-02-17 11:05:43 +13:00
Philip Arndt
46372aab0e Not sure why we were getting bundler involved. Regeneraed gemspec 2011-02-17 11:03:09 +13:00
Joe Sak
f466091561 lambda is necessary to keep Time.now from becoming a constant, which allows .uncategorized to use .live posts again 2011-02-16 08:28:51 -06:00
Joe Sak
69d65032f8 The first shall be the .last, and the last shall be the .first
thanks to the default_scope :order_by published_at DESC
2011-02-16 01:22:29 -06:00
Joe Sak
a4b02b13c3 Previous scope test wasn't testing BlogPost.previous 2011-02-16 01:18:37 -06:00
Joe Sak
6f9de45019 Closes GH-34. Pagination was already in the public controller, the index view template "just" needed will_paginate
Should probably add basic CSS style or make it say older / newer? Open to suggestions
2011-02-16 01:17:05 -06:00
Joe Sak
5bf1926ec7 This is probably just faster 2011-02-16 01:16:24 -06:00
Joe Sak
4fe4a7ff24 Show publish date in preview data of admin index 2011-02-16 01:15:52 -06:00
Joe Sak
7046ba73fe default_scope :order => 'published_at DESC'
move "next" to << self to use exclusive scope
2011-02-16 01:15:05 -06:00
Joe Sak
d5ffea8e88 test coverage for uncategorized blog posts scope 2011-02-16 00:29:36 -06:00
Joe Sak
d668800767 Closes GH-30. Link uncategorized posts in the blog admin menu 2011-02-16 00:14:13 -06:00
Joe Sak
28b02370ec Update english language file for uncategorized posts 2011-02-16 00:14:01 -06:00
Joe Sak
a045cc11fe Add controller action and view template for uncategorized posts 2011-02-16 00:13:46 -06:00
Joe Sak
eac7a05f93 Add route for uncategorized posts index in blog admin 2011-02-16 00:13:00 -06:00
Joe Sak
f520d6c6e7 Add class method to find uncategorized posts 2011-02-16 00:12:40 -06:00
Joe Sak
3ecdeae3b0 test coverage for previous changes 2011-02-15 23:48:46 -06:00
Joe Sak
652ecc4707 Closes GH-37. Move habtm assn to a has_many :through so posts can be ordered by published_at DESC on category#show view 2011-02-15 23:23:17 -06:00
Joe Sak
2b86be50d2 .html_safe failed on empty body & sidebody content 2011-02-15 23:19:08 -06:00
Vitaly Ishkulov
8649dc7ff3 Russian localization added.
Signed-off-by: Vitaly Ishkulov <vit@iva-soft.com>
2011-01-26 19:44:01 +05:00