1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-23 08:51:13 +00:00

2146 Commits

Author SHA1 Message Date
Marius Balteanu
649d69ea26 Fix that deleting a closed or archived projects not working anymore after r20034 (#35827).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@21210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-06 19:11:59 +00:00
Marius Balteanu
1e65114d68 Return 404 when filtering by a non-visible user in activity view (#35789).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@21209 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-09-06 18:40:14 +00:00
Go MAEDA
ee64cb5cb1 Remove unused argument from Redmine::Helpers::TimeReport (#33079).
Patch by Kevin Fischer.


git-svn-id: http://svn.redmine.org/redmine/trunk@21196 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-19 13:13:26 +00:00
Go MAEDA
c46e55e496 File upload fails when run with uWSGI (#35715).
Contributed by Pavel Rosický and Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@21173 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-14 01:38:26 +00:00
Marius Balteanu
3bae6bfac3 Fixed create duplicate follow relation fails with 500 internal error (#35655).
git-svn-id: http://svn.redmine.org/redmine/trunk@21150 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-10 19:35:53 +00:00
Marius Balteanu
16b8d3c0be Fix typo (#33521).
git-svn-id: http://svn.redmine.org/redmine/trunk@21140 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-05 23:46:17 +00:00
Marius Balteanu
7e2f3352db Fix that updating an issue from context menu to a none value do not set the field to blank (#33521).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@21139 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-05 23:41:01 +00:00
Go MAEDA
a6a8ef728c Show warning in admin/info when there are pending migrations (#35562).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21110 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-30 03:51:19 +00:00
Marius Balteanu
05452a7b9a Set :wiki menu_item for WikisController#destroy (#35610).
This action is executed inside the project wiki scope after r16916,
thus we can better set the menu_item accordingly.

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@21088 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-26 21:28:36 +00:00
Marius Balteanu
ad9526ed27 Redirect_to project_path after WikisController#destroy (#35610).
* Project settings 'wiki' tab is removed by r16917 & r17017.
* This action is executed outside the project settings scope after r16916,
  thus we can better redirect to project_path.

Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@21087 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-26 21:27:23 +00:00
Go MAEDA
482656fb2c Allow non-admin users to see group members (#12795).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21072 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-19 14:42:26 +00:00
Go MAEDA
8f0d358533 User sessions not reset after 2FA activation (#35417).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@21069 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-15 01:44:05 +00:00
Go MAEDA
5fa84c0b4e API to close/reopen projects (#35507).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21066 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-09 02:42:47 +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
Go MAEDA
6d3d2b3adb Reduce amount of work on projects show API (#35374).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@21056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-07-01 01:42:42 +00:00
Go MAEDA
2030323096 Preload principal and roles in members#index (#35324).
Patch by Thomas Löber.


git-svn-id: http://svn.redmine.org/redmine/trunk@21052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-06-27 07:42:41 +00:00
Go MAEDA
e2c08c7b36 Add total estimated hours, spent hours, total spent hours for issues to issue list API (#34857).
Patch by Felix Schäfer and Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@21051 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-06-27 07:18:58 +00:00
Go MAEDA
890dc20ad7 API to archive/unarchive projects (#35420).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@21044 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-06-24 13:55:06 +00:00
Go MAEDA
685bfdd8ff Reject CSV file without data row when importing (#35137).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21041 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-06-20 13:25:10 +00:00
Go MAEDA
66fc9f463d Gracefully handle invalid query parameters for custom fields (#35312).
Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@21012 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-28 03:58:01 +00:00
Go MAEDA
099b160d11 Add SameSite=Lax to cookies to fix warnings in web browsers (#35226).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21009 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-27 08:31:15 +00:00
Go MAEDA
a8a87ef47e Security notification is not sent when an admin changes the password of a user (#32199).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21006 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-24 06:28:23 +00:00
Go MAEDA
6369d139dd Uploading a big file fails with NoMemoryError (#33752).
Patch by Karel Pičman and Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@20993 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-11 05:35:19 +00:00
Go MAEDA
1cf427ee63 Stricter validation of given revisions of repositories (#35085).
Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@20962 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-23 00:46:45 +00:00
Go MAEDA
9055e5dfe5 Include new statuses allowed by workflow in Issues REST API (#24976).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20951 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-19 09:04:24 +00:00
Go MAEDA
f9e937f85a Users without two-factor authentication enabled cannot sign out when two-factor authentication is required (#35087).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-16 02:27:18 +00:00
Go MAEDA
f2b17f7794 Clean-up workflows controller (#33337).
Patch by Vincent Robert and Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20941 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-13 09:01:44 +00:00
Go MAEDA
5b95f064e0 Fix undefined method 'split' when issue_to_id is numeric (#35039).
Patch by  Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20932 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-12 09:20:02 +00:00
Go MAEDA
2c773d6393 Atom feed of the activity page does not contain items after the second page (#34933).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20931 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-12 09:10:41 +00:00
Go MAEDA
ec989a5420 Fix "DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: common/error_messages.api" (#29914, #34984).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@20897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 15:36:57 +00:00
Go MAEDA
a7b96ae2ab Reverts r20895 (#29914, #34985).
Wrong issue number.


git-svn-id: http://svn.redmine.org/redmine/trunk@20896 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 15:34:21 +00:00
Go MAEDA
d67eeabd53 Fix "DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated: common/error_messages.api" (#29914, #34985).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@20895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 15:27:33 +00:00
Go MAEDA
e74cc0b923 Fix detach attachments when a conflict occurs (#29914, #32923).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@20894 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 15:25:40 +00:00
Go MAEDA
094628e694 Remove #filename_for_content_disposition for MS browsers (#29914, #32914).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@20892 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 15:19:16 +00:00
Go MAEDA
770a31a78e Use secure_compare to validate keys (#34950).
Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@20854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-26 05:08:03 +00:00
Go MAEDA
a4ee2963fb Associated Revision API (#22008).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20852 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-26 04:37:14 +00:00
Go MAEDA
3e36b5c452 Update copyright year in source files to 2021 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Go MAEDA
4c2e42e1c3 "Add news" button in cross-project News tab (#33167).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20845 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 05:16:54 +00:00
Go MAEDA
9783ba003d Fix hard-coded error messages in ApplicationController (#33232).
Contributed by Kam Nazir.


git-svn-id: http://svn.redmine.org/redmine/trunk@20843 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 04:39:18 +00:00
Go MAEDA
5063d3faf0 Fix that users can delete their own accounts unconditionally via REST API (#11870).
Patch by Mizuki ISHIKAWA and Kevin Fischer.


git-svn-id: http://svn.redmine.org/redmine/trunk@20782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-13 07:20:57 +00:00
Go MAEDA
cf7a401b89 Export permissions report to CSV (#13767).
Patch by David Escala and Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20778 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-12 05:29:50 +00:00
Go MAEDA
4dfa6fc724 Allow manually fetching changesets (#8875).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20772 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-11 07:00:09 +00:00
Go MAEDA
e2ed50f971 Fix RuboCop offense Style/BlockDelimiters due to r20755 (#33820).
git-svn-id: http://svn.redmine.org/redmine/trunk@20757 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-02-27 08:15:08 +00:00
Go MAEDA
72d622dc9f Display more detailed error message when attempting to import malformed CSV file (#34762).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20756 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-02-27 07:46:35 +00:00
Go MAEDA
2f3222e0bd Auto complete wiki page links (#33820).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-02-25 04:07:37 +00:00
Go MAEDA
cbac878ee4 Ignore from search module params sent with empty values (#34615).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-02-06 05:03:23 +00:00
Go MAEDA
75b6cacb5d Fix redirect loop when both enabling two-factor authentication and changing password are required (#1237, #34618).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-02-02 07:15:08 +00:00
Go MAEDA
0f4228d4e6 Do not propose watchers that are not allowed to see the object (#33329).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-01-24 05:31:18 +00:00
Go MAEDA
972f00eb47 Create custom field by copy (#34307).
Patch by Takenori TAKAKI.


git-svn-id: http://svn.redmine.org/redmine/trunk@20692 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-26 01:36:19 +00:00
Go MAEDA
30e80d82ce Bulk addition of related issues (#33418).
Patch by Dmitry Makurin and Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-25 02:25:41 +00:00