Commit graph

5226 commits

Author SHA1 Message Date
Diego Pino Garcia
3be35bc1a9 Rename removeDependenciesComponent() to removeDependenciesFor() and swap order of parameters in removeQueueElementFrom()
FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-27 09:48:17 +01:00
Diego Pino Garcia
0fa470ba82 Fix bug NullPointerException on editing limiting resource task (context is null)
FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-27 09:48:01 +01:00
Diego Pino Garcia
bdee58be1a Added method addDependenciesFor()
FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-27 09:47:52 +01:00
Diego Pino Garcia
3919489159 Fix bug dependencies are not correctly removed or refreshed when a task is moved or unscheduled from limiting resources panel
Some dependency components were added more times than necessary. This
caused some troubles when a task was unscheduled or moved (some older
dependency components were removed but others didn't).

Refactor code, only add dependency component if they're going to be
shown in the planner.

FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-27 09:47:30 +01:00
Diego Pino Garcia
02bf5f18b7 Remove unused import
FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-27 09:46:26 +01:00
Diego Pino Garcia
1898219281 Added toString() method
FEA: ItEr66OTS08CorreccionsRecursosLimitantesItEr65OTS04
2010-12-27 09:46:06 +01:00
Manuel Rego Casasnovas
e4e661b48d Remove unneeded scripts.
FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-23 14:26:21 +01:00
Manuel Rego Casasnovas
dd0b85a1b9 Improved i18n scripts in order to generate keys.pot files with relative paths.
* Updated keys.pot files.

FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-23 14:11:46 +01:00
Manuel Rego Casasnovas
7a19c3f830 Updated Debian package and bump version to 0.9.1.
FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-23 00:20:49 +01:00
Manuel Rego Casasnovas
cda5673445 Fixed logo in different languages.
* Fixed help link in login page.

FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-22 23:53:12 +01:00
Manuel Rego Casasnovas
283f2fd985 Updated Spanish and Galician translations.
FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-22 23:53:11 +01:00
Óscar González Fernández
ebaa4a5127 Fix as soon as possible constraint in backwards scheduling mode
A initDate must be provided to the getStartConstraints method in order
to calculate the ASAP constraint.

FEA: ItEr66S04BugFixing
2010-12-22 19:32:02 +01:00
Óscar González Fernández
fc01b5d223 Take into account the allocation direction
The scheduling window must do the scheduling according to the last
allocation direction. The start and end dates are updated depending on
the type of scheduling done.

FEA: ItEr66S04BugFixing
2010-12-22 19:03:40 +01:00
Óscar González Fernández
621d72508e Expose methods for allocating from end to start
FEA: ItEr66S04BugFixing
2010-12-22 19:03:39 +01:00
Óscar González Fernández
36b13e9390 Make getStart and getEnd depend on the direction of the allocation
FEA: ItEr66S04BugFixing
2010-12-22 19:03:39 +01:00
Jacobo Aragunde Pérez
6107e1b3bc Simplified the code in TaskPropertiesController merging two listeners into a single one.
FEA: ItEr66OTS04XestionRecursosEstratexicosItEr65OTS07
2010-12-22 16:36:53 +01:00
Óscar González Fernández
0d7761ef7a [Bug #763] Fix bug
The order of the forces applied varies depending on the constraints
having priority or not. This works because the weak forces only use
the constraints of the task and if you have constraints for one point
you don't have them for the other.

FEA: ItEr66S04BugFixing
2010-12-21 19:28:15 +01:00
Óscar González Fernández
7bcf3efe6c Avoid updating the date if it's the same
FEA: ItEr66S04BugFixing
2010-12-21 19:28:15 +01:00
Óscar González Fernández
6cd735f009 Remove unnecessary code
The global end constraints are applied in the dominating forces when
appropriate.

FEA: ItEr66S04BugFixing
2010-12-21 19:28:15 +01:00
Manuel Rego Casasnovas
b6b7327f72 Fixed small issues related with PostgreSQL Java library link.
FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-21 18:10:26 +01:00
Óscar González Fernández
d4628bf37c [Bug #772] Fix bug
Enforcing restrictions on the source because it can be affected too
when doing backwards allocation.

FEA: ItEr66S04BugFixing
2010-12-21 17:45:54 +01:00
Manuel Rego Casasnovas
a884449609 Updated debian/changelog with last changes.
FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-21 17:33:24 +01:00
Manuel Rego Casasnovas
6d3b3410e9 Some renames in Debian package.
* Renamed war in order to use just navalplan instead of navalplanner-webapp.
* Renamed data source name for context.xml now using navalplan-ds.

FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-21 17:33:24 +01:00
Manuel Rego Casasnovas
76b43a85b6 Added new dependency to libpg-java package.
* Modified debian/rules in order to a proper link to PostgreSQL Java library at /usr/share/tomcat6/lib.
* Also added lines to restart Tomcat in order to load this library.

FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-21 17:33:24 +01:00
Manuel Rego Casasnovas
479cac6bbd Copying install SQL script in order to create database structure for Debian package.
FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-21 17:33:24 +01:00
Manuel Rego Casasnovas
fb35692c1c Fixed Debian package in order to work with last versions of Tomcat.
In Tomcat 6 "/etc/tomcat6/context.xml" doesn't have a new line in the last one and this was causing troubles adding NavalPlan configuration.

FEA: ItEr66S03CommunityMaterialItEr65S04
2010-12-21 17:33:24 +01:00
Óscar González Fernández
5112be9c6e [Bug #760] Fix corner case
When the calculated value was end date and the task was moved
backwards with a new end date that is before to the old start date and
the allocation cannot be satisfied, the start date picked would be
posterior to the new end. To avoid this, the dates must always be
recalculated taking into account the length.

FEA: ItEr66S04BugFixing
2010-12-21 16:53:00 +01:00
Óscar González Fernández
edf8bab805 [Bug #769] Fix bug
Ensuring that the variable with the resulting restrictions is not
null. When the task is fixed, this variable was not intialized.

FEA: ItEr66S04BugFixing
2010-12-21 15:35:56 +01:00
Óscar González Fernández
18bec6f9f3 [Bug #762] Fix bug
Sometimes in backward allocation after doing a resize the finish date
ends up being the same as before. In this case the TaskComponent is
not notified of the change. So now after resizing the properties of
the task are always updated.

FEA: ItEr66S04BugFixing
2010-12-21 00:06:10 +01:00
Óscar González Fernández
2a2b8a3331 [Bug #766] Fix bug
The problem lied in that the task's start date changed due to the task
being moved but the resource allocation keep on using its own date
instead of the new value. This leads to using a stale value for doing
the allocation. This can cause that the used start date was posterior
that the new end date as it happened in the exception.

FEA: ItEr66S04BugFixing
2010-12-20 22:40:37 +01:00
Óscar González Fernández
07a30262bf [Bug #760] Fix bug
In case of not satisfying the allocation the proper date must be
returned.

FEA: ItEr66S04BugFixing
2010-12-20 17:41:43 +01:00
Óscar González Fernández
ef092794a0 Remove unused class
FEA: ItEr66S04BugFixing
2010-12-20 16:45:40 +01:00
Manuel Rego Casasnovas
f1b322f6e3 [Bug #751] Fixed WorkReportServiceTest for MySQL database.
FEA: ItEr65S06BugFixing
2010-12-17 17:30:17 +01:00
Diego Pino Garcia
2cbbc2ee42 Remove unused code
FEA: ItEr65OTS04CorreccionsRecursosLimitantes
2010-12-17 16:29:14 +01:00
Diego Pino Garcia
a2f359013e Respect dependency constraints for manual allocation
Manual allocation, either appropriative and non-appropriative, didn't
respect dependency constraints. Now manual allocation respects
dependencies in the same manner as automatic allocation

FEA: ItEr65OTS04CorreccionsRecursosLimitantes
2010-12-17 15:46:41 +01:00
Diego Pino Garcia
c3f78fcc8f Refactor DateAndHour.max and add DateAndHour.min
Remove Validation date not null in constructor

FEA: ItEr65OTS04CorreccionsRecursosLimitantes
2010-12-17 15:46:41 +01:00
Susana Montes Pedreira
0670d99e57 [Bug #764] Fix bug
if the window has already been initialized the tabpanels are reseted,
so that it is necessary to initialize the default controller,in this
case the OrderElementTreeController.

FEA : ItEr65S06BugFixing
2010-12-17 13:11:33 +01:00
Manuel Rego Casasnovas
db06347370 Fixed tests failing in ResourceServiceTest.
FEA: ItEr65S06BugFixing
2010-12-17 12:15:51 +01:00
Manuel Rego Casasnovas
24ae2c1a20 Fix bug added in previous commit "5ad99d0bce33ccaa5fb80cc7ca8535228c14009b".
Execute next sentence:
UPDATE databasechangelog SET md5sum='3:8a4ed0c0131906744a85a38278180e13' WHERE id='add scheduling mode' AND author='ogonzalez' AND filename='src/main/resources/db.changelog-initial.xml';

FEA: ItEr65S06BugFixing
2010-12-17 10:42:14 +01:00
Manuel Rego Casasnovas
5ad99d0bce Fixing problems with LiquiBase we were mixing "addDefaultValue" with "update".
Execute the next SQL sentence in your database if you want to keep working with your current database:
UPDATE databasechangelog SET md5sum='3:009cd5341d49b5415bf7ec539de24c79' WHERE id='add-company-logo-url-configuration-setting' AND author='ltilve' AND filename='src/main/resources/db.changelog-initial.xml';
UPDATE databasechangelog SET md5sum='3:2b767fd34386bfe53579516ddaccbdcc' WHERE id='add scheduling mode' AND author='ogonzalez' AND filename='src/main/resources/db.changelog-initial.xml';
UPDATE databasechangelog SET md5sum='3:53d99bb420a0c55c8eaa9389e3fc0ed5' WHERE id='add-scenarios-enabled-configuration-setting' AND author='ltilve' AND filename='src/main/resources/db.changelog-initial.xml';

FEA: ItEr65S06BugFixing
2010-12-17 09:19:39 +01:00
Manuel Rego Casasnovas
68b799fda0 Renamed "order" in some missing strings at ganttzk module.
FEA: ItEr65S06BugFixing
2010-12-17 08:46:15 +01:00
Manuel Rego Casasnovas
4918307f0c Renamed "order" to "project" and "order element" to "task" in all the strings.
FEA: ItEr65S06BugFixing
2010-12-16 22:02:28 +01:00
Manuel Rego Casasnovas
d55b9950c6 [Bug #764] Fixed method name and created a new constant DEFAULT_TAB.
FEA: ItEr65S06BugFixing
2010-12-16 21:03:02 +01:00
Susana Montes Pedreira
9a7090406a Fix bug
it updates the task dependencies  and its start constraint
type when the task is resized.

FEA : ItEr65S06BugFixing
2010-12-16 13:09:31 +01:00
Lorenzo Tilve
80bd3a84be Fix problems related with null configuration properties
FEA: ItEr65S06BugFixing
2010-12-16 12:40:43 +01:00
Lorenzo Tilve
dd65d04880 Configuration setting hides/enables scenarios menu entry and selector
FEA: ItEr65S07ScenarioVisibility
2010-12-16 11:04:45 +01:00
Lorenzo Tilve
6c3475cea2 Created scenarios visibility chechbox in configuration settings
FEA: ItEr65S07ScenarioVisibility
2010-12-16 11:04:45 +01:00
Lorenzo Tilve
7c36182be7 [Bug #758] Fix bug
Changed deadline styles from zigzag to stright line and adapted background-positioning

FEA: ItEr65S06BugFixing
2010-12-16 11:02:09 +01:00
Susana Montes Pedreira
988b911365 From the company screen it is showed a pop-up with the main properties to create a new project.
FEA : ItEr65S09CreateProject
2010-12-16 10:27:23 +01:00
Susana Montes Pedreira
808eb1a3c1 it changes the way of creating a project.
Show a pop-up from order list view to create a
new order with the main properties.

FEA : ItEr65S09CreateProject
2010-12-16 10:27:23 +01:00