Commit Graph

292 Commits

Author SHA1 Message Date
Go MAEDA
aca28e0716 Code cleanup: RuboCop: Layout/TrailingWhitespace
git-svn-id: http://svn.redmine.org/redmine/trunk@18300 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 14:21:20 +00:00
Jean-Philippe Lang
3ddab944d5 Increase maximum size for role name (#27625).
Patch by Aleksandar Pavic.

git-svn-id: http://svn.redmine.org/redmine/trunk@18296 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 13:59:16 +00:00
Jean-Philippe Lang
638dbbea95 Support external ID when importing issues (#28213).
Patch by Gregor Schmidt and Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18285 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 08:17:19 +00:00
Go MAEDA
d16e36028f Use Redmine::Database.mysql? instead of a regular expression (#31555).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@18256 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-13 07:50:48 +00:00
Go MAEDA
7ba7a19cf6 Remove trailing whitespaces from db/migrate (#31506).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18232 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-06 14:51:25 +00:00
Go MAEDA
3b55f65407 Remove frozen_string_literal magic comment from files which are not used when running the application or tests (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@17997 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-21 06:06:53 +00:00
Jean-Philippe Lang
84f322b2af Add a description for trackers (#442).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 10:38:56 +00:00
Jean-Philippe Lang
648a6408e7 Long text custom fields don't accept values longer than 64KB if backend database is MySQL (#29209).
git-svn-id: http://svn.redmine.org/redmine/trunk@17965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 09:45:19 +00:00
Go MAEDA
5861160ffc Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.


git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Jean-Philippe Lang
2fdbcd35dd Adds a permission to log time for another user (#3848).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-16 16:28:22 +00:00
Jean-Philippe Lang
7d7e44ba9c Failed to run “rake db:migrate" command against clean database on MySQL5.7 (#27283).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17515 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 14:43:09 +00:00
Jean-Philippe Lang
a9eaf563a5 Support self-signed LDAPS connections (#29606).
Patch by Gregor Schmidt.

git-svn-id: http://svn.redmine.org/redmine/trunk@17505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 13:28:36 +00:00
Jean-Philippe Lang
7dc4e35bc8 Sqlite3: change default value for booleans to 1 or 0 (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@17501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 09:48:50 +00:00
Jean-Philippe Lang
5ae629b3bb Sqlite3: Boolean values are now stored as 1 and 0 (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@17500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 08:48:29 +00:00
Toshi MARUYAMA
aa0db0c103 fix db migrate broken by r16889 (#26548)
Contributed by Pavel Rosický.

git-svn-id: http://svn.redmine.org/redmine/trunk@16893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-27 04:05:40 +00:00
Jean-Philippe Lang
b99c3caae8 Renames column comments.comments to comments.content to please Rails 5.1 (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@16860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-23 11:40:14 +00:00
Jean-Philippe Lang
d74f0bfd5c Merged rails-5.1 branch (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-23 11:26:04 +00:00
Jean-Philippe Lang
9b0fcdaf2b New permission: view news (#7068).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-07 20:25:25 +00:00
Jean-Philippe Lang
b674e80128 New Permission: View Forum (#4866).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-07 20:20:22 +00:00
Jean-Philippe Lang
2f77bfde91 Option to set a default assignee on each project (#482).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16525 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-08 08:02:06 +00:00
Jean-Philippe Lang
30f7be9c19 Changes the digest used for attachments to SHA256 (#25240).
Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16454 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 11:11:36 +00:00
Jean-Philippe Lang
69ba7667e1 Change extra_info to long text (#14626).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16446 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 05:32:48 +00:00
Jean-Philippe Lang
7fe4a76f4c Adds an index to attachments.disk_filename (#25022).
Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16352 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 19:51:19 +00:00
Jean-Philippe Lang
3d1f72bc50 Adds an index on issues parent_id (#23987).
git-svn-id: http://svn.redmine.org/redmine/trunk@16103 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-20 09:12:52 +00:00
Toshi MARUYAMA
28b20270b4 use symbol instead of string for 'position' in db migrate (#24013)
git-svn-id: http://svn.redmine.org/redmine/trunk@16009 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-28 06:21:11 +00:00
Jean-Philippe Lang
a373e304b3 Adds an index on issue_id to changesets_issues (#24433).
git-svn-id: http://svn.redmine.org/redmine/trunk@16007 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-26 09:51:32 +00:00
Jean-Philippe Lang
daf1342c04 Raises length of issue description and journals for MySQL (#20127).
git-svn-id: http://svn.redmine.org/redmine/trunk@15905 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-10 08:22:49 +00:00
Jean-Philippe Lang
ddf249d7b0 Speedup remove_inherited_roles (#22850).
Patch by Pavel Rosický.

git-svn-id: http://svn.redmine.org/redmine/trunk@15883 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-02 11:45:39 +00:00
Jean-Philippe Lang
973c9484b0 Add index to workflows.tracker_id (#23743).
git-svn-id: http://svn.redmine.org/redmine/trunk@15859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-01 12:23:01 +00:00
Jean-Philippe Lang
a78c724902 MySQL: You can't specify target table for update in FROM clause (#23347).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@15737 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-18 14:58:25 +00:00
Jean-Philippe Lang
9c698a7a1e Don't pass conditions to #destroy_all.
git-svn-id: http://svn.redmine.org/redmine/trunk@15676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 10:31:56 +00:00
Jean-Philippe Lang
57afa5345e Don't pass conditions to #delete_all.
git-svn-id: http://svn.redmine.org/redmine/trunk@15675 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 10:30:45 +00:00
Toshi MARUYAMA
3119ca041d add newline at end of db/migrate/20160529063352_add_roles_settings.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@15481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-06 10:14:01 +00:00
Jean-Philippe Lang
79df68e17f Limit trackers for new issue to certain roles (#7839).
git-svn-id: http://svn.redmine.org/redmine/trunk@15464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-05 10:06:17 +00:00
Jean-Philippe Lang
64afa24a7f Replaces acts_as_list with an implementation that handles #position= (#12909).
Objects are reordered using the regular attribute writer #position= and AR callbacks.

git-svn-id: http://svn.redmine.org/redmine/trunk@15335 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-17 06:57:20 +00:00
Jean-Philippe Lang
1013e77e16 Force password reset for default admin user (#22381).
Patch by Gregor Schmidt.

git-svn-id: http://svn.redmine.org/redmine/trunk@15321 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-11 19:07:36 +00:00
Jean-Philippe Lang
9178d4748f Default target version for new issues (#1828).
git-svn-id: http://svn.redmine.org/redmine/trunk@14786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-01 08:11:36 +00:00
Jean-Philippe Lang
2f51dc11cf Adds Enumeration custom field format (#21060).
Similar to List format but stores possible values as records.

git-svn-id: http://svn.redmine.org/redmine/trunk@14745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-25 08:32:47 +00:00
Jean-Philippe Lang
4cd22dcc55 Keep track of valid user sessions (#21058).
git-svn-id: http://svn.redmine.org/redmine/trunk@14735 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-24 10:15:22 +00:00
Jean-Philippe Lang
89b4c92444 Hide email by default for new users (#21042).
git-svn-id: http://svn.redmine.org/redmine/trunk@14726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-21 19:11:39 +00:00
Jean-Philippe Lang
f053c1a5af LDAP filter changed to text (#20929).
git-svn-id: http://svn.redmine.org/redmine/trunk@14725 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-21 19:00:20 +00:00
Jean-Philippe Lang
05106b45ad Raises maximum length of category name to 60 (#20991).
git-svn-id: http://svn.redmine.org/redmine/trunk@14724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-21 18:52:12 +00:00
Jean-Philippe Lang
3d46730ff0 Fix setting value if used (#20551).
git-svn-id: http://svn.redmine.org/redmine/trunk@14713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-20 18:30:23 +00:00
Jean-Philippe Lang
e3e0f5440d Extend Filesize in the attachments table for files with size > 2GB (#10672).
git-svn-id: http://svn.redmine.org/redmine/trunk@14709 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-20 16:36:28 +00:00
Jean-Philippe Lang
7b12145ed9 Raises wiki edits comments limit to 1024 (#19886).
git-svn-id: http://svn.redmine.org/redmine/trunk@14622 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-21 21:13:06 +00:00
Jean-Philippe Lang
5882629e26 Raises time entries comments limit to 1024 (#19885).
git-svn-id: http://svn.redmine.org/redmine/trunk@14621 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-21 21:00:06 +00:00
Jean-Philippe Lang
178a5e8e54 DEPRECATION WARNING: #timestamps was called without specifying an option for null (#905, #20533).
git-svn-id: http://svn.redmine.org/redmine/trunk@14505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-15 09:22:37 +00:00
Jean-Philippe Lang
035edd39c4 Import issues from CSV file (#950).
git-svn-id: http://svn.redmine.org/redmine/trunk@14493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-14 08:20:32 +00:00
Jean-Philippe Lang
2bc5b60f9d Makes new issue initial status settable in workflow (#5816).
git-svn-id: http://svn.redmine.org/redmine/trunk@14458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-26 08:30:19 +00:00
Jean-Philippe Lang
ed9f00178c Ability to limit member management to certain roles (#19707).
git-svn-id: http://svn.redmine.org/redmine/trunk@14293 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-05-31 07:16:23 +00:00