Commit graph

8659 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
9ed9595482 Add example scripts to import personal timesheets data
FEA: ItEr77S14BoundUsersWebServices
2012-11-08 12:56:43 +01:00
Manuel Rego Casasnovas
fac20ff303 Add new service to import personal timesheets data
FEA: ItEr77S14BoundUsersWebServices
2012-11-08 12:56:40 +01:00
Manuel Rego Casasnovas
b8a6abac18 Add example script to test the service returning timsheets data for a task
FEA: ItEr77S14BoundUsersWebServices
2012-11-08 12:56:37 +01:00
Manuel Rego Casasnovas
4b2b1461d3 New web service returning the personal timesheets data for a task of a bound user
FEA: ItEr77S14BoundUsersWebServices
2012-11-08 12:56:34 +01:00
Manuel Rego Casasnovas
cc87e7323a Add example script for service that returns tasks of a bound user
FEA: ItEr77S14BoundUsersWebServices
2012-11-08 12:56:30 +01:00
Manuel Rego Casasnovas
5ebffa666b New web service returning the assigned tasks of a user
It uses MyTasksAreaModel, as the main UI for bound users. The service is only
accessible for bound users.

FEA: ItEr77S14BoundUsersWebServices
2012-11-08 12:56:17 +01:00
Manuel Rego Casasnovas
98eeed0801 Fix remove order elements service test in MySQL
It was working properly in PostgreSQL but not in MySQL. Now it is passing in both.

FEA: ItEr77S13AllowDeleteOrderElements
2012-11-07 11:39:46 +01:00
Manuel Rego Casasnovas
2d9af66f15 Wrap concurrent modification exceptions in the web services inside a proper DTO
FEA: ItEr77S04BugFixing
2012-11-07 08:36:05 +01:00
Manuel Rego Casasnovas
dfe39ab7cb Add missing class ErrorDTO used in commit 7306b124de
FEA: ItEr77S13AllowDeleteOrderElements
2012-11-07 07:01:20 +01:00
Manuel Rego Casasnovas
944d59e2b9 Bug #1555: Fix issue adding condition in both UI and web service
FEA: ItEr77S04BugFixing
2012-11-06 15:51:36 +01:00
Manuel Rego Casasnovas
774b97a26b Add test for new delete order elements service
FEA: ItEr77S13AllowDeleteOrderElements
2012-11-06 12:49:48 +01:00
Manuel Rego Casasnovas
0b0b7fbda0 Update web services documentation with the new delete service
FEA: ItEr77S13AllowDeleteOrderElements
2012-11-06 11:47:14 +01:00
Manuel Rego Casasnovas
cffe9a0299 Fix example removal scripts reusing generic code
FEA: ItEr77S13AllowDeleteOrderElements
2012-11-06 11:33:39 +01:00
Manuel Rego Casasnovas
7306b124de Include validations in the new service to remove order elements
FEA: ItEr77S13AllowDeleteOrderElements
2012-11-06 11:33:39 +01:00
Manuel Rego Casasnovas
fe0835ef66 Remove properly order element using OrderModel class
In that way we are sure that everything is removed properly. We have to manually
detach the removed element from its parent in order to avoid delete the parent
too.

FEA: ItEr77S13AllowDeleteOrderElements
2012-11-06 11:33:39 +01:00
Manuel Rego Casasnovas
7c24830ef6 Convert parent in leaf if the element removed was the only child
FEA: ItEr77S13AllowDeleteOrderElements
2012-11-05 15:54:34 +01:00
Manuel Rego Casasnovas
4ea3d95c96 Basic implementation of DELETE operation in order elements web service
FEA: ItEr77S13AllowDeleteOrderElements
2012-11-05 15:54:13 +01:00
Manuel Rego Casasnovas
a8e57499af Use code instead of id for ResourceHoursService
Using code from now on in order to make it coherent with the rest of services.

FEA: ItEr77S04BugFixing
2012-11-02 17:16:26 +01:00
Manuel Rego Casasnovas
237369faf9 Fix parameters order in import example rest scripts
Included dependency with cURL in the web services documentation.

FEA: ItEr77S04BugFixing
2012-11-02 16:57:22 +01:00
Manuel Rego Casasnovas
47600797d8 Bug #1549: Avoid exception avoiding checking lines resource if there are no lines
In
ExpenseSheet.checkConstraintPersonalExpenseSheetMustHaveTheSameResourceInAllLines
we check that the resource is the same in all the lines. However, if there are
no lines an exception arises.

FEA: ItEr77S04BugFixing
2012-10-25 14:10:24 +02:00
Manuel Rego Casasnovas
283cab8d23 Add filter by order authorizations in project status report
If you just filter by labels/criteria and you don't choose any specific project.
You were able to see tasks from projects that you are not allowed to read. Now
this is fixed.

FEA: ItEr77S09WBSReport
2012-10-25 12:52:56 +02:00
Manuel Rego Casasnovas
270aa99aee Merge branch 'master' into project-status-report 2012-10-25 12:19:50 +02:00
Manuel Rego Casasnovas
7f5d6c4ace Reset MoneyCostCalculator before generating project status report
If you generate the report and afterwards you report some expenses in a project,
the MoneyCostCalculator cache still keep the previous value for the report.

Now the MoneyCostCalculator cache is reseted every time the report is generated.

FEA: ItEr77S09WBSReport
2012-10-25 12:08:53 +02:00
Manuel Rego Casasnovas
1a8ab420f0 Add hours and cost mark in status report header too
FEA: ItEr77S09WBSReport
2012-10-25 11:23:03 +02:00
Manuel Rego Casasnovas
b64fc0892e Sort order elements by code in OrderElementDAO.findByLabelsAndCriteria
FEA: ItEr77S09WBSReport
2012-10-25 10:44:56 +02:00
Manuel Rego Casasnovas
d9575754a4 Add query to get OrderElements filtered by labels and criteria
FEA: ItEr77S09WBSReport
2012-10-24 12:35:39 +02:00
Manuel Rego Casasnovas
1ca57a5a00 Marking with red color special cases in project status report
FEA: ItEr77S09WBSReport
2012-10-23 18:57:19 +02:00
Manuel Rego Casasnovas
3681464dc9 Add exclamation mark in status report if hours or cost exceed the expected value
FEA: ItEr77S09WBSReport
2012-10-23 18:10:43 +02:00
Manuel Rego Casasnovas
33eb2ddcd0 Add information about filter in project status report header if no project is selected
FEA: ItEr77S09WBSReport
2012-10-23 14:33:48 +02:00
Manuel Rego Casasnovas
8f49d3b00a Avoid project in status report header if not selected
FEA: ItEr77S09WBSReport
2012-10-23 14:13:06 +02:00
Manuel Rego Casasnovas
ac99c98a82 Add project name in tasks when no project is selected in status report
FEA: ItEr77S09WBSReport
2012-10-23 13:56:45 +02:00
Manuel Rego Casasnovas
1f4a6e98f8 Add option to do not filter by project if you are filtering by labels or criteria
FEA: ItEr77S09WBSReport
2012-10-23 13:37:34 +02:00
Jacobo Aragunde Pérez
b0ab592785 Bug #1551: Added FIXME notes to two tests that are causing trouble.
I have identified a problem but I haven't the knowledge to fix it now.

FEA: ItEr77S04BugFixing
2012-10-23 13:27:57 +02:00
Jacobo Aragunde Pérez
2cc39d9dba Fix CriterionSatisfactionDAOTest when run individually.
It failed since the addition of Resource.checkMaxResources().

FEA: ItEr77S04BugFixing
2012-10-23 13:27:57 +02:00
Jacobo Aragunde Pérez
61162ad9fe Fix ResourceDAOTest when run individually.
It failed since the addition of Resource.checkMaxResources().

FEA: ItEr77S04BugFixing
2012-10-23 13:27:56 +02:00
Manuel Rego Casasnovas
535d2e3423 Fix criteria filtering discounting children with invalidated criteria
If any child has the filtering criteria invalidated, it's not taken into account
in order to calculate the values in the parent task that is part of the report.

FEA: ItEr77S09WBSReport
2012-10-22 18:08:54 +02:00
Manuel Rego Casasnovas
242cfa8e35 Implement filtering by criteria
Pending to remove children with invalidated criteria from the calculation of the
data for the containers.

FEA: ItEr77S09WBSReport
2012-10-22 18:08:54 +02:00
Manuel Rego Casasnovas
cdc733ce8d Add UI to filter by criteria
FEA: ItEr77S09WBSReport
2012-10-22 18:08:54 +02:00
Manuel Rego Casasnovas
474b349712 Add filter by labels to project status report
The tasks that will appear in the report are the ones that have directly
assigned all the labels, so the children will be hidden.

FEA: ItEr77S09WBSReport
2012-10-22 18:08:54 +02:00
Manuel Rego Casasnovas
da3a60e7cf Modify project status report to include new data
Add parameters in the controller and data for each colum in the DTOs.

Create a new Util class with utilities for report DTOs.

FEA: ItEr77S09WBSReport
2012-10-22 18:08:54 +02:00
Manuel Rego Casasnovas
12011733a3 Modify project status report layout to include information about costs
Add new columns: budget, hours cost, expenses cost and total cost. Together with
the summary fields in the header.

Update .properties file accordingly to the new columns and fields in the report.

FEA: ItEr77S09WBSReport
2012-10-22 18:08:54 +02:00
Manuel Rego Casasnovas
9cb91ad3f5 Add transactional readonly in findCode to avoid bug introduced in previous patch
FEA: ItEr77S04BugFixing
2012-10-22 09:42:03 +02:00
Manuel Rego Casasnovas
fd74722614 Use code to go to entry points when possible
Modify entry points converters for entities extending IntegrationEntity in order
to use code instead of id. In that way user can see the code in the UI without
having to query the database.

FEA: ItEr77S04BugFixing
2012-10-19 14:37:20 +02:00
Manuel Rego Casasnovas
07ca5fd443 Bug #1547: Allow user with role SUPERUSER to create new projects
FEA: ItEr77S04BugFixing
2012-10-19 11:34:37 +02:00
Manuel Rego Casasnovas
f0ebe2f896 Bump version number to 1.3.1
FEA: ItEr77S03Community
2012-10-15 14:12:13 +02:00
Manuel Rego Casasnovas
2d2f3040ab Update NEWS file for LibrePlan 1.3.1
FEA: ItEr77S03Community
2012-10-15 14:12:09 +02:00
Manuel Rego Casasnovas
c737b0f29a Update RPM package for LibrePlan 1.3.1
FEA: ItEr77S03Community
2012-10-15 14:01:10 +02:00
Manuel Rego Casasnovas
9898bbdb45 Update Debian package for LibrePlan 1.3.1
FEA: ItEr77S03Community
2012-10-15 14:01:10 +02:00
Manuel Rego Casasnovas
5e3784ae61 Update database scripts for LibrePlan 1.3.1
FEA: ItEr77S03Community
2012-10-15 14:01:10 +02:00
Manuel Rego Casasnovas
d860a0b4e1 Bug #1542: Fix problem with deadline indicator when project finish right at the deadline
For example a project with a task of 40h starting on Monday and finishing on
Friday, with a deadline on Friday should was wrong calculated before. Not it
says that the deadline is fulfilled as expected.

FEA: ItEr77S04BugFixing
2012-10-15 11:43:53 +02:00