redmine-trunk-changes 2019-08-29

パスワードに特定の種類の文字を含めるための設定が追加されました

チケットFeature #4221: Force passwords to contain specified character classes - Redmine

リビジョン 18411 - Force passwords to contain specified character classes (#4221). Patch by Tak... - Redmine

パスワードに大文字・小文字・数字・記号を含めるのを強制する設定を追加しています。 それぞれ個別にオンオフできる。

リビジョン 18412 - Update locales (#4221). - Redmine

パスワード周りの翻訳の追加

リビジョン 18413 - Update locales (#4221). - Redmine

パスワード周りの翻訳の追加

リビジョン 18414 - Send security notifications when password_required_char_classes setting is ch... - Redmine

パスワードの文字の種類の設定が変更された場合にセキュリティ通知を送るようにしています。

へー、そんな機能があるんですね。べんりだ。

リビジョン 18415 - Japanese translation update (#31976). Patch by Go MAEDA. - Redmine

パスワード周りの日本語の訳を更新しています。

redmine-trunk-changes 2019-08-28

リビジョン 18406 - VersionsControllerTest#test_show randomly fails (#31964, #28510). Patch by Y... - Redmine

Gravatarが表示されないことを確認するテストがたまに落ちるので落ちないように修正しています。with_settings ヘルパーべんりですね。

リビジョン 18407 - Add missing fixtures to Redmine::ApiTest::VersionsTest (#31965). Patch by Yu... - Redmine

fixturesの指定が足りていないので足しています。

リビジョン 18408 - Add missing fixtures to Redmine::Helpers::GanttHelperTest (#31966). Patch by... - Redmine

fixturesの指定が足りていないので足しています。

リビジョン 18409 - IssueCustomFieldTest randomly fails (#31967). Patch by Yuichi HARADA. - Redmine

たまに落ちるテストを直しています。 使われていないインスタンス変数が残っていたようですね。

リビジョン 18410 - Japanese translation change for "lost password" (#29142). Patch by Go MAEDA. - Redmine

パスワードをなくしたときに関連する訳を「再発行」から「再設定」に変更しています。

redmine-trunk-changes 2019-08-27

リビジョン 18398 - German translation update (#31256). Patch by Bernhard Rohloff. - Redmine

ドイツ語の訳が多数更新されています。

リビジョン 18399 - German translation update for 4.0-stable (#31951). Contributed by Bernhard R... - Redmine

ドイツ語の訳を4.0系にバックポートしてます。

リビジョン 18400 - Galician translation update (#31958). Patch by Guillermo ML. - Redmine

ガリシア語の訳を更新しています。

ガリシア語は、インド・ヨーロッパ語族イタリック語派の1言語。スペイン北西部ガリシア州ガリシア人を中心に使われている。ISO 639による言語コードは、2字がgl, 3字がglgで表される。 ja.wikipedia.org

リビジョン 18401 - Reject project custom field values not visible for the user (#31954, #31925).... - Redmine

ユーザーが見れないプロジェクトカスタムフィールドの値を編集できないようにしています。

リビジョン 18402 - Reject version custom field values not visible for the user (#31954, #23997).... - Redmine

ユーザーが見れないバージョンカスタムフィールドの値を編集できないようにしています。

リビジョン 18403 - Add CSS class to "journal" and "reply" headers (#31950). Patch by Mizuki ISH... - Redmine

こないだコメントの内容のh4にコメントの見出しと同じスタイルがあたってしまっていた問題のリファクタリングかな。 前の修正では子セレクタを使って修正していたのですが、今回はコメントの見出しにCSSのクラスをつけ、そのクラスがついてる見出しにのみスタイルを当てるようにしたようです。 よさそう。

リビジョン 18404 - Improve MailHandler logging for unauthorized attempts (#31899). Patch by Gus... - Redmine

メールハンドラーのエラーログより詳しく出すようにしたみたいですね。

リビジョン 18405 - CodeCleanup: RuboCop: Fix Style/RaiseArgs in app/models/mail_handler.rb - Redmine

例外を投げるときに自分でException#newしないようにしています。 https://rubocop.readthedocs.io/en/stable/cops_style/#styleraiseargs

redmine-trunk-changes 2019-08-26

リビジョン 18396 - Reject setting RFC non-compliant emission email addresses (#31154). Patch by... - Redmine

通知の送信元のメールアドレスの設定のバリデーションをユーザーのメールアドレスと同じバリデーションに寄せて、RFCに違反したメールアドレスを設定できないようにしています。 すでにRFCに沿ってないメアド設定していた人はどうなるんだろう?

リビジョン 18397 - Code cleanup: RuboCop: Fix Style/UnneededCondition in app/models/setting.rb - Redmine

不要な条件分岐を削除しています。 キャッシュする感じのコードに効いてくるんですね、なるほど。

https://rubocop.readthedocs.io/en/stable/cops_style/#styleunneededcondition

redmine-trunk-changes 2019-08-25

リビジョン 18388 - Fix hard-coded string "no subject" in app/models/mail_handler.rb (#5820). Pa... - Redmine

メール経由でチケットを作成する際メールの件名が空だとチケットのタイトルが使用している言語に関わらずno subjectという名前になっていたのですが、これを国際化しています。

つまり、redmine_message_customizeプラグインでカスタマイズ出来る...!!

リビジョン 18389 - Update locales (#5820). - Redmine

件名なしの国際化のためにlocaleを更新しています。

リビジョン 18390 - Russian translation for text_no_subject (#5820). Patch by Roland Discein. - Redmine

件名なしのロシア語の訳を追加しています。

リビジョン 18391 - Japanese translation for text_no_subject (#31945). Patch by Go MAEDA. - Redmine

件名なしの日本語の訳を追加しています。

リビジョン 18392 - Code cleanup: RuboCop: Fix Lint/UnneededRequireStatement in app/models/wiki_p... - Redmine

不要なrequireを削除しています。

リビジョン 18393 - RuboCop: Disable Layout/SpaceInsideBlockBraces - Redmine

ブロックでかこうさいに空白を入れるCopを無効にしてます https://rubocop.readthedocs.io/en/stable/cops_layout/#layoutspaceinsideblockbraces

リビジョン 18394 - Code cleanup: RuboCop: Fix Style/RedundantReturn in app/models/user.rb - Redmine

不要なreturnを消すためメソッドの最後で条件演算子を使って値を返すようにしています。

リビジョン 18395 - ThemesTest may fail if a third-party theme with a favicon is installed (#3194... - Redmine

サードパーティのテーマでfaviconを入れた状態だとテストが落ちていたので、落ちないように直しています。

テーマのファビコンを消したりテストで使うfaviconを末尾ではなく先頭に追加してるみたいですね。

redmine-trunk-changes 2019-08-25

リビジョン 18383 - Better handling of HTML tables when creating an issue from an email (#31231).... - Redmine

メール経由でチケットを作成する際にメールのHTMLのtableがいい感じになるようにしています。 見出しが太字になるようにしてそう。

リビジョン 18384 - Add tests for r18383 (#31231). Patch by Mizuki ISHIKAWA. - Redmine

tableの変換についてテストを追加しています。

リビジョン 18385 - Add different style for group names in the New member modal window (#6831). ... - Redmine

プロジェクトにメンバーを追加する際にグループの名前とユーザーの名前の区別が付きやすいようグループのアイコンが表示されるようにしています。

リビジョン 18386 - Per role visibility settings for version custom fields (#23997). Patch by Je... - Redmine

バージョンのカスタムフィールドにロールごとに見える・見えないを設定できるようになりました。

リビジョン 18387 - Add VersionsCustomFieldsVisibilityTest (#23997). Patch by Marius BALTEANU. - Redmine

カスタムフィールドの可視性についてテストを追加