Commit Graph

342 Commits

Author SHA1 Message Date
Marius Balteanu
2d3b3b939e Add OAuth2 provider capability using doorkeeper gem (#24808).
Patch by Jens Krämer (user:jkraemer).

git-svn-id: https://svn.redmine.org/redmine/trunk@23837 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-12 07:09:03 +00:00
Marius Balteanu
e56d84b632 Reverts r23835 due to wrong issue ID (#40856).
git-svn-id: https://svn.redmine.org/redmine/trunk@23836 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-12 07:05:01 +00:00
Marius Balteanu
ebdd1a40f4 Add OAuth2 provider capability using doorkeeper gem (#40856).
Patch by Jens Krämer (user:jkraemer).

git-svn-id: https://svn.redmine.org/redmine/trunk@23835 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-11 20:30:44 +00:00
Marius Balteanu
5a198c9057 Add missing migration for #40588 that keeps the @wiki_tablesort_enabled@ setting unchanged for existing installations.
git-svn-id: https://svn.redmine.org/redmine/trunk@23828 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-11 19:45:39 +00:00
Marius Balteanu
feb751843e Set default for "Javascript based table sorting in wiki content" to disabled for new installations (#40588).
git-svn-id: https://svn.redmine.org/redmine/trunk@23813 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-01 20:41:16 +00:00
Marius Balteanu
86f1676742 Reverts r23811 (#31531).
git-svn-id: https://svn.redmine.org/redmine/trunk@23812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-01 20:32:31 +00:00
Marius Balteanu
3d8002febf Change quote note icon to quotation marks (#31531).
Patch by Mizuki ISHIKAWA (user:ishikawa999) and Marius BALTEANU (user:marius.balteanu).

git-svn-id: https://svn.redmine.org/redmine/trunk@23811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-01 20:28:50 +00:00
Go MAEDA
403c10091f Introduce reactions feature (so-called "like button") to issues, notes, news, and forums (#42630).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-11 07:59:16 +00:00
Go MAEDA
331b955f47 Fix: Missing uniqueness constraint for projects.identifier in the database (#41975).
Patch by Hiroyuki Kano (user:hiropk).


git-svn-id: https://svn.redmine.org/redmine/trunk@23407 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-14 03:29:00 +00:00
Marius Balteanu
f6d2d09894 Set builtin and new roles' user visibility to members_of_visible_projects (#38853).
Patch by Holger Just (user:hjust).



git-svn-id: https://svn.redmine.org/redmine/trunk@23198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 18:48:58 +00:00
Marius Balteanu
5802c68ffe Raises length of settings value for MySQL (#34218).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23196 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 15:05:39 +00:00
Go MAEDA
9161be759a Add a migration to update existing journals where updated_by_id points to a deleted user (#41572).
git-svn-id: https://svn.redmine.org/redmine/trunk@23170 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-29 01:11:29 +00:00
Go MAEDA
55c7a3177f Fix missing deletion of custom field attachments upon issue deletion (#38966).
Patch by Takenori TAKAKI (user:takenory).


git-svn-id: https://svn.redmine.org/redmine/trunk@23161 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-26 02:14:09 +00:00
Go MAEDA
5407fea873 Drop deprecated Redcarpet based Markdown formatter (#40149).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-20 07:51:38 +00:00
Go MAEDA
74e2262efb Fix RuboCop offense Layout/EmptyLinesAroundMethodBody, one of the offenses enabled in rubocop-rails-omakase (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22950 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-12 07:46:58 +00:00
Go MAEDA
de76bb3a4a Fix RuboCop offense Layout/EmptyLinesAroundClassBody, one of the offenses enabled in rubocop-rails-omakase (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-12 07:42:12 +00:00
Go MAEDA
5159d31a8b Remove unsupported :after option from add_column in AddQueriesDescription migration (#9309).
git-svn-id: https://svn.redmine.org/redmine/trunk@22859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-05 07:55:45 +00:00
Marius Balteanu
7710d005f2 Set migration version to 7.1 (#9309).
git-svn-id: https://svn.redmine.org/redmine/trunk@22856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-04 20:05:26 +00:00
Marius Balteanu
38a8adb2a2 Adds description field to custom queries (#9309).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-04 20:04:45 +00:00
Go MAEDA
9935af7e01 Change the default notification option from only_my_events to only_assigned (#39500).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22512 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-11 09:20:06 +00:00
Go MAEDA
21423d4b7f Revert r22504 that missing a necessary file (#39500).
git-svn-id: https://svn.redmine.org/redmine/trunk@22511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-11 09:14:47 +00:00
Go MAEDA
9b2b30b887 Change the default notification option from only_my_events to only_assigned (#39500).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22504 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-08 08:29:17 +00:00
Go MAEDA
b150a8e9b2 Remove useless method #run_in_request? from 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
2023-12-05 00:44:30 +00:00
Go MAEDA
1dae2cc595 Remove unused "mention_users" permission from the roles table (#37974).
git-svn-id: https://svn.redmine.org/redmine/trunk@22347 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-16 14:26:00 +00:00
Go MAEDA
9315481cdf Add missing files in r22289 (#2568).
git-svn-id: https://svn.redmine.org/redmine/trunk@22290 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-31 23:30:11 +00:00
Go MAEDA
1a2674ad6b Fix the migration version of 20221214173537_add_select_project_publicity_permission.rb (#38048, #38210).
git-svn-id: https://svn.redmine.org/redmine/trunk@22074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-25 01:57:13 +00:00
Go MAEDA
eb8916bc87 Introduce permission to set a project public (#38048).
Patch by Felix Schäfer.


git-svn-id: https://svn.redmine.org/redmine/trunk@22038 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-12 02:59:54 +00:00
Go MAEDA
09f6fcd49c Add an index to improve the performance of issue queries involving custom fields (#29171).
Contributed by Stephane Evr.


git-svn-id: https://svn.redmine.org/redmine/trunk@21955 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-10 23:49:02 +00:00
Go MAEDA
6a55e94cd2 Fix RuboCop offense Rails/WhereMissing (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@21927 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-28 00:47:56 +00:00
Marius Balteanu
9fc669a888 Make common_mark the default text formatting for new installations (#34863).
git-svn-id: https://svn.redmine.org/redmine/trunk@21897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-04 19:19:15 +00:00
Marius Balteanu
0ab2bb8647 Delete orphaned query and role ids from habtm join table (#36844).
git-svn-id: https://svn.redmine.org/redmine/trunk@21893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-02 20:39:06 +00:00
Go MAEDA
38f7a06405 Add default spent time activity per role (#29286).
Patch by Marius BALTEANU and Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21763 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-09 02:50:11 +00:00
Go MAEDA
f52b3f90eb Mark edited journal notes as "Edited" (#31505).
Patch by Marius BALTEANU.


git-svn-id: https://svn.redmine.org/redmine/trunk@21713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-17 04:40:01 +00:00
Go MAEDA
fb74b90fef Database migration from Redmine 0.8.7 or earlier fails (#36766).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21461 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-18 02:07:14 +00:00
Go MAEDA
9462fb4e2c Fix to use a correct exception class ActiveRecord::IrreversibleMigration in migrations (#36770).
git-svn-id: http://svn.redmine.org/redmine/trunk@21458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-17 08:25:23 +00:00
Marius Balteanu
cf016c5417 Fix rubocop offense (#36416).
git-svn-id: http://svn.redmine.org/redmine/trunk@21443 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-27 14:06:01 +00:00
Marius Balteanu
3627a29fa6 Add migration to delete orphaned time entry activities (#36416).
Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@21438 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-24 19:55:42 +00:00
Go MAEDA
9955844da1 Drop OpenID support (#35755).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21312 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-14 00:09:53 +00:00
Marius Balteanu
55ce8de0ae Use ids instead of pluck(:id) (#32977).
git-svn-id: http://svn.redmine.org/redmine/trunk@21208 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-06 18:33:14 +00:00
Marius Balteanu
4378b7e1b4 Remove references to deleted user from "user"-Format CustomFields when destroying an user (#32977).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21207 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-06 18:30:04 +00:00
Marius Balteanu
805b36cbfb Remove unused setting 'Blind carbon copy recipients (bcc)' (#30820).
git-svn-id: http://svn.redmine.org/redmine/trunk@21130 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-01 17:25:13 +00:00
Marius Balteanu
2be231b982 Removes unused column trackers.is_in_chlog (#31132).
git-svn-id: http://svn.redmine.org/redmine/trunk@21106 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-28 16:26:22 +00:00
Go MAEDA
7f965286ed Default issue query (#7360).
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
2021-07-06 06:01:50 +00:00
Marius Balteanu
1b0bf28803 When 2FA is set to optional, allow to require 2FA only for certain user groups (#31920).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-04 13:06:47 +00:00
Go MAEDA
74a6ff0230 Replace pluck().first with pick() (#32909).
Patch by Pavel Rosický and Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-03 01:34:45 +00:00
Go MAEDA
fdba424d77 Use match? instead of =~ when MatchData is not used (#34150).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-23 00:13:38 +00:00
Go MAEDA
560bca344a Adds two factor authentication support (#1237).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@19988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-29 06:21:50 +00:00
Toshi MARUYAMA
d6a5f8ff1f fix comment typo in db/migrate/20150208105930_replace_move_issues_permission.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18844 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-23 04:39:38 +00:00
Toshi MARUYAMA
e83313240f code cleanup: rubocop: fix Rails/Presence in db/migrate/20110228000100_copy_repositories_log_encoding.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-24 15:41:50 +00:00
Toshi MARUYAMA
bb5706e2f9 code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in 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
2019-09-24 05:21:20 +00:00