!vVcsnwMNPHhwWsmXST:matrix.org

📣 Support Devs

235 Members
technical staff here!10 Servers

Load older messages


SenderMessageTime
27 Aug 2024
@viktorsmar:matrix.orgViktor Smáriimage.png
Download image.png
18:42:59
@viktorsmar:matrix.orgViktor SmáriI have not used Shakapacker, but I used Webpacker and now esbuild, but I am not sure what to do here?18:48:05
@telegram_500738289:t2bot.ioAlexandru LupuRegarding the decidim 0.28.2, it seems that asdf and rbenv are installing a newer ruby 3.1 ( or a security patched version that ships the stringio 3.1.1 instead of 3.1.0). We built today 0.28 branch, and we have not seen any errors regarding stringio18:47:56
@telegram_500738289:t2bot.ioAlexandru LupuStart your server using bin/dev18:43:42
@telegram_500738289:t2bot.ioAlexandru Lupu
In reply to @viktorsmar:matrix.org
I have not used Shakapacker, but I used Webpacker and now esbuild, but I am not sure what to do here?
You can look to shakapacker as a newer version of webpacker. U have the same functionality
18:50:22
@telegram_500738289:t2bot.ioAlexandru Lupu
In reply to Alexandru Lupu
You can look to shakapacker as a newer version of webpacker. U have the same functionality
To be fair, shakapacker is a library maintained by shakacode, that started from the latest version of webpacker. It has evolved since that point, but the api should be relatively similar to webpacker
18:57:06
@viktorsmar:matrix.orgViktor Smári Yes, it works fine now. I did not have to run any shakapacker commands to get it up and running. bin/dev was enough after running the migrations 19:45:02
@viktorsmar:matrix.orgViktor Smári * Yes, it works fine now. I did not have to run any shakapacker commands to get it up and running. bin/dev was enough after running the migrations. I probably did something wrong in my screenshot above 19:46:58
28 Aug 2024
@sdelcroix:matrix.orgsdelcroixHi everyone :) any hint or help to my previous messages ? :)08:10:46
@sdelcroix:matrix.orgsdelcroixI think it's because the Decidim::Blogs::Post with id 7 has been deleted in the past08:29:20
@sdelcroix:matrix.orgsdelcroix * I think it's because the Decidim::Blogs::Post with id 7 and Decidim::Meetings::Meeting with id 13 have been deleted in the past.08:30:08
@sdelcroix:matrix.orgsdelcroixHow can I clean up the comments attached to them ?08:30:28
@sdelcroix:matrix.orgsdelcroix * How can I clean up the comments related to them ?08:32:16
@viktorsmar:matrix.orgViktor Smári
In reply to @sdelcroix:matrix.org
How can I clean up the comments related to them ?
Is it only these 5 you posted, or you have many? If it is only these 5, you could use the rails console if you know how to use it, find the records and delete them?
08:38:08
@sdelcroix:matrix.orgsdelcroixYes only these 5 / 10 items. It can be handled manually08:39:18
@sdelcroix:matrix.orgsdelcroixI've already found them using rails console. But I would like to know how to proper clean them ;)08:40:12
@viktorsmar:matrix.orgViktor Smári Ahh yes of course, I am not sure, as I am a Decidim beginner (but 10 years Rails experience) 🤓
I would guess something likeDecidim::Comments::Comment.find(19).destroy but better wait for an answer from the professionals 😉
08:41:53
@viktorsmar:matrix.orgViktor Smári * Ahh yes of course, I am not sure, as I am a Decidim beginner (but 10 years Rails experience) 🤓
I would guess something like Decidim::Comments::Comment.find(19).destroy but better wait for an answer from the professionals 😉
08:42:03
@sdelcroix:matrix.orgsdelcroix
In reply to @viktorsmar:matrix.org
Ahh yes of course, I am not sure, as I am a Decidim beginner (but 10 years Rails experience) 🤓
I would guess something like Decidim::Comments::Comment.find(19).destroy but better wait for an answer from the professionals 😉
Yep ;) That's the idea :p
08:42:15
3 Sep 2024
@rafal123:matrix.orgrafal123Hi Decidim Team, I would like to ask you for advice. I represent small NGO yet to become widely known that wants to create Decidim instance with country-wide reach in order to engage citizens in discussing laws of Poland. Hopefully there will be snowball effect and these discussions will make pressure on politicians to consider the voice of people raised on this instance of Decidim. I know there exists HalfSignup plugin but unfortunately it doesn't work with current version of Decidim and significant changes would be required to adapt it. I know we can use out-of-the-box functionality that allows verifying by sending ID document, receiving verification code via post or by organizations list. The thing is that initially the instance will be empty and I need to encourage people to particiapate, at the same time making sure that users are somehow verified. For this reason I thought that SMS would be perfect but I can't use HalfSignup. How does it work? Do I understand correctly that user cannot post messages on the forum if they are not verified? If yes, there won't be any people interested in registering fully when the board will be initially empty and that would require sending ID or saving personal data like address in order to receive post letter. How do you think I can solve this problem? Thank you! Rafal15:43:02
@hfroger:matrix.orgHadrien Froger

Hi Rafal,

Users can't post comments or participate without an account (with some exceptions for Surveys).

I would suggest a few options:

  • Use an external OAuth2 provider:

    1. That uses SMS as the only way to log in. This is what we used in community.mautic.org.
    2. If Poland has some form of e-ID, it might be possible to enable signup/login through state services (here in Portugal, NGOs can use this).
    3. Add Google and other social logins to simplify the signup process.
  • Use a module like decidim-module-friendly_signup for a smoother signup flow.

  • (Not tested) Invite users using the decidim-verifications-direct_verifications module.

There might be other options—curious to see more ideas! 😊

15:53:34
@hfroger:matrix.orgHadrien Froger *

Hi Rafal,

Users can't post comments or participate without an account (with some exceptions for Surveys).

I would suggest a few options:

  • Use an external OAuth2 provider:
    1. That uses SMS as the only way to log in. We use OAuth0 service that can do this (US based). We used in community.mautic.org.
    2. If Poland has some form of e-ID, it might be possible to enable signup/login through state services (here in Portugal, NGOs can use this).
    3. Add Google and other social logins to simplify the signup process.
  • Use a module like decidim-module-friendly_signup for a smoother signup flow.
  • (Not tested) Invite users using the decidim-verifications-direct_verifications module.

There might be other options—curious to see more ideas! 😊

15:54:13
@hfroger:matrix.orgHadrien Froger *

Hi Rafal,

You are right, users can't post comments or participate without an account (with some exceptions for Surveys).

I would suggest a few options:

  • Use an external OAuth2 provider:

    1. That uses SMS as the only way to log in. We use OAuth0 service that can do this (US based). We used in community.mautic.org.
    2. If Poland has some form of e-ID, it might be possible to enable signup/login through state services (here in Portugal, NGOs can use this).
    3. Add Google and other social logins to simplify the signup process.
  • Use a module like decidim-module-friendly_signup for a smoother signup flow.

  • (Not tested) Invite users using the decidim-verifications-direct_verifications module.

There might be other options—curious to see more ideas! 😊

15:54:57
@hfroger:matrix.orgHadrien Froger And curious about the NGO you represent! Intros are always welcome in the General room ;) 16:00:19
@rafal123:matrix.orgrafal123Wow, that you a lot for very quick and comprehensive answer :) I think option with SMS with OAuth0 might be the best. Could you, please, write something more about this option? If that won't be possible my option number two is to use Google or other social logins but option with SMS is better I think. But is this friendly_signup module obligatory in this scenario? It was edited several months ago so I suspect similar compatibility issues as with HalfSignup. And yes, I would gladly write about NGO I represent, once we launch our instance. Have a nice evening :) Thank you, Rafal16:09:14
@hfroger:matrix.orgHadrien Froger

Sure, you need to create a Auth0 account at auth0.com, and setup passwordless connection (https://auth0.com/docs/authenticate/passwordless). Once you have your account, you will need to add a piece of code in your decidim instance to use a open id connection.

I saw differents ways to do so. I personally do this: https://github.com/mautic/Community-Portal/blob/main/config/initializers/auth0.rb
and install omniauth_openid_connect gem.

Once the gem and the initializer is placed on your code, you can restart and access /system. There you will see the fields to setup a OAuth2 connection.

I just would like to warn you, auth0 service is US based, and the risk I see in EU is always GDPR (phone number saved there). Please be careful on your term and service page ;)

16:21:44
@hfroger:matrix.orgHadrien Froger *

Sure, you need to create an Auth0 account at auth0.com and set up a passwordless connection (https://auth0.com/docs/authenticate/passwordless)). Once your account is ready, you'll need to add a piece of code to your Decidim instance to use an OpenID connection.

I've seen different ways to do this, but personally, I use this approach: Auth0 initializer example](https://github.com/mautic/Community-Portal/blob/main/config/initializers/auth0.rb) and install the omniauth_openid_connect gem.

Once the gem and the initializer are in place, restart your instance and access /system. There, you'll see the fields to set up an OAuth2 connection.

I just want to warn you, though: Auth0 is a US-based service, and the risk with using it in the EU is always GDPR compliance (e.g., phone numbers being stored there). Please be careful with your terms and service page. 😉

16:23:58
@hfroger:matrix.orgHadrien Froger *

Sure, you need to create an Auth0 account at auth0.com and set up a passwordless connection (https://auth0.com/docs/authenticate/passwordless). Once your account is ready, you'll need to add a piece of code to your Decidim instance to use an OpenID connection.

I've seen different ways to do this, but personally, I use this approach: Auth0 initializer example](https://github.com/mautic/Community-Portal/blob/main/config/initializers/auth0.rb) and install the omniauth_openid_connect gem.

Once the gem and the initializer are in place, restart your instance and access /system. There, you'll see the fields to set up an OAuth2 connection.

I just want to warn you, though: Auth0 is a US-based service, and the risk with using it in the EU is always GDPR compliance (e.g., phone numbers being stored there). Please be careful with your terms and service page. 😉

16:24:32
@hfroger:matrix.orgHadrien Froger *

Sure, you need to create an Auth0 account at auth0.com and set up a passwordless connection (https://auth0.com/docs/authenticate/passwordless). Once your account is ready, you'll need to add a piece of code to your Decidim instance to use an OpenID connection.

I've seen different ways to do this, but personally, I use this approach: https://github.com/mautic/Community-Portal/blob/main/config/initializers/auth0.rb and install the omniauth_openid_connect gem.

Once the gem and the initializer are in place, restart your instance and access /system. There, you'll see the fields to set up an OAuth2 connection.

I just want to warn you, though: Auth0 is a US-based service, and the risk with using it in the EU is always GDPR compliance (e.g., phone numbers being stored there). Please be careful with your terms and service page. 😉

16:24:56
4 Sep 2024
@rcheesley:matrix.orgRuth Cheesley (she/her)Auth0 does as far as I know allow you to decide which country you locate your tenant in10:03:25

Show newer messages


Back to Room ListRoom Version: 6