mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-06 09:03:25 +00:00
* Changed Project#activities to allow getting inactive Activities also:
* Changed the Enumeration#all named_scope to exclude project specific Activities
* Changed the Project has_many time_entry_activities to include all by default
and provided an #active method to filter them to active ones only
* Split Project#activities to two methods and gave it a parameter that is used
to determine if inactive activities are included (default is no)
* Added a reset button to delete all project specific activities.
* Added ProjectsController#reset_activities to remove the project
specific activities
* Added a HTTP DELETE route for reset_activities
* Changed the permissions for managing project activities to have access to the
ProjectsController#reset_activities action
* Added a way to bulk save Project specific Activities in ProjectsController
* #save_activities will save all the changed activities, including update the
existing records
* Added helper methods to the controller which will be refactored later
* Allow the same TimeEntryActivity names on different projects
#4077
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2949 e93f8b46-1217-0410-a6f0-8f06a7374b81
98 lines
1.8 KiB
YAML
98 lines
1.8 KiB
YAML
---
|
|
custom_values_006:
|
|
customized_type: Issue
|
|
custom_field_id: 2
|
|
customized_id: 3
|
|
id: 6
|
|
value: "125"
|
|
custom_values_007:
|
|
customized_type: Project
|
|
custom_field_id: 3
|
|
customized_id: 1
|
|
id: 7
|
|
value: Stable
|
|
custom_values_001:
|
|
customized_type: Principal
|
|
custom_field_id: 4
|
|
customized_id: 3
|
|
id: 1
|
|
value: ""
|
|
custom_values_002:
|
|
customized_type: Principal
|
|
custom_field_id: 4
|
|
customized_id: 4
|
|
id: 2
|
|
value: 01 23 45 67 89
|
|
custom_values_003:
|
|
customized_type: Principal
|
|
custom_field_id: 4
|
|
customized_id: 2
|
|
id: 3
|
|
value: ""
|
|
custom_values_004:
|
|
customized_type: Issue
|
|
custom_field_id: 2
|
|
customized_id: 1
|
|
id: 4
|
|
value: "125"
|
|
custom_values_005:
|
|
customized_type: Issue
|
|
custom_field_id: 2
|
|
customized_id: 2
|
|
id: 5
|
|
value: ""
|
|
custom_values_008:
|
|
customized_type: Issue
|
|
custom_field_id: 1
|
|
customized_id: 3
|
|
id: 8
|
|
value: "MySQL"
|
|
custom_values_009:
|
|
customized_type: Issue
|
|
custom_field_id: 2
|
|
customized_id: 3
|
|
id: 9
|
|
value: "this is a stringforcustomfield search"
|
|
custom_values_010:
|
|
customized_type: Issue
|
|
custom_field_id: 6
|
|
customized_id: 1
|
|
id: 10
|
|
value: "2.1"
|
|
custom_values_011:
|
|
customized_type: Issue
|
|
custom_field_id: 6
|
|
customized_id: 2
|
|
id: 11
|
|
value: "2.05"
|
|
custom_values_012:
|
|
customized_type: Issue
|
|
custom_field_id: 6
|
|
customized_id: 3
|
|
id: 12
|
|
value: "11.65"
|
|
custom_values_013:
|
|
customized_type: Issue
|
|
custom_field_id: 6
|
|
customized_id: 7
|
|
id: 13
|
|
value: ""
|
|
custom_values_014:
|
|
customized_type: Issue
|
|
custom_field_id: 6
|
|
customized_id: 5
|
|
id: 14
|
|
value: "-7.6"
|
|
custom_values_015:
|
|
customized_type: TimeEntryActivity
|
|
custom_field_id: 7
|
|
customized_id: 10
|
|
id: 15
|
|
value: true
|
|
custom_values_016:
|
|
customized_type: Enumeration
|
|
custom_field_id: 7
|
|
customized_id: 11
|
|
id: 16
|
|
value: true
|