Commit graph

782 commits

Author SHA1 Message Date
Nacho Barrientos
22c7c4dd09 Drop unnecessary assert.
FEA: ItEr75S27PerProjectDashboard
2011-11-08 08:24:31 +01:00
Nacho Barrientos
d19d8f8bd7 Preliminary implementation of task status resolvers.
Also includes visitor implementations to navigate the task tree,
separating domain classes from complex business logic.

FEA: ItEr75S27PerProjectDashboard
2011-11-08 08:24:29 +01:00
Nacho Barrientos
d1ea2f4694 Change method visibility to call it from unit tests while mocking Dependency.
FEA: ItEr75S27PerProjectDashboard
2011-11-08 08:24:27 +01:00
Nacho Barrientos
8409f497d5 Add a helper method to test if an instance of SumChargedEffort is zero.
FEA: ItEr75S27PerProjectDashboard
2011-11-08 08:24:25 +01:00
Manuel Rego Casasnovas
3c3ba781a7 Default work report model has all attributes at line level
FEA: ItEr75S29DefaultData
2011-11-07 12:04:26 +01:00
Ignacio Diaz Teijido
bef3a8301b Added default data for WorkReportType
FEA: ItEr75S29DefaultData
2011-11-04 16:57:19 +01:00
Ignacio Diaz Teijido
90dfef1d6a Added default data for TypeOfWorkHours
FEA: ItEr75S29DefaultData
2011-11-04 16:57:19 +01:00
Ignacio Diaz Teijido
879ab03d59 Added default data for Labels
FEA: ItEr75S29DefaultData
2011-11-04 16:57:19 +01:00
Ignacio Diaz Teijido
ba4b21e22a Added predefined calendar exceptions
FEA: ItEr75S29DefaultData
2011-11-04 15:52:28 +01:00
Susana Montes Pedreira
c0a3ec1392 Improve ComunicationType enum and include the translate method.
FEA: ItEr75S28CustomerIncommingCommunicationsLists
2011-11-04 13:50:05 +01:00
Susana Montes Pedreira
7843c2789a Add the relationship from order entity with its customer comunications.
the relationship is used to delete all the comunications
if the associated order is removed.

FEA: ItEr75S28CustomerIncommingCommunicationsLists
2011-11-04 12:33:22 +01:00
Susana Montes Pedreira
b0340bf8a1 Create the entity CustomerComunication, the dao CustomerComunicationDAO,
the test CustomerComunicationDAOTest and add the changes of the database
in a new file db.changelog-1.2.xml

FEA: ItEr75S28CustomerIncommingCommunicationsLists
2011-11-04 12:15:04 +01:00
Ignacio Diaz Teijido
5cba5a71d0 Configured default data for Criteria
FEA: ItEr75S29DefaultData
2011-11-04 10:49:36 +01:00
Manuel Rego Casasnovas
b09834e144 Fix 2 style mini-issues
FEA: ItEr75S27PerProjectDashboard
2011-11-04 09:01:33 +01:00
Nacho Barrientos
c362b16691 Turn ResourceCalendar mock creator static to reuse it from another test.
FEA: ItEr75S27PerProjectDashboard
2011-11-04 08:54:46 +01:00
Nacho Barrientos
b9b7a482ee Fix copyright.
FEA: ItEr75S27PerProjectDashboard
2011-11-04 08:54:45 +01:00
Nacho Barrientos
df100622ae Refactor attribute names and getters.
FEA: ItEr75S27PerProjectDashboard
2011-11-04 08:54:43 +01:00
Nacho Barrientos
0b2fae686d Remove TODO.
FEA: ItEr75S27PerProjectDashboard
2011-11-04 08:54:39 +01:00
Nacho Barrientos
5c2be621fe Use EffortDuration to compute time instead of using raw hours.
FEA: ItEr75S27PerProjectDashboard
2011-11-04 08:54:38 +01:00
Nacho Barrientos
b1f2c89589 Add a method to return division result as BigDecimal.
FEA: ItEr75S27PerProjectDashboard
2011-11-04 08:54:36 +01:00
Nacho Barrientos
2b3fb8c573 Calculate total assigned hours instead of relaying on getSumOfHoursAllocated.
FEA: ItEr75S27PerProjectDashboard
2011-11-04 08:54:34 +01:00
Nacho Barrientos
abcf0d5e83 * Use the correct method to sum all allocated hours. * Prevent division by zero.
FEA: ItEr75S27PerProjectDashboard
2011-11-04 08:54:31 +01:00
Nacho Barrientos
6b5f10ebcb Implement indicator 3.3
FEA: ItEr75S27PerProjectDashboard
2011-11-04 08:54:30 +01:00
Nacho Barrientos
0aabcd8680 Use private method for dividing.
FEA: ItEr75S27PerProjectDashboard
2011-11-04 08:54:28 +01:00
Nacho Barrientos
4bb50efd5e Implement KPI 3.2 (Global progress of the project) and bring 3.1 to PlanningData.
FEA: ItEr75S27PerProjectDashboard
2011-11-04 08:54:26 +01:00
Nacho Barrientos
5a170c99a6 Implement business logic to calculate Global Progress Indicator number 3.1.
FEA: ItEr75S27PerProjectDashboard
2011-11-04 08:54:24 +01:00
Manuel Rego Casasnovas
df4a5a5179 Skipping some tests in ScenariosBootstrapTest failing in MySQL
FEA: ItEr75S04BugFixing
2011-10-28 19:17:10 +02:00
Manuel Rego Casasnovas
e8ef76ea59 Fix name of OnDay class inside ContiguousDaysLine 2011-10-28 18:34:40 +02:00
Manuel Rego Casasnovas
fdd864a35f Unskip tests in ScenariosBootstrapTest
FEA: ItEr75S04BugFixing
2011-10-28 11:39:59 +02:00
Manuel Rego Casasnovas
e4a49d8fed Rename column navalplan_user to libreplan_user in user_table
FEA: ItEr75S03CommunityMaterial
2011-10-28 09:14:20 +02:00
Manuel Rego Casasnovas
ddb2759132 Skipping some test due to rename to libreplan
This is a temporal solution till tests are not properly fixed.

FEA: ItEr75S03CommunityMaterial
2011-10-28 09:14:20 +02:00
Manuel Rego Casasnovas
2a7e571edc Rename NavalPlan to LibrePlan
* Change all folders and file names
* Change string in all files

FEA: ItEr75S03CommunityMaterial
2011-10-28 09:13:16 +02:00