Sharetribe Go version 8.0.0 is now available!

[8.0.0] - 2019-07-31

Added

  • Use index hint for homepage query #3714
  • Add Albanian to the list of unsupported languages #3718
  • Add Macedonian to the list of unsupported languages #3725
  • Ability for providers to delete listings #3756
  • Stripe support for Singapore #3762
  • Cache community count #3766
  • Ability to export listings to a CSV file #3790
  • Allow admins to disable direct messaging between users #3793
  • Add .html_safe to content for title #3744

Changed

  • Update to ruby 2.6.2 #3701
  • Add more bot rules, disallow login paths #3715
  • Update to Rails 5.2.3 #3722
  • Prevent lowering minimum transaction size to less than minimum transaction fee with Stripe #3723
  • Update to Node.js 10.15 #3735
  • Updates to payment preference settings #3748
  • Updated copy text from Ban to Disable #3755
  • Category translation caching improvements #3761
  • Stripe remove the MCC field and hardcode it #3771
  • Move “Phone number” field down in US Stripe form #3775

Fixed

  • Fix to the SEO tags without price translation string #3727
  • Fix to payment settings causing internal error when PayPal has never been enabled #3732
  • Fix to password reset #3763
  • Fix to Stripe US account update #3765
  • Fix to adding links to footer #3769
  • Fix to validation for custom date fields #3772
  • Fix to exclude expired listings when filtering for open #3773
  • Fix to signup page description tag #3794

Upgrade from 7.6.0 to 8.0.0

Ruby version updated from 2.3.4 to 2.6.2.

Using RVM, you can upgrade your local Ruby version like this:

rvm install ruby-2.6.2
rvm use ruby-2.6.2
gem install bundler
bundle install

Make sure you have node 10.15 installed.

Then follow the [#general-update-instructions].

One more note: after the Rails upgrade, “Memcache” is possibly no longer working. It was never officially supported, and at Sharetribe we rely on Redis.

  • If you use Redis, run Rails.cache.clear via the Rails console
  • If you use Memcache, things might be broken and you might need to switch to Redis
  • If you didn’t use either, no special instructions
3 Likes

Thanks, Thomas and team–y’all rock! :sunglasses:

1 Like

The first bugs I found:

#1 CSV Export not working

  • CSV export working for users
  • CSV export NOT working for listings (link is not properly displayed and file not found msg)
  • CSV export NOT working for transactions (file not found msg)

#2 Search with hint instead of query

  • when using the new search script with hint, the search works NOT when search field is left blank (with a search word it is working)

#3 Invitation other users

  • logo is not displayed in email**

For the rest - great job guys in version 8!

Thanks for reporting, @sst!

#1 CSV Export not working
Hmm I’m not able to reproduce anything. Transactions export has been available for a while and I haven’t heard any issue earlier about it.

They work a bit differently than user exports (for performance reason) so you may have to double check your file storage setup.

Has anyone else encountered some issues with it?

#2 Search with hint instead of query
I’m quite confused here, I’m not sure to understand your question. Can you tell us a bit more?

#3 Invitation other users
Are you referring to the invitation email sent when someone uses the form at /invitations/new?

Keep us posted!

#1 CSV Export not working

Indeed the export task generate the file and it should then download immediately. The “Export all…” link isn’t a link to the actual file.

I’m still not able to reproduce any error with that, as long as jobs and file hosting are properly configured, so good to review that and learn if others have similar issues.

About the HAML do you have all the translations updated correctly?

#2 Search with hint instead of query

Hmm I’m confused. What kind of behavior would you like to get if the search bar is empty?

#3 Invitation other users

I’ve tested this again and I do see the logo for that email.
Would you share a screenshot to confirm the email?
Do you have all images properly configured?
Are you sure you don’t hide/block images in your email? What about the raw email, can you find a link to the image there?

Thanks, team sharetribe– You are awesome!!!

Hi @thomasmalbaux any ETA for SCA changes? I am eagerly waiting for this release.

Hi @mnsaeed91. The topic has been discussed at https://www.sharetribe.com/community/t/upcoming-eu-sca-regulation-requires-changes-to-stripe/2140/9, have a look there!

Hi guys,

We loosely followed the ST 8.0 updates to update our staging environment.

On server staging we are using nginx, app server is running Puma.
We are doing ruby upgrade from 2.3.4 → 2.6.2, rails 5.1.1 → 5.2.3 và updating some gems. Pls check our Gemfile, staging.rb and capfile below.
https://1drv.ms/u/s!AlXUSVZSrQgXgYlf-C3dEDeu2NyWNA?e=ZIiYPW

The local environment works fine and deployed to staging successfully. However on staging we get the error " Website temporarily unavailable".
Our error is below.

NoMethodError (undefined method `<' for #<ArgumentError:0x000000000a452450>):
  
lib/active_sessions_helper.rb:144:in `validate_and_refresh'
config/initializers/warden.rb:35:in `block in <top (required)>'
lib/rack_middleware/session_context_middleware.rb:13:in `call'
lib/rack_middleware/marketplace_lookup.rb:35:in `call'
lib/rack_middleware/custom_cookie_renamer.rb:11:in `call'
lib/rack_middleware/enforce_ssl.rb:23:in `call'
lib/rack_middleware/health_check.rb:12:in `call'
#<ArgumentError: bad argument (expected URI object or URI string)>
{"method":"GET","path":"/500","format":"html","controller":"ErrorsController","action":"server_error","status":500,"duration":36.8,"view":4.14,"db":7.39,"params":{},"host":null,"community_id":null,"current_user_id":null,"user_agent":null,"referer":null,"forwarded_for":null,"request_uuid":null}
#<ArgumentError: bad argument (expected URI object or URI string)>
#<ArgumentError: bad argument (expected URI object or URI string)>
  
NoMethodError (undefined method `<' for #<ArgumentError:0x000000000a59ecc8>):
  
lib/active_sessions_helper.rb:144:in `validate_and_refresh'
config/initializers/warden.rb:35:in `block in <top (required)>'
lib/rack_middleware/session_context_middleware.rb:13:in `call'
lib/rack_middleware/marketplace_lookup.rb:35:in `call'
lib/rack_middleware/custom_cookie_renamer.rb:11:in `call'
lib/rack_middleware/enforce_ssl.rb:23:in `call'
lib/rack_middleware/health_check.rb:12:in `call'
#<ArgumentError: bad argument (expected URI object or URI string)>
{"method":"GET","path":"/500","format":"html","controller":"ErrorsController","action":"server_error","status":500,"duration":33.14,"view":5.32,"db":3.75,"params":{},"host":null,"community_id":null,"current_user_id":null,"user_agent":null,"referer":null,"forwarded_for":null,"request_uuid":null}

did you try to clear Rails cache and also clear ActiveSession ?

CSV export does not work with local file system storage ( no S3 ).