Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 15 17:56
    alecslupu opened #8016
  • May 15 13:25
    ahukkanen edited #8015
  • May 14 14:55
    ferblape assigned #7956
  • May 14 14:55
    ahukkanen edited #8015
  • May 14 14:55
    ahukkanen edited #8015
  • May 14 14:55
    ahukkanen edited #8015
  • May 14 14:49
    ferblape synchronize #8014
  • May 14 14:49

    ferblape on admin-polls-meetings

    Don't add create route Fix missing translation Fix unused locales (compare)

  • May 14 14:25
    ahukkanen opened #8015
  • May 14 14:02
    ferblape synchronize #8014
  • May 14 14:02

    ferblape on admin-polls-meetings

    Fix Ruby offenses Remove unused partial Normalize i18n file (compare)

  • May 14 13:41
    ferblape commented #7299
  • May 14 12:51
    ferblape opened #8014
  • May 14 12:51

    ferblape on admin-polls-meetings

    Make questions publicable Introduce polls in meetings mod… (compare)

  • May 14 12:40
    ferblape commented #7984
  • May 14 12:31
    decidim-bot synchronize #8009
  • May 14 12:30

    decidim-bot on l10n

    New translations en.yml (Norweg… (compare)

  • May 14 12:30
    decidim-bot synchronize #8009
  • May 14 12:30

    decidim-bot on l10n

    New translations en.yml (Norweg… (compare)

  • May 14 12:30
    decidim-bot synchronize #8009
Shir Goldberg
@shirgoldbird

Also, more generally, I'd love some broader advice about what to do with our Decidim install...I inherited a recently set-up Decidim install that was based off the City of Helsinki's fork. The reasoning the original developers gave was Helsinki's UI quality-of-life changes, and ability to combine proposals. However, I didn't realize that Helsinki's Decidim is on v0.19. The out-of-date version has already caused several headaches, and I expect will cause more in the future. I attempted an update to Decidim 0.21 but ran many different issues relating to Helsinki's customizations.

As I see it, we can:

  • update Decidim and try to retain as much as we can of Helsinki's customizations, which would involve a significant amount of dev time
  • update Decidim and try to retain only the Helsinki customizations that are easy to update, which would still be a lot of dev time but hopefully not quite as much
  • update Decidim and delete all of the custom Helsinki code, and then try to recreate some of the features after the fact

Any thoughts would be very welcome. Right now this install isn't in production anywhere and we've made relatively few modifications, so we have a lot of license to burn it all down and start over again if needed. However, we need to move quickly on a decision before the code becomes entrenched.

4 replies
Hal Seki
@halsk
Hello, my name is Hal Seki, from Code for Japan. I installed Decidim on the test instance and trying to use it with a city in Japan. But I couldn't find a way to create a page that supports endorsements and comments for each paragraph in a participately process page. Concretely, I wanted to make this kind of page: https://www.decidim.barcelona/processes/PAM2020/f/3771/
I also read official manuals and documents in GitHub but I couldn't find an answer. Such pages are able to be created by the default components? It would be very helpful if someone shows pointers.
Pierre
@PierreMesure
Hi Hal Seki, the feature you are looking for is called "Participatory text", it lies in the Proposals component. Create a new one, then look for the checkbox to enable it in the settings. You will then be able to upload a text. You can't use it on a component with existing proposals, it has to be empty.
1 reply
Pierre
@PierreMesure
image.png

Hi everyone, has anyone had an issue with the e-mail's logo? On several platforms, it is consistenly broken, the image is purely missing.

Any idea where that might come from?

4 replies
Ivan Vergés
@microstudi
@halsk take a look at this guide we made, it might be useful to you https://labs.openheritage.eu/pages/participatorytext
2 replies
raúl
@raulsperoni
Hello! I've been testing decidim in a Docker environment for some time. Now I have to deploy it to openshift for further testing by participants before the organization i'm working for (government related) adopts it for real. Any advice or documentation on how to proceed? I'm not an expert with openshift but there are issues with root user and so on. Thank you very much!
2 replies
PierreJiji
@PierreJiji
Hello everybody, I use the plateform of Decidim in french language, when a user uses the survey module, and when we arrive with an error message, the display of this message is badly translated it is a mix between english and french.
You can see the full problem: decidim/decidim#6582
Thank you for your collaboration
14 replies
JeremyCoutellec
@JeremyCoutellec
Hello, Got an issue when the plateforme want to send email to an hotmail domain. ( com or fr ) Do you have an idee ? thanks
4 replies
web ecologistas
@ecologistas_gitlab
Hi everybody. We've updated decidim 0.21 to last release 0.22 and the page isn't redirecting properly.
3 replies
I paste the log server: D, [2020-10-07T10:53:23.165126 #622] DEBUG -- : Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2020-10-07 08:53:23.164032', locked_by = 'delayed_job host:www pid:622' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2020-10-07 08:53:23.163577' AND (locked_at IS NULL OR locked_at < '2020-10-07 04:53:23.163595') OR locked_by = 'delayed_job host:www pid:622') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING 
D, [2020-10-07T10:53:28.171918 #622] DEBUG -- : Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2020-10-07 08:53:28.170789', locked_by = 'delayed_job host:www pid:622' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2020-10-07 08:53:28.170400' AND (locked_at IS NULL OR locked_at < '2020-10-07 04:53:28.170418') OR locked_by = 'delayed_job host:www pid:622') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING

D, [2020-10-07T10:53:33.178783 #622] DEBUG -- : Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2020-10-07 08:53:33.177635', locked_by = 'delayed_job host:www pid:622' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2020-10-07 08:53:33.177242' AND (locked_at IS NULL OR locked_at < '2020-10-07 04:53:33.177260') OR locked_by = 'delayed_job host:www pid:622') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING 
D, [2020-10-07T10:53:38.185907 #622] DEBUG -- : Delayed::Backend::ActiveRecord::Job Load (1.0ms) UPDATE "delayed_jobs" SET locked_at = '2020-10-07 08:53:38.184480', locked_by = 'delayed_job host:www pid:622' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2020-10-07 08:53:38.184071' AND (locked_at IS NULL OR locked_at < '2020-10-07 04:53:38.184090') OR locked_by = 'delayed_job host:www pid:622') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING

D, [2020-10-07T10:53:43.192996 #622] DEBUG -- : Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2020-10-07 08:53:43.191705', locked_by = 'delayed_job host:www pid:622' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2020-10-07 08:53:43.191184' AND (locked_at IS NULL OR locked_at < '2020-10-07 04:53:43.191206') OR locked_by = 'delayed_job host:www pid:622') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING 
D, [2020-10-07T10:53:48.199982 #622] DEBUG -- : Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2020-10-07 08:53:48.198792', locked_by = 'delayed_job host:www pid:622' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2020-10-07 08:53:48.198380' AND (locked_at IS NULL OR locked_at < '2020-10-07 04:53:48.198400') OR locked_by = 'delayed_job host:www pid:622') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING

D, [2020-10-07T10:53:53.206892 #622] DEBUG -- : Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2020-10-07 08:53:53.205695', locked_by = 'delayed_job host:www pid:622' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2020-10-07 08:53:53.205285' AND (locked_at IS NULL OR locked_at < '2020-10-07 04:53:53.205304') OR locked_by = 'delayed_job host:www pid:622') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *
D, [2020-10-07T10:53:58.213680 #622] DEBUG -- : Delayed::Backend::ActiveRecord::Job Load (0.7ms) UPDATE "delayed_jobs" SET locked_at = '2020-10-07 08:53:58.212576', locked_by = 'delayed_job host:www pid:6
I, [2020-10-07T10:55:08.717744 #24726] INFO -- : [28f5c964-062f-4da2-ac27-1a06d733b184] Processing by Decidim::ErrorsController#internal_server_error as HTML
I, [2020-10-07T10:55:08.718369 #24726] INFO -- : [28f5c964-062f-4da2-ac27-1a06d733b184] Redirected to https://participa.ecologistasenaccion.org/users/sign_in
I, [2020-10-07T10:55:08.718421 #24726] INFO -- : [28f5c964-062f-4da2-ac27-1a06d733b184] Filter chain halted as :ensure_authenticated! rendered or redirected
I, [2020-10-07T10:55:08.718588 #24726] INFO -- : [28f5c964-062f-4da2-ac27-1a06d733b184] Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
D, [2020-10-07T10:55:13.315965 #622] DEBUG -- : Delayed::Backend::ActiveRecord::Job Load (0.8ms) UPDATE "delayed_jobs" SET locked_at = '2020-10-07 08:55:13.314571', locked_by = 'delayed_job host:www pid:622' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2020-10-07 08:55:13.314050' AND (locked_at IS NULL OR locked_at < '2020-10-07 04:55:13.314069') OR locked_by = 'delayed_job host:www pid:622') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING 
D, [2020-10-07T10:55:18.323560 #622] DEBUG -- : Delayed::Backend::ActiveRecord::Job Load (1.3ms) UPDATE "delayed_jobs" SET locked_at = '2020-10-07 08:55:18.321812', locked_by = 'delayed_job host:www pid:622' WHERE id IN (SELECT "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2020-10-07 08:55:18.321261' AND (locked_at IS NULL OR locked_at < '2020-10-07 04:55:18.321284') OR locked_by = 'delayed_job host:www pid:622') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING

I appreciate any help you can give!
raúl
@raulsperoni

Hi! I'm having trouble updating SMTP settings for organizations:

TypeError (no implicit conversion of nil into String):
F, [2020-10-08T14:40:07.584534 #64] FATAL -- : [006788e5-1b9e-4785-b249-957c69ade8cc]
F, [2020-10-08T14:40:07.584571 #64] FATAL -- : [006788e5-1b9e-4785-b249-957c69ade8cc] /usr/local/lib/ruby/2.6.0/openssl/pkcs5.rb:14:in pbkdf2_hmac' [006788e5-1b9e-4785-b249-957c69ade8cc] /usr/local/lib/ruby/2.6.0/openssl/pkcs5.rb:14:inpbkdf2_hmac'
[006788e5-1b9e-4785-b249-957c69ade8cc] /usr/local/lib/ruby/2.6.0/openssl/pkcs5.rb:19:in pbkdf2_hmac_sha1' [006788e5-1b9e-4785-b249-957c69ade8cc] activesupport (5.2.4.3) lib/active_support/key_generator.rb:23:ingenerate_key'
[006788e5-1b9e-4785-b249-957c69ade8cc] decidim-core (0.22.0) lib/decidim/attribute_encryptor.rb:14:in cryptor' [006788e5-1b9e-4785-b249-957c69ade8cc] decidim-core (0.22.0) lib/decidim/attribute_encryptor.rb:6:inencrypt'
[006788e5-1b9e-4785-b249-957c69ade8cc] decidim-system (0.22.0) app/forms/decidim/system/update_organization_form.rb:77:in encrypted_smtp_settings' [006788e5-1b9e-4785-b249-957c69ade8cc] decidim-system (0.22.0) app/commands/decidim/system/update_organization.rb:51:insave_organization'

I understand that password field is NIL but it is not. Thank you!

3 replies
andres camilo
@andreslopezg1_gitlab
hi
andres camilo
@andreslopezg1_gitlab
good day to all.
I recently started using Decidim (installing it on a virtual GCP instance). When doing a test in development I cannot check anything because 127.0.0.1 is the localhost and to access the graphical interface of the Instance I only have the public IP, try to launch it with "bin / rails s -b 0.0.0.0 "to be able to review it from the public IP and I can only access the admin panel.
When I display it as a test in the console, nothing appears but I can access the graphical interface. How can I do the deployment and check the / system / / admin /? Thank you very much
Ricky Ng-Adam
@rngadam
Is Decidim really slow at getting started or is something wrong with my setup? I tried the Docker option from https://github.com/decidim/decidim/blob/master/docs/getting_started.md on Mac OS X and not only do the install step to functional server take over 90mn BUT the initial homepage load is still going after many minutes. This is with a freshly updated docker desktop 2.4.
raúl
@raulsperoni
Hello everyone. So far i've been playing with decidim demo installation. Now I want a fresh production instance but... Once i create an organization, invite an admin user, and log in. I don't see much in the admin dashboard. Settings and everything else is missing. Also I get an "you don't have permissions to do this" in the top. What am I missing? Thank you!
Ricky Ng-Adam
@rngadam

Hello everyone. So far i've been playing with decidim demo installation. Now I want a fresh production instance but... Once i create an organization, invite an admin user, and log in. I don't see much in the admin dashboard. Settings and everything else is missing. Also I get an "you don't have permissions to do this" in the top. What am I missing? Thank you!

We noticed the same thing trying to install it yesterday. Maybe the current version is broken?

2 replies
raúl
@raulsperoni_gitlab

Hello, me again :(. Hello, there seems to be a problem with decidim initiatives (0.22). When a new user register there is an 500 error related to a column not found in database. After this, decidim does not recorvers. Can someone help?

Completed 500 Internal Server Error in 46ms (ActiveRecord: 2.5ms)
Error during failsafe response: PG::UndefinedColumn: ERROR: column decidim_initiatives.decidim_author_type does not exist
LINE 1: ...m_initiatives".* FROM "decidim_initiatives" WHERE "decidim_i...

Thank you.

Pierre
@PierreMesure
Hi, I can't seem to "merge proposals into one" in the same Proposals space. Only into a new Proposals space. Has anyone tried? Is it by design? In the dropdown meny, you can choose the space from which the proposals come from so I assume it's a bug.
3 replies
enlight3d
@enlight3d
Hello, I'm having headaches with decidim... trying to make it run inside a docker environnment since yesterday but I can't seem to get it running correctly. Has anyone a working vanilla configuration without any modifications of the decidim repo ? I'm searching for a working Dockerfile, docker-compose and repo in general...
2 replies
raúl
@raulsperoni

Hello, me again :(. Hello, there seems to be a problem with decidim initiatives (0.22). When a new user register there is an 500 error related to a column not found in database. After this, decidim does not recorvers. Can someone help?

Completed 500 Internal Server Error in 46ms (ActiveRecord: 2.5ms)
Error during failsafe response: PG::UndefinedColumn: ERROR: column decidim_initiatives.decidim_author_type does not exist
LINE 1: ...m_initiatives".* FROM "decidim_initiatives" WHERE "decidim_i...

Thank you.

Has anyone seen this?

8 replies
Vera Rojman
@verarojman
Hi there! I'm trying to remove an item added with Decidim.menu :menu do |menu| ..., can anyone help me figure out if items added this way can be removed somehow in the decidim.rb initializer? Thanks!
5 replies
Patrick Jusic
@xn3cr0nx
hi everyone! I am setting up decidim as a docker instance and trying to send emails through a local smtp server. The server returns this error rejected HELO from decidim.decidim_decidim [172.22.0.5]: syntactically invalid argument(s): (no argument given), then shown from ActiveJobs Net::SMTPSyntaxError (501 Syntactically invalid HELO argument(s)). I fear this is because host decidim.decidim_decidim contains an underscore. Anyone knows a workaround to this?
11 replies
Yuuki Kanasugi
@knsg16
Hi, I am contributing to Japanese version of decidim. We would like to change Proposal title min length so I just added the same file to Model directory like this, app/models/decidim/proposals/admin/proposal_form.rb to change proposal validation minimum length. Is this right way to localize?
3 replies
kenta.koyama
@doyaaaaaken

Hi there!
When I first setup decidim and set config.default_locale = :ja then start decidim and access to localhost:3000, I meet rails error page with a error message I18n::MissingTranslationData in Decidim::Homepage#show.

The error causing location is here.
https://github.com/decidim/decidim/blob/84fc3f66ee323b218ff38c9e9a61b4a9c531c23b/decidim-core/app/views/layouts/decidim/_js_configuration.html.erb#L13

This error happnens because forms.length_validator.minimum.one is not defined on ja.yml.
https://github.com/decidim/decidim/blob/8e237fb075418a840b94275f5dafba7b374dc828/decidim-core/config/locales/ja.yml#L1469-L1470
(It's defined on en.yml. https://github.com/decidim/decidim/blob/8e237fb075418a840b94275f5dafba7b374dc828/decidim-core/config/locales/en.yml#L1487-L1489)

So, I joined crowdin project, but I cannot find where I should input translation.
There is only one textarea, and cannot input forms.length_validator.minimum.one value.

Does anyone can help me? Thanks.

6 replies
image.png
Hal Seki
@halsk
Hello! finally we launched a Decidim instance officially for Kakogawa city in Hyogo prefecture, Japan.
https://kakogawa.diycities.jp/
GitHub: https://github.com/codeforjapan/decidim-cfj
Oliver Azevedo Barnes
@oliverbarnes
That's awesome, congrats @halsk! :clap: I'd be curious to hear about the feature set Kakogawa city chose to use, and which customizations have been made
Grégoire Japiot
@gregoire_twitter
Hi everyone! As I'm totally noob with ruby, I've followed the great step by step tuto by @microstudi and when everything is done, without any error message, when I try to access the URL (civictech.best) I've got a "ERR_CONNECTION_REFUSED" (when I access the public IP of the digitalocean droplet 178.62.245.17 I've got "Welcome to nginx!").
I've try to re-install 3 times (1 time with choosing Ubuntu 18.04 instead of 20.04, but no success...
Thanks in advance for your help!
Ivan Vergés
@microstudi
@gregoire_twitter can you share log errors or some other information? is passenger properly installed? you can try to share the result of these commands: passenger-config validate-install and passenger-config list-instances, also the nginx configuration.
14 replies
looks very nice @halsk !
Pierre
@PierreMesure
Hey, has anyone had problem with comments on Decidim v0.22? It seems like they are unactivated no matter if they are enabled or not in the settings...
2 replies
Pierre
@PierreMesure
image.png
@oliverbarnes See above. Nothing special, just closed comments. Don't hesitate to test on the link I shared in the threads.
Oliver Azevedo Barnes
@oliverbarnes
Sorry @PierreMesure, that was a bad post - I meant to ask for screenshots of the settings
Pierre
@PierreMesure

Settings are:

  • Comments enabled: [X]
    Step settings:
  • Comment blocked: [ ]

As you'd expect. As I said, you can login on try.decidim.org with admin@example.org / decidim123456 and see for yourself. I've tried disabling comments and enabling them again.

Pierre
@PierreMesure
image.png
We're moving slightly forward, this seems to be a frontend problem.
Oliver Azevedo Barnes
@oliverbarnes
@PierreMesure glad to hear. Truth is I’m midway through moving to a new home and haven’t had time to have a proper look at this, hence my asking for screenshots to see if something stood out, which hasn’t helped much. I wonder if this is fixed in v0.23.0?
Pierre
@PierreMesure

I understand. I would love to have some help though since the comments' JS is not super easy to understand. I filed a bug report here: #6841

Unsure if v0.23 is fixing this, try.decidim.org is in v0.23.dev. Do you know who's in charge of this platform? Maybe they could try to upgrade?

I've tried on our platforms but failed as I'm getting migration issues that should hopefully be fixed with #6842.

Good luck with the moving!
Pierre
@PierreMesure
Interestingly, the API works on try.decidim.org but not on our installations (you can try and run the default request at dialog.botkyrka.se/api/graphiql)
Pierre
@PierreMesure
I solved the issue on my installations (by removing an additional module). It's not solved on the test instance so still worth investigating.
2 replies
Oliver Azevedo Barnes
@oliverbarnes

Good luck with the moving!

thanks! it's going well so far

Ivana
@iseimandi

Hello! We are new to Decidim, we have an installation running on testing servers. We wanted to consult
on some tips to mount decidim with high availability, in
case a single decidim server does not reach. The idea of ​​how we imagine it is a "cluster" of n decidim servers.
Will that scheme work?
Something to keep in mind that you can recommend? Will be welcome

And on the other hand if they have any information on the use of resources in relation to X
number of users connected? Thus we have a notion of
resources we would need in terms of ram and cpu, the database is
externally we have the team where decim + nginx passenger is, that
I guess it relieves resources a lot.

We appreciate any help !!

Oliver Azevedo Barnes
@oliverbarnes
Welcome @iseimandi! There’s an ongoing effort to make Decidim more easily deployable with docker, and a couple of people intending to deploy it over kubernetes (myself included), but I haven’t heard of any already deployed decidim clusters out there, with metrics and all. What’s your use case like, do you have an idea of expected traffic?
Oliver Azevedo Barnes
@oliverbarnes
Others with deployed single instances might have some stats on their resource usage. Perhaps @microstudi has some info?
Pierre
@PierreMesure
@andreslucena Hi Andrés, how is your work with the documentation going? I was showing Decidim to Colombian actors and I wasn't able to show them the social contract nor the documentation in Spanish that used to be present on the docs website. Do you have a plan to make the new docs website multilingual and re-add the Spanish content?