Commit Graph

917 Commits

Author SHA1 Message Date
Brenda Wallace
0965168750 Group previous plantings by year 2019-10-19 11:25:19 +13:00
Brenda Wallace
80b82a99fe Fix broken spec on dev 2019-10-19 09:41:09 +13:00
Brenda Wallace
b0c8b11246 📝 Inline editing and display tidy ups (#2200)
* Inline editing and display tidy ups
2019-10-08 11:06:53 +13:00
bestest-mensch
1e1b9f5ef5 scope conversations delete multiple to current user 2019-10-07 21:38:19 +00:00
bestest-mensch
80fb4f5fe6 add ability to delete multiple conversations at once 2019-10-07 21:38:19 +00:00
Brenda Wallace
7b5698f977 👩‍🌾 Import openfarm data (#2177)
* Pull in openfarm icons, photos, info
* Truncating member location
* tidying up harvest display, and reducing duplication in css styles
* Tiny crop chip
* only show crop charts if there is data to show
* Make the styles more Growstuff
* Fixed links to openfarm
* Updating specs to cope with new photo sources
fix broken garden timeline on some pages
* Update homepage blurb
* Import crop companions
* More fluid page
* use thumbnail unless the source is flickr
* Messing with homepage
* Added crop growing_degree_days
* expect full size url on photos helper spec
* formatted dates from seeds#show
* tidy up places#show
* Move progress bar
* Quicker buttons for approve/reject crops
* Remove kaminari gem
* use crop cards on hierarchy page
* more crops on crops#index
* Wrap photo creation in transaction
* Wrap crop companions in a transaction
2019-09-28 17:23:25 +12:00
Brenda Wallace
5072353293 Only save location (used for post-signin redirect) if this is a format html page 2019-09-26 21:50:42 +12:00
Brenda Wallace
b7321ed46f Add source to photos 2019-09-20 22:26:39 +12:00
Brenda Wallace
5ded29ef7c Allow anyone to view followers - and tidy up display
fixes #2106
2019-08-31 14:25:31 +12:00
Brenda Wallace
b3520a1b3f Search for members in admin/members#index 2019-08-20 15:09:39 +00:00
Brenda Wallace
586bc21e93 Merge remote-tracking branch 'upstream/dev' into fix/feature-spec-sessions
Conflicts:
	spec/features/members/profile_spec.rb
	spec/features/notifications_spec.rb
	spec/features/percy/percy_spec.rb
2019-08-17 16:09:32 +12:00
Brenda Wallace
b2d8818ae1 don't notify wranglers if there are none 2019-08-17 14:43:32 +12:00
Brenda Wallace
109f9af0b9 Unread counts 2019-08-11 17:04:52 +12:00
Brenda Wallace
82a3cc35a4 Fix member discarding to match specs 2019-08-10 15:43:06 +12:00
Brenda Wallace
c29f0c15ee don't join to owners when fetching gardens
discard isn't the same
2019-08-10 10:39:40 +12:00
Brenda Wallace
1dfbecfac0 Don't re-look up planting 2019-08-09 22:32:36 +12:00
Brenda Wallace
21b63d9b62 lint 2019-08-07 22:36:43 +12:00
Brenda Wallace
2f0e387646 rubocop lint 2019-08-07 22:33:39 +12:00
Brenda Wallace
83322becb2 Use guard clause 2019-08-07 22:33:01 +12:00
Brenda Wallace
cafbfb349f Delete and restore buttons 2019-08-07 22:18:24 +12:00
Brenda Wallace
4a8f737bac Revert "Removed chekcing subject in converation"
This reverts commit 6622319466.
2019-07-23 09:50:37 +12:00
Brenda Wallace
6622319466 Removed chekcing subject in converation 2019-07-23 09:47:16 +12:00
Brenda Wallace
3db63aeabf untrash a message 2019-07-21 20:05:06 +12:00
Brenda Wallace
a9b8003ff3 DRY 2019-07-21 19:23:33 +12:00
Brenda Wallace
6b501f13ee Fixed double negative 2019-07-21 19:22:25 +12:00
Brenda Wallace
0ac243e129 Remove unused methods 2019-07-21 19:21:55 +12:00
Brenda Wallace
6f2e27952c Remove unused methods 2019-07-21 19:21:34 +12:00
Brenda Wallace
2b9538c407 Use a guard clause 2019-07-21 19:21:13 +12:00
Brenda Wallace
733a8642dd rubocop lint 2019-07-21 19:19:14 +12:00
Brenda Wallace
754da0777a preserve which box we're looking at while deleting messages 2019-07-21 19:13:51 +12:00
Brenda Wallace
d382f84f9b Remove notifications code 2019-07-21 17:28:04 +12:00
Brenda Wallace
eda3639708 Discard members on ban 2019-07-21 17:23:28 +12:00
Brenda Wallace
67ce5265b4 Migrate from paranoia to discard
closes #1995
2019-07-21 16:59:06 +12:00
Brenda Wallace
7f16fdfe53 working on display of messages in conversations 2019-07-21 15:29:54 +12:00
Brenda Wallace
dab9a96486 better handling of deleted members 2019-07-21 14:47:32 +12:00
Brenda Wallace
ecb8ad9dfd removing unused code 2019-07-21 14:24:02 +12:00
Brenda Wallace
1199df6d9d Merge branch 'dev' into mailbox 2019-07-20 19:44:12 +12:00
Brenda Wallace
d91a5bf55f Rewriting messages functionality to use mail boxer 2019-07-20 19:43:29 +12:00
Brenda Wallace
339b3fd57e Moving to conversations and messages instead of notifications 2019-07-20 13:21:05 +12:00
Brenda Wallace
629352ef4f Merge remote-tracking branch 'upstream/dev' into mailbox
Conflicts:
	Gemfile.lock
	app/assets/stylesheets/application.scss
	db/schema.rb
2019-07-20 13:20:10 +12:00
Brenda Wallace
312cd0d770 Read posts from member.posts 2019-07-16 23:10:01 +12:00
Brenda Wallace
91897273be Merge branch 'dev' into ban-hammer 2019-07-16 20:56:59 +12:00
Brenda Wallace
fb77beeb7d rubocop lint 2019-07-16 20:56:33 +12:00
Brenda Wallace
c8e47e800e Moved admin ban code to admin controler 2019-07-16 20:54:32 +12:00
Brenda Wallace
b2537638ed Move member banning to admin/members controller 2019-07-16 18:56:49 +12:00
Brenda Wallace
8827fb1291 go to admin_members_path after banning a member 2019-07-16 18:31:43 +12:00
Brenda Wallace
0622823816 Remove unused db lookup 2019-07-16 18:17:37 +12:00
Brenda Wallace
075b9b3327 Add a ban button to members 2019-07-16 18:15:54 +12:00
Brenda Wallace
e0e10c29dc Renaming photographings to photo associations
now it matches the name of its controller, and it is clearer to understand
2019-07-13 16:13:37 +12:00
Brenda Wallace
af0d84d9f1 Updating likes js code 2019-07-12 09:28:45 +12:00