Menu

Source Commit Log


Commit Date  
[r2950] by edavis10

When a specific TimeEntryActivity are change, associated TimeEntries will be
re-assigned to the correct record.

* Renamed build to create since the methods now create objects.
* Removed call to Project#save that isn't needed since objects are saved directly now.
* Wrapped the activity creation and updates in a SQL transaction so TimeEntries
will remain in a consistent state if there is an error.
* When a Project's TimeEntryActivities are destroyed, they are now
reassigned to the parent TimeEntryActivity.

#4077

2009-10-21 22:34:52 Tree
[r2949] by edavis10

Added a Activities tab to Project Settings

* 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

2009-10-21 22:34:45 Tree
[r2948] by edavis10

Changed the Timelogs to use both the Systemwide and Project specific TimeEntryActivities

* Added Project#activities to return all the Systemwide and Project specific
activities, excluding Systemwide ones that are overridden.
* Added some tests for TimelogHelper.

#4077

2009-10-21 22:34:39 Tree
[r2947] by edavis10

Added project specific Enumeration overrides.

These will be used to track if Enumeration's custom data or active state
is overridden on a project. An overridden Enumeration is one that is associated
with a parent Enumeration.

#4077

2009-10-21 22:34:34 Tree
[r2946] by edavis10

Added an active field track if an Enumeration is active on the frontend view.

* Changed TimelogHelper#activity_collection_for_select_options to only use
active TimeEntryActivities.
* Changed TimelogHelper#activity_collection_for_select_options to return a blank
option if the time_entry's current activity is inactive.

#4077

2009-10-21 22:34:28 Tree
[r2945] by edavis10

Enumerations can now have custom fields defined on them. #4077

2009-10-21 22:34:22 Tree
[r2944] by edavis10

Updated the unit test so Enumerations are tested separately from the subclasses.

2009-10-21 22:34:17 Tree
[r2943] by jplang

Contextual quick search (#3263).
Eg. when viewing issues, the quick search will search issues only.

2009-10-21 17:07:18 Tree
[r2942] by edavis10

Change the order of checkboxes for boolean custom fields.

Broken in r2887 for the Rails 2.3.4 upgrade.

2009-10-21 03:31:20 Tree
[r2941] by edavis10

Renamed Project#public named_scope so it will not override Ruby's public method

#4056

2009-10-21 03:21:31 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.