Commit Graph

68 Commits

Author SHA1 Message Date
Skud
c6f5abc036 Made info alerts be green like Growstuff is green 2015-01-24 21:07:41 +11:00
Rocky Jaiswal
05260c05c2 incorporating feedback comments for showing message for logged out users. 2015-01-20 19:14:50 +01:00
Rocky Jaiswal
534c299383 Show friendly message to unregistered users who view posts.
https://github.com/Growstuff/growstuff/issues/625
2015-01-18 20:28:00 +01:00
Taylor Griffin
007f7112a7 replaced caching using observers with a key-based (and simplified) caching system 2014-12-19 21:17:43 +11:00
Kevin Rio
8d74fd52db Rearrange titles on RSS feeds
https://www.pivotaltracker.com/n/projects/646869/stories/50492161
2014-11-12 13:54:01 -05:00
Skud
a684efcf2a b3ified some of the forms 2014-08-11 13:02:08 +10:00
Skud
4e9679b22a make sure all buttons are either btn-default or btn-primary 2014-07-22 12:09:08 +10:00
Skud
117fd23bea add btn-default to all btn-xs 2014-07-22 12:06:28 +10:00
Skud
0294daf423 s/btn-mini/btn-xs/ for bootstrap3 2014-07-22 12:01:49 +10:00
Amy Hendrix
db9ef0bc83 Full-width form elements 2014-07-13 20:28:20 -04:00
Amy Hendrix
155d68bab1 Bootstrap3: inline lists 2014-07-13 18:46:08 -04:00
Amy Hendrix
76f2d003c5 visible and hidden elements to bootstrap3 2014-07-13 18:37:33 -04:00
Amy Hendrix
f0cd8df6e0 Update column classes 2014-07-13 18:16:57 -04:00
Amy Hendrix
8d0d01991b Bootstrap3 update: row classes 2014-07-13 15:15:08 -04:00
Skud
2cd5b1d2ed Changed one config setting (site name) over to figaro
Also massively simplified the original application.yml.example I
originally committed. Let's do this one step at a time.
2014-04-29 12:57:16 +10:00
Skud
ce7bf82336 Make growstuff markdown actually work 2013-11-11 10:20:52 +11:00
Skud
2c8f0687e5 Added posts and comments RSS links 2013-10-23 12:06:04 +11:00
Skud
119d3bd0d3 added posts to homepage, tweaked display 2013-08-19 23:01:30 +10:00
Skud
0c3c9c7694 fixed up some bootstrap formatting (rows/spans) 2013-08-07 15:51:49 +10:00
Skud
c12c0acc14 removed author fields from RSS 2013-08-05 12:23:36 +10:00
Skud
7c6d7ba3a9 rearranged routing to avoid ?owner_id=99 2013-07-26 15:29:30 +10:00
Skud
15d7423f53 made RSS feeds author/owner-aware 2013-07-26 15:02:17 +10:00
Skud
ac684dd8ae add author choice to posts page 2013-07-26 14:55:47 +10:00
Skud
2839d6bf66 Fixed RSS bug where comments were showing up as "edited"
Tried many ways to test this (assert_select, response.has_tag, etc), but
couldn't get it to work.  Have tested manually and it looks good.
2013-06-04 12:24:53 +10:00
Skud
18b92b133b Added titles to comment items in RSS 2013-05-24 14:43:45 +10:00
Skud
e17dcf8671 Reordered comments: they are now DESC by default
Added scope "post_order" to order them ASC for display on post page.
Also tweaked post/comment views a bit.
2013-05-24 14:36:58 +10:00
Skud
425a2b03fd Added RSS feed for comments on a single post 2013-05-24 13:43:06 +10:00
Craig Read
9c2fed461d Removed redundant @recent_posts instance variable
Not required, as we have pagination by default
2013-05-24 12:05:47 +10:00
Craig Read
bc03a5c488 Converted Posts RSS to HAML 2013-05-24 11:58:40 +10:00
Miles Gould
c53dd6797f Show other comments on post when editing a comment. 2013-04-29 21:44:30 +01:00
Miles Gould
2b84fa8bad Show previous comments when creating a comment.
- Move "show previous comments" into a partial
 - invoke said partial from the new comment form
 - add tests.
2013-04-29 21:30:26 +01:00
Miles Gould
c9cc7be0d1 Refactor model code out of view in posts/show. 2013-03-28 10:57:30 +00:00
Cesy Avon
f3cb251180 Merge branch 'standardise_buttons' of https://github.com/phazel/growstuff into dev 2013-03-24 01:56:24 -07:00
gnattery
825d679c87 pagination appears at bottom of page 2013-03-23 18:23:53 +11:00
Cesy Avon
c586990329 Merge branch 'paginate' of https://github.com/phazel/growstuff into dev
Conflicts:
	Gemfile.lock
2013-03-21 05:17:14 -07:00
Skud
b4faba7182 various tweaks based on comments on phazel's work 2013-03-21 12:37:57 +11:00
gnattery
d26b3d42ed standardise button styles 2013-03-21 00:37:46 +11:00
Skud
10f8e363b1 two small improvements/bugfixes to post form
- fixed bug with "will be posted in /forums" when no forum specified
- changed wording of "what's happening..." when posting in forum
2013-03-20 22:25:15 +11:00
Skud
17309723d5 show markdown help on post and comment pages 2013-03-20 22:08:09 +11:00
gnattery
ee42ebbf1b paginate posts 2013-03-20 15:27:54 +11:00
Skud
ea96813d7c make the site/app name (growstuff) a config var 2013-03-19 14:41:54 +11:00
Skud
29016c3211 Tweaked member avatars
The member's name (in text) is no longer part of the avatar itself, as
it looks pretty awful and/or redundant in some places where it's used.
2013-03-11 14:32:34 +11:00
Miles Gould
e470cf7358 Send "N comments" links to the comments anchors.
We have to call post.save in the posts/index specs, because post_path
fails unless the post has been persisted (and hence had its slug
generated). I think. That fixed the failing tests, anyway.
2013-02-27 15:39:42 +00:00
Miles Gould
e7a1beb323 Add anchor tag for comments in posts/show. 2013-02-27 13:26:35 +00:00
Miles Gould
ade199c17b Better links for posts.
- add Permalink
 - show Reply instead of "Comment" (iff you can comment)
 - Edit link shows if you have permission to edit
 - reorganised tests for post/_single
 - posts/_single now requires current_user; patch tests for comments.
2013-02-27 12:53:50 +00:00
Miles Gould
3c13be2c0a Left-align comment links in posts. 2013-02-27 11:56:13 +00:00
Miles Gould
5a18fcc0b4 Use a ul.inline for "N comments | Comment" links. 2013-02-27 11:45:58 +00:00
Jared McCorkindale
5f4d989cbd add read link to post single and comment link 2013-02-27 11:45:58 +00:00
Jared McCorkindale
67d89826f4 add link to comment value 2013-02-27 11:45:58 +00:00
Jared McCorkindale
1c1fac0aa5 hiding comment count from post show 2013-02-27 11:45:58 +00:00