Commit graph

9274 commits

Author SHA1 Message Date
miciele Ghiorghis
776225fe79 project-margins-and-status: project status green image. Used as background-image 2014-03-10 18:39:00 +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
9f15fecaea project-margins-and-status: added methods to calculate the workhours and budget with the specified margin for the project 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
miciele Ghiorghis
a8680adcb6 project-margins-and-status: two properties(hoursMargin and budgetMargin) are added to the Order object
The properties are added to hold the project's hours and budget margins
2014-03-10 18:39:00 +01:00
miciele Ghiorghis
3dc79c01cb project-margins-and-status: two columns(hours_margin and budget_margin) are added to the order-table 2014-03-10 18:39:00 +01:00
miciele Ghiorghis
917cf6005f project-margins-and-status: hoursMargin and budgetMargin fields added 2014-03-10 18:38:59 +01:00
miciele Ghiorghis
b0bb53b406 project-margins-and-status: new treecell added to hold project's hours and budget status 2014-03-10 18:38:59 +01:00
miciele Ghiorghis
2100273922 project-margins-and-status: new treecell added to hold project's hours and budget status 2014-03-10 18:38:59 +01:00
miciele Ghiorghis
4a13fd78e2 project-margins-and-status: label 'Status' added 2014-03-10 18:38:59 +01:00
miciele Ghiorghis
34bf33e630 project-margins-and-status: Implementation of getProject- hours and budget status and the project's tooltipsText 2014-03-10 18:38:59 +01:00
miciele Ghiorghis
8b68347041 project-margins-and-status: get project status and tooltipText methods added
Calculates the project status and gets the tooltips for each task of the project
2014-03-10 18:38:59 +01:00
miciele Ghiorghis
a09cdef943 project-margins-and-status: extended with implementaion of ITaskFundamentalProperties -projectStatus and tooltip 2014-03-10 18:38:58 +01:00
miciele Ghiorghis
052a7aa9ee project-margins-and-status: Project's hours and budget status 2014-03-10 18:38:58 +01:00
miciele Ghiorghis
bffc44e1de project-margins-and-status: get/show project's hours and budget status 2014-03-10 18:38:58 +01:00
Oscar Gonzalez
a3cf98d74d Merge pull request #13 from poum/master
Fix little title typo
2013-12-04 13:19:16 -08:00
poum
40e924b919 Fix little title typo 2013-12-04 22:13:55 +01:00
Oscar Gonzalez
0144a8816c Merge pull request #12 from poum/patch-2
Fix use_latex_footnotes warning
2013-12-04 13:12:22 -08:00
poum
41a8269ca6 Fix use_latex_footnotes warning 2013-12-04 21:52:46 +01:00
Oscar Gonzalez Fernandez
0f530f653b Remove unused part in build 2013-12-03 12:59:46 +01:00
Oscar Gonzalez Fernandez
2e25b34c95 Extract repeated Makefile
A great deal of duplication is removed.
2013-12-03 12:42:49 +01:00
Oscar Gonzalez Fernandez
88b7c7593b Fix bug #1635
With docutils version 0.10 and a lesser version than Python 3 this bug happens:

http://sourceforge.net/p/docutils/bugs/215/

A workaround is done.
2013-11-29 20:07:12 +01:00
Oscar Gonzalez
d2f7747548 Merge pull request #11 from poum/master
Fix typos detected during manual review
2013-11-28 02:43:31 -08:00
poum
aa010967a6 Fix typos detected during manual review 2013-11-27 23:50:56 +01:00
Oscar Gonzalez Fernandez
930028826d Add note about how to generate documentation 2013-11-27 19:15:36 +01:00
Oscar Gonzalez
0a934a952f Merge pull request #10 from poum/master
Fix typo which cause french pdf manual generation to fail (and build to fail)
2013-11-27 09:45:18 -08:00
poum
8ff9ac20c8 Fix typo which cause french pdf manual generation to fail 2013-11-26 23:56:44 +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
Oscar Gonzalez
b7662d620c Merge pull request #8 from poum/master
Thanks a lot.
2013-11-26 08:59:34 -08:00
Oscar Gonzalez Fernandez
23b1a76d15 Execute tests in alphabetical order
Until now the order of the execution of the tests depended on the
order of the files returned by the filesystem. This could lead to
different test results in different systems for the same codebase.

Ideally tests should be completely isolated and not depend on the
order of execution whatsoever. Nevertheless, in many tests some data
is left behind in the database, affecting the behavior of other tests.

With the alphabetical order, these order problems will arise the same
in all machines.
2013-10-10 13:46:45 +02:00
poum
6968347219 Massive fix for french i18n:
- global coherence within the program
- coherence with user manual

User Manual french translation in coherence with program french i18n
with some 1.4 version upgrade.
README, INSTALL and UPDATE french translation
1.4 screenshot
2013-09-23 22:13:52 +02: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
48b29cc6aa Fixed wrong not-null restriction on Criterion to CostCagegory hibernate definition
FEA: ItEr77S17AutomaticBudgeting

This is also fixing the broken test on CriterionDAO
2013-06-20 16:30:04 +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