summaryrefslogtreecommitdiffstats
path: root/db/migrate
Commit message (Collapse)AuthorAgeFilesLines
* Fix: Missing uniqueness constraint for projects.identifier in the database ↵Go MAEDA9 days1-0/+5
| | | | | | | | | (#41975). Patch by Hiroyuki Kano (user:hiropk). git-svn-id: https://svn.redmine.org/redmine/trunk@23407 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set builtin and new roles' user visibility to members_of_visible_projects ↵Marius Balteanu2024-11-031-0/+14
| | | | | | | | | | (#38853). Patch by Holger Just (user:hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@23198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Raises length of settings value for MySQL (#34218).Marius Balteanu2024-11-031-0/+12
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23196 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add a migration to update existing journals where `updated_by_id` points to ↵Go MAEDA2024-10-291-0/+18
| | | | | | a deleted user (#41572). git-svn-id: https://svn.redmine.org/redmine/trunk@23170 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix missing deletion of custom field attachments upon issue deletion (#38966).Go MAEDA2024-10-261-0/+11
| | | | | | | Patch by Takenori TAKAKI (user:takenory). git-svn-id: https://svn.redmine.org/redmine/trunk@23161 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Drop deprecated Redcarpet based Markdown formatter (#40149).Go MAEDA2024-10-201-0/+9
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23153 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/EmptyLinesAroundMethodBody, one of the offenses ↵Go MAEDA2024-08-122-3/+0
| | | | | | enabled in rubocop-rails-omakase (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22950 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/EmptyLinesAroundClassBody, one of the offenses ↵Go MAEDA2024-08-125-5/+0
| | | | | | enabled in rubocop-rails-omakase (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22949 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unsupported :after option from add_column in AddQueriesDescription ↵Go MAEDA2024-06-051-1/+1
| | | | | | migration (#9309). git-svn-id: https://svn.redmine.org/redmine/trunk@22859 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set migration version to 7.1 (#9309).Marius Balteanu2024-06-041-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22856 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds description field to custom queries (#9309).Marius Balteanu2024-06-041-0/+9
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22855 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change the default notification option from `only_my_events` to ↵Go MAEDA2023-12-112-3/+15
| | | | | | | | | `only_assigned` (#39500). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22512 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Revert r22504 that missing a necessary file (#39500).Go MAEDA2023-12-111-3/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22511 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change the default notification option from `only_my_events` to ↵Go MAEDA2023-12-081-3/+3
| | | | | | | | | `only_assigned` (#39500). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22504 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove useless method #run_in_request? from ↵Go MAEDA2023-12-051-2/+0
| | | | | | | | | db/migrate/20221214173537_add_select_project_publicity_permission.rb (#39777). Patch by Pavel Rosický. git-svn-id: https://svn.redmine.org/redmine/trunk@22495 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unused "mention_users" permission from the roles table (#37974).Go MAEDA2023-10-161-0/+12
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22347 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing files in r22289 (#2568).Go MAEDA2023-08-311-0/+9
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22290 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix the migration version of ↵Go MAEDA2023-01-251-1/+1
| | | | | | 20221214173537_add_select_project_publicity_permission.rb (#38048, #38210). git-svn-id: https://svn.redmine.org/redmine/trunk@22074 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Introduce permission to set a project public (#38048).Go MAEDA2023-01-121-0/+15
| | | | | | | Patch by Felix Schäfer. git-svn-id: https://svn.redmine.org/redmine/trunk@22038 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add an index to improve the performance of issue queries involving custom ↵Go MAEDA2022-11-101-0/+6
| | | | | | | | | fields (#29171). Contributed by Stephane Evr. git-svn-id: https://svn.redmine.org/redmine/trunk@21955 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Rails/WhereMissing (#37248).Go MAEDA2022-10-281-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21927 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make common_mark the default text formatting for new installations (#34863).Marius Balteanu2022-10-042-0/+12
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21897 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Delete orphaned query and role ids from habtm join table (#36844).Marius Balteanu2022-10-021-0/+14
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21893 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add default spent time activity per role (#29286).Go MAEDA2022-08-091-0/+5
| | | | | | | Patch by Marius BALTEANU and Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@21763 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mark edited journal notes as "Edited" (#31505).Go MAEDA2022-07-172-0/+19
| | | | | | | Patch by Marius BALTEANU. git-svn-id: https://svn.redmine.org/redmine/trunk@21713 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Database migration from Redmine 0.8.7 or earlier fails (#36766).Go MAEDA2022-03-181-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21461 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix to use a correct exception class ActiveRecord::IrreversibleMigration in ↵Go MAEDA2022-03-176-6/+6
| | | | | | migrations (#36770). git-svn-id: http://svn.redmine.org/redmine/trunk@21458 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix rubocop offense (#36416).Marius Balteanu2022-02-271-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21443 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add migration to delete orphaned time entry activities (#36416).Marius Balteanu2022-02-241-0/+9
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@21438 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Drop OpenID support (#35755).Go MAEDA2021-12-143-0/+28
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21312 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use ids instead of pluck(:id) (#32977).Marius Balteanu2021-09-061-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21208 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove references to deleted user from "user"-Format CustomFields when ↵Marius Balteanu2021-09-061-0/+12
| | | | | | | | destroying an user (#32977). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21207 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unused setting 'Blind carbon copy recipients (bcc)' (#30820).Marius Balteanu2021-08-011-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21130 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes unused column trackers.is_in_chlog (#31132).Marius Balteanu2021-07-281-0/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21106 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Default issue query (#7360).Go MAEDA2021-07-061-0/+9
| | | | | | | Patch by Katsuya HIDAKA (the author of https://github.com/hidakatsuya/redmine_default_custom_query), Takenori TAKAKI, Olivier Chabert, and Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21061 e93f8b46-1217-0410-a6f0-8f06a7374b81
* When 2FA is set to optional, allow to require 2FA only for certain user ↵Marius Balteanu2021-07-041-0/+5
| | | | | | | | groups (#31920). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21060 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace pluck().first with pick() (#32909).Go MAEDA2021-04-033-6/+6
| | | | | | | Patch by Pavel Rosický and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20907 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use match? instead of =~ when MatchData is not used (#34150).Go MAEDA2020-10-233-5/+5
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20168 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds two factor authentication support (#1237).Go MAEDA2020-08-292-0/+11
| | | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@19988 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix comment typo in db/migrate/20150208105930_replace_move_issues_permission.rbToshi MARUYAMA2019-10-231-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18844 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Rails/Presence in ↵Toshi MARUYAMA2019-09-241-1/+1
| | | | | | db/migrate/20110228000100_copy_repositories_log_encoding.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18519 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in ↵Toshi MARUYAMA2019-09-241-0/+1
| | | | | | db/migrate/20170302015225_change_attachments_digest_limit_to_64.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18515 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup: RuboCop: Layout/TrailingWhitespaceGo MAEDA2019-06-201-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18300 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Increase maximum size for role name (#27625).Jean-Philippe Lang2019-06-201-0/+9
| | | | | | Patch by Aleksandar Pavic. git-svn-id: http://svn.redmine.org/redmine/trunk@18296 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support external ID when importing issues (#28213).Jean-Philippe Lang2019-06-201-0/+8
| | | | | | Patch by Gregor Schmidt and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18285 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Redmine::Database.mysql? instead of a regular expression (#31555).Go MAEDA2019-06-137-7/+7
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18256 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove trailing whitespaces from db/migrate (#31506).Go MAEDA2019-06-066-6/+6
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18232 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove frozen_string_literal magic comment from files which are not used ↵Go MAEDA2019-03-21286-572/+0
| | | | | | when running the application or tests (#23630). git-svn-id: http://svn.redmine.org/redmine/trunk@17997 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add a description for trackers (#442).Jean-Philippe Lang2019-03-151-0/+5
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17970 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Long text custom fields don't accept values longer than 64KB if backend ↵Jean-Philippe Lang2019-03-151-0/+12
| | | | | | database is MySQL (#29209). git-svn-id: http://svn.redmine.org/redmine/trunk@17965 e93f8b46-1217-0410-a6f0-8f06a7374b81