Decidim の Meeting コンポーネントには、ミーティング中にリアルタイムで投票(Poll)を実施する機能が組み込まれています。この機能により、参加者は質問に対してライブで回答することができ、管理者はその結果をリアルタイムで確認できます。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> 質問です。ProposalStateを編集する画面はありますか?ない場合、どうやれば変更できるでしょうか | |
⏺ ProposalStateを編集する画面について調査します。 | |
⏺ Search(pattern: "proposal_states", path: "../decidim/decidim-proposals", include: "*controller*") | |
⎿ Found 1 file (ctrl+r to expand) | |
⏺ Read(../decidim/decidim-proposals/app/controllers/decidim/proposals/admin/proposal_states_controller.rb) | |
⎿ Read 87 lines (ctrl+r to expand) |
When the default locale is set to a non-ASCII language (such as Japanese :ja
), the create_default_states!
method in decidim-proposals
fails to create ProposalState records. This prevents proposal components from having the necessary states (evaluating, accepted, rejected), making proposal answering functionality unavailable in the admin interface.
The issue occurs because the generate_token
method in ProposalState cannot properly handle non-ASCII characters in titles when generating tokens, and it incorrectly processes symbol tokens passed from create_default_states!
.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ransack.search: 検索 | |
ransack.predicate: は以下である | |
ransack.and: と | |
ransack.or: あるいは | |
ransack.any: いずれか | |
ransack.all: 全て | |
ransack.combinator: 組み合わせ | |
ransack.attribute: 属性 | |
ransack.value: 値 | |
ransack.condition: 状態 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -uwbNr decidim-cfj/config/application.rb decidim/development_app/config/application.rb | |
--- decidim-cfj/config/application.rb 2023-07-03 17:49:30 | |
+++ decidim/development_app/config/application.rb 2023-08-21 23:24:55 | |
@@ -1,37 +1,22 @@ | |
-# frozen_string_literal: true | |
- | |
require_relative "boot" | |
-require "decidim/rails" | |
-# Add the frameworks used by your app that are not loaded by Decidim. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Be sure to restart your server when you modify this file. | |
# Your secret key is used for verifying the integrity of signed cookies. | |
# If you change this key, all old signed cookies will become invalid! | |
# Make sure the secret is at least 30 characters and all random, | |
# no regular words or you'll be exposed to dictionary attacks. | |
# You can use `rails secret` to generate a secure secret key. | |
# Make sure the secrets in this file are kept private |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Be sure to restart your server when you modify this file. | |
# Your secret key is used for verifying the integrity of signed cookies. | |
# If you change this key, all old signed cookies will become invalid! | |
# Make sure the secret is at least 30 characters and all random, | |
# no regular words or you will be exposed to dictionary attacks. | |
# You can use `rails secret` to generate a secure secret key. | |
# Make sure the secrets in this file are kept private |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import puppeteer from 'puppeteer'; | |
const browser = await puppeteer.launch(); | |
const page = await browser.newPage(); | |
await page.goto('https://www.kdpcommunity.com/s/announcement-archive?language=ja', { waitUntil: 'networkidle0' }); | |
const src = await page.content(); | |
console.log(src); | |
await browser.close(); |
I hereby claim:
- I am takahashim on github.
- I am takahashim (https://keybase.io/takahashim) on keybase.
- I have a public key ASBn56J2GqVP86I5OQrBu0436lbw2bJvdwXS8DHhhpCM0go
To claim this, I am signing this object:
NewerOlder