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
Lorenzo Tilve Álvaro
e9ecd93966
Bug #1606 : Revert fix for bug #1546 wich causes regressions on dependencies after saving project
...
This reverts commit 9a8d7deffe7bb5034448f698ab3dff4014b1bdb1.
The original fix on the patch "Bug #1546 : Force recalculation of critical path progresses on
saving project" is having a side-effect on the behaviour of the dependencies, that don't push
tasks and are show violated.
As the regression effect is more severe than the original bug, we revert the patch while finding
another solution for the original issue.
2013-04-29 16:51:29 +02:00
Giuseppe Zizza
0486bef3ea
i18n: Update Italian translation
...
FEA: ItEr77S03Community
2013-04-29 16:41:49 +02:00
Lorenzo Tilve Álvaro
8651151eb9
i18n: Update Galician translation
...
FEA: ItEr77S03Community
2013-04-29 16:37:06 +02:00
Lorenzo Tilve Álvaro
2c0ae1a17f
i18n: Update Spanish translation
...
FEA: ItEr77S03Community
2013-04-29 16:36:58 +02:00
Philippe Poumaroux
ea2a038594
i18n: Update French translation
...
FEA: ItEr77S03Community
2013-04-29 16:28:01 +02:00
Jeroen Baten
82b8607ff5
i18n: Update Dutch translation
...
FEA: ItEr77S03Community
2013-04-29 16:28:00 +02:00
Lorenzo Tilve Álvaro
95a5052463
Bug #1563 : Remove links from breadcrumbs component
...
The links on the breadcrumbs line were problematic as they
were pointing to the first subelement of the current section of the
menu, which could be an element unauthorized for the user.
As these shortcats are not useful enough and redundant with the main menu,
which can be used directly as is showing only the entries to the specific
user has access to, the links in this components are removed.
FEA: ItEr77S04BugFixing
2013-04-23 12:16:19 +02:00
Manuel Rego Casasnovas
e3e772fe66
i18n: Update keys.pot files
...
FEA: ItEr77S03Community
2013-04-22 12:28:15 +02:00
Lorenzo Tilve Álvaro
cc246eedfa
Merge branch 'master' into mpxj-import
...
Conflicts:
libreplan-business/src/main/java/org/libreplan/business/orders/entities/Order.java
libreplan-webapp/pom.xml
pom.xml
2013-04-16 09:34:31 +02:00
Lorenzo Tilve Álvaro
d55b5d4801
Fix i18n formatting problem on dashboards
...
On the chinese translation of the dashboard a formatting exception was being raised
due to the way the i18n methods were being called.
FEA: ItEr77S04BugFixing
2013-04-15 10:06:21 +02:00
Lorenzo Tilve Álvaro
0cb2fb890f
Bug #1610 : Restrict access through manual entry points to projects without permissions
...
An additional check is introduced to limit access to planning perspective of a project
to which the user doesn't have permissions. The MessageBox modal operation might be moved
out to show nicely the error information.
FEA: ItEr77S04BugFixing
2013-04-15 10:05:46 +02:00