Commit graph

836 commits

Author SHA1 Message Date
Manuel Rego Casasnovas
438d8cdc10 Review and rename current roles
Include needed database migrations.

FEA: ItEr76S30PermissionsEnhancements
2012-06-15 15:23:29 +02:00
Manuel Rego Casasnovas
7470e34a29 Refactoring LibrePlan menu
At this moment roles are not taking into account at all as this will be reviewed
and properly fixed later.

FEA: ItEr76S30PermissionsEnhancements
2012-06-15 15:23:29 +02:00
Diego Pino
bc071a1734 Bug #1275: Montecarlo combo for selecting critical path is empty
* Move code for calculating all critical paths to its own class
* The former code broke in many clases so I reimplemented the algorithm

FEA: ItEr76S04BugFixing
2012-06-13 18:18:56 +02:00
Diego Pino
2706a71659 Fix bug: Remove 'Expected Spread Progress' bar from 'Global Progress' chart
FEA: ItEr76S15OrganizingPerProjectDashboard
2012-06-12 18:08:24 +02:00
Diego Pino
9382ce3d29 Fix bug: LazyInitializationException in WorkReportLines
FEA: ItEr76S29WorkReports
2012-06-12 17:53:37 +02:00
Diego Pino
a11c38d34c Refactoring: Class for creating GanttDiagram
Move code in CriticalPathBuilder for creating a Gantt diagram in memory
to its own class

FEA: ItEr76S04BugFixing
2012-06-12 16:05:20 +02:00
Diego Pino
215d8cb395 Bug #1451: Error rendering GanttView coming directly from MonteCarlo
The error was in the code that builds the graph for calculating the
CriticalPath. There was a very similar code for building the graph in
TemplateModel, the only difference were the two lines of the patch.

These two lines were changed for fixing bug #1423. I tried this bug
again with the patch applied and it works too.

FEA: ItEr76S04BugFixing
2012-06-12 12:59:16 +02:00
Diego Pino
df86b42aa4 Fix bug: WorkReportLines filtering not working if there's no Task selected
If there's no Task selected apply the rest of the filter parameters to
all WorkReportLines

FEA: ItEr76S29WorkReports
2012-06-11 20:48:54 +02:00
Manuel Rego Casasnovas
8a10614cc0 Add default user wssubcontracting/wssubcontracting
FEA: ItEr76S30PermissionsEnhancements
2012-06-11 17:08:31 +02:00
Manuel Rego Casasnovas
1a19400990 Add new role to protect subcontracting services
New role ROLE_WS_SUBCONTRACTING has been created, now the web services are
separated in two parts:
* Common web services are allowed to be read by role ROLE_WS_READER and written
  by role ROLE_WS_WRITER
* Subcontracting web services are allowed to be read and written by role
  ROLE_WS_SUBCONTRACTING

In this way you can give access to a different companies to your subcontracting
services, however prevent them to access to the rest of your data (via common
web services).

FEA: ItEr76S30PermissionsEnhancements
2012-06-11 17:08:09 +02:00
Manuel Rego Casasnovas
cc34202f84 Bug #1463: Fix issue changing order in parameters of entry point
The problem was that before the change, the children of the order returned a
proxy when you used the method getOrder() over them. However, this doesn't
happen if you change the order of the parameters.

I guess that this is because of the converter of the Order is now called before
the converter of the OrderElement and the problem disappears.

FEA: ItEr76S04BugFixing
2012-06-11 11:24:07 +02:00
Diego Pino
43044a78af Bug #1461: NullPointerException in WorkReportLines
Clicking button 'Filter' if there was no Task selected resulted into a
NullPointerException

FEA: ItEr76S29WorkReports
2012-06-08 17:18:15 +02:00
Diego Pino
db25351f15 Add 'Spread Progress' bar to 'Global Progress' chart
FEA: ItEr76S15OrganizingPerProjectDashboard
2012-06-08 14:24:39 +02:00
Diego Pino
a1e6e8a768 Add pop-up tooltip in 'Global Progress' chart
FEA: ItEr76S15OrganizingPerProjectDashboard
2012-06-08 13:23:08 +02:00
Susana Montes Pedreira
bd80e44e92 keep sorted the expense sheet lines when some date is changed.
FEA: ItEr76S22ExpenseTrackingSystem
2012-06-08 10:40:24 +01:00
Susana Montes Pedreira
dc1c566118 changes some functions names in ExpenseSheetModel in order to
understand its behaviour easily.

FEA: ItEr76S22ExpenseTrackingSystem
2012-06-08 10:37:10 +01:00
Manuel Rego Casasnovas
0316d73288 Bug #1460: Fix issue checking if TaskElement is Task
The casting was failing for milestones, because of they're leafs but not tasks.

Using method TaskElement.isTask() instead of TaskElement.isLeaf() to ensure that
the TaskElement is a Task and can be casted accordingly.

FEA: ItEr76S04BugFixing
2012-06-08 11:10:28 +02:00
Diego Pino
b979db78d2 Fix bug: NullPointerException in calculation of OvertimeRatio
The value of 'order' in OrderResourceLoadCalculator was set in the Gantt
View. Switching from 'Project Details' to 'Dashboard' directly caused a
NullPointerException.

FEA: ItEr76S15OrganizingPerProjectDashboard
2012-06-07 21:35:33 +02:00
Diego Pino
7b29017e00 Fix bug: NullPointerException when opening Dashboard view
Dashboard view needs the CriticalPath. The path should be calculated
before opening the view, no inside the view as this could result into a
NullPointerException sometimes (the user should have opened the Gantt
view before). The very same error happened in MonteCarlo and it was
fixed.

The solution is to use CriticalPathBuilder to construct the
CriticalPath.

FEA: ItEr76S15OrganizingPerProjectDashboard
2012-06-07 21:33:10 +02:00
Diego Pino
8f8d74cadc Refactoring: Create class CriticalPathBuilder
Move code in MonteCarlo for building CriticalPath to another file

FEA: ItEr76S15OrganizingPerProjectDashboard
2012-06-07 21:31:08 +02:00
Diego Pino
1021a8770f Fix bug: Cannot render GlobalProgress Chart
String.format caused a syntax error in Javascript. Depending on
the locale settings a double could be formatted as "X,YY" instead
of "X.YY", as expected.

Use Local.ROOT to force doubles to be formatted as "X.YY"

FEA: ItEr76S15OrganizingPerProjectDashboard
2012-06-07 19:28:05 +02:00
Diego Pino
33f39407bf Fix bug: Tomcat cannot load resource file
Tomcat cannot load resource file stored inside jqplot4java JAR. Used
Spring resource loader instead.

See:
http://stackoverflow.com/questions/4284014/java-getresourceasstream-jar-inside-war

FEA: ItEr76S15OrganizingPerProjectDashboard
2012-06-07 19:28:05 +02:00
Manuel Rego Casasnovas
5506482e42 Bug #1454: Force update task size after reassignations
FEA: ItEr76S04BugFixing
2012-06-07 18:32:43 +02:00
Manuel Rego Casasnovas
b51814bc46 Bug #1459: Fix order of columns in OrderElementBandboxFinder renderer
FEA: ItEr76S04BugFixing
2012-06-07 16:59:35 +02:00
Manuel Rego Casasnovas
56c2c78344 Fix typo in GET parameter for saved timesheets
FEA: ItEr76S28UserDashboard
2012-06-07 12:13:08 +02:00
Manuel Rego Casasnovas
81fc87beb2 Add button to delete personal expense sheet
FEA: ItEr76S28UserDashboard
2012-06-07 12:02:37 +02:00
Manuel Rego Casasnovas
49ecc85aef Add type information in expenses sheet list and form
FEA: ItEr76S28UserDashboard
2012-06-07 11:33:13 +02:00
Manuel Rego Casasnovas
bf1553829f Allow to sort monthly timesheest in user dashboard
Moved internal class MonthlyTimesheet to a proper file and renamed to
MonthlyTimesheetDTO.

In MonthlyTimesheetDTO all the data showed in the list will be precalculated.

FEA: ItEr76S28UserDashboard
2012-06-07 11:17:05 +02:00
Manuel Rego Casasnovas
bf0f733b90 Sort expenses area list
Allow to sort the list of personal expenses by the different columns.

FEA: ItEr76S28UserDashboard
2012-06-07 11:17:05 +02:00
Manuel Rego Casasnovas
429a3b39d8 Add class to highlight clickable rows in user dashboard
FEA: ItEr76S28UserDashboard
2012-06-07 11:17:05 +02:00
Manuel Rego Casasnovas
58e9a6d96c Add button to edit personal expense sheet from user dashboard
Modify behavior of ExpenseSheetCRUDController to redirect to user dashboard if
creation or edition comes from there.

FEA: ItEr76S28UserDashboard
2012-06-07 11:17:05 +02:00
Manuel Rego Casasnovas
8b4707d829 Show list of personal expense sheets
FEA: ItEr76S28UserDashboard
2012-06-07 11:17:05 +02:00
Manuel Rego Casasnovas
1649e83479 Implement button to create a new personal expense sheet
Modified behavior of create and edit expense sheet form, to disable resource
fields if it is personal.

FEA: ItEr76S28UserDashboard
2012-06-07 07:57:30 +02:00
Manuel Rego Casasnovas
8e742c57ae Add new section for expenses in user dashboard
FEA: ItEr76S28UserDashboard
2012-06-06 19:44:32 +02:00
Manuel Rego Casasnovas
14605d2ff7 Remove constant only used once and mark string to be internationalized
FEA: ItEr76S28UserDashboard
2012-06-06 16:58:48 +02:00
Manuel Rego Casasnovas
73cdf9463e Add currency symbol in value decimalbox
FEA: ItEr76S28UserDashboard
2012-06-06 16:58:48 +02:00
Manuel Rego Casasnovas
74f9515690 Simplify code of BandboxSearch in ExpenseSheetCRUDController
FEA: ItEr76S28UserDashboard
2012-06-06 16:58:48 +02:00
Manuel Rego Casasnovas
5c92f8098e Fix issues in ExpenseSheetCRUDController regarding to BaseCRUDController
FEA: ItEr76S28UserDashboard
2012-06-06 16:58:48 +02:00
Manuel Rego Casasnovas
a38e0e9948 Remove unused attribute in ExpenseSheetCRUDController
FEA: ItEr76S28UserDashboard
2012-06-06 16:58:48 +02:00
Manuel Rego Casasnovas
8d8bd12f85 Fix wrong sortDirection and width attributes in expenses sheet listings
FEA: ItEr76S28UserDashboard
2012-06-06 16:58:48 +02:00
Manuel Rego Casasnovas
97da322b9c Using OrderElement id as key in the map to avoid problems
FEA: ItEr76S28UserDashboard
2012-06-06 11:48:21 +02:00
Manuel Rego Casasnovas
4d57057d74 Add timesheet summary box
FEA: ItEr76S28UserDashboard
2012-06-06 10:58:52 +02:00
Manuel Rego Casasnovas
981f1b2425 Add other row and column with information about other work reports
These new row and column are optional and only will be shown if there is other
work reports reporting hours for the monthly timesheet resource in the same
month.

FEA: ItEr76S28UserDashboard
2012-06-06 09:50:52 +02:00
Manuel Rego Casasnovas
cda89627f9 Sort tasks in my tasks area
FEA: ItEr76S28UserDashboard
2012-06-06 07:53:05 +02:00
Manuel Rego Casasnovas
72a5c04ff0 Hide user dashboard page from menu if current user is not bound
FEA: ItEr76S28UserDashboard
2012-06-06 07:27:32 +02:00
Manuel Rego Casasnovas
776d8a9401 Add message about monthly timesheet being saved
FEA: ItEr76S28UserDashboard
2012-06-05 18:35:38 +02:00
Manuel Rego Casasnovas
e9df0524d7 Add operations column in my tasks area
This will link to the monthly timesheet of the task.

FEA: ItEr76S28UserDashboard
2012-06-05 17:44:38 +02:00
Susana Montes Pedreira
488977188e import and export the expense sheets.
FEA: ItEr76S22ExpenseTrackingSystem
2012-06-05 15:40:47 +01:00
Manuel Rego Casasnovas
57b90f49f7 Fix problem in work reports web services
If the resource was only set in the work-report and not in every line the
service returns an error while updating the work report.

FEA: ItEr76S04BugFixing
2012-06-05 09:46:09 +02:00
Manuel Rego Casasnovas
b3ea221f6d Fix issue in entry points renaming method
FEA: ItEr76S28UserDashboard
2012-06-05 08:34:15 +02:00