Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI for tests for working with Redmine 4.x and 5.x #16

Draft
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

naopontan
Copy link

No description provided.

ogihara-ryo and others added 20 commits December 22, 2015 16:03
redmine_importer_from_zh 対応
* Add .circleci/config.yml

* Fix NoMethodError: undefined method `parent=' for #<User:0x00007ffafb7434b8>

* Fix ActiveRecord::RecordInvalid: Validation failed: Identifier cannot be blank, Identifier is too short (minimum is 1 characters)

* Support key value list

* .presence is not needed, fix test instead

* Load Journal class before monkey patching

* Fix NoMethodError: undefined method `before_filter' for ImporterController:Class

* Fix migration class

* Test against 4.0.4

* Remove attr_accessible

* Fix: DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated and will be removed in Rails 6.0.

* Fix delete_all

* include ActiveJob::TestHelper to fix ActiveJob::DeserializationError

* Fix controller test

* Update orb

* Remove unnecessary code

* Remove add_enumeration checkbox

* Do not send issue added notification when Send email notifications checkbox is unchecked

* If user is not found, set nil to issue.assigned_to

* If user is not found, set nil to user type custom field value

* Update test

* Clear Issue#assignet_to if is not assignable

* Update test/functional/importer_controller_test.rb

Co-Authored-By: fkdkent <[email protected]>

* ユーザーが存在するがユーザー型のカスタムフィールドの値として設定できないとき、エラーにせず空欄にする

Fix https://agileware.slack.com/archives/CF7CGT7FH/p1566441841001200?thread_ts=1566370267.014800&cid=CF7CGT7FH
…n error (#8)

* Reset primary key sequence in end of import to fix PG::UniqueViolation: ERROR

* Update app/controllers/importer_controller.rb
ガントチャートのチケット編集フォームなどからチケットを編集したとき、チケットに変更履歴が残るようにした
* Redmine4.1でcsvファイルがimportされないバグを修正

* Use ruby 2.6

* csvの仕様変更によりテストコードを修正

* CircleCIのバージョンアップとCSRF検証をスキップさせるコードを削除

* Parse csv_data as UTF-8

It is always UTF-8 because csv_data is converted by encode_csv_data.

* csv形式とフィいるフォーマットのエンコードが違っていても画面が転移できてしまう点を修正

* テストコードを修正

* 修正前のコードに戻す

Co-authored-by: Seiei Miyagi <[email protected]>
* test(ImporterController#result): add test case about issue relation

* test(ImporterController): refactor
* rubocop

* add status validations to imported issues
@naopontan naopontan force-pushed the ci_for_latest_version branch from 9f3b350 to 6202684 Compare January 16, 2023 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants