Commit graph

1575 commits

Author SHA1 Message Date
Oscar Gonzalez Fernandez
e80647ee8c Remove unused method 2014-03-17 22:47:49 +01:00
Oscar Gonzalez Fernandez
c93a1399f3 Use parameters instead of concatenating
The structure of the tooltip can change depending on the language.
Concatenating strings hardwires it to the English language. Using
parameters instead.
2014-03-17 22:44:44 +01:00
miciele Ghiorghis
3f524129c7 project-margins-and-status: new styles added for project status 2014-03-10 18:39:00 +01:00
miciele Ghiorghis
297286732e project-margins-and-status: input components added for hours and budget margin 2014-03-10 18:39:00 +01:00
miciele Ghiorghis
ef9d021b3f project-margins-and-status: implementation of get Project's hours and budget status and tooltipText for the project status
extended with the implementation of the ITaskFundamentalProperties:
- getProjectHoursStatus()
- getProjectBudgetStatus()
- getTooltipTextForProjectHoursStatus()
- getTooltipTextForProjectBudgetStatus()
2014-03-10 18:39:00 +01:00
Oscar Gonzalez Fernandez
7e773b7eb1 Fix test failure
Now all tests should pass. The error was introduced in the commit
4baa93d790.
2013-11-26 19:52:47 +01:00
Lorenzo Tilve Álvaro
0c33a9431c Undo expense column recalculation on budget changes
The patch "Refreshed calculated expense column on hours or budget changes"
on commit 8c2c7996a2 can cause
compilation problems depeding on the JAVA version installed, so it's
reverted till it gets avoided.

FEA: ItEr77S17AutomaticBudgeting
2013-07-31 19:57:45 +02:00
Lorenzo Tilve Álvaro
a8eefaaa29 Modified automatic budget cell calculations and rearranged report
The manually introduced budget cell will be representing the total
amount for the budget on that item, and the expenses cell will
show the difference between that total and the resources costs
for the task hours and required criteria.

FEA: ItEr77S17AutomaticBudgeting
2013-07-31 19:57:33 +02:00
Lorenzo Tilve Álvaro
8c2c7996a2 Refreshed calculated expense column on hours or budget changes
FEA: ItEr77S17AutomaticBudgeting
2013-07-14 22:03:53 +02:00
Lorenzo Tilve Álvaro
50a6f91b1a Modified calculations for the total column when automatic budgeting enabled
The budget cell will represent the total available budget, and the calculated
read-only total, will be the result of substracting the consumed budget due
to the hours and cost categories of the assinged task criteria.

FEA: ItEr77S17AutomaticBudgeting
2013-07-05 02:22:45 +02:00
Lorenzo Tilve Álvaro
dd4d117fa1 Step 1 2013-07-03 11:50:05 +02:00
Oscar Gonzalez Fernandez
17a49b1d9d Use utility method 2013-06-22 11:27:15 +02:00
Oscar Gonzalez Fernandez
4109281e2f Remove use of class introduced in JDK 1.7
Otherwise it wouldn't compile in the integration server. The
possibility of increasing Java version requirement to JDK 7 should be
considered.
2013-06-22 11:26:44 +02:00
Oscar Gonzalez Fernandez
df0a6d1502 Fix potential problem
The capture url could be the same if it's generated in the same
second.
2013-06-21 14:51:57 +02:00
Oscar Gonzalez Fernandez
98bcf3decd Don't use the same display number always
Otherwise the Xvfb server could fail if another printing request
overlaps. They get different display numbers now.
2013-06-21 14:51:57 +02:00
Oscar Gonzalez Fernandez
e9d1463a28 Show output from printing process
It helps to debug any problem that could occur when executing the
processes.
2013-06-21 14:51:57 +02:00
Oscar Gonzalez Fernandez
05bd5b2da0 Remove unused constant 2013-06-21 14:51:56 +02:00
Oscar Gonzalez Fernandez
64b6781895 Move helper methods closer 2013-06-21 14:51:56 +02:00
Oscar Gonzalez Fernandez
f86c9d8aa0 Refactor to the creation of css file
Error handling improved, removed the call to System.exit.
2013-06-21 14:51:56 +02:00
Oscar Gonzalez Fernandez
dc639f61a3 Encode correctly http parameters
If the value of the parameters had URI reserved characters, they must
be encoded. URI builder handles that.
2013-06-21 14:51:56 +02:00
Oscar Gonzalez Fernandez
f14de444ac Introduce parameter object
Introduce parameter object to simplify the intent of the code.
2013-06-21 14:51:56 +02:00
Oscar Gonzalez Fernandez
9576e135ad Use ProcessBuilder to construct program calls
Avoid potential remote code execution through the `parameters`
parameter. They were concatenated to the capture command String
directly, which could lead to the injection of malicious code.

Currently the problem isn't exposed because the potential attacker
can't control the contents of the `parameters` map, since their
contents are chosen from a limited set of values.
2013-06-21 14:51:56 +02:00
Lorenzo Tilve Álvaro
b512f75bfc Disabled loading of HourCosts associated to Criterion CostCategory
FEA: ItEr77S17AutomaticBudgeting

As a method has been added to HourCostDAO to provide the PricePerHour associated
to a category, for an specific WorkHourType, the loading and attachment of
these objects is not longer needed here.
2013-06-19 13:41:36 +02:00
Lorenzo Tilve Álvaro
902ad00b80 Bug #1619: Adding elements from template to the WBS was not showing the new nodes
FEA: ItEr77S04BugFixing
2013-06-19 13:41:36 +02:00
Lorenzo Tilve Álvaro
b30fbb28a2 Parametrized use of resources budget column
FEA: ItEr77S17AutomaticBudgeting
2013-06-19 13:41:21 +02:00
Lorenzo Tilve Álvaro
2ccb291570 Modified transactional wrapper to avoid duplicating session
FEA: ItEr77S17AutomaticBudgeting
2013-06-19 12:38:03 +02:00
Lorenzo Tilve Álvaro
25d359d653 Fixed NPE when attaching criterion without costCategories
FEA: ItEr77S17AutomaticBudgeting
2013-06-19 12:35:16 +02:00
Lorenzo Tilve Álvaro
43e14d8dae Added condition to show resources budget column
FEA: ItEr77S17AutomaticBudgeting
2013-06-19 12:34:31 +02:00
Lorenzo Tilve Álvaro
cd63d13805 Attached onBlur event to remove CostCategory after clearing the autocomplete
FEA: ItEr77S17AutomaticBudgeting
2013-06-14 10:48:51 +02:00
Lorenzo Tilve Álvaro
a10f37d390 Added restriction to avoid deletion of costCategories assigned to criterion
FEA: ItEr77S17AutomaticBudgeting
2013-06-14 10:10:17 +02:00
Lorenzo Tilve Álvaro
6bc887739d Added grouping headers to new report with all columns
FEA: ItEr77S17AutomaticBudgeting
2013-06-13 18:12:22 +02:00
Lorenzo Tilve Álvaro
728b87d2bf Used previous report when hours budget not selected
FEA: ItEr77S17AutomaticBudgeting
2013-06-13 18:12:22 +02:00
Lorenzo Tilve Álvaro
4b5586d126 Modified ProjectStatusReport to include the Hours Budget column
FEA: ItEr77S17AutomaticBudgeting
2013-06-13 18:12:22 +02:00
Lorenzo Tilve Álvaro
f895d18acb Modified cost tab on project/task details to include criteria based budget
FEA: ItEr77S17AutomaticBudgeting
2013-06-13 18:12:21 +02:00
Lorenzo Tilve Álvaro
4baa93d790 Moved criteria based budget calculation methods to OrderElement to use them from the OrderCRUD
FEA: ItEr77S17AutomaticBudgeting
2013-06-13 18:12:21 +02:00
Lorenzo Tilve Álvaro
5df152a9bd Implemented initial version for the budget calculation algorithm
FEA: ItEr77S17AutomaticBudgeting
2013-06-13 18:12:21 +02:00
Lorenzo Tilve Álvaro
a3a237b9aa Added new column to WBS with the data from the task criteria
FEA: ItEr77S17AutomaticBudgeting
2013-06-13 18:12:21 +02:00
Lorenzo Tilve Álvaro
25e45b65e8 Included new column for the calculated budget to the WBS
FEA: ItEr77S17AutomaticBudgeting
2013-06-13 18:12:21 +02:00
Lorenzo Tilve Álvaro
15883806f5 Added to configuration class accessors for automatic budget properties
FEA: ItEr77S17AutomaticBudgeting
2013-06-13 18:12:21 +02:00
Lorenzo Tilve Álvaro
024f30ab0b Included in the interface new settings to enable automatic budgeting and the type of hour to use on it
FEA: ItEr77S17AutomaticBudgeting
2013-06-13 18:12:21 +02:00
Lorenzo Tilve Álvaro
2b4ac1c3ed Linked cost category autocomplete widget to criteria edition window
FEA: ItEr77S17AutomaticBudgeting
2013-06-13 18:12:21 +02:00
Lorenzo Tilve Álvaro
4408f965d1 Added empty cell renderer to criterion to include the cost category
FEA: ItEr77S17AutomaticBudgeting
2013-06-06 19:17:56 +02:00
Oscar Gonzalez Fernandez
3713198a93 Use a connection data pool when running tests
It cuts 40 seconds or around from the tests running time.
2013-06-05 12:33:57 +02:00
Oscar Gonzalez Fernandez
05a9767477 Fix execution order depending error in test
Since the scenario was created in the same transaction (due to using
@Before annotation) was not visible in givenOrderFromPrepareForCreate.
Now use a @BeforeTransaction instead so it's visible before.
2013-06-01 20:47:17 +02:00
Oscar Gonzalez Fernandez
48c3b1093e Remove added exception types
This test was causing errors on CalendarExceptionTypeServiceTest
because it was leaving behind some CalendarExceptionTypes in the
database.
2013-06-01 17:26:42 +02:00
Oscar Gonzalez Fernandez
26da1978f5 Use the same configuration as in other tests
Otherwise it creates a new Spring context instead of keeping using the
previous one.

This doesn't seem specially dangerous, but in some circumstances can
lead to idle transactions with associated locks that hang up the
execution of the tests. This happened with PostgreSQL version 9.1 in
WorkReportServiceTest.importValidDescriptionValuesToWorkReport().
2013-06-01 17:26:30 +02:00
Oscar Gonzalez Fernandez
1045a1a171 Remove no longer applicable comments 2013-06-01 17:26:28 +02:00
Manuel Rego Casasnovas
4e06cbe71a Bump version number to 1.4.0
FEA: ItEr77S03Community
2013-04-29 19:05:17 +02:00
Lorenzo Tilve Álvaro
05c5b932ef Fix excessive height on input boxes, which caused overflowing on some grid rows
FEA: ItEr77S03Community
2013-04-29 17:47:10 +02:00
Lorenzo Tilve Álvaro
1cf8043277 doc: Linked context specific help to scheduler configuration window
FEA: ItEr77S03Community
2013-04-29 17:47:10 +02:00