Sender | Message | Time |
---|---|---|
27 Aug 2024 | ||
Alexandru Lupu | In reply to @viktorsmar:matrix.orgYou can look to shakapacker as a newer version of webpacker. U have the same functionality | 18:50:22 |
Alexandru Lupu | In reply to Alexandru LupuTo 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 |
Viktor 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 |
Viktor 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 | Hi everyone :) any hint or help to my previous messages ? :) | 08:10:46 |
sdelcroix | I think it's because the Decidim::Blogs::Post with id 7 has been deleted in the past | 08:29:20 |
sdelcroix | * 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 | How can I clean up the comments attached to them ? | 08:30:28 |
sdelcroix | * How can I clean up the comments related to them ? | 08:32:16 |
Viktor Smári | In reply to @sdelcroix:matrix.orgIs 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 | Yes only these 5 / 10 items. It can be handled manually | 08:39:18 |
sdelcroix | I've already found them using rails console. But I would like to know how to proper clean them ;) | 08:40:12 |
Viktor 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:41:53 |
Viktor 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 | In reply to @viktorsmar:matrix.orgYep ;) That's the idea :p | 08:42:15 |
3 Sep 2024 | ||
rafal123 | Hi 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! Rafal | 15:43:02 |
Hadrien Froger | Hi Rafal, Users can't post comments or participate without an account (with some exceptions for Surveys). I would suggest a few options:
There might be other options—curious to see more ideas! 😊 | 15:53:34 |
Hadrien Froger | * Hi Rafal, Users can't post comments or participate without an account (with some exceptions for Surveys). I would suggest a few options:
There might be other options—curious to see more ideas! 😊 | 15:54:13 |
Hadrien 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:
There might be other options—curious to see more ideas! 😊 | 15:54:57 |
Hadrien Froger | And curious about the NGO you represent! Intros are always welcome in the General room ;) | 16:00:19 |
rafal123 | Wow, 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, Rafal | 16:09:14 |
Hadrien 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 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 |
Hadrien 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 Once the gem and the initializer are in place, restart your instance and access 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 |
Hadrien 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 Once the gem and the initializer are in place, restart your instance and access 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 |
Hadrien 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 Once the gem and the initializer are in place, restart your instance and access 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 | ||
Ruth Cheesley (she/her) | Auth0 does as far as I know allow you to decide which country you locate your tenant in | 10:03:25 |
Ruth Cheesley (she/her) | We chose USA as we're a USA fiscally hosted project, however I think you can also choose EU servers. Might not be sufficient for your needs, but there is that option, I believe | 10:03:47 |
Ruth Cheesley (she/her) | https://community.auth0.com/t/location-of-tenant-data-processing/104690 | 10:04:14 |
rafal123 | Thanks a lot Hadrien and Ruth for your helpful answers! Do you know if it is possible to easily configure SMS messages for Decidim using Amazon Cognito? I've also sent questions to companies being competitors of OAuth0 so that I can get lower price with similar quality of service, I'm waiting for their replies. I wonder if configuration will be similar for those services compared to OAuth0. Thank you, Rafal | 16:54:02 |
rafal123 | PS You wrote that you use OAuth0 in the USA. Do you have any GitHub repository where we can check related views, code for handling the response, changes in the registration process etc.? I mean the code for SMS verification because you said that we'll need to add a piece of code to our Decidim instance to use an OpenID connection. Thank you, Rafal | 18:54:22 |