google-labs-jules[bot]
2742dba7fa
feat: Add meta descriptions to pages
...
Adds a meta description tag to the landing, crops, plantings, harvests, seeds, and comments pages.
Also creates a new index page for comments.
2025-12-01 13:54:54 +00:00
google-labs-jules[bot]
8564ec7a7c
Add comments to photos ( #4130 )
...
* Add comments to photos
Extend the photo show page to support comments by logged in users.
- Make the Comment model polymorphic.
- Update the Photo and Post models to have comments.
- Update the comments controller to handle the polymorphic association.
- Update the photo show page to display comments and a comment form.
- Create a reusable comments partial.
* Add migration
* Fix tests
* Fix tests
* Slightly fix tests
* Fix variables
* Add field
* Refactor slightly
* Refactor slightly
* Refactor slightly
* Refactor
* Photos respond to this as well
* Refactor to polymorphic_url
* Rename
* Wrong relationship
* Refactor and fix tests
* Fix relationships
* Fix rendering
* Fix tests
* Fix model tests
* Fix test
* Fix test
* Fix test
* Fix test
* Fix controller spec
* Fix view tests
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Daniel O'Connor <daniel.oconnor@gmail.com >
2025-08-24 21:10:16 +09:30
Daniel O'Connor
7d63234841
Upgrade to bootstrap 5 ( #3605 )
...
* Upgrade boostrap
* Remove deprecated bootstrap toggles
* Migrate other details
* Avoid accidentally including bootstrap twice
* Avoid accidentally including bootstrap twice
* Avoid accidentally including bootstrap twice
* Fix spec
* Fix spec, where the size of the screen has gone to a partial breakpoint/you can't click on your own name in tablet view
* Fix spec
* Cleanup
* Cleanup
2024-03-10 11:49:22 +10:30
Daniel O'Connor
49284eb169
Fix haml preview ( #3610 )
...
* HAML
* rewrite
* Fix specs - but likely still wrong
* Return temple
* Trailing line
* Fix specs
* This was rearranged, apparently.
* Fix tests
* Retain escaping
* Fix specs
* Rubocop
* Attempt to fix rendering
* Fix output
* Move away from filter
* Move away from filter
* Fix spec
* Fix specs
* Fix structure to avoid nested paragraph tags
2024-02-04 15:08:18 +10:30
Daniel O'Connor
fb86448061
HAML 6 ( #3607 )
...
* HAML
* rewrite
* Fix specs - but likely still wrong
* Return temple
* Trailing line
* Fix specs
* This was rearranged, apparently.
* Fix tests
* Retain escaping
* Fix specs
* Rubocop
* Apparently the escaped filter doesn't work with interpolation. Swap to our implementation
2024-02-03 17:33:39 +10:30
Daniel O'Connor
12ff09ad51
Add Accessibility assertions to rspec, replacing accessbility-lint + fixes ( #3573 )
...
* Add dep
* Add tests around accessibility
* Add examples in a few places
* Try to fix screenshots
* Remove redundant role
* Adjust rules, colors, etc so tests pass
* Update app/assets/stylesheets/overrides.scss
* Wrap in label
* Omit rule, which is failing with a false positive
* Update index.haml
* Update _blurb.html.haml
2024-01-22 22:09:27 +10:30
Daniel O'Connor
06c5e4b8e8
to_s
2022-11-07 23:20:49 +10:30
Brenda Wallace
783e4ae046
fixed up comments by deleted members
2019-07-21 20:24:39 +12:00
Brenda Wallace
5c6e65cd01
remove quotes in haml
2019-07-08 10:05:53 +12:00
Brenda Wallace
c61f13625c
Moved html into haml instead of html_safe in helper
2019-07-08 09:52:33 +12:00
Brenda Wallace
82661c577c
Removing comments views
2019-06-13 21:05:29 +12:00
Brenda Wallace
6d8c02f282
Make the member icon tiny on comments
2019-06-12 14:39:37 +12:00
Brenda Wallace
13419d37bb
pull-right becomes text-right
2019-05-19 11:50:04 +12:00
Brenda Wallace
dcfe49901e
Posts actions in dropdown menus
2019-05-19 10:20:35 +12:00
Brenda Wallace
f5d48d1b56
Removing bootstrap 3 - only bootstrap 4
...
because both isn't particularly clever
2019-05-13 07:52:38 +12:00
Brenda Wallace
9ecf210ffb
More form tidy up
2019-04-27 19:19:42 +12:00
Brenda Wallace
748da6c3e6
Comments from deleted members need to show
2018-06-04 16:02:07 +12:00
Brenda Wallace
1cdcaac41e
comment says "Member Deleted" when they are
2017-06-02 22:50:48 +12:00
Brenda Wallace
b538330785
Form to delete your own account
2017-05-21 21:51:44 +12:00
Brenda Wallace
6f74566d47
Truncate, escape, and DRY og:description fields
2017-02-08 09:49:19 +13:00
Brenda Wallace
2b7144c1fd
Fixed trailing quote in haml
2017-02-04 15:07:18 +13:00
Brenda Wallace
785ae33a42
Haml clean up for comments views
2017-02-04 14:07:59 +13:00
Brenda Wallace
bdb057ca0f
Removed all trailing white space
2016-11-14 15:05:32 +13:00
pozorvlak
980a7d79d3
Merge pull request #963 from CloCkWeRX/add_better_opengraph_squashed
...
Various bugfixes for facebook/opengraph
2016-06-02 17:58:05 +01:00
Daniel O'Connor
c278b36858
Up the various opengraph images to 200x200
2016-06-03 01:45:43 +09:30
pozorvlak
0805f86b86
Merge pull request #961 from cesy/issue476
...
Issue 476 edited by date on comments and posts
2016-06-02 16:53:44 +01:00
Daniel O'Connor
7550bc860f
#816 Add better opengraph behaviour, fix facebook share thumbnail size
2016-06-03 01:01:03 +09:30
Cesy Avon
259c1e1731
Fix #476 show edited and posted date on posts and comments
2016-06-02 14:37:33 +00:00
Mackenzie Morgan
972518e9fc
Stop hard-coding strings for pagination
...
Use translation template to set singular/other strings
for .model_name
Fixes #855
2016-05-25 23:15:36 -04:00
Miles Gould
897eac4fae
Merge branch 'pr/727' into dev
2015-07-17 00:31:00 +01:00
Cjay
2528d8af8a
Show edited date/time on posts/comments
2015-07-02 18:53:18 +08:00
Cjay Billones
bb88041fef
[Refactoring] Replace .count and .length with .size for collections
...
Improved program efficiency (in querying in particular) by replacing .count and .length with .size for collections.
Fix error in refactoring
Reverted some .size into .count
2015-06-25 12:09:03 +08:00
Manmeet Singh
b9b2f4a57e
Placing cursor in textarea on page load of write post and write comment views
2015-03-07 16:36:15 +05:30
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
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
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
8620236cb0
Use growstuff markdown everywhere (except policy)
2013-11-11 10:33:20 +11:00
Skud
2c8f0687e5
Added posts and comments RSS links
2013-10-23 12:06:04 +11: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
491e97c997
connected seeds into other parts of the site
2013-07-15 23:29:14 +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
0d3588535e
Added RSS feed for all comments
2013-05-24 13:29:17 +10:00