Sharetribe Go version 8.1.0 is now available!

[8.1.0] - 2019-10-02

Added

  • Stripe SCA paymentintent based preauth process #3791
  • Stripe SCA finalize ui and management #3805
  • Support for markdown in listing descriptions #3795, #3810, #3874
  • Add “Whats new?” link in the sidebar #3822
  • Add ready made cover pics link next to the cover pick chooser #3823
  • Add “Terms, Privacy Policy and static content” table and links in “Basic details” tab #3827
  • Add four new fields to the transactions CSV export #3845
  • Allow admins to unskip reviews #3857
  • Admin option to send a notification for each new transaction #3859
  • Add new countries support: Estonia, Greece, Latvia, Lithuania, Poland, Slovakia, Slovenia #3872

Changed

  • In shipping address replace country dropdown with text field #3815
  • Use community currency for free transactions avoiding nil.to_money == 0 EUR #3816
  • Edit some CSV exports #3828
  • Change datetime format in all CSV exports #3844
  • Remove username from signup #3853

Removed

  • Remove google-site-verification from head and hardcoded GWT tag #3825, #3826

Fixed

  • Order Type name for free listings was not updating cached fragment #3836
  • Disabling top bar default links (about, contact) is not possible #3840

Upgrade from 8.0.0 to 8.1.0

Nothing special. See the [#general-update-instructions].

I’m getting the following error during db migration running rake:

root@example:~/sharetribe# RAILS_ENV=production rake db:migrate
rake aborted!
Aws::Sigv4::Errors::MissingCredentialsError: Cannot load Rails.config.active_storage.service:
missing credentials, provide credentials with one of the following options:

  • :access_key_id and :secret_access_key
  • :credentials
  • :credentials_provider

I’m not using AWS but digitalocean; any idea how to solve that?

I’m not sure how things would work with another service provider than Digital Ocean but if they have a similar cloud storage service, you can probably find help in the Active Storage documentation to configure it for your own hosting (Active Storage isn’t limited to AWS).

I don’t know if other members of the Community use something else than AWS but their input will be appreciated, hopefully someone has experience with Digital Ocean!

Until version 8.0 it was not a problem just not use active storage. The files are stored in the same location as also the server is running. Just local.
Im not generating a lot of storage. So active storage is not necessary.

Is there a possibility to make active storage not mandatory?

In your installation you can adjust environment-depending settings:

config/environments/development.rb
72:  # Store uploaded files on the local file system (see config/storage.yml for options)
73:  config.active_storage.service = :local

config/environments/staging.rb
151:  config.active_storage.service = :amazon

config/environments/production.rb
151:  config.active_storage.service = :amazon
1 Like

That worked perfectly! Thank you for that!

Another short question: Is it possible to add an extra static page next to About / How it works / Terms …?

Take look at infos_controller.rb to see how existing pages are implemented - you can add new field for page content to community_customizations table, add view and action for InfosController and add related link to menu in ApplicationHelper

I changed the following files:

  • application_helper.rb
  • info_controller.rb
  • and added a new table into the database community_customization

After precompiling and rebooting, I still get an error in the application_helper.rb with the path.

links << {
  :text => t('layouts.infos.example'),
  :icon_class => icon_class("information"),
  :path => example_infos_path,
  :name => "example"
}

Is there anything else which need to be done with the :path?

add your page in config/routes.rb

resources :infos do
  collection do
    get :example

Great, thank you a lot. This is working.
I’m almost there. Now I only have the problem left, that when I change the content within the mercury editor and click on save, it is not stored in the DB. With the other pages it works well.

Any idea?

add your new field to CONTENT_FIELDS here https://github.com/sharetribe/sharetribe/blob/master/app/models/community_customization.rb#L62

Okay someone here has earned today a trophy! :trophy:
Thank you a lot for the support!!

Hi, i also have this error but i’m trying to install it locally.
rake aborted!
Aws::Sigv4::Errors::MissingCredentialsError: Cannot load Rails.config.active_storage.service:
missing credentials, provide credentials with one of the following options:

  • :access_key_id and :secret_access_key
  • :credentials
  • :credentials_provider

Hi,
This is one issue due to the lack of credentials active storage,
To make it work - replace :amazon from :local in the same environment in which you are setting up for example if it’s development environment then under the

config/environments/dvelopment.rb

config.active_storage.service = :local

I would be happy to discuss you with any other issues.
Aman KR,
email/skype- mailtoamanam@gmail.com

Hi @thomasmalbaux could u explain more about this PR?
Allow admins to unskip reviews [#3857]

What does unskip mean exactly? I see that we have a Reviews tab now. And do you have newer PRs related to this feature after 3857?

In Go, both users can decide not to give a review (= to “skip the review” process entirely). That code has added a way for Admins, from the Admin panel, to “unskip” a review, meaning allowing user(s) to go through the review process, if they’ve changed their mind and would like to leave a review after all.

About your second question, did you notice my reply to your similar question few days ago? Check it out.

Is there a possibility to make active storage not mandatory?