Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 19:01
    decidim-bot synchronize #5498
  • 19:01

    decidim-bot on l10n_0.19-stable

    New translations en.yml (Norweg… (compare)

  • 19:00
    decidim-bot synchronize #5497
  • 19:00

    decidim-bot on l10n_master

    New translations en.yml (Norweg… (compare)

  • 18:51
    decidim-bot synchronize #5498
  • 18:51

    decidim-bot on l10n_0.19-stable

    New translations en.yml (Norweg… (compare)

  • 18:50
    decidim-bot synchronize #5497
  • 18:50

    decidim-bot on l10n_master

    New translations en.yml (Norweg… (compare)

  • 18:40
    decidim-bot synchronize #5498
  • 18:40

    decidim-bot on l10n_0.19-stable

    New translations en.yml (Norweg… (compare)

  • 18:40
    decidim-bot synchronize #5497
  • 18:40

    decidim-bot on l10n_master

    New translations en.yml (Norweg… (compare)

  • 18:31
    decidim-bot synchronize #5498
  • 18:31

    decidim-bot on l10n_0.19-stable

    New translations en.yml (Norweg… (compare)

  • 18:30
    decidim-bot synchronize #5497
  • 18:30

    decidim-bot on l10n_master

    New translations en.yml (Norweg… (compare)

  • 18:20
    decidim-bot synchronize #5498
  • 18:20

    decidim-bot on l10n_0.19-stable

    New translations en.yml (Norweg… (compare)

  • 18:20
    decidim-bot synchronize #5497
  • 18:20

    decidim-bot on l10n_master

    New translations en.yml (Norweg… (compare)

alessiocamillo
@alessiocamillo
Hi everyone, I am new in Decidim. I installed the 0.18 version and it works! I would like to create an app that uses the decidim API in order to retrieve and /or insert content such as proposals. Can anyone help me?
Pierre
@PierreMesure
To my knowledge, the API is still read only, I use a custom module to automate content creation.
Jean-Philippe Prost
@jpprost
Hi,
is there any way I could remove from the "recent activity" on the front page the propositions that were removed, in that case from assemblies? As I user of versioning tools I can understand the logic behind the tracing of every proposition in the history, but I can think of different situations where we would like to simply NOT have a proposition being publicly displayed anymore. If not, trolls, in particular, could easily abuse that "feature".
Or am I missing something?
Andrés Pereira de Lucena
@andreslucena
Hi @virgile-dev - I think it's related with some diffs that Crowdin make when there aren't changes on strings between this branch and master
image.png
The tooltip on "Nothing to translate" says "File is empty. It contains only duplicates or hidden strings."
@alessiocamillo @PierreMesure exactly, at the moment the API is read only for almost everything except for Comments AFAIK
@jpprost seems like a bug: if something is deleted or moderated it shouldn't be visible... Could you report it to meta.decidim.org please? Thanks!
Andrés Pereira de Lucena
@andreslucena
@teusbenschop I think you're doing it right, you need to check specially that the tree on the YML file it's exactly the same... Also you'd probably need to restart your web server
@madcsaba that's weird... did you find the reason? Can you send me more strings that have this issue? Thanks
Andrés Pereira de Lucena
@andreslucena
@BruggemanYves_twitter regarding logging, we use Rails default logger, so you have the same options... For instance, for changing verbosity
config.log_level defines the verbosity of the Rails logger. This option defaults to :debug for all environments. The available log levels are: :debug, :info, :warn, :error, :fatal, and :unknown.
Also you could use logrotate or LogStash
vbachelet
@vbachelet
Hello ! I'm writting a paper about Decidim and I can't find the initial call for tenders from Barcelona, does anybody know where I can find it ?
Andrés Pereira de Lucena
@andreslucena
@vbachelet https://contractaciopublica.gencat.cat/ecofin_pscp/AppJava/notice.pscp?reqCode=viewCn&idDoc=24253271
If you need anymore information don't hesitate on contacting me
vbachelet
@vbachelet
@andreslucena thank you so much !
Jean-Philippe Prost
@jpprost
@andreslucena ok, will do. Thanks.
Jean-Philippe Prost
@jpprost
Hi,
I would like to create a participatory process, where the first step is to force people to fill in their profile. Any idea how I could do that?
The easy way, I thought, was to link "http://domain.name/account/" to the action button, so that anyone logged in would be automatically redirected to their profile, but it does not work. The problem is that the "path to action" (^) requires a relative path, which is automatically sticked at the end of the string "http://domain.name/processes/". And since that relative path is also required to start with a letter it can NOT simply be "../account".
Any suggestion?
(^) Since I'm working with an instance in French the actual English string might be slightly different.
Jean-Philippe Prost
@jpprost
Also, is there a way I could customize stuff like the size of the text area in a Proposition -- which by default is set to 500 char. max? The Dev. Manual does not seem to mention it.
Jean-Philippe Prost
@jpprost
I finally found where to customize that value (in each "component" of an assembly). Sorry for the noise, but at times it's quite tedious to find its way among all the parameters, especially to figure out what may and what may not be customized.
Eduard Itrich
@itrich
Hi decidim team,
I'm very new to web development with Ruby on Rails and I'm not quite sure how to update my modified localization files. I replaced some terms on Crowdin and downloaded the generated yml file. After placing this file in my gem archive ~/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/decidim-core-0.18.0/config/locales, I executed bundle update decidim and restarted passenger. However, my changes weren't applied. So, can I somehow patch the translations without waiting for a new release on rubygems.org?
Oh and by the way, @microstudi: Thank you very much for pointing out ransack 2.3.0 breaking the proposal overview page. This saved me a lot of hours!
Armand Fardeau
@armandfardeau
@itrich You don't have to change the localization file on the gem directly. See, the rails app where you charge decidim into is like an empty shell and should receive the latest modification you want to be applied to your stack, therefore try to update the local app.
image.png
@itrich Feel free if you have any questions
Eduard Itrich
@itrich
@armandfardeau Thank you. This reduced my workflow from gem open, patching and calling gem build again to simply appending my translations to ~/my_decidim/config/locales/en.yml
It works perfectly!
Pierre
@PierreMesure
Has anyone access to their Sidekiq web interface at /sidekiq? I get a "Page not found".
Armand Fardeau
@armandfardeau

@PierreMesure
in config/routes.rb

authenticate :admin do
    mount Sidekiq::Web, at: "sidekiq", as: :sidekiq
end

Only system admin will have access.

Jean-Philippe Prost
@jpprost
Hi, is it normal that my production.log is 1.7-ish Gb?
May I remove it from my decidim-app/ tarball, meant for backup (next to a db dump)?
Cheers.
ruralitedemain
@ruralitedemain
Hello, i need help to install decidim in Amazon AWS
Antoine Marmoux
@Amarm_gitlab

Hi guys! I'm having trouble launching development_app. I did the following:

  • bundle exec rake development_app
  • cd development_app && bundle exec rails s
    As explained in github "how to contribute" > "Browse decidim".
    When I go to localhost:3000, I get the following error:
    Sprockets::FileNotFound in Decidim::Homepage#show
    couldn't find file 'decidim' with type 'application/javascript'

In application.js, if I remove //=require decidim, home page works but not the other pages.
I don't understand why the app does not see the decidim gem for the assets?

If someone can help me with that, it would be wonderful!
Thanks in advance guys!

Isaac Massot
@isaacmg410
@Amarm_gitlab this is a bug with the last sprockets version.
If you are working with the latest master version, this is already fixed.
If not, the solution is force the version in the app. Check, decidim/decidim#5418
Antoine Marmoux
@Amarm_gitlab
@isaacmg410 thank you very much, everything works fine now !
Antoine Marmoux
@Amarm_gitlab

Hi !
I have an issue on a Decidim installation when a user try to see his account information (profile page). The app is crashing and here are the logs iinformations:

F, [2019-11-05T14:56:36.895895 #1378] FATAL -- : [f9f31169-749b-4748-aa58-37f48a87f86f]   
F, [2019-11-05T14:56:36.895960 #1378] FATAL -- : [f9f31169-749b-4748-aa58-37f48a87f86f] ActionView::Template::Error (undefined method `mounted_engine' for #<Decidim::Accountability::Result:0x000055fdbed0d330>):
F, [2019-11-05T14:56:36.896144 #1378] FATAL -- : [f9f31169-749b-4748-aa58-37f48a87f86f]     1: <%= cell "decidim/profile", user, context: {
[f9f31169-749b-4748-aa58-37f48a87f86f]     2:   content_cell: "decidim/user_activity",
[f9f31169-749b-4748-aa58-37f48a87f86f]     3:   activities: activities
[f9f31169-749b-4748-aa58-37f48a87f86f]     4: } %>
F, [2019-11-05T14:56:36.896178 #1378] FATAL -- : [f9f31169-749b-4748-aa58-37f48a87f86f]   
F, [2019-11-05T14:56:36.896281 #1378] FATAL -- : [f9f31169-749b-4748-aa58-37f48a87f86f] activemodel (5.2.2.1) lib/active_model/attribute_methods.rb:430:in `method_missing'

Does anybody know where can be the issue?

Andres Bustamante Valenzuela
@abustamante_tic_twitter

hi, I tried the incredible platoniq instalation manual, and I have two instances of decidim ok. However I cannot install the initiatives module. In the installation the gemfile comes commented like this: gem "decidim", "0.14.0"

gem "decidim-consultations", "0.14.0"

gem "decidim-initiatives", "0.14.0"

gem "bootsnap", "~> 1.3"

gem "puma", "~> 3.0"
gem "uglifier", "~> 4.1"

gem "faker", "~> 1.8"

gem "figaro"

I uncommented consultations (i am using 0.19 version of all modules), and no problem, now I have consultations, but then I uncommented "decidim-initiatives" and I get the following error:

~/decidim-app$ bin/rails decidim:upgrade
rails aborted!
NameError: uninitialized constant WickedPdf
/home/decidim/decidim-app/config/environment.rb:5:in <main>' bin/rails:4:in

'
Caused by:
NameError: uninitialized constant WickedPdf
/home/decidim/decidim-app/config/environment.rb:5:in <main>' bin/rails:4:in

'
Tasks: TOP => decidim:upgrade => railties:install:migrations => db:load_config => environment

I need the consultations module... anyone has been throug this?

daouda40
@daouda40

Hello all! I have a problem, a user subscribed and was able to choose a nickname with a slash in it "XXXX / YYYY" (redacted for privacy). Decidim 0.18.0 installed with Platoniq's how-to.
Since then, I have a 500 error when I go on /admin/officializations (list of participants)

Also, I found some errors in production.log:
F, [2019-11-06T15:52:35.734919 #30812] FATAL -- : [6eee26e9-74b8-41c3-beaa-02d8d74701bf] ActionView::Template::Error (No route matches {:action=>"show", :controller=>"decidim/profiles", :nickname=>"XXXXX / YYYYY"}, possible unmatched constraints: [:nickname]):

I'm not sure how to solve this. Thanks for any help!

Andrés Pereira de Lucena
@andreslucena
@ruralitedemain you have instructions on https://platoniq.github.io/decidim-install/decidim-aws/
@Amarm_gitlab which version of decidim are you using?
@abustamante_tic_twitter you should add this line to Gemfile:
gem "wicked_pdf", "~>1.3"
and do all the rest of steps (bundle install ; rails decidim:upgrade ; rails db:migrate )
Antoine Marmoux
@Amarm_gitlab
@andreslucena this is on the version 17.2
plizanabesa
@plizanabesa
Hi all! I have an instance of decidim running, but need to hide some of the participatory processes. I read the documentation, but couldn't find any information. Does anyone know a elegant way to hide some of the processes from the menu?
Andres Bustamante Valenzuela
@abustamante_tic_twitter
@andreslucena you are awesome, now working perfect, thanks! maybe i am abusing... but do you know how to install a google analytics tracking code to decidim?
plizanabesa
@plizanabesa
Hello all, does anyone now how components are ordered in a process? It seems they are not ordered by their creation order (for example, pages are always first than a survey, even though I created a page after a survey). Also, anyone knows of a plugin to add html to the text forms? Thanks!
Ali G
@ponentesincausa
Hello all! I am having this exact same issue:
there's the traceback and gemfile.lock
@plizanabesa yes, there's a field called weight, within the component configuration, you can put a number there to order the way in which they appear
@plizanabesa you can hide them by unpublishing.
plizanabesa
@plizanabesa
Thanks @ponentesincausa!
Ali G
@ponentesincausa
I solved it by manually applying the patch