Commit graph

8090 commits

Author SHA1 Message Date
Diego Pino
24f926b6cc Moved constants to inner class as they were only being used inside that class
FEA: ItEr76S15OrganizingPerProjectDashboard
2012-05-09 23:46:04 +02:00
Diego Pino
dc4da28f90 Refactor code
Moved code for calculating resource load values related with an Order to
new class: OrderResourceLoadCalculator

FEA: ItEr76S15OrganizingPerProjectDashboard
2012-05-09 23:46:04 +02:00
Manuel Rego Casasnovas
27baee6450 Fix problem with MySQL and description TEXT field in expense_sheet
The problem is that the type has to be specified in the hbm.xml and also an
issue with Hibernate and the field type.

FEA: ItEr76S04BugFixing
2012-05-09 17:12:12 +02:00
Manuel Rego Casasnovas
8b74637777 Update Liquibase to 2.0.5
FEA: ItEr76S04BugFixing
2012-05-09 16:57:50 +02:00
Manuel Rego Casasnovas
acb938db6b Fix issues with MySQL in some Liquibase changes
* renameColumn needs columnDataType to be defined in MySQL

FEA: ItEr76S04BugFixing
2012-05-09 16:53:55 +02:00
Jacobo Aragunde Pérez
54b2363c9b Bug #1284: Added favicon in all the screens.
FEA: ItEr76S04BugFixing
2012-05-09 16:37:27 +02:00
Manuel Rego Casasnovas
da64d3bd26 Replace "Login name" for "Username"
FEA: ItEr76S27ResourceBinding
2012-05-09 13:36:48 +02:00
Manuel Rego Casasnovas
cc92ce809d Add option to unbound resource from user edition
FEA: ItEr76S27ResourceBinding
2012-05-09 13:02:21 +02:00
Manuel Rego Casasnovas
9d7b1754b4 Add warning about bound resource when removing a user
The resource will be unbound if the user confirm the removal.

FEA: ItEr76S27ResourceBinding
2012-05-09 13:01:55 +02:00
Manuel Rego Casasnovas
a751b266b4 Add link from user edition to worker edition if the user is bound to any worker
Using entry points to do the redirection.

FEA: ItEr76S27ResourceBinding
2012-05-09 13:01:55 +02:00
Manuel Rego Casasnovas
cfb85fe2b1 Add info about bound resource in user edition
FEA: ItEr76S27ResourceBinding
2012-05-09 13:01:54 +02:00
Manuel Rego Casasnovas
c775cd952b Add bound resource info in the users list
FEA: ItEr76S27ResourceBinding
2012-05-09 13:01:54 +02:00
Manuel Rego Casasnovas
42baf46926 Refactor users list to use a RowRenderer
Add several methods in Util class to make easier renderers implementation.

FEA: ItEr76S27ResourceBinding
2012-05-09 13:01:54 +02:00
Manuel Rego Casasnovas
521aa36bfc Disable first and last name in user edition if user is bound to any resource
FEA: ItEr76S27ResourceBinding
2012-05-09 13:01:54 +02:00
Manuel Rego Casasnovas
88920249ec Add option to remove bound user too when removing a resource
If the bound user is not an administrator, a question is asked to the user to
decide if he wants to remove or not the bound user.

FEA: ItEr76S27ResourceBinding
2012-05-09 13:01:54 +02:00
Manuel Rego Casasnovas
dd501faba8 Move logic to remove order authorizations when removing a user to UserDAO
* Create a new method UserDao.remove(User user) that is in charge of remove
  OrderAuthorizations and the User too
* Use this method from UserModel

FEA: ItEr76S27ResourceBinding
2012-05-09 13:01:54 +02:00
Manuel Rego Casasnovas
c607ba4584 Add link from worker edition to user edition if the worker is bound to a user
Using entry points to do the redirection.

FEA: ItEr76S27ResourceBinding
2012-05-09 13:01:54 +02:00
Manuel Rego Casasnovas
372f4d1650 Change user Listbox for a BandboxSearch
* Create finder UserBandboxFinder
* Modify BandboxSearch behavior to call save action on "selectedElement"
  attribute

FEA: ItEr76S27ResourceBinding
2012-05-09 12:51:11 +02:00
Manuel Rego Casasnovas
81bc21f791 Modify worker edition UI to add the chance to bound a worker to a user
FEA: ItEr76S27ResourceBinding
2012-05-09 12:51:11 +02:00
Manuel Rego Casasnovas
8706e7b421 Add assert to check that a limiting or virtual resource is not bound to any user 2012-05-09 12:51:11 +02:00
Manuel Rego Casasnovas
11b11a485d Add assert to check that a worker is not bound to a user already bound with other worker
FEA: ItEr76S27ResourceBinding
2012-05-09 12:51:11 +02:00
Manuel Rego Casasnovas
9a011d35e9 Create basic UI to bound a user to a worker
FEA: ItEr76S27ResourceBinding
2012-05-09 12:51:11 +02:00
Manuel Rego Casasnovas
24bb2f50e2 Add relationship between and Worker and User
FEA: ItEr76S27ResourceBinding
2012-05-09 12:51:11 +02:00
Susana Montes Pedreira
00378d039a Merge branch 'master' into expenses-tracking 2012-05-09 10:51:43 +01:00
Susana Montes Pedreira
a5fe79f498 Merge branch 'master' into subcontracting 2012-05-09 10:41:33 +01:00
Diego Pino
c57e4037b8 Fix bug
When there are no deviations in 'Estimation Accuracy' chart because
there are not tasks, return an empty array with 6 values equal to 0

FEA: ItEr76S15OrganizingPerProjectDashboard
2012-05-08 23:23:22 +02:00
Diego Pino
1db0e63bc6 Fix typo in method name
FEA: ItEr76S15OrganizingPerProjectDashboard
2012-05-08 23:20:58 +02:00
Diego Pino
5422bd1a33 Fix bug
When there are no deviations in 'Task Completion Chart' because there are
not tasks, return an empty array with 6 values equal to 0

FEA: ItEr76S15OrganizingPerProjectDashboard
2012-05-08 23:20:04 +02:00
Diego Pino
a2470de890 Fix bug, don't try to render Dashboard charts if the project doesn't have tasks
FEA: ItEr76S15OrganizingPerProjectDashboard
2012-05-08 22:49:16 +02:00
Susana Montes Pedreira
02ec7f527e fixes the method addCurrencySymbol to return zero if
the parameter is null

FEA: ItEr76S04BugFixing
2012-05-08 20:25:37 +01:00
Susana Montes Pedreira
a7e2850045 adds the currency symbol and set the right parameter to method
reloadTotalBudget in the order edition view.

FEA: ItEr76S04BugFixing
2012-05-08 20:18:27 +01:00
Susana Montes Pedreira
7364bb000d Merge branch 'master' into subcontracting 2012-05-08 18:16:09 +01:00
Jacobo Aragunde Pérez
03d8e6cc36 i18n: Fix small typo in Spanish and Galician translations. 2012-05-08 12:46:54 +02:00
Jacobo Aragunde Pérez
74cb0b8694 Bug #1284: Added favicon.
FEA: ItEr76S04BugFixing
2012-05-08 12:46:54 +02:00
Jacobo Aragunde Pérez
40e97fdc3a Bug #1284: Fix NullPointerException.
FEA: ItEr76S04BugFixing
2012-05-08 12:46:54 +02:00
Lorenzo Tilve Álvaro
5458a0058a Bug #1414: Reduced width of MultipleBandbox filter search
FEA: ItEr76S04BugFixing
2012-05-08 11:45:59 +02:00
Lorenzo Tilve Álvaro
fa0ea4e30a Bug #1421: Fixed the pagination bug when indenting nodes into containers on previous pages
FEA: ItEr76S04BugFixing
2012-05-08 11:45:59 +02:00
Diego Pino
2e1a1fcbf1 Remove 'Overall progress' tab
FEA: ItEr76S15OrganizingPerProjectDashboard
2012-05-08 11:38:41 +02:00
Susana Montes Pedreira
fc29bfeae4 adds some tests to check that the expenses calculation works properly.
FEA: ItEr76S24AdapatingProjectsToExpenses
2012-05-08 10:37:10 +01:00
Susana Montes Pedreira
91e4454517 changes the method getCostOfHours to getHoursMoneyCost
in order to fix the Test.

FEA: ItEr76S24AdapatingProjectsToExpenses
2012-05-08 09:08:15 +01:00
Susana Montes Pedreira
369874f7ee Includes the currency format in the expenses module, and
in the report of order cost per resource.

FEA: ItEr76S24AdapatingProjectsToExpenses
2012-05-08 07:40:10 +01:00
Diego Pino
963217996e Code refactoring
* EarnedValueCalculator calculates 'Earned Value' generic indicators
* Generic indicators are those indicators that are calculated out of BCWP,
ACWP and BCWS
* EarnedValueChartFillers call EarnedValueCalculator to get the real
values of the indicators and plot them in the chart.

FEA: ItEr76S15OrganizingPerProjectDashboard
2012-05-07 19:58:53 +02:00
Diego Pino
65fea45d02 Rename 'EarnedValueCalculator' to 'OrderEarnedValueCalculator'
FEA: ItEr76S15OrganizingPerProjectDashboard
2012-05-07 19:58:53 +02:00
Diego Pino
a68efea35b Code refactoring
Create utility class 'CompanyEarnedValueCalculator' for calculating all Earned Value indicators related with Company

FEA: ItEr76S15OrganizingPerProjectDashboard
2012-05-07 19:58:53 +02:00
Diego Pino
f0ab50f78f Code refactoring
Create utility class 'EarnedValueCalculator' for calculating all earned value measurements related with an Order

FEA: ItEr76S15OrganizingPerProjectDashboard
2012-05-07 19:58:49 +02:00
Jacobo Aragunde Pérez
36b03ea1e7 Bug #1433: Fix the problem when there are multiple levels of tasks involved.
FEA: ItEr76S04BugFixing
2012-05-07 16:42:32 +02:00
Jacobo Aragunde Pérez
5edf9998ff Bug #1433: Small code refactor of this bug fix.
FEA: ItEr76S04BugFixing
2012-05-07 16:42:32 +02:00
Jacobo Aragunde Pérez
73b4f99e33 Bug #1433: Make sure that old TaskSources are deleted also in the case of parent tasks.
It fixes the other part of the bug, when a task is the only child of a container and
it is unscheduled, so the TaskSource of the parent is deleted too.

FEA: ItEr76S04BugFixing
2012-05-07 16:42:32 +02:00
Jacobo Aragunde Pérez
a25fac6146 Bug #1433: Make sure that old TaskSources are deleted when a task is unscheduled and re-scheduled.
This fixes the bug partially. It still fails when the task is the only child of
a container.

FEA: ItEr76S04BugFixing
2012-05-07 16:42:32 +02:00
Susana Montes Pedreira
d7ca618627 Merge branch 'master' into expenses-tracking 2012-05-07 13:49:37 +01:00