summaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
...
* Invalidate security tokens on password or email changes (#17717).Jean-Baptiste Barth2014-09-141-1/+13
| | | | | | | Contributed by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@13396 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Files assigned to a version can not be deleted if Issue Tracking ↵Jean-Philippe Lang2014-09-131-0/+4
| | | | | | | | module is disabled (#17163). Patch by Michael Esemplare. git-svn-id: http://svn.redmine.org/redmine/trunk@13390 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make 2nd parameter optional in User#allowed_to_globally? for consistency ↵Jean-Baptiste Barth2014-09-061-1/+5
| | | | | | (#6498). git-svn-id: http://svn.redmine.org/redmine/trunk@13364 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix syntax for ruby 1.8.7 (#13487).Jean-Baptiste Barth2014-08-311-7/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13362 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optimize committers/users map retrieval for statistic graphs (#13487).Jean-Baptiste Barth2014-08-311-9/+27
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13361 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Honnor committers/users mapping in repository statistics (#13487).Jean-Baptiste Barth2014-08-261-3/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13353 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Move some RepositoriesController logic to Repository#stats_by_author (#13487).Jean-Baptiste Barth2014-08-261-0/+23
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13351 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove unneeded setting self[left_column_name] and self[right_column_name] ↵Toshi MARUYAMA2014-08-231-2/+0
| | | | | | from Issue#update_nested_set_attributes_on_parent_change (#6579) git-svn-id: http://svn.redmine.org/redmine/trunk@13345 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add time entries custom fields to the context menu for quick bulk edit (#17484).Jean-Philippe Lang2014-07-291-0/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13335 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed an error when member's project is nil (#17486).Jean-Philippe Lang2014-07-291-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13334 e93f8b46-1217-0410-a6f0-8f06a7374b81
* WARNING: Can't mass-assign protected attributes: user_id, type.Jean-Philippe Lang2014-07-141-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13330 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that query roles are not copied when copying a project (#17202).Jean-Philippe Lang2014-07-141-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13329 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't prepend project name if the version is not shared.Jean-Philippe Lang2014-07-141-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13325 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove unneeded statement from Issue#parent_issue_id=Toshi MARUYAMA2014-07-131-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13303 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from app/models/user.rbToshi MARUYAMA2014-07-111-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13287 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-space from app/models/workflow_permission.rbToshi MARUYAMA2014-07-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13209 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use \A instead of ^ for RegExp (#16190)Toshi MARUYAMA2014-07-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13207 e93f8b46-1217-0410-a6f0-8f06a7374b81
* only ignore undesirable Auto-Submitted headers defined in RFC3834 (#16190)Toshi MARUYAMA2014-07-021-1/+1
| | | | | | Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@13206 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove redundant empty lines from app/models/auth_source_ldap.rbToshi MARUYAMA2014-05-251-4/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace tabs to spaces (#16795)Toshi MARUYAMA2014-05-241-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13142 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that Member#destroy triggers after_destroy callbacks twice (#16795).Jean-Philippe Lang2014-05-241-0/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13140 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Improve performance of Principal.member_of scopeJean-Baptiste Barth2014-05-191-1/+1
| | | | | | | | | The 'join' turns to be slow for large numbers of members (>20k). Using a sub-query like in Principal.not_member_of is more efficient and performance is the same for smaller values. git-svn-id: http://svn.redmine.org/redmine/trunk@13139 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix typo of app/models/repository/mercurial.rbToshi MARUYAMA2014-05-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13129 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix typo of app/models/repository/cvs.rbToshi MARUYAMA2014-05-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13128 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Repository identifiers can be reserved words (#16564).Jean-Philippe Lang2014-05-021-1/+1
| | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@13127 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mailer.token_for generates invalid message_id when using from address with ↵Jean-Philippe Lang2014-05-021-1/+1
| | | | | | full name (#16619). git-svn-id: http://svn.redmine.org/redmine/trunk@13126 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Field set as read-only still available in the issues list context menu (#16755).Jean-Philippe Lang2014-05-021-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13124 e93f8b46-1217-0410-a6f0-8f06a7374b81
* introduce request_store to ensure that the current user doesn't leak across ↵Toshi MARUYAMA2014-05-011-2/+2
| | | | | | | | request boundaries (#16685) Contributed by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@13110 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set default start date on issues created by email if ↵Jean-Philippe Lang2014-04-261-0/+1
| | | | | | default_issue_start_date_to_creation_date is set (#16655). git-svn-id: http://svn.redmine.org/redmine/trunk@13104 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace tabs to spaces at app/models/repository/cvs.rbToshi MARUYAMA2014-04-151-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13089 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace tabs to spaces at app/models/query.rbToshi MARUYAMA2014-04-151-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13088 e93f8b46-1217-0410-a6f0-8f06a7374b81
* mark deprecated Enumeration#overridding_change? which was changed in r13056Toshi MARUYAMA2014-04-081-0/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13086 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from Issue#count_and_group_by SQLToshi MARUYAMA2014-04-081-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13084 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from Issue#by_subproject SQLToshi MARUYAMA2014-04-081-5/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13083 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from app/models/issue.rbToshi MARUYAMA2014-04-081-9/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13082 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code format clean up Issue#update_versions_from_hierarchy_changeToshi MARUYAMA2014-04-081-1/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13081 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix typos of source comments at Query modelToshi MARUYAMA2014-04-071-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13076 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix typos of source comments at Project modelToshi MARUYAMA2014-04-071-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13075 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix typos of source comments at Member modelToshi MARUYAMA2014-04-071-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13074 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix typos of source comments at Issue modelToshi MARUYAMA2014-04-071-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13073 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix typos of source comments at Enumeration modelToshi MARUYAMA2014-04-071-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13072 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix typos of source comments at Version modelToshi MARUYAMA2014-04-071-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13062 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix typos of source comments at WikiContent modelToshi MARUYAMA2014-04-061-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13058 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix typos of source comments at Project modelToshi MARUYAMA2014-04-061-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13057 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix typo of Enumeration#overridding_change?Toshi MARUYAMA2014-04-062-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13056 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that Link custom fields are not displayed as links on the issue list ↵Jean-Philippe Lang2014-04-061-4/+19
| | | | | | (#16496). git-svn-id: http://svn.redmine.org/redmine/trunk@13054 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove users from cc if they are already notified (#16415).Jean-Philippe Lang2014-03-291-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13029 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove unneeded Relation#all from WorkflowTransition#count_by_tracker_and_roleToshi MARUYAMA2014-03-261-4/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13012 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix race condition of highest rgt at ↵Toshi MARUYAMA2014-03-261-2/+1
| | | | | | Issue#update_nested_set_attributes_on_parent_change (#6579) git-svn-id: http://svn.redmine.org/redmine/trunk@13011 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix always new lft and rgt are lft = 1, rgt = 2 (#6579)Toshi MARUYAMA2014-03-261-3/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13009 e93f8b46-1217-0410-a6f0-8f06a7374b81