Commit graph

7145 commits

Author SHA1 Message Date
Nacho Barrientos
3adecfa6f9 Add pie chart to represent progress KPI "Number of tasks by status".
WARNING: These changes require a patched version of Igalia's
jFreeChartEngine to work properly.

FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:48:58 +01:00
Nacho Barrientos
16978d0963 Add bar chart to represent progress KPI "Global progress of the project".
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:48:57 +01:00
Nacho Barrientos
e0e2a5ca08 Bring progress KPI "Global progress of the project" to DashboardModel.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:48:56 +01:00
Nacho Barrientos
51c1b75375 Add extra methods to calculate working days until date that consider limit dates more recent than the end date of the task.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:48:55 +01:00
Nacho Barrientos
4ecc8d27db Assign EfforDuration references again to the result of the sum as they are immutable.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:48:54 +01:00
Nacho Barrientos
eed5bfe2ea Add method to retrieve theoretical progress.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:48:53 +01:00
Nacho Barrientos
c80e174c5d Several changes to the UI: * Use bindings to link ZUL items to controller methods. * Add Model for DashboardController * Implement methods to bring data and calculate progress KPI "Task Status" * Fetch PlanningState to get updated planning status * Add dumb Label to the view to do preliminary tests.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:48:51 +01:00
Nacho Barrientos
edab490939 Add a new empty tab to the UI.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:48:08 +01:00
Nacho Barrientos
23d134ca22 Initialize Map before traversing task graph.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:48 +01:00
Nacho Barrientos
21f480e4f5 Enable recursion.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:47 +01:00
Nacho Barrientos
ef2b1d3572 Request only first-level children when traversing task graph.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:46 +01:00
Nacho Barrientos
c2fd5af3db Create a new Integer when incrementing status counts as wrappers are immutable.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:44 +01:00
Nacho Barrientos
3034a31a4b Fix test. Reset task status.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:43 +01:00
Nacho Barrientos
f30e2f0c5a Avoid using equals to compare if task progress is zero or one, use compareTo instead.
BigDecimal.ZERO and BigDecimal("0.0000") are not conceptually the same
thus equals returns false.

FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:42 +01:00
Nacho Barrientos
0658e9b290 Add visitor to reset task statuses.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:41 +01:00
Nacho Barrientos
8910ff9869 Cache task status (only if FINISHED or IN_PROGRESS) to avoid doing unnecessary calculations (especially in nodes if type TaskGroup).
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:39 +01:00
Nacho Barrientos
88e084fde1 Fix coding style. Add space in for/if statements.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:38 +01:00
Nacho Barrientos
8f756adeb9 Add description to two classes.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:37 +01:00
Nacho Barrientos
16a12b3b2e Rename class (Visitor -> TaskElementVisitor)
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:35 +01:00
Nacho Barrientos
a9642122eb Initialize Map before traversing task tree.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:34 +01:00
Manuel Rego Casasnovas
16afe6cf3a Merge branch 'master' into project-dashboards 2011-11-14 10:17:19 +01:00
Manuel Rego Casasnovas
305e49245a Fix some extra ":" in Sahi tests
FEA: ItEr75S04BugFixing
2011-11-11 14:13:16 +01:00
Manuel Rego Casasnovas
c2f07b8921 Update AUTHORS file 2011-11-11 11:09:20 +01:00
Manuel Rego Casasnovas
91019e660d [i18n] Fix small typo in Spanish translation 2011-11-11 10:02:31 +01:00
Manuel Rego Casasnovas
4bf34b868c [i18n] Mark string to be translated 2011-11-11 09:52:42 +01:00
Manuel Rego Casasnovas
64912d141a [i18n] Mark string to be translated 2011-11-11 09:45:35 +01:00
Manuel Rego Casasnovas
a8f8fe2db4 [i18n] Update Spanish and Galician translations due to last changes 2011-11-11 09:27:17 +01:00
Manuel Rego Casasnovas
3d2b539f7b [i18] Update keys.pot due to last issues fixed in past commit 2011-11-11 09:27:17 +01:00
Manuel Rego Casasnovas
c8251e894c [i18n] Fixing several issues in project strings 2011-11-11 09:27:10 +01:00
Manuel Rego Casasnovas
1f03516f5a [i18n] Updated Spanish and Galician translations 2011-11-10 21:28:23 +01:00
Manuel Rego Casasnovas
183fc9d00e [i18n] Update keys.pot files 2011-11-10 20:14:09 +01:00
Jacobo Aragunde Pérez
0f4e3e4ee2 [Bug #1141] Remove Task.reloadResourcesTextIfChange().
We think it's not necessary to reload the resources text when the start date of
a task is updated, and that's what was being done here.

This change caused a invalidate() on the ZK object of the task, which destroyed
the old object and replaced it with a new one. Because of that, the setter we
implemented to fix bug #1141 didn't work.

FEA: ItEr75S04BugFixing
2011-11-10 19:57:05 +01:00
Jacobo Aragunde Pérez
33aada4540 [Bug #1141] Added setter for left attribute of TaskComponent which updates the dependencies.
FEA: ItEr75S04BugFixing
2011-11-10 19:57:04 +01:00
Manuel Rego Casasnovas
5411f35444 [Bug #1250] Fix issue removing TaskSource of unscheduled element
The problem is that if TaskSource was not stored in database, it was not
removed from OrderElement.

FEA: ItEr75S04BugFixing
2011-11-10 18:22:10 +01:00
Manuel Rego Casasnovas
91b2fcbcd7 Add toString to OrderElement to make easier debug process 2011-11-10 17:39:21 +01:00
Manuel Rego Casasnovas
24fae5503d [Bug #1245] Fix issue when moving task to an un-direct descendant
FEA: ItEr75S04BugFixing
2011-11-10 12:13:15 +01:00
Javier Moran Rua
0c98cad7aa [Bug #1238] Fix concurrent modification exception
The fix consists of changing the persistence model of the Dependency entity.
So far, it was deleted in the database when orphan dependencies appear in the Hibernate session
being flushed. Now, the orphan dependencies are removed explicitely on saving the Planning state.
An orphan dependency in the database is the one which has origin or destination NULL.

FEA: ItEr75S04BugFixing
2011-11-10 11:55:20 +01:00
Manuel Rego Casasnovas
c2637e27e2 [Bug #1243] Labels of root task were not properly loaded
FEA: ItEr75S04BugFixing
2011-11-10 09:27:29 +01:00
Manuel Rego Casasnovas
436351fd19 Fix tests due to changes in 3bd402d5ba
The problem was related to the changes in
existsByNameAnotherTransaction, the query is done now only in findByName
and it was changed to use ignoreCase.

FEA: ItEr75S04BugFixing
2011-11-09 08:25:00 +01:00
Lorenzo Tilve Álvaro
5ca294b072 Reduced unnecesary vertical minimum height in orderElement advances
FEA: ItEr75S04BugFixing
2011-11-08 23:43:28 +01:00
Lorenzo Tilve Álvaro
4aaa264b14 Fixed horizontal scaling and other layout issues in WBS
FEA: ItEr75S04BugFixing
2011-11-08 23:43:28 +01:00
Lorenzo Tilve Álvaro
3545aba175 Moved draggable property from WBS rows to inner schedulling cell
This is done to avoid the issue that used to happen when accidentally moving WBS textboxes,
as a consequence of having the dragging property enabled in fields like the editable task names
or hours.

FEA: ItEr75S04BugFixing
2011-11-08 23:43:28 +01:00
Lorenzo Tilve Álvaro
2aca70ab1b Removed unused attribute
FEA: ItEr75S04BugFixing
2011-11-08 23:39:26 +01:00
Lorenzo Tilve Álvaro
760bb08a55 Applying days from start to deadline when selecting template
FEA: ItEr75S04BugFixing
2011-11-08 23:39:26 +01:00
Lorenzo Tilve Álvaro
3bd402d5ba Added validation when creating new project that the same name is not being used
FEA: ItEr75S04BugFixing
2011-11-08 23:39:26 +01:00
Lorenzo Tilve Álvaro
e602d39b80 Increased minimum number of columns to display in timetracker
On wide resolutions an empty space in the right was appearing on the planner.

FEA: ItEr75S04BugFixing
2011-11-08 23:39:26 +01:00
Lorenzo Tilve Álvaro
df22eb0062 Replaced obsolete separator between project name and project id
The proper formatting is "Project name (Project id)", instead of unclear
"Project id :: Project name".

FEA: ItEr75S04BugFixing
2011-11-08 23:39:26 +01:00
Lorenzo Tilve Álvaro
1b7f5a8fcd Removed specific button for creating projects from templates
FEA: ItEr75S04BugFixing
2011-11-08 23:39:26 +01:00
Lorenzo Tilve Álvaro
b875043d89 Moving code that enables global buttons out from the perspectives
FEA: ItEr75S04BugFixing
2011-11-08 23:39:26 +01:00
Lorenzo Tilve Álvaro
6f2204bcbe Merged creation of new projects from templates into main creation window
FEA: ItEr75S04BugFixing
2011-11-08 23:39:25 +01:00